From 3253fd71fc29e0c7eb51f1cdc732e5605c6ee738 Mon Sep 17 00:00:00 2001 From: yunyingk Date: Sun, 20 Sep 2026 16:11:27 +0800 Subject: [PATCH 1/2] Refine developer guidelines in AGENTS.md and modular agent rules --- .agents/README.md | 29 +++++---- .agents/rules/cli-protocol.md | 88 +++++++++++++++++++++----- .agents/rules/issue-pr-workflow.md | 3 +- .agents/rules/material-pack-policy.md | 63 +++++++++++++++++++ .agents/rules/staging-simulation.md | 59 +++++++++++++++++ .agents/rules/testing.md | 91 +++++++++++++++++++++++---- AGENTS.md | 21 +++++-- 7 files changed, 311 insertions(+), 43 deletions(-) create mode 100644 .agents/rules/material-pack-policy.md create mode 100644 .agents/rules/staging-simulation.md diff --git a/.agents/README.md b/.agents/README.md index ce648dd..a20952e 100644 --- a/.agents/README.md +++ b/.agents/README.md @@ -8,12 +8,15 @@ This directory (`.agents/`) maintains modular configuration, skills, and guideli ``` .agents/ -├── README.md # This document: architecture & trigger policy -├── skills.json # Declarative skill path and exclusion filters -└── rules/ # Modular, domain-specific rule definitions - ├── cli-protocol.md # CLI stdout/stderr stream contract & exit codes - ├── testing.md # Unit/integration testing conventions (bun:test) - └── typescript-style.md # ESM, explicit .js imports, and TypeScript styles +├── README.md # This document: architecture & trigger policy +├── skills.json # Declarative skill path and exclusion filters +└── rules/ # Modular, domain-specific rule definitions + ├── issue-pr-workflow.md # Issue triage, PR workflow & strictly no premature release + ├── cli-protocol.md # CLI stdout/stderr dual-stream contract, exit codes & SWR + ├── testing.md # Unit/integration testing conventions (bun:test) & test hygiene + ├── typescript-style.md # ESM, explicit .js imports, and TypeScript styles + ├── staging-simulation.md # Rule remediation lifecycle, test sync & sandbox regression + └── material-pack-policy.md # Webhook material pack structure, Excel injection & attachment policy ``` --- @@ -32,7 +35,7 @@ trigger: "manual" --- ``` -1. **Token Economy**: If set to `trigger: "always_on"`, every turn of the conversation unconditionally injects all rules into the system prompt (``), consuming ~800 tokens on every request regardless of task relevance. +1. **Token Economy**: If set to `trigger: "always_on"`, every turn of the conversation unconditionally injects all rules into the system prompt (``), consuming substantial tokens on every request regardless of task relevance. 2. **On-Demand Activation**: Setting `trigger: "manual"` prevents automatic background injection into the prompt budget. The rules remain available on-demand when explicitly referenced or requested. 3. **Cross-Agent Neutrality**: Non-agy agents (e.g. OpenAI Codex, Claude Code, Cursor, generic LLMs) do not recognize `agy`'s private frontmatter triggers. Storing modular guidelines as plain Markdown with a manual trigger ensures they function as clean, standalone reference docs that any agent can read on demand via standard file reading tools without unexpected prompt pollution. @@ -42,10 +45,12 @@ trigger: "manual" | Rule File | Domain / Scope | Key Responsibilities | | :--- | :--- | :--- | -| [`rules/issue-pr-workflow.md`](./rules/issue-pr-workflow.md) | Whole Repo / Workflow | GitHub Issue 调研、方案汇报、PR 提交流程,严格杜绝未授权提前发版。 | -| [`rules/cli-protocol.md`](./rules/cli-protocol.md) | `src/cli/**/*.ts` | Strict `stdout` JSON vs `stderr` diagnostics contract, exit code conventions (`0` vs `1`). | -| [`rules/testing.md`](./rules/testing.md) | `src/**/*.test.ts` | Test runner (`bun:test`), colocated `*.test.ts`, environment restoration in `afterEach()`. | -| [`rules/typescript-style.md`](./rules/typescript-style.md) | `src/**/*.ts` | ES modules, mandatory `.js` local extensions, Zod runtime validation, formatting rules. | +| [`rules/issue-pr-workflow.md`](./rules/issue-pr-workflow.md) | Whole Repo / Workflow | GitHub Issue 调研、方案汇报、PR 提交流程,Pre-Push 产物同步校验,严格杜绝未授权提前发版。 | +| [`rules/cli-protocol.md`](./rules/cli-protocol.md) | `src/cli/**/*.ts` | 严格 `stdout` JSON vs `stderr` 诊断指引协议、退出码规范(0, 1, 2, 10)、SWR 异步缓存与 `--dry-run` 预览防线。 | +| [`rules/testing.md`](./rules/testing.md) | `src/**/*.test.ts` | 测试运行器 (`bun:test`)、同目录就近原则、环境变量/临时目录彻底隔离与网络 Mock 规范。 | +| [`rules/typescript-style.md`](./rules/typescript-style.md) | `src/**/*.ts` | ES modules、强制本地 `.js` 扩展名、Zod 输入校验与领域类型安全。 | +| [`rules/staging-simulation.md`](./rules/staging-simulation.md) | `src/domains/seal/**` | 生产规则安全演进闭环(草稿 -> sync-test -> test regression -> 用户批准)、业务编号脱敏红线。 | +| [`rules/material-pack-policy.md`](./rules/material-pack-policy.md) | `src/domains/seal/material-pack/**` | Webhook 材料包结构、单据附件目录双向隔离匹配、附件尺寸/后缀安全策略与 HMAC 防重放校验。 | --- @@ -55,3 +60,5 @@ trigger: "manual" - **CLI Development**: When adding or refactoring CLI commands under `src/cli/`, read [`rules/cli-protocol.md`](./rules/cli-protocol.md) before writing output streams. - **Writing Tests**: When creating or modifying tests, read [`rules/testing.md`](./rules/testing.md). - **TypeScript & Modules**: When adding new TypeScript files or resolving local imports, refer to [`rules/typescript-style.md`](./rules/typescript-style.md). +- **Rule Remediation & Staging**: When modifying approval rules or syncing between production and test enterprises, refer to [`rules/staging-simulation.md`](./rules/staging-simulation.md). +- **Webhook Material Packs**: When exporting, previewing, or validating Webhook attachment bundles, refer to [`rules/material-pack-policy.md`](./rules/material-pack-policy.md). diff --git a/.agents/rules/cli-protocol.md b/.agents/rules/cli-protocol.md index ef416b8..bf81505 100644 --- a/.agents/rules/cli-protocol.md +++ b/.agents/rules/cli-protocol.md @@ -1,23 +1,83 @@ --- -description: "CLI stdout/stderr stream contract and exit code conventions for seal-use commands" +description: "CLI stdout/stderr stream contract, exit codes, SWR caching, and preview safety for seal-use commands" globs: "src/cli/**/*.ts" trigger: "manual" --- -# CLI Stream & Exit Code Protocol +# CLI Stream, Performance & Exit Code Protocol -When working on CLI command implementations under `src/cli/`: +When developing or refactoring CLI commands under `src/cli/`: -1. **Machine Channel (`stdout`)**: - - Data commands MUST output pure, parseable JSON on `stdout`. - - NEVER output human text, logs, spinners, or progress banners to `stdout` (the Agent Harness parses `stdout` directly). - - Documented exceptions for Markdown output: `seal-use --help` / `seal-use help ` and `seal-use doctor guide`. +## 1. Dual Stream Protocol (stdout vs stderr) -2. **Diagnostics & Guidance Channel (`stderr`)**: - - Write runtime logs, warnings, probing status, and human tips to `stderr`. - - Format next-step guidance explicitly: `👉 Next action: seal-use ...`. +- **Machine Channel (`stdout`)**: + - Data commands **MUST** output pure, parseable JSON on `stdout`. + - **NEVER** output human text, logs, spinners, progress banners, or update notices to `stdout`. The Agent Harness parses `stdout` directly into typed payloads. + - **Documented exceptions**: `seal-use --help` / `seal-use help ` (`src/cli/printer.ts`) and `seal-use doctor guide` (`src/cli/commands/doctor.ts`) intentionally output Markdown documents on `stdout` because their output *is* the requested document payload. Never add new stdout-prose commands outside this list. +- **Diagnostics & Guidance Channel (`stderr`)**: + - Use `stderr` for runtime logs, network probing status, self-healing notifications, and human tips. + - Explicit **Next-Step Command Suggestions** MUST follow the format: + ```text + 👉 Next action: seal-use + ``` -3. **Exit Code Contract**: - - Successful operations MUST exit with `0`. - - Any validation error, upstream API failure, or block MUST result in non-zero exit code (e.g. `1`). - - DO NOT call `process.exit()` deep in domain functions; throw structured errors and let `src/cli/runner.ts` handle stream routing and exit code assignment. +--- + +## 2. Performance Contract & SWR Architecture + +- **Sub-10ms Local Execution**: + - Read-only discovery commands (e.g. `seal-use version`, `seal-use doctor paths`, `seal-use corps list`) MUST return instantaneously (<10ms). + - Never trigger synchronous external HTTP requests during routine discovery or inspection invocations. +- **Stale-While-Revalidate (SWR) Pattern**: + 1. Synchronously read local cache from `~/.config/seal-use/*.json` (<0.2ms). + 2. Return the local cached state immediately on `stdout`. + 3. If cache is missing or older than TTL (e.g. 24 hours), trigger a background refresh: + ```typescript + const child = spawn(launcher.command, [...launcher.args, "subcommand", "--bg-save"], { + detached: true, + stdio: "ignore" + }); + child.unref(); // Detach completely so parent exits immediately + ``` + 4. Always respect test/CI guards (`SEAL_DISABLE_BG_UPDATE=1`, `NODE_ENV=test`, `CI=true`) to keep automated test suites deterministic. + +--- + +## 3. High-Risk Mutation & Preview Contract (`--dry-run`) + +- All potentially destructive or state-mutating commands (e.g. `rules push`, `rules clear`, `corps sync-test`, `preference update`, `webhook add/update/delete`) **MUST** support `--dry-run`. +- **Preview Output**: + - When `--dry-run` is present, the command performs read-only discovery, simulates the mutation, and returns structured JSON with: + ```json + { + "preview": true, + "targetUrl": "...", + "changesDiff": { "before": "...", "after": "..." }, + "impactCount": 5 + } + ``` + - Live execution requires explicit `--yes` or `--confirm`. If neither is provided on a live mutation, block execution with exit code `10`. + +--- + +## 4. Semantic Exit Codes + +| Exit Code | Meaning | Example Scenario | +| :--- | :--- | :--- | +| `0` | **Success** | Successful query, preview, or completed mutation | +| `1` | **Domain / Upstream Failure** | Upstream HTTP 500, business logic rejection, quota insufficient | +| `2` | **Usage / Syntax Error** | Unknown subcommand, invalid JSON payload, invalid argument format | +| `10` | **Confirmation Required** | Mutating command invoked without `--confirm` or `--yes` | + +**Rule**: Never call `process.exit()` deep in domain functions. Throw structured errors and let `src/cli/runner.ts` handle error classification, stream routing, and exit code assignment. + +--- + +## 5. Argument Parsing Conventions + +- Use helpers from `src/cli/parser.ts`: + - `booleanOption(args.options.flag)` + - `stringOption(args.options.param)` + - `numberOption(args.options.limit)` +- Support kebab-case and camelCase options gracefully. +- Positional arguments should fall back to option flags when natural (e.g. `corps get ` and `corps get --corp `). diff --git a/.agents/rules/issue-pr-workflow.md b/.agents/rules/issue-pr-workflow.md index 3f06eb8..c2972a9 100644 --- a/.agents/rules/issue-pr-workflow.md +++ b/.agents/rules/issue-pr-workflow.md @@ -18,7 +18,8 @@ trigger: "manual" - **全量无回归验证**: 1. 运行 `bun test` 确保全仓所有测试 100% 通过; 2. 运行 `bun run check` 确保 TypeScript 类型检查 0 错误; - 3. 若修改涉及 MCP Server 或构建入口,运行 `bun run build:plugin` 保持 `dist/mcp/server.js` 产物同步。 + 3. 若修改涉及 `src/`,运行 `bun run build:plugin` 保持 `dist/mcp/server.js` 产物同步(CI 强制校验); + 4. 若修改涉及 `openapi/`,运行 `bun run openapi:bundle` 保持 `dist/openapi.json` 产物同步。 ## 3. 分支提交与 Pull Request (Commit & PR) - **提交信息**:使用清晰的简短祈使句,关联对应 Issue(例如 `Fix #137: decouple auth hose-link from internal session cache`)。 diff --git a/.agents/rules/material-pack-policy.md b/.agents/rules/material-pack-policy.md new file mode 100644 index 0000000..eeeb794 --- /dev/null +++ b/.agents/rules/material-pack-policy.md @@ -0,0 +1,63 @@ +--- +description: "Webhook 资源包结构、Excel 字段注入契约、附件安全策略与重放规范" +globs: "src/domains/seal/material-pack/**,src/cli/commands/webhook*" +trigger: "manual" +--- + +# Webhook 资源包与附件策略规范 + +当开发或维护 Webhook Material Pack(材料包导出、预览、推送与校验)时,必须遵守以下格式契约与安全防线: + +--- + +## 1. 资源包结构与命名约束 + +一个标准的 Webhook 资源包为 `.zip` 压缩包,其内部必须严格遵守目录隔离: + +```text +资源包.zip +├── 业务单据汇总表.xlsx # 主工作簿,包含单据明细及 [附件] 列 +├── DOC-2026-001/ # 与 Excel 中单据编号一一对应的附件目录 +│ ├── hotel_invoice.pdf +│ └── itinerary.png +└── DOC-2026-002@已审核/ # 支持带有 @ 标注的单据目录名 + └── train_ticket.pdf +``` + +### 目录与附件防线 +1. **单据目录隔离**:单据声明的附件路径必须位于属于该单据自身的目录下。严禁跨单据目录引用或引用非本单据目录的文件。 +2. **双向匹配校验**: + - Excel 中声明的每个附件文件必须真实存在于 ZIP 包中; + - ZIP 包中单据目录下的每个文件必须在 Excel 的 `[附件]` 列中被声明,严禁悬挂未声明孤儿附件。 +3. **`@` 标注兼容**:单据目录名允许携带 `@annotation` 后缀(如 `DOC-001@重测`),系统在解析匹配时自动识别并映射至基准单据编号。 + +--- + +## 2. 附件安全策略 (`materialPackFilePolicy`) + +每个 Webhook 均可配置可变的文件安全控制策略,用于在上传和重放前拦截异常附件: + +- `minFileSizeBytes`: 默认最小文件尺寸(如 500 字节),防止空文件或零字节坏损文件。 +- `maxFileSizeBytes`: 可选最大文件尺寸(以字节为单位),防止超大文件耗尽内存或网络带宽。若传 `null` 或使用 `--clear-max-file-size` 则清除上限。 +- `allowedExtensions`: 允许的文件扩展名白名单(如 `[".pdf", ".xlsx", ".png", ".jpg"]`)。 + - **重要规则**:更新该字段为全量覆盖,添加新后缀时必须保留原有合法后缀。 + +--- + +## 3. Webhook 签名与数据注入 + +- **HMAC 签名校验**: + - 标准签名结构为 `timestamp.nonce.payload` 的 HMAC-SHA256 计算。 + - `timestamp` 允许在合理时间窗口内防重放。 +- **动态字段注入**: + - 解析 Excel 中的 `[附件]` 列(如 `[附件] 住宿发票`),自动清洗为标准标识符注入至 `categoryFields` 与 `ATTACHMENT` 域。 + +--- + +## 4. 离线预览防线 (`preview`) + +- 在任何资源包实际推送到线上环境(`webhook resource-pack push`)前,优先使用: + ```bash + seal-use webhook resource-pack preview <资源包.zip> + ``` +- 预览校验在纯内存中完成,不产生网络请求,严格检验工作簿格式、目录对应关系及文件策略合规性。 diff --git a/.agents/rules/staging-simulation.md b/.agents/rules/staging-simulation.md new file mode 100644 index 0000000..c907f63 --- /dev/null +++ b/.agents/rules/staging-simulation.md @@ -0,0 +1,59 @@ +--- +description: "生产规则安全演进闭环、测试靶场回归矩阵与多环境同步规范" +globs: "src/domains/seal/**,src/cli/commands/rules*,src/cli/commands/corps*" +trigger: "manual" +--- + +# 生产规则演进闭环与测试靶场回归规范 + +当处理 Seal 租户规则修改、客诉修补或规则同步时,必须严格遵守生产环境安全变更演进闭环: + +```text +生产改草稿 -> 同步测试企业 (sync-test) -> 靶场回归验证 (test regression) -> 用户明确批准 -> 生产确认发布 +``` + +--- + +## 1. 规则编辑三大安全红线 + +1. **红线一:严禁生产直更** + - 在生产环境做任何规则修改,默认只保存为**草稿态**(Draft),绝对不能直接发布上线生效。 +2. **红线二:严禁向用户暴露机器 UUID** + - 规则展示、修改报告、Diff 与确认对话中,必须使用用户与管理后台唯一认知的业务编号:`规则编号: #xxxx`。 + - 隐藏底层机器字段(如 `id: "01a00f34..."`、`boundCorpRole: testTarget` 等)。 +3. **红线三:生产发布必须经用户明确授权** + - 严禁 Agent 代替用户点击“确认发布”。在生产正式生效(`rules publish`)前,必须向用户展示 Diff 并获得显式批准。 + +--- + +## 2. 标准演进链路 + +### 步骤一:生产草稿修改与规范 Diff 呈现 +- 客诉排查与规则修补后,向用户呈现标准的 Unified Diff,仅包含业务字段: + - **适用场景** (`scope`) + - **遵守程度** (`strictness`: `必须遵守` / `建议遵守` / `提示参考`) + - **规则内容 / 审核要求** (`description`) + - **规则编号** (`#xxxx`) + +### 步骤二:一键同步测试企业 (`sync-test`) +- 执行 `seal-use corps sync-test `: + - 将生产企业的草稿规则克隆并同步到已绑定的测试企业。 + - 自动将测试企业中的规则生成并发布为新版本(格式:`[Prod vN · #M -> Test vM]`)。 + - 自动同步合思测试通道与风格偏好(`decisionPreferences`、`thinkingDepthPreference`)。 + +### 步骤三:测试靶场自动化回归矩阵 (`test regression`) +- 执行自动化历史单据重放回归: + ```bash + seal-use test regression --corp --samples 10 + ``` +- 检验决策一致率(Concordance Rate)与决策翻转(Decision Flips): + - 确保修复的 Bad Case 如期翻转; + - 确保未修改的已有用例无误伤; + - 确认 `safeToPublish: true`。 + +### 步骤四:生产发布授权 +- 回报回归测试报告与指标,请求用户批准。 +- 获得明确许可后,执行发布: + ```bash + seal-use rules publish --corp --version-name "<语义版本名>" + ``` diff --git a/.agents/rules/testing.md b/.agents/rules/testing.md index 85171bf..49d7ade 100644 --- a/.agents/rules/testing.md +++ b/.agents/rules/testing.md @@ -1,21 +1,88 @@ --- -description: "Testing conventions and runner guidelines using bun:test" +description: "Testing conventions, environment isolation, network mocking, and test hygiene using bun:test" globs: "src/**/*.test.ts" trigger: "manual" --- -# Testing Guidelines +# Testing Conventions & Test Hygiene -When writing or maintaining unit and integration tests: +When writing or modifying automated tests in `src/`: -1. **Test Runner & Colocation**: - - Use `bun:test` (`describe`, `test`, `expect`). - - Colocate tests directly alongside implementation code as `name.test.ts` (e.g. `src/core/config/loader.test.ts`). +## 1. Test Framework & Colocation -2. **State & Environment Hygiene**: - - Any test modifying `process.env` or `process.chdir()` MUST restore them in `afterEach()`. - - Never leave temporary files or mutation leaks between test cases. +- **Runner**: Use `bun:test` primitives (`describe`, `test`, `it`, `expect`, `beforeEach`, `afterEach`). +- **Colocation**: Place test files directly next to the code they cover using the `*.test.ts` naming convention: + ```text + src/core/update-cache.ts + src/core/update-cache.test.ts + ``` +- Do not create isolated `tests/` directories unless testing full external integration fixtures. -3. **Execution**: - - Run tests using `bun test`. - - Ensure type check passes with `bun run check`. +--- + +## 2. Environment & State Isolation (Zero Leaks) + +- **Environment Variables**: + Any test that overrides or adds `process.env` keys MUST restore them in `afterEach()` or a `finally` block: + ```typescript + const prevEnv = process.env.MY_CUSTOM_VAR; + try { + process.env.MY_CUSTOM_VAR = "test-value"; + // test logic + } finally { + if (prevEnv !== undefined) { + process.env.MY_CUSTOM_VAR = prevEnv; + } else { + delete process.env.MY_CUSTOM_VAR; + } + } + ``` +- **Temporary Files & Directories**: + Always create isolated temporary workspaces using `mkdtempSync`: + ```typescript + const testDir = mkdtempSync(join(tmpdir(), "seal-use-test-")); + try { + // file operations + } finally { + rmSync(testDir, { recursive: true, force: true }); + } + ``` +- **Working Directory (`process.chdir`)**: + If a test changes cwd, it MUST capture `const cwd = process.cwd();` and restore it in `afterEach()`. + +--- + +## 3. Network Mocking & Background Child Processes + +- **HTTP Requests (`fetch`)**: + - Mock `globalThis.fetch` to isolate tests from live external networks. + - Wrap mocked fetch cleanly to satisfy Bun/TypeScript types: + ```typescript + const originalFetch = globalThis.fetch; + globalThis.fetch = (async () => + new Response(JSON.stringify({ ok: true }), { + status: 200, + headers: { "Content-Type": "application/json" } + }) + ) as any; + try { + // test logic + } finally { + globalThis.fetch = originalFetch; + } + ``` +- **Background Processes**: + - Ensure background asynchronous tasks or detached worker spawns are suppressed in tests: + ```typescript + process.env.SEAL_DISABLE_BG_UPDATE = "1"; + ``` + - This ensures test suites run fast and deterministically without hanging detached workers. + +--- + +## 4. Test Execution & Quality Verification + +Before committing changes or opening a PR: +1. `bun test`: Run all tests (must achieve 100% pass rate). +2. `bun test `: Target specific files during active development. +3. `bun run check`: Confirm TypeScript type-checker reports 0 errors. diff --git a/AGENTS.md b/AGENTS.md index 2327fdd..78f3944 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -19,10 +19,11 @@ Tests are colocated as `*.test.ts` files in `src/`. OpenAPI source YAML lives in - `bun test`: run all colocated Bun tests. - `bun run bump `: bump version across all manifest/skill/openapi files and bundle. - `bun run openapi:bundle`: rebuild `dist/openapi.json`. -- `bun run build:binary`: compile the standalone `seal-use` binary to `dist/bin/seal-use` (gitignored). - `bun run build:plugin`: bundle the MCP server to `dist/mcp/server.js` (tracked, used by `.mcp.json`). - `bun run dev:override`: compile the host binary with Git dev version metadata, macOS sign, atomically override the Mac global command (`/opt/homebrew/bin/seal-use`), and sync the local Agent Skill. +> **Pre-Push Bundle Gates**: Modifying `src/` files imported by the MCP server requires running `bun run build:plugin` to keep `dist/mcp/server.js` in sync; modifying `openapi/` requires `bun run openapi:bundle` to keep `dist/openapi.json` in sync. CI strictly checks for zero diff on both tracked bundles. + ## Coding Style & Naming Conventions Use TypeScript ES modules with explicit `.js` import extensions for local files. Validate external data with Zod or narrow types before use. Follow existing style: two-space indentation, double quotes, omitted trailing semicolons, `camelCase` variables/functions, `PascalCase` classes/types, and lowercase hyphenated filenames such as `token-store.ts`. @@ -34,18 +35,28 @@ Prefer small domain functions over broad utility modules. - **Machine Channel (`stdout`)**: Data commands MUST output clean, parseable JSON on `stdout`. Never dump human prose, raw logs, or progress banners into `stdout`. The Agent Harness parses `stdout` directly into typed payloads. - **Documented exception — document-output commands**: `seal-use --help` / `seal-use help ` (`src/cli/printer.ts`) and `seal-use doctor guide` (`src/cli/commands/doctor.ts`) intentionally write Markdown to `stdout`, because their output *is* the payload the caller redirects or reads (e.g. `seal-use doctor guide > guide.md`). Never add a new prose-on-stdout command outside this list: return structured JSON and put the readable rendering on `stderr` instead. `src/probe.ts` is a local developer probe script rather than a `bin` entry point, so its `[probe] …` lines are outside this contract. - **Guidance & Diagnostic Channel (`stderr`)**: Use `stderr` for runtime logs, network probing status, self-healing notifications, and explicit **Next-Step Command Suggestions** (e.g. `👉 Next action: seal-use deploy hosecloud sync `). +- **Performance Contract & SWR Architecture**: Read-only discovery and version commands (`seal-use version`, `seal-use doctor`, `seal-use corps list`) MUST execute instantaneously (<10ms). Never block on external network I/O during routine invocations. Use the Stale-While-Revalidate (SWR) pattern: read local cache from `~/.config/seal-use/*.json` synchronously (<0.2ms), and refresh stale/missing data via detached, unref'd child processes (`triggerBackgroundUpdateCheck`, `unref()`). +- **Safety Guardrail & Mutation Preview (`--dry-run`)**: All potentially destructive or state-mutating commands (e.g. `rules push/clear`, `corps sync-test`, `preference update`, `webhook add/update`) MUST support `--dry-run` returning structured JSON previews with `preview: true` and a clean diff, without executing mutations. Live execution requires explicit `--yes` or `--confirm`. - **Exit Code Contract**: - - Successful executions MUST terminate with exit code `0`. - - Any parameter validation failure, upstream API error, or business block MUST result in a non-zero exit code (e.g. `1`), allowing the Agent Harness to reliably detect failures and trigger automated error remediation. + - `0`: Successful execution. + - `1`: Upstream API failure or domain business block. + - `2`: Parameter validation failure, unknown subcommand, or invalid JSON. + - `10`: Safety gate block requiring user confirmation (`--confirm` / `--yes`). - Never call `process.exit()` deep in domain functions; throw structured errors and let `src/cli/runner.ts` handle stream routing and exit code assignment. ## Testing Guidelines -Use `bun:test` with `describe`, `test`, and `expect`. Place tests next to covered code using `name.test.ts`, for example `src/core/config/loader.test.ts`. Tests that change environment variables or working directories must restore them in `afterEach`. +Use `bun:test` with `describe`, `test`, and `expect`. Place tests next to covered code using `name.test.ts`, for example `src/core/config/loader.test.ts`. Tests that change environment variables or working directories must restore them in `afterEach`. Ensure background tasks are guarded with `SEAL_DISABLE_BG_UPDATE=1` or `NODE_ENV=test` during tests. Detailed test hygiene guidelines are in `.agents/rules/testing.md`. ## Commit & Pull Request Guidelines -Recent commits use concise imperative subjects, often `Add ...` or `Refine ...`, such as `Add compact approval rule listing`. Keep subjects under roughly 72 characters. Specific workflows and domain guidelines are maintained in `.agents/rules/`. +Recent commits use concise imperative subjects, often `Add ...` or `Refine ...`, such as `Add compact approval rule listing`. Keep subjects under roughly 72 characters. Specific workflows and domain guidelines are maintained in `.agents/rules/`: +- Issue triage & PR workflow (No premature release): `.agents/rules/issue-pr-workflow.md` +- CLI stream & exit code protocol: `.agents/rules/cli-protocol.md` +- Testing conventions & isolation: `.agents/rules/testing.md` +- TypeScript & ESM conventions: `.agents/rules/typescript-style.md` +- Staging & test sandbox regression: `.agents/rules/staging-simulation.md` +- Webhook material pack & attachment policy: `.agents/rules/material-pack-policy.md` ## Release & Publishing Guidelines From f6230b82611e3a2e50ef98baf76b625102f0c107 Mon Sep 17 00:00:00 2001 From: yunyingk Date: Sun, 20 Sep 2026 16:17:06 +0800 Subject: [PATCH 2/2] Refine quota guidance, dedupe diagnostics, and webhook readiness check --- dist/mcp/server.js | 122 ++++++++++++++--------------- src/cli/commands/approval-runs.ts | 15 +++- src/core/doctor/tenant-diagnose.ts | 14 ++-- src/domains/seal/tools.ts | 7 ++ 4 files changed, 87 insertions(+), 71 deletions(-) diff --git a/dist/mcp/server.js b/dist/mcp/server.js index 23df537..664cedb 100644 --- a/dist/mcp/server.js +++ b/dist/mcp/server.js @@ -1,7 +1,7 @@ -import{createRequire as Ly0}from"node:module";var Iy0=Object.create;var{getPrototypeOf:Ky0,defineProperty:oT,getOwnPropertyNames:Gy0}=Object;var Hy0=Object.prototype.hasOwnProperty;function Wy0($){return this[$]}var Xy0,Zy0,J6=($,Y,U)=>{var z=$!=null&&typeof $==="object";if(z){var Q=Y?Xy0??=new WeakMap:Zy0??=new WeakMap,J=Q.get($);if(J)return J}U=$!=null?Iy0(Ky0($)):{};let I=Y||!$||!$.__esModule?oT(U,"default",{value:$,enumerable:!0}):U;for(let K of Gy0($))if(!Hy0.call(I,K))oT(I,K,{get:Wy0.bind($,K),enumerable:!0});if(z)Q.set($,I);return I};var E=($,Y)=>()=>(Y||$((Y={exports:{}}).exports,Y),Y.exports);var qy0=($)=>$;function Vy0($,Y){this[$]=qy0.bind(null,Y)}var x8=($,Y)=>{for(var U in Y)oT($,U,{get:Y[U],enumerable:!0,configurable:!0,set:Vy0.bind(Y,U)})};var m=($,Y)=>()=>($&&(Y=$($=0)),Y);var I0=Ly0(import.meta.url);var Fy0,cq,wy0,My0,Oy0,Ny0,R0=($,Y)=>()=>(Y||$((Y={exports:{}}).exports,Y),Y.exports),uo=($,Y)=>{let U={};for(var z in $)cq(U,z,{get:$[z],enumerable:!0});if(Y)cq(U,Symbol.toStringTag,{value:"Module"});return U},Dy0=($,Y,U,z)=>{if(Y&&typeof Y==="object"||typeof Y==="function"){for(var Q=My0(Y),J=0,I=Q.length,K;JY[G]).bind(null,K),enumerable:!(z=wy0(Y,K))||z.enumerable})}return $},nq=($,Y,U)=>(U=$!=null?Fy0(Oy0($)):{},Dy0(Y||!$||!$.__esModule?cq(U,"default",{value:$,enumerable:!0}):U,$));var rT=m(()=>{Fy0=Object.create,cq=Object.defineProperty,wy0=Object.getOwnPropertyDescriptor,My0=Object.getOwnPropertyNames,Oy0=Object.getPrototypeOf,Ny0=Object.prototype.hasOwnProperty});function io($){return typeof $==="string"&&bo.has($.replace(/#$/,""))}function co($,Y){if(!("$schema"in $)||typeof $.$schema!=="string")return"2020-12";let U=$.$schema.replace(/#$/,"");if(Ay0.has(U))return"2020-12";if(bo.has(U))return"2019-09";if(By0.has(U)||Py0.has(U))return"draft-7";throw Error(`JSON Schema declares an unsupported dialect ("$schema": "${$.$schema.slice(0,200)}"). The default validator supports JSON Schema 2020-12, 2019-09, draft-07, and draft-06; ${Y}`)}var Ay0,bo,By0,Py0;var sT=m(()=>{Ay0=new Set(["https://json-schema.org/draft/2020-12/schema","http://json-schema.org/draft/2020-12/schema"]),bo=new Set(["https://json-schema.org/draft/2019-09/schema","http://json-schema.org/draft/2019-09/schema"]),By0=new Set(["https://json-schema.org/draft-07/schema","http://json-schema.org/draft-07/schema"]),Py0=new Set(["https://json-schema.org/draft-06/schema","http://json-schema.org/draft-06/schema"])});function H0($,Y,U){function z(K,G){if(!K._zod)Object.defineProperty(K,"_zod",{value:{def:G,constr:I,traits:new Set},enumerable:!1});if(K._zod.traits.has($))return;K._zod.traits.add($),Y(K,G);let H=I.prototype,W=Object.keys(H);for(let X=0;X{if(U?.Parent&&K instanceof U.Parent)return!0;return K?._zod?.traits?.has($)}}),Object.defineProperty(I,"name",{value:$}),I}function a4($){if($)Object.assign(AY,$);return AY}var no,oK,aT,f5,BY,AY;var PY=m(()=>{oK=Object.freeze({status:"aborted"});aT=Symbol("zod_brand");f5=class f5 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};BY=class BY extends Error{constructor($){super(`Encountered unidirectional transform during encode: ${$}`);this.name="ZodEncodeError"}};(no=globalThis).__zod_globalConfig??(no.__zod_globalConfig={});AY=globalThis.__zod_globalConfig});var y0={};x8(y0,{unwrapMessage:()=>rK,uint8ArrayToHex:()=>ry0,uint8ArrayToBase64url:()=>ly0,uint8ArrayToBase64:()=>lo,stringifyPrimitive:()=>v0,slugify:()=>$j,shallowClone:()=>Uj,safeExtend:()=>iy0,required:()=>py0,randomString:()=>gy0,propertyKeyTypes:()=>tK,promiseAllObject:()=>Sy0,primitiveTypes:()=>zj,prefixIssues:()=>f8,pick:()=>fy0,partial:()=>ny0,parsedType:()=>S0,optionalKeys:()=>Qj,omit:()=>uy0,objectClone:()=>_y0,numKeys:()=>yy0,nullish:()=>I7,normalizeParams:()=>x0,mergeDefs:()=>c9,merge:()=>cy0,jsonStringifyReplacer:()=>iz,joinValues:()=>O0,issue:()=>nz,isPlainObject:()=>G7,isObject:()=>TY,hexToUint8Array:()=>oy0,getSizableOrigin:()=>eK,getParsedType:()=>ky0,getLengthableOrigin:()=>$G,getEnumValues:()=>sK,getElementAtPath:()=>hy0,floatSafeRemainder:()=>eT,finalizeIssue:()=>A8,extend:()=>by0,explicitlyAborted:()=>Kj,escapeRegex:()=>N$,esc:()=>pq,defineLazy:()=>E1,createTransparentProxy:()=>xy0,cloneDef:()=>vy0,clone:()=>D8,cleanRegex:()=>aK,cleanEnum:()=>dy0,captureStackTrace:()=>dq,cached:()=>cz,base64urlToUint8Array:()=>my0,base64ToUint8Array:()=>mo,assignProp:()=>K7,assertNotEqual:()=>jy0,assertNever:()=>Cy0,assertIs:()=>Ey0,assertEqual:()=>Ty0,assert:()=>Ry0,allowsEval:()=>Yj,aborted:()=>H7,NUMBER_FORMAT_RANGES:()=>Jj,Class:()=>oo,BIGINT_FORMAT_RANGES:()=>Ij});function Ty0($){return $}function jy0($){return $}function Ey0($){}function Cy0($){throw Error("Unexpected value in exhaustive check")}function Ry0($){}function sK($){let Y=Object.values($).filter((z)=>typeof z==="number");return Object.entries($).filter(([z,Q])=>Y.indexOf(+z)===-1).map(([z,Q])=>Q)}function O0($,Y="|"){return $.map((U)=>v0(U)).join(Y)}function iz($,Y){if(typeof Y==="bigint")return Y.toString();return Y}function cz($){return{get value(){{let U=$();return Object.defineProperty(this,"value",{value:U}),U}throw Error("cached value already set")}}}function I7($){return $===null||$===void 0}function aK($){let Y=$.startsWith("^")?1:0,U=$.endsWith("$")?$.length-1:$.length;return $.slice(Y,U)}function eT($,Y){let U=$/Y,z=Math.round(U),Q=Number.EPSILON*Math.max(Math.abs(U),1);if(Math.abs(U-z)U?.[z],$)}function Sy0($){let Y=Object.keys($),U=Y.map((z)=>$[z]);return Promise.all(U).then((z)=>{let Q={};for(let J=0;JY};if(Y?.message!==void 0){if(Y?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");Y.error=Y.message}if(delete Y.message,typeof Y.error==="string")return{...Y,error:()=>Y.error};return Y}function xy0($){let Y;return new Proxy({},{get(U,z,Q){return Y??(Y=$()),Reflect.get(Y,z,Q)},set(U,z,Q,J){return Y??(Y=$()),Reflect.set(Y,z,Q,J)},has(U,z){return Y??(Y=$()),Reflect.has(Y,z)},deleteProperty(U,z){return Y??(Y=$()),Reflect.deleteProperty(Y,z)},ownKeys(U){return Y??(Y=$()),Reflect.ownKeys(Y)},getOwnPropertyDescriptor(U,z){return Y??(Y=$()),Reflect.getOwnPropertyDescriptor(Y,z)},defineProperty(U,z,Q){return Y??(Y=$()),Reflect.defineProperty(Y,z,Q)}})}function v0($){if(typeof $==="bigint")return $.toString()+"n";if(typeof $==="string")return`"${$}"`;return`${$}`}function Qj($){return Object.keys($).filter((Y)=>{return $[Y]._zod.optin==="optional"&&$[Y]._zod.optout==="optional"})}function fy0($,Y){let U=$._zod.def,z=U.checks;if(z&&z.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let J=c9($._zod.def,{get shape(){let I={};for(let K in Y){if(!(K in U.shape))throw Error(`Unrecognized key: "${K}"`);if(!Y[K])continue;I[K]=U.shape[K]}return K7(this,"shape",I),I},checks:[]});return D8($,J)}function uy0($,Y){let U=$._zod.def,z=U.checks;if(z&&z.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let J=c9($._zod.def,{get shape(){let I={...$._zod.def.shape};for(let K in Y){if(!(K in U.shape))throw Error(`Unrecognized key: "${K}"`);if(!Y[K])continue;delete I[K]}return K7(this,"shape",I),I},checks:[]});return D8($,J)}function by0($,Y){if(!G7(Y))throw Error("Invalid input to extend: expected a plain object");let U=$._zod.def.checks;if(U&&U.length>0){let J=$._zod.def.shape;for(let I in Y)if(Object.getOwnPropertyDescriptor(J,I)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let Q=c9($._zod.def,{get shape(){let J={...$._zod.def.shape,...Y};return K7(this,"shape",J),J}});return D8($,Q)}function iy0($,Y){if(!G7(Y))throw Error("Invalid input to safeExtend: expected a plain object");let U=c9($._zod.def,{get shape(){let z={...$._zod.def.shape,...Y};return K7(this,"shape",z),z}});return D8($,U)}function cy0($,Y){if($._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let U=c9($._zod.def,{get shape(){let z={...$._zod.def.shape,...Y._zod.def.shape};return K7(this,"shape",z),z},get catchall(){return Y._zod.def.catchall},checks:Y._zod.def.checks??[]});return D8($,U)}function ny0($,Y,U){let Q=Y._zod.def.checks;if(Q&&Q.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let I=c9(Y._zod.def,{get shape(){let K=Y._zod.def.shape,G={...K};if(U)for(let H in U){if(!(H in K))throw Error(`Unrecognized key: "${H}"`);if(!U[H])continue;G[H]=$?new $({type:"optional",innerType:K[H]}):K[H]}else for(let H in K)G[H]=$?new $({type:"optional",innerType:K[H]}):K[H];return K7(this,"shape",G),G},checks:[]});return D8(Y,I)}function py0($,Y,U){let z=c9(Y._zod.def,{get shape(){let Q=Y._zod.def.shape,J={...Q};if(U)for(let I in U){if(!(I in J))throw Error(`Unrecognized key: "${I}"`);if(!U[I])continue;J[I]=new $({type:"nonoptional",innerType:Q[I]})}else for(let I in Q)J[I]=new $({type:"nonoptional",innerType:Q[I]});return K7(this,"shape",J),J}});return D8(Y,z)}function H7($,Y=0){if($.aborted===!0)return!0;for(let U=Y;U<$.issues.length;U++)if($.issues[U]?.continue!==!0)return!0;return!1}function Kj($,Y=0){if($.aborted===!0)return!0;for(let U=Y;U<$.issues.length;U++)if($.issues[U]?.continue===!1)return!0;return!1}function f8($,Y){return Y.map((U)=>{var z;return(z=U).path??(z.path=[]),U.path.unshift($),U})}function rK($){return typeof $==="string"?$:$?.message}function A8($,Y,U){let z=$.message?$.message:rK($.inst?._zod.def?.error?.($))??rK(Y?.error?.($))??rK(U.customError?.($))??rK(U.localeError?.($))??"Invalid input",{inst:Q,continue:J,input:I,...K}=$;if(K.path??(K.path=[]),K.message=z,Y?.reportInput)K.input=I;return K}function eK($){if($ instanceof Set)return"set";if($ instanceof Map)return"map";if($ instanceof File)return"file";return"unknown"}function $G($){if(Array.isArray($))return"array";if(typeof $==="string")return"string";return"unknown"}function S0($){let Y=typeof $;switch(Y){case"number":return Number.isNaN($)?"nan":"number";case"object":{if($===null)return"null";if(Array.isArray($))return"array";let U=$;if(U&&Object.getPrototypeOf(U)!==Object.prototype&&"constructor"in U&&U.constructor)return U.constructor.name}}return Y}function nz(...$){let[Y,U,z]=$;if(typeof Y==="string")return{message:Y,code:"custom",input:U,inst:z};return{...Y}}function dy0($){return Object.entries($).filter(([Y,U])=>{return Number.isNaN(Number.parseInt(Y,10))}).map((Y)=>Y[1])}function mo($){let Y=atob($),U=new Uint8Array(Y.length);for(let z=0;zY.toString(16).padStart(2,"0")).join("")}class oo{constructor(...$){}}var po,dq,Yj,ky0=($)=>{let Y=typeof $;switch(Y){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN($)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray($))return"array";if($===null)return"null";if($.then&&typeof $.then==="function"&&$.catch&&typeof $.catch==="function")return"promise";if(typeof Map<"u"&&$ instanceof Map)return"map";if(typeof Set<"u"&&$ instanceof Set)return"set";if(typeof Date<"u"&&$ instanceof Date)return"date";if(typeof File<"u"&&$ instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${Y}`)}},tK,zj,Jj,Ij;var $1=m(()=>{PY();po=Symbol("evaluating");dq="captureStackTrace"in Error?Error.captureStackTrace:(...$)=>{};Yj=cz(()=>{if(AY.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch($){return!1}});tK=new Set(["string","number","symbol"]),zj=new Set(["string","number","bigint","boolean","symbol","undefined"]);Jj={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Ij={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]}});function UG($,Y=(U)=>U.message){let U={},z=[];for(let Q of $.issues)if(Q.path.length>0)U[Q.path[0]]=U[Q.path[0]]||[],U[Q.path[0]].push(Y(Q));else z.push(Y(Q));return{formErrors:z,fieldErrors:U}}function zG($,Y=(U)=>U.message){let U={_errors:[]},z=(Q,J=[])=>{for(let I of Q.issues)if(I.code==="invalid_union"&&I.errors.length)I.errors.map((K)=>z({issues:K},[...J,...I.path]));else if(I.code==="invalid_key")z({issues:I.issues},[...J,...I.path]);else if(I.code==="invalid_element")z({issues:I.issues},[...J,...I.path]);else{let K=[...J,...I.path];if(K.length===0)U._errors.push(Y(I));else{let G=U,H=0;while(HU.message){let U={errors:[]},z=(Q,J=[])=>{var I,K;for(let G of Q.issues)if(G.code==="invalid_union"&&G.errors.length)G.errors.map((H)=>z({issues:H},[...J,...G.path]));else if(G.code==="invalid_key")z({issues:G.issues},[...J,...G.path]);else if(G.code==="invalid_element")z({issues:G.issues},[...J,...G.path]);else{let H=[...J,...G.path];if(H.length===0){U.errors.push(Y(G));continue}let W=U,X=0;while(Xtypeof z==="object"?z.key:z);for(let z of U)if(typeof z==="number")Y.push(`[${z}]`);else if(typeof z==="symbol")Y.push(`[${JSON.stringify(String(z))}]`);else if(/[^\w$]/.test(z))Y.push(`[${JSON.stringify(z)}]`);else{if(Y.length)Y.push(".");Y.push(z)}return Y.join("")}function Hj($){let Y=[],U=[...$.issues].sort((z,Q)=>(z.path??[]).length-(Q.path??[]).length);for(let z of U)if(Y.push(`✖ ${z.message}`),z.path?.length)Y.push(` → at ${so(z.path)}`);return Y.join(` -`)}var ro=($,Y)=>{$.name="$ZodError",Object.defineProperty($,"_zod",{value:$._zod,enumerable:!1}),Object.defineProperty($,"issues",{value:Y,enumerable:!1}),$.message=JSON.stringify(Y,iz,2),Object.defineProperty($,"toString",{value:()=>$.message,enumerable:!1})},YG,u8;var Wj=m(()=>{PY();$1();YG=H0("$ZodError",ro),u8=H0("$ZodError",ro,{Parent:Error})});var pz=($)=>(Y,U,z,Q)=>{let J=z?{...z,async:!1}:{async:!1},I=Y._zod.run({value:U,issues:[]},J);if(I instanceof Promise)throw new f5;if(I.issues.length){let K=new(Q?.Err??$)(I.issues.map((G)=>A8(G,J,a4())));throw dq(K,Q?.callee),K}return I.value},mq,dz=($)=>async(Y,U,z,Q)=>{let J=z?{...z,async:!0}:{async:!0},I=Y._zod.run({value:U,issues:[]},J);if(I instanceof Promise)I=await I;if(I.issues.length){let K=new(Q?.Err??$)(I.issues.map((G)=>A8(G,J,a4())));throw dq(K,Q?.callee),K}return I.value},lq,mz=($)=>(Y,U,z)=>{let Q=z?{...z,async:!1}:{async:!1},J=Y._zod.run({value:U,issues:[]},Q);if(J instanceof Promise)throw new f5;return J.issues.length?{success:!1,error:new($??YG)(J.issues.map((I)=>A8(I,Q,a4())))}:{success:!0,data:J.value}},Xj,lz=($)=>async(Y,U,z)=>{let Q=z?{...z,async:!0}:{async:!0},J=Y._zod.run({value:U,issues:[]},Q);if(J instanceof Promise)J=await J;return J.issues.length?{success:!1,error:new $(J.issues.map((I)=>A8(I,Q,a4())))}:{success:!0,data:J.value}},Zj,oq=($)=>(Y,U,z)=>{let Q=z?{...z,direction:"backward"}:{direction:"backward"};return pz($)(Y,U,Q)},ay0,rq=($)=>(Y,U,z)=>{return pz($)(Y,U,z)},ty0,sq=($)=>async(Y,U,z)=>{let Q=z?{...z,direction:"backward"}:{direction:"backward"};return dz($)(Y,U,Q)},ey0,aq=($)=>async(Y,U,z)=>{return dz($)(Y,U,z)},$k0,tq=($)=>(Y,U,z)=>{let Q=z?{...z,direction:"backward"}:{direction:"backward"};return mz($)(Y,U,Q)},Yk0,eq=($)=>(Y,U,z)=>{return mz($)(Y,U,z)},Uk0,$V=($)=>async(Y,U,z)=>{let Q=z?{...z,direction:"backward"}:{direction:"backward"};return lz($)(Y,U,Q)},zk0,YV=($)=>async(Y,U,z)=>{return lz($)(Y,U,z)},Qk0;var qj=m(()=>{PY();Wj();$1();mq=pz(u8),lq=dz(u8),Xj=mz(u8),Zj=lz(u8),ay0=oq(u8),ty0=rq(u8),ey0=sq(u8),$k0=aq(u8),Yk0=tq(u8),Uk0=eq(u8),zk0=$V(u8),Qk0=YV(u8)});var Y$={};x8(Y$,{xid:()=>wj,uuid7:()=>Gk0,uuid6:()=>Kk0,uuid4:()=>Ik0,uuid:()=>jY,uppercase:()=>cj,unicodeEmail:()=>ao,undefined:()=>bj,ulid:()=>Fj,time:()=>Sj,string:()=>yj,sha512_hex:()=>Rk0,sha512_base64url:()=>vk0,sha512_base64:()=>_k0,sha384_hex:()=>jk0,sha384_base64url:()=>Ck0,sha384_base64:()=>Ek0,sha256_hex:()=>Bk0,sha256_base64url:()=>Tk0,sha256_base64:()=>Pk0,sha1_hex:()=>Nk0,sha1_base64url:()=>Ak0,sha1_base64:()=>Dk0,rfc5322Email:()=>Wk0,number:()=>QG,null:()=>uj,nanoid:()=>Oj,md5_hex:()=>wk0,md5_base64url:()=>Ok0,md5_base64:()=>Mk0,mac:()=>jj,lowercase:()=>ij,ksuid:()=>Mj,ipv6:()=>Tj,ipv4:()=>Pj,integer:()=>xj,idnEmail:()=>Xk0,httpProtocol:()=>_j,html5Email:()=>Hk0,hostname:()=>Vk0,hex:()=>Fk0,guid:()=>Dj,extendedDuration:()=>Jk0,emoji:()=>Bj,email:()=>Aj,e164:()=>vj,duration:()=>Nj,domain:()=>Lk0,datetime:()=>gj,date:()=>hj,cuid2:()=>Lj,cuid:()=>Vj,cidrv6:()=>Cj,cidrv4:()=>Ej,browserEmail:()=>Zk0,boolean:()=>fj,bigint:()=>kj,base64url:()=>UV,base64:()=>Rj});function Bj(){return new RegExp(qk0,"u")}function eo($){return typeof $.precision==="number"?$.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":$.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${$.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function Sj($){return new RegExp(`^${eo($)}$`)}function gj($){let Y=eo({precision:$.precision}),U=["Z"];if($.local)U.push("");if($.offset)U.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let z=`${Y}(?:${U.join("|")})`;return new RegExp(`^${to}T(?:${z})$`)}function JG($,Y){return new RegExp(`^[A-Za-z0-9+/]{${$}}${Y}$`)}function IG($){return new RegExp(`^[A-Za-z0-9_-]{${$}}$`)}var Vj,Lj,Fj,wj,Mj,Oj,Nj,Jk0,Dj,jY=($)=>{if(!$)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${$}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},Ik0,Kk0,Gk0,Aj,Hk0,Wk0,ao,Xk0,Zk0,qk0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",Pj,Tj,jj=($)=>{let Y=N$($??":");return new RegExp(`^(?:[0-9A-F]{2}${Y}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${Y}){5}[0-9a-f]{2}$`)},Ej,Cj,Rj,UV,Vk0,Lk0,_j,vj,to="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",hj,yj=($)=>{let Y=$?`[\\s\\S]{${$?.minimum??0},${$?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${Y}$`)},kj,xj,QG,fj,uj,bj,ij,cj,Fk0,wk0,Mk0,Ok0,Nk0,Dk0,Ak0,Bk0,Pk0,Tk0,jk0,Ek0,Ck0,Rk0,_k0,vk0;var zV=m(()=>{$1();Vj=/^[cC][0-9a-z]{6,}$/,Lj=/^[0-9a-z]+$/,Fj=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,wj=/^[0-9a-vA-V]{20}$/,Mj=/^[A-Za-z0-9]{27}$/,Oj=/^[a-zA-Z0-9_-]{21}$/,Nj=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Jk0=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Dj=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Ik0=jY(4),Kk0=jY(6),Gk0=jY(7),Aj=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Hk0=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Wk0=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,ao=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Xk0=ao,Zk0=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;Pj=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Tj=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Ej=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Cj=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Rj=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,UV=/^[A-Za-z0-9_-]*$/,Vk0=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,Lk0=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,_j=/^https?$/,vj=/^\+[1-9]\d{6,14}$/,hj=new RegExp(`^${to}$`);kj=/^-?\d+n?$/,xj=/^-?\d+$/,QG=/^-?\d+(?:\.\d+)?$/,fj=/^(?:true|false)$/i,uj=/^null$/i,bj=/^undefined$/i,ij=/^[^A-Z]*$/,cj=/^[^a-z]*$/,Fk0=/^[0-9a-fA-F]*$/;wk0=/^[0-9a-fA-F]{32}$/,Mk0=JG(22,"=="),Ok0=IG(22),Nk0=/^[0-9a-fA-F]{40}$/,Dk0=JG(27,"="),Ak0=IG(27),Bk0=/^[0-9a-fA-F]{64}$/,Pk0=JG(43,"="),Tk0=IG(43),jk0=/^[0-9a-fA-F]{96}$/,Ek0=JG(64,""),Ck0=IG(64),Rk0=/^[0-9a-fA-F]{128}$/,_k0=JG(86,"=="),vk0=IG(86)});function $r($,Y,U){if($.issues.length)Y.issues.push(...f8(U,$.issues))}var L4,Yr,QV,JV,nj,pj,dj,mj,lj,oj,rj,sj,aj,oz,tj,ej,$E,YE,UE,zE,QE,JE,IE;var IV=m(()=>{PY();zV();$1();L4=H0("$ZodCheck",($,Y)=>{var U;$._zod??($._zod={}),$._zod.def=Y,(U=$._zod).onattach??(U.onattach=[])}),Yr={number:"number",bigint:"bigint",object:"date"},QV=H0("$ZodCheckLessThan",($,Y)=>{L4.init($,Y);let U=Yr[typeof Y.value];$._zod.onattach.push((z)=>{let Q=z._zod.bag,J=(Y.inclusive?Q.maximum:Q.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(Y.value{if(Y.inclusive?z.value<=Y.value:z.value{L4.init($,Y);let U=Yr[typeof Y.value];$._zod.onattach.push((z)=>{let Q=z._zod.bag,J=(Y.inclusive?Q.minimum:Q.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(Y.value>J)if(Y.inclusive)Q.minimum=Y.value;else Q.exclusiveMinimum=Y.value}),$._zod.check=(z)=>{if(Y.inclusive?z.value>=Y.value:z.value>Y.value)return;z.issues.push({origin:U,code:"too_small",minimum:typeof Y.value==="object"?Y.value.getTime():Y.value,input:z.value,inclusive:Y.inclusive,inst:$,continue:!Y.abort})}}),nj=H0("$ZodCheckMultipleOf",($,Y)=>{L4.init($,Y),$._zod.onattach.push((U)=>{var z;(z=U._zod.bag).multipleOf??(z.multipleOf=Y.value)}),$._zod.check=(U)=>{if(typeof U.value!==typeof Y.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof U.value==="bigint"?U.value%Y.value===BigInt(0):eT(U.value,Y.value)===0)return;U.issues.push({origin:typeof U.value,code:"not_multiple_of",divisor:Y.value,input:U.value,inst:$,continue:!Y.abort})}}),pj=H0("$ZodCheckNumberFormat",($,Y)=>{L4.init($,Y),Y.format=Y.format||"float64";let U=Y.format?.includes("int"),z=U?"int":"number",[Q,J]=Jj[Y.format];$._zod.onattach.push((I)=>{let K=I._zod.bag;if(K.format=Y.format,K.minimum=Q,K.maximum=J,U)K.pattern=xj}),$._zod.check=(I)=>{let K=I.value;if(U){if(!Number.isInteger(K)){I.issues.push({expected:z,format:Y.format,code:"invalid_type",continue:!1,input:K,inst:$});return}if(!Number.isSafeInteger(K)){if(K>0)I.issues.push({input:K,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:z,inclusive:!0,continue:!Y.abort});else I.issues.push({input:K,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:z,inclusive:!0,continue:!Y.abort});return}}if(KJ)I.issues.push({origin:"number",input:K,code:"too_big",maximum:J,inclusive:!0,inst:$,continue:!Y.abort})}}),dj=H0("$ZodCheckBigIntFormat",($,Y)=>{L4.init($,Y);let[U,z]=Ij[Y.format];$._zod.onattach.push((Q)=>{let J=Q._zod.bag;J.format=Y.format,J.minimum=U,J.maximum=z}),$._zod.check=(Q)=>{let J=Q.value;if(Jz)Q.issues.push({origin:"bigint",input:J,code:"too_big",maximum:z,inclusive:!0,inst:$,continue:!Y.abort})}}),mj=H0("$ZodCheckMaxSize",($,Y)=>{var U;L4.init($,Y),(U=$._zod.def).when??(U.when=(z)=>{let Q=z.value;return!I7(Q)&&Q.size!==void 0}),$._zod.onattach.push((z)=>{let Q=z._zod.bag.maximum??Number.POSITIVE_INFINITY;if(Y.maximum{let Q=z.value;if(Q.size<=Y.maximum)return;z.issues.push({origin:eK(Q),code:"too_big",maximum:Y.maximum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),lj=H0("$ZodCheckMinSize",($,Y)=>{var U;L4.init($,Y),(U=$._zod.def).when??(U.when=(z)=>{let Q=z.value;return!I7(Q)&&Q.size!==void 0}),$._zod.onattach.push((z)=>{let Q=z._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(Y.minimum>Q)z._zod.bag.minimum=Y.minimum}),$._zod.check=(z)=>{let Q=z.value;if(Q.size>=Y.minimum)return;z.issues.push({origin:eK(Q),code:"too_small",minimum:Y.minimum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),oj=H0("$ZodCheckSizeEquals",($,Y)=>{var U;L4.init($,Y),(U=$._zod.def).when??(U.when=(z)=>{let Q=z.value;return!I7(Q)&&Q.size!==void 0}),$._zod.onattach.push((z)=>{let Q=z._zod.bag;Q.minimum=Y.size,Q.maximum=Y.size,Q.size=Y.size}),$._zod.check=(z)=>{let Q=z.value,J=Q.size;if(J===Y.size)return;let I=J>Y.size;z.issues.push({origin:eK(Q),...I?{code:"too_big",maximum:Y.size}:{code:"too_small",minimum:Y.size},inclusive:!0,exact:!0,input:z.value,inst:$,continue:!Y.abort})}}),rj=H0("$ZodCheckMaxLength",($,Y)=>{var U;L4.init($,Y),(U=$._zod.def).when??(U.when=(z)=>{let Q=z.value;return!I7(Q)&&Q.length!==void 0}),$._zod.onattach.push((z)=>{let Q=z._zod.bag.maximum??Number.POSITIVE_INFINITY;if(Y.maximum{let Q=z.value;if(Q.length<=Y.maximum)return;let I=$G(Q);z.issues.push({origin:I,code:"too_big",maximum:Y.maximum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),sj=H0("$ZodCheckMinLength",($,Y)=>{var U;L4.init($,Y),(U=$._zod.def).when??(U.when=(z)=>{let Q=z.value;return!I7(Q)&&Q.length!==void 0}),$._zod.onattach.push((z)=>{let Q=z._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(Y.minimum>Q)z._zod.bag.minimum=Y.minimum}),$._zod.check=(z)=>{let Q=z.value;if(Q.length>=Y.minimum)return;let I=$G(Q);z.issues.push({origin:I,code:"too_small",minimum:Y.minimum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),aj=H0("$ZodCheckLengthEquals",($,Y)=>{var U;L4.init($,Y),(U=$._zod.def).when??(U.when=(z)=>{let Q=z.value;return!I7(Q)&&Q.length!==void 0}),$._zod.onattach.push((z)=>{let Q=z._zod.bag;Q.minimum=Y.length,Q.maximum=Y.length,Q.length=Y.length}),$._zod.check=(z)=>{let Q=z.value,J=Q.length;if(J===Y.length)return;let I=$G(Q),K=J>Y.length;z.issues.push({origin:I,...K?{code:"too_big",maximum:Y.length}:{code:"too_small",minimum:Y.length},inclusive:!0,exact:!0,input:z.value,inst:$,continue:!Y.abort})}}),oz=H0("$ZodCheckStringFormat",($,Y)=>{var U,z;if(L4.init($,Y),$._zod.onattach.push((Q)=>{let J=Q._zod.bag;if(J.format=Y.format,Y.pattern)J.patterns??(J.patterns=new Set),J.patterns.add(Y.pattern)}),Y.pattern)(U=$._zod).check??(U.check=(Q)=>{if(Y.pattern.lastIndex=0,Y.pattern.test(Q.value))return;Q.issues.push({origin:"string",code:"invalid_format",format:Y.format,input:Q.value,...Y.pattern?{pattern:Y.pattern.toString()}:{},inst:$,continue:!Y.abort})});else(z=$._zod).check??(z.check=()=>{})}),tj=H0("$ZodCheckRegex",($,Y)=>{oz.init($,Y),$._zod.check=(U)=>{if(Y.pattern.lastIndex=0,Y.pattern.test(U.value))return;U.issues.push({origin:"string",code:"invalid_format",format:"regex",input:U.value,pattern:Y.pattern.toString(),inst:$,continue:!Y.abort})}}),ej=H0("$ZodCheckLowerCase",($,Y)=>{Y.pattern??(Y.pattern=ij),oz.init($,Y)}),$E=H0("$ZodCheckUpperCase",($,Y)=>{Y.pattern??(Y.pattern=cj),oz.init($,Y)}),YE=H0("$ZodCheckIncludes",($,Y)=>{L4.init($,Y);let U=N$(Y.includes),z=new RegExp(typeof Y.position==="number"?`^.{${Y.position}}${U}`:U);Y.pattern=z,$._zod.onattach.push((Q)=>{let J=Q._zod.bag;J.patterns??(J.patterns=new Set),J.patterns.add(z)}),$._zod.check=(Q)=>{if(Q.value.includes(Y.includes,Y.position))return;Q.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:Y.includes,input:Q.value,inst:$,continue:!Y.abort})}}),UE=H0("$ZodCheckStartsWith",($,Y)=>{L4.init($,Y);let U=new RegExp(`^${N$(Y.prefix)}.*`);Y.pattern??(Y.pattern=U),$._zod.onattach.push((z)=>{let Q=z._zod.bag;Q.patterns??(Q.patterns=new Set),Q.patterns.add(U)}),$._zod.check=(z)=>{if(z.value.startsWith(Y.prefix))return;z.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:Y.prefix,input:z.value,inst:$,continue:!Y.abort})}}),zE=H0("$ZodCheckEndsWith",($,Y)=>{L4.init($,Y);let U=new RegExp(`.*${N$(Y.suffix)}$`);Y.pattern??(Y.pattern=U),$._zod.onattach.push((z)=>{let Q=z._zod.bag;Q.patterns??(Q.patterns=new Set),Q.patterns.add(U)}),$._zod.check=(z)=>{if(z.value.endsWith(Y.suffix))return;z.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:Y.suffix,input:z.value,inst:$,continue:!Y.abort})}});QE=H0("$ZodCheckProperty",($,Y)=>{L4.init($,Y),$._zod.check=(U)=>{let z=Y.schema._zod.run({value:U.value[Y.property],issues:[]},{});if(z instanceof Promise)return z.then((Q)=>$r(Q,U,Y.property));$r(z,U,Y.property);return}}),JE=H0("$ZodCheckMimeType",($,Y)=>{L4.init($,Y);let U=new Set(Y.mime);$._zod.onattach.push((z)=>{z._zod.bag.mime=Y.mime}),$._zod.check=(z)=>{if(U.has(z.value.type))return;z.issues.push({code:"invalid_value",values:Y.mime,input:z.value.type,inst:$,continue:!Y.abort})}}),IE=H0("$ZodCheckOverwrite",($,Y)=>{L4.init($,Y),$._zod.check=(U)=>{U.value=Y.tx(U.value)}})});class KV{constructor($=[]){if(this.content=[],this.indent=0,this)this.args=$}indented($){this.indent+=1,$(this),this.indent-=1}write($){if(typeof $==="function"){$(this,{execution:"sync"}),$(this,{execution:"async"});return}let U=$.split(` +import{createRequire as Ly0}from"node:module";var Iy0=Object.create;var{getPrototypeOf:Ky0,defineProperty:oT,getOwnPropertyNames:Gy0}=Object;var Hy0=Object.prototype.hasOwnProperty;function Wy0($){return this[$]}var Xy0,Zy0,J6=($,Y,U)=>{var z=$!=null&&typeof $==="object";if(z){var Q=Y?Xy0??=new WeakMap:Zy0??=new WeakMap,J=Q.get($);if(J)return J}U=$!=null?Iy0(Ky0($)):{};let I=Y||!$||!$.__esModule?oT(U,"default",{value:$,enumerable:!0}):U;for(let K of Gy0($))if(!Hy0.call(I,K))oT(I,K,{get:Wy0.bind($,K),enumerable:!0});if(z)Q.set($,I);return I};var E=($,Y)=>()=>(Y||$((Y={exports:{}}).exports,Y),Y.exports);var qy0=($)=>$;function Vy0($,Y){this[$]=qy0.bind(null,Y)}var x8=($,Y)=>{for(var U in Y)oT($,U,{get:Y[U],enumerable:!0,configurable:!0,set:Vy0.bind(Y,U)})};var m=($,Y)=>()=>($&&(Y=$($=0)),Y);var I0=Ly0(import.meta.url);var Fy0,cq,wy0,My0,Oy0,Ny0,R0=($,Y)=>()=>(Y||$((Y={exports:{}}).exports,Y),Y.exports),uo=($,Y)=>{let U={};for(var z in $)cq(U,z,{get:$[z],enumerable:!0});if(Y)cq(U,Symbol.toStringTag,{value:"Module"});return U},Dy0=($,Y,U,z)=>{if(Y&&typeof Y==="object"||typeof Y==="function"){for(var Q=My0(Y),J=0,I=Q.length,K;JY[G]).bind(null,K),enumerable:!(z=wy0(Y,K))||z.enumerable})}return $},nq=($,Y,U)=>(U=$!=null?Fy0(Oy0($)):{},Dy0(Y||!$||!$.__esModule?cq(U,"default",{value:$,enumerable:!0}):U,$));var rT=m(()=>{Fy0=Object.create,cq=Object.defineProperty,wy0=Object.getOwnPropertyDescriptor,My0=Object.getOwnPropertyNames,Oy0=Object.getPrototypeOf,Ny0=Object.prototype.hasOwnProperty});function io($){return typeof $==="string"&&bo.has($.replace(/#$/,""))}function co($,Y){if(!("$schema"in $)||typeof $.$schema!=="string")return"2020-12";let U=$.$schema.replace(/#$/,"");if(Ay0.has(U))return"2020-12";if(bo.has(U))return"2019-09";if(By0.has(U)||Py0.has(U))return"draft-7";throw Error(`JSON Schema declares an unsupported dialect ("$schema": "${$.$schema.slice(0,200)}"). The default validator supports JSON Schema 2020-12, 2019-09, draft-07, and draft-06; ${Y}`)}var Ay0,bo,By0,Py0;var sT=m(()=>{Ay0=new Set(["https://json-schema.org/draft/2020-12/schema","http://json-schema.org/draft/2020-12/schema"]),bo=new Set(["https://json-schema.org/draft/2019-09/schema","http://json-schema.org/draft/2019-09/schema"]),By0=new Set(["https://json-schema.org/draft-07/schema","http://json-schema.org/draft-07/schema"]),Py0=new Set(["https://json-schema.org/draft-06/schema","http://json-schema.org/draft-06/schema"])});function H0($,Y,U){function z(K,G){if(!K._zod)Object.defineProperty(K,"_zod",{value:{def:G,constr:I,traits:new Set},enumerable:!1});if(K._zod.traits.has($))return;K._zod.traits.add($),Y(K,G);let H=I.prototype,W=Object.keys(H);for(let X=0;X{if(U?.Parent&&K instanceof U.Parent)return!0;return K?._zod?.traits?.has($)}}),Object.defineProperty(I,"name",{value:$}),I}function a4($){if($)Object.assign(AY,$);return AY}var no,oK,aT,u5,BY,AY;var PY=m(()=>{oK=Object.freeze({status:"aborted"});aT=Symbol("zod_brand");u5=class u5 extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}};BY=class BY extends Error{constructor($){super(`Encountered unidirectional transform during encode: ${$}`);this.name="ZodEncodeError"}};(no=globalThis).__zod_globalConfig??(no.__zod_globalConfig={});AY=globalThis.__zod_globalConfig});var y0={};x8(y0,{unwrapMessage:()=>rK,uint8ArrayToHex:()=>ry0,uint8ArrayToBase64url:()=>ly0,uint8ArrayToBase64:()=>lo,stringifyPrimitive:()=>v0,slugify:()=>$j,shallowClone:()=>Uj,safeExtend:()=>iy0,required:()=>py0,randomString:()=>gy0,propertyKeyTypes:()=>tK,promiseAllObject:()=>Sy0,primitiveTypes:()=>zj,prefixIssues:()=>f8,pick:()=>fy0,partial:()=>ny0,parsedType:()=>S0,optionalKeys:()=>Qj,omit:()=>uy0,objectClone:()=>_y0,numKeys:()=>yy0,nullish:()=>I7,normalizeParams:()=>x0,mergeDefs:()=>c9,merge:()=>cy0,jsonStringifyReplacer:()=>iz,joinValues:()=>O0,issue:()=>nz,isPlainObject:()=>G7,isObject:()=>TY,hexToUint8Array:()=>oy0,getSizableOrigin:()=>eK,getParsedType:()=>ky0,getLengthableOrigin:()=>$G,getEnumValues:()=>sK,getElementAtPath:()=>hy0,floatSafeRemainder:()=>eT,finalizeIssue:()=>A8,extend:()=>by0,explicitlyAborted:()=>Kj,escapeRegex:()=>N$,esc:()=>pq,defineLazy:()=>E1,createTransparentProxy:()=>xy0,cloneDef:()=>vy0,clone:()=>D8,cleanRegex:()=>aK,cleanEnum:()=>dy0,captureStackTrace:()=>dq,cached:()=>cz,base64urlToUint8Array:()=>my0,base64ToUint8Array:()=>mo,assignProp:()=>K7,assertNotEqual:()=>jy0,assertNever:()=>Cy0,assertIs:()=>Ey0,assertEqual:()=>Ty0,assert:()=>Ry0,allowsEval:()=>Yj,aborted:()=>H7,NUMBER_FORMAT_RANGES:()=>Jj,Class:()=>oo,BIGINT_FORMAT_RANGES:()=>Ij});function Ty0($){return $}function jy0($){return $}function Ey0($){}function Cy0($){throw Error("Unexpected value in exhaustive check")}function Ry0($){}function sK($){let Y=Object.values($).filter((z)=>typeof z==="number");return Object.entries($).filter(([z,Q])=>Y.indexOf(+z)===-1).map(([z,Q])=>Q)}function O0($,Y="|"){return $.map((U)=>v0(U)).join(Y)}function iz($,Y){if(typeof Y==="bigint")return Y.toString();return Y}function cz($){return{get value(){{let U=$();return Object.defineProperty(this,"value",{value:U}),U}throw Error("cached value already set")}}}function I7($){return $===null||$===void 0}function aK($){let Y=$.startsWith("^")?1:0,U=$.endsWith("$")?$.length-1:$.length;return $.slice(Y,U)}function eT($,Y){let U=$/Y,z=Math.round(U),Q=Number.EPSILON*Math.max(Math.abs(U),1);if(Math.abs(U-z)U?.[z],$)}function Sy0($){let Y=Object.keys($),U=Y.map((z)=>$[z]);return Promise.all(U).then((z)=>{let Q={};for(let J=0;JY};if(Y?.message!==void 0){if(Y?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");Y.error=Y.message}if(delete Y.message,typeof Y.error==="string")return{...Y,error:()=>Y.error};return Y}function xy0($){let Y;return new Proxy({},{get(U,z,Q){return Y??(Y=$()),Reflect.get(Y,z,Q)},set(U,z,Q,J){return Y??(Y=$()),Reflect.set(Y,z,Q,J)},has(U,z){return Y??(Y=$()),Reflect.has(Y,z)},deleteProperty(U,z){return Y??(Y=$()),Reflect.deleteProperty(Y,z)},ownKeys(U){return Y??(Y=$()),Reflect.ownKeys(Y)},getOwnPropertyDescriptor(U,z){return Y??(Y=$()),Reflect.getOwnPropertyDescriptor(Y,z)},defineProperty(U,z,Q){return Y??(Y=$()),Reflect.defineProperty(Y,z,Q)}})}function v0($){if(typeof $==="bigint")return $.toString()+"n";if(typeof $==="string")return`"${$}"`;return`${$}`}function Qj($){return Object.keys($).filter((Y)=>{return $[Y]._zod.optin==="optional"&&$[Y]._zod.optout==="optional"})}function fy0($,Y){let U=$._zod.def,z=U.checks;if(z&&z.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let J=c9($._zod.def,{get shape(){let I={};for(let K in Y){if(!(K in U.shape))throw Error(`Unrecognized key: "${K}"`);if(!Y[K])continue;I[K]=U.shape[K]}return K7(this,"shape",I),I},checks:[]});return D8($,J)}function uy0($,Y){let U=$._zod.def,z=U.checks;if(z&&z.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let J=c9($._zod.def,{get shape(){let I={...$._zod.def.shape};for(let K in Y){if(!(K in U.shape))throw Error(`Unrecognized key: "${K}"`);if(!Y[K])continue;delete I[K]}return K7(this,"shape",I),I},checks:[]});return D8($,J)}function by0($,Y){if(!G7(Y))throw Error("Invalid input to extend: expected a plain object");let U=$._zod.def.checks;if(U&&U.length>0){let J=$._zod.def.shape;for(let I in Y)if(Object.getOwnPropertyDescriptor(J,I)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let Q=c9($._zod.def,{get shape(){let J={...$._zod.def.shape,...Y};return K7(this,"shape",J),J}});return D8($,Q)}function iy0($,Y){if(!G7(Y))throw Error("Invalid input to safeExtend: expected a plain object");let U=c9($._zod.def,{get shape(){let z={...$._zod.def.shape,...Y};return K7(this,"shape",z),z}});return D8($,U)}function cy0($,Y){if($._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let U=c9($._zod.def,{get shape(){let z={...$._zod.def.shape,...Y._zod.def.shape};return K7(this,"shape",z),z},get catchall(){return Y._zod.def.catchall},checks:Y._zod.def.checks??[]});return D8($,U)}function ny0($,Y,U){let Q=Y._zod.def.checks;if(Q&&Q.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let I=c9(Y._zod.def,{get shape(){let K=Y._zod.def.shape,G={...K};if(U)for(let H in U){if(!(H in K))throw Error(`Unrecognized key: "${H}"`);if(!U[H])continue;G[H]=$?new $({type:"optional",innerType:K[H]}):K[H]}else for(let H in K)G[H]=$?new $({type:"optional",innerType:K[H]}):K[H];return K7(this,"shape",G),G},checks:[]});return D8(Y,I)}function py0($,Y,U){let z=c9(Y._zod.def,{get shape(){let Q=Y._zod.def.shape,J={...Q};if(U)for(let I in U){if(!(I in J))throw Error(`Unrecognized key: "${I}"`);if(!U[I])continue;J[I]=new $({type:"nonoptional",innerType:Q[I]})}else for(let I in Q)J[I]=new $({type:"nonoptional",innerType:Q[I]});return K7(this,"shape",J),J}});return D8(Y,z)}function H7($,Y=0){if($.aborted===!0)return!0;for(let U=Y;U<$.issues.length;U++)if($.issues[U]?.continue!==!0)return!0;return!1}function Kj($,Y=0){if($.aborted===!0)return!0;for(let U=Y;U<$.issues.length;U++)if($.issues[U]?.continue===!1)return!0;return!1}function f8($,Y){return Y.map((U)=>{var z;return(z=U).path??(z.path=[]),U.path.unshift($),U})}function rK($){return typeof $==="string"?$:$?.message}function A8($,Y,U){let z=$.message?$.message:rK($.inst?._zod.def?.error?.($))??rK(Y?.error?.($))??rK(U.customError?.($))??rK(U.localeError?.($))??"Invalid input",{inst:Q,continue:J,input:I,...K}=$;if(K.path??(K.path=[]),K.message=z,Y?.reportInput)K.input=I;return K}function eK($){if($ instanceof Set)return"set";if($ instanceof Map)return"map";if($ instanceof File)return"file";return"unknown"}function $G($){if(Array.isArray($))return"array";if(typeof $==="string")return"string";return"unknown"}function S0($){let Y=typeof $;switch(Y){case"number":return Number.isNaN($)?"nan":"number";case"object":{if($===null)return"null";if(Array.isArray($))return"array";let U=$;if(U&&Object.getPrototypeOf(U)!==Object.prototype&&"constructor"in U&&U.constructor)return U.constructor.name}}return Y}function nz(...$){let[Y,U,z]=$;if(typeof Y==="string")return{message:Y,code:"custom",input:U,inst:z};return{...Y}}function dy0($){return Object.entries($).filter(([Y,U])=>{return Number.isNaN(Number.parseInt(Y,10))}).map((Y)=>Y[1])}function mo($){let Y=atob($),U=new Uint8Array(Y.length);for(let z=0;zY.toString(16).padStart(2,"0")).join("")}class oo{constructor(...$){}}var po,dq,Yj,ky0=($)=>{let Y=typeof $;switch(Y){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN($)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":if(Array.isArray($))return"array";if($===null)return"null";if($.then&&typeof $.then==="function"&&$.catch&&typeof $.catch==="function")return"promise";if(typeof Map<"u"&&$ instanceof Map)return"map";if(typeof Set<"u"&&$ instanceof Set)return"set";if(typeof Date<"u"&&$ instanceof Date)return"date";if(typeof File<"u"&&$ instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${Y}`)}},tK,zj,Jj,Ij;var $1=m(()=>{PY();po=Symbol("evaluating");dq="captureStackTrace"in Error?Error.captureStackTrace:(...$)=>{};Yj=cz(()=>{if(AY.jitless)return!1;if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch($){return!1}});tK=new Set(["string","number","symbol"]),zj=new Set(["string","number","bigint","boolean","symbol","undefined"]);Jj={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-340282346638528860000000000000000000000,340282346638528860000000000000000000000],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Ij={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]}});function UG($,Y=(U)=>U.message){let U={},z=[];for(let Q of $.issues)if(Q.path.length>0)U[Q.path[0]]=U[Q.path[0]]||[],U[Q.path[0]].push(Y(Q));else z.push(Y(Q));return{formErrors:z,fieldErrors:U}}function zG($,Y=(U)=>U.message){let U={_errors:[]},z=(Q,J=[])=>{for(let I of Q.issues)if(I.code==="invalid_union"&&I.errors.length)I.errors.map((K)=>z({issues:K},[...J,...I.path]));else if(I.code==="invalid_key")z({issues:I.issues},[...J,...I.path]);else if(I.code==="invalid_element")z({issues:I.issues},[...J,...I.path]);else{let K=[...J,...I.path];if(K.length===0)U._errors.push(Y(I));else{let G=U,H=0;while(HU.message){let U={errors:[]},z=(Q,J=[])=>{var I,K;for(let G of Q.issues)if(G.code==="invalid_union"&&G.errors.length)G.errors.map((H)=>z({issues:H},[...J,...G.path]));else if(G.code==="invalid_key")z({issues:G.issues},[...J,...G.path]);else if(G.code==="invalid_element")z({issues:G.issues},[...J,...G.path]);else{let H=[...J,...G.path];if(H.length===0){U.errors.push(Y(G));continue}let W=U,X=0;while(Xtypeof z==="object"?z.key:z);for(let z of U)if(typeof z==="number")Y.push(`[${z}]`);else if(typeof z==="symbol")Y.push(`[${JSON.stringify(String(z))}]`);else if(/[^\w$]/.test(z))Y.push(`[${JSON.stringify(z)}]`);else{if(Y.length)Y.push(".");Y.push(z)}return Y.join("")}function Hj($){let Y=[],U=[...$.issues].sort((z,Q)=>(z.path??[]).length-(Q.path??[]).length);for(let z of U)if(Y.push(`✖ ${z.message}`),z.path?.length)Y.push(` → at ${so(z.path)}`);return Y.join(` +`)}var ro=($,Y)=>{$.name="$ZodError",Object.defineProperty($,"_zod",{value:$._zod,enumerable:!1}),Object.defineProperty($,"issues",{value:Y,enumerable:!1}),$.message=JSON.stringify(Y,iz,2),Object.defineProperty($,"toString",{value:()=>$.message,enumerable:!1})},YG,u8;var Wj=m(()=>{PY();$1();YG=H0("$ZodError",ro),u8=H0("$ZodError",ro,{Parent:Error})});var pz=($)=>(Y,U,z,Q)=>{let J=z?{...z,async:!1}:{async:!1},I=Y._zod.run({value:U,issues:[]},J);if(I instanceof Promise)throw new u5;if(I.issues.length){let K=new(Q?.Err??$)(I.issues.map((G)=>A8(G,J,a4())));throw dq(K,Q?.callee),K}return I.value},mq,dz=($)=>async(Y,U,z,Q)=>{let J=z?{...z,async:!0}:{async:!0},I=Y._zod.run({value:U,issues:[]},J);if(I instanceof Promise)I=await I;if(I.issues.length){let K=new(Q?.Err??$)(I.issues.map((G)=>A8(G,J,a4())));throw dq(K,Q?.callee),K}return I.value},lq,mz=($)=>(Y,U,z)=>{let Q=z?{...z,async:!1}:{async:!1},J=Y._zod.run({value:U,issues:[]},Q);if(J instanceof Promise)throw new u5;return J.issues.length?{success:!1,error:new($??YG)(J.issues.map((I)=>A8(I,Q,a4())))}:{success:!0,data:J.value}},Xj,lz=($)=>async(Y,U,z)=>{let Q=z?{...z,async:!0}:{async:!0},J=Y._zod.run({value:U,issues:[]},Q);if(J instanceof Promise)J=await J;return J.issues.length?{success:!1,error:new $(J.issues.map((I)=>A8(I,Q,a4())))}:{success:!0,data:J.value}},Zj,oq=($)=>(Y,U,z)=>{let Q=z?{...z,direction:"backward"}:{direction:"backward"};return pz($)(Y,U,Q)},ay0,rq=($)=>(Y,U,z)=>{return pz($)(Y,U,z)},ty0,sq=($)=>async(Y,U,z)=>{let Q=z?{...z,direction:"backward"}:{direction:"backward"};return dz($)(Y,U,Q)},ey0,aq=($)=>async(Y,U,z)=>{return dz($)(Y,U,z)},$k0,tq=($)=>(Y,U,z)=>{let Q=z?{...z,direction:"backward"}:{direction:"backward"};return mz($)(Y,U,Q)},Yk0,eq=($)=>(Y,U,z)=>{return mz($)(Y,U,z)},Uk0,$V=($)=>async(Y,U,z)=>{let Q=z?{...z,direction:"backward"}:{direction:"backward"};return lz($)(Y,U,Q)},zk0,YV=($)=>async(Y,U,z)=>{return lz($)(Y,U,z)},Qk0;var qj=m(()=>{PY();Wj();$1();mq=pz(u8),lq=dz(u8),Xj=mz(u8),Zj=lz(u8),ay0=oq(u8),ty0=rq(u8),ey0=sq(u8),$k0=aq(u8),Yk0=tq(u8),Uk0=eq(u8),zk0=$V(u8),Qk0=YV(u8)});var Y$={};x8(Y$,{xid:()=>wj,uuid7:()=>Gk0,uuid6:()=>Kk0,uuid4:()=>Ik0,uuid:()=>jY,uppercase:()=>cj,unicodeEmail:()=>ao,undefined:()=>bj,ulid:()=>Fj,time:()=>Sj,string:()=>yj,sha512_hex:()=>Rk0,sha512_base64url:()=>vk0,sha512_base64:()=>_k0,sha384_hex:()=>jk0,sha384_base64url:()=>Ck0,sha384_base64:()=>Ek0,sha256_hex:()=>Bk0,sha256_base64url:()=>Tk0,sha256_base64:()=>Pk0,sha1_hex:()=>Nk0,sha1_base64url:()=>Ak0,sha1_base64:()=>Dk0,rfc5322Email:()=>Wk0,number:()=>QG,null:()=>uj,nanoid:()=>Oj,md5_hex:()=>wk0,md5_base64url:()=>Ok0,md5_base64:()=>Mk0,mac:()=>jj,lowercase:()=>ij,ksuid:()=>Mj,ipv6:()=>Tj,ipv4:()=>Pj,integer:()=>xj,idnEmail:()=>Xk0,httpProtocol:()=>_j,html5Email:()=>Hk0,hostname:()=>Vk0,hex:()=>Fk0,guid:()=>Dj,extendedDuration:()=>Jk0,emoji:()=>Bj,email:()=>Aj,e164:()=>vj,duration:()=>Nj,domain:()=>Lk0,datetime:()=>gj,date:()=>hj,cuid2:()=>Lj,cuid:()=>Vj,cidrv6:()=>Cj,cidrv4:()=>Ej,browserEmail:()=>Zk0,boolean:()=>fj,bigint:()=>kj,base64url:()=>UV,base64:()=>Rj});function Bj(){return new RegExp(qk0,"u")}function eo($){return typeof $.precision==="number"?$.precision===-1?"(?:[01]\\d|2[0-3]):[0-5]\\d":$.precision===0?"(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d":`(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d\\.\\d{${$.precision}}`:"(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?"}function Sj($){return new RegExp(`^${eo($)}$`)}function gj($){let Y=eo({precision:$.precision}),U=["Z"];if($.local)U.push("");if($.offset)U.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let z=`${Y}(?:${U.join("|")})`;return new RegExp(`^${to}T(?:${z})$`)}function JG($,Y){return new RegExp(`^[A-Za-z0-9+/]{${$}}${Y}$`)}function IG($){return new RegExp(`^[A-Za-z0-9_-]{${$}}$`)}var Vj,Lj,Fj,wj,Mj,Oj,Nj,Jk0,Dj,jY=($)=>{if(!$)return/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${$}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`)},Ik0,Kk0,Gk0,Aj,Hk0,Wk0,ao,Xk0,Zk0,qk0="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",Pj,Tj,jj=($)=>{let Y=N$($??":");return new RegExp(`^(?:[0-9A-F]{2}${Y}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${Y}){5}[0-9a-f]{2}$`)},Ej,Cj,Rj,UV,Vk0,Lk0,_j,vj,to="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",hj,yj=($)=>{let Y=$?`[\\s\\S]{${$?.minimum??0},${$?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${Y}$`)},kj,xj,QG,fj,uj,bj,ij,cj,Fk0,wk0,Mk0,Ok0,Nk0,Dk0,Ak0,Bk0,Pk0,Tk0,jk0,Ek0,Ck0,Rk0,_k0,vk0;var zV=m(()=>{$1();Vj=/^[cC][0-9a-z]{6,}$/,Lj=/^[0-9a-z]+$/,Fj=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,wj=/^[0-9a-vA-V]{20}$/,Mj=/^[A-Za-z0-9]{27}$/,Oj=/^[a-zA-Z0-9_-]{21}$/,Nj=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Jk0=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Dj=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Ik0=jY(4),Kk0=jY(6),Gk0=jY(7),Aj=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Hk0=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Wk0=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,ao=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Xk0=ao,Zk0=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;Pj=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Tj=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Ej=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Cj=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Rj=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,UV=/^[A-Za-z0-9_-]*$/,Vk0=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,Lk0=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,_j=/^https?$/,vj=/^\+[1-9]\d{6,14}$/,hj=new RegExp(`^${to}$`);kj=/^-?\d+n?$/,xj=/^-?\d+$/,QG=/^-?\d+(?:\.\d+)?$/,fj=/^(?:true|false)$/i,uj=/^null$/i,bj=/^undefined$/i,ij=/^[^A-Z]*$/,cj=/^[^a-z]*$/,Fk0=/^[0-9a-fA-F]*$/;wk0=/^[0-9a-fA-F]{32}$/,Mk0=JG(22,"=="),Ok0=IG(22),Nk0=/^[0-9a-fA-F]{40}$/,Dk0=JG(27,"="),Ak0=IG(27),Bk0=/^[0-9a-fA-F]{64}$/,Pk0=JG(43,"="),Tk0=IG(43),jk0=/^[0-9a-fA-F]{96}$/,Ek0=JG(64,""),Ck0=IG(64),Rk0=/^[0-9a-fA-F]{128}$/,_k0=JG(86,"=="),vk0=IG(86)});function $r($,Y,U){if($.issues.length)Y.issues.push(...f8(U,$.issues))}var L4,Yr,QV,JV,nj,pj,dj,mj,lj,oj,rj,sj,aj,oz,tj,ej,$E,YE,UE,zE,QE,JE,IE;var IV=m(()=>{PY();zV();$1();L4=H0("$ZodCheck",($,Y)=>{var U;$._zod??($._zod={}),$._zod.def=Y,(U=$._zod).onattach??(U.onattach=[])}),Yr={number:"number",bigint:"bigint",object:"date"},QV=H0("$ZodCheckLessThan",($,Y)=>{L4.init($,Y);let U=Yr[typeof Y.value];$._zod.onattach.push((z)=>{let Q=z._zod.bag,J=(Y.inclusive?Q.maximum:Q.exclusiveMaximum)??Number.POSITIVE_INFINITY;if(Y.value{if(Y.inclusive?z.value<=Y.value:z.value{L4.init($,Y);let U=Yr[typeof Y.value];$._zod.onattach.push((z)=>{let Q=z._zod.bag,J=(Y.inclusive?Q.minimum:Q.exclusiveMinimum)??Number.NEGATIVE_INFINITY;if(Y.value>J)if(Y.inclusive)Q.minimum=Y.value;else Q.exclusiveMinimum=Y.value}),$._zod.check=(z)=>{if(Y.inclusive?z.value>=Y.value:z.value>Y.value)return;z.issues.push({origin:U,code:"too_small",minimum:typeof Y.value==="object"?Y.value.getTime():Y.value,input:z.value,inclusive:Y.inclusive,inst:$,continue:!Y.abort})}}),nj=H0("$ZodCheckMultipleOf",($,Y)=>{L4.init($,Y),$._zod.onattach.push((U)=>{var z;(z=U._zod.bag).multipleOf??(z.multipleOf=Y.value)}),$._zod.check=(U)=>{if(typeof U.value!==typeof Y.value)throw Error("Cannot mix number and bigint in multiple_of check.");if(typeof U.value==="bigint"?U.value%Y.value===BigInt(0):eT(U.value,Y.value)===0)return;U.issues.push({origin:typeof U.value,code:"not_multiple_of",divisor:Y.value,input:U.value,inst:$,continue:!Y.abort})}}),pj=H0("$ZodCheckNumberFormat",($,Y)=>{L4.init($,Y),Y.format=Y.format||"float64";let U=Y.format?.includes("int"),z=U?"int":"number",[Q,J]=Jj[Y.format];$._zod.onattach.push((I)=>{let K=I._zod.bag;if(K.format=Y.format,K.minimum=Q,K.maximum=J,U)K.pattern=xj}),$._zod.check=(I)=>{let K=I.value;if(U){if(!Number.isInteger(K)){I.issues.push({expected:z,format:Y.format,code:"invalid_type",continue:!1,input:K,inst:$});return}if(!Number.isSafeInteger(K)){if(K>0)I.issues.push({input:K,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:z,inclusive:!0,continue:!Y.abort});else I.issues.push({input:K,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:$,origin:z,inclusive:!0,continue:!Y.abort});return}}if(KJ)I.issues.push({origin:"number",input:K,code:"too_big",maximum:J,inclusive:!0,inst:$,continue:!Y.abort})}}),dj=H0("$ZodCheckBigIntFormat",($,Y)=>{L4.init($,Y);let[U,z]=Ij[Y.format];$._zod.onattach.push((Q)=>{let J=Q._zod.bag;J.format=Y.format,J.minimum=U,J.maximum=z}),$._zod.check=(Q)=>{let J=Q.value;if(Jz)Q.issues.push({origin:"bigint",input:J,code:"too_big",maximum:z,inclusive:!0,inst:$,continue:!Y.abort})}}),mj=H0("$ZodCheckMaxSize",($,Y)=>{var U;L4.init($,Y),(U=$._zod.def).when??(U.when=(z)=>{let Q=z.value;return!I7(Q)&&Q.size!==void 0}),$._zod.onattach.push((z)=>{let Q=z._zod.bag.maximum??Number.POSITIVE_INFINITY;if(Y.maximum{let Q=z.value;if(Q.size<=Y.maximum)return;z.issues.push({origin:eK(Q),code:"too_big",maximum:Y.maximum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),lj=H0("$ZodCheckMinSize",($,Y)=>{var U;L4.init($,Y),(U=$._zod.def).when??(U.when=(z)=>{let Q=z.value;return!I7(Q)&&Q.size!==void 0}),$._zod.onattach.push((z)=>{let Q=z._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(Y.minimum>Q)z._zod.bag.minimum=Y.minimum}),$._zod.check=(z)=>{let Q=z.value;if(Q.size>=Y.minimum)return;z.issues.push({origin:eK(Q),code:"too_small",minimum:Y.minimum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),oj=H0("$ZodCheckSizeEquals",($,Y)=>{var U;L4.init($,Y),(U=$._zod.def).when??(U.when=(z)=>{let Q=z.value;return!I7(Q)&&Q.size!==void 0}),$._zod.onattach.push((z)=>{let Q=z._zod.bag;Q.minimum=Y.size,Q.maximum=Y.size,Q.size=Y.size}),$._zod.check=(z)=>{let Q=z.value,J=Q.size;if(J===Y.size)return;let I=J>Y.size;z.issues.push({origin:eK(Q),...I?{code:"too_big",maximum:Y.size}:{code:"too_small",minimum:Y.size},inclusive:!0,exact:!0,input:z.value,inst:$,continue:!Y.abort})}}),rj=H0("$ZodCheckMaxLength",($,Y)=>{var U;L4.init($,Y),(U=$._zod.def).when??(U.when=(z)=>{let Q=z.value;return!I7(Q)&&Q.length!==void 0}),$._zod.onattach.push((z)=>{let Q=z._zod.bag.maximum??Number.POSITIVE_INFINITY;if(Y.maximum{let Q=z.value;if(Q.length<=Y.maximum)return;let I=$G(Q);z.issues.push({origin:I,code:"too_big",maximum:Y.maximum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),sj=H0("$ZodCheckMinLength",($,Y)=>{var U;L4.init($,Y),(U=$._zod.def).when??(U.when=(z)=>{let Q=z.value;return!I7(Q)&&Q.length!==void 0}),$._zod.onattach.push((z)=>{let Q=z._zod.bag.minimum??Number.NEGATIVE_INFINITY;if(Y.minimum>Q)z._zod.bag.minimum=Y.minimum}),$._zod.check=(z)=>{let Q=z.value;if(Q.length>=Y.minimum)return;let I=$G(Q);z.issues.push({origin:I,code:"too_small",minimum:Y.minimum,inclusive:!0,input:Q,inst:$,continue:!Y.abort})}}),aj=H0("$ZodCheckLengthEquals",($,Y)=>{var U;L4.init($,Y),(U=$._zod.def).when??(U.when=(z)=>{let Q=z.value;return!I7(Q)&&Q.length!==void 0}),$._zod.onattach.push((z)=>{let Q=z._zod.bag;Q.minimum=Y.length,Q.maximum=Y.length,Q.length=Y.length}),$._zod.check=(z)=>{let Q=z.value,J=Q.length;if(J===Y.length)return;let I=$G(Q),K=J>Y.length;z.issues.push({origin:I,...K?{code:"too_big",maximum:Y.length}:{code:"too_small",minimum:Y.length},inclusive:!0,exact:!0,input:z.value,inst:$,continue:!Y.abort})}}),oz=H0("$ZodCheckStringFormat",($,Y)=>{var U,z;if(L4.init($,Y),$._zod.onattach.push((Q)=>{let J=Q._zod.bag;if(J.format=Y.format,Y.pattern)J.patterns??(J.patterns=new Set),J.patterns.add(Y.pattern)}),Y.pattern)(U=$._zod).check??(U.check=(Q)=>{if(Y.pattern.lastIndex=0,Y.pattern.test(Q.value))return;Q.issues.push({origin:"string",code:"invalid_format",format:Y.format,input:Q.value,...Y.pattern?{pattern:Y.pattern.toString()}:{},inst:$,continue:!Y.abort})});else(z=$._zod).check??(z.check=()=>{})}),tj=H0("$ZodCheckRegex",($,Y)=>{oz.init($,Y),$._zod.check=(U)=>{if(Y.pattern.lastIndex=0,Y.pattern.test(U.value))return;U.issues.push({origin:"string",code:"invalid_format",format:"regex",input:U.value,pattern:Y.pattern.toString(),inst:$,continue:!Y.abort})}}),ej=H0("$ZodCheckLowerCase",($,Y)=>{Y.pattern??(Y.pattern=ij),oz.init($,Y)}),$E=H0("$ZodCheckUpperCase",($,Y)=>{Y.pattern??(Y.pattern=cj),oz.init($,Y)}),YE=H0("$ZodCheckIncludes",($,Y)=>{L4.init($,Y);let U=N$(Y.includes),z=new RegExp(typeof Y.position==="number"?`^.{${Y.position}}${U}`:U);Y.pattern=z,$._zod.onattach.push((Q)=>{let J=Q._zod.bag;J.patterns??(J.patterns=new Set),J.patterns.add(z)}),$._zod.check=(Q)=>{if(Q.value.includes(Y.includes,Y.position))return;Q.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:Y.includes,input:Q.value,inst:$,continue:!Y.abort})}}),UE=H0("$ZodCheckStartsWith",($,Y)=>{L4.init($,Y);let U=new RegExp(`^${N$(Y.prefix)}.*`);Y.pattern??(Y.pattern=U),$._zod.onattach.push((z)=>{let Q=z._zod.bag;Q.patterns??(Q.patterns=new Set),Q.patterns.add(U)}),$._zod.check=(z)=>{if(z.value.startsWith(Y.prefix))return;z.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:Y.prefix,input:z.value,inst:$,continue:!Y.abort})}}),zE=H0("$ZodCheckEndsWith",($,Y)=>{L4.init($,Y);let U=new RegExp(`.*${N$(Y.suffix)}$`);Y.pattern??(Y.pattern=U),$._zod.onattach.push((z)=>{let Q=z._zod.bag;Q.patterns??(Q.patterns=new Set),Q.patterns.add(U)}),$._zod.check=(z)=>{if(z.value.endsWith(Y.suffix))return;z.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:Y.suffix,input:z.value,inst:$,continue:!Y.abort})}});QE=H0("$ZodCheckProperty",($,Y)=>{L4.init($,Y),$._zod.check=(U)=>{let z=Y.schema._zod.run({value:U.value[Y.property],issues:[]},{});if(z instanceof Promise)return z.then((Q)=>$r(Q,U,Y.property));$r(z,U,Y.property);return}}),JE=H0("$ZodCheckMimeType",($,Y)=>{L4.init($,Y);let U=new Set(Y.mime);$._zod.onattach.push((z)=>{z._zod.bag.mime=Y.mime}),$._zod.check=(z)=>{if(U.has(z.value.type))return;z.issues.push({code:"invalid_value",values:Y.mime,input:z.value.type,inst:$,continue:!Y.abort})}}),IE=H0("$ZodCheckOverwrite",($,Y)=>{L4.init($,Y),$._zod.check=(U)=>{U.value=Y.tx(U.value)}})});class KV{constructor($=[]){if(this.content=[],this.indent=0,this)this.args=$}indented($){this.indent+=1,$(this),this.indent-=1}write($){if(typeof $==="function"){$(this,{execution:"sync"}),$(this,{execution:"async"});return}let U=$.split(` `).filter((J)=>J),z=Math.min(...U.map((J)=>J.length-J.trimStart().length)),Q=U.map((J)=>J.slice(z)).map((J)=>" ".repeat(this.indent*2)+J);for(let J of Q)this.content.push(J)}compile(){let $=Function,Y=this?.args,z=[...(this?.content??[""]).map((Q)=>` ${Q}`)];return new $(...Y,z.join(` -`))}}var KE;var GE=m(()=>{KE={major:4,minor:4,patch:3}});function _E($){if($==="")return!0;if(/\s/.test($))return!1;if($.length%4!==0)return!1;try{return atob($),!0}catch{return!1}}function wr($){if(!UV.test($))return!1;let Y=$.replace(/[-_]/g,(z)=>z==="-"?"+":"/"),U=Y.padEnd(Math.ceil(Y.length/4)*4,"=");return _E(U)}function Mr($,Y=null){try{let U=$.split(".");if(U.length!==3)return!1;let[z]=U;if(!z)return!1;let Q=JSON.parse(atob(z));if("typ"in Q&&Q?.typ!=="JWT")return!1;if(!Q.alg)return!1;if(Y&&(!("alg"in Q)||Q.alg!==Y))return!1;return!0}catch{return!1}}function zr($,Y,U){if($.issues.length)Y.issues.push(...f8(U,$.issues));Y.value[U]=$.value}function XV($,Y,U,z,Q,J){let I=U in z;if($.issues.length){if(Q&&J&&!I)return;Y.issues.push(...f8(U,$.issues))}if(!I&&!Q){if(!$.issues.length)Y.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[U]});return}if($.value===void 0){if(I)Y.value[U]=void 0}else Y.value[U]=$.value}function Or($){let Y=Object.keys($.shape);for(let z of Y)if(!$.shape?.[z]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${z}": expected a Zod schema`);let U=Qj($.shape);return{...$,keys:Y,keySet:new Set(Y),numKeys:Y.length,optionalKeys:new Set(U)}}function Nr($,Y,U,z,Q,J){let I=[],K=Q.keySet,G=Q.catchall._zod,H=G.def.type,W=G.optin==="optional",X=G.optout==="optional";for(let Z in Y){if(Z==="__proto__")continue;if(K.has(Z))continue;if(H==="never"){I.push(Z);continue}let q=G.run({value:Y[Z],issues:[]},z);if(q instanceof Promise)$.push(q.then((V)=>XV(V,U,Z,Y,W,X)));else XV(q,U,Z,Y,W,X)}if(I.length)U.issues.push({code:"unrecognized_keys",keys:I,input:Y,inst:J});if(!$.length)return U;return Promise.all($).then(()=>{return U})}function Qr($,Y,U,z){for(let J of $)if(J.issues.length===0)return Y.value=J.value,Y;let Q=$.filter((J)=>!H7(J));if(Q.length===1)return Y.value=Q[0].value,Q[0];return Y.issues.push({code:"invalid_union",input:Y.value,inst:U,errors:$.map((J)=>J.issues.map((I)=>A8(I,z,a4())))}),Y}function Jr($,Y,U,z){let Q=$.filter((J)=>J.issues.length===0);if(Q.length===1)return Y.value=Q[0].value,Y;if(Q.length===0)Y.issues.push({code:"invalid_union",input:Y.value,inst:U,errors:$.map((J)=>J.issues.map((I)=>A8(I,z,a4())))});else Y.issues.push({code:"invalid_union",input:Y.value,inst:U,errors:[],inclusive:!1});return Y}function HE($,Y){if($===Y)return{valid:!0,data:$};if($ instanceof Date&&Y instanceof Date&&+$===+Y)return{valid:!0,data:$};if(G7($)&&G7(Y)){let U=Object.keys(Y),z=Object.keys($).filter((J)=>U.indexOf(J)!==-1),Q={...$,...Y};for(let J of z){let I=HE($[J],Y[J]);if(!I.valid)return{valid:!1,mergeErrorPath:[J,...I.mergeErrorPath]};Q[J]=I.data}return{valid:!0,data:Q}}if(Array.isArray($)&&Array.isArray(Y)){if($.length!==Y.length)return{valid:!1,mergeErrorPath:[]};let U=[];for(let z=0;z<$.length;z++){let Q=$[z],J=Y[z],I=HE(Q,J);if(!I.valid)return{valid:!1,mergeErrorPath:[z,...I.mergeErrorPath]};U.push(I.data)}return{valid:!0,data:U}}return{valid:!1,mergeErrorPath:[]}}function Ir($,Y,U){let z=new Map,Q;for(let K of Y.issues)if(K.code==="unrecognized_keys"){Q??(Q=K);for(let G of K.keys){if(!z.has(G))z.set(G,{});z.get(G).l=!0}}else $.issues.push(K);for(let K of U.issues)if(K.code==="unrecognized_keys")for(let G of K.keys){if(!z.has(G))z.set(G,{});z.get(G).r=!0}else $.issues.push(K);let J=[...z].filter(([,K])=>K.l&&K.r).map(([K])=>K);if(J.length&&Q)$.issues.push({...Q,keys:J});if(H7($))return $;let I=HE(Y.value,U.value);if(!I.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(I.mergeErrorPath)}`);return $.value=I.data,$}function Kr($,Y){for(let U=$.length-1;U>=0;U--)if($[U]._zod[Y]!=="optional")return U+1;return 0}function Gr($,Y,U){if($.issues.length)Y.issues.push(...f8(U,$.issues));Y.value[U]=$.value}function Hr($,Y,U,z,Q){for(let J=0;J=Q){Y.value.length=J;break}Y.issues.push(...f8(J,I.issues))}Y.value[J]=I.value}for(let J=Y.value.length-1;J>=z.length;J--)if(U[J]._zod.optout==="optional"&&Y.value[J]===void 0)Y.value.length=J;else break;return Y}function Wr($,Y,U,z,Q,J,I){if($.issues.length)if(tK.has(typeof z))U.issues.push(...f8(z,$.issues));else U.issues.push({code:"invalid_key",origin:"map",input:Q,inst:J,issues:$.issues.map((K)=>A8(K,I,a4()))});if(Y.issues.length)if(tK.has(typeof z))U.issues.push(...f8(z,Y.issues));else U.issues.push({origin:"map",code:"invalid_element",input:Q,inst:J,key:z,issues:Y.issues.map((K)=>A8(K,I,a4()))});U.value.set($.value,Y.value)}function Xr($,Y){if($.issues.length)Y.issues.push(...$.issues);Y.value.add($.value)}function Zr($,Y){if(Y===void 0&&($.issues.length||$.fallback))return{issues:[],value:void 0};return $}function qr($,Y){if($.value===void 0)$.value=Y.defaultValue;return $}function Vr($,Y){if(!$.issues.length&&$.value===void 0)$.issues.push({code:"invalid_type",expected:"nonoptional",input:$.value,inst:Y});return $}function GV($,Y,U){if($.issues.length)return $.aborted=!0,$;return Y._zod.run({value:$.value,issues:$.issues,fallback:$.fallback},U)}function HV($,Y,U){if($.issues.length)return $.aborted=!0,$;if((U.direction||"forward")==="forward"){let Q=Y.transform($.value,$);if(Q instanceof Promise)return Q.then((J)=>WV($,J,Y.out,U));return WV($,Q,Y.out,U)}else{let Q=Y.reverseTransform($.value,$);if(Q instanceof Promise)return Q.then((J)=>WV($,J,Y.in,U));return WV($,Q,Y.in,U)}}function WV($,Y,U,z){if($.issues.length)return $.aborted=!0,$;return U._zod.run({value:Y,issues:$.issues},z)}function Lr($){return $.value=Object.freeze($.value),$}function Fr($,Y,U,z){if(!$){let Q={code:"custom",input:U,inst:z,path:[...z._zod.def.path??[]],continue:!z._zod.def.abort};if(z._zod.def.params)Q.params=z._zod.def.params;Y.issues.push(nz(Q))}}var q1,EY,Z4,WE,XE,ZE,qE,VE,LE,FE,wE,ME,OE,NE,DE,AE,BE,PE,TE,jE,EE,CE,RE,vE,hE,SE,gE,yE,ZV,kE,KG,qV,xE,fE,uE,bE,iE,cE,nE,pE,dE,mE,Dr,lE,GG,oE,rE,sE,VV,aE,tE,eE,$C,YC,UC,zC,LV,QC,JC,IC,KC,GC,HC,WC,XC,FV,HG,ZC,qC,VC,LC,FC,wC,MC;var OC=m(()=>{IV();PY();qj();zV();$1();GE();$1();q1=H0("$ZodType",($,Y)=>{var U;$??($={}),$._zod.def=Y,$._zod.bag=$._zod.bag||{},$._zod.version=KE;let z=[...$._zod.def.checks??[]];if($._zod.traits.has("$ZodCheck"))z.unshift($);for(let Q of z)for(let J of Q._zod.onattach)J($);if(z.length===0)(U=$._zod).deferred??(U.deferred=[]),$._zod.deferred?.push(()=>{$._zod.run=$._zod.parse});else{let Q=(I,K,G)=>{let H=H7(I),W;for(let X of K){if(X._zod.def.when){if(Kj(I))continue;if(!X._zod.def.when(I))continue}else if(H)continue;let Z=I.issues.length,q=X._zod.check(I);if(q instanceof Promise&&G?.async===!1)throw new f5;if(W||q instanceof Promise)W=(W??Promise.resolve()).then(async()=>{if(await q,I.issues.length===Z)return;if(!H)H=H7(I,Z)});else{if(I.issues.length===Z)continue;if(!H)H=H7(I,Z)}}if(W)return W.then(()=>{return I});return I},J=(I,K,G)=>{if(H7(I))return I.aborted=!0,I;let H=Q(K,z,G);if(H instanceof Promise){if(G.async===!1)throw new f5;return H.then((W)=>$._zod.parse(W,G))}return $._zod.parse(H,G)};$._zod.run=(I,K)=>{if(K.skipChecks)return $._zod.parse(I,K);if(K.direction==="backward"){let H=$._zod.parse({value:I.value,issues:[]},{...K,skipChecks:!0});if(H instanceof Promise)return H.then((W)=>{return J(W,I,K)});return J(H,I,K)}let G=$._zod.parse(I,K);if(G instanceof Promise){if(K.async===!1)throw new f5;return G.then((H)=>Q(H,z,K))}return Q(G,z,K)}}E1($,"~standard",()=>({validate:(Q)=>{try{let J=Xj($,Q);return J.success?{value:J.data}:{issues:J.error?.issues}}catch(J){return Zj($,Q).then((I)=>I.success?{value:I.data}:{issues:I.error?.issues})}},vendor:"zod",version:1}))}),EY=H0("$ZodString",($,Y)=>{q1.init($,Y),$._zod.pattern=[...$?._zod.bag?.patterns??[]].pop()??yj($._zod.bag),$._zod.parse=(U,z)=>{if(Y.coerce)try{U.value=String(U.value)}catch(Q){}if(typeof U.value==="string")return U;return U.issues.push({expected:"string",code:"invalid_type",input:U.value,inst:$}),U}}),Z4=H0("$ZodStringFormat",($,Y)=>{oz.init($,Y),EY.init($,Y)}),WE=H0("$ZodGUID",($,Y)=>{Y.pattern??(Y.pattern=Dj),Z4.init($,Y)}),XE=H0("$ZodUUID",($,Y)=>{if(Y.version){let z={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[Y.version];if(z===void 0)throw Error(`Invalid UUID version: "${Y.version}"`);Y.pattern??(Y.pattern=jY(z))}else Y.pattern??(Y.pattern=jY());Z4.init($,Y)}),ZE=H0("$ZodEmail",($,Y)=>{Y.pattern??(Y.pattern=Aj),Z4.init($,Y)}),qE=H0("$ZodURL",($,Y)=>{Z4.init($,Y),$._zod.check=(U)=>{try{let z=U.value.trim();if(!Y.normalize&&Y.protocol?.source===_j.source){if(!/^https?:\/\//i.test(z)){U.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:U.value,inst:$,continue:!Y.abort});return}}let Q=new URL(z);if(Y.hostname){if(Y.hostname.lastIndex=0,!Y.hostname.test(Q.hostname))U.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:Y.hostname.source,input:U.value,inst:$,continue:!Y.abort})}if(Y.protocol){if(Y.protocol.lastIndex=0,!Y.protocol.test(Q.protocol.endsWith(":")?Q.protocol.slice(0,-1):Q.protocol))U.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:Y.protocol.source,input:U.value,inst:$,continue:!Y.abort})}if(Y.normalize)U.value=Q.href;else U.value=z;return}catch(z){U.issues.push({code:"invalid_format",format:"url",input:U.value,inst:$,continue:!Y.abort})}}}),VE=H0("$ZodEmoji",($,Y)=>{Y.pattern??(Y.pattern=Bj()),Z4.init($,Y)}),LE=H0("$ZodNanoID",($,Y)=>{Y.pattern??(Y.pattern=Oj),Z4.init($,Y)}),FE=H0("$ZodCUID",($,Y)=>{Y.pattern??(Y.pattern=Vj),Z4.init($,Y)}),wE=H0("$ZodCUID2",($,Y)=>{Y.pattern??(Y.pattern=Lj),Z4.init($,Y)}),ME=H0("$ZodULID",($,Y)=>{Y.pattern??(Y.pattern=Fj),Z4.init($,Y)}),OE=H0("$ZodXID",($,Y)=>{Y.pattern??(Y.pattern=wj),Z4.init($,Y)}),NE=H0("$ZodKSUID",($,Y)=>{Y.pattern??(Y.pattern=Mj),Z4.init($,Y)}),DE=H0("$ZodISODateTime",($,Y)=>{Y.pattern??(Y.pattern=gj(Y)),Z4.init($,Y)}),AE=H0("$ZodISODate",($,Y)=>{Y.pattern??(Y.pattern=hj),Z4.init($,Y)}),BE=H0("$ZodISOTime",($,Y)=>{Y.pattern??(Y.pattern=Sj(Y)),Z4.init($,Y)}),PE=H0("$ZodISODuration",($,Y)=>{Y.pattern??(Y.pattern=Nj),Z4.init($,Y)}),TE=H0("$ZodIPv4",($,Y)=>{Y.pattern??(Y.pattern=Pj),Z4.init($,Y),$._zod.bag.format="ipv4"}),jE=H0("$ZodIPv6",($,Y)=>{Y.pattern??(Y.pattern=Tj),Z4.init($,Y),$._zod.bag.format="ipv6",$._zod.check=(U)=>{try{new URL(`http://[${U.value}]`)}catch{U.issues.push({code:"invalid_format",format:"ipv6",input:U.value,inst:$,continue:!Y.abort})}}}),EE=H0("$ZodMAC",($,Y)=>{Y.pattern??(Y.pattern=jj(Y.delimiter)),Z4.init($,Y),$._zod.bag.format="mac"}),CE=H0("$ZodCIDRv4",($,Y)=>{Y.pattern??(Y.pattern=Ej),Z4.init($,Y)}),RE=H0("$ZodCIDRv6",($,Y)=>{Y.pattern??(Y.pattern=Cj),Z4.init($,Y),$._zod.check=(U)=>{let z=U.value.split("/");try{if(z.length!==2)throw Error();let[Q,J]=z;if(!J)throw Error();let I=Number(J);if(`${I}`!==J)throw Error();if(I<0||I>128)throw Error();new URL(`http://[${Q}]`)}catch{U.issues.push({code:"invalid_format",format:"cidrv6",input:U.value,inst:$,continue:!Y.abort})}}});vE=H0("$ZodBase64",($,Y)=>{Y.pattern??(Y.pattern=Rj),Z4.init($,Y),$._zod.bag.contentEncoding="base64",$._zod.check=(U)=>{if(_E(U.value))return;U.issues.push({code:"invalid_format",format:"base64",input:U.value,inst:$,continue:!Y.abort})}});hE=H0("$ZodBase64URL",($,Y)=>{Y.pattern??(Y.pattern=UV),Z4.init($,Y),$._zod.bag.contentEncoding="base64url",$._zod.check=(U)=>{if(wr(U.value))return;U.issues.push({code:"invalid_format",format:"base64url",input:U.value,inst:$,continue:!Y.abort})}}),SE=H0("$ZodE164",($,Y)=>{Y.pattern??(Y.pattern=vj),Z4.init($,Y)});gE=H0("$ZodJWT",($,Y)=>{Z4.init($,Y),$._zod.check=(U)=>{if(Mr(U.value,Y.alg))return;U.issues.push({code:"invalid_format",format:"jwt",input:U.value,inst:$,continue:!Y.abort})}}),yE=H0("$ZodCustomStringFormat",($,Y)=>{Z4.init($,Y),$._zod.check=(U)=>{if(Y.fn(U.value))return;U.issues.push({code:"invalid_format",format:Y.format,input:U.value,inst:$,continue:!Y.abort})}}),ZV=H0("$ZodNumber",($,Y)=>{q1.init($,Y),$._zod.pattern=$._zod.bag.pattern??QG,$._zod.parse=(U,z)=>{if(Y.coerce)try{U.value=Number(U.value)}catch(I){}let Q=U.value;if(typeof Q==="number"&&!Number.isNaN(Q)&&Number.isFinite(Q))return U;let J=typeof Q==="number"?Number.isNaN(Q)?"NaN":!Number.isFinite(Q)?"Infinity":void 0:void 0;return U.issues.push({expected:"number",code:"invalid_type",input:Q,inst:$,...J?{received:J}:{}}),U}}),kE=H0("$ZodNumberFormat",($,Y)=>{pj.init($,Y),ZV.init($,Y)}),KG=H0("$ZodBoolean",($,Y)=>{q1.init($,Y),$._zod.pattern=fj,$._zod.parse=(U,z)=>{if(Y.coerce)try{U.value=Boolean(U.value)}catch(J){}let Q=U.value;if(typeof Q==="boolean")return U;return U.issues.push({expected:"boolean",code:"invalid_type",input:Q,inst:$}),U}}),qV=H0("$ZodBigInt",($,Y)=>{q1.init($,Y),$._zod.pattern=kj,$._zod.parse=(U,z)=>{if(Y.coerce)try{U.value=BigInt(U.value)}catch(Q){}if(typeof U.value==="bigint")return U;return U.issues.push({expected:"bigint",code:"invalid_type",input:U.value,inst:$}),U}}),xE=H0("$ZodBigIntFormat",($,Y)=>{dj.init($,Y),qV.init($,Y)}),fE=H0("$ZodSymbol",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(typeof Q==="symbol")return U;return U.issues.push({expected:"symbol",code:"invalid_type",input:Q,inst:$}),U}}),uE=H0("$ZodUndefined",($,Y)=>{q1.init($,Y),$._zod.pattern=bj,$._zod.values=new Set([void 0]),$._zod.parse=(U,z)=>{let Q=U.value;if(typeof Q>"u")return U;return U.issues.push({expected:"undefined",code:"invalid_type",input:Q,inst:$}),U}}),bE=H0("$ZodNull",($,Y)=>{q1.init($,Y),$._zod.pattern=uj,$._zod.values=new Set([null]),$._zod.parse=(U,z)=>{let Q=U.value;if(Q===null)return U;return U.issues.push({expected:"null",code:"invalid_type",input:Q,inst:$}),U}}),iE=H0("$ZodAny",($,Y)=>{q1.init($,Y),$._zod.parse=(U)=>U}),cE=H0("$ZodUnknown",($,Y)=>{q1.init($,Y),$._zod.parse=(U)=>U}),nE=H0("$ZodNever",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{return U.issues.push({expected:"never",code:"invalid_type",input:U.value,inst:$}),U}}),pE=H0("$ZodVoid",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(typeof Q>"u")return U;return U.issues.push({expected:"void",code:"invalid_type",input:Q,inst:$}),U}}),dE=H0("$ZodDate",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{if(Y.coerce)try{U.value=new Date(U.value)}catch(K){}let Q=U.value,J=Q instanceof Date;if(J&&!Number.isNaN(Q.getTime()))return U;return U.issues.push({expected:"date",code:"invalid_type",input:Q,...J?{received:"Invalid Date"}:{},inst:$}),U}});mE=H0("$ZodArray",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(!Array.isArray(Q))return U.issues.push({expected:"array",code:"invalid_type",input:Q,inst:$}),U;U.value=Array(Q.length);let J=[];for(let I=0;Izr(H,U,I)));else zr(G,U,I)}if(J.length)return Promise.all(J).then(()=>U);return U}});Dr=H0("$ZodObject",($,Y)=>{if(q1.init($,Y),!Object.getOwnPropertyDescriptor(Y,"shape")?.get){let K=Y.shape;Object.defineProperty(Y,"shape",{get:()=>{let G={...K};return Object.defineProperty(Y,"shape",{value:G}),G}})}let z=cz(()=>Or(Y));E1($._zod,"propValues",()=>{let K=Y.shape,G={};for(let H in K){let W=K[H]._zod;if(W.values){G[H]??(G[H]=new Set);for(let X of W.values)G[H].add(X)}}return G});let Q=TY,J=Y.catchall,I;$._zod.parse=(K,G)=>{I??(I=z.value);let H=K.value;if(!Q(H))return K.issues.push({expected:"object",code:"invalid_type",input:H,inst:$}),K;K.value={};let W=[],X=I.shape;for(let Z of I.keys){let q=X[Z],V=q._zod.optin==="optional",F=q._zod.optout==="optional",M=q._zod.run({value:H[Z],issues:[]},G);if(M instanceof Promise)W.push(M.then((w)=>XV(w,K,Z,H,V,F)));else XV(M,K,Z,H,V,F)}if(!J)return W.length?Promise.all(W).then(()=>K):K;return Nr(W,H,K,G,z.value,$)}}),lE=H0("$ZodObjectJIT",($,Y)=>{Dr.init($,Y);let U=$._zod.parse,z=cz(()=>Or(Y)),Q=(Z)=>{let q=new KV(["shape","payload","ctx"]),V=z.value,F=(O)=>{let D=pq(O);return`shape[${D}]._zod.run({ value: input[${D}], issues: [] }, ctx)`};q.write("const input = payload.value;");let M=Object.create(null),w=0;for(let O of V.keys)M[O]=`key_${w++}`;q.write("const newResult = {};");for(let O of V.keys){let D=M[O],P=pq(O),T=Z[O],A=T?._zod?.optin==="optional",j=T?._zod?.optout==="optional";if(q.write(`const ${D} = ${F(O)};`),A&&j)q.write(` +`))}}var KE;var GE=m(()=>{KE={major:4,minor:4,patch:3}});function _E($){if($==="")return!0;if(/\s/.test($))return!1;if($.length%4!==0)return!1;try{return atob($),!0}catch{return!1}}function wr($){if(!UV.test($))return!1;let Y=$.replace(/[-_]/g,(z)=>z==="-"?"+":"/"),U=Y.padEnd(Math.ceil(Y.length/4)*4,"=");return _E(U)}function Mr($,Y=null){try{let U=$.split(".");if(U.length!==3)return!1;let[z]=U;if(!z)return!1;let Q=JSON.parse(atob(z));if("typ"in Q&&Q?.typ!=="JWT")return!1;if(!Q.alg)return!1;if(Y&&(!("alg"in Q)||Q.alg!==Y))return!1;return!0}catch{return!1}}function zr($,Y,U){if($.issues.length)Y.issues.push(...f8(U,$.issues));Y.value[U]=$.value}function XV($,Y,U,z,Q,J){let I=U in z;if($.issues.length){if(Q&&J&&!I)return;Y.issues.push(...f8(U,$.issues))}if(!I&&!Q){if(!$.issues.length)Y.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[U]});return}if($.value===void 0){if(I)Y.value[U]=void 0}else Y.value[U]=$.value}function Or($){let Y=Object.keys($.shape);for(let z of Y)if(!$.shape?.[z]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${z}": expected a Zod schema`);let U=Qj($.shape);return{...$,keys:Y,keySet:new Set(Y),numKeys:Y.length,optionalKeys:new Set(U)}}function Nr($,Y,U,z,Q,J){let I=[],K=Q.keySet,G=Q.catchall._zod,H=G.def.type,W=G.optin==="optional",X=G.optout==="optional";for(let Z in Y){if(Z==="__proto__")continue;if(K.has(Z))continue;if(H==="never"){I.push(Z);continue}let q=G.run({value:Y[Z],issues:[]},z);if(q instanceof Promise)$.push(q.then((V)=>XV(V,U,Z,Y,W,X)));else XV(q,U,Z,Y,W,X)}if(I.length)U.issues.push({code:"unrecognized_keys",keys:I,input:Y,inst:J});if(!$.length)return U;return Promise.all($).then(()=>{return U})}function Qr($,Y,U,z){for(let J of $)if(J.issues.length===0)return Y.value=J.value,Y;let Q=$.filter((J)=>!H7(J));if(Q.length===1)return Y.value=Q[0].value,Q[0];return Y.issues.push({code:"invalid_union",input:Y.value,inst:U,errors:$.map((J)=>J.issues.map((I)=>A8(I,z,a4())))}),Y}function Jr($,Y,U,z){let Q=$.filter((J)=>J.issues.length===0);if(Q.length===1)return Y.value=Q[0].value,Y;if(Q.length===0)Y.issues.push({code:"invalid_union",input:Y.value,inst:U,errors:$.map((J)=>J.issues.map((I)=>A8(I,z,a4())))});else Y.issues.push({code:"invalid_union",input:Y.value,inst:U,errors:[],inclusive:!1});return Y}function HE($,Y){if($===Y)return{valid:!0,data:$};if($ instanceof Date&&Y instanceof Date&&+$===+Y)return{valid:!0,data:$};if(G7($)&&G7(Y)){let U=Object.keys(Y),z=Object.keys($).filter((J)=>U.indexOf(J)!==-1),Q={...$,...Y};for(let J of z){let I=HE($[J],Y[J]);if(!I.valid)return{valid:!1,mergeErrorPath:[J,...I.mergeErrorPath]};Q[J]=I.data}return{valid:!0,data:Q}}if(Array.isArray($)&&Array.isArray(Y)){if($.length!==Y.length)return{valid:!1,mergeErrorPath:[]};let U=[];for(let z=0;z<$.length;z++){let Q=$[z],J=Y[z],I=HE(Q,J);if(!I.valid)return{valid:!1,mergeErrorPath:[z,...I.mergeErrorPath]};U.push(I.data)}return{valid:!0,data:U}}return{valid:!1,mergeErrorPath:[]}}function Ir($,Y,U){let z=new Map,Q;for(let K of Y.issues)if(K.code==="unrecognized_keys"){Q??(Q=K);for(let G of K.keys){if(!z.has(G))z.set(G,{});z.get(G).l=!0}}else $.issues.push(K);for(let K of U.issues)if(K.code==="unrecognized_keys")for(let G of K.keys){if(!z.has(G))z.set(G,{});z.get(G).r=!0}else $.issues.push(K);let J=[...z].filter(([,K])=>K.l&&K.r).map(([K])=>K);if(J.length&&Q)$.issues.push({...Q,keys:J});if(H7($))return $;let I=HE(Y.value,U.value);if(!I.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(I.mergeErrorPath)}`);return $.value=I.data,$}function Kr($,Y){for(let U=$.length-1;U>=0;U--)if($[U]._zod[Y]!=="optional")return U+1;return 0}function Gr($,Y,U){if($.issues.length)Y.issues.push(...f8(U,$.issues));Y.value[U]=$.value}function Hr($,Y,U,z,Q){for(let J=0;J=Q){Y.value.length=J;break}Y.issues.push(...f8(J,I.issues))}Y.value[J]=I.value}for(let J=Y.value.length-1;J>=z.length;J--)if(U[J]._zod.optout==="optional"&&Y.value[J]===void 0)Y.value.length=J;else break;return Y}function Wr($,Y,U,z,Q,J,I){if($.issues.length)if(tK.has(typeof z))U.issues.push(...f8(z,$.issues));else U.issues.push({code:"invalid_key",origin:"map",input:Q,inst:J,issues:$.issues.map((K)=>A8(K,I,a4()))});if(Y.issues.length)if(tK.has(typeof z))U.issues.push(...f8(z,Y.issues));else U.issues.push({origin:"map",code:"invalid_element",input:Q,inst:J,key:z,issues:Y.issues.map((K)=>A8(K,I,a4()))});U.value.set($.value,Y.value)}function Xr($,Y){if($.issues.length)Y.issues.push(...$.issues);Y.value.add($.value)}function Zr($,Y){if(Y===void 0&&($.issues.length||$.fallback))return{issues:[],value:void 0};return $}function qr($,Y){if($.value===void 0)$.value=Y.defaultValue;return $}function Vr($,Y){if(!$.issues.length&&$.value===void 0)$.issues.push({code:"invalid_type",expected:"nonoptional",input:$.value,inst:Y});return $}function GV($,Y,U){if($.issues.length)return $.aborted=!0,$;return Y._zod.run({value:$.value,issues:$.issues,fallback:$.fallback},U)}function HV($,Y,U){if($.issues.length)return $.aborted=!0,$;if((U.direction||"forward")==="forward"){let Q=Y.transform($.value,$);if(Q instanceof Promise)return Q.then((J)=>WV($,J,Y.out,U));return WV($,Q,Y.out,U)}else{let Q=Y.reverseTransform($.value,$);if(Q instanceof Promise)return Q.then((J)=>WV($,J,Y.in,U));return WV($,Q,Y.in,U)}}function WV($,Y,U,z){if($.issues.length)return $.aborted=!0,$;return U._zod.run({value:Y,issues:$.issues},z)}function Lr($){return $.value=Object.freeze($.value),$}function Fr($,Y,U,z){if(!$){let Q={code:"custom",input:U,inst:z,path:[...z._zod.def.path??[]],continue:!z._zod.def.abort};if(z._zod.def.params)Q.params=z._zod.def.params;Y.issues.push(nz(Q))}}var q1,EY,Z4,WE,XE,ZE,qE,VE,LE,FE,wE,ME,OE,NE,DE,AE,BE,PE,TE,jE,EE,CE,RE,vE,hE,SE,gE,yE,ZV,kE,KG,qV,xE,fE,uE,bE,iE,cE,nE,pE,dE,mE,Dr,lE,GG,oE,rE,sE,VV,aE,tE,eE,$C,YC,UC,zC,LV,QC,JC,IC,KC,GC,HC,WC,XC,FV,HG,ZC,qC,VC,LC,FC,wC,MC;var OC=m(()=>{IV();PY();qj();zV();$1();GE();$1();q1=H0("$ZodType",($,Y)=>{var U;$??($={}),$._zod.def=Y,$._zod.bag=$._zod.bag||{},$._zod.version=KE;let z=[...$._zod.def.checks??[]];if($._zod.traits.has("$ZodCheck"))z.unshift($);for(let Q of z)for(let J of Q._zod.onattach)J($);if(z.length===0)(U=$._zod).deferred??(U.deferred=[]),$._zod.deferred?.push(()=>{$._zod.run=$._zod.parse});else{let Q=(I,K,G)=>{let H=H7(I),W;for(let X of K){if(X._zod.def.when){if(Kj(I))continue;if(!X._zod.def.when(I))continue}else if(H)continue;let Z=I.issues.length,q=X._zod.check(I);if(q instanceof Promise&&G?.async===!1)throw new u5;if(W||q instanceof Promise)W=(W??Promise.resolve()).then(async()=>{if(await q,I.issues.length===Z)return;if(!H)H=H7(I,Z)});else{if(I.issues.length===Z)continue;if(!H)H=H7(I,Z)}}if(W)return W.then(()=>{return I});return I},J=(I,K,G)=>{if(H7(I))return I.aborted=!0,I;let H=Q(K,z,G);if(H instanceof Promise){if(G.async===!1)throw new u5;return H.then((W)=>$._zod.parse(W,G))}return $._zod.parse(H,G)};$._zod.run=(I,K)=>{if(K.skipChecks)return $._zod.parse(I,K);if(K.direction==="backward"){let H=$._zod.parse({value:I.value,issues:[]},{...K,skipChecks:!0});if(H instanceof Promise)return H.then((W)=>{return J(W,I,K)});return J(H,I,K)}let G=$._zod.parse(I,K);if(G instanceof Promise){if(K.async===!1)throw new u5;return G.then((H)=>Q(H,z,K))}return Q(G,z,K)}}E1($,"~standard",()=>({validate:(Q)=>{try{let J=Xj($,Q);return J.success?{value:J.data}:{issues:J.error?.issues}}catch(J){return Zj($,Q).then((I)=>I.success?{value:I.data}:{issues:I.error?.issues})}},vendor:"zod",version:1}))}),EY=H0("$ZodString",($,Y)=>{q1.init($,Y),$._zod.pattern=[...$?._zod.bag?.patterns??[]].pop()??yj($._zod.bag),$._zod.parse=(U,z)=>{if(Y.coerce)try{U.value=String(U.value)}catch(Q){}if(typeof U.value==="string")return U;return U.issues.push({expected:"string",code:"invalid_type",input:U.value,inst:$}),U}}),Z4=H0("$ZodStringFormat",($,Y)=>{oz.init($,Y),EY.init($,Y)}),WE=H0("$ZodGUID",($,Y)=>{Y.pattern??(Y.pattern=Dj),Z4.init($,Y)}),XE=H0("$ZodUUID",($,Y)=>{if(Y.version){let z={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[Y.version];if(z===void 0)throw Error(`Invalid UUID version: "${Y.version}"`);Y.pattern??(Y.pattern=jY(z))}else Y.pattern??(Y.pattern=jY());Z4.init($,Y)}),ZE=H0("$ZodEmail",($,Y)=>{Y.pattern??(Y.pattern=Aj),Z4.init($,Y)}),qE=H0("$ZodURL",($,Y)=>{Z4.init($,Y),$._zod.check=(U)=>{try{let z=U.value.trim();if(!Y.normalize&&Y.protocol?.source===_j.source){if(!/^https?:\/\//i.test(z)){U.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:U.value,inst:$,continue:!Y.abort});return}}let Q=new URL(z);if(Y.hostname){if(Y.hostname.lastIndex=0,!Y.hostname.test(Q.hostname))U.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:Y.hostname.source,input:U.value,inst:$,continue:!Y.abort})}if(Y.protocol){if(Y.protocol.lastIndex=0,!Y.protocol.test(Q.protocol.endsWith(":")?Q.protocol.slice(0,-1):Q.protocol))U.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:Y.protocol.source,input:U.value,inst:$,continue:!Y.abort})}if(Y.normalize)U.value=Q.href;else U.value=z;return}catch(z){U.issues.push({code:"invalid_format",format:"url",input:U.value,inst:$,continue:!Y.abort})}}}),VE=H0("$ZodEmoji",($,Y)=>{Y.pattern??(Y.pattern=Bj()),Z4.init($,Y)}),LE=H0("$ZodNanoID",($,Y)=>{Y.pattern??(Y.pattern=Oj),Z4.init($,Y)}),FE=H0("$ZodCUID",($,Y)=>{Y.pattern??(Y.pattern=Vj),Z4.init($,Y)}),wE=H0("$ZodCUID2",($,Y)=>{Y.pattern??(Y.pattern=Lj),Z4.init($,Y)}),ME=H0("$ZodULID",($,Y)=>{Y.pattern??(Y.pattern=Fj),Z4.init($,Y)}),OE=H0("$ZodXID",($,Y)=>{Y.pattern??(Y.pattern=wj),Z4.init($,Y)}),NE=H0("$ZodKSUID",($,Y)=>{Y.pattern??(Y.pattern=Mj),Z4.init($,Y)}),DE=H0("$ZodISODateTime",($,Y)=>{Y.pattern??(Y.pattern=gj(Y)),Z4.init($,Y)}),AE=H0("$ZodISODate",($,Y)=>{Y.pattern??(Y.pattern=hj),Z4.init($,Y)}),BE=H0("$ZodISOTime",($,Y)=>{Y.pattern??(Y.pattern=Sj(Y)),Z4.init($,Y)}),PE=H0("$ZodISODuration",($,Y)=>{Y.pattern??(Y.pattern=Nj),Z4.init($,Y)}),TE=H0("$ZodIPv4",($,Y)=>{Y.pattern??(Y.pattern=Pj),Z4.init($,Y),$._zod.bag.format="ipv4"}),jE=H0("$ZodIPv6",($,Y)=>{Y.pattern??(Y.pattern=Tj),Z4.init($,Y),$._zod.bag.format="ipv6",$._zod.check=(U)=>{try{new URL(`http://[${U.value}]`)}catch{U.issues.push({code:"invalid_format",format:"ipv6",input:U.value,inst:$,continue:!Y.abort})}}}),EE=H0("$ZodMAC",($,Y)=>{Y.pattern??(Y.pattern=jj(Y.delimiter)),Z4.init($,Y),$._zod.bag.format="mac"}),CE=H0("$ZodCIDRv4",($,Y)=>{Y.pattern??(Y.pattern=Ej),Z4.init($,Y)}),RE=H0("$ZodCIDRv6",($,Y)=>{Y.pattern??(Y.pattern=Cj),Z4.init($,Y),$._zod.check=(U)=>{let z=U.value.split("/");try{if(z.length!==2)throw Error();let[Q,J]=z;if(!J)throw Error();let I=Number(J);if(`${I}`!==J)throw Error();if(I<0||I>128)throw Error();new URL(`http://[${Q}]`)}catch{U.issues.push({code:"invalid_format",format:"cidrv6",input:U.value,inst:$,continue:!Y.abort})}}});vE=H0("$ZodBase64",($,Y)=>{Y.pattern??(Y.pattern=Rj),Z4.init($,Y),$._zod.bag.contentEncoding="base64",$._zod.check=(U)=>{if(_E(U.value))return;U.issues.push({code:"invalid_format",format:"base64",input:U.value,inst:$,continue:!Y.abort})}});hE=H0("$ZodBase64URL",($,Y)=>{Y.pattern??(Y.pattern=UV),Z4.init($,Y),$._zod.bag.contentEncoding="base64url",$._zod.check=(U)=>{if(wr(U.value))return;U.issues.push({code:"invalid_format",format:"base64url",input:U.value,inst:$,continue:!Y.abort})}}),SE=H0("$ZodE164",($,Y)=>{Y.pattern??(Y.pattern=vj),Z4.init($,Y)});gE=H0("$ZodJWT",($,Y)=>{Z4.init($,Y),$._zod.check=(U)=>{if(Mr(U.value,Y.alg))return;U.issues.push({code:"invalid_format",format:"jwt",input:U.value,inst:$,continue:!Y.abort})}}),yE=H0("$ZodCustomStringFormat",($,Y)=>{Z4.init($,Y),$._zod.check=(U)=>{if(Y.fn(U.value))return;U.issues.push({code:"invalid_format",format:Y.format,input:U.value,inst:$,continue:!Y.abort})}}),ZV=H0("$ZodNumber",($,Y)=>{q1.init($,Y),$._zod.pattern=$._zod.bag.pattern??QG,$._zod.parse=(U,z)=>{if(Y.coerce)try{U.value=Number(U.value)}catch(I){}let Q=U.value;if(typeof Q==="number"&&!Number.isNaN(Q)&&Number.isFinite(Q))return U;let J=typeof Q==="number"?Number.isNaN(Q)?"NaN":!Number.isFinite(Q)?"Infinity":void 0:void 0;return U.issues.push({expected:"number",code:"invalid_type",input:Q,inst:$,...J?{received:J}:{}}),U}}),kE=H0("$ZodNumberFormat",($,Y)=>{pj.init($,Y),ZV.init($,Y)}),KG=H0("$ZodBoolean",($,Y)=>{q1.init($,Y),$._zod.pattern=fj,$._zod.parse=(U,z)=>{if(Y.coerce)try{U.value=Boolean(U.value)}catch(J){}let Q=U.value;if(typeof Q==="boolean")return U;return U.issues.push({expected:"boolean",code:"invalid_type",input:Q,inst:$}),U}}),qV=H0("$ZodBigInt",($,Y)=>{q1.init($,Y),$._zod.pattern=kj,$._zod.parse=(U,z)=>{if(Y.coerce)try{U.value=BigInt(U.value)}catch(Q){}if(typeof U.value==="bigint")return U;return U.issues.push({expected:"bigint",code:"invalid_type",input:U.value,inst:$}),U}}),xE=H0("$ZodBigIntFormat",($,Y)=>{dj.init($,Y),qV.init($,Y)}),fE=H0("$ZodSymbol",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(typeof Q==="symbol")return U;return U.issues.push({expected:"symbol",code:"invalid_type",input:Q,inst:$}),U}}),uE=H0("$ZodUndefined",($,Y)=>{q1.init($,Y),$._zod.pattern=bj,$._zod.values=new Set([void 0]),$._zod.parse=(U,z)=>{let Q=U.value;if(typeof Q>"u")return U;return U.issues.push({expected:"undefined",code:"invalid_type",input:Q,inst:$}),U}}),bE=H0("$ZodNull",($,Y)=>{q1.init($,Y),$._zod.pattern=uj,$._zod.values=new Set([null]),$._zod.parse=(U,z)=>{let Q=U.value;if(Q===null)return U;return U.issues.push({expected:"null",code:"invalid_type",input:Q,inst:$}),U}}),iE=H0("$ZodAny",($,Y)=>{q1.init($,Y),$._zod.parse=(U)=>U}),cE=H0("$ZodUnknown",($,Y)=>{q1.init($,Y),$._zod.parse=(U)=>U}),nE=H0("$ZodNever",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{return U.issues.push({expected:"never",code:"invalid_type",input:U.value,inst:$}),U}}),pE=H0("$ZodVoid",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(typeof Q>"u")return U;return U.issues.push({expected:"void",code:"invalid_type",input:Q,inst:$}),U}}),dE=H0("$ZodDate",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{if(Y.coerce)try{U.value=new Date(U.value)}catch(K){}let Q=U.value,J=Q instanceof Date;if(J&&!Number.isNaN(Q.getTime()))return U;return U.issues.push({expected:"date",code:"invalid_type",input:Q,...J?{received:"Invalid Date"}:{},inst:$}),U}});mE=H0("$ZodArray",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(!Array.isArray(Q))return U.issues.push({expected:"array",code:"invalid_type",input:Q,inst:$}),U;U.value=Array(Q.length);let J=[];for(let I=0;Izr(H,U,I)));else zr(G,U,I)}if(J.length)return Promise.all(J).then(()=>U);return U}});Dr=H0("$ZodObject",($,Y)=>{if(q1.init($,Y),!Object.getOwnPropertyDescriptor(Y,"shape")?.get){let K=Y.shape;Object.defineProperty(Y,"shape",{get:()=>{let G={...K};return Object.defineProperty(Y,"shape",{value:G}),G}})}let z=cz(()=>Or(Y));E1($._zod,"propValues",()=>{let K=Y.shape,G={};for(let H in K){let W=K[H]._zod;if(W.values){G[H]??(G[H]=new Set);for(let X of W.values)G[H].add(X)}}return G});let Q=TY,J=Y.catchall,I;$._zod.parse=(K,G)=>{I??(I=z.value);let H=K.value;if(!Q(H))return K.issues.push({expected:"object",code:"invalid_type",input:H,inst:$}),K;K.value={};let W=[],X=I.shape;for(let Z of I.keys){let q=X[Z],V=q._zod.optin==="optional",F=q._zod.optout==="optional",M=q._zod.run({value:H[Z],issues:[]},G);if(M instanceof Promise)W.push(M.then((w)=>XV(w,K,Z,H,V,F)));else XV(M,K,Z,H,V,F)}if(!J)return W.length?Promise.all(W).then(()=>K):K;return Nr(W,H,K,G,z.value,$)}}),lE=H0("$ZodObjectJIT",($,Y)=>{Dr.init($,Y);let U=$._zod.parse,z=cz(()=>Or(Y)),Q=(Z)=>{let q=new KV(["shape","payload","ctx"]),V=z.value,F=(O)=>{let D=pq(O);return`shape[${D}]._zod.run({ value: input[${D}], issues: [] }, ctx)`};q.write("const input = payload.value;");let M=Object.create(null),w=0;for(let O of V.keys)M[O]=`key_${w++}`;q.write("const newResult = {};");for(let O of V.keys){let D=M[O],P=pq(O),T=Z[O],A=T?._zod?.optin==="optional",j=T?._zod?.optout==="optional";if(q.write(`const ${D} = ${F(O)};`),A&&j)q.write(` if (${D}.issues.length) { if (${P} in input) { payload.issues = payload.issues.concat(${D}.issues.map(iss => ({ @@ -60,9 +60,9 @@ import{createRequire as Ly0}from"node:module";var Iy0=Object.create;var{getProto newResult[${P}] = ${D}.value; } - `)}q.write("payload.value = newResult;"),q.write("return payload;");let N=q.compile();return(O,D)=>N(Z,O,D)},J,I=TY,K=!AY.jitless,H=K&&Yj.value,W=Y.catchall,X;$._zod.parse=(Z,q)=>{X??(X=z.value);let V=Z.value;if(!I(V))return Z.issues.push({expected:"object",code:"invalid_type",input:V,inst:$}),Z;if(K&&H&&q?.async===!1&&q.jitless!==!0){if(!J)J=Q(Y.shape);if(Z=J(Z,q),!W)return Z;return Nr([],V,Z,q,X,$)}return U(Z,q)}});GG=H0("$ZodUnion",($,Y)=>{q1.init($,Y),E1($._zod,"optin",()=>Y.options.some((z)=>z._zod.optin==="optional")?"optional":void 0),E1($._zod,"optout",()=>Y.options.some((z)=>z._zod.optout==="optional")?"optional":void 0),E1($._zod,"values",()=>{if(Y.options.every((z)=>z._zod.values))return new Set(Y.options.flatMap((z)=>Array.from(z._zod.values)));return}),E1($._zod,"pattern",()=>{if(Y.options.every((z)=>z._zod.pattern)){let z=Y.options.map((Q)=>Q._zod.pattern);return new RegExp(`^(${z.map((Q)=>aK(Q.source)).join("|")})$`)}return});let U=Y.options.length===1?Y.options[0]._zod.run:null;$._zod.parse=(z,Q)=>{if(U)return U(z,Q);let J=!1,I=[];for(let K of Y.options){let G=K._zod.run({value:z.value,issues:[]},Q);if(G instanceof Promise)I.push(G),J=!0;else{if(G.issues.length===0)return G;I.push(G)}}if(!J)return Qr(I,z,$,Q);return Promise.all(I).then((K)=>{return Qr(K,z,$,Q)})}});oE=H0("$ZodXor",($,Y)=>{GG.init($,Y),Y.inclusive=!1;let U=Y.options.length===1?Y.options[0]._zod.run:null;$._zod.parse=(z,Q)=>{if(U)return U(z,Q);let J=!1,I=[];for(let K of Y.options){let G=K._zod.run({value:z.value,issues:[]},Q);if(G instanceof Promise)I.push(G),J=!0;else I.push(G)}if(!J)return Jr(I,z,$,Q);return Promise.all(I).then((K)=>{return Jr(K,z,$,Q)})}}),rE=H0("$ZodDiscriminatedUnion",($,Y)=>{Y.inclusive=!1,GG.init($,Y);let U=$._zod.parse;E1($._zod,"propValues",()=>{let Q={};for(let J of Y.options){let I=J._zod.propValues;if(!I||Object.keys(I).length===0)throw Error(`Invalid discriminated union option at index "${Y.options.indexOf(J)}"`);for(let[K,G]of Object.entries(I)){if(!Q[K])Q[K]=new Set;for(let H of G)Q[K].add(H)}}return Q});let z=cz(()=>{let Q=Y.options,J=new Map;for(let I of Q){let K=I._zod.propValues?.[Y.discriminator];if(!K||K.size===0)throw Error(`Invalid discriminated union option at index "${Y.options.indexOf(I)}"`);for(let G of K){if(J.has(G))throw Error(`Duplicate discriminator value "${String(G)}"`);J.set(G,I)}}return J});$._zod.parse=(Q,J)=>{let I=Q.value;if(!TY(I))return Q.issues.push({code:"invalid_type",expected:"object",input:I,inst:$}),Q;let K=z.value.get(I?.[Y.discriminator]);if(K)return K._zod.run(Q,J);if(Y.unionFallback||J.direction==="backward")return U(Q,J);return Q.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:Y.discriminator,options:Array.from(z.value.keys()),input:I,path:[Y.discriminator],inst:$}),Q}}),sE=H0("$ZodIntersection",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value,J=Y.left._zod.run({value:Q,issues:[]},z),I=Y.right._zod.run({value:Q,issues:[]},z);if(J instanceof Promise||I instanceof Promise)return Promise.all([J,I]).then(([G,H])=>{return Ir(U,G,H)});return Ir(U,J,I)}});VV=H0("$ZodTuple",($,Y)=>{q1.init($,Y);let U=Y.items;$._zod.parse=(z,Q)=>{let J=z.value;if(!Array.isArray(J))return z.issues.push({input:J,inst:$,expected:"tuple",code:"invalid_type"}),z;z.value=[];let I=[],K=Kr(U,"optin"),G=Kr(U,"optout");if(!Y.rest){if(J.lengthU.length)z.issues.push({code:"too_big",maximum:U.length,inclusive:!0,input:J,inst:$,origin:"array"})}let H=Array(U.length);for(let W=0;W{H[W]=Z}));else H[W]=X}if(Y.rest){let W=U.length-1,X=J.slice(U.length);for(let Z of X){W++;let q=Y.rest._zod.run({value:Z,issues:[]},Q);if(q instanceof Promise)I.push(q.then((V)=>Gr(V,z,W)));else Gr(q,z,W)}}if(I.length)return Promise.all(I).then(()=>Hr(H,z,U,J,G));return Hr(H,z,U,J,G)}});aE=H0("$ZodRecord",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(!G7(Q))return U.issues.push({expected:"record",code:"invalid_type",input:Q,inst:$}),U;let J=[],I=Y.keyType._zod.values;if(I){U.value={};let K=new Set;for(let H of I)if(typeof H==="string"||typeof H==="number"||typeof H==="symbol"){K.add(typeof H==="number"?H.toString():H);let W=Y.keyType._zod.run({value:H,issues:[]},z);if(W instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(W.issues.length){U.issues.push({code:"invalid_key",origin:"record",issues:W.issues.map((q)=>A8(q,z,a4())),input:H,path:[H],inst:$});continue}let X=W.value,Z=Y.valueType._zod.run({value:Q[H],issues:[]},z);if(Z instanceof Promise)J.push(Z.then((q)=>{if(q.issues.length)U.issues.push(...f8(H,q.issues));U.value[X]=q.value}));else{if(Z.issues.length)U.issues.push(...f8(H,Z.issues));U.value[X]=Z.value}}let G;for(let H in Q)if(!K.has(H))G=G??[],G.push(H);if(G&&G.length>0)U.issues.push({code:"unrecognized_keys",input:Q,inst:$,keys:G})}else{U.value={};for(let K of Reflect.ownKeys(Q)){if(K==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(Q,K))continue;let G=Y.keyType._zod.run({value:K,issues:[]},z);if(G instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof K==="string"&&QG.test(K)&&G.issues.length){let X=Y.keyType._zod.run({value:Number(K),issues:[]},z);if(X instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(X.issues.length===0)G=X}if(G.issues.length){if(Y.mode==="loose")U.value[K]=Q[K];else U.issues.push({code:"invalid_key",origin:"record",issues:G.issues.map((X)=>A8(X,z,a4())),input:K,path:[K],inst:$});continue}let W=Y.valueType._zod.run({value:Q[K],issues:[]},z);if(W instanceof Promise)J.push(W.then((X)=>{if(X.issues.length)U.issues.push(...f8(K,X.issues));U.value[G.value]=X.value}));else{if(W.issues.length)U.issues.push(...f8(K,W.issues));U.value[G.value]=W.value}}}if(J.length)return Promise.all(J).then(()=>U);return U}}),tE=H0("$ZodMap",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(!(Q instanceof Map))return U.issues.push({expected:"map",code:"invalid_type",input:Q,inst:$}),U;let J=[];U.value=new Map;for(let[I,K]of Q){let G=Y.keyType._zod.run({value:I,issues:[]},z),H=Y.valueType._zod.run({value:K,issues:[]},z);if(G instanceof Promise||H instanceof Promise)J.push(Promise.all([G,H]).then(([W,X])=>{Wr(W,X,U,I,Q,$,z)}));else Wr(G,H,U,I,Q,$,z)}if(J.length)return Promise.all(J).then(()=>U);return U}});eE=H0("$ZodSet",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(!(Q instanceof Set))return U.issues.push({input:Q,inst:$,expected:"set",code:"invalid_type"}),U;let J=[];U.value=new Set;for(let I of Q){let K=Y.valueType._zod.run({value:I,issues:[]},z);if(K instanceof Promise)J.push(K.then((G)=>Xr(G,U)));else Xr(K,U)}if(J.length)return Promise.all(J).then(()=>U);return U}});$C=H0("$ZodEnum",($,Y)=>{q1.init($,Y);let U=sK(Y.entries),z=new Set(U);$._zod.values=z,$._zod.pattern=new RegExp(`^(${U.filter((Q)=>tK.has(typeof Q)).map((Q)=>typeof Q==="string"?N$(Q):Q.toString()).join("|")})$`),$._zod.parse=(Q,J)=>{let I=Q.value;if(z.has(I))return Q;return Q.issues.push({code:"invalid_value",values:U,input:I,inst:$}),Q}}),YC=H0("$ZodLiteral",($,Y)=>{if(q1.init($,Y),Y.values.length===0)throw Error("Cannot create literal schema with no valid values");let U=new Set(Y.values);$._zod.values=U,$._zod.pattern=new RegExp(`^(${Y.values.map((z)=>typeof z==="string"?N$(z):z?N$(z.toString()):String(z)).join("|")})$`),$._zod.parse=(z,Q)=>{let J=z.value;if(U.has(J))return z;return z.issues.push({code:"invalid_value",values:Y.values,input:J,inst:$}),z}}),UC=H0("$ZodFile",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(Q instanceof File)return U;return U.issues.push({expected:"file",code:"invalid_type",input:Q,inst:$}),U}}),zC=H0("$ZodTransform",($,Y)=>{q1.init($,Y),$._zod.optin="optional",$._zod.parse=(U,z)=>{if(z.direction==="backward")throw new BY($.constructor.name);let Q=Y.transform(U.value,U);if(z.async)return(Q instanceof Promise?Q:Promise.resolve(Q)).then((I)=>{return U.value=I,U.fallback=!0,U});if(Q instanceof Promise)throw new f5;return U.value=Q,U.fallback=!0,U}});LV=H0("$ZodOptional",($,Y)=>{q1.init($,Y),$._zod.optin="optional",$._zod.optout="optional",E1($._zod,"values",()=>{return Y.innerType._zod.values?new Set([...Y.innerType._zod.values,void 0]):void 0}),E1($._zod,"pattern",()=>{let U=Y.innerType._zod.pattern;return U?new RegExp(`^(${aK(U.source)})?$`):void 0}),$._zod.parse=(U,z)=>{if(Y.innerType._zod.optin==="optional"){let Q=U.value,J=Y.innerType._zod.run(U,z);if(J instanceof Promise)return J.then((I)=>Zr(I,Q));return Zr(J,Q)}if(U.value===void 0)return U;return Y.innerType._zod.run(U,z)}}),QC=H0("$ZodExactOptional",($,Y)=>{LV.init($,Y),E1($._zod,"values",()=>Y.innerType._zod.values),E1($._zod,"pattern",()=>Y.innerType._zod.pattern),$._zod.parse=(U,z)=>{return Y.innerType._zod.run(U,z)}}),JC=H0("$ZodNullable",($,Y)=>{q1.init($,Y),E1($._zod,"optin",()=>Y.innerType._zod.optin),E1($._zod,"optout",()=>Y.innerType._zod.optout),E1($._zod,"pattern",()=>{let U=Y.innerType._zod.pattern;return U?new RegExp(`^(${aK(U.source)}|null)$`):void 0}),E1($._zod,"values",()=>{return Y.innerType._zod.values?new Set([...Y.innerType._zod.values,null]):void 0}),$._zod.parse=(U,z)=>{if(U.value===null)return U;return Y.innerType._zod.run(U,z)}}),IC=H0("$ZodDefault",($,Y)=>{q1.init($,Y),$._zod.optin="optional",E1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(U,z)=>{if(z.direction==="backward")return Y.innerType._zod.run(U,z);if(U.value===void 0)return U.value=Y.defaultValue,U;let Q=Y.innerType._zod.run(U,z);if(Q instanceof Promise)return Q.then((J)=>qr(J,Y));return qr(Q,Y)}});KC=H0("$ZodPrefault",($,Y)=>{q1.init($,Y),$._zod.optin="optional",E1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(U,z)=>{if(z.direction==="backward")return Y.innerType._zod.run(U,z);if(U.value===void 0)U.value=Y.defaultValue;return Y.innerType._zod.run(U,z)}}),GC=H0("$ZodNonOptional",($,Y)=>{q1.init($,Y),E1($._zod,"values",()=>{let U=Y.innerType._zod.values;return U?new Set([...U].filter((z)=>z!==void 0)):void 0}),$._zod.parse=(U,z)=>{let Q=Y.innerType._zod.run(U,z);if(Q instanceof Promise)return Q.then((J)=>Vr(J,$));return Vr(Q,$)}});HC=H0("$ZodSuccess",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{if(z.direction==="backward")throw new BY("ZodSuccess");let Q=Y.innerType._zod.run(U,z);if(Q instanceof Promise)return Q.then((J)=>{return U.value=J.issues.length===0,U});return U.value=Q.issues.length===0,U}}),WC=H0("$ZodCatch",($,Y)=>{q1.init($,Y),$._zod.optin="optional",E1($._zod,"optout",()=>Y.innerType._zod.optout),E1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(U,z)=>{if(z.direction==="backward")return Y.innerType._zod.run(U,z);let Q=Y.innerType._zod.run(U,z);if(Q instanceof Promise)return Q.then((J)=>{if(U.value=J.value,J.issues.length)U.value=Y.catchValue({...U,error:{issues:J.issues.map((I)=>A8(I,z,a4()))},input:U.value}),U.issues=[],U.fallback=!0;return U});if(U.value=Q.value,Q.issues.length)U.value=Y.catchValue({...U,error:{issues:Q.issues.map((J)=>A8(J,z,a4()))},input:U.value}),U.issues=[],U.fallback=!0;return U}}),XC=H0("$ZodNaN",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{if(typeof U.value!=="number"||!Number.isNaN(U.value))return U.issues.push({input:U.value,inst:$,expected:"nan",code:"invalid_type"}),U;return U}}),FV=H0("$ZodPipe",($,Y)=>{q1.init($,Y),E1($._zod,"values",()=>Y.in._zod.values),E1($._zod,"optin",()=>Y.in._zod.optin),E1($._zod,"optout",()=>Y.out._zod.optout),E1($._zod,"propValues",()=>Y.in._zod.propValues),$._zod.parse=(U,z)=>{if(z.direction==="backward"){let J=Y.out._zod.run(U,z);if(J instanceof Promise)return J.then((I)=>GV(I,Y.in,z));return GV(J,Y.in,z)}let Q=Y.in._zod.run(U,z);if(Q instanceof Promise)return Q.then((J)=>GV(J,Y.out,z));return GV(Q,Y.out,z)}});HG=H0("$ZodCodec",($,Y)=>{q1.init($,Y),E1($._zod,"values",()=>Y.in._zod.values),E1($._zod,"optin",()=>Y.in._zod.optin),E1($._zod,"optout",()=>Y.out._zod.optout),E1($._zod,"propValues",()=>Y.in._zod.propValues),$._zod.parse=(U,z)=>{if((z.direction||"forward")==="forward"){let J=Y.in._zod.run(U,z);if(J instanceof Promise)return J.then((I)=>HV(I,Y,z));return HV(J,Y,z)}else{let J=Y.out._zod.run(U,z);if(J instanceof Promise)return J.then((I)=>HV(I,Y,z));return HV(J,Y,z)}}});ZC=H0("$ZodPreprocess",($,Y)=>{FV.init($,Y)}),qC=H0("$ZodReadonly",($,Y)=>{q1.init($,Y),E1($._zod,"propValues",()=>Y.innerType._zod.propValues),E1($._zod,"values",()=>Y.innerType._zod.values),E1($._zod,"optin",()=>Y.innerType?._zod?.optin),E1($._zod,"optout",()=>Y.innerType?._zod?.optout),$._zod.parse=(U,z)=>{if(z.direction==="backward")return Y.innerType._zod.run(U,z);let Q=Y.innerType._zod.run(U,z);if(Q instanceof Promise)return Q.then(Lr);return Lr(Q)}});VC=H0("$ZodTemplateLiteral",($,Y)=>{q1.init($,Y);let U=[];for(let z of Y.parts)if(typeof z==="object"&&z!==null){if(!z._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...z._zod.traits].shift()}`);let Q=z._zod.pattern instanceof RegExp?z._zod.pattern.source:z._zod.pattern;if(!Q)throw Error(`Invalid template literal part: ${z._zod.traits}`);let J=Q.startsWith("^")?1:0,I=Q.endsWith("$")?Q.length-1:Q.length;U.push(Q.slice(J,I))}else if(z===null||zj.has(typeof z))U.push(N$(`${z}`));else throw Error(`Invalid template literal part: ${z}`);$._zod.pattern=new RegExp(`^${U.join("")}$`),$._zod.parse=(z,Q)=>{if(typeof z.value!=="string")return z.issues.push({input:z.value,inst:$,expected:"string",code:"invalid_type"}),z;if($._zod.pattern.lastIndex=0,!$._zod.pattern.test(z.value))return z.issues.push({input:z.value,inst:$,code:"invalid_format",format:Y.format??"template_literal",pattern:$._zod.pattern.source}),z;return z}}),LC=H0("$ZodFunction",($,Y)=>{return q1.init($,Y),$._def=Y,$._zod.def=Y,$.implement=(U)=>{if(typeof U!=="function")throw Error("implement() must be called with a function");return function(...z){let Q=$._def.input?mq($._def.input,z):z,J=Reflect.apply(U,this,Q);if($._def.output)return mq($._def.output,J);return J}},$.implementAsync=(U)=>{if(typeof U!=="function")throw Error("implementAsync() must be called with a function");return async function(...z){let Q=$._def.input?await lq($._def.input,z):z,J=await Reflect.apply(U,this,Q);if($._def.output)return await lq($._def.output,J);return J}},$._zod.parse=(U,z)=>{if(typeof U.value!=="function")return U.issues.push({code:"invalid_type",expected:"function",input:U.value,inst:$}),U;if($._def.output&&$._def.output._zod.def.type==="promise")U.value=$.implementAsync(U.value);else U.value=$.implement(U.value);return U},$.input=(...U)=>{let z=$.constructor;if(Array.isArray(U[0]))return new z({type:"function",input:new VV({type:"tuple",items:U[0],rest:U[1]}),output:$._def.output});return new z({type:"function",input:U[0],output:$._def.output})},$.output=(U)=>{return new $.constructor({type:"function",input:$._def.input,output:U})},$}),FC=H0("$ZodPromise",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{return Promise.resolve(U.value).then((Q)=>Y.innerType._zod.run({value:Q,issues:[]},z))}}),wC=H0("$ZodLazy",($,Y)=>{q1.init($,Y),E1($._zod,"innerType",()=>{let U=Y;if(!U._cachedInner)U._cachedInner=Y.getter();return U._cachedInner}),E1($._zod,"pattern",()=>$._zod.innerType?._zod?.pattern),E1($._zod,"propValues",()=>$._zod.innerType?._zod?.propValues),E1($._zod,"optin",()=>$._zod.innerType?._zod?.optin??void 0),E1($._zod,"optout",()=>$._zod.innerType?._zod?.optout??void 0),$._zod.parse=(U,z)=>{return $._zod.innerType._zod.run(U,z)}}),MC=H0("$ZodCustom",($,Y)=>{L4.init($,Y),q1.init($,Y),$._zod.parse=(U,z)=>{return U},$._zod.check=(U)=>{let z=U.value,Q=Y.fn(z);if(Q instanceof Promise)return Q.then((J)=>Fr(J,U,z,$));Fr(Q,U,z,$);return}})});function NC(){return{localeError:Sk0()}}var Sk0=()=>{let $={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function Y(Q){return $[Q]??null}let U={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${Q.expected}، ولكن تم إدخال ${K}`;return`مدخلات غير مقبولة: يفترض إدخال ${J}، ولكن تم إدخال ${K}`}case"invalid_value":if(Q.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${v0(Q.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return` أكبر من اللازم: يفترض أن تكون ${Q.origin??"القيمة"} ${J} ${Q.maximum.toString()} ${I.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${Q.origin??"القيمة"} ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`أصغر من اللازم: يفترض لـ ${Q.origin} أن يكون ${J} ${Q.minimum.toString()} ${I.unit}`;return`أصغر من اللازم: يفترض لـ ${Q.origin} أن يكون ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${Q.prefix}"`;if(J.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${J.suffix}"`;if(J.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${J.includes}"`;if(J.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${J.pattern}`;return`${U[J.format]??Q.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${Q.divisor}`;case"unrecognized_keys":return`معرف${Q.keys.length>1?"ات":""} غريب${Q.keys.length>1?"ة":""}: ${O0(Q.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${Q.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${Q.origin}`;default:return"مدخل غير مقبول"}}};var Ar=m(()=>{$1()});function DC(){return{localeError:gk0()}}var gk0=()=>{let $={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Yanlış dəyər: gözlənilən instanceof ${Q.expected}, daxil olan ${K}`;return`Yanlış dəyər: gözlənilən ${J}, daxil olan ${K}`}case"invalid_value":if(Q.values.length===1)return`Yanlış dəyər: gözlənilən ${v0(Q.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Çox böyük: gözlənilən ${Q.origin??"dəyər"} ${J}${Q.maximum.toString()} ${I.unit??"element"}`;return`Çox böyük: gözlənilən ${Q.origin??"dəyər"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Çox kiçik: gözlənilən ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit}`;return`Çox kiçik: gözlənilən ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Yanlış mətn: "${J.prefix}" ilə başlamalıdır`;if(J.format==="ends_with")return`Yanlış mətn: "${J.suffix}" ilə bitməlidir`;if(J.format==="includes")return`Yanlış mətn: "${J.includes}" daxil olmalıdır`;if(J.format==="regex")return`Yanlış mətn: ${J.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${U[J.format]??Q.format}`}case"not_multiple_of":return`Yanlış ədəd: ${Q.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${Q.keys.length>1?"lar":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${Q.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};var Br=m(()=>{$1()});function Pr($,Y,U,z){let Q=Math.abs($),J=Q%10,I=Q%100;if(I>=11&&I<=19)return z;if(J===1)return Y;if(J>=2&&J<=4)return U;return z}function AC(){return{localeError:yk0()}}var yk0=()=>{let $={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function Y(Q){return $[Q]??null}let U={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},z={nan:"NaN",number:"лік",array:"масіў"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Няправільны ўвод: чакаўся instanceof ${Q.expected}, атрымана ${K}`;return`Няправільны ўвод: чакаўся ${J}, атрымана ${K}`}case"invalid_value":if(Q.values.length===1)return`Няправільны ўвод: чакалася ${v0(Q.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I){let K=Number(Q.maximum),G=Pr(K,I.unit.one,I.unit.few,I.unit.many);return`Занадта вялікі: чакалася, што ${Q.origin??"значэнне"} павінна ${I.verb} ${J}${Q.maximum.toString()} ${G}`}return`Занадта вялікі: чакалася, што ${Q.origin??"значэнне"} павінна быць ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I){let K=Number(Q.minimum),G=Pr(K,I.unit.one,I.unit.few,I.unit.many);return`Занадта малы: чакалася, што ${Q.origin} павінна ${I.verb} ${J}${Q.minimum.toString()} ${G}`}return`Занадта малы: чакалася, што ${Q.origin} павінна быць ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${J.prefix}"`;if(J.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${J.suffix}"`;if(J.format==="includes")return`Няправільны радок: павінен змяшчаць "${J.includes}"`;if(J.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${J.pattern}`;return`Няправільны ${U[J.format]??Q.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${Q.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${Q.keys.length>1?"ключы":"ключ"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${Q.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${Q.origin}`;default:return"Няправільны ўвод"}}};var Tr=m(()=>{$1()});function BC(){return{localeError:kk0()}}var kk0=()=>{let $={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function Y(Q){return $[Q]??null}let U={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},z={nan:"NaN",number:"число",array:"масив"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Невалиден вход: очакван instanceof ${Q.expected}, получен ${K}`;return`Невалиден вход: очакван ${J}, получен ${K}`}case"invalid_value":if(Q.values.length===1)return`Невалиден вход: очакван ${v0(Q.values[0])}`;return`Невалидна опция: очаквано едно от ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Твърде голямо: очаква се ${Q.origin??"стойност"} да съдържа ${J}${Q.maximum.toString()} ${I.unit??"елемента"}`;return`Твърде голямо: очаква се ${Q.origin??"стойност"} да бъде ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Твърде малко: очаква се ${Q.origin} да съдържа ${J}${Q.minimum.toString()} ${I.unit}`;return`Твърде малко: очаква се ${Q.origin} да бъде ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Невалиден низ: трябва да започва с "${J.prefix}"`;if(J.format==="ends_with")return`Невалиден низ: трябва да завършва с "${J.suffix}"`;if(J.format==="includes")return`Невалиден низ: трябва да включва "${J.includes}"`;if(J.format==="regex")return`Невалиден низ: трябва да съвпада с ${J.pattern}`;let I="Невалиден";if(J.format==="emoji")I="Невалидно";if(J.format==="datetime")I="Невалидно";if(J.format==="date")I="Невалидна";if(J.format==="time")I="Невалидно";if(J.format==="duration")I="Невалидна";return`${I} ${U[J.format]??Q.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${Q.divisor}`;case"unrecognized_keys":return`Неразпознат${Q.keys.length>1?"и":""} ключ${Q.keys.length>1?"ове":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${Q.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${Q.origin}`;default:return"Невалиден вход"}}};var jr=m(()=>{$1()});function PC(){return{localeError:xk0()}}var xk0=()=>{let $={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function Y(Q){return $[Q]??null}let U={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Tipus invàlid: s'esperava instanceof ${Q.expected}, s'ha rebut ${K}`;return`Tipus invàlid: s'esperava ${J}, s'ha rebut ${K}`}case"invalid_value":if(Q.values.length===1)return`Valor invàlid: s'esperava ${v0(Q.values[0])}`;return`Opció invàlida: s'esperava una de ${O0(Q.values," o ")}`;case"too_big":{let J=Q.inclusive?"com a màxim":"menys de",I=Y(Q.origin);if(I)return`Massa gran: s'esperava que ${Q.origin??"el valor"} contingués ${J} ${Q.maximum.toString()} ${I.unit??"elements"}`;return`Massa gran: s'esperava que ${Q.origin??"el valor"} fos ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?"com a mínim":"més de",I=Y(Q.origin);if(I)return`Massa petit: s'esperava que ${Q.origin} contingués ${J} ${Q.minimum.toString()} ${I.unit}`;return`Massa petit: s'esperava que ${Q.origin} fos ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Format invàlid: ha de començar amb "${J.prefix}"`;if(J.format==="ends_with")return`Format invàlid: ha d'acabar amb "${J.suffix}"`;if(J.format==="includes")return`Format invàlid: ha d'incloure "${J.includes}"`;if(J.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${J.pattern}`;return`Format invàlid per a ${U[J.format]??Q.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${Q.divisor}`;case"unrecognized_keys":return`Clau${Q.keys.length>1?"s":""} no reconeguda${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${Q.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${Q.origin}`;default:return"Entrada invàlida"}}};var Er=m(()=>{$1()});function TC(){return{localeError:fk0()}}var fk0=()=>{let $={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function Y(Q){return $[Q]??null}let U={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},z={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Neplatný vstup: očekáváno instanceof ${Q.expected}, obdrženo ${K}`;return`Neplatný vstup: očekáváno ${J}, obdrženo ${K}`}case"invalid_value":if(Q.values.length===1)return`Neplatný vstup: očekáváno ${v0(Q.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Hodnota je příliš velká: ${Q.origin??"hodnota"} musí mít ${J}${Q.maximum.toString()} ${I.unit??"prvků"}`;return`Hodnota je příliš velká: ${Q.origin??"hodnota"} musí být ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Hodnota je příliš malá: ${Q.origin??"hodnota"} musí mít ${J}${Q.minimum.toString()} ${I.unit??"prvků"}`;return`Hodnota je příliš malá: ${Q.origin??"hodnota"} musí být ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Neplatný řetězec: musí začínat na "${J.prefix}"`;if(J.format==="ends_with")return`Neplatný řetězec: musí končit na "${J.suffix}"`;if(J.format==="includes")return`Neplatný řetězec: musí obsahovat "${J.includes}"`;if(J.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${J.pattern}`;return`Neplatný formát ${U[J.format]??Q.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${Q.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${O0(Q.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${Q.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${Q.origin}`;default:return"Neplatný vstup"}}};var Cr=m(()=>{$1()});function jC(){return{localeError:uk0()}}var uk0=()=>{let $={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},z={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ugyldigt input: forventede instanceof ${Q.expected}, fik ${K}`;return`Ugyldigt input: forventede ${J}, fik ${K}`}case"invalid_value":if(Q.values.length===1)return`Ugyldig værdi: forventede ${v0(Q.values[0])}`;return`Ugyldigt valg: forventede en af følgende ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=z[Q.origin]??Q.origin;if(I)return`For stor: forventede ${K??"value"} ${I.verb} ${J} ${Q.maximum.toString()} ${I.unit??"elementer"}`;return`For stor: forventede ${K??"value"} havde ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=z[Q.origin]??Q.origin;if(I)return`For lille: forventede ${K} ${I.verb} ${J} ${Q.minimum.toString()} ${I.unit}`;return`For lille: forventede ${K} havde ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ugyldig streng: skal starte med "${J.prefix}"`;if(J.format==="ends_with")return`Ugyldig streng: skal ende med "${J.suffix}"`;if(J.format==="includes")return`Ugyldig streng: skal indeholde "${J.includes}"`;if(J.format==="regex")return`Ugyldig streng: skal matche mønsteret ${J.pattern}`;return`Ugyldig ${U[J.format]??Q.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${Q.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${Q.origin}`;default:return"Ugyldigt input"}}};var Rr=m(()=>{$1()});function EC(){return{localeError:bk0()}}var bk0=()=>{let $={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function Y(Q){return $[Q]??null}let U={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},z={nan:"NaN",number:"Zahl",array:"Array"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ungültige Eingabe: erwartet instanceof ${Q.expected}, erhalten ${K}`;return`Ungültige Eingabe: erwartet ${J}, erhalten ${K}`}case"invalid_value":if(Q.values.length===1)return`Ungültige Eingabe: erwartet ${v0(Q.values[0])}`;return`Ungültige Option: erwartet eine von ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Zu groß: erwartet, dass ${Q.origin??"Wert"} ${J}${Q.maximum.toString()} ${I.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${Q.origin??"Wert"} ${J}${Q.maximum.toString()} ist`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Zu klein: erwartet, dass ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} hat`;return`Zu klein: erwartet, dass ${Q.origin} ${J}${Q.minimum.toString()} ist`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ungültiger String: muss mit "${J.prefix}" beginnen`;if(J.format==="ends_with")return`Ungültiger String: muss mit "${J.suffix}" enden`;if(J.format==="includes")return`Ungültiger String: muss "${J.includes}" enthalten`;if(J.format==="regex")return`Ungültiger String: muss dem Muster ${J.pattern} entsprechen`;return`Ungültig: ${U[J.format]??Q.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${Q.divisor} sein`;case"unrecognized_keys":return`${Q.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${Q.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${Q.origin}`;default:return"Ungültige Eingabe"}}};var _r=m(()=>{$1()});function CC(){return{localeError:ik0()}}var ik0=()=>{let $={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function Y(Q){return $[Q]??null}let U={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(typeof Q.expected==="string"&&/^[A-Z]/.test(Q.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${Q.expected}, λήφθηκε ${K}`;return`Μη έγκυρη είσοδος: αναμενόταν ${J}, λήφθηκε ${K}`}case"invalid_value":if(Q.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${v0(Q.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Πολύ μεγάλο: αναμενόταν ${Q.origin??"τιμή"} να έχει ${J}${Q.maximum.toString()} ${I.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${Q.origin??"τιμή"} να είναι ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Πολύ μικρό: αναμενόταν ${Q.origin} να έχει ${J}${Q.minimum.toString()} ${I.unit}`;return`Πολύ μικρό: αναμενόταν ${Q.origin} να είναι ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${J.prefix}"`;if(J.format==="ends_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${J.suffix}"`;if(J.format==="includes")return`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${J.includes}"`;if(J.format==="regex")return`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${J.pattern}`;return`Μη έγκυρο: ${U[J.format]??Q.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${Q.divisor}`;case"unrecognized_keys":return`Άγνωστ${Q.keys.length>1?"α":"ο"} κλειδ${Q.keys.length>1?"ιά":"ί"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${Q.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${Q.origin}`;default:return"Μη έγκυρη είσοδος"}}};var vr=m(()=>{$1()});function WG(){return{localeError:ck0()}}var ck0=()=>{let $={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;return`Invalid input: expected ${J}, received ${K}`}case"invalid_value":if(Q.values.length===1)return`Invalid input: expected ${v0(Q.values[0])}`;return`Invalid option: expected one of ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Too big: expected ${Q.origin??"value"} to have ${J}${Q.maximum.toString()} ${I.unit??"elements"}`;return`Too big: expected ${Q.origin??"value"} to be ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Too small: expected ${Q.origin} to have ${J}${Q.minimum.toString()} ${I.unit}`;return`Too small: expected ${Q.origin} to be ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Invalid string: must start with "${J.prefix}"`;if(J.format==="ends_with")return`Invalid string: must end with "${J.suffix}"`;if(J.format==="includes")return`Invalid string: must include "${J.includes}"`;if(J.format==="regex")return`Invalid string: must match pattern ${J.pattern}`;return`Invalid ${U[J.format]??Q.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${Q.divisor}`;case"unrecognized_keys":return`Unrecognized key${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Invalid key in ${Q.origin}`;case"invalid_union":if(Q.options&&Array.isArray(Q.options)&&Q.options.length>0)return`Invalid discriminator value. Expected ${Q.options.map((I)=>`'${I}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${Q.origin}`;default:return"Invalid input"}}};var RC=m(()=>{$1()});function _C(){return{localeError:nk0()}}var nk0=()=>{let $={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function Y(Q){return $[Q]??null}let U={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},z={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Nevalida enigo: atendiĝis instanceof ${Q.expected}, riceviĝis ${K}`;return`Nevalida enigo: atendiĝis ${J}, riceviĝis ${K}`}case"invalid_value":if(Q.values.length===1)return`Nevalida enigo: atendiĝis ${v0(Q.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Tro granda: atendiĝis ke ${Q.origin??"valoro"} havu ${J}${Q.maximum.toString()} ${I.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${Q.origin??"valoro"} havu ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Tro malgranda: atendiĝis ke ${Q.origin} havu ${J}${Q.minimum.toString()} ${I.unit}`;return`Tro malgranda: atendiĝis ke ${Q.origin} estu ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${J.prefix}"`;if(J.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${J.suffix}"`;if(J.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${J.includes}"`;if(J.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${J.pattern}`;return`Nevalida ${U[J.format]??Q.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${Q.divisor}`;case"unrecognized_keys":return`Nekonata${Q.keys.length>1?"j":""} ŝlosilo${Q.keys.length>1?"j":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${Q.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${Q.origin}`;default:return"Nevalida enigo"}}};var hr=m(()=>{$1()});function vC(){return{localeError:pk0()}}var pk0=()=>{let $={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function Y(Q){return $[Q]??null}let U={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},z={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Entrada inválida: se esperaba instanceof ${Q.expected}, recibido ${K}`;return`Entrada inválida: se esperaba ${J}, recibido ${K}`}case"invalid_value":if(Q.values.length===1)return`Entrada inválida: se esperaba ${v0(Q.values[0])}`;return`Opción inválida: se esperaba una de ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=z[Q.origin]??Q.origin;if(I)return`Demasiado grande: se esperaba que ${K??"valor"} tuviera ${J}${Q.maximum.toString()} ${I.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${K??"valor"} fuera ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=z[Q.origin]??Q.origin;if(I)return`Demasiado pequeño: se esperaba que ${K} tuviera ${J}${Q.minimum.toString()} ${I.unit}`;return`Demasiado pequeño: se esperaba que ${K} fuera ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Cadena inválida: debe comenzar con "${J.prefix}"`;if(J.format==="ends_with")return`Cadena inválida: debe terminar en "${J.suffix}"`;if(J.format==="includes")return`Cadena inválida: debe incluir "${J.includes}"`;if(J.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${J.pattern}`;return`Inválido ${U[J.format]??Q.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${Q.divisor}`;case"unrecognized_keys":return`Llave${Q.keys.length>1?"s":""} desconocida${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Llave inválida en ${z[Q.origin]??Q.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${z[Q.origin]??Q.origin}`;default:return"Entrada inválida"}}};var Sr=m(()=>{$1()});function hC(){return{localeError:dk0()}}var dk0=()=>{let $={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function Y(Q){return $[Q]??null}let U={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},z={nan:"NaN",number:"عدد",array:"آرایه"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`ورودی نامعتبر: می‌بایست instanceof ${Q.expected} می‌بود، ${K} دریافت شد`;return`ورودی نامعتبر: می‌بایست ${J} می‌بود، ${K} دریافت شد`}case"invalid_value":if(Q.values.length===1)return`ورودی نامعتبر: می‌بایست ${v0(Q.values[0])} می‌بود`;return`گزینه نامعتبر: می‌بایست یکی از ${O0(Q.values,"|")} می‌بود`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`خیلی بزرگ: ${Q.origin??"مقدار"} باید ${J}${Q.maximum.toString()} ${I.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${Q.origin??"مقدار"} باید ${J}${Q.maximum.toString()} باشد`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`خیلی کوچک: ${Q.origin} باید ${J}${Q.minimum.toString()} ${I.unit} باشد`;return`خیلی کوچک: ${Q.origin} باید ${J}${Q.minimum.toString()} باشد`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`رشته نامعتبر: باید با "${J.prefix}" شروع شود`;if(J.format==="ends_with")return`رشته نامعتبر: باید با "${J.suffix}" تمام شود`;if(J.format==="includes")return`رشته نامعتبر: باید شامل "${J.includes}" باشد`;if(J.format==="regex")return`رشته نامعتبر: باید با الگوی ${J.pattern} مطابقت داشته باشد`;return`${U[J.format]??Q.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${Q.divisor} باشد`;case"unrecognized_keys":return`کلید${Q.keys.length>1?"های":""} ناشناس: ${O0(Q.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${Q.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${Q.origin}`;default:return"ورودی نامعتبر"}}};var gr=m(()=>{$1()});function SC(){return{localeError:mk0()}}var mk0=()=>{let $={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function Y(Q){return $[Q]??null}let U={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Virheellinen tyyppi: odotettiin instanceof ${Q.expected}, oli ${K}`;return`Virheellinen tyyppi: odotettiin ${J}, oli ${K}`}case"invalid_value":if(Q.values.length===1)return`Virheellinen syöte: täytyy olla ${v0(Q.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Liian suuri: ${I.subject} täytyy olla ${J}${Q.maximum.toString()} ${I.unit}`.trim();return`Liian suuri: arvon täytyy olla ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Liian pieni: ${I.subject} täytyy olla ${J}${Q.minimum.toString()} ${I.unit}`.trim();return`Liian pieni: arvon täytyy olla ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${J.prefix}"`;if(J.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${J.suffix}"`;if(J.format==="includes")return`Virheellinen syöte: täytyy sisältää "${J.includes}"`;if(J.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${J.pattern}`;return`Virheellinen ${U[J.format]??Q.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${Q.divisor} monikerta`;case"unrecognized_keys":return`${Q.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${O0(Q.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};var yr=m(()=>{$1()});function gC(){return{localeError:lk0()}}var lk0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function Y(Q){return $[Q]??null}let U={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},z={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Entrée invalide : instanceof ${Q.expected} attendu, ${K} reçu`;return`Entrée invalide : ${J} attendu, ${K} reçu`}case"invalid_value":if(Q.values.length===1)return`Entrée invalide : ${v0(Q.values[0])} attendu`;return`Option invalide : une valeur parmi ${O0(Q.values,"|")} attendue`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Trop grand : ${z[Q.origin]??"valeur"} doit ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"élément(s)"}`;return`Trop grand : ${z[Q.origin]??"valeur"} doit être ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Trop petit : ${z[Q.origin]??"valeur"} doit ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Trop petit : ${z[Q.origin]??"valeur"} doit être ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Chaîne invalide : doit commencer par "${J.prefix}"`;if(J.format==="ends_with")return`Chaîne invalide : doit se terminer par "${J.suffix}"`;if(J.format==="includes")return`Chaîne invalide : doit inclure "${J.includes}"`;if(J.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${J.pattern}`;return`${U[J.format]??Q.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${Q.divisor}`;case"unrecognized_keys":return`Clé${Q.keys.length>1?"s":""} non reconnue${Q.keys.length>1?"s":""} : ${O0(Q.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${Q.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${Q.origin}`;default:return"Entrée invalide"}}};var kr=m(()=>{$1()});function yC(){return{localeError:ok0()}}var ok0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function Y(Q){return $[Q]??null}let U={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Entrée invalide : attendu instanceof ${Q.expected}, reçu ${K}`;return`Entrée invalide : attendu ${J}, reçu ${K}`}case"invalid_value":if(Q.values.length===1)return`Entrée invalide : attendu ${v0(Q.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"≤":"<",I=Y(Q.origin);if(I)return`Trop grand : attendu que ${Q.origin??"la valeur"} ait ${J}${Q.maximum.toString()} ${I.unit}`;return`Trop grand : attendu que ${Q.origin??"la valeur"} soit ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?"≥":">",I=Y(Q.origin);if(I)return`Trop petit : attendu que ${Q.origin} ait ${J}${Q.minimum.toString()} ${I.unit}`;return`Trop petit : attendu que ${Q.origin} soit ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Chaîne invalide : doit commencer par "${J.prefix}"`;if(J.format==="ends_with")return`Chaîne invalide : doit se terminer par "${J.suffix}"`;if(J.format==="includes")return`Chaîne invalide : doit inclure "${J.includes}"`;if(J.format==="regex")return`Chaîne invalide : doit correspondre au motif ${J.pattern}`;return`${U[J.format]??Q.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${Q.divisor}`;case"unrecognized_keys":return`Clé${Q.keys.length>1?"s":""} non reconnue${Q.keys.length>1?"s":""} : ${O0(Q.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${Q.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${Q.origin}`;default:return"Entrée invalide"}}};var xr=m(()=>{$1()});function kC(){return{localeError:rk0()}}var rk0=()=>{let $={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},Y={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},U=(H)=>H?$[H]:void 0,z=(H)=>{let W=U(H);if(W)return W.label;return H??$.unknown.label},Q=(H)=>`ה${z(H)}`,J=(H)=>{return(U(H)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},I=(H)=>{if(!H)return null;return Y[H]??null},K={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},G={nan:"NaN"};return(H)=>{switch(H.code){case"invalid_type":{let W=H.expected,X=G[W??""]??z(W),Z=S0(H.input),q=G[Z]??$[Z]?.label??Z;if(/^[A-Z]/.test(H.expected))return`קלט לא תקין: צריך להיות instanceof ${H.expected}, התקבל ${q}`;return`קלט לא תקין: צריך להיות ${X}, התקבל ${q}`}case"invalid_value":{if(H.values.length===1)return`ערך לא תקין: הערך חייב להיות ${v0(H.values[0])}`;let W=H.values.map((q)=>v0(q));if(H.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${W[0]} או ${W[1]}`;let X=W[W.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${W.slice(0,-1).join(", ")} או ${X}`}case"too_big":{let W=I(H.origin),X=Q(H.origin??"value");if(H.origin==="string")return`${W?.longLabel??"ארוך"} מדי: ${X} צריכה להכיל ${H.maximum.toString()} ${W?.unit??""} ${H.inclusive?"או פחות":"לכל היותר"}`.trim();if(H.origin==="number"){let V=H.inclusive?`קטן או שווה ל-${H.maximum}`:`קטן מ-${H.maximum}`;return`גדול מדי: ${X} צריך להיות ${V}`}if(H.origin==="array"||H.origin==="set"){let V=H.origin==="set"?"צריכה":"צריך",F=H.inclusive?`${H.maximum} ${W?.unit??""} או פחות`:`פחות מ-${H.maximum} ${W?.unit??""}`;return`גדול מדי: ${X} ${V} להכיל ${F}`.trim()}let Z=H.inclusive?"<=":"<",q=J(H.origin??"value");if(W?.unit)return`${W.longLabel} מדי: ${X} ${q} ${Z}${H.maximum.toString()} ${W.unit}`;return`${W?.longLabel??"גדול"} מדי: ${X} ${q} ${Z}${H.maximum.toString()}`}case"too_small":{let W=I(H.origin),X=Q(H.origin??"value");if(H.origin==="string")return`${W?.shortLabel??"קצר"} מדי: ${X} צריכה להכיל ${H.minimum.toString()} ${W?.unit??""} ${H.inclusive?"או יותר":"לפחות"}`.trim();if(H.origin==="number"){let V=H.inclusive?`גדול או שווה ל-${H.minimum}`:`גדול מ-${H.minimum}`;return`קטן מדי: ${X} צריך להיות ${V}`}if(H.origin==="array"||H.origin==="set"){let V=H.origin==="set"?"צריכה":"צריך";if(H.minimum===1&&H.inclusive){let M=H.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${X} ${V} להכיל ${M}`}let F=H.inclusive?`${H.minimum} ${W?.unit??""} או יותר`:`יותר מ-${H.minimum} ${W?.unit??""}`;return`קטן מדי: ${X} ${V} להכיל ${F}`.trim()}let Z=H.inclusive?">=":">",q=J(H.origin??"value");if(W?.unit)return`${W.shortLabel} מדי: ${X} ${q} ${Z}${H.minimum.toString()} ${W.unit}`;return`${W?.shortLabel??"קטן"} מדי: ${X} ${q} ${Z}${H.minimum.toString()}`}case"invalid_format":{let W=H;if(W.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${W.prefix}"`;if(W.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${W.suffix}"`;if(W.format==="includes")return`המחרוזת חייבת לכלול "${W.includes}"`;if(W.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${W.pattern}`;let X=K[W.format],Z=X?.label??W.format,V=(X?.gender??"m")==="f"?"תקינה":"תקין";return`${Z} לא ${V}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${H.divisor}`;case"unrecognized_keys":return`מפתח${H.keys.length>1?"ות":""} לא מזוה${H.keys.length>1?"ים":"ה"}: ${O0(H.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${Q(H.origin??"array")}`;default:return"קלט לא תקין"}}};var fr=m(()=>{$1()});function xC(){return{localeError:sk0()}}var sk0=()=>{let $={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function Y(Q){return $[Q]??null}let U={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},z={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Neispravan unos: očekuje se instanceof ${Q.expected}, a primljeno je ${K}`;return`Neispravan unos: očekuje se ${J}, a primljeno je ${K}`}case"invalid_value":if(Q.values.length===1)return`Neispravna vrijednost: očekivano ${v0(Q.values[0])}`;return`Neispravna opcija: očekivano jedno od ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=z[Q.origin]??Q.origin;if(I)return`Preveliko: očekivano da ${K??"vrijednost"} ima ${J}${Q.maximum.toString()} ${I.unit??"elemenata"}`;return`Preveliko: očekivano da ${K??"vrijednost"} bude ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=z[Q.origin]??Q.origin;if(I)return`Premalo: očekivano da ${K} ima ${J}${Q.minimum.toString()} ${I.unit}`;return`Premalo: očekivano da ${K} bude ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Neispravan tekst: mora započinjati s "${J.prefix}"`;if(J.format==="ends_with")return`Neispravan tekst: mora završavati s "${J.suffix}"`;if(J.format==="includes")return`Neispravan tekst: mora sadržavati "${J.includes}"`;if(J.format==="regex")return`Neispravan tekst: mora odgovarati uzorku ${J.pattern}`;return`Neispravna ${U[J.format]??Q.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${Q.divisor}`;case"unrecognized_keys":return`Neprepoznat${Q.keys.length>1?"i ključevi":" ključ"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${z[Q.origin]??Q.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${z[Q.origin]??Q.origin}`;default:return"Neispravan unos"}}};var ur=m(()=>{$1()});function fC(){return{localeError:ak0()}}var ak0=()=>{let $={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function Y(Q){return $[Q]??null}let U={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},z={nan:"NaN",number:"szám",array:"tömb"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Érvénytelen bemenet: a várt érték instanceof ${Q.expected}, a kapott érték ${K}`;return`Érvénytelen bemenet: a várt érték ${J}, a kapott érték ${K}`}case"invalid_value":if(Q.values.length===1)return`Érvénytelen bemenet: a várt érték ${v0(Q.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Túl nagy: ${Q.origin??"érték"} mérete túl nagy ${J}${Q.maximum.toString()} ${I.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${Q.origin??"érték"} túl nagy: ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Túl kicsi: a bemeneti érték ${Q.origin} mérete túl kicsi ${J}${Q.minimum.toString()} ${I.unit}`;return`Túl kicsi: a bemeneti érték ${Q.origin} túl kicsi ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Érvénytelen string: "${J.prefix}" értékkel kell kezdődnie`;if(J.format==="ends_with")return`Érvénytelen string: "${J.suffix}" értékkel kell végződnie`;if(J.format==="includes")return`Érvénytelen string: "${J.includes}" értéket kell tartalmaznia`;if(J.format==="regex")return`Érvénytelen string: ${J.pattern} mintának kell megfelelnie`;return`Érvénytelen ${U[J.format]??Q.format}`}case"not_multiple_of":return`Érvénytelen szám: ${Q.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${Q.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${Q.origin}`;default:return"Érvénytelen bemenet"}}};var br=m(()=>{$1()});function ir($,Y,U){return Math.abs($)===1?Y:U}function rz($){if(!$)return"";let Y=["ա","ե","ը","ի","ո","ու","օ"],U=$[$.length-1];return $+(Y.includes(U)?"ն":"ը")}function uC(){return{localeError:tk0()}}var tk0=()=>{let $={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function Y(Q){return $[Q]??null}let U={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},z={nan:"NaN",number:"թիվ",array:"զանգված"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${Q.expected}, ստացվել է ${K}`;return`Սխալ մուտքագրում․ սպասվում էր ${J}, ստացվել է ${K}`}case"invalid_value":if(Q.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${v0(Q.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I){let K=Number(Q.maximum),G=ir(K,I.unit.one,I.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${rz(Q.origin??"արժեք")} կունենա ${J}${Q.maximum.toString()} ${G}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${rz(Q.origin??"արժեք")} լինի ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I){let K=Number(Q.minimum),G=ir(K,I.unit.one,I.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${rz(Q.origin)} կունենա ${J}${Q.minimum.toString()} ${G}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${rz(Q.origin)} լինի ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Սխալ տող․ պետք է սկսվի "${J.prefix}"-ով`;if(J.format==="ends_with")return`Սխալ տող․ պետք է ավարտվի "${J.suffix}"-ով`;if(J.format==="includes")return`Սխալ տող․ պետք է պարունակի "${J.includes}"`;if(J.format==="regex")return`Սխալ տող․ պետք է համապատասխանի ${J.pattern} ձևաչափին`;return`Սխալ ${U[J.format]??Q.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${Q.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${Q.keys.length>1?"ներ":""}. ${O0(Q.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${rz(Q.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${rz(Q.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};var cr=m(()=>{$1()});function bC(){return{localeError:ek0()}}var ek0=()=>{let $={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Input tidak valid: diharapkan instanceof ${Q.expected}, diterima ${K}`;return`Input tidak valid: diharapkan ${J}, diterima ${K}`}case"invalid_value":if(Q.values.length===1)return`Input tidak valid: diharapkan ${v0(Q.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Terlalu besar: diharapkan ${Q.origin??"value"} memiliki ${J}${Q.maximum.toString()} ${I.unit??"elemen"}`;return`Terlalu besar: diharapkan ${Q.origin??"value"} menjadi ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Terlalu kecil: diharapkan ${Q.origin} memiliki ${J}${Q.minimum.toString()} ${I.unit}`;return`Terlalu kecil: diharapkan ${Q.origin} menjadi ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`String tidak valid: harus dimulai dengan "${J.prefix}"`;if(J.format==="ends_with")return`String tidak valid: harus berakhir dengan "${J.suffix}"`;if(J.format==="includes")return`String tidak valid: harus menyertakan "${J.includes}"`;if(J.format==="regex")return`String tidak valid: harus sesuai pola ${J.pattern}`;return`${U[J.format]??Q.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${Q.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${Q.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${Q.origin}`;default:return"Input tidak valid"}}};var nr=m(()=>{$1()});function iC(){return{localeError:$x0()}}var $x0=()=>{let $={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function Y(Q){return $[Q]??null}let U={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",jwt:"JWT",template_literal:"gildi"},z={nan:"NaN",number:"númer",array:"fylki"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Rangt gildi: Þú slóst inn ${K} þar sem á að vera instanceof ${Q.expected}`;return`Rangt gildi: Þú slóst inn ${K} þar sem á að vera ${J}`}case"invalid_value":if(Q.values.length===1)return`Rangt gildi: gert ráð fyrir ${v0(Q.values[0])}`;return`Ógilt val: má vera eitt af eftirfarandi ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Of stórt: gert er ráð fyrir að ${Q.origin??"gildi"} hafi ${J}${Q.maximum.toString()} ${I.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${Q.origin??"gildi"} sé ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Of lítið: gert er ráð fyrir að ${Q.origin} hafi ${J}${Q.minimum.toString()} ${I.unit}`;return`Of lítið: gert er ráð fyrir að ${Q.origin} sé ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ógildur strengur: verður að byrja á "${J.prefix}"`;if(J.format==="ends_with")return`Ógildur strengur: verður að enda á "${J.suffix}"`;if(J.format==="includes")return`Ógildur strengur: verður að innihalda "${J.includes}"`;if(J.format==="regex")return`Ógildur strengur: verður að fylgja mynstri ${J.pattern}`;return`Rangt ${U[J.format]??Q.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${Q.divisor}`;case"unrecognized_keys":return`Óþekkt ${Q.keys.length>1?"ir lyklar":"ur lykill"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${Q.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${Q.origin}`;default:return"Rangt gildi"}}};var pr=m(()=>{$1()});function cC(){return{localeError:Yx0()}}var Yx0=()=>{let $={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},z={nan:"NaN",number:"numero",array:"vettore"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Input non valido: atteso instanceof ${Q.expected}, ricevuto ${K}`;return`Input non valido: atteso ${J}, ricevuto ${K}`}case"invalid_value":if(Q.values.length===1)return`Input non valido: atteso ${v0(Q.values[0])}`;return`Opzione non valida: atteso uno tra ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Troppo grande: ${Q.origin??"valore"} deve avere ${J}${Q.maximum.toString()} ${I.unit??"elementi"}`;return`Troppo grande: ${Q.origin??"valore"} deve essere ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Troppo piccolo: ${Q.origin} deve avere ${J}${Q.minimum.toString()} ${I.unit}`;return`Troppo piccolo: ${Q.origin} deve essere ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Stringa non valida: deve iniziare con "${J.prefix}"`;if(J.format==="ends_with")return`Stringa non valida: deve terminare con "${J.suffix}"`;if(J.format==="includes")return`Stringa non valida: deve includere "${J.includes}"`;if(J.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${J.pattern}`;return`Input non valido: ${U[J.format]??Q.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${Q.divisor}`;case"unrecognized_keys":return`Chiav${Q.keys.length>1?"i":"e"} non riconosciut${Q.keys.length>1?"e":"a"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${Q.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${Q.origin}`;default:return"Input non valido"}}};var dr=m(()=>{$1()});function nC(){return{localeError:Ux0()}}var Ux0=()=>{let $={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function Y(Q){return $[Q]??null}let U={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},z={nan:"NaN",number:"数値",array:"配列"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`無効な入力: instanceof ${Q.expected}が期待されましたが、${K}が入力されました`;return`無効な入力: ${J}が期待されましたが、${K}が入力されました`}case"invalid_value":if(Q.values.length===1)return`無効な入力: ${v0(Q.values[0])}が期待されました`;return`無効な選択: ${O0(Q.values,"、")}のいずれかである必要があります`;case"too_big":{let J=Q.inclusive?"以下である":"より小さい",I=Y(Q.origin);if(I)return`大きすぎる値: ${Q.origin??"値"}は${Q.maximum.toString()}${I.unit??"要素"}${J}必要があります`;return`大きすぎる値: ${Q.origin??"値"}は${Q.maximum.toString()}${J}必要があります`}case"too_small":{let J=Q.inclusive?"以上である":"より大きい",I=Y(Q.origin);if(I)return`小さすぎる値: ${Q.origin}は${Q.minimum.toString()}${I.unit}${J}必要があります`;return`小さすぎる値: ${Q.origin}は${Q.minimum.toString()}${J}必要があります`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`無効な文字列: "${J.prefix}"で始まる必要があります`;if(J.format==="ends_with")return`無効な文字列: "${J.suffix}"で終わる必要があります`;if(J.format==="includes")return`無効な文字列: "${J.includes}"を含む必要があります`;if(J.format==="regex")return`無効な文字列: パターン${J.pattern}に一致する必要があります`;return`無効な${U[J.format]??Q.format}`}case"not_multiple_of":return`無効な数値: ${Q.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${Q.keys.length>1?"群":""}: ${O0(Q.keys,"、")}`;case"invalid_key":return`${Q.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${Q.origin}内の無効な値`;default:return"無効な入力"}}};var mr=m(()=>{$1()});function pC(){return{localeError:zx0()}}var zx0=()=>{let $={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function Y(Q){return $[Q]??null}let U={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},z={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${Q.expected}, მიღებული ${K}`;return`არასწორი შეყვანა: მოსალოდნელი ${J}, მიღებული ${K}`}case"invalid_value":if(Q.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${v0(Q.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${O0(Q.values,"|")}-დან`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`ზედმეტად დიდი: მოსალოდნელი ${Q.origin??"მნიშვნელობა"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${Q.origin??"მნიშვნელობა"} იყოს ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`ზედმეტად პატარა: მოსალოდნელი ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${Q.origin} იყოს ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`არასწორი ველი: უნდა იწყებოდეს "${J.prefix}"-ით`;if(J.format==="ends_with")return`არასწორი ველი: უნდა მთავრდებოდეს "${J.suffix}"-ით`;if(J.format==="includes")return`არასწორი ველი: უნდა შეიცავდეს "${J.includes}"-ს`;if(J.format==="regex")return`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${J.pattern}`;return`არასწორი ${U[J.format]??Q.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${Q.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${Q.keys.length>1?"ები":"ი"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${Q.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${Q.origin}-ში`;default:return"არასწორი შეყვანა"}}};var lr=m(()=>{$1()});function XG(){return{localeError:Qx0()}}var Qx0=()=>{let $={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function Y(Q){return $[Q]??null}let U={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},z={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${Q.expected} ប៉ុន្តែទទួលបាន ${K}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${J} ប៉ុន្តែទទួលបាន ${K}`}case"invalid_value":if(Q.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${v0(Q.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`ធំពេក៖ ត្រូវការ ${Q.origin??"តម្លៃ"} ${J} ${Q.maximum.toString()} ${I.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${Q.origin??"តម្លៃ"} ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`តូចពេក៖ ត្រូវការ ${Q.origin} ${J} ${Q.minimum.toString()} ${I.unit}`;return`តូចពេក៖ ត្រូវការ ${Q.origin} ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${J.prefix}"`;if(J.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${J.suffix}"`;if(J.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${J.includes}"`;if(J.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${J.pattern}`;return`មិនត្រឹមត្រូវ៖ ${U[J.format]??Q.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${Q.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${O0(Q.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${Q.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${Q.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};var dC=m(()=>{$1()});function mC(){return XG()}var or=m(()=>{dC()});function lC(){return{localeError:Jx0()}}var Jx0=()=>{let $={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function Y(Q){return $[Q]??null}let U={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`잘못된 입력: 예상 타입은 instanceof ${Q.expected}, 받은 타입은 ${K}입니다`;return`잘못된 입력: 예상 타입은 ${J}, 받은 타입은 ${K}입니다`}case"invalid_value":if(Q.values.length===1)return`잘못된 입력: 값은 ${v0(Q.values[0])} 이어야 합니다`;return`잘못된 옵션: ${O0(Q.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let J=Q.inclusive?"이하":"미만",I=J==="미만"?"이어야 합니다":"여야 합니다",K=Y(Q.origin),G=K?.unit??"요소";if(K)return`${Q.origin??"값"}이 너무 큽니다: ${Q.maximum.toString()}${G} ${J}${I}`;return`${Q.origin??"값"}이 너무 큽니다: ${Q.maximum.toString()} ${J}${I}`}case"too_small":{let J=Q.inclusive?"이상":"초과",I=J==="이상"?"이어야 합니다":"여야 합니다",K=Y(Q.origin),G=K?.unit??"요소";if(K)return`${Q.origin??"값"}이 너무 작습니다: ${Q.minimum.toString()}${G} ${J}${I}`;return`${Q.origin??"값"}이 너무 작습니다: ${Q.minimum.toString()} ${J}${I}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`잘못된 문자열: "${J.prefix}"(으)로 시작해야 합니다`;if(J.format==="ends_with")return`잘못된 문자열: "${J.suffix}"(으)로 끝나야 합니다`;if(J.format==="includes")return`잘못된 문자열: "${J.includes}"을(를) 포함해야 합니다`;if(J.format==="regex")return`잘못된 문자열: 정규식 ${J.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${U[J.format]??Q.format}`}case"not_multiple_of":return`잘못된 숫자: ${Q.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${O0(Q.keys,", ")}`;case"invalid_key":return`잘못된 키: ${Q.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${Q.origin}`;default:return"잘못된 입력"}}};var rr=m(()=>{$1()});function sr($){let Y=Math.abs($),U=Y%10,z=Y%100;if(z>=11&&z<=19||U===0)return"many";if(U===1)return"one";return"few"}function oC(){return{localeError:Ix0()}}var ZG=($)=>{return $.charAt(0).toUpperCase()+$.slice(1)},Ix0=()=>{let $={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function Y(Q,J,I,K){let G=$[Q]??null;if(G===null)return G;return{unit:G.unit[J],verb:G.verb[K][I?"inclusive":"notInclusive"]}}let U={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},z={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Gautas tipas ${K}, o tikėtasi - instanceof ${Q.expected}`;return`Gautas tipas ${K}, o tikėtasi - ${J}`}case"invalid_value":if(Q.values.length===1)return`Privalo būti ${v0(Q.values[0])}`;return`Privalo būti vienas iš ${O0(Q.values,"|")} pasirinkimų`;case"too_big":{let J=z[Q.origin]??Q.origin,I=Y(Q.origin,sr(Number(Q.maximum)),Q.inclusive??!1,"smaller");if(I?.verb)return`${ZG(J??Q.origin??"reikšmė")} ${I.verb} ${Q.maximum.toString()} ${I.unit??"elementų"}`;let K=Q.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${ZG(J??Q.origin??"reikšmė")} turi būti ${K} ${Q.maximum.toString()} ${I?.unit}`}case"too_small":{let J=z[Q.origin]??Q.origin,I=Y(Q.origin,sr(Number(Q.minimum)),Q.inclusive??!1,"bigger");if(I?.verb)return`${ZG(J??Q.origin??"reikšmė")} ${I.verb} ${Q.minimum.toString()} ${I.unit??"elementų"}`;let K=Q.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${ZG(J??Q.origin??"reikšmė")} turi būti ${K} ${Q.minimum.toString()} ${I?.unit}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Eilutė privalo prasidėti "${J.prefix}"`;if(J.format==="ends_with")return`Eilutė privalo pasibaigti "${J.suffix}"`;if(J.format==="includes")return`Eilutė privalo įtraukti "${J.includes}"`;if(J.format==="regex")return`Eilutė privalo atitikti ${J.pattern}`;return`Neteisingas ${U[J.format]??Q.format}`}case"not_multiple_of":return`Skaičius privalo būti ${Q.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${Q.keys.length>1?"i":"as"} rakt${Q.keys.length>1?"ai":"as"}: ${O0(Q.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let J=z[Q.origin]??Q.origin;return`${ZG(J??Q.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};var ar=m(()=>{$1()});function rC(){return{localeError:Kx0()}}var Kx0=()=>{let $={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function Y(Q){return $[Q]??null}let U={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},z={nan:"NaN",number:"број",array:"низа"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Грешен внес: се очекува instanceof ${Q.expected}, примено ${K}`;return`Грешен внес: се очекува ${J}, примено ${K}`}case"invalid_value":if(Q.values.length===1)return`Invalid input: expected ${v0(Q.values[0])}`;return`Грешана опција: се очекува една ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Премногу голем: се очекува ${Q.origin??"вредноста"} да има ${J}${Q.maximum.toString()} ${I.unit??"елементи"}`;return`Премногу голем: се очекува ${Q.origin??"вредноста"} да биде ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Премногу мал: се очекува ${Q.origin} да има ${J}${Q.minimum.toString()} ${I.unit}`;return`Премногу мал: се очекува ${Q.origin} да биде ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Неважечка низа: мора да започнува со "${J.prefix}"`;if(J.format==="ends_with")return`Неважечка низа: мора да завршува со "${J.suffix}"`;if(J.format==="includes")return`Неважечка низа: мора да вклучува "${J.includes}"`;if(J.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${J.pattern}`;return`Invalid ${U[J.format]??Q.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${Q.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${Q.origin}`;default:return"Грешен внес"}}};var tr=m(()=>{$1()});function sC(){return{localeError:Gx0()}}var Gx0=()=>{let $={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},z={nan:"NaN",number:"nombor"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Input tidak sah: dijangka instanceof ${Q.expected}, diterima ${K}`;return`Input tidak sah: dijangka ${J}, diterima ${K}`}case"invalid_value":if(Q.values.length===1)return`Input tidak sah: dijangka ${v0(Q.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Terlalu besar: dijangka ${Q.origin??"nilai"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"elemen"}`;return`Terlalu besar: dijangka ${Q.origin??"nilai"} adalah ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Terlalu kecil: dijangka ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Terlalu kecil: dijangka ${Q.origin} adalah ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`String tidak sah: mesti bermula dengan "${J.prefix}"`;if(J.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${J.suffix}"`;if(J.format==="includes")return`String tidak sah: mesti mengandungi "${J.includes}"`;if(J.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${J.pattern}`;return`${U[J.format]??Q.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${Q.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${O0(Q.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${Q.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${Q.origin}`;default:return"Input tidak sah"}}};var er=m(()=>{$1()});function aC(){return{localeError:Hx0()}}var Hx0=()=>{let $={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function Y(Q){return $[Q]??null}let U={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},z={nan:"NaN",number:"getal"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ongeldige invoer: verwacht instanceof ${Q.expected}, ontving ${K}`;return`Ongeldige invoer: verwacht ${J}, ontving ${K}`}case"invalid_value":if(Q.values.length===1)return`Ongeldige invoer: verwacht ${v0(Q.values[0])}`;return`Ongeldige optie: verwacht één van ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=Q.origin==="date"?"laat":Q.origin==="string"?"lang":"groot";if(I)return`Te ${K}: verwacht dat ${Q.origin??"waarde"} ${J}${Q.maximum.toString()} ${I.unit??"elementen"} ${I.verb}`;return`Te ${K}: verwacht dat ${Q.origin??"waarde"} ${J}${Q.maximum.toString()} is`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=Q.origin==="date"?"vroeg":Q.origin==="string"?"kort":"klein";if(I)return`Te ${K}: verwacht dat ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} ${I.verb}`;return`Te ${K}: verwacht dat ${Q.origin} ${J}${Q.minimum.toString()} is`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ongeldige tekst: moet met "${J.prefix}" beginnen`;if(J.format==="ends_with")return`Ongeldige tekst: moet op "${J.suffix}" eindigen`;if(J.format==="includes")return`Ongeldige tekst: moet "${J.includes}" bevatten`;if(J.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${J.pattern}`;return`Ongeldig: ${U[J.format]??Q.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${Q.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${Q.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${Q.origin}`;default:return"Ongeldige invoer"}}};var $s=m(()=>{$1()});function tC(){return{localeError:Wx0()}}var Wx0=()=>{let $={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},z={nan:"NaN",number:"tall",array:"liste"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ugyldig input: forventet instanceof ${Q.expected}, fikk ${K}`;return`Ugyldig input: forventet ${J}, fikk ${K}`}case"invalid_value":if(Q.values.length===1)return`Ugyldig verdi: forventet ${v0(Q.values[0])}`;return`Ugyldig valg: forventet en av ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`For stor(t): forventet ${Q.origin??"value"} til å ha ${J}${Q.maximum.toString()} ${I.unit??"elementer"}`;return`For stor(t): forventet ${Q.origin??"value"} til å ha ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`For lite(n): forventet ${Q.origin} til å ha ${J}${Q.minimum.toString()} ${I.unit}`;return`For lite(n): forventet ${Q.origin} til å ha ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ugyldig streng: må starte med "${J.prefix}"`;if(J.format==="ends_with")return`Ugyldig streng: må ende med "${J.suffix}"`;if(J.format==="includes")return`Ugyldig streng: må inneholde "${J.includes}"`;if(J.format==="regex")return`Ugyldig streng: må matche mønsteret ${J.pattern}`;return`Ugyldig ${U[J.format]??Q.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${Q.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${Q.origin}`;default:return"Ugyldig input"}}};var Ys=m(()=>{$1()});function eC(){return{localeError:Xx0()}}var Xx0=()=>{let $={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function Y(Q){return $[Q]??null}let U={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},z={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Fâsit giren: umulan instanceof ${Q.expected}, alınan ${K}`;return`Fâsit giren: umulan ${J}, alınan ${K}`}case"invalid_value":if(Q.values.length===1)return`Fâsit giren: umulan ${v0(Q.values[0])}`;return`Fâsit tercih: mûteberler ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Fazla büyük: ${Q.origin??"value"}, ${J}${Q.maximum.toString()} ${I.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${Q.origin??"value"}, ${J}${Q.maximum.toString()} olmalıydı.`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Fazla küçük: ${Q.origin}, ${J}${Q.minimum.toString()} ${I.unit} sahip olmalıydı.`;return`Fazla küçük: ${Q.origin}, ${J}${Q.minimum.toString()} olmalıydı.`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Fâsit metin: "${J.prefix}" ile başlamalı.`;if(J.format==="ends_with")return`Fâsit metin: "${J.suffix}" ile bitmeli.`;if(J.format==="includes")return`Fâsit metin: "${J.includes}" ihtivâ etmeli.`;if(J.format==="regex")return`Fâsit metin: ${J.pattern} nakşına uymalı.`;return`Fâsit ${U[J.format]??Q.format}`}case"not_multiple_of":return`Fâsit sayı: ${Q.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${Q.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};var Us=m(()=>{$1()});function $R(){return{localeError:Zx0()}}var Zx0=()=>{let $={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function Y(Q){return $[Q]??null}let U={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},z={nan:"NaN",number:"عدد",array:"ارې"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`ناسم ورودي: باید instanceof ${Q.expected} وای, مګر ${K} ترلاسه شو`;return`ناسم ورودي: باید ${J} وای, مګر ${K} ترلاسه شو`}case"invalid_value":if(Q.values.length===1)return`ناسم ورودي: باید ${v0(Q.values[0])} وای`;return`ناسم انتخاب: باید یو له ${O0(Q.values,"|")} څخه وای`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`ډیر لوی: ${Q.origin??"ارزښت"} باید ${J}${Q.maximum.toString()} ${I.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${Q.origin??"ارزښت"} باید ${J}${Q.maximum.toString()} وي`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`ډیر کوچنی: ${Q.origin} باید ${J}${Q.minimum.toString()} ${I.unit} ولري`;return`ډیر کوچنی: ${Q.origin} باید ${J}${Q.minimum.toString()} وي`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`ناسم متن: باید د "${J.prefix}" سره پیل شي`;if(J.format==="ends_with")return`ناسم متن: باید د "${J.suffix}" سره پای ته ورسيږي`;if(J.format==="includes")return`ناسم متن: باید "${J.includes}" ولري`;if(J.format==="regex")return`ناسم متن: باید د ${J.pattern} سره مطابقت ولري`;return`${U[J.format]??Q.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${Q.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${Q.keys.length>1?"کلیډونه":"کلیډ"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${Q.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${Q.origin} کې`;default:return"ناسمه ورودي"}}};var zs=m(()=>{$1()});function YR(){return{localeError:qx0()}}var qx0=()=>{let $={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function Y(Q){return $[Q]??null}let U={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},z={nan:"NaN",number:"liczba",array:"tablica"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${Q.expected}, otrzymano ${K}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${J}, otrzymano ${K}`}case"invalid_value":if(Q.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${v0(Q.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Za duża wartość: oczekiwano, że ${Q.origin??"wartość"} będzie mieć ${J}${Q.maximum.toString()} ${I.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${Q.origin??"wartość"} będzie wynosić ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Za mała wartość: oczekiwano, że ${Q.origin??"wartość"} będzie mieć ${J}${Q.minimum.toString()} ${I.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${Q.origin??"wartość"} będzie wynosić ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${J.prefix}"`;if(J.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${J.suffix}"`;if(J.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${J.includes}"`;if(J.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${J.pattern}`;return`Nieprawidłow(y/a/e) ${U[J.format]??Q.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${Q.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${Q.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${Q.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};var Qs=m(()=>{$1()});function UR(){return{localeError:Vx0()}}var Vx0=()=>{let $={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function Y(Q){return $[Q]??null}let U={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},z={nan:"NaN",number:"número",null:"nulo"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Tipo inválido: esperado instanceof ${Q.expected}, recebido ${K}`;return`Tipo inválido: esperado ${J}, recebido ${K}`}case"invalid_value":if(Q.values.length===1)return`Entrada inválida: esperado ${v0(Q.values[0])}`;return`Opção inválida: esperada uma das ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Muito grande: esperado que ${Q.origin??"valor"} tivesse ${J}${Q.maximum.toString()} ${I.unit??"elementos"}`;return`Muito grande: esperado que ${Q.origin??"valor"} fosse ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Muito pequeno: esperado que ${Q.origin} tivesse ${J}${Q.minimum.toString()} ${I.unit}`;return`Muito pequeno: esperado que ${Q.origin} fosse ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Texto inválido: deve começar com "${J.prefix}"`;if(J.format==="ends_with")return`Texto inválido: deve terminar com "${J.suffix}"`;if(J.format==="includes")return`Texto inválido: deve incluir "${J.includes}"`;if(J.format==="regex")return`Texto inválido: deve corresponder ao padrão ${J.pattern}`;return`${U[J.format]??Q.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${Q.divisor}`;case"unrecognized_keys":return`Chave${Q.keys.length>1?"s":""} desconhecida${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Chave inválida em ${Q.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${Q.origin}`;default:return"Campo inválido"}}};var Js=m(()=>{$1()});function zR(){return{localeError:Lx0()}}var Lx0=()=>{let $={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function Y(Q){return $[Q]??null}let U={regex:"intrare",email:"adresă de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},z={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;return`Intrare invalidă: așteptat ${J}, primit ${K}`}case"invalid_value":if(Q.values.length===1)return`Intrare invalidă: așteptat ${v0(Q.values[0])}`;return`Opțiune invalidă: așteptat una dintre ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Prea mare: așteptat ca ${Q.origin??"valoarea"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"elemente"}`;return`Prea mare: așteptat ca ${Q.origin??"valoarea"} să fie ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Prea mic: așteptat ca ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Prea mic: așteptat ca ${Q.origin} să fie ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Șir invalid: trebuie să înceapă cu "${J.prefix}"`;if(J.format==="ends_with")return`Șir invalid: trebuie să se termine cu "${J.suffix}"`;if(J.format==="includes")return`Șir invalid: trebuie să includă "${J.includes}"`;if(J.format==="regex")return`Șir invalid: trebuie să se potrivească cu modelul ${J.pattern}`;return`Format invalid: ${U[J.format]??Q.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${Q.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${O0(Q.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${Q.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${Q.origin}`;default:return"Intrare invalidă"}}};var Is=m(()=>{$1()});function Ks($,Y,U,z){let Q=Math.abs($),J=Q%10,I=Q%100;if(I>=11&&I<=19)return z;if(J===1)return Y;if(J>=2&&J<=4)return U;return z}function QR(){return{localeError:Fx0()}}var Fx0=()=>{let $={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function Y(Q){return $[Q]??null}let U={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},z={nan:"NaN",number:"число",array:"массив"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Неверный ввод: ожидалось instanceof ${Q.expected}, получено ${K}`;return`Неверный ввод: ожидалось ${J}, получено ${K}`}case"invalid_value":if(Q.values.length===1)return`Неверный ввод: ожидалось ${v0(Q.values[0])}`;return`Неверный вариант: ожидалось одно из ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I){let K=Number(Q.maximum),G=Ks(K,I.unit.one,I.unit.few,I.unit.many);return`Слишком большое значение: ожидалось, что ${Q.origin??"значение"} будет иметь ${J}${Q.maximum.toString()} ${G}`}return`Слишком большое значение: ожидалось, что ${Q.origin??"значение"} будет ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I){let K=Number(Q.minimum),G=Ks(K,I.unit.one,I.unit.few,I.unit.many);return`Слишком маленькое значение: ожидалось, что ${Q.origin} будет иметь ${J}${Q.minimum.toString()} ${G}`}return`Слишком маленькое значение: ожидалось, что ${Q.origin} будет ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Неверная строка: должна начинаться с "${J.prefix}"`;if(J.format==="ends_with")return`Неверная строка: должна заканчиваться на "${J.suffix}"`;if(J.format==="includes")return`Неверная строка: должна содержать "${J.includes}"`;if(J.format==="regex")return`Неверная строка: должна соответствовать шаблону ${J.pattern}`;return`Неверный ${U[J.format]??Q.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${Q.divisor}`;case"unrecognized_keys":return`Нераспознанн${Q.keys.length>1?"ые":"ый"} ключ${Q.keys.length>1?"и":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${Q.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${Q.origin}`;default:return"Неверные входные данные"}}};var Gs=m(()=>{$1()});function JR(){return{localeError:wx0()}}var wx0=()=>{let $={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function Y(Q){return $[Q]??null}let U={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},z={nan:"NaN",number:"število",array:"tabela"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Neveljaven vnos: pričakovano instanceof ${Q.expected}, prejeto ${K}`;return`Neveljaven vnos: pričakovano ${J}, prejeto ${K}`}case"invalid_value":if(Q.values.length===1)return`Neveljaven vnos: pričakovano ${v0(Q.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Preveliko: pričakovano, da bo ${Q.origin??"vrednost"} imelo ${J}${Q.maximum.toString()} ${I.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${Q.origin??"vrednost"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Premajhno: pričakovano, da bo ${Q.origin} imelo ${J}${Q.minimum.toString()} ${I.unit}`;return`Premajhno: pričakovano, da bo ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Neveljaven niz: mora se začeti z "${J.prefix}"`;if(J.format==="ends_with")return`Neveljaven niz: mora se končati z "${J.suffix}"`;if(J.format==="includes")return`Neveljaven niz: mora vsebovati "${J.includes}"`;if(J.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${J.pattern}`;return`Neveljaven ${U[J.format]??Q.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${Q.divisor}`;case"unrecognized_keys":return`Neprepoznan${Q.keys.length>1?"i ključi":" ključ"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${Q.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${Q.origin}`;default:return"Neveljaven vnos"}}};var Hs=m(()=>{$1()});function IR(){return{localeError:Mx0()}}var Mx0=()=>{let $={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function Y(Q){return $[Q]??null}let U={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},z={nan:"NaN",number:"antal",array:"lista"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ogiltig inmatning: förväntat instanceof ${Q.expected}, fick ${K}`;return`Ogiltig inmatning: förväntat ${J}, fick ${K}`}case"invalid_value":if(Q.values.length===1)return`Ogiltig inmatning: förväntat ${v0(Q.values[0])}`;return`Ogiltigt val: förväntade en av ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`För stor(t): förväntade ${Q.origin??"värdet"} att ha ${J}${Q.maximum.toString()} ${I.unit??"element"}`;return`För stor(t): förväntat ${Q.origin??"värdet"} att ha ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`För lite(t): förväntade ${Q.origin??"värdet"} att ha ${J}${Q.minimum.toString()} ${I.unit}`;return`För lite(t): förväntade ${Q.origin??"värdet"} att ha ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ogiltig sträng: måste börja med "${J.prefix}"`;if(J.format==="ends_with")return`Ogiltig sträng: måste sluta med "${J.suffix}"`;if(J.format==="includes")return`Ogiltig sträng: måste innehålla "${J.includes}"`;if(J.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${J.pattern}"`;return`Ogiltig(t) ${U[J.format]??Q.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${Q.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${Q.origin??"värdet"}`;default:return"Ogiltig input"}}};var Ws=m(()=>{$1()});function KR(){return{localeError:Ox0()}}var Ox0=()=>{let $={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function Y(Q){return $[Q]??null}let U={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},z={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${Q.expected}, பெறப்பட்டது ${K}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${J}, பெறப்பட்டது ${K}`}case"invalid_value":if(Q.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${v0(Q.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${O0(Q.values,"|")} இல் ஒன்று`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${Q.origin??"மதிப்பு"} ${J}${Q.maximum.toString()} ${I.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${Q.origin??"மதிப்பு"} ${J}${Q.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${Q.origin} ${J}${Q.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`தவறான சரம்: "${J.prefix}" இல் தொடங்க வேண்டும்`;if(J.format==="ends_with")return`தவறான சரம்: "${J.suffix}" இல் முடிவடைய வேண்டும்`;if(J.format==="includes")return`தவறான சரம்: "${J.includes}" ஐ உள்ளடக்க வேண்டும்`;if(J.format==="regex")return`தவறான சரம்: ${J.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${U[J.format]??Q.format}`}case"not_multiple_of":return`தவறான எண்: ${Q.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${Q.keys.length>1?"கள்":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${Q.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};var Xs=m(()=>{$1()});function GR(){return{localeError:Nx0()}}var Nx0=()=>{let $={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function Y(Q){return $[Q]??null}let U={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},z={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${Q.expected} แต่ได้รับ ${K}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${J} แต่ได้รับ ${K}`}case"invalid_value":if(Q.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${v0(Q.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"ไม่เกิน":"น้อยกว่า",I=Y(Q.origin);if(I)return`เกินกำหนด: ${Q.origin??"ค่า"} ควรมี${J} ${Q.maximum.toString()} ${I.unit??"รายการ"}`;return`เกินกำหนด: ${Q.origin??"ค่า"} ควรมี${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?"อย่างน้อย":"มากกว่า",I=Y(Q.origin);if(I)return`น้อยกว่ากำหนด: ${Q.origin} ควรมี${J} ${Q.minimum.toString()} ${I.unit}`;return`น้อยกว่ากำหนด: ${Q.origin} ควรมี${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${J.prefix}"`;if(J.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${J.suffix}"`;if(J.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${J.includes}" อยู่ในข้อความ`;if(J.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${J.pattern}`;return`รูปแบบไม่ถูกต้อง: ${U[J.format]??Q.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${Q.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${O0(Q.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${Q.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${Q.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};var Zs=m(()=>{$1()});function HR(){return{localeError:Dx0()}}var Dx0=()=>{let $={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function Y(Q){return $[Q]??null}let U={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Geçersiz değer: beklenen instanceof ${Q.expected}, alınan ${K}`;return`Geçersiz değer: beklenen ${J}, alınan ${K}`}case"invalid_value":if(Q.values.length===1)return`Geçersiz değer: beklenen ${v0(Q.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Çok büyük: beklenen ${Q.origin??"değer"} ${J}${Q.maximum.toString()} ${I.unit??"öğe"}`;return`Çok büyük: beklenen ${Q.origin??"değer"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Çok küçük: beklenen ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit}`;return`Çok küçük: beklenen ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Geçersiz metin: "${J.prefix}" ile başlamalı`;if(J.format==="ends_with")return`Geçersiz metin: "${J.suffix}" ile bitmeli`;if(J.format==="includes")return`Geçersiz metin: "${J.includes}" içermeli`;if(J.format==="regex")return`Geçersiz metin: ${J.pattern} desenine uymalı`;return`Geçersiz ${U[J.format]??Q.format}`}case"not_multiple_of":return`Geçersiz sayı: ${Q.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${Q.keys.length>1?"lar":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${Q.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};var qs=m(()=>{$1()});function qG(){return{localeError:Ax0()}}var Ax0=()=>{let $={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function Y(Q){return $[Q]??null}let U={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},z={nan:"NaN",number:"число",array:"масив"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Неправильні вхідні дані: очікується instanceof ${Q.expected}, отримано ${K}`;return`Неправильні вхідні дані: очікується ${J}, отримано ${K}`}case"invalid_value":if(Q.values.length===1)return`Неправильні вхідні дані: очікується ${v0(Q.values[0])}`;return`Неправильна опція: очікується одне з ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Занадто велике: очікується, що ${Q.origin??"значення"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"елементів"}`;return`Занадто велике: очікується, що ${Q.origin??"значення"} буде ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Занадто мале: очікується, що ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Занадто мале: очікується, що ${Q.origin} буде ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Неправильний рядок: повинен починатися з "${J.prefix}"`;if(J.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${J.suffix}"`;if(J.format==="includes")return`Неправильний рядок: повинен містити "${J.includes}"`;if(J.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${J.pattern}`;return`Неправильний ${U[J.format]??Q.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${Q.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${Q.keys.length>1?"і":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${Q.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${Q.origin}`;default:return"Неправильні вхідні дані"}}};var WR=m(()=>{$1()});function XR(){return qG()}var Vs=m(()=>{WR()});function ZR(){return{localeError:Bx0()}}var Bx0=()=>{let $={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function Y(Q){return $[Q]??null}let U={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},z={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`غلط ان پٹ: instanceof ${Q.expected} متوقع تھا، ${K} موصول ہوا`;return`غلط ان پٹ: ${J} متوقع تھا، ${K} موصول ہوا`}case"invalid_value":if(Q.values.length===1)return`غلط ان پٹ: ${v0(Q.values[0])} متوقع تھا`;return`غلط آپشن: ${O0(Q.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`بہت بڑا: ${Q.origin??"ویلیو"} کے ${J}${Q.maximum.toString()} ${I.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${Q.origin??"ویلیو"} کا ${J}${Q.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`بہت چھوٹا: ${Q.origin} کے ${J}${Q.minimum.toString()} ${I.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${Q.origin} کا ${J}${Q.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`غلط سٹرنگ: "${J.prefix}" سے شروع ہونا چاہیے`;if(J.format==="ends_with")return`غلط سٹرنگ: "${J.suffix}" پر ختم ہونا چاہیے`;if(J.format==="includes")return`غلط سٹرنگ: "${J.includes}" شامل ہونا چاہیے`;if(J.format==="regex")return`غلط سٹرنگ: پیٹرن ${J.pattern} سے میچ ہونا چاہیے`;return`غلط ${U[J.format]??Q.format}`}case"not_multiple_of":return`غلط نمبر: ${Q.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${Q.keys.length>1?"ز":""}: ${O0(Q.keys,"، ")}`;case"invalid_key":return`${Q.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${Q.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};var Ls=m(()=>{$1()});function qR(){return{localeError:Px0()}}var Px0=()=>{let $={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function Y(Q){return $[Q]??null}let U={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},z={nan:"NaN",number:"raqam",array:"massiv"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${Q.expected}, qabul qilingan ${K}`;return`Noto‘g‘ri kirish: kutilgan ${J}, qabul qilingan ${K}`}case"invalid_value":if(Q.values.length===1)return`Noto‘g‘ri kirish: kutilgan ${v0(Q.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Juda katta: kutilgan ${Q.origin??"qiymat"} ${J}${Q.maximum.toString()} ${I.unit} ${I.verb}`;return`Juda katta: kutilgan ${Q.origin??"qiymat"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Juda kichik: kutilgan ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} ${I.verb}`;return`Juda kichik: kutilgan ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Noto‘g‘ri satr: "${J.prefix}" bilan boshlanishi kerak`;if(J.format==="ends_with")return`Noto‘g‘ri satr: "${J.suffix}" bilan tugashi kerak`;if(J.format==="includes")return`Noto‘g‘ri satr: "${J.includes}" ni o‘z ichiga olishi kerak`;if(J.format==="regex")return`Noto‘g‘ri satr: ${J.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${U[J.format]??Q.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${Q.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${Q.keys.length>1?"lar":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${Q.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};var Fs=m(()=>{$1()});function VR(){return{localeError:Tx0()}}var Tx0=()=>{let $={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function Y(Q){return $[Q]??null}let U={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},z={nan:"NaN",number:"số",array:"mảng"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Đầu vào không hợp lệ: mong đợi instanceof ${Q.expected}, nhận được ${K}`;return`Đầu vào không hợp lệ: mong đợi ${J}, nhận được ${K}`}case"invalid_value":if(Q.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${v0(Q.values[0])}`;return`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Quá lớn: mong đợi ${Q.origin??"giá trị"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"phần tử"}`;return`Quá lớn: mong đợi ${Q.origin??"giá trị"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Quá nhỏ: mong đợi ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Quá nhỏ: mong đợi ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${J.prefix}"`;if(J.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${J.suffix}"`;if(J.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${J.includes}"`;if(J.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${J.pattern}`;return`${U[J.format]??Q.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${Q.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${O0(Q.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${Q.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${Q.origin}`;default:return"Đầu vào không hợp lệ"}}};var ws=m(()=>{$1()});function LR(){return{localeError:jx0()}}var jx0=()=>{let $={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function Y(Q){return $[Q]??null}let U={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},z={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`无效输入:期望 instanceof ${Q.expected},实际接收 ${K}`;return`无效输入:期望 ${J},实际接收 ${K}`}case"invalid_value":if(Q.values.length===1)return`无效输入:期望 ${v0(Q.values[0])}`;return`无效选项:期望以下之一 ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`数值过大:期望 ${Q.origin??"值"} ${J}${Q.maximum.toString()} ${I.unit??"个元素"}`;return`数值过大:期望 ${Q.origin??"值"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`数值过小:期望 ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit}`;return`数值过小:期望 ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`无效字符串:必须以 "${J.prefix}" 开头`;if(J.format==="ends_with")return`无效字符串:必须以 "${J.suffix}" 结尾`;if(J.format==="includes")return`无效字符串:必须包含 "${J.includes}"`;if(J.format==="regex")return`无效字符串:必须满足正则表达式 ${J.pattern}`;return`无效${U[J.format]??Q.format}`}case"not_multiple_of":return`无效数字:必须是 ${Q.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${O0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${Q.origin} 中包含无效值(value)`;default:return"无效输入"}}};var Ms=m(()=>{$1()});function FR(){return{localeError:Ex0()}}var Ex0=()=>{let $={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function Y(Q){return $[Q]??null}let U={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`無效的輸入值:預期為 instanceof ${Q.expected},但收到 ${K}`;return`無效的輸入值:預期為 ${J},但收到 ${K}`}case"invalid_value":if(Q.values.length===1)return`無效的輸入值:預期為 ${v0(Q.values[0])}`;return`無效的選項:預期為以下其中之一 ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`數值過大:預期 ${Q.origin??"值"} 應為 ${J}${Q.maximum.toString()} ${I.unit??"個元素"}`;return`數值過大:預期 ${Q.origin??"值"} 應為 ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`數值過小:預期 ${Q.origin} 應為 ${J}${Q.minimum.toString()} ${I.unit}`;return`數值過小:預期 ${Q.origin} 應為 ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`無效的字串:必須以 "${J.prefix}" 開頭`;if(J.format==="ends_with")return`無效的字串:必須以 "${J.suffix}" 結尾`;if(J.format==="includes")return`無效的字串:必須包含 "${J.includes}"`;if(J.format==="regex")return`無效的字串:必須符合格式 ${J.pattern}`;return`無效的 ${U[J.format]??Q.format}`}case"not_multiple_of":return`無效的數字:必須為 ${Q.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${Q.keys.length>1?"們":""}:${O0(Q.keys,"、")}`;case"invalid_key":return`${Q.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${Q.origin} 中有無效的值`;default:return"無效的輸入值"}}};var Os=m(()=>{$1()});function wR(){return{localeError:Cx0()}}var Cx0=()=>{let $={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function Y(Q){return $[Q]??null}let U={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},z={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${Q.expected}, àmọ̀ a rí ${K}`;return`Ìbáwọlé aṣìṣe: a ní láti fi ${J}, àmọ̀ a rí ${K}`}case"invalid_value":if(Q.values.length===1)return`Ìbáwọlé aṣìṣe: a ní láti fi ${v0(Q.values[0])}`;return`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${Q.origin??"iye"} ${I.verb} ${J}${Q.maximum} ${I.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${J}${Q.maximum}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Kéré ju: a ní láti jẹ́ pé ${Q.origin} ${I.verb} ${J}${Q.minimum} ${I.unit}`;return`Kéré ju: a ní láti jẹ́ ${J}${Q.minimum}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${J.prefix}"`;if(J.format==="ends_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${J.suffix}"`;if(J.format==="includes")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${J.includes}"`;if(J.format==="regex")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${J.pattern}`;return`Aṣìṣe: ${U[J.format]??Q.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${Q.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${O0(Q.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${Q.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${Q.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};var Ns=m(()=>{$1()});var VG={};x8(VG,{zhTW:()=>FR,zhCN:()=>LR,yo:()=>wR,vi:()=>VR,uz:()=>qR,ur:()=>ZR,uk:()=>qG,ua:()=>XR,tr:()=>HR,th:()=>GR,ta:()=>KR,sv:()=>IR,sl:()=>JR,ru:()=>QR,ro:()=>zR,pt:()=>UR,ps:()=>$R,pl:()=>YR,ota:()=>eC,no:()=>tC,nl:()=>aC,ms:()=>sC,mk:()=>rC,lt:()=>oC,ko:()=>lC,km:()=>XG,kh:()=>mC,ka:()=>pC,ja:()=>nC,it:()=>cC,is:()=>iC,id:()=>bC,hy:()=>uC,hu:()=>fC,hr:()=>xC,he:()=>kC,frCA:()=>yC,fr:()=>gC,fi:()=>SC,fa:()=>hC,es:()=>vC,eo:()=>_C,en:()=>WG,el:()=>CC,de:()=>EC,da:()=>jC,cs:()=>TC,ca:()=>PC,bg:()=>BC,be:()=>AC,az:()=>DC,ar:()=>NC});var MR=m(()=>{Ar();Br();Tr();jr();Er();Cr();Rr();_r();vr();RC();hr();Sr();gr();yr();kr();xr();fr();ur();br();cr();nr();pr();dr();mr();lr();or();dC();rr();ar();tr();er();$s();Ys();Us();zs();Qs();Js();Is();Gs();Hs();Ws();Xs();Zs();qs();Vs();WR();Ls();Fs();ws();Ms();Os();Ns()});class DR{constructor(){this._map=new WeakMap,this._idmap=new Map}add($,...Y){let U=Y[0];if(this._map.set($,U),U&&typeof U==="object"&&"id"in U)this._idmap.set(U.id,$);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove($){let Y=this._map.get($);if(Y&&typeof Y==="object"&&"id"in Y)this._idmap.delete(Y.id);return this._map.delete($),this}get($){let Y=$._zod.parent;if(Y){let U={...this.get(Y)??{}};delete U.id;let z={...U,...this._map.get($)};return Object.keys(z).length?z:void 0}return this._map.get($)}has($){return this._map.has($)}}function wV(){return new DR}var Ds,OR,NR,n6;var LG=m(()=>{OR=Symbol("ZodOutput"),NR=Symbol("ZodInput");(Ds=globalThis).__zod_globalRegistry??(Ds.__zod_globalRegistry=wV());n6=globalThis.__zod_globalRegistry});function AR($,Y){return new $({type:"string",...x0(Y)})}function BR($,Y){return new $({type:"string",coerce:!0,...x0(Y)})}function MV($,Y){return new $({type:"string",format:"email",check:"string_format",abort:!1,...x0(Y)})}function FG($,Y){return new $({type:"string",format:"guid",check:"string_format",abort:!1,...x0(Y)})}function OV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,...x0(Y)})}function NV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...x0(Y)})}function DV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...x0(Y)})}function AV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...x0(Y)})}function wG($,Y){return new $({type:"string",format:"url",check:"string_format",abort:!1,...x0(Y)})}function BV($,Y){return new $({type:"string",format:"emoji",check:"string_format",abort:!1,...x0(Y)})}function PV($,Y){return new $({type:"string",format:"nanoid",check:"string_format",abort:!1,...x0(Y)})}function TV($,Y){return new $({type:"string",format:"cuid",check:"string_format",abort:!1,...x0(Y)})}function jV($,Y){return new $({type:"string",format:"cuid2",check:"string_format",abort:!1,...x0(Y)})}function EV($,Y){return new $({type:"string",format:"ulid",check:"string_format",abort:!1,...x0(Y)})}function CV($,Y){return new $({type:"string",format:"xid",check:"string_format",abort:!1,...x0(Y)})}function RV($,Y){return new $({type:"string",format:"ksuid",check:"string_format",abort:!1,...x0(Y)})}function _V($,Y){return new $({type:"string",format:"ipv4",check:"string_format",abort:!1,...x0(Y)})}function vV($,Y){return new $({type:"string",format:"ipv6",check:"string_format",abort:!1,...x0(Y)})}function PR($,Y){return new $({type:"string",format:"mac",check:"string_format",abort:!1,...x0(Y)})}function hV($,Y){return new $({type:"string",format:"cidrv4",check:"string_format",abort:!1,...x0(Y)})}function SV($,Y){return new $({type:"string",format:"cidrv6",check:"string_format",abort:!1,...x0(Y)})}function gV($,Y){return new $({type:"string",format:"base64",check:"string_format",abort:!1,...x0(Y)})}function yV($,Y){return new $({type:"string",format:"base64url",check:"string_format",abort:!1,...x0(Y)})}function kV($,Y){return new $({type:"string",format:"e164",check:"string_format",abort:!1,...x0(Y)})}function xV($,Y){return new $({type:"string",format:"jwt",check:"string_format",abort:!1,...x0(Y)})}function jR($,Y){return new $({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...x0(Y)})}function ER($,Y){return new $({type:"string",format:"date",check:"string_format",...x0(Y)})}function CR($,Y){return new $({type:"string",format:"time",check:"string_format",precision:null,...x0(Y)})}function RR($,Y){return new $({type:"string",format:"duration",check:"string_format",...x0(Y)})}function _R($,Y){return new $({type:"number",checks:[],...x0(Y)})}function vR($,Y){return new $({type:"number",coerce:!0,checks:[],...x0(Y)})}function hR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"safeint",...x0(Y)})}function SR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"float32",...x0(Y)})}function gR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"float64",...x0(Y)})}function yR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"int32",...x0(Y)})}function kR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"uint32",...x0(Y)})}function xR($,Y){return new $({type:"boolean",...x0(Y)})}function fR($,Y){return new $({type:"boolean",coerce:!0,...x0(Y)})}function uR($,Y){return new $({type:"bigint",...x0(Y)})}function bR($,Y){return new $({type:"bigint",coerce:!0,...x0(Y)})}function iR($,Y){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...x0(Y)})}function cR($,Y){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...x0(Y)})}function nR($,Y){return new $({type:"symbol",...x0(Y)})}function pR($,Y){return new $({type:"undefined",...x0(Y)})}function dR($,Y){return new $({type:"null",...x0(Y)})}function mR($){return new $({type:"any"})}function lR($){return new $({type:"unknown"})}function oR($,Y){return new $({type:"never",...x0(Y)})}function rR($,Y){return new $({type:"void",...x0(Y)})}function sR($,Y){return new $({type:"date",...x0(Y)})}function aR($,Y){return new $({type:"date",coerce:!0,...x0(Y)})}function tR($,Y){return new $({type:"nan",...x0(Y)})}function u5($,Y){return new QV({check:"less_than",...x0(Y),value:$,inclusive:!1})}function U$($,Y){return new QV({check:"less_than",...x0(Y),value:$,inclusive:!0})}function b5($,Y){return new JV({check:"greater_than",...x0(Y),value:$,inclusive:!1})}function B8($,Y){return new JV({check:"greater_than",...x0(Y),value:$,inclusive:!0})}function fV($){return b5(0,$)}function uV($){return u5(0,$)}function bV($){return U$(0,$)}function iV($){return B8(0,$)}function W7($,Y){return new nj({check:"multiple_of",...x0(Y),value:$})}function X7($,Y){return new mj({check:"max_size",...x0(Y),maximum:$})}function i5($,Y){return new lj({check:"min_size",...x0(Y),minimum:$})}function CY($,Y){return new oj({check:"size_equals",...x0(Y),size:$})}function RY($,Y){return new rj({check:"max_length",...x0(Y),maximum:$})}function n9($,Y){return new sj({check:"min_length",...x0(Y),minimum:$})}function _Y($,Y){return new aj({check:"length_equals",...x0(Y),length:$})}function sz($,Y){return new tj({check:"string_format",format:"regex",...x0(Y),pattern:$})}function az($){return new ej({check:"string_format",format:"lowercase",...x0($)})}function tz($){return new $E({check:"string_format",format:"uppercase",...x0($)})}function ez($,Y){return new YE({check:"string_format",format:"includes",...x0(Y),includes:$})}function $Q($,Y){return new UE({check:"string_format",format:"starts_with",...x0(Y),prefix:$})}function YQ($,Y){return new zE({check:"string_format",format:"ends_with",...x0(Y),suffix:$})}function cV($,Y,U){return new QE({check:"property",property:$,schema:Y,...x0(U)})}function UQ($,Y){return new JE({check:"mime_type",mime:$,...x0(Y)})}function Y5($){return new IE({check:"overwrite",tx:$})}function zQ($){return Y5((Y)=>Y.normalize($))}function QQ(){return Y5(($)=>$.trim())}function JQ(){return Y5(($)=>$.toLowerCase())}function IQ(){return Y5(($)=>$.toUpperCase())}function KQ(){return Y5(($)=>$j($))}function eR($,Y,U){return new $({type:"array",element:Y,...x0(U)})}function _x0($,Y,U){return new $({type:"union",options:Y,...x0(U)})}function vx0($,Y,U){return new $({type:"union",options:Y,inclusive:!1,...x0(U)})}function hx0($,Y,U,z){return new $({type:"union",options:U,discriminator:Y,...x0(z)})}function Sx0($,Y,U){return new $({type:"intersection",left:Y,right:U})}function gx0($,Y,U,z){let Q=U instanceof q1;return new $({type:"tuple",items:Y,rest:Q?U:null,...x0(Q?z:U)})}function yx0($,Y,U,z){return new $({type:"record",keyType:Y,valueType:U,...x0(z)})}function kx0($,Y,U,z){return new $({type:"map",keyType:Y,valueType:U,...x0(z)})}function xx0($,Y,U){return new $({type:"set",valueType:Y,...x0(U)})}function fx0($,Y,U){let z=Array.isArray(Y)?Object.fromEntries(Y.map((Q)=>[Q,Q])):Y;return new $({type:"enum",entries:z,...x0(U)})}function ux0($,Y,U){return new $({type:"enum",entries:Y,...x0(U)})}function bx0($,Y,U){return new $({type:"literal",values:Array.isArray(Y)?Y:[Y],...x0(U)})}function $_($,Y){return new $({type:"file",...x0(Y)})}function ix0($,Y){return new $({type:"transform",transform:Y})}function cx0($,Y){return new $({type:"optional",innerType:Y})}function nx0($,Y){return new $({type:"nullable",innerType:Y})}function px0($,Y,U){return new $({type:"default",innerType:Y,get defaultValue(){return typeof U==="function"?U():Uj(U)}})}function dx0($,Y,U){return new $({type:"nonoptional",innerType:Y,...x0(U)})}function mx0($,Y){return new $({type:"success",innerType:Y})}function lx0($,Y,U){return new $({type:"catch",innerType:Y,catchValue:typeof U==="function"?U:()=>U})}function ox0($,Y,U){return new $({type:"pipe",in:Y,out:U})}function rx0($,Y){return new $({type:"readonly",innerType:Y})}function sx0($,Y,U){return new $({type:"template_literal",parts:Y,...x0(U)})}function ax0($,Y){return new $({type:"lazy",getter:Y})}function tx0($,Y){return new $({type:"promise",innerType:Y})}function Y_($,Y,U){let z=x0(U);return z.abort??(z.abort=!0),new $({type:"custom",check:"custom",fn:Y,...z})}function U_($,Y,U){return new $({type:"custom",check:"custom",fn:Y,...x0(U)})}function z_($,Y){let U=As((z)=>{return z.addIssue=(Q)=>{if(typeof Q==="string")z.issues.push(nz(Q,z.value,U._zod.def));else{let J=Q;if(J.fatal)J.continue=!1;J.code??(J.code="custom"),J.input??(J.input=z.value),J.inst??(J.inst=U),J.continue??(J.continue=!U._zod.def.abort),z.issues.push(nz(J))}},$(z.value,z)},Y);return U}function As($,Y){let U=new L4({check:"custom",...x0(Y)});return U._zod.check=$,U}function Q_($){let Y=new L4({check:"describe"});return Y._zod.onattach=[(U)=>{let z=n6.get(U)??{};n6.add(U,{...z,description:$})}],Y._zod.check=()=>{},Y}function J_($){let Y=new L4({check:"meta"});return Y._zod.onattach=[(U)=>{let z=n6.get(U)??{};n6.add(U,{...z,...$})}],Y._zod.check=()=>{},Y}function I_($,Y){let U=x0(Y),z=U.truthy??["true","1","yes","on","y","enabled"],Q=U.falsy??["false","0","no","off","n","disabled"];if(U.case!=="sensitive")z=z.map((q)=>typeof q==="string"?q.toLowerCase():q),Q=Q.map((q)=>typeof q==="string"?q.toLowerCase():q);let J=new Set(z),I=new Set(Q),K=$.Codec??HG,G=$.Boolean??KG,W=new($.String??EY)({type:"string",error:U.error}),X=new G({type:"boolean",error:U.error}),Z=new K({type:"pipe",in:W,out:X,transform:(q,V)=>{let F=q;if(U.case!=="sensitive")F=F.toLowerCase();if(J.has(F))return!0;else if(I.has(F))return!1;else return V.issues.push({code:"invalid_value",expected:"stringbool",values:[...J,...I],input:V.value,inst:Z,continue:!1}),{}},reverseTransform:(q,V)=>{if(q===!0)return z[0]||"true";else return Q[0]||"false"},error:U.error});return Z}function GQ($,Y,U,z={}){let Q=x0(z),J={...x0(z),check:"string_format",type:"string",format:Y,fn:typeof U==="function"?U:(K)=>U.test(K),...Q};if(U instanceof RegExp)J.pattern=U;return new $(J)}var TR;var Bs=m(()=>{IV();LG();OC();$1();TR={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}});function Z7($){let Y=$?.target??"draft-2020-12";if(Y==="draft-4")Y="draft-04";if(Y==="draft-7")Y="draft-07";return{processors:$.processors??{},metadataRegistry:$?.metadata??n6,target:Y,unrepresentable:$?.unrepresentable??"throw",override:$?.override??(()=>{}),io:$?.io??"output",counter:0,seen:new Map,cycles:$?.cycles??"ref",reused:$?.reused??"inline",external:$?.external??void 0}}function I4($,Y,U={path:[],schemaPath:[]}){var z;let Q=$._zod.def,J=Y.seen.get($);if(J){if(J.count++,U.schemaPath.includes($))J.cycle=U.path;return J.schema}let I={schema:{},count:1,cycle:void 0,path:U.path};Y.seen.set($,I);let K=$._zod.toJSONSchema?.();if(K)I.schema=K;else{let W={...U,schemaPath:[...U.schemaPath,$],path:U.path};if($._zod.processJSONSchema)$._zod.processJSONSchema(Y,I.schema,W);else{let Z=I.schema,q=Y.processors[Q.type];if(!q)throw Error(`[toJSONSchema]: Non-representable type encountered: ${Q.type}`);q($,Y,Z,W)}let X=$._zod.parent;if(X){if(!I.ref)I.ref=X;I4(X,Y,W),Y.seen.get(X).isParent=!0}}let G=Y.metadataRegistry.get($);if(G)Object.assign(I.schema,G);if(Y.io==="input"&&P8($))delete I.schema.examples,delete I.schema.default;if(Y.io==="input"&&"_prefault"in I.schema)(z=I.schema).default??(z.default=I.schema._prefault);return delete I.schema._prefault,Y.seen.get($).schema}function q7($,Y){let U=$.seen.get(Y);if(!U)throw Error("Unprocessed schema. This is a bug in Zod.");let z=new Map;for(let I of $.seen.entries()){let K=$.metadataRegistry.get(I[0])?.id;if(K){let G=z.get(K);if(G&&G!==I[0])throw Error(`Duplicate schema id "${K}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);z.set(K,I[0])}}let Q=(I)=>{let K=$.target==="draft-2020-12"?"$defs":"definitions";if($.external){let X=$.external.registry.get(I[0])?.id,Z=$.external.uri??((V)=>V);if(X)return{ref:Z(X)};let q=I[1].defId??I[1].schema.id??`schema${$.counter++}`;return I[1].defId=q,{defId:q,ref:`${Z("__shared")}#/${K}/${q}`}}if(I[1]===U)return{ref:"#"};let H=`${"#"}/${K}/`,W=I[1].schema.id??`__schema${$.counter++}`;return{defId:W,ref:H+W}},J=(I)=>{if(I[1].schema.$ref)return;let K=I[1],{ref:G,defId:H}=Q(I);if(K.def={...K.schema},H)K.defId=H;let W=K.schema;for(let X in W)delete W[X];W.$ref=G};if($.cycles==="throw")for(let I of $.seen.entries()){let K=I[1];if(K.cycle)throw Error(`Cycle detected: #/${K.cycle?.join("/")}/ + `)}q.write("payload.value = newResult;"),q.write("return payload;");let N=q.compile();return(O,D)=>N(Z,O,D)},J,I=TY,K=!AY.jitless,H=K&&Yj.value,W=Y.catchall,X;$._zod.parse=(Z,q)=>{X??(X=z.value);let V=Z.value;if(!I(V))return Z.issues.push({expected:"object",code:"invalid_type",input:V,inst:$}),Z;if(K&&H&&q?.async===!1&&q.jitless!==!0){if(!J)J=Q(Y.shape);if(Z=J(Z,q),!W)return Z;return Nr([],V,Z,q,X,$)}return U(Z,q)}});GG=H0("$ZodUnion",($,Y)=>{q1.init($,Y),E1($._zod,"optin",()=>Y.options.some((z)=>z._zod.optin==="optional")?"optional":void 0),E1($._zod,"optout",()=>Y.options.some((z)=>z._zod.optout==="optional")?"optional":void 0),E1($._zod,"values",()=>{if(Y.options.every((z)=>z._zod.values))return new Set(Y.options.flatMap((z)=>Array.from(z._zod.values)));return}),E1($._zod,"pattern",()=>{if(Y.options.every((z)=>z._zod.pattern)){let z=Y.options.map((Q)=>Q._zod.pattern);return new RegExp(`^(${z.map((Q)=>aK(Q.source)).join("|")})$`)}return});let U=Y.options.length===1?Y.options[0]._zod.run:null;$._zod.parse=(z,Q)=>{if(U)return U(z,Q);let J=!1,I=[];for(let K of Y.options){let G=K._zod.run({value:z.value,issues:[]},Q);if(G instanceof Promise)I.push(G),J=!0;else{if(G.issues.length===0)return G;I.push(G)}}if(!J)return Qr(I,z,$,Q);return Promise.all(I).then((K)=>{return Qr(K,z,$,Q)})}});oE=H0("$ZodXor",($,Y)=>{GG.init($,Y),Y.inclusive=!1;let U=Y.options.length===1?Y.options[0]._zod.run:null;$._zod.parse=(z,Q)=>{if(U)return U(z,Q);let J=!1,I=[];for(let K of Y.options){let G=K._zod.run({value:z.value,issues:[]},Q);if(G instanceof Promise)I.push(G),J=!0;else I.push(G)}if(!J)return Jr(I,z,$,Q);return Promise.all(I).then((K)=>{return Jr(K,z,$,Q)})}}),rE=H0("$ZodDiscriminatedUnion",($,Y)=>{Y.inclusive=!1,GG.init($,Y);let U=$._zod.parse;E1($._zod,"propValues",()=>{let Q={};for(let J of Y.options){let I=J._zod.propValues;if(!I||Object.keys(I).length===0)throw Error(`Invalid discriminated union option at index "${Y.options.indexOf(J)}"`);for(let[K,G]of Object.entries(I)){if(!Q[K])Q[K]=new Set;for(let H of G)Q[K].add(H)}}return Q});let z=cz(()=>{let Q=Y.options,J=new Map;for(let I of Q){let K=I._zod.propValues?.[Y.discriminator];if(!K||K.size===0)throw Error(`Invalid discriminated union option at index "${Y.options.indexOf(I)}"`);for(let G of K){if(J.has(G))throw Error(`Duplicate discriminator value "${String(G)}"`);J.set(G,I)}}return J});$._zod.parse=(Q,J)=>{let I=Q.value;if(!TY(I))return Q.issues.push({code:"invalid_type",expected:"object",input:I,inst:$}),Q;let K=z.value.get(I?.[Y.discriminator]);if(K)return K._zod.run(Q,J);if(Y.unionFallback||J.direction==="backward")return U(Q,J);return Q.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:Y.discriminator,options:Array.from(z.value.keys()),input:I,path:[Y.discriminator],inst:$}),Q}}),sE=H0("$ZodIntersection",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value,J=Y.left._zod.run({value:Q,issues:[]},z),I=Y.right._zod.run({value:Q,issues:[]},z);if(J instanceof Promise||I instanceof Promise)return Promise.all([J,I]).then(([G,H])=>{return Ir(U,G,H)});return Ir(U,J,I)}});VV=H0("$ZodTuple",($,Y)=>{q1.init($,Y);let U=Y.items;$._zod.parse=(z,Q)=>{let J=z.value;if(!Array.isArray(J))return z.issues.push({input:J,inst:$,expected:"tuple",code:"invalid_type"}),z;z.value=[];let I=[],K=Kr(U,"optin"),G=Kr(U,"optout");if(!Y.rest){if(J.lengthU.length)z.issues.push({code:"too_big",maximum:U.length,inclusive:!0,input:J,inst:$,origin:"array"})}let H=Array(U.length);for(let W=0;W{H[W]=Z}));else H[W]=X}if(Y.rest){let W=U.length-1,X=J.slice(U.length);for(let Z of X){W++;let q=Y.rest._zod.run({value:Z,issues:[]},Q);if(q instanceof Promise)I.push(q.then((V)=>Gr(V,z,W)));else Gr(q,z,W)}}if(I.length)return Promise.all(I).then(()=>Hr(H,z,U,J,G));return Hr(H,z,U,J,G)}});aE=H0("$ZodRecord",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(!G7(Q))return U.issues.push({expected:"record",code:"invalid_type",input:Q,inst:$}),U;let J=[],I=Y.keyType._zod.values;if(I){U.value={};let K=new Set;for(let H of I)if(typeof H==="string"||typeof H==="number"||typeof H==="symbol"){K.add(typeof H==="number"?H.toString():H);let W=Y.keyType._zod.run({value:H,issues:[]},z);if(W instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(W.issues.length){U.issues.push({code:"invalid_key",origin:"record",issues:W.issues.map((q)=>A8(q,z,a4())),input:H,path:[H],inst:$});continue}let X=W.value,Z=Y.valueType._zod.run({value:Q[H],issues:[]},z);if(Z instanceof Promise)J.push(Z.then((q)=>{if(q.issues.length)U.issues.push(...f8(H,q.issues));U.value[X]=q.value}));else{if(Z.issues.length)U.issues.push(...f8(H,Z.issues));U.value[X]=Z.value}}let G;for(let H in Q)if(!K.has(H))G=G??[],G.push(H);if(G&&G.length>0)U.issues.push({code:"unrecognized_keys",input:Q,inst:$,keys:G})}else{U.value={};for(let K of Reflect.ownKeys(Q)){if(K==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(Q,K))continue;let G=Y.keyType._zod.run({value:K,issues:[]},z);if(G instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof K==="string"&&QG.test(K)&&G.issues.length){let X=Y.keyType._zod.run({value:Number(K),issues:[]},z);if(X instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(X.issues.length===0)G=X}if(G.issues.length){if(Y.mode==="loose")U.value[K]=Q[K];else U.issues.push({code:"invalid_key",origin:"record",issues:G.issues.map((X)=>A8(X,z,a4())),input:K,path:[K],inst:$});continue}let W=Y.valueType._zod.run({value:Q[K],issues:[]},z);if(W instanceof Promise)J.push(W.then((X)=>{if(X.issues.length)U.issues.push(...f8(K,X.issues));U.value[G.value]=X.value}));else{if(W.issues.length)U.issues.push(...f8(K,W.issues));U.value[G.value]=W.value}}}if(J.length)return Promise.all(J).then(()=>U);return U}}),tE=H0("$ZodMap",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(!(Q instanceof Map))return U.issues.push({expected:"map",code:"invalid_type",input:Q,inst:$}),U;let J=[];U.value=new Map;for(let[I,K]of Q){let G=Y.keyType._zod.run({value:I,issues:[]},z),H=Y.valueType._zod.run({value:K,issues:[]},z);if(G instanceof Promise||H instanceof Promise)J.push(Promise.all([G,H]).then(([W,X])=>{Wr(W,X,U,I,Q,$,z)}));else Wr(G,H,U,I,Q,$,z)}if(J.length)return Promise.all(J).then(()=>U);return U}});eE=H0("$ZodSet",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(!(Q instanceof Set))return U.issues.push({input:Q,inst:$,expected:"set",code:"invalid_type"}),U;let J=[];U.value=new Set;for(let I of Q){let K=Y.valueType._zod.run({value:I,issues:[]},z);if(K instanceof Promise)J.push(K.then((G)=>Xr(G,U)));else Xr(K,U)}if(J.length)return Promise.all(J).then(()=>U);return U}});$C=H0("$ZodEnum",($,Y)=>{q1.init($,Y);let U=sK(Y.entries),z=new Set(U);$._zod.values=z,$._zod.pattern=new RegExp(`^(${U.filter((Q)=>tK.has(typeof Q)).map((Q)=>typeof Q==="string"?N$(Q):Q.toString()).join("|")})$`),$._zod.parse=(Q,J)=>{let I=Q.value;if(z.has(I))return Q;return Q.issues.push({code:"invalid_value",values:U,input:I,inst:$}),Q}}),YC=H0("$ZodLiteral",($,Y)=>{if(q1.init($,Y),Y.values.length===0)throw Error("Cannot create literal schema with no valid values");let U=new Set(Y.values);$._zod.values=U,$._zod.pattern=new RegExp(`^(${Y.values.map((z)=>typeof z==="string"?N$(z):z?N$(z.toString()):String(z)).join("|")})$`),$._zod.parse=(z,Q)=>{let J=z.value;if(U.has(J))return z;return z.issues.push({code:"invalid_value",values:Y.values,input:J,inst:$}),z}}),UC=H0("$ZodFile",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{let Q=U.value;if(Q instanceof File)return U;return U.issues.push({expected:"file",code:"invalid_type",input:Q,inst:$}),U}}),zC=H0("$ZodTransform",($,Y)=>{q1.init($,Y),$._zod.optin="optional",$._zod.parse=(U,z)=>{if(z.direction==="backward")throw new BY($.constructor.name);let Q=Y.transform(U.value,U);if(z.async)return(Q instanceof Promise?Q:Promise.resolve(Q)).then((I)=>{return U.value=I,U.fallback=!0,U});if(Q instanceof Promise)throw new u5;return U.value=Q,U.fallback=!0,U}});LV=H0("$ZodOptional",($,Y)=>{q1.init($,Y),$._zod.optin="optional",$._zod.optout="optional",E1($._zod,"values",()=>{return Y.innerType._zod.values?new Set([...Y.innerType._zod.values,void 0]):void 0}),E1($._zod,"pattern",()=>{let U=Y.innerType._zod.pattern;return U?new RegExp(`^(${aK(U.source)})?$`):void 0}),$._zod.parse=(U,z)=>{if(Y.innerType._zod.optin==="optional"){let Q=U.value,J=Y.innerType._zod.run(U,z);if(J instanceof Promise)return J.then((I)=>Zr(I,Q));return Zr(J,Q)}if(U.value===void 0)return U;return Y.innerType._zod.run(U,z)}}),QC=H0("$ZodExactOptional",($,Y)=>{LV.init($,Y),E1($._zod,"values",()=>Y.innerType._zod.values),E1($._zod,"pattern",()=>Y.innerType._zod.pattern),$._zod.parse=(U,z)=>{return Y.innerType._zod.run(U,z)}}),JC=H0("$ZodNullable",($,Y)=>{q1.init($,Y),E1($._zod,"optin",()=>Y.innerType._zod.optin),E1($._zod,"optout",()=>Y.innerType._zod.optout),E1($._zod,"pattern",()=>{let U=Y.innerType._zod.pattern;return U?new RegExp(`^(${aK(U.source)}|null)$`):void 0}),E1($._zod,"values",()=>{return Y.innerType._zod.values?new Set([...Y.innerType._zod.values,null]):void 0}),$._zod.parse=(U,z)=>{if(U.value===null)return U;return Y.innerType._zod.run(U,z)}}),IC=H0("$ZodDefault",($,Y)=>{q1.init($,Y),$._zod.optin="optional",E1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(U,z)=>{if(z.direction==="backward")return Y.innerType._zod.run(U,z);if(U.value===void 0)return U.value=Y.defaultValue,U;let Q=Y.innerType._zod.run(U,z);if(Q instanceof Promise)return Q.then((J)=>qr(J,Y));return qr(Q,Y)}});KC=H0("$ZodPrefault",($,Y)=>{q1.init($,Y),$._zod.optin="optional",E1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(U,z)=>{if(z.direction==="backward")return Y.innerType._zod.run(U,z);if(U.value===void 0)U.value=Y.defaultValue;return Y.innerType._zod.run(U,z)}}),GC=H0("$ZodNonOptional",($,Y)=>{q1.init($,Y),E1($._zod,"values",()=>{let U=Y.innerType._zod.values;return U?new Set([...U].filter((z)=>z!==void 0)):void 0}),$._zod.parse=(U,z)=>{let Q=Y.innerType._zod.run(U,z);if(Q instanceof Promise)return Q.then((J)=>Vr(J,$));return Vr(Q,$)}});HC=H0("$ZodSuccess",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{if(z.direction==="backward")throw new BY("ZodSuccess");let Q=Y.innerType._zod.run(U,z);if(Q instanceof Promise)return Q.then((J)=>{return U.value=J.issues.length===0,U});return U.value=Q.issues.length===0,U}}),WC=H0("$ZodCatch",($,Y)=>{q1.init($,Y),$._zod.optin="optional",E1($._zod,"optout",()=>Y.innerType._zod.optout),E1($._zod,"values",()=>Y.innerType._zod.values),$._zod.parse=(U,z)=>{if(z.direction==="backward")return Y.innerType._zod.run(U,z);let Q=Y.innerType._zod.run(U,z);if(Q instanceof Promise)return Q.then((J)=>{if(U.value=J.value,J.issues.length)U.value=Y.catchValue({...U,error:{issues:J.issues.map((I)=>A8(I,z,a4()))},input:U.value}),U.issues=[],U.fallback=!0;return U});if(U.value=Q.value,Q.issues.length)U.value=Y.catchValue({...U,error:{issues:Q.issues.map((J)=>A8(J,z,a4()))},input:U.value}),U.issues=[],U.fallback=!0;return U}}),XC=H0("$ZodNaN",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{if(typeof U.value!=="number"||!Number.isNaN(U.value))return U.issues.push({input:U.value,inst:$,expected:"nan",code:"invalid_type"}),U;return U}}),FV=H0("$ZodPipe",($,Y)=>{q1.init($,Y),E1($._zod,"values",()=>Y.in._zod.values),E1($._zod,"optin",()=>Y.in._zod.optin),E1($._zod,"optout",()=>Y.out._zod.optout),E1($._zod,"propValues",()=>Y.in._zod.propValues),$._zod.parse=(U,z)=>{if(z.direction==="backward"){let J=Y.out._zod.run(U,z);if(J instanceof Promise)return J.then((I)=>GV(I,Y.in,z));return GV(J,Y.in,z)}let Q=Y.in._zod.run(U,z);if(Q instanceof Promise)return Q.then((J)=>GV(J,Y.out,z));return GV(Q,Y.out,z)}});HG=H0("$ZodCodec",($,Y)=>{q1.init($,Y),E1($._zod,"values",()=>Y.in._zod.values),E1($._zod,"optin",()=>Y.in._zod.optin),E1($._zod,"optout",()=>Y.out._zod.optout),E1($._zod,"propValues",()=>Y.in._zod.propValues),$._zod.parse=(U,z)=>{if((z.direction||"forward")==="forward"){let J=Y.in._zod.run(U,z);if(J instanceof Promise)return J.then((I)=>HV(I,Y,z));return HV(J,Y,z)}else{let J=Y.out._zod.run(U,z);if(J instanceof Promise)return J.then((I)=>HV(I,Y,z));return HV(J,Y,z)}}});ZC=H0("$ZodPreprocess",($,Y)=>{FV.init($,Y)}),qC=H0("$ZodReadonly",($,Y)=>{q1.init($,Y),E1($._zod,"propValues",()=>Y.innerType._zod.propValues),E1($._zod,"values",()=>Y.innerType._zod.values),E1($._zod,"optin",()=>Y.innerType?._zod?.optin),E1($._zod,"optout",()=>Y.innerType?._zod?.optout),$._zod.parse=(U,z)=>{if(z.direction==="backward")return Y.innerType._zod.run(U,z);let Q=Y.innerType._zod.run(U,z);if(Q instanceof Promise)return Q.then(Lr);return Lr(Q)}});VC=H0("$ZodTemplateLiteral",($,Y)=>{q1.init($,Y);let U=[];for(let z of Y.parts)if(typeof z==="object"&&z!==null){if(!z._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...z._zod.traits].shift()}`);let Q=z._zod.pattern instanceof RegExp?z._zod.pattern.source:z._zod.pattern;if(!Q)throw Error(`Invalid template literal part: ${z._zod.traits}`);let J=Q.startsWith("^")?1:0,I=Q.endsWith("$")?Q.length-1:Q.length;U.push(Q.slice(J,I))}else if(z===null||zj.has(typeof z))U.push(N$(`${z}`));else throw Error(`Invalid template literal part: ${z}`);$._zod.pattern=new RegExp(`^${U.join("")}$`),$._zod.parse=(z,Q)=>{if(typeof z.value!=="string")return z.issues.push({input:z.value,inst:$,expected:"string",code:"invalid_type"}),z;if($._zod.pattern.lastIndex=0,!$._zod.pattern.test(z.value))return z.issues.push({input:z.value,inst:$,code:"invalid_format",format:Y.format??"template_literal",pattern:$._zod.pattern.source}),z;return z}}),LC=H0("$ZodFunction",($,Y)=>{return q1.init($,Y),$._def=Y,$._zod.def=Y,$.implement=(U)=>{if(typeof U!=="function")throw Error("implement() must be called with a function");return function(...z){let Q=$._def.input?mq($._def.input,z):z,J=Reflect.apply(U,this,Q);if($._def.output)return mq($._def.output,J);return J}},$.implementAsync=(U)=>{if(typeof U!=="function")throw Error("implementAsync() must be called with a function");return async function(...z){let Q=$._def.input?await lq($._def.input,z):z,J=await Reflect.apply(U,this,Q);if($._def.output)return await lq($._def.output,J);return J}},$._zod.parse=(U,z)=>{if(typeof U.value!=="function")return U.issues.push({code:"invalid_type",expected:"function",input:U.value,inst:$}),U;if($._def.output&&$._def.output._zod.def.type==="promise")U.value=$.implementAsync(U.value);else U.value=$.implement(U.value);return U},$.input=(...U)=>{let z=$.constructor;if(Array.isArray(U[0]))return new z({type:"function",input:new VV({type:"tuple",items:U[0],rest:U[1]}),output:$._def.output});return new z({type:"function",input:U[0],output:$._def.output})},$.output=(U)=>{return new $.constructor({type:"function",input:$._def.input,output:U})},$}),FC=H0("$ZodPromise",($,Y)=>{q1.init($,Y),$._zod.parse=(U,z)=>{return Promise.resolve(U.value).then((Q)=>Y.innerType._zod.run({value:Q,issues:[]},z))}}),wC=H0("$ZodLazy",($,Y)=>{q1.init($,Y),E1($._zod,"innerType",()=>{let U=Y;if(!U._cachedInner)U._cachedInner=Y.getter();return U._cachedInner}),E1($._zod,"pattern",()=>$._zod.innerType?._zod?.pattern),E1($._zod,"propValues",()=>$._zod.innerType?._zod?.propValues),E1($._zod,"optin",()=>$._zod.innerType?._zod?.optin??void 0),E1($._zod,"optout",()=>$._zod.innerType?._zod?.optout??void 0),$._zod.parse=(U,z)=>{return $._zod.innerType._zod.run(U,z)}}),MC=H0("$ZodCustom",($,Y)=>{L4.init($,Y),q1.init($,Y),$._zod.parse=(U,z)=>{return U},$._zod.check=(U)=>{let z=U.value,Q=Y.fn(z);if(Q instanceof Promise)return Q.then((J)=>Fr(J,U,z,$));Fr(Q,U,z,$);return}})});function NC(){return{localeError:Sk0()}}var Sk0=()=>{let $={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function Y(Q){return $[Q]??null}let U={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`مدخلات غير مقبولة: يفترض إدخال instanceof ${Q.expected}، ولكن تم إدخال ${K}`;return`مدخلات غير مقبولة: يفترض إدخال ${J}، ولكن تم إدخال ${K}`}case"invalid_value":if(Q.values.length===1)return`مدخلات غير مقبولة: يفترض إدخال ${v0(Q.values[0])}`;return`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return` أكبر من اللازم: يفترض أن تكون ${Q.origin??"القيمة"} ${J} ${Q.maximum.toString()} ${I.unit??"عنصر"}`;return`أكبر من اللازم: يفترض أن تكون ${Q.origin??"القيمة"} ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`أصغر من اللازم: يفترض لـ ${Q.origin} أن يكون ${J} ${Q.minimum.toString()} ${I.unit}`;return`أصغر من اللازم: يفترض لـ ${Q.origin} أن يكون ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`نَص غير مقبول: يجب أن يبدأ بـ "${Q.prefix}"`;if(J.format==="ends_with")return`نَص غير مقبول: يجب أن ينتهي بـ "${J.suffix}"`;if(J.format==="includes")return`نَص غير مقبول: يجب أن يتضمَّن "${J.includes}"`;if(J.format==="regex")return`نَص غير مقبول: يجب أن يطابق النمط ${J.pattern}`;return`${U[J.format]??Q.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${Q.divisor}`;case"unrecognized_keys":return`معرف${Q.keys.length>1?"ات":""} غريب${Q.keys.length>1?"ة":""}: ${O0(Q.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${Q.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${Q.origin}`;default:return"مدخل غير مقبول"}}};var Ar=m(()=>{$1()});function DC(){return{localeError:gk0()}}var gk0=()=>{let $={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Yanlış dəyər: gözlənilən instanceof ${Q.expected}, daxil olan ${K}`;return`Yanlış dəyər: gözlənilən ${J}, daxil olan ${K}`}case"invalid_value":if(Q.values.length===1)return`Yanlış dəyər: gözlənilən ${v0(Q.values[0])}`;return`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Çox böyük: gözlənilən ${Q.origin??"dəyər"} ${J}${Q.maximum.toString()} ${I.unit??"element"}`;return`Çox böyük: gözlənilən ${Q.origin??"dəyər"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Çox kiçik: gözlənilən ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit}`;return`Çox kiçik: gözlənilən ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Yanlış mətn: "${J.prefix}" ilə başlamalıdır`;if(J.format==="ends_with")return`Yanlış mətn: "${J.suffix}" ilə bitməlidir`;if(J.format==="includes")return`Yanlış mətn: "${J.includes}" daxil olmalıdır`;if(J.format==="regex")return`Yanlış mətn: ${J.pattern} şablonuna uyğun olmalıdır`;return`Yanlış ${U[J.format]??Q.format}`}case"not_multiple_of":return`Yanlış ədəd: ${Q.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${Q.keys.length>1?"lar":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${Q.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};var Br=m(()=>{$1()});function Pr($,Y,U,z){let Q=Math.abs($),J=Q%10,I=Q%100;if(I>=11&&I<=19)return z;if(J===1)return Y;if(J>=2&&J<=4)return U;return z}function AC(){return{localeError:yk0()}}var yk0=()=>{let $={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function Y(Q){return $[Q]??null}let U={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},z={nan:"NaN",number:"лік",array:"масіў"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Няправільны ўвод: чакаўся instanceof ${Q.expected}, атрымана ${K}`;return`Няправільны ўвод: чакаўся ${J}, атрымана ${K}`}case"invalid_value":if(Q.values.length===1)return`Няправільны ўвод: чакалася ${v0(Q.values[0])}`;return`Няправільны варыянт: чакаўся адзін з ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I){let K=Number(Q.maximum),G=Pr(K,I.unit.one,I.unit.few,I.unit.many);return`Занадта вялікі: чакалася, што ${Q.origin??"значэнне"} павінна ${I.verb} ${J}${Q.maximum.toString()} ${G}`}return`Занадта вялікі: чакалася, што ${Q.origin??"значэнне"} павінна быць ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I){let K=Number(Q.minimum),G=Pr(K,I.unit.one,I.unit.few,I.unit.many);return`Занадта малы: чакалася, што ${Q.origin} павінна ${I.verb} ${J}${Q.minimum.toString()} ${G}`}return`Занадта малы: чакалася, што ${Q.origin} павінна быць ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Няправільны радок: павінен пачынацца з "${J.prefix}"`;if(J.format==="ends_with")return`Няправільны радок: павінен заканчвацца на "${J.suffix}"`;if(J.format==="includes")return`Няправільны радок: павінен змяшчаць "${J.includes}"`;if(J.format==="regex")return`Няправільны радок: павінен адпавядаць шаблону ${J.pattern}`;return`Няправільны ${U[J.format]??Q.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${Q.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${Q.keys.length>1?"ключы":"ключ"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${Q.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${Q.origin}`;default:return"Няправільны ўвод"}}};var Tr=m(()=>{$1()});function BC(){return{localeError:kk0()}}var kk0=()=>{let $={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function Y(Q){return $[Q]??null}let U={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},z={nan:"NaN",number:"число",array:"масив"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Невалиден вход: очакван instanceof ${Q.expected}, получен ${K}`;return`Невалиден вход: очакван ${J}, получен ${K}`}case"invalid_value":if(Q.values.length===1)return`Невалиден вход: очакван ${v0(Q.values[0])}`;return`Невалидна опция: очаквано едно от ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Твърде голямо: очаква се ${Q.origin??"стойност"} да съдържа ${J}${Q.maximum.toString()} ${I.unit??"елемента"}`;return`Твърде голямо: очаква се ${Q.origin??"стойност"} да бъде ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Твърде малко: очаква се ${Q.origin} да съдържа ${J}${Q.minimum.toString()} ${I.unit}`;return`Твърде малко: очаква се ${Q.origin} да бъде ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Невалиден низ: трябва да започва с "${J.prefix}"`;if(J.format==="ends_with")return`Невалиден низ: трябва да завършва с "${J.suffix}"`;if(J.format==="includes")return`Невалиден низ: трябва да включва "${J.includes}"`;if(J.format==="regex")return`Невалиден низ: трябва да съвпада с ${J.pattern}`;let I="Невалиден";if(J.format==="emoji")I="Невалидно";if(J.format==="datetime")I="Невалидно";if(J.format==="date")I="Невалидна";if(J.format==="time")I="Невалидно";if(J.format==="duration")I="Невалидна";return`${I} ${U[J.format]??Q.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${Q.divisor}`;case"unrecognized_keys":return`Неразпознат${Q.keys.length>1?"и":""} ключ${Q.keys.length>1?"ове":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${Q.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${Q.origin}`;default:return"Невалиден вход"}}};var jr=m(()=>{$1()});function PC(){return{localeError:xk0()}}var xk0=()=>{let $={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function Y(Q){return $[Q]??null}let U={regex:"entrada",email:"adreça electrònica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adreça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Tipus invàlid: s'esperava instanceof ${Q.expected}, s'ha rebut ${K}`;return`Tipus invàlid: s'esperava ${J}, s'ha rebut ${K}`}case"invalid_value":if(Q.values.length===1)return`Valor invàlid: s'esperava ${v0(Q.values[0])}`;return`Opció invàlida: s'esperava una de ${O0(Q.values," o ")}`;case"too_big":{let J=Q.inclusive?"com a màxim":"menys de",I=Y(Q.origin);if(I)return`Massa gran: s'esperava que ${Q.origin??"el valor"} contingués ${J} ${Q.maximum.toString()} ${I.unit??"elements"}`;return`Massa gran: s'esperava que ${Q.origin??"el valor"} fos ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?"com a mínim":"més de",I=Y(Q.origin);if(I)return`Massa petit: s'esperava que ${Q.origin} contingués ${J} ${Q.minimum.toString()} ${I.unit}`;return`Massa petit: s'esperava que ${Q.origin} fos ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Format invàlid: ha de començar amb "${J.prefix}"`;if(J.format==="ends_with")return`Format invàlid: ha d'acabar amb "${J.suffix}"`;if(J.format==="includes")return`Format invàlid: ha d'incloure "${J.includes}"`;if(J.format==="regex")return`Format invàlid: ha de coincidir amb el patró ${J.pattern}`;return`Format invàlid per a ${U[J.format]??Q.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${Q.divisor}`;case"unrecognized_keys":return`Clau${Q.keys.length>1?"s":""} no reconeguda${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${Q.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${Q.origin}`;default:return"Entrada invàlida"}}};var Er=m(()=>{$1()});function TC(){return{localeError:fk0()}}var fk0=()=>{let $={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function Y(Q){return $[Q]??null}let U={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},z={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Neplatný vstup: očekáváno instanceof ${Q.expected}, obdrženo ${K}`;return`Neplatný vstup: očekáváno ${J}, obdrženo ${K}`}case"invalid_value":if(Q.values.length===1)return`Neplatný vstup: očekáváno ${v0(Q.values[0])}`;return`Neplatná možnost: očekávána jedna z hodnot ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Hodnota je příliš velká: ${Q.origin??"hodnota"} musí mít ${J}${Q.maximum.toString()} ${I.unit??"prvků"}`;return`Hodnota je příliš velká: ${Q.origin??"hodnota"} musí být ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Hodnota je příliš malá: ${Q.origin??"hodnota"} musí mít ${J}${Q.minimum.toString()} ${I.unit??"prvků"}`;return`Hodnota je příliš malá: ${Q.origin??"hodnota"} musí být ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Neplatný řetězec: musí začínat na "${J.prefix}"`;if(J.format==="ends_with")return`Neplatný řetězec: musí končit na "${J.suffix}"`;if(J.format==="includes")return`Neplatný řetězec: musí obsahovat "${J.includes}"`;if(J.format==="regex")return`Neplatný řetězec: musí odpovídat vzoru ${J.pattern}`;return`Neplatný formát ${U[J.format]??Q.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${Q.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${O0(Q.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${Q.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${Q.origin}`;default:return"Neplatný vstup"}}};var Cr=m(()=>{$1()});function jC(){return{localeError:uk0()}}var uk0=()=>{let $={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslæt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},z={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ugyldigt input: forventede instanceof ${Q.expected}, fik ${K}`;return`Ugyldigt input: forventede ${J}, fik ${K}`}case"invalid_value":if(Q.values.length===1)return`Ugyldig værdi: forventede ${v0(Q.values[0])}`;return`Ugyldigt valg: forventede en af følgende ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=z[Q.origin]??Q.origin;if(I)return`For stor: forventede ${K??"value"} ${I.verb} ${J} ${Q.maximum.toString()} ${I.unit??"elementer"}`;return`For stor: forventede ${K??"value"} havde ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=z[Q.origin]??Q.origin;if(I)return`For lille: forventede ${K} ${I.verb} ${J} ${Q.minimum.toString()} ${I.unit}`;return`For lille: forventede ${K} havde ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ugyldig streng: skal starte med "${J.prefix}"`;if(J.format==="ends_with")return`Ugyldig streng: skal ende med "${J.suffix}"`;if(J.format==="includes")return`Ugyldig streng: skal indeholde "${J.includes}"`;if(J.format==="regex")return`Ugyldig streng: skal matche mønsteret ${J.pattern}`;return`Ugyldig ${U[J.format]??Q.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${Q.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${Q.origin}`;default:return"Ugyldigt input"}}};var Rr=m(()=>{$1()});function EC(){return{localeError:bk0()}}var bk0=()=>{let $={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function Y(Q){return $[Q]??null}let U={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},z={nan:"NaN",number:"Zahl",array:"Array"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ungültige Eingabe: erwartet instanceof ${Q.expected}, erhalten ${K}`;return`Ungültige Eingabe: erwartet ${J}, erhalten ${K}`}case"invalid_value":if(Q.values.length===1)return`Ungültige Eingabe: erwartet ${v0(Q.values[0])}`;return`Ungültige Option: erwartet eine von ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Zu groß: erwartet, dass ${Q.origin??"Wert"} ${J}${Q.maximum.toString()} ${I.unit??"Elemente"} hat`;return`Zu groß: erwartet, dass ${Q.origin??"Wert"} ${J}${Q.maximum.toString()} ist`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Zu klein: erwartet, dass ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} hat`;return`Zu klein: erwartet, dass ${Q.origin} ${J}${Q.minimum.toString()} ist`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ungültiger String: muss mit "${J.prefix}" beginnen`;if(J.format==="ends_with")return`Ungültiger String: muss mit "${J.suffix}" enden`;if(J.format==="includes")return`Ungültiger String: muss "${J.includes}" enthalten`;if(J.format==="regex")return`Ungültiger String: muss dem Muster ${J.pattern} entsprechen`;return`Ungültig: ${U[J.format]??Q.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${Q.divisor} sein`;case"unrecognized_keys":return`${Q.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${Q.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${Q.origin}`;default:return"Ungültige Eingabe"}}};var _r=m(()=>{$1()});function CC(){return{localeError:ik0()}}var ik0=()=>{let $={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function Y(Q){return $[Q]??null}let U={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(typeof Q.expected==="string"&&/^[A-Z]/.test(Q.expected))return`Μη έγκυρη είσοδος: αναμενόταν instanceof ${Q.expected}, λήφθηκε ${K}`;return`Μη έγκυρη είσοδος: αναμενόταν ${J}, λήφθηκε ${K}`}case"invalid_value":if(Q.values.length===1)return`Μη έγκυρη είσοδος: αναμενόταν ${v0(Q.values[0])}`;return`Μη έγκυρη επιλογή: αναμενόταν ένα από ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Πολύ μεγάλο: αναμενόταν ${Q.origin??"τιμή"} να έχει ${J}${Q.maximum.toString()} ${I.unit??"στοιχεία"}`;return`Πολύ μεγάλο: αναμενόταν ${Q.origin??"τιμή"} να είναι ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Πολύ μικρό: αναμενόταν ${Q.origin} να έχει ${J}${Q.minimum.toString()} ${I.unit}`;return`Πολύ μικρό: αναμενόταν ${Q.origin} να είναι ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${J.prefix}"`;if(J.format==="ends_with")return`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${J.suffix}"`;if(J.format==="includes")return`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${J.includes}"`;if(J.format==="regex")return`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${J.pattern}`;return`Μη έγκυρο: ${U[J.format]??Q.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${Q.divisor}`;case"unrecognized_keys":return`Άγνωστ${Q.keys.length>1?"α":"ο"} κλειδ${Q.keys.length>1?"ιά":"ί"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${Q.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${Q.origin}`;default:return"Μη έγκυρη είσοδος"}}};var vr=m(()=>{$1()});function WG(){return{localeError:ck0()}}var ck0=()=>{let $={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;return`Invalid input: expected ${J}, received ${K}`}case"invalid_value":if(Q.values.length===1)return`Invalid input: expected ${v0(Q.values[0])}`;return`Invalid option: expected one of ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Too big: expected ${Q.origin??"value"} to have ${J}${Q.maximum.toString()} ${I.unit??"elements"}`;return`Too big: expected ${Q.origin??"value"} to be ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Too small: expected ${Q.origin} to have ${J}${Q.minimum.toString()} ${I.unit}`;return`Too small: expected ${Q.origin} to be ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Invalid string: must start with "${J.prefix}"`;if(J.format==="ends_with")return`Invalid string: must end with "${J.suffix}"`;if(J.format==="includes")return`Invalid string: must include "${J.includes}"`;if(J.format==="regex")return`Invalid string: must match pattern ${J.pattern}`;return`Invalid ${U[J.format]??Q.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${Q.divisor}`;case"unrecognized_keys":return`Unrecognized key${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Invalid key in ${Q.origin}`;case"invalid_union":if(Q.options&&Array.isArray(Q.options)&&Q.options.length>0)return`Invalid discriminator value. Expected ${Q.options.map((I)=>`'${I}'`).join(" | ")}`;return"Invalid input";case"invalid_element":return`Invalid value in ${Q.origin}`;default:return"Invalid input"}}};var RC=m(()=>{$1()});function _C(){return{localeError:nk0()}}var nk0=()=>{let $={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function Y(Q){return $[Q]??null}let U={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},z={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Nevalida enigo: atendiĝis instanceof ${Q.expected}, riceviĝis ${K}`;return`Nevalida enigo: atendiĝis ${J}, riceviĝis ${K}`}case"invalid_value":if(Q.values.length===1)return`Nevalida enigo: atendiĝis ${v0(Q.values[0])}`;return`Nevalida opcio: atendiĝis unu el ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Tro granda: atendiĝis ke ${Q.origin??"valoro"} havu ${J}${Q.maximum.toString()} ${I.unit??"elementojn"}`;return`Tro granda: atendiĝis ke ${Q.origin??"valoro"} havu ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Tro malgranda: atendiĝis ke ${Q.origin} havu ${J}${Q.minimum.toString()} ${I.unit}`;return`Tro malgranda: atendiĝis ke ${Q.origin} estu ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Nevalida karaktraro: devas komenciĝi per "${J.prefix}"`;if(J.format==="ends_with")return`Nevalida karaktraro: devas finiĝi per "${J.suffix}"`;if(J.format==="includes")return`Nevalida karaktraro: devas inkluzivi "${J.includes}"`;if(J.format==="regex")return`Nevalida karaktraro: devas kongrui kun la modelo ${J.pattern}`;return`Nevalida ${U[J.format]??Q.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${Q.divisor}`;case"unrecognized_keys":return`Nekonata${Q.keys.length>1?"j":""} ŝlosilo${Q.keys.length>1?"j":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${Q.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${Q.origin}`;default:return"Nevalida enigo"}}};var hr=m(()=>{$1()});function vC(){return{localeError:pk0()}}var pk0=()=>{let $={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function Y(Q){return $[Q]??null}let U={regex:"entrada",email:"dirección de correo electrónico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duración ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},z={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Entrada inválida: se esperaba instanceof ${Q.expected}, recibido ${K}`;return`Entrada inválida: se esperaba ${J}, recibido ${K}`}case"invalid_value":if(Q.values.length===1)return`Entrada inválida: se esperaba ${v0(Q.values[0])}`;return`Opción inválida: se esperaba una de ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=z[Q.origin]??Q.origin;if(I)return`Demasiado grande: se esperaba que ${K??"valor"} tuviera ${J}${Q.maximum.toString()} ${I.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${K??"valor"} fuera ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=z[Q.origin]??Q.origin;if(I)return`Demasiado pequeño: se esperaba que ${K} tuviera ${J}${Q.minimum.toString()} ${I.unit}`;return`Demasiado pequeño: se esperaba que ${K} fuera ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Cadena inválida: debe comenzar con "${J.prefix}"`;if(J.format==="ends_with")return`Cadena inválida: debe terminar en "${J.suffix}"`;if(J.format==="includes")return`Cadena inválida: debe incluir "${J.includes}"`;if(J.format==="regex")return`Cadena inválida: debe coincidir con el patrón ${J.pattern}`;return`Inválido ${U[J.format]??Q.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${Q.divisor}`;case"unrecognized_keys":return`Llave${Q.keys.length>1?"s":""} desconocida${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Llave inválida en ${z[Q.origin]??Q.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${z[Q.origin]??Q.origin}`;default:return"Entrada inválida"}}};var Sr=m(()=>{$1()});function hC(){return{localeError:dk0()}}var dk0=()=>{let $={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function Y(Q){return $[Q]??null}let U={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},z={nan:"NaN",number:"عدد",array:"آرایه"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`ورودی نامعتبر: می‌بایست instanceof ${Q.expected} می‌بود، ${K} دریافت شد`;return`ورودی نامعتبر: می‌بایست ${J} می‌بود، ${K} دریافت شد`}case"invalid_value":if(Q.values.length===1)return`ورودی نامعتبر: می‌بایست ${v0(Q.values[0])} می‌بود`;return`گزینه نامعتبر: می‌بایست یکی از ${O0(Q.values,"|")} می‌بود`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`خیلی بزرگ: ${Q.origin??"مقدار"} باید ${J}${Q.maximum.toString()} ${I.unit??"عنصر"} باشد`;return`خیلی بزرگ: ${Q.origin??"مقدار"} باید ${J}${Q.maximum.toString()} باشد`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`خیلی کوچک: ${Q.origin} باید ${J}${Q.minimum.toString()} ${I.unit} باشد`;return`خیلی کوچک: ${Q.origin} باید ${J}${Q.minimum.toString()} باشد`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`رشته نامعتبر: باید با "${J.prefix}" شروع شود`;if(J.format==="ends_with")return`رشته نامعتبر: باید با "${J.suffix}" تمام شود`;if(J.format==="includes")return`رشته نامعتبر: باید شامل "${J.includes}" باشد`;if(J.format==="regex")return`رشته نامعتبر: باید با الگوی ${J.pattern} مطابقت داشته باشد`;return`${U[J.format]??Q.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${Q.divisor} باشد`;case"unrecognized_keys":return`کلید${Q.keys.length>1?"های":""} ناشناس: ${O0(Q.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${Q.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${Q.origin}`;default:return"ورودی نامعتبر"}}};var gr=m(()=>{$1()});function SC(){return{localeError:mk0()}}var mk0=()=>{let $={string:{unit:"merkkiä",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"päivämäärän"}};function Y(Q){return $[Q]??null}let U={regex:"säännöllinen lauseke",email:"sähköpostiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-päivämäärä",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Virheellinen tyyppi: odotettiin instanceof ${Q.expected}, oli ${K}`;return`Virheellinen tyyppi: odotettiin ${J}, oli ${K}`}case"invalid_value":if(Q.values.length===1)return`Virheellinen syöte: täytyy olla ${v0(Q.values[0])}`;return`Virheellinen valinta: täytyy olla yksi seuraavista: ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Liian suuri: ${I.subject} täytyy olla ${J}${Q.maximum.toString()} ${I.unit}`.trim();return`Liian suuri: arvon täytyy olla ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Liian pieni: ${I.subject} täytyy olla ${J}${Q.minimum.toString()} ${I.unit}`.trim();return`Liian pieni: arvon täytyy olla ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Virheellinen syöte: täytyy alkaa "${J.prefix}"`;if(J.format==="ends_with")return`Virheellinen syöte: täytyy loppua "${J.suffix}"`;if(J.format==="includes")return`Virheellinen syöte: täytyy sisältää "${J.includes}"`;if(J.format==="regex")return`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${J.pattern}`;return`Virheellinen ${U[J.format]??Q.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${Q.divisor} monikerta`;case"unrecognized_keys":return`${Q.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${O0(Q.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};var yr=m(()=>{$1()});function gC(){return{localeError:lk0()}}var lk0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function Y(Q){return $[Q]??null}let U={regex:"entrée",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},z={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"enregistrement",map:"carte",set:"ensemble",file:"fichier",nonoptional:"non-optionnel",nan:"NaN",function:"fonction"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Entrée invalide : instanceof ${Q.expected} attendu, ${K} reçu`;return`Entrée invalide : ${J} attendu, ${K} reçu`}case"invalid_value":if(Q.values.length===1)return`Entrée invalide : ${v0(Q.values[0])} attendu`;return`Option invalide : une valeur parmi ${O0(Q.values,"|")} attendue`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Trop grand : ${z[Q.origin]??"valeur"} doit ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"élément(s)"}`;return`Trop grand : ${z[Q.origin]??"valeur"} doit être ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Trop petit : ${z[Q.origin]??"valeur"} doit ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Trop petit : ${z[Q.origin]??"valeur"} doit être ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Chaîne invalide : doit commencer par "${J.prefix}"`;if(J.format==="ends_with")return`Chaîne invalide : doit se terminer par "${J.suffix}"`;if(J.format==="includes")return`Chaîne invalide : doit inclure "${J.includes}"`;if(J.format==="regex")return`Chaîne invalide : doit correspondre au modèle ${J.pattern}`;return`${U[J.format]??Q.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${Q.divisor}`;case"unrecognized_keys":return`Clé${Q.keys.length>1?"s":""} non reconnue${Q.keys.length>1?"s":""} : ${O0(Q.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${Q.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${Q.origin}`;default:return"Entrée invalide"}}};var kr=m(()=>{$1()});function yC(){return{localeError:ok0()}}var ok0=()=>{let $={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function Y(Q){return $[Q]??null}let U={regex:"entrée",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"durée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Entrée invalide : attendu instanceof ${Q.expected}, reçu ${K}`;return`Entrée invalide : attendu ${J}, reçu ${K}`}case"invalid_value":if(Q.values.length===1)return`Entrée invalide : attendu ${v0(Q.values[0])}`;return`Option invalide : attendu l'une des valeurs suivantes ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"≤":"<",I=Y(Q.origin);if(I)return`Trop grand : attendu que ${Q.origin??"la valeur"} ait ${J}${Q.maximum.toString()} ${I.unit}`;return`Trop grand : attendu que ${Q.origin??"la valeur"} soit ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?"≥":">",I=Y(Q.origin);if(I)return`Trop petit : attendu que ${Q.origin} ait ${J}${Q.minimum.toString()} ${I.unit}`;return`Trop petit : attendu que ${Q.origin} soit ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Chaîne invalide : doit commencer par "${J.prefix}"`;if(J.format==="ends_with")return`Chaîne invalide : doit se terminer par "${J.suffix}"`;if(J.format==="includes")return`Chaîne invalide : doit inclure "${J.includes}"`;if(J.format==="regex")return`Chaîne invalide : doit correspondre au motif ${J.pattern}`;return`${U[J.format]??Q.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${Q.divisor}`;case"unrecognized_keys":return`Clé${Q.keys.length>1?"s":""} non reconnue${Q.keys.length>1?"s":""} : ${O0(Q.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${Q.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${Q.origin}`;default:return"Entrée invalide"}}};var xr=m(()=>{$1()});function kC(){return{localeError:rk0()}}var rk0=()=>{let $={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},Y={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},U=(H)=>H?$[H]:void 0,z=(H)=>{let W=U(H);if(W)return W.label;return H??$.unknown.label},Q=(H)=>`ה${z(H)}`,J=(H)=>{return(U(H)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות"},I=(H)=>{if(!H)return null;return Y[H]??null},K={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},G={nan:"NaN"};return(H)=>{switch(H.code){case"invalid_type":{let W=H.expected,X=G[W??""]??z(W),Z=S0(H.input),q=G[Z]??$[Z]?.label??Z;if(/^[A-Z]/.test(H.expected))return`קלט לא תקין: צריך להיות instanceof ${H.expected}, התקבל ${q}`;return`קלט לא תקין: צריך להיות ${X}, התקבל ${q}`}case"invalid_value":{if(H.values.length===1)return`ערך לא תקין: הערך חייב להיות ${v0(H.values[0])}`;let W=H.values.map((q)=>v0(q));if(H.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${W[0]} או ${W[1]}`;let X=W[W.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${W.slice(0,-1).join(", ")} או ${X}`}case"too_big":{let W=I(H.origin),X=Q(H.origin??"value");if(H.origin==="string")return`${W?.longLabel??"ארוך"} מדי: ${X} צריכה להכיל ${H.maximum.toString()} ${W?.unit??""} ${H.inclusive?"או פחות":"לכל היותר"}`.trim();if(H.origin==="number"){let V=H.inclusive?`קטן או שווה ל-${H.maximum}`:`קטן מ-${H.maximum}`;return`גדול מדי: ${X} צריך להיות ${V}`}if(H.origin==="array"||H.origin==="set"){let V=H.origin==="set"?"צריכה":"צריך",F=H.inclusive?`${H.maximum} ${W?.unit??""} או פחות`:`פחות מ-${H.maximum} ${W?.unit??""}`;return`גדול מדי: ${X} ${V} להכיל ${F}`.trim()}let Z=H.inclusive?"<=":"<",q=J(H.origin??"value");if(W?.unit)return`${W.longLabel} מדי: ${X} ${q} ${Z}${H.maximum.toString()} ${W.unit}`;return`${W?.longLabel??"גדול"} מדי: ${X} ${q} ${Z}${H.maximum.toString()}`}case"too_small":{let W=I(H.origin),X=Q(H.origin??"value");if(H.origin==="string")return`${W?.shortLabel??"קצר"} מדי: ${X} צריכה להכיל ${H.minimum.toString()} ${W?.unit??""} ${H.inclusive?"או יותר":"לפחות"}`.trim();if(H.origin==="number"){let V=H.inclusive?`גדול או שווה ל-${H.minimum}`:`גדול מ-${H.minimum}`;return`קטן מדי: ${X} צריך להיות ${V}`}if(H.origin==="array"||H.origin==="set"){let V=H.origin==="set"?"צריכה":"צריך";if(H.minimum===1&&H.inclusive){let M=H.origin==="set"?"לפחות פריט אחד":"לפחות פריט אחד";return`קטן מדי: ${X} ${V} להכיל ${M}`}let F=H.inclusive?`${H.minimum} ${W?.unit??""} או יותר`:`יותר מ-${H.minimum} ${W?.unit??""}`;return`קטן מדי: ${X} ${V} להכיל ${F}`.trim()}let Z=H.inclusive?">=":">",q=J(H.origin??"value");if(W?.unit)return`${W.shortLabel} מדי: ${X} ${q} ${Z}${H.minimum.toString()} ${W.unit}`;return`${W?.shortLabel??"קטן"} מדי: ${X} ${q} ${Z}${H.minimum.toString()}`}case"invalid_format":{let W=H;if(W.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${W.prefix}"`;if(W.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${W.suffix}"`;if(W.format==="includes")return`המחרוזת חייבת לכלול "${W.includes}"`;if(W.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${W.pattern}`;let X=K[W.format],Z=X?.label??W.format,V=(X?.gender??"m")==="f"?"תקינה":"תקין";return`${Z} לא ${V}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${H.divisor}`;case"unrecognized_keys":return`מפתח${H.keys.length>1?"ות":""} לא מזוה${H.keys.length>1?"ים":"ה"}: ${O0(H.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${Q(H.origin??"array")}`;default:return"קלט לא תקין"}}};var fr=m(()=>{$1()});function xC(){return{localeError:sk0()}}var sk0=()=>{let $={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function Y(Q){return $[Q]??null}let U={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",jwt:"JWT",template_literal:"unos"},z={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Neispravan unos: očekuje se instanceof ${Q.expected}, a primljeno je ${K}`;return`Neispravan unos: očekuje se ${J}, a primljeno je ${K}`}case"invalid_value":if(Q.values.length===1)return`Neispravna vrijednost: očekivano ${v0(Q.values[0])}`;return`Neispravna opcija: očekivano jedno od ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=z[Q.origin]??Q.origin;if(I)return`Preveliko: očekivano da ${K??"vrijednost"} ima ${J}${Q.maximum.toString()} ${I.unit??"elemenata"}`;return`Preveliko: očekivano da ${K??"vrijednost"} bude ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=z[Q.origin]??Q.origin;if(I)return`Premalo: očekivano da ${K} ima ${J}${Q.minimum.toString()} ${I.unit}`;return`Premalo: očekivano da ${K} bude ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Neispravan tekst: mora započinjati s "${J.prefix}"`;if(J.format==="ends_with")return`Neispravan tekst: mora završavati s "${J.suffix}"`;if(J.format==="includes")return`Neispravan tekst: mora sadržavati "${J.includes}"`;if(J.format==="regex")return`Neispravan tekst: mora odgovarati uzorku ${J.pattern}`;return`Neispravna ${U[J.format]??Q.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${Q.divisor}`;case"unrecognized_keys":return`Neprepoznat${Q.keys.length>1?"i ključevi":" ključ"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${z[Q.origin]??Q.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${z[Q.origin]??Q.origin}`;default:return"Neispravan unos"}}};var ur=m(()=>{$1()});function fC(){return{localeError:ak0()}}var ak0=()=>{let $={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function Y(Q){return $[Q]??null}let U={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},z={nan:"NaN",number:"szám",array:"tömb"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Érvénytelen bemenet: a várt érték instanceof ${Q.expected}, a kapott érték ${K}`;return`Érvénytelen bemenet: a várt érték ${J}, a kapott érték ${K}`}case"invalid_value":if(Q.values.length===1)return`Érvénytelen bemenet: a várt érték ${v0(Q.values[0])}`;return`Érvénytelen opció: valamelyik érték várt ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Túl nagy: ${Q.origin??"érték"} mérete túl nagy ${J}${Q.maximum.toString()} ${I.unit??"elem"}`;return`Túl nagy: a bemeneti érték ${Q.origin??"érték"} túl nagy: ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Túl kicsi: a bemeneti érték ${Q.origin} mérete túl kicsi ${J}${Q.minimum.toString()} ${I.unit}`;return`Túl kicsi: a bemeneti érték ${Q.origin} túl kicsi ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Érvénytelen string: "${J.prefix}" értékkel kell kezdődnie`;if(J.format==="ends_with")return`Érvénytelen string: "${J.suffix}" értékkel kell végződnie`;if(J.format==="includes")return`Érvénytelen string: "${J.includes}" értéket kell tartalmaznia`;if(J.format==="regex")return`Érvénytelen string: ${J.pattern} mintának kell megfelelnie`;return`Érvénytelen ${U[J.format]??Q.format}`}case"not_multiple_of":return`Érvénytelen szám: ${Q.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${Q.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${Q.origin}`;default:return"Érvénytelen bemenet"}}};var br=m(()=>{$1()});function ir($,Y,U){return Math.abs($)===1?Y:U}function rz($){if(!$)return"";let Y=["ա","ե","ը","ի","ո","ու","օ"],U=$[$.length-1];return $+(Y.includes(U)?"ն":"ը")}function uC(){return{localeError:tk0()}}var tk0=()=>{let $={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function Y(Q){return $[Q]??null}let U={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},z={nan:"NaN",number:"թիվ",array:"զանգված"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Սխալ մուտքագրում․ սպասվում էր instanceof ${Q.expected}, ստացվել է ${K}`;return`Սխալ մուտքագրում․ սպասվում էր ${J}, ստացվել է ${K}`}case"invalid_value":if(Q.values.length===1)return`Սխալ մուտքագրում․ սպասվում էր ${v0(Q.values[1])}`;return`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I){let K=Number(Q.maximum),G=ir(K,I.unit.one,I.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${rz(Q.origin??"արժեք")} կունենա ${J}${Q.maximum.toString()} ${G}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${rz(Q.origin??"արժեք")} լինի ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I){let K=Number(Q.minimum),G=ir(K,I.unit.one,I.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${rz(Q.origin)} կունենա ${J}${Q.minimum.toString()} ${G}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${rz(Q.origin)} լինի ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Սխալ տող․ պետք է սկսվի "${J.prefix}"-ով`;if(J.format==="ends_with")return`Սխալ տող․ պետք է ավարտվի "${J.suffix}"-ով`;if(J.format==="includes")return`Սխալ տող․ պետք է պարունակի "${J.includes}"`;if(J.format==="regex")return`Սխալ տող․ պետք է համապատասխանի ${J.pattern} ձևաչափին`;return`Սխալ ${U[J.format]??Q.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${Q.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${Q.keys.length>1?"ներ":""}. ${O0(Q.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${rz(Q.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${rz(Q.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};var cr=m(()=>{$1()});function bC(){return{localeError:ek0()}}var ek0=()=>{let $={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Input tidak valid: diharapkan instanceof ${Q.expected}, diterima ${K}`;return`Input tidak valid: diharapkan ${J}, diterima ${K}`}case"invalid_value":if(Q.values.length===1)return`Input tidak valid: diharapkan ${v0(Q.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Terlalu besar: diharapkan ${Q.origin??"value"} memiliki ${J}${Q.maximum.toString()} ${I.unit??"elemen"}`;return`Terlalu besar: diharapkan ${Q.origin??"value"} menjadi ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Terlalu kecil: diharapkan ${Q.origin} memiliki ${J}${Q.minimum.toString()} ${I.unit}`;return`Terlalu kecil: diharapkan ${Q.origin} menjadi ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`String tidak valid: harus dimulai dengan "${J.prefix}"`;if(J.format==="ends_with")return`String tidak valid: harus berakhir dengan "${J.suffix}"`;if(J.format==="includes")return`String tidak valid: harus menyertakan "${J.includes}"`;if(J.format==="regex")return`String tidak valid: harus sesuai pola ${J.pattern}`;return`${U[J.format]??Q.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${Q.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${Q.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${Q.origin}`;default:return"Input tidak valid"}}};var nr=m(()=>{$1()});function iC(){return{localeError:$x0()}}var $x0=()=>{let $={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function Y(Q){return $[Q]??null}let U={regex:"gildi",email:"netfang",url:"vefslóð",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og tími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 tölugildi",jwt:"JWT",template_literal:"gildi"},z={nan:"NaN",number:"númer",array:"fylki"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Rangt gildi: Þú slóst inn ${K} þar sem á að vera instanceof ${Q.expected}`;return`Rangt gildi: Þú slóst inn ${K} þar sem á að vera ${J}`}case"invalid_value":if(Q.values.length===1)return`Rangt gildi: gert ráð fyrir ${v0(Q.values[0])}`;return`Ógilt val: má vera eitt af eftirfarandi ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Of stórt: gert er ráð fyrir að ${Q.origin??"gildi"} hafi ${J}${Q.maximum.toString()} ${I.unit??"hluti"}`;return`Of stórt: gert er ráð fyrir að ${Q.origin??"gildi"} sé ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Of lítið: gert er ráð fyrir að ${Q.origin} hafi ${J}${Q.minimum.toString()} ${I.unit}`;return`Of lítið: gert er ráð fyrir að ${Q.origin} sé ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ógildur strengur: verður að byrja á "${J.prefix}"`;if(J.format==="ends_with")return`Ógildur strengur: verður að enda á "${J.suffix}"`;if(J.format==="includes")return`Ógildur strengur: verður að innihalda "${J.includes}"`;if(J.format==="regex")return`Ógildur strengur: verður að fylgja mynstri ${J.pattern}`;return`Rangt ${U[J.format]??Q.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${Q.divisor}`;case"unrecognized_keys":return`Óþekkt ${Q.keys.length>1?"ir lyklar":"ur lykill"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${Q.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${Q.origin}`;default:return"Rangt gildi"}}};var pr=m(()=>{$1()});function cC(){return{localeError:Yx0()}}var Yx0=()=>{let $={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},z={nan:"NaN",number:"numero",array:"vettore"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Input non valido: atteso instanceof ${Q.expected}, ricevuto ${K}`;return`Input non valido: atteso ${J}, ricevuto ${K}`}case"invalid_value":if(Q.values.length===1)return`Input non valido: atteso ${v0(Q.values[0])}`;return`Opzione non valida: atteso uno tra ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Troppo grande: ${Q.origin??"valore"} deve avere ${J}${Q.maximum.toString()} ${I.unit??"elementi"}`;return`Troppo grande: ${Q.origin??"valore"} deve essere ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Troppo piccolo: ${Q.origin} deve avere ${J}${Q.minimum.toString()} ${I.unit}`;return`Troppo piccolo: ${Q.origin} deve essere ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Stringa non valida: deve iniziare con "${J.prefix}"`;if(J.format==="ends_with")return`Stringa non valida: deve terminare con "${J.suffix}"`;if(J.format==="includes")return`Stringa non valida: deve includere "${J.includes}"`;if(J.format==="regex")return`Stringa non valida: deve corrispondere al pattern ${J.pattern}`;return`Input non valido: ${U[J.format]??Q.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${Q.divisor}`;case"unrecognized_keys":return`Chiav${Q.keys.length>1?"i":"e"} non riconosciut${Q.keys.length>1?"e":"a"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${Q.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${Q.origin}`;default:return"Input non valido"}}};var dr=m(()=>{$1()});function nC(){return{localeError:Ux0()}}var Ux0=()=>{let $={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function Y(Q){return $[Q]??null}let U={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},z={nan:"NaN",number:"数値",array:"配列"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`無効な入力: instanceof ${Q.expected}が期待されましたが、${K}が入力されました`;return`無効な入力: ${J}が期待されましたが、${K}が入力されました`}case"invalid_value":if(Q.values.length===1)return`無効な入力: ${v0(Q.values[0])}が期待されました`;return`無効な選択: ${O0(Q.values,"、")}のいずれかである必要があります`;case"too_big":{let J=Q.inclusive?"以下である":"より小さい",I=Y(Q.origin);if(I)return`大きすぎる値: ${Q.origin??"値"}は${Q.maximum.toString()}${I.unit??"要素"}${J}必要があります`;return`大きすぎる値: ${Q.origin??"値"}は${Q.maximum.toString()}${J}必要があります`}case"too_small":{let J=Q.inclusive?"以上である":"より大きい",I=Y(Q.origin);if(I)return`小さすぎる値: ${Q.origin}は${Q.minimum.toString()}${I.unit}${J}必要があります`;return`小さすぎる値: ${Q.origin}は${Q.minimum.toString()}${J}必要があります`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`無効な文字列: "${J.prefix}"で始まる必要があります`;if(J.format==="ends_with")return`無効な文字列: "${J.suffix}"で終わる必要があります`;if(J.format==="includes")return`無効な文字列: "${J.includes}"を含む必要があります`;if(J.format==="regex")return`無効な文字列: パターン${J.pattern}に一致する必要があります`;return`無効な${U[J.format]??Q.format}`}case"not_multiple_of":return`無効な数値: ${Q.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${Q.keys.length>1?"群":""}: ${O0(Q.keys,"、")}`;case"invalid_key":return`${Q.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${Q.origin}内の無効な値`;default:return"無効な入力"}}};var mr=m(()=>{$1()});function pC(){return{localeError:zx0()}}var zx0=()=>{let $={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function Y(Q){return $[Q]??null}let U={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},z={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`არასწორი შეყვანა: მოსალოდნელი instanceof ${Q.expected}, მიღებული ${K}`;return`არასწორი შეყვანა: მოსალოდნელი ${J}, მიღებული ${K}`}case"invalid_value":if(Q.values.length===1)return`არასწორი შეყვანა: მოსალოდნელი ${v0(Q.values[0])}`;return`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${O0(Q.values,"|")}-დან`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`ზედმეტად დიდი: მოსალოდნელი ${Q.origin??"მნიშვნელობა"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit}`;return`ზედმეტად დიდი: მოსალოდნელი ${Q.origin??"მნიშვნელობა"} იყოს ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`ზედმეტად პატარა: მოსალოდნელი ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`ზედმეტად პატარა: მოსალოდნელი ${Q.origin} იყოს ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`არასწორი ველი: უნდა იწყებოდეს "${J.prefix}"-ით`;if(J.format==="ends_with")return`არასწორი ველი: უნდა მთავრდებოდეს "${J.suffix}"-ით`;if(J.format==="includes")return`არასწორი ველი: უნდა შეიცავდეს "${J.includes}"-ს`;if(J.format==="regex")return`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${J.pattern}`;return`არასწორი ${U[J.format]??Q.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${Q.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${Q.keys.length>1?"ები":"ი"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${Q.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${Q.origin}-ში`;default:return"არასწორი შეყვანა"}}};var lr=m(()=>{$1()});function XG(){return{localeError:Qx0()}}var Qx0=()=>{let $={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function Y(Q){return $[Q]??null}let U={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},z={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${Q.expected} ប៉ុន្តែទទួលបាន ${K}`;return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${J} ប៉ុន្តែទទួលបាន ${K}`}case"invalid_value":if(Q.values.length===1)return`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${v0(Q.values[0])}`;return`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`ធំពេក៖ ត្រូវការ ${Q.origin??"តម្លៃ"} ${J} ${Q.maximum.toString()} ${I.unit??"ធាតុ"}`;return`ធំពេក៖ ត្រូវការ ${Q.origin??"តម្លៃ"} ${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`តូចពេក៖ ត្រូវការ ${Q.origin} ${J} ${Q.minimum.toString()} ${I.unit}`;return`តូចពេក៖ ត្រូវការ ${Q.origin} ${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${J.prefix}"`;if(J.format==="ends_with")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${J.suffix}"`;if(J.format==="includes")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${J.includes}"`;if(J.format==="regex")return`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${J.pattern}`;return`មិនត្រឹមត្រូវ៖ ${U[J.format]??Q.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${Q.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${O0(Q.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${Q.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${Q.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};var dC=m(()=>{$1()});function mC(){return XG()}var or=m(()=>{dC()});function lC(){return{localeError:Jx0()}}var Jx0=()=>{let $={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function Y(Q){return $[Q]??null}let U={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`잘못된 입력: 예상 타입은 instanceof ${Q.expected}, 받은 타입은 ${K}입니다`;return`잘못된 입력: 예상 타입은 ${J}, 받은 타입은 ${K}입니다`}case"invalid_value":if(Q.values.length===1)return`잘못된 입력: 값은 ${v0(Q.values[0])} 이어야 합니다`;return`잘못된 옵션: ${O0(Q.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{let J=Q.inclusive?"이하":"미만",I=J==="미만"?"이어야 합니다":"여야 합니다",K=Y(Q.origin),G=K?.unit??"요소";if(K)return`${Q.origin??"값"}이 너무 큽니다: ${Q.maximum.toString()}${G} ${J}${I}`;return`${Q.origin??"값"}이 너무 큽니다: ${Q.maximum.toString()} ${J}${I}`}case"too_small":{let J=Q.inclusive?"이상":"초과",I=J==="이상"?"이어야 합니다":"여야 합니다",K=Y(Q.origin),G=K?.unit??"요소";if(K)return`${Q.origin??"값"}이 너무 작습니다: ${Q.minimum.toString()}${G} ${J}${I}`;return`${Q.origin??"값"}이 너무 작습니다: ${Q.minimum.toString()} ${J}${I}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`잘못된 문자열: "${J.prefix}"(으)로 시작해야 합니다`;if(J.format==="ends_with")return`잘못된 문자열: "${J.suffix}"(으)로 끝나야 합니다`;if(J.format==="includes")return`잘못된 문자열: "${J.includes}"을(를) 포함해야 합니다`;if(J.format==="regex")return`잘못된 문자열: 정규식 ${J.pattern} 패턴과 일치해야 합니다`;return`잘못된 ${U[J.format]??Q.format}`}case"not_multiple_of":return`잘못된 숫자: ${Q.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${O0(Q.keys,", ")}`;case"invalid_key":return`잘못된 키: ${Q.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${Q.origin}`;default:return"잘못된 입력"}}};var rr=m(()=>{$1()});function sr($){let Y=Math.abs($),U=Y%10,z=Y%100;if(z>=11&&z<=19||U===0)return"many";if(U===1)return"one";return"few"}function oC(){return{localeError:Ix0()}}var ZG=($)=>{return $.charAt(0).toUpperCase()+$.slice(1)},Ix0=()=>{let $={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function Y(Q,J,I,K){let G=$[Q]??null;if(G===null)return G;return{unit:G.unit[J],verb:G.verb[K][I?"inclusive":"notInclusive"]}}let U={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},z={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Gautas tipas ${K}, o tikėtasi - instanceof ${Q.expected}`;return`Gautas tipas ${K}, o tikėtasi - ${J}`}case"invalid_value":if(Q.values.length===1)return`Privalo būti ${v0(Q.values[0])}`;return`Privalo būti vienas iš ${O0(Q.values,"|")} pasirinkimų`;case"too_big":{let J=z[Q.origin]??Q.origin,I=Y(Q.origin,sr(Number(Q.maximum)),Q.inclusive??!1,"smaller");if(I?.verb)return`${ZG(J??Q.origin??"reikšmė")} ${I.verb} ${Q.maximum.toString()} ${I.unit??"elementų"}`;let K=Q.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${ZG(J??Q.origin??"reikšmė")} turi būti ${K} ${Q.maximum.toString()} ${I?.unit}`}case"too_small":{let J=z[Q.origin]??Q.origin,I=Y(Q.origin,sr(Number(Q.minimum)),Q.inclusive??!1,"bigger");if(I?.verb)return`${ZG(J??Q.origin??"reikšmė")} ${I.verb} ${Q.minimum.toString()} ${I.unit??"elementų"}`;let K=Q.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${ZG(J??Q.origin??"reikšmė")} turi būti ${K} ${Q.minimum.toString()} ${I?.unit}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Eilutė privalo prasidėti "${J.prefix}"`;if(J.format==="ends_with")return`Eilutė privalo pasibaigti "${J.suffix}"`;if(J.format==="includes")return`Eilutė privalo įtraukti "${J.includes}"`;if(J.format==="regex")return`Eilutė privalo atitikti ${J.pattern}`;return`Neteisingas ${U[J.format]??Q.format}`}case"not_multiple_of":return`Skaičius privalo būti ${Q.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${Q.keys.length>1?"i":"as"} rakt${Q.keys.length>1?"ai":"as"}: ${O0(Q.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{let J=z[Q.origin]??Q.origin;return`${ZG(J??Q.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};var ar=m(()=>{$1()});function rC(){return{localeError:Kx0()}}var Kx0=()=>{let $={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function Y(Q){return $[Q]??null}let U={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},z={nan:"NaN",number:"број",array:"низа"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Грешен внес: се очекува instanceof ${Q.expected}, примено ${K}`;return`Грешен внес: се очекува ${J}, примено ${K}`}case"invalid_value":if(Q.values.length===1)return`Invalid input: expected ${v0(Q.values[0])}`;return`Грешана опција: се очекува една ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Премногу голем: се очекува ${Q.origin??"вредноста"} да има ${J}${Q.maximum.toString()} ${I.unit??"елементи"}`;return`Премногу голем: се очекува ${Q.origin??"вредноста"} да биде ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Премногу мал: се очекува ${Q.origin} да има ${J}${Q.minimum.toString()} ${I.unit}`;return`Премногу мал: се очекува ${Q.origin} да биде ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Неважечка низа: мора да започнува со "${J.prefix}"`;if(J.format==="ends_with")return`Неважечка низа: мора да завршува со "${J.suffix}"`;if(J.format==="includes")return`Неважечка низа: мора да вклучува "${J.includes}"`;if(J.format==="regex")return`Неважечка низа: мора да одгоара на патернот ${J.pattern}`;return`Invalid ${U[J.format]??Q.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${Q.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${Q.origin}`;default:return"Грешен внес"}}};var tr=m(()=>{$1()});function sC(){return{localeError:Gx0()}}var Gx0=()=>{let $={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},z={nan:"NaN",number:"nombor"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Input tidak sah: dijangka instanceof ${Q.expected}, diterima ${K}`;return`Input tidak sah: dijangka ${J}, diterima ${K}`}case"invalid_value":if(Q.values.length===1)return`Input tidak sah: dijangka ${v0(Q.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Terlalu besar: dijangka ${Q.origin??"nilai"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"elemen"}`;return`Terlalu besar: dijangka ${Q.origin??"nilai"} adalah ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Terlalu kecil: dijangka ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Terlalu kecil: dijangka ${Q.origin} adalah ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`String tidak sah: mesti bermula dengan "${J.prefix}"`;if(J.format==="ends_with")return`String tidak sah: mesti berakhir dengan "${J.suffix}"`;if(J.format==="includes")return`String tidak sah: mesti mengandungi "${J.includes}"`;if(J.format==="regex")return`String tidak sah: mesti sepadan dengan corak ${J.pattern}`;return`${U[J.format]??Q.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${Q.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${O0(Q.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${Q.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${Q.origin}`;default:return"Input tidak sah"}}};var er=m(()=>{$1()});function aC(){return{localeError:Hx0()}}var Hx0=()=>{let $={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function Y(Q){return $[Q]??null}let U={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},z={nan:"NaN",number:"getal"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ongeldige invoer: verwacht instanceof ${Q.expected}, ontving ${K}`;return`Ongeldige invoer: verwacht ${J}, ontving ${K}`}case"invalid_value":if(Q.values.length===1)return`Ongeldige invoer: verwacht ${v0(Q.values[0])}`;return`Ongeldige optie: verwacht één van ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin),K=Q.origin==="date"?"laat":Q.origin==="string"?"lang":"groot";if(I)return`Te ${K}: verwacht dat ${Q.origin??"waarde"} ${J}${Q.maximum.toString()} ${I.unit??"elementen"} ${I.verb}`;return`Te ${K}: verwacht dat ${Q.origin??"waarde"} ${J}${Q.maximum.toString()} is`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin),K=Q.origin==="date"?"vroeg":Q.origin==="string"?"kort":"klein";if(I)return`Te ${K}: verwacht dat ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} ${I.verb}`;return`Te ${K}: verwacht dat ${Q.origin} ${J}${Q.minimum.toString()} is`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ongeldige tekst: moet met "${J.prefix}" beginnen`;if(J.format==="ends_with")return`Ongeldige tekst: moet op "${J.suffix}" eindigen`;if(J.format==="includes")return`Ongeldige tekst: moet "${J.includes}" bevatten`;if(J.format==="regex")return`Ongeldige tekst: moet overeenkomen met patroon ${J.pattern}`;return`Ongeldig: ${U[J.format]??Q.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${Q.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${Q.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${Q.origin}`;default:return"Ongeldige invoer"}}};var $s=m(()=>{$1()});function tC(){return{localeError:Wx0()}}var Wx0=()=>{let $={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function Y(Q){return $[Q]??null}let U={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-område",ipv6:"IPv6-område",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},z={nan:"NaN",number:"tall",array:"liste"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ugyldig input: forventet instanceof ${Q.expected}, fikk ${K}`;return`Ugyldig input: forventet ${J}, fikk ${K}`}case"invalid_value":if(Q.values.length===1)return`Ugyldig verdi: forventet ${v0(Q.values[0])}`;return`Ugyldig valg: forventet en av ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`For stor(t): forventet ${Q.origin??"value"} til å ha ${J}${Q.maximum.toString()} ${I.unit??"elementer"}`;return`For stor(t): forventet ${Q.origin??"value"} til å ha ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`For lite(n): forventet ${Q.origin} til å ha ${J}${Q.minimum.toString()} ${I.unit}`;return`For lite(n): forventet ${Q.origin} til å ha ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ugyldig streng: må starte med "${J.prefix}"`;if(J.format==="ends_with")return`Ugyldig streng: må ende med "${J.suffix}"`;if(J.format==="includes")return`Ugyldig streng: må inneholde "${J.includes}"`;if(J.format==="regex")return`Ugyldig streng: må matche mønsteret ${J.pattern}`;return`Ugyldig ${U[J.format]??Q.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${Q.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${Q.origin}`;default:return"Ugyldig input"}}};var Ys=m(()=>{$1()});function eC(){return{localeError:Xx0()}}var Xx0=()=>{let $={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function Y(Q){return $[Q]??null}let U={regex:"giren",email:"epostagâh",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO hengâmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},z={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Fâsit giren: umulan instanceof ${Q.expected}, alınan ${K}`;return`Fâsit giren: umulan ${J}, alınan ${K}`}case"invalid_value":if(Q.values.length===1)return`Fâsit giren: umulan ${v0(Q.values[0])}`;return`Fâsit tercih: mûteberler ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Fazla büyük: ${Q.origin??"value"}, ${J}${Q.maximum.toString()} ${I.unit??"elements"} sahip olmalıydı.`;return`Fazla büyük: ${Q.origin??"value"}, ${J}${Q.maximum.toString()} olmalıydı.`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Fazla küçük: ${Q.origin}, ${J}${Q.minimum.toString()} ${I.unit} sahip olmalıydı.`;return`Fazla küçük: ${Q.origin}, ${J}${Q.minimum.toString()} olmalıydı.`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Fâsit metin: "${J.prefix}" ile başlamalı.`;if(J.format==="ends_with")return`Fâsit metin: "${J.suffix}" ile bitmeli.`;if(J.format==="includes")return`Fâsit metin: "${J.includes}" ihtivâ etmeli.`;if(J.format==="regex")return`Fâsit metin: ${J.pattern} nakşına uymalı.`;return`Fâsit ${U[J.format]??Q.format}`}case"not_multiple_of":return`Fâsit sayı: ${Q.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${Q.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};var Us=m(()=>{$1()});function $R(){return{localeError:Zx0()}}var Zx0=()=>{let $={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function Y(Q){return $[Q]??null}let U={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},z={nan:"NaN",number:"عدد",array:"ارې"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`ناسم ورودي: باید instanceof ${Q.expected} وای, مګر ${K} ترلاسه شو`;return`ناسم ورودي: باید ${J} وای, مګر ${K} ترلاسه شو`}case"invalid_value":if(Q.values.length===1)return`ناسم ورودي: باید ${v0(Q.values[0])} وای`;return`ناسم انتخاب: باید یو له ${O0(Q.values,"|")} څخه وای`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`ډیر لوی: ${Q.origin??"ارزښت"} باید ${J}${Q.maximum.toString()} ${I.unit??"عنصرونه"} ولري`;return`ډیر لوی: ${Q.origin??"ارزښت"} باید ${J}${Q.maximum.toString()} وي`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`ډیر کوچنی: ${Q.origin} باید ${J}${Q.minimum.toString()} ${I.unit} ولري`;return`ډیر کوچنی: ${Q.origin} باید ${J}${Q.minimum.toString()} وي`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`ناسم متن: باید د "${J.prefix}" سره پیل شي`;if(J.format==="ends_with")return`ناسم متن: باید د "${J.suffix}" سره پای ته ورسيږي`;if(J.format==="includes")return`ناسم متن: باید "${J.includes}" ولري`;if(J.format==="regex")return`ناسم متن: باید د ${J.pattern} سره مطابقت ولري`;return`${U[J.format]??Q.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${Q.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${Q.keys.length>1?"کلیډونه":"کلیډ"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${Q.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${Q.origin} کې`;default:return"ناسمه ورودي"}}};var zs=m(()=>{$1()});function YR(){return{localeError:qx0()}}var qx0=()=>{let $={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function Y(Q){return $[Q]??null}let U={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},z={nan:"NaN",number:"liczba",array:"tablica"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${Q.expected}, otrzymano ${K}`;return`Nieprawidłowe dane wejściowe: oczekiwano ${J}, otrzymano ${K}`}case"invalid_value":if(Q.values.length===1)return`Nieprawidłowe dane wejściowe: oczekiwano ${v0(Q.values[0])}`;return`Nieprawidłowa opcja: oczekiwano jednej z wartości ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Za duża wartość: oczekiwano, że ${Q.origin??"wartość"} będzie mieć ${J}${Q.maximum.toString()} ${I.unit??"elementów"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${Q.origin??"wartość"} będzie wynosić ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Za mała wartość: oczekiwano, że ${Q.origin??"wartość"} będzie mieć ${J}${Q.minimum.toString()} ${I.unit??"elementów"}`;return`Zbyt mał(y/a/e): oczekiwano, że ${Q.origin??"wartość"} będzie wynosić ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Nieprawidłowy ciąg znaków: musi zaczynać się od "${J.prefix}"`;if(J.format==="ends_with")return`Nieprawidłowy ciąg znaków: musi kończyć się na "${J.suffix}"`;if(J.format==="includes")return`Nieprawidłowy ciąg znaków: musi zawierać "${J.includes}"`;if(J.format==="regex")return`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${J.pattern}`;return`Nieprawidłow(y/a/e) ${U[J.format]??Q.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${Q.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${Q.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${Q.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};var Qs=m(()=>{$1()});function UR(){return{localeError:Vx0()}}var Vx0=()=>{let $={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function Y(Q){return $[Q]??null}let U={regex:"padrão",email:"endereço de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"duração ISO",ipv4:"endereço IPv4",ipv6:"endereço IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},z={nan:"NaN",number:"número",null:"nulo"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Tipo inválido: esperado instanceof ${Q.expected}, recebido ${K}`;return`Tipo inválido: esperado ${J}, recebido ${K}`}case"invalid_value":if(Q.values.length===1)return`Entrada inválida: esperado ${v0(Q.values[0])}`;return`Opção inválida: esperada uma das ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Muito grande: esperado que ${Q.origin??"valor"} tivesse ${J}${Q.maximum.toString()} ${I.unit??"elementos"}`;return`Muito grande: esperado que ${Q.origin??"valor"} fosse ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Muito pequeno: esperado que ${Q.origin} tivesse ${J}${Q.minimum.toString()} ${I.unit}`;return`Muito pequeno: esperado que ${Q.origin} fosse ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Texto inválido: deve começar com "${J.prefix}"`;if(J.format==="ends_with")return`Texto inválido: deve terminar com "${J.suffix}"`;if(J.format==="includes")return`Texto inválido: deve incluir "${J.includes}"`;if(J.format==="regex")return`Texto inválido: deve corresponder ao padrão ${J.pattern}`;return`${U[J.format]??Q.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${Q.divisor}`;case"unrecognized_keys":return`Chave${Q.keys.length>1?"s":""} desconhecida${Q.keys.length>1?"s":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Chave inválida em ${Q.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${Q.origin}`;default:return"Campo inválido"}}};var Js=m(()=>{$1()});function zR(){return{localeError:Lx0()}}var Lx0=()=>{let $={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function Y(Q){return $[Q]??null}let U={regex:"intrare",email:"adresă de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dată și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},z={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;return`Intrare invalidă: așteptat ${J}, primit ${K}`}case"invalid_value":if(Q.values.length===1)return`Intrare invalidă: așteptat ${v0(Q.values[0])}`;return`Opțiune invalidă: așteptat una dintre ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Prea mare: așteptat ca ${Q.origin??"valoarea"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"elemente"}`;return`Prea mare: așteptat ca ${Q.origin??"valoarea"} să fie ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Prea mic: așteptat ca ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Prea mic: așteptat ca ${Q.origin} să fie ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Șir invalid: trebuie să înceapă cu "${J.prefix}"`;if(J.format==="ends_with")return`Șir invalid: trebuie să se termine cu "${J.suffix}"`;if(J.format==="includes")return`Șir invalid: trebuie să includă "${J.includes}"`;if(J.format==="regex")return`Șir invalid: trebuie să se potrivească cu modelul ${J.pattern}`;return`Format invalid: ${U[J.format]??Q.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${Q.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${O0(Q.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${Q.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${Q.origin}`;default:return"Intrare invalidă"}}};var Is=m(()=>{$1()});function Ks($,Y,U,z){let Q=Math.abs($),J=Q%10,I=Q%100;if(I>=11&&I<=19)return z;if(J===1)return Y;if(J>=2&&J<=4)return U;return z}function QR(){return{localeError:Fx0()}}var Fx0=()=>{let $={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function Y(Q){return $[Q]??null}let U={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},z={nan:"NaN",number:"число",array:"массив"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Неверный ввод: ожидалось instanceof ${Q.expected}, получено ${K}`;return`Неверный ввод: ожидалось ${J}, получено ${K}`}case"invalid_value":if(Q.values.length===1)return`Неверный ввод: ожидалось ${v0(Q.values[0])}`;return`Неверный вариант: ожидалось одно из ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I){let K=Number(Q.maximum),G=Ks(K,I.unit.one,I.unit.few,I.unit.many);return`Слишком большое значение: ожидалось, что ${Q.origin??"значение"} будет иметь ${J}${Q.maximum.toString()} ${G}`}return`Слишком большое значение: ожидалось, что ${Q.origin??"значение"} будет ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I){let K=Number(Q.minimum),G=Ks(K,I.unit.one,I.unit.few,I.unit.many);return`Слишком маленькое значение: ожидалось, что ${Q.origin} будет иметь ${J}${Q.minimum.toString()} ${G}`}return`Слишком маленькое значение: ожидалось, что ${Q.origin} будет ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Неверная строка: должна начинаться с "${J.prefix}"`;if(J.format==="ends_with")return`Неверная строка: должна заканчиваться на "${J.suffix}"`;if(J.format==="includes")return`Неверная строка: должна содержать "${J.includes}"`;if(J.format==="regex")return`Неверная строка: должна соответствовать шаблону ${J.pattern}`;return`Неверный ${U[J.format]??Q.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${Q.divisor}`;case"unrecognized_keys":return`Нераспознанн${Q.keys.length>1?"ые":"ый"} ключ${Q.keys.length>1?"и":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${Q.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${Q.origin}`;default:return"Неверные входные данные"}}};var Gs=m(()=>{$1()});function JR(){return{localeError:wx0()}}var wx0=()=>{let $={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function Y(Q){return $[Q]??null}let U={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},z={nan:"NaN",number:"število",array:"tabela"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Neveljaven vnos: pričakovano instanceof ${Q.expected}, prejeto ${K}`;return`Neveljaven vnos: pričakovano ${J}, prejeto ${K}`}case"invalid_value":if(Q.values.length===1)return`Neveljaven vnos: pričakovano ${v0(Q.values[0])}`;return`Neveljavna možnost: pričakovano eno izmed ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Preveliko: pričakovano, da bo ${Q.origin??"vrednost"} imelo ${J}${Q.maximum.toString()} ${I.unit??"elementov"}`;return`Preveliko: pričakovano, da bo ${Q.origin??"vrednost"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Premajhno: pričakovano, da bo ${Q.origin} imelo ${J}${Q.minimum.toString()} ${I.unit}`;return`Premajhno: pričakovano, da bo ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Neveljaven niz: mora se začeti z "${J.prefix}"`;if(J.format==="ends_with")return`Neveljaven niz: mora se končati z "${J.suffix}"`;if(J.format==="includes")return`Neveljaven niz: mora vsebovati "${J.includes}"`;if(J.format==="regex")return`Neveljaven niz: mora ustrezati vzorcu ${J.pattern}`;return`Neveljaven ${U[J.format]??Q.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${Q.divisor}`;case"unrecognized_keys":return`Neprepoznan${Q.keys.length>1?"i ključi":" ključ"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${Q.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${Q.origin}`;default:return"Neveljaven vnos"}}};var Hs=m(()=>{$1()});function IR(){return{localeError:Mx0()}}var Mx0=()=>{let $={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function Y(Q){return $[Q]??null}let U={regex:"reguljärt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad sträng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},z={nan:"NaN",number:"antal",array:"lista"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ogiltig inmatning: förväntat instanceof ${Q.expected}, fick ${K}`;return`Ogiltig inmatning: förväntat ${J}, fick ${K}`}case"invalid_value":if(Q.values.length===1)return`Ogiltig inmatning: förväntat ${v0(Q.values[0])}`;return`Ogiltigt val: förväntade en av ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`För stor(t): förväntade ${Q.origin??"värdet"} att ha ${J}${Q.maximum.toString()} ${I.unit??"element"}`;return`För stor(t): förväntat ${Q.origin??"värdet"} att ha ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`För lite(t): förväntade ${Q.origin??"värdet"} att ha ${J}${Q.minimum.toString()} ${I.unit}`;return`För lite(t): förväntade ${Q.origin??"värdet"} att ha ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ogiltig sträng: måste börja med "${J.prefix}"`;if(J.format==="ends_with")return`Ogiltig sträng: måste sluta med "${J.suffix}"`;if(J.format==="includes")return`Ogiltig sträng: måste innehålla "${J.includes}"`;if(J.format==="regex")return`Ogiltig sträng: måste matcha mönstret "${J.pattern}"`;return`Ogiltig(t) ${U[J.format]??Q.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${Q.divisor}`;case"unrecognized_keys":return`${Q.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${Q.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${Q.origin??"värdet"}`;default:return"Ogiltig input"}}};var Ws=m(()=>{$1()});function KR(){return{localeError:Ox0()}}var Ox0=()=>{let $={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function Y(Q){return $[Q]??null}let U={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},z={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${Q.expected}, பெறப்பட்டது ${K}`;return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${J}, பெறப்பட்டது ${K}`}case"invalid_value":if(Q.values.length===1)return`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${v0(Q.values[0])}`;return`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${O0(Q.values,"|")} இல் ஒன்று`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${Q.origin??"மதிப்பு"} ${J}${Q.maximum.toString()} ${I.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`;return`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${Q.origin??"மதிப்பு"} ${J}${Q.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} ஆக இருக்க வேண்டும்`;return`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${Q.origin} ${J}${Q.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`தவறான சரம்: "${J.prefix}" இல் தொடங்க வேண்டும்`;if(J.format==="ends_with")return`தவறான சரம்: "${J.suffix}" இல் முடிவடைய வேண்டும்`;if(J.format==="includes")return`தவறான சரம்: "${J.includes}" ஐ உள்ளடக்க வேண்டும்`;if(J.format==="regex")return`தவறான சரம்: ${J.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`;return`தவறான ${U[J.format]??Q.format}`}case"not_multiple_of":return`தவறான எண்: ${Q.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${Q.keys.length>1?"கள்":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${Q.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};var Xs=m(()=>{$1()});function GR(){return{localeError:Nx0()}}var Nx0=()=>{let $={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function Y(Q){return $[Q]??null}let U={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},z={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${Q.expected} แต่ได้รับ ${K}`;return`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${J} แต่ได้รับ ${K}`}case"invalid_value":if(Q.values.length===1)return`ค่าไม่ถูกต้อง: ควรเป็น ${v0(Q.values[0])}`;return`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"ไม่เกิน":"น้อยกว่า",I=Y(Q.origin);if(I)return`เกินกำหนด: ${Q.origin??"ค่า"} ควรมี${J} ${Q.maximum.toString()} ${I.unit??"รายการ"}`;return`เกินกำหนด: ${Q.origin??"ค่า"} ควรมี${J} ${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?"อย่างน้อย":"มากกว่า",I=Y(Q.origin);if(I)return`น้อยกว่ากำหนด: ${Q.origin} ควรมี${J} ${Q.minimum.toString()} ${I.unit}`;return`น้อยกว่ากำหนด: ${Q.origin} ควรมี${J} ${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${J.prefix}"`;if(J.format==="ends_with")return`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${J.suffix}"`;if(J.format==="includes")return`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${J.includes}" อยู่ในข้อความ`;if(J.format==="regex")return`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${J.pattern}`;return`รูปแบบไม่ถูกต้อง: ${U[J.format]??Q.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${Q.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${O0(Q.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${Q.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${Q.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};var Zs=m(()=>{$1()});function HR(){return{localeError:Dx0()}}var Dx0=()=>{let $={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function Y(Q){return $[Q]??null}let U={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO süre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Geçersiz değer: beklenen instanceof ${Q.expected}, alınan ${K}`;return`Geçersiz değer: beklenen ${J}, alınan ${K}`}case"invalid_value":if(Q.values.length===1)return`Geçersiz değer: beklenen ${v0(Q.values[0])}`;return`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Çok büyük: beklenen ${Q.origin??"değer"} ${J}${Q.maximum.toString()} ${I.unit??"öğe"}`;return`Çok büyük: beklenen ${Q.origin??"değer"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Çok küçük: beklenen ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit}`;return`Çok küçük: beklenen ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Geçersiz metin: "${J.prefix}" ile başlamalı`;if(J.format==="ends_with")return`Geçersiz metin: "${J.suffix}" ile bitmeli`;if(J.format==="includes")return`Geçersiz metin: "${J.includes}" içermeli`;if(J.format==="regex")return`Geçersiz metin: ${J.pattern} desenine uymalı`;return`Geçersiz ${U[J.format]??Q.format}`}case"not_multiple_of":return`Geçersiz sayı: ${Q.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${Q.keys.length>1?"lar":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${Q.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};var qs=m(()=>{$1()});function qG(){return{localeError:Ax0()}}var Ax0=()=>{let $={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function Y(Q){return $[Q]??null}let U={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},z={nan:"NaN",number:"число",array:"масив"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Неправильні вхідні дані: очікується instanceof ${Q.expected}, отримано ${K}`;return`Неправильні вхідні дані: очікується ${J}, отримано ${K}`}case"invalid_value":if(Q.values.length===1)return`Неправильні вхідні дані: очікується ${v0(Q.values[0])}`;return`Неправильна опція: очікується одне з ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Занадто велике: очікується, що ${Q.origin??"значення"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"елементів"}`;return`Занадто велике: очікується, що ${Q.origin??"значення"} буде ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Занадто мале: очікується, що ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Занадто мале: очікується, що ${Q.origin} буде ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Неправильний рядок: повинен починатися з "${J.prefix}"`;if(J.format==="ends_with")return`Неправильний рядок: повинен закінчуватися на "${J.suffix}"`;if(J.format==="includes")return`Неправильний рядок: повинен містити "${J.includes}"`;if(J.format==="regex")return`Неправильний рядок: повинен відповідати шаблону ${J.pattern}`;return`Неправильний ${U[J.format]??Q.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${Q.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${Q.keys.length>1?"і":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${Q.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${Q.origin}`;default:return"Неправильні вхідні дані"}}};var WR=m(()=>{$1()});function XR(){return qG()}var Vs=m(()=>{WR()});function ZR(){return{localeError:Bx0()}}var Bx0=()=>{let $={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function Y(Q){return $[Q]??null}let U={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},z={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`غلط ان پٹ: instanceof ${Q.expected} متوقع تھا، ${K} موصول ہوا`;return`غلط ان پٹ: ${J} متوقع تھا، ${K} موصول ہوا`}case"invalid_value":if(Q.values.length===1)return`غلط ان پٹ: ${v0(Q.values[0])} متوقع تھا`;return`غلط آپشن: ${O0(Q.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`بہت بڑا: ${Q.origin??"ویلیو"} کے ${J}${Q.maximum.toString()} ${I.unit??"عناصر"} ہونے متوقع تھے`;return`بہت بڑا: ${Q.origin??"ویلیو"} کا ${J}${Q.maximum.toString()} ہونا متوقع تھا`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`بہت چھوٹا: ${Q.origin} کے ${J}${Q.minimum.toString()} ${I.unit} ہونے متوقع تھے`;return`بہت چھوٹا: ${Q.origin} کا ${J}${Q.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`غلط سٹرنگ: "${J.prefix}" سے شروع ہونا چاہیے`;if(J.format==="ends_with")return`غلط سٹرنگ: "${J.suffix}" پر ختم ہونا چاہیے`;if(J.format==="includes")return`غلط سٹرنگ: "${J.includes}" شامل ہونا چاہیے`;if(J.format==="regex")return`غلط سٹرنگ: پیٹرن ${J.pattern} سے میچ ہونا چاہیے`;return`غلط ${U[J.format]??Q.format}`}case"not_multiple_of":return`غلط نمبر: ${Q.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${Q.keys.length>1?"ز":""}: ${O0(Q.keys,"، ")}`;case"invalid_key":return`${Q.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${Q.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};var Ls=m(()=>{$1()});function qR(){return{localeError:Px0()}}var Px0=()=>{let $={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function Y(Q){return $[Q]??null}let U={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},z={nan:"NaN",number:"raqam",array:"massiv"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Noto‘g‘ri kirish: kutilgan instanceof ${Q.expected}, qabul qilingan ${K}`;return`Noto‘g‘ri kirish: kutilgan ${J}, qabul qilingan ${K}`}case"invalid_value":if(Q.values.length===1)return`Noto‘g‘ri kirish: kutilgan ${v0(Q.values[0])}`;return`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Juda katta: kutilgan ${Q.origin??"qiymat"} ${J}${Q.maximum.toString()} ${I.unit} ${I.verb}`;return`Juda katta: kutilgan ${Q.origin??"qiymat"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Juda kichik: kutilgan ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit} ${I.verb}`;return`Juda kichik: kutilgan ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Noto‘g‘ri satr: "${J.prefix}" bilan boshlanishi kerak`;if(J.format==="ends_with")return`Noto‘g‘ri satr: "${J.suffix}" bilan tugashi kerak`;if(J.format==="includes")return`Noto‘g‘ri satr: "${J.includes}" ni o‘z ichiga olishi kerak`;if(J.format==="regex")return`Noto‘g‘ri satr: ${J.pattern} shabloniga mos kelishi kerak`;return`Noto‘g‘ri ${U[J.format]??Q.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${Q.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${Q.keys.length>1?"lar":""}: ${O0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${Q.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};var Fs=m(()=>{$1()});function VR(){return{localeError:Tx0()}}var Tx0=()=>{let $={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function Y(Q){return $[Q]??null}let U={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},z={nan:"NaN",number:"số",array:"mảng"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Đầu vào không hợp lệ: mong đợi instanceof ${Q.expected}, nhận được ${K}`;return`Đầu vào không hợp lệ: mong đợi ${J}, nhận được ${K}`}case"invalid_value":if(Q.values.length===1)return`Đầu vào không hợp lệ: mong đợi ${v0(Q.values[0])}`;return`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Quá lớn: mong đợi ${Q.origin??"giá trị"} ${I.verb} ${J}${Q.maximum.toString()} ${I.unit??"phần tử"}`;return`Quá lớn: mong đợi ${Q.origin??"giá trị"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Quá nhỏ: mong đợi ${Q.origin} ${I.verb} ${J}${Q.minimum.toString()} ${I.unit}`;return`Quá nhỏ: mong đợi ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Chuỗi không hợp lệ: phải bắt đầu bằng "${J.prefix}"`;if(J.format==="ends_with")return`Chuỗi không hợp lệ: phải kết thúc bằng "${J.suffix}"`;if(J.format==="includes")return`Chuỗi không hợp lệ: phải bao gồm "${J.includes}"`;if(J.format==="regex")return`Chuỗi không hợp lệ: phải khớp với mẫu ${J.pattern}`;return`${U[J.format]??Q.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${Q.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${O0(Q.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${Q.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${Q.origin}`;default:return"Đầu vào không hợp lệ"}}};var ws=m(()=>{$1()});function LR(){return{localeError:jx0()}}var jx0=()=>{let $={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function Y(Q){return $[Q]??null}let U={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},z={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`无效输入:期望 instanceof ${Q.expected},实际接收 ${K}`;return`无效输入:期望 ${J},实际接收 ${K}`}case"invalid_value":if(Q.values.length===1)return`无效输入:期望 ${v0(Q.values[0])}`;return`无效选项:期望以下之一 ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`数值过大:期望 ${Q.origin??"值"} ${J}${Q.maximum.toString()} ${I.unit??"个元素"}`;return`数值过大:期望 ${Q.origin??"值"} ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`数值过小:期望 ${Q.origin} ${J}${Q.minimum.toString()} ${I.unit}`;return`数值过小:期望 ${Q.origin} ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`无效字符串:必须以 "${J.prefix}" 开头`;if(J.format==="ends_with")return`无效字符串:必须以 "${J.suffix}" 结尾`;if(J.format==="includes")return`无效字符串:必须包含 "${J.includes}"`;if(J.format==="regex")return`无效字符串:必须满足正则表达式 ${J.pattern}`;return`无效${U[J.format]??Q.format}`}case"not_multiple_of":return`无效数字:必须是 ${Q.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${O0(Q.keys,", ")}`;case"invalid_key":return`${Q.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${Q.origin} 中包含无效值(value)`;default:return"无效输入"}}};var Ms=m(()=>{$1()});function FR(){return{localeError:Ex0()}}var Ex0=()=>{let $={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function Y(Q){return $[Q]??null}let U={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},z={nan:"NaN"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`無效的輸入值:預期為 instanceof ${Q.expected},但收到 ${K}`;return`無效的輸入值:預期為 ${J},但收到 ${K}`}case"invalid_value":if(Q.values.length===1)return`無效的輸入值:預期為 ${v0(Q.values[0])}`;return`無效的選項:預期為以下其中之一 ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`數值過大:預期 ${Q.origin??"值"} 應為 ${J}${Q.maximum.toString()} ${I.unit??"個元素"}`;return`數值過大:預期 ${Q.origin??"值"} 應為 ${J}${Q.maximum.toString()}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`數值過小:預期 ${Q.origin} 應為 ${J}${Q.minimum.toString()} ${I.unit}`;return`數值過小:預期 ${Q.origin} 應為 ${J}${Q.minimum.toString()}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`無效的字串:必須以 "${J.prefix}" 開頭`;if(J.format==="ends_with")return`無效的字串:必須以 "${J.suffix}" 結尾`;if(J.format==="includes")return`無效的字串:必須包含 "${J.includes}"`;if(J.format==="regex")return`無效的字串:必須符合格式 ${J.pattern}`;return`無效的 ${U[J.format]??Q.format}`}case"not_multiple_of":return`無效的數字:必須為 ${Q.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${Q.keys.length>1?"們":""}:${O0(Q.keys,"、")}`;case"invalid_key":return`${Q.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${Q.origin} 中有無效的值`;default:return"無效的輸入值"}}};var Os=m(()=>{$1()});function wR(){return{localeError:Cx0()}}var Cx0=()=>{let $={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function Y(Q){return $[Q]??null}let U={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},z={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return(Q)=>{switch(Q.code){case"invalid_type":{let J=z[Q.expected]??Q.expected,I=S0(Q.input),K=z[I]??I;if(/^[A-Z]/.test(Q.expected))return`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${Q.expected}, àmọ̀ a rí ${K}`;return`Ìbáwọlé aṣìṣe: a ní láti fi ${J}, àmọ̀ a rí ${K}`}case"invalid_value":if(Q.values.length===1)return`Ìbáwọlé aṣìṣe: a ní láti fi ${v0(Q.values[0])}`;return`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${O0(Q.values,"|")}`;case"too_big":{let J=Q.inclusive?"<=":"<",I=Y(Q.origin);if(I)return`Tó pọ̀ jù: a ní láti jẹ́ pé ${Q.origin??"iye"} ${I.verb} ${J}${Q.maximum} ${I.unit}`;return`Tó pọ̀ jù: a ní láti jẹ́ ${J}${Q.maximum}`}case"too_small":{let J=Q.inclusive?">=":">",I=Y(Q.origin);if(I)return`Kéré ju: a ní láti jẹ́ pé ${Q.origin} ${I.verb} ${J}${Q.minimum} ${I.unit}`;return`Kéré ju: a ní láti jẹ́ ${J}${Q.minimum}`}case"invalid_format":{let J=Q;if(J.format==="starts_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${J.prefix}"`;if(J.format==="ends_with")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${J.suffix}"`;if(J.format==="includes")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${J.includes}"`;if(J.format==="regex")return`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${J.pattern}`;return`Aṣìṣe: ${U[J.format]??Q.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${Q.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${O0(Q.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${Q.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${Q.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};var Ns=m(()=>{$1()});var VG={};x8(VG,{zhTW:()=>FR,zhCN:()=>LR,yo:()=>wR,vi:()=>VR,uz:()=>qR,ur:()=>ZR,uk:()=>qG,ua:()=>XR,tr:()=>HR,th:()=>GR,ta:()=>KR,sv:()=>IR,sl:()=>JR,ru:()=>QR,ro:()=>zR,pt:()=>UR,ps:()=>$R,pl:()=>YR,ota:()=>eC,no:()=>tC,nl:()=>aC,ms:()=>sC,mk:()=>rC,lt:()=>oC,ko:()=>lC,km:()=>XG,kh:()=>mC,ka:()=>pC,ja:()=>nC,it:()=>cC,is:()=>iC,id:()=>bC,hy:()=>uC,hu:()=>fC,hr:()=>xC,he:()=>kC,frCA:()=>yC,fr:()=>gC,fi:()=>SC,fa:()=>hC,es:()=>vC,eo:()=>_C,en:()=>WG,el:()=>CC,de:()=>EC,da:()=>jC,cs:()=>TC,ca:()=>PC,bg:()=>BC,be:()=>AC,az:()=>DC,ar:()=>NC});var MR=m(()=>{Ar();Br();Tr();jr();Er();Cr();Rr();_r();vr();RC();hr();Sr();gr();yr();kr();xr();fr();ur();br();cr();nr();pr();dr();mr();lr();or();dC();rr();ar();tr();er();$s();Ys();Us();zs();Qs();Js();Is();Gs();Hs();Ws();Xs();Zs();qs();Vs();WR();Ls();Fs();ws();Ms();Os();Ns()});class DR{constructor(){this._map=new WeakMap,this._idmap=new Map}add($,...Y){let U=Y[0];if(this._map.set($,U),U&&typeof U==="object"&&"id"in U)this._idmap.set(U.id,$);return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove($){let Y=this._map.get($);if(Y&&typeof Y==="object"&&"id"in Y)this._idmap.delete(Y.id);return this._map.delete($),this}get($){let Y=$._zod.parent;if(Y){let U={...this.get(Y)??{}};delete U.id;let z={...U,...this._map.get($)};return Object.keys(z).length?z:void 0}return this._map.get($)}has($){return this._map.has($)}}function wV(){return new DR}var Ds,OR,NR,n6;var LG=m(()=>{OR=Symbol("ZodOutput"),NR=Symbol("ZodInput");(Ds=globalThis).__zod_globalRegistry??(Ds.__zod_globalRegistry=wV());n6=globalThis.__zod_globalRegistry});function AR($,Y){return new $({type:"string",...x0(Y)})}function BR($,Y){return new $({type:"string",coerce:!0,...x0(Y)})}function MV($,Y){return new $({type:"string",format:"email",check:"string_format",abort:!1,...x0(Y)})}function FG($,Y){return new $({type:"string",format:"guid",check:"string_format",abort:!1,...x0(Y)})}function OV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,...x0(Y)})}function NV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...x0(Y)})}function DV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...x0(Y)})}function AV($,Y){return new $({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...x0(Y)})}function wG($,Y){return new $({type:"string",format:"url",check:"string_format",abort:!1,...x0(Y)})}function BV($,Y){return new $({type:"string",format:"emoji",check:"string_format",abort:!1,...x0(Y)})}function PV($,Y){return new $({type:"string",format:"nanoid",check:"string_format",abort:!1,...x0(Y)})}function TV($,Y){return new $({type:"string",format:"cuid",check:"string_format",abort:!1,...x0(Y)})}function jV($,Y){return new $({type:"string",format:"cuid2",check:"string_format",abort:!1,...x0(Y)})}function EV($,Y){return new $({type:"string",format:"ulid",check:"string_format",abort:!1,...x0(Y)})}function CV($,Y){return new $({type:"string",format:"xid",check:"string_format",abort:!1,...x0(Y)})}function RV($,Y){return new $({type:"string",format:"ksuid",check:"string_format",abort:!1,...x0(Y)})}function _V($,Y){return new $({type:"string",format:"ipv4",check:"string_format",abort:!1,...x0(Y)})}function vV($,Y){return new $({type:"string",format:"ipv6",check:"string_format",abort:!1,...x0(Y)})}function PR($,Y){return new $({type:"string",format:"mac",check:"string_format",abort:!1,...x0(Y)})}function hV($,Y){return new $({type:"string",format:"cidrv4",check:"string_format",abort:!1,...x0(Y)})}function SV($,Y){return new $({type:"string",format:"cidrv6",check:"string_format",abort:!1,...x0(Y)})}function gV($,Y){return new $({type:"string",format:"base64",check:"string_format",abort:!1,...x0(Y)})}function yV($,Y){return new $({type:"string",format:"base64url",check:"string_format",abort:!1,...x0(Y)})}function kV($,Y){return new $({type:"string",format:"e164",check:"string_format",abort:!1,...x0(Y)})}function xV($,Y){return new $({type:"string",format:"jwt",check:"string_format",abort:!1,...x0(Y)})}function jR($,Y){return new $({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...x0(Y)})}function ER($,Y){return new $({type:"string",format:"date",check:"string_format",...x0(Y)})}function CR($,Y){return new $({type:"string",format:"time",check:"string_format",precision:null,...x0(Y)})}function RR($,Y){return new $({type:"string",format:"duration",check:"string_format",...x0(Y)})}function _R($,Y){return new $({type:"number",checks:[],...x0(Y)})}function vR($,Y){return new $({type:"number",coerce:!0,checks:[],...x0(Y)})}function hR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"safeint",...x0(Y)})}function SR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"float32",...x0(Y)})}function gR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"float64",...x0(Y)})}function yR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"int32",...x0(Y)})}function kR($,Y){return new $({type:"number",check:"number_format",abort:!1,format:"uint32",...x0(Y)})}function xR($,Y){return new $({type:"boolean",...x0(Y)})}function fR($,Y){return new $({type:"boolean",coerce:!0,...x0(Y)})}function uR($,Y){return new $({type:"bigint",...x0(Y)})}function bR($,Y){return new $({type:"bigint",coerce:!0,...x0(Y)})}function iR($,Y){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...x0(Y)})}function cR($,Y){return new $({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...x0(Y)})}function nR($,Y){return new $({type:"symbol",...x0(Y)})}function pR($,Y){return new $({type:"undefined",...x0(Y)})}function dR($,Y){return new $({type:"null",...x0(Y)})}function mR($){return new $({type:"any"})}function lR($){return new $({type:"unknown"})}function oR($,Y){return new $({type:"never",...x0(Y)})}function rR($,Y){return new $({type:"void",...x0(Y)})}function sR($,Y){return new $({type:"date",...x0(Y)})}function aR($,Y){return new $({type:"date",coerce:!0,...x0(Y)})}function tR($,Y){return new $({type:"nan",...x0(Y)})}function b5($,Y){return new QV({check:"less_than",...x0(Y),value:$,inclusive:!1})}function U$($,Y){return new QV({check:"less_than",...x0(Y),value:$,inclusive:!0})}function i5($,Y){return new JV({check:"greater_than",...x0(Y),value:$,inclusive:!1})}function B8($,Y){return new JV({check:"greater_than",...x0(Y),value:$,inclusive:!0})}function fV($){return i5(0,$)}function uV($){return b5(0,$)}function bV($){return U$(0,$)}function iV($){return B8(0,$)}function W7($,Y){return new nj({check:"multiple_of",...x0(Y),value:$})}function X7($,Y){return new mj({check:"max_size",...x0(Y),maximum:$})}function c5($,Y){return new lj({check:"min_size",...x0(Y),minimum:$})}function CY($,Y){return new oj({check:"size_equals",...x0(Y),size:$})}function RY($,Y){return new rj({check:"max_length",...x0(Y),maximum:$})}function n9($,Y){return new sj({check:"min_length",...x0(Y),minimum:$})}function _Y($,Y){return new aj({check:"length_equals",...x0(Y),length:$})}function sz($,Y){return new tj({check:"string_format",format:"regex",...x0(Y),pattern:$})}function az($){return new ej({check:"string_format",format:"lowercase",...x0($)})}function tz($){return new $E({check:"string_format",format:"uppercase",...x0($)})}function ez($,Y){return new YE({check:"string_format",format:"includes",...x0(Y),includes:$})}function $Q($,Y){return new UE({check:"string_format",format:"starts_with",...x0(Y),prefix:$})}function YQ($,Y){return new zE({check:"string_format",format:"ends_with",...x0(Y),suffix:$})}function cV($,Y,U){return new QE({check:"property",property:$,schema:Y,...x0(U)})}function UQ($,Y){return new JE({check:"mime_type",mime:$,...x0(Y)})}function Y5($){return new IE({check:"overwrite",tx:$})}function zQ($){return Y5((Y)=>Y.normalize($))}function QQ(){return Y5(($)=>$.trim())}function JQ(){return Y5(($)=>$.toLowerCase())}function IQ(){return Y5(($)=>$.toUpperCase())}function KQ(){return Y5(($)=>$j($))}function eR($,Y,U){return new $({type:"array",element:Y,...x0(U)})}function _x0($,Y,U){return new $({type:"union",options:Y,...x0(U)})}function vx0($,Y,U){return new $({type:"union",options:Y,inclusive:!1,...x0(U)})}function hx0($,Y,U,z){return new $({type:"union",options:U,discriminator:Y,...x0(z)})}function Sx0($,Y,U){return new $({type:"intersection",left:Y,right:U})}function gx0($,Y,U,z){let Q=U instanceof q1;return new $({type:"tuple",items:Y,rest:Q?U:null,...x0(Q?z:U)})}function yx0($,Y,U,z){return new $({type:"record",keyType:Y,valueType:U,...x0(z)})}function kx0($,Y,U,z){return new $({type:"map",keyType:Y,valueType:U,...x0(z)})}function xx0($,Y,U){return new $({type:"set",valueType:Y,...x0(U)})}function fx0($,Y,U){let z=Array.isArray(Y)?Object.fromEntries(Y.map((Q)=>[Q,Q])):Y;return new $({type:"enum",entries:z,...x0(U)})}function ux0($,Y,U){return new $({type:"enum",entries:Y,...x0(U)})}function bx0($,Y,U){return new $({type:"literal",values:Array.isArray(Y)?Y:[Y],...x0(U)})}function $_($,Y){return new $({type:"file",...x0(Y)})}function ix0($,Y){return new $({type:"transform",transform:Y})}function cx0($,Y){return new $({type:"optional",innerType:Y})}function nx0($,Y){return new $({type:"nullable",innerType:Y})}function px0($,Y,U){return new $({type:"default",innerType:Y,get defaultValue(){return typeof U==="function"?U():Uj(U)}})}function dx0($,Y,U){return new $({type:"nonoptional",innerType:Y,...x0(U)})}function mx0($,Y){return new $({type:"success",innerType:Y})}function lx0($,Y,U){return new $({type:"catch",innerType:Y,catchValue:typeof U==="function"?U:()=>U})}function ox0($,Y,U){return new $({type:"pipe",in:Y,out:U})}function rx0($,Y){return new $({type:"readonly",innerType:Y})}function sx0($,Y,U){return new $({type:"template_literal",parts:Y,...x0(U)})}function ax0($,Y){return new $({type:"lazy",getter:Y})}function tx0($,Y){return new $({type:"promise",innerType:Y})}function Y_($,Y,U){let z=x0(U);return z.abort??(z.abort=!0),new $({type:"custom",check:"custom",fn:Y,...z})}function U_($,Y,U){return new $({type:"custom",check:"custom",fn:Y,...x0(U)})}function z_($,Y){let U=As((z)=>{return z.addIssue=(Q)=>{if(typeof Q==="string")z.issues.push(nz(Q,z.value,U._zod.def));else{let J=Q;if(J.fatal)J.continue=!1;J.code??(J.code="custom"),J.input??(J.input=z.value),J.inst??(J.inst=U),J.continue??(J.continue=!U._zod.def.abort),z.issues.push(nz(J))}},$(z.value,z)},Y);return U}function As($,Y){let U=new L4({check:"custom",...x0(Y)});return U._zod.check=$,U}function Q_($){let Y=new L4({check:"describe"});return Y._zod.onattach=[(U)=>{let z=n6.get(U)??{};n6.add(U,{...z,description:$})}],Y._zod.check=()=>{},Y}function J_($){let Y=new L4({check:"meta"});return Y._zod.onattach=[(U)=>{let z=n6.get(U)??{};n6.add(U,{...z,...$})}],Y._zod.check=()=>{},Y}function I_($,Y){let U=x0(Y),z=U.truthy??["true","1","yes","on","y","enabled"],Q=U.falsy??["false","0","no","off","n","disabled"];if(U.case!=="sensitive")z=z.map((q)=>typeof q==="string"?q.toLowerCase():q),Q=Q.map((q)=>typeof q==="string"?q.toLowerCase():q);let J=new Set(z),I=new Set(Q),K=$.Codec??HG,G=$.Boolean??KG,W=new($.String??EY)({type:"string",error:U.error}),X=new G({type:"boolean",error:U.error}),Z=new K({type:"pipe",in:W,out:X,transform:(q,V)=>{let F=q;if(U.case!=="sensitive")F=F.toLowerCase();if(J.has(F))return!0;else if(I.has(F))return!1;else return V.issues.push({code:"invalid_value",expected:"stringbool",values:[...J,...I],input:V.value,inst:Z,continue:!1}),{}},reverseTransform:(q,V)=>{if(q===!0)return z[0]||"true";else return Q[0]||"false"},error:U.error});return Z}function GQ($,Y,U,z={}){let Q=x0(z),J={...x0(z),check:"string_format",type:"string",format:Y,fn:typeof U==="function"?U:(K)=>U.test(K),...Q};if(U instanceof RegExp)J.pattern=U;return new $(J)}var TR;var Bs=m(()=>{IV();LG();OC();$1();TR={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}});function Z7($){let Y=$?.target??"draft-2020-12";if(Y==="draft-4")Y="draft-04";if(Y==="draft-7")Y="draft-07";return{processors:$.processors??{},metadataRegistry:$?.metadata??n6,target:Y,unrepresentable:$?.unrepresentable??"throw",override:$?.override??(()=>{}),io:$?.io??"output",counter:0,seen:new Map,cycles:$?.cycles??"ref",reused:$?.reused??"inline",external:$?.external??void 0}}function I4($,Y,U={path:[],schemaPath:[]}){var z;let Q=$._zod.def,J=Y.seen.get($);if(J){if(J.count++,U.schemaPath.includes($))J.cycle=U.path;return J.schema}let I={schema:{},count:1,cycle:void 0,path:U.path};Y.seen.set($,I);let K=$._zod.toJSONSchema?.();if(K)I.schema=K;else{let W={...U,schemaPath:[...U.schemaPath,$],path:U.path};if($._zod.processJSONSchema)$._zod.processJSONSchema(Y,I.schema,W);else{let Z=I.schema,q=Y.processors[Q.type];if(!q)throw Error(`[toJSONSchema]: Non-representable type encountered: ${Q.type}`);q($,Y,Z,W)}let X=$._zod.parent;if(X){if(!I.ref)I.ref=X;I4(X,Y,W),Y.seen.get(X).isParent=!0}}let G=Y.metadataRegistry.get($);if(G)Object.assign(I.schema,G);if(Y.io==="input"&&P8($))delete I.schema.examples,delete I.schema.default;if(Y.io==="input"&&"_prefault"in I.schema)(z=I.schema).default??(z.default=I.schema._prefault);return delete I.schema._prefault,Y.seen.get($).schema}function q7($,Y){let U=$.seen.get(Y);if(!U)throw Error("Unprocessed schema. This is a bug in Zod.");let z=new Map;for(let I of $.seen.entries()){let K=$.metadataRegistry.get(I[0])?.id;if(K){let G=z.get(K);if(G&&G!==I[0])throw Error(`Duplicate schema id "${K}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);z.set(K,I[0])}}let Q=(I)=>{let K=$.target==="draft-2020-12"?"$defs":"definitions";if($.external){let X=$.external.registry.get(I[0])?.id,Z=$.external.uri??((V)=>V);if(X)return{ref:Z(X)};let q=I[1].defId??I[1].schema.id??`schema${$.counter++}`;return I[1].defId=q,{defId:q,ref:`${Z("__shared")}#/${K}/${q}`}}if(I[1]===U)return{ref:"#"};let H=`${"#"}/${K}/`,W=I[1].schema.id??`__schema${$.counter++}`;return{defId:W,ref:H+W}},J=(I)=>{if(I[1].schema.$ref)return;let K=I[1],{ref:G,defId:H}=Q(I);if(K.def={...K.schema},H)K.defId=H;let W=K.schema;for(let X in W)delete W[X];W.$ref=G};if($.cycles==="throw")for(let I of $.seen.entries()){let K=I[1];if(K.cycle)throw Error(`Cycle detected: #/${K.cycle?.join("/")}/ -Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let I of $.seen.entries()){let K=I[1];if(Y===I[0]){J(I);continue}if($.external){let H=$.external.registry.get(I[0])?.id;if(Y!==I[0]&&H){J(I);continue}}if($.metadataRegistry.get(I[0])?.id){J(I);continue}if(K.cycle){J(I);continue}if(K.count>1){if($.reused==="ref"){J(I);continue}}}}function V7($,Y){let U=$.seen.get(Y);if(!U)throw Error("Unprocessed schema. This is a bug in Zod.");let z=(K)=>{let G=$.seen.get(K);if(G.ref===null)return;let H=G.def??G.schema,W={...H},X=G.ref;if(G.ref=null,X){z(X);let q=$.seen.get(X),V=q.schema;if(V.$ref&&($.target==="draft-07"||$.target==="draft-04"||$.target==="openapi-3.0"))H.allOf=H.allOf??[],H.allOf.push(V);else Object.assign(H,V);if(Object.assign(H,W),K._zod.parent===X)for(let M in H){if(M==="$ref"||M==="allOf")continue;if(!(M in W))delete H[M]}if(V.$ref&&q.def)for(let M in H){if(M==="$ref"||M==="allOf")continue;if(M in q.def&&JSON.stringify(H[M])===JSON.stringify(q.def[M]))delete H[M]}}let Z=K._zod.parent;if(Z&&Z!==X){z(Z);let q=$.seen.get(Z);if(q?.schema.$ref){if(H.$ref=q.schema.$ref,q.def)for(let V in H){if(V==="$ref"||V==="allOf")continue;if(V in q.def&&JSON.stringify(H[V])===JSON.stringify(q.def[V]))delete H[V]}}}$.override({zodSchema:K,jsonSchema:H,path:G.path??[]})};for(let K of[...$.seen.entries()].reverse())z(K[0]);let Q={};if($.target==="draft-2020-12")Q.$schema="https://json-schema.org/draft/2020-12/schema";else if($.target==="draft-07")Q.$schema="http://json-schema.org/draft-07/schema#";else if($.target==="draft-04")Q.$schema="http://json-schema.org/draft-04/schema#";else if($.target==="openapi-3.0");if($.external?.uri){let K=$.external.registry.get(Y)?.id;if(!K)throw Error("Schema is missing an `id` property");Q.$id=$.external.uri(K)}Object.assign(Q,U.def??U.schema);let J=$.metadataRegistry.get(Y)?.id;if(J!==void 0&&Q.id===J)delete Q.id;let I=$.external?.defs??{};for(let K of $.seen.entries()){let G=K[1];if(G.def&&G.defId){if(G.def.id===G.defId)delete G.def.id;I[G.defId]=G.def}}if($.external);else if(Object.keys(I).length>0)if($.target==="draft-2020-12")Q.$defs=I;else Q.definitions=I;try{let K=JSON.parse(JSON.stringify(Q));return Object.defineProperty(K,"~standard",{value:{...Y["~standard"],jsonSchema:{input:HQ(Y,"input",$.processors),output:HQ(Y,"output",$.processors)}},enumerable:!1,writable:!1}),K}catch(K){throw Error("Error converting schema to JSON.")}}function P8($,Y){let U=Y??{seen:new Set};if(U.seen.has($))return!1;U.seen.add($);let z=$._zod.def;if(z.type==="transform")return!0;if(z.type==="array")return P8(z.element,U);if(z.type==="set")return P8(z.valueType,U);if(z.type==="lazy")return P8(z.getter(),U);if(z.type==="promise"||z.type==="optional"||z.type==="nonoptional"||z.type==="nullable"||z.type==="readonly"||z.type==="default"||z.type==="prefault")return P8(z.innerType,U);if(z.type==="intersection")return P8(z.left,U)||P8(z.right,U);if(z.type==="record"||z.type==="map")return P8(z.keyType,U)||P8(z.valueType,U);if(z.type==="pipe"){if($._zod.traits.has("$ZodCodec"))return!0;return P8(z.in,U)||P8(z.out,U)}if(z.type==="object"){for(let Q in z.shape)if(P8(z.shape[Q],U))return!0;return!1}if(z.type==="union"){for(let Q of z.options)if(P8(Q,U))return!0;return!1}if(z.type==="tuple"){for(let Q of z.items)if(P8(Q,U))return!0;if(z.rest&&P8(z.rest,U))return!0;return!1}return!1}var K_=($,Y={})=>(U)=>{let z=Z7({...U,processors:Y});return I4($,z),q7(z,$),V7(z,$)},HQ=($,Y,U={})=>(z)=>{let{libraryOptions:Q,target:J}=z??{},I=Z7({...Q??{},target:J,io:Y,processors:U});return I4($,I),q7(I,$),V7(I,$)};var MG=m(()=>{LG()});function vY($,Y){if("_idmap"in $){let z=$,Q=Z7({...Y,processors:nV}),J={};for(let G of z._idmap.entries()){let[H,W]=G;I4(W,Q)}let I={},K={registry:z,uri:Y?.uri,defs:J};Q.external=K;for(let G of z._idmap.entries()){let[H,W]=G;q7(Q,W),I[H]=V7(Q,W)}if(Object.keys(J).length>0){let G=Q.target==="draft-2020-12"?"$defs":"definitions";I.__shared={[G]:J}}return{schemas:I}}let U=Z7({...Y,processors:nV});return I4($,U),q7(U,$),V7(U,$)}var ex0,G_=($,Y,U,z)=>{let Q=U;Q.type="string";let{minimum:J,maximum:I,format:K,patterns:G,contentEncoding:H}=$._zod.bag;if(typeof J==="number")Q.minLength=J;if(typeof I==="number")Q.maxLength=I;if(K){if(Q.format=ex0[K]??K,Q.format==="")delete Q.format;if(K==="time")delete Q.format}if(H)Q.contentEncoding=H;if(G&&G.size>0){let W=[...G];if(W.length===1)Q.pattern=W[0].source;else if(W.length>1)Q.allOf=[...W.map((X)=>({...Y.target==="draft-07"||Y.target==="draft-04"||Y.target==="openapi-3.0"?{type:"string"}:{},pattern:X.source}))]}},H_=($,Y,U,z)=>{let Q=U,{minimum:J,maximum:I,format:K,multipleOf:G,exclusiveMaximum:H,exclusiveMinimum:W}=$._zod.bag;if(typeof K==="string"&&K.includes("int"))Q.type="integer";else Q.type="number";let X=typeof W==="number"&&W>=(J??Number.NEGATIVE_INFINITY),Z=typeof H==="number"&&H<=(I??Number.POSITIVE_INFINITY),q=Y.target==="draft-04"||Y.target==="openapi-3.0";if(X)if(q)Q.minimum=W,Q.exclusiveMinimum=!0;else Q.exclusiveMinimum=W;else if(typeof J==="number")Q.minimum=J;if(Z)if(q)Q.maximum=H,Q.exclusiveMaximum=!0;else Q.exclusiveMaximum=H;else if(typeof I==="number")Q.maximum=I;if(typeof G==="number")Q.multipleOf=G},W_=($,Y,U,z)=>{U.type="boolean"},X_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},Z_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},q_=($,Y,U,z)=>{if(Y.target==="openapi-3.0")U.type="string",U.nullable=!0,U.enum=[null];else U.type="null"},V_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},L_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},F_=($,Y,U,z)=>{U.not={}},w_=($,Y,U,z)=>{},M_=($,Y,U,z)=>{},O_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},N_=($,Y,U,z)=>{let Q=$._zod.def,J=sK(Q.entries);if(J.every((I)=>typeof I==="number"))U.type="number";if(J.every((I)=>typeof I==="string"))U.type="string";U.enum=J},D_=($,Y,U,z)=>{let Q=$._zod.def,J=[];for(let I of Q.values)if(I===void 0){if(Y.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof I==="bigint")if(Y.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else J.push(Number(I));else J.push(I);if(J.length===0);else if(J.length===1){let I=J[0];if(U.type=I===null?"null":typeof I,Y.target==="draft-04"||Y.target==="openapi-3.0")U.enum=[I];else U.const=I}else{if(J.every((I)=>typeof I==="number"))U.type="number";if(J.every((I)=>typeof I==="string"))U.type="string";if(J.every((I)=>typeof I==="boolean"))U.type="boolean";if(J.every((I)=>I===null))U.type="null";U.enum=J}},A_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},B_=($,Y,U,z)=>{let Q=U,J=$._zod.pattern;if(!J)throw Error("Pattern not found in template literal");Q.type="string",Q.pattern=J.source},P_=($,Y,U,z)=>{let Q=U,J={type:"string",format:"binary",contentEncoding:"binary"},{minimum:I,maximum:K,mime:G}=$._zod.bag;if(I!==void 0)J.minLength=I;if(K!==void 0)J.maxLength=K;if(G)if(G.length===1)J.contentMediaType=G[0],Object.assign(Q,J);else Object.assign(Q,J),Q.anyOf=G.map((H)=>({contentMediaType:H}));else Object.assign(Q,J)},T_=($,Y,U,z)=>{U.type="boolean"},j_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},E_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},C_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},R_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},__=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},v_=($,Y,U,z)=>{let Q=U,J=$._zod.def,{minimum:I,maximum:K}=$._zod.bag;if(typeof I==="number")Q.minItems=I;if(typeof K==="number")Q.maxItems=K;Q.type="array",Q.items=I4(J.element,Y,{...z,path:[...z.path,"items"]})},h_=($,Y,U,z)=>{let Q=U,J=$._zod.def;Q.type="object",Q.properties={};let I=J.shape;for(let H in I)Q.properties[H]=I4(I[H],Y,{...z,path:[...z.path,"properties",H]});let K=new Set(Object.keys(I)),G=new Set([...K].filter((H)=>{let W=J.shape[H]._zod;if(Y.io==="input")return W.optin===void 0;else return W.optout===void 0}));if(G.size>0)Q.required=Array.from(G);if(J.catchall?._zod.def.type==="never")Q.additionalProperties=!1;else if(!J.catchall){if(Y.io==="output")Q.additionalProperties=!1}else if(J.catchall)Q.additionalProperties=I4(J.catchall,Y,{...z,path:[...z.path,"additionalProperties"]})},pV=($,Y,U,z)=>{let Q=$._zod.def,J=Q.inclusive===!1,I=Q.options.map((K,G)=>I4(K,Y,{...z,path:[...z.path,J?"oneOf":"anyOf",G]}));if(J)U.oneOf=I;else U.anyOf=I},S_=($,Y,U,z)=>{let Q=$._zod.def,J=I4(Q.left,Y,{...z,path:[...z.path,"allOf",0]}),I=I4(Q.right,Y,{...z,path:[...z.path,"allOf",1]}),K=(H)=>("allOf"in H)&&Object.keys(H).length===1,G=[...K(J)?J.allOf:[J],...K(I)?I.allOf:[I]];U.allOf=G},g_=($,Y,U,z)=>{let Q=U,J=$._zod.def;Q.type="array";let I=Y.target==="draft-2020-12"?"prefixItems":"items",K=Y.target==="draft-2020-12"?"items":Y.target==="openapi-3.0"?"items":"additionalItems",G=J.items.map((Z,q)=>I4(Z,Y,{...z,path:[...z.path,I,q]})),H=J.rest?I4(J.rest,Y,{...z,path:[...z.path,K,...Y.target==="openapi-3.0"?[J.items.length]:[]]}):null;if(Y.target==="draft-2020-12"){if(Q.prefixItems=G,H)Q.items=H}else if(Y.target==="openapi-3.0"){if(Q.items={anyOf:G},H)Q.items.anyOf.push(H);if(Q.minItems=G.length,!H)Q.maxItems=G.length}else if(Q.items=G,H)Q.additionalItems=H;let{minimum:W,maximum:X}=$._zod.bag;if(typeof W==="number")Q.minItems=W;if(typeof X==="number")Q.maxItems=X},y_=($,Y,U,z)=>{let Q=U,J=$._zod.def;Q.type="object";let I=J.keyType,G=I._zod.bag?.patterns;if(J.mode==="loose"&&G&&G.size>0){let W=I4(J.valueType,Y,{...z,path:[...z.path,"patternProperties","*"]});Q.patternProperties={};for(let X of G)Q.patternProperties[X.source]=W}else{if(Y.target==="draft-07"||Y.target==="draft-2020-12")Q.propertyNames=I4(J.keyType,Y,{...z,path:[...z.path,"propertyNames"]});Q.additionalProperties=I4(J.valueType,Y,{...z,path:[...z.path,"additionalProperties"]})}let H=I._zod.values;if(H){let W=[...H].filter((X)=>typeof X==="string"||typeof X==="number");if(W.length>0)Q.required=W}},k_=($,Y,U,z)=>{let Q=$._zod.def,J=I4(Q.innerType,Y,z),I=Y.seen.get($);if(Y.target==="openapi-3.0")I.ref=Q.innerType,U.nullable=!0;else U.anyOf=[J,{type:"null"}]},x_=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);J.ref=Q.innerType},f_=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);J.ref=Q.innerType,U.default=JSON.parse(JSON.stringify(Q.defaultValue))},u_=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);if(J.ref=Q.innerType,Y.io==="input")U._prefault=JSON.parse(JSON.stringify(Q.defaultValue))},b_=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);J.ref=Q.innerType;let I;try{I=Q.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}U.default=I},i_=($,Y,U,z)=>{let Q=$._zod.def,J=Q.in._zod.traits.has("$ZodTransform"),I=Y.io==="input"?J?Q.out:Q.in:Q.out;I4(I,Y,z);let K=Y.seen.get($);K.ref=I},c_=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);J.ref=Q.innerType,U.readOnly=!0},n_=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);J.ref=Q.innerType},dV=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);J.ref=Q.innerType},p_=($,Y,U,z)=>{let Q=$._zod.innerType;I4(Q,Y,z);let J=Y.seen.get($);J.ref=Q},nV;var OG=m(()=>{MG();$1();ex0={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},nV={string:G_,number:H_,boolean:W_,bigint:X_,symbol:Z_,null:q_,undefined:V_,void:L_,never:F_,any:w_,unknown:M_,date:O_,enum:N_,literal:D_,nan:A_,template_literal:B_,file:P_,success:T_,custom:j_,function:E_,transform:C_,map:R_,set:__,array:v_,object:h_,union:pV,intersection:S_,tuple:g_,record:y_,nullable:k_,nonoptional:x_,default:f_,prefault:u_,catch:b_,pipe:i_,readonly:c_,promise:n_,optional:dV,lazy:p_}});class d_{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter($){this.ctx.counter=$}get seen(){return this.ctx.seen}constructor($){let Y=$?.target??"draft-2020-12";if(Y==="draft-4")Y="draft-04";if(Y==="draft-7")Y="draft-07";this.ctx=Z7({processors:nV,target:Y,...$?.metadata&&{metadata:$.metadata},...$?.unrepresentable&&{unrepresentable:$.unrepresentable},...$?.override&&{override:$.override},...$?.io&&{io:$.io}})}process($,Y={path:[],schemaPath:[]}){return I4($,this.ctx,Y)}emit($,Y){if(Y){if(Y.cycles)this.ctx.cycles=Y.cycles;if(Y.reused)this.ctx.reused=Y.reused;if(Y.external)this.ctx.external=Y.external}q7(this.ctx,$);let U=V7(this.ctx,$),{"~standard":z,...Q}=U;return Q}}var Ps=m(()=>{OG();MG()});var Ts={};var js=()=>{};var p9={};x8(p9,{version:()=>KE,util:()=>y0,treeifyError:()=>Gj,toJSONSchema:()=>vY,toDotPath:()=>so,safeParseAsync:()=>Zj,safeParse:()=>Xj,safeEncodeAsync:()=>zk0,safeEncode:()=>Yk0,safeDecodeAsync:()=>Qk0,safeDecode:()=>Uk0,registry:()=>wV,regexes:()=>Y$,process:()=>I4,prettifyError:()=>Hj,parseAsync:()=>lq,parse:()=>mq,meta:()=>J_,locales:()=>VG,isValidJWT:()=>Mr,isValidBase64URL:()=>wr,isValidBase64:()=>_E,initializeContext:()=>Z7,globalRegistry:()=>n6,globalConfig:()=>AY,formatError:()=>zG,flattenError:()=>UG,finalize:()=>V7,extractDefs:()=>q7,encodeAsync:()=>ey0,encode:()=>ay0,describe:()=>Q_,decodeAsync:()=>$k0,decode:()=>ty0,createToJSONSchemaMethod:()=>K_,createStandardJSONSchemaMethod:()=>HQ,config:()=>a4,clone:()=>D8,_xor:()=>vx0,_xid:()=>CV,_void:()=>rR,_uuidv7:()=>AV,_uuidv6:()=>DV,_uuidv4:()=>NV,_uuid:()=>OV,_url:()=>wG,_uppercase:()=>tz,_unknown:()=>lR,_union:()=>_x0,_undefined:()=>pR,_ulid:()=>EV,_uint64:()=>cR,_uint32:()=>kR,_tuple:()=>gx0,_trim:()=>QQ,_transform:()=>ix0,_toUpperCase:()=>IQ,_toLowerCase:()=>JQ,_templateLiteral:()=>sx0,_symbol:()=>nR,_superRefine:()=>z_,_success:()=>mx0,_stringbool:()=>I_,_stringFormat:()=>GQ,_string:()=>AR,_startsWith:()=>$Q,_slugify:()=>KQ,_size:()=>CY,_set:()=>xx0,_safeParseAsync:()=>lz,_safeParse:()=>mz,_safeEncodeAsync:()=>$V,_safeEncode:()=>tq,_safeDecodeAsync:()=>YV,_safeDecode:()=>eq,_regex:()=>sz,_refine:()=>U_,_record:()=>yx0,_readonly:()=>rx0,_property:()=>cV,_promise:()=>tx0,_positive:()=>fV,_pipe:()=>ox0,_parseAsync:()=>dz,_parse:()=>pz,_overwrite:()=>Y5,_optional:()=>cx0,_number:()=>_R,_nullable:()=>nx0,_null:()=>dR,_normalize:()=>zQ,_nonpositive:()=>bV,_nonoptional:()=>dx0,_nonnegative:()=>iV,_never:()=>oR,_negative:()=>uV,_nativeEnum:()=>ux0,_nanoid:()=>PV,_nan:()=>tR,_multipleOf:()=>W7,_minSize:()=>i5,_minLength:()=>n9,_min:()=>B8,_mime:()=>UQ,_maxSize:()=>X7,_maxLength:()=>RY,_max:()=>U$,_map:()=>kx0,_mac:()=>PR,_lte:()=>U$,_lt:()=>u5,_lowercase:()=>az,_literal:()=>bx0,_length:()=>_Y,_lazy:()=>ax0,_ksuid:()=>RV,_jwt:()=>xV,_isoTime:()=>CR,_isoDuration:()=>RR,_isoDateTime:()=>jR,_isoDate:()=>ER,_ipv6:()=>vV,_ipv4:()=>_V,_intersection:()=>Sx0,_int64:()=>iR,_int32:()=>yR,_int:()=>hR,_includes:()=>ez,_guid:()=>FG,_gte:()=>B8,_gt:()=>b5,_float64:()=>gR,_float32:()=>SR,_file:()=>$_,_enum:()=>fx0,_endsWith:()=>YQ,_encodeAsync:()=>sq,_encode:()=>oq,_emoji:()=>BV,_email:()=>MV,_e164:()=>kV,_discriminatedUnion:()=>hx0,_default:()=>px0,_decodeAsync:()=>aq,_decode:()=>rq,_date:()=>sR,_custom:()=>Y_,_cuid2:()=>jV,_cuid:()=>TV,_coercedString:()=>BR,_coercedNumber:()=>vR,_coercedDate:()=>aR,_coercedBoolean:()=>fR,_coercedBigint:()=>bR,_cidrv6:()=>SV,_cidrv4:()=>hV,_check:()=>As,_catch:()=>lx0,_boolean:()=>xR,_bigint:()=>uR,_base64url:()=>yV,_base64:()=>gV,_array:()=>eR,_any:()=>mR,TimePrecision:()=>TR,NEVER:()=>oK,JSONSchemaGenerator:()=>d_,JSONSchema:()=>Ts,Doc:()=>KV,$output:()=>OR,$input:()=>NR,$constructor:()=>H0,$brand:()=>aT,$ZodXor:()=>oE,$ZodXID:()=>OE,$ZodVoid:()=>pE,$ZodUnknown:()=>cE,$ZodUnion:()=>GG,$ZodUndefined:()=>uE,$ZodUUID:()=>XE,$ZodURL:()=>qE,$ZodULID:()=>ME,$ZodType:()=>q1,$ZodTuple:()=>VV,$ZodTransform:()=>zC,$ZodTemplateLiteral:()=>VC,$ZodSymbol:()=>fE,$ZodSuccess:()=>HC,$ZodStringFormat:()=>Z4,$ZodString:()=>EY,$ZodSet:()=>eE,$ZodRegistry:()=>DR,$ZodRecord:()=>aE,$ZodRealError:()=>u8,$ZodReadonly:()=>qC,$ZodPromise:()=>FC,$ZodPreprocess:()=>ZC,$ZodPrefault:()=>KC,$ZodPipe:()=>FV,$ZodOptional:()=>LV,$ZodObjectJIT:()=>lE,$ZodObject:()=>Dr,$ZodNumberFormat:()=>kE,$ZodNumber:()=>ZV,$ZodNullable:()=>JC,$ZodNull:()=>bE,$ZodNonOptional:()=>GC,$ZodNever:()=>nE,$ZodNanoID:()=>LE,$ZodNaN:()=>XC,$ZodMap:()=>tE,$ZodMAC:()=>EE,$ZodLiteral:()=>YC,$ZodLazy:()=>wC,$ZodKSUID:()=>NE,$ZodJWT:()=>gE,$ZodIntersection:()=>sE,$ZodISOTime:()=>BE,$ZodISODuration:()=>PE,$ZodISODateTime:()=>DE,$ZodISODate:()=>AE,$ZodIPv6:()=>jE,$ZodIPv4:()=>TE,$ZodGUID:()=>WE,$ZodFunction:()=>LC,$ZodFile:()=>UC,$ZodExactOptional:()=>QC,$ZodError:()=>YG,$ZodEnum:()=>$C,$ZodEncodeError:()=>BY,$ZodEmoji:()=>VE,$ZodEmail:()=>ZE,$ZodE164:()=>SE,$ZodDiscriminatedUnion:()=>rE,$ZodDefault:()=>IC,$ZodDate:()=>dE,$ZodCustomStringFormat:()=>yE,$ZodCustom:()=>MC,$ZodCodec:()=>HG,$ZodCheckUpperCase:()=>$E,$ZodCheckStringFormat:()=>oz,$ZodCheckStartsWith:()=>UE,$ZodCheckSizeEquals:()=>oj,$ZodCheckRegex:()=>tj,$ZodCheckProperty:()=>QE,$ZodCheckOverwrite:()=>IE,$ZodCheckNumberFormat:()=>pj,$ZodCheckMultipleOf:()=>nj,$ZodCheckMinSize:()=>lj,$ZodCheckMinLength:()=>sj,$ZodCheckMimeType:()=>JE,$ZodCheckMaxSize:()=>mj,$ZodCheckMaxLength:()=>rj,$ZodCheckLowerCase:()=>ej,$ZodCheckLessThan:()=>QV,$ZodCheckLengthEquals:()=>aj,$ZodCheckIncludes:()=>YE,$ZodCheckGreaterThan:()=>JV,$ZodCheckEndsWith:()=>zE,$ZodCheckBigIntFormat:()=>dj,$ZodCheck:()=>L4,$ZodCatch:()=>WC,$ZodCUID2:()=>wE,$ZodCUID:()=>FE,$ZodCIDRv6:()=>RE,$ZodCIDRv4:()=>CE,$ZodBoolean:()=>KG,$ZodBigIntFormat:()=>xE,$ZodBigInt:()=>qV,$ZodBase64URL:()=>hE,$ZodBase64:()=>vE,$ZodAsyncError:()=>f5,$ZodArray:()=>mE,$ZodAny:()=>iE});var z$=m(()=>{$1();zV();MR();OG();Ps();js();PY();qj();Wj();OC();IV();GE();LG();Bs();MG()});var mV={};x8(mV,{uppercase:()=>tz,trim:()=>QQ,toUpperCase:()=>IQ,toLowerCase:()=>JQ,startsWith:()=>$Q,slugify:()=>KQ,size:()=>CY,regex:()=>sz,property:()=>cV,positive:()=>fV,overwrite:()=>Y5,normalize:()=>zQ,nonpositive:()=>bV,nonnegative:()=>iV,negative:()=>uV,multipleOf:()=>W7,minSize:()=>i5,minLength:()=>n9,mime:()=>UQ,maxSize:()=>X7,maxLength:()=>RY,lte:()=>U$,lt:()=>u5,lowercase:()=>az,length:()=>_Y,includes:()=>ez,gte:()=>B8,gt:()=>b5,endsWith:()=>YQ});var lV=m(()=>{z$()});var Q$={};x8(Q$,{time:()=>o_,duration:()=>r_,datetime:()=>m_,date:()=>l_,ZodISOTime:()=>sV,ZodISODuration:()=>aV,ZodISODateTime:()=>oV,ZodISODate:()=>rV});function m_($){return jR(oV,$)}function l_($){return ER(rV,$)}function o_($){return CR(sV,$)}function r_($){return RR(aV,$)}var oV,rV,sV,aV;var NG=m(()=>{z$();AG();oV=H0("ZodISODateTime",($,Y)=>{DE.init($,Y),q4.init($,Y)});rV=H0("ZodISODate",($,Y)=>{AE.init($,Y),q4.init($,Y)});sV=H0("ZodISOTime",($,Y)=>{BE.init($,Y),q4.init($,Y)});aV=H0("ZodISODuration",($,Y)=>{PE.init($,Y),q4.init($,Y)})});var Es=($,Y)=>{YG.init($,Y),$.name="ZodError",Object.defineProperties($,{format:{value:(U)=>zG($,U)},flatten:{value:(U)=>UG($,U)},addIssue:{value:(U)=>{$.issues.push(U),$.message=JSON.stringify($.issues,iz,2)}},addIssues:{value:(U)=>{$.issues.push(...U),$.message=JSON.stringify($.issues,iz,2)}},isEmpty:{get(){return $.issues.length===0}}})},Yf0,b8;var s_=m(()=>{z$();z$();$1();Yf0=H0("ZodError",Es),b8=H0("ZodError",Es,{Parent:Error})});var a_,t_,BG,e_,$v,Yv,Uv,zv,Qv,Jv,Iv,Kv;var Gv=m(()=>{z$();s_();a_=pz(b8),t_=dz(b8),BG=mz(b8),e_=lz(b8),$v=oq(b8),Yv=rq(b8),Uv=sq(b8),zv=aq(b8),Qv=tq(b8),Jv=eq(b8),Iv=$V(b8),Kv=YV(b8)});var DG={};x8(DG,{xor:()=>Va,xid:()=>bs,void:()=>Wa,uuidv7:()=>Ss,uuidv6:()=>hs,uuidv4:()=>vs,uuid:()=>_s,url:()=>qQ,unknown:()=>a0,union:()=>o0,undefined:()=>Ha,ulid:()=>us,uint64:()=>Ka,uint32:()=>Qa,tuple:()=>Av,transform:()=>DL,templateLiteral:()=>ja,symbol:()=>Ga,superRefine:()=>ov,success:()=>Aa,stringbool:()=>ga,stringFormat:()=>as,string:()=>R,strictObject:()=>qa,set:()=>Ma,refine:()=>lv,record:()=>p0,readonly:()=>cv,promise:()=>Ea,preprocess:()=>d9,prefault:()=>gv,pipe:()=>eV,partialRecord:()=>La,optional:()=>t0,object:()=>U0,number:()=>_0,nullish:()=>Da,nullable:()=>TG,null:()=>n5,nonoptional:()=>yv,never:()=>NL,nativeEnum:()=>Oa,nanoid:()=>ks,nan:()=>Ba,meta:()=>ha,map:()=>wa,mac:()=>ns,looseRecord:()=>Fa,looseObject:()=>Q1,literal:()=>L0,lazy:()=>F7,ksuid:()=>is,keyof:()=>Za,jwt:()=>ss,json:()=>ya,ipv6:()=>ps,ipv4:()=>cs,invertCodec:()=>Ta,intersection:()=>U5,int64:()=>Ia,int32:()=>za,int:()=>tV,instanceof:()=>Sa,httpUrl:()=>gs,hostname:()=>ts,hex:()=>es,hash:()=>$a,guid:()=>Rs,function:()=>Ca,float64:()=>Ua,float32:()=>Ya,file:()=>Na,exactOptional:()=>Rv,enum:()=>W1,emoji:()=>ys,email:()=>UL,e164:()=>rs,discriminatedUnion:()=>L7,describe:()=>va,date:()=>Xa,custom:()=>_a,cuid2:()=>fs,cuid:()=>xs,codec:()=>Pa,cidrv6:()=>ms,cidrv4:()=>ds,check:()=>Ra,catch:()=>fv,boolean:()=>m0,bigint:()=>Ja,base64url:()=>os,base64:()=>ls,array:()=>V0,any:()=>OL,_function:()=>Ca,_default:()=>hv,_ZodString:()=>$L,ZodXor:()=>Mv,ZodXID:()=>GL,ZodVoid:()=>Fv,ZodUnknown:()=>Vv,ZodUnion:()=>_G,ZodUndefined:()=>Xv,ZodUUID:()=>c5,ZodURL:()=>EG,ZodULID:()=>KL,ZodType:()=>w1,ZodTuple:()=>Dv,ZodTransform:()=>Ev,ZodTemplateLiteral:()=>nv,ZodSymbol:()=>Wv,ZodSuccess:()=>kv,ZodStringFormat:()=>q4,ZodString:()=>ZQ,ZodSet:()=>Pv,ZodRecord:()=>WQ,ZodReadonly:()=>iv,ZodPromise:()=>dv,ZodPreprocess:()=>bv,ZodPrefault:()=>Sv,ZodPipe:()=>vG,ZodOptional:()=>AL,ZodObject:()=>RG,ZodNumberFormat:()=>hY,ZodNumber:()=>LQ,ZodNullable:()=>_v,ZodNull:()=>Zv,ZodNonOptional:()=>BL,ZodNever:()=>Lv,ZodNanoID:()=>QL,ZodNaN:()=>uv,ZodMap:()=>Bv,ZodMAC:()=>Hv,ZodLiteral:()=>Tv,ZodLazy:()=>pv,ZodKSUID:()=>HL,ZodJWT:()=>wL,ZodIntersection:()=>Nv,ZodIPv6:()=>XL,ZodIPv4:()=>WL,ZodGUID:()=>PG,ZodFunction:()=>mv,ZodFile:()=>jv,ZodExactOptional:()=>Cv,ZodEnum:()=>XQ,ZodEmoji:()=>zL,ZodEmail:()=>YL,ZodE164:()=>FL,ZodDiscriminatedUnion:()=>Ov,ZodDefault:()=>vv,ZodDate:()=>CG,ZodCustomStringFormat:()=>VQ,ZodCustom:()=>SG,ZodCodec:()=>hG,ZodCatch:()=>xv,ZodCUID2:()=>IL,ZodCUID:()=>JL,ZodCIDRv6:()=>qL,ZodCIDRv4:()=>ZL,ZodBoolean:()=>FQ,ZodBigIntFormat:()=>ML,ZodBigInt:()=>wQ,ZodBase64URL:()=>LL,ZodBase64:()=>VL,ZodArray:()=>wv,ZodAny:()=>qv});function jG($,Y,U){let z=Object.getPrototypeOf($),Q=Cs.get(z);if(!Q)Q=new Set,Cs.set(z,Q);if(Q.has(Y))return;Q.add(Y);for(let J in U){let I=U[J];Object.defineProperty(z,J,{configurable:!0,enumerable:!1,get(){let K=I.bind(this);return Object.defineProperty(this,J,{configurable:!0,writable:!0,enumerable:!0,value:K}),K},set(K){Object.defineProperty(this,J,{configurable:!0,writable:!0,enumerable:!0,value:K})}})}}function R($){return AR(ZQ,$)}function UL($){return MV(YL,$)}function Rs($){return FG(PG,$)}function _s($){return OV(c5,$)}function vs($){return NV(c5,$)}function hs($){return DV(c5,$)}function Ss($){return AV(c5,$)}function qQ($){return wG(EG,$)}function gs($){return wG(EG,{protocol:Y$.httpProtocol,hostname:Y$.domain,...y0.normalizeParams($)})}function ys($){return BV(zL,$)}function ks($){return PV(QL,$)}function xs($){return TV(JL,$)}function fs($){return jV(IL,$)}function us($){return EV(KL,$)}function bs($){return CV(GL,$)}function is($){return RV(HL,$)}function cs($){return _V(WL,$)}function ns($){return PR(Hv,$)}function ps($){return vV(XL,$)}function ds($){return hV(ZL,$)}function ms($){return SV(qL,$)}function ls($){return gV(VL,$)}function os($){return yV(LL,$)}function rs($){return kV(FL,$)}function ss($){return xV(wL,$)}function as($,Y,U={}){return GQ(VQ,$,Y,U)}function ts($){return GQ(VQ,"hostname",Y$.hostname,$)}function es($){return GQ(VQ,"hex",Y$.hex,$)}function $a($,Y){let U=Y?.enc??"hex",z=`${$}_${U}`,Q=Y$[z];if(!Q)throw Error(`Unrecognized hash format: ${z}`);return GQ(VQ,z,Q,Y)}function _0($){return _R(LQ,$)}function tV($){return hR(hY,$)}function Ya($){return SR(hY,$)}function Ua($){return gR(hY,$)}function za($){return yR(hY,$)}function Qa($){return kR(hY,$)}function m0($){return xR(FQ,$)}function Ja($){return uR(wQ,$)}function Ia($){return iR(ML,$)}function Ka($){return cR(ML,$)}function Ga($){return nR(Wv,$)}function Ha($){return pR(Xv,$)}function n5($){return dR(Zv,$)}function OL(){return mR(qv)}function a0(){return lR(Vv)}function NL($){return oR(Lv,$)}function Wa($){return rR(Fv,$)}function Xa($){return sR(CG,$)}function V0($,Y){return eR(wv,$,Y)}function Za($){let Y=$._zod.def.shape;return W1(Object.keys(Y))}function U0($,Y){let U={type:"object",shape:$??{},...y0.normalizeParams(Y)};return new RG(U)}function qa($,Y){return new RG({type:"object",shape:$,catchall:NL(),...y0.normalizeParams(Y)})}function Q1($,Y){return new RG({type:"object",shape:$,catchall:a0(),...y0.normalizeParams(Y)})}function o0($,Y){return new _G({type:"union",options:$,...y0.normalizeParams(Y)})}function Va($,Y){return new Mv({type:"union",options:$,inclusive:!1,...y0.normalizeParams(Y)})}function L7($,Y,U){return new Ov({type:"union",options:Y,discriminator:$,...y0.normalizeParams(U)})}function U5($,Y){return new Nv({type:"intersection",left:$,right:Y})}function Av($,Y,U){let z=Y instanceof q1,Q=z?U:Y;return new Dv({type:"tuple",items:$,rest:z?Y:null,...y0.normalizeParams(Q)})}function p0($,Y,U){if(!Y||!Y._zod)return new WQ({type:"record",keyType:R(),valueType:$,...y0.normalizeParams(Y)});return new WQ({type:"record",keyType:$,valueType:Y,...y0.normalizeParams(U)})}function La($,Y,U){let z=D8($);return z._zod.values=void 0,new WQ({type:"record",keyType:z,valueType:Y,...y0.normalizeParams(U)})}function Fa($,Y,U){return new WQ({type:"record",keyType:$,valueType:Y,mode:"loose",...y0.normalizeParams(U)})}function wa($,Y,U){return new Bv({type:"map",keyType:$,valueType:Y,...y0.normalizeParams(U)})}function Ma($,Y){return new Pv({type:"set",valueType:$,...y0.normalizeParams(Y)})}function W1($,Y){let U=Array.isArray($)?Object.fromEntries($.map((z)=>[z,z])):$;return new XQ({type:"enum",entries:U,...y0.normalizeParams(Y)})}function Oa($,Y){return new XQ({type:"enum",entries:$,...y0.normalizeParams(Y)})}function L0($,Y){return new Tv({type:"literal",values:Array.isArray($)?$:[$],...y0.normalizeParams(Y)})}function Na($){return $_(jv,$)}function DL($){return new Ev({type:"transform",transform:$})}function t0($){return new AL({type:"optional",innerType:$})}function Rv($){return new Cv({type:"optional",innerType:$})}function TG($){return new _v({type:"nullable",innerType:$})}function Da($){return t0(TG($))}function hv($,Y){return new vv({type:"default",innerType:$,get defaultValue(){return typeof Y==="function"?Y():y0.shallowClone(Y)}})}function gv($,Y){return new Sv({type:"prefault",innerType:$,get defaultValue(){return typeof Y==="function"?Y():y0.shallowClone(Y)}})}function yv($,Y){return new BL({type:"nonoptional",innerType:$,...y0.normalizeParams(Y)})}function Aa($){return new kv({type:"success",innerType:$})}function fv($,Y){return new xv({type:"catch",innerType:$,catchValue:typeof Y==="function"?Y:()=>Y})}function Ba($){return tR(uv,$)}function eV($,Y){return new vG({type:"pipe",in:$,out:Y})}function Pa($,Y,U){return new hG({type:"pipe",in:$,out:Y,transform:U.decode,reverseTransform:U.encode})}function Ta($){let Y=$._zod.def;return new hG({type:"pipe",in:Y.out,out:Y.in,transform:Y.reverseTransform,reverseTransform:Y.transform})}function cv($){return new iv({type:"readonly",innerType:$})}function ja($,Y){return new nv({type:"template_literal",parts:$,...y0.normalizeParams(Y)})}function F7($){return new pv({type:"lazy",getter:$})}function Ea($){return new dv({type:"promise",innerType:$})}function Ca($){return new mv({type:"function",input:Array.isArray($?.input)?Av($?.input):$?.input??V0(a0()),output:$?.output??a0()})}function Ra($){let Y=new L4({check:"custom"});return Y._zod.check=$,Y}function _a($,Y){return Y_(SG,$??(()=>!0),Y)}function lv($,Y={}){return U_(SG,$,Y)}function ov($,Y){return z_($,Y)}function Sa($,Y={}){let U=new SG({type:"custom",check:"custom",fn:(z)=>z instanceof $,abort:!0,...y0.normalizeParams(Y)});return U._zod.bag.Class=$,U._zod.check=(z)=>{if(!(z.value instanceof $))z.issues.push({code:"invalid_type",expected:$.name,input:z.value,inst:U,path:[...U._zod.def.path??[]]})},U}function ya($){let Y=F7(()=>{return o0([R($),_0(),m0(),n5(),V0(Y),p0(R(),Y)])});return Y}function d9($,Y){return new bv({type:"pipe",in:DL($),out:Y})}var Cs,w1,$L,ZQ,q4,YL,PG,c5,EG,zL,QL,JL,IL,KL,GL,HL,WL,Hv,XL,ZL,qL,VL,LL,FL,wL,VQ,LQ,hY,FQ,wQ,ML,Wv,Xv,Zv,qv,Vv,Lv,Fv,CG,wv,RG,_G,Mv,Ov,Nv,Dv,WQ,Bv,Pv,XQ,Tv,jv,Ev,AL,Cv,_v,vv,Sv,BL,kv,xv,uv,vG,hG,bv,iv,nv,pv,dv,mv,SG,va,ha,ga=(...$)=>I_({Codec:hG,Boolean:FQ,String:ZQ},...$);var AG=m(()=>{z$();z$();OG();MG();lV();NG();Gv();Cs=new WeakMap;w1=H0("ZodType",($,Y)=>{return q1.init($,Y),Object.assign($["~standard"],{jsonSchema:{input:HQ($,"input"),output:HQ($,"output")}}),$.toJSONSchema=K_($,{}),$.def=Y,$.type=Y.type,Object.defineProperty($,"_def",{value:Y}),$.parse=(U,z)=>a_($,U,z,{callee:$.parse}),$.safeParse=(U,z)=>BG($,U,z),$.parseAsync=async(U,z)=>t_($,U,z,{callee:$.parseAsync}),$.safeParseAsync=async(U,z)=>e_($,U,z),$.spa=$.safeParseAsync,$.encode=(U,z)=>$v($,U,z),$.decode=(U,z)=>Yv($,U,z),$.encodeAsync=async(U,z)=>Uv($,U,z),$.decodeAsync=async(U,z)=>zv($,U,z),$.safeEncode=(U,z)=>Qv($,U,z),$.safeDecode=(U,z)=>Jv($,U,z),$.safeEncodeAsync=async(U,z)=>Iv($,U,z),$.safeDecodeAsync=async(U,z)=>Kv($,U,z),jG($,"ZodType",{check(...U){let z=this.def;return this.clone(y0.mergeDefs(z,{checks:[...z.checks??[],...U.map((Q)=>typeof Q==="function"?{_zod:{check:Q,def:{check:"custom"},onattach:[]}}:Q)]}),{parent:!0})},with(...U){return this.check(...U)},clone(U,z){return D8(this,U,z)},brand(){return this},register(U,z){return U.add(this,z),this},refine(U,z){return this.check(lv(U,z))},superRefine(U,z){return this.check(ov(U,z))},overwrite(U){return this.check(Y5(U))},optional(){return t0(this)},exactOptional(){return Rv(this)},nullable(){return TG(this)},nullish(){return t0(TG(this))},nonoptional(U){return yv(this,U)},array(){return V0(this)},or(U){return o0([this,U])},and(U){return U5(this,U)},transform(U){return eV(this,DL(U))},default(U){return hv(this,U)},prefault(U){return gv(this,U)},catch(U){return fv(this,U)},pipe(U){return eV(this,U)},readonly(){return cv(this)},describe(U){let z=this.clone();return n6.add(z,{description:U}),z},meta(...U){if(U.length===0)return n6.get(this);let z=this.clone();return n6.add(z,U[0]),z},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(U){return U(this)}}),Object.defineProperty($,"description",{get(){return n6.get($)?.description},configurable:!0}),$}),$L=H0("_ZodString",($,Y)=>{EY.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,Q,J)=>G_($,z,Q,J);let U=$._zod.bag;$.format=U.format??null,$.minLength=U.minimum??null,$.maxLength=U.maximum??null,jG($,"_ZodString",{regex(...z){return this.check(sz(...z))},includes(...z){return this.check(ez(...z))},startsWith(...z){return this.check($Q(...z))},endsWith(...z){return this.check(YQ(...z))},min(...z){return this.check(n9(...z))},max(...z){return this.check(RY(...z))},length(...z){return this.check(_Y(...z))},nonempty(...z){return this.check(n9(1,...z))},lowercase(z){return this.check(az(z))},uppercase(z){return this.check(tz(z))},trim(){return this.check(QQ())},normalize(...z){return this.check(zQ(...z))},toLowerCase(){return this.check(JQ())},toUpperCase(){return this.check(IQ())},slugify(){return this.check(KQ())}})}),ZQ=H0("ZodString",($,Y)=>{EY.init($,Y),$L.init($,Y),$.email=(U)=>$.check(MV(YL,U)),$.url=(U)=>$.check(wG(EG,U)),$.jwt=(U)=>$.check(xV(wL,U)),$.emoji=(U)=>$.check(BV(zL,U)),$.guid=(U)=>$.check(FG(PG,U)),$.uuid=(U)=>$.check(OV(c5,U)),$.uuidv4=(U)=>$.check(NV(c5,U)),$.uuidv6=(U)=>$.check(DV(c5,U)),$.uuidv7=(U)=>$.check(AV(c5,U)),$.nanoid=(U)=>$.check(PV(QL,U)),$.guid=(U)=>$.check(FG(PG,U)),$.cuid=(U)=>$.check(TV(JL,U)),$.cuid2=(U)=>$.check(jV(IL,U)),$.ulid=(U)=>$.check(EV(KL,U)),$.base64=(U)=>$.check(gV(VL,U)),$.base64url=(U)=>$.check(yV(LL,U)),$.xid=(U)=>$.check(CV(GL,U)),$.ksuid=(U)=>$.check(RV(HL,U)),$.ipv4=(U)=>$.check(_V(WL,U)),$.ipv6=(U)=>$.check(vV(XL,U)),$.cidrv4=(U)=>$.check(hV(ZL,U)),$.cidrv6=(U)=>$.check(SV(qL,U)),$.e164=(U)=>$.check(kV(FL,U)),$.datetime=(U)=>$.check(m_(U)),$.date=(U)=>$.check(l_(U)),$.time=(U)=>$.check(o_(U)),$.duration=(U)=>$.check(r_(U))});q4=H0("ZodStringFormat",($,Y)=>{Z4.init($,Y),$L.init($,Y)}),YL=H0("ZodEmail",($,Y)=>{ZE.init($,Y),q4.init($,Y)});PG=H0("ZodGUID",($,Y)=>{WE.init($,Y),q4.init($,Y)});c5=H0("ZodUUID",($,Y)=>{XE.init($,Y),q4.init($,Y)});EG=H0("ZodURL",($,Y)=>{qE.init($,Y),q4.init($,Y)});zL=H0("ZodEmoji",($,Y)=>{VE.init($,Y),q4.init($,Y)});QL=H0("ZodNanoID",($,Y)=>{LE.init($,Y),q4.init($,Y)});JL=H0("ZodCUID",($,Y)=>{FE.init($,Y),q4.init($,Y)});IL=H0("ZodCUID2",($,Y)=>{wE.init($,Y),q4.init($,Y)});KL=H0("ZodULID",($,Y)=>{ME.init($,Y),q4.init($,Y)});GL=H0("ZodXID",($,Y)=>{OE.init($,Y),q4.init($,Y)});HL=H0("ZodKSUID",($,Y)=>{NE.init($,Y),q4.init($,Y)});WL=H0("ZodIPv4",($,Y)=>{TE.init($,Y),q4.init($,Y)});Hv=H0("ZodMAC",($,Y)=>{EE.init($,Y),q4.init($,Y)});XL=H0("ZodIPv6",($,Y)=>{jE.init($,Y),q4.init($,Y)});ZL=H0("ZodCIDRv4",($,Y)=>{CE.init($,Y),q4.init($,Y)});qL=H0("ZodCIDRv6",($,Y)=>{RE.init($,Y),q4.init($,Y)});VL=H0("ZodBase64",($,Y)=>{vE.init($,Y),q4.init($,Y)});LL=H0("ZodBase64URL",($,Y)=>{hE.init($,Y),q4.init($,Y)});FL=H0("ZodE164",($,Y)=>{SE.init($,Y),q4.init($,Y)});wL=H0("ZodJWT",($,Y)=>{gE.init($,Y),q4.init($,Y)});VQ=H0("ZodCustomStringFormat",($,Y)=>{yE.init($,Y),q4.init($,Y)});LQ=H0("ZodNumber",($,Y)=>{ZV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,Q,J)=>H_($,z,Q,J),jG($,"ZodNumber",{gt(z,Q){return this.check(b5(z,Q))},gte(z,Q){return this.check(B8(z,Q))},min(z,Q){return this.check(B8(z,Q))},lt(z,Q){return this.check(u5(z,Q))},lte(z,Q){return this.check(U$(z,Q))},max(z,Q){return this.check(U$(z,Q))},int(z){return this.check(tV(z))},safe(z){return this.check(tV(z))},positive(z){return this.check(b5(0,z))},nonnegative(z){return this.check(B8(0,z))},negative(z){return this.check(u5(0,z))},nonpositive(z){return this.check(U$(0,z))},multipleOf(z,Q){return this.check(W7(z,Q))},step(z,Q){return this.check(W7(z,Q))},finite(){return this}});let U=$._zod.bag;$.minValue=Math.max(U.minimum??Number.NEGATIVE_INFINITY,U.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,$.maxValue=Math.min(U.maximum??Number.POSITIVE_INFINITY,U.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,$.isInt=(U.format??"").includes("int")||Number.isSafeInteger(U.multipleOf??0.5),$.isFinite=!0,$.format=U.format??null});hY=H0("ZodNumberFormat",($,Y)=>{kE.init($,Y),LQ.init($,Y)});FQ=H0("ZodBoolean",($,Y)=>{KG.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>W_($,U,z,Q)});wQ=H0("ZodBigInt",($,Y)=>{qV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,Q,J)=>X_($,z,Q,J),$.gte=(z,Q)=>$.check(B8(z,Q)),$.min=(z,Q)=>$.check(B8(z,Q)),$.gt=(z,Q)=>$.check(b5(z,Q)),$.gte=(z,Q)=>$.check(B8(z,Q)),$.min=(z,Q)=>$.check(B8(z,Q)),$.lt=(z,Q)=>$.check(u5(z,Q)),$.lte=(z,Q)=>$.check(U$(z,Q)),$.max=(z,Q)=>$.check(U$(z,Q)),$.positive=(z)=>$.check(b5(BigInt(0),z)),$.negative=(z)=>$.check(u5(BigInt(0),z)),$.nonpositive=(z)=>$.check(U$(BigInt(0),z)),$.nonnegative=(z)=>$.check(B8(BigInt(0),z)),$.multipleOf=(z,Q)=>$.check(W7(z,Q));let U=$._zod.bag;$.minValue=U.minimum??null,$.maxValue=U.maximum??null,$.format=U.format??null});ML=H0("ZodBigIntFormat",($,Y)=>{xE.init($,Y),wQ.init($,Y)});Wv=H0("ZodSymbol",($,Y)=>{fE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>Z_($,U,z,Q)});Xv=H0("ZodUndefined",($,Y)=>{uE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>V_($,U,z,Q)});Zv=H0("ZodNull",($,Y)=>{bE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>q_($,U,z,Q)});qv=H0("ZodAny",($,Y)=>{iE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>w_($,U,z,Q)});Vv=H0("ZodUnknown",($,Y)=>{cE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>M_($,U,z,Q)});Lv=H0("ZodNever",($,Y)=>{nE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>F_($,U,z,Q)});Fv=H0("ZodVoid",($,Y)=>{pE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>L_($,U,z,Q)});CG=H0("ZodDate",($,Y)=>{dE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,Q,J)=>O_($,z,Q,J),$.min=(z,Q)=>$.check(B8(z,Q)),$.max=(z,Q)=>$.check(U$(z,Q));let U=$._zod.bag;$.minDate=U.minimum?new Date(U.minimum):null,$.maxDate=U.maximum?new Date(U.maximum):null});wv=H0("ZodArray",($,Y)=>{mE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>v_($,U,z,Q),$.element=Y.element,jG($,"ZodArray",{min(U,z){return this.check(n9(U,z))},nonempty(U){return this.check(n9(1,U))},max(U,z){return this.check(RY(U,z))},length(U,z){return this.check(_Y(U,z))},unwrap(){return this.element}})});RG=H0("ZodObject",($,Y)=>{lE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>h_($,U,z,Q),y0.defineLazy($,"shape",()=>{return Y.shape}),jG($,"ZodObject",{keyof(){return W1(Object.keys(this._zod.def.shape))},catchall(U){return this.clone({...this._zod.def,catchall:U})},passthrough(){return this.clone({...this._zod.def,catchall:a0()})},loose(){return this.clone({...this._zod.def,catchall:a0()})},strict(){return this.clone({...this._zod.def,catchall:NL()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(U){return y0.extend(this,U)},safeExtend(U){return y0.safeExtend(this,U)},merge(U){return y0.merge(this,U)},pick(U){return y0.pick(this,U)},omit(U){return y0.omit(this,U)},partial(...U){return y0.partial(AL,this,U[0])},required(...U){return y0.required(BL,this,U[0])}})});_G=H0("ZodUnion",($,Y)=>{GG.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>pV($,U,z,Q),$.options=Y.options});Mv=H0("ZodXor",($,Y)=>{_G.init($,Y),oE.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>pV($,U,z,Q),$.options=Y.options});Ov=H0("ZodDiscriminatedUnion",($,Y)=>{_G.init($,Y),rE.init($,Y)});Nv=H0("ZodIntersection",($,Y)=>{sE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>S_($,U,z,Q)});Dv=H0("ZodTuple",($,Y)=>{VV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>g_($,U,z,Q),$.rest=(U)=>$.clone({...$._zod.def,rest:U})});WQ=H0("ZodRecord",($,Y)=>{aE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>y_($,U,z,Q),$.keyType=Y.keyType,$.valueType=Y.valueType});Bv=H0("ZodMap",($,Y)=>{tE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>R_($,U,z,Q),$.keyType=Y.keyType,$.valueType=Y.valueType,$.min=(...U)=>$.check(i5(...U)),$.nonempty=(U)=>$.check(i5(1,U)),$.max=(...U)=>$.check(X7(...U)),$.size=(...U)=>$.check(CY(...U))});Pv=H0("ZodSet",($,Y)=>{eE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>__($,U,z,Q),$.min=(...U)=>$.check(i5(...U)),$.nonempty=(U)=>$.check(i5(1,U)),$.max=(...U)=>$.check(X7(...U)),$.size=(...U)=>$.check(CY(...U))});XQ=H0("ZodEnum",($,Y)=>{$C.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,Q,J)=>N_($,z,Q,J),$.enum=Y.entries,$.options=Object.values(Y.entries);let U=new Set(Object.keys(Y.entries));$.extract=(z,Q)=>{let J={};for(let I of z)if(U.has(I))J[I]=Y.entries[I];else throw Error(`Key ${I} not found in enum`);return new XQ({...Y,checks:[],...y0.normalizeParams(Q),entries:J})},$.exclude=(z,Q)=>{let J={...Y.entries};for(let I of z)if(U.has(I))delete J[I];else throw Error(`Key ${I} not found in enum`);return new XQ({...Y,checks:[],...y0.normalizeParams(Q),entries:J})}});Tv=H0("ZodLiteral",($,Y)=>{YC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>D_($,U,z,Q),$.values=new Set(Y.values),Object.defineProperty($,"value",{get(){if(Y.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return Y.values[0]}})});jv=H0("ZodFile",($,Y)=>{UC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>P_($,U,z,Q),$.min=(U,z)=>$.check(i5(U,z)),$.max=(U,z)=>$.check(X7(U,z)),$.mime=(U,z)=>$.check(UQ(Array.isArray(U)?U:[U],z))});Ev=H0("ZodTransform",($,Y)=>{zC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>C_($,U,z,Q),$._zod.parse=(U,z)=>{if(z.direction==="backward")throw new BY($.constructor.name);U.addIssue=(J)=>{if(typeof J==="string")U.issues.push(y0.issue(J,U.value,Y));else{let I=J;if(I.fatal)I.continue=!1;I.code??(I.code="custom"),I.input??(I.input=U.value),I.inst??(I.inst=$),U.issues.push(y0.issue(I))}};let Q=Y.transform(U.value,U);if(Q instanceof Promise)return Q.then((J)=>{return U.value=J,U.fallback=!0,U});return U.value=Q,U.fallback=!0,U}});AL=H0("ZodOptional",($,Y)=>{LV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>dV($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});Cv=H0("ZodExactOptional",($,Y)=>{QC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>dV($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});_v=H0("ZodNullable",($,Y)=>{JC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>k_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});vv=H0("ZodDefault",($,Y)=>{IC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>f_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType,$.removeDefault=$.unwrap});Sv=H0("ZodPrefault",($,Y)=>{KC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>u_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});BL=H0("ZodNonOptional",($,Y)=>{GC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>x_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});kv=H0("ZodSuccess",($,Y)=>{HC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>T_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});xv=H0("ZodCatch",($,Y)=>{WC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>b_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType,$.removeCatch=$.unwrap});uv=H0("ZodNaN",($,Y)=>{XC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>A_($,U,z,Q)});vG=H0("ZodPipe",($,Y)=>{FV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>i_($,U,z,Q),$.in=Y.in,$.out=Y.out});hG=H0("ZodCodec",($,Y)=>{vG.init($,Y),HG.init($,Y)});bv=H0("ZodPreprocess",($,Y)=>{vG.init($,Y),ZC.init($,Y)}),iv=H0("ZodReadonly",($,Y)=>{qC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>c_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});nv=H0("ZodTemplateLiteral",($,Y)=>{VC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>B_($,U,z,Q)});pv=H0("ZodLazy",($,Y)=>{wC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>p_($,U,z,Q),$.unwrap=()=>$._zod.def.getter()});dv=H0("ZodPromise",($,Y)=>{FC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>n_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});mv=H0("ZodFunction",($,Y)=>{LC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>E_($,U,z,Q)});SG=H0("ZodCustom",($,Y)=>{MC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>j_($,U,z,Q)});va=Q_,ha=J_});function zf0($){a4({customError:$})}function Qf0(){return a4().customError}var sv,rv;var ka=m(()=>{z$();sv={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};(function($){})(rv||(rv={}))});function If0($,Y){let U=$.$schema;if(U==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(U==="http://json-schema.org/draft-07/schema#")return"draft-7";if(U==="http://json-schema.org/draft-04/schema#")return"draft-4";return Y??"draft-2020-12"}function Kf0($,Y){if(!$.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let U=$.slice(1).split("/").filter(Boolean);if(U.length===0)return Y.rootSchema;let z=Y.version==="draft-2020-12"?"$defs":"definitions";if(U[0]===z){let Q=U[1];if(!Q||!Y.defs[Q])throw Error(`Reference not found: ${$}`);return Y.defs[Q]}throw Error(`Reference not found: ${$}`)}function xa($,Y){if($.not!==void 0){if(typeof $.not==="object"&&Object.keys($.not).length===0)return l0.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if($.unevaluatedItems!==void 0)throw Error("unevaluatedItems is not supported");if($.unevaluatedProperties!==void 0)throw Error("unevaluatedProperties is not supported");if($.if!==void 0||$.then!==void 0||$.else!==void 0)throw Error("Conditional schemas (if/then/else) are not supported");if($.dependentSchemas!==void 0||$.dependentRequired!==void 0)throw Error("dependentSchemas and dependentRequired are not supported");if($.$ref){let Q=$.$ref;if(Y.refs.has(Q))return Y.refs.get(Q);if(Y.processing.has(Q))return l0.lazy(()=>{if(!Y.refs.has(Q))throw Error(`Circular reference not resolved: ${Q}`);return Y.refs.get(Q)});Y.processing.add(Q);let J=Kf0(Q,Y),I=K8(J,Y);return Y.refs.set(Q,I),Y.processing.delete(Q),I}if($.enum!==void 0){let Q=$.enum;if(Y.version==="openapi-3.0"&&$.nullable===!0&&Q.length===1&&Q[0]===null)return l0.null();if(Q.length===0)return l0.never();if(Q.length===1)return l0.literal(Q[0]);if(Q.every((I)=>typeof I==="string"))return l0.enum(Q);let J=Q.map((I)=>l0.literal(I));if(J.length<2)return J[0];return l0.union([J[0],J[1],...J.slice(2)])}if($.const!==void 0)return l0.literal($.const);let U=$.type;if(Array.isArray(U)){let Q=U.map((J)=>{let I={...$,type:J};return xa(I,Y)});if(Q.length===0)return l0.never();if(Q.length===1)return Q[0];return l0.union(Q)}if(!U)return l0.any();let z;switch(U){case"string":{let Q=l0.string();if($.format){let J=$.format;if(J==="email")Q=Q.check(l0.email());else if(J==="uri"||J==="uri-reference")Q=Q.check(l0.url());else if(J==="uuid"||J==="guid")Q=Q.check(l0.uuid());else if(J==="date-time")Q=Q.check(l0.iso.datetime());else if(J==="date")Q=Q.check(l0.iso.date());else if(J==="time")Q=Q.check(l0.iso.time());else if(J==="duration")Q=Q.check(l0.iso.duration());else if(J==="ipv4")Q=Q.check(l0.ipv4());else if(J==="ipv6")Q=Q.check(l0.ipv6());else if(J==="mac")Q=Q.check(l0.mac());else if(J==="cidr")Q=Q.check(l0.cidrv4());else if(J==="cidr-v6")Q=Q.check(l0.cidrv6());else if(J==="base64")Q=Q.check(l0.base64());else if(J==="base64url")Q=Q.check(l0.base64url());else if(J==="e164")Q=Q.check(l0.e164());else if(J==="jwt")Q=Q.check(l0.jwt());else if(J==="emoji")Q=Q.check(l0.emoji());else if(J==="nanoid")Q=Q.check(l0.nanoid());else if(J==="cuid")Q=Q.check(l0.cuid());else if(J==="cuid2")Q=Q.check(l0.cuid2());else if(J==="ulid")Q=Q.check(l0.ulid());else if(J==="xid")Q=Q.check(l0.xid());else if(J==="ksuid")Q=Q.check(l0.ksuid())}if(typeof $.minLength==="number")Q=Q.min($.minLength);if(typeof $.maxLength==="number")Q=Q.max($.maxLength);if($.pattern)Q=Q.regex(new RegExp($.pattern));z=Q;break}case"number":case"integer":{let Q=U==="integer"?l0.number().int():l0.number();if(typeof $.minimum==="number")Q=Q.min($.minimum);if(typeof $.maximum==="number")Q=Q.max($.maximum);if(typeof $.exclusiveMinimum==="number")Q=Q.gt($.exclusiveMinimum);else if($.exclusiveMinimum===!0&&typeof $.minimum==="number")Q=Q.gt($.minimum);if(typeof $.exclusiveMaximum==="number")Q=Q.lt($.exclusiveMaximum);else if($.exclusiveMaximum===!0&&typeof $.maximum==="number")Q=Q.lt($.maximum);if(typeof $.multipleOf==="number")Q=Q.multipleOf($.multipleOf);z=Q;break}case"boolean":{z=l0.boolean();break}case"null":{z=l0.null();break}case"object":{let Q={},J=$.properties||{},I=new Set($.required||[]);for(let[G,H]of Object.entries(J)){let W=K8(H,Y);Q[G]=I.has(G)?W:W.optional()}if($.propertyNames){let G=K8($.propertyNames,Y),H=$.additionalProperties&&typeof $.additionalProperties==="object"?K8($.additionalProperties,Y):l0.any();if(Object.keys(Q).length===0){z=l0.record(G,H);break}let W=l0.object(Q).passthrough(),X=l0.looseRecord(G,H);z=l0.intersection(W,X);break}if($.patternProperties){let G=$.patternProperties,H=Object.keys(G),W=[];for(let Z of H){let q=K8(G[Z],Y),V=l0.string().regex(new RegExp(Z));W.push(l0.looseRecord(V,q))}let X=[];if(Object.keys(Q).length>0)X.push(l0.object(Q).passthrough());if(X.push(...W),X.length===0)z=l0.object({}).passthrough();else if(X.length===1)z=X[0];else{let Z=l0.intersection(X[0],X[1]);for(let q=2;qK8(G,Y)),K=J&&typeof J==="object"&&!Array.isArray(J)?K8(J,Y):void 0;if(K)z=l0.tuple(I).rest(K);else z=l0.tuple(I);if(typeof $.minItems==="number")z=z.check(l0.minLength($.minItems));if(typeof $.maxItems==="number")z=z.check(l0.maxLength($.maxItems))}else if(Array.isArray(J)){let I=J.map((G)=>K8(G,Y)),K=$.additionalItems&&typeof $.additionalItems==="object"?K8($.additionalItems,Y):void 0;if(K)z=l0.tuple(I).rest(K);else z=l0.tuple(I);if(typeof $.minItems==="number")z=z.check(l0.minLength($.minItems));if(typeof $.maxItems==="number")z=z.check(l0.maxLength($.maxItems))}else if(J!==void 0){let I=K8(J,Y),K=l0.array(I);if(typeof $.minItems==="number")K=K.min($.minItems);if(typeof $.maxItems==="number")K=K.max($.maxItems);z=K}else z=l0.array(l0.any());break}default:throw Error(`Unsupported type: ${U}`)}return z}function K8($,Y){if(typeof $==="boolean")return $?l0.any():l0.never();let U=xa($,Y),z=$.type||$.enum!==void 0||$.const!==void 0;if($.anyOf&&Array.isArray($.anyOf)){let K=$.anyOf.map((H)=>K8(H,Y)),G=l0.union(K);U=z?l0.intersection(U,G):G}if($.oneOf&&Array.isArray($.oneOf)){let K=$.oneOf.map((H)=>K8(H,Y)),G=l0.xor(K);U=z?l0.intersection(U,G):G}if($.allOf&&Array.isArray($.allOf))if($.allOf.length===0)U=z?U:l0.any();else{let K=z?U:K8($.allOf[0],Y),G=z?0:1;for(let H=G;H<$.allOf.length;H++)K=l0.intersection(K,K8($.allOf[H],Y));U=K}if($.nullable===!0&&Y.version==="openapi-3.0")U=l0.nullable(U);if($.readOnly===!0)U=l0.readonly(U);if($.default!==void 0)U=U.default($.default);let Q={},J=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let K of J)if(K in $)Q[K]=$[K];let I=["contentEncoding","contentMediaType","contentSchema"];for(let K of I)if(K in $)Q[K]=$[K];for(let K of Object.keys($))if(!Jf0.has(K))Q[K]=$[K];if(Object.keys(Q).length>0)Y.registry.add(U,Q);if($.description)U=U.describe($.description);return U}function fa($,Y){if(typeof $==="boolean")return $?l0.any():l0.never();let U;try{U=JSON.parse(JSON.stringify($))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let z=If0(U,Y?.defaultTarget),Q=U.$defs||U.definitions||{},J={version:z,defs:Q,refs:new Map,processing:new Set,rootSchema:U,registry:Y?.registry??n6};return K8(U,J)}var l0,Jf0;var ua=m(()=>{LG();lV();NG();AG();l0={...DG,...mV,iso:Q$},Jf0=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"])});var gG={};x8(gG,{string:()=>Gf0,number:()=>Hf0,date:()=>Zf0,boolean:()=>Wf0,bigint:()=>Xf0});function Gf0($){return BR(ZQ,$)}function Hf0($){return vR(LQ,$)}function Wf0($){return fR(FQ,$)}function Xf0($){return bR(wQ,$)}function Zf0($){return aR(CG,$)}var ba=m(()=>{z$();AG()});var L={};x8(L,{xor:()=>Va,xid:()=>bs,void:()=>Wa,uuidv7:()=>Ss,uuidv6:()=>hs,uuidv4:()=>vs,uuid:()=>_s,util:()=>y0,url:()=>qQ,uppercase:()=>tz,unknown:()=>a0,union:()=>o0,undefined:()=>Ha,ulid:()=>us,uint64:()=>Ka,uint32:()=>Qa,tuple:()=>Av,trim:()=>QQ,treeifyError:()=>Gj,transform:()=>DL,toUpperCase:()=>IQ,toLowerCase:()=>JQ,toJSONSchema:()=>vY,templateLiteral:()=>ja,symbol:()=>Ga,superRefine:()=>ov,success:()=>Aa,stringbool:()=>ga,stringFormat:()=>as,string:()=>R,strictObject:()=>qa,startsWith:()=>$Q,slugify:()=>KQ,size:()=>CY,setErrorMap:()=>zf0,set:()=>Ma,safeParseAsync:()=>e_,safeParse:()=>BG,safeEncodeAsync:()=>Iv,safeEncode:()=>Qv,safeDecodeAsync:()=>Kv,safeDecode:()=>Jv,registry:()=>wV,regexes:()=>Y$,regex:()=>sz,refine:()=>lv,record:()=>p0,readonly:()=>cv,property:()=>cV,promise:()=>Ea,prettifyError:()=>Hj,preprocess:()=>d9,prefault:()=>gv,positive:()=>fV,pipe:()=>eV,partialRecord:()=>La,parseAsync:()=>t_,parse:()=>a_,overwrite:()=>Y5,optional:()=>t0,object:()=>U0,number:()=>_0,nullish:()=>Da,nullable:()=>TG,null:()=>n5,normalize:()=>zQ,nonpositive:()=>bV,nonoptional:()=>yv,nonnegative:()=>iV,never:()=>NL,negative:()=>uV,nativeEnum:()=>Oa,nanoid:()=>ks,nan:()=>Ba,multipleOf:()=>W7,minSize:()=>i5,minLength:()=>n9,mime:()=>UQ,meta:()=>ha,maxSize:()=>X7,maxLength:()=>RY,map:()=>wa,mac:()=>ns,lte:()=>U$,lt:()=>u5,lowercase:()=>az,looseRecord:()=>Fa,looseObject:()=>Q1,locales:()=>VG,literal:()=>L0,length:()=>_Y,lazy:()=>F7,ksuid:()=>is,keyof:()=>Za,jwt:()=>ss,json:()=>ya,iso:()=>Q$,ipv6:()=>ps,ipv4:()=>cs,invertCodec:()=>Ta,intersection:()=>U5,int64:()=>Ia,int32:()=>za,int:()=>tV,instanceof:()=>Sa,includes:()=>ez,httpUrl:()=>gs,hostname:()=>ts,hex:()=>es,hash:()=>$a,guid:()=>Rs,gte:()=>B8,gt:()=>b5,globalRegistry:()=>n6,getErrorMap:()=>Qf0,function:()=>Ca,fromJSONSchema:()=>fa,formatError:()=>zG,float64:()=>Ua,float32:()=>Ya,flattenError:()=>UG,file:()=>Na,exactOptional:()=>Rv,enum:()=>W1,endsWith:()=>YQ,encodeAsync:()=>Uv,encode:()=>$v,emoji:()=>ys,email:()=>UL,e164:()=>rs,discriminatedUnion:()=>L7,describe:()=>va,decodeAsync:()=>zv,decode:()=>Yv,date:()=>Xa,custom:()=>_a,cuid2:()=>fs,cuid:()=>xs,core:()=>p9,config:()=>a4,coerce:()=>gG,codec:()=>Pa,clone:()=>D8,cidrv6:()=>ms,cidrv4:()=>ds,check:()=>Ra,catch:()=>fv,boolean:()=>m0,bigint:()=>Ja,base64url:()=>os,base64:()=>ls,array:()=>V0,any:()=>OL,_function:()=>Ca,_default:()=>hv,_ZodString:()=>$L,ZodXor:()=>Mv,ZodXID:()=>GL,ZodVoid:()=>Fv,ZodUnknown:()=>Vv,ZodUnion:()=>_G,ZodUndefined:()=>Xv,ZodUUID:()=>c5,ZodURL:()=>EG,ZodULID:()=>KL,ZodType:()=>w1,ZodTuple:()=>Dv,ZodTransform:()=>Ev,ZodTemplateLiteral:()=>nv,ZodSymbol:()=>Wv,ZodSuccess:()=>kv,ZodStringFormat:()=>q4,ZodString:()=>ZQ,ZodSet:()=>Pv,ZodRecord:()=>WQ,ZodRealError:()=>b8,ZodReadonly:()=>iv,ZodPromise:()=>dv,ZodPreprocess:()=>bv,ZodPrefault:()=>Sv,ZodPipe:()=>vG,ZodOptional:()=>AL,ZodObject:()=>RG,ZodNumberFormat:()=>hY,ZodNumber:()=>LQ,ZodNullable:()=>_v,ZodNull:()=>Zv,ZodNonOptional:()=>BL,ZodNever:()=>Lv,ZodNanoID:()=>QL,ZodNaN:()=>uv,ZodMap:()=>Bv,ZodMAC:()=>Hv,ZodLiteral:()=>Tv,ZodLazy:()=>pv,ZodKSUID:()=>HL,ZodJWT:()=>wL,ZodIssueCode:()=>sv,ZodIntersection:()=>Nv,ZodISOTime:()=>sV,ZodISODuration:()=>aV,ZodISODateTime:()=>oV,ZodISODate:()=>rV,ZodIPv6:()=>XL,ZodIPv4:()=>WL,ZodGUID:()=>PG,ZodFunction:()=>mv,ZodFirstPartyTypeKind:()=>rv,ZodFile:()=>jv,ZodExactOptional:()=>Cv,ZodError:()=>Yf0,ZodEnum:()=>XQ,ZodEmoji:()=>zL,ZodEmail:()=>YL,ZodE164:()=>FL,ZodDiscriminatedUnion:()=>Ov,ZodDefault:()=>vv,ZodDate:()=>CG,ZodCustomStringFormat:()=>VQ,ZodCustom:()=>SG,ZodCodec:()=>hG,ZodCatch:()=>xv,ZodCUID2:()=>IL,ZodCUID:()=>JL,ZodCIDRv6:()=>qL,ZodCIDRv4:()=>ZL,ZodBoolean:()=>FQ,ZodBigIntFormat:()=>ML,ZodBigInt:()=>wQ,ZodBase64URL:()=>LL,ZodBase64:()=>VL,ZodArray:()=>wv,ZodAny:()=>qv,TimePrecision:()=>TR,NEVER:()=>oK,$output:()=>OR,$input:()=>NR,$brand:()=>aT});var PL=m(()=>{z$();z$();RC();z$();OG();ua();MR();NG();NG();ba();AG();lV();s_();Gv();ka();a4(WG())});var ia=m(()=>{PL()});var av=m(()=>{ia()});var gY="2025-11-25",TL,jL="io.modelcontextprotocol/related-task",l9="io.modelcontextprotocol/protocolVersion",MQ="io.modelcontextprotocol/clientInfo",p5="io.modelcontextprotocol/serverInfo",o9="io.modelcontextprotocol/clientCapabilities",yY="io.modelcontextprotocol/subscriptionId",M7="io.modelcontextprotocol/logLevel",kY="2.0",w7,t4,ev,yG,kG,EL,CL,xG,S6,xY,e4,G8,H8,fG,$6,O7,uG,bG,OQ,NQ,iG,$h,cG,RL,nG,_L,N7,m9,DQ,qf0,Vf0,vL,hL,SL,gL,yL,pG,kL,xL,fL,uL,dG,bL,iL,mG,cL,D7,A7,lG,oG,Yh,rG,B7,r9,sG,nL,pL,dL,mL,lL,AQ,oL,rL,sL,aL,tL,eL,$F,YF,aG,UF,zF,QF,JF,IF,KF,GF,HF,WF,XF,ZF,qF,VF,LF,BQ,PQ,TQ,FF,wF,MF,jQ,OF,NF,DF,AF,BF,tG,PF,TF,eG,Uh,jF,EF,CF,zh,P7,RF,_F,vF,hF,SF,gF,yF,kF,xF,SY,fF,uF,bF,iF,cF,$H,EQ,CQ,YH,UH,zH,nF,QH,JH,pF,dF,IH,RQ,mF,lF,oF,rF,sF,aF,tF,eF,$w,Yw,Uw,zw,Qw,Jw,Iw,Qh,Kw,T7,Jh,Gw,Ih,Kh,Gh,Hh,Wh,Xh,Zh,qh,Vh,Lh,Fh,wh,Mh,Oh,Nh,h6,Dh,Hw,Ww,Ah,Bh,Ph,Th,tv,Xw,Zw,jh,Eh,Ch;var na=m(()=>{av();TL=[gY,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],w7=F7(()=>o0([R(),_0(),m0(),n5(),p0(R(),w7),V0(w7)])),t4=p0(R(),w7),ev=V0(w7),yG=o0([R(),_0().int()]),kG=R(),EL=U0({ttl:_0().optional()}),CL=U0({taskId:R()}),xG=Q1({progressToken:yG.optional(),[jL]:CL.optional()}),S6=U0({_meta:xG.optional()}),xY=S6.extend({task:EL.optional()}),e4=U0({method:R(),params:S6.loose().optional()}),G8=U0({_meta:xG.optional()}),H8=U0({method:R(),params:G8.loose().optional()}),fG=Q1({get[p5](){return DQ.optional().catch(void 0)}}),$6=Q1({_meta:fG.optional()}),O7=o0([R(),_0().int()]),uG=U0({jsonrpc:L0(kY),id:O7,...e4.shape}).strict(),bG=U0({jsonrpc:L0(kY),...H8.shape}).strict(),OQ=U0({jsonrpc:L0(kY),id:O7,result:$6}).strict(),NQ=U0({jsonrpc:L0(kY),id:O7.optional(),error:U0({code:_0().int(),message:R(),data:a0().optional()})}).strict(),iG=o0([uG,bG,OQ,NQ]),$h=o0([OQ,NQ]),cG=$6.strict(),RL=G8.extend({requestId:O7.optional(),reason:R().optional()}),nG=H8.extend({method:L0("notifications/cancelled"),params:RL}),_L=U0({src:R(),mimeType:R().optional(),sizes:V0(R()).optional(),theme:W1(["light","dark"]).optional()}),N7=U0({icons:V0(_L).optional()}),m9=U0({name:R(),title:R().optional()}),DQ=m9.extend({...m9.shape,...N7.shape,version:R(),websiteUrl:R().optional(),description:R().optional()}),qf0=U5(U0({applyDefaults:m0().optional()}),t4),Vf0=d9(($)=>{if($&&typeof $==="object"&&!Array.isArray($)&&Object.keys($).length===0)return{form:{}};return $},U5(U0({form:qf0.optional(),url:t4.optional()}),t4.optional())),vL=Q1({list:t4.optional(),cancel:t4.optional(),requests:Q1({sampling:Q1({createMessage:t4.optional()}).optional(),elicitation:Q1({create:t4.optional()}).optional()}).optional()}),hL=Q1({list:t4.optional(),cancel:t4.optional(),requests:Q1({tools:Q1({call:t4.optional()}).optional()}).optional()}),SL=U0({experimental:p0(R(),t4).optional(),sampling:U0({context:t4.optional(),tools:t4.optional()}).optional(),elicitation:Vf0.optional(),roots:U0({listChanged:m0().optional()}).optional(),tasks:vL.optional(),extensions:p0(R(),t4).optional()}),gL=S6.extend({protocolVersion:R(),capabilities:SL,clientInfo:DQ}),yL=e4.extend({method:L0("initialize"),params:gL}),pG=U0({experimental:p0(R(),t4).optional(),logging:t4.optional(),completions:t4.optional(),prompts:U0({listChanged:m0().optional()}).optional(),resources:U0({subscribe:m0().optional(),listChanged:m0().optional()}).optional(),tools:U0({listChanged:m0().optional()}).optional(),tasks:hL.optional(),extensions:p0(R(),t4).optional()}),kL=$6.extend({protocolVersion:R(),capabilities:pG,serverInfo:DQ,instructions:R().optional()}),xL=H8.extend({method:L0("notifications/initialized"),params:G8.optional()}),fL=e4.extend({method:L0("server/discover"),params:S6.optional()}),uL=$6.extend({supportedVersions:V0(R()),capabilities:pG,instructions:R().optional()}),dG=e4.extend({method:L0("ping"),params:S6.optional()}),bL=U0({progress:_0(),total:t0(_0()),message:t0(R())}),iL=U0({...G8.shape,...bL.shape,progressToken:yG}),mG=H8.extend({method:L0("notifications/progress"),params:iL}),cL=S6.extend({cursor:kG.optional()}),D7=e4.extend({params:cL.optional()}),A7=$6.extend({nextCursor:kG.optional()}),lG=U0({uri:R(),mimeType:t0(R()),_meta:p0(R(),a0()).optional()}),oG=lG.extend({text:R()}),Yh=R().refine(($)=>{try{return atob($),!0}catch{return!1}},{message:"Invalid Base64 string"}),rG=lG.extend({blob:Yh}),B7=W1(["user","assistant"]),r9=U0({audience:V0(B7).optional(),priority:_0().min(0).max(1).optional(),lastModified:Q$.datetime({offset:!0}).optional()}),sG=U0({...m9.shape,...N7.shape,uri:R(),description:t0(R()),mimeType:t0(R()),size:t0(_0()),annotations:r9.optional(),_meta:t0(Q1({}))}),nL=U0({...m9.shape,...N7.shape,uriTemplate:R(),description:t0(R()),mimeType:t0(R()),annotations:r9.optional(),_meta:t0(Q1({}))}),pL=D7.extend({method:L0("resources/list")}),dL=A7.extend({resources:V0(sG)}),mL=D7.extend({method:L0("resources/templates/list")}),lL=A7.extend({resourceTemplates:V0(nL)}),AQ=S6.extend({uri:R()}),oL=AQ,rL=e4.extend({method:L0("resources/read"),params:oL}),sL=$6.extend({contents:V0(o0([oG,rG]))}),aL=H8.extend({method:L0("notifications/resources/list_changed"),params:G8.optional()}),tL=AQ,eL=e4.extend({method:L0("resources/subscribe"),params:tL}),$F=AQ,YF=e4.extend({method:L0("resources/unsubscribe"),params:$F}),aG=U0({toolsListChanged:m0().optional(),promptsListChanged:m0().optional(),resourcesListChanged:m0().optional(),resourceSubscriptions:V0(R()).optional()}),UF=S6.extend({notifications:aG}),zF=e4.extend({method:L0("subscriptions/listen"),params:UF}),QF=G8.extend({notifications:aG}),JF=H8.extend({method:L0("notifications/subscriptions/acknowledged"),params:QF}),IF=fG.extend({[yY]:O7}),KF=$6.extend({_meta:IF}),GF=G8.extend({uri:R()}),HF=H8.extend({method:L0("notifications/resources/updated"),params:GF}),WF=U0({name:R(),description:t0(R()),required:t0(m0())}),XF=U0({...m9.shape,...N7.shape,description:t0(R()),arguments:t0(V0(WF)),_meta:t0(Q1({}))}),ZF=D7.extend({method:L0("prompts/list")}),qF=A7.extend({prompts:V0(XF)}),VF=S6.extend({name:R(),arguments:p0(R(),R()).optional()}),LF=e4.extend({method:L0("prompts/get"),params:VF}),BQ=U0({type:L0("text"),text:R(),annotations:r9.optional(),_meta:p0(R(),a0()).optional()}),PQ=U0({type:L0("image"),data:Yh,mimeType:R(),annotations:r9.optional(),_meta:p0(R(),a0()).optional()}),TQ=U0({type:L0("audio"),data:Yh,mimeType:R(),annotations:r9.optional(),_meta:p0(R(),a0()).optional()}),FF=U0({type:L0("tool_use"),name:R(),id:R(),input:p0(R(),a0()),_meta:p0(R(),a0()).optional()}),wF=U0({type:L0("resource"),resource:o0([oG,rG]),annotations:r9.optional(),_meta:p0(R(),a0()).optional()}),MF=sG.extend({type:L0("resource_link")}),jQ=o0([BQ,PQ,TQ,MF,wF]),OF=U0({role:B7,content:jQ}),NF=$6.extend({description:R().optional(),messages:V0(OF)}),DF=H8.extend({method:L0("notifications/prompts/list_changed"),params:G8.optional()}),AF=U0({title:R().optional(),readOnlyHint:m0().optional(),destructiveHint:m0().optional(),idempotentHint:m0().optional(),openWorldHint:m0().optional()}),BF=U0({taskSupport:W1(["required","optional","forbidden"]).optional()}),tG=U0({...m9.shape,...N7.shape,description:R().optional(),inputSchema:U0({type:L0("object"),properties:p0(R(),w7).optional(),required:V0(R()).optional()}).catchall(a0()),outputSchema:Q1({$schema:R().optional()}).optional(),annotations:AF.optional(),execution:BF.optional(),_meta:p0(R(),a0()).optional()}),PF=D7.extend({method:L0("tools/list")}),TF=A7.extend({tools:V0(tG)}),eG=$6.extend({content:V0(jQ).default([]),structuredContent:a0().optional(),isError:m0().optional()}),Uh=eG.or($6.extend({toolResult:a0()})),jF=xY.extend({name:R(),arguments:p0(R(),a0()).optional()}),EF=e4.extend({method:L0("tools/call"),params:jF}),CF=H8.extend({method:L0("notifications/tools/list_changed"),params:G8.optional()}),zh=U0({autoRefresh:m0().default(!0),debounceMs:_0().int().nonnegative().default(300)}),P7=W1(["debug","info","notice","warning","error","critical","alert","emergency"]),RF=S6.extend({level:P7}),_F=e4.extend({method:L0("logging/setLevel"),params:RF}),vF=G8.extend({level:P7,logger:R().optional(),data:a0()}),hF=H8.extend({method:L0("notifications/message"),params:vF}),SF=U0({name:R().optional()}),gF=U0({hints:V0(SF).optional(),costPriority:_0().min(0).max(1).optional(),speedPriority:_0().min(0).max(1).optional(),intelligencePriority:_0().min(0).max(1).optional()}),yF=U0({mode:W1(["auto","required","none"]).optional()}),kF=U0({type:L0("tool_result"),toolUseId:R().describe("The unique identifier for the corresponding tool call."),content:V0(jQ),structuredContent:a0().optional(),isError:m0().optional(),_meta:p0(R(),a0()).optional()}),xF=L7("type",[BQ,PQ,TQ]),SY=L7("type",[BQ,PQ,TQ,FF,kF]),fF=U0({role:B7,content:o0([SY,V0(SY)]),_meta:p0(R(),a0()).optional()}),uF=xY.extend({messages:V0(fF),modelPreferences:gF.optional(),systemPrompt:R().optional(),includeContext:W1(["none","thisServer","allServers"]).optional(),temperature:_0().optional(),maxTokens:_0().int(),stopSequences:V0(R()).optional(),metadata:t4.optional(),tools:V0(tG).optional(),toolChoice:yF.optional()}),bF=e4.extend({method:L0("sampling/createMessage"),params:uF}),iF=$6.extend({model:R(),stopReason:t0(W1(["endTurn","stopSequence","maxTokens"]).or(R())),role:B7,content:xF}),cF=$6.extend({model:R(),stopReason:t0(W1(["endTurn","stopSequence","maxTokens","toolUse"]).or(R())),role:B7,content:o0([SY,V0(SY)])}),$H=U0({type:L0("boolean"),title:R().optional(),description:R().optional(),default:m0().optional()}),EQ=U0({type:L0("string"),title:R().optional(),description:R().optional(),minLength:_0().optional(),maxLength:_0().optional(),format:W1(["email","uri","date","date-time"]).optional(),default:R().optional()}),CQ=U0({type:W1(["number","integer"]),title:R().optional(),description:R().optional(),minimum:_0().optional(),maximum:_0().optional(),default:_0().optional()}),YH=U0({type:L0("string"),title:R().optional(),description:R().optional(),enum:V0(R()),default:R().optional()}),UH=U0({type:L0("string"),title:R().optional(),description:R().optional(),oneOf:V0(U0({const:R(),title:R()})),default:R().optional()}),zH=U0({type:L0("string"),title:R().optional(),description:R().optional(),enum:V0(R()),enumNames:V0(R()).optional(),default:R().optional()}),nF=o0([YH,UH]),QH=U0({type:L0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:U0({type:L0("string"),enum:V0(R())}),default:V0(R()).optional()}),JH=U0({type:L0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:U0({anyOf:V0(U0({const:R(),title:R()}))}),default:V0(R()).optional()}),pF=o0([QH,JH]),dF=o0([zH,nF,pF]),IH=o0([dF,$H,EQ,CQ]),RQ=xY.extend({mode:L0("form").optional(),message:R(),requestedSchema:U0({type:L0("object"),properties:p0(R(),IH),required:V0(R()).optional()}).catchall(a0())}),mF=xY.extend({mode:L0("url"),message:R(),elicitationId:R(),url:R().url()}),lF=o0([RQ,mF]),oF=e4.extend({method:L0("elicitation/create"),params:lF}),rF=G8.extend({elicitationId:R()}),sF=H8.extend({method:L0("notifications/elicitation/complete"),params:rF}),aF=$6.extend({action:W1(["accept","decline","cancel"]),content:d9(($)=>$===null?void 0:$,p0(R(),o0([R(),_0(),m0(),V0(R())])).optional())}),tF=U0({type:L0("ref/resource"),uri:R()}),eF=U0({type:L0("ref/prompt"),name:R()}),$w=S6.extend({ref:o0([eF,tF]),argument:U0({name:R(),value:R()}),context:U0({arguments:p0(R(),R()).optional()}).optional()}),Yw=e4.extend({method:L0("completion/complete"),params:$w}),Uw=$6.extend({completion:Q1({values:V0(R()).max(100),total:t0(_0().int()),hasMore:t0(m0())})}),zw=U0({uri:R().startsWith("file://"),name:R().optional(),_meta:p0(R(),a0()).optional()}),Qw=e4.extend({method:L0("roots/list"),params:S6.optional()}),Jw=$6.extend({roots:V0(zw)}),Iw=H8.extend({method:L0("notifications/roots/list_changed"),params:G8.optional()}),Qh=Q1({ttl:_0().optional(),pollInterval:_0().optional()}),Kw=W1(["working","input_required","completed","failed","cancelled"]),T7=U0({taskId:R(),status:Kw,ttl:o0([_0(),n5()]),createdAt:R(),lastUpdatedAt:R(),pollInterval:t0(_0()),statusMessage:t0(R())}),Jh=$6.extend({task:T7}),Gw=G8.merge(T7),Ih=H8.extend({method:L0("notifications/tasks/status"),params:Gw}),Kh=e4.extend({method:L0("tasks/get"),params:S6.extend({taskId:R()})}),Gh=$6.merge(T7),Hh=e4.extend({method:L0("tasks/result"),params:S6.extend({taskId:R()})}),Wh=$6.loose(),Xh=D7.extend({method:L0("tasks/list")}),Zh=A7.extend({tasks:V0(T7)}),qh=e4.extend({method:L0("tasks/cancel"),params:S6.extend({taskId:R()})}),Vh=$6.merge(T7),Lh=o0([dG,yL,fL,Yw,_F,LF,ZF,pL,mL,rL,eL,YF,zF,EF,PF]),Fh=o0([nG,mG,xL,Iw]),wh=o0([cG,iF,cF,aF,Jw]),Mh=o0([dG,bF,oF,Qw]),Oh=o0([nG,mG,hF,HF,aL,CF,DF,JF,sF]),Nh=o0([cG,kL,uL,Uw,NF,qF,dL,lL,sL,eG,TF,KF]),h6=qQ().superRefine(($,Y)=>{if(!URL.canParse($))return Y.addIssue({code:sv.custom,message:"URL must be parseable",fatal:!0}),oK}).refine(($)=>{let Y=new URL($);return Y.protocol!=="javascript:"&&Y.protocol!=="data:"&&Y.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),Dh=Q1({resource:R().url(),authorization_servers:V0(h6).optional(),jwks_uri:R().url().optional(),scopes_supported:V0(R()).optional(),bearer_methods_supported:V0(R()).optional(),resource_signing_alg_values_supported:V0(R()).optional(),resource_name:R().optional(),resource_documentation:R().optional(),resource_policy_uri:R().url().optional(),resource_tos_uri:R().url().optional(),tls_client_certificate_bound_access_tokens:m0().optional(),authorization_details_types_supported:V0(R()).optional(),dpop_signing_alg_values_supported:V0(R()).optional(),dpop_bound_access_tokens_required:m0().optional()}),Hw=Q1({issuer:R(),authorization_endpoint:h6,token_endpoint:h6,registration_endpoint:h6.optional(),scopes_supported:V0(R()).optional(),response_types_supported:V0(R()),response_modes_supported:V0(R()).optional(),grant_types_supported:V0(R()).optional(),token_endpoint_auth_methods_supported:V0(R()).optional(),token_endpoint_auth_signing_alg_values_supported:V0(R()).optional(),service_documentation:h6.optional(),revocation_endpoint:h6.optional(),revocation_endpoint_auth_methods_supported:V0(R()).optional(),revocation_endpoint_auth_signing_alg_values_supported:V0(R()).optional(),introspection_endpoint:R().optional(),introspection_endpoint_auth_methods_supported:V0(R()).optional(),introspection_endpoint_auth_signing_alg_values_supported:V0(R()).optional(),code_challenge_methods_supported:V0(R()).optional(),client_id_metadata_document_supported:m0().optional(),authorization_response_iss_parameter_supported:m0().optional().catch(void 0)}),Ww=Q1({issuer:R(),authorization_endpoint:h6,token_endpoint:h6,userinfo_endpoint:h6.optional(),jwks_uri:h6,registration_endpoint:h6.optional(),scopes_supported:V0(R()).optional(),response_types_supported:V0(R()),response_modes_supported:V0(R()).optional(),grant_types_supported:V0(R()).optional(),acr_values_supported:V0(R()).optional(),subject_types_supported:V0(R()),id_token_signing_alg_values_supported:V0(R()),id_token_encryption_alg_values_supported:V0(R()).optional(),id_token_encryption_enc_values_supported:V0(R()).optional(),userinfo_signing_alg_values_supported:V0(R()).optional(),userinfo_encryption_alg_values_supported:V0(R()).optional(),userinfo_encryption_enc_values_supported:V0(R()).optional(),request_object_signing_alg_values_supported:V0(R()).optional(),request_object_encryption_alg_values_supported:V0(R()).optional(),request_object_encryption_enc_values_supported:V0(R()).optional(),token_endpoint_auth_methods_supported:V0(R()).optional(),token_endpoint_auth_signing_alg_values_supported:V0(R()).optional(),display_values_supported:V0(R()).optional(),claim_types_supported:V0(R()).optional(),claims_supported:V0(R()).optional(),service_documentation:R().optional(),claims_locales_supported:V0(R()).optional(),ui_locales_supported:V0(R()).optional(),claims_parameter_supported:m0().optional(),request_parameter_supported:m0().optional(),request_uri_parameter_supported:m0().optional(),require_request_uri_registration:m0().optional(),op_policy_uri:h6.optional(),op_tos_uri:h6.optional(),client_id_metadata_document_supported:m0().optional(),authorization_response_iss_parameter_supported:m0().optional().catch(void 0)}),Ah=U0({...Ww.shape,...Hw.pick({code_challenge_methods_supported:!0}).shape}),Bh=U0({access_token:R(),id_token:R().optional(),token_type:R(),expires_in:gG.number().optional(),scope:R().optional(),refresh_token:R().optional()}).strip(),Ph=U0({issued_token_type:L0("urn:ietf:params:oauth:token-type:id-jag"),access_token:R(),token_type:R().optional(),expires_in:_0().optional(),scope:R().optional()}).strip(),Th=U0({error:R(),error_description:R().optional(),error_uri:R().optional()}),tv=h6.optional().or(L0("").transform(()=>{return})),Xw=U0({redirect_uris:V0(h6),token_endpoint_auth_method:R().optional(),grant_types:V0(R()).optional(),response_types:V0(R()).optional(),application_type:R().optional(),client_name:R().optional(),client_uri:h6.optional(),logo_uri:tv,scope:R().optional(),contacts:V0(R()).optional(),tos_uri:tv,policy_uri:R().optional(),jwks_uri:h6.optional(),jwks:OL().optional(),software_id:R().optional(),software_version:R().optional(),software_statement:R().optional()}).strip(),Zw=U0({client_id:R(),client_secret:R().optional(),client_id_issued_at:_0().optional(),client_secret_expires_at:_0().optional()}).strip(),jh=Xw.merge(Zw),Eh=U0({error:R(),error_description:R().optional()}).strip(),Ch=U0({token:R(),token_type_hint:R().optional()}).strip()});var ea=m(()=>{na()});function kh($,Y){let U=new Set,z=Y;while(typeof z==="function"){let Q=z.mcpBrand;if(Object.prototype.hasOwnProperty.call(z,"mcpBrand")&&typeof Q==="string")U.add(Q);z=Object.getPrototypeOf(z)}if(U.size===0)return;Object.defineProperty($,hh,{value:U,enumerable:!1,configurable:!0})}function vQ($,Y){try{if(typeof Y==="object"&&Y!==null&&Object.prototype.hasOwnProperty.call($,"mcpBrand")&&typeof $.mcpBrand==="string"&&Object.prototype.hasOwnProperty.call(Y,hh)){let U=Y[hh];if(U&&typeof U.has==="function"&&U.has($.mcpBrand))return!0}}catch{}return Function.prototype[Symbol.hasInstance].call($,Y)}function $t($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function wf0($,Y,U){return $==="elicitation"&&Y==="form"&&U.form===void 0&&U.url===void 0}function qt($){switch($.method){case"elicitation/create":if($.params?.mode==="url")return{elicitation:{url:{}}};return{elicitation:{form:{}}};case"sampling/createMessage":{let Y=$.params;if(Y!==void 0&&(Y.tools!==void 0||Y.toolChoice!==void 0))return{sampling:{tools:{}}};return{sampling:{}}}case"roots/list":return{roots:{}};default:return}}function Nw($,Y){let U={};for(let[z,Q]of Object.entries($)){if(Q===void 0)continue;let J=Y===void 0?void 0:Y[z];if(J===void 0){U[z]=Q;continue}if($t(Q)&&$t(J)){let I={};for(let[K,G]of Object.entries(Q))if(G!==void 0&&J[K]===void 0&&!wf0(z,K,J))I[K]=G;if(Object.keys(I).length>0)U[z]=I}}return Object.keys(U).length>0?U:void 0}function SQ($){return $>=Vt}function Lt($){return $.filter((Y)=>!SQ(Y))}function xh($){return $.filter((Y)=>SQ(Y))}function Ft($){let Y=$.structuredContent;if(Y===void 0)return $;if(!(typeof Y!=="object"||Y===null||Array.isArray(Y)))return $;if($.content?.some((U)=>U.type==="text")??!1)return $;return{...$,content:[...$.content??[],{type:"text",text:JSON.stringify(Y)}]}}function fh($){if($===null||typeof $!=="object"||Array.isArray($)||$.content!==void 0||wt.some((Y)=>(Y in $)))return $;return{...$,content:[]}}function Mf0(){let $=F7(()=>o0([R(),_0(),m0(),n5(),p0(R(),$),V0($)])),Y=p0(R(),$),U=o0([R(),_0().int()]),z=R(),Q=U0({ttl:_0().optional()}),J=U0({taskId:R()}),I=Q1({progressToken:U.optional(),"io.modelcontextprotocol/related-task":J.optional()}),K=U0({_meta:I.optional()}),G=K.extend({task:Q.optional()}),H=U0({method:R(),params:K.loose().optional()}),W=U0({_meta:I.optional()}),X=U0({method:R(),params:W.loose().optional()}),Z=Q1({_meta:I.optional()}),q=o0([R(),_0().int()]),V=Z.strict(),F=W.extend({requestId:q.optional(),reason:R().optional()}),M=X.extend({method:L0("notifications/cancelled"),params:F}),w=U0({src:R(),mimeType:R().optional(),sizes:V0(R()).optional(),theme:W1(["light","dark"]).optional()}),N=U0({icons:V0(w).optional()}),O=U0({name:R(),title:R().optional()}),D=O.extend({...O.shape,...N.shape,version:R(),websiteUrl:R().optional(),description:R().optional()}),P=U5(U0({applyDefaults:m0().optional()}),Y),T=d9((N6)=>{if(N6&&typeof N6==="object"&&!Array.isArray(N6)&&Object.keys(N6).length===0)return{form:{}};return N6},U5(U0({form:P.optional(),url:Y.optional()}),Y.optional())),A=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({sampling:Q1({createMessage:Y.optional()}).optional(),elicitation:Q1({create:Y.optional()}).optional()}).optional()}),j=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({tools:Q1({call:Y.optional()}).optional()}).optional()}),C=U0({experimental:p0(R(),Y).optional(),sampling:U0({context:Y.optional(),tools:Y.optional()}).optional(),elicitation:T.optional(),roots:U0({listChanged:m0().optional()}).optional(),tasks:A.optional(),extensions:p0(R(),Y).optional()}),b=K.extend({protocolVersion:R(),capabilities:C,clientInfo:D}),x=H.extend({method:L0("initialize"),params:b}),S=U0({experimental:p0(R(),Y).optional(),logging:Y.optional(),completions:Y.optional(),prompts:U0({listChanged:m0().optional()}).optional(),resources:U0({subscribe:m0().optional(),listChanged:m0().optional()}).optional(),tools:U0({listChanged:m0().optional()}).optional(),tasks:j.optional(),extensions:p0(R(),Y).optional()}),i=Z.extend({protocolVersion:R(),capabilities:S,serverInfo:D,instructions:R().optional()}),c=X.extend({method:L0("notifications/initialized"),params:W.optional()}),z0=H.extend({method:L0("ping"),params:K.optional()}),k=U0({progress:_0(),total:t0(_0()),message:t0(R())}),d=U0({...W.shape,...k.shape,progressToken:U}),t=X.extend({method:L0("notifications/progress"),params:d}),$0=K.extend({cursor:z.optional()}),g=H.extend({params:$0.optional()}),p=Z.extend({nextCursor:z.optional()}),e=U0({uri:R(),mimeType:t0(R()),_meta:p0(R(),a0()).optional()}),y=e.extend({text:R()}),s=R().refine((N6)=>{try{return atob(N6),!0}catch{return!1}},{message:"Invalid Base64 string"}),Y0=e.extend({blob:s}),N0=W1(["user","assistant"]),E0=U0({audience:V0(N0).optional(),priority:_0().min(0).max(1).optional(),lastModified:Q$.datetime({offset:!0}).optional()}),G0=U0({...O.shape,...N.shape,uri:R(),description:t0(R()),mimeType:t0(R()),size:t0(_0()),annotations:E0.optional(),_meta:t0(Q1({}))}),T0=U0({...O.shape,...N.shape,uriTemplate:R(),description:t0(R()),mimeType:t0(R()),annotations:E0.optional(),_meta:t0(Q1({}))}),i0=g.extend({method:L0("resources/list")}),Y1=p.extend({resources:V0(G0)}),a=g.extend({method:L0("resources/templates/list")}),W0=p.extend({resourceTemplates:V0(T0)}),F0=K.extend({uri:R()}),f0=F0,u0=H.extend({method:L0("resources/read"),params:f0}),c0=Z.extend({contents:V0(o0([y,Y0]))}),D1=X.extend({method:L0("notifications/resources/list_changed"),params:W.optional()}),k1=F0,u1=H.extend({method:L0("resources/subscribe"),params:k1}),b1=F0,A0=H.extend({method:L0("resources/unsubscribe"),params:b1}),Q0=W.extend({uri:R()}),B=X.extend({method:L0("notifications/resources/updated"),params:Q0}),v=U0({name:R(),description:t0(R()),required:t0(m0())}),u=U0({...O.shape,...N.shape,description:t0(R()),arguments:t0(V0(v)),_meta:t0(Q1({}))}),r=g.extend({method:L0("prompts/list")}),X0=p.extend({prompts:V0(u)}),J0=K.extend({name:R(),arguments:p0(R(),R()).optional()}),q0=H.extend({method:L0("prompts/get"),params:J0}),M0=U0({type:L0("text"),text:R(),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),B0=U0({type:L0("image"),data:s,mimeType:R(),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),r0=U0({type:L0("audio"),data:s,mimeType:R(),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),I1=U0({type:L0("tool_use"),name:R(),id:R(),input:p0(R(),a0()),_meta:p0(R(),a0()).optional()}),z1=U0({type:L0("resource"),resource:o0([y,Y0]),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),N1=G0.extend({type:L0("resource_link")}),S1=o0([M0,B0,r0,N1,z1]),u4=U0({role:N0,content:S1}),N8=Z.extend({description:R().optional(),messages:V0(u4)}),e8=X.extend({method:L0("notifications/prompts/list_changed"),params:W.optional()}),E5=U0({title:R().optional(),readOnlyHint:m0().optional(),destructiveHint:m0().optional(),idempotentHint:m0().optional(),openWorldHint:m0().optional()}),r3=U0({taskSupport:W1(["required","optional","forbidden"]).optional()}),w$=U0({...O.shape,...N.shape,description:R().optional(),inputSchema:U0({type:L0("object"),properties:p0(R(),$).optional(),required:V0(R()).optional()}).catchall(a0()),outputSchema:U0({type:L0("object"),properties:p0(R(),$).optional(),required:V0(R()).optional()}).catchall(a0()).optional(),annotations:E5.optional(),execution:r3.optional(),_meta:p0(R(),a0()).optional()}),S9=g.extend({method:L0("tools/list")}),g9=p.extend({tools:V0(w$)}),s3=Z.extend({content:V0(S1),structuredContent:p0(R(),a0()).optional(),isError:m0().optional()}),s4=G.extend({name:R(),arguments:p0(R(),a0()).optional()}),a3=H.extend({method:L0("tools/call"),params:s4}),e2=X.extend({method:L0("notifications/tools/list_changed"),params:W.optional()}),t3=W1(["debug","info","notice","warning","error","critical","alert","emergency"]),C5=K.extend({level:t3}),$Y=H.extend({method:L0("logging/setLevel"),params:C5}),t$=W.extend({level:t3,logger:R().optional(),data:a0()}),YY=X.extend({method:L0("notifications/message"),params:t$}),e$=U0({name:R().optional()}),y9=U0({hints:V0(e$).optional(),costPriority:_0().min(0).max(1).optional(),speedPriority:_0().min(0).max(1).optional(),intelligencePriority:_0().min(0).max(1).optional()}),UY=U0({mode:W1(["auto","required","none"]).optional()}),k9=U0({type:L0("tool_result"),toolUseId:R().describe("The unique identifier for the corresponding tool call."),content:V0(S1),structuredContent:U0({}).loose().optional(),isError:m0().optional(),_meta:p0(R(),a0()).optional()}),zY=L7("type",[M0,B0,r0]),$$=L7("type",[M0,B0,r0,I1,k9]),QY=U0({role:N0,content:o0([$$,V0($$)]),_meta:p0(R(),a0()).optional()}),R5=G.extend({messages:V0(QY),modelPreferences:y9.optional(),systemPrompt:R().optional(),includeContext:W1(["none","thisServer","allServers"]).optional(),temperature:_0().optional(),maxTokens:_0().int(),stopSequences:V0(R()).optional(),metadata:Y.optional(),tools:V0(w$).optional(),toolChoice:UY.optional()}),JY=H.extend({method:L0("sampling/createMessage"),params:R5}),IY=Z.extend({model:R(),stopReason:t0(W1(["endTurn","stopSequence","maxTokens"]).or(R())),role:N0,content:zY}),_5=Z.extend({model:R(),stopReason:t0(W1(["endTurn","stopSequence","maxTokens","toolUse"]).or(R())),role:N0,content:o0([$$,V0($$)])}),KY=U0({type:L0("boolean"),title:R().optional(),description:R().optional(),default:m0().optional()}),v5=U0({type:L0("string"),title:R().optional(),description:R().optional(),minLength:_0().optional(),maxLength:_0().optional(),format:W1(["email","uri","date","date-time"]).optional(),default:R().optional()}),GY=U0({type:W1(["number","integer"]),title:R().optional(),description:R().optional(),minimum:_0().optional(),maximum:_0().optional(),default:_0().optional()}),h5=U0({type:L0("string"),title:R().optional(),description:R().optional(),enum:V0(R()),default:R().optional()}),HY=U0({type:L0("string"),title:R().optional(),description:R().optional(),oneOf:V0(U0({const:R(),title:R()})),default:R().optional()}),S5=U0({type:L0("string"),title:R().optional(),description:R().optional(),enum:V0(R()),enumNames:V0(R()).optional(),default:R().optional()}),WY=o0([h5,HY]),g5=U0({type:L0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:U0({type:L0("string"),enum:V0(R())}),default:V0(R()).optional()}),x9=U0({type:L0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:U0({anyOf:V0(U0({const:R(),title:R()}))}),default:V0(R()).optional()}),f9=o0([g5,x9]),XY=o0([S5,WY,f9]),Q8=o0([XY,KY,v5,GY]),J8=G.extend({mode:L0("form").optional(),message:R(),requestedSchema:U0({type:L0("object"),properties:p0(R(),Q8),required:V0(R()).optional()}).catchall(a0())}),ZY=G.extend({mode:L0("url"),message:R(),elicitationId:R(),url:R().url()}),I8=o0([J8,ZY]),qY=H.extend({method:L0("elicitation/create"),params:I8}),VY=W.extend({elicitationId:R()}),LY=X.extend({method:L0("notifications/elicitation/complete"),params:VY}),u9=Z.extend({action:W1(["accept","decline","cancel"]),content:d9((N6)=>N6===null?void 0:N6,p0(R(),o0([R(),_0(),m0(),V0(R())])).optional())}),FY=U0({type:L0("ref/resource"),uri:R()}),e3=U0({type:L0("ref/prompt"),name:R()}),wY=K.extend({ref:o0([e3,FY]),argument:U0({name:R(),value:R()}),context:U0({arguments:p0(R(),R()).optional()}).optional()}),$7=H.extend({method:L0("completion/complete"),params:wY}),Y7=Z.extend({completion:Q1({values:V0(R()).max(100),total:t0(_0().int()),hasMore:t0(m0())})}),MY=U0({uri:R().startsWith("file://"),name:R().optional(),_meta:p0(R(),a0()).optional()}),U7=H.extend({method:L0("roots/list"),params:K.optional()}),z7=Z.extend({roots:V0(MY)}),Q7=X.extend({method:L0("notifications/roots/list_changed"),params:W.optional()}),OY=Q1({ttl:_0().optional(),pollInterval:_0().optional()}),fz=W1(["working","input_required","completed","failed","cancelled"]),$5=U0({taskId:R(),status:fz,ttl:o0([_0(),n5()]),createdAt:R(),lastUpdatedAt:R(),pollInterval:t0(_0()),statusMessage:t0(R())}),O6=Z.extend({task:$5}),b9=W.merge($5),y5=X.extend({method:L0("notifications/tasks/status"),params:b9}),k5=H.extend({method:L0("tasks/get"),params:K.extend({taskId:R()})}),J7=Z.merge($5),i9=H.extend({method:L0("tasks/result"),params:K.extend({taskId:R()})}),cK=Z.loose(),c6=g.extend({method:L0("tasks/list")}),b4=p.extend({tasks:V0($5)}),x5=H.extend({method:L0("tasks/cancel"),params:K.extend({taskId:R()})});return{JSONValueSchema:$,JSONObjectSchema:Y,ProgressTokenSchema:U,CursorSchema:z,TaskMetadataSchema:Q,RelatedTaskMetadataSchema:J,RequestMetaSchema:I,BaseRequestParamsSchema:K,TaskAugmentedRequestParamsSchema:G,RequestSchema:H,NotificationsParamsSchema:W,NotificationSchema:X,ResultSchema:Z,RequestIdSchema:q,EmptyResultSchema:V,CancelledNotificationParamsSchema:F,CancelledNotificationSchema:M,IconSchema:w,IconsSchema:N,BaseMetadataSchema:O,ImplementationSchema:D,ClientTasksCapabilitySchema:A,ServerTasksCapabilitySchema:j,ClientCapabilitiesSchema:C,InitializeRequestParamsSchema:b,InitializeRequestSchema:x,ServerCapabilitiesSchema:S,InitializeResultSchema:i,InitializedNotificationSchema:c,PingRequestSchema:z0,ProgressSchema:k,ProgressNotificationParamsSchema:d,ProgressNotificationSchema:t,PaginatedRequestParamsSchema:$0,PaginatedRequestSchema:g,PaginatedResultSchema:p,ResourceContentsSchema:e,TextResourceContentsSchema:y,BlobResourceContentsSchema:Y0,RoleSchema:N0,AnnotationsSchema:E0,ResourceSchema:G0,ResourceTemplateSchema:T0,ListResourcesRequestSchema:i0,ListResourcesResultSchema:Y1,ListResourceTemplatesRequestSchema:a,ListResourceTemplatesResultSchema:W0,ResourceRequestParamsSchema:F0,ReadResourceRequestParamsSchema:f0,ReadResourceRequestSchema:u0,ReadResourceResultSchema:c0,ResourceListChangedNotificationSchema:D1,SubscribeRequestParamsSchema:k1,SubscribeRequestSchema:u1,UnsubscribeRequestParamsSchema:b1,UnsubscribeRequestSchema:A0,ResourceUpdatedNotificationParamsSchema:Q0,ResourceUpdatedNotificationSchema:B,PromptArgumentSchema:v,PromptSchema:u,ListPromptsRequestSchema:r,ListPromptsResultSchema:X0,GetPromptRequestParamsSchema:J0,GetPromptRequestSchema:q0,TextContentSchema:M0,ImageContentSchema:B0,AudioContentSchema:r0,ToolUseContentSchema:I1,EmbeddedResourceSchema:z1,ResourceLinkSchema:N1,ContentBlockSchema:S1,PromptMessageSchema:u4,GetPromptResultSchema:N8,PromptListChangedNotificationSchema:e8,ToolAnnotationsSchema:E5,ToolExecutionSchema:r3,ToolSchema:w$,ListToolsRequestSchema:S9,ListToolsResultSchema:g9,CallToolResultSchema:s3,CallToolRequestParamsSchema:s4,CallToolRequestSchema:a3,ToolListChangedNotificationSchema:e2,LoggingLevelSchema:t3,SetLevelRequestParamsSchema:C5,SetLevelRequestSchema:$Y,LoggingMessageNotificationParamsSchema:t$,LoggingMessageNotificationSchema:YY,ModelHintSchema:e$,ModelPreferencesSchema:y9,ToolChoiceSchema:UY,ToolResultContentSchema:k9,SamplingContentSchema:zY,SamplingMessageContentBlockSchema:$$,SamplingMessageSchema:QY,CreateMessageRequestParamsSchema:R5,CreateMessageRequestSchema:JY,CreateMessageResultSchema:IY,CreateMessageResultWithToolsSchema:_5,BooleanSchemaSchema:KY,StringSchemaSchema:v5,NumberSchemaSchema:GY,UntitledSingleSelectEnumSchemaSchema:h5,TitledSingleSelectEnumSchemaSchema:HY,LegacyTitledEnumSchemaSchema:S5,SingleSelectEnumSchemaSchema:WY,UntitledMultiSelectEnumSchemaSchema:g5,TitledMultiSelectEnumSchemaSchema:x9,MultiSelectEnumSchemaSchema:f9,EnumSchemaSchema:XY,PrimitiveSchemaDefinitionSchema:Q8,ElicitRequestFormParamsSchema:J8,ElicitRequestURLParamsSchema:ZY,ElicitRequestParamsSchema:I8,ElicitRequestSchema:qY,ElicitationCompleteNotificationParamsSchema:VY,ElicitationCompleteNotificationSchema:LY,ElicitResultSchema:u9,ResourceTemplateReferenceSchema:FY,PromptReferenceSchema:e3,CompleteRequestParamsSchema:wY,CompleteRequestSchema:$7,CompleteResultSchema:Y7,RootSchema:MY,ListRootsRequestSchema:U7,ListRootsResultSchema:z7,RootsListChangedNotificationSchema:Q7,TaskCreationParamsSchema:OY,TaskStatusSchema:fz,TaskSchema:$5,CreateTaskResultSchema:O6,TaskStatusNotificationParamsSchema:b9,TaskStatusNotificationSchema:y5,GetTaskRequestSchema:k5,GetTaskResultSchema:J7,GetTaskPayloadRequestSchema:i9,GetTaskPayloadResultSchema:cK,ListTasksRequestSchema:c6,ListTasksResultSchema:b4,CancelTaskRequestSchema:x5,CancelTaskResultSchema:Z.merge($5),ClientRequestSchema:o0([z0,x,$7,$Y,q0,r,i0,a,u0,u1,A0,a3,S9,k5,i9,c6,x5]),ClientNotificationSchema:o0([M,t,c,Q7,y5]),ClientResultSchema:o0([V,IY,_5,u9,z7,J7,b4,O6]),ServerRequestSchema:o0([z0,JY,qY,U7,k5,i9,c6,x5]),ServerNotificationSchema:o0([M,t,YY,B,D1,e2,e8,y5,LY]),ServerResultSchema:o0([V,i,Y7,N8,X0,Y1,W0,c0,s3,g9,J7,b4,O6]),CallToolResultWireSchema:a0().superRefine((N6,nK)=>{if(typeof N6!=="object"||N6===null||Array.isArray(N6)||N6.content!==void 0)return;for(let pK of wt)if(pK in N6){nK.addIssue({code:"custom",message:`content is required when the body carries '${pK}' — another result family cannot default into an empty tools/call success`});return}}).transform(fh).pipe(s3)}}function Mt(){return Of0??=Mf0()}function Ot($){return $.type!=="object"}function Yt($){return $!==void 0&&!(typeof $==="string"&&$.startsWith("#"))}function Af0($){let Y=typeof $.$schema==="string"?$.$schema:void 0;if(Yt($.$id))return{...Y!==void 0&&{$schema:Y},type:"object",properties:{result:$},required:["result"]};let U=io($.$schema)&&$.$recursiveAnchor!==!0,z=(Q,J)=>{if(Array.isArray(Q))return Q.map((G)=>z(G,!1));if(Q===null||typeof Q!=="object")return Q;if(!J&&Yt(Q.$id))return Q;let I={},K=!1;for(let[G,H]of Object.entries(Q))if(J)I[G]=z(H,!1);else if((G==="$ref"||G==="$dynamicRef")&&typeof H==="string")I[G]=H==="#"?"#/properties/result":H.startsWith("#/")?`#/properties/result${H.slice(1)}`:H;else if(G==="$recursiveRef"&&H==="#"&&U)K=!0;else if(Nf0.has(G))I[G]=H;else if(Df0.has(G))I[G]=z(H,!0);else I[G]=z(H,!1);if(K)if("$ref"in I)I.allOf=[...Array.isArray(I.allOf)?I.allOf:[],{$ref:"#/properties/result"}];else I.$ref="#/properties/result";return I};return{...Y!==void 0&&{$schema:Y},type:"object",properties:{result:z($,!1)},required:["result"]}}function uh(){if(qw)return qw;let $=Mt();return qw={requestSchemas:{ping:$.PingRequestSchema,initialize:$.InitializeRequestSchema,"completion/complete":$.CompleteRequestSchema,"logging/setLevel":$.SetLevelRequestSchema,"prompts/get":$.GetPromptRequestSchema,"prompts/list":$.ListPromptsRequestSchema,"resources/list":$.ListResourcesRequestSchema,"resources/templates/list":$.ListResourceTemplatesRequestSchema,"resources/read":$.ReadResourceRequestSchema,"resources/subscribe":$.SubscribeRequestSchema,"resources/unsubscribe":$.UnsubscribeRequestSchema,"tools/call":$.CallToolRequestSchema,"tools/list":$.ListToolsRequestSchema,"tasks/get":$.GetTaskRequestSchema,"tasks/result":$.GetTaskPayloadRequestSchema,"tasks/list":$.ListTasksRequestSchema,"tasks/cancel":$.CancelTaskRequestSchema,"sampling/createMessage":$.CreateMessageRequestSchema,"elicitation/create":$.ElicitRequestSchema,"roots/list":$.ListRootsRequestSchema},notificationSchemas:{"notifications/cancelled":$.CancelledNotificationSchema,"notifications/progress":$.ProgressNotificationSchema,"notifications/initialized":$.InitializedNotificationSchema,"notifications/roots/list_changed":$.RootsListChangedNotificationSchema,"notifications/tasks/status":$.TaskStatusNotificationSchema,"notifications/message":$.LoggingMessageNotificationSchema,"notifications/resources/updated":$.ResourceUpdatedNotificationSchema,"notifications/resources/list_changed":$.ResourceListChangedNotificationSchema,"notifications/tools/list_changed":$.ToolListChangedNotificationSchema,"notifications/prompts/list_changed":$.PromptListChangedNotificationSchema,"notifications/elicitation/complete":$.ElicitationCompleteNotificationSchema},resultSchemas:{ping:$.EmptyResultSchema,initialize:$.InitializeResultSchema,"completion/complete":$.CompleteResultSchema,"logging/setLevel":$.EmptyResultSchema,"prompts/get":$.GetPromptResultSchema,"prompts/list":$.ListPromptsResultSchema,"resources/list":$.ListResourcesResultSchema,"resources/templates/list":$.ListResourceTemplatesResultSchema,"resources/read":$.ReadResourceResultSchema,"resources/subscribe":$.EmptyResultSchema,"resources/unsubscribe":$.EmptyResultSchema,"tools/call":$.CallToolResultWireSchema,"tools/list":$.ListToolsResultSchema,"sampling/createMessage":$.CreateMessageResultWithToolsSchema,"elicitation/create":$.ElicitResultSchema,"roots/list":$.ListRootsResultSchema}},qw}function At($){return Object.prototype.hasOwnProperty.call(Nt,$)}function Bt($){return Object.prototype.hasOwnProperty.call(Dt,$)}function Pf0($){return Object.prototype.hasOwnProperty.call(Bf0,$)}function Tf0($){return Pf0($)?uh().resultSchemas[$]:void 0}function jf0($){return At($)?uh().requestSchemas[$]:void 0}function Ef0($){return Bt($)?uh().notificationSchemas[$]:void 0}function Sh($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function Vw($,Y){if($===void 0)return{ok:!1,reason:"not-in-era"};let U=$.safeParse(Y);return U.success?{ok:!0,value:U.data}:{ok:!1,reason:"invalid",message:String(U.error)}}function zt($){return Sh($)&&Sh($.outputSchema)&&Ot($.outputSchema)}function Qt($){return $}function Cf0(){let $=F7(()=>o0([R(),_0(),m0(),n5(),p0(R(),$),V0($)])),Y=p0(R(),$),U=o0([R(),_0().int()]),z=R(),Q=o0([R(),_0().int()]),J=W1(["user","assistant"]),I=W1(["debug","info","notice","warning","error","critical","alert","emergency"]),K=R().refine((b4)=>{try{return atob(b4),!0}catch{return!1}},{message:"Invalid Base64 string"}),G=U0({ttl:_0().optional()}),H=U0({taskId:R()}),W=Q1({progressToken:U.optional(),"io.modelcontextprotocol/related-task":H.optional()}),X=U0({_meta:W.optional()}),Z=X.extend({task:G.optional()}),q=U0({_meta:W.optional()}),V=U0({method:R(),params:q.loose().optional()}),F=U0({src:R(),mimeType:R().optional(),sizes:V0(R()).optional(),theme:W1(["light","dark"]).optional()}),M=U0({icons:V0(F).optional()}),w=U0({name:R(),title:R().optional()}),N=w.extend({...w.shape,...M.shape,version:R(),websiteUrl:R().optional(),description:R().optional()}),O=U5(U0({applyDefaults:m0().optional()}),Y),D=d9((b4)=>{if(b4&&typeof b4==="object"&&!Array.isArray(b4)&&Object.keys(b4).length===0)return{form:{}};return b4},U5(U0({form:O.optional(),url:Y.optional()}),Y.optional())),P=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({sampling:Q1({createMessage:Y.optional()}).optional(),elicitation:Q1({create:Y.optional()}).optional()}).optional()}),T=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({tools:Q1({call:Y.optional()}).optional()}).optional()}),A=U0({experimental:p0(R(),Y).optional(),sampling:U0({context:Y.optional(),tools:Y.optional()}).optional(),elicitation:D.optional(),roots:U0({listChanged:m0().optional()}).optional(),tasks:P.optional(),extensions:p0(R(),Y).optional()}),j=U0({experimental:p0(R(),Y).optional(),logging:Y.optional(),completions:Y.optional(),prompts:U0({listChanged:m0().optional()}).optional(),resources:U0({subscribe:m0().optional(),listChanged:m0().optional()}).optional(),tools:U0({listChanged:m0().optional()}).optional(),tasks:T.optional(),extensions:p0(R(),Y).optional()}),C=U0({progress:_0(),total:t0(_0()),message:t0(R())}),b=U0({...q.shape,...C.shape,progressToken:U}),x=V.extend({method:L0("notifications/progress"),params:b}),S=q.extend({level:I,logger:R().optional(),data:a0()}),i=V.extend({method:L0("notifications/message"),params:S}),c=U0({uri:R(),mimeType:t0(R()),_meta:p0(R(),a0()).optional()}),z0=c.extend({text:R()}),k=c.extend({blob:K}),d=U0({audience:V0(J).optional(),priority:_0().min(0).max(1).optional(),lastModified:Q$.datetime({offset:!0}).optional()}),t=U0({...w.shape,...M.shape,uri:R(),description:t0(R()),mimeType:t0(R()),size:t0(_0()),annotations:d.optional(),_meta:t0(Q1({}))}),$0=U0({...w.shape,...M.shape,uriTemplate:R(),description:t0(R()),mimeType:t0(R()),annotations:d.optional(),_meta:t0(Q1({}))}),g=V.extend({method:L0("notifications/resources/list_changed"),params:q.optional()}),p=q.extend({uri:R()}),e=V.extend({method:L0("notifications/resources/updated"),params:p}),y=U0({name:R(),description:t0(R()),required:t0(m0())}),s=U0({...w.shape,...M.shape,description:t0(R()),arguments:t0(V0(y)),_meta:t0(Q1({}))}),Y0=V.extend({method:L0("notifications/prompts/list_changed"),params:q.optional()}),N0=U0({type:L0("text"),text:R(),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),E0=U0({type:L0("image"),data:K,mimeType:R(),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),G0=U0({type:L0("audio"),data:K,mimeType:R(),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),T0=U0({type:L0("tool_use"),name:R(),id:R(),input:p0(R(),a0()),_meta:p0(R(),a0()).optional()}),i0=U0({type:L0("resource"),resource:o0([z0,k]),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),Y1=t.extend({type:L0("resource_link")}),a=o0([N0,E0,G0,Y1,i0]),W0=U0({role:J,content:a}),F0=U0({title:R().optional(),readOnlyHint:m0().optional(),destructiveHint:m0().optional(),idempotentHint:m0().optional(),openWorldHint:m0().optional()}),f0=V.extend({method:L0("notifications/tools/list_changed"),params:q.optional()}),u0=U0({name:R().optional()}),c0=U0({hints:V0(u0).optional(),costPriority:_0().min(0).max(1).optional(),speedPriority:_0().min(0).max(1).optional(),intelligencePriority:_0().min(0).max(1).optional()}),D1=U0({mode:W1(["auto","required","none"]).optional()}),k1=U0({type:L0("boolean"),title:R().optional(),description:R().optional(),default:m0().optional()}),u1=U0({type:L0("string"),title:R().optional(),description:R().optional(),minLength:_0().optional(),maxLength:_0().optional(),format:W1(["email","uri","date","date-time"]).optional(),default:R().optional()}),b1=U0({type:W1(["number","integer"]),title:R().optional(),description:R().optional(),minimum:_0().optional(),maximum:_0().optional(),default:_0().optional()}),A0=U0({type:L0("string"),title:R().optional(),description:R().optional(),enum:V0(R()),default:R().optional()}),Q0=U0({type:L0("string"),title:R().optional(),description:R().optional(),oneOf:V0(U0({const:R(),title:R()})),default:R().optional()}),B=U0({type:L0("string"),title:R().optional(),description:R().optional(),enum:V0(R()),enumNames:V0(R()).optional(),default:R().optional()}),v=o0([A0,Q0]),u=U0({type:L0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:U0({type:L0("string"),enum:V0(R())}),default:V0(R()).optional()}),r=U0({type:L0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:U0({anyOf:V0(U0({const:R(),title:R()}))}),default:V0(R()).optional()}),X0=o0([u,r]),J0=o0([B,v,X0]),q0=o0([J0,k1,u1,b1]),M0=Z.extend({mode:L0("form").optional(),message:R(),requestedSchema:U0({type:L0("object"),properties:p0(R(),q0),required:V0(R()).optional()}).catchall(a0())}),B0=U0({type:L0("ref/resource"),uri:R()}),r0=U0({type:L0("ref/prompt"),name:R()}),I1=U0({uri:R().startsWith("file://"),name:R().optional(),_meta:p0(R(),a0()).optional()}),z1=A.shape,N1=U0({experimental:z1.experimental,sampling:z1.sampling,elicitation:z1.elicitation,roots:z1.roots,extensions:z1.extensions}),S1=j.shape,u4=U0({experimental:S1.experimental,logging:S1.logging,completions:S1.completions,prompts:S1.prompts,resources:S1.resources,tools:S1.tools,extensions:S1.extensions}),N8=Q1({progressToken:U.optional(),[l9]:R(),[MQ]:N.optional(),[o9]:N1,[M7]:I.optional()}),e8=U0({...w.shape,...M.shape,description:R().optional(),inputSchema:Q1({$schema:R().optional(),type:L0("object")}),outputSchema:Q1({$schema:R().optional()}).optional(),annotations:F0.optional(),_meta:p0(R(),a0()).optional()}),E5=U0({type:L0("tool_result"),toolUseId:R(),content:V0(a),structuredContent:a0().optional(),isError:m0().optional(),_meta:p0(R(),a0()).optional()}),r3=o0([N0,E0,G0,T0,E5]),w$=U0({role:J,content:o0([r3,V0(r3)]),_meta:p0(R(),a0()).optional()}),S9=R(),g9=Q1({[p5]:N.optional().catch(void 0)}),s3=g9.optional();function s4(b4){return Q1({_meta:s3,resultType:S9.default("complete"),...b4})}let a3=s4({}),e2=s4({nextCursor:z.optional()}),t3=s4({content:V0(a),structuredContent:a0().optional(),isError:m0().optional()}),C5=s4({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),tools:V0(e8),nextCursor:z.optional()}),$Y=s4({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),prompts:V0(s),nextCursor:z.optional()}),t$=s4({description:R().optional(),messages:V0(W0)}),YY=s4({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),resources:V0(t),nextCursor:z.optional()}),e$=s4({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),resourceTemplates:V0($0),nextCursor:z.optional()}),y9=s4({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),contents:V0(o0([z0,k]))}),UY=s4({completion:U0({values:V0(R()).max(100),total:_0().int().optional(),hasMore:m0().optional()}).loose()}),k9=s4({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"])}),zY=s4({ttlMs:_0().int().min(0).catch(0),cacheScope:W1(["public","private"]).catch("private"),supportedVersions:V0(R()),capabilities:u4,instructions:R().optional()}),$$=U0({messages:V0(w$),modelPreferences:c0.optional(),systemPrompt:R().optional(),includeContext:W1(["none","thisServer","allServers"]).optional(),temperature:_0().optional(),maxTokens:_0().int(),stopSequences:V0(R()).optional(),metadata:Y.optional(),tools:V0(e8).optional(),toolChoice:D1.optional()}),QY=U0({method:L0("sampling/createMessage"),params:$$}),R5=U0({method:L0("roots/list"),params:U0({_meta:p0(R(),a0()).optional()}).optional()}),JY=U0({...w$.shape,model:R(),stopReason:R().optional()}),IY=U0({roots:V0(I1)}),_5=U0({action:W1(["accept","decline","cancel"]),content:p0(R(),o0([R(),_0(),m0(),V0(R())])).optional()}),KY=U0({mode:L0("url"),message:R(),url:R().url()}),v5=o0([M0,KY]),GY=U0({method:L0("elicitation/create"),params:v5}),h5=o0([QY,R5,GY]),HY=o0([JY,IY,_5]),S5=p0(R(),h5),WY=p0(R(),HY),g5=s4({inputRequests:S5.optional(),requestState:R().optional()}),x9={inputResponses:WY.optional(),requestState:R().optional()},f9=U0({_meta:N8,...x9}),XY=Q1({progressToken:U.optional()});function Q8(b4,x5){return U0({method:L0(b4),params:U0({_meta:N8,...x5})})}function J8(b4,x5){return U0({method:L0(b4),params:U0({_meta:XY.optional(),...x5}).optional()})}let ZY={name:R(),arguments:p0(R(),a0()).optional(),...x9},I8={cursor:z.optional()},qY=Q8("tools/call",ZY),VY=Q8("tools/list",I8),LY=Q8("prompts/list",I8),u9=Q8("prompts/get",{name:R(),arguments:p0(R(),R()).optional(),...x9}),FY=Q8("resources/list",I8),e3=Q8("resources/templates/list",I8),wY=Q8("resources/read",{uri:R(),...x9}),$7={ref:o0([r0,B0]),argument:U0({name:R(),value:R()}),context:U0({arguments:p0(R(),R()).optional()}).optional()},Y7=Q8("completion/complete",$7),MY=Q8("server/discover",{}),U7=U0({toolsListChanged:m0().optional(),promptsListChanged:m0().optional(),resourcesListChanged:m0().optional(),resourceSubscriptions:V0(R()).optional()}),z7={notifications:U7},Q7=Q8("subscriptions/listen",z7),OY=g9.extend({"io.modelcontextprotocol/subscriptionId":Q}),fz=Q1({_meta:OY,resultType:S9.default("complete")}),$5={"tools/call":J8("tools/call",ZY),"tools/list":J8("tools/list",I8),"prompts/get":J8("prompts/get",{name:R(),arguments:p0(R(),R()).optional()}),"prompts/list":J8("prompts/list",I8),"resources/list":J8("resources/list",I8),"resources/templates/list":J8("resources/templates/list",I8),"resources/read":J8("resources/read",{uri:R()}),"completion/complete":J8("completion/complete",$7),"server/discover":J8("server/discover",{}),"subscriptions/listen":J8("subscriptions/listen",z7)};function O6(b4){return Q1({_meta:s3,...b4})}let b9={"tools/call":O6({content:V0(a),structuredContent:a0().optional(),isError:m0().optional()}),"tools/list":O6({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),tools:V0(e8),nextCursor:z.optional()}),"prompts/get":O6({description:R().optional(),messages:V0(W0)}),"prompts/list":O6({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),prompts:V0(s),nextCursor:z.optional()}),"resources/list":O6({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),resources:V0(t),nextCursor:z.optional()}),"resources/templates/list":O6({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),resourceTemplates:V0($0),nextCursor:z.optional()}),"resources/read":O6({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),contents:V0(o0([z0,k]))}),"completion/complete":O6({completion:U0({values:V0(R()).max(100),total:_0().int().optional(),hasMore:m0().optional()}).loose()}),"server/discover":O6({ttlMs:_0().int().min(0).catch(0),cacheScope:W1(["public","private"]).catch("private"),supportedVersions:V0(R()),capabilities:u4,instructions:R().optional()}),"subscriptions/listen":O6({})},y5=Q1({"io.modelcontextprotocol/subscriptionId":Q.optional()}),k5=U0({method:L0("notifications/subscriptions/acknowledged"),params:U0({_meta:y5.optional(),notifications:U7})}),J7=U0({_meta:y5.optional(),requestId:Q,reason:R().optional()}),i9=U0({method:L0("notifications/cancelled"),params:J7}),cK={"notifications/cancelled":i9,"notifications/progress":x,"notifications/message":i,"notifications/resources/updated":e,"notifications/resources/list_changed":g,"notifications/tools/list_changed":f0,"notifications/prompts/list_changed":Y0,"notifications/subscriptions/acknowledged":k5},c6=(b4)=>U0({jsonrpc:L0("2.0"),id:o0([R(),_0().int()]),result:b4}).strict();return{JSONValueSchema:$,JSONObjectSchema:Y,ProgressTokenSchema:U,CursorSchema:z,RequestIdSchema:Q,RoleSchema:J,LoggingLevelSchema:I,TaskMetadataSchema:G,RelatedTaskMetadataSchema:H,RequestMetaSchema:W,BaseRequestParamsSchema:X,TaskAugmentedRequestParamsSchema:Z,NotificationsParamsSchema:q,NotificationSchema:V,IconSchema:F,IconsSchema:M,BaseMetadataSchema:w,ImplementationSchema:N,ClientTasksCapabilitySchema:P,ServerTasksCapabilitySchema:T,ClientCapabilitiesSchema:A,ServerCapabilitiesSchema:j,ProgressSchema:C,ProgressNotificationParamsSchema:b,ProgressNotificationSchema:x,LoggingMessageNotificationParamsSchema:S,LoggingMessageNotificationSchema:i,ResourceContentsSchema:c,TextResourceContentsSchema:z0,BlobResourceContentsSchema:k,AnnotationsSchema:d,ResourceSchema:t,ResourceTemplateSchema:$0,ResourceListChangedNotificationSchema:g,ResourceUpdatedNotificationParamsSchema:p,ResourceUpdatedNotificationSchema:e,PromptArgumentSchema:y,PromptSchema:s,PromptListChangedNotificationSchema:Y0,TextContentSchema:N0,ImageContentSchema:E0,AudioContentSchema:G0,ToolUseContentSchema:T0,EmbeddedResourceSchema:i0,ResourceLinkSchema:Y1,ContentBlockSchema:a,PromptMessageSchema:W0,ToolAnnotationsSchema:F0,ToolListChangedNotificationSchema:f0,ModelHintSchema:u0,ModelPreferencesSchema:c0,ToolChoiceSchema:D1,BooleanSchemaSchema:k1,StringSchemaSchema:u1,NumberSchemaSchema:b1,UntitledSingleSelectEnumSchemaSchema:A0,TitledSingleSelectEnumSchemaSchema:Q0,LegacyTitledEnumSchemaSchema:B,SingleSelectEnumSchemaSchema:v,UntitledMultiSelectEnumSchemaSchema:u,TitledMultiSelectEnumSchemaSchema:r,MultiSelectEnumSchemaSchema:X0,EnumSchemaSchema:J0,PrimitiveSchemaDefinitionSchema:q0,ElicitRequestFormParamsSchema:M0,ResourceTemplateReferenceSchema:B0,PromptReferenceSchema:r0,RootSchema:I1,ClientCapabilities2026Schema:N1,ServerCapabilities2026Schema:u4,RequestMetaEnvelopeSchema:N8,ToolSchema:e8,ToolResultContentSchema:E5,SamplingMessageContentBlockSchema:r3,SamplingMessageSchema:w$,ResultTypeSchema:S9,ResultMetaSchema:g9,ResultSchema:a3,PaginatedResultSchema:e2,CallToolResultSchema:t3,ListToolsResultSchema:C5,ListPromptsResultSchema:$Y,GetPromptResultSchema:t$,ListResourcesResultSchema:YY,ListResourceTemplatesResultSchema:e$,ReadResourceResultSchema:y9,CompleteResultSchema:UY,CacheableResultSchema:k9,DiscoverResultSchema:zY,CreateMessageRequestParamsSchema:$$,CreateMessageRequestSchema:QY,ListRootsRequestSchema:R5,CreateMessageResultSchema:JY,ListRootsResultSchema:IY,ElicitResultSchema:_5,ElicitRequestURLParamsSchema:KY,ElicitRequestParamsSchema:v5,ElicitRequestSchema:GY,InputRequestSchema:h5,InputResponseSchema:HY,InputRequestsSchema:S5,InputResponsesSchema:WY,InputRequiredResultSchema:g5,InputResponseRequestParamsSchema:f9,CallToolRequestSchema:qY,ListToolsRequestSchema:VY,ListPromptsRequestSchema:LY,GetPromptRequestSchema:u9,ListResourcesRequestSchema:FY,ListResourceTemplatesRequestSchema:e3,ReadResourceRequestSchema:wY,CompleteRequestSchema:Y7,DiscoverRequestSchema:MY,SubscriptionFilterSchema:U7,SubscriptionsListenRequestSchema:Q7,SubscriptionsListenResultMetaSchema:OY,SubscriptionsListenResultSchema:fz,dispatchRequestSchemas:$5,dispatchResultSchemas:b9,NotificationMetaSchema:y5,SubscriptionsAcknowledgedNotificationSchema:k5,CancelledNotificationParamsSchema:J7,CancelledNotificationSchema:i9,notificationSchemas2026:cK,JSONRPCResultResponseSchema:c6(a3),CallToolResultResponseSchema:c6(o0([t3,g5])),ListToolsResultResponseSchema:c6(C5),ListPromptsResultResponseSchema:c6($Y),GetPromptResultResponseSchema:c6(o0([t$,g5])),ListResourcesResultResponseSchema:c6(YY),ListResourceTemplatesResultResponseSchema:c6(e$),ReadResourceResultResponseSchema:c6(o0([y9,g5])),CompleteResultResponseSchema:c6(UY),DiscoverResultResponseSchema:c6(zY)}}function uY(){return Rf0??=Cf0()}function vf0($){return _f0.includes($)}function Dw($,Y){if(Y===void 0)return $;let U=$[_Q];if(U===void 0)return{...$,[_Q]:Y};let z={},Q=U.ttlMs??Y.ttlMs;if(Q!==void 0)z.ttlMs=Q;let J=U.cacheScope??Y.cacheScope;if(J!==void 0)z.cacheScope=J;return{...$,[_Q]:z}}function hf0($){return $[_Q]}function ih($){return typeof $==="number"&&Number.isSafeInteger($)&&$>=0}function ch($){return $==="public"||$==="private"}function nh($,Y){if($.ttlMs!==void 0&&!ih($.ttlMs))throw RangeError(`Invalid cache hint for ${Y}: ttlMs must be a non-negative safe integer (got ${String($.ttlMs)})`);if($.cacheScope!==void 0&&!ch($.cacheScope))throw RangeError(`Invalid cache hint for ${Y}: cacheScope must be 'public' or 'private' (got ${String($.cacheScope)})`)}function kf0($,Y){let U=Y.resultType;if(U===void 0)return{...Y,resultType:"complete"};if(U==="complete")return Y;if(yf0.includes($))return Y;throw new J1(n0.InternalError,`Handler for ${$} returned resultType '${String(U)}', but results of ${$} only support 'complete' on protocol revision 2026-07-28`)}function xf0($,Y){let U=hf0(Y);if(Y.resultType!=="complete"||!vf0($))return U===void 0?Y:cf0(Y);let z=Y,Q=ih(z.ttlMs)?z.ttlMs:bf0(U),J=ch(z.cacheScope)?z.cacheScope:if0(U),I={...z,ttlMs:Q,cacheScope:J};return delete I[_Q],I}function ff0($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function uf0($,Y){if(Y===void 0)return $;let U=$._meta;if(U===void 0)return{...$,_meta:{[p5]:Y}};if(!ff0(U))return $;if(U[p5]!==void 0)return $;return{...$,_meta:{...U,[p5]:Y}}}function bf0($){return $!==void 0&&ih($.ttlMs)?$.ttlMs:Sf0}function if0($){return $!==void 0&&ch($.cacheScope)?$.cacheScope:gf0}function cf0($){let Y={...$};return delete Y[_Q],Y}function Tt(){if(Lw)return Lw;let $=uY();return Lw={request:{"elicitation/create":U0({method:L0("elicitation/create"),params:$.ElicitRequestParamsSchema}),"sampling/createMessage":U0({method:L0("sampling/createMessage"),params:$.CreateMessageRequestParamsSchema}),"roots/list":U0({method:L0("roots/list"),params:Q1({}).optional()})},response:{"elicitation/create":$.ElicitResultSchema,"sampling/createMessage":$.CreateMessageResultSchema,"roots/list":$.ListRootsResultSchema}},Lw}function jt($){return nf0.includes($)}function Rh($){return jt($)?Tt().request[$]:void 0}function pf0($){return jt($)?Tt().response[$]:void 0}function Ct($){return Object.prototype.hasOwnProperty.call(ph,$)}function Rt($){return Object.prototype.hasOwnProperty.call(Et,$)}function df0($){return Object.prototype.hasOwnProperty.call(ph,$)}function mf0($){return Ct($)?uY().dispatchRequestSchemas[$]:void 0}function lf0($){return df0($)?uY().dispatchResultSchemas[$]:void 0}function of0($){return Rt($)?uY().notificationSchemas2026[$]:void 0}function HH($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function KH($,Y){if($===void 0)return{ok:!1,reason:"not-in-era"};let U=$.safeParse(Y);return U.success?{ok:!0,value:U.data}:{ok:!1,reason:"invalid",message:String(U.error)}}function af0($,Y){let U=Y,z=!1,Q=()=>{if(!z)U={...U},z=!0;return U},J=Y.tools;if($==="tools/list"&&Array.isArray(J)&&J.some((K)=>HH(K)&&("execution"in K)))Q().tools=J.map((K)=>{if(!HH(K)||!("execution"in K))return K;let G={...K};return delete G.execution,G});let I=Y.capabilities;if(HH(I)&&"tasks"in I){let K={...I};delete K.tasks,Q().capabilities=K}return U}function tf0(){if(Fw)return Fw;let $=uY();return Fw={"tools/call":$.CallToolResultSchema,"tools/list":$.ListToolsResultSchema,"prompts/get":$.GetPromptResultSchema,"prompts/list":$.ListPromptsResultSchema,"resources/list":$.ListResourcesResultSchema,"resources/templates/list":$.ListResourceTemplatesResultSchema,"resources/read":$.ReadResourceResultSchema,"completion/complete":$.CompleteResultSchema,"server/discover":$.DiscoverResultSchema},Fw}function j7($){return $!==void 0&&SQ($)?dh:bh}function Jt($){if($.revision!==void 0)return j7($.revision).era;return $.era==="modern"?dh.era:bh.era}function _h($){return _t.some((Y)=>Y.hasRequestMethod($))}function vh($){return _t.some((Y)=>Y.hasNotificationMethod($))}function It($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function bY($){if(!It($))return;let Y=$._meta;return It(Y)?Y:void 0}function Pw($){let Y=bY($);return Y!==void 0&&l9 in Y}function Tw($){let Y=bY($)?.[l9];return typeof Y==="string"?Y:void 0}function jw($){return j7(qH).validateEnvelopeMeta($)}function mh($){if($.params.ref.type!=="ref/prompt")throw TypeError(`Expected CompleteRequestPrompt, but got ${$.params.ref.type}`)}function lh($){if($.params.ref.type!=="ref/resource")throw TypeError(`Expected CompleteRequestResourceTemplate, but got ${$.params.ref.type}`)}function oh($){let Y=[],U=new Map,z=(J,I,K)=>{if(J===null||typeof J!=="object")return;let G=J;if(Kt in G){if(!K||I.length===0)return`${ww(I)}: x-mcp-header is only permitted on properties statically reachable via a chain of 'properties' keys (not under items, additionalProperties, oneOf/anyOf/allOf/not, if/then/else, or $ref)`;let W=G[Kt];if(typeof W!=="string"||W.length===0)return`${ww(I)}: x-mcp-header MUST be a non-empty string`;if(!$u0.test(W))return`${ww(I)}: x-mcp-header '${W}' is not a valid RFC 9110 token (no spaces, control characters or HTTP delimiters)`;let X=typeof G.type==="string"?G.type:void 0;if(X===void 0||!Yu0.has(X))return`${ww(I)}: x-mcp-header is only permitted on primitive-typed properties (string, integer, boolean); got ${X??""}`;let Z=W.toLowerCase(),q=U.get(Z);if(q!==void 0)return`x-mcp-header '${W}' is not case-insensitively unique (also declared as '${q}')`;U.set(Z,W),Y.push({path:I,headerName:W,type:X})}let H=G.properties;if(H!==null&&typeof H==="object")for(let[W,X]of Object.entries(H)){let Z=z(X,[...I,W],K);if(Z!==void 0)return Z}for(let W of Uu0){let X=G[W];if(X===void 0)continue;let Z=Array.isArray(X)?X:X!==null&&typeof X==="object"&&zu0.has(W)?Object.values(X):[X];for(let q of Z){let V=z(q,[...I,`<${W}>`],!1);if(V!==void 0)return V}}},Q=z($,[],!0);return Q===void 0?{valid:!0,declarations:Y}:{valid:!1,reason:Q}}function ww($){return $.length===0?"":$.join(".")}function Mw($,Y,U,z,Q){return{kind:"reject",rung:$,cell:Y,httpStatus:U,code:z.code,message:z.message,...z.data!==void 0&&{data:z.data},settled:Q}}function rh($){if(!Pw($))return!1;let Y=Tw($);if(Y===void 0||!SQ(Y))return!1;let U=bY($);return U!==void 0&&jw(U).length===0}function sh($,Y){switch($.reason){case"http-method":return Mw("http-method","modern-only-method-not-allowed",405,new J1(-32000,"Method not allowed."),!0);case"batch":return Mw("jsonrpc-shape","modern-only-batch-not-supported",400,new J1(n0.InvalidRequest,"Bad Request: JSON-RPC batches are not supported by this endpoint"),!0);case"response":return Mw("jsonrpc-shape","modern-only-response-post",400,new J1(n0.InvalidRequest,"Bad Request: JSON-RPC responses cannot be posted to this endpoint"),!0);case"notification":return;case"initialize":case"no-claim":{let U=$.requestedVersion;return Mw("era-classification","modern-only-missing-envelope",400,U===void 0?new J1(n0.UnsupportedProtocolVersion,"Unsupported protocol version: the request did not name a protocol version",{supported:[...Y]}):new gQ({supported:[...Y],requested:U}),!0)}}}function Cw($,Y){return BG($,Y)}function GH($){return new Set($.flatMap((Y)=>Object.keys(Y.shape)))}function hQ($){if($==null)return!1;let Y=typeof $;if(Y!=="object"&&Y!=="function")return!1;if(!("~standard"in $))return!1;return typeof $["~standard"]?.validate==="function"}function R7($,Y="input"){let U=$["~standard"],z;if(U.jsonSchema)z=U.jsonSchema[Y]({target:gh});else if(U.vendor==="zod"){if(!("_zod"in $))throw Error("Schema appears to be from zod 3, which the SDK cannot convert to JSON Schema. Upgrade to zod >=4.2.0, or wrap your JSON Schema with fromJsonSchema().");if(!Gt)Gt=!0,console.warn("[mcp-sdk] Your zod version does not implement `~standard.jsonSchema` (added in zod 4.2.0). Falling back to z.toJSONSchema(). Upgrade to zod >=4.2.0 to silence this warning.");z=vY($,{target:gh,io:Y})}else throw Error(`Schema library "${U.vendor}" does not implement StandardJSONSchemaV1 (\`~standard.jsonSchema\`). Upgrade to a version that does, or wrap your JSON Schema with fromJsonSchema().`);if(Y==="output"){if(z.type!==void 0)return z;return vt(z)?{type:"object",...z}:z}if(z.type!==void 0&&z.type!=="object")throw Error(`MCP tool and prompt schemas must describe objects (got type: ${JSON.stringify(z.type)}). Wrap your schema in z.object({...}) or equivalent.`);return{type:"object",...z}}function vt($){if("properties"in $||"patternProperties"in $||"additionalProperties"in $||"required"in $)return!0;for(let Y of["oneOf","anyOf","allOf"]){let U=$[Y];if(Array.isArray(U)&&U.length>0)return U.every((z)=>z!==null&&typeof z==="object"&&(z.type==="object"||vt(z)))}return!1}function Ju0($){if(!$.path?.length)return $.message;return`${$.path.map((Y)=>String(typeof Y==="object"?Y.key:Y)).join(".")}: ${$.message}`}async function fY($,Y){let U=await $["~standard"].validate(Y);if(U.issues&&U.issues.length>0)return{success:!1,error:U.issues.map((z)=>Ju0(z)).join(", ")};return{success:!0,data:U.value}}function Iu0($){let Y=vY($,{target:gh,io:"input"});return typeof Y.pattern==="string"?Y.pattern:void 0}function Gu0($){let Y=Ku0.exec($),U=[void 0,-1,0];if(Y)U.push(Number(Y[1]));return[!1,!0].flatMap((z)=>[!1,!0].flatMap((Q)=>U.map((J)=>Q$.datetime({local:z,offset:Q,precision:J}))))}function Hu0($,Y){let U;switch($){case"email":U=[UL()];break;case"uri":U=[qQ()];break;case"date":U=[Q$.date()];break;case"date-time":U=Gu0(Y);break}return new Set(U.map((z)=>Iu0(z)).filter((z)=>z!==void 0))}function Wu0($,Y,U){if(U!=="zod")return!0;return Hu0($,Y).has(Y)}function ht($){let Y=R7($,"input"),U=Y.properties||{},z=Y.required||[];return Object.entries(U).map(([Q,J])=>({name:Q,description:J?.description,required:z.includes(Q)}))}function ZH($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function Xu0($){try{return R7($,"input")}catch(Y){let U=Y instanceof Error?Y.message:String(Y);throw new J1(n0.InvalidParams,`Elicitation requestedSchema must describe an object with flat primitive properties: ${U}`)}}function ah($){return Zu0.has($)||$.startsWith("x-")}function Lu0($,Y,U,z){if(!ZH($))return $;let Q=typeof $.type==="string"&&Object.hasOwn(Ht,$.type)?Ht[$.type]:void 0;if(Q===void 0)return $;let J={};for(let[I,K]of Object.entries($))if(Q.has(I)||ah(I))J[I]=K;else if(I==="pattern"&&$.type==="string"&&typeof $.format==="string"){if(!Vu0.has($.format))J[I]=K;else if(typeof K!=="string"||!Wu0($.format,K,U))z.push(`${Y}.${I}`)}else z.push(`${Y}.${I}`);return J}function Fu0($,Y){let U={},z=[];for(let[Q,J]of Object.entries($))if(Q==="properties"&&ZH(J))U[Q]=Object.fromEntries(Object.entries(J).map(([I,K])=>[I,Lu0(K,`properties.${I}`,Y,z)]));else if(qu0.has(Q))U[Q]=J;else if(!ah(Q))z.push(Q);if(z.length>0)throw new J1(n0.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${z.join(", ")}`);return U}function wu0($,Y){if(!ZH($.properties))return Y;let U=Object.entries($.properties).filter(([,z])=>!Cw(IH,z).success).map(([z])=>`properties.${z}`);return U.length>0?U.join(", "):Y}function yh($,Y,U=""){if(Array.isArray($)&&Array.isArray(Y))return $.flatMap((z,Q)=>yh(z,Y[Q],`${U}[${Q}]`));if(!ZH($)||!ZH(Y))return[];return Object.entries($).flatMap(([z,Q])=>{let J=U?`${U}.${z}`:z;if(!Object.prototype.hasOwnProperty.call(Y,z))return ah(z)?[]:[J];return yh(Q,Y[z],J)})}function Mu0($){if(!hQ($.requestedSchema))return{...$,mode:"form",requestedSchema:$.requestedSchema};let Y=$.requestedSchema["~standard"].vendor,U=Fu0(Xu0($.requestedSchema),Y),z=Cw(RQ.shape.requestedSchema,U);if(!z.success)throw new J1(n0.InvalidParams,`Elicitation requestedSchema only supports flat primitive properties (string, number, integer, boolean, and string enums): ${wu0(U,z.error.message)}`);let Q=yh(U,z.data);if(Q.length>0)throw new J1(n0.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${Q.join(", ")}`);let J=(z.data.required??[]).filter((I)=>!Object.prototype.hasOwnProperty.call(z.data.properties,I));if(J.length>0)throw new J1(n0.InvalidParams,`Elicitation requestedSchema lists required properties that are not defined in properties: ${J.join(", ")}`);return{...$,mode:"form",requestedSchema:z.data}}function Ou0($){let Y=$.inputRequests!==void 0&&Object.keys($.inputRequests).length>0,U=typeof $.requestState==="string";if(!Y&&!U)throw TypeError("inputRequired() requires at least one of inputRequests (with at least one entry) or requestState (spec: every InputRequiredResult MUST include at least one of the two)");return{resultType:"input_required",...$.inputRequests!==void 0&&{inputRequests:$.inputRequests},...$.requestState!==void 0&&{requestState:$.requestState}}}function gt($,Y){return`Multi-round-trip request '${$}' still required input after ${Y} rounds (inputRequired.maxRounds)`}function yt($,Y){return new Promise((U,z)=>{if(Y?.aborted){z(Y.reason instanceof V1?Y.reason:new V1(A1.RequestTimeout,String(Y.reason)));return}let Q=setTimeout(()=>{Y?.removeEventListener("abort",J),U()},$),J=()=>{clearTimeout(Q),z(Y?.reason instanceof V1?Y.reason:new V1(A1.RequestTimeout,String(Y?.reason)))};Y?.addEventListener("abort",J,{once:!0})})}function kt($){let Y=new AbortController,U=()=>Y.abort($?.reason);if($?.addEventListener("abort",U,{once:!0}),$?.aborted)Y.abort($.reason);return{signal:Y.signal,abort:(z)=>Y.abort(z),dispose:()=>$?.removeEventListener("abort",U)}}function ut($,Y){let U=$.slice(0,-6);xt[U]=Y,ft[U]=(z)=>Y.safeParse(z).success}function Tu0($){switch($){case"initialize":case"notifications/initialized":return j7(void 0);case"server/discover":return j7(qH);default:return}}function Wt($,Y){let U=$.params;if(!WH(U))return{message:$,lifted:{}};let z=U._meta,Q=WH(z)?ju0.filter((G)=>(G in z)):[],J=Y==="request"?Eu0.filter((G)=>(G in U)):[];if(Q.length===0&&J.length===0)return{message:$,lifted:{}};let I={},K={...U};if(Q.length>0&&WH(z)){let G={},H={...z};for(let W of Q)G[W]=z[W],delete H[W];if(I.envelope=G,Object.keys(H).length>0)K._meta=H;else delete K._meta}for(let G of J){if(G==="inputResponses")I.inputResponses=K[G];if(G==="requestState")I.requestState=K[G];delete K[G]}return{message:{...$,params:K},lifted:I}}function Xt($,Y){let U=$.validateResult(Y,void 0);if(!U.ok&&U.reason==="not-in-era")return;return{"~standard":{version:1,vendor:"mcp-wire-codec",validate(z){let Q=$.validateResult(Y,z);if(Q.ok)return{value:Q.value};return{issues:[{message:Q.reason==="invalid"?Q.message:`not-in-era: ${Y}`}]}}}}}function VH($){return()=>$}function th($,Y){return{...$,mcpReq:{...$.mcpReq,requestState:VH(Y)}}}function eh($,Y){it($,Y)}function WH($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function YS($,Y){let U={...$};for(let z in Y){let Q=z,J=Y[Q];if(J===void 0)continue;let I=U[Q];U[Q]=WH(I)&&WH(J)?{...I,...J}:J}return U}function Zt($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function Ru0($){let Y={},U=[];if(!Zt($))return{accepted:Y,droppedKeys:U};for(let[z,Q]of Object.entries($)){if(!Zt(Q)||"method"in Q||"result"in Q){U.push(z);continue}Y[z]=Q}return{accepted:Y,droppedKeys:U}}function _u0($){return{resultType:"input_required",inputRequests:$.inputRequests,...$.requestState!==void 0&&{requestState:$.requestState}}}function nt($){return iG.parse(JSON.parse($))}function zS($){return JSON.stringify($)+` +Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let I of $.seen.entries()){let K=I[1];if(Y===I[0]){J(I);continue}if($.external){let H=$.external.registry.get(I[0])?.id;if(Y!==I[0]&&H){J(I);continue}}if($.metadataRegistry.get(I[0])?.id){J(I);continue}if(K.cycle){J(I);continue}if(K.count>1){if($.reused==="ref"){J(I);continue}}}}function V7($,Y){let U=$.seen.get(Y);if(!U)throw Error("Unprocessed schema. This is a bug in Zod.");let z=(K)=>{let G=$.seen.get(K);if(G.ref===null)return;let H=G.def??G.schema,W={...H},X=G.ref;if(G.ref=null,X){z(X);let q=$.seen.get(X),V=q.schema;if(V.$ref&&($.target==="draft-07"||$.target==="draft-04"||$.target==="openapi-3.0"))H.allOf=H.allOf??[],H.allOf.push(V);else Object.assign(H,V);if(Object.assign(H,W),K._zod.parent===X)for(let M in H){if(M==="$ref"||M==="allOf")continue;if(!(M in W))delete H[M]}if(V.$ref&&q.def)for(let M in H){if(M==="$ref"||M==="allOf")continue;if(M in q.def&&JSON.stringify(H[M])===JSON.stringify(q.def[M]))delete H[M]}}let Z=K._zod.parent;if(Z&&Z!==X){z(Z);let q=$.seen.get(Z);if(q?.schema.$ref){if(H.$ref=q.schema.$ref,q.def)for(let V in H){if(V==="$ref"||V==="allOf")continue;if(V in q.def&&JSON.stringify(H[V])===JSON.stringify(q.def[V]))delete H[V]}}}$.override({zodSchema:K,jsonSchema:H,path:G.path??[]})};for(let K of[...$.seen.entries()].reverse())z(K[0]);let Q={};if($.target==="draft-2020-12")Q.$schema="https://json-schema.org/draft/2020-12/schema";else if($.target==="draft-07")Q.$schema="http://json-schema.org/draft-07/schema#";else if($.target==="draft-04")Q.$schema="http://json-schema.org/draft-04/schema#";else if($.target==="openapi-3.0");if($.external?.uri){let K=$.external.registry.get(Y)?.id;if(!K)throw Error("Schema is missing an `id` property");Q.$id=$.external.uri(K)}Object.assign(Q,U.def??U.schema);let J=$.metadataRegistry.get(Y)?.id;if(J!==void 0&&Q.id===J)delete Q.id;let I=$.external?.defs??{};for(let K of $.seen.entries()){let G=K[1];if(G.def&&G.defId){if(G.def.id===G.defId)delete G.def.id;I[G.defId]=G.def}}if($.external);else if(Object.keys(I).length>0)if($.target==="draft-2020-12")Q.$defs=I;else Q.definitions=I;try{let K=JSON.parse(JSON.stringify(Q));return Object.defineProperty(K,"~standard",{value:{...Y["~standard"],jsonSchema:{input:HQ(Y,"input",$.processors),output:HQ(Y,"output",$.processors)}},enumerable:!1,writable:!1}),K}catch(K){throw Error("Error converting schema to JSON.")}}function P8($,Y){let U=Y??{seen:new Set};if(U.seen.has($))return!1;U.seen.add($);let z=$._zod.def;if(z.type==="transform")return!0;if(z.type==="array")return P8(z.element,U);if(z.type==="set")return P8(z.valueType,U);if(z.type==="lazy")return P8(z.getter(),U);if(z.type==="promise"||z.type==="optional"||z.type==="nonoptional"||z.type==="nullable"||z.type==="readonly"||z.type==="default"||z.type==="prefault")return P8(z.innerType,U);if(z.type==="intersection")return P8(z.left,U)||P8(z.right,U);if(z.type==="record"||z.type==="map")return P8(z.keyType,U)||P8(z.valueType,U);if(z.type==="pipe"){if($._zod.traits.has("$ZodCodec"))return!0;return P8(z.in,U)||P8(z.out,U)}if(z.type==="object"){for(let Q in z.shape)if(P8(z.shape[Q],U))return!0;return!1}if(z.type==="union"){for(let Q of z.options)if(P8(Q,U))return!0;return!1}if(z.type==="tuple"){for(let Q of z.items)if(P8(Q,U))return!0;if(z.rest&&P8(z.rest,U))return!0;return!1}return!1}var K_=($,Y={})=>(U)=>{let z=Z7({...U,processors:Y});return I4($,z),q7(z,$),V7(z,$)},HQ=($,Y,U={})=>(z)=>{let{libraryOptions:Q,target:J}=z??{},I=Z7({...Q??{},target:J,io:Y,processors:U});return I4($,I),q7(I,$),V7(I,$)};var MG=m(()=>{LG()});function vY($,Y){if("_idmap"in $){let z=$,Q=Z7({...Y,processors:nV}),J={};for(let G of z._idmap.entries()){let[H,W]=G;I4(W,Q)}let I={},K={registry:z,uri:Y?.uri,defs:J};Q.external=K;for(let G of z._idmap.entries()){let[H,W]=G;q7(Q,W),I[H]=V7(Q,W)}if(Object.keys(J).length>0){let G=Q.target==="draft-2020-12"?"$defs":"definitions";I.__shared={[G]:J}}return{schemas:I}}let U=Z7({...Y,processors:nV});return I4($,U),q7(U,$),V7(U,$)}var ex0,G_=($,Y,U,z)=>{let Q=U;Q.type="string";let{minimum:J,maximum:I,format:K,patterns:G,contentEncoding:H}=$._zod.bag;if(typeof J==="number")Q.minLength=J;if(typeof I==="number")Q.maxLength=I;if(K){if(Q.format=ex0[K]??K,Q.format==="")delete Q.format;if(K==="time")delete Q.format}if(H)Q.contentEncoding=H;if(G&&G.size>0){let W=[...G];if(W.length===1)Q.pattern=W[0].source;else if(W.length>1)Q.allOf=[...W.map((X)=>({...Y.target==="draft-07"||Y.target==="draft-04"||Y.target==="openapi-3.0"?{type:"string"}:{},pattern:X.source}))]}},H_=($,Y,U,z)=>{let Q=U,{minimum:J,maximum:I,format:K,multipleOf:G,exclusiveMaximum:H,exclusiveMinimum:W}=$._zod.bag;if(typeof K==="string"&&K.includes("int"))Q.type="integer";else Q.type="number";let X=typeof W==="number"&&W>=(J??Number.NEGATIVE_INFINITY),Z=typeof H==="number"&&H<=(I??Number.POSITIVE_INFINITY),q=Y.target==="draft-04"||Y.target==="openapi-3.0";if(X)if(q)Q.minimum=W,Q.exclusiveMinimum=!0;else Q.exclusiveMinimum=W;else if(typeof J==="number")Q.minimum=J;if(Z)if(q)Q.maximum=H,Q.exclusiveMaximum=!0;else Q.exclusiveMaximum=H;else if(typeof I==="number")Q.maximum=I;if(typeof G==="number")Q.multipleOf=G},W_=($,Y,U,z)=>{U.type="boolean"},X_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("BigInt cannot be represented in JSON Schema")},Z_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Symbols cannot be represented in JSON Schema")},q_=($,Y,U,z)=>{if(Y.target==="openapi-3.0")U.type="string",U.nullable=!0,U.enum=[null];else U.type="null"},V_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Undefined cannot be represented in JSON Schema")},L_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Void cannot be represented in JSON Schema")},F_=($,Y,U,z)=>{U.not={}},w_=($,Y,U,z)=>{},M_=($,Y,U,z)=>{},O_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Date cannot be represented in JSON Schema")},N_=($,Y,U,z)=>{let Q=$._zod.def,J=sK(Q.entries);if(J.every((I)=>typeof I==="number"))U.type="number";if(J.every((I)=>typeof I==="string"))U.type="string";U.enum=J},D_=($,Y,U,z)=>{let Q=$._zod.def,J=[];for(let I of Q.values)if(I===void 0){if(Y.unrepresentable==="throw")throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof I==="bigint")if(Y.unrepresentable==="throw")throw Error("BigInt literals cannot be represented in JSON Schema");else J.push(Number(I));else J.push(I);if(J.length===0);else if(J.length===1){let I=J[0];if(U.type=I===null?"null":typeof I,Y.target==="draft-04"||Y.target==="openapi-3.0")U.enum=[I];else U.const=I}else{if(J.every((I)=>typeof I==="number"))U.type="number";if(J.every((I)=>typeof I==="string"))U.type="string";if(J.every((I)=>typeof I==="boolean"))U.type="boolean";if(J.every((I)=>I===null))U.type="null";U.enum=J}},A_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("NaN cannot be represented in JSON Schema")},B_=($,Y,U,z)=>{let Q=U,J=$._zod.pattern;if(!J)throw Error("Pattern not found in template literal");Q.type="string",Q.pattern=J.source},P_=($,Y,U,z)=>{let Q=U,J={type:"string",format:"binary",contentEncoding:"binary"},{minimum:I,maximum:K,mime:G}=$._zod.bag;if(I!==void 0)J.minLength=I;if(K!==void 0)J.maxLength=K;if(G)if(G.length===1)J.contentMediaType=G[0],Object.assign(Q,J);else Object.assign(Q,J),Q.anyOf=G.map((H)=>({contentMediaType:H}));else Object.assign(Q,J)},T_=($,Y,U,z)=>{U.type="boolean"},j_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Custom types cannot be represented in JSON Schema")},E_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Function types cannot be represented in JSON Schema")},C_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Transforms cannot be represented in JSON Schema")},R_=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Map cannot be represented in JSON Schema")},__=($,Y,U,z)=>{if(Y.unrepresentable==="throw")throw Error("Set cannot be represented in JSON Schema")},v_=($,Y,U,z)=>{let Q=U,J=$._zod.def,{minimum:I,maximum:K}=$._zod.bag;if(typeof I==="number")Q.minItems=I;if(typeof K==="number")Q.maxItems=K;Q.type="array",Q.items=I4(J.element,Y,{...z,path:[...z.path,"items"]})},h_=($,Y,U,z)=>{let Q=U,J=$._zod.def;Q.type="object",Q.properties={};let I=J.shape;for(let H in I)Q.properties[H]=I4(I[H],Y,{...z,path:[...z.path,"properties",H]});let K=new Set(Object.keys(I)),G=new Set([...K].filter((H)=>{let W=J.shape[H]._zod;if(Y.io==="input")return W.optin===void 0;else return W.optout===void 0}));if(G.size>0)Q.required=Array.from(G);if(J.catchall?._zod.def.type==="never")Q.additionalProperties=!1;else if(!J.catchall){if(Y.io==="output")Q.additionalProperties=!1}else if(J.catchall)Q.additionalProperties=I4(J.catchall,Y,{...z,path:[...z.path,"additionalProperties"]})},pV=($,Y,U,z)=>{let Q=$._zod.def,J=Q.inclusive===!1,I=Q.options.map((K,G)=>I4(K,Y,{...z,path:[...z.path,J?"oneOf":"anyOf",G]}));if(J)U.oneOf=I;else U.anyOf=I},S_=($,Y,U,z)=>{let Q=$._zod.def,J=I4(Q.left,Y,{...z,path:[...z.path,"allOf",0]}),I=I4(Q.right,Y,{...z,path:[...z.path,"allOf",1]}),K=(H)=>("allOf"in H)&&Object.keys(H).length===1,G=[...K(J)?J.allOf:[J],...K(I)?I.allOf:[I]];U.allOf=G},g_=($,Y,U,z)=>{let Q=U,J=$._zod.def;Q.type="array";let I=Y.target==="draft-2020-12"?"prefixItems":"items",K=Y.target==="draft-2020-12"?"items":Y.target==="openapi-3.0"?"items":"additionalItems",G=J.items.map((Z,q)=>I4(Z,Y,{...z,path:[...z.path,I,q]})),H=J.rest?I4(J.rest,Y,{...z,path:[...z.path,K,...Y.target==="openapi-3.0"?[J.items.length]:[]]}):null;if(Y.target==="draft-2020-12"){if(Q.prefixItems=G,H)Q.items=H}else if(Y.target==="openapi-3.0"){if(Q.items={anyOf:G},H)Q.items.anyOf.push(H);if(Q.minItems=G.length,!H)Q.maxItems=G.length}else if(Q.items=G,H)Q.additionalItems=H;let{minimum:W,maximum:X}=$._zod.bag;if(typeof W==="number")Q.minItems=W;if(typeof X==="number")Q.maxItems=X},y_=($,Y,U,z)=>{let Q=U,J=$._zod.def;Q.type="object";let I=J.keyType,G=I._zod.bag?.patterns;if(J.mode==="loose"&&G&&G.size>0){let W=I4(J.valueType,Y,{...z,path:[...z.path,"patternProperties","*"]});Q.patternProperties={};for(let X of G)Q.patternProperties[X.source]=W}else{if(Y.target==="draft-07"||Y.target==="draft-2020-12")Q.propertyNames=I4(J.keyType,Y,{...z,path:[...z.path,"propertyNames"]});Q.additionalProperties=I4(J.valueType,Y,{...z,path:[...z.path,"additionalProperties"]})}let H=I._zod.values;if(H){let W=[...H].filter((X)=>typeof X==="string"||typeof X==="number");if(W.length>0)Q.required=W}},k_=($,Y,U,z)=>{let Q=$._zod.def,J=I4(Q.innerType,Y,z),I=Y.seen.get($);if(Y.target==="openapi-3.0")I.ref=Q.innerType,U.nullable=!0;else U.anyOf=[J,{type:"null"}]},x_=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);J.ref=Q.innerType},f_=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);J.ref=Q.innerType,U.default=JSON.parse(JSON.stringify(Q.defaultValue))},u_=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);if(J.ref=Q.innerType,Y.io==="input")U._prefault=JSON.parse(JSON.stringify(Q.defaultValue))},b_=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);J.ref=Q.innerType;let I;try{I=Q.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}U.default=I},i_=($,Y,U,z)=>{let Q=$._zod.def,J=Q.in._zod.traits.has("$ZodTransform"),I=Y.io==="input"?J?Q.out:Q.in:Q.out;I4(I,Y,z);let K=Y.seen.get($);K.ref=I},c_=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);J.ref=Q.innerType,U.readOnly=!0},n_=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);J.ref=Q.innerType},dV=($,Y,U,z)=>{let Q=$._zod.def;I4(Q.innerType,Y,z);let J=Y.seen.get($);J.ref=Q.innerType},p_=($,Y,U,z)=>{let Q=$._zod.innerType;I4(Q,Y,z);let J=Y.seen.get($);J.ref=Q},nV;var OG=m(()=>{MG();$1();ex0={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},nV={string:G_,number:H_,boolean:W_,bigint:X_,symbol:Z_,null:q_,undefined:V_,void:L_,never:F_,any:w_,unknown:M_,date:O_,enum:N_,literal:D_,nan:A_,template_literal:B_,file:P_,success:T_,custom:j_,function:E_,transform:C_,map:R_,set:__,array:v_,object:h_,union:pV,intersection:S_,tuple:g_,record:y_,nullable:k_,nonoptional:x_,default:f_,prefault:u_,catch:b_,pipe:i_,readonly:c_,promise:n_,optional:dV,lazy:p_}});class d_{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter($){this.ctx.counter=$}get seen(){return this.ctx.seen}constructor($){let Y=$?.target??"draft-2020-12";if(Y==="draft-4")Y="draft-04";if(Y==="draft-7")Y="draft-07";this.ctx=Z7({processors:nV,target:Y,...$?.metadata&&{metadata:$.metadata},...$?.unrepresentable&&{unrepresentable:$.unrepresentable},...$?.override&&{override:$.override},...$?.io&&{io:$.io}})}process($,Y={path:[],schemaPath:[]}){return I4($,this.ctx,Y)}emit($,Y){if(Y){if(Y.cycles)this.ctx.cycles=Y.cycles;if(Y.reused)this.ctx.reused=Y.reused;if(Y.external)this.ctx.external=Y.external}q7(this.ctx,$);let U=V7(this.ctx,$),{"~standard":z,...Q}=U;return Q}}var Ps=m(()=>{OG();MG()});var Ts={};var js=()=>{};var p9={};x8(p9,{version:()=>KE,util:()=>y0,treeifyError:()=>Gj,toJSONSchema:()=>vY,toDotPath:()=>so,safeParseAsync:()=>Zj,safeParse:()=>Xj,safeEncodeAsync:()=>zk0,safeEncode:()=>Yk0,safeDecodeAsync:()=>Qk0,safeDecode:()=>Uk0,registry:()=>wV,regexes:()=>Y$,process:()=>I4,prettifyError:()=>Hj,parseAsync:()=>lq,parse:()=>mq,meta:()=>J_,locales:()=>VG,isValidJWT:()=>Mr,isValidBase64URL:()=>wr,isValidBase64:()=>_E,initializeContext:()=>Z7,globalRegistry:()=>n6,globalConfig:()=>AY,formatError:()=>zG,flattenError:()=>UG,finalize:()=>V7,extractDefs:()=>q7,encodeAsync:()=>ey0,encode:()=>ay0,describe:()=>Q_,decodeAsync:()=>$k0,decode:()=>ty0,createToJSONSchemaMethod:()=>K_,createStandardJSONSchemaMethod:()=>HQ,config:()=>a4,clone:()=>D8,_xor:()=>vx0,_xid:()=>CV,_void:()=>rR,_uuidv7:()=>AV,_uuidv6:()=>DV,_uuidv4:()=>NV,_uuid:()=>OV,_url:()=>wG,_uppercase:()=>tz,_unknown:()=>lR,_union:()=>_x0,_undefined:()=>pR,_ulid:()=>EV,_uint64:()=>cR,_uint32:()=>kR,_tuple:()=>gx0,_trim:()=>QQ,_transform:()=>ix0,_toUpperCase:()=>IQ,_toLowerCase:()=>JQ,_templateLiteral:()=>sx0,_symbol:()=>nR,_superRefine:()=>z_,_success:()=>mx0,_stringbool:()=>I_,_stringFormat:()=>GQ,_string:()=>AR,_startsWith:()=>$Q,_slugify:()=>KQ,_size:()=>CY,_set:()=>xx0,_safeParseAsync:()=>lz,_safeParse:()=>mz,_safeEncodeAsync:()=>$V,_safeEncode:()=>tq,_safeDecodeAsync:()=>YV,_safeDecode:()=>eq,_regex:()=>sz,_refine:()=>U_,_record:()=>yx0,_readonly:()=>rx0,_property:()=>cV,_promise:()=>tx0,_positive:()=>fV,_pipe:()=>ox0,_parseAsync:()=>dz,_parse:()=>pz,_overwrite:()=>Y5,_optional:()=>cx0,_number:()=>_R,_nullable:()=>nx0,_null:()=>dR,_normalize:()=>zQ,_nonpositive:()=>bV,_nonoptional:()=>dx0,_nonnegative:()=>iV,_never:()=>oR,_negative:()=>uV,_nativeEnum:()=>ux0,_nanoid:()=>PV,_nan:()=>tR,_multipleOf:()=>W7,_minSize:()=>c5,_minLength:()=>n9,_min:()=>B8,_mime:()=>UQ,_maxSize:()=>X7,_maxLength:()=>RY,_max:()=>U$,_map:()=>kx0,_mac:()=>PR,_lte:()=>U$,_lt:()=>b5,_lowercase:()=>az,_literal:()=>bx0,_length:()=>_Y,_lazy:()=>ax0,_ksuid:()=>RV,_jwt:()=>xV,_isoTime:()=>CR,_isoDuration:()=>RR,_isoDateTime:()=>jR,_isoDate:()=>ER,_ipv6:()=>vV,_ipv4:()=>_V,_intersection:()=>Sx0,_int64:()=>iR,_int32:()=>yR,_int:()=>hR,_includes:()=>ez,_guid:()=>FG,_gte:()=>B8,_gt:()=>i5,_float64:()=>gR,_float32:()=>SR,_file:()=>$_,_enum:()=>fx0,_endsWith:()=>YQ,_encodeAsync:()=>sq,_encode:()=>oq,_emoji:()=>BV,_email:()=>MV,_e164:()=>kV,_discriminatedUnion:()=>hx0,_default:()=>px0,_decodeAsync:()=>aq,_decode:()=>rq,_date:()=>sR,_custom:()=>Y_,_cuid2:()=>jV,_cuid:()=>TV,_coercedString:()=>BR,_coercedNumber:()=>vR,_coercedDate:()=>aR,_coercedBoolean:()=>fR,_coercedBigint:()=>bR,_cidrv6:()=>SV,_cidrv4:()=>hV,_check:()=>As,_catch:()=>lx0,_boolean:()=>xR,_bigint:()=>uR,_base64url:()=>yV,_base64:()=>gV,_array:()=>eR,_any:()=>mR,TimePrecision:()=>TR,NEVER:()=>oK,JSONSchemaGenerator:()=>d_,JSONSchema:()=>Ts,Doc:()=>KV,$output:()=>OR,$input:()=>NR,$constructor:()=>H0,$brand:()=>aT,$ZodXor:()=>oE,$ZodXID:()=>OE,$ZodVoid:()=>pE,$ZodUnknown:()=>cE,$ZodUnion:()=>GG,$ZodUndefined:()=>uE,$ZodUUID:()=>XE,$ZodURL:()=>qE,$ZodULID:()=>ME,$ZodType:()=>q1,$ZodTuple:()=>VV,$ZodTransform:()=>zC,$ZodTemplateLiteral:()=>VC,$ZodSymbol:()=>fE,$ZodSuccess:()=>HC,$ZodStringFormat:()=>Z4,$ZodString:()=>EY,$ZodSet:()=>eE,$ZodRegistry:()=>DR,$ZodRecord:()=>aE,$ZodRealError:()=>u8,$ZodReadonly:()=>qC,$ZodPromise:()=>FC,$ZodPreprocess:()=>ZC,$ZodPrefault:()=>KC,$ZodPipe:()=>FV,$ZodOptional:()=>LV,$ZodObjectJIT:()=>lE,$ZodObject:()=>Dr,$ZodNumberFormat:()=>kE,$ZodNumber:()=>ZV,$ZodNullable:()=>JC,$ZodNull:()=>bE,$ZodNonOptional:()=>GC,$ZodNever:()=>nE,$ZodNanoID:()=>LE,$ZodNaN:()=>XC,$ZodMap:()=>tE,$ZodMAC:()=>EE,$ZodLiteral:()=>YC,$ZodLazy:()=>wC,$ZodKSUID:()=>NE,$ZodJWT:()=>gE,$ZodIntersection:()=>sE,$ZodISOTime:()=>BE,$ZodISODuration:()=>PE,$ZodISODateTime:()=>DE,$ZodISODate:()=>AE,$ZodIPv6:()=>jE,$ZodIPv4:()=>TE,$ZodGUID:()=>WE,$ZodFunction:()=>LC,$ZodFile:()=>UC,$ZodExactOptional:()=>QC,$ZodError:()=>YG,$ZodEnum:()=>$C,$ZodEncodeError:()=>BY,$ZodEmoji:()=>VE,$ZodEmail:()=>ZE,$ZodE164:()=>SE,$ZodDiscriminatedUnion:()=>rE,$ZodDefault:()=>IC,$ZodDate:()=>dE,$ZodCustomStringFormat:()=>yE,$ZodCustom:()=>MC,$ZodCodec:()=>HG,$ZodCheckUpperCase:()=>$E,$ZodCheckStringFormat:()=>oz,$ZodCheckStartsWith:()=>UE,$ZodCheckSizeEquals:()=>oj,$ZodCheckRegex:()=>tj,$ZodCheckProperty:()=>QE,$ZodCheckOverwrite:()=>IE,$ZodCheckNumberFormat:()=>pj,$ZodCheckMultipleOf:()=>nj,$ZodCheckMinSize:()=>lj,$ZodCheckMinLength:()=>sj,$ZodCheckMimeType:()=>JE,$ZodCheckMaxSize:()=>mj,$ZodCheckMaxLength:()=>rj,$ZodCheckLowerCase:()=>ej,$ZodCheckLessThan:()=>QV,$ZodCheckLengthEquals:()=>aj,$ZodCheckIncludes:()=>YE,$ZodCheckGreaterThan:()=>JV,$ZodCheckEndsWith:()=>zE,$ZodCheckBigIntFormat:()=>dj,$ZodCheck:()=>L4,$ZodCatch:()=>WC,$ZodCUID2:()=>wE,$ZodCUID:()=>FE,$ZodCIDRv6:()=>RE,$ZodCIDRv4:()=>CE,$ZodBoolean:()=>KG,$ZodBigIntFormat:()=>xE,$ZodBigInt:()=>qV,$ZodBase64URL:()=>hE,$ZodBase64:()=>vE,$ZodAsyncError:()=>u5,$ZodArray:()=>mE,$ZodAny:()=>iE});var z$=m(()=>{$1();zV();MR();OG();Ps();js();PY();qj();Wj();OC();IV();GE();LG();Bs();MG()});var mV={};x8(mV,{uppercase:()=>tz,trim:()=>QQ,toUpperCase:()=>IQ,toLowerCase:()=>JQ,startsWith:()=>$Q,slugify:()=>KQ,size:()=>CY,regex:()=>sz,property:()=>cV,positive:()=>fV,overwrite:()=>Y5,normalize:()=>zQ,nonpositive:()=>bV,nonnegative:()=>iV,negative:()=>uV,multipleOf:()=>W7,minSize:()=>c5,minLength:()=>n9,mime:()=>UQ,maxSize:()=>X7,maxLength:()=>RY,lte:()=>U$,lt:()=>b5,lowercase:()=>az,length:()=>_Y,includes:()=>ez,gte:()=>B8,gt:()=>i5,endsWith:()=>YQ});var lV=m(()=>{z$()});var Q$={};x8(Q$,{time:()=>o_,duration:()=>r_,datetime:()=>m_,date:()=>l_,ZodISOTime:()=>sV,ZodISODuration:()=>aV,ZodISODateTime:()=>oV,ZodISODate:()=>rV});function m_($){return jR(oV,$)}function l_($){return ER(rV,$)}function o_($){return CR(sV,$)}function r_($){return RR(aV,$)}var oV,rV,sV,aV;var NG=m(()=>{z$();AG();oV=H0("ZodISODateTime",($,Y)=>{DE.init($,Y),q4.init($,Y)});rV=H0("ZodISODate",($,Y)=>{AE.init($,Y),q4.init($,Y)});sV=H0("ZodISOTime",($,Y)=>{BE.init($,Y),q4.init($,Y)});aV=H0("ZodISODuration",($,Y)=>{PE.init($,Y),q4.init($,Y)})});var Es=($,Y)=>{YG.init($,Y),$.name="ZodError",Object.defineProperties($,{format:{value:(U)=>zG($,U)},flatten:{value:(U)=>UG($,U)},addIssue:{value:(U)=>{$.issues.push(U),$.message=JSON.stringify($.issues,iz,2)}},addIssues:{value:(U)=>{$.issues.push(...U),$.message=JSON.stringify($.issues,iz,2)}},isEmpty:{get(){return $.issues.length===0}}})},Yf0,b8;var s_=m(()=>{z$();z$();$1();Yf0=H0("ZodError",Es),b8=H0("ZodError",Es,{Parent:Error})});var a_,t_,BG,e_,$v,Yv,Uv,zv,Qv,Jv,Iv,Kv;var Gv=m(()=>{z$();s_();a_=pz(b8),t_=dz(b8),BG=mz(b8),e_=lz(b8),$v=oq(b8),Yv=rq(b8),Uv=sq(b8),zv=aq(b8),Qv=tq(b8),Jv=eq(b8),Iv=$V(b8),Kv=YV(b8)});var DG={};x8(DG,{xor:()=>Va,xid:()=>bs,void:()=>Wa,uuidv7:()=>Ss,uuidv6:()=>hs,uuidv4:()=>vs,uuid:()=>_s,url:()=>qQ,unknown:()=>a0,union:()=>o0,undefined:()=>Ha,ulid:()=>us,uint64:()=>Ka,uint32:()=>Qa,tuple:()=>Av,transform:()=>DL,templateLiteral:()=>ja,symbol:()=>Ga,superRefine:()=>ov,success:()=>Aa,stringbool:()=>ga,stringFormat:()=>as,string:()=>R,strictObject:()=>qa,set:()=>Ma,refine:()=>lv,record:()=>p0,readonly:()=>cv,promise:()=>Ea,preprocess:()=>d9,prefault:()=>gv,pipe:()=>eV,partialRecord:()=>La,optional:()=>t0,object:()=>U0,number:()=>_0,nullish:()=>Da,nullable:()=>TG,null:()=>p5,nonoptional:()=>yv,never:()=>NL,nativeEnum:()=>Oa,nanoid:()=>ks,nan:()=>Ba,meta:()=>ha,map:()=>wa,mac:()=>ns,looseRecord:()=>Fa,looseObject:()=>Q1,literal:()=>L0,lazy:()=>F7,ksuid:()=>is,keyof:()=>Za,jwt:()=>ss,json:()=>ya,ipv6:()=>ps,ipv4:()=>cs,invertCodec:()=>Ta,intersection:()=>U5,int64:()=>Ia,int32:()=>za,int:()=>tV,instanceof:()=>Sa,httpUrl:()=>gs,hostname:()=>ts,hex:()=>es,hash:()=>$a,guid:()=>Rs,function:()=>Ca,float64:()=>Ua,float32:()=>Ya,file:()=>Na,exactOptional:()=>Rv,enum:()=>W1,emoji:()=>ys,email:()=>UL,e164:()=>rs,discriminatedUnion:()=>L7,describe:()=>va,date:()=>Xa,custom:()=>_a,cuid2:()=>fs,cuid:()=>xs,codec:()=>Pa,cidrv6:()=>ms,cidrv4:()=>ds,check:()=>Ra,catch:()=>fv,boolean:()=>m0,bigint:()=>Ja,base64url:()=>os,base64:()=>ls,array:()=>V0,any:()=>OL,_function:()=>Ca,_default:()=>hv,_ZodString:()=>$L,ZodXor:()=>Mv,ZodXID:()=>GL,ZodVoid:()=>Fv,ZodUnknown:()=>Vv,ZodUnion:()=>_G,ZodUndefined:()=>Xv,ZodUUID:()=>n5,ZodURL:()=>EG,ZodULID:()=>KL,ZodType:()=>w1,ZodTuple:()=>Dv,ZodTransform:()=>Ev,ZodTemplateLiteral:()=>nv,ZodSymbol:()=>Wv,ZodSuccess:()=>kv,ZodStringFormat:()=>q4,ZodString:()=>ZQ,ZodSet:()=>Pv,ZodRecord:()=>WQ,ZodReadonly:()=>iv,ZodPromise:()=>dv,ZodPreprocess:()=>bv,ZodPrefault:()=>Sv,ZodPipe:()=>vG,ZodOptional:()=>AL,ZodObject:()=>RG,ZodNumberFormat:()=>hY,ZodNumber:()=>LQ,ZodNullable:()=>_v,ZodNull:()=>Zv,ZodNonOptional:()=>BL,ZodNever:()=>Lv,ZodNanoID:()=>QL,ZodNaN:()=>uv,ZodMap:()=>Bv,ZodMAC:()=>Hv,ZodLiteral:()=>Tv,ZodLazy:()=>pv,ZodKSUID:()=>HL,ZodJWT:()=>wL,ZodIntersection:()=>Nv,ZodIPv6:()=>XL,ZodIPv4:()=>WL,ZodGUID:()=>PG,ZodFunction:()=>mv,ZodFile:()=>jv,ZodExactOptional:()=>Cv,ZodEnum:()=>XQ,ZodEmoji:()=>zL,ZodEmail:()=>YL,ZodE164:()=>FL,ZodDiscriminatedUnion:()=>Ov,ZodDefault:()=>vv,ZodDate:()=>CG,ZodCustomStringFormat:()=>VQ,ZodCustom:()=>SG,ZodCodec:()=>hG,ZodCatch:()=>xv,ZodCUID2:()=>IL,ZodCUID:()=>JL,ZodCIDRv6:()=>qL,ZodCIDRv4:()=>ZL,ZodBoolean:()=>FQ,ZodBigIntFormat:()=>ML,ZodBigInt:()=>wQ,ZodBase64URL:()=>LL,ZodBase64:()=>VL,ZodArray:()=>wv,ZodAny:()=>qv});function jG($,Y,U){let z=Object.getPrototypeOf($),Q=Cs.get(z);if(!Q)Q=new Set,Cs.set(z,Q);if(Q.has(Y))return;Q.add(Y);for(let J in U){let I=U[J];Object.defineProperty(z,J,{configurable:!0,enumerable:!1,get(){let K=I.bind(this);return Object.defineProperty(this,J,{configurable:!0,writable:!0,enumerable:!0,value:K}),K},set(K){Object.defineProperty(this,J,{configurable:!0,writable:!0,enumerable:!0,value:K})}})}}function R($){return AR(ZQ,$)}function UL($){return MV(YL,$)}function Rs($){return FG(PG,$)}function _s($){return OV(n5,$)}function vs($){return NV(n5,$)}function hs($){return DV(n5,$)}function Ss($){return AV(n5,$)}function qQ($){return wG(EG,$)}function gs($){return wG(EG,{protocol:Y$.httpProtocol,hostname:Y$.domain,...y0.normalizeParams($)})}function ys($){return BV(zL,$)}function ks($){return PV(QL,$)}function xs($){return TV(JL,$)}function fs($){return jV(IL,$)}function us($){return EV(KL,$)}function bs($){return CV(GL,$)}function is($){return RV(HL,$)}function cs($){return _V(WL,$)}function ns($){return PR(Hv,$)}function ps($){return vV(XL,$)}function ds($){return hV(ZL,$)}function ms($){return SV(qL,$)}function ls($){return gV(VL,$)}function os($){return yV(LL,$)}function rs($){return kV(FL,$)}function ss($){return xV(wL,$)}function as($,Y,U={}){return GQ(VQ,$,Y,U)}function ts($){return GQ(VQ,"hostname",Y$.hostname,$)}function es($){return GQ(VQ,"hex",Y$.hex,$)}function $a($,Y){let U=Y?.enc??"hex",z=`${$}_${U}`,Q=Y$[z];if(!Q)throw Error(`Unrecognized hash format: ${z}`);return GQ(VQ,z,Q,Y)}function _0($){return _R(LQ,$)}function tV($){return hR(hY,$)}function Ya($){return SR(hY,$)}function Ua($){return gR(hY,$)}function za($){return yR(hY,$)}function Qa($){return kR(hY,$)}function m0($){return xR(FQ,$)}function Ja($){return uR(wQ,$)}function Ia($){return iR(ML,$)}function Ka($){return cR(ML,$)}function Ga($){return nR(Wv,$)}function Ha($){return pR(Xv,$)}function p5($){return dR(Zv,$)}function OL(){return mR(qv)}function a0(){return lR(Vv)}function NL($){return oR(Lv,$)}function Wa($){return rR(Fv,$)}function Xa($){return sR(CG,$)}function V0($,Y){return eR(wv,$,Y)}function Za($){let Y=$._zod.def.shape;return W1(Object.keys(Y))}function U0($,Y){let U={type:"object",shape:$??{},...y0.normalizeParams(Y)};return new RG(U)}function qa($,Y){return new RG({type:"object",shape:$,catchall:NL(),...y0.normalizeParams(Y)})}function Q1($,Y){return new RG({type:"object",shape:$,catchall:a0(),...y0.normalizeParams(Y)})}function o0($,Y){return new _G({type:"union",options:$,...y0.normalizeParams(Y)})}function Va($,Y){return new Mv({type:"union",options:$,inclusive:!1,...y0.normalizeParams(Y)})}function L7($,Y,U){return new Ov({type:"union",options:Y,discriminator:$,...y0.normalizeParams(U)})}function U5($,Y){return new Nv({type:"intersection",left:$,right:Y})}function Av($,Y,U){let z=Y instanceof q1,Q=z?U:Y;return new Dv({type:"tuple",items:$,rest:z?Y:null,...y0.normalizeParams(Q)})}function p0($,Y,U){if(!Y||!Y._zod)return new WQ({type:"record",keyType:R(),valueType:$,...y0.normalizeParams(Y)});return new WQ({type:"record",keyType:$,valueType:Y,...y0.normalizeParams(U)})}function La($,Y,U){let z=D8($);return z._zod.values=void 0,new WQ({type:"record",keyType:z,valueType:Y,...y0.normalizeParams(U)})}function Fa($,Y,U){return new WQ({type:"record",keyType:$,valueType:Y,mode:"loose",...y0.normalizeParams(U)})}function wa($,Y,U){return new Bv({type:"map",keyType:$,valueType:Y,...y0.normalizeParams(U)})}function Ma($,Y){return new Pv({type:"set",valueType:$,...y0.normalizeParams(Y)})}function W1($,Y){let U=Array.isArray($)?Object.fromEntries($.map((z)=>[z,z])):$;return new XQ({type:"enum",entries:U,...y0.normalizeParams(Y)})}function Oa($,Y){return new XQ({type:"enum",entries:$,...y0.normalizeParams(Y)})}function L0($,Y){return new Tv({type:"literal",values:Array.isArray($)?$:[$],...y0.normalizeParams(Y)})}function Na($){return $_(jv,$)}function DL($){return new Ev({type:"transform",transform:$})}function t0($){return new AL({type:"optional",innerType:$})}function Rv($){return new Cv({type:"optional",innerType:$})}function TG($){return new _v({type:"nullable",innerType:$})}function Da($){return t0(TG($))}function hv($,Y){return new vv({type:"default",innerType:$,get defaultValue(){return typeof Y==="function"?Y():y0.shallowClone(Y)}})}function gv($,Y){return new Sv({type:"prefault",innerType:$,get defaultValue(){return typeof Y==="function"?Y():y0.shallowClone(Y)}})}function yv($,Y){return new BL({type:"nonoptional",innerType:$,...y0.normalizeParams(Y)})}function Aa($){return new kv({type:"success",innerType:$})}function fv($,Y){return new xv({type:"catch",innerType:$,catchValue:typeof Y==="function"?Y:()=>Y})}function Ba($){return tR(uv,$)}function eV($,Y){return new vG({type:"pipe",in:$,out:Y})}function Pa($,Y,U){return new hG({type:"pipe",in:$,out:Y,transform:U.decode,reverseTransform:U.encode})}function Ta($){let Y=$._zod.def;return new hG({type:"pipe",in:Y.out,out:Y.in,transform:Y.reverseTransform,reverseTransform:Y.transform})}function cv($){return new iv({type:"readonly",innerType:$})}function ja($,Y){return new nv({type:"template_literal",parts:$,...y0.normalizeParams(Y)})}function F7($){return new pv({type:"lazy",getter:$})}function Ea($){return new dv({type:"promise",innerType:$})}function Ca($){return new mv({type:"function",input:Array.isArray($?.input)?Av($?.input):$?.input??V0(a0()),output:$?.output??a0()})}function Ra($){let Y=new L4({check:"custom"});return Y._zod.check=$,Y}function _a($,Y){return Y_(SG,$??(()=>!0),Y)}function lv($,Y={}){return U_(SG,$,Y)}function ov($,Y){return z_($,Y)}function Sa($,Y={}){let U=new SG({type:"custom",check:"custom",fn:(z)=>z instanceof $,abort:!0,...y0.normalizeParams(Y)});return U._zod.bag.Class=$,U._zod.check=(z)=>{if(!(z.value instanceof $))z.issues.push({code:"invalid_type",expected:$.name,input:z.value,inst:U,path:[...U._zod.def.path??[]]})},U}function ya($){let Y=F7(()=>{return o0([R($),_0(),m0(),p5(),V0(Y),p0(R(),Y)])});return Y}function d9($,Y){return new bv({type:"pipe",in:DL($),out:Y})}var Cs,w1,$L,ZQ,q4,YL,PG,n5,EG,zL,QL,JL,IL,KL,GL,HL,WL,Hv,XL,ZL,qL,VL,LL,FL,wL,VQ,LQ,hY,FQ,wQ,ML,Wv,Xv,Zv,qv,Vv,Lv,Fv,CG,wv,RG,_G,Mv,Ov,Nv,Dv,WQ,Bv,Pv,XQ,Tv,jv,Ev,AL,Cv,_v,vv,Sv,BL,kv,xv,uv,vG,hG,bv,iv,nv,pv,dv,mv,SG,va,ha,ga=(...$)=>I_({Codec:hG,Boolean:FQ,String:ZQ},...$);var AG=m(()=>{z$();z$();OG();MG();lV();NG();Gv();Cs=new WeakMap;w1=H0("ZodType",($,Y)=>{return q1.init($,Y),Object.assign($["~standard"],{jsonSchema:{input:HQ($,"input"),output:HQ($,"output")}}),$.toJSONSchema=K_($,{}),$.def=Y,$.type=Y.type,Object.defineProperty($,"_def",{value:Y}),$.parse=(U,z)=>a_($,U,z,{callee:$.parse}),$.safeParse=(U,z)=>BG($,U,z),$.parseAsync=async(U,z)=>t_($,U,z,{callee:$.parseAsync}),$.safeParseAsync=async(U,z)=>e_($,U,z),$.spa=$.safeParseAsync,$.encode=(U,z)=>$v($,U,z),$.decode=(U,z)=>Yv($,U,z),$.encodeAsync=async(U,z)=>Uv($,U,z),$.decodeAsync=async(U,z)=>zv($,U,z),$.safeEncode=(U,z)=>Qv($,U,z),$.safeDecode=(U,z)=>Jv($,U,z),$.safeEncodeAsync=async(U,z)=>Iv($,U,z),$.safeDecodeAsync=async(U,z)=>Kv($,U,z),jG($,"ZodType",{check(...U){let z=this.def;return this.clone(y0.mergeDefs(z,{checks:[...z.checks??[],...U.map((Q)=>typeof Q==="function"?{_zod:{check:Q,def:{check:"custom"},onattach:[]}}:Q)]}),{parent:!0})},with(...U){return this.check(...U)},clone(U,z){return D8(this,U,z)},brand(){return this},register(U,z){return U.add(this,z),this},refine(U,z){return this.check(lv(U,z))},superRefine(U,z){return this.check(ov(U,z))},overwrite(U){return this.check(Y5(U))},optional(){return t0(this)},exactOptional(){return Rv(this)},nullable(){return TG(this)},nullish(){return t0(TG(this))},nonoptional(U){return yv(this,U)},array(){return V0(this)},or(U){return o0([this,U])},and(U){return U5(this,U)},transform(U){return eV(this,DL(U))},default(U){return hv(this,U)},prefault(U){return gv(this,U)},catch(U){return fv(this,U)},pipe(U){return eV(this,U)},readonly(){return cv(this)},describe(U){let z=this.clone();return n6.add(z,{description:U}),z},meta(...U){if(U.length===0)return n6.get(this);let z=this.clone();return n6.add(z,U[0]),z},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(U){return U(this)}}),Object.defineProperty($,"description",{get(){return n6.get($)?.description},configurable:!0}),$}),$L=H0("_ZodString",($,Y)=>{EY.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,Q,J)=>G_($,z,Q,J);let U=$._zod.bag;$.format=U.format??null,$.minLength=U.minimum??null,$.maxLength=U.maximum??null,jG($,"_ZodString",{regex(...z){return this.check(sz(...z))},includes(...z){return this.check(ez(...z))},startsWith(...z){return this.check($Q(...z))},endsWith(...z){return this.check(YQ(...z))},min(...z){return this.check(n9(...z))},max(...z){return this.check(RY(...z))},length(...z){return this.check(_Y(...z))},nonempty(...z){return this.check(n9(1,...z))},lowercase(z){return this.check(az(z))},uppercase(z){return this.check(tz(z))},trim(){return this.check(QQ())},normalize(...z){return this.check(zQ(...z))},toLowerCase(){return this.check(JQ())},toUpperCase(){return this.check(IQ())},slugify(){return this.check(KQ())}})}),ZQ=H0("ZodString",($,Y)=>{EY.init($,Y),$L.init($,Y),$.email=(U)=>$.check(MV(YL,U)),$.url=(U)=>$.check(wG(EG,U)),$.jwt=(U)=>$.check(xV(wL,U)),$.emoji=(U)=>$.check(BV(zL,U)),$.guid=(U)=>$.check(FG(PG,U)),$.uuid=(U)=>$.check(OV(n5,U)),$.uuidv4=(U)=>$.check(NV(n5,U)),$.uuidv6=(U)=>$.check(DV(n5,U)),$.uuidv7=(U)=>$.check(AV(n5,U)),$.nanoid=(U)=>$.check(PV(QL,U)),$.guid=(U)=>$.check(FG(PG,U)),$.cuid=(U)=>$.check(TV(JL,U)),$.cuid2=(U)=>$.check(jV(IL,U)),$.ulid=(U)=>$.check(EV(KL,U)),$.base64=(U)=>$.check(gV(VL,U)),$.base64url=(U)=>$.check(yV(LL,U)),$.xid=(U)=>$.check(CV(GL,U)),$.ksuid=(U)=>$.check(RV(HL,U)),$.ipv4=(U)=>$.check(_V(WL,U)),$.ipv6=(U)=>$.check(vV(XL,U)),$.cidrv4=(U)=>$.check(hV(ZL,U)),$.cidrv6=(U)=>$.check(SV(qL,U)),$.e164=(U)=>$.check(kV(FL,U)),$.datetime=(U)=>$.check(m_(U)),$.date=(U)=>$.check(l_(U)),$.time=(U)=>$.check(o_(U)),$.duration=(U)=>$.check(r_(U))});q4=H0("ZodStringFormat",($,Y)=>{Z4.init($,Y),$L.init($,Y)}),YL=H0("ZodEmail",($,Y)=>{ZE.init($,Y),q4.init($,Y)});PG=H0("ZodGUID",($,Y)=>{WE.init($,Y),q4.init($,Y)});n5=H0("ZodUUID",($,Y)=>{XE.init($,Y),q4.init($,Y)});EG=H0("ZodURL",($,Y)=>{qE.init($,Y),q4.init($,Y)});zL=H0("ZodEmoji",($,Y)=>{VE.init($,Y),q4.init($,Y)});QL=H0("ZodNanoID",($,Y)=>{LE.init($,Y),q4.init($,Y)});JL=H0("ZodCUID",($,Y)=>{FE.init($,Y),q4.init($,Y)});IL=H0("ZodCUID2",($,Y)=>{wE.init($,Y),q4.init($,Y)});KL=H0("ZodULID",($,Y)=>{ME.init($,Y),q4.init($,Y)});GL=H0("ZodXID",($,Y)=>{OE.init($,Y),q4.init($,Y)});HL=H0("ZodKSUID",($,Y)=>{NE.init($,Y),q4.init($,Y)});WL=H0("ZodIPv4",($,Y)=>{TE.init($,Y),q4.init($,Y)});Hv=H0("ZodMAC",($,Y)=>{EE.init($,Y),q4.init($,Y)});XL=H0("ZodIPv6",($,Y)=>{jE.init($,Y),q4.init($,Y)});ZL=H0("ZodCIDRv4",($,Y)=>{CE.init($,Y),q4.init($,Y)});qL=H0("ZodCIDRv6",($,Y)=>{RE.init($,Y),q4.init($,Y)});VL=H0("ZodBase64",($,Y)=>{vE.init($,Y),q4.init($,Y)});LL=H0("ZodBase64URL",($,Y)=>{hE.init($,Y),q4.init($,Y)});FL=H0("ZodE164",($,Y)=>{SE.init($,Y),q4.init($,Y)});wL=H0("ZodJWT",($,Y)=>{gE.init($,Y),q4.init($,Y)});VQ=H0("ZodCustomStringFormat",($,Y)=>{yE.init($,Y),q4.init($,Y)});LQ=H0("ZodNumber",($,Y)=>{ZV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,Q,J)=>H_($,z,Q,J),jG($,"ZodNumber",{gt(z,Q){return this.check(i5(z,Q))},gte(z,Q){return this.check(B8(z,Q))},min(z,Q){return this.check(B8(z,Q))},lt(z,Q){return this.check(b5(z,Q))},lte(z,Q){return this.check(U$(z,Q))},max(z,Q){return this.check(U$(z,Q))},int(z){return this.check(tV(z))},safe(z){return this.check(tV(z))},positive(z){return this.check(i5(0,z))},nonnegative(z){return this.check(B8(0,z))},negative(z){return this.check(b5(0,z))},nonpositive(z){return this.check(U$(0,z))},multipleOf(z,Q){return this.check(W7(z,Q))},step(z,Q){return this.check(W7(z,Q))},finite(){return this}});let U=$._zod.bag;$.minValue=Math.max(U.minimum??Number.NEGATIVE_INFINITY,U.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,$.maxValue=Math.min(U.maximum??Number.POSITIVE_INFINITY,U.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,$.isInt=(U.format??"").includes("int")||Number.isSafeInteger(U.multipleOf??0.5),$.isFinite=!0,$.format=U.format??null});hY=H0("ZodNumberFormat",($,Y)=>{kE.init($,Y),LQ.init($,Y)});FQ=H0("ZodBoolean",($,Y)=>{KG.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>W_($,U,z,Q)});wQ=H0("ZodBigInt",($,Y)=>{qV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,Q,J)=>X_($,z,Q,J),$.gte=(z,Q)=>$.check(B8(z,Q)),$.min=(z,Q)=>$.check(B8(z,Q)),$.gt=(z,Q)=>$.check(i5(z,Q)),$.gte=(z,Q)=>$.check(B8(z,Q)),$.min=(z,Q)=>$.check(B8(z,Q)),$.lt=(z,Q)=>$.check(b5(z,Q)),$.lte=(z,Q)=>$.check(U$(z,Q)),$.max=(z,Q)=>$.check(U$(z,Q)),$.positive=(z)=>$.check(i5(BigInt(0),z)),$.negative=(z)=>$.check(b5(BigInt(0),z)),$.nonpositive=(z)=>$.check(U$(BigInt(0),z)),$.nonnegative=(z)=>$.check(B8(BigInt(0),z)),$.multipleOf=(z,Q)=>$.check(W7(z,Q));let U=$._zod.bag;$.minValue=U.minimum??null,$.maxValue=U.maximum??null,$.format=U.format??null});ML=H0("ZodBigIntFormat",($,Y)=>{xE.init($,Y),wQ.init($,Y)});Wv=H0("ZodSymbol",($,Y)=>{fE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>Z_($,U,z,Q)});Xv=H0("ZodUndefined",($,Y)=>{uE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>V_($,U,z,Q)});Zv=H0("ZodNull",($,Y)=>{bE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>q_($,U,z,Q)});qv=H0("ZodAny",($,Y)=>{iE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>w_($,U,z,Q)});Vv=H0("ZodUnknown",($,Y)=>{cE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>M_($,U,z,Q)});Lv=H0("ZodNever",($,Y)=>{nE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>F_($,U,z,Q)});Fv=H0("ZodVoid",($,Y)=>{pE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>L_($,U,z,Q)});CG=H0("ZodDate",($,Y)=>{dE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,Q,J)=>O_($,z,Q,J),$.min=(z,Q)=>$.check(B8(z,Q)),$.max=(z,Q)=>$.check(U$(z,Q));let U=$._zod.bag;$.minDate=U.minimum?new Date(U.minimum):null,$.maxDate=U.maximum?new Date(U.maximum):null});wv=H0("ZodArray",($,Y)=>{mE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>v_($,U,z,Q),$.element=Y.element,jG($,"ZodArray",{min(U,z){return this.check(n9(U,z))},nonempty(U){return this.check(n9(1,U))},max(U,z){return this.check(RY(U,z))},length(U,z){return this.check(_Y(U,z))},unwrap(){return this.element}})});RG=H0("ZodObject",($,Y)=>{lE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>h_($,U,z,Q),y0.defineLazy($,"shape",()=>{return Y.shape}),jG($,"ZodObject",{keyof(){return W1(Object.keys(this._zod.def.shape))},catchall(U){return this.clone({...this._zod.def,catchall:U})},passthrough(){return this.clone({...this._zod.def,catchall:a0()})},loose(){return this.clone({...this._zod.def,catchall:a0()})},strict(){return this.clone({...this._zod.def,catchall:NL()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(U){return y0.extend(this,U)},safeExtend(U){return y0.safeExtend(this,U)},merge(U){return y0.merge(this,U)},pick(U){return y0.pick(this,U)},omit(U){return y0.omit(this,U)},partial(...U){return y0.partial(AL,this,U[0])},required(...U){return y0.required(BL,this,U[0])}})});_G=H0("ZodUnion",($,Y)=>{GG.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>pV($,U,z,Q),$.options=Y.options});Mv=H0("ZodXor",($,Y)=>{_G.init($,Y),oE.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>pV($,U,z,Q),$.options=Y.options});Ov=H0("ZodDiscriminatedUnion",($,Y)=>{_G.init($,Y),rE.init($,Y)});Nv=H0("ZodIntersection",($,Y)=>{sE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>S_($,U,z,Q)});Dv=H0("ZodTuple",($,Y)=>{VV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>g_($,U,z,Q),$.rest=(U)=>$.clone({...$._zod.def,rest:U})});WQ=H0("ZodRecord",($,Y)=>{aE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>y_($,U,z,Q),$.keyType=Y.keyType,$.valueType=Y.valueType});Bv=H0("ZodMap",($,Y)=>{tE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>R_($,U,z,Q),$.keyType=Y.keyType,$.valueType=Y.valueType,$.min=(...U)=>$.check(c5(...U)),$.nonempty=(U)=>$.check(c5(1,U)),$.max=(...U)=>$.check(X7(...U)),$.size=(...U)=>$.check(CY(...U))});Pv=H0("ZodSet",($,Y)=>{eE.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>__($,U,z,Q),$.min=(...U)=>$.check(c5(...U)),$.nonempty=(U)=>$.check(c5(1,U)),$.max=(...U)=>$.check(X7(...U)),$.size=(...U)=>$.check(CY(...U))});XQ=H0("ZodEnum",($,Y)=>{$C.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(z,Q,J)=>N_($,z,Q,J),$.enum=Y.entries,$.options=Object.values(Y.entries);let U=new Set(Object.keys(Y.entries));$.extract=(z,Q)=>{let J={};for(let I of z)if(U.has(I))J[I]=Y.entries[I];else throw Error(`Key ${I} not found in enum`);return new XQ({...Y,checks:[],...y0.normalizeParams(Q),entries:J})},$.exclude=(z,Q)=>{let J={...Y.entries};for(let I of z)if(U.has(I))delete J[I];else throw Error(`Key ${I} not found in enum`);return new XQ({...Y,checks:[],...y0.normalizeParams(Q),entries:J})}});Tv=H0("ZodLiteral",($,Y)=>{YC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>D_($,U,z,Q),$.values=new Set(Y.values),Object.defineProperty($,"value",{get(){if(Y.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return Y.values[0]}})});jv=H0("ZodFile",($,Y)=>{UC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>P_($,U,z,Q),$.min=(U,z)=>$.check(c5(U,z)),$.max=(U,z)=>$.check(X7(U,z)),$.mime=(U,z)=>$.check(UQ(Array.isArray(U)?U:[U],z))});Ev=H0("ZodTransform",($,Y)=>{zC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>C_($,U,z,Q),$._zod.parse=(U,z)=>{if(z.direction==="backward")throw new BY($.constructor.name);U.addIssue=(J)=>{if(typeof J==="string")U.issues.push(y0.issue(J,U.value,Y));else{let I=J;if(I.fatal)I.continue=!1;I.code??(I.code="custom"),I.input??(I.input=U.value),I.inst??(I.inst=$),U.issues.push(y0.issue(I))}};let Q=Y.transform(U.value,U);if(Q instanceof Promise)return Q.then((J)=>{return U.value=J,U.fallback=!0,U});return U.value=Q,U.fallback=!0,U}});AL=H0("ZodOptional",($,Y)=>{LV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>dV($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});Cv=H0("ZodExactOptional",($,Y)=>{QC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>dV($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});_v=H0("ZodNullable",($,Y)=>{JC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>k_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});vv=H0("ZodDefault",($,Y)=>{IC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>f_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType,$.removeDefault=$.unwrap});Sv=H0("ZodPrefault",($,Y)=>{KC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>u_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});BL=H0("ZodNonOptional",($,Y)=>{GC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>x_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});kv=H0("ZodSuccess",($,Y)=>{HC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>T_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});xv=H0("ZodCatch",($,Y)=>{WC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>b_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType,$.removeCatch=$.unwrap});uv=H0("ZodNaN",($,Y)=>{XC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>A_($,U,z,Q)});vG=H0("ZodPipe",($,Y)=>{FV.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>i_($,U,z,Q),$.in=Y.in,$.out=Y.out});hG=H0("ZodCodec",($,Y)=>{vG.init($,Y),HG.init($,Y)});bv=H0("ZodPreprocess",($,Y)=>{vG.init($,Y),ZC.init($,Y)}),iv=H0("ZodReadonly",($,Y)=>{qC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>c_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});nv=H0("ZodTemplateLiteral",($,Y)=>{VC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>B_($,U,z,Q)});pv=H0("ZodLazy",($,Y)=>{wC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>p_($,U,z,Q),$.unwrap=()=>$._zod.def.getter()});dv=H0("ZodPromise",($,Y)=>{FC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>n_($,U,z,Q),$.unwrap=()=>$._zod.def.innerType});mv=H0("ZodFunction",($,Y)=>{LC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>E_($,U,z,Q)});SG=H0("ZodCustom",($,Y)=>{MC.init($,Y),w1.init($,Y),$._zod.processJSONSchema=(U,z,Q)=>j_($,U,z,Q)});va=Q_,ha=J_});function zf0($){a4({customError:$})}function Qf0(){return a4().customError}var sv,rv;var ka=m(()=>{z$();sv={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};(function($){})(rv||(rv={}))});function If0($,Y){let U=$.$schema;if(U==="https://json-schema.org/draft/2020-12/schema")return"draft-2020-12";if(U==="http://json-schema.org/draft-07/schema#")return"draft-7";if(U==="http://json-schema.org/draft-04/schema#")return"draft-4";return Y??"draft-2020-12"}function Kf0($,Y){if(!$.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let U=$.slice(1).split("/").filter(Boolean);if(U.length===0)return Y.rootSchema;let z=Y.version==="draft-2020-12"?"$defs":"definitions";if(U[0]===z){let Q=U[1];if(!Q||!Y.defs[Q])throw Error(`Reference not found: ${$}`);return Y.defs[Q]}throw Error(`Reference not found: ${$}`)}function xa($,Y){if($.not!==void 0){if(typeof $.not==="object"&&Object.keys($.not).length===0)return l0.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if($.unevaluatedItems!==void 0)throw Error("unevaluatedItems is not supported");if($.unevaluatedProperties!==void 0)throw Error("unevaluatedProperties is not supported");if($.if!==void 0||$.then!==void 0||$.else!==void 0)throw Error("Conditional schemas (if/then/else) are not supported");if($.dependentSchemas!==void 0||$.dependentRequired!==void 0)throw Error("dependentSchemas and dependentRequired are not supported");if($.$ref){let Q=$.$ref;if(Y.refs.has(Q))return Y.refs.get(Q);if(Y.processing.has(Q))return l0.lazy(()=>{if(!Y.refs.has(Q))throw Error(`Circular reference not resolved: ${Q}`);return Y.refs.get(Q)});Y.processing.add(Q);let J=Kf0(Q,Y),I=K8(J,Y);return Y.refs.set(Q,I),Y.processing.delete(Q),I}if($.enum!==void 0){let Q=$.enum;if(Y.version==="openapi-3.0"&&$.nullable===!0&&Q.length===1&&Q[0]===null)return l0.null();if(Q.length===0)return l0.never();if(Q.length===1)return l0.literal(Q[0]);if(Q.every((I)=>typeof I==="string"))return l0.enum(Q);let J=Q.map((I)=>l0.literal(I));if(J.length<2)return J[0];return l0.union([J[0],J[1],...J.slice(2)])}if($.const!==void 0)return l0.literal($.const);let U=$.type;if(Array.isArray(U)){let Q=U.map((J)=>{let I={...$,type:J};return xa(I,Y)});if(Q.length===0)return l0.never();if(Q.length===1)return Q[0];return l0.union(Q)}if(!U)return l0.any();let z;switch(U){case"string":{let Q=l0.string();if($.format){let J=$.format;if(J==="email")Q=Q.check(l0.email());else if(J==="uri"||J==="uri-reference")Q=Q.check(l0.url());else if(J==="uuid"||J==="guid")Q=Q.check(l0.uuid());else if(J==="date-time")Q=Q.check(l0.iso.datetime());else if(J==="date")Q=Q.check(l0.iso.date());else if(J==="time")Q=Q.check(l0.iso.time());else if(J==="duration")Q=Q.check(l0.iso.duration());else if(J==="ipv4")Q=Q.check(l0.ipv4());else if(J==="ipv6")Q=Q.check(l0.ipv6());else if(J==="mac")Q=Q.check(l0.mac());else if(J==="cidr")Q=Q.check(l0.cidrv4());else if(J==="cidr-v6")Q=Q.check(l0.cidrv6());else if(J==="base64")Q=Q.check(l0.base64());else if(J==="base64url")Q=Q.check(l0.base64url());else if(J==="e164")Q=Q.check(l0.e164());else if(J==="jwt")Q=Q.check(l0.jwt());else if(J==="emoji")Q=Q.check(l0.emoji());else if(J==="nanoid")Q=Q.check(l0.nanoid());else if(J==="cuid")Q=Q.check(l0.cuid());else if(J==="cuid2")Q=Q.check(l0.cuid2());else if(J==="ulid")Q=Q.check(l0.ulid());else if(J==="xid")Q=Q.check(l0.xid());else if(J==="ksuid")Q=Q.check(l0.ksuid())}if(typeof $.minLength==="number")Q=Q.min($.minLength);if(typeof $.maxLength==="number")Q=Q.max($.maxLength);if($.pattern)Q=Q.regex(new RegExp($.pattern));z=Q;break}case"number":case"integer":{let Q=U==="integer"?l0.number().int():l0.number();if(typeof $.minimum==="number")Q=Q.min($.minimum);if(typeof $.maximum==="number")Q=Q.max($.maximum);if(typeof $.exclusiveMinimum==="number")Q=Q.gt($.exclusiveMinimum);else if($.exclusiveMinimum===!0&&typeof $.minimum==="number")Q=Q.gt($.minimum);if(typeof $.exclusiveMaximum==="number")Q=Q.lt($.exclusiveMaximum);else if($.exclusiveMaximum===!0&&typeof $.maximum==="number")Q=Q.lt($.maximum);if(typeof $.multipleOf==="number")Q=Q.multipleOf($.multipleOf);z=Q;break}case"boolean":{z=l0.boolean();break}case"null":{z=l0.null();break}case"object":{let Q={},J=$.properties||{},I=new Set($.required||[]);for(let[G,H]of Object.entries(J)){let W=K8(H,Y);Q[G]=I.has(G)?W:W.optional()}if($.propertyNames){let G=K8($.propertyNames,Y),H=$.additionalProperties&&typeof $.additionalProperties==="object"?K8($.additionalProperties,Y):l0.any();if(Object.keys(Q).length===0){z=l0.record(G,H);break}let W=l0.object(Q).passthrough(),X=l0.looseRecord(G,H);z=l0.intersection(W,X);break}if($.patternProperties){let G=$.patternProperties,H=Object.keys(G),W=[];for(let Z of H){let q=K8(G[Z],Y),V=l0.string().regex(new RegExp(Z));W.push(l0.looseRecord(V,q))}let X=[];if(Object.keys(Q).length>0)X.push(l0.object(Q).passthrough());if(X.push(...W),X.length===0)z=l0.object({}).passthrough();else if(X.length===1)z=X[0];else{let Z=l0.intersection(X[0],X[1]);for(let q=2;qK8(G,Y)),K=J&&typeof J==="object"&&!Array.isArray(J)?K8(J,Y):void 0;if(K)z=l0.tuple(I).rest(K);else z=l0.tuple(I);if(typeof $.minItems==="number")z=z.check(l0.minLength($.minItems));if(typeof $.maxItems==="number")z=z.check(l0.maxLength($.maxItems))}else if(Array.isArray(J)){let I=J.map((G)=>K8(G,Y)),K=$.additionalItems&&typeof $.additionalItems==="object"?K8($.additionalItems,Y):void 0;if(K)z=l0.tuple(I).rest(K);else z=l0.tuple(I);if(typeof $.minItems==="number")z=z.check(l0.minLength($.minItems));if(typeof $.maxItems==="number")z=z.check(l0.maxLength($.maxItems))}else if(J!==void 0){let I=K8(J,Y),K=l0.array(I);if(typeof $.minItems==="number")K=K.min($.minItems);if(typeof $.maxItems==="number")K=K.max($.maxItems);z=K}else z=l0.array(l0.any());break}default:throw Error(`Unsupported type: ${U}`)}return z}function K8($,Y){if(typeof $==="boolean")return $?l0.any():l0.never();let U=xa($,Y),z=$.type||$.enum!==void 0||$.const!==void 0;if($.anyOf&&Array.isArray($.anyOf)){let K=$.anyOf.map((H)=>K8(H,Y)),G=l0.union(K);U=z?l0.intersection(U,G):G}if($.oneOf&&Array.isArray($.oneOf)){let K=$.oneOf.map((H)=>K8(H,Y)),G=l0.xor(K);U=z?l0.intersection(U,G):G}if($.allOf&&Array.isArray($.allOf))if($.allOf.length===0)U=z?U:l0.any();else{let K=z?U:K8($.allOf[0],Y),G=z?0:1;for(let H=G;H<$.allOf.length;H++)K=l0.intersection(K,K8($.allOf[H],Y));U=K}if($.nullable===!0&&Y.version==="openapi-3.0")U=l0.nullable(U);if($.readOnly===!0)U=l0.readonly(U);if($.default!==void 0)U=U.default($.default);let Q={},J=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let K of J)if(K in $)Q[K]=$[K];let I=["contentEncoding","contentMediaType","contentSchema"];for(let K of I)if(K in $)Q[K]=$[K];for(let K of Object.keys($))if(!Jf0.has(K))Q[K]=$[K];if(Object.keys(Q).length>0)Y.registry.add(U,Q);if($.description)U=U.describe($.description);return U}function fa($,Y){if(typeof $==="boolean")return $?l0.any():l0.never();let U;try{U=JSON.parse(JSON.stringify($))}catch{throw Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let z=If0(U,Y?.defaultTarget),Q=U.$defs||U.definitions||{},J={version:z,defs:Q,refs:new Map,processing:new Set,rootSchema:U,registry:Y?.registry??n6};return K8(U,J)}var l0,Jf0;var ua=m(()=>{LG();lV();NG();AG();l0={...DG,...mV,iso:Q$},Jf0=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"])});var gG={};x8(gG,{string:()=>Gf0,number:()=>Hf0,date:()=>Zf0,boolean:()=>Wf0,bigint:()=>Xf0});function Gf0($){return BR(ZQ,$)}function Hf0($){return vR(LQ,$)}function Wf0($){return fR(FQ,$)}function Xf0($){return bR(wQ,$)}function Zf0($){return aR(CG,$)}var ba=m(()=>{z$();AG()});var L={};x8(L,{xor:()=>Va,xid:()=>bs,void:()=>Wa,uuidv7:()=>Ss,uuidv6:()=>hs,uuidv4:()=>vs,uuid:()=>_s,util:()=>y0,url:()=>qQ,uppercase:()=>tz,unknown:()=>a0,union:()=>o0,undefined:()=>Ha,ulid:()=>us,uint64:()=>Ka,uint32:()=>Qa,tuple:()=>Av,trim:()=>QQ,treeifyError:()=>Gj,transform:()=>DL,toUpperCase:()=>IQ,toLowerCase:()=>JQ,toJSONSchema:()=>vY,templateLiteral:()=>ja,symbol:()=>Ga,superRefine:()=>ov,success:()=>Aa,stringbool:()=>ga,stringFormat:()=>as,string:()=>R,strictObject:()=>qa,startsWith:()=>$Q,slugify:()=>KQ,size:()=>CY,setErrorMap:()=>zf0,set:()=>Ma,safeParseAsync:()=>e_,safeParse:()=>BG,safeEncodeAsync:()=>Iv,safeEncode:()=>Qv,safeDecodeAsync:()=>Kv,safeDecode:()=>Jv,registry:()=>wV,regexes:()=>Y$,regex:()=>sz,refine:()=>lv,record:()=>p0,readonly:()=>cv,property:()=>cV,promise:()=>Ea,prettifyError:()=>Hj,preprocess:()=>d9,prefault:()=>gv,positive:()=>fV,pipe:()=>eV,partialRecord:()=>La,parseAsync:()=>t_,parse:()=>a_,overwrite:()=>Y5,optional:()=>t0,object:()=>U0,number:()=>_0,nullish:()=>Da,nullable:()=>TG,null:()=>p5,normalize:()=>zQ,nonpositive:()=>bV,nonoptional:()=>yv,nonnegative:()=>iV,never:()=>NL,negative:()=>uV,nativeEnum:()=>Oa,nanoid:()=>ks,nan:()=>Ba,multipleOf:()=>W7,minSize:()=>c5,minLength:()=>n9,mime:()=>UQ,meta:()=>ha,maxSize:()=>X7,maxLength:()=>RY,map:()=>wa,mac:()=>ns,lte:()=>U$,lt:()=>b5,lowercase:()=>az,looseRecord:()=>Fa,looseObject:()=>Q1,locales:()=>VG,literal:()=>L0,length:()=>_Y,lazy:()=>F7,ksuid:()=>is,keyof:()=>Za,jwt:()=>ss,json:()=>ya,iso:()=>Q$,ipv6:()=>ps,ipv4:()=>cs,invertCodec:()=>Ta,intersection:()=>U5,int64:()=>Ia,int32:()=>za,int:()=>tV,instanceof:()=>Sa,includes:()=>ez,httpUrl:()=>gs,hostname:()=>ts,hex:()=>es,hash:()=>$a,guid:()=>Rs,gte:()=>B8,gt:()=>i5,globalRegistry:()=>n6,getErrorMap:()=>Qf0,function:()=>Ca,fromJSONSchema:()=>fa,formatError:()=>zG,float64:()=>Ua,float32:()=>Ya,flattenError:()=>UG,file:()=>Na,exactOptional:()=>Rv,enum:()=>W1,endsWith:()=>YQ,encodeAsync:()=>Uv,encode:()=>$v,emoji:()=>ys,email:()=>UL,e164:()=>rs,discriminatedUnion:()=>L7,describe:()=>va,decodeAsync:()=>zv,decode:()=>Yv,date:()=>Xa,custom:()=>_a,cuid2:()=>fs,cuid:()=>xs,core:()=>p9,config:()=>a4,coerce:()=>gG,codec:()=>Pa,clone:()=>D8,cidrv6:()=>ms,cidrv4:()=>ds,check:()=>Ra,catch:()=>fv,boolean:()=>m0,bigint:()=>Ja,base64url:()=>os,base64:()=>ls,array:()=>V0,any:()=>OL,_function:()=>Ca,_default:()=>hv,_ZodString:()=>$L,ZodXor:()=>Mv,ZodXID:()=>GL,ZodVoid:()=>Fv,ZodUnknown:()=>Vv,ZodUnion:()=>_G,ZodUndefined:()=>Xv,ZodUUID:()=>n5,ZodURL:()=>EG,ZodULID:()=>KL,ZodType:()=>w1,ZodTuple:()=>Dv,ZodTransform:()=>Ev,ZodTemplateLiteral:()=>nv,ZodSymbol:()=>Wv,ZodSuccess:()=>kv,ZodStringFormat:()=>q4,ZodString:()=>ZQ,ZodSet:()=>Pv,ZodRecord:()=>WQ,ZodRealError:()=>b8,ZodReadonly:()=>iv,ZodPromise:()=>dv,ZodPreprocess:()=>bv,ZodPrefault:()=>Sv,ZodPipe:()=>vG,ZodOptional:()=>AL,ZodObject:()=>RG,ZodNumberFormat:()=>hY,ZodNumber:()=>LQ,ZodNullable:()=>_v,ZodNull:()=>Zv,ZodNonOptional:()=>BL,ZodNever:()=>Lv,ZodNanoID:()=>QL,ZodNaN:()=>uv,ZodMap:()=>Bv,ZodMAC:()=>Hv,ZodLiteral:()=>Tv,ZodLazy:()=>pv,ZodKSUID:()=>HL,ZodJWT:()=>wL,ZodIssueCode:()=>sv,ZodIntersection:()=>Nv,ZodISOTime:()=>sV,ZodISODuration:()=>aV,ZodISODateTime:()=>oV,ZodISODate:()=>rV,ZodIPv6:()=>XL,ZodIPv4:()=>WL,ZodGUID:()=>PG,ZodFunction:()=>mv,ZodFirstPartyTypeKind:()=>rv,ZodFile:()=>jv,ZodExactOptional:()=>Cv,ZodError:()=>Yf0,ZodEnum:()=>XQ,ZodEmoji:()=>zL,ZodEmail:()=>YL,ZodE164:()=>FL,ZodDiscriminatedUnion:()=>Ov,ZodDefault:()=>vv,ZodDate:()=>CG,ZodCustomStringFormat:()=>VQ,ZodCustom:()=>SG,ZodCodec:()=>hG,ZodCatch:()=>xv,ZodCUID2:()=>IL,ZodCUID:()=>JL,ZodCIDRv6:()=>qL,ZodCIDRv4:()=>ZL,ZodBoolean:()=>FQ,ZodBigIntFormat:()=>ML,ZodBigInt:()=>wQ,ZodBase64URL:()=>LL,ZodBase64:()=>VL,ZodArray:()=>wv,ZodAny:()=>qv,TimePrecision:()=>TR,NEVER:()=>oK,$output:()=>OR,$input:()=>NR,$brand:()=>aT});var PL=m(()=>{z$();z$();RC();z$();OG();ua();MR();NG();NG();ba();AG();lV();s_();Gv();ka();a4(WG())});var ia=m(()=>{PL()});var av=m(()=>{ia()});var gY="2025-11-25",TL,jL="io.modelcontextprotocol/related-task",l9="io.modelcontextprotocol/protocolVersion",MQ="io.modelcontextprotocol/clientInfo",d5="io.modelcontextprotocol/serverInfo",o9="io.modelcontextprotocol/clientCapabilities",yY="io.modelcontextprotocol/subscriptionId",M7="io.modelcontextprotocol/logLevel",kY="2.0",w7,t4,ev,yG,kG,EL,CL,xG,S6,xY,e4,G8,H8,fG,$6,O7,uG,bG,OQ,NQ,iG,$h,cG,RL,nG,_L,N7,m9,DQ,qf0,Vf0,vL,hL,SL,gL,yL,pG,kL,xL,fL,uL,dG,bL,iL,mG,cL,D7,A7,lG,oG,Yh,rG,B7,r9,sG,nL,pL,dL,mL,lL,AQ,oL,rL,sL,aL,tL,eL,$F,YF,aG,UF,zF,QF,JF,IF,KF,GF,HF,WF,XF,ZF,qF,VF,LF,BQ,PQ,TQ,FF,wF,MF,jQ,OF,NF,DF,AF,BF,tG,PF,TF,eG,Uh,jF,EF,CF,zh,P7,RF,_F,vF,hF,SF,gF,yF,kF,xF,SY,fF,uF,bF,iF,cF,$H,EQ,CQ,YH,UH,zH,nF,QH,JH,pF,dF,IH,RQ,mF,lF,oF,rF,sF,aF,tF,eF,$w,Yw,Uw,zw,Qw,Jw,Iw,Qh,Kw,T7,Jh,Gw,Ih,Kh,Gh,Hh,Wh,Xh,Zh,qh,Vh,Lh,Fh,wh,Mh,Oh,Nh,h6,Dh,Hw,Ww,Ah,Bh,Ph,Th,tv,Xw,Zw,jh,Eh,Ch;var na=m(()=>{av();TL=[gY,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],w7=F7(()=>o0([R(),_0(),m0(),p5(),p0(R(),w7),V0(w7)])),t4=p0(R(),w7),ev=V0(w7),yG=o0([R(),_0().int()]),kG=R(),EL=U0({ttl:_0().optional()}),CL=U0({taskId:R()}),xG=Q1({progressToken:yG.optional(),[jL]:CL.optional()}),S6=U0({_meta:xG.optional()}),xY=S6.extend({task:EL.optional()}),e4=U0({method:R(),params:S6.loose().optional()}),G8=U0({_meta:xG.optional()}),H8=U0({method:R(),params:G8.loose().optional()}),fG=Q1({get[d5](){return DQ.optional().catch(void 0)}}),$6=Q1({_meta:fG.optional()}),O7=o0([R(),_0().int()]),uG=U0({jsonrpc:L0(kY),id:O7,...e4.shape}).strict(),bG=U0({jsonrpc:L0(kY),...H8.shape}).strict(),OQ=U0({jsonrpc:L0(kY),id:O7,result:$6}).strict(),NQ=U0({jsonrpc:L0(kY),id:O7.optional(),error:U0({code:_0().int(),message:R(),data:a0().optional()})}).strict(),iG=o0([uG,bG,OQ,NQ]),$h=o0([OQ,NQ]),cG=$6.strict(),RL=G8.extend({requestId:O7.optional(),reason:R().optional()}),nG=H8.extend({method:L0("notifications/cancelled"),params:RL}),_L=U0({src:R(),mimeType:R().optional(),sizes:V0(R()).optional(),theme:W1(["light","dark"]).optional()}),N7=U0({icons:V0(_L).optional()}),m9=U0({name:R(),title:R().optional()}),DQ=m9.extend({...m9.shape,...N7.shape,version:R(),websiteUrl:R().optional(),description:R().optional()}),qf0=U5(U0({applyDefaults:m0().optional()}),t4),Vf0=d9(($)=>{if($&&typeof $==="object"&&!Array.isArray($)&&Object.keys($).length===0)return{form:{}};return $},U5(U0({form:qf0.optional(),url:t4.optional()}),t4.optional())),vL=Q1({list:t4.optional(),cancel:t4.optional(),requests:Q1({sampling:Q1({createMessage:t4.optional()}).optional(),elicitation:Q1({create:t4.optional()}).optional()}).optional()}),hL=Q1({list:t4.optional(),cancel:t4.optional(),requests:Q1({tools:Q1({call:t4.optional()}).optional()}).optional()}),SL=U0({experimental:p0(R(),t4).optional(),sampling:U0({context:t4.optional(),tools:t4.optional()}).optional(),elicitation:Vf0.optional(),roots:U0({listChanged:m0().optional()}).optional(),tasks:vL.optional(),extensions:p0(R(),t4).optional()}),gL=S6.extend({protocolVersion:R(),capabilities:SL,clientInfo:DQ}),yL=e4.extend({method:L0("initialize"),params:gL}),pG=U0({experimental:p0(R(),t4).optional(),logging:t4.optional(),completions:t4.optional(),prompts:U0({listChanged:m0().optional()}).optional(),resources:U0({subscribe:m0().optional(),listChanged:m0().optional()}).optional(),tools:U0({listChanged:m0().optional()}).optional(),tasks:hL.optional(),extensions:p0(R(),t4).optional()}),kL=$6.extend({protocolVersion:R(),capabilities:pG,serverInfo:DQ,instructions:R().optional()}),xL=H8.extend({method:L0("notifications/initialized"),params:G8.optional()}),fL=e4.extend({method:L0("server/discover"),params:S6.optional()}),uL=$6.extend({supportedVersions:V0(R()),capabilities:pG,instructions:R().optional()}),dG=e4.extend({method:L0("ping"),params:S6.optional()}),bL=U0({progress:_0(),total:t0(_0()),message:t0(R())}),iL=U0({...G8.shape,...bL.shape,progressToken:yG}),mG=H8.extend({method:L0("notifications/progress"),params:iL}),cL=S6.extend({cursor:kG.optional()}),D7=e4.extend({params:cL.optional()}),A7=$6.extend({nextCursor:kG.optional()}),lG=U0({uri:R(),mimeType:t0(R()),_meta:p0(R(),a0()).optional()}),oG=lG.extend({text:R()}),Yh=R().refine(($)=>{try{return atob($),!0}catch{return!1}},{message:"Invalid Base64 string"}),rG=lG.extend({blob:Yh}),B7=W1(["user","assistant"]),r9=U0({audience:V0(B7).optional(),priority:_0().min(0).max(1).optional(),lastModified:Q$.datetime({offset:!0}).optional()}),sG=U0({...m9.shape,...N7.shape,uri:R(),description:t0(R()),mimeType:t0(R()),size:t0(_0()),annotations:r9.optional(),_meta:t0(Q1({}))}),nL=U0({...m9.shape,...N7.shape,uriTemplate:R(),description:t0(R()),mimeType:t0(R()),annotations:r9.optional(),_meta:t0(Q1({}))}),pL=D7.extend({method:L0("resources/list")}),dL=A7.extend({resources:V0(sG)}),mL=D7.extend({method:L0("resources/templates/list")}),lL=A7.extend({resourceTemplates:V0(nL)}),AQ=S6.extend({uri:R()}),oL=AQ,rL=e4.extend({method:L0("resources/read"),params:oL}),sL=$6.extend({contents:V0(o0([oG,rG]))}),aL=H8.extend({method:L0("notifications/resources/list_changed"),params:G8.optional()}),tL=AQ,eL=e4.extend({method:L0("resources/subscribe"),params:tL}),$F=AQ,YF=e4.extend({method:L0("resources/unsubscribe"),params:$F}),aG=U0({toolsListChanged:m0().optional(),promptsListChanged:m0().optional(),resourcesListChanged:m0().optional(),resourceSubscriptions:V0(R()).optional()}),UF=S6.extend({notifications:aG}),zF=e4.extend({method:L0("subscriptions/listen"),params:UF}),QF=G8.extend({notifications:aG}),JF=H8.extend({method:L0("notifications/subscriptions/acknowledged"),params:QF}),IF=fG.extend({[yY]:O7}),KF=$6.extend({_meta:IF}),GF=G8.extend({uri:R()}),HF=H8.extend({method:L0("notifications/resources/updated"),params:GF}),WF=U0({name:R(),description:t0(R()),required:t0(m0())}),XF=U0({...m9.shape,...N7.shape,description:t0(R()),arguments:t0(V0(WF)),_meta:t0(Q1({}))}),ZF=D7.extend({method:L0("prompts/list")}),qF=A7.extend({prompts:V0(XF)}),VF=S6.extend({name:R(),arguments:p0(R(),R()).optional()}),LF=e4.extend({method:L0("prompts/get"),params:VF}),BQ=U0({type:L0("text"),text:R(),annotations:r9.optional(),_meta:p0(R(),a0()).optional()}),PQ=U0({type:L0("image"),data:Yh,mimeType:R(),annotations:r9.optional(),_meta:p0(R(),a0()).optional()}),TQ=U0({type:L0("audio"),data:Yh,mimeType:R(),annotations:r9.optional(),_meta:p0(R(),a0()).optional()}),FF=U0({type:L0("tool_use"),name:R(),id:R(),input:p0(R(),a0()),_meta:p0(R(),a0()).optional()}),wF=U0({type:L0("resource"),resource:o0([oG,rG]),annotations:r9.optional(),_meta:p0(R(),a0()).optional()}),MF=sG.extend({type:L0("resource_link")}),jQ=o0([BQ,PQ,TQ,MF,wF]),OF=U0({role:B7,content:jQ}),NF=$6.extend({description:R().optional(),messages:V0(OF)}),DF=H8.extend({method:L0("notifications/prompts/list_changed"),params:G8.optional()}),AF=U0({title:R().optional(),readOnlyHint:m0().optional(),destructiveHint:m0().optional(),idempotentHint:m0().optional(),openWorldHint:m0().optional()}),BF=U0({taskSupport:W1(["required","optional","forbidden"]).optional()}),tG=U0({...m9.shape,...N7.shape,description:R().optional(),inputSchema:U0({type:L0("object"),properties:p0(R(),w7).optional(),required:V0(R()).optional()}).catchall(a0()),outputSchema:Q1({$schema:R().optional()}).optional(),annotations:AF.optional(),execution:BF.optional(),_meta:p0(R(),a0()).optional()}),PF=D7.extend({method:L0("tools/list")}),TF=A7.extend({tools:V0(tG)}),eG=$6.extend({content:V0(jQ).default([]),structuredContent:a0().optional(),isError:m0().optional()}),Uh=eG.or($6.extend({toolResult:a0()})),jF=xY.extend({name:R(),arguments:p0(R(),a0()).optional()}),EF=e4.extend({method:L0("tools/call"),params:jF}),CF=H8.extend({method:L0("notifications/tools/list_changed"),params:G8.optional()}),zh=U0({autoRefresh:m0().default(!0),debounceMs:_0().int().nonnegative().default(300)}),P7=W1(["debug","info","notice","warning","error","critical","alert","emergency"]),RF=S6.extend({level:P7}),_F=e4.extend({method:L0("logging/setLevel"),params:RF}),vF=G8.extend({level:P7,logger:R().optional(),data:a0()}),hF=H8.extend({method:L0("notifications/message"),params:vF}),SF=U0({name:R().optional()}),gF=U0({hints:V0(SF).optional(),costPriority:_0().min(0).max(1).optional(),speedPriority:_0().min(0).max(1).optional(),intelligencePriority:_0().min(0).max(1).optional()}),yF=U0({mode:W1(["auto","required","none"]).optional()}),kF=U0({type:L0("tool_result"),toolUseId:R().describe("The unique identifier for the corresponding tool call."),content:V0(jQ),structuredContent:a0().optional(),isError:m0().optional(),_meta:p0(R(),a0()).optional()}),xF=L7("type",[BQ,PQ,TQ]),SY=L7("type",[BQ,PQ,TQ,FF,kF]),fF=U0({role:B7,content:o0([SY,V0(SY)]),_meta:p0(R(),a0()).optional()}),uF=xY.extend({messages:V0(fF),modelPreferences:gF.optional(),systemPrompt:R().optional(),includeContext:W1(["none","thisServer","allServers"]).optional(),temperature:_0().optional(),maxTokens:_0().int(),stopSequences:V0(R()).optional(),metadata:t4.optional(),tools:V0(tG).optional(),toolChoice:yF.optional()}),bF=e4.extend({method:L0("sampling/createMessage"),params:uF}),iF=$6.extend({model:R(),stopReason:t0(W1(["endTurn","stopSequence","maxTokens"]).or(R())),role:B7,content:xF}),cF=$6.extend({model:R(),stopReason:t0(W1(["endTurn","stopSequence","maxTokens","toolUse"]).or(R())),role:B7,content:o0([SY,V0(SY)])}),$H=U0({type:L0("boolean"),title:R().optional(),description:R().optional(),default:m0().optional()}),EQ=U0({type:L0("string"),title:R().optional(),description:R().optional(),minLength:_0().optional(),maxLength:_0().optional(),format:W1(["email","uri","date","date-time"]).optional(),default:R().optional()}),CQ=U0({type:W1(["number","integer"]),title:R().optional(),description:R().optional(),minimum:_0().optional(),maximum:_0().optional(),default:_0().optional()}),YH=U0({type:L0("string"),title:R().optional(),description:R().optional(),enum:V0(R()),default:R().optional()}),UH=U0({type:L0("string"),title:R().optional(),description:R().optional(),oneOf:V0(U0({const:R(),title:R()})),default:R().optional()}),zH=U0({type:L0("string"),title:R().optional(),description:R().optional(),enum:V0(R()),enumNames:V0(R()).optional(),default:R().optional()}),nF=o0([YH,UH]),QH=U0({type:L0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:U0({type:L0("string"),enum:V0(R())}),default:V0(R()).optional()}),JH=U0({type:L0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:U0({anyOf:V0(U0({const:R(),title:R()}))}),default:V0(R()).optional()}),pF=o0([QH,JH]),dF=o0([zH,nF,pF]),IH=o0([dF,$H,EQ,CQ]),RQ=xY.extend({mode:L0("form").optional(),message:R(),requestedSchema:U0({type:L0("object"),properties:p0(R(),IH),required:V0(R()).optional()}).catchall(a0())}),mF=xY.extend({mode:L0("url"),message:R(),elicitationId:R(),url:R().url()}),lF=o0([RQ,mF]),oF=e4.extend({method:L0("elicitation/create"),params:lF}),rF=G8.extend({elicitationId:R()}),sF=H8.extend({method:L0("notifications/elicitation/complete"),params:rF}),aF=$6.extend({action:W1(["accept","decline","cancel"]),content:d9(($)=>$===null?void 0:$,p0(R(),o0([R(),_0(),m0(),V0(R())])).optional())}),tF=U0({type:L0("ref/resource"),uri:R()}),eF=U0({type:L0("ref/prompt"),name:R()}),$w=S6.extend({ref:o0([eF,tF]),argument:U0({name:R(),value:R()}),context:U0({arguments:p0(R(),R()).optional()}).optional()}),Yw=e4.extend({method:L0("completion/complete"),params:$w}),Uw=$6.extend({completion:Q1({values:V0(R()).max(100),total:t0(_0().int()),hasMore:t0(m0())})}),zw=U0({uri:R().startsWith("file://"),name:R().optional(),_meta:p0(R(),a0()).optional()}),Qw=e4.extend({method:L0("roots/list"),params:S6.optional()}),Jw=$6.extend({roots:V0(zw)}),Iw=H8.extend({method:L0("notifications/roots/list_changed"),params:G8.optional()}),Qh=Q1({ttl:_0().optional(),pollInterval:_0().optional()}),Kw=W1(["working","input_required","completed","failed","cancelled"]),T7=U0({taskId:R(),status:Kw,ttl:o0([_0(),p5()]),createdAt:R(),lastUpdatedAt:R(),pollInterval:t0(_0()),statusMessage:t0(R())}),Jh=$6.extend({task:T7}),Gw=G8.merge(T7),Ih=H8.extend({method:L0("notifications/tasks/status"),params:Gw}),Kh=e4.extend({method:L0("tasks/get"),params:S6.extend({taskId:R()})}),Gh=$6.merge(T7),Hh=e4.extend({method:L0("tasks/result"),params:S6.extend({taskId:R()})}),Wh=$6.loose(),Xh=D7.extend({method:L0("tasks/list")}),Zh=A7.extend({tasks:V0(T7)}),qh=e4.extend({method:L0("tasks/cancel"),params:S6.extend({taskId:R()})}),Vh=$6.merge(T7),Lh=o0([dG,yL,fL,Yw,_F,LF,ZF,pL,mL,rL,eL,YF,zF,EF,PF]),Fh=o0([nG,mG,xL,Iw]),wh=o0([cG,iF,cF,aF,Jw]),Mh=o0([dG,bF,oF,Qw]),Oh=o0([nG,mG,hF,HF,aL,CF,DF,JF,sF]),Nh=o0([cG,kL,uL,Uw,NF,qF,dL,lL,sL,eG,TF,KF]),h6=qQ().superRefine(($,Y)=>{if(!URL.canParse($))return Y.addIssue({code:sv.custom,message:"URL must be parseable",fatal:!0}),oK}).refine(($)=>{let Y=new URL($);return Y.protocol!=="javascript:"&&Y.protocol!=="data:"&&Y.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),Dh=Q1({resource:R().url(),authorization_servers:V0(h6).optional(),jwks_uri:R().url().optional(),scopes_supported:V0(R()).optional(),bearer_methods_supported:V0(R()).optional(),resource_signing_alg_values_supported:V0(R()).optional(),resource_name:R().optional(),resource_documentation:R().optional(),resource_policy_uri:R().url().optional(),resource_tos_uri:R().url().optional(),tls_client_certificate_bound_access_tokens:m0().optional(),authorization_details_types_supported:V0(R()).optional(),dpop_signing_alg_values_supported:V0(R()).optional(),dpop_bound_access_tokens_required:m0().optional()}),Hw=Q1({issuer:R(),authorization_endpoint:h6,token_endpoint:h6,registration_endpoint:h6.optional(),scopes_supported:V0(R()).optional(),response_types_supported:V0(R()),response_modes_supported:V0(R()).optional(),grant_types_supported:V0(R()).optional(),token_endpoint_auth_methods_supported:V0(R()).optional(),token_endpoint_auth_signing_alg_values_supported:V0(R()).optional(),service_documentation:h6.optional(),revocation_endpoint:h6.optional(),revocation_endpoint_auth_methods_supported:V0(R()).optional(),revocation_endpoint_auth_signing_alg_values_supported:V0(R()).optional(),introspection_endpoint:R().optional(),introspection_endpoint_auth_methods_supported:V0(R()).optional(),introspection_endpoint_auth_signing_alg_values_supported:V0(R()).optional(),code_challenge_methods_supported:V0(R()).optional(),client_id_metadata_document_supported:m0().optional(),authorization_response_iss_parameter_supported:m0().optional().catch(void 0)}),Ww=Q1({issuer:R(),authorization_endpoint:h6,token_endpoint:h6,userinfo_endpoint:h6.optional(),jwks_uri:h6,registration_endpoint:h6.optional(),scopes_supported:V0(R()).optional(),response_types_supported:V0(R()),response_modes_supported:V0(R()).optional(),grant_types_supported:V0(R()).optional(),acr_values_supported:V0(R()).optional(),subject_types_supported:V0(R()),id_token_signing_alg_values_supported:V0(R()),id_token_encryption_alg_values_supported:V0(R()).optional(),id_token_encryption_enc_values_supported:V0(R()).optional(),userinfo_signing_alg_values_supported:V0(R()).optional(),userinfo_encryption_alg_values_supported:V0(R()).optional(),userinfo_encryption_enc_values_supported:V0(R()).optional(),request_object_signing_alg_values_supported:V0(R()).optional(),request_object_encryption_alg_values_supported:V0(R()).optional(),request_object_encryption_enc_values_supported:V0(R()).optional(),token_endpoint_auth_methods_supported:V0(R()).optional(),token_endpoint_auth_signing_alg_values_supported:V0(R()).optional(),display_values_supported:V0(R()).optional(),claim_types_supported:V0(R()).optional(),claims_supported:V0(R()).optional(),service_documentation:R().optional(),claims_locales_supported:V0(R()).optional(),ui_locales_supported:V0(R()).optional(),claims_parameter_supported:m0().optional(),request_parameter_supported:m0().optional(),request_uri_parameter_supported:m0().optional(),require_request_uri_registration:m0().optional(),op_policy_uri:h6.optional(),op_tos_uri:h6.optional(),client_id_metadata_document_supported:m0().optional(),authorization_response_iss_parameter_supported:m0().optional().catch(void 0)}),Ah=U0({...Ww.shape,...Hw.pick({code_challenge_methods_supported:!0}).shape}),Bh=U0({access_token:R(),id_token:R().optional(),token_type:R(),expires_in:gG.number().optional(),scope:R().optional(),refresh_token:R().optional()}).strip(),Ph=U0({issued_token_type:L0("urn:ietf:params:oauth:token-type:id-jag"),access_token:R(),token_type:R().optional(),expires_in:_0().optional(),scope:R().optional()}).strip(),Th=U0({error:R(),error_description:R().optional(),error_uri:R().optional()}),tv=h6.optional().or(L0("").transform(()=>{return})),Xw=U0({redirect_uris:V0(h6),token_endpoint_auth_method:R().optional(),grant_types:V0(R()).optional(),response_types:V0(R()).optional(),application_type:R().optional(),client_name:R().optional(),client_uri:h6.optional(),logo_uri:tv,scope:R().optional(),contacts:V0(R()).optional(),tos_uri:tv,policy_uri:R().optional(),jwks_uri:h6.optional(),jwks:OL().optional(),software_id:R().optional(),software_version:R().optional(),software_statement:R().optional()}).strip(),Zw=U0({client_id:R(),client_secret:R().optional(),client_id_issued_at:_0().optional(),client_secret_expires_at:_0().optional()}).strip(),jh=Xw.merge(Zw),Eh=U0({error:R(),error_description:R().optional()}).strip(),Ch=U0({token:R(),token_type_hint:R().optional()}).strip()});var ea=m(()=>{na()});function kh($,Y){let U=new Set,z=Y;while(typeof z==="function"){let Q=z.mcpBrand;if(Object.prototype.hasOwnProperty.call(z,"mcpBrand")&&typeof Q==="string")U.add(Q);z=Object.getPrototypeOf(z)}if(U.size===0)return;Object.defineProperty($,hh,{value:U,enumerable:!1,configurable:!0})}function vQ($,Y){try{if(typeof Y==="object"&&Y!==null&&Object.prototype.hasOwnProperty.call($,"mcpBrand")&&typeof $.mcpBrand==="string"&&Object.prototype.hasOwnProperty.call(Y,hh)){let U=Y[hh];if(U&&typeof U.has==="function"&&U.has($.mcpBrand))return!0}}catch{}return Function.prototype[Symbol.hasInstance].call($,Y)}function $t($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function wf0($,Y,U){return $==="elicitation"&&Y==="form"&&U.form===void 0&&U.url===void 0}function qt($){switch($.method){case"elicitation/create":if($.params?.mode==="url")return{elicitation:{url:{}}};return{elicitation:{form:{}}};case"sampling/createMessage":{let Y=$.params;if(Y!==void 0&&(Y.tools!==void 0||Y.toolChoice!==void 0))return{sampling:{tools:{}}};return{sampling:{}}}case"roots/list":return{roots:{}};default:return}}function Nw($,Y){let U={};for(let[z,Q]of Object.entries($)){if(Q===void 0)continue;let J=Y===void 0?void 0:Y[z];if(J===void 0){U[z]=Q;continue}if($t(Q)&&$t(J)){let I={};for(let[K,G]of Object.entries(Q))if(G!==void 0&&J[K]===void 0&&!wf0(z,K,J))I[K]=G;if(Object.keys(I).length>0)U[z]=I}}return Object.keys(U).length>0?U:void 0}function SQ($){return $>=Vt}function Lt($){return $.filter((Y)=>!SQ(Y))}function xh($){return $.filter((Y)=>SQ(Y))}function Ft($){let Y=$.structuredContent;if(Y===void 0)return $;if(!(typeof Y!=="object"||Y===null||Array.isArray(Y)))return $;if($.content?.some((U)=>U.type==="text")??!1)return $;return{...$,content:[...$.content??[],{type:"text",text:JSON.stringify(Y)}]}}function fh($){if($===null||typeof $!=="object"||Array.isArray($)||$.content!==void 0||wt.some((Y)=>(Y in $)))return $;return{...$,content:[]}}function Mf0(){let $=F7(()=>o0([R(),_0(),m0(),p5(),p0(R(),$),V0($)])),Y=p0(R(),$),U=o0([R(),_0().int()]),z=R(),Q=U0({ttl:_0().optional()}),J=U0({taskId:R()}),I=Q1({progressToken:U.optional(),"io.modelcontextprotocol/related-task":J.optional()}),K=U0({_meta:I.optional()}),G=K.extend({task:Q.optional()}),H=U0({method:R(),params:K.loose().optional()}),W=U0({_meta:I.optional()}),X=U0({method:R(),params:W.loose().optional()}),Z=Q1({_meta:I.optional()}),q=o0([R(),_0().int()]),V=Z.strict(),F=W.extend({requestId:q.optional(),reason:R().optional()}),M=X.extend({method:L0("notifications/cancelled"),params:F}),w=U0({src:R(),mimeType:R().optional(),sizes:V0(R()).optional(),theme:W1(["light","dark"]).optional()}),N=U0({icons:V0(w).optional()}),O=U0({name:R(),title:R().optional()}),D=O.extend({...O.shape,...N.shape,version:R(),websiteUrl:R().optional(),description:R().optional()}),P=U5(U0({applyDefaults:m0().optional()}),Y),T=d9((N6)=>{if(N6&&typeof N6==="object"&&!Array.isArray(N6)&&Object.keys(N6).length===0)return{form:{}};return N6},U5(U0({form:P.optional(),url:Y.optional()}),Y.optional())),A=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({sampling:Q1({createMessage:Y.optional()}).optional(),elicitation:Q1({create:Y.optional()}).optional()}).optional()}),j=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({tools:Q1({call:Y.optional()}).optional()}).optional()}),C=U0({experimental:p0(R(),Y).optional(),sampling:U0({context:Y.optional(),tools:Y.optional()}).optional(),elicitation:T.optional(),roots:U0({listChanged:m0().optional()}).optional(),tasks:A.optional(),extensions:p0(R(),Y).optional()}),b=K.extend({protocolVersion:R(),capabilities:C,clientInfo:D}),x=H.extend({method:L0("initialize"),params:b}),S=U0({experimental:p0(R(),Y).optional(),logging:Y.optional(),completions:Y.optional(),prompts:U0({listChanged:m0().optional()}).optional(),resources:U0({subscribe:m0().optional(),listChanged:m0().optional()}).optional(),tools:U0({listChanged:m0().optional()}).optional(),tasks:j.optional(),extensions:p0(R(),Y).optional()}),i=Z.extend({protocolVersion:R(),capabilities:S,serverInfo:D,instructions:R().optional()}),c=X.extend({method:L0("notifications/initialized"),params:W.optional()}),z0=H.extend({method:L0("ping"),params:K.optional()}),k=U0({progress:_0(),total:t0(_0()),message:t0(R())}),d=U0({...W.shape,...k.shape,progressToken:U}),t=X.extend({method:L0("notifications/progress"),params:d}),$0=K.extend({cursor:z.optional()}),g=H.extend({params:$0.optional()}),p=Z.extend({nextCursor:z.optional()}),e=U0({uri:R(),mimeType:t0(R()),_meta:p0(R(),a0()).optional()}),y=e.extend({text:R()}),s=R().refine((N6)=>{try{return atob(N6),!0}catch{return!1}},{message:"Invalid Base64 string"}),Y0=e.extend({blob:s}),N0=W1(["user","assistant"]),E0=U0({audience:V0(N0).optional(),priority:_0().min(0).max(1).optional(),lastModified:Q$.datetime({offset:!0}).optional()}),G0=U0({...O.shape,...N.shape,uri:R(),description:t0(R()),mimeType:t0(R()),size:t0(_0()),annotations:E0.optional(),_meta:t0(Q1({}))}),T0=U0({...O.shape,...N.shape,uriTemplate:R(),description:t0(R()),mimeType:t0(R()),annotations:E0.optional(),_meta:t0(Q1({}))}),i0=g.extend({method:L0("resources/list")}),Y1=p.extend({resources:V0(G0)}),a=g.extend({method:L0("resources/templates/list")}),W0=p.extend({resourceTemplates:V0(T0)}),F0=K.extend({uri:R()}),u0=F0,b0=H.extend({method:L0("resources/read"),params:u0}),c0=Z.extend({contents:V0(o0([y,Y0]))}),D1=X.extend({method:L0("notifications/resources/list_changed"),params:W.optional()}),k1=F0,u1=H.extend({method:L0("resources/subscribe"),params:k1}),b1=F0,A0=H.extend({method:L0("resources/unsubscribe"),params:b1}),Q0=W.extend({uri:R()}),B=X.extend({method:L0("notifications/resources/updated"),params:Q0}),v=U0({name:R(),description:t0(R()),required:t0(m0())}),u=U0({...O.shape,...N.shape,description:t0(R()),arguments:t0(V0(v)),_meta:t0(Q1({}))}),r=g.extend({method:L0("prompts/list")}),X0=p.extend({prompts:V0(u)}),J0=K.extend({name:R(),arguments:p0(R(),R()).optional()}),q0=H.extend({method:L0("prompts/get"),params:J0}),M0=U0({type:L0("text"),text:R(),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),B0=U0({type:L0("image"),data:s,mimeType:R(),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),r0=U0({type:L0("audio"),data:s,mimeType:R(),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),I1=U0({type:L0("tool_use"),name:R(),id:R(),input:p0(R(),a0()),_meta:p0(R(),a0()).optional()}),z1=U0({type:L0("resource"),resource:o0([y,Y0]),annotations:E0.optional(),_meta:p0(R(),a0()).optional()}),N1=G0.extend({type:L0("resource_link")}),S1=o0([M0,B0,r0,N1,z1]),u4=U0({role:N0,content:S1}),N8=Z.extend({description:R().optional(),messages:V0(u4)}),e8=X.extend({method:L0("notifications/prompts/list_changed"),params:W.optional()}),C5=U0({title:R().optional(),readOnlyHint:m0().optional(),destructiveHint:m0().optional(),idempotentHint:m0().optional(),openWorldHint:m0().optional()}),r3=U0({taskSupport:W1(["required","optional","forbidden"]).optional()}),w$=U0({...O.shape,...N.shape,description:R().optional(),inputSchema:U0({type:L0("object"),properties:p0(R(),$).optional(),required:V0(R()).optional()}).catchall(a0()),outputSchema:U0({type:L0("object"),properties:p0(R(),$).optional(),required:V0(R()).optional()}).catchall(a0()).optional(),annotations:C5.optional(),execution:r3.optional(),_meta:p0(R(),a0()).optional()}),S9=g.extend({method:L0("tools/list")}),g9=p.extend({tools:V0(w$)}),s3=Z.extend({content:V0(S1),structuredContent:p0(R(),a0()).optional(),isError:m0().optional()}),s4=G.extend({name:R(),arguments:p0(R(),a0()).optional()}),a3=H.extend({method:L0("tools/call"),params:s4}),e2=X.extend({method:L0("notifications/tools/list_changed"),params:W.optional()}),t3=W1(["debug","info","notice","warning","error","critical","alert","emergency"]),R5=K.extend({level:t3}),$Y=H.extend({method:L0("logging/setLevel"),params:R5}),t$=W.extend({level:t3,logger:R().optional(),data:a0()}),YY=X.extend({method:L0("notifications/message"),params:t$}),e$=U0({name:R().optional()}),y9=U0({hints:V0(e$).optional(),costPriority:_0().min(0).max(1).optional(),speedPriority:_0().min(0).max(1).optional(),intelligencePriority:_0().min(0).max(1).optional()}),UY=U0({mode:W1(["auto","required","none"]).optional()}),k9=U0({type:L0("tool_result"),toolUseId:R().describe("The unique identifier for the corresponding tool call."),content:V0(S1),structuredContent:U0({}).loose().optional(),isError:m0().optional(),_meta:p0(R(),a0()).optional()}),zY=L7("type",[M0,B0,r0]),$$=L7("type",[M0,B0,r0,I1,k9]),QY=U0({role:N0,content:o0([$$,V0($$)]),_meta:p0(R(),a0()).optional()}),_5=G.extend({messages:V0(QY),modelPreferences:y9.optional(),systemPrompt:R().optional(),includeContext:W1(["none","thisServer","allServers"]).optional(),temperature:_0().optional(),maxTokens:_0().int(),stopSequences:V0(R()).optional(),metadata:Y.optional(),tools:V0(w$).optional(),toolChoice:UY.optional()}),JY=H.extend({method:L0("sampling/createMessage"),params:_5}),IY=Z.extend({model:R(),stopReason:t0(W1(["endTurn","stopSequence","maxTokens"]).or(R())),role:N0,content:zY}),v5=Z.extend({model:R(),stopReason:t0(W1(["endTurn","stopSequence","maxTokens","toolUse"]).or(R())),role:N0,content:o0([$$,V0($$)])}),KY=U0({type:L0("boolean"),title:R().optional(),description:R().optional(),default:m0().optional()}),h5=U0({type:L0("string"),title:R().optional(),description:R().optional(),minLength:_0().optional(),maxLength:_0().optional(),format:W1(["email","uri","date","date-time"]).optional(),default:R().optional()}),GY=U0({type:W1(["number","integer"]),title:R().optional(),description:R().optional(),minimum:_0().optional(),maximum:_0().optional(),default:_0().optional()}),S5=U0({type:L0("string"),title:R().optional(),description:R().optional(),enum:V0(R()),default:R().optional()}),HY=U0({type:L0("string"),title:R().optional(),description:R().optional(),oneOf:V0(U0({const:R(),title:R()})),default:R().optional()}),g5=U0({type:L0("string"),title:R().optional(),description:R().optional(),enum:V0(R()),enumNames:V0(R()).optional(),default:R().optional()}),WY=o0([S5,HY]),y5=U0({type:L0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:U0({type:L0("string"),enum:V0(R())}),default:V0(R()).optional()}),x9=U0({type:L0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:U0({anyOf:V0(U0({const:R(),title:R()}))}),default:V0(R()).optional()}),f9=o0([y5,x9]),XY=o0([g5,WY,f9]),Q8=o0([XY,KY,h5,GY]),J8=G.extend({mode:L0("form").optional(),message:R(),requestedSchema:U0({type:L0("object"),properties:p0(R(),Q8),required:V0(R()).optional()}).catchall(a0())}),ZY=G.extend({mode:L0("url"),message:R(),elicitationId:R(),url:R().url()}),I8=o0([J8,ZY]),qY=H.extend({method:L0("elicitation/create"),params:I8}),VY=W.extend({elicitationId:R()}),LY=X.extend({method:L0("notifications/elicitation/complete"),params:VY}),u9=Z.extend({action:W1(["accept","decline","cancel"]),content:d9((N6)=>N6===null?void 0:N6,p0(R(),o0([R(),_0(),m0(),V0(R())])).optional())}),FY=U0({type:L0("ref/resource"),uri:R()}),e3=U0({type:L0("ref/prompt"),name:R()}),wY=K.extend({ref:o0([e3,FY]),argument:U0({name:R(),value:R()}),context:U0({arguments:p0(R(),R()).optional()}).optional()}),$7=H.extend({method:L0("completion/complete"),params:wY}),Y7=Z.extend({completion:Q1({values:V0(R()).max(100),total:t0(_0().int()),hasMore:t0(m0())})}),MY=U0({uri:R().startsWith("file://"),name:R().optional(),_meta:p0(R(),a0()).optional()}),U7=H.extend({method:L0("roots/list"),params:K.optional()}),z7=Z.extend({roots:V0(MY)}),Q7=X.extend({method:L0("notifications/roots/list_changed"),params:W.optional()}),OY=Q1({ttl:_0().optional(),pollInterval:_0().optional()}),fz=W1(["working","input_required","completed","failed","cancelled"]),$5=U0({taskId:R(),status:fz,ttl:o0([_0(),p5()]),createdAt:R(),lastUpdatedAt:R(),pollInterval:t0(_0()),statusMessage:t0(R())}),O6=Z.extend({task:$5}),b9=W.merge($5),k5=X.extend({method:L0("notifications/tasks/status"),params:b9}),x5=H.extend({method:L0("tasks/get"),params:K.extend({taskId:R()})}),J7=Z.merge($5),i9=H.extend({method:L0("tasks/result"),params:K.extend({taskId:R()})}),cK=Z.loose(),c6=g.extend({method:L0("tasks/list")}),b4=p.extend({tasks:V0($5)}),f5=H.extend({method:L0("tasks/cancel"),params:K.extend({taskId:R()})});return{JSONValueSchema:$,JSONObjectSchema:Y,ProgressTokenSchema:U,CursorSchema:z,TaskMetadataSchema:Q,RelatedTaskMetadataSchema:J,RequestMetaSchema:I,BaseRequestParamsSchema:K,TaskAugmentedRequestParamsSchema:G,RequestSchema:H,NotificationsParamsSchema:W,NotificationSchema:X,ResultSchema:Z,RequestIdSchema:q,EmptyResultSchema:V,CancelledNotificationParamsSchema:F,CancelledNotificationSchema:M,IconSchema:w,IconsSchema:N,BaseMetadataSchema:O,ImplementationSchema:D,ClientTasksCapabilitySchema:A,ServerTasksCapabilitySchema:j,ClientCapabilitiesSchema:C,InitializeRequestParamsSchema:b,InitializeRequestSchema:x,ServerCapabilitiesSchema:S,InitializeResultSchema:i,InitializedNotificationSchema:c,PingRequestSchema:z0,ProgressSchema:k,ProgressNotificationParamsSchema:d,ProgressNotificationSchema:t,PaginatedRequestParamsSchema:$0,PaginatedRequestSchema:g,PaginatedResultSchema:p,ResourceContentsSchema:e,TextResourceContentsSchema:y,BlobResourceContentsSchema:Y0,RoleSchema:N0,AnnotationsSchema:E0,ResourceSchema:G0,ResourceTemplateSchema:T0,ListResourcesRequestSchema:i0,ListResourcesResultSchema:Y1,ListResourceTemplatesRequestSchema:a,ListResourceTemplatesResultSchema:W0,ResourceRequestParamsSchema:F0,ReadResourceRequestParamsSchema:u0,ReadResourceRequestSchema:b0,ReadResourceResultSchema:c0,ResourceListChangedNotificationSchema:D1,SubscribeRequestParamsSchema:k1,SubscribeRequestSchema:u1,UnsubscribeRequestParamsSchema:b1,UnsubscribeRequestSchema:A0,ResourceUpdatedNotificationParamsSchema:Q0,ResourceUpdatedNotificationSchema:B,PromptArgumentSchema:v,PromptSchema:u,ListPromptsRequestSchema:r,ListPromptsResultSchema:X0,GetPromptRequestParamsSchema:J0,GetPromptRequestSchema:q0,TextContentSchema:M0,ImageContentSchema:B0,AudioContentSchema:r0,ToolUseContentSchema:I1,EmbeddedResourceSchema:z1,ResourceLinkSchema:N1,ContentBlockSchema:S1,PromptMessageSchema:u4,GetPromptResultSchema:N8,PromptListChangedNotificationSchema:e8,ToolAnnotationsSchema:C5,ToolExecutionSchema:r3,ToolSchema:w$,ListToolsRequestSchema:S9,ListToolsResultSchema:g9,CallToolResultSchema:s3,CallToolRequestParamsSchema:s4,CallToolRequestSchema:a3,ToolListChangedNotificationSchema:e2,LoggingLevelSchema:t3,SetLevelRequestParamsSchema:R5,SetLevelRequestSchema:$Y,LoggingMessageNotificationParamsSchema:t$,LoggingMessageNotificationSchema:YY,ModelHintSchema:e$,ModelPreferencesSchema:y9,ToolChoiceSchema:UY,ToolResultContentSchema:k9,SamplingContentSchema:zY,SamplingMessageContentBlockSchema:$$,SamplingMessageSchema:QY,CreateMessageRequestParamsSchema:_5,CreateMessageRequestSchema:JY,CreateMessageResultSchema:IY,CreateMessageResultWithToolsSchema:v5,BooleanSchemaSchema:KY,StringSchemaSchema:h5,NumberSchemaSchema:GY,UntitledSingleSelectEnumSchemaSchema:S5,TitledSingleSelectEnumSchemaSchema:HY,LegacyTitledEnumSchemaSchema:g5,SingleSelectEnumSchemaSchema:WY,UntitledMultiSelectEnumSchemaSchema:y5,TitledMultiSelectEnumSchemaSchema:x9,MultiSelectEnumSchemaSchema:f9,EnumSchemaSchema:XY,PrimitiveSchemaDefinitionSchema:Q8,ElicitRequestFormParamsSchema:J8,ElicitRequestURLParamsSchema:ZY,ElicitRequestParamsSchema:I8,ElicitRequestSchema:qY,ElicitationCompleteNotificationParamsSchema:VY,ElicitationCompleteNotificationSchema:LY,ElicitResultSchema:u9,ResourceTemplateReferenceSchema:FY,PromptReferenceSchema:e3,CompleteRequestParamsSchema:wY,CompleteRequestSchema:$7,CompleteResultSchema:Y7,RootSchema:MY,ListRootsRequestSchema:U7,ListRootsResultSchema:z7,RootsListChangedNotificationSchema:Q7,TaskCreationParamsSchema:OY,TaskStatusSchema:fz,TaskSchema:$5,CreateTaskResultSchema:O6,TaskStatusNotificationParamsSchema:b9,TaskStatusNotificationSchema:k5,GetTaskRequestSchema:x5,GetTaskResultSchema:J7,GetTaskPayloadRequestSchema:i9,GetTaskPayloadResultSchema:cK,ListTasksRequestSchema:c6,ListTasksResultSchema:b4,CancelTaskRequestSchema:f5,CancelTaskResultSchema:Z.merge($5),ClientRequestSchema:o0([z0,x,$7,$Y,q0,r,i0,a,b0,u1,A0,a3,S9,x5,i9,c6,f5]),ClientNotificationSchema:o0([M,t,c,Q7,k5]),ClientResultSchema:o0([V,IY,v5,u9,z7,J7,b4,O6]),ServerRequestSchema:o0([z0,JY,qY,U7,x5,i9,c6,f5]),ServerNotificationSchema:o0([M,t,YY,B,D1,e2,e8,k5,LY]),ServerResultSchema:o0([V,i,Y7,N8,X0,Y1,W0,c0,s3,g9,J7,b4,O6]),CallToolResultWireSchema:a0().superRefine((N6,nK)=>{if(typeof N6!=="object"||N6===null||Array.isArray(N6)||N6.content!==void 0)return;for(let pK of wt)if(pK in N6){nK.addIssue({code:"custom",message:`content is required when the body carries '${pK}' — another result family cannot default into an empty tools/call success`});return}}).transform(fh).pipe(s3)}}function Mt(){return Of0??=Mf0()}function Ot($){return $.type!=="object"}function Yt($){return $!==void 0&&!(typeof $==="string"&&$.startsWith("#"))}function Af0($){let Y=typeof $.$schema==="string"?$.$schema:void 0;if(Yt($.$id))return{...Y!==void 0&&{$schema:Y},type:"object",properties:{result:$},required:["result"]};let U=io($.$schema)&&$.$recursiveAnchor!==!0,z=(Q,J)=>{if(Array.isArray(Q))return Q.map((G)=>z(G,!1));if(Q===null||typeof Q!=="object")return Q;if(!J&&Yt(Q.$id))return Q;let I={},K=!1;for(let[G,H]of Object.entries(Q))if(J)I[G]=z(H,!1);else if((G==="$ref"||G==="$dynamicRef")&&typeof H==="string")I[G]=H==="#"?"#/properties/result":H.startsWith("#/")?`#/properties/result${H.slice(1)}`:H;else if(G==="$recursiveRef"&&H==="#"&&U)K=!0;else if(Nf0.has(G))I[G]=H;else if(Df0.has(G))I[G]=z(H,!0);else I[G]=z(H,!1);if(K)if("$ref"in I)I.allOf=[...Array.isArray(I.allOf)?I.allOf:[],{$ref:"#/properties/result"}];else I.$ref="#/properties/result";return I};return{...Y!==void 0&&{$schema:Y},type:"object",properties:{result:z($,!1)},required:["result"]}}function uh(){if(qw)return qw;let $=Mt();return qw={requestSchemas:{ping:$.PingRequestSchema,initialize:$.InitializeRequestSchema,"completion/complete":$.CompleteRequestSchema,"logging/setLevel":$.SetLevelRequestSchema,"prompts/get":$.GetPromptRequestSchema,"prompts/list":$.ListPromptsRequestSchema,"resources/list":$.ListResourcesRequestSchema,"resources/templates/list":$.ListResourceTemplatesRequestSchema,"resources/read":$.ReadResourceRequestSchema,"resources/subscribe":$.SubscribeRequestSchema,"resources/unsubscribe":$.UnsubscribeRequestSchema,"tools/call":$.CallToolRequestSchema,"tools/list":$.ListToolsRequestSchema,"tasks/get":$.GetTaskRequestSchema,"tasks/result":$.GetTaskPayloadRequestSchema,"tasks/list":$.ListTasksRequestSchema,"tasks/cancel":$.CancelTaskRequestSchema,"sampling/createMessage":$.CreateMessageRequestSchema,"elicitation/create":$.ElicitRequestSchema,"roots/list":$.ListRootsRequestSchema},notificationSchemas:{"notifications/cancelled":$.CancelledNotificationSchema,"notifications/progress":$.ProgressNotificationSchema,"notifications/initialized":$.InitializedNotificationSchema,"notifications/roots/list_changed":$.RootsListChangedNotificationSchema,"notifications/tasks/status":$.TaskStatusNotificationSchema,"notifications/message":$.LoggingMessageNotificationSchema,"notifications/resources/updated":$.ResourceUpdatedNotificationSchema,"notifications/resources/list_changed":$.ResourceListChangedNotificationSchema,"notifications/tools/list_changed":$.ToolListChangedNotificationSchema,"notifications/prompts/list_changed":$.PromptListChangedNotificationSchema,"notifications/elicitation/complete":$.ElicitationCompleteNotificationSchema},resultSchemas:{ping:$.EmptyResultSchema,initialize:$.InitializeResultSchema,"completion/complete":$.CompleteResultSchema,"logging/setLevel":$.EmptyResultSchema,"prompts/get":$.GetPromptResultSchema,"prompts/list":$.ListPromptsResultSchema,"resources/list":$.ListResourcesResultSchema,"resources/templates/list":$.ListResourceTemplatesResultSchema,"resources/read":$.ReadResourceResultSchema,"resources/subscribe":$.EmptyResultSchema,"resources/unsubscribe":$.EmptyResultSchema,"tools/call":$.CallToolResultWireSchema,"tools/list":$.ListToolsResultSchema,"sampling/createMessage":$.CreateMessageResultWithToolsSchema,"elicitation/create":$.ElicitResultSchema,"roots/list":$.ListRootsResultSchema}},qw}function At($){return Object.prototype.hasOwnProperty.call(Nt,$)}function Bt($){return Object.prototype.hasOwnProperty.call(Dt,$)}function Pf0($){return Object.prototype.hasOwnProperty.call(Bf0,$)}function Tf0($){return Pf0($)?uh().resultSchemas[$]:void 0}function jf0($){return At($)?uh().requestSchemas[$]:void 0}function Ef0($){return Bt($)?uh().notificationSchemas[$]:void 0}function Sh($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function Vw($,Y){if($===void 0)return{ok:!1,reason:"not-in-era"};let U=$.safeParse(Y);return U.success?{ok:!0,value:U.data}:{ok:!1,reason:"invalid",message:String(U.error)}}function zt($){return Sh($)&&Sh($.outputSchema)&&Ot($.outputSchema)}function Qt($){return $}function Cf0(){let $=F7(()=>o0([R(),_0(),m0(),p5(),p0(R(),$),V0($)])),Y=p0(R(),$),U=o0([R(),_0().int()]),z=R(),Q=o0([R(),_0().int()]),J=W1(["user","assistant"]),I=W1(["debug","info","notice","warning","error","critical","alert","emergency"]),K=R().refine((b4)=>{try{return atob(b4),!0}catch{return!1}},{message:"Invalid Base64 string"}),G=U0({ttl:_0().optional()}),H=U0({taskId:R()}),W=Q1({progressToken:U.optional(),"io.modelcontextprotocol/related-task":H.optional()}),X=U0({_meta:W.optional()}),Z=X.extend({task:G.optional()}),q=U0({_meta:W.optional()}),V=U0({method:R(),params:q.loose().optional()}),F=U0({src:R(),mimeType:R().optional(),sizes:V0(R()).optional(),theme:W1(["light","dark"]).optional()}),M=U0({icons:V0(F).optional()}),w=U0({name:R(),title:R().optional()}),N=w.extend({...w.shape,...M.shape,version:R(),websiteUrl:R().optional(),description:R().optional()}),O=U5(U0({applyDefaults:m0().optional()}),Y),D=d9((b4)=>{if(b4&&typeof b4==="object"&&!Array.isArray(b4)&&Object.keys(b4).length===0)return{form:{}};return b4},U5(U0({form:O.optional(),url:Y.optional()}),Y.optional())),P=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({sampling:Q1({createMessage:Y.optional()}).optional(),elicitation:Q1({create:Y.optional()}).optional()}).optional()}),T=Q1({list:Y.optional(),cancel:Y.optional(),requests:Q1({tools:Q1({call:Y.optional()}).optional()}).optional()}),A=U0({experimental:p0(R(),Y).optional(),sampling:U0({context:Y.optional(),tools:Y.optional()}).optional(),elicitation:D.optional(),roots:U0({listChanged:m0().optional()}).optional(),tasks:P.optional(),extensions:p0(R(),Y).optional()}),j=U0({experimental:p0(R(),Y).optional(),logging:Y.optional(),completions:Y.optional(),prompts:U0({listChanged:m0().optional()}).optional(),resources:U0({subscribe:m0().optional(),listChanged:m0().optional()}).optional(),tools:U0({listChanged:m0().optional()}).optional(),tasks:T.optional(),extensions:p0(R(),Y).optional()}),C=U0({progress:_0(),total:t0(_0()),message:t0(R())}),b=U0({...q.shape,...C.shape,progressToken:U}),x=V.extend({method:L0("notifications/progress"),params:b}),S=q.extend({level:I,logger:R().optional(),data:a0()}),i=V.extend({method:L0("notifications/message"),params:S}),c=U0({uri:R(),mimeType:t0(R()),_meta:p0(R(),a0()).optional()}),z0=c.extend({text:R()}),k=c.extend({blob:K}),d=U0({audience:V0(J).optional(),priority:_0().min(0).max(1).optional(),lastModified:Q$.datetime({offset:!0}).optional()}),t=U0({...w.shape,...M.shape,uri:R(),description:t0(R()),mimeType:t0(R()),size:t0(_0()),annotations:d.optional(),_meta:t0(Q1({}))}),$0=U0({...w.shape,...M.shape,uriTemplate:R(),description:t0(R()),mimeType:t0(R()),annotations:d.optional(),_meta:t0(Q1({}))}),g=V.extend({method:L0("notifications/resources/list_changed"),params:q.optional()}),p=q.extend({uri:R()}),e=V.extend({method:L0("notifications/resources/updated"),params:p}),y=U0({name:R(),description:t0(R()),required:t0(m0())}),s=U0({...w.shape,...M.shape,description:t0(R()),arguments:t0(V0(y)),_meta:t0(Q1({}))}),Y0=V.extend({method:L0("notifications/prompts/list_changed"),params:q.optional()}),N0=U0({type:L0("text"),text:R(),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),E0=U0({type:L0("image"),data:K,mimeType:R(),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),G0=U0({type:L0("audio"),data:K,mimeType:R(),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),T0=U0({type:L0("tool_use"),name:R(),id:R(),input:p0(R(),a0()),_meta:p0(R(),a0()).optional()}),i0=U0({type:L0("resource"),resource:o0([z0,k]),annotations:d.optional(),_meta:p0(R(),a0()).optional()}),Y1=t.extend({type:L0("resource_link")}),a=o0([N0,E0,G0,Y1,i0]),W0=U0({role:J,content:a}),F0=U0({title:R().optional(),readOnlyHint:m0().optional(),destructiveHint:m0().optional(),idempotentHint:m0().optional(),openWorldHint:m0().optional()}),u0=V.extend({method:L0("notifications/tools/list_changed"),params:q.optional()}),b0=U0({name:R().optional()}),c0=U0({hints:V0(b0).optional(),costPriority:_0().min(0).max(1).optional(),speedPriority:_0().min(0).max(1).optional(),intelligencePriority:_0().min(0).max(1).optional()}),D1=U0({mode:W1(["auto","required","none"]).optional()}),k1=U0({type:L0("boolean"),title:R().optional(),description:R().optional(),default:m0().optional()}),u1=U0({type:L0("string"),title:R().optional(),description:R().optional(),minLength:_0().optional(),maxLength:_0().optional(),format:W1(["email","uri","date","date-time"]).optional(),default:R().optional()}),b1=U0({type:W1(["number","integer"]),title:R().optional(),description:R().optional(),minimum:_0().optional(),maximum:_0().optional(),default:_0().optional()}),A0=U0({type:L0("string"),title:R().optional(),description:R().optional(),enum:V0(R()),default:R().optional()}),Q0=U0({type:L0("string"),title:R().optional(),description:R().optional(),oneOf:V0(U0({const:R(),title:R()})),default:R().optional()}),B=U0({type:L0("string"),title:R().optional(),description:R().optional(),enum:V0(R()),enumNames:V0(R()).optional(),default:R().optional()}),v=o0([A0,Q0]),u=U0({type:L0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:U0({type:L0("string"),enum:V0(R())}),default:V0(R()).optional()}),r=U0({type:L0("array"),title:R().optional(),description:R().optional(),minItems:_0().optional(),maxItems:_0().optional(),items:U0({anyOf:V0(U0({const:R(),title:R()}))}),default:V0(R()).optional()}),X0=o0([u,r]),J0=o0([B,v,X0]),q0=o0([J0,k1,u1,b1]),M0=Z.extend({mode:L0("form").optional(),message:R(),requestedSchema:U0({type:L0("object"),properties:p0(R(),q0),required:V0(R()).optional()}).catchall(a0())}),B0=U0({type:L0("ref/resource"),uri:R()}),r0=U0({type:L0("ref/prompt"),name:R()}),I1=U0({uri:R().startsWith("file://"),name:R().optional(),_meta:p0(R(),a0()).optional()}),z1=A.shape,N1=U0({experimental:z1.experimental,sampling:z1.sampling,elicitation:z1.elicitation,roots:z1.roots,extensions:z1.extensions}),S1=j.shape,u4=U0({experimental:S1.experimental,logging:S1.logging,completions:S1.completions,prompts:S1.prompts,resources:S1.resources,tools:S1.tools,extensions:S1.extensions}),N8=Q1({progressToken:U.optional(),[l9]:R(),[MQ]:N.optional(),[o9]:N1,[M7]:I.optional()}),e8=U0({...w.shape,...M.shape,description:R().optional(),inputSchema:Q1({$schema:R().optional(),type:L0("object")}),outputSchema:Q1({$schema:R().optional()}).optional(),annotations:F0.optional(),_meta:p0(R(),a0()).optional()}),C5=U0({type:L0("tool_result"),toolUseId:R(),content:V0(a),structuredContent:a0().optional(),isError:m0().optional(),_meta:p0(R(),a0()).optional()}),r3=o0([N0,E0,G0,T0,C5]),w$=U0({role:J,content:o0([r3,V0(r3)]),_meta:p0(R(),a0()).optional()}),S9=R(),g9=Q1({[d5]:N.optional().catch(void 0)}),s3=g9.optional();function s4(b4){return Q1({_meta:s3,resultType:S9.default("complete"),...b4})}let a3=s4({}),e2=s4({nextCursor:z.optional()}),t3=s4({content:V0(a),structuredContent:a0().optional(),isError:m0().optional()}),R5=s4({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),tools:V0(e8),nextCursor:z.optional()}),$Y=s4({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),prompts:V0(s),nextCursor:z.optional()}),t$=s4({description:R().optional(),messages:V0(W0)}),YY=s4({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),resources:V0(t),nextCursor:z.optional()}),e$=s4({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),resourceTemplates:V0($0),nextCursor:z.optional()}),y9=s4({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),contents:V0(o0([z0,k]))}),UY=s4({completion:U0({values:V0(R()).max(100),total:_0().int().optional(),hasMore:m0().optional()}).loose()}),k9=s4({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"])}),zY=s4({ttlMs:_0().int().min(0).catch(0),cacheScope:W1(["public","private"]).catch("private"),supportedVersions:V0(R()),capabilities:u4,instructions:R().optional()}),$$=U0({messages:V0(w$),modelPreferences:c0.optional(),systemPrompt:R().optional(),includeContext:W1(["none","thisServer","allServers"]).optional(),temperature:_0().optional(),maxTokens:_0().int(),stopSequences:V0(R()).optional(),metadata:Y.optional(),tools:V0(e8).optional(),toolChoice:D1.optional()}),QY=U0({method:L0("sampling/createMessage"),params:$$}),_5=U0({method:L0("roots/list"),params:U0({_meta:p0(R(),a0()).optional()}).optional()}),JY=U0({...w$.shape,model:R(),stopReason:R().optional()}),IY=U0({roots:V0(I1)}),v5=U0({action:W1(["accept","decline","cancel"]),content:p0(R(),o0([R(),_0(),m0(),V0(R())])).optional()}),KY=U0({mode:L0("url"),message:R(),url:R().url()}),h5=o0([M0,KY]),GY=U0({method:L0("elicitation/create"),params:h5}),S5=o0([QY,_5,GY]),HY=o0([JY,IY,v5]),g5=p0(R(),S5),WY=p0(R(),HY),y5=s4({inputRequests:g5.optional(),requestState:R().optional()}),x9={inputResponses:WY.optional(),requestState:R().optional()},f9=U0({_meta:N8,...x9}),XY=Q1({progressToken:U.optional()});function Q8(b4,f5){return U0({method:L0(b4),params:U0({_meta:N8,...f5})})}function J8(b4,f5){return U0({method:L0(b4),params:U0({_meta:XY.optional(),...f5}).optional()})}let ZY={name:R(),arguments:p0(R(),a0()).optional(),...x9},I8={cursor:z.optional()},qY=Q8("tools/call",ZY),VY=Q8("tools/list",I8),LY=Q8("prompts/list",I8),u9=Q8("prompts/get",{name:R(),arguments:p0(R(),R()).optional(),...x9}),FY=Q8("resources/list",I8),e3=Q8("resources/templates/list",I8),wY=Q8("resources/read",{uri:R(),...x9}),$7={ref:o0([r0,B0]),argument:U0({name:R(),value:R()}),context:U0({arguments:p0(R(),R()).optional()}).optional()},Y7=Q8("completion/complete",$7),MY=Q8("server/discover",{}),U7=U0({toolsListChanged:m0().optional(),promptsListChanged:m0().optional(),resourcesListChanged:m0().optional(),resourceSubscriptions:V0(R()).optional()}),z7={notifications:U7},Q7=Q8("subscriptions/listen",z7),OY=g9.extend({"io.modelcontextprotocol/subscriptionId":Q}),fz=Q1({_meta:OY,resultType:S9.default("complete")}),$5={"tools/call":J8("tools/call",ZY),"tools/list":J8("tools/list",I8),"prompts/get":J8("prompts/get",{name:R(),arguments:p0(R(),R()).optional()}),"prompts/list":J8("prompts/list",I8),"resources/list":J8("resources/list",I8),"resources/templates/list":J8("resources/templates/list",I8),"resources/read":J8("resources/read",{uri:R()}),"completion/complete":J8("completion/complete",$7),"server/discover":J8("server/discover",{}),"subscriptions/listen":J8("subscriptions/listen",z7)};function O6(b4){return Q1({_meta:s3,...b4})}let b9={"tools/call":O6({content:V0(a),structuredContent:a0().optional(),isError:m0().optional()}),"tools/list":O6({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),tools:V0(e8),nextCursor:z.optional()}),"prompts/get":O6({description:R().optional(),messages:V0(W0)}),"prompts/list":O6({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),prompts:V0(s),nextCursor:z.optional()}),"resources/list":O6({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),resources:V0(t),nextCursor:z.optional()}),"resources/templates/list":O6({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),resourceTemplates:V0($0),nextCursor:z.optional()}),"resources/read":O6({ttlMs:_0().int().min(0),cacheScope:W1(["public","private"]),contents:V0(o0([z0,k]))}),"completion/complete":O6({completion:U0({values:V0(R()).max(100),total:_0().int().optional(),hasMore:m0().optional()}).loose()}),"server/discover":O6({ttlMs:_0().int().min(0).catch(0),cacheScope:W1(["public","private"]).catch("private"),supportedVersions:V0(R()),capabilities:u4,instructions:R().optional()}),"subscriptions/listen":O6({})},k5=Q1({"io.modelcontextprotocol/subscriptionId":Q.optional()}),x5=U0({method:L0("notifications/subscriptions/acknowledged"),params:U0({_meta:k5.optional(),notifications:U7})}),J7=U0({_meta:k5.optional(),requestId:Q,reason:R().optional()}),i9=U0({method:L0("notifications/cancelled"),params:J7}),cK={"notifications/cancelled":i9,"notifications/progress":x,"notifications/message":i,"notifications/resources/updated":e,"notifications/resources/list_changed":g,"notifications/tools/list_changed":u0,"notifications/prompts/list_changed":Y0,"notifications/subscriptions/acknowledged":x5},c6=(b4)=>U0({jsonrpc:L0("2.0"),id:o0([R(),_0().int()]),result:b4}).strict();return{JSONValueSchema:$,JSONObjectSchema:Y,ProgressTokenSchema:U,CursorSchema:z,RequestIdSchema:Q,RoleSchema:J,LoggingLevelSchema:I,TaskMetadataSchema:G,RelatedTaskMetadataSchema:H,RequestMetaSchema:W,BaseRequestParamsSchema:X,TaskAugmentedRequestParamsSchema:Z,NotificationsParamsSchema:q,NotificationSchema:V,IconSchema:F,IconsSchema:M,BaseMetadataSchema:w,ImplementationSchema:N,ClientTasksCapabilitySchema:P,ServerTasksCapabilitySchema:T,ClientCapabilitiesSchema:A,ServerCapabilitiesSchema:j,ProgressSchema:C,ProgressNotificationParamsSchema:b,ProgressNotificationSchema:x,LoggingMessageNotificationParamsSchema:S,LoggingMessageNotificationSchema:i,ResourceContentsSchema:c,TextResourceContentsSchema:z0,BlobResourceContentsSchema:k,AnnotationsSchema:d,ResourceSchema:t,ResourceTemplateSchema:$0,ResourceListChangedNotificationSchema:g,ResourceUpdatedNotificationParamsSchema:p,ResourceUpdatedNotificationSchema:e,PromptArgumentSchema:y,PromptSchema:s,PromptListChangedNotificationSchema:Y0,TextContentSchema:N0,ImageContentSchema:E0,AudioContentSchema:G0,ToolUseContentSchema:T0,EmbeddedResourceSchema:i0,ResourceLinkSchema:Y1,ContentBlockSchema:a,PromptMessageSchema:W0,ToolAnnotationsSchema:F0,ToolListChangedNotificationSchema:u0,ModelHintSchema:b0,ModelPreferencesSchema:c0,ToolChoiceSchema:D1,BooleanSchemaSchema:k1,StringSchemaSchema:u1,NumberSchemaSchema:b1,UntitledSingleSelectEnumSchemaSchema:A0,TitledSingleSelectEnumSchemaSchema:Q0,LegacyTitledEnumSchemaSchema:B,SingleSelectEnumSchemaSchema:v,UntitledMultiSelectEnumSchemaSchema:u,TitledMultiSelectEnumSchemaSchema:r,MultiSelectEnumSchemaSchema:X0,EnumSchemaSchema:J0,PrimitiveSchemaDefinitionSchema:q0,ElicitRequestFormParamsSchema:M0,ResourceTemplateReferenceSchema:B0,PromptReferenceSchema:r0,RootSchema:I1,ClientCapabilities2026Schema:N1,ServerCapabilities2026Schema:u4,RequestMetaEnvelopeSchema:N8,ToolSchema:e8,ToolResultContentSchema:C5,SamplingMessageContentBlockSchema:r3,SamplingMessageSchema:w$,ResultTypeSchema:S9,ResultMetaSchema:g9,ResultSchema:a3,PaginatedResultSchema:e2,CallToolResultSchema:t3,ListToolsResultSchema:R5,ListPromptsResultSchema:$Y,GetPromptResultSchema:t$,ListResourcesResultSchema:YY,ListResourceTemplatesResultSchema:e$,ReadResourceResultSchema:y9,CompleteResultSchema:UY,CacheableResultSchema:k9,DiscoverResultSchema:zY,CreateMessageRequestParamsSchema:$$,CreateMessageRequestSchema:QY,ListRootsRequestSchema:_5,CreateMessageResultSchema:JY,ListRootsResultSchema:IY,ElicitResultSchema:v5,ElicitRequestURLParamsSchema:KY,ElicitRequestParamsSchema:h5,ElicitRequestSchema:GY,InputRequestSchema:S5,InputResponseSchema:HY,InputRequestsSchema:g5,InputResponsesSchema:WY,InputRequiredResultSchema:y5,InputResponseRequestParamsSchema:f9,CallToolRequestSchema:qY,ListToolsRequestSchema:VY,ListPromptsRequestSchema:LY,GetPromptRequestSchema:u9,ListResourcesRequestSchema:FY,ListResourceTemplatesRequestSchema:e3,ReadResourceRequestSchema:wY,CompleteRequestSchema:Y7,DiscoverRequestSchema:MY,SubscriptionFilterSchema:U7,SubscriptionsListenRequestSchema:Q7,SubscriptionsListenResultMetaSchema:OY,SubscriptionsListenResultSchema:fz,dispatchRequestSchemas:$5,dispatchResultSchemas:b9,NotificationMetaSchema:k5,SubscriptionsAcknowledgedNotificationSchema:x5,CancelledNotificationParamsSchema:J7,CancelledNotificationSchema:i9,notificationSchemas2026:cK,JSONRPCResultResponseSchema:c6(a3),CallToolResultResponseSchema:c6(o0([t3,y5])),ListToolsResultResponseSchema:c6(R5),ListPromptsResultResponseSchema:c6($Y),GetPromptResultResponseSchema:c6(o0([t$,y5])),ListResourcesResultResponseSchema:c6(YY),ListResourceTemplatesResultResponseSchema:c6(e$),ReadResourceResultResponseSchema:c6(o0([y9,y5])),CompleteResultResponseSchema:c6(UY),DiscoverResultResponseSchema:c6(zY)}}function uY(){return Rf0??=Cf0()}function vf0($){return _f0.includes($)}function Dw($,Y){if(Y===void 0)return $;let U=$[_Q];if(U===void 0)return{...$,[_Q]:Y};let z={},Q=U.ttlMs??Y.ttlMs;if(Q!==void 0)z.ttlMs=Q;let J=U.cacheScope??Y.cacheScope;if(J!==void 0)z.cacheScope=J;return{...$,[_Q]:z}}function hf0($){return $[_Q]}function ih($){return typeof $==="number"&&Number.isSafeInteger($)&&$>=0}function ch($){return $==="public"||$==="private"}function nh($,Y){if($.ttlMs!==void 0&&!ih($.ttlMs))throw RangeError(`Invalid cache hint for ${Y}: ttlMs must be a non-negative safe integer (got ${String($.ttlMs)})`);if($.cacheScope!==void 0&&!ch($.cacheScope))throw RangeError(`Invalid cache hint for ${Y}: cacheScope must be 'public' or 'private' (got ${String($.cacheScope)})`)}function kf0($,Y){let U=Y.resultType;if(U===void 0)return{...Y,resultType:"complete"};if(U==="complete")return Y;if(yf0.includes($))return Y;throw new J1(n0.InternalError,`Handler for ${$} returned resultType '${String(U)}', but results of ${$} only support 'complete' on protocol revision 2026-07-28`)}function xf0($,Y){let U=hf0(Y);if(Y.resultType!=="complete"||!vf0($))return U===void 0?Y:cf0(Y);let z=Y,Q=ih(z.ttlMs)?z.ttlMs:bf0(U),J=ch(z.cacheScope)?z.cacheScope:if0(U),I={...z,ttlMs:Q,cacheScope:J};return delete I[_Q],I}function ff0($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function uf0($,Y){if(Y===void 0)return $;let U=$._meta;if(U===void 0)return{...$,_meta:{[d5]:Y}};if(!ff0(U))return $;if(U[d5]!==void 0)return $;return{...$,_meta:{...U,[d5]:Y}}}function bf0($){return $!==void 0&&ih($.ttlMs)?$.ttlMs:Sf0}function if0($){return $!==void 0&&ch($.cacheScope)?$.cacheScope:gf0}function cf0($){let Y={...$};return delete Y[_Q],Y}function Tt(){if(Lw)return Lw;let $=uY();return Lw={request:{"elicitation/create":U0({method:L0("elicitation/create"),params:$.ElicitRequestParamsSchema}),"sampling/createMessage":U0({method:L0("sampling/createMessage"),params:$.CreateMessageRequestParamsSchema}),"roots/list":U0({method:L0("roots/list"),params:Q1({}).optional()})},response:{"elicitation/create":$.ElicitResultSchema,"sampling/createMessage":$.CreateMessageResultSchema,"roots/list":$.ListRootsResultSchema}},Lw}function jt($){return nf0.includes($)}function Rh($){return jt($)?Tt().request[$]:void 0}function pf0($){return jt($)?Tt().response[$]:void 0}function Ct($){return Object.prototype.hasOwnProperty.call(ph,$)}function Rt($){return Object.prototype.hasOwnProperty.call(Et,$)}function df0($){return Object.prototype.hasOwnProperty.call(ph,$)}function mf0($){return Ct($)?uY().dispatchRequestSchemas[$]:void 0}function lf0($){return df0($)?uY().dispatchResultSchemas[$]:void 0}function of0($){return Rt($)?uY().notificationSchemas2026[$]:void 0}function HH($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function KH($,Y){if($===void 0)return{ok:!1,reason:"not-in-era"};let U=$.safeParse(Y);return U.success?{ok:!0,value:U.data}:{ok:!1,reason:"invalid",message:String(U.error)}}function af0($,Y){let U=Y,z=!1,Q=()=>{if(!z)U={...U},z=!0;return U},J=Y.tools;if($==="tools/list"&&Array.isArray(J)&&J.some((K)=>HH(K)&&("execution"in K)))Q().tools=J.map((K)=>{if(!HH(K)||!("execution"in K))return K;let G={...K};return delete G.execution,G});let I=Y.capabilities;if(HH(I)&&"tasks"in I){let K={...I};delete K.tasks,Q().capabilities=K}return U}function tf0(){if(Fw)return Fw;let $=uY();return Fw={"tools/call":$.CallToolResultSchema,"tools/list":$.ListToolsResultSchema,"prompts/get":$.GetPromptResultSchema,"prompts/list":$.ListPromptsResultSchema,"resources/list":$.ListResourcesResultSchema,"resources/templates/list":$.ListResourceTemplatesResultSchema,"resources/read":$.ReadResourceResultSchema,"completion/complete":$.CompleteResultSchema,"server/discover":$.DiscoverResultSchema},Fw}function j7($){return $!==void 0&&SQ($)?dh:bh}function Jt($){if($.revision!==void 0)return j7($.revision).era;return $.era==="modern"?dh.era:bh.era}function _h($){return _t.some((Y)=>Y.hasRequestMethod($))}function vh($){return _t.some((Y)=>Y.hasNotificationMethod($))}function It($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function bY($){if(!It($))return;let Y=$._meta;return It(Y)?Y:void 0}function Pw($){let Y=bY($);return Y!==void 0&&l9 in Y}function Tw($){let Y=bY($)?.[l9];return typeof Y==="string"?Y:void 0}function jw($){return j7(qH).validateEnvelopeMeta($)}function mh($){if($.params.ref.type!=="ref/prompt")throw TypeError(`Expected CompleteRequestPrompt, but got ${$.params.ref.type}`)}function lh($){if($.params.ref.type!=="ref/resource")throw TypeError(`Expected CompleteRequestResourceTemplate, but got ${$.params.ref.type}`)}function oh($){let Y=[],U=new Map,z=(J,I,K)=>{if(J===null||typeof J!=="object")return;let G=J;if(Kt in G){if(!K||I.length===0)return`${ww(I)}: x-mcp-header is only permitted on properties statically reachable via a chain of 'properties' keys (not under items, additionalProperties, oneOf/anyOf/allOf/not, if/then/else, or $ref)`;let W=G[Kt];if(typeof W!=="string"||W.length===0)return`${ww(I)}: x-mcp-header MUST be a non-empty string`;if(!$u0.test(W))return`${ww(I)}: x-mcp-header '${W}' is not a valid RFC 9110 token (no spaces, control characters or HTTP delimiters)`;let X=typeof G.type==="string"?G.type:void 0;if(X===void 0||!Yu0.has(X))return`${ww(I)}: x-mcp-header is only permitted on primitive-typed properties (string, integer, boolean); got ${X??""}`;let Z=W.toLowerCase(),q=U.get(Z);if(q!==void 0)return`x-mcp-header '${W}' is not case-insensitively unique (also declared as '${q}')`;U.set(Z,W),Y.push({path:I,headerName:W,type:X})}let H=G.properties;if(H!==null&&typeof H==="object")for(let[W,X]of Object.entries(H)){let Z=z(X,[...I,W],K);if(Z!==void 0)return Z}for(let W of Uu0){let X=G[W];if(X===void 0)continue;let Z=Array.isArray(X)?X:X!==null&&typeof X==="object"&&zu0.has(W)?Object.values(X):[X];for(let q of Z){let V=z(q,[...I,`<${W}>`],!1);if(V!==void 0)return V}}},Q=z($,[],!0);return Q===void 0?{valid:!0,declarations:Y}:{valid:!1,reason:Q}}function ww($){return $.length===0?"":$.join(".")}function Mw($,Y,U,z,Q){return{kind:"reject",rung:$,cell:Y,httpStatus:U,code:z.code,message:z.message,...z.data!==void 0&&{data:z.data},settled:Q}}function rh($){if(!Pw($))return!1;let Y=Tw($);if(Y===void 0||!SQ(Y))return!1;let U=bY($);return U!==void 0&&jw(U).length===0}function sh($,Y){switch($.reason){case"http-method":return Mw("http-method","modern-only-method-not-allowed",405,new J1(-32000,"Method not allowed."),!0);case"batch":return Mw("jsonrpc-shape","modern-only-batch-not-supported",400,new J1(n0.InvalidRequest,"Bad Request: JSON-RPC batches are not supported by this endpoint"),!0);case"response":return Mw("jsonrpc-shape","modern-only-response-post",400,new J1(n0.InvalidRequest,"Bad Request: JSON-RPC responses cannot be posted to this endpoint"),!0);case"notification":return;case"initialize":case"no-claim":{let U=$.requestedVersion;return Mw("era-classification","modern-only-missing-envelope",400,U===void 0?new J1(n0.UnsupportedProtocolVersion,"Unsupported protocol version: the request did not name a protocol version",{supported:[...Y]}):new gQ({supported:[...Y],requested:U}),!0)}}}function Cw($,Y){return BG($,Y)}function GH($){return new Set($.flatMap((Y)=>Object.keys(Y.shape)))}function hQ($){if($==null)return!1;let Y=typeof $;if(Y!=="object"&&Y!=="function")return!1;if(!("~standard"in $))return!1;return typeof $["~standard"]?.validate==="function"}function R7($,Y="input"){let U=$["~standard"],z;if(U.jsonSchema)z=U.jsonSchema[Y]({target:gh});else if(U.vendor==="zod"){if(!("_zod"in $))throw Error("Schema appears to be from zod 3, which the SDK cannot convert to JSON Schema. Upgrade to zod >=4.2.0, or wrap your JSON Schema with fromJsonSchema().");if(!Gt)Gt=!0,console.warn("[mcp-sdk] Your zod version does not implement `~standard.jsonSchema` (added in zod 4.2.0). Falling back to z.toJSONSchema(). Upgrade to zod >=4.2.0 to silence this warning.");z=vY($,{target:gh,io:Y})}else throw Error(`Schema library "${U.vendor}" does not implement StandardJSONSchemaV1 (\`~standard.jsonSchema\`). Upgrade to a version that does, or wrap your JSON Schema with fromJsonSchema().`);if(Y==="output"){if(z.type!==void 0)return z;return vt(z)?{type:"object",...z}:z}if(z.type!==void 0&&z.type!=="object")throw Error(`MCP tool and prompt schemas must describe objects (got type: ${JSON.stringify(z.type)}). Wrap your schema in z.object({...}) or equivalent.`);return{type:"object",...z}}function vt($){if("properties"in $||"patternProperties"in $||"additionalProperties"in $||"required"in $)return!0;for(let Y of["oneOf","anyOf","allOf"]){let U=$[Y];if(Array.isArray(U)&&U.length>0)return U.every((z)=>z!==null&&typeof z==="object"&&(z.type==="object"||vt(z)))}return!1}function Ju0($){if(!$.path?.length)return $.message;return`${$.path.map((Y)=>String(typeof Y==="object"?Y.key:Y)).join(".")}: ${$.message}`}async function fY($,Y){let U=await $["~standard"].validate(Y);if(U.issues&&U.issues.length>0)return{success:!1,error:U.issues.map((z)=>Ju0(z)).join(", ")};return{success:!0,data:U.value}}function Iu0($){let Y=vY($,{target:gh,io:"input"});return typeof Y.pattern==="string"?Y.pattern:void 0}function Gu0($){let Y=Ku0.exec($),U=[void 0,-1,0];if(Y)U.push(Number(Y[1]));return[!1,!0].flatMap((z)=>[!1,!0].flatMap((Q)=>U.map((J)=>Q$.datetime({local:z,offset:Q,precision:J}))))}function Hu0($,Y){let U;switch($){case"email":U=[UL()];break;case"uri":U=[qQ()];break;case"date":U=[Q$.date()];break;case"date-time":U=Gu0(Y);break}return new Set(U.map((z)=>Iu0(z)).filter((z)=>z!==void 0))}function Wu0($,Y,U){if(U!=="zod")return!0;return Hu0($,Y).has(Y)}function ht($){let Y=R7($,"input"),U=Y.properties||{},z=Y.required||[];return Object.entries(U).map(([Q,J])=>({name:Q,description:J?.description,required:z.includes(Q)}))}function ZH($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function Xu0($){try{return R7($,"input")}catch(Y){let U=Y instanceof Error?Y.message:String(Y);throw new J1(n0.InvalidParams,`Elicitation requestedSchema must describe an object with flat primitive properties: ${U}`)}}function ah($){return Zu0.has($)||$.startsWith("x-")}function Lu0($,Y,U,z){if(!ZH($))return $;let Q=typeof $.type==="string"&&Object.hasOwn(Ht,$.type)?Ht[$.type]:void 0;if(Q===void 0)return $;let J={};for(let[I,K]of Object.entries($))if(Q.has(I)||ah(I))J[I]=K;else if(I==="pattern"&&$.type==="string"&&typeof $.format==="string"){if(!Vu0.has($.format))J[I]=K;else if(typeof K!=="string"||!Wu0($.format,K,U))z.push(`${Y}.${I}`)}else z.push(`${Y}.${I}`);return J}function Fu0($,Y){let U={},z=[];for(let[Q,J]of Object.entries($))if(Q==="properties"&&ZH(J))U[Q]=Object.fromEntries(Object.entries(J).map(([I,K])=>[I,Lu0(K,`properties.${I}`,Y,z)]));else if(qu0.has(Q))U[Q]=J;else if(!ah(Q))z.push(Q);if(z.length>0)throw new J1(n0.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${z.join(", ")}`);return U}function wu0($,Y){if(!ZH($.properties))return Y;let U=Object.entries($.properties).filter(([,z])=>!Cw(IH,z).success).map(([z])=>`properties.${z}`);return U.length>0?U.join(", "):Y}function yh($,Y,U=""){if(Array.isArray($)&&Array.isArray(Y))return $.flatMap((z,Q)=>yh(z,Y[Q],`${U}[${Q}]`));if(!ZH($)||!ZH(Y))return[];return Object.entries($).flatMap(([z,Q])=>{let J=U?`${U}.${z}`:z;if(!Object.prototype.hasOwnProperty.call(Y,z))return ah(z)?[]:[J];return yh(Q,Y[z],J)})}function Mu0($){if(!hQ($.requestedSchema))return{...$,mode:"form",requestedSchema:$.requestedSchema};let Y=$.requestedSchema["~standard"].vendor,U=Fu0(Xu0($.requestedSchema),Y),z=Cw(RQ.shape.requestedSchema,U);if(!z.success)throw new J1(n0.InvalidParams,`Elicitation requestedSchema only supports flat primitive properties (string, number, integer, boolean, and string enums): ${wu0(U,z.error.message)}`);let Q=yh(U,z.data);if(Q.length>0)throw new J1(n0.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${Q.join(", ")}`);let J=(z.data.required??[]).filter((I)=>!Object.prototype.hasOwnProperty.call(z.data.properties,I));if(J.length>0)throw new J1(n0.InvalidParams,`Elicitation requestedSchema lists required properties that are not defined in properties: ${J.join(", ")}`);return{...$,mode:"form",requestedSchema:z.data}}function Ou0($){let Y=$.inputRequests!==void 0&&Object.keys($.inputRequests).length>0,U=typeof $.requestState==="string";if(!Y&&!U)throw TypeError("inputRequired() requires at least one of inputRequests (with at least one entry) or requestState (spec: every InputRequiredResult MUST include at least one of the two)");return{resultType:"input_required",...$.inputRequests!==void 0&&{inputRequests:$.inputRequests},...$.requestState!==void 0&&{requestState:$.requestState}}}function gt($,Y){return`Multi-round-trip request '${$}' still required input after ${Y} rounds (inputRequired.maxRounds)`}function yt($,Y){return new Promise((U,z)=>{if(Y?.aborted){z(Y.reason instanceof V1?Y.reason:new V1(A1.RequestTimeout,String(Y.reason)));return}let Q=setTimeout(()=>{Y?.removeEventListener("abort",J),U()},$),J=()=>{clearTimeout(Q),z(Y?.reason instanceof V1?Y.reason:new V1(A1.RequestTimeout,String(Y?.reason)))};Y?.addEventListener("abort",J,{once:!0})})}function kt($){let Y=new AbortController,U=()=>Y.abort($?.reason);if($?.addEventListener("abort",U,{once:!0}),$?.aborted)Y.abort($.reason);return{signal:Y.signal,abort:(z)=>Y.abort(z),dispose:()=>$?.removeEventListener("abort",U)}}function ut($,Y){let U=$.slice(0,-6);xt[U]=Y,ft[U]=(z)=>Y.safeParse(z).success}function Tu0($){switch($){case"initialize":case"notifications/initialized":return j7(void 0);case"server/discover":return j7(qH);default:return}}function Wt($,Y){let U=$.params;if(!WH(U))return{message:$,lifted:{}};let z=U._meta,Q=WH(z)?ju0.filter((G)=>(G in z)):[],J=Y==="request"?Eu0.filter((G)=>(G in U)):[];if(Q.length===0&&J.length===0)return{message:$,lifted:{}};let I={},K={...U};if(Q.length>0&&WH(z)){let G={},H={...z};for(let W of Q)G[W]=z[W],delete H[W];if(I.envelope=G,Object.keys(H).length>0)K._meta=H;else delete K._meta}for(let G of J){if(G==="inputResponses")I.inputResponses=K[G];if(G==="requestState")I.requestState=K[G];delete K[G]}return{message:{...$,params:K},lifted:I}}function Xt($,Y){let U=$.validateResult(Y,void 0);if(!U.ok&&U.reason==="not-in-era")return;return{"~standard":{version:1,vendor:"mcp-wire-codec",validate(z){let Q=$.validateResult(Y,z);if(Q.ok)return{value:Q.value};return{issues:[{message:Q.reason==="invalid"?Q.message:`not-in-era: ${Y}`}]}}}}}function VH($){return()=>$}function th($,Y){return{...$,mcpReq:{...$.mcpReq,requestState:VH(Y)}}}function eh($,Y){it($,Y)}function WH($){return $!==null&&typeof $==="object"&&!Array.isArray($)}function YS($,Y){let U={...$};for(let z in Y){let Q=z,J=Y[Q];if(J===void 0)continue;let I=U[Q];U[Q]=WH(I)&&WH(J)?{...I,...J}:J}return U}function Zt($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function Ru0($){let Y={},U=[];if(!Zt($))return{accepted:Y,droppedKeys:U};for(let[z,Q]of Object.entries($)){if(!Zt(Q)||"method"in Q||"result"in Q){U.push(z);continue}Y[z]=Q}return{accepted:Y,droppedKeys:U}}function _u0($){return{resultType:"input_required",inputRequests:$.inputRequests,...$.requestState!==void 0&&{requestState:$.requestState}}}function nt($){return iG.parse(JSON.parse($))}function zS($){return JSON.stringify($)+` `}function Su0($){let Y=[];if($.length===0)return{isValid:!1,warnings:["Tool name cannot be empty"]};if($.length>128)return{isValid:!1,warnings:[`Tool name exceeds maximum length of 128 characters (current: ${$.length})`]};if($.includes(" "))Y.push("Tool name contains spaces, which may cause parsing issues");if($.includes(","))Y.push("Tool name contains commas, which may cause parsing issues");if($.startsWith("-")||$.endsWith("-"))Y.push("Tool name starts or ends with a dash, which may cause parsing issues in some contexts");if($.startsWith(".")||$.endsWith("."))Y.push("Tool name starts or ends with a dot, which may cause parsing issues in some contexts");if(!hu0.test($)){let U=[...$].filter((z)=>!/[A-Za-z0-9._-]/.test(z)).filter((z,Q,J)=>J.indexOf(z)===Q);return Y.push(`Tool name contains invalid characters: ${U.map((z)=>`"${z}"`).join(", ")}`,"Allowed characters are: A-Z, a-z, 0-9, underscore (_), dash (-), and dot (.)"),{isValid:!1,warnings:Y}}return{isValid:!0,warnings:Y}}function gu0($,Y){if(Y.length>0){console.warn(`Tool name validation warning for "${$}":`);for(let U of Y)console.warn(` - ${U}`);console.warn("Tool registration will proceed, but this may cause compatibility issues."),console.warn("Consider updating the tool name to conform to the MCP tool naming standard."),console.warn("See SEP: Specify Format for Tool Names (https://github.com/modelcontextprotocol/modelcontextprotocol/issues/986) for more details.")}}function QS($){let Y=Su0($);return gu0($,Y.warnings),Y.isValid}function yu0($){return typeof $==="object"&&$!==null&&"_zod"in $}function ku0($){return typeof $==="object"&&$!==null&&!("_zod"in $)&&"_def"in $&&typeof $._def?.typeName==="string"}function xu0($){if(typeof $!=="object"||$===null)return!1;if(hQ($))return!1;let Y=Object.getPrototypeOf($);if(Y!==Object.prototype&&Y!==null)return!1;return Object.values($).every((U)=>yu0(U))}function Rw($){if($===void 0)return;if(xu0($))return U0($);if(typeof $==="object"&&$!==null&&!hQ($)&&Object.values($).some((Y)=>ku0(Y)))throw TypeError("Raw-shape inputSchema/outputSchema/argsSchema fields must be Zod v4 schemas. Got a Zod v3 field schema. Import from `zod/v4` (or upgrade your zod import), or wrap with `z.object({...})` yourself.");if(!hQ($))throw TypeError("inputSchema/outputSchema/argsSchema must be a Standard Schema (e.g. z.object({...})) or a raw Zod shape ({ field: z.string() }).");return $}var hh,Lf0,A1,V1,Ff0,Vt="2026-07-28",E7,wt,Of0,Nf0,Df0,Nt,Dt,Bf0,qw,Yu1,Uu1,Ut,bh,Rf0,_f0,_Q,n0,J1,Aw,Pt,gQ,Bw,Sf0=0,gf0="private",yf0,nf0,Lw,ph,Et,zu1,Qu1,rf0,sf0,dh,Fw,qH="2026-07-28",_t,ef0,D$=($)=>uG.safeParse($).success,C7=($)=>bG.safeParse($).success,XH=($)=>OQ.safeParse($).success,Ew=($)=>NQ.safeParse($).success,s9=($)=>typeof $==="object"&&$!==null&&!Array.isArray($)&&$.resultType==="input_required",Kt="x-mcp-header",$u0,Yu0,Uu0,zu0,Ow=-32020,Ju1,Qu0,Gt=!1,gh="draft-2020-12",Ku0,Zu0,qu0,Ht,Vu0,Nu0,St=250,Du0,Au0,xt,ft,Bu0,Pu0,bt=60000,ju0,Eu0,Cu0,it,$S,vu0,Iu1,ct=10485760,US=class{_buffer;_maxBufferSize;constructor($){this._maxBufferSize=$?.maxBufferSize??ct}append($){if((this._buffer?.length??0)+$.length>this._maxBufferSize)throw this.clear(),Error(`ReadBuffer exceeded maximum size of ${this._maxBufferSize} bytes`);this._buffer=this._buffer?Buffer.concat([this._buffer,$]):$}readMessage(){while(this._buffer){let $=this._buffer.indexOf(` `);if($===-1)return null;let Y=this._buffer.toString("utf8",0,$).replace(/\r$/,"");this._buffer=this._buffer.subarray($+1);try{return nt(Y)}catch(U){if(U instanceof SyntaxError)continue;throw U}}return null}clear(){this._buffer=void 0}},hu0;var _w=m(()=>{rT();sT();ea();av();hh=Symbol.for("mcp.sdk.errorBrands");Lf0=class $ extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.OAuthError"})}static[Symbol.hasInstance](Y){return vQ(this,Y)}static isInstance(Y){if(typeof this!=="function")throw TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return vQ(this,Y)}constructor(Y,U,z){super(U);this.code=Y,this.errorUri=z,this.name="OAuthError",kh(this,new.target)}toResponseObject(){let Y={error:this.code,error_description:this.message};if(this.errorUri)Y.error_uri=this.errorUri;return Y}static fromResponse(Y){return new $(Y.error,Y.error_description??Y.error,Y.error_uri)}},A1=function($){return $.NotConnected="NOT_CONNECTED",$.AlreadyConnected="ALREADY_CONNECTED",$.NotInitialized="NOT_INITIALIZED",$.CapabilityNotSupported="CAPABILITY_NOT_SUPPORTED",$.RequestTimeout="REQUEST_TIMEOUT",$.ConnectionClosed="CONNECTION_CLOSED",$.SendFailed="SEND_FAILED",$.InvalidResult="INVALID_RESULT",$.UnsupportedResultType="UNSUPPORTED_RESULT_TYPE",$.InputRequiredRoundsExceeded="INPUT_REQUIRED_ROUNDS_EXCEEDED",$.ListPaginationExceeded="LIST_PAGINATION_EXCEEDED",$.MethodNotSupportedByProtocolVersion="METHOD_NOT_SUPPORTED_BY_PROTOCOL_VERSION",$.EraNegotiationFailed="ERA_NEGOTIATION_FAILED",$.ClientHttpNotImplemented="CLIENT_HTTP_NOT_IMPLEMENTED",$.ClientHttpAuthentication="CLIENT_HTTP_AUTHENTICATION",$.ClientHttpForbidden="CLIENT_HTTP_FORBIDDEN",$.ClientHttpUnexpectedContent="CLIENT_HTTP_UNEXPECTED_CONTENT",$.ClientHttpFailedToOpenStream="CLIENT_HTTP_FAILED_TO_OPEN_STREAM",$.ClientHttpFailedToTerminateSession="CLIENT_HTTP_FAILED_TO_TERMINATE_SESSION",$}({}),V1=class extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.SdkError"})}static[Symbol.hasInstance]($){return vQ(this,$)}static isInstance($){if(typeof this!=="function")throw TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return vQ(this,$)}constructor($,Y,U){super(Y);this.code=$,this.data=U,this.name="SdkError",kh(this,new.target)}},Ff0=class extends V1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.SdkHttpError"})}constructor($,Y,U){super($,Y,U);this.name="SdkHttpError"}get status(){return this.data.status}get statusText(){return this.data.statusText}};E7=[Vt];wt=["task","inputRequests","requestState"];Nf0=new Set(["const","enum","default","examples"]),Df0=new Set(["properties","patternProperties","$defs","definitions","dependentSchemas","dependencies"]);Nt={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"tasks/get":null,"tasks/result":null,"tasks/list":null,"tasks/cancel":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null},Dt={"notifications/cancelled":null,"notifications/progress":null,"notifications/initialized":null,"notifications/roots/list_changed":null,"notifications/tasks/status":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/elicitation/complete":null},Bf0={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null};Yu1=Object.keys(Nt),Uu1=Object.keys(Dt);Ut={ok:!1,reason:"not-in-era"};bh={era:"2025-11-25",hasRequestMethod:At,hasNotificationMethod:Bt,validateRequest:($,Y)=>Vw(jf0($),Y),validateResult:($,Y)=>Vw(Tf0($),Y),validateNotification:($,Y)=>Vw(Ef0($),Y),hasInputRequestMethod:()=>!1,validateInputRequest:()=>Ut,validateInputResponse:()=>Ut,samplingResultVariant:($,Y)=>{let U=Mt();return Vw($?U.CreateMessageResultWithToolsSchema:U.CreateMessageResultSchema,Y)},outboundEnvelope:($)=>{return},validateEnvelopeMeta:($)=>[],projectCallToolResult($,Y){let U=Ft($),z=U.structuredContent;if(z===void 0)return U;let Q=typeof z!=="object"||z===null||Array.isArray(z),J=Y!==void 0&&Ot(Y);if(!Q&&!J)return U;return{...U,structuredContent:{result:z}}},decodeResult($,Y){if(Sh(Y)&&"resultType"in Y){let U={...Y};return delete U.resultType,{kind:"complete",result:Qt(U)}}return{kind:"complete",result:Qt(Y)}},encodeResult($,Y){if($!=="tools/list")return Y;let U=Y.tools;if(!Array.isArray(U)||!U.some((z)=>zt(z)))return Y;return{...Y,tools:U.map((z)=>zt(z)?{...z,outputSchema:Af0(z.outputSchema)}:z)}},encodeErrorCode:($)=>$===-32002?-32602:$,checkInboundEnvelope:($)=>{return}};_f0=["tools/list","prompts/list","resources/list","resources/templates/list","resources/read","server/discover"];_Q=Symbol("modelcontextprotocol.resultCacheHintFallback");n0=function($){return $[$.ParseError=-32700]="ParseError",$[$.InvalidRequest=-32600]="InvalidRequest",$[$.MethodNotFound=-32601]="MethodNotFound",$[$.InvalidParams=-32602]="InvalidParams",$[$.InternalError=-32603]="InternalError",$[$.ResourceNotFound=-32002]="ResourceNotFound",$[$.MissingRequiredClientCapability=-32021]="MissingRequiredClientCapability",$[$.UnsupportedProtocolVersion=-32022]="UnsupportedProtocolVersion",$[$.UrlElicitationRequired=-32042]="UrlElicitationRequired",$}({}),J1=class $ extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.ProtocolError"})}static[Symbol.hasInstance](Y){return vQ(this,Y)}static isInstance(Y){if(typeof this!=="function")throw TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return vQ(this,Y)}constructor(Y,U,z){super(U);this.code=Y,this.data=z,this.name="ProtocolError",kh(this,new.target)}static fromError(Y,U,z){if(Y===n0.UrlElicitationRequired&&z){let Q=z;if(Q.elicitations)return new Pt(Q.elicitations,U)}if(Y===n0.UnsupportedProtocolVersion&&z){let Q=z;if(Array.isArray(Q.supported)&&typeof Q.requested==="string")return new gQ({supported:Q.supported,requested:Q.requested},U)}if(Y===n0.InvalidParams||Y===n0.ResourceNotFound){let Q=z;if(typeof Q?.uri==="string"&&(Y===n0.ResourceNotFound||Object.keys(Q).length===1))return new Aw(Q.uri,U)}if(Y===n0.MissingRequiredClientCapability&&z){let Q=z;if(Q.requiredCapabilities!==null&&typeof Q.requiredCapabilities==="object"&&!Array.isArray(Q.requiredCapabilities))return new Bw({requiredCapabilities:Q.requiredCapabilities},U)}return new $(Y,U,z)}},Aw=class extends J1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.ResourceNotFoundError"})}constructor($,Y=`Resource not found: ${$}`){super(n0.InvalidParams,Y,{uri:$})}get uri(){return this.data.uri}},Pt=class extends J1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.UrlElicitationRequiredError"})}constructor($,Y=`URL elicitation${$.length>1?"s":""} required`){super(n0.UrlElicitationRequired,Y,{elicitations:$})}get elicitations(){return this.data?.elicitations??[]}},gQ=class extends J1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.UnsupportedProtocolVersionError"})}constructor($,Y=`Unsupported protocol version: ${$.requested}`){super(n0.UnsupportedProtocolVersion,Y,$)}get supported(){return this.data.supported}get requested(){return this.data.requested}},Bw=class extends J1{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.MissingRequiredClientCapabilityError"})}constructor($,Y=`Missing required client capabilities: ${Object.keys($.requiredCapabilities).join(", ")}`){super(n0.MissingRequiredClientCapability,Y,$)}get requiredCapabilities(){return this.data.requiredCapabilities}},yf0=["tools/call","prompts/get","resources/read"];nf0=["elicitation/create","sampling/createMessage","roots/list"];ph={"tools/call":null,"tools/list":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"completion/complete":null,"server/discover":null,"subscriptions/listen":null},Et={"notifications/cancelled":null,"notifications/progress":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/subscriptions/acknowledged":null};zu1=Object.keys(ph),Qu1=Object.keys(Et);rf0={ok:!1,reason:"not-in-era"},sf0=[l9,o9];dh={era:"2026-07-28",hasRequestMethod:Ct,hasNotificationMethod:Rt,hasInputRequestMethod:($)=>Rh($)!==void 0,validateRequest:($,Y)=>KH(mf0($),Y),validateResult:($,Y)=>KH(lf0($),Y),validateNotification:($,Y)=>KH(of0($),Y),validateInputRequest:($,Y)=>KH(Rh($),Y),validateInputResponse:($,Y)=>KH(pf0($),Y),samplingResultVariant:()=>rf0,outboundEnvelope($){return{[l9]:$.protocolVersion,[MQ]:$.clientInfo,[o9]:$.clientCapabilities,...$.logLevel!==void 0&&{[M7]:$.logLevel}}},validateEnvelopeMeta($){let Y=[];for(let z of sf0)if(!(z in $))Y.push({key:z,problem:"missing"});let U=uY().RequestMetaEnvelopeSchema.safeParse($);if(!U.success)for(let z of U.error.issues){let Q=z.path.map(String),J=Q.length>0?Q.join("."):"_meta";if(Q.length===1&&Y.some((I)=>I.key===J&&I.problem==="missing"))continue;Y.push({key:J,problem:z.message})}return Y},projectCallToolResult:($)=>Ft($),inputRequestSchema:Rh,decodeResult($,Y){if(!HH(Y))return{kind:"invalid",error:new V1(A1.InvalidResult,`Invalid result for ${$}: not an object`,{method:$})};let U=Y.resultType;if(U===void 0)return{kind:"invalid",error:new V1(A1.InvalidResult,`Invalid result for ${$}: missing required resultType — servers implementing protocol revision 2026-07-28 MUST include it (the absent-means-complete bridge applies only to earlier-revision servers)`,{method:$,violation:"missing-resultType"})};if(typeof U!=="string")return{kind:"invalid",error:new V1(A1.InvalidResult,`Invalid result for ${$}: non-string resultType`,{method:$,resultType:U})};if(U==="input_required"){let I=Y.inputRequests,K=HH(I)?I:{},G=Y.requestState;if(Object.keys(K).length===0&&typeof G!=="string")return{kind:"invalid",error:new V1(A1.InvalidResult,`Invalid result for ${$}: input_required carries neither inputRequests nor requestState (every input_required result must include at least one of the two)`,{method:$,violation:"input-required-missing-both"})};return{kind:"input_required",inputRequests:K,...typeof G==="string"&&{requestState:G}}}if(U!=="complete")return{kind:"invalid",error:new V1(A1.UnsupportedResultType,`Unsupported result type '${U}' for ${$}`,{resultType:U,method:$})};let z=tf0(),Q=Object.hasOwn(z,$)?z[$]:void 0;if(Q!==void 0){let I=Q.safeParse(Y);if(!I.success)return{kind:"invalid",error:new V1(A1.InvalidResult,`Invalid result for ${$}: ${I.error}`,{method:$})}}let J={...Y};return delete J.resultType,{kind:"complete",result:J}},encodeResult($,Y,U){return uf0(xf0($,kf0($,af0($,Y))),U)},encodeErrorCode:($)=>$===-32002?-32602:$,checkInboundEnvelope($){if($.envelope===void 0)return"Request is missing the required _meta envelope for protocol revision 2026-07-28 (io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilities)";let Y=uY().RequestMetaEnvelopeSchema.safeParse($.envelope);if(!Y.success)return`Invalid _meta envelope for protocol revision 2026-07-28: ${Y.error.issues.map((U)=>U.message).join("; ")}`}};_t=[bh,dh];ef0=uo({AnnotationsSchema:()=>r9,AudioContentSchema:()=>TQ,BaseMetadataSchema:()=>m9,BaseRequestParamsSchema:()=>S6,BlobResourceContentsSchema:()=>rG,BooleanSchemaSchema:()=>$H,CallToolRequestParamsSchema:()=>jF,CallToolRequestSchema:()=>EF,CallToolResultSchema:()=>eG,CancelTaskRequestSchema:()=>qh,CancelTaskResultSchema:()=>Vh,CancelledNotificationParamsSchema:()=>RL,CancelledNotificationSchema:()=>nG,ClientCapabilitiesSchema:()=>SL,ClientNotificationSchema:()=>Fh,ClientRequestSchema:()=>Lh,ClientResultSchema:()=>wh,ClientTasksCapabilitySchema:()=>vL,CompatibilityCallToolResultSchema:()=>Uh,CompleteRequestParamsSchema:()=>$w,CompleteRequestSchema:()=>Yw,CompleteResultSchema:()=>Uw,ContentBlockSchema:()=>jQ,CreateMessageRequestParamsSchema:()=>uF,CreateMessageRequestSchema:()=>bF,CreateMessageResultSchema:()=>iF,CreateMessageResultWithToolsSchema:()=>cF,CreateTaskResultSchema:()=>Jh,CursorSchema:()=>kG,DiscoverRequestSchema:()=>fL,DiscoverResultSchema:()=>uL,ElicitRequestFormParamsSchema:()=>RQ,ElicitRequestParamsSchema:()=>lF,ElicitRequestSchema:()=>oF,ElicitRequestURLParamsSchema:()=>mF,ElicitResultSchema:()=>aF,ElicitationCompleteNotificationParamsSchema:()=>rF,ElicitationCompleteNotificationSchema:()=>sF,EmbeddedResourceSchema:()=>wF,EmptyResultSchema:()=>cG,EnumSchemaSchema:()=>dF,GetPromptRequestParamsSchema:()=>VF,GetPromptRequestSchema:()=>LF,GetPromptResultSchema:()=>NF,GetTaskPayloadRequestSchema:()=>Hh,GetTaskPayloadResultSchema:()=>Wh,GetTaskRequestSchema:()=>Kh,GetTaskResultSchema:()=>Gh,IconSchema:()=>_L,IconsSchema:()=>N7,ImageContentSchema:()=>PQ,ImplementationSchema:()=>DQ,InitializeRequestParamsSchema:()=>gL,InitializeRequestSchema:()=>yL,InitializeResultSchema:()=>kL,InitializedNotificationSchema:()=>xL,JSONArraySchema:()=>ev,JSONObjectSchema:()=>t4,JSONRPCErrorResponseSchema:()=>NQ,JSONRPCMessageSchema:()=>iG,JSONRPCNotificationSchema:()=>bG,JSONRPCRequestSchema:()=>uG,JSONRPCResponseSchema:()=>$h,JSONRPCResultResponseSchema:()=>OQ,JSONValueSchema:()=>w7,LegacyTitledEnumSchemaSchema:()=>zH,ListChangedOptionsBaseSchema:()=>zh,ListPromptsRequestSchema:()=>ZF,ListPromptsResultSchema:()=>qF,ListResourceTemplatesRequestSchema:()=>mL,ListResourceTemplatesResultSchema:()=>lL,ListResourcesRequestSchema:()=>pL,ListResourcesResultSchema:()=>dL,ListRootsRequestSchema:()=>Qw,ListRootsResultSchema:()=>Jw,ListTasksRequestSchema:()=>Xh,ListTasksResultSchema:()=>Zh,ListToolsRequestSchema:()=>PF,ListToolsResultSchema:()=>TF,LoggingLevelSchema:()=>P7,LoggingMessageNotificationParamsSchema:()=>vF,LoggingMessageNotificationSchema:()=>hF,ModelHintSchema:()=>SF,ModelPreferencesSchema:()=>gF,MultiSelectEnumSchemaSchema:()=>pF,NotificationSchema:()=>H8,NotificationsParamsSchema:()=>G8,NumberSchemaSchema:()=>CQ,PaginatedRequestParamsSchema:()=>cL,PaginatedRequestSchema:()=>D7,PaginatedResultSchema:()=>A7,PingRequestSchema:()=>dG,PrimitiveSchemaDefinitionSchema:()=>IH,ProgressNotificationParamsSchema:()=>iL,ProgressNotificationSchema:()=>mG,ProgressSchema:()=>bL,ProgressTokenSchema:()=>yG,PromptArgumentSchema:()=>WF,PromptListChangedNotificationSchema:()=>DF,PromptMessageSchema:()=>OF,PromptReferenceSchema:()=>eF,PromptSchema:()=>XF,ReadResourceRequestParamsSchema:()=>oL,ReadResourceRequestSchema:()=>rL,ReadResourceResultSchema:()=>sL,RelatedTaskMetadataSchema:()=>CL,RequestIdSchema:()=>O7,RequestMetaSchema:()=>xG,RequestSchema:()=>e4,ResourceContentsSchema:()=>lG,ResourceLinkSchema:()=>MF,ResourceListChangedNotificationSchema:()=>aL,ResourceRequestParamsSchema:()=>AQ,ResourceSchema:()=>sG,ResourceTemplateReferenceSchema:()=>tF,ResourceTemplateSchema:()=>nL,ResourceUpdatedNotificationParamsSchema:()=>GF,ResourceUpdatedNotificationSchema:()=>HF,ResultMetaObjectSchema:()=>fG,ResultSchema:()=>$6,RoleSchema:()=>B7,RootSchema:()=>zw,RootsListChangedNotificationSchema:()=>Iw,SamplingContentSchema:()=>xF,SamplingMessageContentBlockSchema:()=>SY,SamplingMessageSchema:()=>fF,ServerCapabilitiesSchema:()=>pG,ServerNotificationSchema:()=>Oh,ServerRequestSchema:()=>Mh,ServerResultSchema:()=>Nh,ServerTasksCapabilitySchema:()=>hL,SetLevelRequestParamsSchema:()=>RF,SetLevelRequestSchema:()=>_F,SingleSelectEnumSchemaSchema:()=>nF,StringSchemaSchema:()=>EQ,SubscribeRequestParamsSchema:()=>tL,SubscribeRequestSchema:()=>eL,SubscriptionFilterSchema:()=>aG,SubscriptionsAcknowledgedNotificationParamsSchema:()=>QF,SubscriptionsAcknowledgedNotificationSchema:()=>JF,SubscriptionsListenRequestParamsSchema:()=>UF,SubscriptionsListenRequestSchema:()=>zF,SubscriptionsListenResultMetaSchema:()=>IF,SubscriptionsListenResultSchema:()=>KF,TaskAugmentedRequestParamsSchema:()=>xY,TaskCreationParamsSchema:()=>Qh,TaskMetadataSchema:()=>EL,TaskSchema:()=>T7,TaskStatusNotificationParamsSchema:()=>Gw,TaskStatusNotificationSchema:()=>Ih,TaskStatusSchema:()=>Kw,TextContentSchema:()=>BQ,TextResourceContentsSchema:()=>oG,TitledMultiSelectEnumSchemaSchema:()=>JH,TitledSingleSelectEnumSchemaSchema:()=>UH,ToolAnnotationsSchema:()=>AF,ToolChoiceSchema:()=>yF,ToolExecutionSchema:()=>BF,ToolListChangedNotificationSchema:()=>CF,ToolResultContentSchema:()=>kF,ToolSchema:()=>tG,ToolUseContentSchema:()=>FF,UnsubscribeRequestParamsSchema:()=>$F,UnsubscribeRequestSchema:()=>YF,UntitledMultiSelectEnumSchemaSchema:()=>QH,UntitledSingleSelectEnumSchemaSchema:()=>YH});$u0=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,Yu0=new Set(["string","integer","boolean","number"]);Uu0=["items","prefixItems","contains","additionalProperties","unevaluatedProperties","unevaluatedItems","propertyNames","patternProperties","dependentSchemas","oneOf","anyOf","allOf","not","if","then","else","$defs","definitions"],zu0=new Set(["patternProperties","dependentSchemas","$defs","definitions"]);Ju1=[{rung:"http-method",order:1,evaluatedAt:"edge",codes:[-32000],conformance:[],rationale:"The modern era is POST-only; GET/DELETE are body-less 2025-era session operations and are method-routed to legacy serving (405 when legacy serving is not configured), before any body is read."},{rung:"jsonrpc-shape",order:2,evaluatedAt:"edge",codes:[n0.InvalidRequest],conformance:["server-stateless"],rationale:"The body must be a JSON-RPC request or notification: posted responses and batch arrays containing a modern or invalid element are rejected before classification (element-wise batch rule); all-legacy arrays stay legacy traffic."},{rung:"era-classification",order:3,evaluatedAt:"edge",codes:[Ow,n0.UnsupportedProtocolVersion],conformance:["server-stateless","http-header-validation","http-custom-header-server-validation"],rationale:"Body-primary era classification with the protocol-version header as a cross-check; a header/body disagreement is rejected with -32020 (HeaderMismatch), and an envelope-less request on a modern-only endpoint is answered with the unsupported-protocol-version error naming the supported revisions."},{rung:"envelope",order:4,evaluatedAt:"edge",codes:[n0.InvalidParams],conformance:["server-stateless"],rationale:"A present envelope claim with a malformed envelope — and a missing envelope on a request whose protocol-version header names a modern revision — is an invalid-params rejection naming the offending or missing key(s); never a silent fall back to legacy handling. This is the only place an invalid-params rejection maps to HTTP 400."},{rung:"method-registry",order:5,evaluatedAt:"dispatch",codes:[n0.MethodNotFound],conformance:["server-stateless"],rationale:"Method existence outranks parameter validity: a method absent from the negotiated revision’s registry (or with no handler installed) answers method-not-found before params or capabilities are looked at."},{rung:"request-params",order:6,evaluatedAt:"dispatch",codes:[n0.InvalidParams],conformance:[],rationale:"Per-method params validation; emitted in-band by the dispatch layer (HTTP 200), never via the ladder status table."},{rung:"standard-header-validation",order:7,evaluatedAt:"pre-dispatch",codes:[Ow],conformance:["http-header-validation"],rationale:"SEP-2243 standard `Mcp-Method` / `Mcp-Name` headers — presence, sentinel decoding, and `Mcp-Name` ↔ body cross-check — are validated by the HTTP entry on a modern-classified request after the supported-revision gate and before dispatch. The classifier’s own header-mismatch cells (protocol-version, `Mcp-Method` mismatch) stay on the edge `era-classification` rung; this rung carries the entry-layer presence/`Mcp-Name` half. Evaluated before the capability gate, the factory call, and the `Mcp-Param-*` rung so a request that fails several rungs is answered by the standard-header rung first. The documented order (after method-registry 5 and request-params 6) is NOT the observed precedence: serveModern evaluates this rung immediately after the supported-revision gate, so a request that also fails a dispatch rung is answered here before the dispatch rungs (5–6) are consulted."},{rung:"client-capabilities",order:8,evaluatedAt:"pre-dispatch",codes:[n0.MissingRequiredClientCapability],conformance:["server-stateless"],rationale:"The capability requirement is checked by the HTTP entry, pre-dispatch, against the validated envelope the classifier produced — pinning the spec-mandated HTTP 400 independently of how dispatch- and handler-produced errors are mapped. The documented order (after method resolution and params validation) is preserved observably only while the requirement table is empty: once a served method gains a requirement entry, a request that is missing the capability and would also fail a dispatch rung is answered by this gate first, so the entry must consult the method registry before the gate if the documented precedence is to stay observable."},{rung:"param-header-validation",order:9,evaluatedAt:"pre-dispatch",codes:[Ow],conformance:["http-custom-header-server-validation"],rationale:"SEP-2243 `Mcp-Param-*` headers are validated against the named tool’s `x-mcp-header` declarations and the body `arguments` after the tool registry is known and before dispatch reaches the handler; a missing/disagreeing/malformed header is rejected 400 / -32020 with the same shape as the standard-header cross-checks. The documented order (after method resolution and params validation) is preserved observably only when the body `arguments` would otherwise validate: the check runs pre-dispatch, so a `tools/call` that fails BOTH this rung and a dispatch-time rung (e.g. order-6 `request-params`, -32602) is answered by this gate first with 400 / -32020, not by the earlier-ordered rung."}],Qu0={[n0.ParseError]:400,[n0.InvalidRequest]:400,[n0.MethodNotFound]:404,[n0.UnsupportedProtocolVersion]:400,[n0.MissingRequiredClientCapability]:400,[Ow]:400};Ku0=/\\\.\\d\{(\d+)\}/;Zu0=new Set(["$comment","deprecated","description","examples","readOnly","title","writeOnly"]);qu0=new Set(["$schema",...Object.keys(RQ.shape.requestedSchema.shape)]),Ht={string:GH([EQ,YH,UH,zH]),number:GH([CQ]),integer:GH([CQ]),boolean:GH([$H]),array:GH([QH,JH])},Vu0=new Set(EQ.shape.format.unwrap().options);Nu0=Object.assign(Ou0,{elicit($){try{return{method:"elicitation/create",params:Mu0($)}}catch(Y){throw Y instanceof J1?TypeError(Y.message,{cause:Y}):Y}},elicitUrl($){return{method:"elicitation/create",params:{...$,mode:"url"}}},createMessage($){return{method:"sampling/createMessage",params:$}},listRoots(){return{method:"roots/list"}}});Du0=["AnnotationsSchema","AudioContentSchema","BaseMetadataSchema","BlobResourceContentsSchema","BooleanSchemaSchema","CallToolRequestSchema","CallToolRequestParamsSchema","CallToolResultSchema","CancelledNotificationSchema","CancelledNotificationParamsSchema","CancelTaskRequestSchema","CancelTaskResultSchema","ClientCapabilitiesSchema","ClientNotificationSchema","ClientRequestSchema","ClientResultSchema","CompatibilityCallToolResultSchema","CompleteRequestSchema","CompleteRequestParamsSchema","CompleteResultSchema","ContentBlockSchema","CreateMessageRequestSchema","CreateMessageRequestParamsSchema","CreateMessageResultSchema","CreateMessageResultWithToolsSchema","CreateTaskResultSchema","CursorSchema","DiscoverRequestSchema","DiscoverResultSchema","ElicitationCompleteNotificationSchema","ElicitationCompleteNotificationParamsSchema","ElicitRequestSchema","ElicitRequestFormParamsSchema","ElicitRequestParamsSchema","ElicitRequestURLParamsSchema","ElicitResultSchema","EmbeddedResourceSchema","EmptyResultSchema","EnumSchemaSchema","GetPromptRequestSchema","GetPromptRequestParamsSchema","GetPromptResultSchema","GetTaskPayloadRequestSchema","GetTaskPayloadResultSchema","GetTaskRequestSchema","GetTaskResultSchema","IconSchema","IconsSchema","ImageContentSchema","ImplementationSchema","InitializedNotificationSchema","InitializeRequestSchema","InitializeRequestParamsSchema","InitializeResultSchema","JSONArraySchema","JSONObjectSchema","JSONRPCErrorResponseSchema","JSONRPCMessageSchema","JSONRPCNotificationSchema","JSONRPCRequestSchema","JSONRPCResponseSchema","JSONRPCResultResponseSchema","JSONValueSchema","LegacyTitledEnumSchemaSchema","ListPromptsRequestSchema","ListPromptsResultSchema","ListResourcesRequestSchema","ListResourcesResultSchema","ListResourceTemplatesRequestSchema","ListResourceTemplatesResultSchema","ListRootsRequestSchema","ListRootsResultSchema","ListTasksRequestSchema","ListTasksResultSchema","ListToolsRequestSchema","ListToolsResultSchema","LoggingLevelSchema","LoggingMessageNotificationSchema","LoggingMessageNotificationParamsSchema","ModelHintSchema","ModelPreferencesSchema","MultiSelectEnumSchemaSchema","NotificationSchema","NumberSchemaSchema","PaginatedRequestSchema","PaginatedRequestParamsSchema","PaginatedResultSchema","PingRequestSchema","PrimitiveSchemaDefinitionSchema","ProgressSchema","ProgressNotificationSchema","ProgressNotificationParamsSchema","ProgressTokenSchema","PromptSchema","PromptArgumentSchema","PromptListChangedNotificationSchema","PromptMessageSchema","PromptReferenceSchema","ReadResourceRequestSchema","ReadResourceRequestParamsSchema","ReadResourceResultSchema","RelatedTaskMetadataSchema","RequestSchema","RequestIdSchema","RequestMetaSchema","ResourceSchema","ResourceContentsSchema","ResourceLinkSchema","ResourceListChangedNotificationSchema","ResourceRequestParamsSchema","ResourceTemplateSchema","ResourceTemplateReferenceSchema","ResourceUpdatedNotificationSchema","ResourceUpdatedNotificationParamsSchema","ResultMetaObjectSchema","ResultSchema","RoleSchema","RootSchema","RootsListChangedNotificationSchema","SamplingContentSchema","SamplingMessageSchema","SamplingMessageContentBlockSchema","ServerCapabilitiesSchema","ServerNotificationSchema","ServerRequestSchema","ServerResultSchema","SetLevelRequestSchema","SetLevelRequestParamsSchema","SingleSelectEnumSchemaSchema","StringSchemaSchema","SubscribeRequestSchema","SubscribeRequestParamsSchema","SubscriptionFilterSchema","SubscriptionsAcknowledgedNotificationSchema","SubscriptionsAcknowledgedNotificationParamsSchema","SubscriptionsListenRequestSchema","SubscriptionsListenRequestParamsSchema","SubscriptionsListenResultSchema","SubscriptionsListenResultMetaSchema","TaskAugmentedRequestParamsSchema","TaskCreationParamsSchema","TaskMetadataSchema","TaskSchema","TaskStatusSchema","TaskStatusNotificationSchema","TaskStatusNotificationParamsSchema","TextContentSchema","TextResourceContentsSchema","TitledMultiSelectEnumSchemaSchema","TitledSingleSelectEnumSchemaSchema","ToolSchema","ToolAnnotationsSchema","ToolChoiceSchema","ToolExecutionSchema","ToolListChangedNotificationSchema","ToolResultContentSchema","ToolUseContentSchema","UnsubscribeRequestSchema","UnsubscribeRequestParamsSchema","UntitledMultiSelectEnumSchemaSchema","UntitledSingleSelectEnumSchemaSchema"],Au0={IdJagTokenExchangeResponseSchema:Ph,OAuthClientInformationFullSchema:jh,OAuthClientInformationSchema:Zw,OAuthClientMetadataSchema:Xw,OAuthClientRegistrationErrorSchema:Eh,OAuthErrorResponseSchema:Th,OAuthMetadataSchema:Hw,OAuthProtectedResourceMetadataSchema:Dh,OAuthTokenRevocationRequestSchema:Ch,OAuthTokensSchema:Bh,OpenIdProviderDiscoveryMetadataSchema:Ah,OpenIdProviderMetadataSchema:Ww},xt={},ft={};for(let $ of Du0)ut($,ef0[$]);for(let[$,Y]of Object.entries(Au0))ut($,Y);Bu0=Object.freeze(xt),Pu0=Object.freeze(ft);ju0=[l9,MQ,o9,M7],Eu0=["inputResponses","requestState"];Cu0=VH(void 0);$S=class{_transport;_requestMessageId=0;_requestHandlers=new Map;_requestHandlerAbortControllers=new Map;_notificationHandlers=new Map;_responseHandlers=new Map;_progressHandlers=new Map;_timeoutInfo=new Map;_pendingDebouncedNotifications=new Set;_negotiatedProtocolVersion;static{it=($,Y)=>{$._negotiatedProtocolVersion=Y}}_supportedProtocolVersions;onclose;onerror;fallbackRequestHandler;fallbackNotificationHandler;constructor($){this._options=$,this._supportedProtocolVersions=$?.supportedProtocolVersions??TL,this.setNotificationHandler("notifications/cancelled",(Y)=>{this._oncancel(Y)}),this.setNotificationHandler("notifications/progress",(Y)=>{this._onprogress(Y)}),this.setRequestHandler("ping",(Y)=>({}))}_shouldDropInbound($){}_outboundMetaEnvelope(){}_envelopeOutbound($){let Y=this._outboundMetaEnvelope();if(Y===void 0)return $;let U=$.params??{};return{...$,params:{...U,_meta:{...Y,...U._meta}}}}_resolveNonCompleteResult($,Y){return Promise.reject(new V1(A1.UnsupportedResultType,`Unsupported result type '${$.kind}' for ${Y.request.method}`,{resultType:$.kind,method:Y.request.method}))}_getRequestHandler($){return this._requestHandlers.get($)}async _oncancel($){if(!$.params.requestId)return;this._requestHandlerAbortControllers.get($.params.requestId)?.abort($.params.reason)}_setupTimeout($,Y,U,z,Q=!1){this._timeoutInfo.set($,{timeoutId:setTimeout(z,Y),startTime:Date.now(),timeout:Y,maxTotalTimeout:U,resetTimeoutOnProgress:Q,onTimeout:z})}_resetTimeout($){let Y=this._timeoutInfo.get($);if(!Y)return!1;let U=Date.now()-Y.startTime;if(Y.maxTotalTimeout&&U>=Y.maxTotalTimeout)throw this._timeoutInfo.delete($),new V1(A1.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:Y.maxTotalTimeout,totalElapsed:U});return clearTimeout(Y.timeoutId),Y.timeoutId=setTimeout(Y.onTimeout,Y.timeout),!0}_cleanupTimeout($){let Y=this._timeoutInfo.get($);if(Y)clearTimeout(Y.timeoutId),this._timeoutInfo.delete($)}async connect($){this._transport=$;let Y=this.transport?.onclose;this._transport.onclose=()=>{try{Y?.()}finally{this._onclose()}};let U=this.transport?.onerror;this._transport.onerror=(Q)=>{U?.(Q),this._onerror(Q)};let z=this._transport?.onmessage;this._transport.onmessage=(Q,J)=>{if(z?.(Q,J),XH(Q)||Ew(Q))this._onresponse(Q);else if(D$(Q))this._onrequest(Q,J);else if(C7(Q))this._onnotification(Q,J);else this._onerror(Error(`Unknown message type: ${JSON.stringify(Q)}`))},$.setSupportedProtocolVersions?.(this._supportedProtocolVersions),await this._transport.start()}_onclose(){let $=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._pendingDebouncedNotifications.clear();for(let z of this._timeoutInfo.values())clearTimeout(z.timeoutId);this._timeoutInfo.clear();let Y=this._requestHandlerAbortControllers;this._requestHandlerAbortControllers=new Map;let U=new V1(A1.ConnectionClosed,"Connection closed");this._transport=void 0;try{this.onclose?.()}finally{for(let z of $.values())z(U);for(let z of Y.values())z.abort(U)}}_onerror($){this.onerror?.($)}_onnotification($,Y){let{message:U}=Wt($,"notification"),z=this._negotiatedWireCodec();if(Y?.classification===void 0&&this._shouldDropInbound($)==="drop")return;if(Y?.classification!==void 0){let I=Jt(Y.classification);if(I!==z.era){this._onerror(Error(`Era mismatch on inbound notification '${U.method}': classified as ${I} but this instance serves ${z.era}`));return}}if(vh(U.method)&&!z.hasNotificationMethod(U.method))return;let Q=this._notificationHandlers.get(U.method),J=this.fallbackNotificationHandler;if(Q===void 0&&J===void 0)return;Promise.resolve().then(()=>Q===void 0?J(U):Q(U,z)).catch((I)=>this._onerror(Error(`Uncaught error in notification handler: ${I}`)))}_onrequest($,Y){let{message:U,lifted:z}=Wt($,"request"),Q=this._negotiatedWireCodec();if(Y?.classification===void 0&&this._shouldDropInbound($)==="drop"){this._onerror(Error(`Dropped inbound request '${$.method}': not servable on this connection's protocol era`));return}let J=this._transport,I=(F,M,w)=>{let N={jsonrpc:"2.0",id:U.id,error:{code:F,message:M,...w!==void 0&&{data:w}}};J?.send(N).catch((O)=>this._onerror(Error(`Failed to send an error response: ${O}`)))};if(Y?.classification!==void 0){let F=Jt(Y.classification);if(F!==Q.era){this._onerror(Error(`Era mismatch on inbound request '${U.method}': classified as ${F} but this instance serves ${Q.era}`));let M=Y.classification.revision??F;I(n0.UnsupportedProtocolVersion,`Unsupported protocol version: ${M}`,{supported:this._supportedProtocolVersions,requested:M});return}}if(_h(U.method)&&!Q.hasRequestMethod(U.method)){I(n0.MethodNotFound,"Method not found");return}let K=this._requestHandlers.get(U.method)??this.fallbackRequestHandler;if(K===void 0){I(n0.MethodNotFound,"Method not found");return}let G=Q.checkInboundEnvelope(z);if(G!==void 0){I(n0.InvalidParams,G);return}let H=(F,M)=>this._notificationViaCodec(this._resolveOutboundCodec(F.method),F,{...M,relatedRequestId:U.id}),W=(F,M,w)=>this._requestWithSchemaViaCodec(this._resolveOutboundCodec(F.method),F,M,{...w,relatedRequestId:U.id}),X=new AbortController;this._requestHandlerAbortControllers.set(U.id,X);let Z=z.inputResponses===void 0?void 0:Ru0(z.inputResponses),q={sessionId:J?.sessionId,mcpReq:{id:U.id,method:U.method,_meta:U.params?._meta,...z.envelope!==void 0&&{envelope:z.envelope},...Z!==void 0&&{inputResponses:Z.accepted},...Z!==void 0&&Z.droppedKeys.length>0&&{droppedInputResponseKeys:Z.droppedKeys},requestState:z.requestState===void 0?Cu0:VH(z.requestState),signal:X.signal,send:(F,M,w)=>{let N=this._resolveOutboundCodec(F.method);if(this._assertOutboundRequestInEra(N,F.method),hQ(M))return W(F,M,w);let O=Xt(N,F.method);if(O===void 0)throw TypeError(`'${F.method}' is not a spec method; pass a result schema as the second argument to ctx.mcpReq.send().`);return W(F,O,M)},notify:H},http:Y?.authInfo?{authInfo:Y.authInfo}:void 0},V=this.buildContext(q,Y);Promise.resolve().then(()=>K(U,V)).then(async(F)=>{if(X.signal.aborted)return;let M;try{M=Q.encodeResult(U.method,F,this._outboundServerInfo())}catch(N){this._onerror(Error(`Failed to encode result for ${U.method}: ${N}`)),I(n0.InternalError,"Internal error");return}let w={result:M,jsonrpc:"2.0",id:U.id};await J?.send(w)},async(F)=>{if(X.signal.aborted)return;let M=Number.isSafeInteger(F.code)?F.code:n0.InternalError,w={jsonrpc:"2.0",id:U.id,error:{code:Q.encodeErrorCode(M),message:F.message??"Internal error",...F.data!==void 0&&{data:F.data}}};await J?.send(w)}).catch((F)=>this._onerror(Error(`Failed to send response: ${F}`))).finally(()=>{if(this._requestHandlerAbortControllers.get(U.id)===X)this._requestHandlerAbortControllers.delete(U.id)})}_onprogress($){let{progressToken:Y,...U}=$.params,z=Number(Y),Q=this._progressHandlers.get(z);if(!Q){this._onerror(Error(`Received a progress notification for an unknown token: ${JSON.stringify($)}`));return}let J=this._responseHandlers.get(z),I=this._timeoutInfo.get(z);if(I&&J&&I.resetTimeoutOnProgress)try{this._resetTimeout(z)}catch(K){this._responseHandlers.delete(z),this._progressHandlers.delete(z),this._cleanupTimeout(z),J(K);return}Q(U)}_onresponse($){let Y=Number($.id),U=this._responseHandlers.get(Y);if(U===void 0){this._onerror(Error(`Received a response for an unknown message ID: ${JSON.stringify($)}`));return}if(this._responseHandlers.delete(Y),this._cleanupTimeout(Y),this._progressHandlers.delete(Y),XH($))U($);else U(J1.fromError($.error.code,$.error.message,$.error.data))}get transport(){return this._transport}async close(){await this._transport?.close()}request($,Y,U){let z=this._resolveOutboundCodec($.method);if(this._assertOutboundRequestInEra(z,$.method),hQ(Y))return this._requestWithSchemaViaCodec(z,$,Y,U);let Q=Xt(z,$.method);if(Q===void 0)throw TypeError(`'${$.method}' is not a spec method; pass a result schema as the second argument to request().`);return this._requestWithSchemaViaCodec(z,$,Q,Y)}_negotiatedWireCodec(){return j7(this._negotiatedProtocolVersion)}_wireCodec(){return this._negotiatedWireCodec()}_resolveOutboundCodec($){if(this._negotiatedProtocolVersion===void 0){let Y=Tu0($);if(Y)return Y}return this._negotiatedWireCodec()}_assertOutboundRequestInEra($,Y){if(_h(Y)&&!$.hasRequestMethod(Y))throw new V1(A1.MethodNotSupportedByProtocolVersion,`Method '${Y}' is not supported by the negotiated protocol version (wire era ${$.era})`,{method:Y,era:$.era})}_requestWithSchema($,Y,U){let z=this._resolveOutboundCodec($.method);return this._assertOutboundRequestInEra(z,$.method),this._requestWithSchemaViaCodec(z,$,Y,U)}_requestWithSchemaViaCodec($,Y,U,z){let{relatedRequestId:Q,resumptionToken:J,onresumptiontoken:I,headers:K}=z??{},G=Date.now(),H,W;return new Promise((X,Z)=>{let q=(T)=>{Z(T)};if(!this._transport){q(Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(Y.method)}catch(T){q(T);return}if(z?.signal?.aborted){let T=z.signal.reason;throw T instanceof V1?T:new V1(A1.RequestTimeout,String(T))}let V=$.era===qH&&this._transport.hasPerRequestStream===!0?new AbortController:void 0,F=this._requestMessageId++;W=F;let M={...Y,jsonrpc:"2.0",id:F};if(z?.onprogress)this._progressHandlers.set(F,z.onprogress),M.params={...Y.params,_meta:{...Y.params?._meta,progressToken:F}};let w=this._envelopeOutbound(M),N=!1,O=(T)=>{if(N)return;if(this._progressHandlers.delete(F),V===void 0)this._transport?.send(this._envelopeOutbound({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:F,reason:String(T)}}),{relatedRequestId:Q,resumptionToken:J,onresumptiontoken:I}).catch((A)=>this._onerror(Error(`Failed to send cancellation: ${A}`)));else V.abort();Z(T instanceof V1?T:new V1(A1.RequestTimeout,String(T)))};this._responseHandlers.set(F,(T)=>{if(z?.signal?.aborted)return;if(N=!0,T instanceof Error)return Z(T);let A;try{A=$.decodeResult(Y.method,T.result)}catch(C){return Z(C instanceof Error?C:Error(String(C)))}if(A.kind==="invalid")return Z(A.error);if(A.kind==="input_required"){if(z?.allowInputRequired===!0)return X(_u0(A));let C={codec:$,request:Y,resultSchema:U,options:z,flowStartedAt:G,retry:(b,x)=>this._requestWithSchemaViaCodec($,b===void 0?{method:Y.method}:{method:Y.method,params:b},U,x)};return X(this._resolveNonCompleteResult(A,C))}let j=A.result;fY(U,j).then((C)=>{if(C.success)X(C.data);else Z(new V1(A1.InvalidResult,`Invalid result for ${Y.method}: ${C.error}`))},Z)}),H=()=>O(z?.signal?.reason),z?.signal?.addEventListener("abort",H,{once:!0});let D=z?.timeout??bt,P=()=>O(new V1(A1.RequestTimeout,"Request timed out",{timeout:D}));this._setupTimeout(F,D,z?.maxTotalTimeout,P,z?.resetTimeoutOnProgress??!1),this._transport.send(w,{relatedRequestId:Q,resumptionToken:J,onresumptiontoken:I,headers:K,requestSignal:V?.signal}).catch((T)=>{this._progressHandlers.delete(F),Z(T)})}).finally(()=>{if(H)z?.signal?.removeEventListener("abort",H);if(W!==void 0)this._responseHandlers.delete(W),this._cleanupTimeout(W)})}async notification($,Y){return this._notificationViaCodec(this._resolveOutboundCodec($.method),$,Y)}async _notificationViaCodec($,Y,U){if(!this._transport)throw new V1(A1.NotConnected,"Not connected");if(vh(Y.method)&&!$.hasNotificationMethod(Y.method))throw new V1(A1.MethodNotSupportedByProtocolVersion,`Notification '${Y.method}' is not supported by the negotiated protocol version (wire era ${$.era})`,{method:Y.method,era:$.era});this.assertNotificationCapability(Y.method);let z=this._envelopeOutbound({jsonrpc:"2.0",...Y});if((this._options?.debouncedNotificationMethods??[]).includes(Y.method)&&!Y.params&&!U?.relatedRequestId){if(this._pendingDebouncedNotifications.has(Y.method))return;this._pendingDebouncedNotifications.add(Y.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(Y.method),!this._transport)return;this._transport?.send(z,U).catch((Q)=>this._onerror(Q))});return}await this._transport.send(z,U)}setRequestHandler($,Y,U){this.assertRequestHandlerCapability($);let z;if(typeof Y==="function"){if(!_h($))throw TypeError(`'${$}' is not a spec request method; pass schemas as the second argument to setRequestHandler().`);z=(Q,J)=>{let I=this._negotiatedWireCodec(),K=I.validateRequest($,Q);if(!K.ok&&K.reason==="not-in-era")K=I.validateInputRequest($,Q);if(!K.ok){if(K.reason==="not-in-era")throw new J1(n0.InternalError,`No wire schema for ${$} in the resolved era`);throw Error(K.message)}return Promise.resolve(Y(K.value,J))}}else if(U)z=async(Q,J)=>{let I=await fY(Y.params,{...Q.params});if(!I.success)throw new J1(n0.InvalidParams,`Invalid params for ${$}: ${I.error}`);return U(I.data,J)};else throw TypeError("setRequestHandler: handler is required");this._requestHandlers.set($,this._wrapHandler($,z))}_wrapHandler($,Y){return Y}_outboundServerInfo(){}removeRequestHandler($){this._requestHandlers.delete($)}assertCanSetRequestHandler($){if(this._requestHandlers.has($))throw Error(`A request handler for ${$} already exists, which would be overridden`)}setNotificationHandler($,Y,U){if(typeof Y==="function"){if(!vh($))throw TypeError(`'${$}' is not a spec notification method; pass schemas as the second argument to setNotificationHandler().`);this._notificationHandlers.set($,(z,Q)=>{let J=Q.validateNotification($,z);if(!J.ok){if(J.reason==="not-in-era")throw new J1(n0.InternalError,`No wire schema for ${$} in the resolved era`);throw Error(J.message)}return Promise.resolve(Y(J.value))});return}if(!U)throw TypeError("setNotificationHandler: handler is required");this._notificationHandlers.set($,async(z)=>{let Q=await fY(Y.params,{...z.params});if(!Q.success)throw new J1(n0.InvalidParams,`Invalid params for notification ${$}: ${Q.error}`);await U(Q.data,z)})}removeNotificationHandler($){this._notificationHandlers.delete($)}};/*! * content-type @@ -72,41 +72,41 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs. `:""},this._extScope=y,this._scope=new U.Scope({parent:y}),this._nodes=[new F]}toString(){return this._root.render(this.opts)}name(y){return this._scope.name(y)}scopeName(y){return this._extScope.name(y)}scopeValue(y,s){let Y0=this._extScope.value(y,s);return(this._values[Y0.prefix]||(this._values[Y0.prefix]=new Set)).add(Y0),Y0}getScopeValue(y,s){return this._extScope.getValue(y,s)}scopeRefs(y){return this._extScope.scopeRefs(y,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(y,s,Y0,N0){let E0=this._scope.toName(s);if(Y0!==void 0&&N0)this._constants[E0.str]=Y0;return this._leafNode(new I(y,E0,Y0)),E0}const(y,s,Y0){return this._def(U.varKinds.const,y,s,Y0)}let(y,s,Y0){return this._def(U.varKinds.let,y,s,Y0)}var(y,s,Y0){return this._def(U.varKinds.var,y,s,Y0)}assign(y,s,Y0){return this._leafNode(new K(y,s,Y0))}add(y,s){return this._leafNode(new G(y,$.operators.ADD,s))}code(y){if(typeof y=="function")y();else if(y!==Y.nil)this._leafNode(new Z(y));return this}object(...y){let s=["{"];for(let[Y0,N0]of y){if(s.length>1)s.push(",");if(s.push(Y0),Y0!==N0||this.opts.es5)s.push(":"),(0,Y.addCodeArg)(s,N0)}return s.push("}"),new Y._Code(s)}if(y,s,Y0){if(this._blockNode(new w(y)),s&&Y0)this.code(s).else().code(Y0).endIf();else if(s)this.code(s).endIf();else if(Y0)throw Error('CodeGen: "else" body without "then" body');return this}elseIf(y){return this._elseNode(new w(y))}else(){return this._elseNode(new M)}endIf(){return this._endBlockNode(w,M)}_for(y,s){if(this._blockNode(y),s)this.code(s).endFor();return this}for(y,s){return this._for(new O(y),s)}forRange(y,s,Y0,N0,E0=this.opts.es5?U.varKinds.var:U.varKinds.let){let G0=this._scope.toName(y);return this._for(new D(E0,G0,s,Y0),()=>N0(G0))}forOf(y,s,Y0,N0=U.varKinds.const){let E0=this._scope.toName(y);if(this.opts.es5){let G0=s instanceof Y.Name?s:this.var("_arr",s);return this.forRange("_i",0,Y._`${G0}.length`,(T0)=>{this.var(E0,Y._`${G0}[${T0}]`),Y0(E0)})}return this._for(new P("of",N0,E0,s),()=>Y0(E0))}forIn(y,s,Y0,N0=this.opts.es5?U.varKinds.var:U.varKinds.const){if(this.opts.ownProperties)return this.forOf(y,Y._`Object.keys(${s})`,Y0);let E0=this._scope.toName(y);return this._for(new P("in",N0,E0,s),()=>Y0(E0))}endFor(){return this._endBlockNode(N)}label(y){return this._leafNode(new H(y))}break(y){return this._leafNode(new W(y))}return(y){let s=new A;if(this._blockNode(s),this.code(y),s.nodes.length!==1)throw Error('CodeGen: "return" should have one node');return this._endBlockNode(A)}try(y,s,Y0){if(!s&&!Y0)throw Error('CodeGen: "try" without "catch" and "finally"');let N0=new j;if(this._blockNode(N0),this.code(y),s){let E0=this.name("e");this._currNode=N0.catch=new C(E0),s(E0)}if(Y0)this._currNode=N0.finally=new b,this.code(Y0);return this._endBlockNode(C,b)}throw(y){return this._leafNode(new X(y))}block(y,s){if(this._blockStarts.push(this._nodes.length),y)this.code(y).endBlock(s);return this}endBlock(y){let s=this._blockStarts.pop();if(s===void 0)throw Error("CodeGen: not in self-balancing block");let Y0=this._nodes.length-s;if(Y0<0||y!==void 0&&Y0!==y)throw Error(`CodeGen: wrong number of nodes: ${Y0} vs ${y} expected`);return this._nodes.length=s,this}func(y,s=Y.nil,Y0,N0){if(this._blockNode(new T(y,s,Y0)),N0)this.code(N0).endFunc();return this}endFunc(){return this._endBlockNode(T)}optimize(y=1){while(y-- >0)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(y){return this._currNode.nodes.push(y),this}_blockNode(y){this._currNode.nodes.push(y),this._nodes.push(y)}_endBlockNode(y,s){let Y0=this._currNode;if(Y0 instanceof y||s&&Y0 instanceof s)return this._nodes.pop(),this;throw Error(`CodeGen: not in block "${s?`${y.kind}/${s.kind}`:y.kind}"`)}_elseNode(y){let s=this._currNode;if(!(s instanceof w))throw Error('CodeGen: "else" without "if"');return this._currNode=s.else=y,this}get _root(){return this._nodes[0]}get _currNode(){let y=this._nodes;return y[y.length-1]}set _currNode(y){let s=this._nodes;s[s.length-1]=y}};$.CodeGen=x;function S(y,s){for(let Y0 in s)y[Y0]=(y[Y0]||0)+(s[Y0]||0);return y}function i(y,s){return s instanceof Y._CodeOrName?S(y,s.names):y}function c(y,s,Y0){if(y instanceof Y.Name)return N0(y);if(!E0(y))return y;return new Y._Code(y._items.reduce((G0,T0)=>{if(T0 instanceof Y.Name)T0=N0(T0);if(T0 instanceof Y._Code)G0.push(...T0._items);else G0.push(T0);return G0},[]));function N0(G0){let T0=Y0[G0.str];if(T0===void 0||s[G0.str]!==1)return G0;return delete s[G0.str],T0}function E0(G0){return G0 instanceof Y._Code&&G0._items.some((T0)=>T0 instanceof Y.Name&&s[T0.str]===1&&Y0[T0.str]!==void 0)}}function z0(y,s){for(let Y0 in s)y[Y0]=(y[Y0]||0)-(s[Y0]||0)}function k(y){return typeof y=="boolean"||typeof y=="number"||y===null?!y:Y._`!${e(y)}`}$.not=k;let d=p($.operators.AND);function t(...y){return y.reduce(d)}$.and=t;let $0=p($.operators.OR);function g(...y){return y.reduce($0)}$.or=g;function p(y){return(s,Y0)=>s===Y.nil?Y0:Y0===Y.nil?s:Y._`${e(s)} ${y} ${e(Y0)}`}function e(y){return y instanceof Y.Name?y:Y._`(${y})`}}),v1=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.checkStrictMode=$.getErrorPath=$.Type=$.useFunc=$.setEvaluated=$.evaluatedPropsToName=$.mergeEvaluated=$.eachItem=$.unescapeJsonPointer=$.escapeJsonPointer=$.escapeFragment=$.unescapeFragment=$.schemaRefOrVal=$.schemaHasRulesButRef=$.schemaHasRules=$.checkUnknownRules=$.alwaysValidSchema=$.toHash=void 0;let Y=L1(),U=vw();function z(T){let A={};for(let j of T)A[j]=!0;return A}$.toHash=z;function Q(T,A){if(typeof A=="boolean")return A;if(Object.keys(A).length===0)return!0;return J(T,A),!I(A,T.self.RULES.all)}$.alwaysValidSchema=Q;function J(T,A=T.schema){let{opts:j,self:C}=T;if(!j.strictSchema)return;if(typeof A==="boolean")return;let b=C.RULES.keywords;for(let x in A)if(!b[x])P(T,`unknown keyword: "${x}"`)}$.checkUnknownRules=J;function I(T,A){if(typeof T=="boolean")return!T;for(let j in T)if(A[j])return!0;return!1}$.schemaHasRules=I;function K(T,A){if(typeof T=="boolean")return!T;for(let j in T)if(j!=="$ref"&&A.all[j])return!0;return!1}$.schemaHasRulesButRef=K;function G({topSchemaRef:T,schemaPath:A},j,C,b){if(!b){if(typeof j=="number"||typeof j=="boolean")return j;if(typeof j=="string")return Y._`${j}`}return Y._`${T}${A}${(0,Y.getProperty)(C)}`}$.schemaRefOrVal=G;function H(T){return Z(decodeURIComponent(T))}$.unescapeFragment=H;function W(T){return encodeURIComponent(X(T))}$.escapeFragment=W;function X(T){if(typeof T=="number")return`${T}`;return T.replace(/~/g,"~0").replace(/\//g,"~1")}$.escapeJsonPointer=X;function Z(T){return T.replace(/~1/g,"/").replace(/~0/g,"~")}$.unescapeJsonPointer=Z;function q(T,A){if(Array.isArray(T))for(let j of T)A(j);else A(T)}$.eachItem=q;function V({mergeNames:T,mergeToName:A,mergeValues:j,resultToName:C}){return(b,x,S,i)=>{let c=S===void 0?x:S instanceof Y.Name?(x instanceof Y.Name?T(b,x,S):A(b,x,S),S):x instanceof Y.Name?(A(b,S,x),x):j(x,S);return i===Y.Name&&!(c instanceof Y.Name)?C(b,c):c}}$.mergeEvaluated={props:V({mergeNames:(T,A,j)=>T.if(Y._`${j} !== true && ${A} !== undefined`,()=>{T.if(Y._`${A} === true`,()=>T.assign(j,!0),()=>T.assign(j,Y._`${j} || {}`).code(Y._`Object.assign(${j}, ${A})`))}),mergeToName:(T,A,j)=>T.if(Y._`${j} !== true`,()=>{if(A===!0)T.assign(j,!0);else T.assign(j,Y._`${j} || {}`),M(T,j,A)}),mergeValues:(T,A)=>T===!0?!0:{...T,...A},resultToName:F}),items:V({mergeNames:(T,A,j)=>T.if(Y._`${j} !== true && ${A} !== undefined`,()=>T.assign(j,Y._`${A} === true ? true : ${j} > ${A} ? ${j} : ${A}`)),mergeToName:(T,A,j)=>T.if(Y._`${j} !== true`,()=>T.assign(j,A===!0?!0:Y._`${j} > ${A} ? ${j} : ${A}`)),mergeValues:(T,A)=>T===!0?!0:Math.max(T,A),resultToName:(T,A)=>T.var("items",A)})};function F(T,A){if(A===!0)return T.var("props",!0);let j=T.var("props",Y._`{}`);if(A!==void 0)M(T,j,A);return j}$.evaluatedPropsToName=F;function M(T,A,j){Object.keys(j).forEach((C)=>T.assign(Y._`${A}${(0,Y.getProperty)(C)}`,!0))}$.setEvaluated=M;let w={};function N(T,A){return T.scopeValue("func",{ref:A,code:w[A.code]||(w[A.code]=new U._Code(A.code))})}$.useFunc=N;var O;(function(T){T[T.Num=0]="Num",T[T.Str=1]="Str"})(O||($.Type=O={}));function D(T,A,j){if(T instanceof Y.Name){let C=A===O.Num;return j?C?Y._`"[" + ${T} + "]"`:Y._`"['" + ${T} + "']"`:C?Y._`"/" + ${T}`:Y._`"/" + ${T}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return j?(0,Y.getProperty)(T).toString():"/"+X(T)}$.getErrorPath=D;function P(T,A,j=T.opts.strictSchema){if(!j)return;if(A=`strict mode: ${A}`,j===!0)throw Error(A);T.self.logger.warn(A)}$.checkStrictMode=P}),z5=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U={data:new Y.Name("data"),valCxt:new Y.Name("valCxt"),instancePath:new Y.Name("instancePath"),parentData:new Y.Name("parentData"),parentDataProperty:new Y.Name("parentDataProperty"),rootData:new Y.Name("rootData"),dynamicAnchors:new Y.Name("dynamicAnchors"),vErrors:new Y.Name("vErrors"),errors:new Y.Name("errors"),this:new Y.Name("this"),self:new Y.Name("self"),scope:new Y.Name("scope"),json:new Y.Name("json"),jsonPos:new Y.Name("jsonPos"),jsonLen:new Y.Name("jsonLen"),jsonPart:new Y.Name("jsonPart")};$.default=U}),Sw=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.extendErrors=$.resetErrorsCount=$.reportExtraError=$.reportError=$.keyword$DataError=$.keywordError=void 0;let Y=L1(),U=v1(),z=z5();$.keywordError={message:({keyword:M})=>Y.str`must pass "${M}" keyword validation`},$.keyword$DataError={message:({keyword:M,schemaType:w})=>w?Y.str`"${M}" keyword must be ${w} ($data)`:Y.str`"${M}" keyword is invalid ($data)`};function Q(M,w=$.keywordError,N,O){let{it:D}=M,{gen:P,compositeRule:T,allErrors:A}=D,j=X(M,w,N);if(O!==null&&O!==void 0?O:T||A)G(P,j);else H(D,Y._`[${j}]`)}$.reportError=Q;function J(M,w=$.keywordError,N){let{it:O}=M,{gen:D,compositeRule:P,allErrors:T}=O;if(G(D,X(M,w,N)),!(P||T))H(O,z.default.vErrors)}$.reportExtraError=J;function I(M,w){M.assign(z.default.errors,w),M.if(Y._`${z.default.vErrors} !== null`,()=>M.if(w,()=>M.assign(Y._`${z.default.vErrors}.length`,w),()=>M.assign(z.default.vErrors,null)))}$.resetErrorsCount=I;function K({gen:M,keyword:w,schemaValue:N,data:O,errsCount:D,it:P}){if(D===void 0)throw Error("ajv implementation error");let T=M.name("err");M.forRange("i",D,z.default.errors,(A)=>{if(M.const(T,Y._`${z.default.vErrors}[${A}]`),M.if(Y._`${T}.instancePath === undefined`,()=>M.assign(Y._`${T}.instancePath`,(0,Y.strConcat)(z.default.instancePath,P.errorPath))),M.assign(Y._`${T}.schemaPath`,Y.str`${P.errSchemaPath}/${w}`),P.opts.verbose)M.assign(Y._`${T}.schema`,N),M.assign(Y._`${T}.data`,O)})}$.extendErrors=K;function G(M,w){let N=M.const("err",w);M.if(Y._`${z.default.vErrors} === null`,()=>M.assign(z.default.vErrors,Y._`[${N}]`),Y._`${z.default.vErrors}.push(${N})`),M.code(Y._`${z.default.errors}++`)}function H(M,w){let{gen:N,validateName:O,schemaEnv:D}=M;if(D.$async)N.throw(Y._`new ${M.ValidationError}(${w})`);else N.assign(Y._`${O}.errors`,w),N.return(!1)}let W={keyword:new Y.Name("keyword"),schemaPath:new Y.Name("schemaPath"),params:new Y.Name("params"),propertyName:new Y.Name("propertyName"),message:new Y.Name("message"),schema:new Y.Name("schema"),parentSchema:new Y.Name("parentSchema")};function X(M,w,N){let{createErrors:O}=M.it;if(O===!1)return Y._`{}`;return Z(M,w,N)}function Z(M,w,N={}){let{gen:O,it:D}=M,P=[q(D,N),V(M,N)];return F(M,w,P),O.object(...P)}function q({errorPath:M},{instancePath:w}){let N=w?Y.str`${M}${(0,U.getErrorPath)(w,U.Type.Str)}`:M;return[z.default.instancePath,(0,Y.strConcat)(z.default.instancePath,N)]}function V({keyword:M,it:{errSchemaPath:w}},{schemaPath:N,parentSchema:O}){let D=O?w:Y.str`${w}/${M}`;if(N)D=Y.str`${D}${(0,U.getErrorPath)(N,U.Type.Str)}`;return[W.schemaPath,D]}function F(M,{params:w,message:N},O){let{keyword:D,data:P,schemaValue:T,it:A}=M,{opts:j,propertyName:C,topSchemaRef:b,schemaPath:x}=A;if(O.push([W.keyword,D],[W.params,typeof w=="function"?w(M):w||Y._`{}`]),j.messages)O.push([W.message,typeof N=="function"?N(M):N]);if(j.verbose)O.push([W.schema,T],[W.parentSchema,Y._`${b}${x}`],[z.default.data,P]);if(C)O.push([W.propertyName,C])}}),fu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.boolOrEmptySchema=$.topBoolOrEmptySchema=void 0;let Y=Sw(),U=L1(),z=z5(),Q={message:"boolean schema is false"};function J(G){let{gen:H,schema:W,validateName:X}=G;if(W===!1)K(G,!1);else if(typeof W=="object"&&W.$async===!0)H.return(z.default.data);else H.assign(U._`${X}.errors`,null),H.return(!0)}$.topBoolOrEmptySchema=J;function I(G,H){let{gen:W,schema:X}=G;if(X===!1)W.var(H,!1),K(G);else W.var(H,!0)}$.boolOrEmptySchema=I;function K(G,H){let{gen:W,data:X}=G,Z={gen:W,keyword:"false schema",data:X,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:G};(0,Y.reportError)(Z,Q,void 0,H)}}),dt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.getRules=$.isJSONType=void 0;let Y=new Set(["string","number","integer","boolean","null","object","array"]);function U(Q){return typeof Q=="string"&&Y.has(Q)}$.isJSONType=U;function z(){let Q={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...Q,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},Q.number,Q.string,Q.array,Q.object],post:{rules:[]},all:{},keywords:{}}}$.getRules=z}),mt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.shouldUseRule=$.shouldUseGroup=$.schemaHasRulesForType=void 0;function Y({schema:Q,self:J},I){let K=J.RULES.types[I];return K&&K!==!0&&U(Q,K)}$.schemaHasRulesForType=Y;function U(Q,J){return J.rules.some((I)=>z(Q,I))}$.shouldUseGroup=U;function z(Q,J){var I;return Q[J.keyword]!==void 0||((I=J.definition.implements)===null||I===void 0?void 0:I.some((K)=>Q[K]!==void 0))}$.shouldUseRule=z}),hw=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.reportTypeError=$.checkDataTypes=$.checkDataType=$.coerceAndCheckDataType=$.getJSONTypes=$.getSchemaTypes=$.DataType=void 0;let Y=dt(),U=mt(),z=Sw(),Q=L1(),J=v1();var I;(function(O){O[O.Correct=0]="Correct",O[O.Wrong=1]="Wrong"})(I||($.DataType=I={}));function K(O){let D=G(O.type);if(D.includes("null")){if(O.nullable===!1)throw Error("type: null contradicts nullable: false")}else{if(!D.length&&O.nullable!==void 0)throw Error('"nullable" cannot be used without "type"');if(O.nullable===!0)D.push("null")}return D}$.getSchemaTypes=K;function G(O){let D=Array.isArray(O)?O:O?[O]:[];if(D.every(Y.isJSONType))return D;throw Error("type must be JSONType or JSONType[]: "+D.join(","))}$.getJSONTypes=G;function H(O,D){let{gen:P,data:T,opts:A}=O,j=X(D,A.coerceTypes),C=D.length>0&&!(j.length===0&&D.length===1&&(0,U.schemaHasRulesForType)(O,D[0]));if(C){let b=F(D,T,A.strictNumbers,I.Wrong);P.if(b,()=>{if(j.length)Z(O,D,j);else w(O)})}return C}$.coerceAndCheckDataType=H;let W=new Set(["string","number","integer","boolean","null"]);function X(O,D){return D?O.filter((P)=>W.has(P)||D==="array"&&P==="array"):[]}function Z(O,D,P){let{gen:T,data:A,opts:j}=O,C=T.let("dataType",Q._`typeof ${A}`),b=T.let("coerced",Q._`undefined`);if(j.coerceTypes==="array")T.if(Q._`${C} == 'object' && Array.isArray(${A}) && ${A}.length == 1`,()=>T.assign(A,Q._`${A}[0]`).assign(C,Q._`typeof ${A}`).if(F(D,A,j.strictNumbers),()=>T.assign(b,A)));T.if(Q._`${b} !== undefined`);for(let S of P)if(W.has(S)||S==="array"&&j.coerceTypes==="array")x(S);T.else(),w(O),T.endIf(),T.if(Q._`${b} !== undefined`,()=>{T.assign(A,b),q(O,b)});function x(S){switch(S){case"string":T.elseIf(Q._`${C} == "number" || ${C} == "boolean"`).assign(b,Q._`"" + ${A}`).elseIf(Q._`${A} === null`).assign(b,Q._`""`);return;case"number":T.elseIf(Q._`${C} == "boolean" || ${A} === null || (${C} == "string" && ${A} && ${A} == +${A})`).assign(b,Q._`+${A}`);return;case"integer":T.elseIf(Q._`${C} === "boolean" || ${A} === null || (${C} === "string" && ${A} && ${A} == +${A} && !(${A} % 1))`).assign(b,Q._`+${A}`);return;case"boolean":T.elseIf(Q._`${A} === "false" || ${A} === 0 || ${A} === null`).assign(b,!1).elseIf(Q._`${A} === "true" || ${A} === 1`).assign(b,!0);return;case"null":T.elseIf(Q._`${A} === "" || ${A} === 0 || ${A} === false`),T.assign(b,null);return;case"array":T.elseIf(Q._`${C} === "string" || ${C} === "number" - || ${C} === "boolean" || ${A} === null`).assign(b,Q._`[${A}]`)}}}function q({gen:O,parentData:D,parentDataProperty:P},T){O.if(Q._`${D} !== undefined`,()=>O.assign(Q._`${D}[${P}]`,T))}function V(O,D,P,T=I.Correct){let A=T===I.Correct?Q.operators.EQ:Q.operators.NEQ,j;switch(O){case"null":return Q._`${D} ${A} null`;case"array":j=Q._`Array.isArray(${D})`;break;case"object":j=Q._`${D} && typeof ${D} == "object" && !Array.isArray(${D})`;break;case"integer":j=C(Q._`!(${D} % 1) && !isNaN(${D})`);break;case"number":j=C();break;default:return Q._`typeof ${D} ${A} ${O}`}return T===I.Correct?j:(0,Q.not)(j);function C(b=Q.nil){return(0,Q.and)(Q._`typeof ${D} == "number"`,b,P?Q._`isFinite(${D})`:Q.nil)}}$.checkDataType=V;function F(O,D,P,T){if(O.length===1)return V(O[0],D,P,T);let A,j=(0,J.toHash)(O);if(j.array&&j.object){let C=Q._`typeof ${D} != "object"`;A=j.null?C:Q._`!${D} || ${C}`,delete j.null,delete j.array,delete j.object}else A=Q.nil;if(j.number)delete j.integer;for(let C in j)A=(0,Q.and)(A,V(C,D,P,T));return A}$.checkDataTypes=F;let M={message:({schema:O})=>`must be ${O}`,params:({schema:O,schemaValue:D})=>typeof O=="string"?Q._`{type: ${O}}`:Q._`{type: ${D}}`};function w(O){let D=N(O);(0,z.reportError)(D,M)}$.reportTypeError=w;function N(O){let{gen:D,data:P,schema:T}=O,A=(0,J.schemaRefOrVal)(O,T,"type");return{gen:D,keyword:"type",data:P,schema:T.type,schemaCode:A,schemaValue:A,parentSchema:T,params:{},it:O}}}),uu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.assignDefaults=void 0;let Y=L1(),U=v1();function z(J,I){let{properties:K,items:G}=J.schema;if(I==="object"&&K)for(let H in K)Q(J,H,K[H].default);else if(I==="array"&&Array.isArray(G))G.forEach((H,W)=>Q(J,W,H.default))}$.assignDefaults=z;function Q(J,I,K){let{gen:G,compositeRule:H,data:W,opts:X}=J;if(K===void 0)return;let Z=Y._`${W}${(0,Y.getProperty)(I)}`;if(H){(0,U.checkStrictMode)(J,`default is ignored for: ${Z}`);return}let q=Y._`${Z} === undefined`;if(X.useDefaults==="empty")q=Y._`${q} || ${Z} === null || ${Z} === ""`;G.if(q,Y._`${Z} = ${(0,Y.stringify)(K)}`)}}),Q5=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateUnion=$.validateArray=$.usePattern=$.callValidateCode=$.schemaProperties=$.allSchemaProperties=$.noPropertyInData=$.propertyInData=$.isOwnProperty=$.hasPropFunc=$.reportMissingProp=$.checkMissingProp=$.checkReportMissingProp=void 0;let Y=L1(),U=v1(),z=z5(),Q=v1();function J(O,D){let{gen:P,data:T,it:A}=O;P.if(X(P,T,D,A.opts.ownProperties),()=>{O.setParams({missingProperty:Y._`${D}`},!0),O.error()})}$.checkReportMissingProp=J;function I({gen:O,data:D,it:{opts:P}},T,A){return(0,Y.or)(...T.map((j)=>(0,Y.and)(X(O,D,j,P.ownProperties),Y._`${A} = ${j}`)))}$.checkMissingProp=I;function K(O,D){O.setParams({missingProperty:D},!0),O.error()}$.reportMissingProp=K;function G(O){return O.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:Y._`Object.prototype.hasOwnProperty`})}$.hasPropFunc=G;function H(O,D,P){return Y._`${G(O)}.call(${D}, ${P})`}$.isOwnProperty=H;function W(O,D,P,T){let A=Y._`${D}${(0,Y.getProperty)(P)} !== undefined`;return T?Y._`${A} && ${H(O,D,P)}`:A}$.propertyInData=W;function X(O,D,P,T){let A=Y._`${D}${(0,Y.getProperty)(P)} === undefined`;return T?(0,Y.or)(A,(0,Y.not)(H(O,D,P))):A}$.noPropertyInData=X;function Z(O){return O?Object.keys(O).filter((D)=>D!=="__proto__"):[]}$.allSchemaProperties=Z;function q(O,D){return Z(D).filter((P)=>!(0,U.alwaysValidSchema)(O,D[P]))}$.schemaProperties=q;function V({schemaCode:O,data:D,it:{gen:P,topSchemaRef:T,schemaPath:A,errorPath:j},it:C},b,x,S){let i=S?Y._`${O}, ${D}, ${T}${A}`:D,c=[[z.default.instancePath,(0,Y.strConcat)(z.default.instancePath,j)],[z.default.parentData,C.parentData],[z.default.parentDataProperty,C.parentDataProperty],[z.default.rootData,z.default.rootData]];if(C.opts.dynamicRef)c.push([z.default.dynamicAnchors,z.default.dynamicAnchors]);let z0=Y._`${i}, ${P.object(...c)}`;return x!==Y.nil?Y._`${b}.call(${x}, ${z0})`:Y._`${b}(${z0})`}$.callValidateCode=V;let F=Y._`new RegExp`;function M({gen:O,it:{opts:D}},P){let T=D.unicodeRegExp?"u":"",{regExp:A}=D.code,j=A(P,T);return O.scopeValue("pattern",{key:j.toString(),ref:j,code:Y._`${A.code==="new RegExp"?F:(0,Q.useFunc)(O,A)}(${P}, ${T})`})}$.usePattern=M;function w(O){let{gen:D,data:P,keyword:T,it:A}=O,j=D.name("valid");if(A.allErrors){let b=D.let("valid",!0);return C(()=>D.assign(b,!1)),b}return D.var(j,!0),C(()=>D.break()),j;function C(b){let x=D.const("len",Y._`${P}.length`);D.forRange("i",0,x,(S)=>{O.subschema({keyword:T,dataProp:S,dataPropType:U.Type.Num},j),D.if((0,Y.not)(j),b)})}}$.validateArray=w;function N(O){let{gen:D,schema:P,keyword:T,it:A}=O;if(!Array.isArray(P))throw Error("ajv implementation error");if(P.some((b)=>(0,U.alwaysValidSchema)(A,b))&&!A.opts.unevaluated)return;let j=D.let("valid",!1),C=D.name("_valid");D.block(()=>P.forEach((b,x)=>{let S=O.subschema({keyword:T,schemaProp:x,compositeRule:!0},C);if(D.assign(j,Y._`${j} || ${C}`),!O.mergeValidEvaluated(S,C))D.if((0,Y.not)(j))})),O.result(j,()=>O.reset(),()=>O.error(!0))}$.validateUnion=N}),bu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateKeywordUsage=$.validSchemaType=$.funcKeywordCode=$.macroKeywordCode=void 0;let Y=L1(),U=z5(),z=Q5(),Q=Sw();function J(q,V){let{gen:F,keyword:M,schema:w,parentSchema:N,it:O}=q,D=V.macro.call(O.self,w,N,O),P=W(F,M,D);if(O.opts.validateSchema!==!1)O.self.validateSchema(D,!0);let T=F.name("valid");q.subschema({schema:D,schemaPath:Y.nil,errSchemaPath:`${O.errSchemaPath}/${M}`,topSchemaRef:P,compositeRule:!0},T),q.pass(T,()=>q.error(!0))}$.macroKeywordCode=J;function I(q,V){var F;let{gen:M,keyword:w,schema:N,parentSchema:O,$data:D,it:P}=q;H(P,V);let T=W(M,w,!D&&V.compile?V.compile.call(P.self,N,O,P):V.validate),A=M.let("valid");q.block$data(A,j),q.ok((F=V.valid)!==null&&F!==void 0?F:A);function j(){if(V.errors===!1){if(x(),V.modifying)K(q);S(()=>q.error())}else{let i=V.async?C():b();if(V.modifying)K(q);S(()=>G(q,i))}}function C(){let i=M.let("ruleErrs",null);return M.try(()=>x(Y._`await `),(c)=>M.assign(A,!1).if(Y._`${c} instanceof ${P.ValidationError}`,()=>M.assign(i,Y._`${c}.errors`),()=>M.throw(c))),i}function b(){let i=Y._`${T}.errors`;return M.assign(i,null),x(Y.nil),i}function x(i=V.async?Y._`await `:Y.nil){let c=P.opts.passContext?U.default.this:U.default.self,z0=!(("compile"in V)&&!D||V.schema===!1);M.assign(A,Y._`${i}${(0,z.callValidateCode)(q,T,c,z0)}`,V.modifying)}function S(i){var c;M.if((0,Y.not)((c=V.valid)!==null&&c!==void 0?c:A),i)}}$.funcKeywordCode=I;function K(q){let{gen:V,data:F,it:M}=q;V.if(M.parentData,()=>V.assign(F,Y._`${M.parentData}[${M.parentDataProperty}]`))}function G(q,V){let{gen:F}=q;F.if(Y._`Array.isArray(${V})`,()=>{F.assign(U.default.vErrors,Y._`${U.default.vErrors} === null ? ${V} : ${U.default.vErrors}.concat(${V})`).assign(U.default.errors,Y._`${U.default.vErrors}.length`),(0,Q.extendErrors)(q)},()=>q.error())}function H({schemaEnv:q},V){if(V.async&&!q.$async)throw Error("async keyword in sync schema")}function W(q,V,F){if(F===void 0)throw Error(`keyword "${V}" failed to compile`);return q.scopeValue("keyword",typeof F=="function"?{ref:F}:{ref:F,code:(0,Y.stringify)(F)})}function X(q,V,F=!1){return!V.length||V.some((M)=>M==="array"?Array.isArray(q):M==="object"?q&&typeof q=="object"&&!Array.isArray(q):typeof q==M||F&&typeof q>"u")}$.validSchemaType=X;function Z({schema:q,opts:V,self:F,errSchemaPath:M},w,N){if(Array.isArray(w.keyword)?!w.keyword.includes(N):w.keyword!==N)throw Error("ajv implementation error");let O=w.dependencies;if(O===null||O===void 0?void 0:O.some((D)=>!Object.prototype.hasOwnProperty.call(q,D)))throw Error(`parent schema must have dependencies of ${N}: ${O.join(",")}`);if(w.validateSchema){if(!w.validateSchema(q[N])){let D=`keyword "${N}" value is invalid at path "${M}": `+F.errorsText(w.validateSchema.errors);if(V.validateSchema==="log")F.logger.error(D);else throw Error(D)}}}$.validateKeywordUsage=Z}),iu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.extendSubschemaMode=$.extendSubschemaData=$.getSubschema=void 0;let Y=L1(),U=v1();function z(I,{keyword:K,schemaProp:G,schema:H,schemaPath:W,errSchemaPath:X,topSchemaRef:Z}){if(K!==void 0&&H!==void 0)throw Error('both "keyword" and "schema" passed, only one allowed');if(K!==void 0){let q=I.schema[K];return G===void 0?{schema:q,schemaPath:Y._`${I.schemaPath}${(0,Y.getProperty)(K)}`,errSchemaPath:`${I.errSchemaPath}/${K}`}:{schema:q[G],schemaPath:Y._`${I.schemaPath}${(0,Y.getProperty)(K)}${(0,Y.getProperty)(G)}`,errSchemaPath:`${I.errSchemaPath}/${K}/${(0,U.escapeFragment)(G)}`}}if(H!==void 0){if(W===void 0||X===void 0||Z===void 0)throw Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:H,schemaPath:W,topSchemaRef:Z,errSchemaPath:X}}throw Error('either "keyword" or "schema" must be passed')}$.getSubschema=z;function Q(I,K,{dataProp:G,dataPropType:H,data:W,dataTypes:X,propertyName:Z}){if(W!==void 0&&G!==void 0)throw Error('both "data" and "dataProp" passed, only one allowed');let{gen:q}=K;if(G!==void 0){let{errorPath:F,dataPathArr:M,opts:w}=K;V(q.let("data",Y._`${K.data}${(0,Y.getProperty)(G)}`,!0)),I.errorPath=Y.str`${F}${(0,U.getErrorPath)(G,H,w.jsPropertySyntax)}`,I.parentDataProperty=Y._`${G}`,I.dataPathArr=[...M,I.parentDataProperty]}if(W!==void 0){if(V(W instanceof Y.Name?W:q.let("data",W,!0)),Z!==void 0)I.propertyName=Z}if(X)I.dataTypes=X;function V(F){I.data=F,I.dataLevel=K.dataLevel+1,I.dataTypes=[],K.definedProperties=new Set,I.parentData=K.data,I.dataNames=[...K.dataNames,F]}}$.extendSubschemaData=Q;function J(I,{jtdDiscriminator:K,jtdMetadata:G,compositeRule:H,createErrors:W,allErrors:X}){if(H!==void 0)I.compositeRule=H;if(W!==void 0)I.createErrors=W;if(X!==void 0)I.allErrors=X;I.jtdDiscriminator=K,I.jtdMetadata=G}$.extendSubschemaMode=J}),lt=R0(($,Y)=>{Y.exports=function U(z,Q){if(z===Q)return!0;if(z&&Q&&typeof z=="object"&&typeof Q=="object"){if(z.constructor!==Q.constructor)return!1;var J,I,K;if(Array.isArray(z)){if(J=z.length,J!=Q.length)return!1;for(I=J;I--!==0;)if(!U(z[I],Q[I]))return!1;return!0}if(z.constructor===RegExp)return z.source===Q.source&&z.flags===Q.flags;if(z.valueOf!==Object.prototype.valueOf)return z.valueOf()===Q.valueOf();if(z.toString!==Object.prototype.toString)return z.toString()===Q.toString();if(K=Object.keys(z),J=K.length,J!==Object.keys(Q).length)return!1;for(I=J;I--!==0;)if(!Object.prototype.hasOwnProperty.call(Q,K[I]))return!1;for(I=J;I--!==0;){var G=K[I];if(!U(z[G],Q[G]))return!1}return!0}return z!==z&&Q!==Q}}),cu0=R0(($,Y)=>{var U=Y.exports=function(J,I,K){if(typeof I=="function")K=I,I={};K=I.cb||K;var G=typeof K=="function"?K:K.pre||function(){},H=K.post||function(){};z(I,G,H,J,"",J)};U.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},U.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},U.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},U.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function z(J,I,K,G,H,W,X,Z,q,V){if(G&&typeof G=="object"&&!Array.isArray(G)){I(G,H,W,X,Z,q,V);for(var F in G){var M=G[F];if(Array.isArray(M)){if(F in U.arrayKeywords)for(var w=0;w{Object.defineProperty($,"__esModule",{value:!0}),$.getSchemaRefs=$.resolveUrl=$.normalizeId=$._getFullPath=$.getFullPath=$.inlineRef=void 0;let Y=v1(),U=lt(),z=cu0(),Q=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function J(M,w=!0){if(typeof M=="boolean")return!0;if(w===!0)return!K(M);if(!w)return!1;return G(M)<=w}$.inlineRef=J;let I=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function K(M){for(let w in M){if(I.has(w))return!0;let N=M[w];if(Array.isArray(N)&&N.some(K))return!0;if(typeof N=="object"&&K(N))return!0}return!1}function G(M){let w=0;for(let N in M){if(N==="$ref")return 1/0;if(w++,Q.has(N))continue;if(typeof M[N]=="object")(0,Y.eachItem)(M[N],(O)=>w+=G(O));if(w===1/0)return 1/0}return w}function H(M,w="",N){if(N!==!1)w=Z(w);return W(M,M.parse(w))}$.getFullPath=H;function W(M,w){return M.serialize(w).split("#")[0]+"#"}$._getFullPath=W;let X=/#\/?$/;function Z(M){return M?M.replace(X,""):""}$.normalizeId=Z;function q(M,w,N){return N=Z(N),M.resolve(w,N)}$.resolveUrl=q;let V=/^[a-z_][-a-z0-9._]*$/i;function F(M,w){if(typeof M=="boolean")return{};let{schemaId:N,uriResolver:O}=this.opts,D=Z(M[N]||w),P={"":D},T=H(O,D,!1),A={},j=new Set;return z(M,{allKeys:!0},(x,S,i,c)=>{if(c===void 0)return;let z0=T+S,k=P[c];if(typeof x[N]=="string")k=d.call(this,x[N]);t.call(this,x.$anchor),t.call(this,x.$dynamicAnchor),P[S]=k;function d($0){let g=this.opts.uriResolver.resolve;if($0=Z(k?g(k,$0):$0),j.has($0))throw b($0);j.add($0);let p=this.refs[$0];if(typeof p=="string")p=this.refs[p];if(typeof p=="object")C(x,p.schema,$0);else if($0!==Z(z0))if($0[0]==="#")C(x,A[$0],$0),A[$0]=x;else this.refs[$0]=z0;return $0}function t($0){if(typeof $0=="string"){if(!V.test($0))throw Error(`invalid anchor "${$0}"`);d.call(this,`#${$0}`)}}}),A;function C(x,S,i){if(S!==void 0&&!U(x,S))throw b(i)}function b(x){return Error(`reference "${x}" resolves to more than one schema`)}}$.getSchemaRefs=F}),yQ=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.getData=$.KeywordCxt=$.validateFunctionCode=void 0;let Y=fu0(),U=hw(),z=mt(),Q=hw(),J=uu0(),I=bu0(),K=iu0(),G=L1(),H=z5(),W=gw(),X=v1(),Z=Sw();function q(a){if(T(a)){if(j(a),P(a)){w(a);return}}V(a,()=>(0,Y.topBoolOrEmptySchema)(a))}$.validateFunctionCode=q;function V({gen:a,validateName:W0,schema:F0,schemaEnv:f0,opts:u0},c0){if(u0.code.es5)a.func(W0,G._`${H.default.data}, ${H.default.valCxt}`,f0.$async,()=>{a.code(G._`"use strict"; ${O(F0,u0)}`),M(a,u0),a.code(c0)});else a.func(W0,G._`${H.default.data}, ${F(u0)}`,f0.$async,()=>a.code(O(F0,u0)).code(c0))}function F(a){return G._`{${H.default.instancePath}="", ${H.default.parentData}, ${H.default.parentDataProperty}, ${H.default.rootData}=${H.default.data}${a.dynamicRef?G._`, ${H.default.dynamicAnchors}={}`:G.nil}}={}`}function M(a,W0){a.if(H.default.valCxt,()=>{if(a.var(H.default.instancePath,G._`${H.default.valCxt}.${H.default.instancePath}`),a.var(H.default.parentData,G._`${H.default.valCxt}.${H.default.parentData}`),a.var(H.default.parentDataProperty,G._`${H.default.valCxt}.${H.default.parentDataProperty}`),a.var(H.default.rootData,G._`${H.default.valCxt}.${H.default.rootData}`),W0.dynamicRef)a.var(H.default.dynamicAnchors,G._`${H.default.valCxt}.${H.default.dynamicAnchors}`)},()=>{if(a.var(H.default.instancePath,G._`""`),a.var(H.default.parentData,G._`undefined`),a.var(H.default.parentDataProperty,G._`undefined`),a.var(H.default.rootData,H.default.data),W0.dynamicRef)a.var(H.default.dynamicAnchors,G._`{}`)})}function w(a){let{schema:W0,opts:F0,gen:f0}=a;V(a,()=>{if(F0.$comment&&W0.$comment)c(a);if(x(a),f0.let(H.default.vErrors,null),f0.let(H.default.errors,0),F0.unevaluated)N(a);C(a),z0(a)})}function N(a){let{gen:W0,validateName:F0}=a;a.evaluated=W0.const("evaluated",G._`${F0}.evaluated`),W0.if(G._`${a.evaluated}.dynamicProps`,()=>W0.assign(G._`${a.evaluated}.props`,G._`undefined`)),W0.if(G._`${a.evaluated}.dynamicItems`,()=>W0.assign(G._`${a.evaluated}.items`,G._`undefined`))}function O(a,W0){let F0=typeof a=="object"&&a[W0.schemaId];return F0&&(W0.code.source||W0.code.process)?G._`/*# sourceURL=${F0} */`:G.nil}function D(a,W0){if(T(a)){if(j(a),P(a)){A(a,W0);return}}(0,Y.boolOrEmptySchema)(a,W0)}function P({schema:a,self:W0}){if(typeof a=="boolean")return!a;for(let F0 in a)if(W0.RULES.all[F0])return!0;return!1}function T(a){return typeof a.schema!="boolean"}function A(a,W0){let{schema:F0,gen:f0,opts:u0}=a;if(u0.$comment&&F0.$comment)c(a);S(a),i(a);let c0=f0.const("_errs",H.default.errors);C(a,c0),f0.var(W0,G._`${c0} === ${H.default.errors}`)}function j(a){(0,X.checkUnknownRules)(a),b(a)}function C(a,W0){if(a.opts.jtd)return d(a,[],!1,W0);let F0=(0,U.getSchemaTypes)(a.schema);d(a,F0,!(0,U.coerceAndCheckDataType)(a,F0),W0)}function b(a){let{schema:W0,errSchemaPath:F0,opts:f0,self:u0}=a;if(W0.$ref&&f0.ignoreKeywordsWithRef&&(0,X.schemaHasRulesButRef)(W0,u0.RULES))u0.logger.warn(`$ref: keywords ignored in schema at path "${F0}"`)}function x(a){let{schema:W0,opts:F0}=a;if(W0.default!==void 0&&F0.useDefaults&&F0.strictSchema)(0,X.checkStrictMode)(a,"default is ignored in the schema root")}function S(a){let W0=a.schema[a.opts.schemaId];if(W0)a.baseId=(0,W.resolveUrl)(a.opts.uriResolver,a.baseId,W0)}function i(a){if(a.schema.$async&&!a.schemaEnv.$async)throw Error("async schema in sync schema")}function c({gen:a,schemaEnv:W0,schema:F0,errSchemaPath:f0,opts:u0}){let c0=F0.$comment;if(u0.$comment===!0)a.code(G._`${H.default.self}.logger.log(${c0})`);else if(typeof u0.$comment=="function"){let D1=G.str`${f0}/$comment`,k1=a.scopeValue("root",{ref:W0.root});a.code(G._`${H.default.self}.opts.$comment(${c0}, ${D1}, ${k1}.schema)`)}}function z0(a){let{gen:W0,schemaEnv:F0,validateName:f0,ValidationError:u0,opts:c0}=a;if(F0.$async)W0.if(G._`${H.default.errors} === 0`,()=>W0.return(H.default.data),()=>W0.throw(G._`new ${u0}(${H.default.vErrors})`));else{if(W0.assign(G._`${f0}.errors`,H.default.vErrors),c0.unevaluated)k(a);W0.return(G._`${H.default.errors} === 0`)}}function k({gen:a,evaluated:W0,props:F0,items:f0}){if(F0 instanceof G.Name)a.assign(G._`${W0}.props`,F0);if(f0 instanceof G.Name)a.assign(G._`${W0}.items`,f0)}function d(a,W0,F0,f0){let{gen:u0,schema:c0,data:D1,allErrors:k1,opts:u1,self:b1}=a,{RULES:A0}=b1;if(c0.$ref&&(u1.ignoreKeywordsWithRef||!(0,X.schemaHasRulesButRef)(c0,A0))){u0.block(()=>G0(a,"$ref",A0.all.$ref.definition));return}if(!u1.jtd)$0(a,W0);u0.block(()=>{for(let B of A0.rules)Q0(B);Q0(A0.post)});function Q0(B){if(!(0,z.shouldUseGroup)(c0,B))return;if(B.type){if(u0.if((0,Q.checkDataType)(B.type,D1,u1.strictNumbers)),t(a,B),W0.length===1&&W0[0]===B.type&&F0)u0.else(),(0,Q.reportTypeError)(a);u0.endIf()}else t(a,B);if(!k1)u0.if(G._`${H.default.errors} === ${f0||0}`)}}function t(a,W0){let{gen:F0,schema:f0,opts:{useDefaults:u0}}=a;if(u0)(0,J.assignDefaults)(a,W0.type);F0.block(()=>{for(let c0 of W0.rules)if((0,z.shouldUseRule)(f0,c0))G0(a,c0.keyword,c0.definition,W0.type)})}function $0(a,W0){if(a.schemaEnv.meta||!a.opts.strictTypes)return;if(g(a,W0),!a.opts.allowUnionTypes)p(a,W0);e(a,a.dataTypes)}function g(a,W0){if(!W0.length)return;if(!a.dataTypes.length){a.dataTypes=W0;return}W0.forEach((F0)=>{if(!s(a.dataTypes,F0))N0(a,`type "${F0}" not allowed by context "${a.dataTypes.join(",")}"`)}),Y0(a,W0)}function p(a,W0){if(W0.length>1&&!(W0.length===2&&W0.includes("null")))N0(a,"use allowUnionTypes to allow union type keyword")}function e(a,W0){let F0=a.self.RULES.all;for(let f0 in F0){let u0=F0[f0];if(typeof u0=="object"&&(0,z.shouldUseRule)(a.schema,u0)){let{type:c0}=u0.definition;if(c0.length&&!c0.some((D1)=>y(W0,D1)))N0(a,`missing type "${c0.join(",")}" for keyword "${f0}"`)}}}function y(a,W0){return a.includes(W0)||W0==="number"&&a.includes("integer")}function s(a,W0){return a.includes(W0)||W0==="integer"&&a.includes("number")}function Y0(a,W0){let F0=[];for(let f0 of a.dataTypes)if(s(W0,f0))F0.push(f0);else if(W0.includes("integer")&&f0==="number")F0.push("integer");a.dataTypes=F0}function N0(a,W0){let F0=a.schemaEnv.baseId+a.errSchemaPath;W0+=` at "${F0}" (strictTypes)`,(0,X.checkStrictMode)(a,W0,a.opts.strictTypes)}var E0=class{constructor(a,W0,F0){if((0,I.validateKeywordUsage)(a,W0,F0),this.gen=a.gen,this.allErrors=a.allErrors,this.keyword=F0,this.data=a.data,this.schema=a.schema[F0],this.$data=W0.$data&&a.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,X.schemaRefOrVal)(a,this.schema,F0,this.$data),this.schemaType=W0.schemaType,this.parentSchema=a.schema,this.params={},this.it=a,this.def=W0,this.$data)this.schemaCode=a.gen.const("vSchema",Y1(this.$data,a));else if(this.schemaCode=this.schemaValue,!(0,I.validSchemaType)(this.schema,W0.schemaType,W0.allowUndefined))throw Error(`${F0} value must be ${JSON.stringify(W0.schemaType)}`);if("code"in W0?W0.trackErrors:W0.errors!==!1)this.errsCount=a.gen.const("_errs",H.default.errors)}result(a,W0,F0){this.failResult((0,G.not)(a),W0,F0)}failResult(a,W0,F0){if(this.gen.if(a),F0)F0();else this.error();if(W0){if(this.gen.else(),W0(),this.allErrors)this.gen.endIf()}else if(this.allErrors)this.gen.endIf();else this.gen.else()}pass(a,W0){this.failResult((0,G.not)(a),void 0,W0)}fail(a){if(a===void 0){if(this.error(),!this.allErrors)this.gen.if(!1);return}if(this.gen.if(a),this.error(),this.allErrors)this.gen.endIf();else this.gen.else()}fail$data(a){if(!this.$data)return this.fail(a);let{schemaCode:W0}=this;this.fail(G._`${W0} !== undefined && (${(0,G.or)(this.invalid$data(),a)})`)}error(a,W0,F0){if(W0){this.setParams(W0),this._error(a,F0),this.setParams({});return}this._error(a,F0)}_error(a,W0){(a?Z.reportExtraError:Z.reportError)(this,this.def.error,W0)}$dataError(){(0,Z.reportError)(this,this.def.$dataError||Z.keyword$DataError)}reset(){if(this.errsCount===void 0)throw Error('add "trackErrors" to keyword definition');(0,Z.resetErrorsCount)(this.gen,this.errsCount)}ok(a){if(!this.allErrors)this.gen.if(a)}setParams(a,W0){if(W0)Object.assign(this.params,a);else this.params=a}block$data(a,W0,F0=G.nil){this.gen.block(()=>{this.check$data(a,F0),W0()})}check$data(a=G.nil,W0=G.nil){if(!this.$data)return;let{gen:F0,schemaCode:f0,schemaType:u0,def:c0}=this;if(F0.if((0,G.or)(G._`${f0} === undefined`,W0)),a!==G.nil)F0.assign(a,!0);if(u0.length||c0.validateSchema){if(F0.elseIf(this.invalid$data()),this.$dataError(),a!==G.nil)F0.assign(a,!1)}F0.else()}invalid$data(){let{gen:a,schemaCode:W0,schemaType:F0,def:f0,it:u0}=this;return(0,G.or)(c0(),D1());function c0(){if(F0.length){if(!(W0 instanceof G.Name))throw Error("ajv implementation error");let k1=Array.isArray(F0)?F0:[F0];return G._`${(0,Q.checkDataTypes)(k1,W0,u0.opts.strictNumbers,Q.DataType.Wrong)}`}return G.nil}function D1(){if(f0.validateSchema){let k1=a.scopeValue("validate$data",{ref:f0.validateSchema});return G._`!${k1}(${W0})`}return G.nil}}subschema(a,W0){let F0=(0,K.getSubschema)(this.it,a);(0,K.extendSubschemaData)(F0,this.it,a),(0,K.extendSubschemaMode)(F0,a);let f0={...this.it,...F0,items:void 0,props:void 0};return D(f0,W0),f0}mergeEvaluated(a,W0){let{it:F0,gen:f0}=this;if(!F0.opts.unevaluated)return;if(F0.props!==!0&&a.props!==void 0)F0.props=X.mergeEvaluated.props(f0,a.props,F0.props,W0);if(F0.items!==!0&&a.items!==void 0)F0.items=X.mergeEvaluated.items(f0,a.items,F0.items,W0)}mergeValidEvaluated(a,W0){let{it:F0,gen:f0}=this;if(F0.opts.unevaluated&&(F0.props!==!0||F0.items!==!0))return f0.if(W0,()=>this.mergeEvaluated(a,G.Name)),!0}};$.KeywordCxt=E0;function G0(a,W0,F0,f0){let u0=new E0(a,F0,W0);if("code"in F0)F0.code(u0,f0);else if(u0.$data&&F0.validate)(0,I.funcKeywordCode)(u0,F0);else if("macro"in F0)(0,I.macroKeywordCode)(u0,F0);else if(F0.compile||F0.validate)(0,I.funcKeywordCode)(u0,F0)}let T0=/^\/(?:[^~]|~0|~1)*$/,i0=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Y1(a,{dataLevel:W0,dataNames:F0,dataPathArr:f0}){let u0,c0;if(a==="")return H.default.rootData;if(a[0]==="/"){if(!T0.test(a))throw Error(`Invalid JSON-pointer: ${a}`);u0=a,c0=H.default.rootData}else{let b1=i0.exec(a);if(!b1)throw Error(`Invalid JSON-pointer: ${a}`);let A0=+b1[1];if(u0=b1[2],u0==="#"){if(A0>=W0)throw Error(u1("property/index",A0));return f0[W0-A0]}if(A0>W0)throw Error(u1("data",A0));if(c0=F0[W0-A0],!u0)return c0}let D1=c0,k1=u0.split("/");for(let b1 of k1)if(b1)c0=G._`${c0}${(0,G.getProperty)((0,X.unescapeJsonPointer)(b1))}`,D1=G._`${D1} && ${c0}`;return D1;function u1(b1,A0){return`Cannot access ${b1} ${A0} levels up, current level is ${W0}`}}$.getData=Y1}),LH=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});var Y=class extends Error{constructor(U){super("validation failed");this.errors=U,this.ajv=this.validation=!0}};$.default=Y}),kQ=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=gw();var U=class extends Error{constructor(z,Q,J,I){super(I||`can't resolve reference ${J} from id ${Q}`);this.missingRef=(0,Y.resolveUrl)(z,Q,J),this.missingSchema=(0,Y.normalizeId)((0,Y.getFullPath)(z,this.missingRef))}};$.default=U}),yw=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.resolveSchema=$.getCompilingSchema=$.resolveRef=$.compileSchema=$.SchemaEnv=void 0;let Y=L1(),U=LH(),z=z5(),Q=gw(),J=v1(),I=yQ();var K=class{constructor(w){var N;this.refs={},this.dynamicAnchors={};let O;if(typeof w.schema=="object")O=w.schema;this.schema=w.schema,this.schemaId=w.schemaId,this.root=w.root||this,this.baseId=(N=w.baseId)!==null&&N!==void 0?N:(0,Q.normalizeId)(O===null||O===void 0?void 0:O[w.schemaId||"$id"]),this.schemaPath=w.schemaPath,this.localRefs=w.localRefs,this.meta=w.meta,this.$async=O===null||O===void 0?void 0:O.$async,this.refs={}}};$.SchemaEnv=K;function G(w){let N=X.call(this,w);if(N)return N;let O=(0,Q.getFullPath)(this.opts.uriResolver,w.root.baseId),{es5:D,lines:P}=this.opts.code,{ownProperties:T}=this.opts,A=new Y.CodeGen(this.scope,{es5:D,lines:P,ownProperties:T}),j;if(w.$async)j=A.scopeValue("Error",{ref:U.default,code:Y._`require("ajv/dist/runtime/validation_error").default`});let C=A.scopeName("validate");w.validateName=C;let b={gen:A,allErrors:this.opts.allErrors,data:z.default.data,parentData:z.default.parentData,parentDataProperty:z.default.parentDataProperty,dataNames:[z.default.data],dataPathArr:[Y.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:A.scopeValue("schema",this.opts.code.source===!0?{ref:w.schema,code:(0,Y.stringify)(w.schema)}:{ref:w.schema}),validateName:C,ValidationError:j,schema:w.schema,schemaEnv:w,rootId:O,baseId:w.baseId||O,schemaPath:Y.nil,errSchemaPath:w.schemaPath||(this.opts.jtd?"":"#"),errorPath:Y._`""`,opts:this.opts,self:this},x;try{this._compilations.add(w),(0,I.validateFunctionCode)(b),A.optimize(this.opts.code.optimize);let S=A.toString();if(x=`${A.scopeRefs(z.default.scope)}return ${S}`,this.opts.code.process)x=this.opts.code.process(x,w);let i=Function(`${z.default.self}`,`${z.default.scope}`,x)(this,this.scope.get());if(this.scope.value(C,{ref:i}),i.errors=null,i.schema=w.schema,i.schemaEnv=w,w.$async)i.$async=!0;if(this.opts.code.source===!0)i.source={validateName:C,validateCode:S,scopeValues:A._values};if(this.opts.unevaluated){let{props:c,items:z0}=b;if(i.evaluated={props:c instanceof Y.Name?void 0:c,items:z0 instanceof Y.Name?void 0:z0,dynamicProps:c instanceof Y.Name,dynamicItems:z0 instanceof Y.Name},i.source)i.source.evaluated=(0,Y.stringify)(i.evaluated)}return w.validate=i,w}catch(S){if(delete w.validate,delete w.validateName,x)this.logger.error("Error compiling schema, function code:",x);throw S}finally{this._compilations.delete(w)}}$.compileSchema=G;function H(w,N,O){var D;O=(0,Q.resolveUrl)(this.opts.uriResolver,N,O);let P=w.refs[O];if(P)return P;let T=q.call(this,w,O);if(T===void 0){let A=(D=w.localRefs)===null||D===void 0?void 0:D[O],{schemaId:j}=this.opts;if(A)T=new K({schema:A,schemaId:j,root:w,baseId:N})}if(T===void 0)return;return w.refs[O]=W.call(this,T)}$.resolveRef=H;function W(w){if((0,Q.inlineRef)(w.schema,this.opts.inlineRefs))return w.schema;return w.validate?w:G.call(this,w)}function X(w){for(let N of this._compilations)if(Z(N,w))return N}$.getCompilingSchema=X;function Z(w,N){return w.schema===N.schema&&w.root===N.root&&w.baseId===N.baseId}function q(w,N){let O;while(typeof(O=this.refs[N])=="string")N=O;return O||this.schemas[N]||V.call(this,w,N)}function V(w,N){let O=this.opts.uriResolver.parse(N),D=(0,Q._getFullPath)(this.opts.uriResolver,O),P=(0,Q.getFullPath)(this.opts.uriResolver,w.baseId,void 0);if(Object.keys(w.schema).length>0&&D===P)return M.call(this,O,w);let T=(0,Q.normalizeId)(D),A=this.refs[T]||this.schemas[T];if(typeof A=="string"){let j=V.call(this,w,A);if(typeof(j===null||j===void 0?void 0:j.schema)!=="object")return;return M.call(this,O,j)}if(typeof(A===null||A===void 0?void 0:A.schema)!=="object")return;if(!A.validate)G.call(this,A);if(T===(0,Q.normalizeId)(N)){let{schema:j}=A,{schemaId:C}=this.opts,b=j[C];if(b)P=(0,Q.resolveUrl)(this.opts.uriResolver,P,b);return new K({schema:j,schemaId:C,root:w,baseId:P})}return M.call(this,O,A)}$.resolveSchema=V;let F=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function M(w,{baseId:N,schema:O,root:D}){var P;if(((P=w.fragment)===null||P===void 0?void 0:P[0])!=="/")return;for(let j of w.fragment.slice(1).split("/")){if(typeof O==="boolean")return;let C=O[(0,J.unescapeFragment)(j)];if(C===void 0)return;O=C;let b=typeof O==="object"&&O[this.opts.schemaId];if(!F.has(j)&&b)N=(0,Q.resolveUrl)(this.opts.uriResolver,N,b)}let T;if(typeof O!="boolean"&&O.$ref&&!(0,J.schemaHasRulesButRef)(O,this.RULES)){let j=(0,Q.resolveUrl)(this.opts.uriResolver,N,O.$ref);T=V.call(this,D,j)}let{schemaId:A}=this.opts;if(T=T||new K({schema:O,schemaId:A,root:D,baseId:N}),T.schema!==T.root.schema)return T}}),nu0=R0(($,Y)=>{Y.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}}),ot=R0(($,Y)=>{let U=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),z=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);function Q(V){let F="",M=0,w=0;for(w=0;w=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102))return"";F+=V[w];break}for(w+=1;w=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102))return"";F+=V[w]}return F}let J=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function I(V){return V.length=0,!0}function K(V,F,M){if(V.length){let w=Q(V);if(w!=="")F.push(w);else return M.error=!0,!1;V.length=0}return!0}function G(V){let F=0,M={error:!1,address:"",zone:""},w=[],N=[],O=!1,D=!1,P=K;for(let T=0;T7){M.error=!0;break}if(T>0&&V[T-1]===":")O=!0;w.push(":");continue}else if(A==="%"){if(!P(N,w,M))break;P=I}else{N.push(A);continue}}if(N.length)if(P===I)M.zone=N.join("");else if(D)w.push(N.join(""));else w.push(Q(N));return M.address=w.join(""),M}function H(V){if(W(V,":")<2)return{host:V,isIPV6:!1};let F=G(V);if(!F.error){let{address:M,address:w}=F;if(F.zone)M+="%"+F.zone,w+="%25"+F.zone;return{host:M,isIPV6:!0,escapedHost:w}}else return{host:V,isIPV6:!1}}function W(V,F){let M=0;for(let w=0;w{let{isUUID:U}=ot(),z=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,Q=["http","https","ws","wss","urn","urn:uuid"];function J(A){return Q.indexOf(A)!==-1}function I(A){if(A.secure===!0)return!0;else if(A.secure===!1)return!1;else if(A.scheme)return A.scheme.length===3&&(A.scheme[0]==="w"||A.scheme[0]==="W")&&(A.scheme[1]==="s"||A.scheme[1]==="S")&&(A.scheme[2]==="s"||A.scheme[2]==="S");else return!1}function K(A){if(!A.host)A.error=A.error||"HTTP URIs must have a host.";return A}function G(A){let j=String(A.scheme).toLowerCase()==="https";if(A.port===(j?443:80)||A.port==="")A.port=void 0;if(!A.path)A.path="/";return A}function H(A){return A.secure=I(A),A.resourceName=(A.path||"/")+(A.query?"?"+A.query:""),A.path=void 0,A.query=void 0,A}function W(A){if(A.port===(I(A)?443:80)||A.port==="")A.port=void 0;if(typeof A.secure==="boolean")A.scheme=A.secure?"wss":"ws",A.secure=void 0;if(A.resourceName){let[j,C]=A.resourceName.split("?");A.path=j&&j!=="/"?j:void 0,A.query=C,A.resourceName=void 0}return A.fragment=void 0,A}function X(A,j){if(!A.path)return A.error="URN can not be parsed",A;let C=A.path.match(z);if(C){let b=j.scheme||A.scheme||"urn";A.nid=C[1].toLowerCase(),A.nss=C[2];let x=T(`${b}:${j.nid||A.nid}`);if(A.path=void 0,x)A=x.parse(A,j)}else A.error=A.error||"URN can not be parsed.";return A}function Z(A,j){if(A.nid===void 0)throw Error("URN without nid cannot be serialized");let C=j.scheme||A.scheme||"urn",b=A.nid.toLowerCase(),x=T(`${C}:${j.nid||b}`);if(x)A=x.serialize(A,j);let S=A,i=A.nss;return S.path=`${b||j.nid}:${i}`,j.skipEscape=!0,S}function q(A,j){let C=A;if(C.uuid=C.nss,C.nss=void 0,!j.tolerant&&(!C.uuid||!U(C.uuid)))C.error=C.error||"UUID is not valid.";return C}function V(A){let j=A;return j.nss=(A.uuid||"").toLowerCase(),j}let F={scheme:"http",domainHost:!0,parse:K,serialize:G},M={scheme:"https",domainHost:F.domainHost,parse:K,serialize:G},w={scheme:"ws",domainHost:!0,parse:H,serialize:W},N={scheme:"wss",domainHost:w.domainHost,parse:w.parse,serialize:w.serialize},P={http:F,https:M,ws:w,wss:N,urn:{scheme:"urn",parse:X,serialize:Z,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:q,serialize:V,skipNormalize:!0}};Object.setPrototypeOf(P,null);function T(A){return A&&(P[A]||P[A.toLowerCase()])||void 0}Y.exports={wsIsSecure:I,SCHEMES:P,isValidSchemeName:J,getSchemeHandler:T}}),du0=R0(($,Y)=>{let{normalizeIPv6:U,removeDotSegments:z,recomposeAuthority:Q,normalizeComponentEncoding:J,isIPv4:I,nonSimpleDomain:K}=ot(),{SCHEMES:G,getSchemeHandler:H}=pu0();function W(N,O){if(typeof N==="string")N=V(M(N,O),O);else if(typeof N==="object")N=M(V(N,O),O);return N}function X(N,O,D){let P=D?Object.assign({scheme:"null"},D):{scheme:"null"},T=Z(M(N,P),M(O,P),P,!0);return P.skipEscape=!0,V(T,P)}function Z(N,O,D,P){let T={};if(!P)N=M(V(N,D),D),O=M(V(O,D),D);if(D=D||{},!D.tolerant&&O.scheme)T.scheme=O.scheme,T.userinfo=O.userinfo,T.host=O.host,T.port=O.port,T.path=z(O.path||""),T.query=O.query;else{if(O.userinfo!==void 0||O.host!==void 0||O.port!==void 0)T.userinfo=O.userinfo,T.host=O.host,T.port=O.port,T.path=z(O.path||""),T.query=O.query;else{if(!O.path)if(T.path=N.path,O.query!==void 0)T.query=O.query;else T.query=N.query;else{if(O.path[0]==="/")T.path=z(O.path);else{if((N.userinfo!==void 0||N.host!==void 0||N.port!==void 0)&&!N.path)T.path="/"+O.path;else if(!N.path)T.path=O.path;else T.path=N.path.slice(0,N.path.lastIndexOf("/")+1)+O.path;T.path=z(T.path)}T.query=O.query}T.userinfo=N.userinfo,T.host=N.host,T.port=N.port}T.scheme=N.scheme}return T.fragment=O.fragment,T}function q(N,O,D){if(typeof N==="string")N=unescape(N),N=V(J(M(N,D),!0),{...D,skipEscape:!0});else if(typeof N==="object")N=V(J(N,!0),{...D,skipEscape:!0});if(typeof O==="string")O=unescape(O),O=V(J(M(O,D),!0),{...D,skipEscape:!0});else if(typeof O==="object")O=V(J(O,!0),{...D,skipEscape:!0});return N.toLowerCase()===O.toLowerCase()}function V(N,O){let D={host:N.host,scheme:N.scheme,userinfo:N.userinfo,port:N.port,path:N.path,query:N.query,nid:N.nid,nss:N.nss,uuid:N.uuid,fragment:N.fragment,reference:N.reference,resourceName:N.resourceName,secure:N.secure,error:""},P=Object.assign({},O),T=[],A=H(P.scheme||D.scheme);if(A&&A.serialize)A.serialize(D,P);if(D.path!==void 0)if(!P.skipEscape){if(D.path=escape(D.path),D.scheme!==void 0)D.path=D.path.split("%3A").join(":")}else D.path=unescape(D.path);if(P.reference!=="suffix"&&D.scheme)T.push(D.scheme,":");let j=Q(D);if(j!==void 0){if(P.reference!=="suffix")T.push("//");if(T.push(j),D.path&&D.path[0]!=="/")T.push("/")}if(D.path!==void 0){let C=D.path;if(!P.absolutePath&&(!A||!A.absolutePath))C=z(C);if(j===void 0&&C[0]==="/"&&C[1]==="/")C="/%2F"+C.slice(2);T.push(C)}if(D.query!==void 0)T.push("?",D.query);if(D.fragment!==void 0)T.push("#",D.fragment);return T.join("")}let F=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function M(N,O){let D=Object.assign({},O),P={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},T=!1;if(D.reference==="suffix")if(D.scheme)N=D.scheme+":"+N;else N="//"+N;let A=N.match(F);if(A){if(P.scheme=A[1],P.userinfo=A[3],P.host=A[4],P.port=parseInt(A[5],10),P.path=A[6]||"",P.query=A[7],P.fragment=A[8],isNaN(P.port))P.port=A[5];if(P.host)if(I(P.host)===!1){let C=U(P.host);P.host=C.host.toLowerCase(),T=C.isIPV6}else T=!0;if(P.scheme===void 0&&P.userinfo===void 0&&P.host===void 0&&P.port===void 0&&P.query===void 0&&!P.path)P.reference="same-document";else if(P.scheme===void 0)P.reference="relative";else if(P.fragment===void 0)P.reference="absolute";else P.reference="uri";if(D.reference&&D.reference!=="suffix"&&D.reference!==P.reference)P.error=P.error||"URI is not a "+D.reference+" reference.";let j=H(D.scheme||P.scheme);if(!D.unicodeSupport&&(!j||!j.unicodeSupport)){if(P.host&&(D.domainHost||j&&j.domainHost)&&T===!1&&K(P.host))try{P.host=URL.domainToASCII(P.host.toLowerCase())}catch(C){P.error=P.error||"Host's domain name can not be converted to ASCII: "+C}}if(!j||j&&!j.skipNormalize){if(N.indexOf("%")!==-1){if(P.scheme!==void 0)P.scheme=unescape(P.scheme);if(P.host!==void 0)P.host=unescape(P.host)}if(P.path)P.path=escape(unescape(P.path));if(P.fragment)P.fragment=encodeURI(decodeURIComponent(P.fragment))}if(j&&j.parse)j.parse(P,D)}else P.error=P.error||"URI can not be parsed.";return P}let w={SCHEMES:G,normalize:W,resolve:X,resolveComponent:Z,equal:q,serialize:V,parse:M};Y.exports=w,Y.exports.default=w,Y.exports.fastUri=w}),mu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=du0();Y.code='require("ajv/dist/runtime/uri").default',$.default=Y}),IS=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=void 0;var Y=yQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return Y.KeywordCxt}});var U=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return U._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return U.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return U.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return U.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return U.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return U.CodeGen}});let z=LH(),Q=kQ(),J=dt(),I=yw(),K=L1(),G=gw(),H=hw(),W=v1(),X=nu0(),Z=mu0(),q=(g,p)=>new RegExp(g,p);q.code="new RegExp";let V=["removeAdditional","useDefaults","coerceTypes"],F=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),M={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},w={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},N=200;function O(g){var p,e,y,s,Y0,N0,E0,G0,T0,i0,Y1,a,W0,F0,f0,u0,c0,D1,k1,u1,b1,A0,Q0,B,v;let u=g.strict,r=(p=g.code)===null||p===void 0?void 0:p.optimize,X0=r===!0||r===void 0?1:r||0,J0=(y=(e=g.code)===null||e===void 0?void 0:e.regExp)!==null&&y!==void 0?y:q,q0=(s=g.uriResolver)!==null&&s!==void 0?s:Z.default;return{strictSchema:(N0=(Y0=g.strictSchema)!==null&&Y0!==void 0?Y0:u)!==null&&N0!==void 0?N0:!0,strictNumbers:(G0=(E0=g.strictNumbers)!==null&&E0!==void 0?E0:u)!==null&&G0!==void 0?G0:!0,strictTypes:(i0=(T0=g.strictTypes)!==null&&T0!==void 0?T0:u)!==null&&i0!==void 0?i0:"log",strictTuples:(a=(Y1=g.strictTuples)!==null&&Y1!==void 0?Y1:u)!==null&&a!==void 0?a:"log",strictRequired:(F0=(W0=g.strictRequired)!==null&&W0!==void 0?W0:u)!==null&&F0!==void 0?F0:!1,code:g.code?{...g.code,optimize:X0,regExp:J0}:{optimize:X0,regExp:J0},loopRequired:(f0=g.loopRequired)!==null&&f0!==void 0?f0:N,loopEnum:(u0=g.loopEnum)!==null&&u0!==void 0?u0:N,meta:(c0=g.meta)!==null&&c0!==void 0?c0:!0,messages:(D1=g.messages)!==null&&D1!==void 0?D1:!0,inlineRefs:(k1=g.inlineRefs)!==null&&k1!==void 0?k1:!0,schemaId:(u1=g.schemaId)!==null&&u1!==void 0?u1:"$id",addUsedSchema:(b1=g.addUsedSchema)!==null&&b1!==void 0?b1:!0,validateSchema:(A0=g.validateSchema)!==null&&A0!==void 0?A0:!0,validateFormats:(Q0=g.validateFormats)!==null&&Q0!==void 0?Q0:!0,unicodeRegExp:(B=g.unicodeRegExp)!==null&&B!==void 0?B:!0,int32range:(v=g.int32range)!==null&&v!==void 0?v:!0,uriResolver:q0}}var D=class{constructor(g={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,g=this.opts={...g,...O(g)};let{es5:p,lines:e}=this.opts.code;this.scope=new K.ValueScope({scope:{},prefixes:F,es5:p,lines:e}),this.logger=S(g.logger);let y=g.validateFormats;if(g.validateFormats=!1,this.RULES=(0,J.getRules)(),P.call(this,M,g,"NOT SUPPORTED"),P.call(this,w,g,"DEPRECATED","warn"),this._metaOpts=b.call(this),g.formats)j.call(this);if(this._addVocabularies(),this._addDefaultMetaSchema(),g.keywords)C.call(this,g.keywords);if(typeof g.meta=="object")this.addMetaSchema(g.meta);A.call(this),g.validateFormats=y}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:g,meta:p,schemaId:e}=this.opts,y=X;if(e==="id")y={...X},y.id=y.$id,delete y.$id;if(p&&g)this.addMetaSchema(y,y[e],!1)}defaultMeta(){let{meta:g,schemaId:p}=this.opts;return this.opts.defaultMeta=typeof g=="object"?g[p]||g:void 0}validate(g,p){let e;if(typeof g=="string"){if(e=this.getSchema(g),!e)throw Error(`no schema with key or ref "${g}"`)}else e=this.compile(g);let y=e(p);if(!("$async"in e))this.errors=e.errors;return y}compile(g,p){let e=this._addSchema(g,p);return e.validate||this._compileSchemaEnv(e)}compileAsync(g,p){if(typeof this.opts.loadSchema!="function")throw Error("options.loadSchema should be a function");let{loadSchema:e}=this.opts;return y.call(this,g,p);async function y(T0,i0){await s.call(this,T0.$schema);let Y1=this._addSchema(T0,i0);return Y1.validate||Y0.call(this,Y1)}async function s(T0){if(T0&&!this.getSchema(T0))await y.call(this,{$ref:T0},!0)}async function Y0(T0){try{return this._compileSchemaEnv(T0)}catch(i0){if(!(i0 instanceof Q.default))throw i0;return N0.call(this,i0),await E0.call(this,i0.missingSchema),Y0.call(this,T0)}}function N0({missingSchema:T0,missingRef:i0}){if(this.refs[T0])throw Error(`AnySchema ${T0} is loaded but ${i0} cannot be resolved`)}async function E0(T0){let i0=await G0.call(this,T0);if(!this.refs[T0])await s.call(this,i0.$schema);if(!this.refs[T0])this.addSchema(i0,T0,p)}async function G0(T0){let i0=this._loading[T0];if(i0)return i0;try{return await(this._loading[T0]=e(T0))}finally{delete this._loading[T0]}}}addSchema(g,p,e,y=this.opts.validateSchema){if(Array.isArray(g)){for(let Y0 of g)this.addSchema(Y0,void 0,e,y);return this}let s;if(typeof g==="object"){let{schemaId:Y0}=this.opts;if(s=g[Y0],s!==void 0&&typeof s!="string")throw Error(`schema ${Y0} must be string`)}return p=(0,G.normalizeId)(p||s),this._checkUnique(p),this.schemas[p]=this._addSchema(g,e,p,y,!0),this}addMetaSchema(g,p,e=this.opts.validateSchema){return this.addSchema(g,p,!0,e),this}validateSchema(g,p){if(typeof g=="boolean")return!0;let e;if(e=g.$schema,e!==void 0&&typeof e!="string")throw Error("$schema must be a string");if(e=e||this.opts.defaultMeta||this.defaultMeta(),!e)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let y=this.validate(e,g);if(!y&&p){let s="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(s);else throw Error(s)}return y}getSchema(g){let p;while(typeof(p=T.call(this,g))=="string")g=p;if(p===void 0){let{schemaId:e}=this.opts,y=new I.SchemaEnv({schema:{},schemaId:e});if(p=I.resolveSchema.call(this,y,g),!p)return;this.refs[g]=p}return p.validate||this._compileSchemaEnv(p)}removeSchema(g){if(g instanceof RegExp)return this._removeAllSchemas(this.schemas,g),this._removeAllSchemas(this.refs,g),this;switch(typeof g){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let p=T.call(this,g);if(typeof p=="object")this._cache.delete(p.schema);return delete this.schemas[g],delete this.refs[g],this}case"object":{let p=g;this._cache.delete(p);let e=g[this.opts.schemaId];if(e)e=(0,G.normalizeId)(e),delete this.schemas[e],delete this.refs[e];return this}default:throw Error("ajv.removeSchema: invalid parameter")}}addVocabulary(g){for(let p of g)this.addKeyword(p);return this}addKeyword(g,p){let e;if(typeof g=="string"){if(e=g,typeof p=="object")this.logger.warn("these parameters are deprecated, see docs for addKeyword"),p.keyword=e}else if(typeof g=="object"&&p===void 0){if(p=g,e=p.keyword,Array.isArray(e)&&!e.length)throw Error("addKeywords: keyword must be string or non-empty array")}else throw Error("invalid addKeywords parameters");if(c.call(this,e,p),!p)return(0,W.eachItem)(e,(s)=>z0.call(this,s)),this;d.call(this,p);let y={...p,type:(0,H.getJSONTypes)(p.type),schemaType:(0,H.getJSONTypes)(p.schemaType)};return(0,W.eachItem)(e,y.type.length===0?(s)=>z0.call(this,s,y):(s)=>y.type.forEach((Y0)=>z0.call(this,s,y,Y0))),this}getKeyword(g){let p=this.RULES.all[g];return typeof p=="object"?p.definition:!!p}removeKeyword(g){let{RULES:p}=this;delete p.keywords[g],delete p.all[g];for(let e of p.rules){let y=e.rules.findIndex((s)=>s.keyword===g);if(y>=0)e.rules.splice(y,1)}return this}addFormat(g,p){if(typeof p=="string")p=new RegExp(p);return this.formats[g]=p,this}errorsText(g=this.errors,{separator:p=", ",dataVar:e="data"}={}){if(!g||g.length===0)return"No errors";return g.map((y)=>`${e}${y.instancePath} ${y.message}`).reduce((y,s)=>y+p+s)}$dataMetaSchema(g,p){let e=this.RULES.all;g=JSON.parse(JSON.stringify(g));for(let y of p){let s=y.split("/").slice(1),Y0=g;for(let N0 of s)Y0=Y0[N0];for(let N0 in e){let E0=e[N0];if(typeof E0!="object")continue;let{$data:G0}=E0.definition,T0=Y0[N0];if(G0&&T0)Y0[N0]=$0(T0)}}return g}_removeAllSchemas(g,p){for(let e in g){let y=g[e];if(!p||p.test(e)){if(typeof y=="string")delete g[e];else if(y&&!y.meta)this._cache.delete(y.schema),delete g[e]}}}_addSchema(g,p,e,y=this.opts.validateSchema,s=this.opts.addUsedSchema){let Y0,{schemaId:N0}=this.opts;if(typeof g=="object")Y0=g[N0];else if(this.opts.jtd)throw Error("schema must be object");else if(typeof g!="boolean")throw Error("schema must be object or boolean");let E0=this._cache.get(g);if(E0!==void 0)return E0;e=(0,G.normalizeId)(Y0||e);let G0=G.getSchemaRefs.call(this,g,e);if(E0=new I.SchemaEnv({schema:g,schemaId:N0,meta:p,baseId:e,localRefs:G0}),this._cache.set(E0.schema,E0),s&&!e.startsWith("#")){if(e)this._checkUnique(e);this.refs[e]=E0}if(y)this.validateSchema(g,!0);return E0}_checkUnique(g){if(this.schemas[g]||this.refs[g])throw Error(`schema with key or id "${g}" already exists`)}_compileSchemaEnv(g){if(g.meta)this._compileMetaSchema(g);else I.compileSchema.call(this,g);if(!g.validate)throw Error("ajv implementation error");return g.validate}_compileMetaSchema(g){let p=this.opts;this.opts=this._metaOpts;try{I.compileSchema.call(this,g)}finally{this.opts=p}}};D.ValidationError=z.default,D.MissingRefError=Q.default,$.default=D;function P(g,p,e,y="error"){for(let s in g){let Y0=s;if(Y0 in p)this.logger[y](`${e}: option ${s}. ${g[Y0]}`)}}function T(g){return g=(0,G.normalizeId)(g),this.schemas[g]||this.refs[g]}function A(){let g=this.opts.schemas;if(!g)return;if(Array.isArray(g))this.addSchema(g);else for(let p in g)this.addSchema(g[p],p)}function j(){for(let g in this.opts.formats){let p=this.opts.formats[g];if(p)this.addFormat(g,p)}}function C(g){if(Array.isArray(g)){this.addVocabulary(g);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let p in g){let e=g[p];if(!e.keyword)e.keyword=p;this.addKeyword(e)}}function b(){let g={...this.opts};for(let p of V)delete g[p];return g}let x={log(){},warn(){},error(){}};function S(g){if(g===!1)return x;if(g===void 0)return console;if(g.log&&g.warn&&g.error)return g;throw Error("logger must implement log, warn and error methods")}let i=/^[a-z_$][a-z0-9_$:-]*$/i;function c(g,p){let{RULES:e}=this;if((0,W.eachItem)(g,(y)=>{if(e.keywords[y])throw Error(`Keyword ${y} is already defined`);if(!i.test(y))throw Error(`Keyword ${y} has invalid name`)}),!p)return;if(p.$data&&!(("code"in p)||("validate"in p)))throw Error('$data keyword must have "code" or "validate" function')}function z0(g,p,e){var y;let s=p===null||p===void 0?void 0:p.post;if(e&&s)throw Error('keyword with "post" flag cannot have "type"');let{RULES:Y0}=this,N0=s?Y0.post:Y0.rules.find(({type:G0})=>G0===e);if(!N0)N0={type:e,rules:[]},Y0.rules.push(N0);if(Y0.keywords[g]=!0,!p)return;let E0={keyword:g,definition:{...p,type:(0,H.getJSONTypes)(p.type),schemaType:(0,H.getJSONTypes)(p.schemaType)}};if(p.before)k.call(this,N0,E0,p.before);else N0.rules.push(E0);Y0.all[g]=E0,(y=p.implements)===null||y===void 0||y.forEach((G0)=>this.addKeyword(G0))}function k(g,p,e){let y=g.rules.findIndex((s)=>s.keyword===e);if(y>=0)g.rules.splice(y,0,p);else g.rules.push(p),this.logger.warn(`rule ${e} is not defined`)}function d(g){let{metaSchema:p}=g;if(p===void 0)return;if(g.$data&&this.opts.$data)p=$0(p);g.validateSchema=this.compile(p,!0)}let t={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function $0(g){return{anyOf:[g,t]}}}),lu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y={keyword:"id",code(){throw Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};$.default=Y}),KS=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.callRef=$.getValidate=void 0;let Y=kQ(),U=Q5(),z=L1(),Q=z5(),J=yw(),I=v1(),K={keyword:"$ref",schemaType:"string",code(W){let{gen:X,schema:Z,it:q}=W,{baseId:V,schemaEnv:F,validateName:M,opts:w,self:N}=q,{root:O}=F;if((Z==="#"||Z==="#/")&&V===O.baseId)return P();let D=J.resolveRef.call(N,O,V,Z);if(D===void 0)throw new Y.default(q.opts.uriResolver,V,Z);if(D instanceof J.SchemaEnv)return T(D);return A(D);function P(){if(F===O)return H(W,M,F,F.$async);let j=X.scopeValue("root",{ref:O});return H(W,z._`${j}.validate`,O,O.$async)}function T(j){H(W,G(W,j),j,j.$async)}function A(j){let C=X.scopeValue("schema",w.code.source===!0?{ref:j,code:(0,z.stringify)(j)}:{ref:j}),b=X.name("valid"),x=W.subschema({schema:j,dataTypes:[],schemaPath:z.nil,topSchemaRef:C,errSchemaPath:Z},b);W.mergeEvaluated(x),W.ok(b)}}};function G(W,X){let{gen:Z}=W;return X.validate?Z.scopeValue("validate",{ref:X.validate}):z._`${Z.scopeValue("wrapper",{ref:X})}.validate`}$.getValidate=G;function H(W,X,Z,q){let{gen:V,it:F}=W,{allErrors:M,schemaEnv:w,opts:N}=F,O=N.passContext?Q.default.this:z.nil;if(q)D();else P();function D(){if(!w.$async)throw Error("async schema referenced by sync schema");let j=V.let("valid");V.try(()=>{if(V.code(z._`await ${(0,U.callValidateCode)(W,X,O)}`),A(X),!M)V.assign(j,!0)},(C)=>{if(V.if(z._`!(${C} instanceof ${F.ValidationError})`,()=>V.throw(C)),T(C),!M)V.assign(j,!1)}),W.ok(j)}function P(){W.result((0,U.callValidateCode)(W,X,O),()=>A(X),()=>T(X))}function T(j){let C=z._`${j}.errors`;V.assign(Q.default.vErrors,z._`${Q.default.vErrors} === null ? ${C} : ${Q.default.vErrors}.concat(${C})`),V.assign(Q.default.errors,z._`${Q.default.vErrors}.length`)}function A(j){var C;if(!F.opts.unevaluated)return;let b=(C=Z===null||Z===void 0?void 0:Z.validate)===null||C===void 0?void 0:C.evaluated;if(F.props!==!0)if(b&&!b.dynamicProps){if(b.props!==void 0)F.props=I.mergeEvaluated.props(V,b.props,F.props)}else{let x=V.var("props",z._`${j}.evaluated.props`);F.props=I.mergeEvaluated.props(V,x,F.props,z.Name)}if(F.items!==!0)if(b&&!b.dynamicItems){if(b.items!==void 0)F.items=I.mergeEvaluated.items(V,b.items,F.items)}else{let x=V.var("items",z._`${j}.evaluated.items`);F.items=I.mergeEvaluated.items(V,x,F.items,z.Name)}}}$.callRef=H,$.default=K}),rt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=lu0(),U=KS(),z=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",Y.default,U.default];$.default=z}),ou0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=Y.operators,z={maximum:{okStr:"<=",ok:U.LTE,fail:U.GT},minimum:{okStr:">=",ok:U.GTE,fail:U.LT},exclusiveMaximum:{okStr:"<",ok:U.LT,fail:U.GTE},exclusiveMinimum:{okStr:">",ok:U.GT,fail:U.LTE}},Q={keyword:Object.keys(z),type:"number",schemaType:"number",$data:!0,error:{message:({keyword:J,schemaCode:I})=>Y.str`must be ${z[J].okStr} ${I}`,params:({keyword:J,schemaCode:I})=>Y._`{comparison: ${z[J].okStr}, limit: ${I}}`},code(J){let{keyword:I,data:K,schemaCode:G}=J;J.fail$data(Y._`${K} ${z[I].fail} ${G} || isNaN(${K})`)}};$.default=Q}),ru0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:z})=>Y.str`must be multiple of ${z}`,params:({schemaCode:z})=>Y._`{multipleOf: ${z}}`},code(z){let{gen:Q,data:J,schemaCode:I,it:K}=z,G=K.opts.multipleOfPrecision,H=Q.let("res"),W=G?Y._`Math.abs(Math.round(${H}) - ${H}) > 1e-${G}`:Y._`${H} !== parseInt(${H})`;z.fail$data(Y._`(${I} === 0 || (${H} = ${J}/${I}, ${W}))`)}};$.default=U}),su0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});function Y(U){let z=U.length,Q=0,J=0,I;while(J=55296&&I<=56319&&J{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z=su0(),Q={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:J,schemaCode:I}){let K=J==="maxLength"?"more":"fewer";return Y.str`must NOT have ${K} than ${I} characters`},params:({schemaCode:J})=>Y._`{limit: ${J}}`},code(J){let{keyword:I,data:K,schemaCode:G,it:H}=J,W=I==="maxLength"?Y.operators.GT:Y.operators.LT,X=H.opts.unicode===!1?Y._`${K}.length`:Y._`${(0,U.useFunc)(J.gen,z.default)}(${K})`;J.fail$data(Y._`${X} ${W} ${G}`)}};$.default=Q}),tu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),U=v1(),z=L1(),Q={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:J})=>z.str`must match pattern "${J}"`,params:({schemaCode:J})=>z._`{pattern: ${J}}`},code(J){let{gen:I,data:K,$data:G,schema:H,schemaCode:W,it:X}=J,Z=X.opts.unicodeRegExp?"u":"";if(G){let{regExp:q}=X.opts.code,V=q.code==="new RegExp"?z._`new RegExp`:(0,U.useFunc)(I,q),F=I.let("valid");I.try(()=>I.assign(F,z._`${V}(${W}, ${Z}).test(${K})`),()=>I.assign(F,!1)),J.fail$data(z._`!${F}`)}else{let q=(0,Y.usePattern)(J,H);J.fail$data(z._`!${q}.test(${K})`)}}};$.default=Q}),eu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:z,schemaCode:Q}){let J=z==="maxProperties"?"more":"fewer";return Y.str`must NOT have ${J} than ${Q} properties`},params:({schemaCode:z})=>Y._`{limit: ${z}}`},code(z){let{keyword:Q,data:J,schemaCode:I}=z,K=Q==="maxProperties"?Y.operators.GT:Y.operators.LT;z.fail$data(Y._`Object.keys(${J}).length ${K} ${I}`)}};$.default=U}),$b0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),U=L1(),z=v1(),Q={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:J}})=>U.str`must have required property '${J}'`,params:({params:{missingProperty:J}})=>U._`{missingProperty: ${J}}`},code(J){let{gen:I,schema:K,schemaCode:G,data:H,$data:W,it:X}=J,{opts:Z}=X;if(!W&&K.length===0)return;let q=K.length>=Z.loopRequired;if(X.allErrors)V();else F();if(Z.strictRequired){let N=J.parentSchema.properties,{definedProperties:O}=J.it;for(let D of K)if((N===null||N===void 0?void 0:N[D])===void 0&&!O.has(D)){let P=`required property "${D}" is not defined at "${X.schemaEnv.baseId+X.errSchemaPath}" (strictRequired)`;(0,z.checkStrictMode)(X,P,X.opts.strictRequired)}}function V(){if(q||W)J.block$data(U.nil,M);else for(let N of K)(0,Y.checkReportMissingProp)(J,N)}function F(){let N=I.let("missing");if(q||W){let O=I.let("valid",!0);J.block$data(O,()=>w(N,O)),J.ok(O)}else I.if((0,Y.checkMissingProp)(J,K,N)),(0,Y.reportMissingProp)(J,N),I.else()}function M(){I.forOf("prop",G,(N)=>{J.setParams({missingProperty:N}),I.if((0,Y.noPropertyInData)(I,H,N,Z.ownProperties),()=>J.error())})}function w(N,O){J.setParams({missingProperty:N}),I.forOf(N,G,()=>{I.assign(O,(0,Y.propertyInData)(I,H,N,Z.ownProperties)),I.if((0,U.not)(O),()=>{J.error(),I.break()})},U.nil)}}};$.default=Q}),Yb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:z,schemaCode:Q}){let J=z==="maxItems"?"more":"fewer";return Y.str`must NOT have ${J} than ${Q} items`},params:({schemaCode:z})=>Y._`{limit: ${z}}`},code(z){let{keyword:Q,data:J,schemaCode:I}=z,K=Q==="maxItems"?Y.operators.GT:Y.operators.LT;z.fail$data(Y._`${J}.length ${K} ${I}`)}};$.default=U}),GS=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=lt();Y.code='require("ajv/dist/runtime/equal").default',$.default=Y}),Ub0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=hw(),U=L1(),z=v1(),Q=GS(),J={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:I,j:K}})=>U.str`must NOT have duplicate items (items ## ${K} and ${I} are identical)`,params:({params:{i:I,j:K}})=>U._`{i: ${I}, j: ${K}}`},code(I){let{gen:K,data:G,$data:H,schema:W,parentSchema:X,schemaCode:Z,it:q}=I;if(!H&&!W)return;let V=K.let("valid"),F=X.items?(0,Y.getSchemaTypes)(X.items):[];I.block$data(V,M,U._`${Z} === false`),I.ok(V);function M(){let D=K.let("i",U._`${G}.length`),P=K.let("j");I.setParams({i:D,j:P}),K.assign(V,!0),K.if(U._`${D} > 1`,()=>(w()?N:O)(D,P))}function w(){return F.length>0&&!F.some((D)=>D==="object"||D==="array")}function N(D,P){let T=K.name("item"),A=(0,Y.checkDataTypes)(F,T,q.opts.strictNumbers,Y.DataType.Wrong),j=K.const("indices",U._`{}`);K.for(U._`;${D}--;`,()=>{if(K.let(T,U._`${G}[${D}]`),K.if(A,U._`continue`),F.length>1)K.if(U._`typeof ${T} == "string"`,U._`${T} += "_"`);K.if(U._`typeof ${j}[${T}] == "number"`,()=>{K.assign(P,U._`${j}[${T}]`),I.error(),K.assign(V,!1).break()}).code(U._`${j}[${T}] = ${D}`)})}function O(D,P){let T=(0,z.useFunc)(K,Q.default),A=K.name("outer");K.label(A).for(U._`;${D}--;`,()=>K.for(U._`${P} = ${D}; ${P}--;`,()=>K.if(U._`${T}(${G}[${D}], ${G}[${P}])`,()=>{I.error(),K.assign(V,!1).break(A)})))}}};$.default=J}),zb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z=GS(),Q={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:J})=>Y._`{allowedValue: ${J}}`},code(J){let{gen:I,data:K,$data:G,schemaCode:H,schema:W}=J;if(G||W&&typeof W=="object")J.fail$data(Y._`!${(0,U.useFunc)(I,z.default)}(${K}, ${H})`);else J.fail(Y._`${W} !== ${K}`)}};$.default=Q}),Qb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z=GS(),Q={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:J})=>Y._`{allowedValues: ${J}}`},code(J){let{gen:I,data:K,$data:G,schema:H,schemaCode:W,it:X}=J;if(!G&&H.length===0)throw Error("enum must have non-empty array");let Z=H.length>=X.opts.loopEnum,q,V=()=>q!==null&&q!==void 0?q:q=(0,U.useFunc)(I,z.default),F;if(Z||G)F=I.let("valid"),J.block$data(F,M);else{if(!Array.isArray(H))throw Error("ajv implementation error");let N=I.const("vSchema",W);F=(0,Y.or)(...H.map((O,D)=>w(N,D)))}J.pass(F);function M(){I.assign(F,!1),I.forOf("v",W,(N)=>I.if(Y._`${V()}(${K}, ${N})`,()=>I.assign(F,!0).break()))}function w(N,O){let D=H[O];return typeof D==="object"&&D!==null?Y._`${V()}(${K}, ${N}[${O}])`:Y._`${K} === ${D}`}}};$.default=Q}),st=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=ou0(),U=ru0(),z=au0(),Q=tu0(),J=eu0(),I=$b0(),K=Yb0(),G=Ub0(),H=zb0(),W=Qb0(),X=[Y.default,U.default,z.default,Q.default,J.default,I.default,K.default,G.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},H.default,W.default];$.default=X}),at=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateAdditionalItems=void 0;let Y=L1(),U=v1(),z={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:J}})=>Y.str`must NOT have more than ${J} items`,params:({params:{len:J}})=>Y._`{limit: ${J}}`},code(J){let{parentSchema:I,it:K}=J,{items:G}=I;if(!Array.isArray(G)){(0,U.checkStrictMode)(K,'"additionalItems" is ignored when "items" is not an array of schemas');return}Q(J,G)}};function Q(J,I){let{gen:K,schema:G,data:H,keyword:W,it:X}=J;X.items=!0;let Z=K.const("len",Y._`${H}.length`);if(G===!1)J.setParams({len:I.length}),J.pass(Y._`${Z} <= ${I.length}`);else if(typeof G=="object"&&!(0,U.alwaysValidSchema)(X,G)){let V=K.var("valid",Y._`${Z} <= ${I.length}`);K.if((0,Y.not)(V),()=>q(V)),J.ok(V)}function q(V){K.forRange("i",I.length,Z,(F)=>{if(J.subschema({keyword:W,dataProp:F,dataPropType:U.Type.Num},V),!X.allErrors)K.if((0,Y.not)(V),()=>K.break())})}}$.validateAdditionalItems=Q,$.default=z}),tt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateTuple=void 0;let Y=L1(),U=v1(),z=Q5(),Q={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(I){let{schema:K,it:G}=I;if(Array.isArray(K))return J(I,"additionalItems",K);if(G.items=!0,(0,U.alwaysValidSchema)(G,K))return;I.ok((0,z.validateArray)(I))}};function J(I,K,G=I.schema){let{gen:H,parentSchema:W,data:X,keyword:Z,it:q}=I;if(M(W),q.opts.unevaluated&&G.length&&q.items!==!0)q.items=U.mergeEvaluated.items(H,G.length,q.items);let V=H.name("valid"),F=H.const("len",Y._`${X}.length`);G.forEach((w,N)=>{if((0,U.alwaysValidSchema)(q,w))return;H.if(Y._`${F} > ${N}`,()=>I.subschema({keyword:Z,schemaProp:N,dataProp:N},V)),I.ok(V)});function M(w){let{opts:N,errSchemaPath:O}=q,D=G.length,P=D===w.minItems&&(D===w.maxItems||w[K]===!1);if(N.strictTuples&&!P){let T=`"${Z}" is ${D}-tuple, but minItems or maxItems/${K} are not specified or different at path "${O}"`;(0,U.checkStrictMode)(q,T,N.strictTuples)}}}$.validateTuple=J,$.default=Q}),Jb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=tt(),U={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:(z)=>(0,Y.validateTuple)(z,"items")};$.default=U}),Ib0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z=Q5(),Q=at(),J={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:I}})=>Y.str`must NOT have more than ${I} items`,params:({params:{len:I}})=>Y._`{limit: ${I}}`},code(I){let{schema:K,parentSchema:G,it:H}=I,{prefixItems:W}=G;if(H.items=!0,(0,U.alwaysValidSchema)(H,K))return;if(W)(0,Q.validateAdditionalItems)(I,W);else I.ok((0,z.validateArray)(I))}};$.default=J}),Kb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:Q,max:J}})=>J===void 0?Y.str`must contain at least ${Q} valid item(s)`:Y.str`must contain at least ${Q} and no more than ${J} valid item(s)`,params:({params:{min:Q,max:J}})=>J===void 0?Y._`{minContains: ${Q}}`:Y._`{minContains: ${Q}, maxContains: ${J}}`},code(Q){let{gen:J,schema:I,parentSchema:K,data:G,it:H}=Q,W,X,{minContains:Z,maxContains:q}=K;if(H.opts.next)W=Z===void 0?1:Z,X=q;else W=1;let V=J.const("len",Y._`${G}.length`);if(Q.setParams({min:W,max:X}),X===void 0&&W===0){(0,U.checkStrictMode)(H,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(X!==void 0&&W>X){(0,U.checkStrictMode)(H,'"minContains" > "maxContains" is always invalid'),Q.fail();return}if((0,U.alwaysValidSchema)(H,I)){let O=Y._`${V} >= ${W}`;if(X!==void 0)O=Y._`${O} && ${V} <= ${X}`;Q.pass(O);return}H.items=!0;let F=J.name("valid");if(X===void 0&&W===1)w(F,()=>J.if(F,()=>J.break()));else if(W===0){if(J.let(F,!0),X!==void 0)J.if(Y._`${G}.length > 0`,M)}else J.let(F,!1),M();Q.result(F,()=>Q.reset());function M(){let O=J.name("_valid"),D=J.let("count",0);w(O,()=>J.if(O,()=>N(D)))}function w(O,D){J.forRange("i",0,V,(P)=>{Q.subschema({keyword:"contains",dataProp:P,dataPropType:U.Type.Num,compositeRule:!0},O),D()})}function N(O){if(J.code(Y._`${O}++`),X===void 0)J.if(Y._`${O} >= ${W}`,()=>J.assign(F,!0).break());else if(J.if(Y._`${O} > ${X}`,()=>J.assign(F,!1).break()),W===1)J.assign(F,!0);else J.if(Y._`${O} >= ${W}`,()=>J.assign(F,!0))}}};$.default=z}),HS=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateSchemaDeps=$.validatePropertyDeps=$.error=void 0;let Y=L1(),U=v1(),z=Q5();$.error={message:({params:{property:G,depsCount:H,deps:W}})=>{let X=H===1?"property":"properties";return Y.str`must have ${X} ${W} when property ${G} is present`},params:({params:{property:G,depsCount:H,deps:W,missingProperty:X}})=>Y._`{property: ${G}, + || ${C} === "boolean" || ${A} === null`).assign(b,Q._`[${A}]`)}}}function q({gen:O,parentData:D,parentDataProperty:P},T){O.if(Q._`${D} !== undefined`,()=>O.assign(Q._`${D}[${P}]`,T))}function V(O,D,P,T=I.Correct){let A=T===I.Correct?Q.operators.EQ:Q.operators.NEQ,j;switch(O){case"null":return Q._`${D} ${A} null`;case"array":j=Q._`Array.isArray(${D})`;break;case"object":j=Q._`${D} && typeof ${D} == "object" && !Array.isArray(${D})`;break;case"integer":j=C(Q._`!(${D} % 1) && !isNaN(${D})`);break;case"number":j=C();break;default:return Q._`typeof ${D} ${A} ${O}`}return T===I.Correct?j:(0,Q.not)(j);function C(b=Q.nil){return(0,Q.and)(Q._`typeof ${D} == "number"`,b,P?Q._`isFinite(${D})`:Q.nil)}}$.checkDataType=V;function F(O,D,P,T){if(O.length===1)return V(O[0],D,P,T);let A,j=(0,J.toHash)(O);if(j.array&&j.object){let C=Q._`typeof ${D} != "object"`;A=j.null?C:Q._`!${D} || ${C}`,delete j.null,delete j.array,delete j.object}else A=Q.nil;if(j.number)delete j.integer;for(let C in j)A=(0,Q.and)(A,V(C,D,P,T));return A}$.checkDataTypes=F;let M={message:({schema:O})=>`must be ${O}`,params:({schema:O,schemaValue:D})=>typeof O=="string"?Q._`{type: ${O}}`:Q._`{type: ${D}}`};function w(O){let D=N(O);(0,z.reportError)(D,M)}$.reportTypeError=w;function N(O){let{gen:D,data:P,schema:T}=O,A=(0,J.schemaRefOrVal)(O,T,"type");return{gen:D,keyword:"type",data:P,schema:T.type,schemaCode:A,schemaValue:A,parentSchema:T,params:{},it:O}}}),uu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.assignDefaults=void 0;let Y=L1(),U=v1();function z(J,I){let{properties:K,items:G}=J.schema;if(I==="object"&&K)for(let H in K)Q(J,H,K[H].default);else if(I==="array"&&Array.isArray(G))G.forEach((H,W)=>Q(J,W,H.default))}$.assignDefaults=z;function Q(J,I,K){let{gen:G,compositeRule:H,data:W,opts:X}=J;if(K===void 0)return;let Z=Y._`${W}${(0,Y.getProperty)(I)}`;if(H){(0,U.checkStrictMode)(J,`default is ignored for: ${Z}`);return}let q=Y._`${Z} === undefined`;if(X.useDefaults==="empty")q=Y._`${q} || ${Z} === null || ${Z} === ""`;G.if(q,Y._`${Z} = ${(0,Y.stringify)(K)}`)}}),Q5=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateUnion=$.validateArray=$.usePattern=$.callValidateCode=$.schemaProperties=$.allSchemaProperties=$.noPropertyInData=$.propertyInData=$.isOwnProperty=$.hasPropFunc=$.reportMissingProp=$.checkMissingProp=$.checkReportMissingProp=void 0;let Y=L1(),U=v1(),z=z5(),Q=v1();function J(O,D){let{gen:P,data:T,it:A}=O;P.if(X(P,T,D,A.opts.ownProperties),()=>{O.setParams({missingProperty:Y._`${D}`},!0),O.error()})}$.checkReportMissingProp=J;function I({gen:O,data:D,it:{opts:P}},T,A){return(0,Y.or)(...T.map((j)=>(0,Y.and)(X(O,D,j,P.ownProperties),Y._`${A} = ${j}`)))}$.checkMissingProp=I;function K(O,D){O.setParams({missingProperty:D},!0),O.error()}$.reportMissingProp=K;function G(O){return O.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:Y._`Object.prototype.hasOwnProperty`})}$.hasPropFunc=G;function H(O,D,P){return Y._`${G(O)}.call(${D}, ${P})`}$.isOwnProperty=H;function W(O,D,P,T){let A=Y._`${D}${(0,Y.getProperty)(P)} !== undefined`;return T?Y._`${A} && ${H(O,D,P)}`:A}$.propertyInData=W;function X(O,D,P,T){let A=Y._`${D}${(0,Y.getProperty)(P)} === undefined`;return T?(0,Y.or)(A,(0,Y.not)(H(O,D,P))):A}$.noPropertyInData=X;function Z(O){return O?Object.keys(O).filter((D)=>D!=="__proto__"):[]}$.allSchemaProperties=Z;function q(O,D){return Z(D).filter((P)=>!(0,U.alwaysValidSchema)(O,D[P]))}$.schemaProperties=q;function V({schemaCode:O,data:D,it:{gen:P,topSchemaRef:T,schemaPath:A,errorPath:j},it:C},b,x,S){let i=S?Y._`${O}, ${D}, ${T}${A}`:D,c=[[z.default.instancePath,(0,Y.strConcat)(z.default.instancePath,j)],[z.default.parentData,C.parentData],[z.default.parentDataProperty,C.parentDataProperty],[z.default.rootData,z.default.rootData]];if(C.opts.dynamicRef)c.push([z.default.dynamicAnchors,z.default.dynamicAnchors]);let z0=Y._`${i}, ${P.object(...c)}`;return x!==Y.nil?Y._`${b}.call(${x}, ${z0})`:Y._`${b}(${z0})`}$.callValidateCode=V;let F=Y._`new RegExp`;function M({gen:O,it:{opts:D}},P){let T=D.unicodeRegExp?"u":"",{regExp:A}=D.code,j=A(P,T);return O.scopeValue("pattern",{key:j.toString(),ref:j,code:Y._`${A.code==="new RegExp"?F:(0,Q.useFunc)(O,A)}(${P}, ${T})`})}$.usePattern=M;function w(O){let{gen:D,data:P,keyword:T,it:A}=O,j=D.name("valid");if(A.allErrors){let b=D.let("valid",!0);return C(()=>D.assign(b,!1)),b}return D.var(j,!0),C(()=>D.break()),j;function C(b){let x=D.const("len",Y._`${P}.length`);D.forRange("i",0,x,(S)=>{O.subschema({keyword:T,dataProp:S,dataPropType:U.Type.Num},j),D.if((0,Y.not)(j),b)})}}$.validateArray=w;function N(O){let{gen:D,schema:P,keyword:T,it:A}=O;if(!Array.isArray(P))throw Error("ajv implementation error");if(P.some((b)=>(0,U.alwaysValidSchema)(A,b))&&!A.opts.unevaluated)return;let j=D.let("valid",!1),C=D.name("_valid");D.block(()=>P.forEach((b,x)=>{let S=O.subschema({keyword:T,schemaProp:x,compositeRule:!0},C);if(D.assign(j,Y._`${j} || ${C}`),!O.mergeValidEvaluated(S,C))D.if((0,Y.not)(j))})),O.result(j,()=>O.reset(),()=>O.error(!0))}$.validateUnion=N}),bu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateKeywordUsage=$.validSchemaType=$.funcKeywordCode=$.macroKeywordCode=void 0;let Y=L1(),U=z5(),z=Q5(),Q=Sw();function J(q,V){let{gen:F,keyword:M,schema:w,parentSchema:N,it:O}=q,D=V.macro.call(O.self,w,N,O),P=W(F,M,D);if(O.opts.validateSchema!==!1)O.self.validateSchema(D,!0);let T=F.name("valid");q.subschema({schema:D,schemaPath:Y.nil,errSchemaPath:`${O.errSchemaPath}/${M}`,topSchemaRef:P,compositeRule:!0},T),q.pass(T,()=>q.error(!0))}$.macroKeywordCode=J;function I(q,V){var F;let{gen:M,keyword:w,schema:N,parentSchema:O,$data:D,it:P}=q;H(P,V);let T=W(M,w,!D&&V.compile?V.compile.call(P.self,N,O,P):V.validate),A=M.let("valid");q.block$data(A,j),q.ok((F=V.valid)!==null&&F!==void 0?F:A);function j(){if(V.errors===!1){if(x(),V.modifying)K(q);S(()=>q.error())}else{let i=V.async?C():b();if(V.modifying)K(q);S(()=>G(q,i))}}function C(){let i=M.let("ruleErrs",null);return M.try(()=>x(Y._`await `),(c)=>M.assign(A,!1).if(Y._`${c} instanceof ${P.ValidationError}`,()=>M.assign(i,Y._`${c}.errors`),()=>M.throw(c))),i}function b(){let i=Y._`${T}.errors`;return M.assign(i,null),x(Y.nil),i}function x(i=V.async?Y._`await `:Y.nil){let c=P.opts.passContext?U.default.this:U.default.self,z0=!(("compile"in V)&&!D||V.schema===!1);M.assign(A,Y._`${i}${(0,z.callValidateCode)(q,T,c,z0)}`,V.modifying)}function S(i){var c;M.if((0,Y.not)((c=V.valid)!==null&&c!==void 0?c:A),i)}}$.funcKeywordCode=I;function K(q){let{gen:V,data:F,it:M}=q;V.if(M.parentData,()=>V.assign(F,Y._`${M.parentData}[${M.parentDataProperty}]`))}function G(q,V){let{gen:F}=q;F.if(Y._`Array.isArray(${V})`,()=>{F.assign(U.default.vErrors,Y._`${U.default.vErrors} === null ? ${V} : ${U.default.vErrors}.concat(${V})`).assign(U.default.errors,Y._`${U.default.vErrors}.length`),(0,Q.extendErrors)(q)},()=>q.error())}function H({schemaEnv:q},V){if(V.async&&!q.$async)throw Error("async keyword in sync schema")}function W(q,V,F){if(F===void 0)throw Error(`keyword "${V}" failed to compile`);return q.scopeValue("keyword",typeof F=="function"?{ref:F}:{ref:F,code:(0,Y.stringify)(F)})}function X(q,V,F=!1){return!V.length||V.some((M)=>M==="array"?Array.isArray(q):M==="object"?q&&typeof q=="object"&&!Array.isArray(q):typeof q==M||F&&typeof q>"u")}$.validSchemaType=X;function Z({schema:q,opts:V,self:F,errSchemaPath:M},w,N){if(Array.isArray(w.keyword)?!w.keyword.includes(N):w.keyword!==N)throw Error("ajv implementation error");let O=w.dependencies;if(O===null||O===void 0?void 0:O.some((D)=>!Object.prototype.hasOwnProperty.call(q,D)))throw Error(`parent schema must have dependencies of ${N}: ${O.join(",")}`);if(w.validateSchema){if(!w.validateSchema(q[N])){let D=`keyword "${N}" value is invalid at path "${M}": `+F.errorsText(w.validateSchema.errors);if(V.validateSchema==="log")F.logger.error(D);else throw Error(D)}}}$.validateKeywordUsage=Z}),iu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.extendSubschemaMode=$.extendSubschemaData=$.getSubschema=void 0;let Y=L1(),U=v1();function z(I,{keyword:K,schemaProp:G,schema:H,schemaPath:W,errSchemaPath:X,topSchemaRef:Z}){if(K!==void 0&&H!==void 0)throw Error('both "keyword" and "schema" passed, only one allowed');if(K!==void 0){let q=I.schema[K];return G===void 0?{schema:q,schemaPath:Y._`${I.schemaPath}${(0,Y.getProperty)(K)}`,errSchemaPath:`${I.errSchemaPath}/${K}`}:{schema:q[G],schemaPath:Y._`${I.schemaPath}${(0,Y.getProperty)(K)}${(0,Y.getProperty)(G)}`,errSchemaPath:`${I.errSchemaPath}/${K}/${(0,U.escapeFragment)(G)}`}}if(H!==void 0){if(W===void 0||X===void 0||Z===void 0)throw Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:H,schemaPath:W,topSchemaRef:Z,errSchemaPath:X}}throw Error('either "keyword" or "schema" must be passed')}$.getSubschema=z;function Q(I,K,{dataProp:G,dataPropType:H,data:W,dataTypes:X,propertyName:Z}){if(W!==void 0&&G!==void 0)throw Error('both "data" and "dataProp" passed, only one allowed');let{gen:q}=K;if(G!==void 0){let{errorPath:F,dataPathArr:M,opts:w}=K;V(q.let("data",Y._`${K.data}${(0,Y.getProperty)(G)}`,!0)),I.errorPath=Y.str`${F}${(0,U.getErrorPath)(G,H,w.jsPropertySyntax)}`,I.parentDataProperty=Y._`${G}`,I.dataPathArr=[...M,I.parentDataProperty]}if(W!==void 0){if(V(W instanceof Y.Name?W:q.let("data",W,!0)),Z!==void 0)I.propertyName=Z}if(X)I.dataTypes=X;function V(F){I.data=F,I.dataLevel=K.dataLevel+1,I.dataTypes=[],K.definedProperties=new Set,I.parentData=K.data,I.dataNames=[...K.dataNames,F]}}$.extendSubschemaData=Q;function J(I,{jtdDiscriminator:K,jtdMetadata:G,compositeRule:H,createErrors:W,allErrors:X}){if(H!==void 0)I.compositeRule=H;if(W!==void 0)I.createErrors=W;if(X!==void 0)I.allErrors=X;I.jtdDiscriminator=K,I.jtdMetadata=G}$.extendSubschemaMode=J}),lt=R0(($,Y)=>{Y.exports=function U(z,Q){if(z===Q)return!0;if(z&&Q&&typeof z=="object"&&typeof Q=="object"){if(z.constructor!==Q.constructor)return!1;var J,I,K;if(Array.isArray(z)){if(J=z.length,J!=Q.length)return!1;for(I=J;I--!==0;)if(!U(z[I],Q[I]))return!1;return!0}if(z.constructor===RegExp)return z.source===Q.source&&z.flags===Q.flags;if(z.valueOf!==Object.prototype.valueOf)return z.valueOf()===Q.valueOf();if(z.toString!==Object.prototype.toString)return z.toString()===Q.toString();if(K=Object.keys(z),J=K.length,J!==Object.keys(Q).length)return!1;for(I=J;I--!==0;)if(!Object.prototype.hasOwnProperty.call(Q,K[I]))return!1;for(I=J;I--!==0;){var G=K[I];if(!U(z[G],Q[G]))return!1}return!0}return z!==z&&Q!==Q}}),cu0=R0(($,Y)=>{var U=Y.exports=function(J,I,K){if(typeof I=="function")K=I,I={};K=I.cb||K;var G=typeof K=="function"?K:K.pre||function(){},H=K.post||function(){};z(I,G,H,J,"",J)};U.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},U.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},U.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},U.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function z(J,I,K,G,H,W,X,Z,q,V){if(G&&typeof G=="object"&&!Array.isArray(G)){I(G,H,W,X,Z,q,V);for(var F in G){var M=G[F];if(Array.isArray(M)){if(F in U.arrayKeywords)for(var w=0;w{Object.defineProperty($,"__esModule",{value:!0}),$.getSchemaRefs=$.resolveUrl=$.normalizeId=$._getFullPath=$.getFullPath=$.inlineRef=void 0;let Y=v1(),U=lt(),z=cu0(),Q=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function J(M,w=!0){if(typeof M=="boolean")return!0;if(w===!0)return!K(M);if(!w)return!1;return G(M)<=w}$.inlineRef=J;let I=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function K(M){for(let w in M){if(I.has(w))return!0;let N=M[w];if(Array.isArray(N)&&N.some(K))return!0;if(typeof N=="object"&&K(N))return!0}return!1}function G(M){let w=0;for(let N in M){if(N==="$ref")return 1/0;if(w++,Q.has(N))continue;if(typeof M[N]=="object")(0,Y.eachItem)(M[N],(O)=>w+=G(O));if(w===1/0)return 1/0}return w}function H(M,w="",N){if(N!==!1)w=Z(w);return W(M,M.parse(w))}$.getFullPath=H;function W(M,w){return M.serialize(w).split("#")[0]+"#"}$._getFullPath=W;let X=/#\/?$/;function Z(M){return M?M.replace(X,""):""}$.normalizeId=Z;function q(M,w,N){return N=Z(N),M.resolve(w,N)}$.resolveUrl=q;let V=/^[a-z_][-a-z0-9._]*$/i;function F(M,w){if(typeof M=="boolean")return{};let{schemaId:N,uriResolver:O}=this.opts,D=Z(M[N]||w),P={"":D},T=H(O,D,!1),A={},j=new Set;return z(M,{allKeys:!0},(x,S,i,c)=>{if(c===void 0)return;let z0=T+S,k=P[c];if(typeof x[N]=="string")k=d.call(this,x[N]);t.call(this,x.$anchor),t.call(this,x.$dynamicAnchor),P[S]=k;function d($0){let g=this.opts.uriResolver.resolve;if($0=Z(k?g(k,$0):$0),j.has($0))throw b($0);j.add($0);let p=this.refs[$0];if(typeof p=="string")p=this.refs[p];if(typeof p=="object")C(x,p.schema,$0);else if($0!==Z(z0))if($0[0]==="#")C(x,A[$0],$0),A[$0]=x;else this.refs[$0]=z0;return $0}function t($0){if(typeof $0=="string"){if(!V.test($0))throw Error(`invalid anchor "${$0}"`);d.call(this,`#${$0}`)}}}),A;function C(x,S,i){if(S!==void 0&&!U(x,S))throw b(i)}function b(x){return Error(`reference "${x}" resolves to more than one schema`)}}$.getSchemaRefs=F}),yQ=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.getData=$.KeywordCxt=$.validateFunctionCode=void 0;let Y=fu0(),U=hw(),z=mt(),Q=hw(),J=uu0(),I=bu0(),K=iu0(),G=L1(),H=z5(),W=gw(),X=v1(),Z=Sw();function q(a){if(T(a)){if(j(a),P(a)){w(a);return}}V(a,()=>(0,Y.topBoolOrEmptySchema)(a))}$.validateFunctionCode=q;function V({gen:a,validateName:W0,schema:F0,schemaEnv:u0,opts:b0},c0){if(b0.code.es5)a.func(W0,G._`${H.default.data}, ${H.default.valCxt}`,u0.$async,()=>{a.code(G._`"use strict"; ${O(F0,b0)}`),M(a,b0),a.code(c0)});else a.func(W0,G._`${H.default.data}, ${F(b0)}`,u0.$async,()=>a.code(O(F0,b0)).code(c0))}function F(a){return G._`{${H.default.instancePath}="", ${H.default.parentData}, ${H.default.parentDataProperty}, ${H.default.rootData}=${H.default.data}${a.dynamicRef?G._`, ${H.default.dynamicAnchors}={}`:G.nil}}={}`}function M(a,W0){a.if(H.default.valCxt,()=>{if(a.var(H.default.instancePath,G._`${H.default.valCxt}.${H.default.instancePath}`),a.var(H.default.parentData,G._`${H.default.valCxt}.${H.default.parentData}`),a.var(H.default.parentDataProperty,G._`${H.default.valCxt}.${H.default.parentDataProperty}`),a.var(H.default.rootData,G._`${H.default.valCxt}.${H.default.rootData}`),W0.dynamicRef)a.var(H.default.dynamicAnchors,G._`${H.default.valCxt}.${H.default.dynamicAnchors}`)},()=>{if(a.var(H.default.instancePath,G._`""`),a.var(H.default.parentData,G._`undefined`),a.var(H.default.parentDataProperty,G._`undefined`),a.var(H.default.rootData,H.default.data),W0.dynamicRef)a.var(H.default.dynamicAnchors,G._`{}`)})}function w(a){let{schema:W0,opts:F0,gen:u0}=a;V(a,()=>{if(F0.$comment&&W0.$comment)c(a);if(x(a),u0.let(H.default.vErrors,null),u0.let(H.default.errors,0),F0.unevaluated)N(a);C(a),z0(a)})}function N(a){let{gen:W0,validateName:F0}=a;a.evaluated=W0.const("evaluated",G._`${F0}.evaluated`),W0.if(G._`${a.evaluated}.dynamicProps`,()=>W0.assign(G._`${a.evaluated}.props`,G._`undefined`)),W0.if(G._`${a.evaluated}.dynamicItems`,()=>W0.assign(G._`${a.evaluated}.items`,G._`undefined`))}function O(a,W0){let F0=typeof a=="object"&&a[W0.schemaId];return F0&&(W0.code.source||W0.code.process)?G._`/*# sourceURL=${F0} */`:G.nil}function D(a,W0){if(T(a)){if(j(a),P(a)){A(a,W0);return}}(0,Y.boolOrEmptySchema)(a,W0)}function P({schema:a,self:W0}){if(typeof a=="boolean")return!a;for(let F0 in a)if(W0.RULES.all[F0])return!0;return!1}function T(a){return typeof a.schema!="boolean"}function A(a,W0){let{schema:F0,gen:u0,opts:b0}=a;if(b0.$comment&&F0.$comment)c(a);S(a),i(a);let c0=u0.const("_errs",H.default.errors);C(a,c0),u0.var(W0,G._`${c0} === ${H.default.errors}`)}function j(a){(0,X.checkUnknownRules)(a),b(a)}function C(a,W0){if(a.opts.jtd)return d(a,[],!1,W0);let F0=(0,U.getSchemaTypes)(a.schema);d(a,F0,!(0,U.coerceAndCheckDataType)(a,F0),W0)}function b(a){let{schema:W0,errSchemaPath:F0,opts:u0,self:b0}=a;if(W0.$ref&&u0.ignoreKeywordsWithRef&&(0,X.schemaHasRulesButRef)(W0,b0.RULES))b0.logger.warn(`$ref: keywords ignored in schema at path "${F0}"`)}function x(a){let{schema:W0,opts:F0}=a;if(W0.default!==void 0&&F0.useDefaults&&F0.strictSchema)(0,X.checkStrictMode)(a,"default is ignored in the schema root")}function S(a){let W0=a.schema[a.opts.schemaId];if(W0)a.baseId=(0,W.resolveUrl)(a.opts.uriResolver,a.baseId,W0)}function i(a){if(a.schema.$async&&!a.schemaEnv.$async)throw Error("async schema in sync schema")}function c({gen:a,schemaEnv:W0,schema:F0,errSchemaPath:u0,opts:b0}){let c0=F0.$comment;if(b0.$comment===!0)a.code(G._`${H.default.self}.logger.log(${c0})`);else if(typeof b0.$comment=="function"){let D1=G.str`${u0}/$comment`,k1=a.scopeValue("root",{ref:W0.root});a.code(G._`${H.default.self}.opts.$comment(${c0}, ${D1}, ${k1}.schema)`)}}function z0(a){let{gen:W0,schemaEnv:F0,validateName:u0,ValidationError:b0,opts:c0}=a;if(F0.$async)W0.if(G._`${H.default.errors} === 0`,()=>W0.return(H.default.data),()=>W0.throw(G._`new ${b0}(${H.default.vErrors})`));else{if(W0.assign(G._`${u0}.errors`,H.default.vErrors),c0.unevaluated)k(a);W0.return(G._`${H.default.errors} === 0`)}}function k({gen:a,evaluated:W0,props:F0,items:u0}){if(F0 instanceof G.Name)a.assign(G._`${W0}.props`,F0);if(u0 instanceof G.Name)a.assign(G._`${W0}.items`,u0)}function d(a,W0,F0,u0){let{gen:b0,schema:c0,data:D1,allErrors:k1,opts:u1,self:b1}=a,{RULES:A0}=b1;if(c0.$ref&&(u1.ignoreKeywordsWithRef||!(0,X.schemaHasRulesButRef)(c0,A0))){b0.block(()=>G0(a,"$ref",A0.all.$ref.definition));return}if(!u1.jtd)$0(a,W0);b0.block(()=>{for(let B of A0.rules)Q0(B);Q0(A0.post)});function Q0(B){if(!(0,z.shouldUseGroup)(c0,B))return;if(B.type){if(b0.if((0,Q.checkDataType)(B.type,D1,u1.strictNumbers)),t(a,B),W0.length===1&&W0[0]===B.type&&F0)b0.else(),(0,Q.reportTypeError)(a);b0.endIf()}else t(a,B);if(!k1)b0.if(G._`${H.default.errors} === ${u0||0}`)}}function t(a,W0){let{gen:F0,schema:u0,opts:{useDefaults:b0}}=a;if(b0)(0,J.assignDefaults)(a,W0.type);F0.block(()=>{for(let c0 of W0.rules)if((0,z.shouldUseRule)(u0,c0))G0(a,c0.keyword,c0.definition,W0.type)})}function $0(a,W0){if(a.schemaEnv.meta||!a.opts.strictTypes)return;if(g(a,W0),!a.opts.allowUnionTypes)p(a,W0);e(a,a.dataTypes)}function g(a,W0){if(!W0.length)return;if(!a.dataTypes.length){a.dataTypes=W0;return}W0.forEach((F0)=>{if(!s(a.dataTypes,F0))N0(a,`type "${F0}" not allowed by context "${a.dataTypes.join(",")}"`)}),Y0(a,W0)}function p(a,W0){if(W0.length>1&&!(W0.length===2&&W0.includes("null")))N0(a,"use allowUnionTypes to allow union type keyword")}function e(a,W0){let F0=a.self.RULES.all;for(let u0 in F0){let b0=F0[u0];if(typeof b0=="object"&&(0,z.shouldUseRule)(a.schema,b0)){let{type:c0}=b0.definition;if(c0.length&&!c0.some((D1)=>y(W0,D1)))N0(a,`missing type "${c0.join(",")}" for keyword "${u0}"`)}}}function y(a,W0){return a.includes(W0)||W0==="number"&&a.includes("integer")}function s(a,W0){return a.includes(W0)||W0==="integer"&&a.includes("number")}function Y0(a,W0){let F0=[];for(let u0 of a.dataTypes)if(s(W0,u0))F0.push(u0);else if(W0.includes("integer")&&u0==="number")F0.push("integer");a.dataTypes=F0}function N0(a,W0){let F0=a.schemaEnv.baseId+a.errSchemaPath;W0+=` at "${F0}" (strictTypes)`,(0,X.checkStrictMode)(a,W0,a.opts.strictTypes)}var E0=class{constructor(a,W0,F0){if((0,I.validateKeywordUsage)(a,W0,F0),this.gen=a.gen,this.allErrors=a.allErrors,this.keyword=F0,this.data=a.data,this.schema=a.schema[F0],this.$data=W0.$data&&a.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,X.schemaRefOrVal)(a,this.schema,F0,this.$data),this.schemaType=W0.schemaType,this.parentSchema=a.schema,this.params={},this.it=a,this.def=W0,this.$data)this.schemaCode=a.gen.const("vSchema",Y1(this.$data,a));else if(this.schemaCode=this.schemaValue,!(0,I.validSchemaType)(this.schema,W0.schemaType,W0.allowUndefined))throw Error(`${F0} value must be ${JSON.stringify(W0.schemaType)}`);if("code"in W0?W0.trackErrors:W0.errors!==!1)this.errsCount=a.gen.const("_errs",H.default.errors)}result(a,W0,F0){this.failResult((0,G.not)(a),W0,F0)}failResult(a,W0,F0){if(this.gen.if(a),F0)F0();else this.error();if(W0){if(this.gen.else(),W0(),this.allErrors)this.gen.endIf()}else if(this.allErrors)this.gen.endIf();else this.gen.else()}pass(a,W0){this.failResult((0,G.not)(a),void 0,W0)}fail(a){if(a===void 0){if(this.error(),!this.allErrors)this.gen.if(!1);return}if(this.gen.if(a),this.error(),this.allErrors)this.gen.endIf();else this.gen.else()}fail$data(a){if(!this.$data)return this.fail(a);let{schemaCode:W0}=this;this.fail(G._`${W0} !== undefined && (${(0,G.or)(this.invalid$data(),a)})`)}error(a,W0,F0){if(W0){this.setParams(W0),this._error(a,F0),this.setParams({});return}this._error(a,F0)}_error(a,W0){(a?Z.reportExtraError:Z.reportError)(this,this.def.error,W0)}$dataError(){(0,Z.reportError)(this,this.def.$dataError||Z.keyword$DataError)}reset(){if(this.errsCount===void 0)throw Error('add "trackErrors" to keyword definition');(0,Z.resetErrorsCount)(this.gen,this.errsCount)}ok(a){if(!this.allErrors)this.gen.if(a)}setParams(a,W0){if(W0)Object.assign(this.params,a);else this.params=a}block$data(a,W0,F0=G.nil){this.gen.block(()=>{this.check$data(a,F0),W0()})}check$data(a=G.nil,W0=G.nil){if(!this.$data)return;let{gen:F0,schemaCode:u0,schemaType:b0,def:c0}=this;if(F0.if((0,G.or)(G._`${u0} === undefined`,W0)),a!==G.nil)F0.assign(a,!0);if(b0.length||c0.validateSchema){if(F0.elseIf(this.invalid$data()),this.$dataError(),a!==G.nil)F0.assign(a,!1)}F0.else()}invalid$data(){let{gen:a,schemaCode:W0,schemaType:F0,def:u0,it:b0}=this;return(0,G.or)(c0(),D1());function c0(){if(F0.length){if(!(W0 instanceof G.Name))throw Error("ajv implementation error");let k1=Array.isArray(F0)?F0:[F0];return G._`${(0,Q.checkDataTypes)(k1,W0,b0.opts.strictNumbers,Q.DataType.Wrong)}`}return G.nil}function D1(){if(u0.validateSchema){let k1=a.scopeValue("validate$data",{ref:u0.validateSchema});return G._`!${k1}(${W0})`}return G.nil}}subschema(a,W0){let F0=(0,K.getSubschema)(this.it,a);(0,K.extendSubschemaData)(F0,this.it,a),(0,K.extendSubschemaMode)(F0,a);let u0={...this.it,...F0,items:void 0,props:void 0};return D(u0,W0),u0}mergeEvaluated(a,W0){let{it:F0,gen:u0}=this;if(!F0.opts.unevaluated)return;if(F0.props!==!0&&a.props!==void 0)F0.props=X.mergeEvaluated.props(u0,a.props,F0.props,W0);if(F0.items!==!0&&a.items!==void 0)F0.items=X.mergeEvaluated.items(u0,a.items,F0.items,W0)}mergeValidEvaluated(a,W0){let{it:F0,gen:u0}=this;if(F0.opts.unevaluated&&(F0.props!==!0||F0.items!==!0))return u0.if(W0,()=>this.mergeEvaluated(a,G.Name)),!0}};$.KeywordCxt=E0;function G0(a,W0,F0,u0){let b0=new E0(a,F0,W0);if("code"in F0)F0.code(b0,u0);else if(b0.$data&&F0.validate)(0,I.funcKeywordCode)(b0,F0);else if("macro"in F0)(0,I.macroKeywordCode)(b0,F0);else if(F0.compile||F0.validate)(0,I.funcKeywordCode)(b0,F0)}let T0=/^\/(?:[^~]|~0|~1)*$/,i0=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function Y1(a,{dataLevel:W0,dataNames:F0,dataPathArr:u0}){let b0,c0;if(a==="")return H.default.rootData;if(a[0]==="/"){if(!T0.test(a))throw Error(`Invalid JSON-pointer: ${a}`);b0=a,c0=H.default.rootData}else{let b1=i0.exec(a);if(!b1)throw Error(`Invalid JSON-pointer: ${a}`);let A0=+b1[1];if(b0=b1[2],b0==="#"){if(A0>=W0)throw Error(u1("property/index",A0));return u0[W0-A0]}if(A0>W0)throw Error(u1("data",A0));if(c0=F0[W0-A0],!b0)return c0}let D1=c0,k1=b0.split("/");for(let b1 of k1)if(b1)c0=G._`${c0}${(0,G.getProperty)((0,X.unescapeJsonPointer)(b1))}`,D1=G._`${D1} && ${c0}`;return D1;function u1(b1,A0){return`Cannot access ${b1} ${A0} levels up, current level is ${W0}`}}$.getData=Y1}),LH=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});var Y=class extends Error{constructor(U){super("validation failed");this.errors=U,this.ajv=this.validation=!0}};$.default=Y}),kQ=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=gw();var U=class extends Error{constructor(z,Q,J,I){super(I||`can't resolve reference ${J} from id ${Q}`);this.missingRef=(0,Y.resolveUrl)(z,Q,J),this.missingSchema=(0,Y.normalizeId)((0,Y.getFullPath)(z,this.missingRef))}};$.default=U}),yw=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.resolveSchema=$.getCompilingSchema=$.resolveRef=$.compileSchema=$.SchemaEnv=void 0;let Y=L1(),U=LH(),z=z5(),Q=gw(),J=v1(),I=yQ();var K=class{constructor(w){var N;this.refs={},this.dynamicAnchors={};let O;if(typeof w.schema=="object")O=w.schema;this.schema=w.schema,this.schemaId=w.schemaId,this.root=w.root||this,this.baseId=(N=w.baseId)!==null&&N!==void 0?N:(0,Q.normalizeId)(O===null||O===void 0?void 0:O[w.schemaId||"$id"]),this.schemaPath=w.schemaPath,this.localRefs=w.localRefs,this.meta=w.meta,this.$async=O===null||O===void 0?void 0:O.$async,this.refs={}}};$.SchemaEnv=K;function G(w){let N=X.call(this,w);if(N)return N;let O=(0,Q.getFullPath)(this.opts.uriResolver,w.root.baseId),{es5:D,lines:P}=this.opts.code,{ownProperties:T}=this.opts,A=new Y.CodeGen(this.scope,{es5:D,lines:P,ownProperties:T}),j;if(w.$async)j=A.scopeValue("Error",{ref:U.default,code:Y._`require("ajv/dist/runtime/validation_error").default`});let C=A.scopeName("validate");w.validateName=C;let b={gen:A,allErrors:this.opts.allErrors,data:z.default.data,parentData:z.default.parentData,parentDataProperty:z.default.parentDataProperty,dataNames:[z.default.data],dataPathArr:[Y.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:A.scopeValue("schema",this.opts.code.source===!0?{ref:w.schema,code:(0,Y.stringify)(w.schema)}:{ref:w.schema}),validateName:C,ValidationError:j,schema:w.schema,schemaEnv:w,rootId:O,baseId:w.baseId||O,schemaPath:Y.nil,errSchemaPath:w.schemaPath||(this.opts.jtd?"":"#"),errorPath:Y._`""`,opts:this.opts,self:this},x;try{this._compilations.add(w),(0,I.validateFunctionCode)(b),A.optimize(this.opts.code.optimize);let S=A.toString();if(x=`${A.scopeRefs(z.default.scope)}return ${S}`,this.opts.code.process)x=this.opts.code.process(x,w);let i=Function(`${z.default.self}`,`${z.default.scope}`,x)(this,this.scope.get());if(this.scope.value(C,{ref:i}),i.errors=null,i.schema=w.schema,i.schemaEnv=w,w.$async)i.$async=!0;if(this.opts.code.source===!0)i.source={validateName:C,validateCode:S,scopeValues:A._values};if(this.opts.unevaluated){let{props:c,items:z0}=b;if(i.evaluated={props:c instanceof Y.Name?void 0:c,items:z0 instanceof Y.Name?void 0:z0,dynamicProps:c instanceof Y.Name,dynamicItems:z0 instanceof Y.Name},i.source)i.source.evaluated=(0,Y.stringify)(i.evaluated)}return w.validate=i,w}catch(S){if(delete w.validate,delete w.validateName,x)this.logger.error("Error compiling schema, function code:",x);throw S}finally{this._compilations.delete(w)}}$.compileSchema=G;function H(w,N,O){var D;O=(0,Q.resolveUrl)(this.opts.uriResolver,N,O);let P=w.refs[O];if(P)return P;let T=q.call(this,w,O);if(T===void 0){let A=(D=w.localRefs)===null||D===void 0?void 0:D[O],{schemaId:j}=this.opts;if(A)T=new K({schema:A,schemaId:j,root:w,baseId:N})}if(T===void 0)return;return w.refs[O]=W.call(this,T)}$.resolveRef=H;function W(w){if((0,Q.inlineRef)(w.schema,this.opts.inlineRefs))return w.schema;return w.validate?w:G.call(this,w)}function X(w){for(let N of this._compilations)if(Z(N,w))return N}$.getCompilingSchema=X;function Z(w,N){return w.schema===N.schema&&w.root===N.root&&w.baseId===N.baseId}function q(w,N){let O;while(typeof(O=this.refs[N])=="string")N=O;return O||this.schemas[N]||V.call(this,w,N)}function V(w,N){let O=this.opts.uriResolver.parse(N),D=(0,Q._getFullPath)(this.opts.uriResolver,O),P=(0,Q.getFullPath)(this.opts.uriResolver,w.baseId,void 0);if(Object.keys(w.schema).length>0&&D===P)return M.call(this,O,w);let T=(0,Q.normalizeId)(D),A=this.refs[T]||this.schemas[T];if(typeof A=="string"){let j=V.call(this,w,A);if(typeof(j===null||j===void 0?void 0:j.schema)!=="object")return;return M.call(this,O,j)}if(typeof(A===null||A===void 0?void 0:A.schema)!=="object")return;if(!A.validate)G.call(this,A);if(T===(0,Q.normalizeId)(N)){let{schema:j}=A,{schemaId:C}=this.opts,b=j[C];if(b)P=(0,Q.resolveUrl)(this.opts.uriResolver,P,b);return new K({schema:j,schemaId:C,root:w,baseId:P})}return M.call(this,O,A)}$.resolveSchema=V;let F=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function M(w,{baseId:N,schema:O,root:D}){var P;if(((P=w.fragment)===null||P===void 0?void 0:P[0])!=="/")return;for(let j of w.fragment.slice(1).split("/")){if(typeof O==="boolean")return;let C=O[(0,J.unescapeFragment)(j)];if(C===void 0)return;O=C;let b=typeof O==="object"&&O[this.opts.schemaId];if(!F.has(j)&&b)N=(0,Q.resolveUrl)(this.opts.uriResolver,N,b)}let T;if(typeof O!="boolean"&&O.$ref&&!(0,J.schemaHasRulesButRef)(O,this.RULES)){let j=(0,Q.resolveUrl)(this.opts.uriResolver,N,O.$ref);T=V.call(this,D,j)}let{schemaId:A}=this.opts;if(T=T||new K({schema:O,schemaId:A,root:D,baseId:N}),T.schema!==T.root.schema)return T}}),nu0=R0(($,Y)=>{Y.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}}),ot=R0(($,Y)=>{let U=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),z=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);function Q(V){let F="",M=0,w=0;for(w=0;w=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102))return"";F+=V[w];break}for(w+=1;w=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102))return"";F+=V[w]}return F}let J=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function I(V){return V.length=0,!0}function K(V,F,M){if(V.length){let w=Q(V);if(w!=="")F.push(w);else return M.error=!0,!1;V.length=0}return!0}function G(V){let F=0,M={error:!1,address:"",zone:""},w=[],N=[],O=!1,D=!1,P=K;for(let T=0;T7){M.error=!0;break}if(T>0&&V[T-1]===":")O=!0;w.push(":");continue}else if(A==="%"){if(!P(N,w,M))break;P=I}else{N.push(A);continue}}if(N.length)if(P===I)M.zone=N.join("");else if(D)w.push(N.join(""));else w.push(Q(N));return M.address=w.join(""),M}function H(V){if(W(V,":")<2)return{host:V,isIPV6:!1};let F=G(V);if(!F.error){let{address:M,address:w}=F;if(F.zone)M+="%"+F.zone,w+="%25"+F.zone;return{host:M,isIPV6:!0,escapedHost:w}}else return{host:V,isIPV6:!1}}function W(V,F){let M=0;for(let w=0;w{let{isUUID:U}=ot(),z=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,Q=["http","https","ws","wss","urn","urn:uuid"];function J(A){return Q.indexOf(A)!==-1}function I(A){if(A.secure===!0)return!0;else if(A.secure===!1)return!1;else if(A.scheme)return A.scheme.length===3&&(A.scheme[0]==="w"||A.scheme[0]==="W")&&(A.scheme[1]==="s"||A.scheme[1]==="S")&&(A.scheme[2]==="s"||A.scheme[2]==="S");else return!1}function K(A){if(!A.host)A.error=A.error||"HTTP URIs must have a host.";return A}function G(A){let j=String(A.scheme).toLowerCase()==="https";if(A.port===(j?443:80)||A.port==="")A.port=void 0;if(!A.path)A.path="/";return A}function H(A){return A.secure=I(A),A.resourceName=(A.path||"/")+(A.query?"?"+A.query:""),A.path=void 0,A.query=void 0,A}function W(A){if(A.port===(I(A)?443:80)||A.port==="")A.port=void 0;if(typeof A.secure==="boolean")A.scheme=A.secure?"wss":"ws",A.secure=void 0;if(A.resourceName){let[j,C]=A.resourceName.split("?");A.path=j&&j!=="/"?j:void 0,A.query=C,A.resourceName=void 0}return A.fragment=void 0,A}function X(A,j){if(!A.path)return A.error="URN can not be parsed",A;let C=A.path.match(z);if(C){let b=j.scheme||A.scheme||"urn";A.nid=C[1].toLowerCase(),A.nss=C[2];let x=T(`${b}:${j.nid||A.nid}`);if(A.path=void 0,x)A=x.parse(A,j)}else A.error=A.error||"URN can not be parsed.";return A}function Z(A,j){if(A.nid===void 0)throw Error("URN without nid cannot be serialized");let C=j.scheme||A.scheme||"urn",b=A.nid.toLowerCase(),x=T(`${C}:${j.nid||b}`);if(x)A=x.serialize(A,j);let S=A,i=A.nss;return S.path=`${b||j.nid}:${i}`,j.skipEscape=!0,S}function q(A,j){let C=A;if(C.uuid=C.nss,C.nss=void 0,!j.tolerant&&(!C.uuid||!U(C.uuid)))C.error=C.error||"UUID is not valid.";return C}function V(A){let j=A;return j.nss=(A.uuid||"").toLowerCase(),j}let F={scheme:"http",domainHost:!0,parse:K,serialize:G},M={scheme:"https",domainHost:F.domainHost,parse:K,serialize:G},w={scheme:"ws",domainHost:!0,parse:H,serialize:W},N={scheme:"wss",domainHost:w.domainHost,parse:w.parse,serialize:w.serialize},P={http:F,https:M,ws:w,wss:N,urn:{scheme:"urn",parse:X,serialize:Z,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:q,serialize:V,skipNormalize:!0}};Object.setPrototypeOf(P,null);function T(A){return A&&(P[A]||P[A.toLowerCase()])||void 0}Y.exports={wsIsSecure:I,SCHEMES:P,isValidSchemeName:J,getSchemeHandler:T}}),du0=R0(($,Y)=>{let{normalizeIPv6:U,removeDotSegments:z,recomposeAuthority:Q,normalizeComponentEncoding:J,isIPv4:I,nonSimpleDomain:K}=ot(),{SCHEMES:G,getSchemeHandler:H}=pu0();function W(N,O){if(typeof N==="string")N=V(M(N,O),O);else if(typeof N==="object")N=M(V(N,O),O);return N}function X(N,O,D){let P=D?Object.assign({scheme:"null"},D):{scheme:"null"},T=Z(M(N,P),M(O,P),P,!0);return P.skipEscape=!0,V(T,P)}function Z(N,O,D,P){let T={};if(!P)N=M(V(N,D),D),O=M(V(O,D),D);if(D=D||{},!D.tolerant&&O.scheme)T.scheme=O.scheme,T.userinfo=O.userinfo,T.host=O.host,T.port=O.port,T.path=z(O.path||""),T.query=O.query;else{if(O.userinfo!==void 0||O.host!==void 0||O.port!==void 0)T.userinfo=O.userinfo,T.host=O.host,T.port=O.port,T.path=z(O.path||""),T.query=O.query;else{if(!O.path)if(T.path=N.path,O.query!==void 0)T.query=O.query;else T.query=N.query;else{if(O.path[0]==="/")T.path=z(O.path);else{if((N.userinfo!==void 0||N.host!==void 0||N.port!==void 0)&&!N.path)T.path="/"+O.path;else if(!N.path)T.path=O.path;else T.path=N.path.slice(0,N.path.lastIndexOf("/")+1)+O.path;T.path=z(T.path)}T.query=O.query}T.userinfo=N.userinfo,T.host=N.host,T.port=N.port}T.scheme=N.scheme}return T.fragment=O.fragment,T}function q(N,O,D){if(typeof N==="string")N=unescape(N),N=V(J(M(N,D),!0),{...D,skipEscape:!0});else if(typeof N==="object")N=V(J(N,!0),{...D,skipEscape:!0});if(typeof O==="string")O=unescape(O),O=V(J(M(O,D),!0),{...D,skipEscape:!0});else if(typeof O==="object")O=V(J(O,!0),{...D,skipEscape:!0});return N.toLowerCase()===O.toLowerCase()}function V(N,O){let D={host:N.host,scheme:N.scheme,userinfo:N.userinfo,port:N.port,path:N.path,query:N.query,nid:N.nid,nss:N.nss,uuid:N.uuid,fragment:N.fragment,reference:N.reference,resourceName:N.resourceName,secure:N.secure,error:""},P=Object.assign({},O),T=[],A=H(P.scheme||D.scheme);if(A&&A.serialize)A.serialize(D,P);if(D.path!==void 0)if(!P.skipEscape){if(D.path=escape(D.path),D.scheme!==void 0)D.path=D.path.split("%3A").join(":")}else D.path=unescape(D.path);if(P.reference!=="suffix"&&D.scheme)T.push(D.scheme,":");let j=Q(D);if(j!==void 0){if(P.reference!=="suffix")T.push("//");if(T.push(j),D.path&&D.path[0]!=="/")T.push("/")}if(D.path!==void 0){let C=D.path;if(!P.absolutePath&&(!A||!A.absolutePath))C=z(C);if(j===void 0&&C[0]==="/"&&C[1]==="/")C="/%2F"+C.slice(2);T.push(C)}if(D.query!==void 0)T.push("?",D.query);if(D.fragment!==void 0)T.push("#",D.fragment);return T.join("")}let F=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function M(N,O){let D=Object.assign({},O),P={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},T=!1;if(D.reference==="suffix")if(D.scheme)N=D.scheme+":"+N;else N="//"+N;let A=N.match(F);if(A){if(P.scheme=A[1],P.userinfo=A[3],P.host=A[4],P.port=parseInt(A[5],10),P.path=A[6]||"",P.query=A[7],P.fragment=A[8],isNaN(P.port))P.port=A[5];if(P.host)if(I(P.host)===!1){let C=U(P.host);P.host=C.host.toLowerCase(),T=C.isIPV6}else T=!0;if(P.scheme===void 0&&P.userinfo===void 0&&P.host===void 0&&P.port===void 0&&P.query===void 0&&!P.path)P.reference="same-document";else if(P.scheme===void 0)P.reference="relative";else if(P.fragment===void 0)P.reference="absolute";else P.reference="uri";if(D.reference&&D.reference!=="suffix"&&D.reference!==P.reference)P.error=P.error||"URI is not a "+D.reference+" reference.";let j=H(D.scheme||P.scheme);if(!D.unicodeSupport&&(!j||!j.unicodeSupport)){if(P.host&&(D.domainHost||j&&j.domainHost)&&T===!1&&K(P.host))try{P.host=URL.domainToASCII(P.host.toLowerCase())}catch(C){P.error=P.error||"Host's domain name can not be converted to ASCII: "+C}}if(!j||j&&!j.skipNormalize){if(N.indexOf("%")!==-1){if(P.scheme!==void 0)P.scheme=unescape(P.scheme);if(P.host!==void 0)P.host=unescape(P.host)}if(P.path)P.path=escape(unescape(P.path));if(P.fragment)P.fragment=encodeURI(decodeURIComponent(P.fragment))}if(j&&j.parse)j.parse(P,D)}else P.error=P.error||"URI can not be parsed.";return P}let w={SCHEMES:G,normalize:W,resolve:X,resolveComponent:Z,equal:q,serialize:V,parse:M};Y.exports=w,Y.exports.default=w,Y.exports.fastUri=w}),mu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=du0();Y.code='require("ajv/dist/runtime/uri").default',$.default=Y}),IS=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=void 0;var Y=yQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return Y.KeywordCxt}});var U=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return U._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return U.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return U.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return U.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return U.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return U.CodeGen}});let z=LH(),Q=kQ(),J=dt(),I=yw(),K=L1(),G=gw(),H=hw(),W=v1(),X=nu0(),Z=mu0(),q=(g,p)=>new RegExp(g,p);q.code="new RegExp";let V=["removeAdditional","useDefaults","coerceTypes"],F=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),M={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},w={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},N=200;function O(g){var p,e,y,s,Y0,N0,E0,G0,T0,i0,Y1,a,W0,F0,u0,b0,c0,D1,k1,u1,b1,A0,Q0,B,v;let u=g.strict,r=(p=g.code)===null||p===void 0?void 0:p.optimize,X0=r===!0||r===void 0?1:r||0,J0=(y=(e=g.code)===null||e===void 0?void 0:e.regExp)!==null&&y!==void 0?y:q,q0=(s=g.uriResolver)!==null&&s!==void 0?s:Z.default;return{strictSchema:(N0=(Y0=g.strictSchema)!==null&&Y0!==void 0?Y0:u)!==null&&N0!==void 0?N0:!0,strictNumbers:(G0=(E0=g.strictNumbers)!==null&&E0!==void 0?E0:u)!==null&&G0!==void 0?G0:!0,strictTypes:(i0=(T0=g.strictTypes)!==null&&T0!==void 0?T0:u)!==null&&i0!==void 0?i0:"log",strictTuples:(a=(Y1=g.strictTuples)!==null&&Y1!==void 0?Y1:u)!==null&&a!==void 0?a:"log",strictRequired:(F0=(W0=g.strictRequired)!==null&&W0!==void 0?W0:u)!==null&&F0!==void 0?F0:!1,code:g.code?{...g.code,optimize:X0,regExp:J0}:{optimize:X0,regExp:J0},loopRequired:(u0=g.loopRequired)!==null&&u0!==void 0?u0:N,loopEnum:(b0=g.loopEnum)!==null&&b0!==void 0?b0:N,meta:(c0=g.meta)!==null&&c0!==void 0?c0:!0,messages:(D1=g.messages)!==null&&D1!==void 0?D1:!0,inlineRefs:(k1=g.inlineRefs)!==null&&k1!==void 0?k1:!0,schemaId:(u1=g.schemaId)!==null&&u1!==void 0?u1:"$id",addUsedSchema:(b1=g.addUsedSchema)!==null&&b1!==void 0?b1:!0,validateSchema:(A0=g.validateSchema)!==null&&A0!==void 0?A0:!0,validateFormats:(Q0=g.validateFormats)!==null&&Q0!==void 0?Q0:!0,unicodeRegExp:(B=g.unicodeRegExp)!==null&&B!==void 0?B:!0,int32range:(v=g.int32range)!==null&&v!==void 0?v:!0,uriResolver:q0}}var D=class{constructor(g={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,g=this.opts={...g,...O(g)};let{es5:p,lines:e}=this.opts.code;this.scope=new K.ValueScope({scope:{},prefixes:F,es5:p,lines:e}),this.logger=S(g.logger);let y=g.validateFormats;if(g.validateFormats=!1,this.RULES=(0,J.getRules)(),P.call(this,M,g,"NOT SUPPORTED"),P.call(this,w,g,"DEPRECATED","warn"),this._metaOpts=b.call(this),g.formats)j.call(this);if(this._addVocabularies(),this._addDefaultMetaSchema(),g.keywords)C.call(this,g.keywords);if(typeof g.meta=="object")this.addMetaSchema(g.meta);A.call(this),g.validateFormats=y}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:g,meta:p,schemaId:e}=this.opts,y=X;if(e==="id")y={...X},y.id=y.$id,delete y.$id;if(p&&g)this.addMetaSchema(y,y[e],!1)}defaultMeta(){let{meta:g,schemaId:p}=this.opts;return this.opts.defaultMeta=typeof g=="object"?g[p]||g:void 0}validate(g,p){let e;if(typeof g=="string"){if(e=this.getSchema(g),!e)throw Error(`no schema with key or ref "${g}"`)}else e=this.compile(g);let y=e(p);if(!("$async"in e))this.errors=e.errors;return y}compile(g,p){let e=this._addSchema(g,p);return e.validate||this._compileSchemaEnv(e)}compileAsync(g,p){if(typeof this.opts.loadSchema!="function")throw Error("options.loadSchema should be a function");let{loadSchema:e}=this.opts;return y.call(this,g,p);async function y(T0,i0){await s.call(this,T0.$schema);let Y1=this._addSchema(T0,i0);return Y1.validate||Y0.call(this,Y1)}async function s(T0){if(T0&&!this.getSchema(T0))await y.call(this,{$ref:T0},!0)}async function Y0(T0){try{return this._compileSchemaEnv(T0)}catch(i0){if(!(i0 instanceof Q.default))throw i0;return N0.call(this,i0),await E0.call(this,i0.missingSchema),Y0.call(this,T0)}}function N0({missingSchema:T0,missingRef:i0}){if(this.refs[T0])throw Error(`AnySchema ${T0} is loaded but ${i0} cannot be resolved`)}async function E0(T0){let i0=await G0.call(this,T0);if(!this.refs[T0])await s.call(this,i0.$schema);if(!this.refs[T0])this.addSchema(i0,T0,p)}async function G0(T0){let i0=this._loading[T0];if(i0)return i0;try{return await(this._loading[T0]=e(T0))}finally{delete this._loading[T0]}}}addSchema(g,p,e,y=this.opts.validateSchema){if(Array.isArray(g)){for(let Y0 of g)this.addSchema(Y0,void 0,e,y);return this}let s;if(typeof g==="object"){let{schemaId:Y0}=this.opts;if(s=g[Y0],s!==void 0&&typeof s!="string")throw Error(`schema ${Y0} must be string`)}return p=(0,G.normalizeId)(p||s),this._checkUnique(p),this.schemas[p]=this._addSchema(g,e,p,y,!0),this}addMetaSchema(g,p,e=this.opts.validateSchema){return this.addSchema(g,p,!0,e),this}validateSchema(g,p){if(typeof g=="boolean")return!0;let e;if(e=g.$schema,e!==void 0&&typeof e!="string")throw Error("$schema must be a string");if(e=e||this.opts.defaultMeta||this.defaultMeta(),!e)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let y=this.validate(e,g);if(!y&&p){let s="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(s);else throw Error(s)}return y}getSchema(g){let p;while(typeof(p=T.call(this,g))=="string")g=p;if(p===void 0){let{schemaId:e}=this.opts,y=new I.SchemaEnv({schema:{},schemaId:e});if(p=I.resolveSchema.call(this,y,g),!p)return;this.refs[g]=p}return p.validate||this._compileSchemaEnv(p)}removeSchema(g){if(g instanceof RegExp)return this._removeAllSchemas(this.schemas,g),this._removeAllSchemas(this.refs,g),this;switch(typeof g){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let p=T.call(this,g);if(typeof p=="object")this._cache.delete(p.schema);return delete this.schemas[g],delete this.refs[g],this}case"object":{let p=g;this._cache.delete(p);let e=g[this.opts.schemaId];if(e)e=(0,G.normalizeId)(e),delete this.schemas[e],delete this.refs[e];return this}default:throw Error("ajv.removeSchema: invalid parameter")}}addVocabulary(g){for(let p of g)this.addKeyword(p);return this}addKeyword(g,p){let e;if(typeof g=="string"){if(e=g,typeof p=="object")this.logger.warn("these parameters are deprecated, see docs for addKeyword"),p.keyword=e}else if(typeof g=="object"&&p===void 0){if(p=g,e=p.keyword,Array.isArray(e)&&!e.length)throw Error("addKeywords: keyword must be string or non-empty array")}else throw Error("invalid addKeywords parameters");if(c.call(this,e,p),!p)return(0,W.eachItem)(e,(s)=>z0.call(this,s)),this;d.call(this,p);let y={...p,type:(0,H.getJSONTypes)(p.type),schemaType:(0,H.getJSONTypes)(p.schemaType)};return(0,W.eachItem)(e,y.type.length===0?(s)=>z0.call(this,s,y):(s)=>y.type.forEach((Y0)=>z0.call(this,s,y,Y0))),this}getKeyword(g){let p=this.RULES.all[g];return typeof p=="object"?p.definition:!!p}removeKeyword(g){let{RULES:p}=this;delete p.keywords[g],delete p.all[g];for(let e of p.rules){let y=e.rules.findIndex((s)=>s.keyword===g);if(y>=0)e.rules.splice(y,1)}return this}addFormat(g,p){if(typeof p=="string")p=new RegExp(p);return this.formats[g]=p,this}errorsText(g=this.errors,{separator:p=", ",dataVar:e="data"}={}){if(!g||g.length===0)return"No errors";return g.map((y)=>`${e}${y.instancePath} ${y.message}`).reduce((y,s)=>y+p+s)}$dataMetaSchema(g,p){let e=this.RULES.all;g=JSON.parse(JSON.stringify(g));for(let y of p){let s=y.split("/").slice(1),Y0=g;for(let N0 of s)Y0=Y0[N0];for(let N0 in e){let E0=e[N0];if(typeof E0!="object")continue;let{$data:G0}=E0.definition,T0=Y0[N0];if(G0&&T0)Y0[N0]=$0(T0)}}return g}_removeAllSchemas(g,p){for(let e in g){let y=g[e];if(!p||p.test(e)){if(typeof y=="string")delete g[e];else if(y&&!y.meta)this._cache.delete(y.schema),delete g[e]}}}_addSchema(g,p,e,y=this.opts.validateSchema,s=this.opts.addUsedSchema){let Y0,{schemaId:N0}=this.opts;if(typeof g=="object")Y0=g[N0];else if(this.opts.jtd)throw Error("schema must be object");else if(typeof g!="boolean")throw Error("schema must be object or boolean");let E0=this._cache.get(g);if(E0!==void 0)return E0;e=(0,G.normalizeId)(Y0||e);let G0=G.getSchemaRefs.call(this,g,e);if(E0=new I.SchemaEnv({schema:g,schemaId:N0,meta:p,baseId:e,localRefs:G0}),this._cache.set(E0.schema,E0),s&&!e.startsWith("#")){if(e)this._checkUnique(e);this.refs[e]=E0}if(y)this.validateSchema(g,!0);return E0}_checkUnique(g){if(this.schemas[g]||this.refs[g])throw Error(`schema with key or id "${g}" already exists`)}_compileSchemaEnv(g){if(g.meta)this._compileMetaSchema(g);else I.compileSchema.call(this,g);if(!g.validate)throw Error("ajv implementation error");return g.validate}_compileMetaSchema(g){let p=this.opts;this.opts=this._metaOpts;try{I.compileSchema.call(this,g)}finally{this.opts=p}}};D.ValidationError=z.default,D.MissingRefError=Q.default,$.default=D;function P(g,p,e,y="error"){for(let s in g){let Y0=s;if(Y0 in p)this.logger[y](`${e}: option ${s}. ${g[Y0]}`)}}function T(g){return g=(0,G.normalizeId)(g),this.schemas[g]||this.refs[g]}function A(){let g=this.opts.schemas;if(!g)return;if(Array.isArray(g))this.addSchema(g);else for(let p in g)this.addSchema(g[p],p)}function j(){for(let g in this.opts.formats){let p=this.opts.formats[g];if(p)this.addFormat(g,p)}}function C(g){if(Array.isArray(g)){this.addVocabulary(g);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let p in g){let e=g[p];if(!e.keyword)e.keyword=p;this.addKeyword(e)}}function b(){let g={...this.opts};for(let p of V)delete g[p];return g}let x={log(){},warn(){},error(){}};function S(g){if(g===!1)return x;if(g===void 0)return console;if(g.log&&g.warn&&g.error)return g;throw Error("logger must implement log, warn and error methods")}let i=/^[a-z_$][a-z0-9_$:-]*$/i;function c(g,p){let{RULES:e}=this;if((0,W.eachItem)(g,(y)=>{if(e.keywords[y])throw Error(`Keyword ${y} is already defined`);if(!i.test(y))throw Error(`Keyword ${y} has invalid name`)}),!p)return;if(p.$data&&!(("code"in p)||("validate"in p)))throw Error('$data keyword must have "code" or "validate" function')}function z0(g,p,e){var y;let s=p===null||p===void 0?void 0:p.post;if(e&&s)throw Error('keyword with "post" flag cannot have "type"');let{RULES:Y0}=this,N0=s?Y0.post:Y0.rules.find(({type:G0})=>G0===e);if(!N0)N0={type:e,rules:[]},Y0.rules.push(N0);if(Y0.keywords[g]=!0,!p)return;let E0={keyword:g,definition:{...p,type:(0,H.getJSONTypes)(p.type),schemaType:(0,H.getJSONTypes)(p.schemaType)}};if(p.before)k.call(this,N0,E0,p.before);else N0.rules.push(E0);Y0.all[g]=E0,(y=p.implements)===null||y===void 0||y.forEach((G0)=>this.addKeyword(G0))}function k(g,p,e){let y=g.rules.findIndex((s)=>s.keyword===e);if(y>=0)g.rules.splice(y,0,p);else g.rules.push(p),this.logger.warn(`rule ${e} is not defined`)}function d(g){let{metaSchema:p}=g;if(p===void 0)return;if(g.$data&&this.opts.$data)p=$0(p);g.validateSchema=this.compile(p,!0)}let t={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function $0(g){return{anyOf:[g,t]}}}),lu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y={keyword:"id",code(){throw Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};$.default=Y}),KS=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.callRef=$.getValidate=void 0;let Y=kQ(),U=Q5(),z=L1(),Q=z5(),J=yw(),I=v1(),K={keyword:"$ref",schemaType:"string",code(W){let{gen:X,schema:Z,it:q}=W,{baseId:V,schemaEnv:F,validateName:M,opts:w,self:N}=q,{root:O}=F;if((Z==="#"||Z==="#/")&&V===O.baseId)return P();let D=J.resolveRef.call(N,O,V,Z);if(D===void 0)throw new Y.default(q.opts.uriResolver,V,Z);if(D instanceof J.SchemaEnv)return T(D);return A(D);function P(){if(F===O)return H(W,M,F,F.$async);let j=X.scopeValue("root",{ref:O});return H(W,z._`${j}.validate`,O,O.$async)}function T(j){H(W,G(W,j),j,j.$async)}function A(j){let C=X.scopeValue("schema",w.code.source===!0?{ref:j,code:(0,z.stringify)(j)}:{ref:j}),b=X.name("valid"),x=W.subschema({schema:j,dataTypes:[],schemaPath:z.nil,topSchemaRef:C,errSchemaPath:Z},b);W.mergeEvaluated(x),W.ok(b)}}};function G(W,X){let{gen:Z}=W;return X.validate?Z.scopeValue("validate",{ref:X.validate}):z._`${Z.scopeValue("wrapper",{ref:X})}.validate`}$.getValidate=G;function H(W,X,Z,q){let{gen:V,it:F}=W,{allErrors:M,schemaEnv:w,opts:N}=F,O=N.passContext?Q.default.this:z.nil;if(q)D();else P();function D(){if(!w.$async)throw Error("async schema referenced by sync schema");let j=V.let("valid");V.try(()=>{if(V.code(z._`await ${(0,U.callValidateCode)(W,X,O)}`),A(X),!M)V.assign(j,!0)},(C)=>{if(V.if(z._`!(${C} instanceof ${F.ValidationError})`,()=>V.throw(C)),T(C),!M)V.assign(j,!1)}),W.ok(j)}function P(){W.result((0,U.callValidateCode)(W,X,O),()=>A(X),()=>T(X))}function T(j){let C=z._`${j}.errors`;V.assign(Q.default.vErrors,z._`${Q.default.vErrors} === null ? ${C} : ${Q.default.vErrors}.concat(${C})`),V.assign(Q.default.errors,z._`${Q.default.vErrors}.length`)}function A(j){var C;if(!F.opts.unevaluated)return;let b=(C=Z===null||Z===void 0?void 0:Z.validate)===null||C===void 0?void 0:C.evaluated;if(F.props!==!0)if(b&&!b.dynamicProps){if(b.props!==void 0)F.props=I.mergeEvaluated.props(V,b.props,F.props)}else{let x=V.var("props",z._`${j}.evaluated.props`);F.props=I.mergeEvaluated.props(V,x,F.props,z.Name)}if(F.items!==!0)if(b&&!b.dynamicItems){if(b.items!==void 0)F.items=I.mergeEvaluated.items(V,b.items,F.items)}else{let x=V.var("items",z._`${j}.evaluated.items`);F.items=I.mergeEvaluated.items(V,x,F.items,z.Name)}}}$.callRef=H,$.default=K}),rt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=lu0(),U=KS(),z=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",Y.default,U.default];$.default=z}),ou0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=Y.operators,z={maximum:{okStr:"<=",ok:U.LTE,fail:U.GT},minimum:{okStr:">=",ok:U.GTE,fail:U.LT},exclusiveMaximum:{okStr:"<",ok:U.LT,fail:U.GTE},exclusiveMinimum:{okStr:">",ok:U.GT,fail:U.LTE}},Q={keyword:Object.keys(z),type:"number",schemaType:"number",$data:!0,error:{message:({keyword:J,schemaCode:I})=>Y.str`must be ${z[J].okStr} ${I}`,params:({keyword:J,schemaCode:I})=>Y._`{comparison: ${z[J].okStr}, limit: ${I}}`},code(J){let{keyword:I,data:K,schemaCode:G}=J;J.fail$data(Y._`${K} ${z[I].fail} ${G} || isNaN(${K})`)}};$.default=Q}),ru0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:z})=>Y.str`must be multiple of ${z}`,params:({schemaCode:z})=>Y._`{multipleOf: ${z}}`},code(z){let{gen:Q,data:J,schemaCode:I,it:K}=z,G=K.opts.multipleOfPrecision,H=Q.let("res"),W=G?Y._`Math.abs(Math.round(${H}) - ${H}) > 1e-${G}`:Y._`${H} !== parseInt(${H})`;z.fail$data(Y._`(${I} === 0 || (${H} = ${J}/${I}, ${W}))`)}};$.default=U}),su0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});function Y(U){let z=U.length,Q=0,J=0,I;while(J=55296&&I<=56319&&J{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z=su0(),Q={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:J,schemaCode:I}){let K=J==="maxLength"?"more":"fewer";return Y.str`must NOT have ${K} than ${I} characters`},params:({schemaCode:J})=>Y._`{limit: ${J}}`},code(J){let{keyword:I,data:K,schemaCode:G,it:H}=J,W=I==="maxLength"?Y.operators.GT:Y.operators.LT,X=H.opts.unicode===!1?Y._`${K}.length`:Y._`${(0,U.useFunc)(J.gen,z.default)}(${K})`;J.fail$data(Y._`${X} ${W} ${G}`)}};$.default=Q}),tu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),U=v1(),z=L1(),Q={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:J})=>z.str`must match pattern "${J}"`,params:({schemaCode:J})=>z._`{pattern: ${J}}`},code(J){let{gen:I,data:K,$data:G,schema:H,schemaCode:W,it:X}=J,Z=X.opts.unicodeRegExp?"u":"";if(G){let{regExp:q}=X.opts.code,V=q.code==="new RegExp"?z._`new RegExp`:(0,U.useFunc)(I,q),F=I.let("valid");I.try(()=>I.assign(F,z._`${V}(${W}, ${Z}).test(${K})`),()=>I.assign(F,!1)),J.fail$data(z._`!${F}`)}else{let q=(0,Y.usePattern)(J,H);J.fail$data(z._`!${q}.test(${K})`)}}};$.default=Q}),eu0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:z,schemaCode:Q}){let J=z==="maxProperties"?"more":"fewer";return Y.str`must NOT have ${J} than ${Q} properties`},params:({schemaCode:z})=>Y._`{limit: ${z}}`},code(z){let{keyword:Q,data:J,schemaCode:I}=z,K=Q==="maxProperties"?Y.operators.GT:Y.operators.LT;z.fail$data(Y._`Object.keys(${J}).length ${K} ${I}`)}};$.default=U}),$b0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),U=L1(),z=v1(),Q={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:J}})=>U.str`must have required property '${J}'`,params:({params:{missingProperty:J}})=>U._`{missingProperty: ${J}}`},code(J){let{gen:I,schema:K,schemaCode:G,data:H,$data:W,it:X}=J,{opts:Z}=X;if(!W&&K.length===0)return;let q=K.length>=Z.loopRequired;if(X.allErrors)V();else F();if(Z.strictRequired){let N=J.parentSchema.properties,{definedProperties:O}=J.it;for(let D of K)if((N===null||N===void 0?void 0:N[D])===void 0&&!O.has(D)){let P=`required property "${D}" is not defined at "${X.schemaEnv.baseId+X.errSchemaPath}" (strictRequired)`;(0,z.checkStrictMode)(X,P,X.opts.strictRequired)}}function V(){if(q||W)J.block$data(U.nil,M);else for(let N of K)(0,Y.checkReportMissingProp)(J,N)}function F(){let N=I.let("missing");if(q||W){let O=I.let("valid",!0);J.block$data(O,()=>w(N,O)),J.ok(O)}else I.if((0,Y.checkMissingProp)(J,K,N)),(0,Y.reportMissingProp)(J,N),I.else()}function M(){I.forOf("prop",G,(N)=>{J.setParams({missingProperty:N}),I.if((0,Y.noPropertyInData)(I,H,N,Z.ownProperties),()=>J.error())})}function w(N,O){J.setParams({missingProperty:N}),I.forOf(N,G,()=>{I.assign(O,(0,Y.propertyInData)(I,H,N,Z.ownProperties)),I.if((0,U.not)(O),()=>{J.error(),I.break()})},U.nil)}}};$.default=Q}),Yb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:z,schemaCode:Q}){let J=z==="maxItems"?"more":"fewer";return Y.str`must NOT have ${J} than ${Q} items`},params:({schemaCode:z})=>Y._`{limit: ${z}}`},code(z){let{keyword:Q,data:J,schemaCode:I}=z,K=Q==="maxItems"?Y.operators.GT:Y.operators.LT;z.fail$data(Y._`${J}.length ${K} ${I}`)}};$.default=U}),GS=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=lt();Y.code='require("ajv/dist/runtime/equal").default',$.default=Y}),Ub0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=hw(),U=L1(),z=v1(),Q=GS(),J={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:I,j:K}})=>U.str`must NOT have duplicate items (items ## ${K} and ${I} are identical)`,params:({params:{i:I,j:K}})=>U._`{i: ${I}, j: ${K}}`},code(I){let{gen:K,data:G,$data:H,schema:W,parentSchema:X,schemaCode:Z,it:q}=I;if(!H&&!W)return;let V=K.let("valid"),F=X.items?(0,Y.getSchemaTypes)(X.items):[];I.block$data(V,M,U._`${Z} === false`),I.ok(V);function M(){let D=K.let("i",U._`${G}.length`),P=K.let("j");I.setParams({i:D,j:P}),K.assign(V,!0),K.if(U._`${D} > 1`,()=>(w()?N:O)(D,P))}function w(){return F.length>0&&!F.some((D)=>D==="object"||D==="array")}function N(D,P){let T=K.name("item"),A=(0,Y.checkDataTypes)(F,T,q.opts.strictNumbers,Y.DataType.Wrong),j=K.const("indices",U._`{}`);K.for(U._`;${D}--;`,()=>{if(K.let(T,U._`${G}[${D}]`),K.if(A,U._`continue`),F.length>1)K.if(U._`typeof ${T} == "string"`,U._`${T} += "_"`);K.if(U._`typeof ${j}[${T}] == "number"`,()=>{K.assign(P,U._`${j}[${T}]`),I.error(),K.assign(V,!1).break()}).code(U._`${j}[${T}] = ${D}`)})}function O(D,P){let T=(0,z.useFunc)(K,Q.default),A=K.name("outer");K.label(A).for(U._`;${D}--;`,()=>K.for(U._`${P} = ${D}; ${P}--;`,()=>K.if(U._`${T}(${G}[${D}], ${G}[${P}])`,()=>{I.error(),K.assign(V,!1).break(A)})))}}};$.default=J}),zb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z=GS(),Q={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:J})=>Y._`{allowedValue: ${J}}`},code(J){let{gen:I,data:K,$data:G,schemaCode:H,schema:W}=J;if(G||W&&typeof W=="object")J.fail$data(Y._`!${(0,U.useFunc)(I,z.default)}(${K}, ${H})`);else J.fail(Y._`${W} !== ${K}`)}};$.default=Q}),Qb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z=GS(),Q={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:J})=>Y._`{allowedValues: ${J}}`},code(J){let{gen:I,data:K,$data:G,schema:H,schemaCode:W,it:X}=J;if(!G&&H.length===0)throw Error("enum must have non-empty array");let Z=H.length>=X.opts.loopEnum,q,V=()=>q!==null&&q!==void 0?q:q=(0,U.useFunc)(I,z.default),F;if(Z||G)F=I.let("valid"),J.block$data(F,M);else{if(!Array.isArray(H))throw Error("ajv implementation error");let N=I.const("vSchema",W);F=(0,Y.or)(...H.map((O,D)=>w(N,D)))}J.pass(F);function M(){I.assign(F,!1),I.forOf("v",W,(N)=>I.if(Y._`${V()}(${K}, ${N})`,()=>I.assign(F,!0).break()))}function w(N,O){let D=H[O];return typeof D==="object"&&D!==null?Y._`${V()}(${K}, ${N}[${O}])`:Y._`${K} === ${D}`}}};$.default=Q}),st=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=ou0(),U=ru0(),z=au0(),Q=tu0(),J=eu0(),I=$b0(),K=Yb0(),G=Ub0(),H=zb0(),W=Qb0(),X=[Y.default,U.default,z.default,Q.default,J.default,I.default,K.default,G.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},H.default,W.default];$.default=X}),at=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateAdditionalItems=void 0;let Y=L1(),U=v1(),z={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:J}})=>Y.str`must NOT have more than ${J} items`,params:({params:{len:J}})=>Y._`{limit: ${J}}`},code(J){let{parentSchema:I,it:K}=J,{items:G}=I;if(!Array.isArray(G)){(0,U.checkStrictMode)(K,'"additionalItems" is ignored when "items" is not an array of schemas');return}Q(J,G)}};function Q(J,I){let{gen:K,schema:G,data:H,keyword:W,it:X}=J;X.items=!0;let Z=K.const("len",Y._`${H}.length`);if(G===!1)J.setParams({len:I.length}),J.pass(Y._`${Z} <= ${I.length}`);else if(typeof G=="object"&&!(0,U.alwaysValidSchema)(X,G)){let V=K.var("valid",Y._`${Z} <= ${I.length}`);K.if((0,Y.not)(V),()=>q(V)),J.ok(V)}function q(V){K.forRange("i",I.length,Z,(F)=>{if(J.subschema({keyword:W,dataProp:F,dataPropType:U.Type.Num},V),!X.allErrors)K.if((0,Y.not)(V),()=>K.break())})}}$.validateAdditionalItems=Q,$.default=z}),tt=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateTuple=void 0;let Y=L1(),U=v1(),z=Q5(),Q={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(I){let{schema:K,it:G}=I;if(Array.isArray(K))return J(I,"additionalItems",K);if(G.items=!0,(0,U.alwaysValidSchema)(G,K))return;I.ok((0,z.validateArray)(I))}};function J(I,K,G=I.schema){let{gen:H,parentSchema:W,data:X,keyword:Z,it:q}=I;if(M(W),q.opts.unevaluated&&G.length&&q.items!==!0)q.items=U.mergeEvaluated.items(H,G.length,q.items);let V=H.name("valid"),F=H.const("len",Y._`${X}.length`);G.forEach((w,N)=>{if((0,U.alwaysValidSchema)(q,w))return;H.if(Y._`${F} > ${N}`,()=>I.subschema({keyword:Z,schemaProp:N,dataProp:N},V)),I.ok(V)});function M(w){let{opts:N,errSchemaPath:O}=q,D=G.length,P=D===w.minItems&&(D===w.maxItems||w[K]===!1);if(N.strictTuples&&!P){let T=`"${Z}" is ${D}-tuple, but minItems or maxItems/${K} are not specified or different at path "${O}"`;(0,U.checkStrictMode)(q,T,N.strictTuples)}}}$.validateTuple=J,$.default=Q}),Jb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=tt(),U={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:(z)=>(0,Y.validateTuple)(z,"items")};$.default=U}),Ib0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z=Q5(),Q=at(),J={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:I}})=>Y.str`must NOT have more than ${I} items`,params:({params:{len:I}})=>Y._`{limit: ${I}}`},code(I){let{schema:K,parentSchema:G,it:H}=I,{prefixItems:W}=G;if(H.items=!0,(0,U.alwaysValidSchema)(H,K))return;if(W)(0,Q.validateAdditionalItems)(I,W);else I.ok((0,z.validateArray)(I))}};$.default=J}),Kb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:Q,max:J}})=>J===void 0?Y.str`must contain at least ${Q} valid item(s)`:Y.str`must contain at least ${Q} and no more than ${J} valid item(s)`,params:({params:{min:Q,max:J}})=>J===void 0?Y._`{minContains: ${Q}}`:Y._`{minContains: ${Q}, maxContains: ${J}}`},code(Q){let{gen:J,schema:I,parentSchema:K,data:G,it:H}=Q,W,X,{minContains:Z,maxContains:q}=K;if(H.opts.next)W=Z===void 0?1:Z,X=q;else W=1;let V=J.const("len",Y._`${G}.length`);if(Q.setParams({min:W,max:X}),X===void 0&&W===0){(0,U.checkStrictMode)(H,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(X!==void 0&&W>X){(0,U.checkStrictMode)(H,'"minContains" > "maxContains" is always invalid'),Q.fail();return}if((0,U.alwaysValidSchema)(H,I)){let O=Y._`${V} >= ${W}`;if(X!==void 0)O=Y._`${O} && ${V} <= ${X}`;Q.pass(O);return}H.items=!0;let F=J.name("valid");if(X===void 0&&W===1)w(F,()=>J.if(F,()=>J.break()));else if(W===0){if(J.let(F,!0),X!==void 0)J.if(Y._`${G}.length > 0`,M)}else J.let(F,!1),M();Q.result(F,()=>Q.reset());function M(){let O=J.name("_valid"),D=J.let("count",0);w(O,()=>J.if(O,()=>N(D)))}function w(O,D){J.forRange("i",0,V,(P)=>{Q.subschema({keyword:"contains",dataProp:P,dataPropType:U.Type.Num,compositeRule:!0},O),D()})}function N(O){if(J.code(Y._`${O}++`),X===void 0)J.if(Y._`${O} >= ${W}`,()=>J.assign(F,!0).break());else if(J.if(Y._`${O} > ${X}`,()=>J.assign(F,!1).break()),W===1)J.assign(F,!0);else J.if(Y._`${O} >= ${W}`,()=>J.assign(F,!0))}}};$.default=z}),HS=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.validateSchemaDeps=$.validatePropertyDeps=$.error=void 0;let Y=L1(),U=v1(),z=Q5();$.error={message:({params:{property:G,depsCount:H,deps:W}})=>{let X=H===1?"property":"properties";return Y.str`must have ${X} ${W} when property ${G} is present`},params:({params:{property:G,depsCount:H,deps:W,missingProperty:X}})=>Y._`{property: ${G}, missingProperty: ${X}, depsCount: ${H}, - deps: ${W}}`};let Q={keyword:"dependencies",type:"object",schemaType:"object",error:$.error,code(G){let[H,W]=J(G);I(G,H),K(G,W)}};function J({schema:G}){let H={},W={};for(let X in G){if(X==="__proto__")continue;let Z=Array.isArray(G[X])?H:W;Z[X]=G[X]}return[H,W]}function I(G,H=G.schema){let{gen:W,data:X,it:Z}=G;if(Object.keys(H).length===0)return;let q=W.let("missing");for(let V in H){let F=H[V];if(F.length===0)continue;let M=(0,z.propertyInData)(W,X,V,Z.opts.ownProperties);if(G.setParams({property:V,depsCount:F.length,deps:F.join(", ")}),Z.allErrors)W.if(M,()=>{for(let w of F)(0,z.checkReportMissingProp)(G,w)});else W.if(Y._`${M} && (${(0,z.checkMissingProp)(G,F,q)})`),(0,z.reportMissingProp)(G,q),W.else()}}$.validatePropertyDeps=I;function K(G,H=G.schema){let{gen:W,data:X,keyword:Z,it:q}=G,V=W.name("valid");for(let F in H){if((0,U.alwaysValidSchema)(q,H[F]))continue;W.if((0,z.propertyInData)(W,X,F,q.opts.ownProperties),()=>{let M=G.subschema({keyword:Z,schemaProp:F},V);G.mergeValidEvaluated(M,V)},()=>W.var(V,!0)),G.ok(V)}}$.validateSchemaDeps=K,$.default=Q}),Gb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:Q})=>Y._`{propertyName: ${Q.propertyName}}`},code(Q){let{gen:J,schema:I,data:K,it:G}=Q;if((0,U.alwaysValidSchema)(G,I))return;let H=J.name("valid");J.forIn("key",K,(W)=>{Q.setParams({propertyName:W}),Q.subschema({keyword:"propertyNames",data:W,dataTypes:["string"],propertyName:W,compositeRule:!0},H),J.if((0,Y.not)(H),()=>{if(Q.error(!0),!G.allErrors)J.break()})}),Q.ok(H)}};$.default=z}),et=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),U=L1(),z=z5(),Q=v1(),J={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:I})=>U._`{additionalProperty: ${I.additionalProperty}}`},code(I){let{gen:K,schema:G,parentSchema:H,data:W,errsCount:X,it:Z}=I;if(!X)throw Error("ajv implementation error");let{allErrors:q,opts:V}=Z;if(Z.props=!0,V.removeAdditional!=="all"&&(0,Q.alwaysValidSchema)(Z,G))return;let F=(0,Y.allSchemaProperties)(H.properties),M=(0,Y.allSchemaProperties)(H.patternProperties);w(),I.ok(U._`${X} === ${z.default.errors}`);function w(){K.forIn("key",W,(T)=>{if(!F.length&&!M.length)D(T);else K.if(N(T),()=>D(T))})}function N(T){let A;if(F.length>8){let j=(0,Q.schemaRefOrVal)(Z,H.properties,"properties");A=(0,Y.isOwnProperty)(K,j,T)}else if(F.length)A=(0,U.or)(...F.map((j)=>U._`${T} === ${j}`));else A=U.nil;if(M.length)A=(0,U.or)(A,...M.map((j)=>U._`${(0,Y.usePattern)(I,j)}.test(${T})`));return(0,U.not)(A)}function O(T){K.code(U._`delete ${W}[${T}]`)}function D(T){if(V.removeAdditional==="all"||V.removeAdditional&&G===!1){O(T);return}if(G===!1){if(I.setParams({additionalProperty:T}),I.error(),!q)K.break();return}if(typeof G=="object"&&!(0,Q.alwaysValidSchema)(Z,G)){let A=K.name("valid");if(V.removeAdditional==="failing")P(T,A,!1),K.if((0,U.not)(A),()=>{I.reset(),O(T)});else if(P(T,A),!q)K.if((0,U.not)(A),()=>K.break())}}function P(T,A,j){let C={keyword:"additionalProperties",dataProp:T,dataPropType:Q.Type.Str};if(j===!1)Object.assign(C,{compositeRule:!0,createErrors:!1,allErrors:!1});I.subschema(C,A)}}};$.default=J}),Hb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=yQ(),U=Q5(),z=v1(),Q=et(),J={keyword:"properties",type:"object",schemaType:"object",code(I){let{gen:K,schema:G,parentSchema:H,data:W,it:X}=I;if(X.opts.removeAdditional==="all"&&H.additionalProperties===void 0)Q.default.code(new Y.KeywordCxt(X,Q.default,"additionalProperties"));let Z=(0,U.allSchemaProperties)(G);for(let w of Z)X.definedProperties.add(w);if(X.opts.unevaluated&&Z.length&&X.props!==!0)X.props=z.mergeEvaluated.props(K,(0,z.toHash)(Z),X.props);let q=Z.filter((w)=>!(0,z.alwaysValidSchema)(X,G[w]));if(q.length===0)return;let V=K.name("valid");for(let w of q){if(F(w))M(w);else{if(K.if((0,U.propertyInData)(K,W,w,X.opts.ownProperties)),M(w),!X.allErrors)K.else().var(V,!0);K.endIf()}I.it.definedProperties.add(w),I.ok(V)}function F(w){return X.opts.useDefaults&&!X.compositeRule&&G[w].default!==void 0}function M(w){I.subschema({keyword:"properties",schemaProp:w,dataProp:w},V)}}};$.default=J}),Wb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),U=L1(),z=v1(),Q=v1(),J={keyword:"patternProperties",type:"object",schemaType:"object",code(I){let{gen:K,schema:G,data:H,parentSchema:W,it:X}=I,{opts:Z}=X,q=(0,Y.allSchemaProperties)(G),V=q.filter((P)=>(0,z.alwaysValidSchema)(X,G[P]));if(q.length===0||V.length===q.length&&(!X.opts.unevaluated||X.props===!0))return;let F=Z.strictSchema&&!Z.allowMatchingProperties&&W.properties,M=K.name("valid");if(X.props!==!0&&!(X.props instanceof U.Name))X.props=(0,Q.evaluatedPropsToName)(K,X.props);let{props:w}=X;N();function N(){for(let P of q){if(F)O(P);if(X.allErrors)D(P);else K.var(M,!0),D(P),K.if(M)}}function O(P){for(let T in F)if(new RegExp(P).test(T))(0,z.checkStrictMode)(X,`property ${T} matches pattern ${P} (use allowMatchingProperties)`)}function D(P){K.forIn("key",H,(T)=>{K.if(U._`${(0,Y.usePattern)(I,P)}.test(${T})`,()=>{let A=V.includes(P);if(!A)I.subschema({keyword:"patternProperties",schemaProp:P,dataProp:T,dataPropType:Q.Type.Str},M);if(X.opts.unevaluated&&w!==!0)K.assign(U._`${w}[${T}]`,!0);else if(!A&&!X.allErrors)K.if((0,U.not)(M),()=>K.break())})})}}};$.default=J}),Xb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),U={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(z){let{gen:Q,schema:J,it:I}=z;if((0,Y.alwaysValidSchema)(I,J)){z.fail();return}let K=Q.name("valid");z.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},K),z.failResult(K,()=>z.reset(),()=>z.error())},error:{message:"must NOT be valid"}};$.default=U}),Zb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Q5().validateUnion,error:{message:"must match a schema in anyOf"}};$.default=Y}),qb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:Q})=>Y._`{passingSchemas: ${Q.passing}}`},code(Q){let{gen:J,schema:I,parentSchema:K,it:G}=Q;if(!Array.isArray(I))throw Error("ajv implementation error");if(G.opts.discriminator&&K.discriminator)return;let H=I,W=J.let("valid",!1),X=J.let("passing",null),Z=J.name("_valid");Q.setParams({passing:X}),J.block(q),Q.result(W,()=>Q.reset(),()=>Q.error(!0));function q(){H.forEach((V,F)=>{let M;if((0,U.alwaysValidSchema)(G,V))J.var(Z,!0);else M=Q.subschema({keyword:"oneOf",schemaProp:F,compositeRule:!0},Z);if(F>0)J.if(Y._`${Z} && ${W}`).assign(W,!1).assign(X,Y._`[${X}, ${F}]`).else();J.if(Z,()=>{if(J.assign(W,!0),J.assign(X,F),M)Q.mergeEvaluated(M,Y.Name)})})}}};$.default=z}),Vb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),U={keyword:"allOf",schemaType:"array",code(z){let{gen:Q,schema:J,it:I}=z;if(!Array.isArray(J))throw Error("ajv implementation error");let K=Q.name("valid");J.forEach((G,H)=>{if((0,Y.alwaysValidSchema)(I,G))return;let W=z.subschema({keyword:"allOf",schemaProp:H},K);z.ok(K),z.mergeEvaluated(W)})}};$.default=U}),Lb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:J})=>Y.str`must match "${J.ifClause}" schema`,params:({params:J})=>Y._`{failingKeyword: ${J.ifClause}}`},code(J){let{gen:I,parentSchema:K,it:G}=J;if(K.then===void 0&&K.else===void 0)(0,U.checkStrictMode)(G,'"if" without "then" and "else" is ignored');let H=Q(G,"then"),W=Q(G,"else");if(!H&&!W)return;let X=I.let("valid",!0),Z=I.name("_valid");if(q(),J.reset(),H&&W){let F=I.let("ifClause");J.setParams({ifClause:F}),I.if(Z,V("then",F),V("else",F))}else if(H)I.if(Z,V("then"));else I.if((0,Y.not)(Z),V("else"));J.pass(X,()=>J.error(!0));function q(){let F=J.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},Z);J.mergeEvaluated(F)}function V(F,M){return()=>{let w=J.subschema({keyword:F},Z);if(I.assign(X,Z),J.mergeValidEvaluated(w,X),M)I.assign(M,Y._`${F}`);else J.setParams({ifClause:F})}}}};function Q(J,I){let K=J.schema[I];return K!==void 0&&!(0,U.alwaysValidSchema)(J,K)}$.default=z}),Fb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),U={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:z,parentSchema:Q,it:J}){if(Q.if===void 0)(0,Y.checkStrictMode)(J,`"${z}" without "if" is ignored`)}};$.default=U}),$e=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=at(),U=Jb0(),z=tt(),Q=Ib0(),J=Kb0(),I=HS(),K=Gb0(),G=et(),H=Hb0(),W=Wb0(),X=Xb0(),Z=Zb0(),q=qb0(),V=Vb0(),F=Lb0(),M=Fb0();function w(N=!1){let O=[X.default,Z.default,q.default,V.default,F.default,M.default,K.default,G.default,I.default,H.default,W.default];if(N)O.push(U.default,Q.default);else O.push(Y.default,z.default);return O.push(J.default),O}$.default=w}),wb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:z})=>Y.str`must match format "${z}"`,params:({schemaCode:z})=>Y._`{format: ${z}}`},code(z,Q){let{gen:J,data:I,$data:K,schema:G,schemaCode:H,it:W}=z,{opts:X,errSchemaPath:Z,schemaEnv:q,self:V}=W;if(!X.validateFormats)return;if(K)F();else M();function F(){let w=J.scopeValue("formats",{ref:V.formats,code:X.code.formats}),N=J.const("fDef",Y._`${w}[${H}]`),O=J.let("fType"),D=J.let("format");J.if(Y._`typeof ${N} == "object" && !(${N} instanceof RegExp)`,()=>J.assign(O,Y._`${N}.type || "string"`).assign(D,Y._`${N}.validate`),()=>J.assign(O,Y._`"string"`).assign(D,N)),z.fail$data((0,Y.or)(P(),T()));function P(){if(X.strictSchema===!1)return Y.nil;return Y._`${H} && !${D}`}function T(){let A=q.$async?Y._`(${N}.async ? await ${D}(${I}) : ${D}(${I}))`:Y._`${D}(${I})`,j=Y._`(typeof ${D} == "function" ? ${A} : ${D}.test(${I}))`;return Y._`${D} && ${D} !== true && ${O} === ${Q} && !${j}`}}function M(){let w=V.formats[G];if(!w){P();return}if(w===!0)return;let[N,O,D]=T(w);if(N===Q)z.pass(A());function P(){if(X.strictSchema===!1){V.logger.warn(j());return}throw Error(j());function j(){return`unknown format "${G}" ignored in schema at path "${Z}"`}}function T(j){let C=j instanceof RegExp?(0,Y.regexpCode)(j):X.code.formats?Y._`${X.code.formats}${(0,Y.getProperty)(G)}`:void 0,b=J.scopeValue("formats",{key:G,ref:j,code:C});if(typeof j=="object"&&!(j instanceof RegExp))return[j.type||"string",j.validate,Y._`${b}.validate`];return["string",j,b]}function A(){if(typeof w=="object"&&!(w instanceof RegExp)&&w.async){if(!q.$async)throw Error("async format in sync schema");return Y._`await ${D}(${I})`}return typeof O=="function"?Y._`${D}(${I})`:Y._`${D}.test(${I})`}}}};$.default=U}),Ye=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=[wb0().default];$.default=Y}),Ue=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.contentVocabulary=$.metadataVocabulary=void 0,$.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],$.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]}),ze=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=rt(),U=st(),z=$e(),Q=Ye(),J=Ue(),I=[Y.default,U.default,(0,z.default)(),Q.default,J.metadataVocabulary,J.contentVocabulary];$.default=I}),Mb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.DiscrError=void 0;var Y;(function(U){U.Tag="tag",U.Mapping="mapping"})(Y||($.DiscrError=Y={}))}),WS=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=Mb0(),z=yw(),Q=kQ(),J=v1(),I={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:K,tagName:G}})=>K===U.DiscrError.Tag?`tag "${G}" must be string`:`value of tag "${G}" must be in oneOf`,params:({params:{discrError:K,tag:G,tagName:H}})=>Y._`{error: ${K}, tag: ${H}, tagValue: ${G}}`},code(K){let{gen:G,data:H,schema:W,parentSchema:X,it:Z}=K,{oneOf:q}=X;if(!Z.opts.discriminator)throw Error("discriminator: requires discriminator option");let V=W.propertyName;if(typeof V!="string")throw Error("discriminator: requires propertyName");if(W.mapping)throw Error("discriminator: mapping is not supported");if(!q)throw Error("discriminator: requires oneOf keyword");let F=G.let("valid",!1),M=G.const("tag",Y._`${H}${(0,Y.getProperty)(V)}`);G.if(Y._`typeof ${M} == "string"`,()=>w(),()=>K.error(!1,{discrError:U.DiscrError.Tag,tag:M,tagName:V})),K.ok(F);function w(){let D=O();G.if(!1);for(let P in D)G.elseIf(Y._`${M} === ${P}`),G.assign(F,N(D[P]));G.else(),K.error(!1,{discrError:U.DiscrError.Mapping,tag:M,tagName:V}),G.endIf()}function N(D){let P=G.name("valid"),T=K.subschema({keyword:"oneOf",schemaProp:D},P);return K.mergeEvaluated(T,Y.Name),P}function O(){var D;let P={},T=j(X),A=!0;for(let x=0;x{Y.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}),Qe=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0}),$.MissingRefError=$.ValidationError=$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=$.Ajv=void 0;let U=IS(),z=ze(),Q=WS(),J=Ob0(),I=["/properties"],K="http://json-schema.org/draft-07/schema";var G=class extends U.default{_addVocabularies(){if(super._addVocabularies(),z.default.forEach((q)=>this.addVocabulary(q)),this.opts.discriminator)this.addKeyword(Q.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let q=this.opts.$data?this.$dataMetaSchema(J,I):J;this.addMetaSchema(q,K,!1),this.refs["http://json-schema.org/schema"]=K}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(K)?K:void 0)}};$.Ajv=G,Y.exports=$=G,Y.exports.Ajv=G,Object.defineProperty($,"__esModule",{value:!0}),$.default=G;var H=yQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return H.KeywordCxt}});var W=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return W._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return W.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return W.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return W.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return W.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return W.CodeGen}});var X=LH();Object.defineProperty($,"ValidationError",{enumerable:!0,get:function(){return X.default}});var Z=kQ();Object.defineProperty($,"MissingRefError",{enumerable:!0,get:function(){return Z.default}})}),Je=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.dynamicAnchor=void 0;let Y=L1(),U=z5(),z=yw(),Q=KS(),J={keyword:"$dynamicAnchor",schemaType:"string",code:(G)=>I(G,G.schema)};function I(G,H){let{gen:W,it:X}=G;X.schemaEnv.root.dynamicAnchors[H]=!0;let Z=Y._`${U.default.dynamicAnchors}${(0,Y.getProperty)(H)}`,q=X.errSchemaPath==="#"?X.validateName:K(G);W.if(Y._`!${Z}`,()=>W.assign(Z,q))}$.dynamicAnchor=I;function K(G){let{schemaEnv:H,schema:W,self:X}=G.it,{root:Z,baseId:q,localRefs:V,meta:F}=H.root,{schemaId:M}=X.opts,w=new z.SchemaEnv({schema:W,schemaId:M,root:Z,baseId:q,localRefs:V,meta:F});return z.compileSchema.call(X,w),(0,Q.getValidate)(G,w)}$.default=J}),Ie=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.dynamicRef=void 0;let Y=L1(),U=z5(),z=KS(),Q={keyword:"$dynamicRef",schemaType:"string",code:(I)=>J(I,I.schema)};function J(I,K){let{gen:G,keyword:H,it:W}=I;if(K[0]!=="#")throw Error(`"${H}" only supports hash fragment reference`);let X=K.slice(1);if(W.allErrors)Z();else{let V=G.let("valid",!1);Z(V),I.ok(V)}function Z(V){if(W.schemaEnv.root.dynamicAnchors[X]){let F=G.let("_v",Y._`${U.default.dynamicAnchors}${(0,Y.getProperty)(X)}`);G.if(F,q(F,V),q(W.validateName,V))}else q(W.validateName,V)()}function q(V,F){return F?()=>G.block(()=>{(0,z.callRef)(I,V),G.let(F,!0)}):()=>(0,z.callRef)(I,V)}}$.dynamicRef=J,$.default=Q}),Nb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Je(),U=v1(),z={keyword:"$recursiveAnchor",schemaType:"boolean",code(Q){if(Q.schema)(0,Y.dynamicAnchor)(Q,"");else(0,U.checkStrictMode)(Q.it,"$recursiveAnchor: false is ignored")}};$.default=z}),Db0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Ie(),U={keyword:"$recursiveRef",schemaType:"string",code:(z)=>(0,Y.dynamicRef)(z,z.schema)};$.default=U}),Ke=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Je(),U=Ie(),z=Nb0(),Q=Db0(),J=[Y.default,U.default,z.default,Q.default];$.default=J}),Ab0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=HS(),U={keyword:"dependentRequired",type:"object",schemaType:"object",error:Y.error,code:(z)=>(0,Y.validatePropertyDeps)(z)};$.default=U}),Bb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=HS(),U={keyword:"dependentSchemas",type:"object",schemaType:"object",code:(z)=>(0,Y.validateSchemaDeps)(z)};$.default=U}),Pb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),U={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:z,parentSchema:Q,it:J}){if(Q.contains===void 0)(0,Y.checkStrictMode)(J,`"${z}" without "contains" is ignored`)}};$.default=U}),Ge=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Ab0(),U=Bb0(),z=Pb0(),Q=[Y.default,U.default,z.default];$.default=Q}),Tb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z=z5(),Q={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:J})=>Y._`{unevaluatedProperty: ${J.unevaluatedProperty}}`},code(J){let{gen:I,schema:K,data:G,errsCount:H,it:W}=J;if(!H)throw Error("ajv implementation error");let{allErrors:X,props:Z}=W;if(Z instanceof Y.Name)I.if(Y._`${Z} !== true`,()=>I.forIn("key",G,(M)=>I.if(V(Z,M),()=>q(M))));else if(Z!==!0)I.forIn("key",G,(M)=>Z===void 0?q(M):I.if(F(Z,M),()=>q(M)));W.props=!0,J.ok(Y._`${H} === ${z.default.errors}`);function q(M){if(K===!1){if(J.setParams({unevaluatedProperty:M}),J.error(),!X)I.break();return}if(!(0,U.alwaysValidSchema)(W,K)){let w=I.name("valid");if(J.subschema({keyword:"unevaluatedProperties",dataProp:M,dataPropType:U.Type.Str},w),!X)I.if((0,Y.not)(w),()=>I.break())}}function V(M,w){return Y._`!${M} || !${M}[${w}]`}function F(M,w){let N=[];for(let O in M)if(M[O]===!0)N.push(Y._`${w} !== ${O}`);return(0,Y.and)(...N)}}};$.default=Q}),jb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:Q}})=>Y.str`must NOT have more than ${Q} items`,params:({params:{len:Q}})=>Y._`{limit: ${Q}}`},code(Q){let{gen:J,schema:I,data:K,it:G}=Q,H=G.items||0;if(H===!0)return;let W=J.const("len",Y._`${K}.length`);if(I===!1)Q.setParams({len:H}),Q.fail(Y._`${W} > ${H}`);else if(typeof I=="object"&&!(0,U.alwaysValidSchema)(G,I)){let Z=J.var("valid",Y._`${W} <= ${H}`);J.if((0,Y.not)(Z),()=>X(Z,H)),Q.ok(Z)}G.items=!0;function X(Z,q){J.forRange("i",q,W,(V)=>{if(Q.subschema({keyword:"unevaluatedItems",dataProp:V,dataPropType:U.Type.Num},Z),!G.allErrors)J.if((0,Y.not)(Z),()=>J.break())})}}};$.default=z}),He=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Tb0(),U=jb0(),z=[Y.default,U.default];$.default=z}),Eb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/schema",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/core":!0,"https://json-schema.org/draft/2019-09/vocab/applicator":!0,"https://json-schema.org/draft/2019-09/vocab/validation":!0,"https://json-schema.org/draft/2019-09/vocab/meta-data":!0,"https://json-schema.org/draft/2019-09/vocab/format":!1,"https://json-schema.org/draft/2019-09/vocab/content":!0},$recursiveAnchor:!0,title:"Core and Validation specifications meta-schema",allOf:[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format"},{$ref:"meta/content"}],type:["object","boolean"],properties:{definitions:{$comment:"While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},dependencies:{$comment:'"dependencies" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to "dependentSchemas" and "dependentRequired"',type:"object",additionalProperties:{anyOf:[{$recursiveRef:"#"},{$ref:"meta/validation#/$defs/stringArray"}]}}}}}),Cb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/applicator",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/applicator":!0},$recursiveAnchor:!0,title:"Applicator vocabulary meta-schema",type:["object","boolean"],properties:{additionalItems:{$recursiveRef:"#"},unevaluatedItems:{$recursiveRef:"#"},items:{anyOf:[{$recursiveRef:"#"},{$ref:"#/$defs/schemaArray"}]},contains:{$recursiveRef:"#"},additionalProperties:{$recursiveRef:"#"},unevaluatedProperties:{$recursiveRef:"#"},properties:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$recursiveRef:"#"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$recursiveRef:"#"}},propertyNames:{$recursiveRef:"#"},if:{$recursiveRef:"#"},then:{$recursiveRef:"#"},else:{$recursiveRef:"#"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$recursiveRef:"#"}},$defs:{schemaArray:{type:"array",minItems:1,items:{$recursiveRef:"#"}}}}}),Rb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/content",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/content":!0},$recursiveAnchor:!0,title:"Content vocabulary meta-schema",type:["object","boolean"],properties:{contentMediaType:{type:"string"},contentEncoding:{type:"string"},contentSchema:{$recursiveRef:"#"}}}}),_b0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/core",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/core":!0},$recursiveAnchor:!0,title:"Core vocabulary meta-schema",type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{type:"string",format:"uri"},$anchor:{type:"string",pattern:"^[A-Za-z][-A-Za-z0-9.:_]*$"},$ref:{type:"string",format:"uri-reference"},$recursiveRef:{type:"string",format:"uri-reference"},$recursiveAnchor:{type:"boolean",default:!1},$vocabulary:{type:"object",propertyNames:{type:"string",format:"uri"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}}}}}),vb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/format",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/format":!0},$recursiveAnchor:!0,title:"Format vocabulary meta-schema",type:["object","boolean"],properties:{format:{type:"string"}}}}),hb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/meta-data",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/meta-data":!0},$recursiveAnchor:!0,title:"Meta-data vocabulary meta-schema",type:["object","boolean"],properties:{title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}}}}),Sb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/validation",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/validation":!0},$recursiveAnchor:!0,title:"Validation vocabulary meta-schema",type:["object","boolean"],properties:{multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}},const:!0,enum:{type:"array",items:!0},type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]}},$defs:{nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}}}}),gb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Eb0(),U=Cb0(),z=Rb0(),Q=_b0(),J=vb0(),I=hb0(),K=Sb0(),G=["/properties"];function H(W){return[Y,U,z,Q,X(this,J),I,X(this,K)].forEach((Z)=>this.addMetaSchema(Z,void 0,!1)),this;function X(Z,q){return W?Z.$dataMetaSchema(q,G):q}}$.default=H}),yb0=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0}),$.MissingRefError=$.ValidationError=$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=$.Ajv2019=void 0;let U=IS(),z=ze(),Q=Ke(),J=Ge(),I=He(),K=WS(),G=gb0(),H="https://json-schema.org/draft/2019-09/schema";var W=class extends U.default{constructor(F={}){super({...F,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){if(super._addVocabularies(),this.addVocabulary(Q.default),z.default.forEach((F)=>this.addVocabulary(F)),this.addVocabulary(J.default),this.addVocabulary(I.default),this.opts.discriminator)this.addKeyword(K.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();let{$data:F,meta:M}=this.opts;if(!M)return;G.default.call(this,F),this.refs["http://json-schema.org/schema"]=H}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(H)?H:void 0)}};$.Ajv2019=W,Y.exports=$=W,Y.exports.Ajv2019=W,Object.defineProperty($,"__esModule",{value:!0}),$.default=W;var X=yQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return X.KeywordCxt}});var Z=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return Z._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return Z.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return Z.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return Z.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return Z.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return Z.CodeGen}});var q=LH();Object.defineProperty($,"ValidationError",{enumerable:!0,get:function(){return q.default}});var V=kQ();Object.defineProperty($,"MissingRefError",{enumerable:!0,get:function(){return V.default}})}),kb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=rt(),U=st(),z=$e(),Q=Ke(),J=Ge(),I=He(),K=Ye(),G=Ue(),H=[Q.default,Y.default,U.default,(0,z.default)(!0),K.default,G.metadataVocabulary,G.contentVocabulary,J.default,I.default];$.default=H}),xb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/schema",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Core and Validation specifications meta-schema",allOf:[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],type:["object","boolean"],$comment:"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",properties:{definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}}}}),fb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/applicator",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/applicator":!0},$dynamicAnchor:"meta",title:"Applicator vocabulary meta-schema",type:["object","boolean"],properties:{prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},$defs:{schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}}}}),ub0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/unevaluated",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},$dynamicAnchor:"meta",title:"Unevaluated applicator vocabulary meta-schema",type:["object","boolean"],properties:{unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}}}}),bb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/content",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Content vocabulary meta-schema",type:["object","boolean"],properties:{contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}}}}),ib0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/core",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0},$dynamicAnchor:"meta",title:"Core vocabulary meta-schema",type:["object","boolean"],properties:{$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},$defs:{anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}}}}),cb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/format-annotation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},$dynamicAnchor:"meta",title:"Format vocabulary meta-schema for annotation results",type:["object","boolean"],properties:{format:{type:"string"}}}}),nb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/meta-data",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},$dynamicAnchor:"meta",title:"Meta-data vocabulary meta-schema",type:["object","boolean"],properties:{title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}}}}),pb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/validation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/validation":!0},$dynamicAnchor:"meta",title:"Validation vocabulary meta-schema",type:["object","boolean"],properties:{type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},$defs:{nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}}}}),db0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=xb0(),U=fb0(),z=ub0(),Q=bb0(),J=ib0(),I=cb0(),K=nb0(),G=pb0(),H=["/properties"];function W(X){return[Y,U,z,Q,J,Z(this,I),K,Z(this,G)].forEach((q)=>this.addMetaSchema(q,void 0,!1)),this;function Z(q,V){return X?q.$dataMetaSchema(V,H):V}}$.default=W}),mb0=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0}),$.MissingRefError=$.ValidationError=$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=$.Ajv2020=void 0;let U=IS(),z=kb0(),Q=WS(),J=db0(),I="https://json-schema.org/draft/2020-12/schema";var K=class extends U.default{constructor(Z={}){super({...Z,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){if(super._addVocabularies(),z.default.forEach((Z)=>this.addVocabulary(Z)),this.opts.discriminator)this.addKeyword(Q.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();let{$data:Z,meta:q}=this.opts;if(!q)return;J.default.call(this,Z),this.refs["http://json-schema.org/schema"]=I}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(I)?I:void 0)}};$.Ajv2020=K,Y.exports=$=K,Y.exports.Ajv2020=K,Object.defineProperty($,"__esModule",{value:!0}),$.default=K;var G=yQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return G.KeywordCxt}});var H=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return H._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return H.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return H.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return H.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return H.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return H.CodeGen}});var W=LH();Object.defineProperty($,"ValidationError",{enumerable:!0,get:function(){return W.default}});var X=kQ();Object.defineProperty($,"MissingRefError",{enumerable:!0,get:function(){return X.default}})}),lb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.formatNames=$.fastFormats=$.fullFormats=void 0;function Y(x,S){return{validate:x,compare:S}}$.fullFormats={date:Y(J,I),time:Y(G(!0),H),"date-time":Y(Z(!0),q),"iso-time":Y(G(),W),"iso-date-time":Y(Z(),V),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:w,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:b,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:O,int32:{type:"number",validate:T},int64:{type:"number",validate:A},float:{type:"number",validate:j},double:{type:"number",validate:j},password:!0,binary:!0},$.fastFormats={...$.fullFormats,date:Y(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,I),time:Y(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,H),"date-time":Y(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,q),"iso-time":Y(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,W),"iso-date-time":Y(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,V),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},$.formatNames=Object.keys($.fullFormats);function U(x){return x%4===0&&(x%100!==0||x%400===0)}let z=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,Q=[0,31,28,31,30,31,30,31,31,30,31,30,31];function J(x){let S=z.exec(x);if(!S)return!1;let i=+S[1],c=+S[2],z0=+S[3];return c>=1&&c<=12&&z0>=1&&z0<=(c===2&&U(i)?29:Q[c])}function I(x,S){if(!(x&&S))return;if(x>S)return 1;if(x23||p>59||x&&!t)return!1;if(z0<=23&&k<=59&&d<60)return!0;let e=k-p*$0,y=z0-g*$0-(e<0?1:0);return(y===23||y===-1)&&(e===59||e===-1)&&d<61}}function H(x,S){if(!(x&&S))return;let i=new Date("2020-01-01T"+x).valueOf(),c=new Date("2020-01-01T"+S).valueOf();if(!(i&&c))return;return i-c}function W(x,S){if(!(x&&S))return;let i=K.exec(x),c=K.exec(S);if(!(i&&c))return;if(x=i[1]+i[2]+i[3],S=c[1]+c[2]+c[3],x>S)return 1;if(x=D}function A(x){return Number.isInteger(x)}function j(){return!0}let C=/[^\\]\\Z/;function b(x){if(C.test(x))return!1;try{return new RegExp(x),!0}catch(S){return!1}}}),ob0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.formatLimitDefinition=void 0;let Y=Qe(),U=L1(),z=U.operators,Q={formatMaximum:{okStr:"<=",ok:z.LTE,fail:z.GT},formatMinimum:{okStr:">=",ok:z.GTE,fail:z.LT},formatExclusiveMaximum:{okStr:"<",ok:z.LT,fail:z.GTE},formatExclusiveMinimum:{okStr:">",ok:z.GT,fail:z.LTE}},J={message:({keyword:K,schemaCode:G})=>U.str`should be ${Q[K].okStr} ${G}`,params:({keyword:K,schemaCode:G})=>U._`{comparison: ${Q[K].okStr}, limit: ${G}}`};$.formatLimitDefinition={keyword:Object.keys(Q),type:"string",schemaType:"string",$data:!0,error:J,code(K){let{gen:G,data:H,schemaCode:W,keyword:X,it:Z}=K,{opts:q,self:V}=Z;if(!q.validateFormats)return;let F=new Y.KeywordCxt(Z,V.RULES.all.format.definition,"format");if(F.$data)M();else w();function M(){let O=G.scopeValue("formats",{ref:V.formats,code:q.code.formats}),D=G.const("fmt",U._`${O}[${F.schemaCode}]`);K.fail$data((0,U.or)(U._`typeof ${D} != "object"`,U._`${D} instanceof RegExp`,U._`typeof ${D}.compare != "function"`,N(D)))}function w(){let O=F.schema,D=V.formats[O];if(!D||D===!0)return;if(typeof D!="object"||D instanceof RegExp||typeof D.compare!="function")throw Error(`"${X}": format "${O}" does not define "compare" function`);let P=G.scopeValue("formats",{key:O,ref:D,code:q.code.formats?U._`${q.code.formats}${(0,U.getProperty)(O)}`:void 0});K.fail$data(N(P))}function N(O){return U._`${O}.compare(${H}, ${W}) ${Q[X].fail} 0`}},dependencies:["format"]};let I=(K)=>{return K.addKeyword($.formatLimitDefinition),K};$.default=I}),rb0=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0});let U=lb0(),z=ob0(),Q=L1(),J=new Q.Name("fullFormats"),I=new Q.Name("fastFormats"),K=(H,W={keywords:!0})=>{if(Array.isArray(W))return G(H,W,U.fullFormats,J),H;let[X,Z]=W.mode==="fast"?[U.fastFormats,I]:[U.fullFormats,J];if(G(H,W.formats||U.formatNames,X,Z),W.keywords)(0,z.default)(H);return H};K.get=(H,W="full")=>{let X=(W==="fast"?U.fastFormats:U.fullFormats)[H];if(!X)throw Error(`Unknown format "${H}"`);return X};function G(H,W,X,Z){var q,V;(q=(V=H.opts.code).formats)!==null&&q!==void 0||(V.formats=Q._`require("ajv-formats/dist/formats").${Z}`);for(let F of W)H.addFormat(F,X[F])}Y.exports=$=K,Object.defineProperty($,"__esModule",{value:!0}),$.default=K}),We=Qe(),sb0=yb0(),ab0=mb0(),tb0=nq(rb0(),1),eb0=tb0.default;Mu1=We.Ajv});import XS from"node:process";var xw=m(()=>{Xe()});function qS($){return!!$&&typeof $==="object"&&Ne in $}function Yi0($){return $[Ne]?.complete}function Ui0($,Y){switch(Y.kind){case"tools_list_changed":return $.toolsListChanged===!0;case"prompts_list_changed":return $.promptsListChanged===!0;case"resources_list_changed":return $.resourcesListChanged===!0;case"resource_updated":return $.resourceSubscriptions!==void 0&&$.resourceSubscriptions.includes(Y.uri)}}function zi0($,Y){let U={},z=(Q)=>Y===void 0||Q===!0;if($.toolsListChanged===!0&&z(Y?.tools?.listChanged))U.toolsListChanged=!0;if($.promptsListChanged===!0&&z(Y?.prompts?.listChanged))U.promptsListChanged=!0;if($.resourcesListChanged===!0&&z(Y?.resources?.listChanged))U.resourcesListChanged=!0;if($.resourceSubscriptions!==void 0&&$.resourceSubscriptions.length>0&&z(Y?.resources?.subscribe))U.resourceSubscriptions=[...$.resourceSubscriptions];return U}function Ze($,Y){return{method:$.method,params:{...$.params,_meta:{...$.params?._meta,[yY]:Y}}}}function Qi0($){let Y=j7(qH).validateRequest("subscriptions/listen",$);return Y.ok?Y.value.params?.notifications:void 0}function Ii0($,Y){switch($){case"notifications/tools/list_changed":return{kind:"tools_list_changed"};case"notifications/prompts/list_changed":return{kind:"prompts_list_changed"};case"notifications/resources/list_changed":return{kind:"resources_list_changed"};default:return{kind:"resource_updated",uri:Y??""}}}function Hi0($){if($?.maxRounds!==void 0&&(!Number.isInteger($.maxRounds)||$.maxRounds<1))throw RangeError(`inputRequired.maxRounds must be a positive integer (got ${$.maxRounds})`);if($?.roundTimeoutMs!==void 0&&(!Number.isFinite($.roundTimeoutMs)||$.roundTimeoutMs<=0))throw RangeError(`inputRequired.roundTimeoutMs must be a positive number (got ${$.roundTimeoutMs})`);return{maxRounds:$?.maxRounds??Ki0,roundTimeoutMs:$?.roundTimeoutMs??Gi0,legacyShim:$?.legacyShim??!0}}function Ae($,Y,U){if(U===null||typeof U!=="object"||typeof U.method!=="string")throw new J1(n0.InternalError,`Handler for ${$} returned an invalid input request '${Y}': each inputRequests entry must be an embedded elicitation/create, sampling/createMessage, or roots/list request`);let z=U,Q=qt(z);if(Q===void 0)throw new J1(n0.InternalError,`Handler for ${$} returned an input request '${Y}' of kind '${z.method}', which is not an embedded request the 2026-07-28 revision defines`);return{embedded:z,required:Q}}function Wi0(){let $=globalThis.crypto;if($?.randomUUID!==void 0)return $.randomUUID();let Y=new Uint8Array(16);$.getRandomValues(Y),Y[6]=Y[6]&15|64,Y[8]=Y[8]&63|128;let U=[...Y].map((z)=>z.toString(16).padStart(2,"0")).join("");return`${U.slice(0,8)}-${U.slice(8,12)}-${U.slice(12,16)}-${U.slice(16,20)}-${U.slice(20)}`}function ZS($,Y){if($==="tools/call")return{content:[{type:"text",text:Y}],isError:!0};throw new J1(n0.InternalError,Y)}function VS($,Y){Be($,Y)}function LS($){return Pe($)}function Vi0($){return{...$}}function qe($,Y){if($){let z=Y;return async(Q,J)=>z(Q,J)}let U=Y;return async(z,Q)=>U(Q)}function Le($){if($===void 0)return;try{return R7($,"output")}catch{return}}function Fe($,Y,U){if(Y){let z=U;return async(Q,J)=>{let I=await fY(Y,Q);if(!I.success)throw new J1(n0.InvalidParams,`Invalid arguments for prompt ${$}: ${I.error}`);return z(I.data,J)}}else{let z=U;return async(Q,J)=>{return z(J)}}}function we($){return{completion:{values:$.map(String).slice(0,100),total:$.length,hasMore:$.length>100}}}function Me($){let Y=$;if(Y.shape&&typeof Y.shape==="object")return Y.shape}function Li0($){return $?.type==="optional"}function Oe($){if(!Li0($))return $;return $.def?.innerType??$}var Ne,fw=1024,Ji0,De=class{_subs=new Map;_serverCapabilities;_serverInfo;constructor($=fw,Y,U){this._maxSubscriptions=$,this._serverCapabilities=Y,this._serverInfo=U}setServerCapabilities($,Y){if(this._serverCapabilities=$,Y!==void 0)this._serverInfo=Y}has($){return this._subs.has($)}serve($){if(this._serverCapabilities===void 0)throw Error("StdioListenRouter.serve() called before setServerCapabilities(); refusing to honor a filter without capabilities");if(this._subs.size>=this._maxSubscriptions)return{jsonrpc:"2.0",id:$.id,error:{code:-32603,message:"Subscription limit reached"}};let Y=Qi0($);if(Y===void 0)return{jsonrpc:"2.0",id:$.id,error:{code:-32602,message:"Invalid params: 'notifications' is required and must be a valid SubscriptionFilter"}};let U=zi0(Y,this._serverCapabilities);return this._subs.set($.id,U),Ze({method:"notifications/subscriptions/acknowledged",params:{notifications:U}},$.id)}cancel($){return this._subs.delete($)}routeOutbound($){if(!Ji0.has($.method))return"passthrough";let Y=$.params?.uri,U=typeof Y==="string"?Y:void 0,z=Ii0($.method,U),Q=[];for(let[J,I]of this._subs)if(Ui0(I,z))Q.push(Ze({method:$.method,params:$.params??{}},J));return Q}teardownAll(){let $=[];for(let Y of this._subs.keys())$.push({jsonrpc:"2.0",id:Y,result:{resultType:"complete",_meta:{[yY]:Y,...this._serverInfo!==void 0&&{[p5]:this._serverInfo}}}});return this._subs.clear(),$}},Ki0=8,Gi0=600000,Xi0=class{constructor($){this._host=$}async fulfill($,Y,U,z,Q){let{maxRounds:J,roundTimeoutMs:I}=this._host,K=z.mcpReq.signal,G=Q,H=0;while(!0){if(H+=1,H>J)return ZS($,gt($,J));let W=G.inputRequests,X=W!=null&&Object.keys(W).length>0,Z=typeof G.requestState==="string"?G.requestState:void 0;if(!X&&Z===void 0)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result with neither inputRequests nor requestState (every InputRequiredResult must include at least one of the two)`);let q;if(X){let M=this._host.resolvedClientCapabilities(z),w=[];for(let[O,D]of Object.entries(W)){let{embedded:P,required:T}=Ae($,O,D);if(P.method!=="roots/list"&&P.params===void 0)throw new J1(n0.InternalError,`Handler for ${$} returned an input request '${O}' of kind '${P.method}' without params`);if(Nw(T,M)!==void 0)return ZS($,`Cannot request input '${O}' (${P.method}): the client on this 2025-era connection did not declare the required capability${M===void 0?" (no client capabilities are available on this connection — per-request legacy serving cannot receive server-to-client requests)":""}`);w.push([O,P])}let N=kt(K);try{let O={relatedRequestId:z.mcpReq.id,timeout:I,resetTimeoutOnProgress:!0,onprogress:()=>{},signal:N.signal},D=await Promise.all(w.map(async([P,T])=>{try{return[P,await this._dispatchLeg(T,O)]}catch(A){throw N.abort(A),A}}));q=Object.fromEntries(D)}catch(O){if(K.aborted)throw O;return ZS($,`Fulfilling input required by '${$}' failed: ${O instanceof Error?O.message:String(O)}`)}finally{N.dispose()}}else await yt(St,K);let V={...z,mcpReq:{...z.mcpReq,inputResponses:q,droppedInputResponseKeys:void 0,requestState:VH(Z)}};if(Z!==void 0){let M=await this._host.verifyRequestState(Z,V,$);if(M!==void 0)V=th(V,M)}let F=await Y(U,V);if(!s9(F))return F;G=F}}async _dispatchLeg($,Y){switch($.method){case"elicitation/create":{let U=$.params;if(U.mode==="url"&&U.elicitationId===void 0)U={...U,elicitationId:Wi0()};return await this._host.sendElicitation(U,Y)}case"sampling/createMessage":return await this._host.sendSampling($.params,Y);case"roots/list":return await this._host.listRoots($.params,Y)}}},Zi0,qi0,Be,Pe,Te,wH=class{server;_registeredResources={};_registeredResourceTemplates={};_registeredTools={};_registeredPrompts={};_toolInputSchemaJson={};toolInputSchemaJson($){let Y=this._registeredTools[$];if(Y===void 0||!Y.enabled)return;if(Object.hasOwn(this._toolInputSchemaJson,$))return this._toolInputSchemaJson[$];if(Y.inputSchema===void 0)return Ve;try{let U=R7(Y.inputSchema,"input");return this._toolInputSchemaJson[$]=U,U}catch{return}}constructor($,Y){if(this.server=new Te($,Y),Y?.capabilities?.tools)this.setToolRequestHandlers();if(Y?.capabilities?.resources)this.setResourceRequestHandlers();if(Y?.capabilities?.prompts)this.setPromptRequestHandlers()}async connect($){return await this.server.connect($)}async close(){await this.server.close()}_toolHandlersInitialized=!1;setToolRequestHandlers(){if(this._toolHandlersInitialized)return;this.server.assertCanSetRequestHandler("tools/list"),this.server.assertCanSetRequestHandler("tools/call"),this.server.registerCapabilities({tools:{listChanged:this.server.getCapabilities().tools?.listChanged??!0}}),this.server.setRequestHandler("tools/list",()=>({tools:Object.entries(this._registeredTools).filter(([,$])=>$.enabled).map(([$,Y])=>{let U={name:$,title:Y.title,description:Y.description,inputSchema:Y.inputSchema?R7(Y.inputSchema,"input"):Ve,annotations:Y.annotations,icons:Y.icons,execution:Y.execution,_meta:Y._meta};if(Y.outputSchema)U.outputSchema=R7(Y.outputSchema,"output");return U})})),this.server.setRequestHandler("tools/call",async($,Y)=>{let U=this._registeredTools[$.params.name];if(!U)throw new J1(n0.InvalidParams,`Tool ${$.params.name} not found`);if(!U.enabled)throw new J1(n0.InvalidParams,`Tool ${$.params.name} disabled`);try{let z=await this.validateToolInput(U,$.params.arguments,$.params.name),Q=await this.executeToolHandler(U,z,Y);if(await this.validateToolOutput(U,Q,$.params.name),s9(Q))return Q;return this.server.projectCallToolResult(Q,U.outputSchemaJson)}catch(z){if(z instanceof J1&&z.code===n0.UrlElicitationRequired)throw z;return this.createToolError(z instanceof Error?z.message:String(z))}}),this._toolHandlersInitialized=!0}createToolError($){return{content:[{type:"text",text:$}],isError:!0}}async validateToolInput($,Y,U){if(!$.inputSchema)return;let z=await fY($.inputSchema,Y??{});if(!z.success)throw new J1(n0.InvalidParams,`Input validation error: Invalid arguments for tool ${U}: ${z.error}`);return z.data}async validateToolOutput($,Y,U){if(!$.outputSchema)return;if(s9(Y))return;if(Y.isError)return;if(Y.structuredContent===void 0)throw new J1(n0.InvalidParams,`Output validation error: Tool ${U} has an output schema but no structured content was provided`);let z=await fY($.outputSchema,Y.structuredContent);if(!z.success)throw new J1(n0.InvalidParams,`Output validation error: Invalid structured content for tool ${U}: ${z.error}`)}async executeToolHandler($,Y,U){return $.executor(Y,U)}_completionHandlerInitialized=!1;setCompletionRequestHandler(){if(this._completionHandlerInitialized)return;this.server.assertCanSetRequestHandler("completion/complete"),this.server.registerCapabilities({completions:{}}),this.server.setRequestHandler("completion/complete",async($)=>{switch($.params.ref.type){case"ref/prompt":return mh($),this.handlePromptCompletion($,$.params.ref);case"ref/resource":return lh($),this.handleResourceCompletion($,$.params.ref);default:throw new J1(n0.InvalidParams,`Invalid completion reference: ${$.params.ref}`)}}),this._completionHandlerInitialized=!0}async handlePromptCompletion($,Y){let U=this._registeredPrompts[Y.name];if(!U)throw new J1(n0.InvalidParams,`Prompt ${Y.name} not found`);if(!U.enabled)throw new J1(n0.InvalidParams,`Prompt ${Y.name} disabled`);if(!U.argsSchema)return FH;let z=Oe(Me(U.argsSchema)?.[$.params.argument.name]);if(!qS(z))return FH;let Q=Yi0(z);if(!Q)return FH;return we(await Q($.params.argument.value,$.params.context))}async handleResourceCompletion($,Y){let U=Object.values(this._registeredResourceTemplates).find((Q)=>Q.resourceTemplate.uriTemplate.toString()===Y.uri);if(!U){if(this._registeredResources[Y.uri])return FH;throw new J1(n0.InvalidParams,`Resource template ${$.params.ref.uri} not found`)}let z=U.resourceTemplate.completeCallback($.params.argument.name);if(!z)return FH;return we(await z($.params.argument.value,$.params.context))}_resourceHandlersInitialized=!1;setResourceRequestHandlers(){if(this._resourceHandlersInitialized)return;this.server.assertCanSetRequestHandler("resources/list"),this.server.assertCanSetRequestHandler("resources/templates/list"),this.server.assertCanSetRequestHandler("resources/read"),this.server.registerCapabilities({resources:{listChanged:this.server.getCapabilities().resources?.listChanged??!0}}),this.server.setRequestHandler("resources/list",async($,Y)=>{let U=Object.entries(this._registeredResources).filter(([Q,J])=>J.enabled).map(([Q,J])=>({uri:Q,name:J.name,...J.metadata})),z=[];for(let Q of Object.values(this._registeredResourceTemplates)){if(!Q.resourceTemplate.listCallback)continue;let J=await Q.resourceTemplate.listCallback(Y);for(let I of J.resources)z.push({...Q.metadata,...I})}return{resources:[...U,...z]}}),this.server.setRequestHandler("resources/templates/list",async()=>{return{resourceTemplates:Object.entries(this._registeredResourceTemplates).map(([$,Y])=>({name:$,uriTemplate:Y.resourceTemplate.uriTemplate.toString(),...Y.metadata}))}}),this.server.setRequestHandler("resources/read",async($,Y)=>{let U;try{U=new URL($.params.uri)}catch{throw new J1(n0.InvalidParams,`Resource URI ${$.params.uri} is invalid`,{uri:$.params.uri,reason:"invalid_uri"})}let z=this._registeredResources[U.toString()];if(z){if(!z.enabled)throw new J1(n0.InvalidParams,`Resource ${U} disabled`);return Dw(await z.readCallback(U,Y),z.cacheHint)}for(let Q of Object.values(this._registeredResourceTemplates)){let J=Q.resourceTemplate.uriTemplate.match(U.toString());if(J)return Dw(await Q.readCallback(U,J,Y),Q.cacheHint)}throw new Aw($.params.uri)}),this._resourceHandlersInitialized=!0}_promptHandlersInitialized=!1;setPromptRequestHandlers(){if(this._promptHandlersInitialized)return;this.server.assertCanSetRequestHandler("prompts/list"),this.server.assertCanSetRequestHandler("prompts/get"),this.server.registerCapabilities({prompts:{listChanged:this.server.getCapabilities().prompts?.listChanged??!0}}),this.server.setRequestHandler("prompts/list",()=>({prompts:Object.entries(this._registeredPrompts).filter(([,$])=>$.enabled).map(([$,Y])=>{return{name:$,title:Y.title,description:Y.description,arguments:Y.argsSchema?ht(Y.argsSchema):void 0,icons:Y.icons,_meta:Y._meta}})})),this.server.setRequestHandler("prompts/get",async($,Y)=>{let U=this._registeredPrompts[$.params.name];if(!U)throw new J1(n0.InvalidParams,`Prompt ${$.params.name} not found`);if(!U.enabled)throw new J1(n0.InvalidParams,`Prompt ${$.params.name} disabled`);return U.handler($.params.arguments,Y)}),this._promptHandlersInitialized=!0}registerResource($,Y,U,z){let Q=U.cacheHint,J=U;if(Q!==void 0){nh(Q,`resource ${$}`);let I={...U};delete I.cacheHint,J=I}if(typeof Y==="string"){if(this._registeredResources[Y])throw Error(`Resource ${Y} is already registered`);let I=this._createRegisteredResource($,U.title,Y,J,z);if(Q!==void 0)I.cacheHint=Q;return this.setResourceRequestHandlers(),this.sendResourceListChanged(),I}else{if(this._registeredResourceTemplates[$])throw Error(`Resource template ${$} is already registered`);let I=this._createRegisteredResourceTemplate($,U.title,Y,J,z);if(Q!==void 0)I.cacheHint=Q;return this.setResourceRequestHandlers(),this.sendResourceListChanged(),I}}_createRegisteredResource($,Y,U,z,Q){let J={name:$,title:Y,metadata:z,readCallback:Q,enabled:!0,disable:()=>J.update({enabled:!1}),enable:()=>J.update({enabled:!0}),remove:()=>J.update({uri:null}),update:(I)=>{if(I.uri!==void 0&&I.uri!==U){if(delete this._registeredResources[U],I.uri)this._registeredResources[I.uri]=J}if(I.name!==void 0)J.name=I.name;if(I.title!==void 0)J.title=I.title;if(I.metadata!==void 0)J.metadata=I.metadata;if(I.callback!==void 0)J.readCallback=I.callback;if(I.enabled!==void 0)J.enabled=I.enabled;this.sendResourceListChanged()}};return this._registeredResources[U]=J,J}_createRegisteredResourceTemplate($,Y,U,z,Q){let J={resourceTemplate:U,title:Y,metadata:z,readCallback:Q,enabled:!0,disable:()=>J.update({enabled:!1}),enable:()=>J.update({enabled:!0}),remove:()=>J.update({name:null}),update:(K)=>{if(K.name!==void 0&&K.name!==$){if(delete this._registeredResourceTemplates[$],K.name)this._registeredResourceTemplates[K.name]=J}if(K.title!==void 0)J.title=K.title;if(K.template!==void 0)J.resourceTemplate=K.template;if(K.metadata!==void 0)J.metadata=K.metadata;if(K.callback!==void 0)J.readCallback=K.callback;if(K.enabled!==void 0)J.enabled=K.enabled;this.sendResourceListChanged()}};this._registeredResourceTemplates[$]=J;let I=U.uriTemplate.variableNames;if(Array.isArray(I)&&I.some((K)=>!!U.completeCallback(K)))this.setCompletionRequestHandler();return J}_createRegisteredPrompt($,Y,U,z,Q,J,I){let K=z,G=Q,H={title:Y,description:U,argsSchema:z,icons:J,_meta:I,handler:Fe($,z,Q),enabled:!0,disable:()=>H.update({enabled:!1}),enable:()=>H.update({enabled:!0}),remove:()=>H.update({name:null}),update:(W)=>{if(W.name!==void 0&&W.name!==$){if(delete this._registeredPrompts[$],W.name)this._registeredPrompts[W.name]=H}if(W.title!==void 0)H.title=W.title;if(W.description!==void 0)H.description=W.description;if(W.icons!==void 0)H.icons=W.icons;if(W._meta!==void 0)H._meta=W._meta;let X=!1;if(W.argsSchema!==void 0)H.argsSchema=W.argsSchema,K=W.argsSchema,X=!0;if(W.callback!==void 0)G=W.callback,X=!0;if(X)H.handler=Fe($,K,G);if(W.enabled!==void 0)H.enabled=W.enabled;this.sendPromptListChanged()}};if(this._registeredPrompts[$]=H,z){let W=Me(z);if(W){if(Object.values(W).some((X)=>{return qS(Oe(X))}))this.setCompletionRequestHandler()}}return H}_createRegisteredTool($,Y,U,z,Q,J,I,K,G,H){if(QS($),z!==void 0)try{let Z=R7(z,"input");this._toolInputSchemaJson[$]=Z;let q=oh(Z);if(!q.valid)console.warn(`[mcp-sdk] tool '${$}' carries an invalid x-mcp-header declaration and will be excluded by conforming Streamable HTTP clients: ${q.reason}`)}catch{}let W=H,X={title:Y,description:U,inputSchema:z,outputSchema:Q,outputSchemaJson:Le(Q),annotations:J,icons:I,execution:K,_meta:G,handler:H,executor:qe(z,H),enabled:!0,disable:()=>X.update({enabled:!1}),enable:()=>X.update({enabled:!0}),remove:()=>X.update({name:null}),update:(Z)=>{if(Z.name!==void 0&&Z.name!==$){if(typeof Z.name==="string")QS(Z.name);if(delete this._registeredTools[$],delete this._toolInputSchemaJson[$],Z.name)delete this._toolInputSchemaJson[Z.name],this._registeredTools[Z.name]=X,$=Z.name}if(Z.title!==void 0)X.title=Z.title;if(Z.description!==void 0)X.description=Z.description;let q=!1;if(Z.paramsSchema!==void 0)X.inputSchema=Z.paramsSchema,delete this._toolInputSchemaJson[$],q=!0;if(Z.callback!==void 0)X.handler=Z.callback,W=Z.callback,q=!0;if(q)X.executor=qe(X.inputSchema,W);if(Z.outputSchema!==void 0)X.outputSchema=Z.outputSchema,X.outputSchemaJson=Le(Z.outputSchema);if(Z.annotations!==void 0)X.annotations=Z.annotations;if(Z.icons!==void 0)X.icons=Z.icons;if(Z._meta!==void 0)X._meta=Z._meta;if(Z.enabled!==void 0)X.enabled=Z.enabled;this.sendToolListChanged()}};return this._registeredTools[$]=X,this.setToolRequestHandlers(),this.sendToolListChanged(),X}registerTool($,Y,U){if(this._registeredTools[$])throw Error(`Tool ${$} is already registered`);let{title:z,description:Q,inputSchema:J,outputSchema:I,annotations:K,icons:G,_meta:H}=Y;return this._createRegisteredTool($,z,Q,Rw(J),Rw(I),K,G,void 0,H,U)}registerPrompt($,Y,U){if(this._registeredPrompts[$])throw Error(`Prompt ${$} is already registered`);let{title:z,description:Q,argsSchema:J,icons:I,_meta:K}=Y,G=this._createRegisteredPrompt($,z,Q,Rw(J),U,I,K);return this.setPromptRequestHandlers(),this.sendPromptListChanged(),G}isConnected(){return this.server.transport!==void 0}async sendLoggingMessage($,Y){return this.server.sendLoggingMessage($,Y)}sendResourceListChanged(){if(this.isConnected())this.server.sendResourceListChanged()}sendToolListChanged(){if(this.isConnected())this.server.sendToolListChanged()}sendPromptListChanged(){if(this.isConnected())this.server.sendPromptListChanged()}},Ve,FH;var FS=m(()=>{_w();xw();Ne=Symbol.for("mcp.completable");Ji0=new Set(["notifications/tools/list_changed","notifications/prompts/list_changed","notifications/resources/list_changed","notifications/resources/updated"]);Zi0=new Set(["tools/call","prompts/get","resources/read"]);Te=class extends $S{_clientCapabilities;_clientVersion;static{qi0=($,Y)=>{if(Y.clientCapabilities!==void 0)$._clientCapabilities=Y.clientCapabilities;if(Y.clientInfo!==void 0)$._clientVersion=Y.clientInfo},Be=($,Y)=>{let U=Y.filter((z)=>!$._supportedProtocolVersions.includes(z));if(U.length>0)$._supportedProtocolVersions=[...$._supportedProtocolVersions,...U];$.setRequestHandler("server/discover",()=>$._ondiscover())},Pe=($)=>$._serverInfo}_capabilities;_instructions;_jsonSchemaValidator;_cacheHints;_requestStateVerify;_inputRequiredServing;_legacyShim;_legacyInputRequiredShim(){return this._legacyShim??=new Xi0({maxRounds:this._inputRequiredServing.maxRounds,roundTimeoutMs:this._inputRequiredServing.roundTimeoutMs,resolvedClientCapabilities:($)=>this._inputRequestCapabilityView($),verifyRequestState:($,Y,U)=>this._verifyRequestState($,Y,U),sendElicitation:($,Y)=>this._sendElicitationLeg($,Y,{validateAcceptedContent:!1}),sendSampling:($,Y)=>this.createMessage($,Y),listRoots:($,Y)=>this.listRoots($,Y)})}oninitialized;constructor($,Y){super(Y);if(this._serverInfo=$,this._capabilities=Y?.capabilities?{...Y.capabilities}:{},this._instructions=Y?.instructions,this._jsonSchemaValidator=Y?.jsonSchemaValidator??new kw,this._requestStateVerify=Y?.requestState?.verify,this._inputRequiredServing=Hi0(Y?.inputRequired),Y?.cacheHints!==void 0){for(let[U,z]of Object.entries(Y.cacheHints))if(z!==void 0)nh(z,`cacheHints['${U}']`);this._cacheHints=Y.cacheHints}if(this.setRequestHandler("initialize",(U)=>this._oninitialize(U)),this.setNotificationHandler("notifications/initialized",()=>this.oninitialized?.()),xh(this._supportedProtocolVersions).length>0)this.setRequestHandler("server/discover",()=>this._ondiscover());if(this._capabilities.logging)this._registerLoggingHandler()}_registerLoggingHandler(){this.setRequestHandler("logging/setLevel",async($,Y)=>{let U=Y.sessionId||Y.http?.req?.headers.get("mcp-session-id")||void 0,{level:z}=$.params,Q=Cw(P7,z);if(Q.success)this._loggingLevels.set(U,Q.data);return{}})}buildContext($,Y){let U=$.http||Y?.request||Y?.closeSSEStream||Y?.closeStandaloneSSEStream;return{...$,mcpReq:{...$.mcpReq,log:(z,Q,J)=>{if(!this._capabilities.logging)return Promise.resolve();let I;if(this._servedModernEra()){if(I=$.mcpReq.envelope?.[M7],I===void 0)return Promise.resolve()}else I=this._loggingLevels.get($.sessionId)??this._loggingLevels.get(void 0);if(I!==void 0&&this.LOG_LEVEL_SEVERITY.get(z)this.elicitInput(z,Q),requestSampling:(z,Q)=>this.createMessage(z,Q)},http:U?{...$.http,req:Y?.request,closeSSE:Y?.closeSSEStream,closeStandaloneSSE:Y?.closeStandaloneSSEStream}:void 0}}_loggingLevels=new Map;LOG_LEVEL_SEVERITY=new Map(P7.options.map(($,Y)=>[$,Y]));isMessageIgnored=($,Y)=>{let U=this._loggingLevels.get(Y);return U?this.LOG_LEVEL_SEVERITY.get($){let I=await Y(Q,J);if(s9(I))throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result, but only tools/call, prompts/get and resources/read support input_required (protocol revision 2026-07-28)`);return I};return async(Q,J)=>{let I=z?await this._invokeInputRequiredCapableHandler($,Y,Q,J):await Y(Q,J);if(s9(I)){if(!z)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result, but only tools/call, prompts/get and resources/read support input_required (protocol revision 2026-07-28)`);return I}return U===void 0?I:Dw(I,U)}}return async(U,z)=>{let Q=j7(this._negotiatedProtocolVersion),J=Q.validateRequest("tools/call",U);if(!J.ok)throw new J1(J.reason==="not-in-era"?n0.InternalError:n0.InvalidParams,J.reason==="not-in-era"?"No wire schema for tools/call in the resolved era":`Invalid tools/call request: ${J.message}`);let I=await this._invokeInputRequiredCapableHandler("tools/call",Y,U,z);if(s9(I))return I;let K=fh(I),G=Q.validateResult("tools/call",K);if(!G.ok)throw new J1(G.reason==="not-in-era"?n0.InternalError:n0.InvalidParams,G.reason==="not-in-era"?"No wire schema for tools/call in the resolved era":`Invalid tools/call result: ${G.message}`);return G.value}}_servedModernEra(){return this._negotiatedProtocolVersion!==void 0&&SQ(this._negotiatedProtocolVersion)}async _invokeInputRequiredCapableHandler($,Y,U,z){let Q=this._servedModernEra(),J=z.mcpReq.requestState();if(J!==void 0&&typeof J!=="string")throw new J1(n0.InvalidParams,"Invalid or expired requestState",{reason:"invalid_request_state"});let I=z;if(typeof J==="string"){let X=await this._verifyRequestState(J,z,$);if(X!==void 0)I=th(z,X)}let K;try{K=await Y(U,I)}catch(X){if(X instanceof J1&&X.code===n0.UrlElicitationRequired){if(!Q)throw X;throw new J1(n0.InternalError,`URL elicitation cannot be signalled by throwing UrlElicitationRequiredError on protocol revision ${this._negotiatedProtocolVersion}: return inputRequired({ inputRequests: { …: inputRequired.elicitUrl(...) } }) from the handler instead. The urlElicitationRequired error (-32042) of earlier revisions is not available on this revision.`)}throw X}if(!s9(K))return K;if(!Q){if(!this._inputRequiredServing.legacyShim)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result, but this request is served on protocol revision ${this._negotiatedProtocolVersion??gY}, which has no input_required vocabulary`);return await this._legacyInputRequiredShim().fulfill($,Y,U,I,K)}let G=K.inputRequests,H=G!=null&&Object.keys(G).length>0,W=typeof K.requestState==="string";if(!H&&!W)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result with neither inputRequests nor requestState (every InputRequiredResult must include at least one of the two)`);if(H){let X=this._inputRequestCapabilityView(z);for(let[Z,q]of Object.entries(G)){let{embedded:V,required:F}=Ae($,Z,q),M=Nw(F,X);if(M!==void 0)throw new Bw({requiredCapabilities:M},`Cannot request input '${Z}' (${V.method}): the request's client capabilities do not declare the required capability`)}}return K}async _verifyRequestState($,Y,U){if(this._requestStateVerify===void 0)return;try{return await this._requestStateVerify($,Y)}catch(z){throw this.onerror?.(Error(`requestState verification rejected ${U}: ${z instanceof Error?z.message:String(z)}`)),new J1(n0.InvalidParams,"Invalid or expired requestState",{reason:"invalid_request_state"})}}_inputRequestCapabilityView($){return this._servedModernEra()?$.mcpReq.envelope?.[o9]:this._clientCapabilities}_assertPushApiInServedEra($){if(this._servedModernEra())throw new V1(A1.MethodNotSupportedByProtocolVersion,`Server-to-client requests are not available on protocol revision ${this._negotiatedProtocolVersion}: '${$}' cannot be sent while serving a request on that revision. Return inputRequired({ ... }) from the handler instead — the client fulfils the embedded requests and retries the original request (multi round-trip requests).`,{method:$,era:"2026-07-28"})}assertCapabilityForMethod($){switch($){case"sampling/createMessage":if(!this._clientCapabilities?.sampling)throw new V1(A1.CapabilityNotSupported,`Client does not support sampling (required for ${$})`);break;case"elicitation/create":if(!this._clientCapabilities?.elicitation)throw new V1(A1.CapabilityNotSupported,`Client does not support elicitation (required for ${$})`);break;case"roots/list":if(!this._clientCapabilities?.roots)throw new V1(A1.CapabilityNotSupported,`Client does not support listing roots (required for ${$})`);break;case"ping":break}}assertNotificationCapability($){switch($){case"notifications/message":if(!this._capabilities.logging)throw new V1(A1.CapabilityNotSupported,`Server does not support logging (required for ${$})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw new V1(A1.CapabilityNotSupported,`Server does not support notifying about resources (required for ${$})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw new V1(A1.CapabilityNotSupported,`Server does not support notifying of tool list changes (required for ${$})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw new V1(A1.CapabilityNotSupported,`Server does not support notifying of prompt list changes (required for ${$})`);break;case"notifications/elicitation/complete":if(!this._clientCapabilities?.elicitation?.url)throw new V1(A1.CapabilityNotSupported,`Client does not support URL elicitation (required for ${$})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability($){switch($){case"completion/complete":if(!this._capabilities.completions)throw new V1(A1.CapabilityNotSupported,`Server does not support completions (required for ${$})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw new V1(A1.CapabilityNotSupported,`Server does not support logging (required for ${$})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw new V1(A1.CapabilityNotSupported,`Server does not support prompts (required for ${$})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw new V1(A1.CapabilityNotSupported,`Server does not support resources (required for ${$})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw new V1(A1.CapabilityNotSupported,`Server does not support tools (required for ${$})`);break;case"ping":case"initialize":break}}async _oninitialize($){let Y=$.params.protocolVersion;this._clientCapabilities=$.params.capabilities,this._clientVersion=$.params.clientInfo;let U=Lt(this._supportedProtocolVersions),z=U.includes(Y)?Y:U[0]??gY;return this._negotiatedProtocolVersion=z,this.transport?.setProtocolVersion?.(z),{protocolVersion:z,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}_ondiscover(){return{supportedVersions:xh(this._supportedProtocolVersions),capabilities:Vi0(this.getCapabilities()),...this._instructions&&{instructions:this._instructions}}}_outboundServerInfo(){return this._serverInfo}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getNegotiatedProtocolVersion(){return this._negotiatedProtocolVersion}projectCallToolResult($,Y){return this._wireCodec().projectCallToolResult($,Y)}getCapabilities(){return this._capabilities}async ping(){return this._assertPushApiInServedEra("ping"),this.request({method:"ping"})}async createMessage($,Y){if(this._assertPushApiInServedEra("sampling/createMessage"),($.tools||$.toolChoice)&&!this._clientCapabilities?.sampling?.tools)throw new V1(A1.CapabilityNotSupported,"Client does not support sampling tools capability.");if($.messages.length>0){let J=$.messages.at(-1),I=Array.isArray(J.content)?J.content:[J.content],K=I.some((X)=>X.type==="tool_result"),G=$.messages.length>1?$.messages.at(-2):void 0,H=G?Array.isArray(G.content)?G.content:[G.content]:[],W=H.some((X)=>X.type==="tool_use");if(K){if(I.some((X)=>X.type!=="tool_result"))throw new J1(n0.InvalidParams,"The last message must contain only tool_result content if any is present");if(!W)throw new J1(n0.InvalidParams,"tool_result blocks are not matching any tool_use from the previous message")}if(W){let X=new Set(H.filter((q)=>q.type==="tool_use").map((q)=>q.id)),Z=new Set(I.filter((q)=>q.type==="tool_result").map((q)=>q.toolUseId));if(X.size!==Z.size||![...X].every((q)=>Z.has(q)))throw new J1(n0.InvalidParams,"ids of tool_result blocks and tool_use blocks from previous message do not match")}}let U=Boolean($.tools||$.toolChoice),z=await this.request({method:"sampling/createMessage",params:$},Y),Q=this._wireCodec().samplingResultVariant(U,z);if(!Q.ok)throw new V1(A1.InvalidResult,`Invalid sampling/createMessage result: ${Q.reason==="invalid"?Q.message:Q.reason}`);return Q.value}async elicitInput($,Y){switch(this._assertPushApiInServedEra("elicitation/create"),$.mode??"form"){case"url":if(!this._clientCapabilities?.elicitation?.url)throw new V1(A1.CapabilityNotSupported,"Client does not support url elicitation.");break;case"form":if(!this._clientCapabilities?.elicitation?.form)throw new V1(A1.CapabilityNotSupported,"Client does not support form elicitation.");break}return this._sendElicitationLeg($,Y)}async _sendElicitationLeg($,Y,U){let z=$.mode??"form",Q=U?.validateAcceptedContent??!0;switch(z){case"url":{let J=$;return this.request({method:"elicitation/create",params:J},Y)}case"form":{let J=$.mode==="form"?$:{...$,mode:"form"},I=await this.request({method:"elicitation/create",params:J},Y);if(Q&&I.action==="accept"&&I.content&&J.requestedSchema)try{let K=this._jsonSchemaValidator.getValidator(J.requestedSchema)(I.content);if(!K.valid)throw new J1(n0.InvalidParams,`Elicitation response content does not match requested schema: ${K.errorMessage}`)}catch(K){if(K instanceof J1)throw K;throw new J1(n0.InternalError,`Error validating elicitation response: ${K instanceof Error?K.message:String(K)}`)}return I}}}createElicitationCompletionNotifier($,Y){if(!this._clientCapabilities?.elicitation?.url)throw new V1(A1.CapabilityNotSupported,"Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:$}},Y)}async listRoots($,Y){return this._assertPushApiInServedEra("roots/list"),this.request({method:"roots/list",params:$},Y)}async sendLoggingMessage($,Y){if(this._capabilities.logging&&!this.isMessageIgnored($.level,Y))return this.notification({method:"notifications/message",params:$})}async sendResourceUpdated($){return this.notification({method:"notifications/resources/updated",params:$})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}};Ve={type:"object",properties:{}};FH={completion:{values:[],hasMore:!1}}});var je=m(()=>{FS();_w();xw()});function Mi0($){let Y=$.params;if($.method==="initialize"&&!rh(Y)){let J=Y!==null&&typeof Y==="object"&&typeof Y.protocolVersion==="string"?Y.protocolVersion:void 0;return{kind:"legacy",reason:"initialize",...J!==void 0&&{requestedVersion:J}}}if(!Pw(Y))return{kind:"legacy",reason:"no-claim"};let U=bY(Y),z=(U===void 0?[]:jw(U))[0];if(z!==void 0)return{kind:"invalid-envelope",issue:z};let Q=Tw(Y);if(Q===void 0||!E7.includes(Q))return{kind:"unsupported-revision",requested:Q??"unknown"};return{kind:"modern",revision:Q,classification:{era:"modern",revision:Q}}}function Ce($,Y={}){let U=Y.legacy??"serve",z=Y.transport??new Fi0,Q={phase:"opening"},J,I=!1,K=()=>I||Q.phase==="closed",G=(j)=>{try{Y.onerror?.(j)}catch{}},H=(j,C,b,x)=>z.send({jsonrpc:"2.0",id:j,error:{code:C,message:b,...x!==void 0&&{data:x}}}).catch((S)=>G(J5(S))),W=new De(Y.maxSubscriptions??fw),X=(j)=>{if(!C7(j))return;let C=W.routeOutbound(j);if(C==="passthrough")return;for(let b of C)z.send({jsonrpc:"2.0",...b}).catch((x)=>G(J5(x)));return"handled"},Z=async(j)=>{if(D$(j)&&j.method==="subscriptions/listen"){let C=bY(j.params),b=Pw(j.params)?(C===void 0?[]:jw(C))[0]:{key:"_meta",problem:"the per-request envelope is required on protocol revision 2026-07-28"},x=Tw(j.params),S;if(b!==void 0)S={jsonrpc:"2.0",id:j.id,error:{code:-32602,message:`Invalid _meta envelope: ${b.key}: ${b.problem}`}};else if(x===void 0||!E7.includes(x)){let i=new gQ({supported:[...E7],requested:x??"unknown"});S={jsonrpc:"2.0",id:j.id,error:{code:i.code,message:i.message,data:i.data}}}else S=W.serve(j);return await z.send("error"in S?S:{jsonrpc:"2.0",method:S.method,params:S.params}).catch((i)=>G(J5(i))),!0}if(C7(j)&&j.method==="notifications/cancelled"){let C=j.params?.requestId;if(C!==void 0&&W.cancel(C))return!0}return!1},q=(j,C,b)=>{let x=sh({kind:"legacy",reason:C,...b!==void 0&&{requestedVersion:b}},E7);if(x===void 0)return Promise.resolve();return G(Error(`Rejected 2025-era request on a modern-only stdio connection (${x.cell}): ${x.message}`)),H(j.id,x.code,x.message,x.data)},V=(j)=>{if(I||j===J)return;T()},F=async(j,C)=>{let b=await $({era:j}),x=b instanceof wH?b.server:b;if(j==="modern")eh(x,C),VS(x,E7),W.setServerCapabilities(x.getCapabilities(),LS(x));let S=new wi0(z,()=>V(S),j==="modern"?X:void 0);return await b.connect(S),{product:b,channel:S}},M=(j)=>j.product.close().catch((C)=>G(J5(C))),w=async(j)=>{J=j.channel;try{if(!await j.channel.whenRequestsAnswered(Ee))G(Error(`Discarded the probe instance with requests still unanswered after ${Ee}ms; continuing with the fallback`));await j.product.close()}catch(C){G(J5(C))}finally{J=void 0}},N=async(j)=>{if(Q.phase==="closed")return;if(Q.phase==="pinned"){if(Q.era==="modern"&&D$(j)&&j.method==="initialize"&&!rh(j.params)){await q(j,"initialize",j.params!==null&&typeof j.params==="object"&&typeof j.params.protocolVersion==="string"?j.params.protocolVersion:void 0);return}if(Q.era==="modern"&&await Z(j))return;Q.instance.channel.deliver(j);return}if(!D$(j)&&!C7(j)){G(Error("Discarded a JSON-RPC response received before the connection negotiated an era"));return}let C=Mi0(j);switch(C.kind){case"invalid-envelope":{let b=`Invalid _meta envelope for protocol revision 2026-07-28: ${C.issue.key}: ${C.issue.problem}`;if(D$(j))await H(j.id,n0.InvalidParams,b,{envelope:C.issue});else G(Error(`Discarded a notification with a malformed envelope: ${b}`));return}case"unsupported-revision":if(D$(j)){let b=new gQ({supported:[...E7],requested:C.requested});G(b),await H(j.id,b.code,b.message,b.data)}else G(Error(`Discarded a notification claiming unsupported protocol revision ${C.requested}`));return;case"modern":if(D$(j)&&j.method==="server/discover"){if(Q.phase==="probe"){Q.instance.channel.deliver(j,{classification:C.classification});return}let b=await F("modern",C.revision);if(K()){await M(b);return}Q={phase:"probe",instance:b},b.channel.deliver(j,{classification:C.classification});return}if(Q.phase==="probe"){if(C7(j)){Q.instance.channel.deliver(j,{classification:C.classification});return}Q={phase:"pinned",era:"modern",instance:Q.instance}}else{let b=await F("modern",C.revision);if(K()){await M(b);return}Q={phase:"pinned",era:"modern",instance:b}}if(await Z(j))return;Q.instance.channel.deliver(j,{classification:C.classification});return;case"legacy":{if(U==="reject"){if(D$(j))await q(j,C.reason,C.requestedVersion);return}if(Q.phase==="probe"){if(await w(Q.instance),K())return;Q={phase:"opening"}}let b=await F("legacy");if(K()){await M(b);return}Q={phase:"pinned",era:"legacy",instance:b},Q.instance.channel.deliver(j);return}}},O=[],D=!1,P=async()=>{if(D)return;D=!0;try{while(O.length>0){let j=O.shift();try{await N(j)}catch(C){if(D$(j))await H(j.id,n0.InternalError,"Internal server error");G(J5(C))}}}finally{D=!1}},T=async()=>{if(I||Q.phase==="closed")return;I=!0;let j=Q;Q={phase:"closed"};for(let C of W.teardownAll())await z.send(C).catch((b)=>G(J5(b)));if(j.phase==="probe"||j.phase==="pinned")await j.instance.product.close().catch((C)=>G(J5(C)));await z.close().catch((C)=>G(J5(C)))};z.onmessage=(j)=>{O.push(j),P()},z.onerror=(j)=>{if(G(j),Q.phase==="probe"||Q.phase==="pinned")Q.instance.channel.onerror?.(j)},z.onclose=()=>{if(I||Q.phase==="closed")return;I=!0;let j=Q;if(Q={phase:"closed"},j.phase==="probe"||j.phase==="pinned")j.instance.product.close().catch((C)=>G(J5(C)))};let A=z.start().catch((j)=>{throw G(J5(j)),j});return A.catch(()=>{}),{close:async()=>{await A.catch(()=>{}),await T()}}}function J5($){return $ instanceof Error?$:Error(String($))}var Fi0=class{_readBuffer;_started=!1;_closed=!1;constructor($=XS.stdin,Y=XS.stdout,U){this._stdin=$,this._stdout=Y,this._readBuffer=new US({maxBufferSize:U?.maxBufferSize})}onclose;onerror;onmessage;_ondata=($)=>{try{this._readBuffer.append($),this.processReadBuffer()}catch(Y){this.onerror?.(Y),this.close().catch(()=>{})}};_onerror=($)=>{this.onerror?.($)};_onstdouterror=($)=>{this.onerror?.($),this.close().catch(()=>{})};async start(){if(this._started)throw Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");this._started=!0,this._stdin.on("data",this._ondata),this._stdin.on("error",this._onerror),this._stdout.on("error",this._onstdouterror)}processReadBuffer(){while(!0)try{let $=this._readBuffer.readMessage();if($===null)break;this.onmessage?.($)}catch($){this.onerror?.($)}}async close(){if(this._closed)return;if(this._closed=!0,this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),this._stdout.off("error",this._onstdouterror),this._stdin.listenerCount("data")===0)this._stdin.pause();this._readBuffer.clear(),this.onclose?.()}send($){if(this._closed)return Promise.reject(Error("StdioServerTransport is closed"));return new Promise((Y,U)=>{let z=zS($),Q=!1,J=(K)=>{if(Q)return;Q=!0,this._stdout.off("error",J),this._stdout.off("drain",I),U(K)},I=()=>{if(Q)return;Q=!0,this._stdout.off("error",J),this._stdout.off("drain",I),Y()};if(this._stdout.once("error",J),this._stdout.write(z)){if(Q)return;Q=!0,this._stdout.off("error",J),Y()}else if(!Q)this._stdout.once("drain",I)})}},Ee=3000,wi0=class{onclose;onerror;onmessage;_closed=!1;_pendingRequests=new Set;_drainWaiters=[];constructor($,Y,U){this._wire=$,this._onInstanceClose=Y,this._outboundIntercept=U}async start(){}async send($,Y){if(XH($)||Ew($)){let{id:U}=$;if(U!==void 0)this._settle(U)}if(this._closed)return;if(this._outboundIntercept?.($)==="handled")return;return this._wire.send($,Y)}setProtocolVersion=($)=>{this._wire.setProtocolVersion?.($)};deliver($,Y){if(this._closed)return;if(D$($))this._pendingRequests.add($.id);else if(C7($)&&$.method==="notifications/cancelled"){let U=$.params?.requestId;if(U!==void 0)this._settle(U)}this.onmessage?.($,Y)}async whenRequestsAnswered($){if(this._closed||this._pendingRequests.size===0)return!0;return await new Promise((Y)=>{let U=()=>{clearTimeout(z),Y(!0)},z=setTimeout(()=>{this._drainWaiters=this._drainWaiters.filter((Q)=>Q!==U),Y(!1)},$);this._drainWaiters.push(U)})}async close(){if(this._closed)return;this._closed=!0,this._pendingRequests.clear(),this._releaseDrainWaiters();try{this._onInstanceClose()}finally{this.onclose?.()}}_settle($){if(this._pendingRequests.delete($),this._pendingRequests.size===0)this._releaseDrainWaiters()}_releaseDrainWaiters(){let $=this._drainWaiters;this._drainWaiters=[];for(let Y of $)Y()}};var Re=m(()=>{FS();_w();xw()});var A$=m(()=>{PL();PL()});var a9;var MH=m(()=>{a9=class a9 extends Error{name="KyError";get isKyError(){return!0}}});var D6;var uw=m(()=>{MH();D6=class D6 extends a9{name="HTTPError";response;request;options;data;constructor($,Y,U){let z=$.status||$.status===0?$.status:"",Q=$.statusText??"",J=`${z} ${Q}`.trim(),I=J?`status code ${J}`:"an unknown error";super(`Request failed with ${I}: ${Y.method} ${Y.url}`);this.response=$,this.request=Y,this.options=U}}});var OH;var wS=m(()=>{MH();OH=class OH extends a9{name="NetworkError";request;constructor($,Y){super(`Request failed due to a network error: ${$.method} ${$.url}`,Y);this.request=$}}});var NH;var MS=m(()=>{NH=class NH extends Error{name="NonError";value;constructor($){let Y="Non-error value was thrown";try{if(typeof $==="string")Y=$;else if($&&typeof $==="object"&&"message"in $&&typeof $.message==="string")Y=$.message}catch{}super(Y);this.value=$}}});var xQ;var _e=m(()=>{MH();MS();xQ=class xQ extends a9{name="ForceRetryError";customDelay;code;customRequest;constructor($){let Y=$?.cause?$.cause instanceof Error?$.cause:new NH($.cause):void 0;super($?.code?`Forced retry: ${$.code}`:"Forced retry",Y?{cause:Y}:void 0);this.customDelay=$?.delay,this.code=$?.code,this.customRequest=$?.request}}});var OS;var ve=m(()=>{OS=class OS extends Error{name="SchemaValidationError";issues;constructor($){super("Response schema validation failed");this.issues=$}}});var I5;var bw=m(()=>{MH();I5=class I5 extends a9{name="TimeoutError";request;constructor($){super(`Request timed out: ${$.method} ${$.url}`);this.request=$}}});class pw{options;constructor($){this.options=$}}var NS,he,iw,Se,ge,cw,Oi0=()=>{return},ye,fQ=2147483647,ke=40,nw,xe=($)=>new pw($),fe,ue;var iY=m(()=>{NS=(()=>{let $=!1,Y=!1,U=typeof globalThis.ReadableStream==="function",z=typeof globalThis.Request==="function";if(U&&z)try{Y=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return $=!0,"half"}}).headers.has("Content-Type")}catch(Q){if(Q instanceof Error&&Q.message==="unsupported BodyInit type")return!1;throw Q}return $&&!Y})(),he=typeof globalThis.AbortController==="function",iw=typeof globalThis.AbortSignal==="function"&&typeof globalThis.AbortSignal.any==="function",Se=typeof globalThis.ReadableStream==="function",ge=typeof globalThis.FormData==="function",cw=["get","post","put","patch","head","delete"];Oi0();ye={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},nw=Symbol("stop");fe={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,baseUrl:!0,prefix:!0,retry:!0,timeout:!0,totalTimeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},ue={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0}});var dw,Ni0=($)=>{if(!$)return 0;if($ instanceof FormData){let Y=0;for(let[U,z]of $)Y+=ke,Y+=dw.encode(`Content-Disposition: form-data; name="${U}"`).byteLength,Y+=typeof z==="string"?dw.encode(z).byteLength:z.size;return Y}if($ instanceof Blob)return $.size;if($ instanceof ArrayBuffer||ArrayBuffer.isView($))return $.byteLength;if(typeof $==="string")return dw.encode($).byteLength;if($ instanceof URLSearchParams)return dw.encode($.toString()).byteLength;return 0},be=($,Y,U)=>{let z,Q=0;return $.pipeThrough(new TransformStream({transform(J,I){if(I.enqueue(J),z){Q+=z.byteLength;let K=Y===0?0:Q/Y;if(K>=1)K=1-Number.EPSILON;U?.({percent:K,totalBytes:Math.max(Y,Q),transferredBytes:Q},z)}z=J},flush(){if(z)Q+=z.byteLength,U?.({percent:1,totalBytes:Math.max(Y,Q),transferredBytes:Q},z)}}))},ie=($,Y)=>{if(!$.body)return $;let U={status:$.status,statusText:$.statusText,headers:$.headers};if($.status===204)return new Response(null,U);let z=Math.max(0,Number($.headers.get("content-length"))||0);return new Response(be($.body,z,Y),U)},ce=($,Y,U)=>{if(!$.body)return $;let z=Ni0(U??$.body);return new Request($,{duplex:"half",body:be($.body,z,Y)})};var ne=m(()=>{iY();dw=new TextEncoder});var d5=($)=>$!==null&&typeof $==="object";function DH($,Y,U){return Object.hasOwn(Y,U)&&Y[U]===void 0?[]:PS($[U]??[],Y[U]??[])}var Di0,DS=($)=>d5($)&&$[Di0]===!0?{isReplace:!0,value:$.value}:{isReplace:!1,value:$},AH=(...$)=>{for(let Y of $)if((!d5(Y)||Array.isArray(Y))&&Y!==void 0)throw TypeError("The `options` argument must be an object");return PS({},...$)},BS=($={},Y={})=>{let U=new globalThis.Headers($),z=Y instanceof globalThis.Headers,Q=new globalThis.Headers(Y);for(let[J,I]of Q.entries())if(z&&I==="undefined"||I===void 0)U.delete(J);else U.set(J,I);return U},AS=($)=>{if(!d5($)||Array.isArray($))return!1;let Y=Object.getPrototypeOf($);return Y===Object.prototype||Y===null},uQ=($)=>{if($ instanceof URLSearchParams){let Y=new URLSearchParams($),U=$[_7];if(U)Y[_7]=new Set(U);return Y}if($ instanceof globalThis.Headers)return new globalThis.Headers($);if(Array.isArray($))return[...$];if(AS($))return{...$};return $},Ai0=($)=>Object.fromEntries(Object.entries($).filter((Y)=>Y[1]!==void 0)),Bi0=($,Y)=>{if(AS($)&&AS(Y))return Ai0({...$,...Y});return BS($,Y)},mw=($={},Y={})=>({init:DH($,Y,"init"),beforeRequest:DH($,Y,"beforeRequest"),beforeRetry:DH($,Y,"beforeRetry"),beforeError:DH($,Y,"beforeError"),afterResponse:DH($,Y,"afterResponse")}),_7,Pi0=($,Y)=>{let U=new URLSearchParams,z=new Set;for(let Q of[$,Y]){if(Q===void 0)continue;if(Q instanceof URLSearchParams){for(let[I,K]of Q.entries())U.append(I,K),z.delete(I);let J=Q[_7];if(J)for(let I of J)U.delete(I),z.add(I)}else if(Array.isArray(Q))for(let J of Q){if(!Array.isArray(J)||J.length!==2)throw TypeError("Array search parameters must be provided in [[key, value], ...] format");U.append(String(J[0]),String(J[1])),z.delete(String(J[0]))}else if(d5(Q))for(let[J,I]of Object.entries(Q))if(I===void 0)U.delete(J),z.add(J);else U.append(J,String(I)),z.delete(J);else{let J=new URLSearchParams(Q);for(let[I,K]of J.entries())U.append(I,K),z.delete(I)}}if(z.size>0)U[_7]=z;return U},PS=(...$)=>{let Y={},U={},z={},Q,J=[];for(let I of $)if(Array.isArray(I)){if(!Array.isArray(Y))Y=[];Y=[...Y,...I]}else if(d5(I)){for(let[K,G]of Object.entries(I)){if(K==="signal"&&G instanceof globalThis.AbortSignal){J.push(G);continue}let H=DS(G),{isReplace:W}=H;if(G=H.value,K==="context"){if(G!==void 0&&G!==null&&(!d5(G)||Array.isArray(G)))throw TypeError("The `context` option must be an object");Y={...Y,context:G===void 0||G===null?{}:W?{...G}:{...Y.context,...G}};continue}if(K==="searchParams"){if(G===void 0||G===null)Q=void 0;else if(W)Q=G;else Q=Q===void 0?G:Pi0(Q,G);continue}if(d5(G)&&!W&&K in Y)G=PS(Y[K],G);Y={...Y,[K]:G}}if(d5(I.hooks)){let{value:K,isReplace:G}=DS(I.hooks);z=G?mw({},K):mw(z,K),Y.hooks=z}if(d5(I.headers)){let{value:K,isReplace:G}=DS(I.headers);U=G?uQ(K):Bi0(U,K),Y.headers=U}}if(Q!==void 0)Y.searchParams=Q;if(J.length>0)if(J.length===1)Y.signal=J[0];else if(iw)Y.signal=AbortSignal.any(J);else Y.signal=J.at(-1);return Y};var lw=m(()=>{iY();Di0=Symbol("replaceOption");_7=Symbol("deletedParameters")});var de=($)=>cw.includes($)?$.toUpperCase():$,Ti0,ji0,Ei0,pe,me=($={})=>{if(typeof $==="number")return{...pe,limit:$};if($.methods&&!Array.isArray($.methods))throw Error("retry.methods must be an array");if($.statusCodes&&!Array.isArray($.statusCodes))throw Error("retry.statusCodes must be an array");let Y=Object.fromEntries(Object.entries({...$,methods:$.methods?.map((U)=>U.toLowerCase())}).filter(([,U])=>U!==void 0));return{...pe,...Y}};var le=m(()=>{iY();Ti0=["get","put","head","delete","options","trace"],ji0=[408,413,429,500,502,503,504],Ei0=[413,429,503],pe={limit:2,methods:Ti0,statusCodes:ji0,afterStatusCodes:Ei0,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:($)=>0.3*2**($-1)*1000,jitter:void 0,retryOnTimeout:!1}});async function TS($,Y,U,z){return new Promise((Q,J)=>{let I=setTimeout(()=>{if(U)U.abort();J(new I5($))},z.timeout);z.fetch($,Y).then(Q).catch(J).then(()=>{clearTimeout(I)})})}var oe=m(()=>{bw()});async function ow($,{signal:Y}){return new Promise((U,z)=>{if(Y)Y.throwIfAborted(),Y.addEventListener("abort",Q,{once:!0});function Q(){clearTimeout(J),z(Y.reason)}let J=setTimeout(()=>{Y?.removeEventListener("abort",Q),U()},$)})}var re=($)=>{let Y={};for(let U in $){if(!Object.hasOwn($,U))continue;if(!(U in ue)&&!(U in fe))Y[U]=$[U]}return Y},se=($)=>{if($===void 0)return!1;if(Array.isArray($))return $.length>0;if($ instanceof URLSearchParams)return $.size>0||Boolean($[_7]?.size);if(typeof $==="object")return Object.keys($).length>0;if(typeof $==="string")return $.trim().length>0;return Boolean($)};var ae=m(()=>{iY();lw()});function jS($){if(!($&&Ri0($)&&$.name==="TypeError"&&typeof $.message==="string"))return!1;let{message:U,stack:z}=$;if(U==="Load failed")return z===void 0||"__sentry_captured__"in $;if(U.startsWith("error sending request for url"))return!0;if(U==="Failed to fetch"||U.startsWith("Failed to fetch (")&&U.endsWith(")"))return!0;return _i0.has(U)}var Ci0,Ri0=($)=>Ci0.call($)==="[object Error]",_i0;var te=m(()=>{Ci0=Object.prototype.toString,_i0=new Set(["network error","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed","terminated"," A network error occurred.","Network connection lost"])});function ee($){return ES($,D6)}function $00($){return ES($,OH)}function Y00($){return ES($,I5)}var ES=($,Y)=>$ instanceof Y||$?.name===Y.name;var U00=m(()=>{uw();wS();bw()});function ki0($){let Y={...$,json:uQ($.json),context:uQ($.context),headers:uQ($.headers),searchParams:yi0($.searchParams)};if($.retry!==void 0)Y.retry=gi0($.retry);return Y}class bQ{static create($,Y){let U=Y.hooks?.init??[],z=U.length>0?ki0(Y):Y;for(let K of U)K(z);let Q=new bQ($,z),J=async()=>{if(typeof Q.#$.timeout==="number"&&Q.#$.timeout>fQ)throw RangeError(`The \`timeout\` option cannot be greater than ${fQ}`);if(typeof Q.#$.totalTimeout==="number"&&Q.#$.totalTimeout>fQ)throw RangeError(`The \`totalTimeout\` option cannot be greater than ${fQ}`);await Promise.resolve();let K=await Q.#g(),G=K??await Q.#h(async()=>Q.#R()),H=K!==void 0||Q.#C();for(;;){if(G===void 0)return G;if(PH(G))try{G=await Q.#y(G)}catch(X){if(!(X instanceof xQ))throw X;let Z=await Q.#E(X,async()=>Q.#R());if(Z===void 0)return Z;G=Z,H=Q.#C();continue}let W=G;if(!W.ok&&W.type!=="opaque"&&(typeof Q.#$.throwHttpErrors==="function"?Q.#$.throwHttpErrors(W.status):Q.#$.throwHttpErrors)){let X=new D6(W,Q.#O(W),Q.#M()),Z=X;if(X.data=await Q.#L(W),H)throw Z;let q=await Q.#E(X,async()=>Q.#R());if(q===void 0)return q;G=q,H=Q.#C();continue}break}if(!PH(G))return G;if(Q.#V(G),Q.#$.onDownloadProgress){if(typeof Q.#$.onDownloadProgress!=="function")throw TypeError("The `onDownloadProgress` option must be a function");if(!Se)throw Error("Streams are not supported in your environment. `ReadableStream` is missing.");let W=G.clone();return Q.#K(G),ie(W,Q.#$.onDownloadProgress)}return G},I=(async()=>{try{return await J()}catch(K){if(!(K instanceof Error))throw K;if(Q.#X.has(K))throw K;let G=K;for(let H of Q.#$.hooks.beforeError){let W=await H({request:Q.request,options:Q.#M(),error:G,retryCount:Q.#Q});if(W instanceof Error)G=W}throw G}finally{let K=Q.#W;if(Q.#F(K?.body??void 0),Q.request!==K)Q.#F(Q.request.body??void 0)}})();for(let[K,G]of Object.entries(ye)){if(K==="bytes"&&typeof globalThis.Response?.prototype?.bytes!=="function")continue;I[K]=async(H)=>{Q.request.headers.set("accept",Q.request.headers.get("accept")||G);let W=await I;if(K!=="json")return W[K]();let X=await W.text();if(X===""){if(H!==void 0)return J00(void 0,H);return JSON.parse(X)}let Z=z.parseJson?await z.parseJson(X,{request:Q.#O(W),response:W}):JSON.parse(X);return H===void 0?Z:J00(Z,H)}}return I}static#z($){if($&&typeof $==="object"&&!Array.isArray($)&&!($ instanceof URLSearchParams))return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0));return $}request;#U;#Q=0;#Y;#$;#W;#H;#X=new WeakSet;#J;#I;#Z=!1;#N=new WeakMap;constructor($,Y={}){if(this.#Y=$,Object.hasOwn(Y,"prefixUrl"))throw Error(hi0);if(this.#$={...Y,headers:BS(this.#Y.headers,Y.headers),hooks:mw({},Y.hooks),method:de(Y.method??this.#Y.method??"GET"),prefix:String(Y.prefix||""),retry:me(Y.retry),throwHttpErrors:Y.throwHttpErrors??!0,timeout:Y.timeout??1e4,totalTimeout:Y.totalTimeout??!1,fetch:Y.fetch??globalThis.fetch.bind(globalThis),context:Y.context??{}},typeof this.#Y!=="string"&&!(this.#Y instanceof URL||this.#Y instanceof globalThis.Request))throw TypeError("`input` must be a string, URL, or Request");if(typeof this.#Y==="string"){if(this.#$.prefix){let z=this.#$.prefix.replace(/\/+$/,""),Q=this.#Y.replace(/^\/+/,"");this.#Y=`${z}/${Q}`}if(this.#$.baseUrl){let z;try{z=new URL(this.#Y)}catch{}if(!z)this.#Y=new URL(this.#Y,new Request(this.#$.baseUrl).url)}}if(he&&iw)this.#H=this.#$.signal??this.#Y.signal,this.#U=new globalThis.AbortController,this.#$.signal=this.#w();if(NS)this.#$.duplex="half";if(this.#$.json!==void 0)this.#$.body=this.#$.stringifyJson?.(this.#$.json)??JSON.stringify(this.#$.json),this.#$.headers.set("content-type",this.#$.headers.get("content-type")??"application/json");let U=Y.headers&&new globalThis.Headers(Y.headers).has("content-type");if(this.#Y instanceof globalThis.Request&&(ge&&this.#$.body instanceof globalThis.FormData||this.#$.body instanceof URLSearchParams)&&!U)this.#$.headers.delete("content-type");if(this.request=new globalThis.Request(this.#Y,this.#$),se(this.#$.searchParams)){let z=new URL(this.request.url),Q=this.#$.searchParams?.[_7];if(Q)for(let J of Q)z.searchParams.delete(J);if(typeof this.#$.searchParams==="string"){let J=this.#$.searchParams.replace(/^\?/,"");if(J!=="")z.search=z.search?`${z.search}&${J}`:`?${J}`}else{let J=new URLSearchParams(bQ.#z(this.#$.searchParams));for(let[I,K]of J.entries())z.searchParams.append(I,K)}if(this.#$.searchParams&&typeof this.#$.searchParams==="object"&&!Array.isArray(this.#$.searchParams)&&!(this.#$.searchParams instanceof URLSearchParams)){for(let[J,I]of Object.entries(this.#$.searchParams))if(I===void 0)z.searchParams.delete(J)}this.request=new globalThis.Request(z,this.#$)}if(this.#$.onUploadProgress&&typeof this.#$.onUploadProgress!=="function")throw TypeError("The `onUploadProgress` option must be a function");this.#I=typeof this.#$.totalTimeout==="number"?this.#S():void 0}#G(){let $=this.#$.retry.delay(this.#Q+1),Y=$;if(this.#$.retry.jitter===!0)Y=Math.random()*$;else if(typeof this.#$.retry.jitter==="function"){if(Y=this.#$.retry.jitter($),!Number.isFinite(Y)||Y<0)Y=$}return Math.min(this.#$.retry.backoffLimit,Y)}async#P($){if(this.#Q>=this.#$.retry.limit)throw $;let Y=$ instanceof Error?$:new NH($);if(Y instanceof xQ)return Y.customDelay??this.#G();if(!this.#$.retry.methods.includes(this.request.method.toLowerCase()))throw $;if(this.#$.retry.shouldRetry!==void 0){let U=await this.#$.retry.shouldRetry({error:Y,retryCount:this.#Q+1});if(U===!1)throw $;if(U===!0)return this.#G()}if(Y00($)){if(!this.#$.retry.retryOnTimeout)throw $;return this.#G()}if(ee($)){if(!this.#$.retry.statusCodes.includes($.response.status))throw $;let U=$.response.headers.get("Retry-After")??$.response.headers.get("RateLimit-Reset")??$.response.headers.get("X-RateLimit-Retry-After")??$.response.headers.get("X-RateLimit-Reset")??$.response.headers.get("X-Rate-Limit-Reset");if(U&&this.#$.retry.afterStatusCodes.includes($.response.status)){let z=Number(U)*1000;if(Number.isNaN(z))z=Date.parse(U)-Date.now();else if(z>=Date.parse("2024-01-01"))z-=Date.now();if(!Number.isFinite(z))return Math.min(this.#$.retry.maxRetryAfter,this.#G());return z=Math.max(0,z),Math.min(this.#$.retry.maxRetryAfter,z)}if($.response.status===413)throw $;return this.#G()}if(!$00($))throw $;return this.#G()}#V($){let Y=this.#O($);if(this.#$.parseJson)$.json=async()=>{let U=await $.text();if(U==="")return JSON.parse(U);return this.#$.parseJson(U,{request:Y,response:$})};return $}async#L($){let Y=await this.#T($,this.#D());if(Y===BH){this.#q();return}if(!Y)return;if(!this.#A($.headers.get("content-type")??""))return Y;let U=await this.#j(Y,$,this.#D(),this.#O($));if(U===BH){this.#q();return}return U}#D(){let $=this.#$.timeout===!1?1e4:this.#$.timeout,Y=this.#B();if(Y===void 0)return $;if(Y<=0)throw new I5(this.request);return Math.min($,Y)}#A($){let Y=($.split(";",1)[0]??"").trim().toLowerCase();return/\/(?:.*[.+-])?json$/.test(Y)}async#T($,Y){let{body:U}=$;if(!U)try{return await $.text()}catch{return}let z;try{z=U.getReader()}catch{return}let Q=Si0($.headers.get("content-type")??""),J=[],I=0,K=(async()=>{try{for(;;){let{done:W,value:X}=await z.read();if(W)break;if(I+=X.byteLength,I>vi0){z.cancel().catch(()=>{return});return}J.push(Q.decode(X,{stream:!0}))}}catch{return}return J.push(Q.decode()),J.join("")})(),G=new Promise((W)=>{let X=setTimeout(()=>{W(BH)},Y);K.finally(()=>{clearTimeout(X)})}),H=await Promise.race([K,G]);if(H===BH)z.cancel().catch(()=>{return});return H}async#j($,Y,U,z){let Q;try{return await Promise.race([Promise.resolve().then(()=>this.#$.parseJson?this.#$.parseJson($,{request:z,response:Y}):JSON.parse($)),new Promise((J)=>{Q=setTimeout(()=>{J(BH)},U)})])}catch{return}finally{clearTimeout(Q)}}#F($){if(!$)return;$.cancel().catch(()=>{return})}#K($){this.#F($.body??void 0)}#w(){return this.#H?AbortSignal.any([this.#H,this.#U.signal]):this.#U.signal}#q(){let $=this.#B();if($!==void 0&&$<=0)throw new I5(this.request)}async#g(){for(let $ of this.#$.hooks.beforeRequest){let Y=await $({request:this.request,options:this.#M(),retryCount:0});if(Q00(Y))this.#_(Y);else if(PH(Y))return Y}return}async#y($){let Y=this.#O($);for(let U of this.#$.hooks.afterResponse){let z=this.#v($.clone(),Y);this.#V(z);let Q;try{Q=await U({request:this.request,options:this.#M(),response:z,retryCount:this.#Q})}catch(I){if(z!==$)this.#K(z);throw this.#K($),I}if(Q instanceof pw){if(z!==$)this.#K(z);throw this.#K($),new xQ(Q.options)}let J=PH(Q)?this.#v(Q,Y):$;if(z!==$&&z!==J&&z.body!==J.body)this.#K(z);if($!==J&&$.body!==J.body)this.#K($);$=J}return $}async#h($){try{return await $()}catch(Y){return this.#E(Y,$)}}async#E($,Y){this.#Z=!1;let U=Math.min(await this.#P($),fQ),z={signal:this.#H},Q=this.#B();if(Q!==void 0){if(Q<=0)throw new I5(this.request);if(U>=Q)throw await ow(Q,z),new I5(this.request)}if(await ow(U,z),this.#q(),$ instanceof xQ&&$.customRequest){let J=new globalThis.Request($.customRequest,this.#$.signal?{signal:this.#$.signal}:void 0);this.#_(J)}for(let J of this.#$.hooks.beforeRetry){let I;try{I=await J({request:this.request,options:this.#M(),error:$,retryCount:this.#Q+1})}catch(K){if(K instanceof Error&&K!==$)this.#X.add(K);throw K}if(Q00(I)){this.#_(I);break}if(PH(I))return this.#Z=!0,this.#Q++,I;if(I===nw)return}return this.#q(),this.#Q++,this.#h(Y)}#C(){let $=this.#Z;return this.#Z=!1,$}async#R(){if(this.#U?.signal.aborted)this.#U=new globalThis.AbortController,this.#$.signal=this.#w(),this.request=new globalThis.Request(this.request,{signal:this.#$.signal});let $=re(this.#$),Y=this.#$.retry.limit>0?this.request.clone():void 0,U=this.#k(this.request,this.#$.body??void 0);if(this.#W=U,Y)this.request=Y;try{let z=this.#B();if(z!==void 0&&z<=0)throw new I5(this.request);let Q=this.#$.timeout===!1?z:z===void 0?this.#$.timeout:Math.min(this.#$.timeout,z),J=Q===void 0?await this.#$.fetch(U,$):await TS(U,$,this.#U,{timeout:Q,fetch:this.#$.fetch});return this.#v(J,U)}catch(z){if(jS(z))throw new OH(this.request,{cause:z});throw z}}#B(){if(this.#I===void 0)return;let $=this.#S()-this.#I;return Math.max(0,this.#$.totalTimeout-$)}#S(){return globalThis.performance?.now()??Date.now()}#M(){if(!this.#J){let{hooks:$,json:Y,parseJson:U,stringifyJson:z,searchParams:Q,timeout:J,totalTimeout:I,throwHttpErrors:K,fetch:G,...H}=this.#$;this.#J=Object.freeze(H)}return this.#J}#_($){this.#J=void 0,this.request=$}#O($){return this.#N.get($)??this.request}#v($,Y){return this.#N.set($,Y),$}#k($,Y){if(!this.#$.onUploadProgress||!$.body||!NS)return $;return ce($,this.#$.onUploadProgress,Y??this.#$.body??void 0)}}var vi0=10485760,hi0="The `prefixUrl` option has been renamed `prefix` in v2 and enhanced to allow slashes in input. See also the new `baseUrl` option for improved flexibility with standard URL resolution: https://github.com/sindresorhus/ky#baseurl",BH,Si0=($)=>{let Y=/;\s*charset\s*=\s*(?:"([^"]+)"|([^;,\s]+))/i.exec($),U=Y?.[1]??Y?.[2];if(U)try{return new TextDecoder(U)}catch{}return new TextDecoder},z00="The `schema` argument must follow the Standard Schema specification",gi0=($)=>{if(typeof $!=="object")return $;return{...$,...$.methods&&{methods:[...$.methods]},...$.statusCodes&&{statusCodes:[...$.statusCodes]},...$.afterStatusCodes&&{afterStatusCodes:[...$.afterStatusCodes]}}},I00,Q00=($)=>$ instanceof globalThis.Request||I00.call($)==="[object Request]",PH=($)=>$ instanceof globalThis.Response||I00.call($)==="[object Response]",yi0=($)=>{if(Array.isArray($))return $.map((Y)=>[...Y]);return uQ($)},J00=async($,Y)=>{if(typeof Y!=="object"&&typeof Y!=="function"||Y===null)throw TypeError(z00);let U=Y["~standard"];if(typeof U!=="object"||U===null||typeof U.validate!=="function")throw TypeError(z00);let z=await U.validate($);if(z.issues)throw new OS(z.issues);return z.value};var K00=m(()=>{uw();wS();MS();_e();ve();bw();ne();lw();le();oe();ae();te();U00();iY();BH=Symbol("timedOutResponseData"),I00=Object.prototype.toString});var CS=($)=>{let Y=(U,z)=>bQ.create(U,AH($,z));for(let U of cw)Y[U]=(z,Q)=>bQ.create(z,AH($,Q,{method:U}));return Y.create=(U)=>CS(AH(U)),Y.extend=(U)=>{if(typeof U==="function")U=U($??{});return CS(AH($,U))},Y.stop=nw,Y.retry=xe,Y},xi0,K5;var iQ=m(()=>{K00();iY();lw();uw();/*! MIT License © Sindre Sorhus */xi0=CS(),K5=xi0});async function G00($){if($.source.type!=="direct"&&$.source.type!=="seal")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=$.seal.url??$.source.sealUrl,U=$.source.type==="seal"?$.source:void 0;return{token:$.source.token,expiresAt:Date.now()+$.source.expiresIn*1000,enterprise:{provider:U?"seal":"direct",corpId:$.source.corpId??$.id,staffId:$.source.staffId,sealUrl:Y,tenantId:U?.tenantId,tenantSlug:$.seal.tenantSlug??U?.tenantSlug,tenantName:U?.tenantName,raw:{sourceType:$.source.type}}}}function fi0($){let Y=Object.entries($??{}).map(([U,z])=>`${U}=${z}`);return Y.length?Y.join("; "):void 0}function A6($){let Y={...$?.headers??{}},U=fi0($?.cookies);if(U)Y.Cookie=U;return Y}var H00,ui0,bi0,ii0,ci0,W00;var X00=m(()=>{A$();H00=L.object({token:L.string(),expiresAt:L.number(),url:L.string().url().optional()}),ui0=L.object({provider:L.string(),corpId:L.string().optional(),staffId:L.string(),sealUrl:L.string().url(),tenantId:L.string().optional(),tenantSlug:L.string().optional(),tenantName:L.string().optional(),raw:L.unknown().optional()}),bi0=L.object({token:L.string(),expiresAt:L.number(),enterprise:ui0}),ii0=L.object({openapi:H00.optional(),closeapi:H00.optional()}),ci0=L.object({seal:bi0.optional(),hose:ii0.optional()}),W00=L.record(L.string(),ci0)});import{existsSync as RS,mkdirSync as ni0,readFileSync as pi0,writeFileSync as di0}from"node:fs";import{dirname as mi0,join as q00}from"node:path";import{homedir as V00}from"node:os";function li0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;if(RS(rw))return rw;if(RS(Z00))return Z00;return rw}function oi0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;return rw}function cQ(){let $=li0();if(!RS($))return{};try{return W00.parse(JSON.parse(pi0($,"utf-8")))}catch{return{}}}function sw($){let Y=oi0();ni0(mi0(Y),{recursive:!0,mode:448}),di0(Y,JSON.stringify($,null,2),{mode:384})}function L00($){return cQ()[$]?.seal}function F00($,Y){let U=cQ();sw({...U,[$]:{...U[$],seal:Y}})}function w00($){let Y=cQ(),U=Y[$];if(!U)return;sw({...Y,[$]:{...U,seal:void 0}})}function TH($){return cQ()[$]?.hose??{}}function _S($,Y){let U=cQ();sw({...U,[$]:{...U[$],hose:Y}})}function aw($){let Y=cQ();delete Y[$],sw(Y)}var rw,Z00;var jH=m(()=>{X00();rw=q00(V00(),".config","seal-use","seal_tokens.json"),Z00=q00(V00(),".config","seal-home","seal_tokens.json")});function B$($){return $.replace(/\/+$/,"")}function N00($){let Y;try{Y=new URL($.trim())}catch{throw Error("Invalid Hose assistance link: expected a valid HTTPS URL")}if(Y.protocol!=="https:"||Y.port||!ti0(Y.hostname)||Y.pathname.replace(/\/+$/,"")!==ai0)throw Error("Invalid Hose assistance link: expected an HTTPS */web/thirdparty.html URL from ekuaibao.com or hosecloud.com");let U=Y.searchParams.getAll("accessToken").filter(Boolean),z=Y.searchParams.getAll("ekbCorpId").filter(Boolean);if(U.length!==1||z.length!==1)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required exactly once");let Q=z[0].trim().toLowerCase();if(!O00.test(Q))throw Error("Invalid Hose assistance link: ekbCorpId is not a valid tenant slug");return{corpId:Q,accessToken:U[0],baseUrl:Y.origin}}async function tw($,Y){let U=typeof $==="string"?N00($):D00($),z=`https://${U.corpId}.sealai.cc`,J=await T8(z,void 0,Y?.customHeaders).get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:U.accessToken,returnToken:"1"}}).json(),I=J.token??J.accessToken??J.data?.token??J.data?.accessToken;if(!I)throw Error("Seal SSO did not return a bearer token");let K=J.expiresIn??J.expires_in??J.data?.expiresIn??J.data?.expires_in??3600;return{corpId:U.corpId,sealUrl:z,token:I,expiresIn:Number.isFinite(K)&&K>0?K:3600}}function ew($,Y){let U=Y.hoseCorpConfig&&typeof Y.hoseCorpConfig==="object"?Y.hoseCorpConfig:void 0,z=[Y.tenantSlug,U?.corporationId].filter((I)=>typeof I==="string"&&Boolean(I)),Q=$.trim().toLowerCase(),J=z.map((I)=>I.trim().toLowerCase()).filter(Boolean);if(J.length===0||J.some((I)=>I!==Q))throw Error("Hose assistance link tenant mismatch: the Seal tenant does not match ekbCorpId")}function ti0($){let Y=$.toLowerCase();return si0.some((U)=>Y.endsWith(U))}function D00($){let Y=typeof $?.corpId==="string"?$.corpId.trim().toLowerCase():"",U=typeof $?.accessToken==="string"?$.accessToken.trim():"",z=typeof $?.baseUrl==="string"&&$.baseUrl.trim()?$.baseUrl.trim():void 0;if(!O00.test(Y)||!U)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required");return{corpId:Y,accessToken:U,...z?{baseUrl:z}:{}}}function A00($,Y=60){return Boolean($&&Date.now()<$.expiresAt-Y*1000)}function v7($,Y){if($.seal.url)return $.seal.url;if(Y.sealUrl)return Y.sealUrl;return`https://${Y.corpId.toLowerCase()}.sealai.cc`}function ei0($){return $.staffId.includes(":")?$.staffId:`${$.corpId}:${$.staffId}`}function B00($){return K5.create({prefix:B$($.domain),timeout:30000,hooks:{beforeError:[async({error:Y})=>{let U=Y instanceof D6?await Y.response.text().catch(()=>""):"";return Y.message=`${Y.message}${U?`: ${U}`:""}`,Y}]}})}async function $c0($){let Y=B00($),U=$.appKey??$.key,z=$.appSecurity??$.password;if(!U||!z)throw Error("Hose source requires appKey/key and appSecurity/password");let Q=await Y.post("api/openapi/v1/auth/getAccessToken",{json:{appKey:U,appSecurity:z}}).json(),J=Q.value?.accessToken??Q.accessToken??Q.token;if(!J)throw Error("Hose login did not return an access token");return{token:J,expiresAt:Date.now()+3600000}}async function nQ($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=TH($.id);if(A00(Y.openapi))return Y.openapi.token;let U=vS.get($.id);if(U)return U;let z=$c0($.source).then((Q)=>{return _S($.id,{...TH($.id),openapi:Q}),Q.token}).finally(()=>vS.delete($.id));return vS.set($.id,z),z}async function $M($,Y,U=7200){let z=B00($),Q=ei0($),I=(await z.post("api/openapi/v1.1/provisional/getProvisionalAuth",{searchParams:{accessToken:Y},json:{uid:Q,pageType:"home",expireDate:U}}).json()).value?.message;if(!I)throw Error("Hose CloseAPI did not return a provisional auth URL");let K=new URL(I).searchParams.get("accessToken");if(!K)throw Error("Hose provisional auth URL did not include accessToken");return{token:K,url:I,expiresAt:Date.now()+U*1000}}async function YM($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=$.source,U=TH($.id);if(A00(U.closeapi)&&U.closeapi.url)return U.closeapi;let z=hS.get($.id);if(z)return z;let Q=nQ($).then((J)=>$M(Y,J)).then((J)=>{return _S($.id,{...TH($.id),closeapi:J}),J}).finally(()=>hS.delete($.id));return hS.set($.id,Q),Q}async function P00($,Y=7200,U){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);if(!Number.isFinite(Y)||Y<=0)throw Error(`Invalid expire seconds: ${Y}. Must be a positive integer.`);let z=await nQ($),Q=await $M($.source,z,Y);if(!Q.url)throw Error("Hose provisional auth URL was not available");return{corpId:$.source.corpId,staffId:$.source.staffId,url:Q.url,token:Q.token,expiresIn:Y}}async function T00($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=await YM($),U=v7($,$.source),z=A6($.seal),J=await T8(U,void 0,z).get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:Y.token,returnToken:"1"}}).json(),I=J.token??J.accessToken??J.data?.token??J.data?.accessToken;if(!I)throw Error("Seal SSO did not return a bearer token");let K=J.expiresIn??J.expires_in??J.data?.expiresIn??J.data?.expires_in??3600,G={provider:"hose",corpId:$.source.corpId,staffId:$.source.staffId,sealUrl:B$(U),tenantSlug:$.seal.tenantSlug,raw:{sourceType:"hose",hoseDomain:B$($.source.domain)}};return{token:I,expiresAt:Date.now()+K*1000,enterprise:G}}async function pQ($,Y,U){if(U){let I=B$(U),K=await M00(I,$,Y);if(!K)throw Error(`Failed to authenticate on specified domain: ${I}. Please verify appKey/appSecurity and domain connectivity.`);return K}let z=ri0.map(async(I)=>{try{return await M00(I,$,Y)}catch{return}}),J=(await Promise.all(z)).filter((I)=>Boolean(I));if(J.length>0&&J[0])return J[0];throw Error("Failed to authenticate with appKey/appSecurity on all 6 standard Hose domains (app.ekuaibao.com, dd2.hosecloud.com, wx2.ekuaibao.com, kdcloud2.ekuaibao.com, ddenterprise.ekuaibao.com, feishu.ekuaibao.com). "+'If your enterprise uses a private cloud or custom domain (such as 美年大健康), please specify the "domain" parameter explicitly.')}async function M00($,Y,U){try{let z=await fetch(`${$}/api/openapi/v1/auth/getAccessToken`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({appKey:Y,appSecurity:U}),signal:AbortSignal.timeout(8000)});if(!z.ok)return;let Q=await z.json();if(Q.value?.errorCode)return;let J=Q.value?.accessToken??Q.accessToken,I=Q.value?.corporationId??Q.value?.corporation?.id;if(!J||!I)return;return{domain:$,corpId:I,corpName:Q.value?.corporation?.name,openapiToken:J,expireTime:Q.value?.expireTime}}catch{return}}async function UM($,Y){let U=`${B$($)}/api/openapi/v1/roleDefGroups?accessToken=${encodeURIComponent(Y)}`,z=await fetch(U,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!z.ok){let I=await z.text().catch(()=>"");throw Error(`Failed to fetch Hose role definition groups: ${z.status} ${I}`)}return((await z.json()).items??[]).map((I)=>({id:I.id,name:I.name,enName:I.enName,roleDefs:(I.roleDefs??[]).map((K)=>({id:K.id,name:K.name,enName:K.enName,sourceType:K.sourceType,sourceTypeValue:K.sourceTypeValue,groupId:I.id,groupName:I.name}))}))}async function SS($,Y,U,z="id"){let Q=U.startsWith("$")?U.slice(1):U,J=`${B$($)}/api/openapi/v1/roledefs/$${Q}?accessToken=${encodeURIComponent(Y)}&staffBy=${encodeURIComponent(z)}&pathType=name`,I=await fetch(J,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!I.ok){let W=await I.text().catch(()=>"");throw Error(`Failed to fetch Hose role staffs for ${Q}: ${I.status} ${W}`)}let G=(await I.json()).value;if(!G)throw Error(`Hose role staff query returned empty result for ${Q}`);let H=[];for(let W of G.contents??[])for(let X of W.staffs??[])if(X&&!H.includes(X))H.push(X);return{id:G.id??Q,name:G.name??"",count:G.count??H.length,staffs:H}}async function gS($,Y,U){if(U.length===0)return[];let z=`${B$($)}/api/openapi/v1/staffs/getStaffIds?accessToken=${encodeURIComponent(Y)}`,Q=await fetch(z,{method:"POST",headers:{"content-type":"application/json",Accept:"application/json"},body:JSON.stringify({type:"STAFFID",conditionIds:U.slice(0,100)}),signal:AbortSignal.timeout(1e4)});if(!Q.ok){let I=await Q.text().catch(()=>"");throw Error(`Failed to fetch Hose staff details: ${Q.status} ${I}`)}return(await Q.json()).items??[]}function yS($){if(!$)return"-";if($.length<=12)return"******";return`${$.slice(0,8)}...${$.slice(-4)}`}async function Yc0($){let Y=typeof $==="string"?N00($):D00($),U=Y.baseUrl||"https://app.ekuaibao.com",z,Q,J,I,K,G={accesstoken:Y.accessToken,corpid:Y.corpId};try{let H=await K5.get(`${U}/api/engine/realm/$UNITY/actions/jwt`,{searchParams:{corpId:Y.corpId},headers:G,timeout:1e4}).json(),W=H.id||H.value;if(W){let X=W.split(".");if(X.length>=2){let Z=X[1].replace(/-/g,"+").replace(/_/g,"/"),q=JSON.parse(Buffer.from(Z,"base64").toString("utf-8"));if(typeof q.staffId==="string")z=q.staffId;if(typeof q.corporationName==="string")Q=q.corporationName;if(typeof q.staffName==="string")J=q.staffName;if(typeof q.cellphone==="string")K=q.cellphone;if(q.isAdmin!==void 0)I=q.isAdmin===!0||q.isAdmin==="true"}}}catch{}if(!z||!Q)try{let W=(await K5.get(`${U}/api/account/v2/session`,{headers:{...G,...z?{staffid:z}:{}},timeout:1e4}).json())?.value;if(W){if(!z&&W.loginStaffId)z=W.loginStaffId;if(!Q&&W.corporationName)Q=W.corporationName;if(!J&&W.privilege)J=W.privilege}}catch{}if(!z)z=`${Y.corpId}:admin`;return{corpId:Y.corpId,baseUrl:U,accessToken:Y.accessToken,staffId:z,corpName:Q,staffName:J,isAdmin:I,cellphone:K}}async function kS($){let Y=await Yc0($),U={accesstoken:Y.accessToken,corpid:Y.corpId,staffid:Y.staffId},z;try{z=await(await K5.get(`${Y.baseUrl}/api/innerapi/v1/key`,{searchParams:{corpId:Y.corpId},headers:U,timeout:15000})).json()}catch(I){let K=I instanceof Error?I.message:String(I);throw Error(`Failed to query Hose OpenAPI keys from assistance link: ${K}`)}let Q=z.items??[],J=[];for(let I of Q)if(typeof I==="object"&&I!==null){let K=I;if(typeof K.appKey==="string"&&typeof K.appSecurity==="string")J.push({id:String(K.id??K.appKey),name:typeof K.name==="string"?K.name:void 0,appKey:K.appKey,appSecurity:K.appSecurity,active:typeof K.active==="boolean"?K.active:!0,corporationId:typeof K.corporationId==="string"?K.corporationId:Y.corpId,createTime:typeof K.createTime==="number"?K.createTime:void 0,updateTime:typeof K.updateTime==="number"?K.updateTime:void 0})}return{corpId:Y.corpId,corpName:Y.corpName,baseUrl:Y.baseUrl,staffId:Y.staffId,keys:J}}var ri0,si0,ai0="/web/thirdparty.html",O00,vS,hS;var t9=m(()=>{iQ();i8();jH();ri0=["https://app.ekuaibao.com","https://dd2.hosecloud.com","https://wx2.ekuaibao.com","https://kdcloud2.ekuaibao.com","https://ddenterprise.ekuaibao.com","https://feishu.ekuaibao.com"],si0=[".ekuaibao.com",".hosecloud.com"],O00=/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/,vS=new Map,hS=new Map});function j00($,Y){return Date.now()>=$.expiresAt-Y*1000}async function Uc0($){switch($.source.type){case"hose":return T00($);case"direct":case"seal":return G00($)}}async function QM($){let Y=$.auth.refreshTtl,U=zM.get($.id);if(U&&!j00(U,Y))return U;let z=L00($.id);if(z&&!j00(z,Y))return zM.set($.id,z),z;let Q=await Uc0($);return zM.set($.id,Q),F00($.id,Q),Q}async function E00($){return(await QM($)).enterprise}function C00($){zM.delete($),w00($)}var zM;var xS=m(()=>{t9();jH();zM=new Map});var _00={};x8(_00,{createSealClientForUrl:()=>T8,createSealClientForToken:()=>fS,createSealClient:()=>B1});function zc0($){if($===void 0||$===null||$==="")return"";if(typeof $==="string")return $;try{return JSON.stringify($)}catch{return String($)}}function Qc0($){if(!($ instanceof D6))return $;let Y=zc0($.data);if(Y)$.message=`${$.message}: ${Y}`;return $}function R00($){return async({error:Y})=>{if($&&Y instanceof D6&&Y.response.status===401)C00($);return Qc0(Y)}}async function B1($){let Y=await QM($);return K5.create({prefix:Y.enterprise.sealUrl,timeout:30000,headers:{...A6($.seal),Authorization:`Bearer ${Y.token}`},hooks:{beforeError:[R00($.id)]}})}async function fS($,Y){let U=await QM($);return T8(U.enterprise.sealUrl,Y,A6($.seal))}function T8($,Y,U={}){let z={...U};if(Y)z.Authorization=`Bearer ${Y}`;return K5.create({prefix:$.replace(/\/+$/,""),timeout:30000,headers:z,hooks:{beforeError:[R00()]}})}var i8=m(()=>{iQ();xS()});var EH;var v00=m(()=>{EH={name:"seal-use",version:"0.10.32",private:!0,description:"Seal tenant operations toolkit: approval-run diagnosis, rule remediation, Hose/合思 auth, plus a CLI and an optional MCP server.",license:"MIT",author:{name:"yingqing"},repository:{type:"git",url:"git+https://github.com/yunyingk/seal-use.git"},type:"module",module:"src/server.ts",bin:{"seal-use":"src/cli.ts","seal-home":"src/cli.ts"},packageManager:"bun@1.3.14",engines:{bun:">=1.3.14"},scripts:{dev:"bun run --watch src/server.ts",start:"bun run src/server.ts",probe:"bun run src/probe.ts",cli:"bun run src/cli.ts",check:"tsc --noEmit","build:binary":"node scripts/build-binary.mjs","build:plugin":"node scripts/build-plugin.mjs",bump:"bun run scripts/bump-version.ts","dev:override":"bun run scripts/dev-override.ts","dev:link":"bun run scripts/dev-override.ts","openapi:bundle":"bun run scripts/bundle-openapi.ts","openapi:raw":"bun run scripts/generate-raw-openapi.ts",test:"bun test",prepare:"git config core.hooksPath .githooks"},dependencies:{"@modelcontextprotocol/server":"^2.0.0",archiver:"^8.0.0",exceljs:"^4.4.0","iconv-lite":"^0.7.3",ky:"^2.0.2","pinyin-pro":"^3.29.3",yauzl:"^3.4.0",zod:"^4.4.3"},devDependencies:{"@modelcontextprotocol/client":"^2.0.0","@types/archiver":"^8.0.0","@types/bun":"^1.3.14","@types/yauzl":"^3.4.0","bun-types":"^1.3.14",typescript:"^5.9.3",yaml:"^2.9.0"}}});import{spawnSync as h00}from"node:child_process";function Ic0($,Y=EH.version){let U=$.trim();if(!U)return null;let z=U.endsWith("-dirty"),Q=z?U.slice(0,-6):U,J=Q.match(/^v?(\d+\.\d+\.\d+(?:-[a-zA-Z0-9.]+)?)-(\d+)-g([0-9a-f]+)$/);if(J&&J[1]&&J[2]&&J[3])return{baseVersion:J[1],commitsAhead:Number.parseInt(J[2],10),commit:J[3],dirty:z,describe:U};let I=Q.match(/^v?(\d+\.\d+\.\d+(?:-[a-zA-Z0-9.]+)?)$/);if(I&&I[1])return{baseVersion:I[1],commitsAhead:0,commit:"",dirty:z,describe:U};let K=Q.match(/^([0-9a-f]{7,40})$/);if(K&&K[1])return{baseVersion:Y,commitsAhead:0,commit:K[1],dirty:z,describe:U};return null}function Kc0($,Y,U,z){let J=U?`+g${U}${z?".dirty":""}`:z?"+dirty":"";return`${$}-dev.${Y}${J}`}function Gc0($){let Y=$?.env,U=Y?.SEAL_BUILD_VERSION??process.env.SEAL_BUILD_VERSION,z=Y?.SEAL_BUILD_IS_RELEASE??process.env.SEAL_BUILD_IS_RELEASE,Q=Y?.SEAL_BUILD_CHANNEL??process.env.SEAL_BUILD_CHANNEL,J=Y?.SEAL_BUILD_GIT_BASE??process.env.SEAL_BUILD_GIT_BASE,I=Y?.SEAL_BUILD_GIT_COMMITS_AHEAD??process.env.SEAL_BUILD_GIT_COMMITS_AHEAD,K=Y?.SEAL_BUILD_GIT_COMMIT??process.env.SEAL_BUILD_GIT_COMMIT,G=Y?.SEAL_BUILD_GIT_DIRTY??process.env.SEAL_BUILD_GIT_DIRTY,H=Y?.SEAL_BUILD_GIT_DESCRIBE??process.env.SEAL_BUILD_GIT_DESCRIBE,W=Y?.SEAL_FORCE_RELEASE??process.env.SEAL_FORCE_RELEASE,X=$?.cwd;if(U){let Z=z==="true",V={name:"seal-use",version:U,channel:Q||(Z?"release":"dev"),isRelease:Z};if(J)V.git={baseVersion:J,commitsAhead:Number.parseInt(I||"0",10),commit:K||"",dirty:G==="true",describe:H||U};return V}if(z==="true"||W==="1")return{name:"seal-use",version:EH.version,channel:"release",isRelease:!0};try{let Z=h00("git",["describe","--tags","--long","--dirty","--always"],{cwd:X,encoding:"utf8",stdio:["ignore","pipe","ignore"]});if(Z.status===0&&Z.stdout){let q=Ic0(Z.stdout.trim(),EH.version);if(q){if(!q.commit){let F=h00("git",["rev-parse","--short","HEAD"],{cwd:X,encoding:"utf8",stdio:["ignore","pipe","ignore"]});if(F.status===0&&F.stdout)q.commit=F.stdout.trim()}return{name:"seal-use",version:Kc0(q.baseVersion,q.commitsAhead,q.commit,q.dirty),channel:"dev",isRelease:!1,git:q}}}}catch{}return{name:"seal-use",version:`${EH.version}-dev.0+local`,channel:"dev",isRelease:!1}}var cY,P1,uS,hc1;var e9=m(()=>{v00();cY=Gc0(),P1=cY.version,uS=cY.isRelease,hc1=cY.channel});function dQ($=void 0){return iS.parse($??{})}function y00($,Y){return dQ({...dQ($),...Y})}var S00,bS,g00,iS,cS;var mQ=m(()=>{A$();S00=[".pdf",".xls",".xlsx",".csv",".doc",".docx",".ppt",".pptx",".txt",".rtf",".odt",".ods",".odp",".jpg",".jpeg",".png",".gif",".bmp",".webp",".heic",".eml",".msg"],bS={minFileSizeBytes:500,allowedExtensions:[...S00]},g00=L.string().trim().min(1).transform(($)=>{let Y=$.toLowerCase();return Y.startsWith(".")?Y:`.${Y}`}).refine(($)=>/^\.[a-z0-9][a-z0-9+_-]*$/.test($),{message:"文件后缀必须是简单扩展名,例如 .pdf 或 xlsx"}),iS=L.object({minFileSizeBytes:L.number().int().min(0).default(bS.minFileSizeBytes),maxFileSizeBytes:L.number().int().positive().nullable().optional(),allowedExtensions:L.array(g00).min(1).default([...S00]).transform(($)=>[...new Set($)])}).superRefine(($,Y)=>{if($.maxFileSizeBytes!==void 0&&$.maxFileSizeBytes!==null&&$.maxFileSizeBytes<$.minFileSizeBytes)Y.addIssue({code:"custom",path:["maxFileSizeBytes"],message:"最大文件大小不能小于最小文件大小"})}),cS=L.object({minFileSizeBytes:L.number().int().min(0).optional(),maxFileSizeBytes:L.number().int().positive().nullable().optional(),allowedExtensions:L.array(g00).min(1).transform(($)=>[...new Set($)])}).optional()});var Hc0,Wc0,Xc0,Zc0,x00,qc0,Vc0,f00,JM,u00,Lc0,IM,b00,RH,i00,Fc0,wc0,Mc0,k00,_H,c00,Oc0,Nc0,KM,nS,n00,p00,d00,m00,GM,l00,pS,dS,o00,r00,Dc0,s00,Ac0,a00,CH,t00,e00,$10,Y10,U10,z10,Q10,J10,I10,K10,G10,Bc0,H10,Pc0,Tc0,jc0,mS,lS,Ec0,W10,X10,Z10,q10,Cc0,oS,fc1,uc1,V10,bc1;var rS=m(()=>{A$();mQ();Hc0=L.object({staffId:L.string(),name:L.string().optional(),code:L.string().default(""),bindTime:L.number().optional()}),Wc0=L.object({id:L.string(),tenantId:L.string(),name:L.string(),isAdmin:L.boolean().default(!1),permissions:L.array(L.string()).default([]),providerUserId:L.string().optional(),hosecloudStaff:Hc0.optional()}),Xc0=L.object({apiKey:L.string().optional(),corporationId:L.string().optional(),corporationName:L.string().optional()}),Zc0=L.object({id:L.string(),name:L.string(),tenantSlug:L.string().optional(),isDemo:L.boolean().default(!1),logoUrl:L.string().nullable().optional(),hoseCorpConfig:Xc0.optional()}),x00=L.object({user:Wc0,tenant:Zc0}),qc0=L.object({id:L.string(),name:L.string(),email:L.string().nullable().optional(),emailVerified:L.boolean().optional(),image:L.string().nullable().optional(),tenantId:L.string().optional(),provider:L.string().optional(),providerUserId:L.string().optional(),mobile:L.string().nullable().optional(),status:L.string().optional(),permissions:L.array(L.string()).default([]),isAdmin:L.boolean().default(!1),hosecloudStaff:L.unknown().optional()}).passthrough(),Vc0=L.object({id:L.string(),token:L.string().optional(),expiresAt:L.string(),createdAt:L.string().optional(),updatedAt:L.string().optional(),ipAddress:L.string().optional(),userAgent:L.string().optional(),userId:L.string(),delegationId:L.string().nullable().optional()}).passthrough(),f00=L.object({user:qc0,session:Vc0}),JM=L.object({id:L.string(),tenantId:L.string().optional(),code:L.union([L.number(),L.string()]).optional(),description:L.string(),scope:L.string(),strictness:L.string(),status:L.string().optional(),createdAt:L.number().optional(),updatedAt:L.number().optional()}),u00=L.object({rules:L.array(JM),hasPendingDeletes:L.boolean().default(!1)}),Lc0=L.object({code:L.string().optional(),description:L.string(),scope:L.string(),strictness:L.string()}),IM=L.object({id:L.string(),tenantId:L.string().optional(),versionNumber:L.number(),versionName:L.string().nullable().optional(),publishedBy:L.string().nullable().optional(),publishedByName:L.string().nullable().optional(),rules:L.array(Lc0).default([]),publishedAt:L.number().optional(),createdAt:L.number().optional()}),b00=L.object({version:IM,rulesCount:L.number()}),RH=L.object({id:L.string(),tenantId:L.string().optional(),title:L.string(),purpose:L.string().default(""),contentType:L.string().default("policy"),content:L.string(),status:L.string().default("published"),enabled:L.boolean().default(!0),scenarios:L.array(L.string()).default([]),tags:L.array(L.string()).default([]),category:L.string().nullable().optional(),categoryTags:L.array(L.string()).default([]),createdBy:L.string().nullable().optional(),createdByName:L.string().nullable().optional(),createdAt:L.number().optional(),updatedAt:L.number().optional(),updatedBy:L.string().nullable().optional(),updatedByName:L.string().nullable().optional(),isDeleted:L.boolean().default(!1)}),i00=L.object({articles:L.array(RH),total:L.number().optional()}),Fc0=L.object({explicitApprove:L.string().default(""),explicitReject:L.string().default(""),exemptApprove:L.string().default(""),review:L.string().default("")}).passthrough(),wc0=L.object({type:L.string(),signKey:L.string().optional(),outboundName:L.string().optional(),mode:L.string().optional(),autoApprovalRate:L.number().optional(),apiKey:L.string().optional(),apiSecret:L.string().optional(),apiOrigin:L.string().optional(),corporationId:L.string().optional(),ebotSignKey:L.string().optional(),completionSignKey:L.string().optional(),outboundMessageId:L.string().optional(),completionMessageId:L.string().optional()}).passthrough(),Mc0=L.enum(["assisted","semi_automatic","fully_automatic"]),k00=L.object({id:L.string(),url:L.string().url()}).passthrough(),_H=L.object({type:L.literal("webhook"),id:L.string(),name:L.string(),mode:Mc0,incomingDocumentWebhook:k00,outgoingResultWebhook:L.string().url(),incomingManualResultWebhook:k00,secret:L.string().min(1),autoApprovalRate:L.number().int().min(0).max(100).optional(),materialPackFilePolicy:iS.default(bS)}).passthrough(),c00=L.object({id:L.string().optional(),tenantId:L.string().optional(),tone:L.string().optional(),language:L.string().optional(),detailLevel:L.string().optional(),outputFormat:L.string().optional(),examples:L.array(L.string()).default([]),prohibitedPhrases:L.array(L.string()).default([]),customInstructions:L.string().optional(),updatedAt:L.number().optional(),decisionPreferences:Fc0.optional(),integrationSystem:L.string().optional(),integrations:L.array(wc0).default([])}).passthrough(),Oc0=L.object({id:L.string().optional(),sn:L.string().optional(),title:L.string().optional(),name:L.string().optional(),fields:L.array(L.unknown()).optional()}).passthrough(),Nc0=L.object({_langfuseTraceId:L.string().optional(),simulation_batch_id:L.string().optional()}).passthrough(),KM=L.object({id:L.string(),tenantId:L.string().optional(),agentId:L.string().optional(),status:L.string().optional(),taskMode:L.string().optional(),finalExecutionMode:L.string().optional(),sourceSystem:L.string().optional(),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),documentId:L.string().optional(),document:Oc0.optional(),result:L.unknown().optional(),pipelineData:L.unknown().optional(),sourceExtendData:Nc0.optional(),ruleSetVersionNumber:L.number().optional(),ruleSetPublishedAt:L.number().optional(),ruleSetPublishedByName:L.string().optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),nS=L.object({records:L.array(KM).default([]),total:L.number().optional(),page:L.number().optional(),pageSize:L.number().optional()}).passthrough(),n00=L.object({id:L.string(),expiresAt:L.number().nullable().optional(),revokedAt:L.number().nullable().optional(),createdAt:L.number().nullable().optional(),lastUsedAt:L.number().nullable().optional(),useCount:L.number().default(0),note:L.string().nullable().optional(),link:L.string()}).passthrough(),p00=L.object({id:L.string(),token:L.string(),link:L.string()}).passthrough(),d00=L.object({userId:L.string(),password:L.string()}).passthrough(),m00=L.object({password:L.string()}).passthrough(),GM=L.object({_id:L.string(),tenantId:L.string().optional(),name:L.string(),mobile:L.string().optional(),email:L.string().optional(),departmentIds:L.array(L.string()).default([]),status:L.string().optional(),permissions:L.array(L.string()).default([]),createdAt:L.string().optional(),updatedAt:L.string().optional()}).passthrough(),l00=L.object({departments:L.array(L.record(L.string(),L.unknown())).default([]),users:L.array(GM).default([])}).passthrough(),pS=L.object({_id:L.string(),tenantId:L.string().optional(),name:L.string().optional(),parentId:L.string().nullable().optional(),ancestors:L.array(L.string()).default([]),provider:L.string().optional(),permissions:L.array(L.string()).default([]),isDeleted:L.boolean().optional(),syncedAt:L.string().optional(),createdAt:L.string().optional(),updatedAt:L.string().optional()}).passthrough(),dS=L.object({items:L.array(pS).default([])}).passthrough(),o00=L.object({items:L.array(GM).default([])}).passthrough(),r00=L.object({lastSyncTime:L.union([L.string(),L.number(),L.null()])}).passthrough(),Dc0=L.object({tagId:L.string().optional(),tagName:L.string().optional(),tagPath:L.string().optional(),count:L.number().default(0),avgConfidence:L.number().default(0),errorCount:L.number().default(0),warningCount:L.number().default(0)}).passthrough(),s00=L.object({tagStats:L.array(Dc0).default([]),totalRisks:L.number().default(0),analyzedRisks:L.number().default(0),pendingRisks:L.number().default(0)}).passthrough(),Ac0=L.object({riskId:L.string().optional(),recordId:L.string().optional(),riskDetails:L.string().default(""),riskLevel:L.string().default("warning"),documentType:L.string().default(""),documentSN:L.string().default(""),sourceSystem:L.string().default(""),sourceDocumentURL:L.string().nullable().optional(),confidence:L.number().default(0),reasoning:L.string().default(""),createdAt:L.union([L.string(),L.number(),L.date()]).optional()}).passthrough(),a00=L.object({tagId:L.string(),tagName:L.string().default(""),tagPath:L.string().default(""),tagDescription:L.string().default(""),risks:L.array(Ac0).default([]),total:L.number().default(0)}).passthrough(),CH=L.object({value:L.number().default(0),trend:L.number().default(0)}).passthrough(),t00=L.object({metrics:L.object({approvalCount:CH.optional(),accuracy:CH.optional(),automationRate:CH.optional(),riskCount:CH.optional(),avgDuration:CH.optional()}).passthrough().default({}),sankeyData:L.object({nodes:L.array(L.object({id:L.string()}).passthrough()).default([]),links:L.array(L.object({source:L.string(),target:L.string(),value:L.number().default(0)}).passthrough()).default([])}).passthrough().default({nodes:[],links:[]})}).passthrough(),e00=L.record(L.string(),L.unknown()),$10=L.object({expenses:L.array(e00).default([]),total:L.number().optional()}).passthrough(),Y10=L.object({invoices:L.array(e00).default([]),total:L.number().optional(),feishuApprovalAppId:L.string().nullable().optional()}).passthrough(),U10=L.record(L.string(),L.unknown()),z10=L.object({provider:L.string(),config:L.record(L.string(),L.unknown()).default({})}).passthrough(),Q10=L.object({id:L.string(),name:L.string(),description:L.string().optional(),available:L.boolean().default(!0),fields:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),J10=L.object({permissions:L.array(L.object({key:L.string(),name:L.string(),description:L.string().optional()}).passthrough()).default([])}).passthrough(),I10=L.object({configs:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),K10=L.object({subscriptions:L.array(L.record(L.string(),L.unknown())).default([]),features:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),G10=L.object({key:L.string(),type:L.string(),label:L.string(),column:L.string(),mask:L.string().optional()}).passthrough(),Bc0=L.object({columns:L.array(G10).default([]),fieldKey:L.string().optional(),keyColumn:L.string().optional(),sheetName:L.string().optional(),fieldLabel:L.string().optional()}).passthrough(),H10=L.object({id:L.string().optional(),listSheets:L.array(Bc0).default([]),mainColumns:L.array(G10).default([]),workbookName:L.string().optional(),mainKeyColumn:L.string().optional(),mainSheetName:L.string().optional(),titleColumn:L.string().optional(),statusColumn:L.string().optional(),applicationDateColumn:L.string().optional(),updatedDateColumn:L.string().optional(),attachmentFieldKey:L.string().optional(),attachmentFieldLabel:L.string().optional()}).passthrough(),Pc0=L.object({approvalCode:L.string(),nodeId:L.string().optional(),flowIds:L.array(L.string()).max(100).optional(),limit:L.number().int().positive().max(100).optional(),dataCollectionMode:L.string().optional(),signKey:L.string().optional(),rejectNodeName:L.string().nullable().optional(),skipInvoiceGeneration:L.boolean().optional(),skipExpenseExtraction:L.boolean().optional(),disableAttachmentCache:L.boolean().optional(),thinkingDepthOverride:L.enum(["default","medium","high"]).optional(),startTime:L.number().optional(),endTime:L.number().optional(),templateId:L.string().optional(),packageIds:L.array(L.string()).optional(),packageLabel:L.string().optional(),runMode:L.string().optional(),schemaConfig:H10.optional()}).passthrough(),Tc0=L.object({mode:L.string().optional(),conditions:L.array(L.object({label:L.string(),value:L.string()}).passthrough()).default([])}).passthrough(),jc0=L.object({kind:L.string().optional(),stage:L.string().optional(),code:L.string().optional(),message:L.string().optional()}).passthrough(),mS=L.object({id:L.string(),tenantId:L.string().optional(),approvalCode:L.string().optional(),nodeId:L.string().optional(),sourceSystem:L.string().optional(),status:L.string().optional(),totalCount:L.number().default(0),processedCount:L.number().default(0),successCount:L.number().default(0),failedCount:L.number().default(0),createdCount:L.number().default(0),createFailedCount:L.number().default(0),params:Pc0.optional(),requestSummary:Tc0.nullable().optional(),resultSummary:jc0.nullable().optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),lS=L.object({batchId:L.string()}).passthrough(),Ec0=L.object({dataCollectionMode:L.string().optional(),flowIds:L.array(L.string()).max(100).optional(),rejectNodeName:L.string().nullable().optional(),skipInvoiceGeneration:L.boolean().optional(),skipExpenseExtraction:L.boolean().optional()}).passthrough(),W10=L.object({id:L.string(),tenantId:L.string().optional(),name:L.string().optional(),description:L.string().optional(),approvalSystem:L.string().optional(),hosecloudConfig:Ec0.optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),X10=L.object({hasFeishu:L.boolean().default(!1),hasHosecloud:L.boolean().default(!1),hasWeaver:L.boolean().default(!1),hasHelios:L.boolean().default(!1),hasMaycur:L.boolean().default(!1),hasMaycurStandard:L.boolean().default(!1)}).passthrough(),Z10=L.object({signKey:L.string().optional(),displayName:L.string().optional(),corporationId:L.string().optional()}).passthrough(),q10=L.object({id:L.string(),tenantId:L.string().optional(),name:L.string().optional(),templateId:L.string().optional(),originalFileName:L.string().optional(),status:L.string().optional(),documentCount:L.number().optional(),attachmentCount:L.number().optional(),uploadedBy:L.string().optional(),schemaConfig:H10.nullable().optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),Cc0=L.object({hitScopes:L.array(L.string()).default([]),hitRuleIds:L.array(L.string()).default([]),notHitScopes:L.array(L.string()).default([]),notHitRuleIds:L.array(L.string()).default([])}).passthrough(),oS=L.object({id:L.string().min(1),name:L.string().min(1),enabled:L.boolean().default(!0),description:L.string().default(""),condition:Cc0.default({hitScopes:[],hitRuleIds:[],notHitScopes:[],notHitRuleIds:[]}),level:L.enum(["medium","high"])}).passthrough(),fc1=L.object({defaultLevel:L.enum(["medium","high"]).default("medium"),routingPolicies:L.array(oS).default([])}).passthrough(),uc1=L.object({dryRun:L.boolean().optional(),signKey:L.string().min(1).optional(),outboundName:L.string().optional(),specificationId:L.string().optional(),specificationName:L.string().optional(),mode:L.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:L.number().min(0).max(100).optional(),rejectResubmitMethod:L.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:L.array(L.string()).optional(),apiKey:L.string().min(1),apiSecret:L.string().min(1),apiOrigin:L.string().default("production"),customApiUrl:L.string().optional()}).passthrough(),V10=L.object({id:L.string().optional(),code:L.string().optional(),name:L.string().optional(),approvalSystem:L.string().optional()}).passthrough(),bc1=L.object({total:L.number(),dedupeBy:L.string(),unique:L.number(),byStatus:L.record(L.string(),L.number()),bySourceSystem:L.record(L.string(),L.number())}).passthrough()});import{randomBytes as w10}from"node:crypto";async function M1($,Y){let U=await $.json();return Y.parse(U.data??U)}async function W8($){return M1(await $.get("api/v1/auth/me"),x00)}async function O10($){return M1(await $.get("api/auth/get-session"),f00)}async function p6($){return M1(await $.get("api/v1/rules"),u00)}async function hH($,Y){return M1(await $.post("api/v1/rules",{json:Y}),JM)}async function sS($,Y,U){return M1(await $.put(`api/v1/rules/${Y}`,{json:U}),JM)}async function oQ($,Y){await $.delete(`api/v1/rules/${Y}`)}async function ZM($){let Y=await $.post("api/v1/rules/batch-recode",{throwHttpErrors:!1}),U=await Y.json().catch(()=>({}));return L.object({ok:L.boolean(),status:L.number(),body:L.unknown()}).parse({ok:Y.ok,status:Y.status,body:U})}async function P$($){return M1(await $.get("api/v1/rule-set-versions"),L.array(IM))}async function SH($,Y){return M1(await $.get(`api/v1/rule-set-versions/${Y}`),IM)}async function gH($,Y){return M1(await $.post("api/v1/rule-set-versions/publish",{json:{versionName:Y}}),b00)}async function h7($,Y={}){let U=new URLSearchParams;return U.set("offset",String(Y.offset??0)),U.set("limit",String(Y.limit??20)),U.set("sortBy",Y.sortBy??"createdAt"),U.set("sortOrder",Y.sortOrder??"desc"),Y.scenarios?.forEach((z,Q)=>{U.set(`filter[scenarios][${Q}]`,z)}),M1(await $.get("api/v1/knowledge/articles",{searchParams:U}),i00)}async function N10($,Y){return M1(await $.get(`api/v1/knowledge/articles/${Y}`),RH)}async function qM($,Y){return M1(await $.post("api/v1/knowledge/articles",{json:{...Y,contentType:Y.contentType??"policy",status:Y.status??"published",enabled:Y.enabled??!0,scenarios:Y.scenarios&&Y.scenarios.length>0?Y.scenarios:["audit"],tags:Y.tags??[]}}),RH)}async function VM($,Y,U){let z=Object.fromEntries(Object.entries(U).filter(([,Q])=>Q!==void 0));return M1(await $.patch(`api/v1/knowledge/articles/${Y}`,{json:{attributes:z}}),RH)}async function LM($,Y){return await $.delete(`api/v1/knowledge/articles/${Y}`),{success:!0,id:Y}}async function o1($,Y="api/v1/agent/ai-approval/config"){return M1(await $.get(Y),c00)}async function m5($,Y,U="api/v1/agent/ai-approval/config"){return await $.post(U,{json:Y}),o1($,U)}async function aS($,Y,U="api/v1/agent/ai-approval/config"){let z=await $.post(U,{json:Y}),Q=await z.json().catch(()=>({})),J=XM.safeParse(Q.data??Q);return J.success?J.data.success??z.ok:z.ok}async function J$($,Y="api/v1/agent/ai-approval/config"){let U=await o1($,Y);return tS(U.integrations)}async function FM($,Y,U,z="api/v1/agent/ai-approval/config"){let Q=await o1($,z),J=tS(Q.integrations),I=E10(Y,J,U);if(!await aS($,{...Q,integrations:[...Q.integrations,I]},z))throw Error("Seal did not confirm saving the Webhook integration");return I}async function D10($,Y,U,z="api/v1/agent/ai-approval/config"){let Q=await o1($,z),J=tS(Q.integrations),I=E10(Y,J,U);return{before:Q,after:{...Q,integrations:[...Q.integrations,I]},integration:I}}async function A10($,Y,U,z="api/v1/agent/ai-approval/config"){let Q=await o1($,z),J=wM(Q.integrations),I=MM(J,Y),K=C10(I.integration,U);if(!await aS($,{...Q,integrations:Q.integrations.map((H,W)=>W===I.index?K:H)},z))throw Error("Seal did not confirm saving the Webhook integration");return K}async function B10($,Y,U,z="api/v1/agent/ai-approval/config"){let Q=await o1($,z),J=wM(Q.integrations),I=MM(J,Y),K=C10(I.integration,U);return{before:Q,after:{...Q,integrations:Q.integrations.map((G,H)=>H===I.index?K:G)},integration:K}}async function P10($,Y,U="api/v1/agent/ai-approval/config"){let z=await o1($,U),Q=wM(z.integrations),J=MM(Q,Y);if(!await aS($,{...z,integrations:z.integrations.filter((K,G)=>G!==J.index)},U))throw Error("Seal did not confirm deleting the Webhook integration");return J.integration}async function T10($,Y,U="api/v1/agent/ai-approval/config"){let z=await o1($,U),Q=wM(z.integrations),J=MM(Q,Y);return{before:z,after:{...z,integrations:z.integrations.filter((I,K)=>K!==J.index)},integration:J.integration}}function S7($,Y){let U=Y.trim();if(!U)throw Error("Webhook selector must not be empty");let z=$.find((J)=>J.id===U);if(z)return z;let Q=$.filter((J)=>J.name===U);if(Q.length===1)return Q[0];if(Q.length>1)throw Error(`Multiple Webhook integrations match name: ${U}. Use the integration ID.`);throw Error(`Webhook integration not found: ${U}`)}function j10($,Y){let U=Y?.trim().toLowerCase();if(!U)return $;return $.filter((z)=>[z.id,z.name,z.mode,z.outgoingResultWebhook,z.incomingDocumentWebhook.url,z.incomingManualResultWebhook.url].some((Q)=>Q.toLowerCase().includes(U)))}function tS($){return $.filter((Y)=>Y.type==="webhook").map((Y)=>_H.parse(Y))}function wM($){return $.flatMap((Y,U)=>{if(Y.type!=="webhook")return[];return[{index:U,integration:_H.parse(Y)}]})}function MM($,Y){let U=S7($.map((z)=>z.integration),Y);return $.find((z)=>z.integration.id===U.id)}function E10($,Y,U){let z=vH(U.name,"name"),Q=U.mode??"assisted",J=_10(U.outgoingResultWebhook,"outgoingResultWebhook"),I=v10(U.autoApprovalRate??60),K=vc0(Y),G=`wh_${K}_${w10(8).toString("hex").slice(0,7)}`,H=B$($);return _H.parse({type:"webhook",id:`integration-${K}`,name:z,mode:Q,incomingDocumentWebhook:{id:G,url:`${H}/api/v1/integrations/webhook/${G}/document`},outgoingResultWebhook:J,incomingManualResultWebhook:{id:G,url:`${H}/api/v1/integrations/webhook/${G}/manual-result`},secret:U.secret?vH(U.secret,"secret"):R10(),autoApprovalRate:I,materialPackFilePolicy:dQ(U.materialPackFilePolicy)})}function C10($,Y){return _H.parse({...$,...Y.name===void 0?{}:{name:vH(Y.name,"name")},...Y.mode===void 0?{}:{mode:Y.mode},...Y.outgoingResultWebhook===void 0?{}:{outgoingResultWebhook:_10(Y.outgoingResultWebhook,"outgoingResultWebhook")},...Y.autoApprovalRate===void 0?{}:{autoApprovalRate:v10(Y.autoApprovalRate)},...Y.rotateSecret||Y.secret!==void 0?{secret:Y.rotateSecret?R10():vH(Y.secret??"","secret")}:{},...Y.materialPackFilePolicy===void 0?{}:{materialPackFilePolicy:y00($.materialPackFilePolicy,Y.materialPackFilePolicy)}})}function vc0($){let Y=new Set($.map((z)=>z.id)),U=Date.now();while(Y.has(`integration-${U}`))U+=1;return U}function R10(){return w10(16).toString("hex")}function vH($,Y){let U=$.trim();if(!U)throw Error(`Webhook ${Y} must not be empty`);return U}function _10($,Y){let U=vH($,Y);try{return new URL(U).toString()}catch{throw Error(`Webhook ${Y} must be a valid URL`)}}function v10($){if(!Number.isInteger($)||$<0||$>100)throw Error("Webhook autoApprovalRate must be an integer between 0 and 100");return $}async function OM($,Y={}){let[U,z,Q]=await Promise.all([p6($),h7($,{limit:Y.documentLimit??50}),o1($,Y.stylePreferencesEndpoint).then((J)=>({ok:!0,data:J}),(J)=>({ok:!1,error:J instanceof Error?J.message:String(J)}))]);return{rules:U,documents:z,stylePreferences:Q}}async function i4($,Y={}){let U=new URLSearchParams;return U.set("offset",String(Y.offset??0)),U.set("limit",String(Y.limit??50)),c8(U,"fromTimestamp",Y.fromTimestamp),c8(U,"toTimestamp",Y.toTimestamp),c8(U,"startDate",Y.startDate),c8(U,"endDate",Y.endDate),L10(U,"status",Y.status),c8(U,"sourceSystem",Y.sourceSystem),c8(U,"taskMode",Y.taskMode),c8(U,"search",Y.search),c8(U,"sourceDocumentSN",Y.sourceDocumentSN),c8(U,"sourceDocumentId",Y.sourceDocumentId),L10(U,"manualApprovalStatus",Y.manualApprovalStatus),M1(await $.get("api/v1/approvals",{searchParams:U}),nS)}async function H4($,Y){return M1(await $.get(`api/v1/approvals/${Y}`),KM)}async function eS($,Y){let U=await $.get(`api/v1/simulation/batch/${Y}/records`).json(),z=U.data??U;if(Array.isArray(z))return L.array(KM).parse(z);return nS.parse(z).records}async function h10($,Y){return M1(await $.post("api/v1/simulation/create-batch",{json:Y}),lS)}async function S10($,Y){return M1(await $.post("api/v1/simulation/create-material-pack-batch",{json:Y}),lS)}async function g10($,Y={}){let U=await $.get("api/v1/simulation/batches",{searchParams:{limit:String(Y.limit??50)}}).json(),z=U.data??U;return L.array(mS).parse(z)}async function NM($,Y){return M1(await $.get(`api/v1/simulation/batch/${Y}`),mS)}async function y10($){let Y=await $.get("api/v1/simulation/templates").json(),U=Y.data??Y;return L.array(W10).parse(U)}async function $g($){return M1(await $.get("api/v1/simulation/integration-status"),X10)}async function Yg($){let Y=await $.get("api/v1/simulation/hosecloud-integrations").json(),U=Y.data??Y;return L.array(Z10).parse(U)}async function k10($,Y){let z=await(await $.delete(`api/v1/simulation/batch/${encodeURIComponent(Y)}/data`)).json().catch(()=>({}));return z.data??z}async function x10($,Y){let U=Y?"api/v1/simulation/hosecloud-specifications-by-sign-key":"api/v1/simulation/hosecloud-specifications",z=Y?new URLSearchParams({signKey:Y}):void 0,Q=await $.get(U,{searchParams:z}).json(),J=Q.data??Q;return L.array(V10).parse(J)}async function f10($,Y){let U=await $.post("api/hosecloud/corporation",{json:Y}).json(),z=U.data??U;return L.object({corporationId:L.string()}).parse(z)}async function u10($,Y){let z=await(await $.post("api/hosecloud/outbound-config/sync",{json:Y})).json().catch(()=>({}));return z.data??z}async function b10($,Y){let U=new FormData;return U.append("file",new Blob([new Uint8Array(Y.fileBuffer)]),Y.fileName),M1(await $.post("api/v1/material-packages/upload",{body:U}),q10)}function c8($,Y,U){if(U)$.set(Y,U)}function L10($,Y,U){if(!U)return;(Array.isArray(U)?U:[U]).map((Q)=>Q.trim()).filter(Boolean).forEach((Q,J)=>{$.set(`${Y}[${J}]`,Q)})}async function i10($){return M1(await $.get("api/v1/delegation/list"),L.array(n00))}async function lQ($,Y){return M1(await $.post("api/v1/delegation/create",{json:Y??{}}),p00)}async function c10($,Y){let U=await $.post("api/v1/delegation/revoke",{json:{tokenId:Y}}),z=await U.json(),Q=XM.safeParse(z.data??z);return Q.success?Q.data.success??U.ok:U.ok}async function n10($,Y){let U=Y.departmentIds&&Y.departmentIds.length>0?Y.departmentIds:void 0;if(!U){let z=await $.get("api/v1/contacts/departments/root/children").json(),Q=Rc0.safeParse(z.data??z),J=Q.success?Q.data.items?.[0]?._id:void 0;if(J)U=[J]}return M1(await $.post("api/v1/contacts/local/users",{json:{name:Y.name,phone:Y.phone,permissions:Y.permissions??[],departmentIds:U??[]}}),d00)}async function Ug($,Y){return M1(await $.post(`api/v1/contacts/local/users/${Y}/reset-password`,{json:{}}),m00)}async function HM($,Y){return M1(await $.get(`api/v1/contacts/users/${Y}`),GM)}async function WM($,Y=""){return M1(await $.get("api/v1/contacts/search",{searchParams:{query:Y}}),l00)}async function p10($){return M1(await $.get("api/v1/contacts/departments/root/children"),dS)}async function d10($,Y){return M1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}`),pS)}async function m10($,Y){return M1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}/children`),dS)}async function l10($,Y){return M1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}/users`),o00)}async function o10($){return M1(await $.get("api/v1/contacts/last-sync-time"),r00)}async function DM($,Y={}){let U=zg(),z=new URLSearchParams;if(c8(z,"startDate",Y.startDate??U.startDate),c8(z,"endDate",Y.endDate??U.endDate),Y.limit!==void 0)z.set("limit",String(Y.limit));return M1(await $.get("api/v1/insight/stats",{searchParams:z}),s00)}async function AM($,Y){let U=zg(),z=new URLSearchParams;return z.set("tagId",Y.tagId),z.set("startDate",Y.startDate??U.startDate),z.set("endDate",Y.endDate??U.endDate),M1(await $.get("api/v1/insight/risks-by-tag",{searchParams:z}),a00)}async function BM($,Y={}){let U=zg(),z=F10(Y.startDate??U.startDate),Q=F10(Y.endDate??U.endDate),J=new URLSearchParams;return J.set("startDate",String(z)),J.set("endDate",String(Q)),M1(await $.get("api/v1/insight/performance",{searchParams:J}),t00)}async function r10($,Y){return await $.post(`api/v1/insight/analyze/${encodeURIComponent(Y)}`),{success:!0,recordId:Y}}function F10($){if(typeof $==="number")return $<100000000000?$*1000:$;let Y=Number($);if(!isNaN(Y)&&$.trim()!=="")return Y<100000000000?Y*1000:Y;let U=new Date($);if(isNaN(U.getTime()))throw Error(`Invalid date format: ${$}`);return U.getTime()}function zg(){let $=new Date,Y=new Date($.getFullYear(),$.getMonth(),1),U=new Date($.getFullYear(),$.getMonth()+1,0,23,59,59,999);return{startDate:Y.toISOString(),endDate:U.toISOString()}}function s10($){let Y=new URLSearchParams;return c8(Y,"filter[startDate]",$.startDate),c8(Y,"filter[endDate]",$.endDate),c8(Y,"filter[search]",$.search),Y.set("offset",String($.offset??0)),Y.set("limit",String($.limit??50)),Y}async function a10($,Y={}){return M1(await $.get("api/v1/expenses/list",{searchParams:s10(Y)}),$10)}async function t10($,Y={}){return M1(await $.get("api/v1/invoice/list",{searchParams:s10(Y)}),Y10)}async function e10($){return M1(await $.get("api/v1/integrations/feishu/simulation/approval-definitions"),L.array(U10))}async function $40($,Y){let U=await $.delete(`api/v1/contacts/local/users/${Y}`),z=await U.json(),Q=XM.safeParse(z.data??z);return Q.success?Q.data.success??U.ok:U.ok}async function Qg($,Y){let U=await $.post(`api/v1/contacts/local/users/${Y}/activate`,{json:{}}),z=await U.json(),Q=XM.safeParse(z.data??z);return Q.success?Q.data.success??U.ok:U.ok}async function hc0($,Y){let U=await $.post("api/auth/sms-otp/sign-in-password",{json:Y}),z=U.headers.get("set-auth-token"),Q=_c0.parse(await U.json()),J=z??Q.session?.token;if(!J)throw Error("Failed to retrieve authentication token from login response");return{token:J,user:Q.user}}async function Y40($,Y,U,z){let Q;if(Y.userIdOrPhone.startsWith("+")||/^\d{11}$/.test(Y.userIdOrPhone)){let q=await WM($,Y.userIdOrPhone),V=q.users.find((F)=>F.mobile?.includes(Y.userIdOrPhone)||F._id===Y.userIdOrPhone)??q.users[0];if(!V)throw Error(`User not found with phone/ID: ${Y.userIdOrPhone}`);Q=V}else Q=await HM($,Y.userIdOrPhone).catch(async()=>{let q=await WM($,Y.userIdOrPhone),V=q.users.find((F)=>F.name===Y.userIdOrPhone)??q.users[0];if(!V)throw Error(`User not found: ${Y.userIdOrPhone}`);return V});if(Q.status==="resigned")await Qg($,Q._id),Q=await HM($,Q._id);let J=Q,I=Array.isArray(J.identities)&&J.identities.some((q)=>q.provider&&q.provider!=="local")||!!J.apps?.hosecloud;if(I&&z&&z.source.type==="hose"){let V=(Q.mobile||J.identities?.[0]?.providerId||"").replace(/^\+86/,""),F=J.identities?.find((w)=>w.provider==="hosecloud")?.providerId,M=J.apps?.hosecloud?.boundId||F||(V?`${z.source.corpId}:${V}`:void 0);if(M){let w=await nQ(z),O=(await $M({...z.source,staffId:M},w)).token,D=v7(z,z.source),P=A6(z.seal),T=T8(D,void 0,P),A;try{A=await T.get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:O,returnToken:"1"}}).json()}catch(C){if(C instanceof D6&&C.response.status===400)throw Error(`Seal AI 用户“${Q.name}”未绑定合思账号,无法生成个人协助链接。`);throw C}let j=A.token??A.accessToken??A.data?.token;if(j){let C=await U(j),b=await lQ(C,{note:Y.note??`Delegation generated by admin for ${Q.name}`});return{targetUser:Q,delegation:b,temporaryPassword:"N/A (Hose SSO)"}}}}let K;try{K=await Ug($,Q._id)}catch(q){if(I)throw Error(`用户 "${Q.name}" (${Q.mobile||Q._id}) 为合思同步账号 (provider: hosecloud),无 Seal 本地密码。`+"Seal 系统暂不支持对同步账号直接重置本地密码。");throw q}let H=(Q.mobile||Q.identities?.[0]?.providerId||"").replace(/^\+86/,"");if(!H)throw Error(`User ${Q.name} has no associated phone number for password login`);let{token:W}=await hc0($,{phone:H,password:K.password}),X=await U(W),Z=await lQ(X,{note:Y.note??`Delegation generated by admin for ${Q.name}`});return{targetUser:Q,delegation:Z,temporaryPassword:K.password}}async function U40($){return M1(await $.get("api/v1/llm/config"),z10)}async function z40($){return M1(await $.get("api/v1/llm/providers"),L.array(Q10))}async function Q40($){return M1(await $.get("api/v1/permissions/available"),J10)}async function J40($){return M1(await $.get("api/v1/permissions/configs"),I10)}async function nY($){return M1(await $.get("api/v1/billing/status"),K10)}async function I40($){let U=await(await $.get("api/v1/billing/plans")).json();return M10.parse(U.data??U)}async function K40($){let U=await(await $.get("api/v1/billing/features")).json();return M10.parse(U.data??U)}var XM,Rc0,_c0,M10;var X6=m(()=>{iQ();A$();mQ();t9();i8();rS();XM=L.object({success:L.boolean().optional()}).passthrough(),Rc0=L.object({items:L.array(L.object({_id:L.string()})).optional()}).passthrough(),_c0=L.object({user:L.unknown().optional(),session:L.object({token:L.string().optional()}).optional()}).passthrough(),M10=L.json()});var Y6=E((in1,H40)=>{var{toString:G40}=Object.prototype,Sc0=/["&<>]/,$3={each:function(Y,U){if(Y)if(Array.isArray(Y))Y.forEach(U);else Object.keys(Y).forEach((z)=>{U(Y[z],z)})},some:function(Y,U){if(Y){if(Array.isArray(Y))return Y.some(U);return Object.keys(Y).some((z)=>U(Y[z],z))}return!1},every:function(Y,U){if(Y){if(Array.isArray(Y))return Y.every(U);return Object.keys(Y).every((z)=>U(Y[z],z))}return!0},map:function(Y,U){if(Y){if(Array.isArray(Y))return Y.map(U);return Object.keys(Y).map((z)=>U(Y[z],z))}return[]},keyBy($,Y){return $.reduce((U,z)=>{return U[z[Y]]=z,U},{})},isEqual:function(Y,U){let z=typeof Y,Q=typeof U,J=Array.isArray(Y),I=Array.isArray(U),K;if(z!==Q)return!1;switch(typeof Y){case"object":if(J||I){if(J&&I)return Y.length===U.length&&Y.every((G,H)=>{let W=U[H];return $3.isEqual(G,W)});return!1}if(Y===null||U===null)return Y===U;if(K=Object.keys(Y),Object.keys(U).length!==K.length)return!1;for(let G of K)if(!U.hasOwnProperty(G))return!1;return $3.every(Y,(G,H)=>{let W=U[H];return $3.isEqual(G,W)});default:return Y===U}},escapeHtml($){let Y=Sc0.exec($);if(!Y)return $;let U="",z="",Q=0,J=Y.index;for(;J<$.length;J++){switch($.charAt(J)){case'"':z=""";break;case"&":z="&";break;case"'":z="'";break;case"<":z="<";break;case">":z=">";break;default:continue}if(Q!==J)U+=$.substring(Q,J);Q=J+1,U+=z}if(Q!==J)return U+$.substring(Q,J);return U},strcmp($,Y){if($Y)return 1;return 0},isUndefined($){return G40.call($)==="[object Undefined]"},isObject($){return G40.call($)==="[object Object]"},deepMerge(){let $=arguments[0]||{},{length:Y}=arguments,U,z,Q;function J(I,K){if(U=$[K],Q=Array.isArray(I),$3.isObject(I)||Q){if(Q)Q=!1,z=U&&Array.isArray(U)?U:[];else z=U&&$3.isObject(U)?U:{};$[K]=$3.deepMerge(z,I)}else if(!$3.isUndefined(I))$[K]=I}for(let I=0;I{var gc0=/^[A-Z]+\d+$/,yH={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level($){if($<=26)return 1;if($<=676)return 2;return 3},_fill($){let Y,U,z,Q,J,I=1;if($>=4)throw Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&$>=1){while(I<=26)Y=this._dictionary[I-1],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=1}if(this._l2nFill<2&&$>=2){I=27;while(I<=702)U=I-27,z=U%26,Q=Math.floor(U/26),Y=this._dictionary[Q]+this._dictionary[z],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=2}if(this._l2nFill<3&&$>=3){I=703;while(I<=16384)U=I-703,z=U%26,Q=Math.floor(U/26)%26,J=Math.floor(U/676),Y=this._dictionary[J]+this._dictionary[Q]+this._dictionary[z],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=3}},l2n($){if(!this._l2n[$])this._fill($.length);if(!this._l2n[$])throw Error(`Out of bounds. Invalid column letter: ${$}`);return this._l2n[$]},n2l($){if($<1||$>16384)throw Error(`${$} is out of bounds. Excel supports columns from 1 to 16384`);if(!this._n2l[$])this._fill(this._level($));return this._n2l[$]},_hash:{},validateAddress($){if(!gc0.test($))throw Error(`Invalid Address: ${$}`);return!0},decodeAddress($){let Y=$.length<5&&this._hash[$];if(Y)return Y;let U=!1,z="",Q=0,J=!1,I="",K=0;for(let H=0,W;H<$.length;H++)if(W=$.charCodeAt(H),!J&&W>=65&&W<=90)U=!0,z+=$[H],Q=Q*26+W-64;else if(W>=48&&W<=57)J=!0,I+=$[H],K=K*10+W-48;else if(J&&U&&W!==36)break;if(!U)Q=void 0;else if(Q>16384)throw Error(`Out of bounds. Invalid column letter: ${z}`);if(!J)K=void 0;$=z+I;let G={address:$,col:Q,row:K,$col$row:`$${z}$${I}`};if(Q<=100&&K<=100)this._hash[$]=G,this._hash[G.$col$row]=G;return G},getAddress($,Y){if(Y){let U=this.n2l(Y)+$;return this.decodeAddress(U)}return this.decodeAddress($)},decode($){let Y=$.split(":");if(Y.length===2){let U=this.decodeAddress(Y[0]),z=this.decodeAddress(Y[1]),Q={top:Math.min(U.row,z.row),left:Math.min(U.col,z.col),bottom:Math.max(U.row,z.row),right:Math.max(U.col,z.col)};return Q.tl=this.n2l(Q.left)+Q.top,Q.br=this.n2l(Q.right)+Q.bottom,Q.dimensions=`${Q.tl}:${Q.br}`,Q}return this.decodeAddress($)},decodeEx($){let Y=$.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),U=Y[1]||Y[2],z=Y[3],Q=z.split(":");if(Q.length>1){let I=this.decodeAddress(Q[0]),K=this.decodeAddress(Q[1]),G=Math.min(I.row,K.row),H=Math.min(I.col,K.col),W=Math.max(I.row,K.row),X=Math.max(I.col,K.col);return I=this.n2l(H)+G,K=this.n2l(X)+W,{top:G,left:H,bottom:W,right:X,sheetName:U,tl:{address:I,col:H,row:G,$col$row:`$${this.n2l(H)}$${G}`,sheetName:U},br:{address:K,col:X,row:W,$col$row:`$${this.n2l(X)}$${W}`,sheetName:U},dimensions:`${I}:${K}`}}if(z.startsWith("#"))return U?{sheetName:U,error:z}:{error:z};let J=this.decodeAddress(z);return U?{sheetName:U,...J}:J},encodeAddress($,Y){return yH.n2l(Y)+$},encode(){switch(arguments.length){case 2:return yH.encodeAddress(arguments[0],arguments[1]);case 4:return`${yH.encodeAddress(arguments[0],arguments[1])}:${yH.encodeAddress(arguments[2],arguments[3])}`;default:throw Error("Can only encode with 2 or 4 arguments")}},inRange($,Y){let[U,z,,Q,J]=$,[I,K]=Y;return I>=U&&I<=Q&&K>=z&&K<=J}};W40.exports=yH});var Y3=E((nn1,X40)=>{var l5=c4();class Jg{constructor(){this.decode(arguments)}setTLBR($,Y,U,z,Q){if(arguments.length<4){let J=l5.decodeAddress($),I=l5.decodeAddress(Y);this.model={top:Math.min(J.row,I.row),left:Math.min(J.col,I.col),bottom:Math.max(J.row,I.row),right:Math.max(J.col,I.col),sheetName:U},this.setTLBR(J.row,J.col,I.row,I.col,Q)}else this.model={top:Math.min($,U),left:Math.min(Y,z),bottom:Math.max($,U),right:Math.max(Y,z),sheetName:Q}}decode($){switch($.length){case 5:this.setTLBR($[0],$[1],$[2],$[3],$[4]);break;case 4:this.setTLBR($[0],$[1],$[2],$[3]);break;case 3:this.setTLBR($[0],$[1],$[2]);break;case 2:this.setTLBR($[0],$[1]);break;case 1:{let Y=$[0];if(Y instanceof Jg)this.model={top:Y.model.top,left:Y.model.left,bottom:Y.model.bottom,right:Y.model.right,sheetName:Y.sheetName};else if(Y instanceof Array)this.decode(Y);else if(Y.top&&Y.left&&Y.bottom&&Y.right)this.model={top:Y.top,left:Y.left,bottom:Y.bottom,right:Y.right,sheetName:Y.sheetName};else{let U=l5.decodeEx(Y);if(U.top)this.model={top:U.top,left:U.left,bottom:U.bottom,right:U.right,sheetName:U.sheetName};else this.model={top:U.row,left:U.col,bottom:U.row,right:U.col,sheetName:U.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw Error(`Invalid number of arguments to _getDimensions() - ${$.length}`)}}get top(){return this.model.top||1}set top($){this.model.top=$}get left(){return this.model.left||1}set left($){this.model.left=$}get bottom(){return this.model.bottom||1}set bottom($){this.model.bottom=$}get right(){return this.model.right||1}set right($){this.model.right=$}get sheetName(){return this.model.sheetName}set sheetName($){this.model.sheetName=$}get _serialisedSheetName(){let{sheetName:$}=this.model;if($){if(/^[a-zA-Z0-9]*$/.test($))return`${$}!`;return`'${$}'!`}return""}expand($,Y,U,z){if(!this.model.top||$this.bottom)this.bottom=U;if(!this.model.right||z>this.right)this.right=z}expandRow($){if($){let{dimensions:Y,number:U}=$;if(Y)this.expand(U,Y.min,U,Y.max)}}expandToAddress($){let Y=l5.decodeEx($);this.expand(Y.row,Y.col,Y.row,Y.col)}get tl(){return l5.n2l(this.left)+this.top}get $t$l(){return`$${l5.n2l(this.left)}$${this.top}`}get br(){return l5.n2l(this.right)+this.bottom}get $b$r(){return`$${l5.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;if($.bottomthis.bottom)return!1;if($.rightthis.right)return!1;return!0}contains($){let Y=l5.decodeEx($);return this.containsEx(Y)}containsEx($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;return $.row>=this.top&&$.row<=this.bottom&&$.col>=this.left&&$.col<=this.right}forEachAddress($){for(let Y=this.left;Y<=this.right;Y++)for(let U=this.top;U<=this.bottom;U++)$(l5.encodeAddress(U,Y),U,Y)}}X40.exports=Jg});var G5=E((pn1,Z40)=>{Z40.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}});var V40=E((dn1,q40)=>{var PM=c4(),yc0=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,kc0=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;function xc0($,Y,U){let z=PM.decode(Y),Q=PM.decode(U);return $.replace(yc0,(J,I,K,G,H)=>{if(H)return J;let W=kc0.exec(G);if(W){let X=W[1],Z=W[2].toUpperCase(),q=W[3],V=W[4];if(Z.length>3||Z.length===3&&Z>"XFD")return J;let F=PM.l2n(Z),M=parseInt(V,10);if(!X)F+=Q.col-z.col;if(!q)M+=Q.row-z.row;return(I||"")+(X||"")+PM.n2l(F)+(q||"")+M}return J})}q40.exports={slideFormula:xc0}});var F40=E((mn1,L40)=>{var fc0=Y6();class kH{constructor($){this.note=$}get model(){let $=null;switch(typeof this.note){case"string":$={type:"note",note:{texts:[{text:this.note}]}};break;default:$={type:"note",note:this.note};break}return fc0.deepMerge({},kH.DEFAULT_CONFIGS,$)}set model($){let{note:Y}=$,{texts:U}=Y;if(U.length===1&&Object.keys(U[0]).length===1)this.note=U[0].text;else this.note=Y}static fromModel($){let Y=new kH;return Y.model=$,Y}}kH.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[0.13,0.13,0.25,0.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}};L40.exports=kH});var v40=E((ln1,_40)=>{var uc0=c4(),bc0=Y6(),H5=G5(),{slideFormula:ic0}=V40(),w40=F40();class d0{constructor($,Y,U){if(!$||!Y)throw Error("A Cell needs a Row");this._row=$,this._column=Y,uc0.validateAddress(U),this._address=U,this._value=g7.create(d0.Types.Null,this),this.style=this._mergeStyle($.style,Y.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt($){this.style.numFmt=$}get font(){return this.style.font}set font($){this.style.font=$}get alignment(){return this.style.alignment}set alignment($){this.style.alignment=$}get border(){return this.style.border}set border($){this.style.border=$}get fill(){return this.style.fill}set fill($){this.style.fill=$}get protection(){return this.style.protection}set protection($){this.style.protection=$}_mergeStyle($,Y,U){let z=$&&$.numFmt||Y&&Y.numFmt;if(z)U.numFmt=z;let Q=$&&$.font||Y&&Y.font;if(Q)U.font=Q;let J=$&&$.alignment||Y&&Y.alignment;if(J)U.alignment=J;let I=$&&$.border||Y&&Y.border;if(I)U.border=I;let K=$&&$.fill||Y&&Y.fill;if(K)U.fill=K;let G=$&&$.protection||Y&&Y.protection;if(G)U.protection=G;return U}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===d0.Types.Merge}merge($,Y){if(this._value.release(),this._value=g7.create(d0.Types.Merge,this,$),!Y)this.style=$.style}unmerge(){if(this.type===d0.Types.Merge)this._value.release(),this._value=g7.create(d0.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{})}isMergedTo($){if(this._value.type!==d0.Types.Merge)return!1;return this._value.isMergedTo($)}get master(){if(this.type===d0.Types.Merge)return this._value.master;return this}get isHyperlink(){return this._value.type===d0.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value($){if(this.type===d0.Types.Merge){this._value.master.value=$;return}this._value.release(),this._value=g7.create(g7.getType($),this,$)}get note(){return this._comment&&this._comment.note}set note($){this._comment=new w40($)}get text(){return this._value.toString()}get html(){return bc0.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink($){if(this.type===d0.Types.String)this._value=g7.create(d0.Types.Hyperlink,this,{text:this._value.value,hyperlink:$})}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){let{worksheet:$}=this._row;return{sheetName:$.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name($){this.names=[$]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names($){let{definedNames:Y}=this.workbook;Y.removeAllNames(this.fullAddress),$.forEach((U)=>{Y.addEx(this.fullAddress,U)})}addName($){this.workbook.definedNames.addEx(this.fullAddress,$)}removeName($){this.workbook.definedNames.removeEx(this.fullAddress,$)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation($){this._dataValidations.add(this.address,$)}get model(){let{model:$}=this._value;if($.style=this.style,this._comment)$.comment=this._comment.model;return $}set model($){if(this._value.release(),this._value=g7.create($.type,this),this._value.model=$,$.comment)switch($.comment.type){case"note":this._comment=w40.fromModel($.comment);break}if($.style)this.style=$.style;else this.style={}}}d0.Types=H5.ValueType;class M40{constructor($){this.model={address:$.address,type:d0.Types.Null}}get value(){return null}set value($){}get type(){return d0.Types.Null}get effectiveType(){return d0.Types.Null}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){}toString(){return""}}class O40{constructor($,Y){this.model={address:$.address,type:d0.Types.Number,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Number}get effectiveType(){return d0.Types.Number}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class N40{constructor($,Y){this.model={address:$.address,type:d0.Types.String,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.String}get effectiveType(){return d0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}class D40{constructor($,Y){this.model={address:$.address,type:d0.Types.String,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}toString(){return this.model.value.richText.map(($)=>$.text).join("")}get type(){return d0.Types.RichText}get effectiveType(){return d0.Types.RichText}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}class A40{constructor($,Y){this.model={address:$.address,type:d0.Types.Date,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Date}get effectiveType(){return d0.Types.Date}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}class B40{constructor($,Y){if(this.model={address:$.address,type:d0.Types.Hyperlink,text:Y?Y.text:void 0,hyperlink:Y?Y.hyperlink:void 0},Y&&Y.tooltip)this.model.tooltip=Y.tooltip}get value(){let $={text:this.model.text,hyperlink:this.model.hyperlink};if(this.model.tooltip)$.tooltip=this.model.tooltip;return $}set value($){if(this.model={text:$.text,hyperlink:$.hyperlink},$.tooltip)this.model.tooltip=$.tooltip}get text(){return this.model.text}set text($){this.model.text=$}get hyperlink(){return this.model.hyperlink}set hyperlink($){this.model.hyperlink=$}get type(){return d0.Types.Hyperlink}get effectiveType(){return d0.Types.Hyperlink}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}class P40{constructor($,Y){if(this.model={address:$.address,type:d0.Types.Merge,master:Y?Y.address:void 0},this._master=Y,Y)Y.addMergeRef()}get value(){return this._master.value}set value($){if($ instanceof d0){if(this._master)this._master.releaseMergeRef();$.addMergeRef(),this._master=$}else this._master.value=$}isMergedTo($){return $===this._master}get master(){return this._master}get type(){return d0.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}class T40{constructor($,Y){this.cell=$,this.model={address:$.address,type:d0.Types.Formula,shareType:Y?Y.shareType:void 0,ref:Y?Y.ref:void 0,formula:Y?Y.formula:void 0,sharedFormula:Y?Y.sharedFormula:void 0,result:Y?Y.result:void 0}}_copyModel($){let Y={},U=(z)=>{let Q=$[z];if(Q)Y[z]=Q};return U("formula"),U("result"),U("ref"),U("shareType"),U("sharedFormula"),Y}get value(){return this._copyModel(this.model)}set value($){this.model=this._copyModel($)}validate($){switch(g7.getType($)){case d0.Types.Null:case d0.Types.String:case d0.Types.Number:case d0.Types.Date:break;case d0.Types.Hyperlink:case d0.Types.Formula:default:throw Error("Cannot process that type of result value")}}get dependencies(){let $=this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),Y=this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g);return{ranges:$,cells:Y}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula($){this.model.formula=$}get formulaType(){if(this.model.formula)return H5.FormulaType.Master;if(this.model.sharedFormula)return H5.FormulaType.Shared;return H5.FormulaType.None}get result(){return this.model.result}set result($){this.model.result=$}get type(){return d0.Types.Formula}get effectiveType(){let $=this.model.result;if($===null||$===void 0)return H5.ValueType.Null;if($ instanceof String||typeof $==="string")return H5.ValueType.String;if(typeof $==="number")return H5.ValueType.Number;if($ instanceof Date)return H5.ValueType.Date;if($.text&&$.hyperlink)return H5.ValueType.Hyperlink;if($.formula)return H5.ValueType.Formula;return H5.ValueType.Null}get address(){return this.model.address}set address($){this.model.address=$}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){let{worksheet:$}=this.cell,Y=$.findCell(this.model.sharedFormula);this._translatedFormula=Y&&ic0(Y.formula,Y.address,this.model.address)}return this._translatedFormula}toCsvString(){return`${this.model.result||""}`}release(){}toString(){return this.model.result?this.model.result.toString():""}}class j40{constructor($,Y){this.model={address:$.address,type:d0.Types.SharedString,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.SharedString}get effectiveType(){return d0.Types.SharedString}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class E40{constructor($,Y){this.model={address:$.address,type:d0.Types.Boolean,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Boolean}get effectiveType(){return d0.Types.Boolean}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}class C40{constructor($,Y){this.model={address:$.address,type:d0.Types.Error,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Error}get effectiveType(){return d0.Types.Error}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}class R40{constructor($,Y){this.model={address:$.address,type:d0.Types.String,value:JSON.stringify(Y),rawValue:Y}}get value(){return this.model.rawValue}set value($){this.model.rawValue=$,this.model.value=JSON.stringify($)}get type(){return d0.Types.String}get effectiveType(){return d0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}var g7={getType($){if($===null||$===void 0)return d0.Types.Null;if($ instanceof String||typeof $==="string")return d0.Types.String;if(typeof $==="number")return d0.Types.Number;if(typeof $==="boolean")return d0.Types.Boolean;if($ instanceof Date)return d0.Types.Date;if($.text&&$.hyperlink)return d0.Types.Hyperlink;if($.formula||$.sharedFormula)return d0.Types.Formula;if($.richText)return d0.Types.RichText;if($.sharedString)return d0.Types.SharedString;if($.error)return d0.Types.Error;return d0.Types.JSON},types:[{t:d0.Types.Null,f:M40},{t:d0.Types.Number,f:O40},{t:d0.Types.String,f:N40},{t:d0.Types.Date,f:A40},{t:d0.Types.Hyperlink,f:B40},{t:d0.Types.Formula,f:T40},{t:d0.Types.Merge,f:P40},{t:d0.Types.JSON,f:R40},{t:d0.Types.SharedString,f:j40},{t:d0.Types.RichText,f:D40},{t:d0.Types.Boolean,f:E40},{t:d0.Types.Error,f:C40}].reduce(($,Y)=>{return $[Y.t]=Y.f,$},[]),create($,Y,U){let z=this.types[$];if(!z)throw Error(`Could not create Value of type ${$}`);return new z(Y,U)}};_40.exports=d0});var jM=E((on1,g40)=>{var cc0=Y6(),TM=G5(),pY=c4(),h40=v40();class S40{constructor($,Y){this._worksheet=$,this._number=Y,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell($){return this._cells[$-1]}getCellEx($){let Y=this._cells[$.col-1];if(!Y){let U=this._worksheet.getColumn($.col);Y=new h40(this,U,$.address),this._cells[$.col-1]=Y}return Y}getCell($){if(typeof $==="string"){let Y=this._worksheet.getColumnKey($);if(Y)$=Y.number;else $=pY.l2n($)}return this._cells[$-1]||this.getCellEx({address:pY.encodeAddress(this._number,$),row:this._number,col:$})}splice($,Y,...U){let z=$+Y,Q=U.length-Y,J=this._cells.length,I,K,G;if(Q<0){for(I=$+U.length;I<=J;I++)if(G=this._cells[I-1],K=this._cells[I-Q-1],K)G=this.getCell(I),G.value=K.value,G.style=K.style,G._comment=K._comment;else if(G)G.value=null,G.style={},G._comment=void 0}else if(Q>0)for(I=J;I>=z;I--)if(K=this._cells[I-1],K)G=this.getCell(I+Q),G.value=K.value,G.style=K.style,G._comment=K._comment;else this._cells[I+Q-1]=void 0;for(I=0;I{if(U&&U.type!==TM.ValueType.Null)Y(U,z+1)})}addPageBreak($,Y){let U=this._worksheet,z=Math.max(0,$-1)||0,Q=Math.max(0,Y-1)||16838,J={id:this._number,max:Q,man:1};if(z)J.min=z;U.rowBreaks.push(J)}get values(){let $=[];return this._cells.forEach((Y)=>{if(Y&&Y.type!==TM.ValueType.Null)$[Y.col]=Y.value}),$}set values($){if(this._cells=[],!$);else if($ instanceof Array){let Y=0;if($.hasOwnProperty("0"))Y=1;$.forEach((U,z)=>{if(U!==void 0)this.getCellEx({address:pY.encodeAddress(this._number,z+Y),row:this._number,col:z+Y}).value=U})}else this._worksheet.eachColumnKey((Y,U)=>{if($[U]!==void 0)this.getCellEx({address:pY.encodeAddress(this._number,Y.number),row:this._number,col:Y.number}).value=$[U]})}get hasValues(){return cc0.some(this._cells,($)=>$&&$.type!==TM.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let $=0;return this.eachCell(()=>{$++}),$}get dimensions(){let $=0,Y=0;return this._cells.forEach((U)=>{if(U&&U.type!==TM.ValueType.Null){if(!$||$>U.col)$=U.col;if(Y0?{min:$,max:Y}:null}_applyStyle($,Y){return this.style[$]=Y,this._cells.forEach((U)=>{if(U)U[$]=Y}),Y}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){let $=[],Y=0,U=0;return this._cells.forEach((z)=>{if(z){let Q=z.model;if(Q){if(!Y||Y>z.col)Y=z.col;if(U{switch(U.type){case h40.Types.Merge:break;default:{let z;if(U.address)z=pY.decodeAddress(U.address);else if(Y){let{row:J}=Y,I=Y.col+1;z={row:J,col:I,address:pY.encodeAddress(J,I),$col$row:`$${pY.n2l(I)}$${J}`}}Y=z;let Q=this.getCellEx(z);Q.model=U;break}}}),$.height)this.height=$.height;else delete this.height;this.hidden=$.hidden,this.outlineLevel=$.outlineLevel||0,this.style=$.style&&JSON.parse(JSON.stringify($.style))||{}}}g40.exports=S40});var CM=E((rn1,y40)=>{var nc0=Y6(),pc0=G5(),dc0=c4();class EM{constructor($,Y,U){if(this._worksheet=$,this._number=Y,U!==!1)this.defn=U}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return dc0.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&&this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn($){if($){if(this.key=$.key,this.width=$.width!==void 0?$.width:9,this.outlineLevel=$.outlineLevel,$.style)this.style=$.style;else this.style={};this.header=$.header,this._hidden=!!$.hidden}else delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header($){if($!==void 0)this._header=$,this.headers.forEach((Y,U)=>{this._worksheet.getCell(U+1,this.number).value=Y});else this._header=void 0}get key(){return this._key}set key($){if((this._key&&this._worksheet.getColumnKey(this._key))===this)this._worksheet.deleteColumnKey(this._key);if(this._key=$,$)this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo($){return this.width===$.width&&this.hidden===$.hidden&&this.outlineLevel===$.outlineLevel&&nc0.isEqual(this.style,$.style)}get isDefault(){if(this.isCustomWidth)return!1;if(this.hidden)return!1;if(this.outlineLevel)return!1;let $=this.style;if($&&($.font||$.numFmt||$.alignment||$.border||$.fill||$.protection))return!1;return!0}get headerCount(){return this.headers.length}eachCell($,Y){let U=this.number;if(!Y)Y=$,$=null;this._worksheet.eachRow($,(z,Q)=>{Y(z.getCell(U),Q)})}get values(){let $=[];return this.eachCell((Y,U)=>{if(Y&&Y.type!==pc0.ValueType.Null)$[U]=Y.value}),$}set values($){if(!$)return;let Y=this.number,U=0;if($.hasOwnProperty("0"))U=1;$.forEach((z,Q)=>{this._worksheet.getCell(Q+U,Y).value=z})}_applyStyle($,Y){return this.style[$]=Y,this.eachCell((U)=>{U[$]=Y}),Y}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}static toModel($){let Y=[],U=null;if($)$.forEach((z,Q)=>{if(z.isDefault){if(U)U=null}else if(!U||!z.equivalentTo(U))U={min:Q+1,max:Q+1,width:z.width!==void 0?z.width:9,style:z.style,isCustomWidth:z.isCustomWidth,hidden:z.hidden,outlineLevel:z.outlineLevel,collapsed:z.collapsed},Y.push(U);else U.max=Q+1});return Y.length?Y:void 0}static fromModel($,Y){Y=Y||[];let U=[],z=1,Q=0;Y=Y.sort(function(J,I){return J.min-I.min});while(Q{var mc0=c4();class RM{constructor($,Y,U=0){if(this.worksheet=$,!Y)this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;else if(typeof Y==="string"){let z=mc0.decodeAddress(Y);this.nativeCol=z.col+U,this.nativeColOff=0,this.nativeRow=z.row+U,this.nativeRowOff=0}else if(Y.nativeCol!==void 0)this.nativeCol=Y.nativeCol||0,this.nativeColOff=Y.nativeColOff||0,this.nativeRow=Y.nativeRow||0,this.nativeRowOff=Y.nativeRowOff||0;else if(Y.col!==void 0)this.col=Y.col+U,this.row=Y.row+U;else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance($){return $ instanceof RM||$==null?$:new RM($)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col($){this.nativeCol=Math.floor($),this.nativeColOff=Math.floor(($-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row($){this.nativeRow=Math.floor($),this.nativeRowOff=Math.floor(($-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(this.worksheet.getColumn(this.nativeCol+1).width*1e4):640000}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(this.worksheet.getRow(this.nativeRow+1).height*1e4):180000}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model($){this.nativeCol=$.nativeCol,this.nativeColOff=$.nativeColOff,this.nativeRow=$.nativeRow,this.nativeRowOff=$.nativeRowOff}}k40.exports=RM});var b40=E((an1,u40)=>{var lc0=c4(),_M=x40();class f40{constructor($,Y){this.worksheet=$,this.model=Y}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw Error("Invalid Image Type")}}set model({type:$,imageId:Y,range:U,hyperlinks:z}){if(this.type=$,this.imageId=Y,$==="image")if(typeof U==="string"){let Q=lc0.decode(U);this.range={tl:new _M(this.worksheet,{col:Q.left,row:Q.top},-1),br:new _M(this.worksheet,{col:Q.right,row:Q.bottom},0),editAs:"oneCell"}}else this.range={tl:new _M(this.worksheet,U.tl,0),br:U.br&&new _M(this.worksheet,U.br,0),ext:U.ext,editAs:U.editAs,hyperlinks:z||U.hyperlinks}}}u40.exports=f40});var p40=E((tn1,n40)=>{var vM=c4();class i40{constructor($,Y,U){this.table=$,this.column=Y,this.index=U}_set($,Y){this.table.cacheState(),this.column[$]=Y}get name(){return this.column.name}set name($){this._set("name",$)}get filterButton(){return this.column.filterButton}set filterButton($){this.column.filterButton=$}get style(){return this.column.style}set style($){this.column.style=$}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel($){this._set("totalsRowLabel",$)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction($){this._set("totalsRowFunction",$)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult($){this._set("totalsRowResult",$)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula($){this._set("totalsRowFormula",$)}}class c40{constructor($,Y){if(this.worksheet=$,Y)this.table=Y,this.validate(),this.store()}getFormula($){switch($.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${$.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${$.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${$.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${$.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${$.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${$.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${$.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${$.name}])`;case"custom":return $.totalsRowFormula;default:throw Error(`Invalid Totals Row Function: ${$.totalsRowFunction}`)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){let{table:$}=this,Y=(G,H,W)=>{if(G[H]===void 0)G[H]=W};Y($,"headerRow",!0),Y($,"totalsRow",!1),Y($,"style",{}),Y($.style,"theme","TableStyleMedium2"),Y($.style,"showFirstColumn",!1),Y($.style,"showLastColumn",!1),Y($.style,"showRowStripes",!1),Y($.style,"showColumnStripes",!1);let U=(G,H)=>{if(!G)throw Error(H)};U($.ref,"Table must have ref"),U($.columns,"Table must have column definitions"),U($.rows,"Table must have row definitions"),$.tl=vM.decodeAddress($.ref);let{row:z,col:Q}=$.tl;U(z>0,"Table must be on valid row"),U(Q>0,"Table must be on valid col");let{width:J,filterHeight:I,tableHeight:K}=this;$.autoFilterRef=vM.encode(z,Q,z+I-1,Q+J-1),$.tableRef=vM.encode(z,Q,z+K-1,Q+J-1),$.columns.forEach((G,H)=>{if(U(G.name,`Column ${H} must have a name`),H===0)Y(G,"totalsRowLabel","Total");else Y(G,"totalsRowFunction","none"),G.totalsRowFormula=this.getFormula(G)})}store(){let $=(I,K)=>{if(K)Object.keys(K).forEach((G)=>{I[G]=K[G]})},{worksheet:Y,table:U}=this,{row:z,col:Q}=U.tl,J=0;if(U.headerRow){let I=Y.getRow(z+J++);U.columns.forEach((K,G)=>{let{style:H,name:W}=K,X=I.getCell(Q+G);X.value=W,$(X,H)})}if(U.rows.forEach((I)=>{let K=Y.getRow(z+J++);I.forEach((G,H)=>{let W=K.getCell(Q+H);W.value=G,$(W,U.columns[H].style)})}),U.totalsRow){let I=Y.getRow(z+J++);U.columns.forEach((K,G)=>{let H=I.getCell(Q+G);if(G===0)H.value=K.totalsRowLabel;else if(this.getFormula(K))H.value={formula:K.totalsRowFormula,result:K.totalsRowResult};else H.value=null;$(H,K.style)})}}load($){let{table:Y}=this,{row:U,col:z}=Y.tl,Q=0;if(Y.headerRow){let J=$.getRow(U+Q++);Y.columns.forEach((I,K)=>{let G=J.getCell(z+K);G.value=I.name})}if(Y.rows.forEach((J)=>{let I=$.getRow(U+Q++);J.forEach((K,G)=>{let H=I.getCell(z+G);H.value=K})}),Y.totalsRow){let J=$.getRow(U+Q++);Y.columns.forEach((I,K)=>{let G=J.getCell(z+K);if(K===0)G.value=I.totalsRowLabel;else if(this.getFormula(I))G.value={formula:I.totalsRowFormula,result:I.totalsRowResult}})}}get model(){return this.table}set model($){this.table=$}cacheState(){if(!this._cache)this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight}}commit(){if(!this._cache)return;this.validate();let $=vM.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let Y=0;Y{z.push(Y[Q])});else this.table.columns.splice(U,0,$),this.table.rows.forEach((z,Q)=>{z.splice(U,0,Y[Q])})}removeColumns($,Y=1){this.cacheState(),this.table.columns.splice($,Y),this.table.rows.forEach((U)=>{U.splice($,Y)})}_assign($,Y,U){this.cacheState(),$[Y]=U}get ref(){return this.table.ref}set ref($){this._assign(this.table,"ref",$)}get name(){return this.table.name}set name($){this.table.name=$}get displayName(){return this.table.displyName||this.table.name}set displayNamename($){this.table.displayName=$}get headerRow(){return this.table.headerRow}set headerRow($){this._assign(this.table,"headerRow",$)}get totalsRow(){return this.table.totalsRow}set totalsRow($){this._assign(this.table,"totalsRow",$)}get theme(){return this.table.style.name}set theme($){this.table.style.name=$}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn($){this.table.style.showFirstColumn=$}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn($){this.table.style.showLastColumn=$}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes($){this.table.style.showRowStripes=$}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes($){this.table.style.showColumnStripes=$}}n40.exports=c40});var Ig=E((en1,m40)=>{class d40{constructor($){this.model=$||{}}add($,Y){return this.model[$]=Y}find($){return this.model[$]}remove($){this.model[$]=void 0}}m40.exports=d40});var Gg=E(($p1,l40)=>{var Kg=I0("crypto"),oc0={hash($,...Y){let U=Kg.createHash($);return U.update(Buffer.concat(Y)),U.digest()},convertPasswordToHash($,Y,U,z){if(Y=Y.toLowerCase(),Kg.getHashes().indexOf(Y)<0)throw Error(`Hash algorithm '${Y}' not supported!`);let J=Buffer.from($,"utf16le"),I=this.hash(Y,Buffer.from(U,"base64"),J);for(let K=0;K{var o40=($,Y)=>({...$,...Y.reduce((U,z)=>{if($[z])U[z]={...$[z]};return U},{})}),o5=($,Y,U,z=[])=>{if($[U])Y[U]=o40($[U],z)},rc0=($)=>Object.keys($).length===0,sc0=($)=>{if(!$)return $;if(rc0($))return{};let Y={...$};if(o5($,Y,"font",["color"]),o5($,Y,"alignment"),o5($,Y,"protection"),$.border)o5($,Y,"border"),o5($.border,Y.border,"top",["color"]),o5($.border,Y.border,"left",["color"]),o5($.border,Y.border,"bottom",["color"]),o5($.border,Y.border,"right",["color"]),o5($.border,Y.border,"diagonal",["color"]);if($.fill){if(o5($,Y,"fill",["fgColor","bgColor","center"]),$.fill.stops)Y.fill.stops=$.fill.stops.map((U)=>o40(U,["color"]))}return Y};ac0.copyStyle=sc0});var z60=E((Up1,U60)=>{var xH=Y6(),fH=c4(),uH=Y3(),s40=jM(),hM=CM(),ec0=G5(),Hg=b40(),a40=p40(),t40=Ig(),e40=Gg(),{copyStyle:$60}=r40();class Y60{constructor($){$=$||{},this._workbook=$.workbook,this.id=$.id,this.orderNo=$.orderNo,this.name=$.name,this.state=$.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},$.properties),this.pageSetup=Object.assign({},{margins:{left:0.7,right:0.7,top:0.75,bottom:0.75,header:0.3,footer:0.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!($.pageSetup&&($.pageSetup.fitToWidth||$.pageSetup.fitToHeight)&&!$.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},$.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},$.headerFooter),this.dataValidations=new t40,this.views=$.views||[],this.autoFilter=$.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name($){if($===void 0)$=`sheet${this.id}`;if(this._name===$)return;if(typeof $!=="string")throw Error("The name has to be a string.");if($==="")throw Error("The name can't be empty.");if($==="History")throw Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test($))throw Error(`Worksheet name ${$} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test($))throw Error(`The first or last character of worksheet name cannot be a single quotation mark: ${$}`);if($&&$.length>31)console.warn(`Worksheet name ${$} exceeds 31 chars. This will be truncated`),$=$.substring(0,31);if(this._workbook._worksheets.find((Y)=>Y&&Y.name.toLowerCase()===$.toLowerCase()))throw Error(`Worksheet name already exists: ${$}`);this._name=$}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){let $=new uH;return this._rows.forEach((Y)=>{if(Y){let U=Y.dimensions;if(U)$.expand(Y.number,U.min,Y.number,U.max)}}),$}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((z,Q)=>{let J=Q.header&&1||Q.headers&&Q.headers.length||0;return Math.max(z,J)},0);let Y=1,U=this._columns=[];$.forEach((z)=>{let Q=new hM(this,Y++,!1);U.push(Q),Q.defn=z})}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){xH.each(this._keys,$)}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=fH.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new hM(this,Y++))}return this._columns[$-1]}spliceColumns($,Y,...U){let Q=this._rows.length;if(U.length>0)for(let G=0;G{H.push(X[G]||null)});let W=this.getRow(G+1);W.splice.apply(W,H)}else this._rows.forEach((G)=>{if(G)G.splice($,Y)});let J=U.length-Y,I=$+Y,K=this._columns.length;if(J<0)for(let G=$+U.length;G<=K;G++)this.getColumn(G).defn=this.getColumn(G-J).defn;else if(J>0)for(let G=K;G>=I;G--)this.getColumn(G+J).defn=this.getColumn(G).defn;for(let G=$;G<$+U.length;G++)this.getColumn(G).defn=null;this.workbook.definedNames.spliceColumns(this.name,$,Y,U.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let $=0;return this.eachRow((Y)=>{$=Math.max($,Y.cellCount)}),$}get actualColumnCount(){let $=[],Y=0;return this.eachRow((U)=>{U.eachCell(({col:z})=>{if(!$[z])$[z]=!0,Y++})}),Y}_commitRow(){}get _lastRowNumber(){let $=this._rows,Y=$.length;while(Y>0&&$[Y-1]===void 0)Y--;return Y}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){return this._rows[$-1]}findRows($,Y){return this._rows.slice($-1,$-1+Y)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let $=0;return this.eachRow(()=>{$++}),$}getRow($){let Y=this._rows[$-1];if(!Y)Y=this._rows[$-1]=new s40(this,$);return Y}getRows($,Y){if(Y<1)return;let U=[];for(let z=$;z<$+Y;z++)U.push(this.getRow(z));return U}addRow($,Y="n"){let U=this._nextRow,z=this.getRow(U);return z.values=$,this._setStyleOption(U,Y[0]==="i"?Y:"n"),z}addRows($,Y="n"){let U=[];return $.forEach((z)=>{U.push(this.addRow(z,Y))}),U}insertRow($,Y,U="n"){return this.spliceRows($,0,Y),this._setStyleOption($,U),this.getRow($)}insertRows($,Y,U="n"){if(this.spliceRows($,0,...Y),U!=="n"){for(let z=0;z{Q.getCell(I).style=$60(J.style)}),Q.height=z.height}duplicateRow($,Y,U=!1){let z=this._rows[$-1],Q=Array(Y).fill(z.values);this.spliceRows($+1,U?0:Y,...Q);for(let J=0;J{I.getCell(G).style=K.style})}}spliceRows($,Y,...U){let z=$+Y,Q=U.length,J=Q-Y,I=this._rows.length,K,G;if(J<0){if($===I)this._rows[I-1]=void 0;for(K=z;K<=I;K++)if(G=this._rows[K-1],G){let H=this.getRow(K+J);H.values=G.values,H.style=G.style,H.height=G.height,G.eachCell({includeEmpty:!0},(W,X)=>{H.getCell(X).style=W.style}),this._rows[K-1]=void 0}else this._rows[K+J-1]=void 0}else if(J>0)for(K=I;K>=z;K--)if(G=this._rows[K-1],G){let H=this.getRow(K+J);H.values=G.values,H.style=G.style,H.height=G.height,G.eachCell({includeEmpty:!0},(W,X)=>{if(H.getCell(X).style=W.style,W._value.constructor.name==="MergeValue"){let Z=this.getRow(W._row._number+Q).getCell(X),q=W._value._master,V=this.getRow(q._row._number+Q).getCell(q._column._number);Z.merge(V)}})}else this._rows[K+J-1]=void 0;for(K=0;K{if(U&&U.hasValues)Y(U,U.number)})}getSheetValues(){let $=[];return this._rows.forEach((Y)=>{if(Y)$[Y.number]=Y.values}),$}findCell($,Y){let U=fH.getAddress($,Y),z=this._rows[U.row-1];return z?z.findCell(U.col):void 0}getCell($,Y){let U=fH.getAddress($,Y);return this.getRow(U.row).getCellEx(U)}mergeCells(...$){let Y=new uH($);this._mergeCellsInternal(Y)}mergeCellsWithoutStyle(...$){let Y=new uH($);this._mergeCellsInternal(Y,!0)}_mergeCellsInternal($,Y){xH.each(this._merges,(z)=>{if(z.intersects($))throw Error("Cannot merge already merged cells")});let U=this.getCell($.top,$.left);for(let z=$.top;z<=$.bottom;z++)for(let Q=$.left;Q<=$.right;Q++)if(z>$.top||Q>$.left)this.getCell(z,Q).merge(U,Y);this._merges[U.address]=$}_unMergeMaster($){let Y=this._merges[$.address];if(Y){for(let U=Y.top;U<=Y.bottom;U++)for(let z=Y.left;z<=Y.right;z++)this.getCell(U,z).unmerge();delete this._merges[$.address]}}get hasMerges(){return xH.some(this._merges,Boolean)}unMergeCells(...$){let Y=new uH($);for(let U=Y.top;U<=Y.bottom;U++)for(let z=Y.left;z<=Y.right;z++){let Q=this.findCell(U,z);if(Q){if(Q.type===ec0.ValueType.Merge)this._unMergeMaster(Q.master);else if(this._merges[Q.address])this._unMergeMaster(Q)}}}fillFormula($,Y,U,z="shared"){let Q=fH.decode($),{top:J,left:I,bottom:K,right:G}=Q,H=G-I+1,W=fH.encodeAddress(J,I),X=z==="shared",Z;if(typeof U==="function")Z=U;else if(Array.isArray(U))if(Array.isArray(U[0]))Z=(V,F)=>U[V-J][F-I];else Z=(V,F)=>U[(V-J)*H+(F-I)];else Z=()=>{return};let q=!0;for(let V=J;V<=K;V++)for(let F=I;F<=G;F++)if(q)this.getCell(V,F).value={shareType:z,formula:Y,ref:$,result:Z(V,F)},q=!1;else this.getCell(V,F).value=X?{sharedFormula:W,result:Z(V,F)}:Z(V,F)}addImage($,Y){let U={type:"image",imageId:$,range:Y};this._media.push(new Hg(this,U))}getImages(){return this._media.filter(($)=>$.type==="image")}addBackgroundImage($){let Y={type:"background",imageId:$};this._media.push(new Hg(this,Y))}getBackgroundImageId(){let $=this._media.find((Y)=>Y.type==="background");return $&&$.imageId}protect($,Y){return new Promise((U)=>{if(this.sheetProtection={sheet:!0},Y&&"spinCount"in Y)Y.spinCount=Number.isFinite(Y.spinCount)?Math.round(Math.max(0,Y.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=e40.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=Y&&"spinCount"in Y?Y.spinCount:1e5,this.sheetProtection.hashValue=e40.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(Y){if(this.sheetProtection=Object.assign(this.sheetProtection,Y),!$&&"spinCount"in Y)delete this.sheetProtection.spinCount}U()})}unprotect(){this.sheetProtection=null}addTable($){let Y=new a40(this,$);return this.tables[$.name]=Y,Y}getTable($){return this.tables[$]}removeTable($){delete this.tables[$]}getTables(){return Object.values(this.tables)}addConditionalFormatting($){this.conditionalFormattings.push($)}removeConditionalFormatting($){if(typeof $==="number")this.conditionalFormattings.splice($,1);else if($ instanceof Function)this.conditionalFormattings=this.conditionalFormattings.filter($);else this.conditionalFormattings=[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor($){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=$}get model(){let $={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map((z)=>z.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map((z)=>z.model),conditionalFormattings:this.conditionalFormattings};$.cols=hM.toModel(this.columns);let Y=$.rows=[],U=$.dimensions=new uH;return this._rows.forEach((z)=>{let Q=z&&z.model;if(Q)U.expand(Q.number,Q.min,Q.number,Q.max),Y.push(Q)}),$.merges=[],xH.each(this._merges,(z)=>{$.merges.push(z.range)}),$}_parseRows($){this._rows=[],$.rows.forEach((Y)=>{let U=new s40(this,Y.number);this._rows[U.number-1]=U,U.model=Y})}_parseMergeCells($){xH.each($.mergeCells,(Y)=>{this.mergeCellsWithoutStyle(Y)})}set model($){this.name=$.name,this._columns=hM.fromModel(this,$.cols),this._parseRows($),this._parseMergeCells($),this.dataValidations=new t40($.dataValidations),this.properties=$.properties,this.pageSetup=$.pageSetup,this.headerFooter=$.headerFooter,this.views=$.views,this.autoFilter=$.autoFilter,this._media=$.media.map((Y)=>new Hg(this,Y)),this.sheetProtection=$.sheetProtection,this.tables=$.tables.reduce((Y,U)=>{let z=new a40;return z.model=U,Y[U.name]=z,Y},{}),this.conditionalFormattings=$.conditionalFormattings}}U60.exports=Y60});var K60=E((zp1,I60)=>{var Q60=Y6(),SM=c4();class J60{constructor($){this.template=$,this.sheets={}}addCell($){this.addCellEx(SM.decodeEx($))}getCell($){return this.findCellEx(SM.decodeEx($),!0)}findCell($){return this.findCellEx(SM.decodeEx($),!1)}findCellAt($,Y,U){let z=this.sheets[$],Q=z&&z[Y];return Q&&Q[U]}addCellEx($){if($.top)for(let Y=$.top;Y<=$.bottom;Y++)for(let U=$.left;U<=$.right;U++)this.getCellAt($.sheetName,Y,U);else this.findCellEx($,!0)}getCellEx($){return this.findCellEx($,!0)}findCellEx($,Y){let U=this.findSheet($,Y),z=this.findSheetRow(U,$,Y);return this.findRowCell(z,$,Y)}getCellAt($,Y,U){let z=this.sheets[$]||(this.sheets[$]=[]),Q=z[Y]||(z[Y]=[]);return Q[U]||(Q[U]={sheetName:$,address:SM.n2l(U)+Y,row:Y,col:U})}removeCellEx($){let Y=this.findSheet($);if(!Y)return;let U=this.findSheetRow(Y,$);if(!U)return;delete U[$.col]}forEachInSheet($,Y){let U=this.sheets[$];if(U)U.forEach((z,Q)=>{if(z)z.forEach((J,I)=>{if(J)Y(J,Q,I)})})}forEach($){Q60.each(this.sheets,(Y,U)=>{this.forEachInSheet(U,$)})}map($){let Y=[];return this.forEach((U)=>{Y.push($(U))}),Y}findSheet($,Y){let U=$.sheetName;if(this.sheets[U])return this.sheets[U];if(Y)return this.sheets[U]=[];return}findSheetRow($,Y,U){let{row:z}=Y;if($&&$[z])return $[z];if(U)return $[z]=[];return}findRowCell($,Y,U){let{col:z}=Y;if($&&$[z])return $[z];if(U)return $[z]=this.template?Object.assign(Y,JSON.parse(JSON.stringify(this.template))):Y;return}spliceRows($,Y,U,z){let Q=this.sheets[$];if(Q){let J=[];for(let I=0;I{I.splice(Y,U,...J)})}}}I60.exports=J60});var Wg=E((Qp1,W60)=>{var rQ=Y6(),bH=c4(),G60=K60(),$n0=Y3(),Yn0=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;class H60{constructor(){this.matrixMap={}}getMatrix($){return this.matrixMap[$]||(this.matrixMap[$]=new G60)}add($,Y){let U=bH.decodeEx($);this.addEx(U,Y)}addEx($,Y){let U=this.getMatrix(Y);if($.top)for(let z=$.left;z<=$.right;z++)for(let Q=$.top;Q<=$.bottom;Q++){let J={sheetName:$.sheetName,address:bH.n2l(z)+Q,row:Q,col:z};U.addCellEx(J)}else U.addCellEx($)}remove($,Y){let U=bH.decodeEx($);this.removeEx(U,Y)}removeEx($,Y){this.getMatrix(Y).removeCellEx($)}removeAllNames($){rQ.each(this.matrixMap,(Y)=>{Y.removeCellEx($)})}forEach($){rQ.each(this.matrixMap,(Y,U)=>{Y.forEach((z)=>{$(U,z)})})}getNames($){return this.getNamesEx(bH.decodeEx($))}getNamesEx($){return rQ.map(this.matrixMap,(Y,U)=>Y.findCellEx($)&&U).filter(Boolean)}_explore($,Y){Y.mark=!1;let{sheetName:U}=Y,z=new $n0(Y.row,Y.col,Y.row,Y.col,U),Q,J;function I(G,H){let W=$.findCellAt(U,G,Y.col);if(!W||!W.mark)return!1;return z[H]=G,W.mark=!1,!0}for(J=Y.row-1;I(J,"top");J--);for(J=Y.row+1;I(J,"bottom");J++);function K(G,H){let W=[];for(J=z.top;J<=z.bottom;J++){let X=$.findCellAt(U,J,G);if(X&&X.mark)W.push(X);else return!1}z[H]=G;for(let X=0;X{z.mark=!0});let U=Y.map((z)=>z.mark&&this._explore(Y,z)).filter(Boolean).map((z)=>z.$shortRange);return{name:$,ranges:U}}normaliseMatrix($,Y){$.forEachInSheet(Y,(U,z,Q)=>{if(U){if(U.row!==z||U.col!==Q)U.row=z,U.col=Q,U.address=bH.n2l(Q)+z}})}spliceRows($,Y,U,z){rQ.each(this.matrixMap,(Q)=>{Q.spliceRows($,Y,U,z),this.normaliseMatrix(Q,$)})}spliceColumns($,Y,U,z){rQ.each(this.matrixMap,(Q)=>{Q.spliceColumns($,Y,U,z),this.normaliseMatrix(Q,$)})}get model(){return rQ.map(this.matrixMap,($,Y)=>this.getRanges(Y,$)).filter(($)=>$.ranges.length)}set model($){let Y=this.matrixMap={};$.forEach((U)=>{let z=Y[U.name]=new G60;U.ranges.forEach((Q)=>{if(Yn0.test(Q.split("!").pop()||""))z.addCell(Q)})})}}W60.exports=H60});var I6=E((Jp1,Xg)=>{if(typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0)Xg.exports={nextTick:Un0};else Xg.exports=process;function Un0($,Y,U,z){if(typeof $!=="function")throw TypeError('"callback" argument must be a function');var Q=arguments.length,J,I;switch(Q){case 0:case 1:return process.nextTick($);case 2:return process.nextTick(function(){$.call(null,Y)});case 3:return process.nextTick(function(){$.call(null,Y,U)});case 4:return process.nextTick(function(){$.call(null,Y,U,z)});default:J=Array(Q-1),I=0;while(I{var zn0={}.toString;X60.exports=Array.isArray||function($){return zn0.call($)=="[object Array]"}});var K6=E((Zg,q60)=>{var gM=I0("buffer"),U3=gM.Buffer;function Z60($,Y){for(var U in $)Y[U]=$[U]}if(U3.from&&U3.alloc&&U3.allocUnsafe&&U3.allocUnsafeSlow)q60.exports=gM;else Z60(gM,Zg),Zg.Buffer=aQ;function aQ($,Y,U){return U3($,Y,U)}Z60(U3,aQ);aQ.from=function($,Y,U){if(typeof $==="number")throw TypeError("Argument must not be a number");return U3($,Y,U)};aQ.alloc=function($,Y,U){if(typeof $!=="number")throw TypeError("Argument must be a number");var z=U3($);if(Y!==void 0)if(typeof U==="string")z.fill(Y,U);else z.fill(Y);else z.fill(0);return z};aQ.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return U3($)};aQ.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return gM.SlowBuffer($)}});var M4=E((Mn0)=>{function Qn0($){if(Array.isArray)return Array.isArray($);return yM($)==="[object Array]"}Mn0.isArray=Qn0;function Jn0($){return typeof $==="boolean"}Mn0.isBoolean=Jn0;function In0($){return $===null}Mn0.isNull=In0;function Kn0($){return $==null}Mn0.isNullOrUndefined=Kn0;function Gn0($){return typeof $==="number"}Mn0.isNumber=Gn0;function Hn0($){return typeof $==="string"}Mn0.isString=Hn0;function Wn0($){return typeof $==="symbol"}Mn0.isSymbol=Wn0;function Xn0($){return $===void 0}Mn0.isUndefined=Xn0;function Zn0($){return yM($)==="[object RegExp]"}Mn0.isRegExp=Zn0;function qn0($){return typeof $==="object"&&$!==null}Mn0.isObject=qn0;function Vn0($){return yM($)==="[object Date]"}Mn0.isDate=Vn0;function Ln0($){return yM($)==="[object Error]"||$ instanceof Error}Mn0.isError=Ln0;function Fn0($){return typeof $==="function"}Mn0.isFunction=Fn0;function wn0($){return $===null||typeof $==="boolean"||typeof $==="number"||typeof $==="string"||typeof $==="symbol"||typeof $>"u"}Mn0.isPrimitive=wn0;Mn0.isBuffer=I0("buffer").Buffer.isBuffer;function yM($){return Object.prototype.toString.call($)}});var V60=E((Gp1,qg)=>{if(typeof Object.create==="function")qg.exports=function(Y,U){if(U)Y.super_=U,Y.prototype=Object.create(U.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}})};else qg.exports=function(Y,U){if(U){Y.super_=U;var z=function(){};z.prototype=U.prototype,Y.prototype=new z,Y.prototype.constructor=Y}}});var X1=E((Hp1,Vg)=>{try{if(kM=I0("util"),typeof kM.inherits!=="function")throw"";Vg.exports=kM.inherits}catch($){Vg.exports=V60()}var kM});var F60=E((Wp1,Lg)=>{function gn0($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var L60=K6().Buffer,iH=I0("util");function yn0($,Y,U){$.copy(Y,U)}Lg.exports=function(){function $(){gn0(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var z={data:U,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q},$.prototype.concat=function(U){if(this.length===0)return L60.alloc(0);var z=L60.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)yn0(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z},$}();if(iH&&iH.inspect&&iH.inspect.custom)Lg.exports.prototype[iH.inspect.custom]=function(){var $=iH.inspect({length:this.length});return this.constructor.name+" "+$}});var Fg=E((Xp1,w60)=>{var xM=I6();function kn0($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)xM.nextTick(fM,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,xM.nextTick(fM,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!U._writableState)xM.nextTick(fM,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,xM.nextTick(fM,U,J)}else if(Y)Y(J)}),this}function xn0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function fM($,Y){$.emit("error",Y)}w60.exports={destroy:kn0,undestroy:xn0}});var y7=E((Zp1,M60)=>{M60.exports=I0("util").deprecate});var Mg=E((qp1,j60)=>{var dY=I6();j60.exports=Z6;function N60($){var Y=this;this.next=null,this.entry=null,this.finish=function(){Yp0(Y,$)}}var fn0=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:dY.nextTick,tQ;Z6.WritableState=nH;var D60=Object.create(M4());D60.inherits=X1();var un0={deprecate:y7()},A60=I0("stream"),bM=K6().Buffer,bn0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function in0($){return bM.from($)}function cn0($){return bM.isBuffer($)||$ instanceof bn0}var B60=Fg();D60.inherits(Z6,A60);function nn0(){}function nH($,Y){tQ=tQ||mY(),$=$||{};var U=Y instanceof tQ;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){sn0(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new N60(this)}nH.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(nH.prototype,"buffer",{get:un0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var uM;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")uM=Function.prototype[Symbol.hasInstance],Object.defineProperty(Z6,Symbol.hasInstance,{value:function($){if(uM.call(this,$))return!0;if(this!==Z6)return!1;return $&&$._writableState instanceof nH}});else uM=function($){return $ instanceof this};function Z6($){if(tQ=tQ||mY(),!uM.call(Z6,this)&&!(this instanceof tQ))return new Z6($);if(this._writableState=new nH($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}A60.call(this)}Z6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function pn0($,Y){var U=Error("write after end");$.emit("error",U),dY.nextTick(Y,U)}function dn0($,Y,U,z){var Q=!0,J=!1;if(U===null)J=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),dY.nextTick(z,J),Q=!1;return Q}Z6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&cn0($);if(J&&!bM.isBuffer($))$=in0($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=nn0;if(z.ended)pn0(this,U);else if(J||dn0(this,z,$,U))z.pendingcb++,Q=ln0(this,z,J,$,Y,U);return Q};Z6.prototype.cork=function(){var $=this._writableState;$.corked++};Z6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)P60(this,$)}};Z6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function mn0($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=bM.from(Y,U);return Y}Object.defineProperty(Z6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function ln0($,Y,U,z,Q,J){if(!U){var I=mn0(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var E60=I6(),Up0=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};_60.exports=z3;var C60=Object.create(M4());C60.inherits=X1();var R60=Ng(),Og=Mg();C60.inherits(z3,R60);{iM=Up0(Og.prototype);for(pH=0;pH{var Ag=K6().Buffer,v60=Ag.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Jp0($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function Ip0($){var Y=Jp0($);if(typeof Y!=="string"&&(Ag.isEncoding===v60||!v60($)))throw Error("Unknown encoding: "+$);return Y||$}Mp0.StringDecoder=mH;function mH($){this.encoding=Ip0($);var Y;switch(this.encoding){case"utf16le":this.text=Zp0,this.end=qp0,Y=4;break;case"utf8":this.fillLast=Hp0,Y=4;break;case"base64":this.text=Vp0,this.end=Lp0,Y=3;break;default:this.write=Fp0,this.end=wp0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ag.allocUnsafe(Y)}mH.prototype.write=function($){if($.length===0)return"";var Y,U;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return Y?Y+this.text($,U):this.text($,U);return Y||""};mH.prototype.end=Xp0;mH.prototype.text=Wp0;mH.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Dg($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function Kp0($,Y,U){var z=Y.length-1;if(z=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--z=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--z=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function Gp0($,Y,U){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function Hp0($){var Y=this.lastTotal-this.lastNeed,U=Gp0(this,$,Y);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function Wp0($,Y){var U=Kp0(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=U;var z=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function Xp0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function Zp0($,Y){if(($.length-Y)%2===0){var U=$.toString("utf16le",Y);if(U){var z=U.charCodeAt(U.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function qp0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,U)}return Y}function Vp0($,Y){var U=($.length-Y)%3;if(U===0)return $.toString("base64",Y);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-U)}function Lp0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function Fp0($){return $.toString(this.encoding)}function wp0($){return $&&$.length?this.write($):""}});var Ng=E((wp1,n60)=>{var $J=I6();n60.exports=B4;var Np0=sQ(),lH;B4.ReadableState=f60;var Fp1=I0("events").EventEmitter,y60=function($,Y){return $.listeners(Y).length},Cg=I0("stream"),oH=K6().Buffer,Dp0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Ap0($){return oH.from($)}function Bp0($){return oH.isBuffer($)||$ instanceof Dp0}var k60=Object.create(M4());k60.inherits=X1();var Pg=I0("util"),t1=void 0;if(Pg&&Pg.debuglog)t1=Pg.debuglog("stream");else t1=function(){};var Pp0=F60(),x60=Fg(),eQ;k60.inherits(B4,Cg);var Tg=["error","close","destroy","pause","resume"];function Tp0($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(Np0($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function f60($,Y){lH=lH||mY(),$=$||{};var U=Y instanceof lH;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new Pp0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!eQ)eQ=Bg().StringDecoder;this.decoder=new eQ($.encoding),this.encoding=$.encoding}}function B4($){if(lH=lH||mY(),!(this instanceof B4))return new B4($);if(this._readableState=new f60($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Cg.call(this)}Object.defineProperty(B4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});B4.prototype.destroy=x60.destroy;B4.prototype._undestroy=x60.undestroy;B4.prototype._destroy=function($,Y){this.push(null),Y($)};B4.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=oH.from($,Y),Y="";z=!0}}else z=!0;return u60(this,$,Y,!1,z)};B4.prototype.unshift=function($){return u60(this,$,null,!0,!1)};function u60($,Y,U,z,Q){var J=$._readableState;if(Y===null)J.reading=!1,Rp0($,J);else{var I;if(!Q)I=jp0(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==oH.prototype)Y=Ap0(Y);if(z)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else jg($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)jg($,J,Y,!1);else b60($,J);else jg($,J,Y,!1)}else if(!z)J.reading=!1}return Ep0(J)}function jg($,Y,U,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",U),$.read(0);else{if(Y.length+=Y.objectMode?1:U.length,z)Y.buffer.unshift(U);else Y.buffer.push(U);if(Y.needReadable)cM($)}b60($,Y)}function jp0($,Y){var U;if(!Bp0(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function Ep0($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}B4.prototype.isPaused=function(){return this._readableState.flowing===!1};B4.prototype.setEncoding=function($){if(!eQ)eQ=Bg().StringDecoder;return this._readableState.decoder=new eQ($),this._readableState.encoding=$,this};var h60=8388608;function Cp0($){if($>=h60)$=h60;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function S60($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=Cp0($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}B4.prototype.read=function($){t1("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(t1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Eg(this);else cM(this);return null}if($=S60($,Y),$===0&&Y.ended){if(Y.length===0)Eg(this);return null}var z=Y.needReadable;if(t1("need readable",z),Y.length===0||Y.length-$0)Q=i60($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)Eg(this)}if(Q!==null)this.emit("data",Q);return Q};function Rp0($,Y){if(Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}Y.ended=!0,cM($)}function cM($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(t1("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)$J.nextTick(g60,$);else g60($)}function g60($){t1("emit readable"),$.emit("readable"),Rg($)}function b60($,Y){if(!Y.readingMore)Y.readingMore=!0,$J.nextTick(_p0,$,Y)}function _p0($,Y){var U=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&c60(z.pipes,$)!==-1)&&!H)t1("false write response, pause",z.awaitDrain),z.awaitDrain++,X=!0;U.pause()}}function q(w){if(t1("onerror",w),M(),$.removeListener("error",q),y60($,"error")===0)$.emit("error",w)}Tp0($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){t1("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){t1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)t1("pipe resume"),U.resume();return $};function vp0($){return function(){var Y=$._readableState;if(t1("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&y60($,"data"))Y.flowing=!0,Rg($)}}B4.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.head.data;else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=yp0($,Y.buffer,Y.decoder);return U}function yp0($,Y,U){var z;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++z,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++z}return Y.length-=z,Q}function xp0($,Y){var U=oH.allocUnsafe($),z=Y.head,Q=1;z.data.copy(U),$-=z.data.length;while(z=z.next){var J=z.data,I=$>J.length?J.length:$;if(J.copy(U,U.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++Q}return Y.length-=Q,U}function Eg($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,$J.nextTick(fp0,Y,$)}function fp0($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function c60($,Y){for(var U=0,z=$.length;U{m60.exports=Q3;var nM=mY(),d60=Object.create(M4());d60.inherits=X1();d60.inherits(Q3,nM);function up0($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{r60.exports=rH;var l60=_g(),o60=Object.create(M4());o60.inherits=X1();o60.inherits(rH,l60);function rH($){if(!(this instanceof rH))return new rH($);l60.call(this,$)}rH.prototype._transform=function($,Y,U){U(null,$)}});var vg=E((d6,pM)=>{var r5=I0("stream");if(process.env.READABLE_STREAM==="disable"&&r5)pM.exports=r5,d6=pM.exports=r5.Readable,d6.Readable=r5.Readable,d6.Writable=r5.Writable,d6.Duplex=r5.Duplex,d6.Transform=r5.Transform,d6.PassThrough=r5.PassThrough,d6.Stream=r5;else d6=pM.exports=Ng(),d6.Stream=r5||d6,d6.Readable=d6,d6.Writable=Mg(),d6.Duplex=mY(),d6.Transform=_g(),d6.PassThrough=s60()});var J3=E((cp0)=>{cp0.base64=!0;cp0.array=!0;cp0.string=!0;cp0.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";cp0.nodebuffer=typeof Buffer<"u";cp0.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")cp0.blob=!1;else{dM=new ArrayBuffer(0);try{cp0.blob=new Blob([dM],{type:"application/zip"}).size===0}catch($){try{Sg=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,mM=new Sg,mM.append(dM),cp0.blob=mM.getBlob("application/zip").size===0}catch(Y){cp0.blob=!1}}}var dM,Sg,mM;try{cp0.nodestream=!!vg().Readable}catch($){cp0.nodestream=!1}});var gg=E((ap0)=>{var rp0=n4(),sp0=J3(),s5="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";ap0.encode=function($){var Y=[],U,z,Q,J,I,K,G,H=0,W=$.length,X=W,Z=rp0.getTypeOf($)!=="string";while(H<$.length){if(X=W-H,!Z)U=$.charCodeAt(H++),z=H>2,I=(U&3)<<4|z>>4,K=X>1?(z&15)<<2|Q>>6:64,G=X>2?Q&63:64,Y.push(s5.charAt(J)+s5.charAt(I)+s5.charAt(K)+s5.charAt(G))}return Y.join("")};ap0.decode=function($){var Y,U,z,Q,J,I,K,G=0,H=0,W="data:";if($.substr(0,W.length)===W)throw Error("Invalid base64 input, it looks like a data url.");$=$.replace(/[^A-Za-z0-9+/=]/g,"");var X=$.length*3/4;if($.charAt($.length-1)===s5.charAt(64))X--;if($.charAt($.length-2)===s5.charAt(64))X--;if(X%1!==0)throw Error("Invalid base64 input, bad content length.");var Z;if(sp0.uint8array)Z=new Uint8Array(X|0);else Z=Array(X|0);while(G<$.length){if(Q=s5.indexOf($.charAt(G++)),J=s5.indexOf($.charAt(G++)),I=s5.indexOf($.charAt(G++)),K=s5.indexOf($.charAt(G++)),Y=Q<<2|J>>4,U=(J&15)<<4|I>>2,z=(I&3)<<6|K,Z[H++]=Y,I!==64)Z[H++]=U;if(K!==64)Z[H++]=z}return Z}});var sH=E((Ap1,a60)=>{a60.exports={isNode:typeof Buffer<"u",newBufferFrom:function($,Y){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from($,Y);else{if(typeof $==="number")throw Error('The "data" argument must not be a number');return new Buffer($,Y)}},allocBuffer:function($){if(Buffer.alloc)return Buffer.alloc($);else{var Y=new Buffer($);return Y.fill(0),Y}},isBuffer:function($){return Buffer.isBuffer($)},isStream:function($){return $&&typeof $.on==="function"&&typeof $.pause==="function"&&typeof $.resume==="function"}}});var $80=E((Pp1,e60)=>{var Bp1=global.MutationObserver||global.WebKitMutationObserver,t60;t60=function(){process.nextTick(Qd0)};var $d0,Yd0,Ud0,zd0,yg,aH=[];function Qd0(){yg=!0;var $,Y,U=aH.length;while(U){Y=aH,aH=[],$=-1;while(++${var Y80=$80();function UJ(){}var X8={},U80=["REJECTED"],kg=["FULFILLED"],z80=["PENDING"];YJ=["UNHANDLED"];var YJ;I80.exports=k7;function k7($){if(typeof $!=="function")throw TypeError("resolver must be a function");if(this.state=z80,this.queue=[],this.outcome=void 0,this.handled=YJ,$!==UJ)Q80(this,$)}k7.prototype.finally=function($){if(typeof $!=="function")return this;var Y=this.constructor;return this.then(U,z);function U(Q){function J(){return Q}return Y.resolve($()).then(J)}function z(Q){function J(){throw Q}return Y.resolve($()).then(J)}};k7.prototype.catch=function($){return this.then(null,$)};k7.prototype.then=function($,Y){if(typeof $!=="function"&&this.state===kg||typeof Y!=="function"&&this.state===U80)return this;var U=new this.constructor(UJ);if(this.handled===YJ)this.handled=null;if(this.state!==z80){var z=this.state===kg?$:Y;xg(U,z,this.outcome)}else this.queue.push(new tH(U,$,Y));return U};function tH($,Y,U){if(this.promise=$,typeof Y==="function")this.onFulfilled=Y,this.callFulfilled=this.otherCallFulfilled;if(typeof U==="function")this.onRejected=U,this.callRejected=this.otherCallRejected}tH.prototype.callFulfilled=function($){X8.resolve(this.promise,$)};tH.prototype.otherCallFulfilled=function($){xg(this.promise,this.onFulfilled,$)};tH.prototype.callRejected=function($){X8.reject(this.promise,$)};tH.prototype.otherCallRejected=function($){xg(this.promise,this.onRejected,$)};function xg($,Y,U){Y80(function(){var z;try{z=Y(U)}catch(Q){return X8.reject($,Q)}if(z===$)X8.reject($,TypeError("Cannot resolve promise with itself"));else X8.resolve($,z)})}X8.resolve=function($,Y){var U=J80(Id0,Y);if(U.status==="error")return X8.reject($,U.value);var z=U.value;if(z)Q80($,z);else{$.state=kg,$.outcome=Y;var Q=-1,J=$.queue.length;while(++Q{var fg=null;if(typeof Promise<"u")fg=Promise;else fg=K80();G80.exports={Promise:fg}});var ug=E((H80)=>{(function($,Y){if($.setImmediate)return;var U=1,z={},Q=!1,J=$.document,I;function K(N){if(typeof N!=="function")N=Function(""+N);var O=Array(arguments.length-1);for(var D=0;D"u"?typeof global>"u"?H80:global:self)});var n4=E((qd0)=>{var x7=J3(),Xd0=gg(),QJ=sH(),bg=zJ();ug();function Zd0($){var Y=null;if(x7.uint8array)Y=new Uint8Array($.length);else Y=Array($.length);return oM($,Y)}qd0.newBlob=function($,Y){qd0.checkSupport("blob");try{return new Blob([$],{type:Y})}catch(Q){try{var U=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,z=new U;return z.append($),z.getBlob(Y)}catch(J){throw Error("Bug : can't construct the Blob.")}}};function eH($){return $}function oM($,Y){for(var U=0;U<$.length;++U)Y[U]=$.charCodeAt(U)&255;return Y}var lM={stringifyByChunk:function($,Y,U){var z=[],Q=0,J=$.length;if(J<=U)return String.fromCharCode.apply(null,$);while(Q1)try{return lM.stringifyByChunk($,U,Y)}catch(Q){Y=Math.floor(Y/2)}return lM.stringifyByChar($)}qd0.applyFromCharCode=$W;function rM($,Y){for(var U=0;U<$.length;U++)Y[U]=$[U];return Y}var f7={};f7.string={string:eH,array:function($){return oM($,Array($.length))},arraybuffer:function($){return f7.string.uint8array($).buffer},uint8array:function($){return oM($,new Uint8Array($.length))},nodebuffer:function($){return oM($,QJ.allocBuffer($.length))}};f7.array={string:$W,array:eH,arraybuffer:function($){return new Uint8Array($).buffer},uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return QJ.newBufferFrom($)}};f7.arraybuffer={string:function($){return $W(new Uint8Array($))},array:function($){return rM(new Uint8Array($),Array($.byteLength))},arraybuffer:eH,uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return QJ.newBufferFrom(new Uint8Array($))}};f7.uint8array={string:$W,array:function($){return rM($,Array($.length))},arraybuffer:function($){return $.buffer},uint8array:eH,nodebuffer:function($){return QJ.newBufferFrom($)}};f7.nodebuffer={string:$W,array:function($){return rM($,Array($.length))},arraybuffer:function($){return f7.nodebuffer.uint8array($).buffer},uint8array:function($){return rM($,new Uint8Array($.length))},nodebuffer:eH};qd0.transformTo=function($,Y){if(!Y)Y="";if(!$)return Y;qd0.checkSupport($);var U=qd0.getTypeOf(Y),z=f7[U][$](Y);return z};qd0.resolve=function($){var Y=$.split("/"),U=[];for(var z=0;z"u")$[U]=arguments[Y][U];return $};qd0.prepareContent=function($,Y,U,z,Q){var J=bg.Promise.resolve(Y).then(function(I){var K=x7.blob&&(I instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(I))!==-1);if(K&&typeof FileReader<"u")return new bg.Promise(function(G,H){var W=new FileReader;W.onload=function(X){G(X.target.result)},W.onerror=function(X){H(X.target.error)},W.readAsArrayBuffer(I)});else return I});return J.then(function(I){var K=qd0.getTypeOf(I);if(!K)return bg.Promise.reject(Error("Can't read the data of '"+$+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));if(K==="arraybuffer")I=qd0.transformTo("uint8array",I);else if(K==="string"){if(Q)I=Xd0.decode(I);else if(U){if(z!==!0)I=Zd0(I)}}return I})}});var I$=E((Rp1,q80)=>{function Z80($){this.name=$||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}Z80.prototype={push:function($){this.emit("data",$)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch($){this.emit("error",$)}return!0},error:function($){if(this.isFinished)return!1;if(this.isPaused)this.generatedError=$;else{if(this.isFinished=!0,this.emit("error",$),this.previous)this.previous.error($);this.cleanUp()}return!0},on:function($,Y){return this._listeners[$].push(Y),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function($,Y){if(this._listeners[$])for(var U=0;U "+$;else return $}};q80.exports=Z80});var IJ=E((Cd0)=>{var JJ=n4(),lY=J3(),Pd0=sH(),sM=I$(),YW=Array(256);for(a5=0;a5<256;a5++)YW[a5]=a5>=252?6:a5>=248?5:a5>=240?4:a5>=224?3:a5>=192?2:1;var a5;YW[254]=YW[254]=1;var Td0=function($){var Y,U,z,Q,J,I=$.length,K=0;for(Q=0;Q>>6,Y[J++]=128|U&63;else if(U<65536)Y[J++]=224|U>>>12,Y[J++]=128|U>>>6&63,Y[J++]=128|U&63;else Y[J++]=240|U>>>18,Y[J++]=128|U>>>12&63,Y[J++]=128|U>>>6&63,Y[J++]=128|U&63}return Y},jd0=function($,Y){var U;if(Y=Y||$.length,Y>$.length)Y=$.length;U=Y-1;while(U>=0&&($[U]&192)===128)U--;if(U<0)return Y;if(U===0)return Y;return U+YW[$[U]]>Y?U:Y},Ed0=function($){var Y,U,z,Q,J=$.length,I=Array(J*2);for(U=0,Y=0;Y4){I[U++]=65533,Y+=Q-1;continue}z&=Q===2?31:Q===3?15:7;while(Q>1&&Y1){I[U++]=65533;continue}if(z<65536)I[U++]=z;else z-=65536,I[U++]=55296|z>>10&1023,I[U++]=56320|z&1023}if(I.length!==U)if(I.subarray)I=I.subarray(0,U);else I.length=U;return JJ.applyFromCharCode(I)};Cd0.utf8encode=function(Y){if(lY.nodebuffer)return Pd0.newBufferFrom(Y,"utf-8");return Td0(Y)};Cd0.utf8decode=function(Y){if(lY.nodebuffer)return JJ.transformTo("nodebuffer",Y).toString("utf-8");return Y=JJ.transformTo(lY.uint8array?"uint8array":"array",Y),Ed0(Y)};function aM(){sM.call(this,"utf-8 decode"),this.leftOver=null}JJ.inherits(aM,sM);aM.prototype.processChunk=function($){var Y=JJ.transformTo(lY.uint8array?"uint8array":"array",$.data);if(this.leftOver&&this.leftOver.length){if(lY.uint8array){var U=Y;Y=new Uint8Array(U.length+this.leftOver.length),Y.set(this.leftOver,0),Y.set(U,this.leftOver.length)}else Y=this.leftOver.concat(Y);this.leftOver=null}var z=jd0(Y),Q=Y;if(z!==Y.length)if(lY.uint8array)Q=Y.subarray(0,z),this.leftOver=Y.subarray(z,Y.length);else Q=Y.slice(0,z),this.leftOver=Y.slice(z,Y.length);this.push({data:Cd0.utf8decode(Q),meta:$.meta})};aM.prototype.flush=function(){if(this.leftOver&&this.leftOver.length)this.push({data:Cd0.utf8decode(this.leftOver),meta:{}}),this.leftOver=null};Cd0.Utf8DecodeWorker=aM;function cg(){sM.call(this,"utf-8 encode")}JJ.inherits(cg,sM);cg.prototype.processChunk=function($){this.push({data:Cd0.utf8encode($.data),meta:$.meta})};Cd0.Utf8EncodeWorker=cg});var M80=E((vp1,w80)=>{var L80=I$(),F80=n4();function pg($){L80.call(this,"ConvertWorker to "+$),this.destType=$}F80.inherits(pg,L80);pg.prototype.processChunk=function($){this.push({data:F80.transformTo(this.destType,$.data),meta:$.meta})};w80.exports=pg});var D80=E((hp1,N80)=>{var O80=vg().Readable,vd0=n4();vd0.inherits(dg,O80);function dg($,Y,U){O80.call(this,Y),this._helper=$;var z=this;$.on("data",function(Q,J){if(!z.push(Q))z._helper.pause();if(U)U(J)}).on("error",function(Q){z.emit("error",Q)}).on("end",function(){z.push(null)})}dg.prototype._read=function(){this._helper.resume()};N80.exports=dg});var mg=E((Sp1,P80)=>{var oY=n4(),hd0=M80(),Sd0=I$(),gd0=gg(),yd0=J3(),kd0=zJ(),A80=null;if(yd0.nodestream)try{A80=D80()}catch($){}function xd0($,Y,U){switch($){case"blob":return oY.newBlob(oY.transformTo("arraybuffer",Y),U);case"base64":return gd0.encode(Y);default:return oY.transformTo($,Y)}}function fd0($,Y){var U,z=0,Q=null,J=0;for(U=0;U{bd0.base64=!1;bd0.binary=!1;bd0.dir=!1;bd0.createFolders=!0;bd0.date=null;bd0.compression=null;bd0.compressionOptions=null;bd0.comment=null;bd0.unixPermissions=null;bd0.dosPermissions=null});var og=E((yp1,T80)=>{var tM=n4(),eM=I$(),ad0=16384;function KJ($){eM.call(this,"DataWorker");var Y=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,$.then(function(U){if(Y.dataIsReady=!0,Y.data=U,Y.max=U&&U.length||0,Y.type=tM.getTypeOf(U),!Y.isPaused)Y._tickAndRepeat()},function(U){Y.error(U)})}tM.inherits(KJ,eM);KJ.prototype.cleanUp=function(){eM.prototype.cleanUp.call(this),this.data=null};KJ.prototype.resume=function(){if(!eM.prototype.resume.call(this))return!1;if(!this._tickScheduled&&this.dataIsReady)this._tickScheduled=!0,tM.delay(this._tickAndRepeat,[],this);return!0};KJ.prototype._tickAndRepeat=function(){if(this._tickScheduled=!1,this.isPaused||this.isFinished)return;if(this._tick(),!this.isFinished)tM.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0};KJ.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var $=ad0,Y=null,U=Math.min(this.max,this.index+$);if(this.index>=this.max)return this.end();else{switch(this.type){case"string":Y=this.data.substring(this.index,U);break;case"uint8array":Y=this.data.subarray(this.index,U);break;case"array":case"nodebuffer":Y=this.data.slice(this.index,U);break}return this.index=U,this.push({data:Y,meta:{percent:this.max?this.index/this.max*100:0}})}};T80.exports=KJ});var $O=E((kp1,E80)=>{var td0=n4();function ed0(){var $,Y=[];for(var U=0;U<256;U++){$=U;for(var z=0;z<8;z++)$=$&1?3988292384^$>>>1:$>>>1;Y[U]=$}return Y}var j80=ed0();function $m0($,Y,U,z){var Q=j80,J=z+U;$=$^-1;for(var I=z;I>>8^Q[($^Y[I])&255];return $^-1}function Ym0($,Y,U,z){var Q=j80,J=z+U;$=$^-1;for(var I=z;I>>8^Q[($^Y.charCodeAt(I))&255];return $^-1}E80.exports=function(Y,U){if(typeof Y>"u"||!Y.length)return 0;var z=td0.getTypeOf(Y)!=="string";if(z)return $m0(U|0,Y,Y.length,0);else return Ym0(U|0,Y,Y.length,0)}});var sg=E((xp1,R80)=>{var C80=I$(),Um0=$O(),zm0=n4();function rg(){C80.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}zm0.inherits(rg,C80);rg.prototype.processChunk=function($){this.streamInfo.crc32=Um0($.data,this.streamInfo.crc32||0),this.push($)};R80.exports=rg});var v80=E((fp1,_80)=>{var Qm0=n4(),ag=I$();function tg($){ag.call(this,"DataLengthProbe for "+$),this.propName=$,this.withStreamInfo($,0)}Qm0.inherits(tg,ag);tg.prototype.processChunk=function($){if($){var Y=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=Y+$.data.length}ag.prototype.processChunk.call(this,$)};_80.exports=tg});var YO=E((up1,g80)=>{var h80=zJ(),S80=og(),Jm0=sg(),eg=v80();function $y($,Y,U,z,Q){this.compressedSize=$,this.uncompressedSize=Y,this.crc32=U,this.compression=z,this.compressedContent=Q}$y.prototype={getContentWorker:function(){var $=new S80(h80.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new eg("data_length")),Y=this;return $.on("end",function(){if(this.streamInfo.data_length!==Y.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),$},getCompressedWorker:function(){return new S80(h80.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};$y.createWorkerFrom=function($,Y,U){return $.pipe(new Jm0).pipe(new eg("uncompressedSize")).pipe(Y.compressWorker(U)).pipe(new eg("compressedSize")).withStreamInfo("compression",Y)};g80.exports=$y});var f80=E((bp1,x80)=>{var Im0=mg(),Km0=og(),Yy=IJ(),Uy=YO(),y80=I$(),zy=function($,Y,U){this.name=$,this.dir=U.dir,this.date=U.date,this.comment=U.comment,this.unixPermissions=U.unixPermissions,this.dosPermissions=U.dosPermissions,this._data=Y,this._dataBinary=U.binary,this.options={compression:U.compression,compressionOptions:U.compressionOptions}};zy.prototype={internalStream:function($){var Y=null,U="string";try{if(!$)throw Error("No output type specified.");U=$.toLowerCase();var z=U==="string"||U==="text";if(U==="binarystring"||U==="text")U="string";Y=this._decompressWorker();var Q=!this._dataBinary;if(Q&&!z)Y=Y.pipe(new Yy.Utf8EncodeWorker);if(!Q&&z)Y=Y.pipe(new Yy.Utf8DecodeWorker)}catch(J){Y=new y80("error"),Y.error(J)}return new Im0(Y,U,"")},async:function($,Y){return this.internalStream($).accumulate(Y)},nodeStream:function($,Y){return this.internalStream($||"nodebuffer").toNodejsStream(Y)},_compressWorker:function($,Y){if(this._data instanceof Uy&&this._data.compression.magic===$.magic)return this._data.getCompressedWorker();else{var U=this._decompressWorker();if(!this._dataBinary)U=U.pipe(new Yy.Utf8EncodeWorker);return Uy.createWorkerFrom(U,$,Y)}},_decompressWorker:function(){if(this._data instanceof Uy)return this._data.getContentWorker();else if(this._data instanceof y80)return this._data;else return new Km0(this._data)}};var k80=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Gm0=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(UW=0;UW{var Zm0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function qm0($,Y){return Object.prototype.hasOwnProperty.call($,Y)}Qy.assign=function($){var Y=Array.prototype.slice.call(arguments,1);while(Y.length){var U=Y.shift();if(!U)continue;if(typeof U!=="object")throw TypeError(U+"must be non-object");for(var z in U)if(qm0(U,z))$[z]=U[z]}return $};Qy.shrinkBuf=function($,Y){if($.length===Y)return $;if($.subarray)return $.subarray(0,Y);return $.length=Y,$};var Vm0={arraySet:function($,Y,U,z,Q){if(Y.subarray&&$.subarray){$.set(Y.subarray(U,U+z),Q);return}for(var J=0;J{var wm0=I3(),Mm0=4,b80=0,i80=1,Om0=2;function HJ($){var Y=$.length;while(--Y>=0)$[Y]=0}var Nm0=0,l80=1,Dm0=2,Am0=3,Bm0=258,Zy=29,GW=256,QW=GW+1+Zy,GJ=30,qy=19,o80=2*QW+1,rY=15,Iy=16,Pm0=7,Vy=256,r80=16,s80=17,a80=18,Wy=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],UO=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Tm0=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],t80=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],jm0=512,K3=Array((QW+2)*2);HJ(K3);var zW=Array(GJ*2);HJ(zW);var JW=Array(jm0);HJ(JW);var IW=Array(Bm0-Am0+1);HJ(IW);var Ly=Array(Zy);HJ(Ly);var zO=Array(GJ);HJ(zO);function Ky($,Y,U,z,Q){this.static_tree=$,this.extra_bits=Y,this.extra_base=U,this.elems=z,this.max_length=Q,this.has_stree=$&&$.length}var e80,$$0,Y$0;function Gy($,Y){this.dyn_tree=$,this.max_code=0,this.stat_desc=Y}function U$0($){return $<256?JW[$]:JW[256+($>>>7)]}function KW($,Y){$.pending_buf[$.pending++]=Y&255,$.pending_buf[$.pending++]=Y>>>8&255}function n8($,Y,U){if($.bi_valid>Iy-U)$.bi_buf|=Y<<$.bi_valid&65535,KW($,$.bi_buf),$.bi_buf=Y>>Iy-$.bi_valid,$.bi_valid+=U-Iy;else $.bi_buf|=Y<<$.bi_valid&65535,$.bi_valid+=U}function t5($,Y,U){n8($,U[Y*2],U[Y*2+1])}function z$0($,Y){var U=0;do U|=$&1,$>>>=1,U<<=1;while(--Y>0);return U>>>1}function Em0($){if($.bi_valid===16)KW($,$.bi_buf),$.bi_buf=0,$.bi_valid=0;else if($.bi_valid>=8)$.pending_buf[$.pending++]=$.bi_buf&255,$.bi_buf>>=8,$.bi_valid-=8}function Cm0($,Y){var{dyn_tree:U,max_code:z}=Y,Q=Y.stat_desc.static_tree,J=Y.stat_desc.has_stree,I=Y.stat_desc.extra_bits,K=Y.stat_desc.extra_base,G=Y.stat_desc.max_length,H,W,X,Z,q,V,F=0;for(Z=0;Z<=rY;Z++)$.bl_count[Z]=0;U[$.heap[$.heap_max]*2+1]=0;for(H=$.heap_max+1;HG)Z=G,F++;if(U[W*2+1]=Z,W>z)continue;if($.bl_count[Z]++,q=0,W>=K)q=I[W-K];if(V=U[W*2],$.opt_len+=V*(Z+q),J)$.static_len+=V*(Q[W*2+1]+q)}if(F===0)return;do{Z=G-1;while($.bl_count[Z]===0)Z--;$.bl_count[Z]--,$.bl_count[Z+1]+=2,$.bl_count[G]--,F-=2}while(F>0);for(Z=G;Z!==0;Z--){W=$.bl_count[Z];while(W!==0){if(X=$.heap[--H],X>z)continue;if(U[X*2+1]!==Z)$.opt_len+=(Z-U[X*2+1])*U[X*2],U[X*2+1]=Z;W--}}}function Q$0($,Y,U){var z=Array(rY+1),Q=0,J,I;for(J=1;J<=rY;J++)z[J]=Q=Q+U[J-1]<<1;for(I=0;I<=Y;I++){var K=$[I*2+1];if(K===0)continue;$[I*2]=z$0(z[K]++,K)}}function Rm0(){var $,Y,U,z,Q,J=Array(rY+1);U=0;for(z=0;z>=7;for(;z8)KW($,$.bi_buf);else if($.bi_valid>0)$.pending_buf[$.pending++]=$.bi_buf;$.bi_buf=0,$.bi_valid=0}function _m0($,Y,U,z){if(I$0($),z)KW($,U),KW($,~U);wm0.arraySet($.pending_buf,$.window,Y,U,$.pending),$.pending+=U}function c80($,Y,U,z){var Q=Y*2,J=U*2;return $[Q]<$[J]||$[Q]===$[J]&&z[Y]<=z[U]}function Hy($,Y,U){var z=$.heap[U],Q=U<<1;while(Q<=$.heap_len){if(Q<$.heap_len&&c80(Y,$.heap[Q+1],$.heap[Q],$.depth))Q++;if(c80(Y,z,$.heap[Q],$.depth))break;$.heap[U]=$.heap[Q],U=Q,Q<<=1}$.heap[U]=z}function n80($,Y,U){var z,Q,J=0,I,K;if($.last_lit!==0)do if(z=$.pending_buf[$.d_buf+J*2]<<8|$.pending_buf[$.d_buf+J*2+1],Q=$.pending_buf[$.l_buf+J],J++,z===0)t5($,Q,Y);else{if(I=IW[Q],t5($,I+GW+1,Y),K=Wy[I],K!==0)Q-=Ly[I],n8($,Q,K);if(z--,I=U$0(z),t5($,I,U),K=UO[I],K!==0)z-=zO[I],n8($,z,K)}while(J<$.last_lit);t5($,Vy,Y)}function Xy($,Y){var U=Y.dyn_tree,z=Y.stat_desc.static_tree,Q=Y.stat_desc.has_stree,J=Y.stat_desc.elems,I,K,G=-1,H;$.heap_len=0,$.heap_max=o80;for(I=0;I>1;I>=1;I--)Hy($,U,I);H=J;do I=$.heap[1],$.heap[1]=$.heap[$.heap_len--],Hy($,U,1),K=$.heap[1],$.heap[--$.heap_max]=I,$.heap[--$.heap_max]=K,U[H*2]=U[I*2]+U[K*2],$.depth[H]=($.depth[I]>=$.depth[K]?$.depth[I]:$.depth[K])+1,U[I*2+1]=U[K*2+1]=H,$.heap[1]=H++,Hy($,U,1);while($.heap_len>=2);$.heap[--$.heap_max]=$.heap[1],Cm0($,Y),Q$0(U,G,$.bl_count)}function p80($,Y,U){var z,Q=-1,J,I=Y[1],K=0,G=7,H=4;if(I===0)G=138,H=3;Y[(U+1)*2+1]=65535;for(z=0;z<=U;z++){if(J=I,I=Y[(z+1)*2+1],++K=3;Y--)if($.bl_tree[t80[Y]*2+1]!==0)break;return $.opt_len+=3*(Y+1)+5+5+4,Y}function hm0($,Y,U,z){var Q;n8($,Y-257,5),n8($,U-1,5),n8($,z-4,4);for(Q=0;Q>>=1)if(Y&1&&$.dyn_ltree[U*2]!==0)return b80;if($.dyn_ltree[18]!==0||$.dyn_ltree[20]!==0||$.dyn_ltree[26]!==0)return i80;for(U=32;U0){if($.strm.data_type===Om0)$.strm.data_type=Sm0($);if(Xy($,$.l_desc),Xy($,$.d_desc),I=vm0($),Q=$.opt_len+3+7>>>3,J=$.static_len+3+7>>>3,J<=Q)Q=J}else Q=J=U+5;if(U+4<=Q&&Y!==-1)K$0($,Y,U,z);else if($.strategy===Mm0||J===Q)n8($,(l80<<1)+(z?1:0),3),n80($,K3,zW);else n8($,(Dm0<<1)+(z?1:0),3),hm0($,$.l_desc.max_code+1,$.d_desc.max_code+1,I+1),n80($,$.dyn_ltree,$.dyn_dtree);if(J$0($),z)I$0($)}function xm0($,Y,U){if($.pending_buf[$.d_buf+$.last_lit*2]=Y>>>8&255,$.pending_buf[$.d_buf+$.last_lit*2+1]=Y&255,$.pending_buf[$.l_buf+$.last_lit]=U&255,$.last_lit++,Y===0)$.dyn_ltree[U*2]++;else $.matches++,Y--,$.dyn_ltree[(IW[U]+GW+1)*2]++,$.dyn_dtree[U$0(Y)*2]++;return $.last_lit===$.lit_bufsize-1}fm0._tr_init=gm0;fm0._tr_stored_block=K$0;fm0._tr_flush_block=km0;fm0._tr_tally=xm0;fm0._tr_align=ym0});var Fy=E((np1,H$0)=>{function pm0($,Y,U,z){var Q=$&65535|0,J=$>>>16&65535|0,I=0;while(U!==0){I=U>2000?2000:U,U-=I;do Q=Q+Y[z++]|0,J=J+Q|0;while(--I);Q%=65521,J%=65521}return Q|J<<16|0}H$0.exports=pm0});var wy=E((pp1,W$0)=>{function dm0(){var $,Y=[];for(var U=0;U<256;U++){$=U;for(var z=0;z<8;z++)$=$&1?3988292384^$>>>1:$>>>1;Y[U]=$}return Y}var mm0=dm0();function lm0($,Y,U,z){var Q=mm0,J=z+U;$^=-1;for(var I=z;I>>8^Q[($^Y[I])&255];return $^-1}W$0.exports=lm0});var QO=E((dp1,X$0)=>{X$0.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var N$0=E((jl0)=>{var j8=I3(),j$=G$0(),L$0=Fy(),u7=wy(),om0=QO(),eY=0,rm0=1,sm0=3,p7=4,Z$0=5,$9=0,q$0=1,E$=-2,am0=-3,My=-5,tm0=-1,em0=1,JO=2,$l0=3,Yl0=4,Ul0=0,zl0=2,HO=8,Ql0=9,Jl0=15,Il0=8,Kl0=29,Gl0=256,Ny=Gl0+1+Kl0,Hl0=30,Wl0=19,Xl0=2*Ny+1,Zl0=15,f1=3,c7=258,W5=c7+f1+1,ql0=32,WO=42,Dy=69,IO=73,KO=91,GO=103,sY=113,WW=666,B6=1,XW=2,aY=3,ZJ=4,Vl0=3;function n7($,Y){return $.msg=om0[Y],Y}function V$0($){return($<<1)-($>4?9:0)}function i7($){var Y=$.length;while(--Y>=0)$[Y]=0}function b7($){var Y=$.state,U=Y.pending;if(U>$.avail_out)U=$.avail_out;if(U===0)return;if(j8.arraySet($.output,Y.pending_buf,Y.pending_out,U,$.next_out),$.next_out+=U,Y.pending_out+=U,$.total_out+=U,$.avail_out-=U,Y.pending-=U,Y.pending===0)Y.pending_out=0}function m6($,Y){j$._tr_flush_block($,$.block_start>=0?$.block_start:-1,$.strstart-$.block_start,Y),$.block_start=$.strstart,b7($.strm)}function r1($,Y){$.pending_buf[$.pending++]=Y}function HW($,Y){$.pending_buf[$.pending++]=Y>>>8&255,$.pending_buf[$.pending++]=Y&255}function Ll0($,Y,U,z){var Q=$.avail_in;if(Q>z)Q=z;if(Q===0)return 0;if($.avail_in-=Q,j8.arraySet(Y,$.input,$.next_in,Q,U),$.state.wrap===1)$.adler=L$0($.adler,Y,Q,U);else if($.state.wrap===2)$.adler=u7($.adler,Y,Q,U);return $.next_in+=Q,$.total_in+=Q,Q}function F$0($,Y){var{max_chain_length:U,strstart:z}=$,Q,J,I=$.prev_length,K=$.nice_match,G=$.strstart>$.w_size-W5?$.strstart-($.w_size-W5):0,H=$.window,W=$.w_mask,X=$.prev,Z=$.strstart+c7,q=H[z+I-1],V=H[z+I];if($.prev_length>=$.good_match)U>>=2;if(K>$.lookahead)K=$.lookahead;do{if(Q=Y,H[Q+I]!==V||H[Q+I-1]!==q||H[Q]!==H[z]||H[++Q]!==H[z+1])continue;z+=2,Q++;do;while(H[++z]===H[++Q]&&H[++z]===H[++Q]&&H[++z]===H[++Q]&&H[++z]===H[++Q]&&H[++z]===H[++Q]&&H[++z]===H[++Q]&&H[++z]===H[++Q]&&H[++z]===H[++Q]&&zI){if($.match_start=Y,I=J,J>=K)break;q=H[z+I-1],V=H[z+I]}}while((Y=X[Y&W])>G&&--U!==0);if(I<=$.lookahead)return I;return $.lookahead}function tY($){var Y=$.w_size,U,z,Q,J,I;do{if(J=$.window_size-$.lookahead-$.strstart,$.strstart>=Y+(Y-W5)){j8.arraySet($.window,$.window,Y,Y,0),$.match_start-=Y,$.strstart-=Y,$.block_start-=Y,z=$.hash_size,U=z;do Q=$.head[--U],$.head[U]=Q>=Y?Q-Y:0;while(--z);z=Y,U=z;do Q=$.prev[--U],$.prev[U]=Q>=Y?Q-Y:0;while(--z);J+=Y}if($.strm.avail_in===0)break;if(z=Ll0($.strm,$.window,$.strstart+$.lookahead,J),$.lookahead+=z,$.lookahead+$.insert>=f1){I=$.strstart-$.insert,$.ins_h=$.window[I],$.ins_h=($.ins_h<<$.hash_shift^$.window[I+1])&$.hash_mask;while($.insert)if($.ins_h=($.ins_h<<$.hash_shift^$.window[I+f1-1])&$.hash_mask,$.prev[I&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=I,I++,$.insert--,$.lookahead+$.insert$.pending_buf_size-5)U=$.pending_buf_size-5;for(;;){if($.lookahead<=1){if(tY($),$.lookahead===0&&Y===eY)return B6;if($.lookahead===0)break}$.strstart+=$.lookahead,$.lookahead=0;var z=$.block_start+U;if($.strstart===0||$.strstart>=z){if($.lookahead=$.strstart-z,$.strstart=z,m6($,!1),$.strm.avail_out===0)return B6}if($.strstart-$.block_start>=$.w_size-W5){if(m6($,!1),$.strm.avail_out===0)return B6}}if($.insert=0,Y===p7){if(m6($,!0),$.strm.avail_out===0)return aY;return ZJ}if($.strstart>$.block_start){if(m6($,!1),$.strm.avail_out===0)return B6}return B6}function Oy($,Y){var U,z;for(;;){if($.lookahead=f1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if(U!==0&&$.strstart-U<=$.w_size-W5)$.match_length=F$0($,U);if($.match_length>=f1)if(z=j$._tr_tally($,$.strstart-$.match_start,$.match_length-f1),$.lookahead-=$.match_length,$.match_length<=$.max_lazy_match&&$.lookahead>=f1){$.match_length--;do $.strstart++,$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.match_length!==0);$.strstart++}else $.strstart+=$.match_length,$.match_length=0,$.ins_h=$.window[$.strstart],$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+1])&$.hash_mask;else z=j$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(z){if(m6($,!1),$.strm.avail_out===0)return B6}}if($.insert=$.strstart=f1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if($.prev_length=$.match_length,$.prev_match=$.match_start,$.match_length=f1-1,U!==0&&$.prev_length<$.max_lazy_match&&$.strstart-U<=$.w_size-W5){if($.match_length=F$0($,U),$.match_length<=5&&($.strategy===em0||$.match_length===f1&&$.strstart-$.match_start>4096))$.match_length=f1-1}if($.prev_length>=f1&&$.match_length<=$.prev_length){Q=$.strstart+$.lookahead-f1,z=j$._tr_tally($,$.strstart-1-$.prev_match,$.prev_length-f1),$.lookahead-=$.prev_length-1,$.prev_length-=2;do if(++$.strstart<=Q)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.prev_length!==0);if($.match_available=0,$.match_length=f1-1,$.strstart++,z){if(m6($,!1),$.strm.avail_out===0)return B6}}else if($.match_available){if(z=j$._tr_tally($,0,$.window[$.strstart-1]),z)m6($,!1);if($.strstart++,$.lookahead--,$.strm.avail_out===0)return B6}else $.match_available=1,$.strstart++,$.lookahead--}if($.match_available)z=j$._tr_tally($,0,$.window[$.strstart-1]),$.match_available=0;if($.insert=$.strstart=f1&&$.strstart>0){if(Q=$.strstart-1,z=I[Q],z===I[++Q]&&z===I[++Q]&&z===I[++Q]){J=$.strstart+c7;do;while(z===I[++Q]&&z===I[++Q]&&z===I[++Q]&&z===I[++Q]&&z===I[++Q]&&z===I[++Q]&&z===I[++Q]&&z===I[++Q]&&Q$.lookahead)$.match_length=$.lookahead}}if($.match_length>=f1)U=j$._tr_tally($,1,$.match_length-f1),$.lookahead-=$.match_length,$.strstart+=$.match_length,$.match_length=0;else U=j$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(U){if(m6($,!1),$.strm.avail_out===0)return B6}}if($.insert=0,Y===p7){if(m6($,!0),$.strm.avail_out===0)return aY;return ZJ}if($.last_lit){if(m6($,!1),$.strm.avail_out===0)return B6}return XW}function Ml0($,Y){var U;for(;;){if($.lookahead===0){if(tY($),$.lookahead===0){if(Y===eY)return B6;break}}if($.match_length=0,U=j$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++,U){if(m6($,!1),$.strm.avail_out===0)return B6}}if($.insert=0,Y===p7){if(m6($,!0),$.strm.avail_out===0)return aY;return ZJ}if($.last_lit){if(m6($,!1),$.strm.avail_out===0)return B6}return XW}function e5($,Y,U,z,Q){this.good_length=$,this.max_lazy=Y,this.nice_length=U,this.max_chain=z,this.func=Q}var XJ;XJ=[new e5(0,0,0,0,Fl0),new e5(4,4,8,4,Oy),new e5(4,5,16,8,Oy),new e5(4,6,32,32,Oy),new e5(4,4,16,16,WJ),new e5(8,16,32,32,WJ),new e5(8,16,128,128,WJ),new e5(8,32,128,256,WJ),new e5(32,128,258,1024,WJ),new e5(32,258,258,4096,WJ)];function Ol0($){$.window_size=2*$.w_size,i7($.head),$.max_lazy_match=XJ[$.level].max_lazy,$.good_match=XJ[$.level].good_length,$.nice_match=XJ[$.level].nice_length,$.max_chain_length=XJ[$.level].max_chain,$.strstart=0,$.block_start=0,$.lookahead=0,$.insert=0,$.match_length=$.prev_length=f1-1,$.match_available=0,$.ins_h=0}function Nl0(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=HO,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new j8.Buf16(Xl0*2),this.dyn_dtree=new j8.Buf16((2*Hl0+1)*2),this.bl_tree=new j8.Buf16((2*Wl0+1)*2),i7(this.dyn_ltree),i7(this.dyn_dtree),i7(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new j8.Buf16(Zl0+1),this.heap=new j8.Buf16(2*Ny+1),i7(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new j8.Buf16(2*Ny+1),i7(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function w$0($){var Y;if(!$||!$.state)return n7($,E$);if($.total_in=$.total_out=0,$.data_type=zl0,Y=$.state,Y.pending=0,Y.pending_out=0,Y.wrap<0)Y.wrap=-Y.wrap;return Y.status=Y.wrap?WO:sY,$.adler=Y.wrap===2?0:1,Y.last_flush=eY,j$._tr_init(Y),$9}function M$0($){var Y=w$0($);if(Y===$9)Ol0($.state);return Y}function Dl0($,Y){if(!$||!$.state)return E$;if($.state.wrap!==2)return E$;return $.state.gzhead=Y,$9}function O$0($,Y,U,z,Q,J){if(!$)return E$;var I=1;if(Y===tm0)Y=6;if(z<0)I=0,z=-z;else if(z>15)I=2,z-=16;if(Q<1||Q>Ql0||U!==HO||z<8||z>15||Y<0||Y>9||J<0||J>Yl0)return n7($,E$);if(z===8)z=9;var K=new Nl0;return $.state=K,K.strm=$,K.wrap=I,K.gzhead=null,K.w_bits=z,K.w_size=1<Z$0||Y<0)return $?n7($,E$):E$;if(z=$.state,!$.output||!$.input&&$.avail_in!==0||z.status===WW&&Y!==p7)return n7($,$.avail_out===0?My:E$);if(z.strm=$,U=z.last_flush,z.last_flush=Y,z.status===WO)if(z.wrap===2)if($.adler=0,r1(z,31),r1(z,139),r1(z,8),!z.gzhead)r1(z,0),r1(z,0),r1(z,0),r1(z,0),r1(z,0),r1(z,z.level===9?2:z.strategy>=JO||z.level<2?4:0),r1(z,Vl0),z.status=sY;else{if(r1(z,(z.gzhead.text?1:0)+(z.gzhead.hcrc?2:0)+(!z.gzhead.extra?0:4)+(!z.gzhead.name?0:8)+(!z.gzhead.comment?0:16)),r1(z,z.gzhead.time&255),r1(z,z.gzhead.time>>8&255),r1(z,z.gzhead.time>>16&255),r1(z,z.gzhead.time>>24&255),r1(z,z.level===9?2:z.strategy>=JO||z.level<2?4:0),r1(z,z.gzhead.os&255),z.gzhead.extra&&z.gzhead.extra.length)r1(z,z.gzhead.extra.length&255),r1(z,z.gzhead.extra.length>>8&255);if(z.gzhead.hcrc)$.adler=u7($.adler,z.pending_buf,z.pending,0);z.gzindex=0,z.status=Dy}else{var I=HO+(z.w_bits-8<<4)<<8,K=-1;if(z.strategy>=JO||z.level<2)K=0;else if(z.level<6)K=1;else if(z.level===6)K=2;else K=3;if(I|=K<<6,z.strstart!==0)I|=ql0;if(I+=31-I%31,z.status=sY,HW(z,I),z.strstart!==0)HW(z,$.adler>>>16),HW(z,$.adler&65535);$.adler=1}if(z.status===Dy)if(z.gzhead.extra){Q=z.pending;while(z.gzindex<(z.gzhead.extra.length&65535)){if(z.pending===z.pending_buf_size){if(z.gzhead.hcrc&&z.pending>Q)$.adler=u7($.adler,z.pending_buf,z.pending-Q,Q);if(b7($),Q=z.pending,z.pending===z.pending_buf_size)break}r1(z,z.gzhead.extra[z.gzindex]&255),z.gzindex++}if(z.gzhead.hcrc&&z.pending>Q)$.adler=u7($.adler,z.pending_buf,z.pending-Q,Q);if(z.gzindex===z.gzhead.extra.length)z.gzindex=0,z.status=IO}else z.status=IO;if(z.status===IO)if(z.gzhead.name){Q=z.pending;do{if(z.pending===z.pending_buf_size){if(z.gzhead.hcrc&&z.pending>Q)$.adler=u7($.adler,z.pending_buf,z.pending-Q,Q);if(b7($),Q=z.pending,z.pending===z.pending_buf_size){J=1;break}}if(z.gzindexQ)$.adler=u7($.adler,z.pending_buf,z.pending-Q,Q);if(J===0)z.gzindex=0,z.status=KO}else z.status=KO;if(z.status===KO)if(z.gzhead.comment){Q=z.pending;do{if(z.pending===z.pending_buf_size){if(z.gzhead.hcrc&&z.pending>Q)$.adler=u7($.adler,z.pending_buf,z.pending-Q,Q);if(b7($),Q=z.pending,z.pending===z.pending_buf_size){J=1;break}}if(z.gzindexQ)$.adler=u7($.adler,z.pending_buf,z.pending-Q,Q);if(J===0)z.status=GO}else z.status=GO;if(z.status===GO)if(z.gzhead.hcrc){if(z.pending+2>z.pending_buf_size)b7($);if(z.pending+2<=z.pending_buf_size)r1(z,$.adler&255),r1(z,$.adler>>8&255),$.adler=0,z.status=sY}else z.status=sY;if(z.pending!==0){if(b7($),$.avail_out===0)return z.last_flush=-1,$9}else if($.avail_in===0&&V$0(Y)<=V$0(U)&&Y!==p7)return n7($,My);if(z.status===WW&&$.avail_in!==0)return n7($,My);if($.avail_in!==0||z.lookahead!==0||Y!==eY&&z.status!==WW){var G=z.strategy===JO?Ml0(z,Y):z.strategy===$l0?wl0(z,Y):XJ[z.level].func(z,Y);if(G===aY||G===ZJ)z.status=WW;if(G===B6||G===aY){if($.avail_out===0)z.last_flush=-1;return $9}if(G===XW){if(Y===rm0)j$._tr_align(z);else if(Y!==Z$0){if(j$._tr_stored_block(z,0,0,!1),Y===sm0){if(i7(z.head),z.lookahead===0)z.strstart=0,z.block_start=0,z.insert=0}}if(b7($),$.avail_out===0)return z.last_flush=-1,$9}}if(Y!==p7)return $9;if(z.wrap<=0)return q$0;if(z.wrap===2)r1(z,$.adler&255),r1(z,$.adler>>8&255),r1(z,$.adler>>16&255),r1(z,$.adler>>24&255),r1(z,$.total_in&255),r1(z,$.total_in>>8&255),r1(z,$.total_in>>16&255),r1(z,$.total_in>>24&255);else HW(z,$.adler>>>16),HW(z,$.adler&65535);if(b7($),z.wrap>0)z.wrap=-z.wrap;return z.pending!==0?$9:q$0}function Pl0($){var Y;if(!$||!$.state)return E$;if(Y=$.state.status,Y!==WO&&Y!==Dy&&Y!==IO&&Y!==KO&&Y!==GO&&Y!==sY&&Y!==WW)return n7($,E$);return $.state=null,Y===sY?n7($,am0):$9}function Tl0($,Y){var U=Y.length,z,Q,J,I,K,G,H,W;if(!$||!$.state)return E$;if(z=$.state,I=z.wrap,I===2||I===1&&z.status!==WO||z.lookahead)return E$;if(I===1)$.adler=L$0($.adler,Y,U,0);if(z.wrap=0,U>=z.w_size){if(I===0)i7(z.head),z.strstart=0,z.block_start=0,z.insert=0;W=new j8.Buf8(z.w_size),j8.arraySet(W,Y,U-z.w_size,z.w_size,0),Y=W,U=z.w_size}K=$.avail_in,G=$.next_in,H=$.input,$.avail_in=U,$.next_in=0,$.input=Y,tY(z);while(z.lookahead>=f1){Q=z.strstart,J=z.lookahead-(f1-1);do z.ins_h=(z.ins_h<{var XO=I3(),D$0=!0,A$0=!0;try{String.fromCharCode.apply(null,[0])}catch($){D$0=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch($){A$0=!1}var ZW=new XO.Buf8(256);for(Y9=0;Y9<256;Y9++)ZW[Y9]=Y9>=252?6:Y9>=248?5:Y9>=240?4:Y9>=224?3:Y9>=192?2:1;var Y9;ZW[254]=ZW[254]=1;kl0.string2buf=function($){var Y,U,z,Q,J,I=$.length,K=0;for(Q=0;Q>>6,Y[J++]=128|U&63;else if(U<65536)Y[J++]=224|U>>>12,Y[J++]=128|U>>>6&63,Y[J++]=128|U&63;else Y[J++]=240|U>>>18,Y[J++]=128|U>>>12&63,Y[J++]=128|U>>>6&63,Y[J++]=128|U&63}return Y};function B$0($,Y){if(Y<65534){if($.subarray&&A$0||!$.subarray&&D$0)return String.fromCharCode.apply(null,XO.shrinkBuf($,Y))}var U="";for(var z=0;z4){K[z++]=65533,U+=J-1;continue}Q&=J===2?31:J===3?15:7;while(J>1&&U1){K[z++]=65533;continue}if(Q<65536)K[z++]=Q;else Q-=65536,K[z++]=55296|Q>>10&1023,K[z++]=56320|Q&1023}return B$0(K,z)};kl0.utf8border=function($,Y){var U;if(Y=Y||$.length,Y>$.length)Y=$.length;U=Y-1;while(U>=0&&($[U]&192)===128)U--;if(U<0)return Y;if(U===0)return Y;return U+ZW[$[U]]>Y?U:Y}});var By=E((op1,P$0)=>{function cl0(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}P$0.exports=cl0});var C$0=E((sl0)=>{var qW=N$0(),VW=I3(),Ty=Ay(),jy=QO(),nl0=By(),E$0=Object.prototype.toString,pl0=0,Py=4,qJ=0,T$0=1,j$0=2,dl0=-1,ml0=0,ll0=8;function $U($){if(!(this instanceof $U))return new $U($);this.options=VW.assign({level:dl0,method:ll0,chunkSize:16384,windowBits:15,memLevel:8,strategy:ml0,to:""},$||{});var Y=this.options;if(Y.raw&&Y.windowBits>0)Y.windowBits=-Y.windowBits;else if(Y.gzip&&Y.windowBits>0&&Y.windowBits<16)Y.windowBits+=16;this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new nl0,this.strm.avail_out=0;var U=qW.deflateInit2(this.strm,Y.level,Y.method,Y.windowBits,Y.memLevel,Y.strategy);if(U!==qJ)throw Error(jy[U]);if(Y.header)qW.deflateSetHeader(this.strm,Y.header);if(Y.dictionary){var z;if(typeof Y.dictionary==="string")z=Ty.string2buf(Y.dictionary);else if(E$0.call(Y.dictionary)==="[object ArrayBuffer]")z=new Uint8Array(Y.dictionary);else z=Y.dictionary;if(U=qW.deflateSetDictionary(this.strm,z),U!==qJ)throw Error(jy[U]);this._dict_set=!0}}$U.prototype.push=function($,Y){var U=this.strm,z=this.options.chunkSize,Q,J;if(this.ended)return!1;if(J=Y===~~Y?Y:Y===!0?Py:pl0,typeof $==="string")U.input=Ty.string2buf($);else if(E$0.call($)==="[object ArrayBuffer]")U.input=new Uint8Array($);else U.input=$;U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0)U.output=new VW.Buf8(z),U.next_out=0,U.avail_out=z;if(Q=qW.deflate(U,J),Q!==T$0&&Q!==qJ)return this.onEnd(Q),this.ended=!0,!1;if(U.avail_out===0||U.avail_in===0&&(J===Py||J===j$0))if(this.options.to==="string")this.onData(Ty.buf2binstring(VW.shrinkBuf(U.output,U.next_out)));else this.onData(VW.shrinkBuf(U.output,U.next_out))}while((U.avail_in>0||U.avail_out===0)&&Q!==T$0);if(J===Py)return Q=qW.deflateEnd(this.strm),this.onEnd(Q),this.ended=!0,Q===qJ;if(J===j$0)return this.onEnd(qJ),U.avail_out=0,!0;return!0};$U.prototype.onData=function($){this.chunks.push($)};$U.prototype.onEnd=function($){if($===qJ)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=VW.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function Ey($,Y){var U=new $U(Y);if(U.push($,!0),U.err)throw U.msg||jy[U.err];return U.result}function ol0($,Y){return Y=Y||{},Y.raw=!0,Ey($,Y)}function rl0($,Y){return Y=Y||{},Y.gzip=!0,Ey($,Y)}sl0.Deflate=$U;sl0.deflate=Ey;sl0.deflateRaw=ol0;sl0.gzip=rl0});var _$0=E((sp1,R$0)=>{var ZO=30,Yo0=12;R$0.exports=function(Y,U){var z,Q,J,I,K,G,H,W,X,Z,q,V,F,M,w,N,O,D,P,T,A,j,C,b,x;z=Y.state,Q=Y.next_in,b=Y.input,J=Q+(Y.avail_in-5),I=Y.next_out,x=Y.output,K=I-(U-Y.avail_out),G=I+(Y.avail_out-257),H=z.dmax,W=z.wsize,X=z.whave,Z=z.wnext,q=z.window,V=z.hold,F=z.bits,M=z.lencode,w=z.distcode,N=(1<>>24,V>>>=P,F-=P,P=D>>>16&255,P===0)x[I++]=D&65535;else if(P&16){if(T=D&65535,P&=15,P){if(F>>=P,F-=P}if(F<15)V+=b[Q++]<>>24,V>>>=P,F-=P,P=D>>>16&255,P&16){if(A=D&65535,P&=15,FH){Y.msg="invalid distance too far back",z.mode=ZO;break $}if(V>>>=P,F-=P,P=I-K,A>P){if(P=A-P,P>X){if(z.sane){Y.msg="invalid distance too far back",z.mode=ZO;break $}}if(j=0,C=q,Z===0){if(j+=W-P,P2)x[I++]=C[j++],x[I++]=C[j++],x[I++]=C[j++],T-=3;if(T){if(x[I++]=C[j++],T>1)x[I++]=C[j++]}}else{j=I-A;do x[I++]=x[j++],x[I++]=x[j++],x[I++]=x[j++],T-=3;while(T>2);if(T){if(x[I++]=x[j++],T>1)x[I++]=x[j++]}}}else if((P&64)===0){D=w[(D&65535)+(V&(1<>3,Q-=T,F-=T<<3,V&=(1<{var v$0=I3(),VJ=15,h$0=852,S$0=592,g$0=0,Cy=1,y$0=2,Uo0=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],zo0=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Qo0=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Jo0=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];k$0.exports=function(Y,U,z,Q,J,I,K,G){var H=G.bits,W=0,X=0,Z=0,q=0,V=0,F=0,M=0,w=0,N=0,O=0,D,P,T,A,j,C=null,b=0,x,S=new v$0.Buf16(VJ+1),i=new v$0.Buf16(VJ+1),c=null,z0=0,k,d,t;for(W=0;W<=VJ;W++)S[W]=0;for(X=0;X=1;q--)if(S[q]!==0)break;if(V>q)V=q;if(q===0)return J[I++]=20971520,J[I++]=20971520,G.bits=1,0;for(Z=1;Z0&&(Y===g$0||q!==1))return-1;i[1]=0;for(W=1;Wh$0||Y===y$0&&N>S$0)return 1;for(;;){if(k=W-M,K[X]x)d=c[z0+K[X]],t=C[b+K[X]];else d=96,t=0;D=1<>M)+P]=k<<24|d<<16|t|0;while(P!==0);D=1<>=1;if(D!==0)O&=D-1,O+=D;else O=0;if(X++,--S[W]===0){if(W===q)break;W=U[z+K[X]]}if(W>V&&(O&A)!==T){if(M===0)M=V;j+=Z,F=W-M,w=1<h$0||Y===y$0&&N>S$0)return 1;T=O&A,J[T]=V<<24|F<<16|j-I|0}}if(O!==0)J[j+O]=W-M<<24|4194304|0;return G.bits=V,0}});var M50=E((Po0)=>{var K$=I3(),gy=Fy(),U9=wy(),Io0=_$0(),LW=x$0(),Ko0=0,H50=1,W50=2,f$0=4,Go0=5,qO=6,YU=0,Ho0=1,Wo0=2,C$=-2,X50=-3,yy=-4,Xo0=-5,u$0=8,Z50=1,b$0=2,i$0=3,c$0=4,n$0=5,p$0=6,d$0=7,m$0=8,l$0=9,o$0=10,FO=11,G3=12,Ry=13,r$0=14,_y=15,s$0=16,a$0=17,t$0=18,e$0=19,VO=20,LO=21,$50=22,Y50=23,U50=24,z50=25,Q50=26,vy=27,J50=28,I50=29,y4=30,ky=31,Zo0=32,qo0=852,Vo0=592,Lo0=15,Fo0=Lo0;function K50($){return($>>>24&255)+($>>>8&65280)+(($&65280)<<8)+(($&255)<<24)}function wo0(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new K$.Buf16(320),this.work=new K$.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function q50($){var Y;if(!$||!$.state)return C$;if(Y=$.state,$.total_in=$.total_out=Y.total=0,$.msg="",Y.wrap)$.adler=Y.wrap&1;return Y.mode=Z50,Y.last=0,Y.havedict=0,Y.dmax=32768,Y.head=null,Y.hold=0,Y.bits=0,Y.lencode=Y.lendyn=new K$.Buf32(qo0),Y.distcode=Y.distdyn=new K$.Buf32(Vo0),Y.sane=1,Y.back=-1,YU}function V50($){var Y;if(!$||!$.state)return C$;return Y=$.state,Y.wsize=0,Y.whave=0,Y.wnext=0,q50($)}function L50($,Y){var U,z;if(!$||!$.state)return C$;if(z=$.state,Y<0)U=0,Y=-Y;else if(U=(Y>>4)+1,Y<48)Y&=15;if(Y&&(Y<8||Y>15))return C$;if(z.window!==null&&z.wbits!==Y)z.window=null;return z.wrap=U,z.wbits=Y,V50($)}function F50($,Y){var U,z;if(!$)return C$;if(z=new wo0,$.state=z,z.window=null,U=L50($,Y),U!==YU)$.state=null;return U}function Mo0($){return F50($,Fo0)}var G50=!0,hy,Sy;function Oo0($){if(G50){var Y;hy=new K$.Buf32(512),Sy=new K$.Buf32(32),Y=0;while(Y<144)$.lens[Y++]=8;while(Y<256)$.lens[Y++]=9;while(Y<280)$.lens[Y++]=7;while(Y<288)$.lens[Y++]=8;LW(H50,$.lens,0,288,hy,0,$.work,{bits:9}),Y=0;while(Y<32)$.lens[Y++]=5;LW(W50,$.lens,0,32,Sy,0,$.work,{bits:5}),G50=!1}$.lencode=hy,$.lenbits=9,$.distcode=Sy,$.distbits=5}function w50($,Y,U,z){var Q,J=$.state;if(J.window===null)J.wsize=1<=J.wsize)K$.arraySet(J.window,Y,U-J.wsize,J.wsize,0),J.wnext=0,J.whave=J.wsize;else{if(Q=J.wsize-J.wnext,Q>z)Q=z;if(K$.arraySet(J.window,Y,U-z,Q,J.wnext),z-=Q,z)K$.arraySet(J.window,Y,U-z,z,0),J.wnext=z,J.whave=J.wsize;else{if(J.wnext+=Q,J.wnext===J.wsize)J.wnext=0;if(J.whave>>8&255,U.check=U9(U.check,C,2,0),H=0,W=0,U.mode=b$0;break}if(U.flags=0,U.head)U.head.done=!1;if(!(U.wrap&1)||(((H&255)<<8)+(H>>8))%31){$.msg="incorrect header check",U.mode=y4;break}if((H&15)!==u$0){$.msg="unknown compression method",U.mode=y4;break}if(H>>>=4,W-=4,A=(H&15)+8,U.wbits===0)U.wbits=A;else if(A>U.wbits){$.msg="invalid window size",U.mode=y4;break}U.dmax=1<>8&1;if(U.flags&512)C[0]=H&255,C[1]=H>>>8&255,U.check=U9(U.check,C,2,0);H=0,W=0,U.mode=i$0;case i$0:while(W<32){if(K===0)break $;K--,H+=z[J++]<>>8&255,C[2]=H>>>16&255,C[3]=H>>>24&255,U.check=U9(U.check,C,4,0);H=0,W=0,U.mode=c$0;case c$0:while(W<16){if(K===0)break $;K--,H+=z[J++]<>8;if(U.flags&512)C[0]=H&255,C[1]=H>>>8&255,U.check=U9(U.check,C,2,0);H=0,W=0,U.mode=n$0;case n$0:if(U.flags&1024){while(W<16){if(K===0)break $;K--,H+=z[J++]<>>8&255,U.check=U9(U.check,C,2,0);H=0,W=0}else if(U.head)U.head.extra=null;U.mode=p$0;case p$0:if(U.flags&1024){if(q=U.length,q>K)q=K;if(q){if(U.head){if(A=U.head.extra_len-U.length,!U.head.extra)U.head.extra=Array(U.head.extra_len);K$.arraySet(U.head.extra,z,J,q,A)}if(U.flags&512)U.check=U9(U.check,z,q,J);K-=q,J+=q,U.length-=q}if(U.length)break $}U.length=0,U.mode=d$0;case d$0:if(U.flags&2048){if(K===0)break $;q=0;do if(A=z[J+q++],U.head&&A&&U.length<65536)U.head.name+=String.fromCharCode(A);while(A&&q>9&1,U.head.done=!0;$.adler=U.check=0,U.mode=G3;break;case o$0:while(W<32){if(K===0)break $;K--,H+=z[J++]<>>=W&7,W-=W&7,U.mode=vy;break}while(W<3){if(K===0)break $;K--,H+=z[J++]<>>=1,W-=1,H&3){case 0:U.mode=r$0;break;case 1:if(Oo0(U),U.mode=VO,Y===qO){H>>>=2,W-=2;break $}break;case 2:U.mode=a$0;break;case 3:$.msg="invalid block type",U.mode=y4}H>>>=2,W-=2;break;case r$0:H>>>=W&7,W-=W&7;while(W<32){if(K===0)break $;K--,H+=z[J++]<>>16^65535)){$.msg="invalid stored block lengths",U.mode=y4;break}if(U.length=H&65535,H=0,W=0,U.mode=_y,Y===qO)break $;case _y:U.mode=s$0;case s$0:if(q=U.length,q){if(q>K)q=K;if(q>G)q=G;if(q===0)break $;K$.arraySet(Q,z,J,q,I),K-=q,J+=q,G-=q,I+=q,U.length-=q;break}U.mode=G3;break;case a$0:while(W<14){if(K===0)break $;K--,H+=z[J++]<>>=5,W-=5,U.ndist=(H&31)+1,H>>>=5,W-=5,U.ncode=(H&15)+4,H>>>=4,W-=4,U.nlen>286||U.ndist>30){$.msg="too many length or distance symbols",U.mode=y4;break}U.have=0,U.mode=t$0;case t$0:while(U.have>>=3,W-=3}while(U.have<19)U.lens[S[U.have++]]=0;if(U.lencode=U.lendyn,U.lenbits=7,b={bits:U.lenbits},j=LW(Ko0,U.lens,0,19,U.lencode,0,U.work,b),U.lenbits=b.bits,j){$.msg="invalid code lengths set",U.mode=y4;break}U.have=0,U.mode=e$0;case e$0:while(U.have>>24,N=M>>>16&255,O=M&65535,w<=W)break;if(K===0)break $;K--,H+=z[J++]<>>=w,W-=w,U.lens[U.have++]=O;else{if(O===16){x=w+2;while(W>>=w,W-=w,U.have===0){$.msg="invalid bit length repeat",U.mode=y4;break}A=U.lens[U.have-1],q=3+(H&3),H>>>=2,W-=2}else if(O===17){x=w+3;while(W>>=w,W-=w,A=0,q=3+(H&7),H>>>=3,W-=3}else{x=w+7;while(W>>=w,W-=w,A=0,q=11+(H&127),H>>>=7,W-=7}if(U.have+q>U.nlen+U.ndist){$.msg="invalid bit length repeat",U.mode=y4;break}while(q--)U.lens[U.have++]=A}}if(U.mode===y4)break;if(U.lens[256]===0){$.msg="invalid code -- missing end-of-block",U.mode=y4;break}if(U.lenbits=9,b={bits:U.lenbits},j=LW(H50,U.lens,0,U.nlen,U.lencode,0,U.work,b),U.lenbits=b.bits,j){$.msg="invalid literal/lengths set",U.mode=y4;break}if(U.distbits=6,U.distcode=U.distdyn,b={bits:U.distbits},j=LW(W50,U.lens,U.nlen,U.ndist,U.distcode,0,U.work,b),U.distbits=b.bits,j){$.msg="invalid distances set",U.mode=y4;break}if(U.mode=VO,Y===qO)break $;case VO:U.mode=LO;case LO:if(K>=6&&G>=258){if($.next_out=I,$.avail_out=G,$.next_in=J,$.avail_in=K,U.hold=H,U.bits=W,Io0($,Z),I=$.next_out,Q=$.output,G=$.avail_out,J=$.next_in,z=$.input,K=$.avail_in,H=U.hold,W=U.bits,U.mode===G3)U.back=-1;break}U.back=0;for(;;){if(M=U.lencode[H&(1<>>24,N=M>>>16&255,O=M&65535,w<=W)break;if(K===0)break $;K--,H+=z[J++]<>D)],w=M>>>24,N=M>>>16&255,O=M&65535,D+w<=W)break;if(K===0)break $;K--,H+=z[J++]<>>=D,W-=D,U.back+=D}if(H>>>=w,W-=w,U.back+=w,U.length=O,N===0){U.mode=Q50;break}if(N&32){U.back=-1,U.mode=G3;break}if(N&64){$.msg="invalid literal/length code",U.mode=y4;break}U.extra=N&15,U.mode=$50;case $50:if(U.extra){x=U.extra;while(W>>=U.extra,W-=U.extra,U.back+=U.extra}U.was=U.length,U.mode=Y50;case Y50:for(;;){if(M=U.distcode[H&(1<>>24,N=M>>>16&255,O=M&65535,w<=W)break;if(K===0)break $;K--,H+=z[J++]<>D)],w=M>>>24,N=M>>>16&255,O=M&65535,D+w<=W)break;if(K===0)break $;K--,H+=z[J++]<>>=D,W-=D,U.back+=D}if(H>>>=w,W-=w,U.back+=w,N&64){$.msg="invalid distance code",U.mode=y4;break}U.offset=O,U.extra=N&15,U.mode=U50;case U50:if(U.extra){x=U.extra;while(W>>=U.extra,W-=U.extra,U.back+=U.extra}if(U.offset>U.dmax){$.msg="invalid distance too far back",U.mode=y4;break}U.mode=z50;case z50:if(G===0)break $;if(q=Z-G,U.offset>q){if(q=U.offset-q,q>U.whave){if(U.sane){$.msg="invalid distance too far back",U.mode=y4;break}}if(q>U.wnext)q-=U.wnext,V=U.wsize-q;else V=U.wnext-q;if(q>U.length)q=U.length;F=U.window}else F=Q,V=I-U.offset,q=U.length;if(q>G)q=G;G-=q,U.length-=q;do Q[I++]=F[V++];while(--q);if(U.length===0)U.mode=LO;break;case Q50:if(G===0)break $;Q[I++]=U.length,G--,U.mode=LO;break;case vy:if(U.wrap){while(W<32){if(K===0)break $;K--,H|=z[J++]<{O50.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var D50=E(($d1,N50)=>{function yo0(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}N50.exports=yo0});var B50=E((uo0)=>{var LJ=M50(),FW=I3(),wO=Ay(),G6=xy(),fy=QO(),ko0=By(),xo0=D50(),A50=Object.prototype.toString;function UU($){if(!(this instanceof UU))return new UU($);this.options=FW.assign({chunkSize:16384,windowBits:0,to:""},$||{});var Y=this.options;if(Y.raw&&Y.windowBits>=0&&Y.windowBits<16){if(Y.windowBits=-Y.windowBits,Y.windowBits===0)Y.windowBits=-15}if(Y.windowBits>=0&&Y.windowBits<16&&!($&&$.windowBits))Y.windowBits+=32;if(Y.windowBits>15&&Y.windowBits<48){if((Y.windowBits&15)===0)Y.windowBits|=15}this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ko0,this.strm.avail_out=0;var U=LJ.inflateInit2(this.strm,Y.windowBits);if(U!==G6.Z_OK)throw Error(fy[U]);if(this.header=new xo0,LJ.inflateGetHeader(this.strm,this.header),Y.dictionary){if(typeof Y.dictionary==="string")Y.dictionary=wO.string2buf(Y.dictionary);else if(A50.call(Y.dictionary)==="[object ArrayBuffer]")Y.dictionary=new Uint8Array(Y.dictionary);if(Y.raw){if(U=LJ.inflateSetDictionary(this.strm,Y.dictionary),U!==G6.Z_OK)throw Error(fy[U])}}}UU.prototype.push=function($,Y){var U=this.strm,z=this.options.chunkSize,Q=this.options.dictionary,J,I,K,G,H,W=!1;if(this.ended)return!1;if(I=Y===~~Y?Y:Y===!0?G6.Z_FINISH:G6.Z_NO_FLUSH,typeof $==="string")U.input=wO.binstring2buf($);else if(A50.call($)==="[object ArrayBuffer]")U.input=new Uint8Array($);else U.input=$;U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0)U.output=new FW.Buf8(z),U.next_out=0,U.avail_out=z;if(J=LJ.inflate(U,G6.Z_NO_FLUSH),J===G6.Z_NEED_DICT&&Q)J=LJ.inflateSetDictionary(this.strm,Q);if(J===G6.Z_BUF_ERROR&&W===!0)J=G6.Z_OK,W=!1;if(J!==G6.Z_STREAM_END&&J!==G6.Z_OK)return this.onEnd(J),this.ended=!0,!1;if(U.next_out){if(U.avail_out===0||J===G6.Z_STREAM_END||U.avail_in===0&&(I===G6.Z_FINISH||I===G6.Z_SYNC_FLUSH))if(this.options.to==="string"){if(K=wO.utf8border(U.output,U.next_out),G=U.next_out-K,H=wO.buf2string(U.output,K),U.next_out=G,U.avail_out=z-G,G)FW.arraySet(U.output,U.output,K,G,0);this.onData(H)}else this.onData(FW.shrinkBuf(U.output,U.next_out))}if(U.avail_in===0&&U.avail_out===0)W=!0}while((U.avail_in>0||U.avail_out===0)&&J!==G6.Z_STREAM_END);if(J===G6.Z_STREAM_END)I=G6.Z_FINISH;if(I===G6.Z_FINISH)return J=LJ.inflateEnd(this.strm),this.onEnd(J),this.ended=!0,J===G6.Z_OK;if(I===G6.Z_SYNC_FLUSH)return this.onEnd(G6.Z_OK),U.avail_out=0,!0;return!0};UU.prototype.onData=function($){this.chunks.push($)};UU.prototype.onEnd=function($){if($===G6.Z_OK)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=FW.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function uy($,Y){var U=new UU(Y);if(U.push($,!0),U.err)throw U.msg||fy[U.err];return U.result}function fo0($,Y){return Y=Y||{},Y.raw=!0,uy($,Y)}uo0.Inflate=UU;uo0.inflate=uy;uo0.inflateRaw=fo0;uo0.ungzip=uy});var j50=E((Ud1,T50)=>{var po0=I3().assign,do0=C$0(),mo0=B50(),lo0=xy(),P50={};po0(P50,do0,mo0,lo0);T50.exports=P50});var C50=E((ao0)=>{var oo0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",ro0=j50(),E50=n4(),MO=I$(),so0=oo0?"uint8array":"array";ao0.magic="\b\x00";function zU($,Y){MO.call(this,"FlateWorker/"+$),this._pako=null,this._pakoAction=$,this._pakoOptions=Y,this.meta={}}E50.inherits(zU,MO);zU.prototype.processChunk=function($){if(this.meta=$.meta,this._pako===null)this._createPako();this._pako.push(E50.transformTo(so0,$.data),!1)};zU.prototype.flush=function(){if(MO.prototype.flush.call(this),this._pako===null)this._createPako();this._pako.push([],!0)};zU.prototype.cleanUp=function(){MO.prototype.cleanUp.call(this),this._pako=null};zU.prototype._createPako=function(){this._pako=new ro0[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var $=this;this._pako.onData=function(Y){$.push({data:Y,meta:$.meta})}};ao0.compressWorker=function($){return new zU("Deflate",$)};ao0.uncompressWorker=function(){return new zU("Inflate",{})}});var by=E((Yr0)=>{var R50=I$();Yr0.STORE={magic:"\x00\x00",compressWorker:function(){return new R50("STORE compression")},uncompressWorker:function(){return new R50("STORE decompression")}};Yr0.DEFLATE=C50()});var iy=E((Qr0)=>{Qr0.LOCAL_FILE_HEADER="PK\x03\x04";Qr0.CENTRAL_FILE_HEADER="PK\x01\x02";Qr0.CENTRAL_DIRECTORY_END="PK\x05\x06";Qr0.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07";Qr0.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06";Qr0.DATA_DESCRIPTOR="PK\x07\b"});var S50=E((Id1,h50)=>{var FJ=n4(),wJ=I$(),cy=IJ(),_50=$O(),OO=iy(),O4=function($,Y){var U="",z;for(z=0;z>>8;return U},Xr0=function($,Y){var U=$;if(!$)U=Y?16893:33204;return(U&65535)<<16},Zr0=function($){return($||0)&63},v50=function($,Y,U,z,Q,J){var{file:I,compression:K}=$,G=J!==cy.utf8encode,H=FJ.transformTo("string",J(I.name)),W=FJ.transformTo("string",cy.utf8encode(I.name)),X=I.comment,Z=FJ.transformTo("string",J(X)),q=FJ.transformTo("string",cy.utf8encode(X)),V=W.length!==I.name.length,F=q.length!==X.length,M,w,N="",O="",D="",P=I.dir,T=I.date,A={crc32:0,compressedSize:0,uncompressedSize:0};if(!Y||U)A.crc32=$.crc32,A.compressedSize=$.compressedSize,A.uncompressedSize=$.uncompressedSize;var j=0;if(Y)j|=8;if(!G&&(V||F))j|=2048;var C=0,b=0;if(P)C|=16;if(Q==="UNIX")b=798,C|=Xr0(I.unixPermissions,P);else b=20,C|=Zr0(I.dosPermissions,P);if(M=T.getUTCHours(),M=M<<6,M=M|T.getUTCMinutes(),M=M<<5,M=M|T.getUTCSeconds()/2,w=T.getUTCFullYear()-1980,w=w<<4,w=w|T.getUTCMonth()+1,w=w<<5,w=w|T.getUTCDate(),V)O=O4(1,1)+O4(_50(H),4)+W,N+="up"+O4(O.length,2)+O;if(F)D=O4(1,1)+O4(_50(Z),4)+q,N+="uc"+O4(D.length,2)+D;var x="";x+=` -\x00`,x+=O4(j,2),x+=K.magic,x+=O4(M,2),x+=O4(w,2),x+=O4(A.crc32,4),x+=O4(A.compressedSize,4),x+=O4(A.uncompressedSize,4),x+=O4(H.length,2),x+=O4(N.length,2);var S=OO.LOCAL_FILE_HEADER+x+H+N,i=OO.CENTRAL_FILE_HEADER+O4(b,2)+x+O4(Z.length,2)+"\x00\x00\x00\x00"+O4(C,4)+O4(z,4)+H+N+Z;return{fileRecord:S,dirRecord:i}},qr0=function($,Y,U,z,Q){var J="",I=FJ.transformTo("string",Q(z));return J=OO.CENTRAL_DIRECTORY_END+"\x00\x00\x00\x00"+O4($,2)+O4($,2)+O4(Y,4)+O4(U,4)+O4(I.length,2)+I,J},Vr0=function($){var Y="";return Y=OO.DATA_DESCRIPTOR+O4($.crc32,4)+O4($.compressedSize,4)+O4($.uncompressedSize,4),Y};function X5($,Y,U,z){wJ.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=Y,this.zipPlatform=U,this.encodeFileName=z,this.streamFiles=$,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}FJ.inherits(X5,wJ);X5.prototype.push=function($){var Y=$.meta.percent||0,U=this.entriesCount,z=this._sources.length;if(this.accumulate)this.contentBuffer.push($);else this.bytesWritten+=$.data.length,wJ.prototype.push.call(this,{data:$.data,meta:{currentFile:this.currentFile,percent:U?(Y+100*(U-z-1))/U:100}})};X5.prototype.openedSource=function($){this.currentSourceOffset=this.bytesWritten,this.currentFile=$.file.name;var Y=this.streamFiles&&!$.file.dir;if(Y){var U=v50($,Y,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:U.fileRecord,meta:{percent:0}})}else this.accumulate=!0};X5.prototype.closedSource=function($){this.accumulate=!1;var Y=this.streamFiles&&!$.file.dir,U=v50($,Y,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(U.dirRecord),Y)this.push({data:Vr0($),meta:{percent:100}});else{this.push({data:U.fileRecord,meta:{percent:0}});while(this.contentBuffer.length)this.push(this.contentBuffer.shift())}this.currentFile=null};X5.prototype.flush=function(){var $=this.bytesWritten;for(var Y=0;Y{var Lr0=by(),Fr0=S50(),wr0=function($,Y){var U=$||Y,z=Lr0[U];if(!z)throw Error(U+" is not a valid compression method !");return z};Mr0.generateWorker=function($,Y,U){var z=new Fr0(Y.streamFiles,U,Y.platform,Y.encodeFileName),Q=0;try{$.forEach(function(J,I){Q++;var K=wr0(I.options.compression,Y.compression),G=I.options.compressionOptions||Y.compressionOptions||{},H=I.dir,W=I.date;I._compressWorker(K,G).withStreamInfo("file",{name:J,dir:H,date:W,comment:I.comment||"",unixPermissions:I.unixPermissions,dosPermissions:I.dosPermissions}).pipe(z)}),z.entriesCount=Q}catch(J){z.error(J)}return z}});var k50=E((Gd1,y50)=>{var Nr0=n4(),NO=I$();function wW($,Y){NO.call(this,"Nodejs stream input adapter for "+$),this._upstreamEnded=!1,this._bindStream(Y)}Nr0.inherits(wW,NO);wW.prototype._bindStream=function($){var Y=this;this._stream=$,$.pause(),$.on("data",function(U){Y.push({data:U,meta:{percent:0}})}).on("error",function(U){if(Y.isPaused)this.generatedError=U;else Y.error(U)}).on("end",function(){if(Y.isPaused)Y._upstreamEnded=!0;else Y.end()})};wW.prototype.pause=function(){if(!NO.prototype.pause.call(this))return!1;return this._stream.pause(),!0};wW.prototype.resume=function(){if(!NO.prototype.resume.call(this))return!1;if(this._upstreamEnded)this.end();else this._stream.resume();return!0};y50.exports=wW});var m50=E((Hd1,d50)=>{var Dr0=IJ(),MW=n4(),b50=I$(),Ar0=mg(),i50=lg(),x50=YO(),Br0=f80(),Pr0=g50(),f50=sH(),Tr0=k50(),c50=function($,Y,U){var z=MW.getTypeOf(Y),Q,J=MW.extend(U||{},i50);if(J.date=J.date||new Date,J.compression!==null)J.compression=J.compression.toUpperCase();if(typeof J.unixPermissions==="string")J.unixPermissions=parseInt(J.unixPermissions,8);if(J.unixPermissions&&J.unixPermissions&16384)J.dir=!0;if(J.dosPermissions&&J.dosPermissions&16)J.dir=!0;if(J.dir)$=n50($);if(J.createFolders&&(Q=jr0($)))p50.call(this,Q,!0);var I=z==="string"&&J.binary===!1&&J.base64===!1;if(!U||typeof U.binary>"u")J.binary=!I;var K=Y instanceof x50&&Y.uncompressedSize===0;if(K||J.dir||!Y||Y.length===0)J.base64=!1,J.binary=!0,Y="",J.compression="STORE",z="string";var G=null;if(Y instanceof x50||Y instanceof b50)G=Y;else if(f50.isNode&&f50.isStream(Y))G=new Tr0($,Y);else G=MW.prepareContent($,Y,J.binary,J.optimizedBinaryString,J.base64);var H=new Br0($,G,J);this.files[$]=H},jr0=function($){if($.slice(-1)==="/")$=$.substring(0,$.length-1);var Y=$.lastIndexOf("/");return Y>0?$.substring(0,Y):""},n50=function($){if($.slice(-1)!=="/")$+="/";return $},p50=function($,Y){if(Y=typeof Y<"u"?Y:i50.createFolders,$=n50($),!this.files[$])c50.call(this,$,null,{dir:!0,createFolders:Y});return this.files[$]};function u50($){return Object.prototype.toString.call($)==="[object RegExp]"}var Er0={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function($){var Y,U,z;for(Y in this.files)if(z=this.files[Y],U=Y.slice(this.root.length,Y.length),U&&Y.slice(0,this.root.length)===this.root)$(U,z)},filter:function($){var Y=[];return this.forEach(function(U,z){if($(U,z))Y.push(z)}),Y},file:function($,Y,U){if(arguments.length===1)if(u50($)){var z=$;return this.filter(function(J,I){return!I.dir&&z.test(J)})}else{var Q=this.files[this.root+$];if(Q&&!Q.dir)return Q;else return null}else $=this.root+$,c50.call(this,$,Y,U);return this},folder:function($){if(!$)return this;if(u50($))return this.filter(function(Q,J){return J.dir&&$.test(Q)});var Y=this.root+$,U=p50.call(this,Y),z=this.clone();return z.root=U.name,z},remove:function($){$=this.root+$;var Y=this.files[$];if(!Y){if($.slice(-1)!=="/")$+="/";Y=this.files[$]}if(Y&&!Y.dir)delete this.files[$];else{var U=this.filter(function(Q,J){return J.name.slice(0,$.length)===$});for(var z=0;z{var Cr0=n4();function l50($){this.data=$,this.length=$.length,this.index=0,this.zero=0}l50.prototype={checkOffset:function($){this.checkIndex(this.index+$)},checkIndex:function($){if(this.length=this.index;U--)Y=(Y<<8)+this.byteAt(U);return this.index+=$,Y},readString:function($){return Cr0.transformTo("string",this.readData($))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var $=this.readInt(4);return new Date(Date.UTC(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1))}};o50.exports=l50});var py=E((Xd1,s50)=>{var r50=ny(),Rr0=n4();function MJ($){r50.call(this,$);for(var Y=0;Y=0;--J)if(this.data[J]===Y&&this.data[J+1]===U&&this.data[J+2]===z&&this.data[J+3]===Q)return J-this.zero;return-1};MJ.prototype.readAndCheckSignature=function($){var Y=$.charCodeAt(0),U=$.charCodeAt(1),z=$.charCodeAt(2),Q=$.charCodeAt(3),J=this.readData(4);return Y===J[0]&&U===J[1]&&z===J[2]&&Q===J[3]};MJ.prototype.readData=function($){if(this.checkOffset($),$===0)return[];var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};s50.exports=MJ});var e50=E((Zd1,t50)=>{var a50=ny(),_r0=n4();function OJ($){a50.call(this,$)}_r0.inherits(OJ,a50);OJ.prototype.byteAt=function($){return this.data.charCodeAt(this.zero+$)};OJ.prototype.lastIndexOfSignature=function($){return this.data.lastIndexOf($)-this.zero};OJ.prototype.readAndCheckSignature=function($){var Y=this.readData(4);return $===Y};OJ.prototype.readData=function($){this.checkOffset($);var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};t50.exports=OJ});var my=E((qd1,Y90)=>{var $90=py(),vr0=n4();function dy($){$90.call(this,$)}vr0.inherits(dy,$90);dy.prototype.readData=function($){if(this.checkOffset($),$===0)return new Uint8Array(0);var Y=this.data.subarray(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};Y90.exports=dy});var Q90=E((Vd1,z90)=>{var U90=my(),hr0=n4();function ly($){U90.call(this,$)}hr0.inherits(ly,U90);ly.prototype.readData=function($){this.checkOffset($);var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};z90.exports=ly});var oy=E((Ld1,I90)=>{var DO=n4(),J90=J3(),Sr0=py(),gr0=e50(),yr0=Q90(),kr0=my();I90.exports=function($){var Y=DO.getTypeOf($);if(DO.checkSupport(Y),Y==="string"&&!J90.uint8array)return new gr0($);if(Y==="nodebuffer")return new yr0($);if(J90.uint8array)return new kr0(DO.transformTo("uint8array",$));return new Sr0(DO.transformTo("array",$))}});var W90=E((Fd1,H90)=>{var ry=oy(),d7=n4(),xr0=YO(),K90=$O(),AO=IJ(),BO=by(),fr0=J3(),ur0=0,br0=3,ir0=function($){for(var Y in BO){if(!Object.prototype.hasOwnProperty.call(BO,Y))continue;if(BO[Y].magic===$)return BO[Y]}return null};function G90($,Y){this.options=$,this.loadOptions=Y}G90.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function($){var Y,U;if($.skip(22),this.fileNameLength=$.readInt(2),U=$.readInt(2),this.fileName=$.readData(this.fileNameLength),$.skip(U),this.compressedSize===-1||this.uncompressedSize===-1)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(Y=ir0(this.compressionMethod),Y===null)throw Error("Corrupted zip : compression "+d7.pretty(this.compressionMethod)+" unknown (inner file : "+d7.transformTo("string",this.fileName)+")");this.decompressed=new xr0(this.compressedSize,this.uncompressedSize,this.crc32,Y,$.readData(this.compressedSize))},readCentralPart:function($){this.versionMadeBy=$.readInt(2),$.skip(2),this.bitFlag=$.readInt(2),this.compressionMethod=$.readString(2),this.date=$.readDate(),this.crc32=$.readInt(4),this.compressedSize=$.readInt(4),this.uncompressedSize=$.readInt(4);var Y=$.readInt(2);if(this.extraFieldsLength=$.readInt(2),this.fileCommentLength=$.readInt(2),this.diskNumberStart=$.readInt(2),this.internalFileAttributes=$.readInt(2),this.externalFileAttributes=$.readInt(4),this.localHeaderOffset=$.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");$.skip(Y),this.readExtraFields($),this.parseZIP64ExtraField($),this.fileComment=$.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var $=this.versionMadeBy>>8;if(this.dir=this.externalFileAttributes&16?!0:!1,$===ur0)this.dosPermissions=this.externalFileAttributes&63;if($===br0)this.unixPermissions=this.externalFileAttributes>>16&65535;if(!this.dir&&this.fileNameStr.slice(-1)==="/")this.dir=!0},parseZIP64ExtraField:function(){if(!this.extraFields[1])return;var $=ry(this.extraFields[1].value);if(this.uncompressedSize===d7.MAX_VALUE_32BITS)this.uncompressedSize=$.readInt(8);if(this.compressedSize===d7.MAX_VALUE_32BITS)this.compressedSize=$.readInt(8);if(this.localHeaderOffset===d7.MAX_VALUE_32BITS)this.localHeaderOffset=$.readInt(8);if(this.diskNumberStart===d7.MAX_VALUE_32BITS)this.diskNumberStart=$.readInt(4)},readExtraFields:function($){var Y=$.index+this.extraFieldsLength,U,z,Q;if(!this.extraFields)this.extraFields={};while($.index+4{var cr0=oy(),H3=n4(),Z5=iy(),nr0=W90(),pr0=J3();function X90($){this.files=[],this.loadOptions=$}X90.prototype={checkSignature:function($){if(!this.reader.readAndCheckSignature($)){this.reader.index-=4;var Y=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+H3.pretty(Y)+", expected "+H3.pretty($)+")")}},isSignature:function($,Y){var U=this.reader.index;this.reader.setIndex($);var z=this.reader.readString(4),Q=z===Y;return this.reader.setIndex(U),Q},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var $=this.reader.readData(this.zipCommentLength),Y=pr0.uint8array?"uint8array":"array",U=H3.transformTo(Y,$);this.zipComment=this.loadOptions.decodeFileName(U)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var $=this.zip64EndOfCentralSize-44,Y=0,U,z,Q;while(Y<$)U=this.reader.readInt(2),z=this.reader.readInt(4),Q=this.reader.readData(z),this.zip64ExtensibleData[U]={id:U,length:z,value:Q}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var $,Y;for($=0;$0)if(this.isSignature(U,Z5.CENTRAL_FILE_HEADER));else this.reader.zero=Q;else if(Q<0)throw Error("Corrupted zip: missing "+Math.abs(Q)+" bytes.")},prepareReader:function($){this.reader=cr0($)},load:function($){this.prepareReader($),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};Z90.exports=X90});var F90=E((Md1,L90)=>{var sy=n4(),PO=zJ(),dr0=IJ(),mr0=q90(),lr0=sg(),V90=sH();function or0($){return new PO.Promise(function(Y,U){var z=$.decompressed.getContentWorker().pipe(new lr0);z.on("error",function(Q){U(Q)}).on("end",function(){if(z.streamInfo.crc32!==$.decompressed.crc32)U(Error("Corrupted zip : CRC32 mismatch"));else Y()}).resume()})}L90.exports=function($,Y){var U=this;if(Y=sy.extend(Y||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:dr0.utf8decode}),V90.isNode&&V90.isStream($))return PO.Promise.reject(Error("JSZip can't accept a stream when loading a zip file."));return sy.prepareContent("the loaded zip file",$,!0,Y.optimizedBinaryString,Y.base64).then(function(z){var Q=new mr0(Y);return Q.load(z),Q}).then(function(Q){var J=[PO.Promise.resolve(Q)],I=Q.files;if(Y.checkCRC32)for(var K=0;K{function R$(){if(!(this instanceof R$))return new R$;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var $=new R$;for(var Y in this)if(typeof this[Y]!=="function")$[Y]=this[Y];return $}}R$.prototype=m50();R$.prototype.loadAsync=F90();R$.support=J3();R$.defaults=lg();R$.version="3.10.1";R$.loadAsync=function($,Y){return new R$().loadAsync($,Y)};R$.external=zJ();w90.exports=R$});var B90=E((Nd1,A90)=>{function M90($,Y){var U=Object.keys($);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols($);Y&&(z=z.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),U.push.apply(U,z)}return U}function O90($){for(var Y=1;Y0)this.tail.next=z;else this.head=z;this.tail=z,++this.length}},{key:"unshift",value:function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q}},{key:"concat",value:function(U){if(this.length===0)return TO.alloc(0);var z=TO.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)Us0(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z}},{key:"consume",value:function(U,z){var Q;if(UI.length?I.length:U;if(K===I.length)J+=I;else J+=I.slice(0,U);if(U-=K,U===0){if(K===I.length)if(++Q,z.next)this.head=z.next;else this.head=this.tail=null;else this.head=z,z.data=I.slice(K);break}++Q}return this.length-=Q,J}},{key:"_getBuffer",value:function(U){var z=TO.allocUnsafe(U),Q=this.head,J=1;Q.data.copy(z),U-=Q.data.length;while(Q=Q.next){var I=Q.data,K=U>I.length?I.length:U;if(I.copy(z,z.length-U,0,K),U-=K,U===0){if(K===I.length)if(++J,Q.next)this.head=Q.next;else this.head=this.tail=null;else this.head=Q,Q.data=I.slice(K);break}++J}return this.length-=J,z}},{key:Ys0,value:function(U,z){return ty(this,O90(O90({},z),{},{depth:0,customInspect:!1}))}}]),$}()});var $k=E((Dd1,T90)=>{function zs0($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)process.nextTick(ey,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(ey,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J)if(!U._writableState)process.nextTick(P90,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,process.nextTick(P90,U,J);else process.nextTick(jO,U);else if(Y)process.nextTick(jO,U),Y(J);else process.nextTick(jO,U)}),this}function P90($,Y){ey($,Y),jO($)}function jO($){if($._writableState&&!$._writableState.emitClose)return;if($._readableState&&!$._readableState.emitClose)return;$.emit("close")}function Qs0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function ey($,Y){$.emit("error",Y)}function Js0($,Y){var{_readableState:U,_writableState:z}=$;if(U&&U.autoDestroy||z&&z.autoDestroy)$.destroy(Y);else $.emit("error",Y)}T90.exports={destroy:zs0,undestroy:Qs0,errorOrDestroy:Js0}});var m7=E((Hs0,C90)=>{var E90={};function _$($,Y,U){if(!U)U=Error;function z(J,I,K){if(typeof Y==="string")return Y;else return Y(J,I,K)}class Q extends U{constructor(J,I,K){super(z(J,I,K))}}Q.prototype.name=U.name,Q.prototype.code=$,E90[$]=Q}function j90($,Y){if(Array.isArray($)){let U=$.length;if($=$.map((z)=>String(z)),U>2)return`one of ${Y} ${$.slice(0,U-1).join(", ")}, or `+$[U-1];else if(U===2)return`one of ${Y} ${$[0]} or ${$[1]}`;else return`of ${Y} ${$[0]}`}else return`of ${Y} ${String($)}`}function Is0($,Y,U){return $.substr(!U||U<0?0:+U,Y.length)===Y}function Ks0($,Y,U){if(U===void 0||U>$.length)U=$.length;return $.substring(U-Y.length,U)===Y}function Gs0($,Y,U){if(typeof U!=="number")U=0;if(U+Y.length>$.length)return!1;else return $.indexOf(Y,U)!==-1}_$("ERR_INVALID_OPT_VALUE",function($,Y){return'The value "'+Y+'" is invalid for option "'+$+'"'},TypeError);_$("ERR_INVALID_ARG_TYPE",function($,Y,U){let z;if(typeof Y==="string"&&Is0(Y,"not "))z="must not be",Y=Y.replace(/^not /,"");else z="must be";let Q;if(Ks0($," argument"))Q=`The ${$} ${z} ${j90(Y,"type")}`;else{let J=Gs0($,".")?"property":"argument";Q=`The "${$}" ${J} ${z} ${j90(Y,"type")}`}return Q+=`. Received type ${typeof U}`,Q},TypeError);_$("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");_$("ERR_METHOD_NOT_IMPLEMENTED",function($){return"The "+$+" method is not implemented"});_$("ERR_STREAM_PREMATURE_CLOSE","Premature close");_$("ERR_STREAM_DESTROYED",function($){return"Cannot call "+$+" after a stream was destroyed"});_$("ERR_MULTIPLE_CALLBACK","Callback called multiple times");_$("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");_$("ERR_STREAM_WRITE_AFTER_END","write after end");_$("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);_$("ERR_UNKNOWN_ENCODING",function($){return"Unknown encoding: "+$},TypeError);_$("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Hs0.codes=E90});var Yk=E((Ad1,R90)=>{var Xs0=m7().codes.ERR_INVALID_OPT_VALUE;function Zs0($,Y,U){return $.highWaterMark!=null?$.highWaterMark:Y?$[U]:null}function qs0($,Y,U,z){var Q=Zs0(Y,z,U);if(Q!=null){if(!(isFinite(Q)&&Math.floor(Q)===Q)||Q<0){var J=z?U:"highWaterMark";throw new Xs0(J,Q)}return Math.floor(Q)}return $.objectMode?16:16384}R90.exports={getHighWaterMark:qs0}});var Qk=E((Bd1,y90)=>{y90.exports=U6;function v90($){var Y=this;this.next=null,this.entry=null,this.finish=function(){bs0(Y,$)}}var NJ;U6.WritableState=NW;var Vs0={deprecate:y7()},h90=I0("stream"),CO=I0("buffer").Buffer,Ls0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Fs0($){return CO.from($)}function ws0($){return CO.isBuffer($)||$ instanceof Ls0}var zk=$k(),Ms0=Yk(),Os0=Ms0.getHighWaterMark,l7=m7().codes,Ns0=l7.ERR_INVALID_ARG_TYPE,Ds0=l7.ERR_METHOD_NOT_IMPLEMENTED,As0=l7.ERR_MULTIPLE_CALLBACK,Bs0=l7.ERR_STREAM_CANNOT_PIPE,Ps0=l7.ERR_STREAM_DESTROYED,Ts0=l7.ERR_STREAM_NULL_VALUES,js0=l7.ERR_STREAM_WRITE_AFTER_END,Es0=l7.ERR_UNKNOWN_ENCODING,DJ=zk.errorOrDestroy;X1()(U6,h90);function Cs0(){}function NW($,Y,U){if(NJ=NJ||QU(),$=$||{},typeof U!=="boolean")U=Y instanceof NJ;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;this.highWaterMark=Os0(this,$,"writableHighWaterMark",U),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var z=$.decodeStrings===!1;this.decodeStrings=!z,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){ys0(Y,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new v90(this)}NW.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(NW.prototype,"buffer",{get:Vs0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var EO;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")EO=Function.prototype[Symbol.hasInstance],Object.defineProperty(U6,Symbol.hasInstance,{value:function(Y){if(EO.call(this,Y))return!0;if(this!==U6)return!1;return Y&&Y._writableState instanceof NW}});else EO=function(Y){return Y instanceof this};function U6($){NJ=NJ||QU();var Y=this instanceof NJ;if(!Y&&!EO.call(U6,this))return new U6($);if(this._writableState=new NW($,this,Y),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}h90.call(this)}U6.prototype.pipe=function(){DJ(this,new Bs0)};function Rs0($,Y){var U=new js0;DJ($,U),process.nextTick(Y,U)}function _s0($,Y,U,z){var Q;if(U===null)Q=new Ts0;else if(typeof U!=="string"&&!Y.objectMode)Q=new Ns0("chunk",["string","Buffer"],U);if(Q)return DJ($,Q),process.nextTick(z,Q),!1;return!0}U6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&ws0($);if(J&&!CO.isBuffer($))$=Fs0($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=Cs0;if(z.ending)Rs0(this,U);else if(J||_s0(this,z,$,U))z.pendingcb++,Q=hs0(this,z,J,$,Y,U);return Q};U6.prototype.cork=function(){this._writableState.corked++};U6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)S90(this,$)}};U6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw new Es0(Y);return this._writableState.defaultEncoding=Y,this};Object.defineProperty(U6.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function vs0($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=CO.from(Y,U);return Y}Object.defineProperty(U6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function hs0($,Y,U,z,Q,J){if(!U){var I=vs0(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var is0=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};x90.exports=z9;var k90=Ik(),Jk=Qk();X1()(z9,k90);{RO=is0(Jk.prototype);for(DW=0;DW{/*! safe-buffer. MIT License. Feross Aboukhadijeh */var _O=I0("buffer"),Q9=_O.Buffer;function f90($,Y){for(var U in $)Y[U]=$[U]}if(Q9.from&&Q9.alloc&&Q9.allocUnsafe&&Q9.allocUnsafeSlow)u90.exports=_O;else f90(_O,Kk),Kk.Buffer=JU;function JU($,Y,U){return Q9($,Y,U)}JU.prototype=Object.create(Q9.prototype);f90(Q9,JU);JU.from=function($,Y,U){if(typeof $==="number")throw TypeError("Argument must not be a number");return Q9($,Y,U)};JU.alloc=function($,Y,U){if(typeof $!=="number")throw TypeError("Argument must be a number");var z=Q9($);if(Y!==void 0)if(typeof U==="string")z.fill(Y,U);else z.fill(Y);else z.fill(0);return z};JU.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return Q9($)};JU.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return _O.SlowBuffer($)}});var AJ=E((za0)=>{var Hk=b90().Buffer,i90=Hk.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ps0($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function ds0($){var Y=ps0($);if(typeof Y!=="string"&&(Hk.isEncoding===i90||!i90($)))throw Error("Unknown encoding: "+$);return Y||$}za0.StringDecoder=BW;function BW($){this.encoding=ds0($);var Y;switch(this.encoding){case"utf16le":this.text=as0,this.end=ts0,Y=4;break;case"utf8":this.fillLast=os0,Y=4;break;case"base64":this.text=es0,this.end=$a0,Y=3;break;default:this.write=Ya0,this.end=Ua0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Hk.allocUnsafe(Y)}BW.prototype.write=function($){if($.length===0)return"";var Y,U;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return Y?Y+this.text($,U):this.text($,U);return Y||""};BW.prototype.end=ss0;BW.prototype.text=rs0;BW.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Gk($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function ms0($,Y,U){var z=Y.length-1;if(z=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--z=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--z=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function ls0($,Y,U){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function os0($){var Y=this.lastTotal-this.lastNeed,U=ls0(this,$,Y);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function rs0($,Y){var U=ms0(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=U;var z=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function ss0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function as0($,Y){if(($.length-Y)%2===0){var U=$.toString("utf16le",Y);if(U){var z=U.charCodeAt(U.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function ts0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,U)}return Y}function es0($,Y){var U=($.length-Y)%3;if(U===0)return $.toString("base64",Y);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-U)}function $a0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function Ya0($){return $.toString(this.encoding)}function Ua0($){return $&&$.length?this.write($):""}});var vO=E((jd1,p90)=>{var c90=m7().codes.ERR_STREAM_PREMATURE_CLOSE;function Ja0($){var Y=!1;return function(){if(Y)return;Y=!0;for(var U=arguments.length,z=Array(U),Q=0;Q{var hO;function o7($,Y,U){if(Y=Ga0(Y),Y in $)Object.defineProperty($,Y,{value:U,enumerable:!0,configurable:!0,writable:!0});else $[Y]=U;return $}function Ga0($){var Y=Ha0($,"string");return typeof Y==="symbol"?Y:String(Y)}function Ha0($,Y){if(typeof $!=="object"||$===null)return $;var U=$[Symbol.toPrimitive];if(U!==void 0){var z=U.call($,Y||"default");if(typeof z!=="object")return z;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var Wa0=vO(),r7=Symbol("lastResolve"),IU=Symbol("lastReject"),PW=Symbol("error"),SO=Symbol("ended"),KU=Symbol("lastPromise"),Wk=Symbol("handlePromise"),GU=Symbol("stream");function s7($,Y){return{value:$,done:Y}}function Xa0($){var Y=$[r7];if(Y!==null){var U=$[GU].read();if(U!==null)$[KU]=null,$[r7]=null,$[IU]=null,Y(s7(U,!1))}}function Za0($){process.nextTick(Xa0,$)}function qa0($,Y){return function(U,z){$.then(function(){if(Y[SO]){U(s7(void 0,!0));return}Y[Wk](U,z)},z)}}var Va0=Object.getPrototypeOf(function(){}),La0=Object.setPrototypeOf((hO={get stream(){return this[GU]},next:function(){var Y=this,U=this[PW];if(U!==null)return Promise.reject(U);if(this[SO])return Promise.resolve(s7(void 0,!0));if(this[GU].destroyed)return new Promise(function(I,K){process.nextTick(function(){if(Y[PW])K(Y[PW]);else I(s7(void 0,!0))})});var z=this[KU],Q;if(z)Q=new Promise(qa0(z,this));else{var J=this[GU].read();if(J!==null)return Promise.resolve(s7(J,!1));Q=new Promise(this[Wk])}return this[KU]=Q,Q}},o7(hO,Symbol.asyncIterator,function(){return this}),o7(hO,"return",function(){var Y=this;return new Promise(function(U,z){Y[GU].destroy(null,function(Q){if(Q){z(Q);return}U(s7(void 0,!0))})})}),hO),Va0),Fa0=function(Y){var U,z=Object.create(La0,(U={},o7(U,GU,{value:Y,writable:!0}),o7(U,r7,{value:null,writable:!0}),o7(U,IU,{value:null,writable:!0}),o7(U,PW,{value:null,writable:!0}),o7(U,SO,{value:Y._readableState.endEmitted,writable:!0}),o7(U,Wk,{value:function(J,I){var K=z[GU].read();if(K)z[KU]=null,z[r7]=null,z[IU]=null,J(s7(K,!1));else z[r7]=J,z[IU]=I},writable:!0}),U));return z[KU]=null,Wa0(Y,function(Q){if(Q&&Q.code!=="ERR_STREAM_PREMATURE_CLOSE"){var J=z[IU];if(J!==null)z[KU]=null,z[r7]=null,z[IU]=null,J(Q);z[PW]=Q;return}var I=z[r7];if(I!==null)z[KU]=null,z[r7]=null,z[IU]=null,I(s7(void 0,!0));z[SO]=!0}),Y.on("readable",Za0.bind(null,z)),z};d90.exports=Fa0});var s90=E((Cd1,r90)=>{function l90($,Y,U,z,Q,J,I){try{var K=$[J](I),G=K.value}catch(H){U(H);return}if(K.done)Y(G);else Promise.resolve(G).then(z,Q)}function wa0($){return function(){var Y=this,U=arguments;return new Promise(function(z,Q){var J=$.apply(Y,U);function I(G){l90(J,z,Q,I,K,"next",G)}function K(G){l90(J,z,Q,I,K,"throw",G)}I(void 0)})}}function o90($,Y){var U=Object.keys($);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols($);Y&&(z=z.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),U.push.apply(U,z)}return U}function Ma0($){for(var Y=1;Y{I30.exports=p1;var BJ;p1.ReadableState=$30;var Rd1=I0("events").EventEmitter,e90=function(Y,U){return Y.listeners(U).length},jW=I0("stream"),gO=I0("buffer").Buffer,Pa0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Ta0($){return gO.from($)}function ja0($){return gO.isBuffer($)||$ instanceof Pa0}var Xk=I0("util"),C1;if(Xk&&Xk.debuglog)C1=Xk.debuglog("stream");else C1=function(){};var Ea0=B90(),Mk=$k(),Ca0=Yk(),Ra0=Ca0.getHighWaterMark,yO=m7().codes,_a0=yO.ERR_INVALID_ARG_TYPE,va0=yO.ERR_STREAM_PUSH_AFTER_EOF,ha0=yO.ERR_METHOD_NOT_IMPLEMENTED,Sa0=yO.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,PJ,Zk,qk;X1()(p1,jW);var TW=Mk.errorOrDestroy,Vk=["error","close","destroy","pause","resume"];function ga0($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(Array.isArray($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function $30($,Y,U){if(BJ=BJ||QU(),$=$||{},typeof U!=="boolean")U=Y instanceof BJ;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;if(this.highWaterMark=Ra0(this,$,"readableHighWaterMark",U),this.buffer=new Ea0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!PJ)PJ=AJ().StringDecoder;this.decoder=new PJ($.encoding),this.encoding=$.encoding}}function p1($){if(BJ=BJ||QU(),!(this instanceof p1))return new p1($);var Y=this instanceof BJ;if(this._readableState=new $30($,this,Y),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}jW.call(this)}Object.defineProperty(p1.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(Y){if(!this._readableState)return;this._readableState.destroyed=Y}});p1.prototype.destroy=Mk.destroy;p1.prototype._undestroy=Mk.undestroy;p1.prototype._destroy=function($,Y){Y($)};p1.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=gO.from($,Y),Y="";z=!0}}else z=!0;return Y30(this,$,Y,!1,z)};p1.prototype.unshift=function($){return Y30(this,$,null,!0,!1)};function Y30($,Y,U,z,Q){C1("readableAddChunk",Y);var J=$._readableState;if(Y===null)J.reading=!1,xa0($,J);else{var I;if(!Q)I=ya0(J,Y);if(I)TW($,I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==gO.prototype)Y=Ta0(Y);if(z)if(J.endEmitted)TW($,new Sa0);else Lk($,J,Y,!0);else if(J.ended)TW($,new va0);else if(J.destroyed)return!1;else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Lk($,J,Y,!1);else wk($,J);else Lk($,J,Y,!1)}else if(!z)J.reading=!1,wk($,J)}return!J.ended&&(J.length=a90)$=a90;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function t90($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=ka0($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}p1.prototype.read=function($){C1("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(C1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Fk(this);else kO(this);return null}if($=t90($,Y),$===0&&Y.ended){if(Y.length===0)Fk(this);return null}var z=Y.needReadable;if(C1("need readable",z),Y.length===0||Y.length-$0)Q=Q30($,Y);else Q=null;if(Q===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else Y.length-=$,Y.awaitDrain=0;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)Fk(this)}if(Q!==null)this.emit("data",Q);return Q};function xa0($,Y){if(C1("onEofChunk"),Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}if(Y.ended=!0,Y.sync)kO($);else if(Y.needReadable=!1,!Y.emittedReadable)Y.emittedReadable=!0,U30($)}function kO($){var Y=$._readableState;if(C1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)C1("emitReadable",Y.flowing),Y.emittedReadable=!0,process.nextTick(U30,$)}function U30($){var Y=$._readableState;if(C1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,Ok($)}function wk($,Y){if(!Y.readingMore)Y.readingMore=!0,process.nextTick(fa0,$,Y)}function fa0($,Y){while(!Y.reading&&!Y.ended&&(Y.length1&&J30(z.pipes,$)!==-1)&&!H)C1("false write response, pause",z.awaitDrain),z.awaitDrain++;U.pause()}}function Z(M){if(C1("onerror",M),F(),$.removeListener("error",Z),e90($,"error")===0)TW($,M)}ga0($,"error",Z);function q(){$.removeListener("finish",V),F()}$.once("close",q);function V(){C1("onfinish"),$.removeListener("close",q),F()}$.once("finish",V);function F(){C1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)C1("pipe resume"),U.resume();return $};function ua0($){return function(){var U=$._readableState;if(C1("pipeOnDrain",U.awaitDrain),U.awaitDrain)U.awaitDrain--;if(U.awaitDrain===0&&e90($,"data"))U.flowing=!0,Ok($)}}p1.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J0,z.flowing!==!1)this.resume()}else if($==="readable"){if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.flowing=!1,z.emittedReadable=!1,C1("on readable",z.length,z.reading),z.length)kO(this);else if(!z.reading)process.nextTick(ba0,this)}}return U};p1.prototype.addListener=p1.prototype.on;p1.prototype.removeListener=function($,Y){var U=jW.prototype.removeListener.call(this,$,Y);if($==="readable")process.nextTick(z30,this);return U};p1.prototype.removeAllListeners=function($){var Y=jW.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)process.nextTick(z30,this);return Y};function z30($){var Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&!Y.paused)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume()}function ba0($){C1("readable nexttick read 0"),$.read(0)}p1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)C1("resume"),$.flowing=!$.readableListening,ia0(this,$);return $.paused=!1,this};function ia0($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,process.nextTick(ca0,$,Y)}function ca0($,Y){if(C1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),Ok($),Y.flowing&&!Y.reading)$.read(0)}p1.prototype.pause=function(){if(C1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)C1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function Ok($){var Y=$._readableState;C1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}p1.prototype.wrap=function($){var Y=this,U=this._readableState,z=!1;$.on("end",function(){if(C1("wrapped end"),U.decoder&&!U.ended){var I=U.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(C1("wrapped data"),U.decoder)I=U.decoder.write(I);if(U.objectMode&&(I===null||I===void 0))return;else if(!U.objectMode&&(!I||!I.length))return;var K=Y.push(I);if(!K)z=!0,$.pause()});for(var Q in $)if(this[Q]===void 0&&typeof $[Q]==="function")this[Q]=function(K){return function(){return $[K].apply($,arguments)}}(Q);for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.first();else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=Y.buffer.consume($,Y.decoder);return U}function Fk($){var Y=$._readableState;if(C1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,process.nextTick(na0,Y,$)}function na0($,Y){if(C1("endReadableNT",$.endEmitted,$.length),!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.readable=!1,Y.emit("end"),$.autoDestroy){var U=Y._writableState;if(!U||U.autoDestroy&&U.finished)Y.destroy()}}}if(typeof Symbol==="function")p1.from=function($,Y){if(qk===void 0)qk=s90();return qk(p1,$,Y)};function J30($,Y){for(var U=0,z=$.length;U{G30.exports=W3;var xO=m7().codes,pa0=xO.ERR_METHOD_NOT_IMPLEMENTED,da0=xO.ERR_MULTIPLE_CALLBACK,ma0=xO.ERR_TRANSFORM_ALREADY_TRANSFORMING,la0=xO.ERR_TRANSFORM_WITH_LENGTH_0,fO=QU();X1()(W3,fO);function oa0($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(z===null)return this.emit("error",new da0);if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{W30.exports=EW;var H30=Nk();X1()(EW,H30);function EW($){if(!(this instanceof EW))return new EW($);H30.call(this,$)}EW.prototype._transform=function($,Y,U){U(null,$)}});var F30=E((Sd1,L30)=>{var Dk;function sa0($){var Y=!1;return function(){if(Y)return;Y=!0,$.apply(void 0,arguments)}}var V30=m7().codes,aa0=V30.ERR_MISSING_ARGS,ta0=V30.ERR_STREAM_DESTROYED;function Z30($){if($)throw $}function ea0($){return $.setHeader&&typeof $.abort==="function"}function $t0($,Y,U,z){z=sa0(z);var Q=!1;if($.on("close",function(){Q=!0}),Dk===void 0)Dk=vO();Dk($,{readable:Y,writable:U},function(I){if(I)return z(I);Q=!0,z()});var J=!1;return function(I){if(Q)return;if(J)return;if(J=!0,ea0($))return $.abort();if(typeof $.destroy==="function")return $.destroy();z(I||new ta0("pipe"))}}function q30($){$()}function Yt0($,Y){return $.pipe(Y)}function Ut0($){if(!$.length)return Z30;if(typeof $[$.length-1]!=="function")return Z30;return $.pop()}function zt0(){for(var $=arguments.length,Y=Array($),U=0;U<$;U++)Y[U]=arguments[U];var z=Ut0(Y);if(Array.isArray(Y[0]))Y=Y[0];if(Y.length<2)throw new aa0("streams");var Q,J=Y.map(function(I,K){var G=K0;return $t0(I,G,H,function(W){if(!Q)Q=W;if(W)J.forEach(q30);if(G)return;J.forEach(q30),z(Q)})});return Y.reduce(Yt0)}L30.exports=zt0});var E8=E((v$,RW)=>{var CW=I0("stream");if(process.env.READABLE_STREAM==="disable"&&CW)RW.exports=CW.Readable,Object.assign(RW.exports,CW),RW.exports.Stream=CW;else v$=RW.exports=Ik(),v$.Stream=CW||v$,v$.Readable=v$,v$.Writable=Qk(),v$.Duplex=QU(),v$.Transform=Nk(),v$.PassThrough=X30(),v$.finished=vO(),v$.pipeline=F30()});var Z8=E((gd1,O30)=>{var w30=I0("fs"),Qt0=function($,Y,U,z){if($.super_=Y,!z)z=U,U=null;if(U)Object.keys(U).forEach((J)=>{Object.defineProperty($,J,Object.getOwnPropertyDescriptor(U,J))});let Q={constructor:{value:$,enumerable:!1,writable:!1,configurable:!0}};if(z)Object.keys(z).forEach((J)=>{Q[J]=Object.getOwnPropertyDescriptor(z,J)});$.prototype=Object.create(Y.prototype,Q)},Jt0=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,M30={nop(){},promiseImmediate($){return new Promise((Y)=>{if(global.setImmediate)setImmediate(()=>{Y($)});else setTimeout(()=>{Y($)},1)})},inherits:Qt0,dateToExcel($,Y){return 25569+$.getTime()/86400000-(Y?1462:0)},excelToDate($,Y){let U=Math.round(($-25569+(Y?1462:0))*24*3600*1000);return new Date(U)},parsePath($){let Y=$.lastIndexOf("/");return{path:$.substring(0,Y),name:$.substring(Y+1)}},getRelsPath($){let Y=M30.parsePath($);return`${Y.path}/_rels/${Y.name}.rels`},xmlEncode($){let Y=Jt0.exec($);if(!Y)return $;let U="",z="",Q=0,J=Y.index;for(;J<$.length;J++){let I=$.charCodeAt(J);switch(I){case 34:z=""";break;case 38:z="&";break;case 39:z="'";break;case 60:z="<";break;case 62:z=">";break;case 127:z="";break;default:{if(I<=31&&(I<=8||I>=11&&I!==13)){z="";break}continue}}if(Q!==J)U+=$.substring(Q,J);if(Q=J+1,z)U+=z}if(Q!==J)return U+$.substring(Q,J);return U},xmlDecode($){return $.replace(/&([a-z]*);/g,(Y)=>{switch(Y){case"<":return"<";case">":return">";case"&":return"&";case"'":return"'";case""":return'"';default:return Y}})},validInt($){let Y=parseInt($,10);return!Number.isNaN(Y)?Y:0},isDateFmt($){if(!$)return!1;return $=$.replace(/\[[^\]]*]/g,""),$=$.replace(/"[^"]*"/g,""),$.match(/[ymdhMsb]+/)!==null},fs:{exists($){return new Promise((Y)=>{w30.access($,w30.constants.F_OK,(U)=>{Y(!U)})})}},toIsoDateString($){return $.toIsoString().subsstr(0,10)},parseBoolean($){return $===!0||$==="true"||$===1||$==="1"}};O30.exports=M30});var Ak=E((yd1,D30)=>{class N30{constructor($){this._buf=Buffer.alloc($&&$.size||16384),this._encoding=$&&$.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){if(!this._buffer)this._buffer=Buffer.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length);return this._buffer}reset($){$=$||0,this._buffer=void 0,this._inPos=$}_grow($){let Y=this._buf.length*2;while(Y<$)Y*=2;let U=Buffer.alloc(Y);this._buf.copy(U,0),this._buf=U}addText($){this._buffer=void 0;let Y=this._inPos+this._buf.write($,this._inPos,this._encoding);while(Y>=this._buf.length-4)this._grow(this._inPos+$.length),Y=this._inPos+this._buf.write($,this._inPos,this._encoding);this._inPos=Y}addStringBuf($){if($.length){if(this._buffer=void 0,this.length+$.length>this.capacity)this._grow(this.length+$.length);$._buf.copy(this._buf,this._inPos,0,$.length),this._inPos+=$.length}}}D30.exports=N30});var _W=E((kd1,C30)=>{var It0=E8(),A30=Z8(),Kt0=Ak();class B30{constructor($,Y){this._data=$,this._encoding=Y}get length(){return this.toBuffer().length}copy($,Y,U,z){return this.toBuffer().copy($,Y,U,z)}toBuffer(){if(!this._buffer)this._buffer=Buffer.from(this._data,this._encoding);return this._buffer}}class P30{constructor($){this._data=$}get length(){return this._data.length}copy($,Y,U,z){return this._data._buf.copy($,Y,U,z)}toBuffer(){return this._data.toBuffer()}}class T30{constructor($){this._data=$}get length(){return this._data.length}copy($,Y,U,z){this._data.copy($,Y,U,z)}toBuffer(){return this._data}}class j30{constructor($){this.size=$,this.buffer=Buffer.alloc($),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;let $=Buffer.alloc(this.iWrite-this.iRead);return this.buffer.copy($,0,this.iRead,this.iWrite),$}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read($){let Y;if($===0)return null;if($===void 0||$>=this.length)return Y=this.toBuffer(),this.iRead=this.iWrite,Y;return Y=Buffer.alloc($),this.buffer.copy(Y,0,this.iRead,$),this.iRead+=$,Y}write($,Y,U){let z=Math.min(U,this.size-this.iWrite);return $.copy(this.buffer,this.iWrite,Y,Y+z),this.iWrite+=z,z}}var E30=function($){$=$||{},this.bufSize=$.bufSize||1048576,this.buffers=[],this.batch=$.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};A30.inherits(E30,It0.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return Buffer.concat(this.buffers.map(($)=>$.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){let Y=this.buffers[this.buffers.length-1];if(!Y.full)return Y}let $=new j30(this.bufSize);return this.buffers.push($),$},async _pipe($){let Y=function(U){return new Promise((z)=>{U.write($.toBuffer(),()=>{z()})})};await Promise.all(this.pipes.map(Y))},_writeToBuffers($){let Y=0,U=$.length;while(Y1)this._pipe(this.buffers.shift())}else if(!this.corked)await this._pipe(z),U();else this._writeToBuffers(z),process.nextTick(U);else{if(!this.paused)this.emit("data",z.toBuffer());this._writeToBuffers(z),this.emit("readable")}return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)while(this.buffers.length)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end($,Y,U){let z=(Q)=>{if(Q)U(Q);else this._flush(),this.pipes.forEach((J)=>{J.end()}),this.emit("finish")};if($)this.write($,Y,z);else z()},read($){let Y;if($){Y=[];while($&&this.buffers.length&&!this.buffers[0].eod){let U=this.buffers[0],z=U.read($);if($-=z.length,Y.push(z),U.eod&&U.full)this.buffers.shift()}return Buffer.concat(Y)}return Y=this.buffers.map((U)=>U.toBuffer()).filter(Boolean),this.buffers=[],Buffer.concat(Y)},setEncoding($){this.encoding=$},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe($){if(this.pipes.push($),!this.paused&&this.buffers.length)this.end()},unpipe($){this.pipes=this.pipes.filter((Y)=>Y!==$)},unshift(){throw Error("Not Implemented")},wrap(){throw Error("Not Implemented")}});C30.exports=E30});var v30=E((Ht0)=>{var R30=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),{Buffer:_30}=I0("buffer");function Gt0($){if(typeof $!=="string")return $;if(R30)return _30.from(R30.encode($).buffer);return _30.from($)}Ht0.stringToBuffer=Gt0});var g30=E((ud1,S30)=>{var Xt0=I0("events"),Zt0=ay(),qt0=_W(),{stringToBuffer:fd1}=v30();class h30 extends Xt0.EventEmitter{constructor($){super();this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},$),this.zip=new Zt0,this.stream=new qt0}append($,Y){if(Y.hasOwnProperty("base64")&&Y.base64)this.zip.file(Y.name,$,{base64:!0});else this.zip.file(Y.name,$)}async finalize(){let $=await this.zip.generateAsync(this.options);this.stream.end($),this.emit("finish")}read($){return this.stream.read($)}setEncoding($){return this.stream.setEncoding($)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe($,Y){return this.stream.pipe($,Y)}unpipe($){return this.stream.unpipe($)}unshift($){return this.stream.unshift($)}wrap($){return this.stream.wrap($)}}S30.exports={ZipWriter:h30}});var l6=E((bd1,x30)=>{var Vt0=Y6(),y30=Z8();function k30($,Y,U){$.push(` ${Y}="${y30.xmlEncode(U.toString())}"`)}function Bk($,Y){if(Y){let U=[];Vt0.each(Y,(z,Q)=>{if(z!==void 0)k30(U,Q,z)}),$.push(U.join(""))}}class Pk{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml($){let Y=this._xml;Y.push(" + deps: ${W}}`};let Q={keyword:"dependencies",type:"object",schemaType:"object",error:$.error,code(G){let[H,W]=J(G);I(G,H),K(G,W)}};function J({schema:G}){let H={},W={};for(let X in G){if(X==="__proto__")continue;let Z=Array.isArray(G[X])?H:W;Z[X]=G[X]}return[H,W]}function I(G,H=G.schema){let{gen:W,data:X,it:Z}=G;if(Object.keys(H).length===0)return;let q=W.let("missing");for(let V in H){let F=H[V];if(F.length===0)continue;let M=(0,z.propertyInData)(W,X,V,Z.opts.ownProperties);if(G.setParams({property:V,depsCount:F.length,deps:F.join(", ")}),Z.allErrors)W.if(M,()=>{for(let w of F)(0,z.checkReportMissingProp)(G,w)});else W.if(Y._`${M} && (${(0,z.checkMissingProp)(G,F,q)})`),(0,z.reportMissingProp)(G,q),W.else()}}$.validatePropertyDeps=I;function K(G,H=G.schema){let{gen:W,data:X,keyword:Z,it:q}=G,V=W.name("valid");for(let F in H){if((0,U.alwaysValidSchema)(q,H[F]))continue;W.if((0,z.propertyInData)(W,X,F,q.opts.ownProperties),()=>{let M=G.subschema({keyword:Z,schemaProp:F},V);G.mergeValidEvaluated(M,V)},()=>W.var(V,!0)),G.ok(V)}}$.validateSchemaDeps=K,$.default=Q}),Gb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:Q})=>Y._`{propertyName: ${Q.propertyName}}`},code(Q){let{gen:J,schema:I,data:K,it:G}=Q;if((0,U.alwaysValidSchema)(G,I))return;let H=J.name("valid");J.forIn("key",K,(W)=>{Q.setParams({propertyName:W}),Q.subschema({keyword:"propertyNames",data:W,dataTypes:["string"],propertyName:W,compositeRule:!0},H),J.if((0,Y.not)(H),()=>{if(Q.error(!0),!G.allErrors)J.break()})}),Q.ok(H)}};$.default=z}),et=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),U=L1(),z=z5(),Q=v1(),J={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:I})=>U._`{additionalProperty: ${I.additionalProperty}}`},code(I){let{gen:K,schema:G,parentSchema:H,data:W,errsCount:X,it:Z}=I;if(!X)throw Error("ajv implementation error");let{allErrors:q,opts:V}=Z;if(Z.props=!0,V.removeAdditional!=="all"&&(0,Q.alwaysValidSchema)(Z,G))return;let F=(0,Y.allSchemaProperties)(H.properties),M=(0,Y.allSchemaProperties)(H.patternProperties);w(),I.ok(U._`${X} === ${z.default.errors}`);function w(){K.forIn("key",W,(T)=>{if(!F.length&&!M.length)D(T);else K.if(N(T),()=>D(T))})}function N(T){let A;if(F.length>8){let j=(0,Q.schemaRefOrVal)(Z,H.properties,"properties");A=(0,Y.isOwnProperty)(K,j,T)}else if(F.length)A=(0,U.or)(...F.map((j)=>U._`${T} === ${j}`));else A=U.nil;if(M.length)A=(0,U.or)(A,...M.map((j)=>U._`${(0,Y.usePattern)(I,j)}.test(${T})`));return(0,U.not)(A)}function O(T){K.code(U._`delete ${W}[${T}]`)}function D(T){if(V.removeAdditional==="all"||V.removeAdditional&&G===!1){O(T);return}if(G===!1){if(I.setParams({additionalProperty:T}),I.error(),!q)K.break();return}if(typeof G=="object"&&!(0,Q.alwaysValidSchema)(Z,G)){let A=K.name("valid");if(V.removeAdditional==="failing")P(T,A,!1),K.if((0,U.not)(A),()=>{I.reset(),O(T)});else if(P(T,A),!q)K.if((0,U.not)(A),()=>K.break())}}function P(T,A,j){let C={keyword:"additionalProperties",dataProp:T,dataPropType:Q.Type.Str};if(j===!1)Object.assign(C,{compositeRule:!0,createErrors:!1,allErrors:!1});I.subschema(C,A)}}};$.default=J}),Hb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=yQ(),U=Q5(),z=v1(),Q=et(),J={keyword:"properties",type:"object",schemaType:"object",code(I){let{gen:K,schema:G,parentSchema:H,data:W,it:X}=I;if(X.opts.removeAdditional==="all"&&H.additionalProperties===void 0)Q.default.code(new Y.KeywordCxt(X,Q.default,"additionalProperties"));let Z=(0,U.allSchemaProperties)(G);for(let w of Z)X.definedProperties.add(w);if(X.opts.unevaluated&&Z.length&&X.props!==!0)X.props=z.mergeEvaluated.props(K,(0,z.toHash)(Z),X.props);let q=Z.filter((w)=>!(0,z.alwaysValidSchema)(X,G[w]));if(q.length===0)return;let V=K.name("valid");for(let w of q){if(F(w))M(w);else{if(K.if((0,U.propertyInData)(K,W,w,X.opts.ownProperties)),M(w),!X.allErrors)K.else().var(V,!0);K.endIf()}I.it.definedProperties.add(w),I.ok(V)}function F(w){return X.opts.useDefaults&&!X.compositeRule&&G[w].default!==void 0}function M(w){I.subschema({keyword:"properties",schemaProp:w,dataProp:w},V)}}};$.default=J}),Wb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Q5(),U=L1(),z=v1(),Q=v1(),J={keyword:"patternProperties",type:"object",schemaType:"object",code(I){let{gen:K,schema:G,data:H,parentSchema:W,it:X}=I,{opts:Z}=X,q=(0,Y.allSchemaProperties)(G),V=q.filter((P)=>(0,z.alwaysValidSchema)(X,G[P]));if(q.length===0||V.length===q.length&&(!X.opts.unevaluated||X.props===!0))return;let F=Z.strictSchema&&!Z.allowMatchingProperties&&W.properties,M=K.name("valid");if(X.props!==!0&&!(X.props instanceof U.Name))X.props=(0,Q.evaluatedPropsToName)(K,X.props);let{props:w}=X;N();function N(){for(let P of q){if(F)O(P);if(X.allErrors)D(P);else K.var(M,!0),D(P),K.if(M)}}function O(P){for(let T in F)if(new RegExp(P).test(T))(0,z.checkStrictMode)(X,`property ${T} matches pattern ${P} (use allowMatchingProperties)`)}function D(P){K.forIn("key",H,(T)=>{K.if(U._`${(0,Y.usePattern)(I,P)}.test(${T})`,()=>{let A=V.includes(P);if(!A)I.subschema({keyword:"patternProperties",schemaProp:P,dataProp:T,dataPropType:Q.Type.Str},M);if(X.opts.unevaluated&&w!==!0)K.assign(U._`${w}[${T}]`,!0);else if(!A&&!X.allErrors)K.if((0,U.not)(M),()=>K.break())})})}}};$.default=J}),Xb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),U={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(z){let{gen:Q,schema:J,it:I}=z;if((0,Y.alwaysValidSchema)(I,J)){z.fail();return}let K=Q.name("valid");z.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},K),z.failResult(K,()=>z.reset(),()=>z.error())},error:{message:"must NOT be valid"}};$.default=U}),Zb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Q5().validateUnion,error:{message:"must match a schema in anyOf"}};$.default=Y}),qb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:Q})=>Y._`{passingSchemas: ${Q.passing}}`},code(Q){let{gen:J,schema:I,parentSchema:K,it:G}=Q;if(!Array.isArray(I))throw Error("ajv implementation error");if(G.opts.discriminator&&K.discriminator)return;let H=I,W=J.let("valid",!1),X=J.let("passing",null),Z=J.name("_valid");Q.setParams({passing:X}),J.block(q),Q.result(W,()=>Q.reset(),()=>Q.error(!0));function q(){H.forEach((V,F)=>{let M;if((0,U.alwaysValidSchema)(G,V))J.var(Z,!0);else M=Q.subschema({keyword:"oneOf",schemaProp:F,compositeRule:!0},Z);if(F>0)J.if(Y._`${Z} && ${W}`).assign(W,!1).assign(X,Y._`[${X}, ${F}]`).else();J.if(Z,()=>{if(J.assign(W,!0),J.assign(X,F),M)Q.mergeEvaluated(M,Y.Name)})})}}};$.default=z}),Vb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),U={keyword:"allOf",schemaType:"array",code(z){let{gen:Q,schema:J,it:I}=z;if(!Array.isArray(J))throw Error("ajv implementation error");let K=Q.name("valid");J.forEach((G,H)=>{if((0,Y.alwaysValidSchema)(I,G))return;let W=z.subschema({keyword:"allOf",schemaProp:H},K);z.ok(K),z.mergeEvaluated(W)})}};$.default=U}),Lb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:J})=>Y.str`must match "${J.ifClause}" schema`,params:({params:J})=>Y._`{failingKeyword: ${J.ifClause}}`},code(J){let{gen:I,parentSchema:K,it:G}=J;if(K.then===void 0&&K.else===void 0)(0,U.checkStrictMode)(G,'"if" without "then" and "else" is ignored');let H=Q(G,"then"),W=Q(G,"else");if(!H&&!W)return;let X=I.let("valid",!0),Z=I.name("_valid");if(q(),J.reset(),H&&W){let F=I.let("ifClause");J.setParams({ifClause:F}),I.if(Z,V("then",F),V("else",F))}else if(H)I.if(Z,V("then"));else I.if((0,Y.not)(Z),V("else"));J.pass(X,()=>J.error(!0));function q(){let F=J.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},Z);J.mergeEvaluated(F)}function V(F,M){return()=>{let w=J.subschema({keyword:F},Z);if(I.assign(X,Z),J.mergeValidEvaluated(w,X),M)I.assign(M,Y._`${F}`);else J.setParams({ifClause:F})}}}};function Q(J,I){let K=J.schema[I];return K!==void 0&&!(0,U.alwaysValidSchema)(J,K)}$.default=z}),Fb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),U={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:z,parentSchema:Q,it:J}){if(Q.if===void 0)(0,Y.checkStrictMode)(J,`"${z}" without "if" is ignored`)}};$.default=U}),$e=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=at(),U=Jb0(),z=tt(),Q=Ib0(),J=Kb0(),I=HS(),K=Gb0(),G=et(),H=Hb0(),W=Wb0(),X=Xb0(),Z=Zb0(),q=qb0(),V=Vb0(),F=Lb0(),M=Fb0();function w(N=!1){let O=[X.default,Z.default,q.default,V.default,F.default,M.default,K.default,G.default,I.default,H.default,W.default];if(N)O.push(U.default,Q.default);else O.push(Y.default,z.default);return O.push(J.default),O}$.default=w}),wb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:z})=>Y.str`must match format "${z}"`,params:({schemaCode:z})=>Y._`{format: ${z}}`},code(z,Q){let{gen:J,data:I,$data:K,schema:G,schemaCode:H,it:W}=z,{opts:X,errSchemaPath:Z,schemaEnv:q,self:V}=W;if(!X.validateFormats)return;if(K)F();else M();function F(){let w=J.scopeValue("formats",{ref:V.formats,code:X.code.formats}),N=J.const("fDef",Y._`${w}[${H}]`),O=J.let("fType"),D=J.let("format");J.if(Y._`typeof ${N} == "object" && !(${N} instanceof RegExp)`,()=>J.assign(O,Y._`${N}.type || "string"`).assign(D,Y._`${N}.validate`),()=>J.assign(O,Y._`"string"`).assign(D,N)),z.fail$data((0,Y.or)(P(),T()));function P(){if(X.strictSchema===!1)return Y.nil;return Y._`${H} && !${D}`}function T(){let A=q.$async?Y._`(${N}.async ? await ${D}(${I}) : ${D}(${I}))`:Y._`${D}(${I})`,j=Y._`(typeof ${D} == "function" ? ${A} : ${D}.test(${I}))`;return Y._`${D} && ${D} !== true && ${O} === ${Q} && !${j}`}}function M(){let w=V.formats[G];if(!w){P();return}if(w===!0)return;let[N,O,D]=T(w);if(N===Q)z.pass(A());function P(){if(X.strictSchema===!1){V.logger.warn(j());return}throw Error(j());function j(){return`unknown format "${G}" ignored in schema at path "${Z}"`}}function T(j){let C=j instanceof RegExp?(0,Y.regexpCode)(j):X.code.formats?Y._`${X.code.formats}${(0,Y.getProperty)(G)}`:void 0,b=J.scopeValue("formats",{key:G,ref:j,code:C});if(typeof j=="object"&&!(j instanceof RegExp))return[j.type||"string",j.validate,Y._`${b}.validate`];return["string",j,b]}function A(){if(typeof w=="object"&&!(w instanceof RegExp)&&w.async){if(!q.$async)throw Error("async format in sync schema");return Y._`await ${D}(${I})`}return typeof O=="function"?Y._`${D}(${I})`:Y._`${D}.test(${I})`}}}};$.default=U}),Ye=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=[wb0().default];$.default=Y}),Ue=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.contentVocabulary=$.metadataVocabulary=void 0,$.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],$.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]}),ze=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=rt(),U=st(),z=$e(),Q=Ye(),J=Ue(),I=[Y.default,U.default,(0,z.default)(),Q.default,J.metadataVocabulary,J.contentVocabulary];$.default=I}),Mb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.DiscrError=void 0;var Y;(function(U){U.Tag="tag",U.Mapping="mapping"})(Y||($.DiscrError=Y={}))}),WS=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=Mb0(),z=yw(),Q=kQ(),J=v1(),I={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:K,tagName:G}})=>K===U.DiscrError.Tag?`tag "${G}" must be string`:`value of tag "${G}" must be in oneOf`,params:({params:{discrError:K,tag:G,tagName:H}})=>Y._`{error: ${K}, tag: ${H}, tagValue: ${G}}`},code(K){let{gen:G,data:H,schema:W,parentSchema:X,it:Z}=K,{oneOf:q}=X;if(!Z.opts.discriminator)throw Error("discriminator: requires discriminator option");let V=W.propertyName;if(typeof V!="string")throw Error("discriminator: requires propertyName");if(W.mapping)throw Error("discriminator: mapping is not supported");if(!q)throw Error("discriminator: requires oneOf keyword");let F=G.let("valid",!1),M=G.const("tag",Y._`${H}${(0,Y.getProperty)(V)}`);G.if(Y._`typeof ${M} == "string"`,()=>w(),()=>K.error(!1,{discrError:U.DiscrError.Tag,tag:M,tagName:V})),K.ok(F);function w(){let D=O();G.if(!1);for(let P in D)G.elseIf(Y._`${M} === ${P}`),G.assign(F,N(D[P]));G.else(),K.error(!1,{discrError:U.DiscrError.Mapping,tag:M,tagName:V}),G.endIf()}function N(D){let P=G.name("valid"),T=K.subschema({keyword:"oneOf",schemaProp:D},P);return K.mergeEvaluated(T,Y.Name),P}function O(){var D;let P={},T=j(X),A=!0;for(let x=0;x{Y.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}}),Qe=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0}),$.MissingRefError=$.ValidationError=$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=$.Ajv=void 0;let U=IS(),z=ze(),Q=WS(),J=Ob0(),I=["/properties"],K="http://json-schema.org/draft-07/schema";var G=class extends U.default{_addVocabularies(){if(super._addVocabularies(),z.default.forEach((q)=>this.addVocabulary(q)),this.opts.discriminator)this.addKeyword(Q.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let q=this.opts.$data?this.$dataMetaSchema(J,I):J;this.addMetaSchema(q,K,!1),this.refs["http://json-schema.org/schema"]=K}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(K)?K:void 0)}};$.Ajv=G,Y.exports=$=G,Y.exports.Ajv=G,Object.defineProperty($,"__esModule",{value:!0}),$.default=G;var H=yQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return H.KeywordCxt}});var W=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return W._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return W.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return W.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return W.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return W.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return W.CodeGen}});var X=LH();Object.defineProperty($,"ValidationError",{enumerable:!0,get:function(){return X.default}});var Z=kQ();Object.defineProperty($,"MissingRefError",{enumerable:!0,get:function(){return Z.default}})}),Je=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.dynamicAnchor=void 0;let Y=L1(),U=z5(),z=yw(),Q=KS(),J={keyword:"$dynamicAnchor",schemaType:"string",code:(G)=>I(G,G.schema)};function I(G,H){let{gen:W,it:X}=G;X.schemaEnv.root.dynamicAnchors[H]=!0;let Z=Y._`${U.default.dynamicAnchors}${(0,Y.getProperty)(H)}`,q=X.errSchemaPath==="#"?X.validateName:K(G);W.if(Y._`!${Z}`,()=>W.assign(Z,q))}$.dynamicAnchor=I;function K(G){let{schemaEnv:H,schema:W,self:X}=G.it,{root:Z,baseId:q,localRefs:V,meta:F}=H.root,{schemaId:M}=X.opts,w=new z.SchemaEnv({schema:W,schemaId:M,root:Z,baseId:q,localRefs:V,meta:F});return z.compileSchema.call(X,w),(0,Q.getValidate)(G,w)}$.default=J}),Ie=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.dynamicRef=void 0;let Y=L1(),U=z5(),z=KS(),Q={keyword:"$dynamicRef",schemaType:"string",code:(I)=>J(I,I.schema)};function J(I,K){let{gen:G,keyword:H,it:W}=I;if(K[0]!=="#")throw Error(`"${H}" only supports hash fragment reference`);let X=K.slice(1);if(W.allErrors)Z();else{let V=G.let("valid",!1);Z(V),I.ok(V)}function Z(V){if(W.schemaEnv.root.dynamicAnchors[X]){let F=G.let("_v",Y._`${U.default.dynamicAnchors}${(0,Y.getProperty)(X)}`);G.if(F,q(F,V),q(W.validateName,V))}else q(W.validateName,V)()}function q(V,F){return F?()=>G.block(()=>{(0,z.callRef)(I,V),G.let(F,!0)}):()=>(0,z.callRef)(I,V)}}$.dynamicRef=J,$.default=Q}),Nb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Je(),U=v1(),z={keyword:"$recursiveAnchor",schemaType:"boolean",code(Q){if(Q.schema)(0,Y.dynamicAnchor)(Q,"");else(0,U.checkStrictMode)(Q.it,"$recursiveAnchor: false is ignored")}};$.default=z}),Db0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Ie(),U={keyword:"$recursiveRef",schemaType:"string",code:(z)=>(0,Y.dynamicRef)(z,z.schema)};$.default=U}),Ke=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Je(),U=Ie(),z=Nb0(),Q=Db0(),J=[Y.default,U.default,z.default,Q.default];$.default=J}),Ab0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=HS(),U={keyword:"dependentRequired",type:"object",schemaType:"object",error:Y.error,code:(z)=>(0,Y.validatePropertyDeps)(z)};$.default=U}),Bb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=HS(),U={keyword:"dependentSchemas",type:"object",schemaType:"object",code:(z)=>(0,Y.validateSchemaDeps)(z)};$.default=U}),Pb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=v1(),U={keyword:["maxContains","minContains"],type:"array",schemaType:"number",code({keyword:z,parentSchema:Q,it:J}){if(Q.contains===void 0)(0,Y.checkStrictMode)(J,`"${z}" without "contains" is ignored`)}};$.default=U}),Ge=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Ab0(),U=Bb0(),z=Pb0(),Q=[Y.default,U.default,z.default];$.default=Q}),Tb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z=z5(),Q={keyword:"unevaluatedProperties",type:"object",schemaType:["boolean","object"],trackErrors:!0,error:{message:"must NOT have unevaluated properties",params:({params:J})=>Y._`{unevaluatedProperty: ${J.unevaluatedProperty}}`},code(J){let{gen:I,schema:K,data:G,errsCount:H,it:W}=J;if(!H)throw Error("ajv implementation error");let{allErrors:X,props:Z}=W;if(Z instanceof Y.Name)I.if(Y._`${Z} !== true`,()=>I.forIn("key",G,(M)=>I.if(V(Z,M),()=>q(M))));else if(Z!==!0)I.forIn("key",G,(M)=>Z===void 0?q(M):I.if(F(Z,M),()=>q(M)));W.props=!0,J.ok(Y._`${H} === ${z.default.errors}`);function q(M){if(K===!1){if(J.setParams({unevaluatedProperty:M}),J.error(),!X)I.break();return}if(!(0,U.alwaysValidSchema)(W,K)){let w=I.name("valid");if(J.subschema({keyword:"unevaluatedProperties",dataProp:M,dataPropType:U.Type.Str},w),!X)I.if((0,Y.not)(w),()=>I.break())}}function V(M,w){return Y._`!${M} || !${M}[${w}]`}function F(M,w){let N=[];for(let O in M)if(M[O]===!0)N.push(Y._`${w} !== ${O}`);return(0,Y.and)(...N)}}};$.default=Q}),jb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=L1(),U=v1(),z={keyword:"unevaluatedItems",type:"array",schemaType:["boolean","object"],error:{message:({params:{len:Q}})=>Y.str`must NOT have more than ${Q} items`,params:({params:{len:Q}})=>Y._`{limit: ${Q}}`},code(Q){let{gen:J,schema:I,data:K,it:G}=Q,H=G.items||0;if(H===!0)return;let W=J.const("len",Y._`${K}.length`);if(I===!1)Q.setParams({len:H}),Q.fail(Y._`${W} > ${H}`);else if(typeof I=="object"&&!(0,U.alwaysValidSchema)(G,I)){let Z=J.var("valid",Y._`${W} <= ${H}`);J.if((0,Y.not)(Z),()=>X(Z,H)),Q.ok(Z)}G.items=!0;function X(Z,q){J.forRange("i",q,W,(V)=>{if(Q.subschema({keyword:"unevaluatedItems",dataProp:V,dataPropType:U.Type.Num},Z),!G.allErrors)J.if((0,Y.not)(Z),()=>J.break())})}}};$.default=z}),He=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Tb0(),U=jb0(),z=[Y.default,U.default];$.default=z}),Eb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/schema",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/core":!0,"https://json-schema.org/draft/2019-09/vocab/applicator":!0,"https://json-schema.org/draft/2019-09/vocab/validation":!0,"https://json-schema.org/draft/2019-09/vocab/meta-data":!0,"https://json-schema.org/draft/2019-09/vocab/format":!1,"https://json-schema.org/draft/2019-09/vocab/content":!0},$recursiveAnchor:!0,title:"Core and Validation specifications meta-schema",allOf:[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format"},{$ref:"meta/content"}],type:["object","boolean"],properties:{definitions:{$comment:"While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},dependencies:{$comment:'"dependencies" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to "dependentSchemas" and "dependentRequired"',type:"object",additionalProperties:{anyOf:[{$recursiveRef:"#"},{$ref:"meta/validation#/$defs/stringArray"}]}}}}}),Cb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/applicator",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/applicator":!0},$recursiveAnchor:!0,title:"Applicator vocabulary meta-schema",type:["object","boolean"],properties:{additionalItems:{$recursiveRef:"#"},unevaluatedItems:{$recursiveRef:"#"},items:{anyOf:[{$recursiveRef:"#"},{$ref:"#/$defs/schemaArray"}]},contains:{$recursiveRef:"#"},additionalProperties:{$recursiveRef:"#"},unevaluatedProperties:{$recursiveRef:"#"},properties:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$recursiveRef:"#"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$recursiveRef:"#"}},propertyNames:{$recursiveRef:"#"},if:{$recursiveRef:"#"},then:{$recursiveRef:"#"},else:{$recursiveRef:"#"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$recursiveRef:"#"}},$defs:{schemaArray:{type:"array",minItems:1,items:{$recursiveRef:"#"}}}}}),Rb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/content",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/content":!0},$recursiveAnchor:!0,title:"Content vocabulary meta-schema",type:["object","boolean"],properties:{contentMediaType:{type:"string"},contentEncoding:{type:"string"},contentSchema:{$recursiveRef:"#"}}}}),_b0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/core",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/core":!0},$recursiveAnchor:!0,title:"Core vocabulary meta-schema",type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{type:"string",format:"uri"},$anchor:{type:"string",pattern:"^[A-Za-z][-A-Za-z0-9.:_]*$"},$ref:{type:"string",format:"uri-reference"},$recursiveRef:{type:"string",format:"uri-reference"},$recursiveAnchor:{type:"boolean",default:!1},$vocabulary:{type:"object",propertyNames:{type:"string",format:"uri"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$recursiveRef:"#"},default:{}}}}}),vb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/format",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/format":!0},$recursiveAnchor:!0,title:"Format vocabulary meta-schema",type:["object","boolean"],properties:{format:{type:"string"}}}}),hb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/meta-data",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/meta-data":!0},$recursiveAnchor:!0,title:"Meta-data vocabulary meta-schema",type:["object","boolean"],properties:{title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}}}}),Sb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2019-09/schema",$id:"https://json-schema.org/draft/2019-09/meta/validation",$vocabulary:{"https://json-schema.org/draft/2019-09/vocab/validation":!0},$recursiveAnchor:!0,title:"Validation vocabulary meta-schema",type:["object","boolean"],properties:{multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}},const:!0,enum:{type:"array",items:!0},type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]}},$defs:{nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}}}}),gb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=Eb0(),U=Cb0(),z=Rb0(),Q=_b0(),J=vb0(),I=hb0(),K=Sb0(),G=["/properties"];function H(W){return[Y,U,z,Q,X(this,J),I,X(this,K)].forEach((Z)=>this.addMetaSchema(Z,void 0,!1)),this;function X(Z,q){return W?Z.$dataMetaSchema(q,G):q}}$.default=H}),yb0=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0}),$.MissingRefError=$.ValidationError=$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=$.Ajv2019=void 0;let U=IS(),z=ze(),Q=Ke(),J=Ge(),I=He(),K=WS(),G=gb0(),H="https://json-schema.org/draft/2019-09/schema";var W=class extends U.default{constructor(F={}){super({...F,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){if(super._addVocabularies(),this.addVocabulary(Q.default),z.default.forEach((F)=>this.addVocabulary(F)),this.addVocabulary(J.default),this.addVocabulary(I.default),this.opts.discriminator)this.addKeyword(K.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();let{$data:F,meta:M}=this.opts;if(!M)return;G.default.call(this,F),this.refs["http://json-schema.org/schema"]=H}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(H)?H:void 0)}};$.Ajv2019=W,Y.exports=$=W,Y.exports.Ajv2019=W,Object.defineProperty($,"__esModule",{value:!0}),$.default=W;var X=yQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return X.KeywordCxt}});var Z=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return Z._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return Z.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return Z.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return Z.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return Z.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return Z.CodeGen}});var q=LH();Object.defineProperty($,"ValidationError",{enumerable:!0,get:function(){return q.default}});var V=kQ();Object.defineProperty($,"MissingRefError",{enumerable:!0,get:function(){return V.default}})}),kb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=rt(),U=st(),z=$e(),Q=Ke(),J=Ge(),I=He(),K=Ye(),G=Ue(),H=[Q.default,Y.default,U.default,(0,z.default)(!0),K.default,G.metadataVocabulary,G.contentVocabulary,J.default,I.default];$.default=H}),xb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/schema",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0,"https://json-schema.org/draft/2020-12/vocab/applicator":!0,"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0,"https://json-schema.org/draft/2020-12/vocab/validation":!0,"https://json-schema.org/draft/2020-12/vocab/meta-data":!0,"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0,"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Core and Validation specifications meta-schema",allOf:[{$ref:"meta/core"},{$ref:"meta/applicator"},{$ref:"meta/unevaluated"},{$ref:"meta/validation"},{$ref:"meta/meta-data"},{$ref:"meta/format-annotation"},{$ref:"meta/content"}],type:["object","boolean"],$comment:"This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",properties:{definitions:{$comment:'"definitions" has been replaced by "$defs".',type:"object",additionalProperties:{$dynamicRef:"#meta"},deprecated:!0,default:{}},dependencies:{$comment:'"dependencies" has been split and replaced by "dependentSchemas" and "dependentRequired" in order to serve their differing semantics.',type:"object",additionalProperties:{anyOf:[{$dynamicRef:"#meta"},{$ref:"meta/validation#/$defs/stringArray"}]},deprecated:!0,default:{}},$recursiveAnchor:{$comment:'"$recursiveAnchor" has been replaced by "$dynamicAnchor".',$ref:"meta/core#/$defs/anchorString",deprecated:!0},$recursiveRef:{$comment:'"$recursiveRef" has been replaced by "$dynamicRef".',$ref:"meta/core#/$defs/uriReferenceString",deprecated:!0}}}}),fb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/applicator",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/applicator":!0},$dynamicAnchor:"meta",title:"Applicator vocabulary meta-schema",type:["object","boolean"],properties:{prefixItems:{$ref:"#/$defs/schemaArray"},items:{$dynamicRef:"#meta"},contains:{$dynamicRef:"#meta"},additionalProperties:{$dynamicRef:"#meta"},properties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},patternProperties:{type:"object",additionalProperties:{$dynamicRef:"#meta"},propertyNames:{format:"regex"},default:{}},dependentSchemas:{type:"object",additionalProperties:{$dynamicRef:"#meta"},default:{}},propertyNames:{$dynamicRef:"#meta"},if:{$dynamicRef:"#meta"},then:{$dynamicRef:"#meta"},else:{$dynamicRef:"#meta"},allOf:{$ref:"#/$defs/schemaArray"},anyOf:{$ref:"#/$defs/schemaArray"},oneOf:{$ref:"#/$defs/schemaArray"},not:{$dynamicRef:"#meta"}},$defs:{schemaArray:{type:"array",minItems:1,items:{$dynamicRef:"#meta"}}}}}),ub0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/unevaluated",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/unevaluated":!0},$dynamicAnchor:"meta",title:"Unevaluated applicator vocabulary meta-schema",type:["object","boolean"],properties:{unevaluatedItems:{$dynamicRef:"#meta"},unevaluatedProperties:{$dynamicRef:"#meta"}}}}),bb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/content",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/content":!0},$dynamicAnchor:"meta",title:"Content vocabulary meta-schema",type:["object","boolean"],properties:{contentEncoding:{type:"string"},contentMediaType:{type:"string"},contentSchema:{$dynamicRef:"#meta"}}}}),ib0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/core",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/core":!0},$dynamicAnchor:"meta",title:"Core vocabulary meta-schema",type:["object","boolean"],properties:{$id:{$ref:"#/$defs/uriReferenceString",$comment:"Non-empty fragments not allowed.",pattern:"^[^#]*#?$"},$schema:{$ref:"#/$defs/uriString"},$ref:{$ref:"#/$defs/uriReferenceString"},$anchor:{$ref:"#/$defs/anchorString"},$dynamicRef:{$ref:"#/$defs/uriReferenceString"},$dynamicAnchor:{$ref:"#/$defs/anchorString"},$vocabulary:{type:"object",propertyNames:{$ref:"#/$defs/uriString"},additionalProperties:{type:"boolean"}},$comment:{type:"string"},$defs:{type:"object",additionalProperties:{$dynamicRef:"#meta"}}},$defs:{anchorString:{type:"string",pattern:"^[A-Za-z_][-A-Za-z0-9._]*$"},uriString:{type:"string",format:"uri"},uriReferenceString:{type:"string",format:"uri-reference"}}}}),cb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/format-annotation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/format-annotation":!0},$dynamicAnchor:"meta",title:"Format vocabulary meta-schema for annotation results",type:["object","boolean"],properties:{format:{type:"string"}}}}),nb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/meta-data",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/meta-data":!0},$dynamicAnchor:"meta",title:"Meta-data vocabulary meta-schema",type:["object","boolean"],properties:{title:{type:"string"},description:{type:"string"},default:!0,deprecated:{type:"boolean",default:!1},readOnly:{type:"boolean",default:!1},writeOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0}}}}),pb0=R0(($,Y)=>{Y.exports={$schema:"https://json-schema.org/draft/2020-12/schema",$id:"https://json-schema.org/draft/2020-12/meta/validation",$vocabulary:{"https://json-schema.org/draft/2020-12/vocab/validation":!0},$dynamicAnchor:"meta",title:"Validation vocabulary meta-schema",type:["object","boolean"],properties:{type:{anyOf:[{$ref:"#/$defs/simpleTypes"},{type:"array",items:{$ref:"#/$defs/simpleTypes"},minItems:1,uniqueItems:!0}]},const:!0,enum:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/$defs/nonNegativeInteger"},minLength:{$ref:"#/$defs/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},maxItems:{$ref:"#/$defs/nonNegativeInteger"},minItems:{$ref:"#/$defs/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxContains:{$ref:"#/$defs/nonNegativeInteger"},minContains:{$ref:"#/$defs/nonNegativeInteger",default:1},maxProperties:{$ref:"#/$defs/nonNegativeInteger"},minProperties:{$ref:"#/$defs/nonNegativeIntegerDefault0"},required:{$ref:"#/$defs/stringArray"},dependentRequired:{type:"object",additionalProperties:{$ref:"#/$defs/stringArray"}}},$defs:{nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{$ref:"#/$defs/nonNegativeInteger",default:0},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}}}}),db0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0});let Y=xb0(),U=fb0(),z=ub0(),Q=bb0(),J=ib0(),I=cb0(),K=nb0(),G=pb0(),H=["/properties"];function W(X){return[Y,U,z,Q,J,Z(this,I),K,Z(this,G)].forEach((q)=>this.addMetaSchema(q,void 0,!1)),this;function Z(q,V){return X?q.$dataMetaSchema(V,H):V}}$.default=W}),mb0=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0}),$.MissingRefError=$.ValidationError=$.CodeGen=$.Name=$.nil=$.stringify=$.str=$._=$.KeywordCxt=$.Ajv2020=void 0;let U=IS(),z=kb0(),Q=WS(),J=db0(),I="https://json-schema.org/draft/2020-12/schema";var K=class extends U.default{constructor(Z={}){super({...Z,dynamicRef:!0,next:!0,unevaluated:!0})}_addVocabularies(){if(super._addVocabularies(),z.default.forEach((Z)=>this.addVocabulary(Z)),this.opts.discriminator)this.addKeyword(Q.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema();let{$data:Z,meta:q}=this.opts;if(!q)return;J.default.call(this,Z),this.refs["http://json-schema.org/schema"]=I}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(I)?I:void 0)}};$.Ajv2020=K,Y.exports=$=K,Y.exports.Ajv2020=K,Object.defineProperty($,"__esModule",{value:!0}),$.default=K;var G=yQ();Object.defineProperty($,"KeywordCxt",{enumerable:!0,get:function(){return G.KeywordCxt}});var H=L1();Object.defineProperty($,"_",{enumerable:!0,get:function(){return H._}}),Object.defineProperty($,"str",{enumerable:!0,get:function(){return H.str}}),Object.defineProperty($,"stringify",{enumerable:!0,get:function(){return H.stringify}}),Object.defineProperty($,"nil",{enumerable:!0,get:function(){return H.nil}}),Object.defineProperty($,"Name",{enumerable:!0,get:function(){return H.Name}}),Object.defineProperty($,"CodeGen",{enumerable:!0,get:function(){return H.CodeGen}});var W=LH();Object.defineProperty($,"ValidationError",{enumerable:!0,get:function(){return W.default}});var X=kQ();Object.defineProperty($,"MissingRefError",{enumerable:!0,get:function(){return X.default}})}),lb0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.formatNames=$.fastFormats=$.fullFormats=void 0;function Y(x,S){return{validate:x,compare:S}}$.fullFormats={date:Y(J,I),time:Y(G(!0),H),"date-time":Y(Z(!0),q),"iso-time":Y(G(),W),"iso-date-time":Y(Z(),V),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:w,"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:b,uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:O,int32:{type:"number",validate:T},int64:{type:"number",validate:A},float:{type:"number",validate:j},double:{type:"number",validate:j},password:!0,binary:!0},$.fastFormats={...$.fullFormats,date:Y(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,I),time:Y(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,H),"date-time":Y(/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,q),"iso-time":Y(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,W),"iso-date-time":Y(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,V),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},$.formatNames=Object.keys($.fullFormats);function U(x){return x%4===0&&(x%100!==0||x%400===0)}let z=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,Q=[0,31,28,31,30,31,30,31,31,30,31,30,31];function J(x){let S=z.exec(x);if(!S)return!1;let i=+S[1],c=+S[2],z0=+S[3];return c>=1&&c<=12&&z0>=1&&z0<=(c===2&&U(i)?29:Q[c])}function I(x,S){if(!(x&&S))return;if(x>S)return 1;if(x23||p>59||x&&!t)return!1;if(z0<=23&&k<=59&&d<60)return!0;let e=k-p*$0,y=z0-g*$0-(e<0?1:0);return(y===23||y===-1)&&(e===59||e===-1)&&d<61}}function H(x,S){if(!(x&&S))return;let i=new Date("2020-01-01T"+x).valueOf(),c=new Date("2020-01-01T"+S).valueOf();if(!(i&&c))return;return i-c}function W(x,S){if(!(x&&S))return;let i=K.exec(x),c=K.exec(S);if(!(i&&c))return;if(x=i[1]+i[2]+i[3],S=c[1]+c[2]+c[3],x>S)return 1;if(x=D}function A(x){return Number.isInteger(x)}function j(){return!0}let C=/[^\\]\\Z/;function b(x){if(C.test(x))return!1;try{return new RegExp(x),!0}catch(S){return!1}}}),ob0=R0(($)=>{Object.defineProperty($,"__esModule",{value:!0}),$.formatLimitDefinition=void 0;let Y=Qe(),U=L1(),z=U.operators,Q={formatMaximum:{okStr:"<=",ok:z.LTE,fail:z.GT},formatMinimum:{okStr:">=",ok:z.GTE,fail:z.LT},formatExclusiveMaximum:{okStr:"<",ok:z.LT,fail:z.GTE},formatExclusiveMinimum:{okStr:">",ok:z.GT,fail:z.LTE}},J={message:({keyword:K,schemaCode:G})=>U.str`should be ${Q[K].okStr} ${G}`,params:({keyword:K,schemaCode:G})=>U._`{comparison: ${Q[K].okStr}, limit: ${G}}`};$.formatLimitDefinition={keyword:Object.keys(Q),type:"string",schemaType:"string",$data:!0,error:J,code(K){let{gen:G,data:H,schemaCode:W,keyword:X,it:Z}=K,{opts:q,self:V}=Z;if(!q.validateFormats)return;let F=new Y.KeywordCxt(Z,V.RULES.all.format.definition,"format");if(F.$data)M();else w();function M(){let O=G.scopeValue("formats",{ref:V.formats,code:q.code.formats}),D=G.const("fmt",U._`${O}[${F.schemaCode}]`);K.fail$data((0,U.or)(U._`typeof ${D} != "object"`,U._`${D} instanceof RegExp`,U._`typeof ${D}.compare != "function"`,N(D)))}function w(){let O=F.schema,D=V.formats[O];if(!D||D===!0)return;if(typeof D!="object"||D instanceof RegExp||typeof D.compare!="function")throw Error(`"${X}": format "${O}" does not define "compare" function`);let P=G.scopeValue("formats",{key:O,ref:D,code:q.code.formats?U._`${q.code.formats}${(0,U.getProperty)(O)}`:void 0});K.fail$data(N(P))}function N(O){return U._`${O}.compare(${H}, ${W}) ${Q[X].fail} 0`}},dependencies:["format"]};let I=(K)=>{return K.addKeyword($.formatLimitDefinition),K};$.default=I}),rb0=R0(($,Y)=>{Object.defineProperty($,"__esModule",{value:!0});let U=lb0(),z=ob0(),Q=L1(),J=new Q.Name("fullFormats"),I=new Q.Name("fastFormats"),K=(H,W={keywords:!0})=>{if(Array.isArray(W))return G(H,W,U.fullFormats,J),H;let[X,Z]=W.mode==="fast"?[U.fastFormats,I]:[U.fullFormats,J];if(G(H,W.formats||U.formatNames,X,Z),W.keywords)(0,z.default)(H);return H};K.get=(H,W="full")=>{let X=(W==="fast"?U.fastFormats:U.fullFormats)[H];if(!X)throw Error(`Unknown format "${H}"`);return X};function G(H,W,X,Z){var q,V;(q=(V=H.opts.code).formats)!==null&&q!==void 0||(V.formats=Q._`require("ajv-formats/dist/formats").${Z}`);for(let F of W)H.addFormat(F,X[F])}Y.exports=$=K,Object.defineProperty($,"__esModule",{value:!0}),$.default=K}),We=Qe(),sb0=yb0(),ab0=mb0(),tb0=nq(rb0(),1),eb0=tb0.default;Mu1=We.Ajv});import XS from"node:process";var xw=m(()=>{Xe()});function qS($){return!!$&&typeof $==="object"&&Ne in $}function Yi0($){return $[Ne]?.complete}function Ui0($,Y){switch(Y.kind){case"tools_list_changed":return $.toolsListChanged===!0;case"prompts_list_changed":return $.promptsListChanged===!0;case"resources_list_changed":return $.resourcesListChanged===!0;case"resource_updated":return $.resourceSubscriptions!==void 0&&$.resourceSubscriptions.includes(Y.uri)}}function zi0($,Y){let U={},z=(Q)=>Y===void 0||Q===!0;if($.toolsListChanged===!0&&z(Y?.tools?.listChanged))U.toolsListChanged=!0;if($.promptsListChanged===!0&&z(Y?.prompts?.listChanged))U.promptsListChanged=!0;if($.resourcesListChanged===!0&&z(Y?.resources?.listChanged))U.resourcesListChanged=!0;if($.resourceSubscriptions!==void 0&&$.resourceSubscriptions.length>0&&z(Y?.resources?.subscribe))U.resourceSubscriptions=[...$.resourceSubscriptions];return U}function Ze($,Y){return{method:$.method,params:{...$.params,_meta:{...$.params?._meta,[yY]:Y}}}}function Qi0($){let Y=j7(qH).validateRequest("subscriptions/listen",$);return Y.ok?Y.value.params?.notifications:void 0}function Ii0($,Y){switch($){case"notifications/tools/list_changed":return{kind:"tools_list_changed"};case"notifications/prompts/list_changed":return{kind:"prompts_list_changed"};case"notifications/resources/list_changed":return{kind:"resources_list_changed"};default:return{kind:"resource_updated",uri:Y??""}}}function Hi0($){if($?.maxRounds!==void 0&&(!Number.isInteger($.maxRounds)||$.maxRounds<1))throw RangeError(`inputRequired.maxRounds must be a positive integer (got ${$.maxRounds})`);if($?.roundTimeoutMs!==void 0&&(!Number.isFinite($.roundTimeoutMs)||$.roundTimeoutMs<=0))throw RangeError(`inputRequired.roundTimeoutMs must be a positive number (got ${$.roundTimeoutMs})`);return{maxRounds:$?.maxRounds??Ki0,roundTimeoutMs:$?.roundTimeoutMs??Gi0,legacyShim:$?.legacyShim??!0}}function Ae($,Y,U){if(U===null||typeof U!=="object"||typeof U.method!=="string")throw new J1(n0.InternalError,`Handler for ${$} returned an invalid input request '${Y}': each inputRequests entry must be an embedded elicitation/create, sampling/createMessage, or roots/list request`);let z=U,Q=qt(z);if(Q===void 0)throw new J1(n0.InternalError,`Handler for ${$} returned an input request '${Y}' of kind '${z.method}', which is not an embedded request the 2026-07-28 revision defines`);return{embedded:z,required:Q}}function Wi0(){let $=globalThis.crypto;if($?.randomUUID!==void 0)return $.randomUUID();let Y=new Uint8Array(16);$.getRandomValues(Y),Y[6]=Y[6]&15|64,Y[8]=Y[8]&63|128;let U=[...Y].map((z)=>z.toString(16).padStart(2,"0")).join("");return`${U.slice(0,8)}-${U.slice(8,12)}-${U.slice(12,16)}-${U.slice(16,20)}-${U.slice(20)}`}function ZS($,Y){if($==="tools/call")return{content:[{type:"text",text:Y}],isError:!0};throw new J1(n0.InternalError,Y)}function VS($,Y){Be($,Y)}function LS($){return Pe($)}function Vi0($){return{...$}}function qe($,Y){if($){let z=Y;return async(Q,J)=>z(Q,J)}let U=Y;return async(z,Q)=>U(Q)}function Le($){if($===void 0)return;try{return R7($,"output")}catch{return}}function Fe($,Y,U){if(Y){let z=U;return async(Q,J)=>{let I=await fY(Y,Q);if(!I.success)throw new J1(n0.InvalidParams,`Invalid arguments for prompt ${$}: ${I.error}`);return z(I.data,J)}}else{let z=U;return async(Q,J)=>{return z(J)}}}function we($){return{completion:{values:$.map(String).slice(0,100),total:$.length,hasMore:$.length>100}}}function Me($){let Y=$;if(Y.shape&&typeof Y.shape==="object")return Y.shape}function Li0($){return $?.type==="optional"}function Oe($){if(!Li0($))return $;return $.def?.innerType??$}var Ne,fw=1024,Ji0,De=class{_subs=new Map;_serverCapabilities;_serverInfo;constructor($=fw,Y,U){this._maxSubscriptions=$,this._serverCapabilities=Y,this._serverInfo=U}setServerCapabilities($,Y){if(this._serverCapabilities=$,Y!==void 0)this._serverInfo=Y}has($){return this._subs.has($)}serve($){if(this._serverCapabilities===void 0)throw Error("StdioListenRouter.serve() called before setServerCapabilities(); refusing to honor a filter without capabilities");if(this._subs.size>=this._maxSubscriptions)return{jsonrpc:"2.0",id:$.id,error:{code:-32603,message:"Subscription limit reached"}};let Y=Qi0($);if(Y===void 0)return{jsonrpc:"2.0",id:$.id,error:{code:-32602,message:"Invalid params: 'notifications' is required and must be a valid SubscriptionFilter"}};let U=zi0(Y,this._serverCapabilities);return this._subs.set($.id,U),Ze({method:"notifications/subscriptions/acknowledged",params:{notifications:U}},$.id)}cancel($){return this._subs.delete($)}routeOutbound($){if(!Ji0.has($.method))return"passthrough";let Y=$.params?.uri,U=typeof Y==="string"?Y:void 0,z=Ii0($.method,U),Q=[];for(let[J,I]of this._subs)if(Ui0(I,z))Q.push(Ze({method:$.method,params:$.params??{}},J));return Q}teardownAll(){let $=[];for(let Y of this._subs.keys())$.push({jsonrpc:"2.0",id:Y,result:{resultType:"complete",_meta:{[yY]:Y,...this._serverInfo!==void 0&&{[d5]:this._serverInfo}}}});return this._subs.clear(),$}},Ki0=8,Gi0=600000,Xi0=class{constructor($){this._host=$}async fulfill($,Y,U,z,Q){let{maxRounds:J,roundTimeoutMs:I}=this._host,K=z.mcpReq.signal,G=Q,H=0;while(!0){if(H+=1,H>J)return ZS($,gt($,J));let W=G.inputRequests,X=W!=null&&Object.keys(W).length>0,Z=typeof G.requestState==="string"?G.requestState:void 0;if(!X&&Z===void 0)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result with neither inputRequests nor requestState (every InputRequiredResult must include at least one of the two)`);let q;if(X){let M=this._host.resolvedClientCapabilities(z),w=[];for(let[O,D]of Object.entries(W)){let{embedded:P,required:T}=Ae($,O,D);if(P.method!=="roots/list"&&P.params===void 0)throw new J1(n0.InternalError,`Handler for ${$} returned an input request '${O}' of kind '${P.method}' without params`);if(Nw(T,M)!==void 0)return ZS($,`Cannot request input '${O}' (${P.method}): the client on this 2025-era connection did not declare the required capability${M===void 0?" (no client capabilities are available on this connection — per-request legacy serving cannot receive server-to-client requests)":""}`);w.push([O,P])}let N=kt(K);try{let O={relatedRequestId:z.mcpReq.id,timeout:I,resetTimeoutOnProgress:!0,onprogress:()=>{},signal:N.signal},D=await Promise.all(w.map(async([P,T])=>{try{return[P,await this._dispatchLeg(T,O)]}catch(A){throw N.abort(A),A}}));q=Object.fromEntries(D)}catch(O){if(K.aborted)throw O;return ZS($,`Fulfilling input required by '${$}' failed: ${O instanceof Error?O.message:String(O)}`)}finally{N.dispose()}}else await yt(St,K);let V={...z,mcpReq:{...z.mcpReq,inputResponses:q,droppedInputResponseKeys:void 0,requestState:VH(Z)}};if(Z!==void 0){let M=await this._host.verifyRequestState(Z,V,$);if(M!==void 0)V=th(V,M)}let F=await Y(U,V);if(!s9(F))return F;G=F}}async _dispatchLeg($,Y){switch($.method){case"elicitation/create":{let U=$.params;if(U.mode==="url"&&U.elicitationId===void 0)U={...U,elicitationId:Wi0()};return await this._host.sendElicitation(U,Y)}case"sampling/createMessage":return await this._host.sendSampling($.params,Y);case"roots/list":return await this._host.listRoots($.params,Y)}}},Zi0,qi0,Be,Pe,Te,wH=class{server;_registeredResources={};_registeredResourceTemplates={};_registeredTools={};_registeredPrompts={};_toolInputSchemaJson={};toolInputSchemaJson($){let Y=this._registeredTools[$];if(Y===void 0||!Y.enabled)return;if(Object.hasOwn(this._toolInputSchemaJson,$))return this._toolInputSchemaJson[$];if(Y.inputSchema===void 0)return Ve;try{let U=R7(Y.inputSchema,"input");return this._toolInputSchemaJson[$]=U,U}catch{return}}constructor($,Y){if(this.server=new Te($,Y),Y?.capabilities?.tools)this.setToolRequestHandlers();if(Y?.capabilities?.resources)this.setResourceRequestHandlers();if(Y?.capabilities?.prompts)this.setPromptRequestHandlers()}async connect($){return await this.server.connect($)}async close(){await this.server.close()}_toolHandlersInitialized=!1;setToolRequestHandlers(){if(this._toolHandlersInitialized)return;this.server.assertCanSetRequestHandler("tools/list"),this.server.assertCanSetRequestHandler("tools/call"),this.server.registerCapabilities({tools:{listChanged:this.server.getCapabilities().tools?.listChanged??!0}}),this.server.setRequestHandler("tools/list",()=>({tools:Object.entries(this._registeredTools).filter(([,$])=>$.enabled).map(([$,Y])=>{let U={name:$,title:Y.title,description:Y.description,inputSchema:Y.inputSchema?R7(Y.inputSchema,"input"):Ve,annotations:Y.annotations,icons:Y.icons,execution:Y.execution,_meta:Y._meta};if(Y.outputSchema)U.outputSchema=R7(Y.outputSchema,"output");return U})})),this.server.setRequestHandler("tools/call",async($,Y)=>{let U=this._registeredTools[$.params.name];if(!U)throw new J1(n0.InvalidParams,`Tool ${$.params.name} not found`);if(!U.enabled)throw new J1(n0.InvalidParams,`Tool ${$.params.name} disabled`);try{let z=await this.validateToolInput(U,$.params.arguments,$.params.name),Q=await this.executeToolHandler(U,z,Y);if(await this.validateToolOutput(U,Q,$.params.name),s9(Q))return Q;return this.server.projectCallToolResult(Q,U.outputSchemaJson)}catch(z){if(z instanceof J1&&z.code===n0.UrlElicitationRequired)throw z;return this.createToolError(z instanceof Error?z.message:String(z))}}),this._toolHandlersInitialized=!0}createToolError($){return{content:[{type:"text",text:$}],isError:!0}}async validateToolInput($,Y,U){if(!$.inputSchema)return;let z=await fY($.inputSchema,Y??{});if(!z.success)throw new J1(n0.InvalidParams,`Input validation error: Invalid arguments for tool ${U}: ${z.error}`);return z.data}async validateToolOutput($,Y,U){if(!$.outputSchema)return;if(s9(Y))return;if(Y.isError)return;if(Y.structuredContent===void 0)throw new J1(n0.InvalidParams,`Output validation error: Tool ${U} has an output schema but no structured content was provided`);let z=await fY($.outputSchema,Y.structuredContent);if(!z.success)throw new J1(n0.InvalidParams,`Output validation error: Invalid structured content for tool ${U}: ${z.error}`)}async executeToolHandler($,Y,U){return $.executor(Y,U)}_completionHandlerInitialized=!1;setCompletionRequestHandler(){if(this._completionHandlerInitialized)return;this.server.assertCanSetRequestHandler("completion/complete"),this.server.registerCapabilities({completions:{}}),this.server.setRequestHandler("completion/complete",async($)=>{switch($.params.ref.type){case"ref/prompt":return mh($),this.handlePromptCompletion($,$.params.ref);case"ref/resource":return lh($),this.handleResourceCompletion($,$.params.ref);default:throw new J1(n0.InvalidParams,`Invalid completion reference: ${$.params.ref}`)}}),this._completionHandlerInitialized=!0}async handlePromptCompletion($,Y){let U=this._registeredPrompts[Y.name];if(!U)throw new J1(n0.InvalidParams,`Prompt ${Y.name} not found`);if(!U.enabled)throw new J1(n0.InvalidParams,`Prompt ${Y.name} disabled`);if(!U.argsSchema)return FH;let z=Oe(Me(U.argsSchema)?.[$.params.argument.name]);if(!qS(z))return FH;let Q=Yi0(z);if(!Q)return FH;return we(await Q($.params.argument.value,$.params.context))}async handleResourceCompletion($,Y){let U=Object.values(this._registeredResourceTemplates).find((Q)=>Q.resourceTemplate.uriTemplate.toString()===Y.uri);if(!U){if(this._registeredResources[Y.uri])return FH;throw new J1(n0.InvalidParams,`Resource template ${$.params.ref.uri} not found`)}let z=U.resourceTemplate.completeCallback($.params.argument.name);if(!z)return FH;return we(await z($.params.argument.value,$.params.context))}_resourceHandlersInitialized=!1;setResourceRequestHandlers(){if(this._resourceHandlersInitialized)return;this.server.assertCanSetRequestHandler("resources/list"),this.server.assertCanSetRequestHandler("resources/templates/list"),this.server.assertCanSetRequestHandler("resources/read"),this.server.registerCapabilities({resources:{listChanged:this.server.getCapabilities().resources?.listChanged??!0}}),this.server.setRequestHandler("resources/list",async($,Y)=>{let U=Object.entries(this._registeredResources).filter(([Q,J])=>J.enabled).map(([Q,J])=>({uri:Q,name:J.name,...J.metadata})),z=[];for(let Q of Object.values(this._registeredResourceTemplates)){if(!Q.resourceTemplate.listCallback)continue;let J=await Q.resourceTemplate.listCallback(Y);for(let I of J.resources)z.push({...Q.metadata,...I})}return{resources:[...U,...z]}}),this.server.setRequestHandler("resources/templates/list",async()=>{return{resourceTemplates:Object.entries(this._registeredResourceTemplates).map(([$,Y])=>({name:$,uriTemplate:Y.resourceTemplate.uriTemplate.toString(),...Y.metadata}))}}),this.server.setRequestHandler("resources/read",async($,Y)=>{let U;try{U=new URL($.params.uri)}catch{throw new J1(n0.InvalidParams,`Resource URI ${$.params.uri} is invalid`,{uri:$.params.uri,reason:"invalid_uri"})}let z=this._registeredResources[U.toString()];if(z){if(!z.enabled)throw new J1(n0.InvalidParams,`Resource ${U} disabled`);return Dw(await z.readCallback(U,Y),z.cacheHint)}for(let Q of Object.values(this._registeredResourceTemplates)){let J=Q.resourceTemplate.uriTemplate.match(U.toString());if(J)return Dw(await Q.readCallback(U,J,Y),Q.cacheHint)}throw new Aw($.params.uri)}),this._resourceHandlersInitialized=!0}_promptHandlersInitialized=!1;setPromptRequestHandlers(){if(this._promptHandlersInitialized)return;this.server.assertCanSetRequestHandler("prompts/list"),this.server.assertCanSetRequestHandler("prompts/get"),this.server.registerCapabilities({prompts:{listChanged:this.server.getCapabilities().prompts?.listChanged??!0}}),this.server.setRequestHandler("prompts/list",()=>({prompts:Object.entries(this._registeredPrompts).filter(([,$])=>$.enabled).map(([$,Y])=>{return{name:$,title:Y.title,description:Y.description,arguments:Y.argsSchema?ht(Y.argsSchema):void 0,icons:Y.icons,_meta:Y._meta}})})),this.server.setRequestHandler("prompts/get",async($,Y)=>{let U=this._registeredPrompts[$.params.name];if(!U)throw new J1(n0.InvalidParams,`Prompt ${$.params.name} not found`);if(!U.enabled)throw new J1(n0.InvalidParams,`Prompt ${$.params.name} disabled`);return U.handler($.params.arguments,Y)}),this._promptHandlersInitialized=!0}registerResource($,Y,U,z){let Q=U.cacheHint,J=U;if(Q!==void 0){nh(Q,`resource ${$}`);let I={...U};delete I.cacheHint,J=I}if(typeof Y==="string"){if(this._registeredResources[Y])throw Error(`Resource ${Y} is already registered`);let I=this._createRegisteredResource($,U.title,Y,J,z);if(Q!==void 0)I.cacheHint=Q;return this.setResourceRequestHandlers(),this.sendResourceListChanged(),I}else{if(this._registeredResourceTemplates[$])throw Error(`Resource template ${$} is already registered`);let I=this._createRegisteredResourceTemplate($,U.title,Y,J,z);if(Q!==void 0)I.cacheHint=Q;return this.setResourceRequestHandlers(),this.sendResourceListChanged(),I}}_createRegisteredResource($,Y,U,z,Q){let J={name:$,title:Y,metadata:z,readCallback:Q,enabled:!0,disable:()=>J.update({enabled:!1}),enable:()=>J.update({enabled:!0}),remove:()=>J.update({uri:null}),update:(I)=>{if(I.uri!==void 0&&I.uri!==U){if(delete this._registeredResources[U],I.uri)this._registeredResources[I.uri]=J}if(I.name!==void 0)J.name=I.name;if(I.title!==void 0)J.title=I.title;if(I.metadata!==void 0)J.metadata=I.metadata;if(I.callback!==void 0)J.readCallback=I.callback;if(I.enabled!==void 0)J.enabled=I.enabled;this.sendResourceListChanged()}};return this._registeredResources[U]=J,J}_createRegisteredResourceTemplate($,Y,U,z,Q){let J={resourceTemplate:U,title:Y,metadata:z,readCallback:Q,enabled:!0,disable:()=>J.update({enabled:!1}),enable:()=>J.update({enabled:!0}),remove:()=>J.update({name:null}),update:(K)=>{if(K.name!==void 0&&K.name!==$){if(delete this._registeredResourceTemplates[$],K.name)this._registeredResourceTemplates[K.name]=J}if(K.title!==void 0)J.title=K.title;if(K.template!==void 0)J.resourceTemplate=K.template;if(K.metadata!==void 0)J.metadata=K.metadata;if(K.callback!==void 0)J.readCallback=K.callback;if(K.enabled!==void 0)J.enabled=K.enabled;this.sendResourceListChanged()}};this._registeredResourceTemplates[$]=J;let I=U.uriTemplate.variableNames;if(Array.isArray(I)&&I.some((K)=>!!U.completeCallback(K)))this.setCompletionRequestHandler();return J}_createRegisteredPrompt($,Y,U,z,Q,J,I){let K=z,G=Q,H={title:Y,description:U,argsSchema:z,icons:J,_meta:I,handler:Fe($,z,Q),enabled:!0,disable:()=>H.update({enabled:!1}),enable:()=>H.update({enabled:!0}),remove:()=>H.update({name:null}),update:(W)=>{if(W.name!==void 0&&W.name!==$){if(delete this._registeredPrompts[$],W.name)this._registeredPrompts[W.name]=H}if(W.title!==void 0)H.title=W.title;if(W.description!==void 0)H.description=W.description;if(W.icons!==void 0)H.icons=W.icons;if(W._meta!==void 0)H._meta=W._meta;let X=!1;if(W.argsSchema!==void 0)H.argsSchema=W.argsSchema,K=W.argsSchema,X=!0;if(W.callback!==void 0)G=W.callback,X=!0;if(X)H.handler=Fe($,K,G);if(W.enabled!==void 0)H.enabled=W.enabled;this.sendPromptListChanged()}};if(this._registeredPrompts[$]=H,z){let W=Me(z);if(W){if(Object.values(W).some((X)=>{return qS(Oe(X))}))this.setCompletionRequestHandler()}}return H}_createRegisteredTool($,Y,U,z,Q,J,I,K,G,H){if(QS($),z!==void 0)try{let Z=R7(z,"input");this._toolInputSchemaJson[$]=Z;let q=oh(Z);if(!q.valid)console.warn(`[mcp-sdk] tool '${$}' carries an invalid x-mcp-header declaration and will be excluded by conforming Streamable HTTP clients: ${q.reason}`)}catch{}let W=H,X={title:Y,description:U,inputSchema:z,outputSchema:Q,outputSchemaJson:Le(Q),annotations:J,icons:I,execution:K,_meta:G,handler:H,executor:qe(z,H),enabled:!0,disable:()=>X.update({enabled:!1}),enable:()=>X.update({enabled:!0}),remove:()=>X.update({name:null}),update:(Z)=>{if(Z.name!==void 0&&Z.name!==$){if(typeof Z.name==="string")QS(Z.name);if(delete this._registeredTools[$],delete this._toolInputSchemaJson[$],Z.name)delete this._toolInputSchemaJson[Z.name],this._registeredTools[Z.name]=X,$=Z.name}if(Z.title!==void 0)X.title=Z.title;if(Z.description!==void 0)X.description=Z.description;let q=!1;if(Z.paramsSchema!==void 0)X.inputSchema=Z.paramsSchema,delete this._toolInputSchemaJson[$],q=!0;if(Z.callback!==void 0)X.handler=Z.callback,W=Z.callback,q=!0;if(q)X.executor=qe(X.inputSchema,W);if(Z.outputSchema!==void 0)X.outputSchema=Z.outputSchema,X.outputSchemaJson=Le(Z.outputSchema);if(Z.annotations!==void 0)X.annotations=Z.annotations;if(Z.icons!==void 0)X.icons=Z.icons;if(Z._meta!==void 0)X._meta=Z._meta;if(Z.enabled!==void 0)X.enabled=Z.enabled;this.sendToolListChanged()}};return this._registeredTools[$]=X,this.setToolRequestHandlers(),this.sendToolListChanged(),X}registerTool($,Y,U){if(this._registeredTools[$])throw Error(`Tool ${$} is already registered`);let{title:z,description:Q,inputSchema:J,outputSchema:I,annotations:K,icons:G,_meta:H}=Y;return this._createRegisteredTool($,z,Q,Rw(J),Rw(I),K,G,void 0,H,U)}registerPrompt($,Y,U){if(this._registeredPrompts[$])throw Error(`Prompt ${$} is already registered`);let{title:z,description:Q,argsSchema:J,icons:I,_meta:K}=Y,G=this._createRegisteredPrompt($,z,Q,Rw(J),U,I,K);return this.setPromptRequestHandlers(),this.sendPromptListChanged(),G}isConnected(){return this.server.transport!==void 0}async sendLoggingMessage($,Y){return this.server.sendLoggingMessage($,Y)}sendResourceListChanged(){if(this.isConnected())this.server.sendResourceListChanged()}sendToolListChanged(){if(this.isConnected())this.server.sendToolListChanged()}sendPromptListChanged(){if(this.isConnected())this.server.sendPromptListChanged()}},Ve,FH;var FS=m(()=>{_w();xw();Ne=Symbol.for("mcp.completable");Ji0=new Set(["notifications/tools/list_changed","notifications/prompts/list_changed","notifications/resources/list_changed","notifications/resources/updated"]);Zi0=new Set(["tools/call","prompts/get","resources/read"]);Te=class extends $S{_clientCapabilities;_clientVersion;static{qi0=($,Y)=>{if(Y.clientCapabilities!==void 0)$._clientCapabilities=Y.clientCapabilities;if(Y.clientInfo!==void 0)$._clientVersion=Y.clientInfo},Be=($,Y)=>{let U=Y.filter((z)=>!$._supportedProtocolVersions.includes(z));if(U.length>0)$._supportedProtocolVersions=[...$._supportedProtocolVersions,...U];$.setRequestHandler("server/discover",()=>$._ondiscover())},Pe=($)=>$._serverInfo}_capabilities;_instructions;_jsonSchemaValidator;_cacheHints;_requestStateVerify;_inputRequiredServing;_legacyShim;_legacyInputRequiredShim(){return this._legacyShim??=new Xi0({maxRounds:this._inputRequiredServing.maxRounds,roundTimeoutMs:this._inputRequiredServing.roundTimeoutMs,resolvedClientCapabilities:($)=>this._inputRequestCapabilityView($),verifyRequestState:($,Y,U)=>this._verifyRequestState($,Y,U),sendElicitation:($,Y)=>this._sendElicitationLeg($,Y,{validateAcceptedContent:!1}),sendSampling:($,Y)=>this.createMessage($,Y),listRoots:($,Y)=>this.listRoots($,Y)})}oninitialized;constructor($,Y){super(Y);if(this._serverInfo=$,this._capabilities=Y?.capabilities?{...Y.capabilities}:{},this._instructions=Y?.instructions,this._jsonSchemaValidator=Y?.jsonSchemaValidator??new kw,this._requestStateVerify=Y?.requestState?.verify,this._inputRequiredServing=Hi0(Y?.inputRequired),Y?.cacheHints!==void 0){for(let[U,z]of Object.entries(Y.cacheHints))if(z!==void 0)nh(z,`cacheHints['${U}']`);this._cacheHints=Y.cacheHints}if(this.setRequestHandler("initialize",(U)=>this._oninitialize(U)),this.setNotificationHandler("notifications/initialized",()=>this.oninitialized?.()),xh(this._supportedProtocolVersions).length>0)this.setRequestHandler("server/discover",()=>this._ondiscover());if(this._capabilities.logging)this._registerLoggingHandler()}_registerLoggingHandler(){this.setRequestHandler("logging/setLevel",async($,Y)=>{let U=Y.sessionId||Y.http?.req?.headers.get("mcp-session-id")||void 0,{level:z}=$.params,Q=Cw(P7,z);if(Q.success)this._loggingLevels.set(U,Q.data);return{}})}buildContext($,Y){let U=$.http||Y?.request||Y?.closeSSEStream||Y?.closeStandaloneSSEStream;return{...$,mcpReq:{...$.mcpReq,log:(z,Q,J)=>{if(!this._capabilities.logging)return Promise.resolve();let I;if(this._servedModernEra()){if(I=$.mcpReq.envelope?.[M7],I===void 0)return Promise.resolve()}else I=this._loggingLevels.get($.sessionId)??this._loggingLevels.get(void 0);if(I!==void 0&&this.LOG_LEVEL_SEVERITY.get(z)this.elicitInput(z,Q),requestSampling:(z,Q)=>this.createMessage(z,Q)},http:U?{...$.http,req:Y?.request,closeSSE:Y?.closeSSEStream,closeStandaloneSSE:Y?.closeStandaloneSSEStream}:void 0}}_loggingLevels=new Map;LOG_LEVEL_SEVERITY=new Map(P7.options.map(($,Y)=>[$,Y]));isMessageIgnored=($,Y)=>{let U=this._loggingLevels.get(Y);return U?this.LOG_LEVEL_SEVERITY.get($){let I=await Y(Q,J);if(s9(I))throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result, but only tools/call, prompts/get and resources/read support input_required (protocol revision 2026-07-28)`);return I};return async(Q,J)=>{let I=z?await this._invokeInputRequiredCapableHandler($,Y,Q,J):await Y(Q,J);if(s9(I)){if(!z)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result, but only tools/call, prompts/get and resources/read support input_required (protocol revision 2026-07-28)`);return I}return U===void 0?I:Dw(I,U)}}return async(U,z)=>{let Q=j7(this._negotiatedProtocolVersion),J=Q.validateRequest("tools/call",U);if(!J.ok)throw new J1(J.reason==="not-in-era"?n0.InternalError:n0.InvalidParams,J.reason==="not-in-era"?"No wire schema for tools/call in the resolved era":`Invalid tools/call request: ${J.message}`);let I=await this._invokeInputRequiredCapableHandler("tools/call",Y,U,z);if(s9(I))return I;let K=fh(I),G=Q.validateResult("tools/call",K);if(!G.ok)throw new J1(G.reason==="not-in-era"?n0.InternalError:n0.InvalidParams,G.reason==="not-in-era"?"No wire schema for tools/call in the resolved era":`Invalid tools/call result: ${G.message}`);return G.value}}_servedModernEra(){return this._negotiatedProtocolVersion!==void 0&&SQ(this._negotiatedProtocolVersion)}async _invokeInputRequiredCapableHandler($,Y,U,z){let Q=this._servedModernEra(),J=z.mcpReq.requestState();if(J!==void 0&&typeof J!=="string")throw new J1(n0.InvalidParams,"Invalid or expired requestState",{reason:"invalid_request_state"});let I=z;if(typeof J==="string"){let X=await this._verifyRequestState(J,z,$);if(X!==void 0)I=th(z,X)}let K;try{K=await Y(U,I)}catch(X){if(X instanceof J1&&X.code===n0.UrlElicitationRequired){if(!Q)throw X;throw new J1(n0.InternalError,`URL elicitation cannot be signalled by throwing UrlElicitationRequiredError on protocol revision ${this._negotiatedProtocolVersion}: return inputRequired({ inputRequests: { …: inputRequired.elicitUrl(...) } }) from the handler instead. The urlElicitationRequired error (-32042) of earlier revisions is not available on this revision.`)}throw X}if(!s9(K))return K;if(!Q){if(!this._inputRequiredServing.legacyShim)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result, but this request is served on protocol revision ${this._negotiatedProtocolVersion??gY}, which has no input_required vocabulary`);return await this._legacyInputRequiredShim().fulfill($,Y,U,I,K)}let G=K.inputRequests,H=G!=null&&Object.keys(G).length>0,W=typeof K.requestState==="string";if(!H&&!W)throw new J1(n0.InternalError,`Handler for ${$} returned an input-required result with neither inputRequests nor requestState (every InputRequiredResult must include at least one of the two)`);if(H){let X=this._inputRequestCapabilityView(z);for(let[Z,q]of Object.entries(G)){let{embedded:V,required:F}=Ae($,Z,q),M=Nw(F,X);if(M!==void 0)throw new Bw({requiredCapabilities:M},`Cannot request input '${Z}' (${V.method}): the request's client capabilities do not declare the required capability`)}}return K}async _verifyRequestState($,Y,U){if(this._requestStateVerify===void 0)return;try{return await this._requestStateVerify($,Y)}catch(z){throw this.onerror?.(Error(`requestState verification rejected ${U}: ${z instanceof Error?z.message:String(z)}`)),new J1(n0.InvalidParams,"Invalid or expired requestState",{reason:"invalid_request_state"})}}_inputRequestCapabilityView($){return this._servedModernEra()?$.mcpReq.envelope?.[o9]:this._clientCapabilities}_assertPushApiInServedEra($){if(this._servedModernEra())throw new V1(A1.MethodNotSupportedByProtocolVersion,`Server-to-client requests are not available on protocol revision ${this._negotiatedProtocolVersion}: '${$}' cannot be sent while serving a request on that revision. Return inputRequired({ ... }) from the handler instead — the client fulfils the embedded requests and retries the original request (multi round-trip requests).`,{method:$,era:"2026-07-28"})}assertCapabilityForMethod($){switch($){case"sampling/createMessage":if(!this._clientCapabilities?.sampling)throw new V1(A1.CapabilityNotSupported,`Client does not support sampling (required for ${$})`);break;case"elicitation/create":if(!this._clientCapabilities?.elicitation)throw new V1(A1.CapabilityNotSupported,`Client does not support elicitation (required for ${$})`);break;case"roots/list":if(!this._clientCapabilities?.roots)throw new V1(A1.CapabilityNotSupported,`Client does not support listing roots (required for ${$})`);break;case"ping":break}}assertNotificationCapability($){switch($){case"notifications/message":if(!this._capabilities.logging)throw new V1(A1.CapabilityNotSupported,`Server does not support logging (required for ${$})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw new V1(A1.CapabilityNotSupported,`Server does not support notifying about resources (required for ${$})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw new V1(A1.CapabilityNotSupported,`Server does not support notifying of tool list changes (required for ${$})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw new V1(A1.CapabilityNotSupported,`Server does not support notifying of prompt list changes (required for ${$})`);break;case"notifications/elicitation/complete":if(!this._clientCapabilities?.elicitation?.url)throw new V1(A1.CapabilityNotSupported,`Client does not support URL elicitation (required for ${$})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability($){switch($){case"completion/complete":if(!this._capabilities.completions)throw new V1(A1.CapabilityNotSupported,`Server does not support completions (required for ${$})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw new V1(A1.CapabilityNotSupported,`Server does not support logging (required for ${$})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw new V1(A1.CapabilityNotSupported,`Server does not support prompts (required for ${$})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw new V1(A1.CapabilityNotSupported,`Server does not support resources (required for ${$})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw new V1(A1.CapabilityNotSupported,`Server does not support tools (required for ${$})`);break;case"ping":case"initialize":break}}async _oninitialize($){let Y=$.params.protocolVersion;this._clientCapabilities=$.params.capabilities,this._clientVersion=$.params.clientInfo;let U=Lt(this._supportedProtocolVersions),z=U.includes(Y)?Y:U[0]??gY;return this._negotiatedProtocolVersion=z,this.transport?.setProtocolVersion?.(z),{protocolVersion:z,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}_ondiscover(){return{supportedVersions:xh(this._supportedProtocolVersions),capabilities:Vi0(this.getCapabilities()),...this._instructions&&{instructions:this._instructions}}}_outboundServerInfo(){return this._serverInfo}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getNegotiatedProtocolVersion(){return this._negotiatedProtocolVersion}projectCallToolResult($,Y){return this._wireCodec().projectCallToolResult($,Y)}getCapabilities(){return this._capabilities}async ping(){return this._assertPushApiInServedEra("ping"),this.request({method:"ping"})}async createMessage($,Y){if(this._assertPushApiInServedEra("sampling/createMessage"),($.tools||$.toolChoice)&&!this._clientCapabilities?.sampling?.tools)throw new V1(A1.CapabilityNotSupported,"Client does not support sampling tools capability.");if($.messages.length>0){let J=$.messages.at(-1),I=Array.isArray(J.content)?J.content:[J.content],K=I.some((X)=>X.type==="tool_result"),G=$.messages.length>1?$.messages.at(-2):void 0,H=G?Array.isArray(G.content)?G.content:[G.content]:[],W=H.some((X)=>X.type==="tool_use");if(K){if(I.some((X)=>X.type!=="tool_result"))throw new J1(n0.InvalidParams,"The last message must contain only tool_result content if any is present");if(!W)throw new J1(n0.InvalidParams,"tool_result blocks are not matching any tool_use from the previous message")}if(W){let X=new Set(H.filter((q)=>q.type==="tool_use").map((q)=>q.id)),Z=new Set(I.filter((q)=>q.type==="tool_result").map((q)=>q.toolUseId));if(X.size!==Z.size||![...X].every((q)=>Z.has(q)))throw new J1(n0.InvalidParams,"ids of tool_result blocks and tool_use blocks from previous message do not match")}}let U=Boolean($.tools||$.toolChoice),z=await this.request({method:"sampling/createMessage",params:$},Y),Q=this._wireCodec().samplingResultVariant(U,z);if(!Q.ok)throw new V1(A1.InvalidResult,`Invalid sampling/createMessage result: ${Q.reason==="invalid"?Q.message:Q.reason}`);return Q.value}async elicitInput($,Y){switch(this._assertPushApiInServedEra("elicitation/create"),$.mode??"form"){case"url":if(!this._clientCapabilities?.elicitation?.url)throw new V1(A1.CapabilityNotSupported,"Client does not support url elicitation.");break;case"form":if(!this._clientCapabilities?.elicitation?.form)throw new V1(A1.CapabilityNotSupported,"Client does not support form elicitation.");break}return this._sendElicitationLeg($,Y)}async _sendElicitationLeg($,Y,U){let z=$.mode??"form",Q=U?.validateAcceptedContent??!0;switch(z){case"url":{let J=$;return this.request({method:"elicitation/create",params:J},Y)}case"form":{let J=$.mode==="form"?$:{...$,mode:"form"},I=await this.request({method:"elicitation/create",params:J},Y);if(Q&&I.action==="accept"&&I.content&&J.requestedSchema)try{let K=this._jsonSchemaValidator.getValidator(J.requestedSchema)(I.content);if(!K.valid)throw new J1(n0.InvalidParams,`Elicitation response content does not match requested schema: ${K.errorMessage}`)}catch(K){if(K instanceof J1)throw K;throw new J1(n0.InternalError,`Error validating elicitation response: ${K instanceof Error?K.message:String(K)}`)}return I}}}createElicitationCompletionNotifier($,Y){if(!this._clientCapabilities?.elicitation?.url)throw new V1(A1.CapabilityNotSupported,"Client does not support URL elicitation (required for notifications/elicitation/complete)");return()=>this.notification({method:"notifications/elicitation/complete",params:{elicitationId:$}},Y)}async listRoots($,Y){return this._assertPushApiInServedEra("roots/list"),this.request({method:"roots/list",params:$},Y)}async sendLoggingMessage($,Y){if(this._capabilities.logging&&!this.isMessageIgnored($.level,Y))return this.notification({method:"notifications/message",params:$})}async sendResourceUpdated($){return this.notification({method:"notifications/resources/updated",params:$})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}};Ve={type:"object",properties:{}};FH={completion:{values:[],hasMore:!1}}});var je=m(()=>{FS();_w();xw()});function Mi0($){let Y=$.params;if($.method==="initialize"&&!rh(Y)){let J=Y!==null&&typeof Y==="object"&&typeof Y.protocolVersion==="string"?Y.protocolVersion:void 0;return{kind:"legacy",reason:"initialize",...J!==void 0&&{requestedVersion:J}}}if(!Pw(Y))return{kind:"legacy",reason:"no-claim"};let U=bY(Y),z=(U===void 0?[]:jw(U))[0];if(z!==void 0)return{kind:"invalid-envelope",issue:z};let Q=Tw(Y);if(Q===void 0||!E7.includes(Q))return{kind:"unsupported-revision",requested:Q??"unknown"};return{kind:"modern",revision:Q,classification:{era:"modern",revision:Q}}}function Ce($,Y={}){let U=Y.legacy??"serve",z=Y.transport??new Fi0,Q={phase:"opening"},J,I=!1,K=()=>I||Q.phase==="closed",G=(j)=>{try{Y.onerror?.(j)}catch{}},H=(j,C,b,x)=>z.send({jsonrpc:"2.0",id:j,error:{code:C,message:b,...x!==void 0&&{data:x}}}).catch((S)=>G(J5(S))),W=new De(Y.maxSubscriptions??fw),X=(j)=>{if(!C7(j))return;let C=W.routeOutbound(j);if(C==="passthrough")return;for(let b of C)z.send({jsonrpc:"2.0",...b}).catch((x)=>G(J5(x)));return"handled"},Z=async(j)=>{if(D$(j)&&j.method==="subscriptions/listen"){let C=bY(j.params),b=Pw(j.params)?(C===void 0?[]:jw(C))[0]:{key:"_meta",problem:"the per-request envelope is required on protocol revision 2026-07-28"},x=Tw(j.params),S;if(b!==void 0)S={jsonrpc:"2.0",id:j.id,error:{code:-32602,message:`Invalid _meta envelope: ${b.key}: ${b.problem}`}};else if(x===void 0||!E7.includes(x)){let i=new gQ({supported:[...E7],requested:x??"unknown"});S={jsonrpc:"2.0",id:j.id,error:{code:i.code,message:i.message,data:i.data}}}else S=W.serve(j);return await z.send("error"in S?S:{jsonrpc:"2.0",method:S.method,params:S.params}).catch((i)=>G(J5(i))),!0}if(C7(j)&&j.method==="notifications/cancelled"){let C=j.params?.requestId;if(C!==void 0&&W.cancel(C))return!0}return!1},q=(j,C,b)=>{let x=sh({kind:"legacy",reason:C,...b!==void 0&&{requestedVersion:b}},E7);if(x===void 0)return Promise.resolve();return G(Error(`Rejected 2025-era request on a modern-only stdio connection (${x.cell}): ${x.message}`)),H(j.id,x.code,x.message,x.data)},V=(j)=>{if(I||j===J)return;T()},F=async(j,C)=>{let b=await $({era:j}),x=b instanceof wH?b.server:b;if(j==="modern")eh(x,C),VS(x,E7),W.setServerCapabilities(x.getCapabilities(),LS(x));let S=new wi0(z,()=>V(S),j==="modern"?X:void 0);return await b.connect(S),{product:b,channel:S}},M=(j)=>j.product.close().catch((C)=>G(J5(C))),w=async(j)=>{J=j.channel;try{if(!await j.channel.whenRequestsAnswered(Ee))G(Error(`Discarded the probe instance with requests still unanswered after ${Ee}ms; continuing with the fallback`));await j.product.close()}catch(C){G(J5(C))}finally{J=void 0}},N=async(j)=>{if(Q.phase==="closed")return;if(Q.phase==="pinned"){if(Q.era==="modern"&&D$(j)&&j.method==="initialize"&&!rh(j.params)){await q(j,"initialize",j.params!==null&&typeof j.params==="object"&&typeof j.params.protocolVersion==="string"?j.params.protocolVersion:void 0);return}if(Q.era==="modern"&&await Z(j))return;Q.instance.channel.deliver(j);return}if(!D$(j)&&!C7(j)){G(Error("Discarded a JSON-RPC response received before the connection negotiated an era"));return}let C=Mi0(j);switch(C.kind){case"invalid-envelope":{let b=`Invalid _meta envelope for protocol revision 2026-07-28: ${C.issue.key}: ${C.issue.problem}`;if(D$(j))await H(j.id,n0.InvalidParams,b,{envelope:C.issue});else G(Error(`Discarded a notification with a malformed envelope: ${b}`));return}case"unsupported-revision":if(D$(j)){let b=new gQ({supported:[...E7],requested:C.requested});G(b),await H(j.id,b.code,b.message,b.data)}else G(Error(`Discarded a notification claiming unsupported protocol revision ${C.requested}`));return;case"modern":if(D$(j)&&j.method==="server/discover"){if(Q.phase==="probe"){Q.instance.channel.deliver(j,{classification:C.classification});return}let b=await F("modern",C.revision);if(K()){await M(b);return}Q={phase:"probe",instance:b},b.channel.deliver(j,{classification:C.classification});return}if(Q.phase==="probe"){if(C7(j)){Q.instance.channel.deliver(j,{classification:C.classification});return}Q={phase:"pinned",era:"modern",instance:Q.instance}}else{let b=await F("modern",C.revision);if(K()){await M(b);return}Q={phase:"pinned",era:"modern",instance:b}}if(await Z(j))return;Q.instance.channel.deliver(j,{classification:C.classification});return;case"legacy":{if(U==="reject"){if(D$(j))await q(j,C.reason,C.requestedVersion);return}if(Q.phase==="probe"){if(await w(Q.instance),K())return;Q={phase:"opening"}}let b=await F("legacy");if(K()){await M(b);return}Q={phase:"pinned",era:"legacy",instance:b},Q.instance.channel.deliver(j);return}}},O=[],D=!1,P=async()=>{if(D)return;D=!0;try{while(O.length>0){let j=O.shift();try{await N(j)}catch(C){if(D$(j))await H(j.id,n0.InternalError,"Internal server error");G(J5(C))}}}finally{D=!1}},T=async()=>{if(I||Q.phase==="closed")return;I=!0;let j=Q;Q={phase:"closed"};for(let C of W.teardownAll())await z.send(C).catch((b)=>G(J5(b)));if(j.phase==="probe"||j.phase==="pinned")await j.instance.product.close().catch((C)=>G(J5(C)));await z.close().catch((C)=>G(J5(C)))};z.onmessage=(j)=>{O.push(j),P()},z.onerror=(j)=>{if(G(j),Q.phase==="probe"||Q.phase==="pinned")Q.instance.channel.onerror?.(j)},z.onclose=()=>{if(I||Q.phase==="closed")return;I=!0;let j=Q;if(Q={phase:"closed"},j.phase==="probe"||j.phase==="pinned")j.instance.product.close().catch((C)=>G(J5(C)))};let A=z.start().catch((j)=>{throw G(J5(j)),j});return A.catch(()=>{}),{close:async()=>{await A.catch(()=>{}),await T()}}}function J5($){return $ instanceof Error?$:Error(String($))}var Fi0=class{_readBuffer;_started=!1;_closed=!1;constructor($=XS.stdin,Y=XS.stdout,U){this._stdin=$,this._stdout=Y,this._readBuffer=new US({maxBufferSize:U?.maxBufferSize})}onclose;onerror;onmessage;_ondata=($)=>{try{this._readBuffer.append($),this.processReadBuffer()}catch(Y){this.onerror?.(Y),this.close().catch(()=>{})}};_onerror=($)=>{this.onerror?.($)};_onstdouterror=($)=>{this.onerror?.($),this.close().catch(()=>{})};async start(){if(this._started)throw Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");this._started=!0,this._stdin.on("data",this._ondata),this._stdin.on("error",this._onerror),this._stdout.on("error",this._onstdouterror)}processReadBuffer(){while(!0)try{let $=this._readBuffer.readMessage();if($===null)break;this.onmessage?.($)}catch($){this.onerror?.($)}}async close(){if(this._closed)return;if(this._closed=!0,this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),this._stdout.off("error",this._onstdouterror),this._stdin.listenerCount("data")===0)this._stdin.pause();this._readBuffer.clear(),this.onclose?.()}send($){if(this._closed)return Promise.reject(Error("StdioServerTransport is closed"));return new Promise((Y,U)=>{let z=zS($),Q=!1,J=(K)=>{if(Q)return;Q=!0,this._stdout.off("error",J),this._stdout.off("drain",I),U(K)},I=()=>{if(Q)return;Q=!0,this._stdout.off("error",J),this._stdout.off("drain",I),Y()};if(this._stdout.once("error",J),this._stdout.write(z)){if(Q)return;Q=!0,this._stdout.off("error",J),Y()}else if(!Q)this._stdout.once("drain",I)})}},Ee=3000,wi0=class{onclose;onerror;onmessage;_closed=!1;_pendingRequests=new Set;_drainWaiters=[];constructor($,Y,U){this._wire=$,this._onInstanceClose=Y,this._outboundIntercept=U}async start(){}async send($,Y){if(XH($)||Ew($)){let{id:U}=$;if(U!==void 0)this._settle(U)}if(this._closed)return;if(this._outboundIntercept?.($)==="handled")return;return this._wire.send($,Y)}setProtocolVersion=($)=>{this._wire.setProtocolVersion?.($)};deliver($,Y){if(this._closed)return;if(D$($))this._pendingRequests.add($.id);else if(C7($)&&$.method==="notifications/cancelled"){let U=$.params?.requestId;if(U!==void 0)this._settle(U)}this.onmessage?.($,Y)}async whenRequestsAnswered($){if(this._closed||this._pendingRequests.size===0)return!0;return await new Promise((Y)=>{let U=()=>{clearTimeout(z),Y(!0)},z=setTimeout(()=>{this._drainWaiters=this._drainWaiters.filter((Q)=>Q!==U),Y(!1)},$);this._drainWaiters.push(U)})}async close(){if(this._closed)return;this._closed=!0,this._pendingRequests.clear(),this._releaseDrainWaiters();try{this._onInstanceClose()}finally{this.onclose?.()}}_settle($){if(this._pendingRequests.delete($),this._pendingRequests.size===0)this._releaseDrainWaiters()}_releaseDrainWaiters(){let $=this._drainWaiters;this._drainWaiters=[];for(let Y of $)Y()}};var Re=m(()=>{FS();_w();xw()});var A$=m(()=>{PL();PL()});var a9;var MH=m(()=>{a9=class a9 extends Error{name="KyError";get isKyError(){return!0}}});var D6;var uw=m(()=>{MH();D6=class D6 extends a9{name="HTTPError";response;request;options;data;constructor($,Y,U){let z=$.status||$.status===0?$.status:"",Q=$.statusText??"",J=`${z} ${Q}`.trim(),I=J?`status code ${J}`:"an unknown error";super(`Request failed with ${I}: ${Y.method} ${Y.url}`);this.response=$,this.request=Y,this.options=U}}});var OH;var wS=m(()=>{MH();OH=class OH extends a9{name="NetworkError";request;constructor($,Y){super(`Request failed due to a network error: ${$.method} ${$.url}`,Y);this.request=$}}});var NH;var MS=m(()=>{NH=class NH extends Error{name="NonError";value;constructor($){let Y="Non-error value was thrown";try{if(typeof $==="string")Y=$;else if($&&typeof $==="object"&&"message"in $&&typeof $.message==="string")Y=$.message}catch{}super(Y);this.value=$}}});var xQ;var _e=m(()=>{MH();MS();xQ=class xQ extends a9{name="ForceRetryError";customDelay;code;customRequest;constructor($){let Y=$?.cause?$.cause instanceof Error?$.cause:new NH($.cause):void 0;super($?.code?`Forced retry: ${$.code}`:"Forced retry",Y?{cause:Y}:void 0);this.customDelay=$?.delay,this.code=$?.code,this.customRequest=$?.request}}});var OS;var ve=m(()=>{OS=class OS extends Error{name="SchemaValidationError";issues;constructor($){super("Response schema validation failed");this.issues=$}}});var I5;var bw=m(()=>{MH();I5=class I5 extends a9{name="TimeoutError";request;constructor($){super(`Request timed out: ${$.method} ${$.url}`);this.request=$}}});class pw{options;constructor($){this.options=$}}var NS,he,iw,Se,ge,cw,Oi0=()=>{return},ye,fQ=2147483647,ke=40,nw,xe=($)=>new pw($),fe,ue;var iY=m(()=>{NS=(()=>{let $=!1,Y=!1,U=typeof globalThis.ReadableStream==="function",z=typeof globalThis.Request==="function";if(U&&z)try{Y=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return $=!0,"half"}}).headers.has("Content-Type")}catch(Q){if(Q instanceof Error&&Q.message==="unsupported BodyInit type")return!1;throw Q}return $&&!Y})(),he=typeof globalThis.AbortController==="function",iw=typeof globalThis.AbortSignal==="function"&&typeof globalThis.AbortSignal.any==="function",Se=typeof globalThis.ReadableStream==="function",ge=typeof globalThis.FormData==="function",cw=["get","post","put","patch","head","delete"];Oi0();ye={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},nw=Symbol("stop");fe={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,baseUrl:!0,prefix:!0,retry:!0,timeout:!0,totalTimeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},ue={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0}});var dw,Ni0=($)=>{if(!$)return 0;if($ instanceof FormData){let Y=0;for(let[U,z]of $)Y+=ke,Y+=dw.encode(`Content-Disposition: form-data; name="${U}"`).byteLength,Y+=typeof z==="string"?dw.encode(z).byteLength:z.size;return Y}if($ instanceof Blob)return $.size;if($ instanceof ArrayBuffer||ArrayBuffer.isView($))return $.byteLength;if(typeof $==="string")return dw.encode($).byteLength;if($ instanceof URLSearchParams)return dw.encode($.toString()).byteLength;return 0},be=($,Y,U)=>{let z,Q=0;return $.pipeThrough(new TransformStream({transform(J,I){if(I.enqueue(J),z){Q+=z.byteLength;let K=Y===0?0:Q/Y;if(K>=1)K=1-Number.EPSILON;U?.({percent:K,totalBytes:Math.max(Y,Q),transferredBytes:Q},z)}z=J},flush(){if(z)Q+=z.byteLength,U?.({percent:1,totalBytes:Math.max(Y,Q),transferredBytes:Q},z)}}))},ie=($,Y)=>{if(!$.body)return $;let U={status:$.status,statusText:$.statusText,headers:$.headers};if($.status===204)return new Response(null,U);let z=Math.max(0,Number($.headers.get("content-length"))||0);return new Response(be($.body,z,Y),U)},ce=($,Y,U)=>{if(!$.body)return $;let z=Ni0(U??$.body);return new Request($,{duplex:"half",body:be($.body,z,Y)})};var ne=m(()=>{iY();dw=new TextEncoder});var m5=($)=>$!==null&&typeof $==="object";function DH($,Y,U){return Object.hasOwn(Y,U)&&Y[U]===void 0?[]:PS($[U]??[],Y[U]??[])}var Di0,DS=($)=>m5($)&&$[Di0]===!0?{isReplace:!0,value:$.value}:{isReplace:!1,value:$},AH=(...$)=>{for(let Y of $)if((!m5(Y)||Array.isArray(Y))&&Y!==void 0)throw TypeError("The `options` argument must be an object");return PS({},...$)},BS=($={},Y={})=>{let U=new globalThis.Headers($),z=Y instanceof globalThis.Headers,Q=new globalThis.Headers(Y);for(let[J,I]of Q.entries())if(z&&I==="undefined"||I===void 0)U.delete(J);else U.set(J,I);return U},AS=($)=>{if(!m5($)||Array.isArray($))return!1;let Y=Object.getPrototypeOf($);return Y===Object.prototype||Y===null},uQ=($)=>{if($ instanceof URLSearchParams){let Y=new URLSearchParams($),U=$[_7];if(U)Y[_7]=new Set(U);return Y}if($ instanceof globalThis.Headers)return new globalThis.Headers($);if(Array.isArray($))return[...$];if(AS($))return{...$};return $},Ai0=($)=>Object.fromEntries(Object.entries($).filter((Y)=>Y[1]!==void 0)),Bi0=($,Y)=>{if(AS($)&&AS(Y))return Ai0({...$,...Y});return BS($,Y)},mw=($={},Y={})=>({init:DH($,Y,"init"),beforeRequest:DH($,Y,"beforeRequest"),beforeRetry:DH($,Y,"beforeRetry"),beforeError:DH($,Y,"beforeError"),afterResponse:DH($,Y,"afterResponse")}),_7,Pi0=($,Y)=>{let U=new URLSearchParams,z=new Set;for(let Q of[$,Y]){if(Q===void 0)continue;if(Q instanceof URLSearchParams){for(let[I,K]of Q.entries())U.append(I,K),z.delete(I);let J=Q[_7];if(J)for(let I of J)U.delete(I),z.add(I)}else if(Array.isArray(Q))for(let J of Q){if(!Array.isArray(J)||J.length!==2)throw TypeError("Array search parameters must be provided in [[key, value], ...] format");U.append(String(J[0]),String(J[1])),z.delete(String(J[0]))}else if(m5(Q))for(let[J,I]of Object.entries(Q))if(I===void 0)U.delete(J),z.add(J);else U.append(J,String(I)),z.delete(J);else{let J=new URLSearchParams(Q);for(let[I,K]of J.entries())U.append(I,K),z.delete(I)}}if(z.size>0)U[_7]=z;return U},PS=(...$)=>{let Y={},U={},z={},Q,J=[];for(let I of $)if(Array.isArray(I)){if(!Array.isArray(Y))Y=[];Y=[...Y,...I]}else if(m5(I)){for(let[K,G]of Object.entries(I)){if(K==="signal"&&G instanceof globalThis.AbortSignal){J.push(G);continue}let H=DS(G),{isReplace:W}=H;if(G=H.value,K==="context"){if(G!==void 0&&G!==null&&(!m5(G)||Array.isArray(G)))throw TypeError("The `context` option must be an object");Y={...Y,context:G===void 0||G===null?{}:W?{...G}:{...Y.context,...G}};continue}if(K==="searchParams"){if(G===void 0||G===null)Q=void 0;else if(W)Q=G;else Q=Q===void 0?G:Pi0(Q,G);continue}if(m5(G)&&!W&&K in Y)G=PS(Y[K],G);Y={...Y,[K]:G}}if(m5(I.hooks)){let{value:K,isReplace:G}=DS(I.hooks);z=G?mw({},K):mw(z,K),Y.hooks=z}if(m5(I.headers)){let{value:K,isReplace:G}=DS(I.headers);U=G?uQ(K):Bi0(U,K),Y.headers=U}}if(Q!==void 0)Y.searchParams=Q;if(J.length>0)if(J.length===1)Y.signal=J[0];else if(iw)Y.signal=AbortSignal.any(J);else Y.signal=J.at(-1);return Y};var lw=m(()=>{iY();Di0=Symbol("replaceOption");_7=Symbol("deletedParameters")});var de=($)=>cw.includes($)?$.toUpperCase():$,Ti0,ji0,Ei0,pe,me=($={})=>{if(typeof $==="number")return{...pe,limit:$};if($.methods&&!Array.isArray($.methods))throw Error("retry.methods must be an array");if($.statusCodes&&!Array.isArray($.statusCodes))throw Error("retry.statusCodes must be an array");let Y=Object.fromEntries(Object.entries({...$,methods:$.methods?.map((U)=>U.toLowerCase())}).filter(([,U])=>U!==void 0));return{...pe,...Y}};var le=m(()=>{iY();Ti0=["get","put","head","delete","options","trace"],ji0=[408,413,429,500,502,503,504],Ei0=[413,429,503],pe={limit:2,methods:Ti0,statusCodes:ji0,afterStatusCodes:Ei0,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:($)=>0.3*2**($-1)*1000,jitter:void 0,retryOnTimeout:!1}});async function TS($,Y,U,z){return new Promise((Q,J)=>{let I=setTimeout(()=>{if(U)U.abort();J(new I5($))},z.timeout);z.fetch($,Y).then(Q).catch(J).then(()=>{clearTimeout(I)})})}var oe=m(()=>{bw()});async function ow($,{signal:Y}){return new Promise((U,z)=>{if(Y)Y.throwIfAborted(),Y.addEventListener("abort",Q,{once:!0});function Q(){clearTimeout(J),z(Y.reason)}let J=setTimeout(()=>{Y?.removeEventListener("abort",Q),U()},$)})}var re=($)=>{let Y={};for(let U in $){if(!Object.hasOwn($,U))continue;if(!(U in ue)&&!(U in fe))Y[U]=$[U]}return Y},se=($)=>{if($===void 0)return!1;if(Array.isArray($))return $.length>0;if($ instanceof URLSearchParams)return $.size>0||Boolean($[_7]?.size);if(typeof $==="object")return Object.keys($).length>0;if(typeof $==="string")return $.trim().length>0;return Boolean($)};var ae=m(()=>{iY();lw()});function jS($){if(!($&&Ri0($)&&$.name==="TypeError"&&typeof $.message==="string"))return!1;let{message:U,stack:z}=$;if(U==="Load failed")return z===void 0||"__sentry_captured__"in $;if(U.startsWith("error sending request for url"))return!0;if(U==="Failed to fetch"||U.startsWith("Failed to fetch (")&&U.endsWith(")"))return!0;return _i0.has(U)}var Ci0,Ri0=($)=>Ci0.call($)==="[object Error]",_i0;var te=m(()=>{Ci0=Object.prototype.toString,_i0=new Set(["network error","NetworkError when attempting to fetch resource.","The Internet connection appears to be offline.","Network request failed","fetch failed","terminated"," A network error occurred.","Network connection lost"])});function ee($){return ES($,D6)}function $00($){return ES($,OH)}function Y00($){return ES($,I5)}var ES=($,Y)=>$ instanceof Y||$?.name===Y.name;var U00=m(()=>{uw();wS();bw()});function ki0($){let Y={...$,json:uQ($.json),context:uQ($.context),headers:uQ($.headers),searchParams:yi0($.searchParams)};if($.retry!==void 0)Y.retry=gi0($.retry);return Y}class bQ{static create($,Y){let U=Y.hooks?.init??[],z=U.length>0?ki0(Y):Y;for(let K of U)K(z);let Q=new bQ($,z),J=async()=>{if(typeof Q.#$.timeout==="number"&&Q.#$.timeout>fQ)throw RangeError(`The \`timeout\` option cannot be greater than ${fQ}`);if(typeof Q.#$.totalTimeout==="number"&&Q.#$.totalTimeout>fQ)throw RangeError(`The \`totalTimeout\` option cannot be greater than ${fQ}`);await Promise.resolve();let K=await Q.#g(),G=K??await Q.#h(async()=>Q.#R()),H=K!==void 0||Q.#C();for(;;){if(G===void 0)return G;if(PH(G))try{G=await Q.#y(G)}catch(X){if(!(X instanceof xQ))throw X;let Z=await Q.#E(X,async()=>Q.#R());if(Z===void 0)return Z;G=Z,H=Q.#C();continue}let W=G;if(!W.ok&&W.type!=="opaque"&&(typeof Q.#$.throwHttpErrors==="function"?Q.#$.throwHttpErrors(W.status):Q.#$.throwHttpErrors)){let X=new D6(W,Q.#O(W),Q.#M()),Z=X;if(X.data=await Q.#L(W),H)throw Z;let q=await Q.#E(X,async()=>Q.#R());if(q===void 0)return q;G=q,H=Q.#C();continue}break}if(!PH(G))return G;if(Q.#V(G),Q.#$.onDownloadProgress){if(typeof Q.#$.onDownloadProgress!=="function")throw TypeError("The `onDownloadProgress` option must be a function");if(!Se)throw Error("Streams are not supported in your environment. `ReadableStream` is missing.");let W=G.clone();return Q.#K(G),ie(W,Q.#$.onDownloadProgress)}return G},I=(async()=>{try{return await J()}catch(K){if(!(K instanceof Error))throw K;if(Q.#X.has(K))throw K;let G=K;for(let H of Q.#$.hooks.beforeError){let W=await H({request:Q.request,options:Q.#M(),error:G,retryCount:Q.#Q});if(W instanceof Error)G=W}throw G}finally{let K=Q.#W;if(Q.#F(K?.body??void 0),Q.request!==K)Q.#F(Q.request.body??void 0)}})();for(let[K,G]of Object.entries(ye)){if(K==="bytes"&&typeof globalThis.Response?.prototype?.bytes!=="function")continue;I[K]=async(H)=>{Q.request.headers.set("accept",Q.request.headers.get("accept")||G);let W=await I;if(K!=="json")return W[K]();let X=await W.text();if(X===""){if(H!==void 0)return J00(void 0,H);return JSON.parse(X)}let Z=z.parseJson?await z.parseJson(X,{request:Q.#O(W),response:W}):JSON.parse(X);return H===void 0?Z:J00(Z,H)}}return I}static#z($){if($&&typeof $==="object"&&!Array.isArray($)&&!($ instanceof URLSearchParams))return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0));return $}request;#U;#Q=0;#Y;#$;#W;#H;#X=new WeakSet;#J;#I;#Z=!1;#N=new WeakMap;constructor($,Y={}){if(this.#Y=$,Object.hasOwn(Y,"prefixUrl"))throw Error(hi0);if(this.#$={...Y,headers:BS(this.#Y.headers,Y.headers),hooks:mw({},Y.hooks),method:de(Y.method??this.#Y.method??"GET"),prefix:String(Y.prefix||""),retry:me(Y.retry),throwHttpErrors:Y.throwHttpErrors??!0,timeout:Y.timeout??1e4,totalTimeout:Y.totalTimeout??!1,fetch:Y.fetch??globalThis.fetch.bind(globalThis),context:Y.context??{}},typeof this.#Y!=="string"&&!(this.#Y instanceof URL||this.#Y instanceof globalThis.Request))throw TypeError("`input` must be a string, URL, or Request");if(typeof this.#Y==="string"){if(this.#$.prefix){let z=this.#$.prefix.replace(/\/+$/,""),Q=this.#Y.replace(/^\/+/,"");this.#Y=`${z}/${Q}`}if(this.#$.baseUrl){let z;try{z=new URL(this.#Y)}catch{}if(!z)this.#Y=new URL(this.#Y,new Request(this.#$.baseUrl).url)}}if(he&&iw)this.#H=this.#$.signal??this.#Y.signal,this.#U=new globalThis.AbortController,this.#$.signal=this.#w();if(NS)this.#$.duplex="half";if(this.#$.json!==void 0)this.#$.body=this.#$.stringifyJson?.(this.#$.json)??JSON.stringify(this.#$.json),this.#$.headers.set("content-type",this.#$.headers.get("content-type")??"application/json");let U=Y.headers&&new globalThis.Headers(Y.headers).has("content-type");if(this.#Y instanceof globalThis.Request&&(ge&&this.#$.body instanceof globalThis.FormData||this.#$.body instanceof URLSearchParams)&&!U)this.#$.headers.delete("content-type");if(this.request=new globalThis.Request(this.#Y,this.#$),se(this.#$.searchParams)){let z=new URL(this.request.url),Q=this.#$.searchParams?.[_7];if(Q)for(let J of Q)z.searchParams.delete(J);if(typeof this.#$.searchParams==="string"){let J=this.#$.searchParams.replace(/^\?/,"");if(J!=="")z.search=z.search?`${z.search}&${J}`:`?${J}`}else{let J=new URLSearchParams(bQ.#z(this.#$.searchParams));for(let[I,K]of J.entries())z.searchParams.append(I,K)}if(this.#$.searchParams&&typeof this.#$.searchParams==="object"&&!Array.isArray(this.#$.searchParams)&&!(this.#$.searchParams instanceof URLSearchParams)){for(let[J,I]of Object.entries(this.#$.searchParams))if(I===void 0)z.searchParams.delete(J)}this.request=new globalThis.Request(z,this.#$)}if(this.#$.onUploadProgress&&typeof this.#$.onUploadProgress!=="function")throw TypeError("The `onUploadProgress` option must be a function");this.#I=typeof this.#$.totalTimeout==="number"?this.#S():void 0}#G(){let $=this.#$.retry.delay(this.#Q+1),Y=$;if(this.#$.retry.jitter===!0)Y=Math.random()*$;else if(typeof this.#$.retry.jitter==="function"){if(Y=this.#$.retry.jitter($),!Number.isFinite(Y)||Y<0)Y=$}return Math.min(this.#$.retry.backoffLimit,Y)}async#P($){if(this.#Q>=this.#$.retry.limit)throw $;let Y=$ instanceof Error?$:new NH($);if(Y instanceof xQ)return Y.customDelay??this.#G();if(!this.#$.retry.methods.includes(this.request.method.toLowerCase()))throw $;if(this.#$.retry.shouldRetry!==void 0){let U=await this.#$.retry.shouldRetry({error:Y,retryCount:this.#Q+1});if(U===!1)throw $;if(U===!0)return this.#G()}if(Y00($)){if(!this.#$.retry.retryOnTimeout)throw $;return this.#G()}if(ee($)){if(!this.#$.retry.statusCodes.includes($.response.status))throw $;let U=$.response.headers.get("Retry-After")??$.response.headers.get("RateLimit-Reset")??$.response.headers.get("X-RateLimit-Retry-After")??$.response.headers.get("X-RateLimit-Reset")??$.response.headers.get("X-Rate-Limit-Reset");if(U&&this.#$.retry.afterStatusCodes.includes($.response.status)){let z=Number(U)*1000;if(Number.isNaN(z))z=Date.parse(U)-Date.now();else if(z>=Date.parse("2024-01-01"))z-=Date.now();if(!Number.isFinite(z))return Math.min(this.#$.retry.maxRetryAfter,this.#G());return z=Math.max(0,z),Math.min(this.#$.retry.maxRetryAfter,z)}if($.response.status===413)throw $;return this.#G()}if(!$00($))throw $;return this.#G()}#V($){let Y=this.#O($);if(this.#$.parseJson)$.json=async()=>{let U=await $.text();if(U==="")return JSON.parse(U);return this.#$.parseJson(U,{request:Y,response:$})};return $}async#L($){let Y=await this.#T($,this.#D());if(Y===BH){this.#q();return}if(!Y)return;if(!this.#A($.headers.get("content-type")??""))return Y;let U=await this.#j(Y,$,this.#D(),this.#O($));if(U===BH){this.#q();return}return U}#D(){let $=this.#$.timeout===!1?1e4:this.#$.timeout,Y=this.#B();if(Y===void 0)return $;if(Y<=0)throw new I5(this.request);return Math.min($,Y)}#A($){let Y=($.split(";",1)[0]??"").trim().toLowerCase();return/\/(?:.*[.+-])?json$/.test(Y)}async#T($,Y){let{body:U}=$;if(!U)try{return await $.text()}catch{return}let z;try{z=U.getReader()}catch{return}let Q=Si0($.headers.get("content-type")??""),J=[],I=0,K=(async()=>{try{for(;;){let{done:W,value:X}=await z.read();if(W)break;if(I+=X.byteLength,I>vi0){z.cancel().catch(()=>{return});return}J.push(Q.decode(X,{stream:!0}))}}catch{return}return J.push(Q.decode()),J.join("")})(),G=new Promise((W)=>{let X=setTimeout(()=>{W(BH)},Y);K.finally(()=>{clearTimeout(X)})}),H=await Promise.race([K,G]);if(H===BH)z.cancel().catch(()=>{return});return H}async#j($,Y,U,z){let Q;try{return await Promise.race([Promise.resolve().then(()=>this.#$.parseJson?this.#$.parseJson($,{request:z,response:Y}):JSON.parse($)),new Promise((J)=>{Q=setTimeout(()=>{J(BH)},U)})])}catch{return}finally{clearTimeout(Q)}}#F($){if(!$)return;$.cancel().catch(()=>{return})}#K($){this.#F($.body??void 0)}#w(){return this.#H?AbortSignal.any([this.#H,this.#U.signal]):this.#U.signal}#q(){let $=this.#B();if($!==void 0&&$<=0)throw new I5(this.request)}async#g(){for(let $ of this.#$.hooks.beforeRequest){let Y=await $({request:this.request,options:this.#M(),retryCount:0});if(Q00(Y))this.#_(Y);else if(PH(Y))return Y}return}async#y($){let Y=this.#O($);for(let U of this.#$.hooks.afterResponse){let z=this.#v($.clone(),Y);this.#V(z);let Q;try{Q=await U({request:this.request,options:this.#M(),response:z,retryCount:this.#Q})}catch(I){if(z!==$)this.#K(z);throw this.#K($),I}if(Q instanceof pw){if(z!==$)this.#K(z);throw this.#K($),new xQ(Q.options)}let J=PH(Q)?this.#v(Q,Y):$;if(z!==$&&z!==J&&z.body!==J.body)this.#K(z);if($!==J&&$.body!==J.body)this.#K($);$=J}return $}async#h($){try{return await $()}catch(Y){return this.#E(Y,$)}}async#E($,Y){this.#Z=!1;let U=Math.min(await this.#P($),fQ),z={signal:this.#H},Q=this.#B();if(Q!==void 0){if(Q<=0)throw new I5(this.request);if(U>=Q)throw await ow(Q,z),new I5(this.request)}if(await ow(U,z),this.#q(),$ instanceof xQ&&$.customRequest){let J=new globalThis.Request($.customRequest,this.#$.signal?{signal:this.#$.signal}:void 0);this.#_(J)}for(let J of this.#$.hooks.beforeRetry){let I;try{I=await J({request:this.request,options:this.#M(),error:$,retryCount:this.#Q+1})}catch(K){if(K instanceof Error&&K!==$)this.#X.add(K);throw K}if(Q00(I)){this.#_(I);break}if(PH(I))return this.#Z=!0,this.#Q++,I;if(I===nw)return}return this.#q(),this.#Q++,this.#h(Y)}#C(){let $=this.#Z;return this.#Z=!1,$}async#R(){if(this.#U?.signal.aborted)this.#U=new globalThis.AbortController,this.#$.signal=this.#w(),this.request=new globalThis.Request(this.request,{signal:this.#$.signal});let $=re(this.#$),Y=this.#$.retry.limit>0?this.request.clone():void 0,U=this.#k(this.request,this.#$.body??void 0);if(this.#W=U,Y)this.request=Y;try{let z=this.#B();if(z!==void 0&&z<=0)throw new I5(this.request);let Q=this.#$.timeout===!1?z:z===void 0?this.#$.timeout:Math.min(this.#$.timeout,z),J=Q===void 0?await this.#$.fetch(U,$):await TS(U,$,this.#U,{timeout:Q,fetch:this.#$.fetch});return this.#v(J,U)}catch(z){if(jS(z))throw new OH(this.request,{cause:z});throw z}}#B(){if(this.#I===void 0)return;let $=this.#S()-this.#I;return Math.max(0,this.#$.totalTimeout-$)}#S(){return globalThis.performance?.now()??Date.now()}#M(){if(!this.#J){let{hooks:$,json:Y,parseJson:U,stringifyJson:z,searchParams:Q,timeout:J,totalTimeout:I,throwHttpErrors:K,fetch:G,...H}=this.#$;this.#J=Object.freeze(H)}return this.#J}#_($){this.#J=void 0,this.request=$}#O($){return this.#N.get($)??this.request}#v($,Y){return this.#N.set($,Y),$}#k($,Y){if(!this.#$.onUploadProgress||!$.body||!NS)return $;return ce($,this.#$.onUploadProgress,Y??this.#$.body??void 0)}}var vi0=10485760,hi0="The `prefixUrl` option has been renamed `prefix` in v2 and enhanced to allow slashes in input. See also the new `baseUrl` option for improved flexibility with standard URL resolution: https://github.com/sindresorhus/ky#baseurl",BH,Si0=($)=>{let Y=/;\s*charset\s*=\s*(?:"([^"]+)"|([^;,\s]+))/i.exec($),U=Y?.[1]??Y?.[2];if(U)try{return new TextDecoder(U)}catch{}return new TextDecoder},z00="The `schema` argument must follow the Standard Schema specification",gi0=($)=>{if(typeof $!=="object")return $;return{...$,...$.methods&&{methods:[...$.methods]},...$.statusCodes&&{statusCodes:[...$.statusCodes]},...$.afterStatusCodes&&{afterStatusCodes:[...$.afterStatusCodes]}}},I00,Q00=($)=>$ instanceof globalThis.Request||I00.call($)==="[object Request]",PH=($)=>$ instanceof globalThis.Response||I00.call($)==="[object Response]",yi0=($)=>{if(Array.isArray($))return $.map((Y)=>[...Y]);return uQ($)},J00=async($,Y)=>{if(typeof Y!=="object"&&typeof Y!=="function"||Y===null)throw TypeError(z00);let U=Y["~standard"];if(typeof U!=="object"||U===null||typeof U.validate!=="function")throw TypeError(z00);let z=await U.validate($);if(z.issues)throw new OS(z.issues);return z.value};var K00=m(()=>{uw();wS();MS();_e();ve();bw();ne();lw();le();oe();ae();te();U00();iY();BH=Symbol("timedOutResponseData"),I00=Object.prototype.toString});var CS=($)=>{let Y=(U,z)=>bQ.create(U,AH($,z));for(let U of cw)Y[U]=(z,Q)=>bQ.create(z,AH($,Q,{method:U}));return Y.create=(U)=>CS(AH(U)),Y.extend=(U)=>{if(typeof U==="function")U=U($??{});return CS(AH($,U))},Y.stop=nw,Y.retry=xe,Y},xi0,K5;var iQ=m(()=>{K00();iY();lw();uw();/*! MIT License © Sindre Sorhus */xi0=CS(),K5=xi0});async function G00($){if($.source.type!=="direct"&&$.source.type!=="seal")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=$.seal.url??$.source.sealUrl,U=$.source.type==="seal"?$.source:void 0;return{token:$.source.token,expiresAt:Date.now()+$.source.expiresIn*1000,enterprise:{provider:U?"seal":"direct",corpId:$.source.corpId??$.id,staffId:$.source.staffId,sealUrl:Y,tenantId:U?.tenantId,tenantSlug:$.seal.tenantSlug??U?.tenantSlug,tenantName:U?.tenantName,raw:{sourceType:$.source.type}}}}function fi0($){let Y=Object.entries($??{}).map(([U,z])=>`${U}=${z}`);return Y.length?Y.join("; "):void 0}function A6($){let Y={...$?.headers??{}},U=fi0($?.cookies);if(U)Y.Cookie=U;return Y}var H00,ui0,bi0,ii0,ci0,W00;var X00=m(()=>{A$();H00=L.object({token:L.string(),expiresAt:L.number(),url:L.string().url().optional()}),ui0=L.object({provider:L.string(),corpId:L.string().optional(),staffId:L.string(),sealUrl:L.string().url(),tenantId:L.string().optional(),tenantSlug:L.string().optional(),tenantName:L.string().optional(),raw:L.unknown().optional()}),bi0=L.object({token:L.string(),expiresAt:L.number(),enterprise:ui0}),ii0=L.object({openapi:H00.optional(),closeapi:H00.optional()}),ci0=L.object({seal:bi0.optional(),hose:ii0.optional()}),W00=L.record(L.string(),ci0)});import{existsSync as RS,mkdirSync as ni0,readFileSync as pi0,writeFileSync as di0}from"node:fs";import{dirname as mi0,join as q00}from"node:path";import{homedir as V00}from"node:os";function li0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;if(RS(rw))return rw;if(RS(Z00))return Z00;return rw}function oi0(){let $=(process.env.SEAL_USE_TOKEN_STORE??process.env.SEAL_HOME_TOKEN_STORE)?.trim();if($)return $;return rw}function cQ(){let $=li0();if(!RS($))return{};try{return W00.parse(JSON.parse(pi0($,"utf-8")))}catch{return{}}}function sw($){let Y=oi0();ni0(mi0(Y),{recursive:!0,mode:448}),di0(Y,JSON.stringify($,null,2),{mode:384})}function L00($){return cQ()[$]?.seal}function F00($,Y){let U=cQ();sw({...U,[$]:{...U[$],seal:Y}})}function w00($){let Y=cQ(),U=Y[$];if(!U)return;sw({...Y,[$]:{...U,seal:void 0}})}function TH($){return cQ()[$]?.hose??{}}function _S($,Y){let U=cQ();sw({...U,[$]:{...U[$],hose:Y}})}function aw($){let Y=cQ();delete Y[$],sw(Y)}var rw,Z00;var jH=m(()=>{X00();rw=q00(V00(),".config","seal-use","seal_tokens.json"),Z00=q00(V00(),".config","seal-home","seal_tokens.json")});function B$($){return $.replace(/\/+$/,"")}function N00($){let Y;try{Y=new URL($.trim())}catch{throw Error("Invalid Hose assistance link: expected a valid HTTPS URL")}if(Y.protocol!=="https:"||Y.port||!ti0(Y.hostname)||Y.pathname.replace(/\/+$/,"")!==ai0)throw Error("Invalid Hose assistance link: expected an HTTPS */web/thirdparty.html URL from ekuaibao.com or hosecloud.com");let U=Y.searchParams.getAll("accessToken").filter(Boolean),z=Y.searchParams.getAll("ekbCorpId").filter(Boolean);if(U.length!==1||z.length!==1)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required exactly once");let Q=z[0].trim().toLowerCase();if(!O00.test(Q))throw Error("Invalid Hose assistance link: ekbCorpId is not a valid tenant slug");return{corpId:Q,accessToken:U[0],baseUrl:Y.origin}}async function tw($,Y){let U=typeof $==="string"?N00($):D00($),z=`https://${U.corpId}.sealai.cc`,J=await T8(z,void 0,Y?.customHeaders).get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:U.accessToken,returnToken:"1"}}).json(),I=J.token??J.accessToken??J.data?.token??J.data?.accessToken;if(!I)throw Error("Seal SSO did not return a bearer token");let K=J.expiresIn??J.expires_in??J.data?.expiresIn??J.data?.expires_in??3600;return{corpId:U.corpId,sealUrl:z,token:I,expiresIn:Number.isFinite(K)&&K>0?K:3600}}function ew($,Y){let U=Y.hoseCorpConfig&&typeof Y.hoseCorpConfig==="object"?Y.hoseCorpConfig:void 0,z=[Y.tenantSlug,U?.corporationId].filter((I)=>typeof I==="string"&&Boolean(I)),Q=$.trim().toLowerCase(),J=z.map((I)=>I.trim().toLowerCase()).filter(Boolean);if(J.length===0||J.some((I)=>I!==Q))throw Error("Hose assistance link tenant mismatch: the Seal tenant does not match ekbCorpId")}function ti0($){let Y=$.toLowerCase();return si0.some((U)=>Y.endsWith(U))}function D00($){let Y=typeof $?.corpId==="string"?$.corpId.trim().toLowerCase():"",U=typeof $?.accessToken==="string"?$.accessToken.trim():"",z=typeof $?.baseUrl==="string"&&$.baseUrl.trim()?$.baseUrl.trim():void 0;if(!O00.test(Y)||!U)throw Error("Invalid Hose assistance link: accessToken and ekbCorpId are required");return{corpId:Y,accessToken:U,...z?{baseUrl:z}:{}}}function A00($,Y=60){return Boolean($&&Date.now()<$.expiresAt-Y*1000)}function v7($,Y){if($.seal.url)return $.seal.url;if(Y.sealUrl)return Y.sealUrl;return`https://${Y.corpId.toLowerCase()}.sealai.cc`}function ei0($){return $.staffId.includes(":")?$.staffId:`${$.corpId}:${$.staffId}`}function B00($){return K5.create({prefix:B$($.domain),timeout:30000,hooks:{beforeError:[async({error:Y})=>{let U=Y instanceof D6?await Y.response.text().catch(()=>""):"";return Y.message=`${Y.message}${U?`: ${U}`:""}`,Y}]}})}async function $c0($){let Y=B00($),U=$.appKey??$.key,z=$.appSecurity??$.password;if(!U||!z)throw Error("Hose source requires appKey/key and appSecurity/password");let Q=await Y.post("api/openapi/v1/auth/getAccessToken",{json:{appKey:U,appSecurity:z}}).json(),J=Q.value?.accessToken??Q.accessToken??Q.token;if(!J)throw Error("Hose login did not return an access token");return{token:J,expiresAt:Date.now()+3600000}}async function nQ($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=TH($.id);if(A00(Y.openapi))return Y.openapi.token;let U=vS.get($.id);if(U)return U;let z=$c0($.source).then((Q)=>{return _S($.id,{...TH($.id),openapi:Q}),Q.token}).finally(()=>vS.delete($.id));return vS.set($.id,z),z}async function $M($,Y,U=7200){let z=B00($),Q=ei0($),I=(await z.post("api/openapi/v1.1/provisional/getProvisionalAuth",{searchParams:{accessToken:Y},json:{uid:Q,pageType:"home",expireDate:U}}).json()).value?.message;if(!I)throw Error("Hose CloseAPI did not return a provisional auth URL");let K=new URL(I).searchParams.get("accessToken");if(!K)throw Error("Hose provisional auth URL did not include accessToken");return{token:K,url:I,expiresAt:Date.now()+U*1000}}async function YM($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=$.source,U=TH($.id);if(A00(U.closeapi)&&U.closeapi.url)return U.closeapi;let z=hS.get($.id);if(z)return z;let Q=nQ($).then((J)=>$M(Y,J)).then((J)=>{return _S($.id,{...TH($.id),closeapi:J}),J}).finally(()=>hS.delete($.id));return hS.set($.id,Q),Q}async function P00($,Y=7200,U){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);if(!Number.isFinite(Y)||Y<=0)throw Error(`Invalid expire seconds: ${Y}. Must be a positive integer.`);let z=await nQ($),Q=await $M($.source,z,Y);if(!Q.url)throw Error("Hose provisional auth URL was not available");return{corpId:$.source.corpId,staffId:$.source.staffId,url:Q.url,token:Q.token,expiresIn:Y}}async function T00($){if($.source.type!=="hose")throw Error(`Unsupported Seal source: ${$.source.type}`);let Y=await YM($),U=v7($,$.source),z=A6($.seal),J=await T8(U,void 0,z).get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:Y.token,returnToken:"1"}}).json(),I=J.token??J.accessToken??J.data?.token??J.data?.accessToken;if(!I)throw Error("Seal SSO did not return a bearer token");let K=J.expiresIn??J.expires_in??J.data?.expiresIn??J.data?.expires_in??3600,G={provider:"hose",corpId:$.source.corpId,staffId:$.source.staffId,sealUrl:B$(U),tenantSlug:$.seal.tenantSlug,raw:{sourceType:"hose",hoseDomain:B$($.source.domain)}};return{token:I,expiresAt:Date.now()+K*1000,enterprise:G}}async function pQ($,Y,U){if(U){let I=B$(U),K=await M00(I,$,Y);if(!K)throw Error(`Failed to authenticate on specified domain: ${I}. Please verify appKey/appSecurity and domain connectivity.`);return K}let z=ri0.map(async(I)=>{try{return await M00(I,$,Y)}catch{return}}),J=(await Promise.all(z)).filter((I)=>Boolean(I));if(J.length>0&&J[0])return J[0];throw Error("Failed to authenticate with appKey/appSecurity on all 6 standard Hose domains (app.ekuaibao.com, dd2.hosecloud.com, wx2.ekuaibao.com, kdcloud2.ekuaibao.com, ddenterprise.ekuaibao.com, feishu.ekuaibao.com). "+'If your enterprise uses a private cloud or custom domain (such as 美年大健康), please specify the "domain" parameter explicitly.')}async function M00($,Y,U){try{let z=await fetch(`${$}/api/openapi/v1/auth/getAccessToken`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({appKey:Y,appSecurity:U}),signal:AbortSignal.timeout(8000)});if(!z.ok)return;let Q=await z.json();if(Q.value?.errorCode)return;let J=Q.value?.accessToken??Q.accessToken,I=Q.value?.corporationId??Q.value?.corporation?.id;if(!J||!I)return;return{domain:$,corpId:I,corpName:Q.value?.corporation?.name,openapiToken:J,expireTime:Q.value?.expireTime}}catch{return}}async function UM($,Y){let U=`${B$($)}/api/openapi/v1/roleDefGroups?accessToken=${encodeURIComponent(Y)}`,z=await fetch(U,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!z.ok){let I=await z.text().catch(()=>"");throw Error(`Failed to fetch Hose role definition groups: ${z.status} ${I}`)}return((await z.json()).items??[]).map((I)=>({id:I.id,name:I.name,enName:I.enName,roleDefs:(I.roleDefs??[]).map((K)=>({id:K.id,name:K.name,enName:K.enName,sourceType:K.sourceType,sourceTypeValue:K.sourceTypeValue,groupId:I.id,groupName:I.name}))}))}async function SS($,Y,U,z="id"){let Q=U.startsWith("$")?U.slice(1):U,J=`${B$($)}/api/openapi/v1/roledefs/$${Q}?accessToken=${encodeURIComponent(Y)}&staffBy=${encodeURIComponent(z)}&pathType=name`,I=await fetch(J,{headers:{"content-type":"application/json",Accept:"application/json"},signal:AbortSignal.timeout(1e4)});if(!I.ok){let W=await I.text().catch(()=>"");throw Error(`Failed to fetch Hose role staffs for ${Q}: ${I.status} ${W}`)}let G=(await I.json()).value;if(!G)throw Error(`Hose role staff query returned empty result for ${Q}`);let H=[];for(let W of G.contents??[])for(let X of W.staffs??[])if(X&&!H.includes(X))H.push(X);return{id:G.id??Q,name:G.name??"",count:G.count??H.length,staffs:H}}async function gS($,Y,U){if(U.length===0)return[];let z=`${B$($)}/api/openapi/v1/staffs/getStaffIds?accessToken=${encodeURIComponent(Y)}`,Q=await fetch(z,{method:"POST",headers:{"content-type":"application/json",Accept:"application/json"},body:JSON.stringify({type:"STAFFID",conditionIds:U.slice(0,100)}),signal:AbortSignal.timeout(1e4)});if(!Q.ok){let I=await Q.text().catch(()=>"");throw Error(`Failed to fetch Hose staff details: ${Q.status} ${I}`)}return(await Q.json()).items??[]}function yS($){if(!$)return"-";if($.length<=12)return"******";return`${$.slice(0,8)}...${$.slice(-4)}`}async function Yc0($){let Y=typeof $==="string"?N00($):D00($),U=Y.baseUrl||"https://app.ekuaibao.com",z,Q,J,I,K,G={accesstoken:Y.accessToken,corpid:Y.corpId};try{let H=await K5.get(`${U}/api/engine/realm/$UNITY/actions/jwt`,{searchParams:{corpId:Y.corpId},headers:G,timeout:1e4}).json(),W=H.id||H.value;if(W){let X=W.split(".");if(X.length>=2){let Z=X[1].replace(/-/g,"+").replace(/_/g,"/"),q=JSON.parse(Buffer.from(Z,"base64").toString("utf-8"));if(typeof q.staffId==="string")z=q.staffId;if(typeof q.corporationName==="string")Q=q.corporationName;if(typeof q.staffName==="string")J=q.staffName;if(typeof q.cellphone==="string")K=q.cellphone;if(q.isAdmin!==void 0)I=q.isAdmin===!0||q.isAdmin==="true"}}}catch{}if(!z||!Q)try{let W=(await K5.get(`${U}/api/account/v2/session`,{headers:{...G,...z?{staffid:z}:{}},timeout:1e4}).json())?.value;if(W){if(!z&&W.loginStaffId)z=W.loginStaffId;if(!Q&&W.corporationName)Q=W.corporationName;if(!J&&W.privilege)J=W.privilege}}catch{}if(!z)z=`${Y.corpId}:admin`;return{corpId:Y.corpId,baseUrl:U,accessToken:Y.accessToken,staffId:z,corpName:Q,staffName:J,isAdmin:I,cellphone:K}}async function kS($){let Y=await Yc0($),U={accesstoken:Y.accessToken,corpid:Y.corpId,staffid:Y.staffId},z;try{z=await(await K5.get(`${Y.baseUrl}/api/innerapi/v1/key`,{searchParams:{corpId:Y.corpId},headers:U,timeout:15000})).json()}catch(I){let K=I instanceof Error?I.message:String(I);throw Error(`Failed to query Hose OpenAPI keys from assistance link: ${K}`)}let Q=z.items??[],J=[];for(let I of Q)if(typeof I==="object"&&I!==null){let K=I;if(typeof K.appKey==="string"&&typeof K.appSecurity==="string")J.push({id:String(K.id??K.appKey),name:typeof K.name==="string"?K.name:void 0,appKey:K.appKey,appSecurity:K.appSecurity,active:typeof K.active==="boolean"?K.active:!0,corporationId:typeof K.corporationId==="string"?K.corporationId:Y.corpId,createTime:typeof K.createTime==="number"?K.createTime:void 0,updateTime:typeof K.updateTime==="number"?K.updateTime:void 0})}return{corpId:Y.corpId,corpName:Y.corpName,baseUrl:Y.baseUrl,staffId:Y.staffId,keys:J}}var ri0,si0,ai0="/web/thirdparty.html",O00,vS,hS;var t9=m(()=>{iQ();i8();jH();ri0=["https://app.ekuaibao.com","https://dd2.hosecloud.com","https://wx2.ekuaibao.com","https://kdcloud2.ekuaibao.com","https://ddenterprise.ekuaibao.com","https://feishu.ekuaibao.com"],si0=[".ekuaibao.com",".hosecloud.com"],O00=/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/,vS=new Map,hS=new Map});function j00($,Y){return Date.now()>=$.expiresAt-Y*1000}async function Uc0($){switch($.source.type){case"hose":return T00($);case"direct":case"seal":return G00($)}}async function QM($){let Y=$.auth.refreshTtl,U=zM.get($.id);if(U&&!j00(U,Y))return U;let z=L00($.id);if(z&&!j00(z,Y))return zM.set($.id,z),z;let Q=await Uc0($);return zM.set($.id,Q),F00($.id,Q),Q}async function E00($){return(await QM($)).enterprise}function C00($){zM.delete($),w00($)}var zM;var xS=m(()=>{t9();jH();zM=new Map});var _00={};x8(_00,{createSealClientForUrl:()=>T8,createSealClientForToken:()=>fS,createSealClient:()=>B1});function zc0($){if($===void 0||$===null||$==="")return"";if(typeof $==="string")return $;try{return JSON.stringify($)}catch{return String($)}}function Qc0($){if(!($ instanceof D6))return $;let Y=zc0($.data);if(Y)$.message=`${$.message}: ${Y}`;return $}function R00($){return async({error:Y})=>{if($&&Y instanceof D6&&Y.response.status===401)C00($);return Qc0(Y)}}async function B1($){let Y=await QM($);return K5.create({prefix:Y.enterprise.sealUrl,timeout:30000,headers:{...A6($.seal),Authorization:`Bearer ${Y.token}`},hooks:{beforeError:[R00($.id)]}})}async function fS($,Y){let U=await QM($);return T8(U.enterprise.sealUrl,Y,A6($.seal))}function T8($,Y,U={}){let z={...U};if(Y)z.Authorization=`Bearer ${Y}`;return K5.create({prefix:$.replace(/\/+$/,""),timeout:30000,headers:z,hooks:{beforeError:[R00()]}})}var i8=m(()=>{iQ();xS()});var EH;var v00=m(()=>{EH={name:"seal-use",version:"0.10.32",private:!0,description:"Seal tenant operations toolkit: approval-run diagnosis, rule remediation, Hose/合思 auth, plus a CLI and an optional MCP server.",license:"MIT",author:{name:"yingqing"},repository:{type:"git",url:"git+https://github.com/yunyingk/seal-use.git"},type:"module",module:"src/server.ts",bin:{"seal-use":"src/cli.ts","seal-home":"src/cli.ts"},packageManager:"bun@1.3.14",engines:{bun:">=1.3.14"},scripts:{dev:"bun run --watch src/server.ts",start:"bun run src/server.ts",probe:"bun run src/probe.ts",cli:"bun run src/cli.ts",check:"tsc --noEmit","build:binary":"node scripts/build-binary.mjs","build:plugin":"node scripts/build-plugin.mjs",bump:"bun run scripts/bump-version.ts","dev:override":"bun run scripts/dev-override.ts","dev:link":"bun run scripts/dev-override.ts","openapi:bundle":"bun run scripts/bundle-openapi.ts","openapi:raw":"bun run scripts/generate-raw-openapi.ts",test:"bun test",prepare:"git config core.hooksPath .githooks"},dependencies:{"@modelcontextprotocol/server":"^2.0.0",archiver:"^8.0.0",exceljs:"^4.4.0","iconv-lite":"^0.7.3",ky:"^2.0.2","pinyin-pro":"^3.29.3",yauzl:"^3.4.0",zod:"^4.4.3"},devDependencies:{"@modelcontextprotocol/client":"^2.0.0","@types/archiver":"^8.0.0","@types/bun":"^1.3.14","@types/yauzl":"^3.4.0","bun-types":"^1.3.14",typescript:"^5.9.3",yaml:"^2.9.0"}}});import{spawnSync as h00}from"node:child_process";function Ic0($,Y=EH.version){let U=$.trim();if(!U)return null;let z=U.endsWith("-dirty"),Q=z?U.slice(0,-6):U,J=Q.match(/^v?(\d+\.\d+\.\d+(?:-[a-zA-Z0-9.]+)?)-(\d+)-g([0-9a-f]+)$/);if(J&&J[1]&&J[2]&&J[3])return{baseVersion:J[1],commitsAhead:Number.parseInt(J[2],10),commit:J[3],dirty:z,describe:U};let I=Q.match(/^v?(\d+\.\d+\.\d+(?:-[a-zA-Z0-9.]+)?)$/);if(I&&I[1])return{baseVersion:I[1],commitsAhead:0,commit:"",dirty:z,describe:U};let K=Q.match(/^([0-9a-f]{7,40})$/);if(K&&K[1])return{baseVersion:Y,commitsAhead:0,commit:K[1],dirty:z,describe:U};return null}function Kc0($,Y,U,z){let J=U?`+g${U}${z?".dirty":""}`:z?"+dirty":"";return`${$}-dev.${Y}${J}`}function Gc0($){let Y=$?.env,U=Y?.SEAL_BUILD_VERSION??process.env.SEAL_BUILD_VERSION,z=Y?.SEAL_BUILD_IS_RELEASE??process.env.SEAL_BUILD_IS_RELEASE,Q=Y?.SEAL_BUILD_CHANNEL??process.env.SEAL_BUILD_CHANNEL,J=Y?.SEAL_BUILD_GIT_BASE??process.env.SEAL_BUILD_GIT_BASE,I=Y?.SEAL_BUILD_GIT_COMMITS_AHEAD??process.env.SEAL_BUILD_GIT_COMMITS_AHEAD,K=Y?.SEAL_BUILD_GIT_COMMIT??process.env.SEAL_BUILD_GIT_COMMIT,G=Y?.SEAL_BUILD_GIT_DIRTY??process.env.SEAL_BUILD_GIT_DIRTY,H=Y?.SEAL_BUILD_GIT_DESCRIBE??process.env.SEAL_BUILD_GIT_DESCRIBE,W=Y?.SEAL_FORCE_RELEASE??process.env.SEAL_FORCE_RELEASE,X=$?.cwd;if(U){let Z=z==="true",V={name:"seal-use",version:U,channel:Q||(Z?"release":"dev"),isRelease:Z};if(J)V.git={baseVersion:J,commitsAhead:Number.parseInt(I||"0",10),commit:K||"",dirty:G==="true",describe:H||U};return V}if(z==="true"||W==="1")return{name:"seal-use",version:EH.version,channel:"release",isRelease:!0};try{let Z=h00("git",["describe","--tags","--long","--dirty","--always"],{cwd:X,encoding:"utf8",stdio:["ignore","pipe","ignore"]});if(Z.status===0&&Z.stdout){let q=Ic0(Z.stdout.trim(),EH.version);if(q){if(!q.commit){let F=h00("git",["rev-parse","--short","HEAD"],{cwd:X,encoding:"utf8",stdio:["ignore","pipe","ignore"]});if(F.status===0&&F.stdout)q.commit=F.stdout.trim()}return{name:"seal-use",version:Kc0(q.baseVersion,q.commitsAhead,q.commit,q.dirty),channel:"dev",isRelease:!1,git:q}}}}catch{}return{name:"seal-use",version:`${EH.version}-dev.0+local`,channel:"dev",isRelease:!1}}var cY,P1,uS,hc1;var e9=m(()=>{v00();cY=Gc0(),P1=cY.version,uS=cY.isRelease,hc1=cY.channel});function dQ($=void 0){return iS.parse($??{})}function y00($,Y){return dQ({...dQ($),...Y})}var S00,bS,g00,iS,cS;var mQ=m(()=>{A$();S00=[".pdf",".xls",".xlsx",".csv",".doc",".docx",".ppt",".pptx",".txt",".rtf",".odt",".ods",".odp",".jpg",".jpeg",".png",".gif",".bmp",".webp",".heic",".eml",".msg"],bS={minFileSizeBytes:500,allowedExtensions:[...S00]},g00=L.string().trim().min(1).transform(($)=>{let Y=$.toLowerCase();return Y.startsWith(".")?Y:`.${Y}`}).refine(($)=>/^\.[a-z0-9][a-z0-9+_-]*$/.test($),{message:"文件后缀必须是简单扩展名,例如 .pdf 或 xlsx"}),iS=L.object({minFileSizeBytes:L.number().int().min(0).default(bS.minFileSizeBytes),maxFileSizeBytes:L.number().int().positive().nullable().optional(),allowedExtensions:L.array(g00).min(1).default([...S00]).transform(($)=>[...new Set($)])}).superRefine(($,Y)=>{if($.maxFileSizeBytes!==void 0&&$.maxFileSizeBytes!==null&&$.maxFileSizeBytes<$.minFileSizeBytes)Y.addIssue({code:"custom",path:["maxFileSizeBytes"],message:"最大文件大小不能小于最小文件大小"})}),cS=L.object({minFileSizeBytes:L.number().int().min(0).optional(),maxFileSizeBytes:L.number().int().positive().nullable().optional(),allowedExtensions:L.array(g00).min(1).transform(($)=>[...new Set($)])}).optional()});var Hc0,Wc0,Xc0,Zc0,x00,qc0,Vc0,f00,JM,u00,Lc0,IM,b00,RH,i00,Fc0,wc0,Mc0,k00,_H,c00,Oc0,Nc0,KM,nS,n00,p00,d00,m00,GM,l00,pS,dS,o00,r00,Dc0,s00,Ac0,a00,CH,t00,e00,$10,Y10,U10,z10,Q10,J10,I10,K10,G10,Bc0,H10,Pc0,Tc0,jc0,mS,lS,Ec0,W10,X10,Z10,q10,Cc0,oS,fc1,uc1,V10,bc1;var rS=m(()=>{A$();mQ();Hc0=L.object({staffId:L.string(),name:L.string().optional(),code:L.string().default(""),bindTime:L.number().optional()}),Wc0=L.object({id:L.string(),tenantId:L.string(),name:L.string(),isAdmin:L.boolean().default(!1),permissions:L.array(L.string()).default([]),providerUserId:L.string().optional(),hosecloudStaff:Hc0.optional()}),Xc0=L.object({apiKey:L.string().optional(),corporationId:L.string().optional(),corporationName:L.string().optional()}),Zc0=L.object({id:L.string(),name:L.string(),tenantSlug:L.string().optional(),isDemo:L.boolean().default(!1),logoUrl:L.string().nullable().optional(),hoseCorpConfig:Xc0.optional()}),x00=L.object({user:Wc0,tenant:Zc0}),qc0=L.object({id:L.string(),name:L.string(),email:L.string().nullable().optional(),emailVerified:L.boolean().optional(),image:L.string().nullable().optional(),tenantId:L.string().optional(),provider:L.string().optional(),providerUserId:L.string().optional(),mobile:L.string().nullable().optional(),status:L.string().optional(),permissions:L.array(L.string()).default([]),isAdmin:L.boolean().default(!1),hosecloudStaff:L.unknown().optional()}).passthrough(),Vc0=L.object({id:L.string(),token:L.string().optional(),expiresAt:L.string(),createdAt:L.string().optional(),updatedAt:L.string().optional(),ipAddress:L.string().optional(),userAgent:L.string().optional(),userId:L.string(),delegationId:L.string().nullable().optional()}).passthrough(),f00=L.object({user:qc0,session:Vc0}),JM=L.object({id:L.string(),tenantId:L.string().optional(),code:L.union([L.number(),L.string()]).optional(),description:L.string(),scope:L.string(),strictness:L.string(),status:L.string().optional(),createdAt:L.number().optional(),updatedAt:L.number().optional()}),u00=L.object({rules:L.array(JM),hasPendingDeletes:L.boolean().default(!1)}),Lc0=L.object({code:L.string().optional(),description:L.string(),scope:L.string(),strictness:L.string()}),IM=L.object({id:L.string(),tenantId:L.string().optional(),versionNumber:L.number(),versionName:L.string().nullable().optional(),publishedBy:L.string().nullable().optional(),publishedByName:L.string().nullable().optional(),rules:L.array(Lc0).default([]),publishedAt:L.number().optional(),createdAt:L.number().optional()}),b00=L.object({version:IM,rulesCount:L.number()}),RH=L.object({id:L.string(),tenantId:L.string().optional(),title:L.string(),purpose:L.string().default(""),contentType:L.string().default("policy"),content:L.string(),status:L.string().default("published"),enabled:L.boolean().default(!0),scenarios:L.array(L.string()).default([]),tags:L.array(L.string()).default([]),category:L.string().nullable().optional(),categoryTags:L.array(L.string()).default([]),createdBy:L.string().nullable().optional(),createdByName:L.string().nullable().optional(),createdAt:L.number().optional(),updatedAt:L.number().optional(),updatedBy:L.string().nullable().optional(),updatedByName:L.string().nullable().optional(),isDeleted:L.boolean().default(!1)}),i00=L.object({articles:L.array(RH),total:L.number().optional()}),Fc0=L.object({explicitApprove:L.string().default(""),explicitReject:L.string().default(""),exemptApprove:L.string().default(""),review:L.string().default("")}).passthrough(),wc0=L.object({type:L.string(),signKey:L.string().optional(),outboundName:L.string().optional(),mode:L.string().optional(),autoApprovalRate:L.number().optional(),apiKey:L.string().optional(),apiSecret:L.string().optional(),apiOrigin:L.string().optional(),corporationId:L.string().optional(),ebotSignKey:L.string().optional(),completionSignKey:L.string().optional(),outboundMessageId:L.string().optional(),completionMessageId:L.string().optional()}).passthrough(),Mc0=L.enum(["assisted","semi_automatic","fully_automatic"]),k00=L.object({id:L.string(),url:L.string().url()}).passthrough(),_H=L.object({type:L.literal("webhook"),id:L.string(),name:L.string(),mode:Mc0,incomingDocumentWebhook:k00,outgoingResultWebhook:L.string().url(),incomingManualResultWebhook:k00,secret:L.string().min(1),autoApprovalRate:L.number().int().min(0).max(100).optional(),materialPackFilePolicy:iS.default(bS)}).passthrough(),c00=L.object({id:L.string().optional(),tenantId:L.string().optional(),tone:L.string().optional(),language:L.string().optional(),detailLevel:L.string().optional(),outputFormat:L.string().optional(),examples:L.array(L.string()).default([]),prohibitedPhrases:L.array(L.string()).default([]),customInstructions:L.string().optional(),updatedAt:L.number().optional(),decisionPreferences:Fc0.optional(),integrationSystem:L.string().optional(),integrations:L.array(wc0).default([])}).passthrough(),Oc0=L.object({id:L.string().optional(),sn:L.string().optional(),title:L.string().optional(),name:L.string().optional(),fields:L.array(L.unknown()).optional()}).passthrough(),Nc0=L.object({_langfuseTraceId:L.string().optional(),simulation_batch_id:L.string().optional()}).passthrough(),KM=L.object({id:L.string(),tenantId:L.string().optional(),agentId:L.string().optional(),status:L.string().optional(),taskMode:L.string().optional(),finalExecutionMode:L.string().optional(),sourceSystem:L.string().optional(),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),documentId:L.string().optional(),document:Oc0.optional(),result:L.unknown().optional(),pipelineData:L.unknown().optional(),sourceExtendData:Nc0.optional(),ruleSetVersionNumber:L.number().optional(),ruleSetPublishedAt:L.number().optional(),ruleSetPublishedByName:L.string().optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),nS=L.object({records:L.array(KM).default([]),total:L.number().optional(),page:L.number().optional(),pageSize:L.number().optional()}).passthrough(),n00=L.object({id:L.string(),expiresAt:L.number().nullable().optional(),revokedAt:L.number().nullable().optional(),createdAt:L.number().nullable().optional(),lastUsedAt:L.number().nullable().optional(),useCount:L.number().default(0),note:L.string().nullable().optional(),link:L.string()}).passthrough(),p00=L.object({id:L.string(),token:L.string(),link:L.string()}).passthrough(),d00=L.object({userId:L.string(),password:L.string()}).passthrough(),m00=L.object({password:L.string()}).passthrough(),GM=L.object({_id:L.string(),tenantId:L.string().optional(),name:L.string(),mobile:L.string().optional(),email:L.string().optional(),departmentIds:L.array(L.string()).default([]),status:L.string().optional(),permissions:L.array(L.string()).default([]),createdAt:L.string().optional(),updatedAt:L.string().optional()}).passthrough(),l00=L.object({departments:L.array(L.record(L.string(),L.unknown())).default([]),users:L.array(GM).default([])}).passthrough(),pS=L.object({_id:L.string(),tenantId:L.string().optional(),name:L.string().optional(),parentId:L.string().nullable().optional(),ancestors:L.array(L.string()).default([]),provider:L.string().optional(),permissions:L.array(L.string()).default([]),isDeleted:L.boolean().optional(),syncedAt:L.string().optional(),createdAt:L.string().optional(),updatedAt:L.string().optional()}).passthrough(),dS=L.object({items:L.array(pS).default([])}).passthrough(),o00=L.object({items:L.array(GM).default([])}).passthrough(),r00=L.object({lastSyncTime:L.union([L.string(),L.number(),L.null()])}).passthrough(),Dc0=L.object({tagId:L.string().optional(),tagName:L.string().optional(),tagPath:L.string().optional(),count:L.number().default(0),avgConfidence:L.number().default(0),errorCount:L.number().default(0),warningCount:L.number().default(0)}).passthrough(),s00=L.object({tagStats:L.array(Dc0).default([]),totalRisks:L.number().default(0),analyzedRisks:L.number().default(0),pendingRisks:L.number().default(0)}).passthrough(),Ac0=L.object({riskId:L.string().optional(),recordId:L.string().optional(),riskDetails:L.string().default(""),riskLevel:L.string().default("warning"),documentType:L.string().default(""),documentSN:L.string().default(""),sourceSystem:L.string().default(""),sourceDocumentURL:L.string().nullable().optional(),confidence:L.number().default(0),reasoning:L.string().default(""),createdAt:L.union([L.string(),L.number(),L.date()]).optional()}).passthrough(),a00=L.object({tagId:L.string(),tagName:L.string().default(""),tagPath:L.string().default(""),tagDescription:L.string().default(""),risks:L.array(Ac0).default([]),total:L.number().default(0)}).passthrough(),CH=L.object({value:L.number().default(0),trend:L.number().default(0)}).passthrough(),t00=L.object({metrics:L.object({approvalCount:CH.optional(),accuracy:CH.optional(),automationRate:CH.optional(),riskCount:CH.optional(),avgDuration:CH.optional()}).passthrough().default({}),sankeyData:L.object({nodes:L.array(L.object({id:L.string()}).passthrough()).default([]),links:L.array(L.object({source:L.string(),target:L.string(),value:L.number().default(0)}).passthrough()).default([])}).passthrough().default({nodes:[],links:[]})}).passthrough(),e00=L.record(L.string(),L.unknown()),$10=L.object({expenses:L.array(e00).default([]),total:L.number().optional()}).passthrough(),Y10=L.object({invoices:L.array(e00).default([]),total:L.number().optional(),feishuApprovalAppId:L.string().nullable().optional()}).passthrough(),U10=L.record(L.string(),L.unknown()),z10=L.object({provider:L.string(),config:L.record(L.string(),L.unknown()).default({})}).passthrough(),Q10=L.object({id:L.string(),name:L.string(),description:L.string().optional(),available:L.boolean().default(!0),fields:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),J10=L.object({permissions:L.array(L.object({key:L.string(),name:L.string(),description:L.string().optional()}).passthrough()).default([])}).passthrough(),I10=L.object({configs:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),K10=L.object({subscriptions:L.array(L.record(L.string(),L.unknown())).default([]),features:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),G10=L.object({key:L.string(),type:L.string(),label:L.string(),column:L.string(),mask:L.string().optional()}).passthrough(),Bc0=L.object({columns:L.array(G10).default([]),fieldKey:L.string().optional(),keyColumn:L.string().optional(),sheetName:L.string().optional(),fieldLabel:L.string().optional()}).passthrough(),H10=L.object({id:L.string().optional(),listSheets:L.array(Bc0).default([]),mainColumns:L.array(G10).default([]),workbookName:L.string().optional(),mainKeyColumn:L.string().optional(),mainSheetName:L.string().optional(),titleColumn:L.string().optional(),statusColumn:L.string().optional(),applicationDateColumn:L.string().optional(),updatedDateColumn:L.string().optional(),attachmentFieldKey:L.string().optional(),attachmentFieldLabel:L.string().optional()}).passthrough(),Pc0=L.object({approvalCode:L.string(),nodeId:L.string().optional(),flowIds:L.array(L.string()).max(100).optional(),limit:L.number().int().positive().max(100).optional(),dataCollectionMode:L.string().optional(),signKey:L.string().optional(),rejectNodeName:L.string().nullable().optional(),skipInvoiceGeneration:L.boolean().optional(),skipExpenseExtraction:L.boolean().optional(),disableAttachmentCache:L.boolean().optional(),thinkingDepthOverride:L.enum(["default","medium","high"]).optional(),startTime:L.number().optional(),endTime:L.number().optional(),templateId:L.string().optional(),packageIds:L.array(L.string()).optional(),packageLabel:L.string().optional(),runMode:L.string().optional(),schemaConfig:H10.optional()}).passthrough(),Tc0=L.object({mode:L.string().optional(),conditions:L.array(L.object({label:L.string(),value:L.string()}).passthrough()).default([])}).passthrough(),jc0=L.object({kind:L.string().optional(),stage:L.string().optional(),code:L.string().optional(),message:L.string().optional()}).passthrough(),mS=L.object({id:L.string(),tenantId:L.string().optional(),approvalCode:L.string().optional(),nodeId:L.string().optional(),sourceSystem:L.string().optional(),status:L.string().optional(),totalCount:L.number().default(0),processedCount:L.number().default(0),successCount:L.number().default(0),failedCount:L.number().default(0),createdCount:L.number().default(0),createFailedCount:L.number().default(0),params:Pc0.optional(),requestSummary:Tc0.nullable().optional(),resultSummary:jc0.nullable().optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),lS=L.object({batchId:L.string()}).passthrough(),Ec0=L.object({dataCollectionMode:L.string().optional(),flowIds:L.array(L.string()).max(100).optional(),rejectNodeName:L.string().nullable().optional(),skipInvoiceGeneration:L.boolean().optional(),skipExpenseExtraction:L.boolean().optional()}).passthrough(),W10=L.object({id:L.string(),tenantId:L.string().optional(),name:L.string().optional(),description:L.string().optional(),approvalSystem:L.string().optional(),hosecloudConfig:Ec0.optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),X10=L.object({hasFeishu:L.boolean().default(!1),hasHosecloud:L.boolean().default(!1),hasWeaver:L.boolean().default(!1),hasHelios:L.boolean().default(!1),hasMaycur:L.boolean().default(!1),hasMaycurStandard:L.boolean().default(!1)}).passthrough(),Z10=L.object({signKey:L.string().optional(),displayName:L.string().optional(),corporationId:L.string().optional()}).passthrough(),q10=L.object({id:L.string(),tenantId:L.string().optional(),name:L.string().optional(),templateId:L.string().optional(),originalFileName:L.string().optional(),status:L.string().optional(),documentCount:L.number().optional(),attachmentCount:L.number().optional(),uploadedBy:L.string().optional(),schemaConfig:H10.nullable().optional(),createdAt:L.union([L.string(),L.number()]).optional(),updatedAt:L.union([L.string(),L.number()]).optional()}).passthrough(),Cc0=L.object({hitScopes:L.array(L.string()).default([]),hitRuleIds:L.array(L.string()).default([]),notHitScopes:L.array(L.string()).default([]),notHitRuleIds:L.array(L.string()).default([])}).passthrough(),oS=L.object({id:L.string().min(1),name:L.string().min(1),enabled:L.boolean().default(!0),description:L.string().default(""),condition:Cc0.default({hitScopes:[],hitRuleIds:[],notHitScopes:[],notHitRuleIds:[]}),level:L.enum(["medium","high"])}).passthrough(),fc1=L.object({defaultLevel:L.enum(["medium","high"]).default("medium"),routingPolicies:L.array(oS).default([])}).passthrough(),uc1=L.object({dryRun:L.boolean().optional(),signKey:L.string().min(1).optional(),outboundName:L.string().optional(),specificationId:L.string().optional(),specificationName:L.string().optional(),mode:L.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:L.number().min(0).max(100).optional(),rejectResubmitMethod:L.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:L.array(L.string()).optional(),apiKey:L.string().min(1),apiSecret:L.string().min(1),apiOrigin:L.string().default("production"),customApiUrl:L.string().optional()}).passthrough(),V10=L.object({id:L.string().optional(),code:L.string().optional(),name:L.string().optional(),approvalSystem:L.string().optional()}).passthrough(),bc1=L.object({total:L.number(),dedupeBy:L.string(),unique:L.number(),byStatus:L.record(L.string(),L.number()),bySourceSystem:L.record(L.string(),L.number())}).passthrough()});import{randomBytes as w10}from"node:crypto";async function M1($,Y){let U=await $.json();return Y.parse(U.data??U)}async function W8($){return M1(await $.get("api/v1/auth/me"),x00)}async function O10($){return M1(await $.get("api/auth/get-session"),f00)}async function p6($){return M1(await $.get("api/v1/rules"),u00)}async function hH($,Y){return M1(await $.post("api/v1/rules",{json:Y}),JM)}async function sS($,Y,U){return M1(await $.put(`api/v1/rules/${Y}`,{json:U}),JM)}async function oQ($,Y){await $.delete(`api/v1/rules/${Y}`)}async function ZM($){let Y=await $.post("api/v1/rules/batch-recode",{throwHttpErrors:!1}),U=await Y.json().catch(()=>({}));return L.object({ok:L.boolean(),status:L.number(),body:L.unknown()}).parse({ok:Y.ok,status:Y.status,body:U})}async function P$($){return M1(await $.get("api/v1/rule-set-versions"),L.array(IM))}async function SH($,Y){return M1(await $.get(`api/v1/rule-set-versions/${Y}`),IM)}async function gH($,Y){return M1(await $.post("api/v1/rule-set-versions/publish",{json:{versionName:Y}}),b00)}async function h7($,Y={}){let U=new URLSearchParams;return U.set("offset",String(Y.offset??0)),U.set("limit",String(Y.limit??20)),U.set("sortBy",Y.sortBy??"createdAt"),U.set("sortOrder",Y.sortOrder??"desc"),Y.scenarios?.forEach((z,Q)=>{U.set(`filter[scenarios][${Q}]`,z)}),M1(await $.get("api/v1/knowledge/articles",{searchParams:U}),i00)}async function N10($,Y){return M1(await $.get(`api/v1/knowledge/articles/${Y}`),RH)}async function qM($,Y){return M1(await $.post("api/v1/knowledge/articles",{json:{...Y,contentType:Y.contentType??"policy",status:Y.status??"published",enabled:Y.enabled??!0,scenarios:Y.scenarios&&Y.scenarios.length>0?Y.scenarios:["audit"],tags:Y.tags??[]}}),RH)}async function VM($,Y,U){let z=Object.fromEntries(Object.entries(U).filter(([,Q])=>Q!==void 0));return M1(await $.patch(`api/v1/knowledge/articles/${Y}`,{json:{attributes:z}}),RH)}async function LM($,Y){return await $.delete(`api/v1/knowledge/articles/${Y}`),{success:!0,id:Y}}async function o1($,Y="api/v1/agent/ai-approval/config"){return M1(await $.get(Y),c00)}async function l5($,Y,U="api/v1/agent/ai-approval/config"){return await $.post(U,{json:Y}),o1($,U)}async function aS($,Y,U="api/v1/agent/ai-approval/config"){let z=await $.post(U,{json:Y}),Q=await z.json().catch(()=>({})),J=XM.safeParse(Q.data??Q);return J.success?J.data.success??z.ok:z.ok}async function J$($,Y="api/v1/agent/ai-approval/config"){let U=await o1($,Y);return tS(U.integrations)}async function FM($,Y,U,z="api/v1/agent/ai-approval/config"){let Q=await o1($,z),J=tS(Q.integrations),I=E10(Y,J,U);if(!await aS($,{...Q,integrations:[...Q.integrations,I]},z))throw Error("Seal did not confirm saving the Webhook integration");return I}async function D10($,Y,U,z="api/v1/agent/ai-approval/config"){let Q=await o1($,z),J=tS(Q.integrations),I=E10(Y,J,U);return{before:Q,after:{...Q,integrations:[...Q.integrations,I]},integration:I}}async function A10($,Y,U,z="api/v1/agent/ai-approval/config"){let Q=await o1($,z),J=wM(Q.integrations),I=MM(J,Y),K=C10(I.integration,U);if(!await aS($,{...Q,integrations:Q.integrations.map((H,W)=>W===I.index?K:H)},z))throw Error("Seal did not confirm saving the Webhook integration");return K}async function B10($,Y,U,z="api/v1/agent/ai-approval/config"){let Q=await o1($,z),J=wM(Q.integrations),I=MM(J,Y),K=C10(I.integration,U);return{before:Q,after:{...Q,integrations:Q.integrations.map((G,H)=>H===I.index?K:G)},integration:K}}async function P10($,Y,U="api/v1/agent/ai-approval/config"){let z=await o1($,U),Q=wM(z.integrations),J=MM(Q,Y);if(!await aS($,{...z,integrations:z.integrations.filter((K,G)=>G!==J.index)},U))throw Error("Seal did not confirm deleting the Webhook integration");return J.integration}async function T10($,Y,U="api/v1/agent/ai-approval/config"){let z=await o1($,U),Q=wM(z.integrations),J=MM(Q,Y);return{before:z,after:{...z,integrations:z.integrations.filter((I,K)=>K!==J.index)},integration:J.integration}}function S7($,Y){let U=Y.trim();if(!U)throw Error("Webhook selector must not be empty");let z=$.find((J)=>J.id===U);if(z)return z;let Q=$.filter((J)=>J.name===U);if(Q.length===1)return Q[0];if(Q.length>1)throw Error(`Multiple Webhook integrations match name: ${U}. Use the integration ID.`);throw Error(`Webhook integration not found: ${U}`)}function j10($,Y){let U=Y?.trim().toLowerCase();if(!U)return $;return $.filter((z)=>[z.id,z.name,z.mode,z.outgoingResultWebhook,z.incomingDocumentWebhook.url,z.incomingManualResultWebhook.url].some((Q)=>Q.toLowerCase().includes(U)))}function tS($){return $.filter((Y)=>Y.type==="webhook").map((Y)=>_H.parse(Y))}function wM($){return $.flatMap((Y,U)=>{if(Y.type!=="webhook")return[];return[{index:U,integration:_H.parse(Y)}]})}function MM($,Y){let U=S7($.map((z)=>z.integration),Y);return $.find((z)=>z.integration.id===U.id)}function E10($,Y,U){let z=vH(U.name,"name"),Q=U.mode??"assisted",J=_10(U.outgoingResultWebhook,"outgoingResultWebhook"),I=v10(U.autoApprovalRate??60),K=vc0(Y),G=`wh_${K}_${w10(8).toString("hex").slice(0,7)}`,H=B$($);return _H.parse({type:"webhook",id:`integration-${K}`,name:z,mode:Q,incomingDocumentWebhook:{id:G,url:`${H}/api/v1/integrations/webhook/${G}/document`},outgoingResultWebhook:J,incomingManualResultWebhook:{id:G,url:`${H}/api/v1/integrations/webhook/${G}/manual-result`},secret:U.secret?vH(U.secret,"secret"):R10(),autoApprovalRate:I,materialPackFilePolicy:dQ(U.materialPackFilePolicy)})}function C10($,Y){return _H.parse({...$,...Y.name===void 0?{}:{name:vH(Y.name,"name")},...Y.mode===void 0?{}:{mode:Y.mode},...Y.outgoingResultWebhook===void 0?{}:{outgoingResultWebhook:_10(Y.outgoingResultWebhook,"outgoingResultWebhook")},...Y.autoApprovalRate===void 0?{}:{autoApprovalRate:v10(Y.autoApprovalRate)},...Y.rotateSecret||Y.secret!==void 0?{secret:Y.rotateSecret?R10():vH(Y.secret??"","secret")}:{},...Y.materialPackFilePolicy===void 0?{}:{materialPackFilePolicy:y00($.materialPackFilePolicy,Y.materialPackFilePolicy)}})}function vc0($){let Y=new Set($.map((z)=>z.id)),U=Date.now();while(Y.has(`integration-${U}`))U+=1;return U}function R10(){return w10(16).toString("hex")}function vH($,Y){let U=$.trim();if(!U)throw Error(`Webhook ${Y} must not be empty`);return U}function _10($,Y){let U=vH($,Y);try{return new URL(U).toString()}catch{throw Error(`Webhook ${Y} must be a valid URL`)}}function v10($){if(!Number.isInteger($)||$<0||$>100)throw Error("Webhook autoApprovalRate must be an integer between 0 and 100");return $}async function OM($,Y={}){let[U,z,Q]=await Promise.all([p6($),h7($,{limit:Y.documentLimit??50}),o1($,Y.stylePreferencesEndpoint).then((J)=>({ok:!0,data:J}),(J)=>({ok:!1,error:J instanceof Error?J.message:String(J)}))]);return{rules:U,documents:z,stylePreferences:Q}}async function i4($,Y={}){let U=new URLSearchParams;return U.set("offset",String(Y.offset??0)),U.set("limit",String(Y.limit??50)),c8(U,"fromTimestamp",Y.fromTimestamp),c8(U,"toTimestamp",Y.toTimestamp),c8(U,"startDate",Y.startDate),c8(U,"endDate",Y.endDate),L10(U,"status",Y.status),c8(U,"sourceSystem",Y.sourceSystem),c8(U,"taskMode",Y.taskMode),c8(U,"search",Y.search),c8(U,"sourceDocumentSN",Y.sourceDocumentSN),c8(U,"sourceDocumentId",Y.sourceDocumentId),L10(U,"manualApprovalStatus",Y.manualApprovalStatus),M1(await $.get("api/v1/approvals",{searchParams:U}),nS)}async function H4($,Y){return M1(await $.get(`api/v1/approvals/${Y}`),KM)}async function eS($,Y){let U=await $.get(`api/v1/simulation/batch/${Y}/records`).json(),z=U.data??U;if(Array.isArray(z))return L.array(KM).parse(z);return nS.parse(z).records}async function h10($,Y){return M1(await $.post("api/v1/simulation/create-batch",{json:Y}),lS)}async function S10($,Y){return M1(await $.post("api/v1/simulation/create-material-pack-batch",{json:Y}),lS)}async function g10($,Y={}){let U=await $.get("api/v1/simulation/batches",{searchParams:{limit:String(Y.limit??50)}}).json(),z=U.data??U;return L.array(mS).parse(z)}async function NM($,Y){return M1(await $.get(`api/v1/simulation/batch/${Y}`),mS)}async function y10($){let Y=await $.get("api/v1/simulation/templates").json(),U=Y.data??Y;return L.array(W10).parse(U)}async function $g($){return M1(await $.get("api/v1/simulation/integration-status"),X10)}async function Yg($){let Y=await $.get("api/v1/simulation/hosecloud-integrations").json(),U=Y.data??Y;return L.array(Z10).parse(U)}async function k10($,Y){let z=await(await $.delete(`api/v1/simulation/batch/${encodeURIComponent(Y)}/data`)).json().catch(()=>({}));return z.data??z}async function x10($,Y){let U=Y?"api/v1/simulation/hosecloud-specifications-by-sign-key":"api/v1/simulation/hosecloud-specifications",z=Y?new URLSearchParams({signKey:Y}):void 0,Q=await $.get(U,{searchParams:z}).json(),J=Q.data??Q;return L.array(V10).parse(J)}async function f10($,Y){let U=await $.post("api/hosecloud/corporation",{json:Y}).json(),z=U.data??U;return L.object({corporationId:L.string()}).parse(z)}async function u10($,Y){let z=await(await $.post("api/hosecloud/outbound-config/sync",{json:Y})).json().catch(()=>({}));return z.data??z}async function b10($,Y){let U=new FormData;return U.append("file",new Blob([new Uint8Array(Y.fileBuffer)]),Y.fileName),M1(await $.post("api/v1/material-packages/upload",{body:U}),q10)}function c8($,Y,U){if(U)$.set(Y,U)}function L10($,Y,U){if(!U)return;(Array.isArray(U)?U:[U]).map((Q)=>Q.trim()).filter(Boolean).forEach((Q,J)=>{$.set(`${Y}[${J}]`,Q)})}async function i10($){return M1(await $.get("api/v1/delegation/list"),L.array(n00))}async function lQ($,Y){return M1(await $.post("api/v1/delegation/create",{json:Y??{}}),p00)}async function c10($,Y){let U=await $.post("api/v1/delegation/revoke",{json:{tokenId:Y}}),z=await U.json(),Q=XM.safeParse(z.data??z);return Q.success?Q.data.success??U.ok:U.ok}async function n10($,Y){let U=Y.departmentIds&&Y.departmentIds.length>0?Y.departmentIds:void 0;if(!U){let z=await $.get("api/v1/contacts/departments/root/children").json(),Q=Rc0.safeParse(z.data??z),J=Q.success?Q.data.items?.[0]?._id:void 0;if(J)U=[J]}return M1(await $.post("api/v1/contacts/local/users",{json:{name:Y.name,phone:Y.phone,permissions:Y.permissions??[],departmentIds:U??[]}}),d00)}async function Ug($,Y){return M1(await $.post(`api/v1/contacts/local/users/${Y}/reset-password`,{json:{}}),m00)}async function HM($,Y){return M1(await $.get(`api/v1/contacts/users/${Y}`),GM)}async function WM($,Y=""){return M1(await $.get("api/v1/contacts/search",{searchParams:{query:Y}}),l00)}async function p10($){return M1(await $.get("api/v1/contacts/departments/root/children"),dS)}async function d10($,Y){return M1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}`),pS)}async function m10($,Y){return M1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}/children`),dS)}async function l10($,Y){return M1(await $.get(`api/v1/contacts/departments/${encodeURIComponent(Y)}/users`),o00)}async function o10($){return M1(await $.get("api/v1/contacts/last-sync-time"),r00)}async function DM($,Y={}){let U=zg(),z=new URLSearchParams;if(c8(z,"startDate",Y.startDate??U.startDate),c8(z,"endDate",Y.endDate??U.endDate),Y.limit!==void 0)z.set("limit",String(Y.limit));return M1(await $.get("api/v1/insight/stats",{searchParams:z}),s00)}async function AM($,Y){let U=zg(),z=new URLSearchParams;return z.set("tagId",Y.tagId),z.set("startDate",Y.startDate??U.startDate),z.set("endDate",Y.endDate??U.endDate),M1(await $.get("api/v1/insight/risks-by-tag",{searchParams:z}),a00)}async function BM($,Y={}){let U=zg(),z=F10(Y.startDate??U.startDate),Q=F10(Y.endDate??U.endDate),J=new URLSearchParams;return J.set("startDate",String(z)),J.set("endDate",String(Q)),M1(await $.get("api/v1/insight/performance",{searchParams:J}),t00)}async function r10($,Y){return await $.post(`api/v1/insight/analyze/${encodeURIComponent(Y)}`),{success:!0,recordId:Y}}function F10($){if(typeof $==="number")return $<100000000000?$*1000:$;let Y=Number($);if(!isNaN(Y)&&$.trim()!=="")return Y<100000000000?Y*1000:Y;let U=new Date($);if(isNaN(U.getTime()))throw Error(`Invalid date format: ${$}`);return U.getTime()}function zg(){let $=new Date,Y=new Date($.getFullYear(),$.getMonth(),1),U=new Date($.getFullYear(),$.getMonth()+1,0,23,59,59,999);return{startDate:Y.toISOString(),endDate:U.toISOString()}}function s10($){let Y=new URLSearchParams;return c8(Y,"filter[startDate]",$.startDate),c8(Y,"filter[endDate]",$.endDate),c8(Y,"filter[search]",$.search),Y.set("offset",String($.offset??0)),Y.set("limit",String($.limit??50)),Y}async function a10($,Y={}){return M1(await $.get("api/v1/expenses/list",{searchParams:s10(Y)}),$10)}async function t10($,Y={}){return M1(await $.get("api/v1/invoice/list",{searchParams:s10(Y)}),Y10)}async function e10($){return M1(await $.get("api/v1/integrations/feishu/simulation/approval-definitions"),L.array(U10))}async function $40($,Y){let U=await $.delete(`api/v1/contacts/local/users/${Y}`),z=await U.json(),Q=XM.safeParse(z.data??z);return Q.success?Q.data.success??U.ok:U.ok}async function Qg($,Y){let U=await $.post(`api/v1/contacts/local/users/${Y}/activate`,{json:{}}),z=await U.json(),Q=XM.safeParse(z.data??z);return Q.success?Q.data.success??U.ok:U.ok}async function hc0($,Y){let U=await $.post("api/auth/sms-otp/sign-in-password",{json:Y}),z=U.headers.get("set-auth-token"),Q=_c0.parse(await U.json()),J=z??Q.session?.token;if(!J)throw Error("Failed to retrieve authentication token from login response");return{token:J,user:Q.user}}async function Y40($,Y,U,z){let Q;if(Y.userIdOrPhone.startsWith("+")||/^\d{11}$/.test(Y.userIdOrPhone)){let q=await WM($,Y.userIdOrPhone),V=q.users.find((F)=>F.mobile?.includes(Y.userIdOrPhone)||F._id===Y.userIdOrPhone)??q.users[0];if(!V)throw Error(`User not found with phone/ID: ${Y.userIdOrPhone}`);Q=V}else Q=await HM($,Y.userIdOrPhone).catch(async()=>{let q=await WM($,Y.userIdOrPhone),V=q.users.find((F)=>F.name===Y.userIdOrPhone)??q.users[0];if(!V)throw Error(`User not found: ${Y.userIdOrPhone}`);return V});if(Q.status==="resigned")await Qg($,Q._id),Q=await HM($,Q._id);let J=Q,I=Array.isArray(J.identities)&&J.identities.some((q)=>q.provider&&q.provider!=="local")||!!J.apps?.hosecloud;if(I&&z&&z.source.type==="hose"){let V=(Q.mobile||J.identities?.[0]?.providerId||"").replace(/^\+86/,""),F=J.identities?.find((w)=>w.provider==="hosecloud")?.providerId,M=J.apps?.hosecloud?.boundId||F||(V?`${z.source.corpId}:${V}`:void 0);if(M){let w=await nQ(z),O=(await $M({...z.source,staffId:M},w)).token,D=v7(z,z.source),P=A6(z.seal),T=T8(D,void 0,P),A;try{A=await T.get("api/auth/oauth2/session/oem-hosecloud",{searchParams:{token:O,returnToken:"1"}}).json()}catch(C){if(C instanceof D6&&C.response.status===400)throw Error(`Seal AI 用户“${Q.name}”未绑定合思账号,无法生成个人协助链接。`);throw C}let j=A.token??A.accessToken??A.data?.token;if(j){let C=await U(j),b=await lQ(C,{note:Y.note??`Delegation generated by admin for ${Q.name}`});return{targetUser:Q,delegation:b,temporaryPassword:"N/A (Hose SSO)"}}}}let K;try{K=await Ug($,Q._id)}catch(q){if(I)throw Error(`用户 "${Q.name}" (${Q.mobile||Q._id}) 为合思同步账号 (provider: hosecloud),无 Seal 本地密码。`+"Seal 系统暂不支持对同步账号直接重置本地密码。");throw q}let H=(Q.mobile||Q.identities?.[0]?.providerId||"").replace(/^\+86/,"");if(!H)throw Error(`User ${Q.name} has no associated phone number for password login`);let{token:W}=await hc0($,{phone:H,password:K.password}),X=await U(W),Z=await lQ(X,{note:Y.note??`Delegation generated by admin for ${Q.name}`});return{targetUser:Q,delegation:Z,temporaryPassword:K.password}}async function U40($){return M1(await $.get("api/v1/llm/config"),z10)}async function z40($){return M1(await $.get("api/v1/llm/providers"),L.array(Q10))}async function Q40($){return M1(await $.get("api/v1/permissions/available"),J10)}async function J40($){return M1(await $.get("api/v1/permissions/configs"),I10)}async function nY($){return M1(await $.get("api/v1/billing/status"),K10)}async function I40($){let U=await(await $.get("api/v1/billing/plans")).json();return M10.parse(U.data??U)}async function K40($){let U=await(await $.get("api/v1/billing/features")).json();return M10.parse(U.data??U)}var XM,Rc0,_c0,M10;var X6=m(()=>{iQ();A$();mQ();t9();i8();rS();XM=L.object({success:L.boolean().optional()}).passthrough(),Rc0=L.object({items:L.array(L.object({_id:L.string()})).optional()}).passthrough(),_c0=L.object({user:L.unknown().optional(),session:L.object({token:L.string().optional()}).optional()}).passthrough(),M10=L.json()});var Y6=E((in1,H40)=>{var{toString:G40}=Object.prototype,Sc0=/["&<>]/,$3={each:function(Y,U){if(Y)if(Array.isArray(Y))Y.forEach(U);else Object.keys(Y).forEach((z)=>{U(Y[z],z)})},some:function(Y,U){if(Y){if(Array.isArray(Y))return Y.some(U);return Object.keys(Y).some((z)=>U(Y[z],z))}return!1},every:function(Y,U){if(Y){if(Array.isArray(Y))return Y.every(U);return Object.keys(Y).every((z)=>U(Y[z],z))}return!0},map:function(Y,U){if(Y){if(Array.isArray(Y))return Y.map(U);return Object.keys(Y).map((z)=>U(Y[z],z))}return[]},keyBy($,Y){return $.reduce((U,z)=>{return U[z[Y]]=z,U},{})},isEqual:function(Y,U){let z=typeof Y,Q=typeof U,J=Array.isArray(Y),I=Array.isArray(U),K;if(z!==Q)return!1;switch(typeof Y){case"object":if(J||I){if(J&&I)return Y.length===U.length&&Y.every((G,H)=>{let W=U[H];return $3.isEqual(G,W)});return!1}if(Y===null||U===null)return Y===U;if(K=Object.keys(Y),Object.keys(U).length!==K.length)return!1;for(let G of K)if(!U.hasOwnProperty(G))return!1;return $3.every(Y,(G,H)=>{let W=U[H];return $3.isEqual(G,W)});default:return Y===U}},escapeHtml($){let Y=Sc0.exec($);if(!Y)return $;let U="",z="",Q=0,J=Y.index;for(;J<$.length;J++){switch($.charAt(J)){case'"':z=""";break;case"&":z="&";break;case"'":z="'";break;case"<":z="<";break;case">":z=">";break;default:continue}if(Q!==J)U+=$.substring(Q,J);Q=J+1,U+=z}if(Q!==J)return U+$.substring(Q,J);return U},strcmp($,Y){if($Y)return 1;return 0},isUndefined($){return G40.call($)==="[object Undefined]"},isObject($){return G40.call($)==="[object Object]"},deepMerge(){let $=arguments[0]||{},{length:Y}=arguments,U,z,Q;function J(I,K){if(U=$[K],Q=Array.isArray(I),$3.isObject(I)||Q){if(Q)Q=!1,z=U&&Array.isArray(U)?U:[];else z=U&&$3.isObject(U)?U:{};$[K]=$3.deepMerge(z,I)}else if(!$3.isUndefined(I))$[K]=I}for(let I=0;I{var gc0=/^[A-Z]+\d+$/,yH={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level($){if($<=26)return 1;if($<=676)return 2;return 3},_fill($){let Y,U,z,Q,J,I=1;if($>=4)throw Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&$>=1){while(I<=26)Y=this._dictionary[I-1],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=1}if(this._l2nFill<2&&$>=2){I=27;while(I<=702)U=I-27,z=U%26,Q=Math.floor(U/26),Y=this._dictionary[Q]+this._dictionary[z],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=2}if(this._l2nFill<3&&$>=3){I=703;while(I<=16384)U=I-703,z=U%26,Q=Math.floor(U/26)%26,J=Math.floor(U/676),Y=this._dictionary[J]+this._dictionary[Q]+this._dictionary[z],this._n2l[I]=Y,this._l2n[Y]=I,I++;this._l2nFill=3}},l2n($){if(!this._l2n[$])this._fill($.length);if(!this._l2n[$])throw Error(`Out of bounds. Invalid column letter: ${$}`);return this._l2n[$]},n2l($){if($<1||$>16384)throw Error(`${$} is out of bounds. Excel supports columns from 1 to 16384`);if(!this._n2l[$])this._fill(this._level($));return this._n2l[$]},_hash:{},validateAddress($){if(!gc0.test($))throw Error(`Invalid Address: ${$}`);return!0},decodeAddress($){let Y=$.length<5&&this._hash[$];if(Y)return Y;let U=!1,z="",Q=0,J=!1,I="",K=0;for(let H=0,W;H<$.length;H++)if(W=$.charCodeAt(H),!J&&W>=65&&W<=90)U=!0,z+=$[H],Q=Q*26+W-64;else if(W>=48&&W<=57)J=!0,I+=$[H],K=K*10+W-48;else if(J&&U&&W!==36)break;if(!U)Q=void 0;else if(Q>16384)throw Error(`Out of bounds. Invalid column letter: ${z}`);if(!J)K=void 0;$=z+I;let G={address:$,col:Q,row:K,$col$row:`$${z}$${I}`};if(Q<=100&&K<=100)this._hash[$]=G,this._hash[G.$col$row]=G;return G},getAddress($,Y){if(Y){let U=this.n2l(Y)+$;return this.decodeAddress(U)}return this.decodeAddress($)},decode($){let Y=$.split(":");if(Y.length===2){let U=this.decodeAddress(Y[0]),z=this.decodeAddress(Y[1]),Q={top:Math.min(U.row,z.row),left:Math.min(U.col,z.col),bottom:Math.max(U.row,z.row),right:Math.max(U.col,z.col)};return Q.tl=this.n2l(Q.left)+Q.top,Q.br=this.n2l(Q.right)+Q.bottom,Q.dimensions=`${Q.tl}:${Q.br}`,Q}return this.decodeAddress($)},decodeEx($){let Y=$.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),U=Y[1]||Y[2],z=Y[3],Q=z.split(":");if(Q.length>1){let I=this.decodeAddress(Q[0]),K=this.decodeAddress(Q[1]),G=Math.min(I.row,K.row),H=Math.min(I.col,K.col),W=Math.max(I.row,K.row),X=Math.max(I.col,K.col);return I=this.n2l(H)+G,K=this.n2l(X)+W,{top:G,left:H,bottom:W,right:X,sheetName:U,tl:{address:I,col:H,row:G,$col$row:`$${this.n2l(H)}$${G}`,sheetName:U},br:{address:K,col:X,row:W,$col$row:`$${this.n2l(X)}$${W}`,sheetName:U},dimensions:`${I}:${K}`}}if(z.startsWith("#"))return U?{sheetName:U,error:z}:{error:z};let J=this.decodeAddress(z);return U?{sheetName:U,...J}:J},encodeAddress($,Y){return yH.n2l(Y)+$},encode(){switch(arguments.length){case 2:return yH.encodeAddress(arguments[0],arguments[1]);case 4:return`${yH.encodeAddress(arguments[0],arguments[1])}:${yH.encodeAddress(arguments[2],arguments[3])}`;default:throw Error("Can only encode with 2 or 4 arguments")}},inRange($,Y){let[U,z,,Q,J]=$,[I,K]=Y;return I>=U&&I<=Q&&K>=z&&K<=J}};W40.exports=yH});var Y3=E((nn1,X40)=>{var o5=c4();class Jg{constructor(){this.decode(arguments)}setTLBR($,Y,U,z,Q){if(arguments.length<4){let J=o5.decodeAddress($),I=o5.decodeAddress(Y);this.model={top:Math.min(J.row,I.row),left:Math.min(J.col,I.col),bottom:Math.max(J.row,I.row),right:Math.max(J.col,I.col),sheetName:U},this.setTLBR(J.row,J.col,I.row,I.col,Q)}else this.model={top:Math.min($,U),left:Math.min(Y,z),bottom:Math.max($,U),right:Math.max(Y,z),sheetName:Q}}decode($){switch($.length){case 5:this.setTLBR($[0],$[1],$[2],$[3],$[4]);break;case 4:this.setTLBR($[0],$[1],$[2],$[3]);break;case 3:this.setTLBR($[0],$[1],$[2]);break;case 2:this.setTLBR($[0],$[1]);break;case 1:{let Y=$[0];if(Y instanceof Jg)this.model={top:Y.model.top,left:Y.model.left,bottom:Y.model.bottom,right:Y.model.right,sheetName:Y.sheetName};else if(Y instanceof Array)this.decode(Y);else if(Y.top&&Y.left&&Y.bottom&&Y.right)this.model={top:Y.top,left:Y.left,bottom:Y.bottom,right:Y.right,sheetName:Y.sheetName};else{let U=o5.decodeEx(Y);if(U.top)this.model={top:U.top,left:U.left,bottom:U.bottom,right:U.right,sheetName:U.sheetName};else this.model={top:U.row,left:U.col,bottom:U.row,right:U.col,sheetName:U.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw Error(`Invalid number of arguments to _getDimensions() - ${$.length}`)}}get top(){return this.model.top||1}set top($){this.model.top=$}get left(){return this.model.left||1}set left($){this.model.left=$}get bottom(){return this.model.bottom||1}set bottom($){this.model.bottom=$}get right(){return this.model.right||1}set right($){this.model.right=$}get sheetName(){return this.model.sheetName}set sheetName($){this.model.sheetName=$}get _serialisedSheetName(){let{sheetName:$}=this.model;if($){if(/^[a-zA-Z0-9]*$/.test($))return`${$}!`;return`'${$}'!`}return""}expand($,Y,U,z){if(!this.model.top||$this.bottom)this.bottom=U;if(!this.model.right||z>this.right)this.right=z}expandRow($){if($){let{dimensions:Y,number:U}=$;if(Y)this.expand(U,Y.min,U,Y.max)}}expandToAddress($){let Y=o5.decodeEx($);this.expand(Y.row,Y.col,Y.row,Y.col)}get tl(){return o5.n2l(this.left)+this.top}get $t$l(){return`$${o5.n2l(this.left)}$${this.top}`}get br(){return o5.n2l(this.right)+this.bottom}get $b$r(){return`$${o5.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;if($.bottomthis.bottom)return!1;if($.rightthis.right)return!1;return!0}contains($){let Y=o5.decodeEx($);return this.containsEx(Y)}containsEx($){if($.sheetName&&this.sheetName&&$.sheetName!==this.sheetName)return!1;return $.row>=this.top&&$.row<=this.bottom&&$.col>=this.left&&$.col<=this.right}forEachAddress($){for(let Y=this.left;Y<=this.right;Y++)for(let U=this.top;U<=this.bottom;U++)$(o5.encodeAddress(U,Y),U,Y)}}X40.exports=Jg});var G5=E((pn1,Z40)=>{Z40.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}});var V40=E((dn1,q40)=>{var PM=c4(),yc0=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,kc0=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;function xc0($,Y,U){let z=PM.decode(Y),Q=PM.decode(U);return $.replace(yc0,(J,I,K,G,H)=>{if(H)return J;let W=kc0.exec(G);if(W){let X=W[1],Z=W[2].toUpperCase(),q=W[3],V=W[4];if(Z.length>3||Z.length===3&&Z>"XFD")return J;let F=PM.l2n(Z),M=parseInt(V,10);if(!X)F+=Q.col-z.col;if(!q)M+=Q.row-z.row;return(I||"")+(X||"")+PM.n2l(F)+(q||"")+M}return J})}q40.exports={slideFormula:xc0}});var F40=E((mn1,L40)=>{var fc0=Y6();class kH{constructor($){this.note=$}get model(){let $=null;switch(typeof this.note){case"string":$={type:"note",note:{texts:[{text:this.note}]}};break;default:$={type:"note",note:this.note};break}return fc0.deepMerge({},kH.DEFAULT_CONFIGS,$)}set model($){let{note:Y}=$,{texts:U}=Y;if(U.length===1&&Object.keys(U[0]).length===1)this.note=U[0].text;else this.note=Y}static fromModel($){let Y=new kH;return Y.model=$,Y}}kH.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[0.13,0.13,0.25,0.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}};L40.exports=kH});var v40=E((ln1,_40)=>{var uc0=c4(),bc0=Y6(),H5=G5(),{slideFormula:ic0}=V40(),w40=F40();class d0{constructor($,Y,U){if(!$||!Y)throw Error("A Cell needs a Row");this._row=$,this._column=Y,uc0.validateAddress(U),this._address=U,this._value=g7.create(d0.Types.Null,this),this.style=this._mergeStyle($.style,Y.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt($){this.style.numFmt=$}get font(){return this.style.font}set font($){this.style.font=$}get alignment(){return this.style.alignment}set alignment($){this.style.alignment=$}get border(){return this.style.border}set border($){this.style.border=$}get fill(){return this.style.fill}set fill($){this.style.fill=$}get protection(){return this.style.protection}set protection($){this.style.protection=$}_mergeStyle($,Y,U){let z=$&&$.numFmt||Y&&Y.numFmt;if(z)U.numFmt=z;let Q=$&&$.font||Y&&Y.font;if(Q)U.font=Q;let J=$&&$.alignment||Y&&Y.alignment;if(J)U.alignment=J;let I=$&&$.border||Y&&Y.border;if(I)U.border=I;let K=$&&$.fill||Y&&Y.fill;if(K)U.fill=K;let G=$&&$.protection||Y&&Y.protection;if(G)U.protection=G;return U}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===d0.Types.Merge}merge($,Y){if(this._value.release(),this._value=g7.create(d0.Types.Merge,this,$),!Y)this.style=$.style}unmerge(){if(this.type===d0.Types.Merge)this._value.release(),this._value=g7.create(d0.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{})}isMergedTo($){if(this._value.type!==d0.Types.Merge)return!1;return this._value.isMergedTo($)}get master(){if(this.type===d0.Types.Merge)return this._value.master;return this}get isHyperlink(){return this._value.type===d0.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value($){if(this.type===d0.Types.Merge){this._value.master.value=$;return}this._value.release(),this._value=g7.create(g7.getType($),this,$)}get note(){return this._comment&&this._comment.note}set note($){this._comment=new w40($)}get text(){return this._value.toString()}get html(){return bc0.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink($){if(this.type===d0.Types.String)this._value=g7.create(d0.Types.Hyperlink,this,{text:this._value.value,hyperlink:$})}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){let{worksheet:$}=this._row;return{sheetName:$.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name($){this.names=[$]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names($){let{definedNames:Y}=this.workbook;Y.removeAllNames(this.fullAddress),$.forEach((U)=>{Y.addEx(this.fullAddress,U)})}addName($){this.workbook.definedNames.addEx(this.fullAddress,$)}removeName($){this.workbook.definedNames.removeEx(this.fullAddress,$)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation($){this._dataValidations.add(this.address,$)}get model(){let{model:$}=this._value;if($.style=this.style,this._comment)$.comment=this._comment.model;return $}set model($){if(this._value.release(),this._value=g7.create($.type,this),this._value.model=$,$.comment)switch($.comment.type){case"note":this._comment=w40.fromModel($.comment);break}if($.style)this.style=$.style;else this.style={}}}d0.Types=H5.ValueType;class M40{constructor($){this.model={address:$.address,type:d0.Types.Null}}get value(){return null}set value($){}get type(){return d0.Types.Null}get effectiveType(){return d0.Types.Null}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){}toString(){return""}}class O40{constructor($,Y){this.model={address:$.address,type:d0.Types.Number,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Number}get effectiveType(){return d0.Types.Number}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class N40{constructor($,Y){this.model={address:$.address,type:d0.Types.String,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.String}get effectiveType(){return d0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}class D40{constructor($,Y){this.model={address:$.address,type:d0.Types.String,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}toString(){return this.model.value.richText.map(($)=>$.text).join("")}get type(){return d0.Types.RichText}get effectiveType(){return d0.Types.RichText}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}class A40{constructor($,Y){this.model={address:$.address,type:d0.Types.Date,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Date}get effectiveType(){return d0.Types.Date}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}class B40{constructor($,Y){if(this.model={address:$.address,type:d0.Types.Hyperlink,text:Y?Y.text:void 0,hyperlink:Y?Y.hyperlink:void 0},Y&&Y.tooltip)this.model.tooltip=Y.tooltip}get value(){let $={text:this.model.text,hyperlink:this.model.hyperlink};if(this.model.tooltip)$.tooltip=this.model.tooltip;return $}set value($){if(this.model={text:$.text,hyperlink:$.hyperlink},$.tooltip)this.model.tooltip=$.tooltip}get text(){return this.model.text}set text($){this.model.text=$}get hyperlink(){return this.model.hyperlink}set hyperlink($){this.model.hyperlink=$}get type(){return d0.Types.Hyperlink}get effectiveType(){return d0.Types.Hyperlink}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}class P40{constructor($,Y){if(this.model={address:$.address,type:d0.Types.Merge,master:Y?Y.address:void 0},this._master=Y,Y)Y.addMergeRef()}get value(){return this._master.value}set value($){if($ instanceof d0){if(this._master)this._master.releaseMergeRef();$.addMergeRef(),this._master=$}else this._master.value=$}isMergedTo($){return $===this._master}get master(){return this._master}get type(){return d0.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}class T40{constructor($,Y){this.cell=$,this.model={address:$.address,type:d0.Types.Formula,shareType:Y?Y.shareType:void 0,ref:Y?Y.ref:void 0,formula:Y?Y.formula:void 0,sharedFormula:Y?Y.sharedFormula:void 0,result:Y?Y.result:void 0}}_copyModel($){let Y={},U=(z)=>{let Q=$[z];if(Q)Y[z]=Q};return U("formula"),U("result"),U("ref"),U("shareType"),U("sharedFormula"),Y}get value(){return this._copyModel(this.model)}set value($){this.model=this._copyModel($)}validate($){switch(g7.getType($)){case d0.Types.Null:case d0.Types.String:case d0.Types.Number:case d0.Types.Date:break;case d0.Types.Hyperlink:case d0.Types.Formula:default:throw Error("Cannot process that type of result value")}}get dependencies(){let $=this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),Y=this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g);return{ranges:$,cells:Y}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula($){this.model.formula=$}get formulaType(){if(this.model.formula)return H5.FormulaType.Master;if(this.model.sharedFormula)return H5.FormulaType.Shared;return H5.FormulaType.None}get result(){return this.model.result}set result($){this.model.result=$}get type(){return d0.Types.Formula}get effectiveType(){let $=this.model.result;if($===null||$===void 0)return H5.ValueType.Null;if($ instanceof String||typeof $==="string")return H5.ValueType.String;if(typeof $==="number")return H5.ValueType.Number;if($ instanceof Date)return H5.ValueType.Date;if($.text&&$.hyperlink)return H5.ValueType.Hyperlink;if($.formula)return H5.ValueType.Formula;return H5.ValueType.Null}get address(){return this.model.address}set address($){this.model.address=$}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){let{worksheet:$}=this.cell,Y=$.findCell(this.model.sharedFormula);this._translatedFormula=Y&&ic0(Y.formula,Y.address,this.model.address)}return this._translatedFormula}toCsvString(){return`${this.model.result||""}`}release(){}toString(){return this.model.result?this.model.result.toString():""}}class j40{constructor($,Y){this.model={address:$.address,type:d0.Types.SharedString,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.SharedString}get effectiveType(){return d0.Types.SharedString}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}class E40{constructor($,Y){this.model={address:$.address,type:d0.Types.Boolean,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Boolean}get effectiveType(){return d0.Types.Boolean}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}class C40{constructor($,Y){this.model={address:$.address,type:d0.Types.Error,value:Y}}get value(){return this.model.value}set value($){this.model.value=$}get type(){return d0.Types.Error}get effectiveType(){return d0.Types.Error}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}class R40{constructor($,Y){this.model={address:$.address,type:d0.Types.String,value:JSON.stringify(Y),rawValue:Y}}get value(){return this.model.rawValue}set value($){this.model.rawValue=$,this.model.value=JSON.stringify($)}get type(){return d0.Types.String}get effectiveType(){return d0.Types.String}get address(){return this.model.address}set address($){this.model.address=$}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}var g7={getType($){if($===null||$===void 0)return d0.Types.Null;if($ instanceof String||typeof $==="string")return d0.Types.String;if(typeof $==="number")return d0.Types.Number;if(typeof $==="boolean")return d0.Types.Boolean;if($ instanceof Date)return d0.Types.Date;if($.text&&$.hyperlink)return d0.Types.Hyperlink;if($.formula||$.sharedFormula)return d0.Types.Formula;if($.richText)return d0.Types.RichText;if($.sharedString)return d0.Types.SharedString;if($.error)return d0.Types.Error;return d0.Types.JSON},types:[{t:d0.Types.Null,f:M40},{t:d0.Types.Number,f:O40},{t:d0.Types.String,f:N40},{t:d0.Types.Date,f:A40},{t:d0.Types.Hyperlink,f:B40},{t:d0.Types.Formula,f:T40},{t:d0.Types.Merge,f:P40},{t:d0.Types.JSON,f:R40},{t:d0.Types.SharedString,f:j40},{t:d0.Types.RichText,f:D40},{t:d0.Types.Boolean,f:E40},{t:d0.Types.Error,f:C40}].reduce(($,Y)=>{return $[Y.t]=Y.f,$},[]),create($,Y,U){let z=this.types[$];if(!z)throw Error(`Could not create Value of type ${$}`);return new z(Y,U)}};_40.exports=d0});var jM=E((on1,g40)=>{var cc0=Y6(),TM=G5(),pY=c4(),h40=v40();class S40{constructor($,Y){this._worksheet=$,this._number=Y,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell($){return this._cells[$-1]}getCellEx($){let Y=this._cells[$.col-1];if(!Y){let U=this._worksheet.getColumn($.col);Y=new h40(this,U,$.address),this._cells[$.col-1]=Y}return Y}getCell($){if(typeof $==="string"){let Y=this._worksheet.getColumnKey($);if(Y)$=Y.number;else $=pY.l2n($)}return this._cells[$-1]||this.getCellEx({address:pY.encodeAddress(this._number,$),row:this._number,col:$})}splice($,Y,...U){let z=$+Y,Q=U.length-Y,J=this._cells.length,I,K,G;if(Q<0){for(I=$+U.length;I<=J;I++)if(G=this._cells[I-1],K=this._cells[I-Q-1],K)G=this.getCell(I),G.value=K.value,G.style=K.style,G._comment=K._comment;else if(G)G.value=null,G.style={},G._comment=void 0}else if(Q>0)for(I=J;I>=z;I--)if(K=this._cells[I-1],K)G=this.getCell(I+Q),G.value=K.value,G.style=K.style,G._comment=K._comment;else this._cells[I+Q-1]=void 0;for(I=0;I{if(U&&U.type!==TM.ValueType.Null)Y(U,z+1)})}addPageBreak($,Y){let U=this._worksheet,z=Math.max(0,$-1)||0,Q=Math.max(0,Y-1)||16838,J={id:this._number,max:Q,man:1};if(z)J.min=z;U.rowBreaks.push(J)}get values(){let $=[];return this._cells.forEach((Y)=>{if(Y&&Y.type!==TM.ValueType.Null)$[Y.col]=Y.value}),$}set values($){if(this._cells=[],!$);else if($ instanceof Array){let Y=0;if($.hasOwnProperty("0"))Y=1;$.forEach((U,z)=>{if(U!==void 0)this.getCellEx({address:pY.encodeAddress(this._number,z+Y),row:this._number,col:z+Y}).value=U})}else this._worksheet.eachColumnKey((Y,U)=>{if($[U]!==void 0)this.getCellEx({address:pY.encodeAddress(this._number,Y.number),row:this._number,col:Y.number}).value=$[U]})}get hasValues(){return cc0.some(this._cells,($)=>$&&$.type!==TM.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let $=0;return this.eachCell(()=>{$++}),$}get dimensions(){let $=0,Y=0;return this._cells.forEach((U)=>{if(U&&U.type!==TM.ValueType.Null){if(!$||$>U.col)$=U.col;if(Y0?{min:$,max:Y}:null}_applyStyle($,Y){return this.style[$]=Y,this._cells.forEach((U)=>{if(U)U[$]=Y}),Y}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){let $=[],Y=0,U=0;return this._cells.forEach((z)=>{if(z){let Q=z.model;if(Q){if(!Y||Y>z.col)Y=z.col;if(U{switch(U.type){case h40.Types.Merge:break;default:{let z;if(U.address)z=pY.decodeAddress(U.address);else if(Y){let{row:J}=Y,I=Y.col+1;z={row:J,col:I,address:pY.encodeAddress(J,I),$col$row:`$${pY.n2l(I)}$${J}`}}Y=z;let Q=this.getCellEx(z);Q.model=U;break}}}),$.height)this.height=$.height;else delete this.height;this.hidden=$.hidden,this.outlineLevel=$.outlineLevel||0,this.style=$.style&&JSON.parse(JSON.stringify($.style))||{}}}g40.exports=S40});var CM=E((rn1,y40)=>{var nc0=Y6(),pc0=G5(),dc0=c4();class EM{constructor($,Y,U){if(this._worksheet=$,this._number=Y,U!==!1)this.defn=U}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return dc0.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&&this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn($){if($){if(this.key=$.key,this.width=$.width!==void 0?$.width:9,this.outlineLevel=$.outlineLevel,$.style)this.style=$.style;else this.style={};this.header=$.header,this._hidden=!!$.hidden}else delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header($){if($!==void 0)this._header=$,this.headers.forEach((Y,U)=>{this._worksheet.getCell(U+1,this.number).value=Y});else this._header=void 0}get key(){return this._key}set key($){if((this._key&&this._worksheet.getColumnKey(this._key))===this)this._worksheet.deleteColumnKey(this._key);if(this._key=$,$)this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden($){this._hidden=$}get outlineLevel(){return this._outlineLevel||0}set outlineLevel($){this._outlineLevel=$}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo($){return this.width===$.width&&this.hidden===$.hidden&&this.outlineLevel===$.outlineLevel&&nc0.isEqual(this.style,$.style)}get isDefault(){if(this.isCustomWidth)return!1;if(this.hidden)return!1;if(this.outlineLevel)return!1;let $=this.style;if($&&($.font||$.numFmt||$.alignment||$.border||$.fill||$.protection))return!1;return!0}get headerCount(){return this.headers.length}eachCell($,Y){let U=this.number;if(!Y)Y=$,$=null;this._worksheet.eachRow($,(z,Q)=>{Y(z.getCell(U),Q)})}get values(){let $=[];return this.eachCell((Y,U)=>{if(Y&&Y.type!==pc0.ValueType.Null)$[U]=Y.value}),$}set values($){if(!$)return;let Y=this.number,U=0;if($.hasOwnProperty("0"))U=1;$.forEach((z,Q)=>{this._worksheet.getCell(Q+U,Y).value=z})}_applyStyle($,Y){return this.style[$]=Y,this.eachCell((U)=>{U[$]=Y}),Y}get numFmt(){return this.style.numFmt}set numFmt($){this._applyStyle("numFmt",$)}get font(){return this.style.font}set font($){this._applyStyle("font",$)}get alignment(){return this.style.alignment}set alignment($){this._applyStyle("alignment",$)}get protection(){return this.style.protection}set protection($){this._applyStyle("protection",$)}get border(){return this.style.border}set border($){this._applyStyle("border",$)}get fill(){return this.style.fill}set fill($){this._applyStyle("fill",$)}static toModel($){let Y=[],U=null;if($)$.forEach((z,Q)=>{if(z.isDefault){if(U)U=null}else if(!U||!z.equivalentTo(U))U={min:Q+1,max:Q+1,width:z.width!==void 0?z.width:9,style:z.style,isCustomWidth:z.isCustomWidth,hidden:z.hidden,outlineLevel:z.outlineLevel,collapsed:z.collapsed},Y.push(U);else U.max=Q+1});return Y.length?Y:void 0}static fromModel($,Y){Y=Y||[];let U=[],z=1,Q=0;Y=Y.sort(function(J,I){return J.min-I.min});while(Q{var mc0=c4();class RM{constructor($,Y,U=0){if(this.worksheet=$,!Y)this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0;else if(typeof Y==="string"){let z=mc0.decodeAddress(Y);this.nativeCol=z.col+U,this.nativeColOff=0,this.nativeRow=z.row+U,this.nativeRowOff=0}else if(Y.nativeCol!==void 0)this.nativeCol=Y.nativeCol||0,this.nativeColOff=Y.nativeColOff||0,this.nativeRow=Y.nativeRow||0,this.nativeRowOff=Y.nativeRowOff||0;else if(Y.col!==void 0)this.col=Y.col+U,this.row=Y.row+U;else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance($){return $ instanceof RM||$==null?$:new RM($)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col($){this.nativeCol=Math.floor($),this.nativeColOff=Math.floor(($-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row($){this.nativeRow=Math.floor($),this.nativeRowOff=Math.floor(($-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(this.worksheet.getColumn(this.nativeCol+1).width*1e4):640000}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(this.worksheet.getRow(this.nativeRow+1).height*1e4):180000}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model($){this.nativeCol=$.nativeCol,this.nativeColOff=$.nativeColOff,this.nativeRow=$.nativeRow,this.nativeRowOff=$.nativeRowOff}}k40.exports=RM});var b40=E((an1,u40)=>{var lc0=c4(),_M=x40();class f40{constructor($,Y){this.worksheet=$,this.model=Y}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw Error("Invalid Image Type")}}set model({type:$,imageId:Y,range:U,hyperlinks:z}){if(this.type=$,this.imageId=Y,$==="image")if(typeof U==="string"){let Q=lc0.decode(U);this.range={tl:new _M(this.worksheet,{col:Q.left,row:Q.top},-1),br:new _M(this.worksheet,{col:Q.right,row:Q.bottom},0),editAs:"oneCell"}}else this.range={tl:new _M(this.worksheet,U.tl,0),br:U.br&&new _M(this.worksheet,U.br,0),ext:U.ext,editAs:U.editAs,hyperlinks:z||U.hyperlinks}}}u40.exports=f40});var p40=E((tn1,n40)=>{var vM=c4();class i40{constructor($,Y,U){this.table=$,this.column=Y,this.index=U}_set($,Y){this.table.cacheState(),this.column[$]=Y}get name(){return this.column.name}set name($){this._set("name",$)}get filterButton(){return this.column.filterButton}set filterButton($){this.column.filterButton=$}get style(){return this.column.style}set style($){this.column.style=$}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel($){this._set("totalsRowLabel",$)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction($){this._set("totalsRowFunction",$)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult($){this._set("totalsRowResult",$)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula($){this._set("totalsRowFormula",$)}}class c40{constructor($,Y){if(this.worksheet=$,Y)this.table=Y,this.validate(),this.store()}getFormula($){switch($.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${$.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${$.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${$.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${$.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${$.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${$.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${$.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${$.name}])`;case"custom":return $.totalsRowFormula;default:throw Error(`Invalid Totals Row Function: ${$.totalsRowFunction}`)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){let{table:$}=this,Y=(G,H,W)=>{if(G[H]===void 0)G[H]=W};Y($,"headerRow",!0),Y($,"totalsRow",!1),Y($,"style",{}),Y($.style,"theme","TableStyleMedium2"),Y($.style,"showFirstColumn",!1),Y($.style,"showLastColumn",!1),Y($.style,"showRowStripes",!1),Y($.style,"showColumnStripes",!1);let U=(G,H)=>{if(!G)throw Error(H)};U($.ref,"Table must have ref"),U($.columns,"Table must have column definitions"),U($.rows,"Table must have row definitions"),$.tl=vM.decodeAddress($.ref);let{row:z,col:Q}=$.tl;U(z>0,"Table must be on valid row"),U(Q>0,"Table must be on valid col");let{width:J,filterHeight:I,tableHeight:K}=this;$.autoFilterRef=vM.encode(z,Q,z+I-1,Q+J-1),$.tableRef=vM.encode(z,Q,z+K-1,Q+J-1),$.columns.forEach((G,H)=>{if(U(G.name,`Column ${H} must have a name`),H===0)Y(G,"totalsRowLabel","Total");else Y(G,"totalsRowFunction","none"),G.totalsRowFormula=this.getFormula(G)})}store(){let $=(I,K)=>{if(K)Object.keys(K).forEach((G)=>{I[G]=K[G]})},{worksheet:Y,table:U}=this,{row:z,col:Q}=U.tl,J=0;if(U.headerRow){let I=Y.getRow(z+J++);U.columns.forEach((K,G)=>{let{style:H,name:W}=K,X=I.getCell(Q+G);X.value=W,$(X,H)})}if(U.rows.forEach((I)=>{let K=Y.getRow(z+J++);I.forEach((G,H)=>{let W=K.getCell(Q+H);W.value=G,$(W,U.columns[H].style)})}),U.totalsRow){let I=Y.getRow(z+J++);U.columns.forEach((K,G)=>{let H=I.getCell(Q+G);if(G===0)H.value=K.totalsRowLabel;else if(this.getFormula(K))H.value={formula:K.totalsRowFormula,result:K.totalsRowResult};else H.value=null;$(H,K.style)})}}load($){let{table:Y}=this,{row:U,col:z}=Y.tl,Q=0;if(Y.headerRow){let J=$.getRow(U+Q++);Y.columns.forEach((I,K)=>{let G=J.getCell(z+K);G.value=I.name})}if(Y.rows.forEach((J)=>{let I=$.getRow(U+Q++);J.forEach((K,G)=>{let H=I.getCell(z+G);H.value=K})}),Y.totalsRow){let J=$.getRow(U+Q++);Y.columns.forEach((I,K)=>{let G=J.getCell(z+K);if(K===0)G.value=I.totalsRowLabel;else if(this.getFormula(I))G.value={formula:I.totalsRowFormula,result:I.totalsRowResult}})}}get model(){return this.table}set model($){this.table=$}cacheState(){if(!this._cache)this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight}}commit(){if(!this._cache)return;this.validate();let $=vM.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let Y=0;Y{z.push(Y[Q])});else this.table.columns.splice(U,0,$),this.table.rows.forEach((z,Q)=>{z.splice(U,0,Y[Q])})}removeColumns($,Y=1){this.cacheState(),this.table.columns.splice($,Y),this.table.rows.forEach((U)=>{U.splice($,Y)})}_assign($,Y,U){this.cacheState(),$[Y]=U}get ref(){return this.table.ref}set ref($){this._assign(this.table,"ref",$)}get name(){return this.table.name}set name($){this.table.name=$}get displayName(){return this.table.displyName||this.table.name}set displayNamename($){this.table.displayName=$}get headerRow(){return this.table.headerRow}set headerRow($){this._assign(this.table,"headerRow",$)}get totalsRow(){return this.table.totalsRow}set totalsRow($){this._assign(this.table,"totalsRow",$)}get theme(){return this.table.style.name}set theme($){this.table.style.name=$}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn($){this.table.style.showFirstColumn=$}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn($){this.table.style.showLastColumn=$}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes($){this.table.style.showRowStripes=$}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes($){this.table.style.showColumnStripes=$}}n40.exports=c40});var Ig=E((en1,m40)=>{class d40{constructor($){this.model=$||{}}add($,Y){return this.model[$]=Y}find($){return this.model[$]}remove($){this.model[$]=void 0}}m40.exports=d40});var Gg=E(($p1,l40)=>{var Kg=I0("crypto"),oc0={hash($,...Y){let U=Kg.createHash($);return U.update(Buffer.concat(Y)),U.digest()},convertPasswordToHash($,Y,U,z){if(Y=Y.toLowerCase(),Kg.getHashes().indexOf(Y)<0)throw Error(`Hash algorithm '${Y}' not supported!`);let J=Buffer.from($,"utf16le"),I=this.hash(Y,Buffer.from(U,"base64"),J);for(let K=0;K{var o40=($,Y)=>({...$,...Y.reduce((U,z)=>{if($[z])U[z]={...$[z]};return U},{})}),r5=($,Y,U,z=[])=>{if($[U])Y[U]=o40($[U],z)},rc0=($)=>Object.keys($).length===0,sc0=($)=>{if(!$)return $;if(rc0($))return{};let Y={...$};if(r5($,Y,"font",["color"]),r5($,Y,"alignment"),r5($,Y,"protection"),$.border)r5($,Y,"border"),r5($.border,Y.border,"top",["color"]),r5($.border,Y.border,"left",["color"]),r5($.border,Y.border,"bottom",["color"]),r5($.border,Y.border,"right",["color"]),r5($.border,Y.border,"diagonal",["color"]);if($.fill){if(r5($,Y,"fill",["fgColor","bgColor","center"]),$.fill.stops)Y.fill.stops=$.fill.stops.map((U)=>o40(U,["color"]))}return Y};ac0.copyStyle=sc0});var z60=E((Up1,U60)=>{var xH=Y6(),fH=c4(),uH=Y3(),s40=jM(),hM=CM(),ec0=G5(),Hg=b40(),a40=p40(),t40=Ig(),e40=Gg(),{copyStyle:$60}=r40();class Y60{constructor($){$=$||{},this._workbook=$.workbook,this.id=$.id,this.orderNo=$.orderNo,this.name=$.name,this.state=$.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},$.properties),this.pageSetup=Object.assign({},{margins:{left:0.7,right:0.7,top:0.75,bottom:0.75,header:0.3,footer:0.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!($.pageSetup&&($.pageSetup.fitToWidth||$.pageSetup.fitToHeight)&&!$.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},$.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},$.headerFooter),this.dataValidations=new t40,this.views=$.views||[],this.autoFilter=$.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name($){if($===void 0)$=`sheet${this.id}`;if(this._name===$)return;if(typeof $!=="string")throw Error("The name has to be a string.");if($==="")throw Error("The name can't be empty.");if($==="History")throw Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test($))throw Error(`Worksheet name ${$} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test($))throw Error(`The first or last character of worksheet name cannot be a single quotation mark: ${$}`);if($&&$.length>31)console.warn(`Worksheet name ${$} exceeds 31 chars. This will be truncated`),$=$.substring(0,31);if(this._workbook._worksheets.find((Y)=>Y&&Y.name.toLowerCase()===$.toLowerCase()))throw Error(`Worksheet name already exists: ${$}`);this._name=$}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){let $=new uH;return this._rows.forEach((Y)=>{if(Y){let U=Y.dimensions;if(U)$.expand(Y.number,U.min,Y.number,U.max)}}),$}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((z,Q)=>{let J=Q.header&&1||Q.headers&&Q.headers.length||0;return Math.max(z,J)},0);let Y=1,U=this._columns=[];$.forEach((z)=>{let Q=new hM(this,Y++,!1);U.push(Q),Q.defn=z})}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){xH.each(this._keys,$)}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=fH.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new hM(this,Y++))}return this._columns[$-1]}spliceColumns($,Y,...U){let Q=this._rows.length;if(U.length>0)for(let G=0;G{H.push(X[G]||null)});let W=this.getRow(G+1);W.splice.apply(W,H)}else this._rows.forEach((G)=>{if(G)G.splice($,Y)});let J=U.length-Y,I=$+Y,K=this._columns.length;if(J<0)for(let G=$+U.length;G<=K;G++)this.getColumn(G).defn=this.getColumn(G-J).defn;else if(J>0)for(let G=K;G>=I;G--)this.getColumn(G+J).defn=this.getColumn(G).defn;for(let G=$;G<$+U.length;G++)this.getColumn(G).defn=null;this.workbook.definedNames.spliceColumns(this.name,$,Y,U.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let $=0;return this.eachRow((Y)=>{$=Math.max($,Y.cellCount)}),$}get actualColumnCount(){let $=[],Y=0;return this.eachRow((U)=>{U.eachCell(({col:z})=>{if(!$[z])$[z]=!0,Y++})}),Y}_commitRow(){}get _lastRowNumber(){let $=this._rows,Y=$.length;while(Y>0&&$[Y-1]===void 0)Y--;return Y}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){return this._rows[$-1]}findRows($,Y){return this._rows.slice($-1,$-1+Y)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let $=0;return this.eachRow(()=>{$++}),$}getRow($){let Y=this._rows[$-1];if(!Y)Y=this._rows[$-1]=new s40(this,$);return Y}getRows($,Y){if(Y<1)return;let U=[];for(let z=$;z<$+Y;z++)U.push(this.getRow(z));return U}addRow($,Y="n"){let U=this._nextRow,z=this.getRow(U);return z.values=$,this._setStyleOption(U,Y[0]==="i"?Y:"n"),z}addRows($,Y="n"){let U=[];return $.forEach((z)=>{U.push(this.addRow(z,Y))}),U}insertRow($,Y,U="n"){return this.spliceRows($,0,Y),this._setStyleOption($,U),this.getRow($)}insertRows($,Y,U="n"){if(this.spliceRows($,0,...Y),U!=="n"){for(let z=0;z{Q.getCell(I).style=$60(J.style)}),Q.height=z.height}duplicateRow($,Y,U=!1){let z=this._rows[$-1],Q=Array(Y).fill(z.values);this.spliceRows($+1,U?0:Y,...Q);for(let J=0;J{I.getCell(G).style=K.style})}}spliceRows($,Y,...U){let z=$+Y,Q=U.length,J=Q-Y,I=this._rows.length,K,G;if(J<0){if($===I)this._rows[I-1]=void 0;for(K=z;K<=I;K++)if(G=this._rows[K-1],G){let H=this.getRow(K+J);H.values=G.values,H.style=G.style,H.height=G.height,G.eachCell({includeEmpty:!0},(W,X)=>{H.getCell(X).style=W.style}),this._rows[K-1]=void 0}else this._rows[K+J-1]=void 0}else if(J>0)for(K=I;K>=z;K--)if(G=this._rows[K-1],G){let H=this.getRow(K+J);H.values=G.values,H.style=G.style,H.height=G.height,G.eachCell({includeEmpty:!0},(W,X)=>{if(H.getCell(X).style=W.style,W._value.constructor.name==="MergeValue"){let Z=this.getRow(W._row._number+Q).getCell(X),q=W._value._master,V=this.getRow(q._row._number+Q).getCell(q._column._number);Z.merge(V)}})}else this._rows[K+J-1]=void 0;for(K=0;K{if(U&&U.hasValues)Y(U,U.number)})}getSheetValues(){let $=[];return this._rows.forEach((Y)=>{if(Y)$[Y.number]=Y.values}),$}findCell($,Y){let U=fH.getAddress($,Y),z=this._rows[U.row-1];return z?z.findCell(U.col):void 0}getCell($,Y){let U=fH.getAddress($,Y);return this.getRow(U.row).getCellEx(U)}mergeCells(...$){let Y=new uH($);this._mergeCellsInternal(Y)}mergeCellsWithoutStyle(...$){let Y=new uH($);this._mergeCellsInternal(Y,!0)}_mergeCellsInternal($,Y){xH.each(this._merges,(z)=>{if(z.intersects($))throw Error("Cannot merge already merged cells")});let U=this.getCell($.top,$.left);for(let z=$.top;z<=$.bottom;z++)for(let Q=$.left;Q<=$.right;Q++)if(z>$.top||Q>$.left)this.getCell(z,Q).merge(U,Y);this._merges[U.address]=$}_unMergeMaster($){let Y=this._merges[$.address];if(Y){for(let U=Y.top;U<=Y.bottom;U++)for(let z=Y.left;z<=Y.right;z++)this.getCell(U,z).unmerge();delete this._merges[$.address]}}get hasMerges(){return xH.some(this._merges,Boolean)}unMergeCells(...$){let Y=new uH($);for(let U=Y.top;U<=Y.bottom;U++)for(let z=Y.left;z<=Y.right;z++){let Q=this.findCell(U,z);if(Q){if(Q.type===ec0.ValueType.Merge)this._unMergeMaster(Q.master);else if(this._merges[Q.address])this._unMergeMaster(Q)}}}fillFormula($,Y,U,z="shared"){let Q=fH.decode($),{top:J,left:I,bottom:K,right:G}=Q,H=G-I+1,W=fH.encodeAddress(J,I),X=z==="shared",Z;if(typeof U==="function")Z=U;else if(Array.isArray(U))if(Array.isArray(U[0]))Z=(V,F)=>U[V-J][F-I];else Z=(V,F)=>U[(V-J)*H+(F-I)];else Z=()=>{return};let q=!0;for(let V=J;V<=K;V++)for(let F=I;F<=G;F++)if(q)this.getCell(V,F).value={shareType:z,formula:Y,ref:$,result:Z(V,F)},q=!1;else this.getCell(V,F).value=X?{sharedFormula:W,result:Z(V,F)}:Z(V,F)}addImage($,Y){let U={type:"image",imageId:$,range:Y};this._media.push(new Hg(this,U))}getImages(){return this._media.filter(($)=>$.type==="image")}addBackgroundImage($){let Y={type:"background",imageId:$};this._media.push(new Hg(this,Y))}getBackgroundImageId(){let $=this._media.find((Y)=>Y.type==="background");return $&&$.imageId}protect($,Y){return new Promise((U)=>{if(this.sheetProtection={sheet:!0},Y&&"spinCount"in Y)Y.spinCount=Number.isFinite(Y.spinCount)?Math.round(Math.max(0,Y.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=e40.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=Y&&"spinCount"in Y?Y.spinCount:1e5,this.sheetProtection.hashValue=e40.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(Y){if(this.sheetProtection=Object.assign(this.sheetProtection,Y),!$&&"spinCount"in Y)delete this.sheetProtection.spinCount}U()})}unprotect(){this.sheetProtection=null}addTable($){let Y=new a40(this,$);return this.tables[$.name]=Y,Y}getTable($){return this.tables[$]}removeTable($){delete this.tables[$]}getTables(){return Object.values(this.tables)}addConditionalFormatting($){this.conditionalFormattings.push($)}removeConditionalFormatting($){if(typeof $==="number")this.conditionalFormattings.splice($,1);else if($ instanceof Function)this.conditionalFormattings=this.conditionalFormattings.filter($);else this.conditionalFormattings=[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor($){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=$}get model(){let $={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map((z)=>z.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map((z)=>z.model),conditionalFormattings:this.conditionalFormattings};$.cols=hM.toModel(this.columns);let Y=$.rows=[],U=$.dimensions=new uH;return this._rows.forEach((z)=>{let Q=z&&z.model;if(Q)U.expand(Q.number,Q.min,Q.number,Q.max),Y.push(Q)}),$.merges=[],xH.each(this._merges,(z)=>{$.merges.push(z.range)}),$}_parseRows($){this._rows=[],$.rows.forEach((Y)=>{let U=new s40(this,Y.number);this._rows[U.number-1]=U,U.model=Y})}_parseMergeCells($){xH.each($.mergeCells,(Y)=>{this.mergeCellsWithoutStyle(Y)})}set model($){this.name=$.name,this._columns=hM.fromModel(this,$.cols),this._parseRows($),this._parseMergeCells($),this.dataValidations=new t40($.dataValidations),this.properties=$.properties,this.pageSetup=$.pageSetup,this.headerFooter=$.headerFooter,this.views=$.views,this.autoFilter=$.autoFilter,this._media=$.media.map((Y)=>new Hg(this,Y)),this.sheetProtection=$.sheetProtection,this.tables=$.tables.reduce((Y,U)=>{let z=new a40;return z.model=U,Y[U.name]=z,Y},{}),this.conditionalFormattings=$.conditionalFormattings}}U60.exports=Y60});var K60=E((zp1,I60)=>{var Q60=Y6(),SM=c4();class J60{constructor($){this.template=$,this.sheets={}}addCell($){this.addCellEx(SM.decodeEx($))}getCell($){return this.findCellEx(SM.decodeEx($),!0)}findCell($){return this.findCellEx(SM.decodeEx($),!1)}findCellAt($,Y,U){let z=this.sheets[$],Q=z&&z[Y];return Q&&Q[U]}addCellEx($){if($.top)for(let Y=$.top;Y<=$.bottom;Y++)for(let U=$.left;U<=$.right;U++)this.getCellAt($.sheetName,Y,U);else this.findCellEx($,!0)}getCellEx($){return this.findCellEx($,!0)}findCellEx($,Y){let U=this.findSheet($,Y),z=this.findSheetRow(U,$,Y);return this.findRowCell(z,$,Y)}getCellAt($,Y,U){let z=this.sheets[$]||(this.sheets[$]=[]),Q=z[Y]||(z[Y]=[]);return Q[U]||(Q[U]={sheetName:$,address:SM.n2l(U)+Y,row:Y,col:U})}removeCellEx($){let Y=this.findSheet($);if(!Y)return;let U=this.findSheetRow(Y,$);if(!U)return;delete U[$.col]}forEachInSheet($,Y){let U=this.sheets[$];if(U)U.forEach((z,Q)=>{if(z)z.forEach((J,I)=>{if(J)Y(J,Q,I)})})}forEach($){Q60.each(this.sheets,(Y,U)=>{this.forEachInSheet(U,$)})}map($){let Y=[];return this.forEach((U)=>{Y.push($(U))}),Y}findSheet($,Y){let U=$.sheetName;if(this.sheets[U])return this.sheets[U];if(Y)return this.sheets[U]=[];return}findSheetRow($,Y,U){let{row:z}=Y;if($&&$[z])return $[z];if(U)return $[z]=[];return}findRowCell($,Y,U){let{col:z}=Y;if($&&$[z])return $[z];if(U)return $[z]=this.template?Object.assign(Y,JSON.parse(JSON.stringify(this.template))):Y;return}spliceRows($,Y,U,z){let Q=this.sheets[$];if(Q){let J=[];for(let I=0;I{I.splice(Y,U,...J)})}}}I60.exports=J60});var Wg=E((Qp1,W60)=>{var rQ=Y6(),bH=c4(),G60=K60(),$n0=Y3(),Yn0=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;class H60{constructor(){this.matrixMap={}}getMatrix($){return this.matrixMap[$]||(this.matrixMap[$]=new G60)}add($,Y){let U=bH.decodeEx($);this.addEx(U,Y)}addEx($,Y){let U=this.getMatrix(Y);if($.top)for(let z=$.left;z<=$.right;z++)for(let Q=$.top;Q<=$.bottom;Q++){let J={sheetName:$.sheetName,address:bH.n2l(z)+Q,row:Q,col:z};U.addCellEx(J)}else U.addCellEx($)}remove($,Y){let U=bH.decodeEx($);this.removeEx(U,Y)}removeEx($,Y){this.getMatrix(Y).removeCellEx($)}removeAllNames($){rQ.each(this.matrixMap,(Y)=>{Y.removeCellEx($)})}forEach($){rQ.each(this.matrixMap,(Y,U)=>{Y.forEach((z)=>{$(U,z)})})}getNames($){return this.getNamesEx(bH.decodeEx($))}getNamesEx($){return rQ.map(this.matrixMap,(Y,U)=>Y.findCellEx($)&&U).filter(Boolean)}_explore($,Y){Y.mark=!1;let{sheetName:U}=Y,z=new $n0(Y.row,Y.col,Y.row,Y.col,U),Q,J;function I(G,H){let W=$.findCellAt(U,G,Y.col);if(!W||!W.mark)return!1;return z[H]=G,W.mark=!1,!0}for(J=Y.row-1;I(J,"top");J--);for(J=Y.row+1;I(J,"bottom");J++);function K(G,H){let W=[];for(J=z.top;J<=z.bottom;J++){let X=$.findCellAt(U,J,G);if(X&&X.mark)W.push(X);else return!1}z[H]=G;for(let X=0;X{z.mark=!0});let U=Y.map((z)=>z.mark&&this._explore(Y,z)).filter(Boolean).map((z)=>z.$shortRange);return{name:$,ranges:U}}normaliseMatrix($,Y){$.forEachInSheet(Y,(U,z,Q)=>{if(U){if(U.row!==z||U.col!==Q)U.row=z,U.col=Q,U.address=bH.n2l(Q)+z}})}spliceRows($,Y,U,z){rQ.each(this.matrixMap,(Q)=>{Q.spliceRows($,Y,U,z),this.normaliseMatrix(Q,$)})}spliceColumns($,Y,U,z){rQ.each(this.matrixMap,(Q)=>{Q.spliceColumns($,Y,U,z),this.normaliseMatrix(Q,$)})}get model(){return rQ.map(this.matrixMap,($,Y)=>this.getRanges(Y,$)).filter(($)=>$.ranges.length)}set model($){let Y=this.matrixMap={};$.forEach((U)=>{let z=Y[U.name]=new G60;U.ranges.forEach((Q)=>{if(Yn0.test(Q.split("!").pop()||""))z.addCell(Q)})})}}W60.exports=H60});var I6=E((Jp1,Xg)=>{if(typeof process>"u"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0)Xg.exports={nextTick:Un0};else Xg.exports=process;function Un0($,Y,U,z){if(typeof $!=="function")throw TypeError('"callback" argument must be a function');var Q=arguments.length,J,I;switch(Q){case 0:case 1:return process.nextTick($);case 2:return process.nextTick(function(){$.call(null,Y)});case 3:return process.nextTick(function(){$.call(null,Y,U)});case 4:return process.nextTick(function(){$.call(null,Y,U,z)});default:J=Array(Q-1),I=0;while(I{var zn0={}.toString;X60.exports=Array.isArray||function($){return zn0.call($)=="[object Array]"}});var K6=E((Zg,q60)=>{var gM=I0("buffer"),U3=gM.Buffer;function Z60($,Y){for(var U in $)Y[U]=$[U]}if(U3.from&&U3.alloc&&U3.allocUnsafe&&U3.allocUnsafeSlow)q60.exports=gM;else Z60(gM,Zg),Zg.Buffer=aQ;function aQ($,Y,U){return U3($,Y,U)}Z60(U3,aQ);aQ.from=function($,Y,U){if(typeof $==="number")throw TypeError("Argument must not be a number");return U3($,Y,U)};aQ.alloc=function($,Y,U){if(typeof $!=="number")throw TypeError("Argument must be a number");var z=U3($);if(Y!==void 0)if(typeof U==="string")z.fill(Y,U);else z.fill(Y);else z.fill(0);return z};aQ.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return U3($)};aQ.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return gM.SlowBuffer($)}});var M4=E((Mn0)=>{function Qn0($){if(Array.isArray)return Array.isArray($);return yM($)==="[object Array]"}Mn0.isArray=Qn0;function Jn0($){return typeof $==="boolean"}Mn0.isBoolean=Jn0;function In0($){return $===null}Mn0.isNull=In0;function Kn0($){return $==null}Mn0.isNullOrUndefined=Kn0;function Gn0($){return typeof $==="number"}Mn0.isNumber=Gn0;function Hn0($){return typeof $==="string"}Mn0.isString=Hn0;function Wn0($){return typeof $==="symbol"}Mn0.isSymbol=Wn0;function Xn0($){return $===void 0}Mn0.isUndefined=Xn0;function Zn0($){return yM($)==="[object RegExp]"}Mn0.isRegExp=Zn0;function qn0($){return typeof $==="object"&&$!==null}Mn0.isObject=qn0;function Vn0($){return yM($)==="[object Date]"}Mn0.isDate=Vn0;function Ln0($){return yM($)==="[object Error]"||$ instanceof Error}Mn0.isError=Ln0;function Fn0($){return typeof $==="function"}Mn0.isFunction=Fn0;function wn0($){return $===null||typeof $==="boolean"||typeof $==="number"||typeof $==="string"||typeof $==="symbol"||typeof $>"u"}Mn0.isPrimitive=wn0;Mn0.isBuffer=I0("buffer").Buffer.isBuffer;function yM($){return Object.prototype.toString.call($)}});var V60=E((Gp1,qg)=>{if(typeof Object.create==="function")qg.exports=function(Y,U){if(U)Y.super_=U,Y.prototype=Object.create(U.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}})};else qg.exports=function(Y,U){if(U){Y.super_=U;var z=function(){};z.prototype=U.prototype,Y.prototype=new z,Y.prototype.constructor=Y}}});var X1=E((Hp1,Vg)=>{try{if(kM=I0("util"),typeof kM.inherits!=="function")throw"";Vg.exports=kM.inherits}catch($){Vg.exports=V60()}var kM});var F60=E((Wp1,Lg)=>{function gn0($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var L60=K6().Buffer,iH=I0("util");function yn0($,Y,U){$.copy(Y,U)}Lg.exports=function(){function $(){gn0(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var z={data:U,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q},$.prototype.concat=function(U){if(this.length===0)return L60.alloc(0);var z=L60.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)yn0(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z},$}();if(iH&&iH.inspect&&iH.inspect.custom)Lg.exports.prototype[iH.inspect.custom]=function(){var $=iH.inspect({length:this.length});return this.constructor.name+" "+$}});var Fg=E((Xp1,w60)=>{var xM=I6();function kn0($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)xM.nextTick(fM,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,xM.nextTick(fM,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!U._writableState)xM.nextTick(fM,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,xM.nextTick(fM,U,J)}else if(Y)Y(J)}),this}function xn0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function fM($,Y){$.emit("error",Y)}w60.exports={destroy:kn0,undestroy:xn0}});var y7=E((Zp1,M60)=>{M60.exports=I0("util").deprecate});var Mg=E((qp1,j60)=>{var dY=I6();j60.exports=Z6;function N60($){var Y=this;this.next=null,this.entry=null,this.finish=function(){Yp0(Y,$)}}var fn0=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:dY.nextTick,tQ;Z6.WritableState=nH;var D60=Object.create(M4());D60.inherits=X1();var un0={deprecate:y7()},A60=I0("stream"),bM=K6().Buffer,bn0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function in0($){return bM.from($)}function cn0($){return bM.isBuffer($)||$ instanceof bn0}var B60=Fg();D60.inherits(Z6,A60);function nn0(){}function nH($,Y){tQ=tQ||mY(),$=$||{};var U=Y instanceof tQ;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){sn0(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new N60(this)}nH.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(nH.prototype,"buffer",{get:un0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var uM;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")uM=Function.prototype[Symbol.hasInstance],Object.defineProperty(Z6,Symbol.hasInstance,{value:function($){if(uM.call(this,$))return!0;if(this!==Z6)return!1;return $&&$._writableState instanceof nH}});else uM=function($){return $ instanceof this};function Z6($){if(tQ=tQ||mY(),!uM.call(Z6,this)&&!(this instanceof tQ))return new Z6($);if(this._writableState=new nH($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}A60.call(this)}Z6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function pn0($,Y){var U=Error("write after end");$.emit("error",U),dY.nextTick(Y,U)}function dn0($,Y,U,z){var Q=!0,J=!1;if(U===null)J=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),dY.nextTick(z,J),Q=!1;return Q}Z6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&cn0($);if(J&&!bM.isBuffer($))$=in0($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=nn0;if(z.ended)pn0(this,U);else if(J||dn0(this,z,$,U))z.pendingcb++,Q=ln0(this,z,J,$,Y,U);return Q};Z6.prototype.cork=function(){var $=this._writableState;$.corked++};Z6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)P60(this,$)}};Z6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function mn0($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=bM.from(Y,U);return Y}Object.defineProperty(Z6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function ln0($,Y,U,z,Q,J){if(!U){var I=mn0(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var E60=I6(),Up0=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};_60.exports=z3;var C60=Object.create(M4());C60.inherits=X1();var R60=Ng(),Og=Mg();C60.inherits(z3,R60);{iM=Up0(Og.prototype);for(pH=0;pH{var Ag=K6().Buffer,v60=Ag.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Jp0($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function Ip0($){var Y=Jp0($);if(typeof Y!=="string"&&(Ag.isEncoding===v60||!v60($)))throw Error("Unknown encoding: "+$);return Y||$}Mp0.StringDecoder=mH;function mH($){this.encoding=Ip0($);var Y;switch(this.encoding){case"utf16le":this.text=Zp0,this.end=qp0,Y=4;break;case"utf8":this.fillLast=Hp0,Y=4;break;case"base64":this.text=Vp0,this.end=Lp0,Y=3;break;default:this.write=Fp0,this.end=wp0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ag.allocUnsafe(Y)}mH.prototype.write=function($){if($.length===0)return"";var Y,U;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return Y?Y+this.text($,U):this.text($,U);return Y||""};mH.prototype.end=Xp0;mH.prototype.text=Wp0;mH.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Dg($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function Kp0($,Y,U){var z=Y.length-1;if(z=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--z=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--z=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function Gp0($,Y,U){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function Hp0($){var Y=this.lastTotal-this.lastNeed,U=Gp0(this,$,Y);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function Wp0($,Y){var U=Kp0(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=U;var z=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function Xp0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function Zp0($,Y){if(($.length-Y)%2===0){var U=$.toString("utf16le",Y);if(U){var z=U.charCodeAt(U.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function qp0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,U)}return Y}function Vp0($,Y){var U=($.length-Y)%3;if(U===0)return $.toString("base64",Y);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-U)}function Lp0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function Fp0($){return $.toString(this.encoding)}function wp0($){return $&&$.length?this.write($):""}});var Ng=E((wp1,n60)=>{var $J=I6();n60.exports=B4;var Np0=sQ(),lH;B4.ReadableState=f60;var Fp1=I0("events").EventEmitter,y60=function($,Y){return $.listeners(Y).length},Cg=I0("stream"),oH=K6().Buffer,Dp0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Ap0($){return oH.from($)}function Bp0($){return oH.isBuffer($)||$ instanceof Dp0}var k60=Object.create(M4());k60.inherits=X1();var Pg=I0("util"),t1=void 0;if(Pg&&Pg.debuglog)t1=Pg.debuglog("stream");else t1=function(){};var Pp0=F60(),x60=Fg(),eQ;k60.inherits(B4,Cg);var Tg=["error","close","destroy","pause","resume"];function Tp0($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(Np0($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function f60($,Y){lH=lH||mY(),$=$||{};var U=Y instanceof lH;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new Pp0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!eQ)eQ=Bg().StringDecoder;this.decoder=new eQ($.encoding),this.encoding=$.encoding}}function B4($){if(lH=lH||mY(),!(this instanceof B4))return new B4($);if(this._readableState=new f60($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Cg.call(this)}Object.defineProperty(B4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});B4.prototype.destroy=x60.destroy;B4.prototype._undestroy=x60.undestroy;B4.prototype._destroy=function($,Y){this.push(null),Y($)};B4.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=oH.from($,Y),Y="";z=!0}}else z=!0;return u60(this,$,Y,!1,z)};B4.prototype.unshift=function($){return u60(this,$,null,!0,!1)};function u60($,Y,U,z,Q){var J=$._readableState;if(Y===null)J.reading=!1,Rp0($,J);else{var I;if(!Q)I=jp0(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==oH.prototype)Y=Ap0(Y);if(z)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else jg($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)jg($,J,Y,!1);else b60($,J);else jg($,J,Y,!1)}else if(!z)J.reading=!1}return Ep0(J)}function jg($,Y,U,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",U),$.read(0);else{if(Y.length+=Y.objectMode?1:U.length,z)Y.buffer.unshift(U);else Y.buffer.push(U);if(Y.needReadable)cM($)}b60($,Y)}function jp0($,Y){var U;if(!Bp0(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function Ep0($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}B4.prototype.isPaused=function(){return this._readableState.flowing===!1};B4.prototype.setEncoding=function($){if(!eQ)eQ=Bg().StringDecoder;return this._readableState.decoder=new eQ($),this._readableState.encoding=$,this};var h60=8388608;function Cp0($){if($>=h60)$=h60;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function S60($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=Cp0($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}B4.prototype.read=function($){t1("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(t1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Eg(this);else cM(this);return null}if($=S60($,Y),$===0&&Y.ended){if(Y.length===0)Eg(this);return null}var z=Y.needReadable;if(t1("need readable",z),Y.length===0||Y.length-$0)Q=i60($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)Eg(this)}if(Q!==null)this.emit("data",Q);return Q};function Rp0($,Y){if(Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}Y.ended=!0,cM($)}function cM($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(t1("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)$J.nextTick(g60,$);else g60($)}function g60($){t1("emit readable"),$.emit("readable"),Rg($)}function b60($,Y){if(!Y.readingMore)Y.readingMore=!0,$J.nextTick(_p0,$,Y)}function _p0($,Y){var U=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&c60(z.pipes,$)!==-1)&&!H)t1("false write response, pause",z.awaitDrain),z.awaitDrain++,X=!0;U.pause()}}function q(w){if(t1("onerror",w),M(),$.removeListener("error",q),y60($,"error")===0)$.emit("error",w)}Tp0($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){t1("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){t1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)t1("pipe resume"),U.resume();return $};function vp0($){return function(){var Y=$._readableState;if(t1("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&y60($,"data"))Y.flowing=!0,Rg($)}}B4.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.head.data;else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=yp0($,Y.buffer,Y.decoder);return U}function yp0($,Y,U){var z;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++z,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++z}return Y.length-=z,Q}function xp0($,Y){var U=oH.allocUnsafe($),z=Y.head,Q=1;z.data.copy(U),$-=z.data.length;while(z=z.next){var J=z.data,I=$>J.length?J.length:$;if(J.copy(U,U.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++Q}return Y.length-=Q,U}function Eg($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,$J.nextTick(fp0,Y,$)}function fp0($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function c60($,Y){for(var U=0,z=$.length;U{m60.exports=Q3;var nM=mY(),d60=Object.create(M4());d60.inherits=X1();d60.inherits(Q3,nM);function up0($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{r60.exports=rH;var l60=_g(),o60=Object.create(M4());o60.inherits=X1();o60.inherits(rH,l60);function rH($){if(!(this instanceof rH))return new rH($);l60.call(this,$)}rH.prototype._transform=function($,Y,U){U(null,$)}});var vg=E((d6,pM)=>{var s5=I0("stream");if(process.env.READABLE_STREAM==="disable"&&s5)pM.exports=s5,d6=pM.exports=s5.Readable,d6.Readable=s5.Readable,d6.Writable=s5.Writable,d6.Duplex=s5.Duplex,d6.Transform=s5.Transform,d6.PassThrough=s5.PassThrough,d6.Stream=s5;else d6=pM.exports=Ng(),d6.Stream=s5||d6,d6.Readable=d6,d6.Writable=Mg(),d6.Duplex=mY(),d6.Transform=_g(),d6.PassThrough=s60()});var J3=E((cp0)=>{cp0.base64=!0;cp0.array=!0;cp0.string=!0;cp0.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u";cp0.nodebuffer=typeof Buffer<"u";cp0.uint8array=typeof Uint8Array<"u";if(typeof ArrayBuffer>"u")cp0.blob=!1;else{dM=new ArrayBuffer(0);try{cp0.blob=new Blob([dM],{type:"application/zip"}).size===0}catch($){try{Sg=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,mM=new Sg,mM.append(dM),cp0.blob=mM.getBlob("application/zip").size===0}catch(Y){cp0.blob=!1}}}var dM,Sg,mM;try{cp0.nodestream=!!vg().Readable}catch($){cp0.nodestream=!1}});var gg=E((ap0)=>{var rp0=n4(),sp0=J3(),a5="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";ap0.encode=function($){var Y=[],U,z,Q,J,I,K,G,H=0,W=$.length,X=W,Z=rp0.getTypeOf($)!=="string";while(H<$.length){if(X=W-H,!Z)U=$.charCodeAt(H++),z=H>2,I=(U&3)<<4|z>>4,K=X>1?(z&15)<<2|Q>>6:64,G=X>2?Q&63:64,Y.push(a5.charAt(J)+a5.charAt(I)+a5.charAt(K)+a5.charAt(G))}return Y.join("")};ap0.decode=function($){var Y,U,z,Q,J,I,K,G=0,H=0,W="data:";if($.substr(0,W.length)===W)throw Error("Invalid base64 input, it looks like a data url.");$=$.replace(/[^A-Za-z0-9+/=]/g,"");var X=$.length*3/4;if($.charAt($.length-1)===a5.charAt(64))X--;if($.charAt($.length-2)===a5.charAt(64))X--;if(X%1!==0)throw Error("Invalid base64 input, bad content length.");var Z;if(sp0.uint8array)Z=new Uint8Array(X|0);else Z=Array(X|0);while(G<$.length){if(Q=a5.indexOf($.charAt(G++)),J=a5.indexOf($.charAt(G++)),I=a5.indexOf($.charAt(G++)),K=a5.indexOf($.charAt(G++)),Y=Q<<2|J>>4,U=(J&15)<<4|I>>2,z=(I&3)<<6|K,Z[H++]=Y,I!==64)Z[H++]=U;if(K!==64)Z[H++]=z}return Z}});var sH=E((Ap1,a60)=>{a60.exports={isNode:typeof Buffer<"u",newBufferFrom:function($,Y){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from($,Y);else{if(typeof $==="number")throw Error('The "data" argument must not be a number');return new Buffer($,Y)}},allocBuffer:function($){if(Buffer.alloc)return Buffer.alloc($);else{var Y=new Buffer($);return Y.fill(0),Y}},isBuffer:function($){return Buffer.isBuffer($)},isStream:function($){return $&&typeof $.on==="function"&&typeof $.pause==="function"&&typeof $.resume==="function"}}});var $80=E((Pp1,e60)=>{var Bp1=global.MutationObserver||global.WebKitMutationObserver,t60;t60=function(){process.nextTick(Qd0)};var $d0,Yd0,Ud0,zd0,yg,aH=[];function Qd0(){yg=!0;var $,Y,U=aH.length;while(U){Y=aH,aH=[],$=-1;while(++${var Y80=$80();function UJ(){}var X8={},U80=["REJECTED"],kg=["FULFILLED"],z80=["PENDING"];YJ=["UNHANDLED"];var YJ;I80.exports=k7;function k7($){if(typeof $!=="function")throw TypeError("resolver must be a function");if(this.state=z80,this.queue=[],this.outcome=void 0,this.handled=YJ,$!==UJ)Q80(this,$)}k7.prototype.finally=function($){if(typeof $!=="function")return this;var Y=this.constructor;return this.then(U,z);function U(Q){function J(){return Q}return Y.resolve($()).then(J)}function z(Q){function J(){throw Q}return Y.resolve($()).then(J)}};k7.prototype.catch=function($){return this.then(null,$)};k7.prototype.then=function($,Y){if(typeof $!=="function"&&this.state===kg||typeof Y!=="function"&&this.state===U80)return this;var U=new this.constructor(UJ);if(this.handled===YJ)this.handled=null;if(this.state!==z80){var z=this.state===kg?$:Y;xg(U,z,this.outcome)}else this.queue.push(new tH(U,$,Y));return U};function tH($,Y,U){if(this.promise=$,typeof Y==="function")this.onFulfilled=Y,this.callFulfilled=this.otherCallFulfilled;if(typeof U==="function")this.onRejected=U,this.callRejected=this.otherCallRejected}tH.prototype.callFulfilled=function($){X8.resolve(this.promise,$)};tH.prototype.otherCallFulfilled=function($){xg(this.promise,this.onFulfilled,$)};tH.prototype.callRejected=function($){X8.reject(this.promise,$)};tH.prototype.otherCallRejected=function($){xg(this.promise,this.onRejected,$)};function xg($,Y,U){Y80(function(){var z;try{z=Y(U)}catch(Q){return X8.reject($,Q)}if(z===$)X8.reject($,TypeError("Cannot resolve promise with itself"));else X8.resolve($,z)})}X8.resolve=function($,Y){var U=J80(Id0,Y);if(U.status==="error")return X8.reject($,U.value);var z=U.value;if(z)Q80($,z);else{$.state=kg,$.outcome=Y;var Q=-1,J=$.queue.length;while(++Q{var fg=null;if(typeof Promise<"u")fg=Promise;else fg=K80();G80.exports={Promise:fg}});var ug=E((H80)=>{(function($,Y){if($.setImmediate)return;var U=1,z={},Q=!1,J=$.document,I;function K(N){if(typeof N!=="function")N=Function(""+N);var O=Array(arguments.length-1);for(var D=0;D"u"?typeof global>"u"?H80:global:self)});var n4=E((qd0)=>{var x7=J3(),Xd0=gg(),QJ=sH(),bg=zJ();ug();function Zd0($){var Y=null;if(x7.uint8array)Y=new Uint8Array($.length);else Y=Array($.length);return oM($,Y)}qd0.newBlob=function($,Y){qd0.checkSupport("blob");try{return new Blob([$],{type:Y})}catch(Q){try{var U=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,z=new U;return z.append($),z.getBlob(Y)}catch(J){throw Error("Bug : can't construct the Blob.")}}};function eH($){return $}function oM($,Y){for(var U=0;U<$.length;++U)Y[U]=$.charCodeAt(U)&255;return Y}var lM={stringifyByChunk:function($,Y,U){var z=[],Q=0,J=$.length;if(J<=U)return String.fromCharCode.apply(null,$);while(Q1)try{return lM.stringifyByChunk($,U,Y)}catch(Q){Y=Math.floor(Y/2)}return lM.stringifyByChar($)}qd0.applyFromCharCode=$W;function rM($,Y){for(var U=0;U<$.length;U++)Y[U]=$[U];return Y}var f7={};f7.string={string:eH,array:function($){return oM($,Array($.length))},arraybuffer:function($){return f7.string.uint8array($).buffer},uint8array:function($){return oM($,new Uint8Array($.length))},nodebuffer:function($){return oM($,QJ.allocBuffer($.length))}};f7.array={string:$W,array:eH,arraybuffer:function($){return new Uint8Array($).buffer},uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return QJ.newBufferFrom($)}};f7.arraybuffer={string:function($){return $W(new Uint8Array($))},array:function($){return rM(new Uint8Array($),Array($.byteLength))},arraybuffer:eH,uint8array:function($){return new Uint8Array($)},nodebuffer:function($){return QJ.newBufferFrom(new Uint8Array($))}};f7.uint8array={string:$W,array:function($){return rM($,Array($.length))},arraybuffer:function($){return $.buffer},uint8array:eH,nodebuffer:function($){return QJ.newBufferFrom($)}};f7.nodebuffer={string:$W,array:function($){return rM($,Array($.length))},arraybuffer:function($){return f7.nodebuffer.uint8array($).buffer},uint8array:function($){return rM($,new Uint8Array($.length))},nodebuffer:eH};qd0.transformTo=function($,Y){if(!Y)Y="";if(!$)return Y;qd0.checkSupport($);var U=qd0.getTypeOf(Y),z=f7[U][$](Y);return z};qd0.resolve=function($){var Y=$.split("/"),U=[];for(var z=0;z"u")$[U]=arguments[Y][U];return $};qd0.prepareContent=function($,Y,U,z,Q){var J=bg.Promise.resolve(Y).then(function(I){var K=x7.blob&&(I instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(I))!==-1);if(K&&typeof FileReader<"u")return new bg.Promise(function(G,H){var W=new FileReader;W.onload=function(X){G(X.target.result)},W.onerror=function(X){H(X.target.error)},W.readAsArrayBuffer(I)});else return I});return J.then(function(I){var K=qd0.getTypeOf(I);if(!K)return bg.Promise.reject(Error("Can't read the data of '"+$+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));if(K==="arraybuffer")I=qd0.transformTo("uint8array",I);else if(K==="string"){if(Q)I=Xd0.decode(I);else if(U){if(z!==!0)I=Zd0(I)}}return I})}});var I$=E((Rp1,q80)=>{function Z80($){this.name=$||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}Z80.prototype={push:function($){this.emit("data",$)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch($){this.emit("error",$)}return!0},error:function($){if(this.isFinished)return!1;if(this.isPaused)this.generatedError=$;else{if(this.isFinished=!0,this.emit("error",$),this.previous)this.previous.error($);this.cleanUp()}return!0},on:function($,Y){return this._listeners[$].push(Y),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function($,Y){if(this._listeners[$])for(var U=0;U "+$;else return $}};q80.exports=Z80});var IJ=E((Cd0)=>{var JJ=n4(),lY=J3(),Pd0=sH(),sM=I$(),YW=Array(256);for(t5=0;t5<256;t5++)YW[t5]=t5>=252?6:t5>=248?5:t5>=240?4:t5>=224?3:t5>=192?2:1;var t5;YW[254]=YW[254]=1;var Td0=function($){var Y,U,z,Q,J,I=$.length,K=0;for(Q=0;Q>>6,Y[J++]=128|U&63;else if(U<65536)Y[J++]=224|U>>>12,Y[J++]=128|U>>>6&63,Y[J++]=128|U&63;else Y[J++]=240|U>>>18,Y[J++]=128|U>>>12&63,Y[J++]=128|U>>>6&63,Y[J++]=128|U&63}return Y},jd0=function($,Y){var U;if(Y=Y||$.length,Y>$.length)Y=$.length;U=Y-1;while(U>=0&&($[U]&192)===128)U--;if(U<0)return Y;if(U===0)return Y;return U+YW[$[U]]>Y?U:Y},Ed0=function($){var Y,U,z,Q,J=$.length,I=Array(J*2);for(U=0,Y=0;Y4){I[U++]=65533,Y+=Q-1;continue}z&=Q===2?31:Q===3?15:7;while(Q>1&&Y1){I[U++]=65533;continue}if(z<65536)I[U++]=z;else z-=65536,I[U++]=55296|z>>10&1023,I[U++]=56320|z&1023}if(I.length!==U)if(I.subarray)I=I.subarray(0,U);else I.length=U;return JJ.applyFromCharCode(I)};Cd0.utf8encode=function(Y){if(lY.nodebuffer)return Pd0.newBufferFrom(Y,"utf-8");return Td0(Y)};Cd0.utf8decode=function(Y){if(lY.nodebuffer)return JJ.transformTo("nodebuffer",Y).toString("utf-8");return Y=JJ.transformTo(lY.uint8array?"uint8array":"array",Y),Ed0(Y)};function aM(){sM.call(this,"utf-8 decode"),this.leftOver=null}JJ.inherits(aM,sM);aM.prototype.processChunk=function($){var Y=JJ.transformTo(lY.uint8array?"uint8array":"array",$.data);if(this.leftOver&&this.leftOver.length){if(lY.uint8array){var U=Y;Y=new Uint8Array(U.length+this.leftOver.length),Y.set(this.leftOver,0),Y.set(U,this.leftOver.length)}else Y=this.leftOver.concat(Y);this.leftOver=null}var z=jd0(Y),Q=Y;if(z!==Y.length)if(lY.uint8array)Q=Y.subarray(0,z),this.leftOver=Y.subarray(z,Y.length);else Q=Y.slice(0,z),this.leftOver=Y.slice(z,Y.length);this.push({data:Cd0.utf8decode(Q),meta:$.meta})};aM.prototype.flush=function(){if(this.leftOver&&this.leftOver.length)this.push({data:Cd0.utf8decode(this.leftOver),meta:{}}),this.leftOver=null};Cd0.Utf8DecodeWorker=aM;function cg(){sM.call(this,"utf-8 encode")}JJ.inherits(cg,sM);cg.prototype.processChunk=function($){this.push({data:Cd0.utf8encode($.data),meta:$.meta})};Cd0.Utf8EncodeWorker=cg});var M80=E((vp1,w80)=>{var L80=I$(),F80=n4();function pg($){L80.call(this,"ConvertWorker to "+$),this.destType=$}F80.inherits(pg,L80);pg.prototype.processChunk=function($){this.push({data:F80.transformTo(this.destType,$.data),meta:$.meta})};w80.exports=pg});var D80=E((hp1,N80)=>{var O80=vg().Readable,vd0=n4();vd0.inherits(dg,O80);function dg($,Y,U){O80.call(this,Y),this._helper=$;var z=this;$.on("data",function(Q,J){if(!z.push(Q))z._helper.pause();if(U)U(J)}).on("error",function(Q){z.emit("error",Q)}).on("end",function(){z.push(null)})}dg.prototype._read=function(){this._helper.resume()};N80.exports=dg});var mg=E((Sp1,P80)=>{var oY=n4(),hd0=M80(),Sd0=I$(),gd0=gg(),yd0=J3(),kd0=zJ(),A80=null;if(yd0.nodestream)try{A80=D80()}catch($){}function xd0($,Y,U){switch($){case"blob":return oY.newBlob(oY.transformTo("arraybuffer",Y),U);case"base64":return gd0.encode(Y);default:return oY.transformTo($,Y)}}function fd0($,Y){var U,z=0,Q=null,J=0;for(U=0;U{bd0.base64=!1;bd0.binary=!1;bd0.dir=!1;bd0.createFolders=!0;bd0.date=null;bd0.compression=null;bd0.compressionOptions=null;bd0.comment=null;bd0.unixPermissions=null;bd0.dosPermissions=null});var og=E((yp1,T80)=>{var tM=n4(),eM=I$(),ad0=16384;function KJ($){eM.call(this,"DataWorker");var Y=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,$.then(function(U){if(Y.dataIsReady=!0,Y.data=U,Y.max=U&&U.length||0,Y.type=tM.getTypeOf(U),!Y.isPaused)Y._tickAndRepeat()},function(U){Y.error(U)})}tM.inherits(KJ,eM);KJ.prototype.cleanUp=function(){eM.prototype.cleanUp.call(this),this.data=null};KJ.prototype.resume=function(){if(!eM.prototype.resume.call(this))return!1;if(!this._tickScheduled&&this.dataIsReady)this._tickScheduled=!0,tM.delay(this._tickAndRepeat,[],this);return!0};KJ.prototype._tickAndRepeat=function(){if(this._tickScheduled=!1,this.isPaused||this.isFinished)return;if(this._tick(),!this.isFinished)tM.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0};KJ.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var $=ad0,Y=null,U=Math.min(this.max,this.index+$);if(this.index>=this.max)return this.end();else{switch(this.type){case"string":Y=this.data.substring(this.index,U);break;case"uint8array":Y=this.data.subarray(this.index,U);break;case"array":case"nodebuffer":Y=this.data.slice(this.index,U);break}return this.index=U,this.push({data:Y,meta:{percent:this.max?this.index/this.max*100:0}})}};T80.exports=KJ});var $O=E((kp1,E80)=>{var td0=n4();function ed0(){var $,Y=[];for(var U=0;U<256;U++){$=U;for(var z=0;z<8;z++)$=$&1?3988292384^$>>>1:$>>>1;Y[U]=$}return Y}var j80=ed0();function $m0($,Y,U,z){var Q=j80,J=z+U;$=$^-1;for(var I=z;I>>8^Q[($^Y[I])&255];return $^-1}function Ym0($,Y,U,z){var Q=j80,J=z+U;$=$^-1;for(var I=z;I>>8^Q[($^Y.charCodeAt(I))&255];return $^-1}E80.exports=function(Y,U){if(typeof Y>"u"||!Y.length)return 0;var z=td0.getTypeOf(Y)!=="string";if(z)return $m0(U|0,Y,Y.length,0);else return Ym0(U|0,Y,Y.length,0)}});var sg=E((xp1,R80)=>{var C80=I$(),Um0=$O(),zm0=n4();function rg(){C80.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}zm0.inherits(rg,C80);rg.prototype.processChunk=function($){this.streamInfo.crc32=Um0($.data,this.streamInfo.crc32||0),this.push($)};R80.exports=rg});var v80=E((fp1,_80)=>{var Qm0=n4(),ag=I$();function tg($){ag.call(this,"DataLengthProbe for "+$),this.propName=$,this.withStreamInfo($,0)}Qm0.inherits(tg,ag);tg.prototype.processChunk=function($){if($){var Y=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=Y+$.data.length}ag.prototype.processChunk.call(this,$)};_80.exports=tg});var YO=E((up1,g80)=>{var h80=zJ(),S80=og(),Jm0=sg(),eg=v80();function $y($,Y,U,z,Q){this.compressedSize=$,this.uncompressedSize=Y,this.crc32=U,this.compression=z,this.compressedContent=Q}$y.prototype={getContentWorker:function(){var $=new S80(h80.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new eg("data_length")),Y=this;return $.on("end",function(){if(this.streamInfo.data_length!==Y.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),$},getCompressedWorker:function(){return new S80(h80.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}};$y.createWorkerFrom=function($,Y,U){return $.pipe(new Jm0).pipe(new eg("uncompressedSize")).pipe(Y.compressWorker(U)).pipe(new eg("compressedSize")).withStreamInfo("compression",Y)};g80.exports=$y});var f80=E((bp1,x80)=>{var Im0=mg(),Km0=og(),Yy=IJ(),Uy=YO(),y80=I$(),zy=function($,Y,U){this.name=$,this.dir=U.dir,this.date=U.date,this.comment=U.comment,this.unixPermissions=U.unixPermissions,this.dosPermissions=U.dosPermissions,this._data=Y,this._dataBinary=U.binary,this.options={compression:U.compression,compressionOptions:U.compressionOptions}};zy.prototype={internalStream:function($){var Y=null,U="string";try{if(!$)throw Error("No output type specified.");U=$.toLowerCase();var z=U==="string"||U==="text";if(U==="binarystring"||U==="text")U="string";Y=this._decompressWorker();var Q=!this._dataBinary;if(Q&&!z)Y=Y.pipe(new Yy.Utf8EncodeWorker);if(!Q&&z)Y=Y.pipe(new Yy.Utf8DecodeWorker)}catch(J){Y=new y80("error"),Y.error(J)}return new Im0(Y,U,"")},async:function($,Y){return this.internalStream($).accumulate(Y)},nodeStream:function($,Y){return this.internalStream($||"nodebuffer").toNodejsStream(Y)},_compressWorker:function($,Y){if(this._data instanceof Uy&&this._data.compression.magic===$.magic)return this._data.getCompressedWorker();else{var U=this._decompressWorker();if(!this._dataBinary)U=U.pipe(new Yy.Utf8EncodeWorker);return Uy.createWorkerFrom(U,$,Y)}},_decompressWorker:function(){if(this._data instanceof Uy)return this._data.getContentWorker();else if(this._data instanceof y80)return this._data;else return new Km0(this._data)}};var k80=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],Gm0=function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")};for(UW=0;UW{var Zm0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function qm0($,Y){return Object.prototype.hasOwnProperty.call($,Y)}Qy.assign=function($){var Y=Array.prototype.slice.call(arguments,1);while(Y.length){var U=Y.shift();if(!U)continue;if(typeof U!=="object")throw TypeError(U+"must be non-object");for(var z in U)if(qm0(U,z))$[z]=U[z]}return $};Qy.shrinkBuf=function($,Y){if($.length===Y)return $;if($.subarray)return $.subarray(0,Y);return $.length=Y,$};var Vm0={arraySet:function($,Y,U,z,Q){if(Y.subarray&&$.subarray){$.set(Y.subarray(U,U+z),Q);return}for(var J=0;J{var wm0=I3(),Mm0=4,b80=0,i80=1,Om0=2;function HJ($){var Y=$.length;while(--Y>=0)$[Y]=0}var Nm0=0,l80=1,Dm0=2,Am0=3,Bm0=258,Zy=29,GW=256,QW=GW+1+Zy,GJ=30,qy=19,o80=2*QW+1,rY=15,Iy=16,Pm0=7,Vy=256,r80=16,s80=17,a80=18,Wy=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],UO=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Tm0=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],t80=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],jm0=512,K3=Array((QW+2)*2);HJ(K3);var zW=Array(GJ*2);HJ(zW);var JW=Array(jm0);HJ(JW);var IW=Array(Bm0-Am0+1);HJ(IW);var Ly=Array(Zy);HJ(Ly);var zO=Array(GJ);HJ(zO);function Ky($,Y,U,z,Q){this.static_tree=$,this.extra_bits=Y,this.extra_base=U,this.elems=z,this.max_length=Q,this.has_stree=$&&$.length}var e80,$$0,Y$0;function Gy($,Y){this.dyn_tree=$,this.max_code=0,this.stat_desc=Y}function U$0($){return $<256?JW[$]:JW[256+($>>>7)]}function KW($,Y){$.pending_buf[$.pending++]=Y&255,$.pending_buf[$.pending++]=Y>>>8&255}function n8($,Y,U){if($.bi_valid>Iy-U)$.bi_buf|=Y<<$.bi_valid&65535,KW($,$.bi_buf),$.bi_buf=Y>>Iy-$.bi_valid,$.bi_valid+=U-Iy;else $.bi_buf|=Y<<$.bi_valid&65535,$.bi_valid+=U}function e5($,Y,U){n8($,U[Y*2],U[Y*2+1])}function z$0($,Y){var U=0;do U|=$&1,$>>>=1,U<<=1;while(--Y>0);return U>>>1}function Em0($){if($.bi_valid===16)KW($,$.bi_buf),$.bi_buf=0,$.bi_valid=0;else if($.bi_valid>=8)$.pending_buf[$.pending++]=$.bi_buf&255,$.bi_buf>>=8,$.bi_valid-=8}function Cm0($,Y){var{dyn_tree:U,max_code:z}=Y,Q=Y.stat_desc.static_tree,J=Y.stat_desc.has_stree,I=Y.stat_desc.extra_bits,K=Y.stat_desc.extra_base,G=Y.stat_desc.max_length,H,W,X,Z,q,V,F=0;for(Z=0;Z<=rY;Z++)$.bl_count[Z]=0;U[$.heap[$.heap_max]*2+1]=0;for(H=$.heap_max+1;HG)Z=G,F++;if(U[W*2+1]=Z,W>z)continue;if($.bl_count[Z]++,q=0,W>=K)q=I[W-K];if(V=U[W*2],$.opt_len+=V*(Z+q),J)$.static_len+=V*(Q[W*2+1]+q)}if(F===0)return;do{Z=G-1;while($.bl_count[Z]===0)Z--;$.bl_count[Z]--,$.bl_count[Z+1]+=2,$.bl_count[G]--,F-=2}while(F>0);for(Z=G;Z!==0;Z--){W=$.bl_count[Z];while(W!==0){if(X=$.heap[--H],X>z)continue;if(U[X*2+1]!==Z)$.opt_len+=(Z-U[X*2+1])*U[X*2],U[X*2+1]=Z;W--}}}function Q$0($,Y,U){var z=Array(rY+1),Q=0,J,I;for(J=1;J<=rY;J++)z[J]=Q=Q+U[J-1]<<1;for(I=0;I<=Y;I++){var K=$[I*2+1];if(K===0)continue;$[I*2]=z$0(z[K]++,K)}}function Rm0(){var $,Y,U,z,Q,J=Array(rY+1);U=0;for(z=0;z>=7;for(;z8)KW($,$.bi_buf);else if($.bi_valid>0)$.pending_buf[$.pending++]=$.bi_buf;$.bi_buf=0,$.bi_valid=0}function _m0($,Y,U,z){if(I$0($),z)KW($,U),KW($,~U);wm0.arraySet($.pending_buf,$.window,Y,U,$.pending),$.pending+=U}function c80($,Y,U,z){var Q=Y*2,J=U*2;return $[Q]<$[J]||$[Q]===$[J]&&z[Y]<=z[U]}function Hy($,Y,U){var z=$.heap[U],Q=U<<1;while(Q<=$.heap_len){if(Q<$.heap_len&&c80(Y,$.heap[Q+1],$.heap[Q],$.depth))Q++;if(c80(Y,z,$.heap[Q],$.depth))break;$.heap[U]=$.heap[Q],U=Q,Q<<=1}$.heap[U]=z}function n80($,Y,U){var z,Q,J=0,I,K;if($.last_lit!==0)do if(z=$.pending_buf[$.d_buf+J*2]<<8|$.pending_buf[$.d_buf+J*2+1],Q=$.pending_buf[$.l_buf+J],J++,z===0)e5($,Q,Y);else{if(I=IW[Q],e5($,I+GW+1,Y),K=Wy[I],K!==0)Q-=Ly[I],n8($,Q,K);if(z--,I=U$0(z),e5($,I,U),K=UO[I],K!==0)z-=zO[I],n8($,z,K)}while(J<$.last_lit);e5($,Vy,Y)}function Xy($,Y){var U=Y.dyn_tree,z=Y.stat_desc.static_tree,Q=Y.stat_desc.has_stree,J=Y.stat_desc.elems,I,K,G=-1,H;$.heap_len=0,$.heap_max=o80;for(I=0;I>1;I>=1;I--)Hy($,U,I);H=J;do I=$.heap[1],$.heap[1]=$.heap[$.heap_len--],Hy($,U,1),K=$.heap[1],$.heap[--$.heap_max]=I,$.heap[--$.heap_max]=K,U[H*2]=U[I*2]+U[K*2],$.depth[H]=($.depth[I]>=$.depth[K]?$.depth[I]:$.depth[K])+1,U[I*2+1]=U[K*2+1]=H,$.heap[1]=H++,Hy($,U,1);while($.heap_len>=2);$.heap[--$.heap_max]=$.heap[1],Cm0($,Y),Q$0(U,G,$.bl_count)}function p80($,Y,U){var z,Q=-1,J,I=Y[1],K=0,G=7,H=4;if(I===0)G=138,H=3;Y[(U+1)*2+1]=65535;for(z=0;z<=U;z++){if(J=I,I=Y[(z+1)*2+1],++K=3;Y--)if($.bl_tree[t80[Y]*2+1]!==0)break;return $.opt_len+=3*(Y+1)+5+5+4,Y}function hm0($,Y,U,z){var Q;n8($,Y-257,5),n8($,U-1,5),n8($,z-4,4);for(Q=0;Q>>=1)if(Y&1&&$.dyn_ltree[U*2]!==0)return b80;if($.dyn_ltree[18]!==0||$.dyn_ltree[20]!==0||$.dyn_ltree[26]!==0)return i80;for(U=32;U0){if($.strm.data_type===Om0)$.strm.data_type=Sm0($);if(Xy($,$.l_desc),Xy($,$.d_desc),I=vm0($),Q=$.opt_len+3+7>>>3,J=$.static_len+3+7>>>3,J<=Q)Q=J}else Q=J=U+5;if(U+4<=Q&&Y!==-1)K$0($,Y,U,z);else if($.strategy===Mm0||J===Q)n8($,(l80<<1)+(z?1:0),3),n80($,K3,zW);else n8($,(Dm0<<1)+(z?1:0),3),hm0($,$.l_desc.max_code+1,$.d_desc.max_code+1,I+1),n80($,$.dyn_ltree,$.dyn_dtree);if(J$0($),z)I$0($)}function xm0($,Y,U){if($.pending_buf[$.d_buf+$.last_lit*2]=Y>>>8&255,$.pending_buf[$.d_buf+$.last_lit*2+1]=Y&255,$.pending_buf[$.l_buf+$.last_lit]=U&255,$.last_lit++,Y===0)$.dyn_ltree[U*2]++;else $.matches++,Y--,$.dyn_ltree[(IW[U]+GW+1)*2]++,$.dyn_dtree[U$0(Y)*2]++;return $.last_lit===$.lit_bufsize-1}fm0._tr_init=gm0;fm0._tr_stored_block=K$0;fm0._tr_flush_block=km0;fm0._tr_tally=xm0;fm0._tr_align=ym0});var Fy=E((np1,H$0)=>{function pm0($,Y,U,z){var Q=$&65535|0,J=$>>>16&65535|0,I=0;while(U!==0){I=U>2000?2000:U,U-=I;do Q=Q+Y[z++]|0,J=J+Q|0;while(--I);Q%=65521,J%=65521}return Q|J<<16|0}H$0.exports=pm0});var wy=E((pp1,W$0)=>{function dm0(){var $,Y=[];for(var U=0;U<256;U++){$=U;for(var z=0;z<8;z++)$=$&1?3988292384^$>>>1:$>>>1;Y[U]=$}return Y}var mm0=dm0();function lm0($,Y,U,z){var Q=mm0,J=z+U;$^=-1;for(var I=z;I>>8^Q[($^Y[I])&255];return $^-1}W$0.exports=lm0});var QO=E((dp1,X$0)=>{X$0.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var N$0=E((jl0)=>{var j8=I3(),j$=G$0(),L$0=Fy(),u7=wy(),om0=QO(),eY=0,rm0=1,sm0=3,p7=4,Z$0=5,Y9=0,q$0=1,E$=-2,am0=-3,My=-5,tm0=-1,em0=1,JO=2,$l0=3,Yl0=4,Ul0=0,zl0=2,HO=8,Ql0=9,Jl0=15,Il0=8,Kl0=29,Gl0=256,Ny=Gl0+1+Kl0,Hl0=30,Wl0=19,Xl0=2*Ny+1,Zl0=15,f1=3,c7=258,W5=c7+f1+1,ql0=32,WO=42,Dy=69,IO=73,KO=91,GO=103,sY=113,WW=666,B6=1,XW=2,aY=3,ZJ=4,Vl0=3;function n7($,Y){return $.msg=om0[Y],Y}function V$0($){return($<<1)-($>4?9:0)}function i7($){var Y=$.length;while(--Y>=0)$[Y]=0}function b7($){var Y=$.state,U=Y.pending;if(U>$.avail_out)U=$.avail_out;if(U===0)return;if(j8.arraySet($.output,Y.pending_buf,Y.pending_out,U,$.next_out),$.next_out+=U,Y.pending_out+=U,$.total_out+=U,$.avail_out-=U,Y.pending-=U,Y.pending===0)Y.pending_out=0}function m6($,Y){j$._tr_flush_block($,$.block_start>=0?$.block_start:-1,$.strstart-$.block_start,Y),$.block_start=$.strstart,b7($.strm)}function r1($,Y){$.pending_buf[$.pending++]=Y}function HW($,Y){$.pending_buf[$.pending++]=Y>>>8&255,$.pending_buf[$.pending++]=Y&255}function Ll0($,Y,U,z){var Q=$.avail_in;if(Q>z)Q=z;if(Q===0)return 0;if($.avail_in-=Q,j8.arraySet(Y,$.input,$.next_in,Q,U),$.state.wrap===1)$.adler=L$0($.adler,Y,Q,U);else if($.state.wrap===2)$.adler=u7($.adler,Y,Q,U);return $.next_in+=Q,$.total_in+=Q,Q}function F$0($,Y){var{max_chain_length:U,strstart:z}=$,Q,J,I=$.prev_length,K=$.nice_match,G=$.strstart>$.w_size-W5?$.strstart-($.w_size-W5):0,H=$.window,W=$.w_mask,X=$.prev,Z=$.strstart+c7,q=H[z+I-1],V=H[z+I];if($.prev_length>=$.good_match)U>>=2;if(K>$.lookahead)K=$.lookahead;do{if(Q=Y,H[Q+I]!==V||H[Q+I-1]!==q||H[Q]!==H[z]||H[++Q]!==H[z+1])continue;z+=2,Q++;do;while(H[++z]===H[++Q]&&H[++z]===H[++Q]&&H[++z]===H[++Q]&&H[++z]===H[++Q]&&H[++z]===H[++Q]&&H[++z]===H[++Q]&&H[++z]===H[++Q]&&H[++z]===H[++Q]&&zI){if($.match_start=Y,I=J,J>=K)break;q=H[z+I-1],V=H[z+I]}}while((Y=X[Y&W])>G&&--U!==0);if(I<=$.lookahead)return I;return $.lookahead}function tY($){var Y=$.w_size,U,z,Q,J,I;do{if(J=$.window_size-$.lookahead-$.strstart,$.strstart>=Y+(Y-W5)){j8.arraySet($.window,$.window,Y,Y,0),$.match_start-=Y,$.strstart-=Y,$.block_start-=Y,z=$.hash_size,U=z;do Q=$.head[--U],$.head[U]=Q>=Y?Q-Y:0;while(--z);z=Y,U=z;do Q=$.prev[--U],$.prev[U]=Q>=Y?Q-Y:0;while(--z);J+=Y}if($.strm.avail_in===0)break;if(z=Ll0($.strm,$.window,$.strstart+$.lookahead,J),$.lookahead+=z,$.lookahead+$.insert>=f1){I=$.strstart-$.insert,$.ins_h=$.window[I],$.ins_h=($.ins_h<<$.hash_shift^$.window[I+1])&$.hash_mask;while($.insert)if($.ins_h=($.ins_h<<$.hash_shift^$.window[I+f1-1])&$.hash_mask,$.prev[I&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=I,I++,$.insert--,$.lookahead+$.insert$.pending_buf_size-5)U=$.pending_buf_size-5;for(;;){if($.lookahead<=1){if(tY($),$.lookahead===0&&Y===eY)return B6;if($.lookahead===0)break}$.strstart+=$.lookahead,$.lookahead=0;var z=$.block_start+U;if($.strstart===0||$.strstart>=z){if($.lookahead=$.strstart-z,$.strstart=z,m6($,!1),$.strm.avail_out===0)return B6}if($.strstart-$.block_start>=$.w_size-W5){if(m6($,!1),$.strm.avail_out===0)return B6}}if($.insert=0,Y===p7){if(m6($,!0),$.strm.avail_out===0)return aY;return ZJ}if($.strstart>$.block_start){if(m6($,!1),$.strm.avail_out===0)return B6}return B6}function Oy($,Y){var U,z;for(;;){if($.lookahead=f1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if(U!==0&&$.strstart-U<=$.w_size-W5)$.match_length=F$0($,U);if($.match_length>=f1)if(z=j$._tr_tally($,$.strstart-$.match_start,$.match_length-f1),$.lookahead-=$.match_length,$.match_length<=$.max_lazy_match&&$.lookahead>=f1){$.match_length--;do $.strstart++,$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.match_length!==0);$.strstart++}else $.strstart+=$.match_length,$.match_length=0,$.ins_h=$.window[$.strstart],$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+1])&$.hash_mask;else z=j$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(z){if(m6($,!1),$.strm.avail_out===0)return B6}}if($.insert=$.strstart=f1)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;if($.prev_length=$.match_length,$.prev_match=$.match_start,$.match_length=f1-1,U!==0&&$.prev_length<$.max_lazy_match&&$.strstart-U<=$.w_size-W5){if($.match_length=F$0($,U),$.match_length<=5&&($.strategy===em0||$.match_length===f1&&$.strstart-$.match_start>4096))$.match_length=f1-1}if($.prev_length>=f1&&$.match_length<=$.prev_length){Q=$.strstart+$.lookahead-f1,z=j$._tr_tally($,$.strstart-1-$.prev_match,$.prev_length-f1),$.lookahead-=$.prev_length-1,$.prev_length-=2;do if(++$.strstart<=Q)$.ins_h=($.ins_h<<$.hash_shift^$.window[$.strstart+f1-1])&$.hash_mask,U=$.prev[$.strstart&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=$.strstart;while(--$.prev_length!==0);if($.match_available=0,$.match_length=f1-1,$.strstart++,z){if(m6($,!1),$.strm.avail_out===0)return B6}}else if($.match_available){if(z=j$._tr_tally($,0,$.window[$.strstart-1]),z)m6($,!1);if($.strstart++,$.lookahead--,$.strm.avail_out===0)return B6}else $.match_available=1,$.strstart++,$.lookahead--}if($.match_available)z=j$._tr_tally($,0,$.window[$.strstart-1]),$.match_available=0;if($.insert=$.strstart=f1&&$.strstart>0){if(Q=$.strstart-1,z=I[Q],z===I[++Q]&&z===I[++Q]&&z===I[++Q]){J=$.strstart+c7;do;while(z===I[++Q]&&z===I[++Q]&&z===I[++Q]&&z===I[++Q]&&z===I[++Q]&&z===I[++Q]&&z===I[++Q]&&z===I[++Q]&&Q$.lookahead)$.match_length=$.lookahead}}if($.match_length>=f1)U=j$._tr_tally($,1,$.match_length-f1),$.lookahead-=$.match_length,$.strstart+=$.match_length,$.match_length=0;else U=j$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++;if(U){if(m6($,!1),$.strm.avail_out===0)return B6}}if($.insert=0,Y===p7){if(m6($,!0),$.strm.avail_out===0)return aY;return ZJ}if($.last_lit){if(m6($,!1),$.strm.avail_out===0)return B6}return XW}function Ml0($,Y){var U;for(;;){if($.lookahead===0){if(tY($),$.lookahead===0){if(Y===eY)return B6;break}}if($.match_length=0,U=j$._tr_tally($,0,$.window[$.strstart]),$.lookahead--,$.strstart++,U){if(m6($,!1),$.strm.avail_out===0)return B6}}if($.insert=0,Y===p7){if(m6($,!0),$.strm.avail_out===0)return aY;return ZJ}if($.last_lit){if(m6($,!1),$.strm.avail_out===0)return B6}return XW}function $9($,Y,U,z,Q){this.good_length=$,this.max_lazy=Y,this.nice_length=U,this.max_chain=z,this.func=Q}var XJ;XJ=[new $9(0,0,0,0,Fl0),new $9(4,4,8,4,Oy),new $9(4,5,16,8,Oy),new $9(4,6,32,32,Oy),new $9(4,4,16,16,WJ),new $9(8,16,32,32,WJ),new $9(8,16,128,128,WJ),new $9(8,32,128,256,WJ),new $9(32,128,258,1024,WJ),new $9(32,258,258,4096,WJ)];function Ol0($){$.window_size=2*$.w_size,i7($.head),$.max_lazy_match=XJ[$.level].max_lazy,$.good_match=XJ[$.level].good_length,$.nice_match=XJ[$.level].nice_length,$.max_chain_length=XJ[$.level].max_chain,$.strstart=0,$.block_start=0,$.lookahead=0,$.insert=0,$.match_length=$.prev_length=f1-1,$.match_available=0,$.ins_h=0}function Nl0(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=HO,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new j8.Buf16(Xl0*2),this.dyn_dtree=new j8.Buf16((2*Hl0+1)*2),this.bl_tree=new j8.Buf16((2*Wl0+1)*2),i7(this.dyn_ltree),i7(this.dyn_dtree),i7(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new j8.Buf16(Zl0+1),this.heap=new j8.Buf16(2*Ny+1),i7(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new j8.Buf16(2*Ny+1),i7(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function w$0($){var Y;if(!$||!$.state)return n7($,E$);if($.total_in=$.total_out=0,$.data_type=zl0,Y=$.state,Y.pending=0,Y.pending_out=0,Y.wrap<0)Y.wrap=-Y.wrap;return Y.status=Y.wrap?WO:sY,$.adler=Y.wrap===2?0:1,Y.last_flush=eY,j$._tr_init(Y),Y9}function M$0($){var Y=w$0($);if(Y===Y9)Ol0($.state);return Y}function Dl0($,Y){if(!$||!$.state)return E$;if($.state.wrap!==2)return E$;return $.state.gzhead=Y,Y9}function O$0($,Y,U,z,Q,J){if(!$)return E$;var I=1;if(Y===tm0)Y=6;if(z<0)I=0,z=-z;else if(z>15)I=2,z-=16;if(Q<1||Q>Ql0||U!==HO||z<8||z>15||Y<0||Y>9||J<0||J>Yl0)return n7($,E$);if(z===8)z=9;var K=new Nl0;return $.state=K,K.strm=$,K.wrap=I,K.gzhead=null,K.w_bits=z,K.w_size=1<Z$0||Y<0)return $?n7($,E$):E$;if(z=$.state,!$.output||!$.input&&$.avail_in!==0||z.status===WW&&Y!==p7)return n7($,$.avail_out===0?My:E$);if(z.strm=$,U=z.last_flush,z.last_flush=Y,z.status===WO)if(z.wrap===2)if($.adler=0,r1(z,31),r1(z,139),r1(z,8),!z.gzhead)r1(z,0),r1(z,0),r1(z,0),r1(z,0),r1(z,0),r1(z,z.level===9?2:z.strategy>=JO||z.level<2?4:0),r1(z,Vl0),z.status=sY;else{if(r1(z,(z.gzhead.text?1:0)+(z.gzhead.hcrc?2:0)+(!z.gzhead.extra?0:4)+(!z.gzhead.name?0:8)+(!z.gzhead.comment?0:16)),r1(z,z.gzhead.time&255),r1(z,z.gzhead.time>>8&255),r1(z,z.gzhead.time>>16&255),r1(z,z.gzhead.time>>24&255),r1(z,z.level===9?2:z.strategy>=JO||z.level<2?4:0),r1(z,z.gzhead.os&255),z.gzhead.extra&&z.gzhead.extra.length)r1(z,z.gzhead.extra.length&255),r1(z,z.gzhead.extra.length>>8&255);if(z.gzhead.hcrc)$.adler=u7($.adler,z.pending_buf,z.pending,0);z.gzindex=0,z.status=Dy}else{var I=HO+(z.w_bits-8<<4)<<8,K=-1;if(z.strategy>=JO||z.level<2)K=0;else if(z.level<6)K=1;else if(z.level===6)K=2;else K=3;if(I|=K<<6,z.strstart!==0)I|=ql0;if(I+=31-I%31,z.status=sY,HW(z,I),z.strstart!==0)HW(z,$.adler>>>16),HW(z,$.adler&65535);$.adler=1}if(z.status===Dy)if(z.gzhead.extra){Q=z.pending;while(z.gzindex<(z.gzhead.extra.length&65535)){if(z.pending===z.pending_buf_size){if(z.gzhead.hcrc&&z.pending>Q)$.adler=u7($.adler,z.pending_buf,z.pending-Q,Q);if(b7($),Q=z.pending,z.pending===z.pending_buf_size)break}r1(z,z.gzhead.extra[z.gzindex]&255),z.gzindex++}if(z.gzhead.hcrc&&z.pending>Q)$.adler=u7($.adler,z.pending_buf,z.pending-Q,Q);if(z.gzindex===z.gzhead.extra.length)z.gzindex=0,z.status=IO}else z.status=IO;if(z.status===IO)if(z.gzhead.name){Q=z.pending;do{if(z.pending===z.pending_buf_size){if(z.gzhead.hcrc&&z.pending>Q)$.adler=u7($.adler,z.pending_buf,z.pending-Q,Q);if(b7($),Q=z.pending,z.pending===z.pending_buf_size){J=1;break}}if(z.gzindexQ)$.adler=u7($.adler,z.pending_buf,z.pending-Q,Q);if(J===0)z.gzindex=0,z.status=KO}else z.status=KO;if(z.status===KO)if(z.gzhead.comment){Q=z.pending;do{if(z.pending===z.pending_buf_size){if(z.gzhead.hcrc&&z.pending>Q)$.adler=u7($.adler,z.pending_buf,z.pending-Q,Q);if(b7($),Q=z.pending,z.pending===z.pending_buf_size){J=1;break}}if(z.gzindexQ)$.adler=u7($.adler,z.pending_buf,z.pending-Q,Q);if(J===0)z.status=GO}else z.status=GO;if(z.status===GO)if(z.gzhead.hcrc){if(z.pending+2>z.pending_buf_size)b7($);if(z.pending+2<=z.pending_buf_size)r1(z,$.adler&255),r1(z,$.adler>>8&255),$.adler=0,z.status=sY}else z.status=sY;if(z.pending!==0){if(b7($),$.avail_out===0)return z.last_flush=-1,Y9}else if($.avail_in===0&&V$0(Y)<=V$0(U)&&Y!==p7)return n7($,My);if(z.status===WW&&$.avail_in!==0)return n7($,My);if($.avail_in!==0||z.lookahead!==0||Y!==eY&&z.status!==WW){var G=z.strategy===JO?Ml0(z,Y):z.strategy===$l0?wl0(z,Y):XJ[z.level].func(z,Y);if(G===aY||G===ZJ)z.status=WW;if(G===B6||G===aY){if($.avail_out===0)z.last_flush=-1;return Y9}if(G===XW){if(Y===rm0)j$._tr_align(z);else if(Y!==Z$0){if(j$._tr_stored_block(z,0,0,!1),Y===sm0){if(i7(z.head),z.lookahead===0)z.strstart=0,z.block_start=0,z.insert=0}}if(b7($),$.avail_out===0)return z.last_flush=-1,Y9}}if(Y!==p7)return Y9;if(z.wrap<=0)return q$0;if(z.wrap===2)r1(z,$.adler&255),r1(z,$.adler>>8&255),r1(z,$.adler>>16&255),r1(z,$.adler>>24&255),r1(z,$.total_in&255),r1(z,$.total_in>>8&255),r1(z,$.total_in>>16&255),r1(z,$.total_in>>24&255);else HW(z,$.adler>>>16),HW(z,$.adler&65535);if(b7($),z.wrap>0)z.wrap=-z.wrap;return z.pending!==0?Y9:q$0}function Pl0($){var Y;if(!$||!$.state)return E$;if(Y=$.state.status,Y!==WO&&Y!==Dy&&Y!==IO&&Y!==KO&&Y!==GO&&Y!==sY&&Y!==WW)return n7($,E$);return $.state=null,Y===sY?n7($,am0):Y9}function Tl0($,Y){var U=Y.length,z,Q,J,I,K,G,H,W;if(!$||!$.state)return E$;if(z=$.state,I=z.wrap,I===2||I===1&&z.status!==WO||z.lookahead)return E$;if(I===1)$.adler=L$0($.adler,Y,U,0);if(z.wrap=0,U>=z.w_size){if(I===0)i7(z.head),z.strstart=0,z.block_start=0,z.insert=0;W=new j8.Buf8(z.w_size),j8.arraySet(W,Y,U-z.w_size,z.w_size,0),Y=W,U=z.w_size}K=$.avail_in,G=$.next_in,H=$.input,$.avail_in=U,$.next_in=0,$.input=Y,tY(z);while(z.lookahead>=f1){Q=z.strstart,J=z.lookahead-(f1-1);do z.ins_h=(z.ins_h<{var XO=I3(),D$0=!0,A$0=!0;try{String.fromCharCode.apply(null,[0])}catch($){D$0=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch($){A$0=!1}var ZW=new XO.Buf8(256);for(U9=0;U9<256;U9++)ZW[U9]=U9>=252?6:U9>=248?5:U9>=240?4:U9>=224?3:U9>=192?2:1;var U9;ZW[254]=ZW[254]=1;kl0.string2buf=function($){var Y,U,z,Q,J,I=$.length,K=0;for(Q=0;Q>>6,Y[J++]=128|U&63;else if(U<65536)Y[J++]=224|U>>>12,Y[J++]=128|U>>>6&63,Y[J++]=128|U&63;else Y[J++]=240|U>>>18,Y[J++]=128|U>>>12&63,Y[J++]=128|U>>>6&63,Y[J++]=128|U&63}return Y};function B$0($,Y){if(Y<65534){if($.subarray&&A$0||!$.subarray&&D$0)return String.fromCharCode.apply(null,XO.shrinkBuf($,Y))}var U="";for(var z=0;z4){K[z++]=65533,U+=J-1;continue}Q&=J===2?31:J===3?15:7;while(J>1&&U1){K[z++]=65533;continue}if(Q<65536)K[z++]=Q;else Q-=65536,K[z++]=55296|Q>>10&1023,K[z++]=56320|Q&1023}return B$0(K,z)};kl0.utf8border=function($,Y){var U;if(Y=Y||$.length,Y>$.length)Y=$.length;U=Y-1;while(U>=0&&($[U]&192)===128)U--;if(U<0)return Y;if(U===0)return Y;return U+ZW[$[U]]>Y?U:Y}});var By=E((op1,P$0)=>{function cl0(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}P$0.exports=cl0});var C$0=E((sl0)=>{var qW=N$0(),VW=I3(),Ty=Ay(),jy=QO(),nl0=By(),E$0=Object.prototype.toString,pl0=0,Py=4,qJ=0,T$0=1,j$0=2,dl0=-1,ml0=0,ll0=8;function $U($){if(!(this instanceof $U))return new $U($);this.options=VW.assign({level:dl0,method:ll0,chunkSize:16384,windowBits:15,memLevel:8,strategy:ml0,to:""},$||{});var Y=this.options;if(Y.raw&&Y.windowBits>0)Y.windowBits=-Y.windowBits;else if(Y.gzip&&Y.windowBits>0&&Y.windowBits<16)Y.windowBits+=16;this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new nl0,this.strm.avail_out=0;var U=qW.deflateInit2(this.strm,Y.level,Y.method,Y.windowBits,Y.memLevel,Y.strategy);if(U!==qJ)throw Error(jy[U]);if(Y.header)qW.deflateSetHeader(this.strm,Y.header);if(Y.dictionary){var z;if(typeof Y.dictionary==="string")z=Ty.string2buf(Y.dictionary);else if(E$0.call(Y.dictionary)==="[object ArrayBuffer]")z=new Uint8Array(Y.dictionary);else z=Y.dictionary;if(U=qW.deflateSetDictionary(this.strm,z),U!==qJ)throw Error(jy[U]);this._dict_set=!0}}$U.prototype.push=function($,Y){var U=this.strm,z=this.options.chunkSize,Q,J;if(this.ended)return!1;if(J=Y===~~Y?Y:Y===!0?Py:pl0,typeof $==="string")U.input=Ty.string2buf($);else if(E$0.call($)==="[object ArrayBuffer]")U.input=new Uint8Array($);else U.input=$;U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0)U.output=new VW.Buf8(z),U.next_out=0,U.avail_out=z;if(Q=qW.deflate(U,J),Q!==T$0&&Q!==qJ)return this.onEnd(Q),this.ended=!0,!1;if(U.avail_out===0||U.avail_in===0&&(J===Py||J===j$0))if(this.options.to==="string")this.onData(Ty.buf2binstring(VW.shrinkBuf(U.output,U.next_out)));else this.onData(VW.shrinkBuf(U.output,U.next_out))}while((U.avail_in>0||U.avail_out===0)&&Q!==T$0);if(J===Py)return Q=qW.deflateEnd(this.strm),this.onEnd(Q),this.ended=!0,Q===qJ;if(J===j$0)return this.onEnd(qJ),U.avail_out=0,!0;return!0};$U.prototype.onData=function($){this.chunks.push($)};$U.prototype.onEnd=function($){if($===qJ)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=VW.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function Ey($,Y){var U=new $U(Y);if(U.push($,!0),U.err)throw U.msg||jy[U.err];return U.result}function ol0($,Y){return Y=Y||{},Y.raw=!0,Ey($,Y)}function rl0($,Y){return Y=Y||{},Y.gzip=!0,Ey($,Y)}sl0.Deflate=$U;sl0.deflate=Ey;sl0.deflateRaw=ol0;sl0.gzip=rl0});var _$0=E((sp1,R$0)=>{var ZO=30,Yo0=12;R$0.exports=function(Y,U){var z,Q,J,I,K,G,H,W,X,Z,q,V,F,M,w,N,O,D,P,T,A,j,C,b,x;z=Y.state,Q=Y.next_in,b=Y.input,J=Q+(Y.avail_in-5),I=Y.next_out,x=Y.output,K=I-(U-Y.avail_out),G=I+(Y.avail_out-257),H=z.dmax,W=z.wsize,X=z.whave,Z=z.wnext,q=z.window,V=z.hold,F=z.bits,M=z.lencode,w=z.distcode,N=(1<>>24,V>>>=P,F-=P,P=D>>>16&255,P===0)x[I++]=D&65535;else if(P&16){if(T=D&65535,P&=15,P){if(F>>=P,F-=P}if(F<15)V+=b[Q++]<>>24,V>>>=P,F-=P,P=D>>>16&255,P&16){if(A=D&65535,P&=15,FH){Y.msg="invalid distance too far back",z.mode=ZO;break $}if(V>>>=P,F-=P,P=I-K,A>P){if(P=A-P,P>X){if(z.sane){Y.msg="invalid distance too far back",z.mode=ZO;break $}}if(j=0,C=q,Z===0){if(j+=W-P,P2)x[I++]=C[j++],x[I++]=C[j++],x[I++]=C[j++],T-=3;if(T){if(x[I++]=C[j++],T>1)x[I++]=C[j++]}}else{j=I-A;do x[I++]=x[j++],x[I++]=x[j++],x[I++]=x[j++],T-=3;while(T>2);if(T){if(x[I++]=x[j++],T>1)x[I++]=x[j++]}}}else if((P&64)===0){D=w[(D&65535)+(V&(1<>3,Q-=T,F-=T<<3,V&=(1<{var v$0=I3(),VJ=15,h$0=852,S$0=592,g$0=0,Cy=1,y$0=2,Uo0=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],zo0=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],Qo0=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],Jo0=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];k$0.exports=function(Y,U,z,Q,J,I,K,G){var H=G.bits,W=0,X=0,Z=0,q=0,V=0,F=0,M=0,w=0,N=0,O=0,D,P,T,A,j,C=null,b=0,x,S=new v$0.Buf16(VJ+1),i=new v$0.Buf16(VJ+1),c=null,z0=0,k,d,t;for(W=0;W<=VJ;W++)S[W]=0;for(X=0;X=1;q--)if(S[q]!==0)break;if(V>q)V=q;if(q===0)return J[I++]=20971520,J[I++]=20971520,G.bits=1,0;for(Z=1;Z0&&(Y===g$0||q!==1))return-1;i[1]=0;for(W=1;Wh$0||Y===y$0&&N>S$0)return 1;for(;;){if(k=W-M,K[X]x)d=c[z0+K[X]],t=C[b+K[X]];else d=96,t=0;D=1<>M)+P]=k<<24|d<<16|t|0;while(P!==0);D=1<>=1;if(D!==0)O&=D-1,O+=D;else O=0;if(X++,--S[W]===0){if(W===q)break;W=U[z+K[X]]}if(W>V&&(O&A)!==T){if(M===0)M=V;j+=Z,F=W-M,w=1<h$0||Y===y$0&&N>S$0)return 1;T=O&A,J[T]=V<<24|F<<16|j-I|0}}if(O!==0)J[j+O]=W-M<<24|4194304|0;return G.bits=V,0}});var M50=E((Po0)=>{var K$=I3(),gy=Fy(),z9=wy(),Io0=_$0(),LW=x$0(),Ko0=0,H50=1,W50=2,f$0=4,Go0=5,qO=6,YU=0,Ho0=1,Wo0=2,C$=-2,X50=-3,yy=-4,Xo0=-5,u$0=8,Z50=1,b$0=2,i$0=3,c$0=4,n$0=5,p$0=6,d$0=7,m$0=8,l$0=9,o$0=10,FO=11,G3=12,Ry=13,r$0=14,_y=15,s$0=16,a$0=17,t$0=18,e$0=19,VO=20,LO=21,$50=22,Y50=23,U50=24,z50=25,Q50=26,vy=27,J50=28,I50=29,y4=30,ky=31,Zo0=32,qo0=852,Vo0=592,Lo0=15,Fo0=Lo0;function K50($){return($>>>24&255)+($>>>8&65280)+(($&65280)<<8)+(($&255)<<24)}function wo0(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new K$.Buf16(320),this.work=new K$.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function q50($){var Y;if(!$||!$.state)return C$;if(Y=$.state,$.total_in=$.total_out=Y.total=0,$.msg="",Y.wrap)$.adler=Y.wrap&1;return Y.mode=Z50,Y.last=0,Y.havedict=0,Y.dmax=32768,Y.head=null,Y.hold=0,Y.bits=0,Y.lencode=Y.lendyn=new K$.Buf32(qo0),Y.distcode=Y.distdyn=new K$.Buf32(Vo0),Y.sane=1,Y.back=-1,YU}function V50($){var Y;if(!$||!$.state)return C$;return Y=$.state,Y.wsize=0,Y.whave=0,Y.wnext=0,q50($)}function L50($,Y){var U,z;if(!$||!$.state)return C$;if(z=$.state,Y<0)U=0,Y=-Y;else if(U=(Y>>4)+1,Y<48)Y&=15;if(Y&&(Y<8||Y>15))return C$;if(z.window!==null&&z.wbits!==Y)z.window=null;return z.wrap=U,z.wbits=Y,V50($)}function F50($,Y){var U,z;if(!$)return C$;if(z=new wo0,$.state=z,z.window=null,U=L50($,Y),U!==YU)$.state=null;return U}function Mo0($){return F50($,Fo0)}var G50=!0,hy,Sy;function Oo0($){if(G50){var Y;hy=new K$.Buf32(512),Sy=new K$.Buf32(32),Y=0;while(Y<144)$.lens[Y++]=8;while(Y<256)$.lens[Y++]=9;while(Y<280)$.lens[Y++]=7;while(Y<288)$.lens[Y++]=8;LW(H50,$.lens,0,288,hy,0,$.work,{bits:9}),Y=0;while(Y<32)$.lens[Y++]=5;LW(W50,$.lens,0,32,Sy,0,$.work,{bits:5}),G50=!1}$.lencode=hy,$.lenbits=9,$.distcode=Sy,$.distbits=5}function w50($,Y,U,z){var Q,J=$.state;if(J.window===null)J.wsize=1<=J.wsize)K$.arraySet(J.window,Y,U-J.wsize,J.wsize,0),J.wnext=0,J.whave=J.wsize;else{if(Q=J.wsize-J.wnext,Q>z)Q=z;if(K$.arraySet(J.window,Y,U-z,Q,J.wnext),z-=Q,z)K$.arraySet(J.window,Y,U-z,z,0),J.wnext=z,J.whave=J.wsize;else{if(J.wnext+=Q,J.wnext===J.wsize)J.wnext=0;if(J.whave>>8&255,U.check=z9(U.check,C,2,0),H=0,W=0,U.mode=b$0;break}if(U.flags=0,U.head)U.head.done=!1;if(!(U.wrap&1)||(((H&255)<<8)+(H>>8))%31){$.msg="incorrect header check",U.mode=y4;break}if((H&15)!==u$0){$.msg="unknown compression method",U.mode=y4;break}if(H>>>=4,W-=4,A=(H&15)+8,U.wbits===0)U.wbits=A;else if(A>U.wbits){$.msg="invalid window size",U.mode=y4;break}U.dmax=1<>8&1;if(U.flags&512)C[0]=H&255,C[1]=H>>>8&255,U.check=z9(U.check,C,2,0);H=0,W=0,U.mode=i$0;case i$0:while(W<32){if(K===0)break $;K--,H+=z[J++]<>>8&255,C[2]=H>>>16&255,C[3]=H>>>24&255,U.check=z9(U.check,C,4,0);H=0,W=0,U.mode=c$0;case c$0:while(W<16){if(K===0)break $;K--,H+=z[J++]<>8;if(U.flags&512)C[0]=H&255,C[1]=H>>>8&255,U.check=z9(U.check,C,2,0);H=0,W=0,U.mode=n$0;case n$0:if(U.flags&1024){while(W<16){if(K===0)break $;K--,H+=z[J++]<>>8&255,U.check=z9(U.check,C,2,0);H=0,W=0}else if(U.head)U.head.extra=null;U.mode=p$0;case p$0:if(U.flags&1024){if(q=U.length,q>K)q=K;if(q){if(U.head){if(A=U.head.extra_len-U.length,!U.head.extra)U.head.extra=Array(U.head.extra_len);K$.arraySet(U.head.extra,z,J,q,A)}if(U.flags&512)U.check=z9(U.check,z,q,J);K-=q,J+=q,U.length-=q}if(U.length)break $}U.length=0,U.mode=d$0;case d$0:if(U.flags&2048){if(K===0)break $;q=0;do if(A=z[J+q++],U.head&&A&&U.length<65536)U.head.name+=String.fromCharCode(A);while(A&&q>9&1,U.head.done=!0;$.adler=U.check=0,U.mode=G3;break;case o$0:while(W<32){if(K===0)break $;K--,H+=z[J++]<>>=W&7,W-=W&7,U.mode=vy;break}while(W<3){if(K===0)break $;K--,H+=z[J++]<>>=1,W-=1,H&3){case 0:U.mode=r$0;break;case 1:if(Oo0(U),U.mode=VO,Y===qO){H>>>=2,W-=2;break $}break;case 2:U.mode=a$0;break;case 3:$.msg="invalid block type",U.mode=y4}H>>>=2,W-=2;break;case r$0:H>>>=W&7,W-=W&7;while(W<32){if(K===0)break $;K--,H+=z[J++]<>>16^65535)){$.msg="invalid stored block lengths",U.mode=y4;break}if(U.length=H&65535,H=0,W=0,U.mode=_y,Y===qO)break $;case _y:U.mode=s$0;case s$0:if(q=U.length,q){if(q>K)q=K;if(q>G)q=G;if(q===0)break $;K$.arraySet(Q,z,J,q,I),K-=q,J+=q,G-=q,I+=q,U.length-=q;break}U.mode=G3;break;case a$0:while(W<14){if(K===0)break $;K--,H+=z[J++]<>>=5,W-=5,U.ndist=(H&31)+1,H>>>=5,W-=5,U.ncode=(H&15)+4,H>>>=4,W-=4,U.nlen>286||U.ndist>30){$.msg="too many length or distance symbols",U.mode=y4;break}U.have=0,U.mode=t$0;case t$0:while(U.have>>=3,W-=3}while(U.have<19)U.lens[S[U.have++]]=0;if(U.lencode=U.lendyn,U.lenbits=7,b={bits:U.lenbits},j=LW(Ko0,U.lens,0,19,U.lencode,0,U.work,b),U.lenbits=b.bits,j){$.msg="invalid code lengths set",U.mode=y4;break}U.have=0,U.mode=e$0;case e$0:while(U.have>>24,N=M>>>16&255,O=M&65535,w<=W)break;if(K===0)break $;K--,H+=z[J++]<>>=w,W-=w,U.lens[U.have++]=O;else{if(O===16){x=w+2;while(W>>=w,W-=w,U.have===0){$.msg="invalid bit length repeat",U.mode=y4;break}A=U.lens[U.have-1],q=3+(H&3),H>>>=2,W-=2}else if(O===17){x=w+3;while(W>>=w,W-=w,A=0,q=3+(H&7),H>>>=3,W-=3}else{x=w+7;while(W>>=w,W-=w,A=0,q=11+(H&127),H>>>=7,W-=7}if(U.have+q>U.nlen+U.ndist){$.msg="invalid bit length repeat",U.mode=y4;break}while(q--)U.lens[U.have++]=A}}if(U.mode===y4)break;if(U.lens[256]===0){$.msg="invalid code -- missing end-of-block",U.mode=y4;break}if(U.lenbits=9,b={bits:U.lenbits},j=LW(H50,U.lens,0,U.nlen,U.lencode,0,U.work,b),U.lenbits=b.bits,j){$.msg="invalid literal/lengths set",U.mode=y4;break}if(U.distbits=6,U.distcode=U.distdyn,b={bits:U.distbits},j=LW(W50,U.lens,U.nlen,U.ndist,U.distcode,0,U.work,b),U.distbits=b.bits,j){$.msg="invalid distances set",U.mode=y4;break}if(U.mode=VO,Y===qO)break $;case VO:U.mode=LO;case LO:if(K>=6&&G>=258){if($.next_out=I,$.avail_out=G,$.next_in=J,$.avail_in=K,U.hold=H,U.bits=W,Io0($,Z),I=$.next_out,Q=$.output,G=$.avail_out,J=$.next_in,z=$.input,K=$.avail_in,H=U.hold,W=U.bits,U.mode===G3)U.back=-1;break}U.back=0;for(;;){if(M=U.lencode[H&(1<>>24,N=M>>>16&255,O=M&65535,w<=W)break;if(K===0)break $;K--,H+=z[J++]<>D)],w=M>>>24,N=M>>>16&255,O=M&65535,D+w<=W)break;if(K===0)break $;K--,H+=z[J++]<>>=D,W-=D,U.back+=D}if(H>>>=w,W-=w,U.back+=w,U.length=O,N===0){U.mode=Q50;break}if(N&32){U.back=-1,U.mode=G3;break}if(N&64){$.msg="invalid literal/length code",U.mode=y4;break}U.extra=N&15,U.mode=$50;case $50:if(U.extra){x=U.extra;while(W>>=U.extra,W-=U.extra,U.back+=U.extra}U.was=U.length,U.mode=Y50;case Y50:for(;;){if(M=U.distcode[H&(1<>>24,N=M>>>16&255,O=M&65535,w<=W)break;if(K===0)break $;K--,H+=z[J++]<>D)],w=M>>>24,N=M>>>16&255,O=M&65535,D+w<=W)break;if(K===0)break $;K--,H+=z[J++]<>>=D,W-=D,U.back+=D}if(H>>>=w,W-=w,U.back+=w,N&64){$.msg="invalid distance code",U.mode=y4;break}U.offset=O,U.extra=N&15,U.mode=U50;case U50:if(U.extra){x=U.extra;while(W>>=U.extra,W-=U.extra,U.back+=U.extra}if(U.offset>U.dmax){$.msg="invalid distance too far back",U.mode=y4;break}U.mode=z50;case z50:if(G===0)break $;if(q=Z-G,U.offset>q){if(q=U.offset-q,q>U.whave){if(U.sane){$.msg="invalid distance too far back",U.mode=y4;break}}if(q>U.wnext)q-=U.wnext,V=U.wsize-q;else V=U.wnext-q;if(q>U.length)q=U.length;F=U.window}else F=Q,V=I-U.offset,q=U.length;if(q>G)q=G;G-=q,U.length-=q;do Q[I++]=F[V++];while(--q);if(U.length===0)U.mode=LO;break;case Q50:if(G===0)break $;Q[I++]=U.length,G--,U.mode=LO;break;case vy:if(U.wrap){while(W<32){if(K===0)break $;K--,H|=z[J++]<{O50.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var D50=E(($d1,N50)=>{function yo0(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}N50.exports=yo0});var B50=E((uo0)=>{var LJ=M50(),FW=I3(),wO=Ay(),G6=xy(),fy=QO(),ko0=By(),xo0=D50(),A50=Object.prototype.toString;function UU($){if(!(this instanceof UU))return new UU($);this.options=FW.assign({chunkSize:16384,windowBits:0,to:""},$||{});var Y=this.options;if(Y.raw&&Y.windowBits>=0&&Y.windowBits<16){if(Y.windowBits=-Y.windowBits,Y.windowBits===0)Y.windowBits=-15}if(Y.windowBits>=0&&Y.windowBits<16&&!($&&$.windowBits))Y.windowBits+=32;if(Y.windowBits>15&&Y.windowBits<48){if((Y.windowBits&15)===0)Y.windowBits|=15}this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ko0,this.strm.avail_out=0;var U=LJ.inflateInit2(this.strm,Y.windowBits);if(U!==G6.Z_OK)throw Error(fy[U]);if(this.header=new xo0,LJ.inflateGetHeader(this.strm,this.header),Y.dictionary){if(typeof Y.dictionary==="string")Y.dictionary=wO.string2buf(Y.dictionary);else if(A50.call(Y.dictionary)==="[object ArrayBuffer]")Y.dictionary=new Uint8Array(Y.dictionary);if(Y.raw){if(U=LJ.inflateSetDictionary(this.strm,Y.dictionary),U!==G6.Z_OK)throw Error(fy[U])}}}UU.prototype.push=function($,Y){var U=this.strm,z=this.options.chunkSize,Q=this.options.dictionary,J,I,K,G,H,W=!1;if(this.ended)return!1;if(I=Y===~~Y?Y:Y===!0?G6.Z_FINISH:G6.Z_NO_FLUSH,typeof $==="string")U.input=wO.binstring2buf($);else if(A50.call($)==="[object ArrayBuffer]")U.input=new Uint8Array($);else U.input=$;U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0)U.output=new FW.Buf8(z),U.next_out=0,U.avail_out=z;if(J=LJ.inflate(U,G6.Z_NO_FLUSH),J===G6.Z_NEED_DICT&&Q)J=LJ.inflateSetDictionary(this.strm,Q);if(J===G6.Z_BUF_ERROR&&W===!0)J=G6.Z_OK,W=!1;if(J!==G6.Z_STREAM_END&&J!==G6.Z_OK)return this.onEnd(J),this.ended=!0,!1;if(U.next_out){if(U.avail_out===0||J===G6.Z_STREAM_END||U.avail_in===0&&(I===G6.Z_FINISH||I===G6.Z_SYNC_FLUSH))if(this.options.to==="string"){if(K=wO.utf8border(U.output,U.next_out),G=U.next_out-K,H=wO.buf2string(U.output,K),U.next_out=G,U.avail_out=z-G,G)FW.arraySet(U.output,U.output,K,G,0);this.onData(H)}else this.onData(FW.shrinkBuf(U.output,U.next_out))}if(U.avail_in===0&&U.avail_out===0)W=!0}while((U.avail_in>0||U.avail_out===0)&&J!==G6.Z_STREAM_END);if(J===G6.Z_STREAM_END)I=G6.Z_FINISH;if(I===G6.Z_FINISH)return J=LJ.inflateEnd(this.strm),this.onEnd(J),this.ended=!0,J===G6.Z_OK;if(I===G6.Z_SYNC_FLUSH)return this.onEnd(G6.Z_OK),U.avail_out=0,!0;return!0};UU.prototype.onData=function($){this.chunks.push($)};UU.prototype.onEnd=function($){if($===G6.Z_OK)if(this.options.to==="string")this.result=this.chunks.join("");else this.result=FW.flattenChunks(this.chunks);this.chunks=[],this.err=$,this.msg=this.strm.msg};function uy($,Y){var U=new UU(Y);if(U.push($,!0),U.err)throw U.msg||fy[U.err];return U.result}function fo0($,Y){return Y=Y||{},Y.raw=!0,uy($,Y)}uo0.Inflate=UU;uo0.inflate=uy;uo0.inflateRaw=fo0;uo0.ungzip=uy});var j50=E((Ud1,T50)=>{var po0=I3().assign,do0=C$0(),mo0=B50(),lo0=xy(),P50={};po0(P50,do0,mo0,lo0);T50.exports=P50});var C50=E((ao0)=>{var oo0=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",ro0=j50(),E50=n4(),MO=I$(),so0=oo0?"uint8array":"array";ao0.magic="\b\x00";function zU($,Y){MO.call(this,"FlateWorker/"+$),this._pako=null,this._pakoAction=$,this._pakoOptions=Y,this.meta={}}E50.inherits(zU,MO);zU.prototype.processChunk=function($){if(this.meta=$.meta,this._pako===null)this._createPako();this._pako.push(E50.transformTo(so0,$.data),!1)};zU.prototype.flush=function(){if(MO.prototype.flush.call(this),this._pako===null)this._createPako();this._pako.push([],!0)};zU.prototype.cleanUp=function(){MO.prototype.cleanUp.call(this),this._pako=null};zU.prototype._createPako=function(){this._pako=new ro0[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var $=this;this._pako.onData=function(Y){$.push({data:Y,meta:$.meta})}};ao0.compressWorker=function($){return new zU("Deflate",$)};ao0.uncompressWorker=function(){return new zU("Inflate",{})}});var by=E((Yr0)=>{var R50=I$();Yr0.STORE={magic:"\x00\x00",compressWorker:function(){return new R50("STORE compression")},uncompressWorker:function(){return new R50("STORE decompression")}};Yr0.DEFLATE=C50()});var iy=E((Qr0)=>{Qr0.LOCAL_FILE_HEADER="PK\x03\x04";Qr0.CENTRAL_FILE_HEADER="PK\x01\x02";Qr0.CENTRAL_DIRECTORY_END="PK\x05\x06";Qr0.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07";Qr0.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06";Qr0.DATA_DESCRIPTOR="PK\x07\b"});var S50=E((Id1,h50)=>{var FJ=n4(),wJ=I$(),cy=IJ(),_50=$O(),OO=iy(),O4=function($,Y){var U="",z;for(z=0;z>>8;return U},Xr0=function($,Y){var U=$;if(!$)U=Y?16893:33204;return(U&65535)<<16},Zr0=function($){return($||0)&63},v50=function($,Y,U,z,Q,J){var{file:I,compression:K}=$,G=J!==cy.utf8encode,H=FJ.transformTo("string",J(I.name)),W=FJ.transformTo("string",cy.utf8encode(I.name)),X=I.comment,Z=FJ.transformTo("string",J(X)),q=FJ.transformTo("string",cy.utf8encode(X)),V=W.length!==I.name.length,F=q.length!==X.length,M,w,N="",O="",D="",P=I.dir,T=I.date,A={crc32:0,compressedSize:0,uncompressedSize:0};if(!Y||U)A.crc32=$.crc32,A.compressedSize=$.compressedSize,A.uncompressedSize=$.uncompressedSize;var j=0;if(Y)j|=8;if(!G&&(V||F))j|=2048;var C=0,b=0;if(P)C|=16;if(Q==="UNIX")b=798,C|=Xr0(I.unixPermissions,P);else b=20,C|=Zr0(I.dosPermissions,P);if(M=T.getUTCHours(),M=M<<6,M=M|T.getUTCMinutes(),M=M<<5,M=M|T.getUTCSeconds()/2,w=T.getUTCFullYear()-1980,w=w<<4,w=w|T.getUTCMonth()+1,w=w<<5,w=w|T.getUTCDate(),V)O=O4(1,1)+O4(_50(H),4)+W,N+="up"+O4(O.length,2)+O;if(F)D=O4(1,1)+O4(_50(Z),4)+q,N+="uc"+O4(D.length,2)+D;var x="";x+=` +\x00`,x+=O4(j,2),x+=K.magic,x+=O4(M,2),x+=O4(w,2),x+=O4(A.crc32,4),x+=O4(A.compressedSize,4),x+=O4(A.uncompressedSize,4),x+=O4(H.length,2),x+=O4(N.length,2);var S=OO.LOCAL_FILE_HEADER+x+H+N,i=OO.CENTRAL_FILE_HEADER+O4(b,2)+x+O4(Z.length,2)+"\x00\x00\x00\x00"+O4(C,4)+O4(z,4)+H+N+Z;return{fileRecord:S,dirRecord:i}},qr0=function($,Y,U,z,Q){var J="",I=FJ.transformTo("string",Q(z));return J=OO.CENTRAL_DIRECTORY_END+"\x00\x00\x00\x00"+O4($,2)+O4($,2)+O4(Y,4)+O4(U,4)+O4(I.length,2)+I,J},Vr0=function($){var Y="";return Y=OO.DATA_DESCRIPTOR+O4($.crc32,4)+O4($.compressedSize,4)+O4($.uncompressedSize,4),Y};function X5($,Y,U,z){wJ.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=Y,this.zipPlatform=U,this.encodeFileName=z,this.streamFiles=$,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}FJ.inherits(X5,wJ);X5.prototype.push=function($){var Y=$.meta.percent||0,U=this.entriesCount,z=this._sources.length;if(this.accumulate)this.contentBuffer.push($);else this.bytesWritten+=$.data.length,wJ.prototype.push.call(this,{data:$.data,meta:{currentFile:this.currentFile,percent:U?(Y+100*(U-z-1))/U:100}})};X5.prototype.openedSource=function($){this.currentSourceOffset=this.bytesWritten,this.currentFile=$.file.name;var Y=this.streamFiles&&!$.file.dir;if(Y){var U=v50($,Y,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:U.fileRecord,meta:{percent:0}})}else this.accumulate=!0};X5.prototype.closedSource=function($){this.accumulate=!1;var Y=this.streamFiles&&!$.file.dir,U=v50($,Y,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(U.dirRecord),Y)this.push({data:Vr0($),meta:{percent:100}});else{this.push({data:U.fileRecord,meta:{percent:0}});while(this.contentBuffer.length)this.push(this.contentBuffer.shift())}this.currentFile=null};X5.prototype.flush=function(){var $=this.bytesWritten;for(var Y=0;Y{var Lr0=by(),Fr0=S50(),wr0=function($,Y){var U=$||Y,z=Lr0[U];if(!z)throw Error(U+" is not a valid compression method !");return z};Mr0.generateWorker=function($,Y,U){var z=new Fr0(Y.streamFiles,U,Y.platform,Y.encodeFileName),Q=0;try{$.forEach(function(J,I){Q++;var K=wr0(I.options.compression,Y.compression),G=I.options.compressionOptions||Y.compressionOptions||{},H=I.dir,W=I.date;I._compressWorker(K,G).withStreamInfo("file",{name:J,dir:H,date:W,comment:I.comment||"",unixPermissions:I.unixPermissions,dosPermissions:I.dosPermissions}).pipe(z)}),z.entriesCount=Q}catch(J){z.error(J)}return z}});var k50=E((Gd1,y50)=>{var Nr0=n4(),NO=I$();function wW($,Y){NO.call(this,"Nodejs stream input adapter for "+$),this._upstreamEnded=!1,this._bindStream(Y)}Nr0.inherits(wW,NO);wW.prototype._bindStream=function($){var Y=this;this._stream=$,$.pause(),$.on("data",function(U){Y.push({data:U,meta:{percent:0}})}).on("error",function(U){if(Y.isPaused)this.generatedError=U;else Y.error(U)}).on("end",function(){if(Y.isPaused)Y._upstreamEnded=!0;else Y.end()})};wW.prototype.pause=function(){if(!NO.prototype.pause.call(this))return!1;return this._stream.pause(),!0};wW.prototype.resume=function(){if(!NO.prototype.resume.call(this))return!1;if(this._upstreamEnded)this.end();else this._stream.resume();return!0};y50.exports=wW});var m50=E((Hd1,d50)=>{var Dr0=IJ(),MW=n4(),b50=I$(),Ar0=mg(),i50=lg(),x50=YO(),Br0=f80(),Pr0=g50(),f50=sH(),Tr0=k50(),c50=function($,Y,U){var z=MW.getTypeOf(Y),Q,J=MW.extend(U||{},i50);if(J.date=J.date||new Date,J.compression!==null)J.compression=J.compression.toUpperCase();if(typeof J.unixPermissions==="string")J.unixPermissions=parseInt(J.unixPermissions,8);if(J.unixPermissions&&J.unixPermissions&16384)J.dir=!0;if(J.dosPermissions&&J.dosPermissions&16)J.dir=!0;if(J.dir)$=n50($);if(J.createFolders&&(Q=jr0($)))p50.call(this,Q,!0);var I=z==="string"&&J.binary===!1&&J.base64===!1;if(!U||typeof U.binary>"u")J.binary=!I;var K=Y instanceof x50&&Y.uncompressedSize===0;if(K||J.dir||!Y||Y.length===0)J.base64=!1,J.binary=!0,Y="",J.compression="STORE",z="string";var G=null;if(Y instanceof x50||Y instanceof b50)G=Y;else if(f50.isNode&&f50.isStream(Y))G=new Tr0($,Y);else G=MW.prepareContent($,Y,J.binary,J.optimizedBinaryString,J.base64);var H=new Br0($,G,J);this.files[$]=H},jr0=function($){if($.slice(-1)==="/")$=$.substring(0,$.length-1);var Y=$.lastIndexOf("/");return Y>0?$.substring(0,Y):""},n50=function($){if($.slice(-1)!=="/")$+="/";return $},p50=function($,Y){if(Y=typeof Y<"u"?Y:i50.createFolders,$=n50($),!this.files[$])c50.call(this,$,null,{dir:!0,createFolders:Y});return this.files[$]};function u50($){return Object.prototype.toString.call($)==="[object RegExp]"}var Er0={load:function(){throw Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function($){var Y,U,z;for(Y in this.files)if(z=this.files[Y],U=Y.slice(this.root.length,Y.length),U&&Y.slice(0,this.root.length)===this.root)$(U,z)},filter:function($){var Y=[];return this.forEach(function(U,z){if($(U,z))Y.push(z)}),Y},file:function($,Y,U){if(arguments.length===1)if(u50($)){var z=$;return this.filter(function(J,I){return!I.dir&&z.test(J)})}else{var Q=this.files[this.root+$];if(Q&&!Q.dir)return Q;else return null}else $=this.root+$,c50.call(this,$,Y,U);return this},folder:function($){if(!$)return this;if(u50($))return this.filter(function(Q,J){return J.dir&&$.test(Q)});var Y=this.root+$,U=p50.call(this,Y),z=this.clone();return z.root=U.name,z},remove:function($){$=this.root+$;var Y=this.files[$];if(!Y){if($.slice(-1)!=="/")$+="/";Y=this.files[$]}if(Y&&!Y.dir)delete this.files[$];else{var U=this.filter(function(Q,J){return J.name.slice(0,$.length)===$});for(var z=0;z{var Cr0=n4();function l50($){this.data=$,this.length=$.length,this.index=0,this.zero=0}l50.prototype={checkOffset:function($){this.checkIndex(this.index+$)},checkIndex:function($){if(this.length=this.index;U--)Y=(Y<<8)+this.byteAt(U);return this.index+=$,Y},readString:function($){return Cr0.transformTo("string",this.readData($))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var $=this.readInt(4);return new Date(Date.UTC(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1))}};o50.exports=l50});var py=E((Xd1,s50)=>{var r50=ny(),Rr0=n4();function MJ($){r50.call(this,$);for(var Y=0;Y=0;--J)if(this.data[J]===Y&&this.data[J+1]===U&&this.data[J+2]===z&&this.data[J+3]===Q)return J-this.zero;return-1};MJ.prototype.readAndCheckSignature=function($){var Y=$.charCodeAt(0),U=$.charCodeAt(1),z=$.charCodeAt(2),Q=$.charCodeAt(3),J=this.readData(4);return Y===J[0]&&U===J[1]&&z===J[2]&&Q===J[3]};MJ.prototype.readData=function($){if(this.checkOffset($),$===0)return[];var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};s50.exports=MJ});var e50=E((Zd1,t50)=>{var a50=ny(),_r0=n4();function OJ($){a50.call(this,$)}_r0.inherits(OJ,a50);OJ.prototype.byteAt=function($){return this.data.charCodeAt(this.zero+$)};OJ.prototype.lastIndexOfSignature=function($){return this.data.lastIndexOf($)-this.zero};OJ.prototype.readAndCheckSignature=function($){var Y=this.readData(4);return $===Y};OJ.prototype.readData=function($){this.checkOffset($);var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};t50.exports=OJ});var my=E((qd1,Y90)=>{var $90=py(),vr0=n4();function dy($){$90.call(this,$)}vr0.inherits(dy,$90);dy.prototype.readData=function($){if(this.checkOffset($),$===0)return new Uint8Array(0);var Y=this.data.subarray(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};Y90.exports=dy});var Q90=E((Vd1,z90)=>{var U90=my(),hr0=n4();function ly($){U90.call(this,$)}hr0.inherits(ly,U90);ly.prototype.readData=function($){this.checkOffset($);var Y=this.data.slice(this.zero+this.index,this.zero+this.index+$);return this.index+=$,Y};z90.exports=ly});var oy=E((Ld1,I90)=>{var DO=n4(),J90=J3(),Sr0=py(),gr0=e50(),yr0=Q90(),kr0=my();I90.exports=function($){var Y=DO.getTypeOf($);if(DO.checkSupport(Y),Y==="string"&&!J90.uint8array)return new gr0($);if(Y==="nodebuffer")return new yr0($);if(J90.uint8array)return new kr0(DO.transformTo("uint8array",$));return new Sr0(DO.transformTo("array",$))}});var W90=E((Fd1,H90)=>{var ry=oy(),d7=n4(),xr0=YO(),K90=$O(),AO=IJ(),BO=by(),fr0=J3(),ur0=0,br0=3,ir0=function($){for(var Y in BO){if(!Object.prototype.hasOwnProperty.call(BO,Y))continue;if(BO[Y].magic===$)return BO[Y]}return null};function G90($,Y){this.options=$,this.loadOptions=Y}G90.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},readLocalPart:function($){var Y,U;if($.skip(22),this.fileNameLength=$.readInt(2),U=$.readInt(2),this.fileName=$.readData(this.fileNameLength),$.skip(U),this.compressedSize===-1||this.uncompressedSize===-1)throw Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(Y=ir0(this.compressionMethod),Y===null)throw Error("Corrupted zip : compression "+d7.pretty(this.compressionMethod)+" unknown (inner file : "+d7.transformTo("string",this.fileName)+")");this.decompressed=new xr0(this.compressedSize,this.uncompressedSize,this.crc32,Y,$.readData(this.compressedSize))},readCentralPart:function($){this.versionMadeBy=$.readInt(2),$.skip(2),this.bitFlag=$.readInt(2),this.compressionMethod=$.readString(2),this.date=$.readDate(),this.crc32=$.readInt(4),this.compressedSize=$.readInt(4),this.uncompressedSize=$.readInt(4);var Y=$.readInt(2);if(this.extraFieldsLength=$.readInt(2),this.fileCommentLength=$.readInt(2),this.diskNumberStart=$.readInt(2),this.internalFileAttributes=$.readInt(2),this.externalFileAttributes=$.readInt(4),this.localHeaderOffset=$.readInt(4),this.isEncrypted())throw Error("Encrypted zip are not supported");$.skip(Y),this.readExtraFields($),this.parseZIP64ExtraField($),this.fileComment=$.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var $=this.versionMadeBy>>8;if(this.dir=this.externalFileAttributes&16?!0:!1,$===ur0)this.dosPermissions=this.externalFileAttributes&63;if($===br0)this.unixPermissions=this.externalFileAttributes>>16&65535;if(!this.dir&&this.fileNameStr.slice(-1)==="/")this.dir=!0},parseZIP64ExtraField:function(){if(!this.extraFields[1])return;var $=ry(this.extraFields[1].value);if(this.uncompressedSize===d7.MAX_VALUE_32BITS)this.uncompressedSize=$.readInt(8);if(this.compressedSize===d7.MAX_VALUE_32BITS)this.compressedSize=$.readInt(8);if(this.localHeaderOffset===d7.MAX_VALUE_32BITS)this.localHeaderOffset=$.readInt(8);if(this.diskNumberStart===d7.MAX_VALUE_32BITS)this.diskNumberStart=$.readInt(4)},readExtraFields:function($){var Y=$.index+this.extraFieldsLength,U,z,Q;if(!this.extraFields)this.extraFields={};while($.index+4{var cr0=oy(),H3=n4(),Z5=iy(),nr0=W90(),pr0=J3();function X90($){this.files=[],this.loadOptions=$}X90.prototype={checkSignature:function($){if(!this.reader.readAndCheckSignature($)){this.reader.index-=4;var Y=this.reader.readString(4);throw Error("Corrupted zip or bug: unexpected signature ("+H3.pretty(Y)+", expected "+H3.pretty($)+")")}},isSignature:function($,Y){var U=this.reader.index;this.reader.setIndex($);var z=this.reader.readString(4),Q=z===Y;return this.reader.setIndex(U),Q},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var $=this.reader.readData(this.zipCommentLength),Y=pr0.uint8array?"uint8array":"array",U=H3.transformTo(Y,$);this.zipComment=this.loadOptions.decodeFileName(U)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};var $=this.zip64EndOfCentralSize-44,Y=0,U,z,Q;while(Y<$)U=this.reader.readInt(2),z=this.reader.readInt(4),Q=this.reader.readData(z),this.zip64ExtensibleData[U]={id:U,length:z,value:Q}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var $,Y;for($=0;$0)if(this.isSignature(U,Z5.CENTRAL_FILE_HEADER));else this.reader.zero=Q;else if(Q<0)throw Error("Corrupted zip: missing "+Math.abs(Q)+" bytes.")},prepareReader:function($){this.reader=cr0($)},load:function($){this.prepareReader($),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}};Z90.exports=X90});var F90=E((Md1,L90)=>{var sy=n4(),PO=zJ(),dr0=IJ(),mr0=q90(),lr0=sg(),V90=sH();function or0($){return new PO.Promise(function(Y,U){var z=$.decompressed.getContentWorker().pipe(new lr0);z.on("error",function(Q){U(Q)}).on("end",function(){if(z.streamInfo.crc32!==$.decompressed.crc32)U(Error("Corrupted zip : CRC32 mismatch"));else Y()}).resume()})}L90.exports=function($,Y){var U=this;if(Y=sy.extend(Y||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:dr0.utf8decode}),V90.isNode&&V90.isStream($))return PO.Promise.reject(Error("JSZip can't accept a stream when loading a zip file."));return sy.prepareContent("the loaded zip file",$,!0,Y.optimizedBinaryString,Y.base64).then(function(z){var Q=new mr0(Y);return Q.load(z),Q}).then(function(Q){var J=[PO.Promise.resolve(Q)],I=Q.files;if(Y.checkCRC32)for(var K=0;K{function R$(){if(!(this instanceof R$))return new R$;if(arguments.length)throw Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var $=new R$;for(var Y in this)if(typeof this[Y]!=="function")$[Y]=this[Y];return $}}R$.prototype=m50();R$.prototype.loadAsync=F90();R$.support=J3();R$.defaults=lg();R$.version="3.10.1";R$.loadAsync=function($,Y){return new R$().loadAsync($,Y)};R$.external=zJ();w90.exports=R$});var B90=E((Nd1,A90)=>{function M90($,Y){var U=Object.keys($);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols($);Y&&(z=z.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),U.push.apply(U,z)}return U}function O90($){for(var Y=1;Y0)this.tail.next=z;else this.head=z;this.tail=z,++this.length}},{key:"unshift",value:function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q}},{key:"concat",value:function(U){if(this.length===0)return TO.alloc(0);var z=TO.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)Us0(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z}},{key:"consume",value:function(U,z){var Q;if(UI.length?I.length:U;if(K===I.length)J+=I;else J+=I.slice(0,U);if(U-=K,U===0){if(K===I.length)if(++Q,z.next)this.head=z.next;else this.head=this.tail=null;else this.head=z,z.data=I.slice(K);break}++Q}return this.length-=Q,J}},{key:"_getBuffer",value:function(U){var z=TO.allocUnsafe(U),Q=this.head,J=1;Q.data.copy(z),U-=Q.data.length;while(Q=Q.next){var I=Q.data,K=U>I.length?I.length:U;if(I.copy(z,z.length-U,0,K),U-=K,U===0){if(K===I.length)if(++J,Q.next)this.head=Q.next;else this.head=this.tail=null;else this.head=Q,Q.data=I.slice(K);break}++J}return this.length-=J,z}},{key:Ys0,value:function(U,z){return ty(this,O90(O90({},z),{},{depth:0,customInspect:!1}))}}]),$}()});var $k=E((Dd1,T90)=>{function zs0($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)process.nextTick(ey,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(ey,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J)if(!U._writableState)process.nextTick(P90,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,process.nextTick(P90,U,J);else process.nextTick(jO,U);else if(Y)process.nextTick(jO,U),Y(J);else process.nextTick(jO,U)}),this}function P90($,Y){ey($,Y),jO($)}function jO($){if($._writableState&&!$._writableState.emitClose)return;if($._readableState&&!$._readableState.emitClose)return;$.emit("close")}function Qs0(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function ey($,Y){$.emit("error",Y)}function Js0($,Y){var{_readableState:U,_writableState:z}=$;if(U&&U.autoDestroy||z&&z.autoDestroy)$.destroy(Y);else $.emit("error",Y)}T90.exports={destroy:zs0,undestroy:Qs0,errorOrDestroy:Js0}});var m7=E((Hs0,C90)=>{var E90={};function _$($,Y,U){if(!U)U=Error;function z(J,I,K){if(typeof Y==="string")return Y;else return Y(J,I,K)}class Q extends U{constructor(J,I,K){super(z(J,I,K))}}Q.prototype.name=U.name,Q.prototype.code=$,E90[$]=Q}function j90($,Y){if(Array.isArray($)){let U=$.length;if($=$.map((z)=>String(z)),U>2)return`one of ${Y} ${$.slice(0,U-1).join(", ")}, or `+$[U-1];else if(U===2)return`one of ${Y} ${$[0]} or ${$[1]}`;else return`of ${Y} ${$[0]}`}else return`of ${Y} ${String($)}`}function Is0($,Y,U){return $.substr(!U||U<0?0:+U,Y.length)===Y}function Ks0($,Y,U){if(U===void 0||U>$.length)U=$.length;return $.substring(U-Y.length,U)===Y}function Gs0($,Y,U){if(typeof U!=="number")U=0;if(U+Y.length>$.length)return!1;else return $.indexOf(Y,U)!==-1}_$("ERR_INVALID_OPT_VALUE",function($,Y){return'The value "'+Y+'" is invalid for option "'+$+'"'},TypeError);_$("ERR_INVALID_ARG_TYPE",function($,Y,U){let z;if(typeof Y==="string"&&Is0(Y,"not "))z="must not be",Y=Y.replace(/^not /,"");else z="must be";let Q;if(Ks0($," argument"))Q=`The ${$} ${z} ${j90(Y,"type")}`;else{let J=Gs0($,".")?"property":"argument";Q=`The "${$}" ${J} ${z} ${j90(Y,"type")}`}return Q+=`. Received type ${typeof U}`,Q},TypeError);_$("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");_$("ERR_METHOD_NOT_IMPLEMENTED",function($){return"The "+$+" method is not implemented"});_$("ERR_STREAM_PREMATURE_CLOSE","Premature close");_$("ERR_STREAM_DESTROYED",function($){return"Cannot call "+$+" after a stream was destroyed"});_$("ERR_MULTIPLE_CALLBACK","Callback called multiple times");_$("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");_$("ERR_STREAM_WRITE_AFTER_END","write after end");_$("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);_$("ERR_UNKNOWN_ENCODING",function($){return"Unknown encoding: "+$},TypeError);_$("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");Hs0.codes=E90});var Yk=E((Ad1,R90)=>{var Xs0=m7().codes.ERR_INVALID_OPT_VALUE;function Zs0($,Y,U){return $.highWaterMark!=null?$.highWaterMark:Y?$[U]:null}function qs0($,Y,U,z){var Q=Zs0(Y,z,U);if(Q!=null){if(!(isFinite(Q)&&Math.floor(Q)===Q)||Q<0){var J=z?U:"highWaterMark";throw new Xs0(J,Q)}return Math.floor(Q)}return $.objectMode?16:16384}R90.exports={getHighWaterMark:qs0}});var Qk=E((Bd1,y90)=>{y90.exports=U6;function v90($){var Y=this;this.next=null,this.entry=null,this.finish=function(){bs0(Y,$)}}var NJ;U6.WritableState=NW;var Vs0={deprecate:y7()},h90=I0("stream"),CO=I0("buffer").Buffer,Ls0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Fs0($){return CO.from($)}function ws0($){return CO.isBuffer($)||$ instanceof Ls0}var zk=$k(),Ms0=Yk(),Os0=Ms0.getHighWaterMark,l7=m7().codes,Ns0=l7.ERR_INVALID_ARG_TYPE,Ds0=l7.ERR_METHOD_NOT_IMPLEMENTED,As0=l7.ERR_MULTIPLE_CALLBACK,Bs0=l7.ERR_STREAM_CANNOT_PIPE,Ps0=l7.ERR_STREAM_DESTROYED,Ts0=l7.ERR_STREAM_NULL_VALUES,js0=l7.ERR_STREAM_WRITE_AFTER_END,Es0=l7.ERR_UNKNOWN_ENCODING,DJ=zk.errorOrDestroy;X1()(U6,h90);function Cs0(){}function NW($,Y,U){if(NJ=NJ||QU(),$=$||{},typeof U!=="boolean")U=Y instanceof NJ;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;this.highWaterMark=Os0(this,$,"writableHighWaterMark",U),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var z=$.decodeStrings===!1;this.decodeStrings=!z,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){ys0(Y,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new v90(this)}NW.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(NW.prototype,"buffer",{get:Vs0.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var EO;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")EO=Function.prototype[Symbol.hasInstance],Object.defineProperty(U6,Symbol.hasInstance,{value:function(Y){if(EO.call(this,Y))return!0;if(this!==U6)return!1;return Y&&Y._writableState instanceof NW}});else EO=function(Y){return Y instanceof this};function U6($){NJ=NJ||QU();var Y=this instanceof NJ;if(!Y&&!EO.call(U6,this))return new U6($);if(this._writableState=new NW($,this,Y),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}h90.call(this)}U6.prototype.pipe=function(){DJ(this,new Bs0)};function Rs0($,Y){var U=new js0;DJ($,U),process.nextTick(Y,U)}function _s0($,Y,U,z){var Q;if(U===null)Q=new Ts0;else if(typeof U!=="string"&&!Y.objectMode)Q=new Ns0("chunk",["string","Buffer"],U);if(Q)return DJ($,Q),process.nextTick(z,Q),!1;return!0}U6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&ws0($);if(J&&!CO.isBuffer($))$=Fs0($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=Cs0;if(z.ending)Rs0(this,U);else if(J||_s0(this,z,$,U))z.pendingcb++,Q=hs0(this,z,J,$,Y,U);return Q};U6.prototype.cork=function(){this._writableState.corked++};U6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)S90(this,$)}};U6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw new Es0(Y);return this._writableState.defaultEncoding=Y,this};Object.defineProperty(U6.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function vs0($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=CO.from(Y,U);return Y}Object.defineProperty(U6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function hs0($,Y,U,z,Q,J){if(!U){var I=vs0(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var is0=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};x90.exports=Q9;var k90=Ik(),Jk=Qk();X1()(Q9,k90);{RO=is0(Jk.prototype);for(DW=0;DW{/*! safe-buffer. MIT License. Feross Aboukhadijeh */var _O=I0("buffer"),J9=_O.Buffer;function f90($,Y){for(var U in $)Y[U]=$[U]}if(J9.from&&J9.alloc&&J9.allocUnsafe&&J9.allocUnsafeSlow)u90.exports=_O;else f90(_O,Kk),Kk.Buffer=JU;function JU($,Y,U){return J9($,Y,U)}JU.prototype=Object.create(J9.prototype);f90(J9,JU);JU.from=function($,Y,U){if(typeof $==="number")throw TypeError("Argument must not be a number");return J9($,Y,U)};JU.alloc=function($,Y,U){if(typeof $!=="number")throw TypeError("Argument must be a number");var z=J9($);if(Y!==void 0)if(typeof U==="string")z.fill(Y,U);else z.fill(Y);else z.fill(0);return z};JU.allocUnsafe=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return J9($)};JU.allocUnsafeSlow=function($){if(typeof $!=="number")throw TypeError("Argument must be a number");return _O.SlowBuffer($)}});var AJ=E((za0)=>{var Hk=b90().Buffer,i90=Hk.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function ps0($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function ds0($){var Y=ps0($);if(typeof Y!=="string"&&(Hk.isEncoding===i90||!i90($)))throw Error("Unknown encoding: "+$);return Y||$}za0.StringDecoder=BW;function BW($){this.encoding=ds0($);var Y;switch(this.encoding){case"utf16le":this.text=as0,this.end=ts0,Y=4;break;case"utf8":this.fillLast=os0,Y=4;break;case"base64":this.text=es0,this.end=$a0,Y=3;break;default:this.write=Ya0,this.end=Ua0;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Hk.allocUnsafe(Y)}BW.prototype.write=function($){if($.length===0)return"";var Y,U;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return Y?Y+this.text($,U):this.text($,U);return Y||""};BW.prototype.end=ss0;BW.prototype.text=rs0;BW.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function Gk($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function ms0($,Y,U){var z=Y.length-1;if(z=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--z=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--z=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function ls0($,Y,U){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function os0($){var Y=this.lastTotal-this.lastNeed,U=ls0(this,$,Y);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function rs0($,Y){var U=ms0(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=U;var z=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function ss0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function as0($,Y){if(($.length-Y)%2===0){var U=$.toString("utf16le",Y);if(U){var z=U.charCodeAt(U.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function ts0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,U)}return Y}function es0($,Y){var U=($.length-Y)%3;if(U===0)return $.toString("base64",Y);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-U)}function $a0($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function Ya0($){return $.toString(this.encoding)}function Ua0($){return $&&$.length?this.write($):""}});var vO=E((jd1,p90)=>{var c90=m7().codes.ERR_STREAM_PREMATURE_CLOSE;function Ja0($){var Y=!1;return function(){if(Y)return;Y=!0;for(var U=arguments.length,z=Array(U),Q=0;Q{var hO;function o7($,Y,U){if(Y=Ga0(Y),Y in $)Object.defineProperty($,Y,{value:U,enumerable:!0,configurable:!0,writable:!0});else $[Y]=U;return $}function Ga0($){var Y=Ha0($,"string");return typeof Y==="symbol"?Y:String(Y)}function Ha0($,Y){if(typeof $!=="object"||$===null)return $;var U=$[Symbol.toPrimitive];if(U!==void 0){var z=U.call($,Y||"default");if(typeof z!=="object")return z;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var Wa0=vO(),r7=Symbol("lastResolve"),IU=Symbol("lastReject"),PW=Symbol("error"),SO=Symbol("ended"),KU=Symbol("lastPromise"),Wk=Symbol("handlePromise"),GU=Symbol("stream");function s7($,Y){return{value:$,done:Y}}function Xa0($){var Y=$[r7];if(Y!==null){var U=$[GU].read();if(U!==null)$[KU]=null,$[r7]=null,$[IU]=null,Y(s7(U,!1))}}function Za0($){process.nextTick(Xa0,$)}function qa0($,Y){return function(U,z){$.then(function(){if(Y[SO]){U(s7(void 0,!0));return}Y[Wk](U,z)},z)}}var Va0=Object.getPrototypeOf(function(){}),La0=Object.setPrototypeOf((hO={get stream(){return this[GU]},next:function(){var Y=this,U=this[PW];if(U!==null)return Promise.reject(U);if(this[SO])return Promise.resolve(s7(void 0,!0));if(this[GU].destroyed)return new Promise(function(I,K){process.nextTick(function(){if(Y[PW])K(Y[PW]);else I(s7(void 0,!0))})});var z=this[KU],Q;if(z)Q=new Promise(qa0(z,this));else{var J=this[GU].read();if(J!==null)return Promise.resolve(s7(J,!1));Q=new Promise(this[Wk])}return this[KU]=Q,Q}},o7(hO,Symbol.asyncIterator,function(){return this}),o7(hO,"return",function(){var Y=this;return new Promise(function(U,z){Y[GU].destroy(null,function(Q){if(Q){z(Q);return}U(s7(void 0,!0))})})}),hO),Va0),Fa0=function(Y){var U,z=Object.create(La0,(U={},o7(U,GU,{value:Y,writable:!0}),o7(U,r7,{value:null,writable:!0}),o7(U,IU,{value:null,writable:!0}),o7(U,PW,{value:null,writable:!0}),o7(U,SO,{value:Y._readableState.endEmitted,writable:!0}),o7(U,Wk,{value:function(J,I){var K=z[GU].read();if(K)z[KU]=null,z[r7]=null,z[IU]=null,J(s7(K,!1));else z[r7]=J,z[IU]=I},writable:!0}),U));return z[KU]=null,Wa0(Y,function(Q){if(Q&&Q.code!=="ERR_STREAM_PREMATURE_CLOSE"){var J=z[IU];if(J!==null)z[KU]=null,z[r7]=null,z[IU]=null,J(Q);z[PW]=Q;return}var I=z[r7];if(I!==null)z[KU]=null,z[r7]=null,z[IU]=null,I(s7(void 0,!0));z[SO]=!0}),Y.on("readable",Za0.bind(null,z)),z};d90.exports=Fa0});var s90=E((Cd1,r90)=>{function l90($,Y,U,z,Q,J,I){try{var K=$[J](I),G=K.value}catch(H){U(H);return}if(K.done)Y(G);else Promise.resolve(G).then(z,Q)}function wa0($){return function(){var Y=this,U=arguments;return new Promise(function(z,Q){var J=$.apply(Y,U);function I(G){l90(J,z,Q,I,K,"next",G)}function K(G){l90(J,z,Q,I,K,"throw",G)}I(void 0)})}}function o90($,Y){var U=Object.keys($);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols($);Y&&(z=z.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),U.push.apply(U,z)}return U}function Ma0($){for(var Y=1;Y{I30.exports=p1;var BJ;p1.ReadableState=$30;var Rd1=I0("events").EventEmitter,e90=function(Y,U){return Y.listeners(U).length},jW=I0("stream"),gO=I0("buffer").Buffer,Pa0=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Ta0($){return gO.from($)}function ja0($){return gO.isBuffer($)||$ instanceof Pa0}var Xk=I0("util"),C1;if(Xk&&Xk.debuglog)C1=Xk.debuglog("stream");else C1=function(){};var Ea0=B90(),Mk=$k(),Ca0=Yk(),Ra0=Ca0.getHighWaterMark,yO=m7().codes,_a0=yO.ERR_INVALID_ARG_TYPE,va0=yO.ERR_STREAM_PUSH_AFTER_EOF,ha0=yO.ERR_METHOD_NOT_IMPLEMENTED,Sa0=yO.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,PJ,Zk,qk;X1()(p1,jW);var TW=Mk.errorOrDestroy,Vk=["error","close","destroy","pause","resume"];function ga0($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(Array.isArray($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function $30($,Y,U){if(BJ=BJ||QU(),$=$||{},typeof U!=="boolean")U=Y instanceof BJ;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;if(this.highWaterMark=Ra0(this,$,"readableHighWaterMark",U),this.buffer=new Ea0,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!PJ)PJ=AJ().StringDecoder;this.decoder=new PJ($.encoding),this.encoding=$.encoding}}function p1($){if(BJ=BJ||QU(),!(this instanceof p1))return new p1($);var Y=this instanceof BJ;if(this._readableState=new $30($,this,Y),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}jW.call(this)}Object.defineProperty(p1.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(Y){if(!this._readableState)return;this._readableState.destroyed=Y}});p1.prototype.destroy=Mk.destroy;p1.prototype._undestroy=Mk.undestroy;p1.prototype._destroy=function($,Y){Y($)};p1.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=gO.from($,Y),Y="";z=!0}}else z=!0;return Y30(this,$,Y,!1,z)};p1.prototype.unshift=function($){return Y30(this,$,null,!0,!1)};function Y30($,Y,U,z,Q){C1("readableAddChunk",Y);var J=$._readableState;if(Y===null)J.reading=!1,xa0($,J);else{var I;if(!Q)I=ya0(J,Y);if(I)TW($,I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==gO.prototype)Y=Ta0(Y);if(z)if(J.endEmitted)TW($,new Sa0);else Lk($,J,Y,!0);else if(J.ended)TW($,new va0);else if(J.destroyed)return!1;else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Lk($,J,Y,!1);else wk($,J);else Lk($,J,Y,!1)}else if(!z)J.reading=!1,wk($,J)}return!J.ended&&(J.length=a90)$=a90;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function t90($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=ka0($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}p1.prototype.read=function($){C1("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(C1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Fk(this);else kO(this);return null}if($=t90($,Y),$===0&&Y.ended){if(Y.length===0)Fk(this);return null}var z=Y.needReadable;if(C1("need readable",z),Y.length===0||Y.length-$0)Q=Q30($,Y);else Q=null;if(Q===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else Y.length-=$,Y.awaitDrain=0;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)Fk(this)}if(Q!==null)this.emit("data",Q);return Q};function xa0($,Y){if(C1("onEofChunk"),Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}if(Y.ended=!0,Y.sync)kO($);else if(Y.needReadable=!1,!Y.emittedReadable)Y.emittedReadable=!0,U30($)}function kO($){var Y=$._readableState;if(C1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)C1("emitReadable",Y.flowing),Y.emittedReadable=!0,process.nextTick(U30,$)}function U30($){var Y=$._readableState;if(C1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,Ok($)}function wk($,Y){if(!Y.readingMore)Y.readingMore=!0,process.nextTick(fa0,$,Y)}function fa0($,Y){while(!Y.reading&&!Y.ended&&(Y.length1&&J30(z.pipes,$)!==-1)&&!H)C1("false write response, pause",z.awaitDrain),z.awaitDrain++;U.pause()}}function Z(M){if(C1("onerror",M),F(),$.removeListener("error",Z),e90($,"error")===0)TW($,M)}ga0($,"error",Z);function q(){$.removeListener("finish",V),F()}$.once("close",q);function V(){C1("onfinish"),$.removeListener("close",q),F()}$.once("finish",V);function F(){C1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)C1("pipe resume"),U.resume();return $};function ua0($){return function(){var U=$._readableState;if(C1("pipeOnDrain",U.awaitDrain),U.awaitDrain)U.awaitDrain--;if(U.awaitDrain===0&&e90($,"data"))U.flowing=!0,Ok($)}}p1.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J0,z.flowing!==!1)this.resume()}else if($==="readable"){if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.flowing=!1,z.emittedReadable=!1,C1("on readable",z.length,z.reading),z.length)kO(this);else if(!z.reading)process.nextTick(ba0,this)}}return U};p1.prototype.addListener=p1.prototype.on;p1.prototype.removeListener=function($,Y){var U=jW.prototype.removeListener.call(this,$,Y);if($==="readable")process.nextTick(z30,this);return U};p1.prototype.removeAllListeners=function($){var Y=jW.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)process.nextTick(z30,this);return Y};function z30($){var Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&!Y.paused)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume()}function ba0($){C1("readable nexttick read 0"),$.read(0)}p1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)C1("resume"),$.flowing=!$.readableListening,ia0(this,$);return $.paused=!1,this};function ia0($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,process.nextTick(ca0,$,Y)}function ca0($,Y){if(C1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),Ok($),Y.flowing&&!Y.reading)$.read(0)}p1.prototype.pause=function(){if(C1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)C1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function Ok($){var Y=$._readableState;C1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}p1.prototype.wrap=function($){var Y=this,U=this._readableState,z=!1;$.on("end",function(){if(C1("wrapped end"),U.decoder&&!U.ended){var I=U.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(C1("wrapped data"),U.decoder)I=U.decoder.write(I);if(U.objectMode&&(I===null||I===void 0))return;else if(!U.objectMode&&(!I||!I.length))return;var K=Y.push(I);if(!K)z=!0,$.pause()});for(var Q in $)if(this[Q]===void 0&&typeof $[Q]==="function")this[Q]=function(K){return function(){return $[K].apply($,arguments)}}(Q);for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.first();else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=Y.buffer.consume($,Y.decoder);return U}function Fk($){var Y=$._readableState;if(C1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,process.nextTick(na0,Y,$)}function na0($,Y){if(C1("endReadableNT",$.endEmitted,$.length),!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.readable=!1,Y.emit("end"),$.autoDestroy){var U=Y._writableState;if(!U||U.autoDestroy&&U.finished)Y.destroy()}}}if(typeof Symbol==="function")p1.from=function($,Y){if(qk===void 0)qk=s90();return qk(p1,$,Y)};function J30($,Y){for(var U=0,z=$.length;U{G30.exports=W3;var xO=m7().codes,pa0=xO.ERR_METHOD_NOT_IMPLEMENTED,da0=xO.ERR_MULTIPLE_CALLBACK,ma0=xO.ERR_TRANSFORM_ALREADY_TRANSFORMING,la0=xO.ERR_TRANSFORM_WITH_LENGTH_0,fO=QU();X1()(W3,fO);function oa0($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(z===null)return this.emit("error",new da0);if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{W30.exports=EW;var H30=Nk();X1()(EW,H30);function EW($){if(!(this instanceof EW))return new EW($);H30.call(this,$)}EW.prototype._transform=function($,Y,U){U(null,$)}});var F30=E((Sd1,L30)=>{var Dk;function sa0($){var Y=!1;return function(){if(Y)return;Y=!0,$.apply(void 0,arguments)}}var V30=m7().codes,aa0=V30.ERR_MISSING_ARGS,ta0=V30.ERR_STREAM_DESTROYED;function Z30($){if($)throw $}function ea0($){return $.setHeader&&typeof $.abort==="function"}function $t0($,Y,U,z){z=sa0(z);var Q=!1;if($.on("close",function(){Q=!0}),Dk===void 0)Dk=vO();Dk($,{readable:Y,writable:U},function(I){if(I)return z(I);Q=!0,z()});var J=!1;return function(I){if(Q)return;if(J)return;if(J=!0,ea0($))return $.abort();if(typeof $.destroy==="function")return $.destroy();z(I||new ta0("pipe"))}}function q30($){$()}function Yt0($,Y){return $.pipe(Y)}function Ut0($){if(!$.length)return Z30;if(typeof $[$.length-1]!=="function")return Z30;return $.pop()}function zt0(){for(var $=arguments.length,Y=Array($),U=0;U<$;U++)Y[U]=arguments[U];var z=Ut0(Y);if(Array.isArray(Y[0]))Y=Y[0];if(Y.length<2)throw new aa0("streams");var Q,J=Y.map(function(I,K){var G=K0;return $t0(I,G,H,function(W){if(!Q)Q=W;if(W)J.forEach(q30);if(G)return;J.forEach(q30),z(Q)})});return Y.reduce(Yt0)}L30.exports=zt0});var E8=E((v$,RW)=>{var CW=I0("stream");if(process.env.READABLE_STREAM==="disable"&&CW)RW.exports=CW.Readable,Object.assign(RW.exports,CW),RW.exports.Stream=CW;else v$=RW.exports=Ik(),v$.Stream=CW||v$,v$.Readable=v$,v$.Writable=Qk(),v$.Duplex=QU(),v$.Transform=Nk(),v$.PassThrough=X30(),v$.finished=vO(),v$.pipeline=F30()});var Z8=E((gd1,O30)=>{var w30=I0("fs"),Qt0=function($,Y,U,z){if($.super_=Y,!z)z=U,U=null;if(U)Object.keys(U).forEach((J)=>{Object.defineProperty($,J,Object.getOwnPropertyDescriptor(U,J))});let Q={constructor:{value:$,enumerable:!1,writable:!1,configurable:!0}};if(z)Object.keys(z).forEach((J)=>{Q[J]=Object.getOwnPropertyDescriptor(z,J)});$.prototype=Object.create(Y.prototype,Q)},Jt0=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,M30={nop(){},promiseImmediate($){return new Promise((Y)=>{if(global.setImmediate)setImmediate(()=>{Y($)});else setTimeout(()=>{Y($)},1)})},inherits:Qt0,dateToExcel($,Y){return 25569+$.getTime()/86400000-(Y?1462:0)},excelToDate($,Y){let U=Math.round(($-25569+(Y?1462:0))*24*3600*1000);return new Date(U)},parsePath($){let Y=$.lastIndexOf("/");return{path:$.substring(0,Y),name:$.substring(Y+1)}},getRelsPath($){let Y=M30.parsePath($);return`${Y.path}/_rels/${Y.name}.rels`},xmlEncode($){let Y=Jt0.exec($);if(!Y)return $;let U="",z="",Q=0,J=Y.index;for(;J<$.length;J++){let I=$.charCodeAt(J);switch(I){case 34:z=""";break;case 38:z="&";break;case 39:z="'";break;case 60:z="<";break;case 62:z=">";break;case 127:z="";break;default:{if(I<=31&&(I<=8||I>=11&&I!==13)){z="";break}continue}}if(Q!==J)U+=$.substring(Q,J);if(Q=J+1,z)U+=z}if(Q!==J)return U+$.substring(Q,J);return U},xmlDecode($){return $.replace(/&([a-z]*);/g,(Y)=>{switch(Y){case"<":return"<";case">":return">";case"&":return"&";case"'":return"'";case""":return'"';default:return Y}})},validInt($){let Y=parseInt($,10);return!Number.isNaN(Y)?Y:0},isDateFmt($){if(!$)return!1;return $=$.replace(/\[[^\]]*]/g,""),$=$.replace(/"[^"]*"/g,""),$.match(/[ymdhMsb]+/)!==null},fs:{exists($){return new Promise((Y)=>{w30.access($,w30.constants.F_OK,(U)=>{Y(!U)})})}},toIsoDateString($){return $.toIsoString().subsstr(0,10)},parseBoolean($){return $===!0||$==="true"||$===1||$==="1"}};O30.exports=M30});var Ak=E((yd1,D30)=>{class N30{constructor($){this._buf=Buffer.alloc($&&$.size||16384),this._encoding=$&&$.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){if(!this._buffer)this._buffer=Buffer.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length);return this._buffer}reset($){$=$||0,this._buffer=void 0,this._inPos=$}_grow($){let Y=this._buf.length*2;while(Y<$)Y*=2;let U=Buffer.alloc(Y);this._buf.copy(U,0),this._buf=U}addText($){this._buffer=void 0;let Y=this._inPos+this._buf.write($,this._inPos,this._encoding);while(Y>=this._buf.length-4)this._grow(this._inPos+$.length),Y=this._inPos+this._buf.write($,this._inPos,this._encoding);this._inPos=Y}addStringBuf($){if($.length){if(this._buffer=void 0,this.length+$.length>this.capacity)this._grow(this.length+$.length);$._buf.copy(this._buf,this._inPos,0,$.length),this._inPos+=$.length}}}D30.exports=N30});var _W=E((kd1,C30)=>{var It0=E8(),A30=Z8(),Kt0=Ak();class B30{constructor($,Y){this._data=$,this._encoding=Y}get length(){return this.toBuffer().length}copy($,Y,U,z){return this.toBuffer().copy($,Y,U,z)}toBuffer(){if(!this._buffer)this._buffer=Buffer.from(this._data,this._encoding);return this._buffer}}class P30{constructor($){this._data=$}get length(){return this._data.length}copy($,Y,U,z){return this._data._buf.copy($,Y,U,z)}toBuffer(){return this._data.toBuffer()}}class T30{constructor($){this._data=$}get length(){return this._data.length}copy($,Y,U,z){this._data.copy($,Y,U,z)}toBuffer(){return this._data}}class j30{constructor($){this.size=$,this.buffer=Buffer.alloc($),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;let $=Buffer.alloc(this.iWrite-this.iRead);return this.buffer.copy($,0,this.iRead,this.iWrite),$}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read($){let Y;if($===0)return null;if($===void 0||$>=this.length)return Y=this.toBuffer(),this.iRead=this.iWrite,Y;return Y=Buffer.alloc($),this.buffer.copy(Y,0,this.iRead,$),this.iRead+=$,Y}write($,Y,U){let z=Math.min(U,this.size-this.iWrite);return $.copy(this.buffer,this.iWrite,Y,Y+z),this.iWrite+=z,z}}var E30=function($){$=$||{},this.bufSize=$.bufSize||1048576,this.buffers=[],this.batch=$.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};A30.inherits(E30,It0.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return Buffer.concat(this.buffers.map(($)=>$.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){let Y=this.buffers[this.buffers.length-1];if(!Y.full)return Y}let $=new j30(this.bufSize);return this.buffers.push($),$},async _pipe($){let Y=function(U){return new Promise((z)=>{U.write($.toBuffer(),()=>{z()})})};await Promise.all(this.pipes.map(Y))},_writeToBuffers($){let Y=0,U=$.length;while(Y1)this._pipe(this.buffers.shift())}else if(!this.corked)await this._pipe(z),U();else this._writeToBuffers(z),process.nextTick(U);else{if(!this.paused)this.emit("data",z.toBuffer());this._writeToBuffers(z),this.emit("readable")}return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)while(this.buffers.length)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end($,Y,U){let z=(Q)=>{if(Q)U(Q);else this._flush(),this.pipes.forEach((J)=>{J.end()}),this.emit("finish")};if($)this.write($,Y,z);else z()},read($){let Y;if($){Y=[];while($&&this.buffers.length&&!this.buffers[0].eod){let U=this.buffers[0],z=U.read($);if($-=z.length,Y.push(z),U.eod&&U.full)this.buffers.shift()}return Buffer.concat(Y)}return Y=this.buffers.map((U)=>U.toBuffer()).filter(Boolean),this.buffers=[],Buffer.concat(Y)},setEncoding($){this.encoding=$},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe($){if(this.pipes.push($),!this.paused&&this.buffers.length)this.end()},unpipe($){this.pipes=this.pipes.filter((Y)=>Y!==$)},unshift(){throw Error("Not Implemented")},wrap(){throw Error("Not Implemented")}});C30.exports=E30});var v30=E((Ht0)=>{var R30=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),{Buffer:_30}=I0("buffer");function Gt0($){if(typeof $!=="string")return $;if(R30)return _30.from(R30.encode($).buffer);return _30.from($)}Ht0.stringToBuffer=Gt0});var g30=E((ud1,S30)=>{var Xt0=I0("events"),Zt0=ay(),qt0=_W(),{stringToBuffer:fd1}=v30();class h30 extends Xt0.EventEmitter{constructor($){super();this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},$),this.zip=new Zt0,this.stream=new qt0}append($,Y){if(Y.hasOwnProperty("base64")&&Y.base64)this.zip.file(Y.name,$,{base64:!0});else this.zip.file(Y.name,$)}async finalize(){let $=await this.zip.generateAsync(this.options);this.stream.end($),this.emit("finish")}read($){return this.stream.read($)}setEncoding($){return this.stream.setEncoding($)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe($,Y){return this.stream.pipe($,Y)}unpipe($){return this.stream.unpipe($)}unshift($){return this.stream.unshift($)}wrap($){return this.stream.wrap($)}}S30.exports={ZipWriter:h30}});var l6=E((bd1,x30)=>{var Vt0=Y6(),y30=Z8();function k30($,Y,U){$.push(` ${Y}="${y30.xmlEncode(U.toString())}"`)}function Bk($,Y){if(Y){let U=[];Vt0.each(Y,(z,Q)=>{if(z!==void 0)k30(U,Q,z)}),$.push(U.join(""))}}class Pk{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml($){let Y=this._xml;Y.push(" `)}openNode($,Y){let U=this.tos,z=this._xml;if(U&&this.open)z.push(">");this._stack.push($),z.push("<"),z.push($),Bk(z,Y),this.leaf=!0,this.open=!0}addAttribute($,Y){if(!this.open)throw Error("Cannot write attributes to node if it is not open");if(Y!==void 0)k30(this._xml,$,Y)}addAttributes($){if(!this.open)throw Error("Cannot write attributes to node if it is not open");Bk(this._xml,$)}writeText($){let Y=this._xml;if(this.open)Y.push(">"),this.open=!1;this.leaf=!1,Y.push(y30.xmlEncode($.toString()))}writeXml($){if(this.open)this._xml.push(">"),this.open=!1;this.leaf=!1,this._xml.push($)}closeNode(){let $=this._stack.pop(),Y=this._xml;if(this.leaf)Y.push("/>");else Y.push("");this.open=!1,this.leaf=!1}leafNode($,Y,U){if(this.openNode($,Y),U!==void 0)this.writeText(U);this.closeNode()}closeAll(){while(this._stack.length)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){let $=this._rollbacks.pop();if(this._xml.length>$.xml)this._xml.splice($.xml,this._xml.length-$.xml);if(this._stack.length>$.stack)this._stack.splice($.stack,this._stack.length-$.stack);this.leaf=$.leaf,this.open=$.open}get xml(){return this.closeAll(),this._xml.join("")}}Pk.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"};x30.exports=Pk});var Tk=E((Ft0)=>{var f30=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");function Lt0($){if(typeof $==="string")return $;if(f30)return f30.decode($);return $.toString()}Ft0.bufferToString=Lt0});var n30=E((b30)=>{Object.defineProperty(b30,"__esModule",{value:!0});b30.CHAR=` \r -퟿-�\uD800\uDC00-\uDBFF\uDFFF`;b30.S=` \r `;b30.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";b30.NAME_CHAR="-"+b30.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";b30.CHAR_RE=new RegExp("^["+b30.CHAR+"]$","u");b30.S_RE=new RegExp("^["+b30.S+"]+$","u");b30.NAME_START_CHAR_RE=new RegExp("^["+b30.NAME_START_CHAR+"]$","u");b30.NAME_CHAR_RE=new RegExp("^["+b30.NAME_CHAR+"]$","u");b30.NAME_RE=new RegExp("^["+b30.NAME_START_CHAR+"]["+b30.NAME_CHAR+"]*$","u");b30.NMTOKEN_RE=new RegExp("^["+b30.NAME_CHAR+"]+$","u");var jk=9,Ek=10,Ck=13,Rk=32;b30.S_LIST=[Rk,Ek,Ck,jk];function Mt0($){return $>=Rk&&$<=55295||$===Ek||$===Ck||$===jk||$>=57344&&$<=65533||$>=65536&&$<=1114111}b30.isChar=Mt0;function Ot0($){return $===Rk||$===Ek||$===Ck||$===jk}b30.isS=Ot0;function u30($){return $>=65&&$<=90||$>=97&&$<=122||$===58||$===95||$===8204||$===8205||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}b30.isNameStartChar=u30;function Nt0($){return u30($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}b30.isNameChar=Nt0});var e30=E((r30)=>{Object.defineProperty(r30,"__esModule",{value:!0});r30.CHAR="\x01-퟿-�\uD800\uDC00-\uDBFF\uDFFF";r30.RESTRICTED_CHAR="\x01-\b\v\f\x0E-\x1F-„†-Ÿ";r30.S=` \r -`;r30.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";r30.NAME_CHAR="-"+r30.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";r30.CHAR_RE=new RegExp("^["+r30.CHAR+"]$","u");r30.RESTRICTED_CHAR_RE=new RegExp("^["+r30.RESTRICTED_CHAR+"]$","u");r30.S_RE=new RegExp("^["+r30.S+"]+$","u");r30.NAME_START_CHAR_RE=new RegExp("^["+r30.NAME_START_CHAR+"]$","u");r30.NAME_CHAR_RE=new RegExp("^["+r30.NAME_CHAR+"]$","u");r30.NAME_RE=new RegExp("^["+r30.NAME_START_CHAR+"]["+r30.NAME_CHAR+"]*$","u");r30.NMTOKEN_RE=new RegExp("^["+r30.NAME_CHAR+"]+$","u");var p30=9,d30=10,m30=13,l30=32;r30.S_LIST=[l30,d30,m30,p30];function ht0($){return $>=1&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}r30.isChar=ht0;function St0($){return $>=1&&$<=8||$===11||$===12||$>=14&&$<=31||$>=127&&$<=132||$>=134&&$<=159}r30.isRestrictedChar=St0;function gt0($){return $===9||$===10||$===13||$>31&&$<127||$===133||$>159&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}r30.isCharAndNotRestricted=gt0;function yt0($){return $===l30||$===d30||$===m30||$===p30}r30.isS=yt0;function o30($){return $>=65&&$<=90||$>=97&&$<=122||$===58||$===95||$===8204||$===8205||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}r30.isNameStartChar=o30;function kt0($){return o30($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}r30.isNameChar=kt0});var U70=E((Y70)=>{Object.defineProperty(Y70,"__esModule",{value:!0});Y70.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";Y70.NC_NAME_CHAR="-"+Y70.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";Y70.NC_NAME_START_CHAR_RE=new RegExp("^["+Y70.NC_NAME_START_CHAR+"]$","u");Y70.NC_NAME_CHAR_RE=new RegExp("^["+Y70.NC_NAME_CHAR+"]$","u");Y70.NC_NAME_RE=new RegExp("^["+Y70.NC_NAME_START_CHAR+"]["+Y70.NC_NAME_CHAR+"]*$","u");function $70($){return $>=65&&$<=90||$===95||$>=97&&$<=122||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8204&&$<=8205||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}Y70.isNCNameStartChar=$70;function at0($){return $70($)||($===45||$===46||$>=48&&$<=57||$===183||$>=768&&$<=879||$>=8255&&$<=8256)}Y70.isNCNameChar=at0});var P70=E((B70)=>{Object.defineProperty(B70,"__esModule",{value:!0});var RJ=n30(),ze0=e30(),nk=U70(),p8=RJ.isS,Qe0=RJ.isChar,vW=RJ.isNameStartChar,z70=RJ.isNameChar,w70=RJ.S_LIST,Je0=RJ.NAME_RE,Ie0=ze0.isChar,Ke0=nk.isNCNameStartChar,Ge0=nk.isNCNameChar,He0=nk.NC_NAME_RE,rO="http://www.w3.org/XML/1998/namespace",CJ="http://www.w3.org/2000/xmlns/",We0={__proto__:null,xml:rO,xmlns:CJ},Xe0={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},k4=-1,J9=-2,Q70=0,Ze0=1,vk=2,qe0=3,TJ=4,Ve0=5,Le0=6,Fe0=7,hk=8,we0=9,Me0=10,Oe0=11,Ne0=12,C8=13,pO=14,Sk=15,De0=16,gk=17,Ae0=18,Be0=19,yk=20,Pe0=21,Te0=22,je0=23,J70=24,kk=25,dO=26,I70=27,Ee0=28,Ce0=29,K70=30,Re0=31,_e0=32,HU=33,ve0=34,xk=35,hW=36,fk=37,he0=38,G70=39,H70=40,Se0=41,W70=42,ge0=43,ye0=44,uk=9,q5=10,bk=13,X70=32,Z70=33,M70=34,SW=38,O70=39,mO=45,lO=47,ke0=59,a7=60,jJ=61,P6=62,o6=63,N70=91,EJ=93,q70=133,V70=8232,oO=($)=>$===M70||$===O70,D70=[M70,O70],xe0=[...D70,N70,P6],fe0=[...D70,a7,EJ],ue0=[jJ,o6,...w70],be0=[...w70,P6,SW,a7];function ck($,Y,U){switch(Y){case"xml":if(U!==rO)$.fail(`xml prefix must be bound to ${rO}.`);break;case"xmlns":if(U!==CJ)$.fail(`xmlns prefix must be bound to ${CJ}.`);break;default:}switch(U){case CJ:$.fail(Y===""?`the default namespace may not be set to ${U}.`:`may not assign a prefix (even "xmlns") to the URI ${CJ}.`);break;case rO:switch(Y){case"xml":break;case"":$.fail(`the default namespace may not be set to ${U}.`);break;default:$.fail("may not assign the xml namespace to another prefix.")}break;default:}}function ie0($,Y){for(let U of Object.keys(Y))ck($,U,Y[U])}var ce0=($)=>He0.test($),ne0=($)=>Je0.test($),WU=0,L70=1,ik=2;B70.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var F70={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class A70{constructor($){this.opt=$!==null&&$!==void 0?$:{},this.fragmentOpt=!!this.opt.fragment;let Y=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,Y){this.nameStartCheck=Ke0,this.nameCheck=Ge0,this.isName=ce0,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},We0);let U=this.opt.additionalNamespaces;if(U!=null)ie0(this,U),Object.assign(this.ns,U)}else this.nameStartCheck=vW,this.nameCheck=z70,this.isName=ne0,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var $;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=WU,this.attribList=[];let{fragmentOpt:Y}=this;this.state=Y?C8:Q70,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=Y,this.xmlDeclPossible=!Y,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:U}=this.opt;if(U===void 0){if(this.opt.forceXMLVersion===!0)throw Error("forceXMLVersion set but defaultXMLVersion is not set");U="1.0"}this.setXMLVersion(U),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(Xe0),($=this.readyHandler)===null||$===void 0||$.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on($,Y){this[F70[$]]=Y}off($){this[F70[$]]=void 0}makeError($){var Y;let U=(Y=this.fileName)!==null&&Y!==void 0?Y:"";if(this.trackPosition){if(U.length>0)U+=":";U+=`${this.line}:${this.column}`}if(U.length>0)U+=": ";return Error(U+$)}fail($){let Y=this.makeError($),U=this.errorHandler;if(U===void 0)throw Y;else U(Y);return this}write($){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let Y=!1;if($===null)Y=!0,$="";else if(typeof $==="object")$=$.toString();if(this.carriedFromPrevious!==void 0)$=`${this.carriedFromPrevious}${$}`,this.carriedFromPrevious=void 0;let U=$.length,z=$.charCodeAt(U-1);if(!Y&&(z===bk||z>=55296&&z<=56319))this.carriedFromPrevious=$[U-1],U--,$=$.slice(0,U);let{stateTable:Q}=this;this.chunk=$,this.i=0;while(this.i=$.length)return k4;let U=$.charCodeAt(Y);if(this.column++,U<55296){if(U>=X70||U===uk)return U;switch(U){case q5:return this.line++,this.column=0,this.positionAtNewLine=this.position,q5;case bk:if($.charCodeAt(Y+1)===q5)this.i=Y+2;return this.line++,this.column=0,this.positionAtNewLine=this.position,J9;default:return this.fail("disallowed character."),U}}if(U>56319){if(!(U>=57344&&U<=65533))this.fail("disallowed character.");return U}let z=65536+(U-55296)*1024+($.charCodeAt(Y+1)-56320);if(this.i=Y+2,z>1114111)this.fail("disallowed character.");return z}getCode11(){let{chunk:$,i:Y}=this;if(this.prevI=Y,this.i=Y+1,Y>=$.length)return k4;let U=$.charCodeAt(Y);if(this.column++,U<55296){if(U>31&&U<127||U>159&&U!==V70||U===uk)return U;switch(U){case q5:return this.line++,this.column=0,this.positionAtNewLine=this.position,q5;case bk:{let Q=$.charCodeAt(Y+1);if(Q===q5||Q===q70)this.i=Y+2}case q70:case V70:return this.line++,this.column=0,this.positionAtNewLine=this.position,J9;default:return this.fail("disallowed character."),U}}if(U>56319){if(!(U>=57344&&U<=65533))this.fail("disallowed character.");return U}let z=65536+(U-55296)*1024+($.charCodeAt(Y+1)-56320);if(this.i=Y+2,z>1114111)this.fail("disallowed character.");return z}getCodeNorm(){let $=this.getCode();return $===J9?q5:$}unget(){this.i=this.prevI,this.column--}captureTo($){let{i:Y}=this,{chunk:U}=this;while(!0){let z=this.getCode(),Q=z===J9,J=Q?q5:z;if(J===k4||$.includes(J))return this.text+=U.slice(Y,this.prevI),J;if(Q)this.text+=`${U.slice(Y,this.prevI)} -`,Y=this.i}}captureToChar($){let{i:Y}=this,{chunk:U}=this;while(!0){let z=this.getCode();switch(z){case J9:this.text+=`${U.slice(Y,this.prevI)} -`,Y=this.i,z=q5;break;case k4:return this.text+=U.slice(Y),!1;default:}if(z===$)return this.text+=U.slice(Y,this.prevI),!0}}captureNameChars(){let{chunk:$,i:Y}=this;while(!0){let U=this.getCode();if(U===k4)return this.name+=$.slice(Y),k4;if(!z70(U))return this.name+=$.slice(Y,this.prevI),U===J9?q5:U}}skipSpaces(){while(!0){let $=this.getCodeNorm();if($===k4||!p8($))return $}}setXMLVersion($){if(this.currentXMLVersion=$,$==="1.0")this.isChar=Qe0,this.getCode=this.getCode10;else this.isChar=Ie0,this.getCode=this.getCode11}sBegin(){if(this.chunk.charCodeAt(0)===65279)this.i++,this.column++;this.state=Ze0}sBeginWhitespace(){let $=this.i,Y=this.skipSpaces();if(this.prevI!==$)this.xmlDeclPossible=!1;switch(Y){case a7:if(this.state=Sk,this.text.length!==0)throw Error("no-empty text at start");break;case k4:break;default:this.unget(),this.state=C8,this.xmlDeclPossible=!1}}sDoctype(){var $;let Y=this.captureTo(xe0);switch(Y){case P6:{($=this.doctypeHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=C8,this.doctype=!0;break}case k4:break;default:if(this.text+=String.fromCodePoint(Y),Y===N70)this.state=TJ;else if(oO(Y))this.state=qe0,this.q=Y}}sDoctypeQuote(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.q=null,this.state=vk}sDTD(){let $=this.captureTo(fe0);if($===k4)return;if(this.text+=String.fromCodePoint($),$===EJ)this.state=vk;else if($===a7)this.state=Le0;else if(oO($))this.state=Ve0,this.q=$}sDTDQuoted(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.state=TJ,this.q=null}sDTDOpenWaka(){let $=this.getCodeNorm();switch(this.text+=String.fromCodePoint($),$){case Z70:this.state=Fe0,this.openWakaBang="";break;case o6:this.state=Oe0;break;default:this.state=TJ}}sDTDOpenWakaBang(){let $=String.fromCodePoint(this.getCodeNorm()),Y=this.openWakaBang+=$;if(this.text+=$,Y!=="-")this.state=Y==="--"?hk:TJ,this.openWakaBang=""}sDTDComment(){if(this.captureToChar(mO))this.text+="-",this.state=we0}sDTDCommentEnding(){let $=this.getCodeNorm();this.text+=String.fromCodePoint($),this.state=$===mO?Me0:hk}sDTDCommentEnded(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===P6)this.state=TJ;else this.fail("malformed comment."),this.state=hk}sDTDPI(){if(this.captureToChar(o6))this.text+="?",this.state=Ne0}sDTDPIEnding(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===P6)this.state=TJ}sText(){if(this.tags.length!==0)this.handleTextInRoot();else this.handleTextOutsideRoot()}sEntity(){let{i:$}=this,{chunk:Y}=this;$:while(!0)switch(this.getCode()){case J9:this.entity+=`${Y.slice($,this.prevI)} -`,$=this.i;break;case ke0:{let{entityReturnState:U}=this,z=this.entity+Y.slice($,this.prevI);this.state=U;let Q;if(z==="")this.fail("empty entity name."),Q="&;";else Q=this.parseEntity(z),this.entity="";if(U!==C8||this.textHandler!==void 0)this.text+=Q;break $}case k4:this.entity+=Y.slice($);break $;default:}}sOpenWaka(){let $=this.getCode();if(vW($))this.state=ve0,this.unget(),this.xmlDeclPossible=!1;else switch($){case lO:this.state=ge0,this.xmlDeclPossible=!1;break;case Z70:this.state=De0,this.openWakaBang="",this.xmlDeclPossible=!1;break;case o6:this.state=je0;break;default:this.fail("disallowed character in tag name"),this.state=C8,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":if(!this.sawRoot&&!this.reportedTextBeforeRoot)this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0;if(this.closedRoot&&!this.reportedTextAfterRoot)this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0;this.state=yk,this.openWakaBang="";break;case"--":this.state=gk,this.openWakaBang="";break;case"DOCTYPE":if(this.state=vk,this.doctype||this.sawRoot)this.fail("inappropriately located doctype declaration.");this.openWakaBang="";break;default:if(this.openWakaBang.length>=7)this.fail("incorrect syntax.")}}sComment(){if(this.captureToChar(mO))this.state=Ae0}sCommentEnding(){var $;let Y=this.getCodeNorm();if(Y===mO)this.state=Be0,($=this.commentHandler)===null||$===void 0||$.call(this,this.text),this.text="";else this.text+=`-${String.fromCodePoint(Y)}`,this.state=gk}sCommentEnded(){let $=this.getCodeNorm();if($!==P6)this.fail("malformed comment."),this.text+=`--${String.fromCodePoint($)}`,this.state=gk;else this.state=C8}sCData(){if(this.captureToChar(EJ))this.state=Pe0}sCDataEnding(){let $=this.getCodeNorm();if($===EJ)this.state=Te0;else this.text+=`]${String.fromCodePoint($)}`,this.state=yk}sCDataEnding2(){var $;let Y=this.getCodeNorm();switch(Y){case P6:{($=this.cdataHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=C8;break}case EJ:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(Y)}`,this.state=yk}}sPIFirstChar(){let $=this.getCodeNorm();if(this.nameStartCheck($))this.piTarget+=String.fromCodePoint($),this.state=J70;else if($===o6||p8($))this.fail("processing instruction without a target."),this.state=$===o6?dO:kk;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint($),this.state=J70}sPIRest(){let{chunk:$,i:Y}=this;while(!0){let U=this.getCodeNorm();if(U===k4){this.piTarget+=$.slice(Y);return}if(!this.nameCheck(U)){this.piTarget+=$.slice(Y,this.prevI);let z=U===o6;if(z||p8(U))if(this.piTarget==="xml"){if(!this.xmlDeclPossible)this.fail("an XML declaration must be at the start of the document.");this.state=z?HU:I70}else this.state=z?dO:kk;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(U);break}}}sPIBody(){if(this.text.length===0){let $=this.getCodeNorm();if($===o6)this.state=dO;else if(!p8($))this.text=String.fromCodePoint($)}else if(this.captureToChar(o6))this.state=dO}sPIEnding(){var $;let Y=this.getCodeNorm();if(Y===P6){let{piTarget:U}=this;if(U.toLowerCase()==="xml")this.fail("the XML declaration must appear at the start of the document.");($=this.piHandler)===null||$===void 0||$.call(this,{target:U,body:this.text}),this.piTarget=this.text="",this.state=C8}else if(Y===o6)this.text+="?";else this.text+=`?${String.fromCodePoint(Y)}`,this.state=kk;this.xmlDeclPossible=!1}sXMLDeclNameStart(){let $=this.skipSpaces();if($===o6){this.state=HU;return}if($!==k4)this.state=Ee0,this.name=String.fromCodePoint($)}sXMLDeclName(){let $=this.captureTo(ue0);if($===o6){this.state=HU,this.name+=this.text,this.text="",this.fail("XML declaration is incomplete.");return}if(!(p8($)||$===jJ))return;if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=$===jJ?K70:Ce0}sXMLDeclEq(){let $=this.getCodeNorm();if($===o6){this.state=HU,this.fail("XML declaration is incomplete.");return}if(p8($))return;if($!==jJ)this.fail("value required.");this.state=K70}sXMLDeclValueStart(){let $=this.getCodeNorm();if($===o6){this.state=HU,this.fail("XML declaration is incomplete.");return}if(p8($))return;if(!oO($))this.fail("value must be quoted."),this.q=X70;else this.q=$;this.state=Re0}sXMLDeclValue(){let $=this.captureTo([this.q,o6]);if($===o6){this.state=HU,this.text="",this.fail("XML declaration is incomplete.");return}if($===k4)return;let Y=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];let U=Y;if(this.xmlDecl.version=U,!/^1\.[0-9]+$/.test(U))this.fail("version number must match /^1\\.[0-9]+$/.");else if(!this.opt.forceXMLVersion)this.setXMLVersion(U);break}case"encoding":if(!/^[A-Za-z][A-Za-z0-9._-]*$/.test(Y))this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.");this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=Y;break;case"standalone":if(Y!=="yes"&&Y!=="no")this.fail('standalone value must match "yes" or "no".');this.xmlDeclExpects=[],this.xmlDecl.standalone=Y;break;default:}this.name="",this.state=_e0}sXMLDeclSeparator(){let $=this.getCodeNorm();if($===o6){this.state=HU;return}if(!p8($))this.fail("whitespace required."),this.unget();this.state=I70}sXMLDeclEnding(){var $;if(this.getCodeNorm()===P6){if(this.piTarget!=="xml")this.fail("processing instructions are not allowed before root.");else if(this.name!=="version"&&this.xmlDeclExpects.includes("version"))this.fail("XML declaration must contain a version.");($=this.xmldeclHandler)===null||$===void 0||$.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=C8}else this.fail("The character ? is disallowed anywhere in XML declarations.");this.xmlDeclPossible=!1}sOpenTag(){var $;let Y=this.captureNameChars();if(Y===k4)return;let U=this.tag={name:this.name,attributes:Object.create(null)};if(this.name="",this.xmlnsOpt)this.topNS=U.ns=Object.create(null);if(($=this.openTagStartHandler)===null||$===void 0||$.call(this,U),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot)this.fail("documents may contain only one root.");switch(Y){case P6:this.openTag();break;case lO:this.state=xk;break;default:if(!p8(Y))this.fail("disallowed character in tag name.");this.state=hW}}sOpenTagSlash(){if(this.getCode()===P6)this.openSelfClosingTag();else this.fail("forward-slash in opening tag not followed by >."),this.state=hW}sAttrib(){let $=this.skipSpaces();if($===k4)return;if(vW($))this.unget(),this.state=fk;else if($===P6)this.openTag();else if($===lO)this.state=xk;else this.fail("disallowed character in attribute name.")}sAttribName(){let $=this.captureNameChars();if($===jJ)this.state=G70;else if(p8($))this.state=he0;else if($===P6)this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag();else if($!==k4)this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){let $=this.skipSpaces();switch($){case k4:return;case jJ:this.state=G70;break;default:if(this.fail("attribute without value."),this.text="",this.name="",$===P6)this.openTag();else if(vW($))this.unget(),this.state=fk;else this.fail("disallowed character in attribute name."),this.state=hW}}sAttribValue(){let $=this.getCodeNorm();if(oO($))this.q=$,this.state=H70;else if(!p8($))this.fail("unquoted attribute value."),this.state=W70,this.unget()}sAttribValueQuoted(){let{q:$,chunk:Y}=this,{i:U}=this;while(!0)switch(this.getCode()){case $:this.pushAttrib(this.name,this.text+Y.slice(U,this.prevI)),this.name=this.text="",this.q=null,this.state=Se0;return;case SW:this.text+=Y.slice(U,this.prevI),this.state=pO,this.entityReturnState=H70;return;case q5:case J9:case uk:this.text+=`${Y.slice(U,this.prevI)} `,U=this.i;break;case a7:this.text+=Y.slice(U,this.prevI),this.fail("disallowed character.");return;case k4:this.text+=Y.slice(U);return;default:}}sAttribValueClosed(){let $=this.getCodeNorm();if(p8($))this.state=hW;else if($===P6)this.openTag();else if($===lO)this.state=xk;else if(vW($))this.fail("no whitespace between attributes."),this.unget(),this.state=fk;else this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){let $=this.captureTo(be0);switch($){case SW:this.state=pO,this.entityReturnState=W70;break;case a7:this.fail("disallowed character.");break;case k4:break;default:if(this.text.includes("]]>"))this.fail('the string "]]>" is disallowed in char data.');if(this.pushAttrib(this.name,this.text),this.name=this.text="",$===P6)this.openTag();else this.state=hW}}sCloseTag(){let $=this.captureNameChars();if($===P6)this.closeTag();else if(p8($))this.state=ye0;else if($!==k4)this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case P6:this.closeTag();break;case k4:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:$,forbiddenState:Y}=this,{chunk:U,textHandler:z}=this;$:while(!0)switch(this.getCode()){case a7:{if(this.state=Sk,z!==void 0){let{text:Q}=this,J=U.slice($,this.prevI);if(Q.length!==0)z(Q+J),this.text="";else if(J.length!==0)z(J)}Y=WU;break $}case SW:if(this.state=pO,this.entityReturnState=C8,z!==void 0)this.text+=U.slice($,this.prevI);Y=WU;break $;case EJ:switch(Y){case WU:Y=L70;break;case L70:Y=ik;break;case ik:break;default:throw Error("impossible state")}break;case P6:if(Y===ik)this.fail('the string "]]>" is disallowed in char data.');Y=WU;break;case J9:if(z!==void 0)this.text+=`${U.slice($,this.prevI)} -`;$=this.i,Y=WU;break;case k4:if(z!==void 0)this.text+=U.slice($);break $;default:Y=WU}this.forbiddenState=Y}handleTextOutsideRoot(){let{i:$}=this,{chunk:Y,textHandler:U}=this,z=!1;$:while(!0){let Q=this.getCode();switch(Q){case a7:{if(this.state=Sk,U!==void 0){let{text:J}=this,I=Y.slice($,this.prevI);if(J.length!==0)U(J+I),this.text="";else if(I.length!==0)U(I)}break $}case SW:if(this.state=pO,this.entityReturnState=C8,U!==void 0)this.text+=Y.slice($,this.prevI);z=!0;break $;case J9:if(U!==void 0)this.text+=`${Y.slice($,this.prevI)} +`;r30.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";r30.NAME_CHAR="-"+r30.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";r30.CHAR_RE=new RegExp("^["+r30.CHAR+"]$","u");r30.RESTRICTED_CHAR_RE=new RegExp("^["+r30.RESTRICTED_CHAR+"]$","u");r30.S_RE=new RegExp("^["+r30.S+"]+$","u");r30.NAME_START_CHAR_RE=new RegExp("^["+r30.NAME_START_CHAR+"]$","u");r30.NAME_CHAR_RE=new RegExp("^["+r30.NAME_CHAR+"]$","u");r30.NAME_RE=new RegExp("^["+r30.NAME_START_CHAR+"]["+r30.NAME_CHAR+"]*$","u");r30.NMTOKEN_RE=new RegExp("^["+r30.NAME_CHAR+"]+$","u");var p30=9,d30=10,m30=13,l30=32;r30.S_LIST=[l30,d30,m30,p30];function ht0($){return $>=1&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}r30.isChar=ht0;function St0($){return $>=1&&$<=8||$===11||$===12||$>=14&&$<=31||$>=127&&$<=132||$>=134&&$<=159}r30.isRestrictedChar=St0;function gt0($){return $===9||$===10||$===13||$>31&&$<127||$===133||$>159&&$<=55295||$>=57344&&$<=65533||$>=65536&&$<=1114111}r30.isCharAndNotRestricted=gt0;function yt0($){return $===l30||$===d30||$===m30||$===p30}r30.isS=yt0;function o30($){return $>=65&&$<=90||$>=97&&$<=122||$===58||$===95||$===8204||$===8205||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}r30.isNameStartChar=o30;function kt0($){return o30($)||$>=48&&$<=57||$===45||$===46||$===183||$>=768&&$<=879||$>=8255&&$<=8256}r30.isNameChar=kt0});var U70=E((Y70)=>{Object.defineProperty(Y70,"__esModule",{value:!0});Y70.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF";Y70.NC_NAME_CHAR="-"+Y70.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀";Y70.NC_NAME_START_CHAR_RE=new RegExp("^["+Y70.NC_NAME_START_CHAR+"]$","u");Y70.NC_NAME_CHAR_RE=new RegExp("^["+Y70.NC_NAME_CHAR+"]$","u");Y70.NC_NAME_RE=new RegExp("^["+Y70.NC_NAME_START_CHAR+"]["+Y70.NC_NAME_CHAR+"]*$","u");function $70($){return $>=65&&$<=90||$===95||$>=97&&$<=122||$>=192&&$<=214||$>=216&&$<=246||$>=248&&$<=767||$>=880&&$<=893||$>=895&&$<=8191||$>=8204&&$<=8205||$>=8304&&$<=8591||$>=11264&&$<=12271||$>=12289&&$<=55295||$>=63744&&$<=64975||$>=65008&&$<=65533||$>=65536&&$<=983039}Y70.isNCNameStartChar=$70;function at0($){return $70($)||($===45||$===46||$>=48&&$<=57||$===183||$>=768&&$<=879||$>=8255&&$<=8256)}Y70.isNCNameChar=at0});var P70=E((B70)=>{Object.defineProperty(B70,"__esModule",{value:!0});var RJ=n30(),ze0=e30(),nk=U70(),p8=RJ.isS,Qe0=RJ.isChar,vW=RJ.isNameStartChar,z70=RJ.isNameChar,w70=RJ.S_LIST,Je0=RJ.NAME_RE,Ie0=ze0.isChar,Ke0=nk.isNCNameStartChar,Ge0=nk.isNCNameChar,He0=nk.NC_NAME_RE,rO="http://www.w3.org/XML/1998/namespace",CJ="http://www.w3.org/2000/xmlns/",We0={__proto__:null,xml:rO,xmlns:CJ},Xe0={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},k4=-1,I9=-2,Q70=0,Ze0=1,vk=2,qe0=3,TJ=4,Ve0=5,Le0=6,Fe0=7,hk=8,we0=9,Me0=10,Oe0=11,Ne0=12,C8=13,pO=14,Sk=15,De0=16,gk=17,Ae0=18,Be0=19,yk=20,Pe0=21,Te0=22,je0=23,J70=24,kk=25,dO=26,I70=27,Ee0=28,Ce0=29,K70=30,Re0=31,_e0=32,HU=33,ve0=34,xk=35,hW=36,fk=37,he0=38,G70=39,H70=40,Se0=41,W70=42,ge0=43,ye0=44,uk=9,q5=10,bk=13,X70=32,Z70=33,M70=34,SW=38,O70=39,mO=45,lO=47,ke0=59,a7=60,jJ=61,P6=62,o6=63,N70=91,EJ=93,q70=133,V70=8232,oO=($)=>$===M70||$===O70,D70=[M70,O70],xe0=[...D70,N70,P6],fe0=[...D70,a7,EJ],ue0=[jJ,o6,...w70],be0=[...w70,P6,SW,a7];function ck($,Y,U){switch(Y){case"xml":if(U!==rO)$.fail(`xml prefix must be bound to ${rO}.`);break;case"xmlns":if(U!==CJ)$.fail(`xmlns prefix must be bound to ${CJ}.`);break;default:}switch(U){case CJ:$.fail(Y===""?`the default namespace may not be set to ${U}.`:`may not assign a prefix (even "xmlns") to the URI ${CJ}.`);break;case rO:switch(Y){case"xml":break;case"":$.fail(`the default namespace may not be set to ${U}.`);break;default:$.fail("may not assign the xml namespace to another prefix.")}break;default:}}function ie0($,Y){for(let U of Object.keys(Y))ck($,U,Y[U])}var ce0=($)=>He0.test($),ne0=($)=>Je0.test($),WU=0,L70=1,ik=2;B70.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];var F70={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class A70{constructor($){this.opt=$!==null&&$!==void 0?$:{},this.fragmentOpt=!!this.opt.fragment;let Y=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,Y){this.nameStartCheck=Ke0,this.nameCheck=Ge0,this.isName=ce0,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},We0);let U=this.opt.additionalNamespaces;if(U!=null)ie0(this,U),Object.assign(this.ns,U)}else this.nameStartCheck=vW,this.nameCheck=z70,this.isName=ne0,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var $;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=WU,this.attribList=[];let{fragmentOpt:Y}=this;this.state=Y?C8:Q70,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=Y,this.xmlDeclPossible=!Y,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:U}=this.opt;if(U===void 0){if(this.opt.forceXMLVersion===!0)throw Error("forceXMLVersion set but defaultXMLVersion is not set");U="1.0"}this.setXMLVersion(U),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(Xe0),($=this.readyHandler)===null||$===void 0||$.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on($,Y){this[F70[$]]=Y}off($){this[F70[$]]=void 0}makeError($){var Y;let U=(Y=this.fileName)!==null&&Y!==void 0?Y:"";if(this.trackPosition){if(U.length>0)U+=":";U+=`${this.line}:${this.column}`}if(U.length>0)U+=": ";return Error(U+$)}fail($){let Y=this.makeError($),U=this.errorHandler;if(U===void 0)throw Y;else U(Y);return this}write($){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let Y=!1;if($===null)Y=!0,$="";else if(typeof $==="object")$=$.toString();if(this.carriedFromPrevious!==void 0)$=`${this.carriedFromPrevious}${$}`,this.carriedFromPrevious=void 0;let U=$.length,z=$.charCodeAt(U-1);if(!Y&&(z===bk||z>=55296&&z<=56319))this.carriedFromPrevious=$[U-1],U--,$=$.slice(0,U);let{stateTable:Q}=this;this.chunk=$,this.i=0;while(this.i=$.length)return k4;let U=$.charCodeAt(Y);if(this.column++,U<55296){if(U>=X70||U===uk)return U;switch(U){case q5:return this.line++,this.column=0,this.positionAtNewLine=this.position,q5;case bk:if($.charCodeAt(Y+1)===q5)this.i=Y+2;return this.line++,this.column=0,this.positionAtNewLine=this.position,I9;default:return this.fail("disallowed character."),U}}if(U>56319){if(!(U>=57344&&U<=65533))this.fail("disallowed character.");return U}let z=65536+(U-55296)*1024+($.charCodeAt(Y+1)-56320);if(this.i=Y+2,z>1114111)this.fail("disallowed character.");return z}getCode11(){let{chunk:$,i:Y}=this;if(this.prevI=Y,this.i=Y+1,Y>=$.length)return k4;let U=$.charCodeAt(Y);if(this.column++,U<55296){if(U>31&&U<127||U>159&&U!==V70||U===uk)return U;switch(U){case q5:return this.line++,this.column=0,this.positionAtNewLine=this.position,q5;case bk:{let Q=$.charCodeAt(Y+1);if(Q===q5||Q===q70)this.i=Y+2}case q70:case V70:return this.line++,this.column=0,this.positionAtNewLine=this.position,I9;default:return this.fail("disallowed character."),U}}if(U>56319){if(!(U>=57344&&U<=65533))this.fail("disallowed character.");return U}let z=65536+(U-55296)*1024+($.charCodeAt(Y+1)-56320);if(this.i=Y+2,z>1114111)this.fail("disallowed character.");return z}getCodeNorm(){let $=this.getCode();return $===I9?q5:$}unget(){this.i=this.prevI,this.column--}captureTo($){let{i:Y}=this,{chunk:U}=this;while(!0){let z=this.getCode(),Q=z===I9,J=Q?q5:z;if(J===k4||$.includes(J))return this.text+=U.slice(Y,this.prevI),J;if(Q)this.text+=`${U.slice(Y,this.prevI)} +`,Y=this.i}}captureToChar($){let{i:Y}=this,{chunk:U}=this;while(!0){let z=this.getCode();switch(z){case I9:this.text+=`${U.slice(Y,this.prevI)} +`,Y=this.i,z=q5;break;case k4:return this.text+=U.slice(Y),!1;default:}if(z===$)return this.text+=U.slice(Y,this.prevI),!0}}captureNameChars(){let{chunk:$,i:Y}=this;while(!0){let U=this.getCode();if(U===k4)return this.name+=$.slice(Y),k4;if(!z70(U))return this.name+=$.slice(Y,this.prevI),U===I9?q5:U}}skipSpaces(){while(!0){let $=this.getCodeNorm();if($===k4||!p8($))return $}}setXMLVersion($){if(this.currentXMLVersion=$,$==="1.0")this.isChar=Qe0,this.getCode=this.getCode10;else this.isChar=Ie0,this.getCode=this.getCode11}sBegin(){if(this.chunk.charCodeAt(0)===65279)this.i++,this.column++;this.state=Ze0}sBeginWhitespace(){let $=this.i,Y=this.skipSpaces();if(this.prevI!==$)this.xmlDeclPossible=!1;switch(Y){case a7:if(this.state=Sk,this.text.length!==0)throw Error("no-empty text at start");break;case k4:break;default:this.unget(),this.state=C8,this.xmlDeclPossible=!1}}sDoctype(){var $;let Y=this.captureTo(xe0);switch(Y){case P6:{($=this.doctypeHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=C8,this.doctype=!0;break}case k4:break;default:if(this.text+=String.fromCodePoint(Y),Y===N70)this.state=TJ;else if(oO(Y))this.state=qe0,this.q=Y}}sDoctypeQuote(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.q=null,this.state=vk}sDTD(){let $=this.captureTo(fe0);if($===k4)return;if(this.text+=String.fromCodePoint($),$===EJ)this.state=vk;else if($===a7)this.state=Le0;else if(oO($))this.state=Ve0,this.q=$}sDTDQuoted(){let $=this.q;if(this.captureToChar($))this.text+=String.fromCodePoint($),this.state=TJ,this.q=null}sDTDOpenWaka(){let $=this.getCodeNorm();switch(this.text+=String.fromCodePoint($),$){case Z70:this.state=Fe0,this.openWakaBang="";break;case o6:this.state=Oe0;break;default:this.state=TJ}}sDTDOpenWakaBang(){let $=String.fromCodePoint(this.getCodeNorm()),Y=this.openWakaBang+=$;if(this.text+=$,Y!=="-")this.state=Y==="--"?hk:TJ,this.openWakaBang=""}sDTDComment(){if(this.captureToChar(mO))this.text+="-",this.state=we0}sDTDCommentEnding(){let $=this.getCodeNorm();this.text+=String.fromCodePoint($),this.state=$===mO?Me0:hk}sDTDCommentEnded(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===P6)this.state=TJ;else this.fail("malformed comment."),this.state=hk}sDTDPI(){if(this.captureToChar(o6))this.text+="?",this.state=Ne0}sDTDPIEnding(){let $=this.getCodeNorm();if(this.text+=String.fromCodePoint($),$===P6)this.state=TJ}sText(){if(this.tags.length!==0)this.handleTextInRoot();else this.handleTextOutsideRoot()}sEntity(){let{i:$}=this,{chunk:Y}=this;$:while(!0)switch(this.getCode()){case I9:this.entity+=`${Y.slice($,this.prevI)} +`,$=this.i;break;case ke0:{let{entityReturnState:U}=this,z=this.entity+Y.slice($,this.prevI);this.state=U;let Q;if(z==="")this.fail("empty entity name."),Q="&;";else Q=this.parseEntity(z),this.entity="";if(U!==C8||this.textHandler!==void 0)this.text+=Q;break $}case k4:this.entity+=Y.slice($);break $;default:}}sOpenWaka(){let $=this.getCode();if(vW($))this.state=ve0,this.unget(),this.xmlDeclPossible=!1;else switch($){case lO:this.state=ge0,this.xmlDeclPossible=!1;break;case Z70:this.state=De0,this.openWakaBang="",this.xmlDeclPossible=!1;break;case o6:this.state=je0;break;default:this.fail("disallowed character in tag name"),this.state=C8,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":if(!this.sawRoot&&!this.reportedTextBeforeRoot)this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0;if(this.closedRoot&&!this.reportedTextAfterRoot)this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0;this.state=yk,this.openWakaBang="";break;case"--":this.state=gk,this.openWakaBang="";break;case"DOCTYPE":if(this.state=vk,this.doctype||this.sawRoot)this.fail("inappropriately located doctype declaration.");this.openWakaBang="";break;default:if(this.openWakaBang.length>=7)this.fail("incorrect syntax.")}}sComment(){if(this.captureToChar(mO))this.state=Ae0}sCommentEnding(){var $;let Y=this.getCodeNorm();if(Y===mO)this.state=Be0,($=this.commentHandler)===null||$===void 0||$.call(this,this.text),this.text="";else this.text+=`-${String.fromCodePoint(Y)}`,this.state=gk}sCommentEnded(){let $=this.getCodeNorm();if($!==P6)this.fail("malformed comment."),this.text+=`--${String.fromCodePoint($)}`,this.state=gk;else this.state=C8}sCData(){if(this.captureToChar(EJ))this.state=Pe0}sCDataEnding(){let $=this.getCodeNorm();if($===EJ)this.state=Te0;else this.text+=`]${String.fromCodePoint($)}`,this.state=yk}sCDataEnding2(){var $;let Y=this.getCodeNorm();switch(Y){case P6:{($=this.cdataHandler)===null||$===void 0||$.call(this,this.text),this.text="",this.state=C8;break}case EJ:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(Y)}`,this.state=yk}}sPIFirstChar(){let $=this.getCodeNorm();if(this.nameStartCheck($))this.piTarget+=String.fromCodePoint($),this.state=J70;else if($===o6||p8($))this.fail("processing instruction without a target."),this.state=$===o6?dO:kk;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint($),this.state=J70}sPIRest(){let{chunk:$,i:Y}=this;while(!0){let U=this.getCodeNorm();if(U===k4){this.piTarget+=$.slice(Y);return}if(!this.nameCheck(U)){this.piTarget+=$.slice(Y,this.prevI);let z=U===o6;if(z||p8(U))if(this.piTarget==="xml"){if(!this.xmlDeclPossible)this.fail("an XML declaration must be at the start of the document.");this.state=z?HU:I70}else this.state=z?dO:kk;else this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(U);break}}}sPIBody(){if(this.text.length===0){let $=this.getCodeNorm();if($===o6)this.state=dO;else if(!p8($))this.text=String.fromCodePoint($)}else if(this.captureToChar(o6))this.state=dO}sPIEnding(){var $;let Y=this.getCodeNorm();if(Y===P6){let{piTarget:U}=this;if(U.toLowerCase()==="xml")this.fail("the XML declaration must appear at the start of the document.");($=this.piHandler)===null||$===void 0||$.call(this,{target:U,body:this.text}),this.piTarget=this.text="",this.state=C8}else if(Y===o6)this.text+="?";else this.text+=`?${String.fromCodePoint(Y)}`,this.state=kk;this.xmlDeclPossible=!1}sXMLDeclNameStart(){let $=this.skipSpaces();if($===o6){this.state=HU;return}if($!==k4)this.state=Ee0,this.name=String.fromCodePoint($)}sXMLDeclName(){let $=this.captureTo(ue0);if($===o6){this.state=HU,this.name+=this.text,this.text="",this.fail("XML declaration is incomplete.");return}if(!(p8($)||$===jJ))return;if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=$===jJ?K70:Ce0}sXMLDeclEq(){let $=this.getCodeNorm();if($===o6){this.state=HU,this.fail("XML declaration is incomplete.");return}if(p8($))return;if($!==jJ)this.fail("value required.");this.state=K70}sXMLDeclValueStart(){let $=this.getCodeNorm();if($===o6){this.state=HU,this.fail("XML declaration is incomplete.");return}if(p8($))return;if(!oO($))this.fail("value must be quoted."),this.q=X70;else this.q=$;this.state=Re0}sXMLDeclValue(){let $=this.captureTo([this.q,o6]);if($===o6){this.state=HU,this.text="",this.fail("XML declaration is incomplete.");return}if($===k4)return;let Y=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];let U=Y;if(this.xmlDecl.version=U,!/^1\.[0-9]+$/.test(U))this.fail("version number must match /^1\\.[0-9]+$/.");else if(!this.opt.forceXMLVersion)this.setXMLVersion(U);break}case"encoding":if(!/^[A-Za-z][A-Za-z0-9._-]*$/.test(Y))this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.");this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=Y;break;case"standalone":if(Y!=="yes"&&Y!=="no")this.fail('standalone value must match "yes" or "no".');this.xmlDeclExpects=[],this.xmlDecl.standalone=Y;break;default:}this.name="",this.state=_e0}sXMLDeclSeparator(){let $=this.getCodeNorm();if($===o6){this.state=HU;return}if(!p8($))this.fail("whitespace required."),this.unget();this.state=I70}sXMLDeclEnding(){var $;if(this.getCodeNorm()===P6){if(this.piTarget!=="xml")this.fail("processing instructions are not allowed before root.");else if(this.name!=="version"&&this.xmlDeclExpects.includes("version"))this.fail("XML declaration must contain a version.");($=this.xmldeclHandler)===null||$===void 0||$.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=C8}else this.fail("The character ? is disallowed anywhere in XML declarations.");this.xmlDeclPossible=!1}sOpenTag(){var $;let Y=this.captureNameChars();if(Y===k4)return;let U=this.tag={name:this.name,attributes:Object.create(null)};if(this.name="",this.xmlnsOpt)this.topNS=U.ns=Object.create(null);if(($=this.openTagStartHandler)===null||$===void 0||$.call(this,U),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot)this.fail("documents may contain only one root.");switch(Y){case P6:this.openTag();break;case lO:this.state=xk;break;default:if(!p8(Y))this.fail("disallowed character in tag name.");this.state=hW}}sOpenTagSlash(){if(this.getCode()===P6)this.openSelfClosingTag();else this.fail("forward-slash in opening tag not followed by >."),this.state=hW}sAttrib(){let $=this.skipSpaces();if($===k4)return;if(vW($))this.unget(),this.state=fk;else if($===P6)this.openTag();else if($===lO)this.state=xk;else this.fail("disallowed character in attribute name.")}sAttribName(){let $=this.captureNameChars();if($===jJ)this.state=G70;else if(p8($))this.state=he0;else if($===P6)this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag();else if($!==k4)this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){let $=this.skipSpaces();switch($){case k4:return;case jJ:this.state=G70;break;default:if(this.fail("attribute without value."),this.text="",this.name="",$===P6)this.openTag();else if(vW($))this.unget(),this.state=fk;else this.fail("disallowed character in attribute name."),this.state=hW}}sAttribValue(){let $=this.getCodeNorm();if(oO($))this.q=$,this.state=H70;else if(!p8($))this.fail("unquoted attribute value."),this.state=W70,this.unget()}sAttribValueQuoted(){let{q:$,chunk:Y}=this,{i:U}=this;while(!0)switch(this.getCode()){case $:this.pushAttrib(this.name,this.text+Y.slice(U,this.prevI)),this.name=this.text="",this.q=null,this.state=Se0;return;case SW:this.text+=Y.slice(U,this.prevI),this.state=pO,this.entityReturnState=H70;return;case q5:case I9:case uk:this.text+=`${Y.slice(U,this.prevI)} `,U=this.i;break;case a7:this.text+=Y.slice(U,this.prevI),this.fail("disallowed character.");return;case k4:this.text+=Y.slice(U);return;default:}}sAttribValueClosed(){let $=this.getCodeNorm();if(p8($))this.state=hW;else if($===P6)this.openTag();else if($===lO)this.state=xk;else if(vW($))this.fail("no whitespace between attributes."),this.unget(),this.state=fk;else this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){let $=this.captureTo(be0);switch($){case SW:this.state=pO,this.entityReturnState=W70;break;case a7:this.fail("disallowed character.");break;case k4:break;default:if(this.text.includes("]]>"))this.fail('the string "]]>" is disallowed in char data.');if(this.pushAttrib(this.name,this.text),this.name=this.text="",$===P6)this.openTag();else this.state=hW}}sCloseTag(){let $=this.captureNameChars();if($===P6)this.closeTag();else if(p8($))this.state=ye0;else if($!==k4)this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case P6:this.closeTag();break;case k4:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:$,forbiddenState:Y}=this,{chunk:U,textHandler:z}=this;$:while(!0)switch(this.getCode()){case a7:{if(this.state=Sk,z!==void 0){let{text:Q}=this,J=U.slice($,this.prevI);if(Q.length!==0)z(Q+J),this.text="";else if(J.length!==0)z(J)}Y=WU;break $}case SW:if(this.state=pO,this.entityReturnState=C8,z!==void 0)this.text+=U.slice($,this.prevI);Y=WU;break $;case EJ:switch(Y){case WU:Y=L70;break;case L70:Y=ik;break;case ik:break;default:throw Error("impossible state")}break;case P6:if(Y===ik)this.fail('the string "]]>" is disallowed in char data.');Y=WU;break;case I9:if(z!==void 0)this.text+=`${U.slice($,this.prevI)} +`;$=this.i,Y=WU;break;case k4:if(z!==void 0)this.text+=U.slice($);break $;default:Y=WU}this.forbiddenState=Y}handleTextOutsideRoot(){let{i:$}=this,{chunk:Y,textHandler:U}=this,z=!1;$:while(!0){let Q=this.getCode();switch(Q){case a7:{if(this.state=Sk,U!==void 0){let{text:J}=this,I=Y.slice($,this.prevI);if(J.length!==0)U(J+I),this.text="";else if(I.length!==0)U(I)}break $}case SW:if(this.state=pO,this.entityReturnState=C8,U!==void 0)this.text+=Y.slice($,this.prevI);z=!0;break $;case I9:if(U!==void 0)this.text+=`${Y.slice($,this.prevI)} `;$=this.i;break;case k4:if(U!==void 0)this.text+=Y.slice($);break $;default:if(!p8(Q))z=!0}}if(!z)return;if(!this.sawRoot&&!this.reportedTextBeforeRoot)this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0;if(this.closedRoot&&!this.reportedTextAfterRoot)this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0}pushAttribNS($,Y){var U;let{prefix:z,local:Q}=this.qname($),J={name:$,prefix:z,local:Q,value:Y};if(this.attribList.push(J),(U=this.attributeHandler)===null||U===void 0||U.call(this,J),z==="xmlns"){let I=Y.trim();if(this.currentXMLVersion==="1.0"&&I==="")this.fail("invalid attempt to undefine prefix in XML 1.0");this.topNS[Q]=I,ck(this,Q,I)}else if($==="xmlns"){let I=Y.trim();this.topNS[""]=I,ck(this,"",I)}}pushAttribPlain($,Y){var U;let z={name:$,value:Y};this.attribList.push(z),(U=this.attributeHandler)===null||U===void 0||U.call(this,z)}end(){var $,Y;if(!this.sawRoot)this.fail("document must contain a root element.");let{tags:U}=this;while(U.length>0){let Q=U.pop();this.fail(`unclosed tag: ${Q.name}`)}if(this.state!==Q70&&this.state!==C8)this.fail("unexpected end.");let{text:z}=this;if(z.length!==0)($=this.textHandler)===null||$===void 0||$.call(this,z),this.text="";return this._closed=!0,(Y=this.endHandler)===null||Y===void 0||Y.call(this),this._init(),this}resolve($){var Y,U;let z=this.topNS[$];if(z!==void 0)return z;let{tags:Q}=this;for(let J=Q.length-1;J>=0;J--)if(z=Q[J].ns[$],z!==void 0)return z;if(z=this.ns[$],z!==void 0)return z;return(U=(Y=this.opt).resolvePrefix)===null||U===void 0?void 0:U.call(Y,$)}qname($){let Y=$.indexOf(":");if(Y===-1)return{prefix:"",local:$};let U=$.slice(Y+1),z=$.slice(0,Y);if(z===""||U===""||U.includes(":"))this.fail(`malformed name: ${$}.`);return{prefix:z,local:U}}processAttribsNS(){var $;let{attribList:Y}=this,U=this.tag;{let{prefix:J,local:I}=this.qname(U.name);U.prefix=J,U.local=I;let K=U.uri=($=this.resolve(J))!==null&&$!==void 0?$:"";if(J!==""){if(J==="xmlns")this.fail('tags may not have "xmlns" as prefix.');if(K==="")this.fail(`unbound namespace prefix: ${JSON.stringify(J)}.`),U.uri=J}}if(Y.length===0)return;let{attributes:z}=U,Q=new Set;for(let J of Y){let{name:I,prefix:K,local:G}=J,H,W;if(K==="")H=I==="xmlns"?CJ:"",W=I;else{if(H=this.resolve(K),H===void 0)this.fail(`unbound namespace prefix: ${JSON.stringify(K)}.`),H=K;W=`{${H}}${G}`}if(Q.has(W))this.fail(`duplicate attribute: ${W}.`);Q.add(W),J.uri=H,z[I]=J}this.attribList=[]}processAttribsPlain(){let{attribList:$}=this,Y=this.tag.attributes;for(let{name:U,value:z}of $){if(Y[U]!==void 0)this.fail(`duplicate attribute: ${U}.`);Y[U]=z}this.attribList=[]}openTag(){var $;this.processAttribs();let{tags:Y}=this,U=this.tag;U.isSelfClosing=!1,($=this.openTagHandler)===null||$===void 0||$.call(this,U),Y.push(U),this.state=C8,this.name=""}openSelfClosingTag(){var $,Y,U;this.processAttribs();let{tags:z}=this,Q=this.tag;if(Q.isSelfClosing=!0,($=this.openTagHandler)===null||$===void 0||$.call(this,Q),(Y=this.closeTagHandler)===null||Y===void 0||Y.call(this,Q),(this.tag=(U=z[z.length-1])!==null&&U!==void 0?U:null)===null)this.closedRoot=!0;this.state=C8,this.name=""}closeTag(){let{tags:$,name:Y}=this;if(this.state=C8,this.name="",Y===""){this.fail("weird empty close tag."),this.text+="";return}let U=this.closeTagHandler,z=$.length;while(z-- >0){let Q=this.tag=$.pop();if(this.topNS=Q.ns,U===null||U===void 0||U(Q),Q.name===Y)break;this.fail("unexpected close tag.")}if(z===0)this.closedRoot=!0;else if(z<0)this.fail(`unmatched closing tag: ${Y}.`),this.text+=``}parseEntity($){if($[0]!=="#"){let U=this.ENTITIES[$];if(U!==void 0)return U;return this.fail(this.isName($)?"undefined entity.":"disallowed character in entity name."),`&${$};`}let Y=NaN;if($[1]==="x"&&/^#x[0-9a-f]+$/i.test($))Y=parseInt($.slice(2),16);else if(/^#[0-9]+$/.test($))Y=parseInt($.slice(1),10);if(!this.isChar(Y))return this.fail("malformed character entity."),`&${$};`;return String.fromCodePoint(Y)}}B70.SaxesParser=A70});var gW=E((md1,T70)=>{var{SaxesParser:me0}=P70(),{PassThrough:le0}=E8(),{bufferToString:oe0}=Tk();T70.exports=async function*($){if($.pipe&&!$[Symbol.asyncIterator])$=$.pipe(new le0);let Y=new me0,U;Y.on("error",(Q)=>{U=Q});let z=[];Y.on("opentag",(Q)=>z.push({eventType:"opentag",value:Q})),Y.on("text",(Q)=>z.push({eventType:"text",value:Q})),Y.on("closetag",(Q)=>z.push({eventType:"closetag",value:Q}));for await(let Q of $){if(Y.write(oe0(Q)),U)throw U;yield z,z=[]}}});var g0=E((ld1,j70)=>{var re0=gW(),se0=l6();class _J{prepare(){}render(){}parseOpen($){}parseText($){}parseClose($){}reconcile($,Y){}reset(){if(this.model=null,this.map)Object.values(this.map).forEach(($)=>{if($ instanceof _J)$.reset();else if($.xform)$.xform.reset()})}mergeModel($){this.model=Object.assign(this.model||{},$)}async parse($){for await(let Y of $)for(let{eventType:U,value:z}of Y)if(U==="opentag")this.parseOpen(z);else if(U==="text")this.parseText(z);else if(U==="closetag"){if(!this.parseClose(z.name))return this.model}return this.model}async parseStream($){return this.parse(re0($))}get xml(){return this.toXml(this.model)}toXml($){let Y=new se0;return this.render(Y,$),Y.xml}static toAttribute($,Y,U=!1){if($===void 0){if(U)return Y}else if(U||$!==Y)return $.toString();return}static toStringAttribute($,Y,U=!1){return _J.toAttribute($,Y,U)}static toStringValue($,Y){return $===void 0?Y:$}static toBoolAttribute($,Y,U=!1){if($===void 0){if(U)return Y}else if(U||$!==Y)return $?"1":"0";return}static toBoolValue($,Y){return $===void 0?Y:$==="1"}static toIntAttribute($,Y,U=!1){return _J.toAttribute($,Y,U)}static toIntValue($,Y){return $===void 0?Y:parseInt($,10)}static toFloatAttribute($,Y,U=!1){return _J.toAttribute($,Y,U)}static toFloatValue($,Y){return $===void 0?Y:parseFloat($)}}j70.exports=_J});var vJ=E((od1,R70)=>{var ae0=g0(),te0=l6();function E70($,Y){if($.openNode(Y.tag,Y.$),Y.c)Y.c.forEach((U)=>{E70($,U)});if(Y.t)$.writeText(Y.t);$.closeNode()}class C70 extends ae0{constructor($){super();this._model=$}render($){if(!this._xml){let Y=new te0;E70(Y,this._model),this._xml=Y.xml}$.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose($){switch($){case this._model.tag:return!1;default:return!0}}}R70.exports=C70});var t7=E((rd1,v70)=>{var ee0=g0();class _70 extends ee0{constructor($){super();this.tag=$.tag,this.always=!!$.always,this.count=$.count,this.empty=$.empty,this.$count=$.$count||"count",this.$=$.$,this.childXform=$.childXform,this.maxItems=$.maxItems}prepare($,Y){let{childXform:U}=this;if($)$.forEach((z,Q)=>{Y.index=Q,U.prepare(z,Y)})}render($,Y){if(this.always||Y&&Y.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,Y&&Y.length||0);let{childXform:U}=this;(Y||[]).forEach((z,Q)=>{U.render($,z,Q)}),$.closeNode()}else if(this.empty)$.leafNode(this.tag)}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.model=[],!0;default:if(this.childXform.parseOpen($))return this.parser=this.childXform,!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems)throw Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`)}return!0}return!1}reconcile($,Y){if($){let{childXform:U}=this;$.forEach((z)=>{U.reconcile(z,Y)})}}}v70.exports=_70});var e7=E((sd1,S70)=>{var $01=g0();class h70 extends $01{constructor($){super();this.name=$||"color"}get tag(){return this.name}render($,Y){if(Y){if($.openNode(this.name),Y.argb)$.addAttribute("rgb",Y.argb);else if(Y.theme!==void 0){if($.addAttribute("theme",Y.theme),Y.tint!==void 0)$.addAttribute("tint",Y.tint)}else if(Y.indexed!==void 0)$.addAttribute("indexed",Y.indexed);else $.addAttribute("auto","1");return $.closeNode(),!0}return!1}parseOpen($){if($.name===this.name){if($.attributes.rgb)this.model={argb:$.attributes.rgb};else if($.attributes.theme){if(this.model={theme:parseInt($.attributes.theme,10)},$.attributes.tint)this.model.tint=parseFloat($.attributes.tint)}else if($.attributes.indexed)this.model={indexed:parseInt($.attributes.indexed,10)};else this.model=void 0;return!0}return!1}parseText(){}parseClose(){return!1}}S70.exports=h70});var k70=E((ad1,y70)=>{var Y01=g0();class g70 extends Y01{constructor($){super();this.tag=$.tag,this.attr=$.attr}render($,Y){if(Y)$.openNode(this.tag),$.closeNode()}parseOpen($){if($.name===this.tag)this.model=!0}parseText(){}parseClose(){return!1}}y70.exports=g70});var sO=E((td1,f70)=>{var U01=g0();class x70 extends U01{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this.zero=$.zero}render($,Y){if(Y||this.zero){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,Y);else $.writeText(Y);$.closeNode()}}parseOpen($){if($.name===this.tag){if(this.attr)this.model=parseInt($.attributes[this.attr],10);else this.text=[];return!0}return!1}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=parseInt(this.text.join("")||0,10);return!1}}f70.exports=x70});var aO=E((ed1,b70)=>{var z01=g0();class u70 extends z01{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs}render($,Y){if(Y!==void 0){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,Y);else $.writeText(Y);$.closeNode()}}parseOpen($){if($.name===this.tag)if(this.attr)this.model=$.attributes[this.attr];else this.text=[]}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=this.text.join("");return!1}}b70.exports=u70});var c70=E(($m1,i70)=>{var Q01=g0();class tO extends Q01{constructor($){super();this.model=$}get tag(){return"u"}render($,Y){if(Y=Y||this.model,Y===!0)$.leafNode("u");else{let U=tO.Attributes[Y];if(U)$.leafNode("u",U)}}parseOpen($){if($.name==="u")this.model=$.attributes.val||!0}parseText(){}parseClose(){return!1}}tO.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}};i70.exports=tO});var $N=E((Ym1,n70)=>{var J01=e7(),XU=k70(),pk=sO(),dk=aO(),I01=c70(),K01=Y6(),G01=g0();class eO extends G01{constructor($){super();this.options=$||eO.OPTIONS,this.map={b:{prop:"bold",xform:new XU({tag:"b",attr:"val"})},i:{prop:"italic",xform:new XU({tag:"i",attr:"val"})},u:{prop:"underline",xform:new I01},charset:{prop:"charset",xform:new pk({tag:"charset",attr:"val"})},color:{prop:"color",xform:new J01},condense:{prop:"condense",xform:new XU({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new XU({tag:"extend",attr:"val"})},family:{prop:"family",xform:new pk({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new XU({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new dk({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new dk({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new XU({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new XU({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new pk({tag:"sz",attr:"val"})}},this.map[this.options.fontNameTag]={prop:"name",xform:new dk({tag:this.options.fontNameTag,attr:"val"})}}get tag(){return this.options.tagName}render($,Y){let{map:U}=this;$.openNode(this.options.tagName),K01.each(this.map,(z,Q)=>{U[Q].xform.render($,Y[z.prop])}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if(this.map[$.name])return this.parser=this.map[$.name].xform,this.parser.parseOpen($);switch($.name){case this.options.tagName:return this.model={},!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser&&!this.parser.parseClose($)){let Y=this.map[$];if(this.parser.model)this.model[Y.prop]=this.parser.model;return this.parser=void 0,!0}switch($){case this.options.tagName:return!1;default:return!0}}}eO.OPTIONS={tagName:"font",fontNameTag:"name"};n70.exports=eO});var sk=E((Um1,p70)=>{var YN=g0(),mk=e7();class lk extends YN{constructor(){super();this.map={color:new mk}}get tag(){return"stop"}render($,Y){$.openNode("stop"),$.addAttribute("position",Y.position),this.map.color.render($,Y.color),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"stop":return this.model={position:parseFloat($.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen($),!0;default:return!1}}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.color=this.parser.model,this.parser=void 0;return!0}return!1}}class ok extends YN{constructor(){super();this.map={fgColor:new mk("fgColor"),bgColor:new mk("bgColor")}}get name(){return"pattern"}get tag(){return"patternFill"}render($,Y){if($.openNode("patternFill"),$.addAttribute("patternType",Y.pattern),Y.fgColor)this.map.fgColor.render($,Y.fgColor);if(Y.bgColor)this.map.bgColor.render($,Y.bgColor);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"patternFill":return this.model={type:"pattern",pattern:$.attributes.patternType},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.parser.model)this.model[$]=this.parser.model;this.parser=void 0}return!0}return!1}}class rk extends YN{constructor(){super();this.map={stop:new lk}}get name(){return"gradient"}get tag(){return"gradientFill"}render($,Y){switch($.openNode("gradientFill"),Y.gradient){case"angle":$.addAttribute("degree",Y.degree);break;case"path":if($.addAttribute("type","path"),Y.center.left){if($.addAttribute("left",Y.center.left),Y.center.right===void 0)$.addAttribute("right",Y.center.left)}if(Y.center.right)$.addAttribute("right",Y.center.right);if(Y.center.top){if($.addAttribute("top",Y.center.top),Y.center.bottom===void 0)$.addAttribute("bottom",Y.center.top)}if(Y.center.bottom)$.addAttribute("bottom",Y.center.bottom);break;default:break}let U=this.map.stop;Y.stops.forEach((z)=>{U.render($,z)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"gradientFill":{let Y=this.model={stops:[]};if($.attributes.degree)Y.gradient="angle",Y.degree=parseInt($.attributes.degree,10);else if($.attributes.type==="path"){if(Y.gradient="path",Y.center={left:$.attributes.left?parseFloat($.attributes.left):0,top:$.attributes.top?parseFloat($.attributes.top):0},$.attributes.right!==$.attributes.left)Y.center.right=$.attributes.right?parseFloat($.attributes.right):0;if($.attributes.bottom!==$.attributes.top)Y.center.bottom=$.attributes.bottom?parseFloat($.attributes.bottom):0}return!0}case"stop":return this.parser=this.map.stop,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.stops.push(this.parser.model),this.parser=void 0;return!0}return!1}}class ZU extends YN{constructor(){super();this.map={patternFill:new ok,gradientFill:new rk}}get tag(){return"fill"}render($,Y){switch($.addRollback(),$.openNode("fill"),Y.type){case"pattern":this.map.patternFill.render($,Y);break;case"gradient":this.map.gradientFill.render($,Y);break;default:$.rollback();return}$.closeNode(),$.commit()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"fill":return this.model={},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0;return!0}return!1}validStyle($){return ZU.validPatternValues[$]}}ZU.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce(($,Y)=>{return $[Y]=!0,$},{});ZU.StopXform=lk;ZU.PatternFillXform=ok;ZU.GradientFillXform=rk;p70.exports=ZU});var ak=E((zm1,o70)=>{var m70=g0(),d70=Z8(),H01=e7();class $2 extends m70{constructor($){super();this.name=$,this.map={color:new H01}}get tag(){return this.name}render($,Y,U){let z=Y&&Y.color||U||this.defaultColor;if($.openNode(this.name),Y&&Y.style){if($.addAttribute("style",Y.style),z)this.map.color.render($,z)}$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.name:{let{style:Y}=$.attributes;if(Y)this.model={style:Y};else this.model=void 0;return!0}case"color":return this.parser=this.map.color,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($===this.name){if(this.map.color.model){if(!this.model)this.model={};this.model.color=this.map.color.model}}return!1}validStyle($){return $2.validStyleValues[$]}}$2.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce(($,Y)=>{return $[Y]=!0,$},{});class l70 extends m70{constructor(){super();this.map={top:new $2("top"),left:new $2("left"),bottom:new $2("bottom"),right:new $2("right"),diagonal:new $2("diagonal")}}render($,Y){let{color:U}=Y;if($.openNode("border"),Y.diagonal&&Y.diagonal.style){if(Y.diagonal.up)$.addAttribute("diagonalUp","1");if(Y.diagonal.down)$.addAttribute("diagonalDown","1")}function z(Q,J){if(Q&&!Q.color&&Y.color)Q={...Q,color:Y.color};J.render($,Q,U)}z(Y.left,this.map.left),z(Y.right,this.map.right),z(Y.top,this.map.top),z(Y.bottom,this.map.bottom),z(Y.diagonal,this.map.diagonal),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"border":return this.reset(),this.diagonalUp=d70.parseBoolean($.attributes.diagonalUp),this.diagonalDown=d70.parseBoolean($.attributes.diagonalDown),!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($==="border"){let Y=this.model={},U=function(z,Q,J){if(Q){if(J)Object.assign(Q,J);Y[z]=Q}};U("left",this.map.left.model),U("right",this.map.right.model),U("top",this.map.top.model),U("bottom",this.map.bottom.model),U("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}o70.exports=l70});var s70=E((Qm1,r70)=>{r70.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},51:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},52:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'yyyy"年"m"月"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'m"月"d"日"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},55:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},58:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}});var ek=E((Jm1,a70)=>{var W01=Y6(),tk=s70(),X01=g0();function Z01(){let $={};return W01.each(tk,(Y,U)=>{if(Y.f)$[Y.f]=parseInt(U,10)}),$}var q01=Z01();class UN extends X01{constructor($,Y){super();this.id=$,this.formatCode=Y}get tag(){return"numFmt"}render($,Y){$.leafNode("numFmt",{numFmtId:Y.id,formatCode:Y.formatCode})}parseOpen($){switch($.name){case"numFmt":return this.model={id:parseInt($.attributes.numFmtId,10),formatCode:$.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}parseText(){}parseClose(){return!1}}UN.getDefaultFmtId=function(Y){return q01[Y]};UN.getDefaultFmtCode=function(Y){return tk[Y]&&tk[Y].f};a70.exports=UN});var $x=E((Im1,Y20)=>{var t70=G5(),yW=Z8(),V01=g0(),qU={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce(($,Y)=>{return $[Y]=!0,$},{}),horizontal($){return this.horizontalValues[$]?$:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce(($,Y)=>{return $[Y]=!0,$},{}),vertical($){if($==="middle")return"center";return this.verticalValues[$]?$:void 0},wrapText($){return $?!0:void 0},shrinkToFit($){return $?!0:void 0},textRotation($){switch($){case"vertical":return $;default:return $=yW.validInt($),$>=-90&&$<=90?$:void 0}},indent($){return $=yW.validInt($),Math.max(0,$)},readingOrder($){switch($){case"ltr":return t70.ReadingOrder.LeftToRight;case"rtl":return t70.ReadingOrder.RightToLeft;default:return}}},e70={toXml($){if($=qU.textRotation($),$){if($==="vertical")return 255;let Y=Math.round($);if(Y>=0&&Y<=90)return Y;if(Y<0&&Y>=-90)return 90-Y}return},toModel($){let Y=yW.validInt($);if(Y!==void 0){if(Y===255)return"vertical";if(Y>=0&&Y<=90)return Y;if(Y>90&&Y<=180)return 90-Y}return}};class $20 extends V01{get tag(){return"alignment"}render($,Y){$.addRollback(),$.openNode("alignment");let U=!1;function z(Q,J){if(J)$.addAttribute(Q,J),U=!0}if(z("horizontal",qU.horizontal(Y.horizontal)),z("vertical",qU.vertical(Y.vertical)),z("wrapText",qU.wrapText(Y.wrapText)?"1":!1),z("shrinkToFit",qU.shrinkToFit(Y.shrinkToFit)?"1":!1),z("indent",qU.indent(Y.indent)),z("textRotation",e70.toXml(Y.textRotation)),z("readingOrder",qU.readingOrder(Y.readingOrder)),$.closeNode(),U)$.commit();else $.rollback()}parseOpen($){let Y={},U=!1;function z(Q,J,I){if(Q)Y[J]=I,U=!0}z($.attributes.horizontal,"horizontal",$.attributes.horizontal),z($.attributes.vertical,"vertical",$.attributes.vertical==="center"?"middle":$.attributes.vertical),z($.attributes.wrapText,"wrapText",yW.parseBoolean($.attributes.wrapText)),z($.attributes.shrinkToFit,"shrinkToFit",yW.parseBoolean($.attributes.shrinkToFit)),z($.attributes.indent,"indent",parseInt($.attributes.indent,10)),z($.attributes.textRotation,"textRotation",e70.toModel($.attributes.textRotation)),z($.attributes.readingOrder,"readingOrder",$.attributes.readingOrder==="2"?"rtl":"ltr"),this.model=U?Y:null}parseText(){}parseClose(){return!1}}Y20.exports=$20});var Yx=E((Km1,Q20)=>{var L01=g0(),U20={boolean($,Y){if($===void 0)return Y;return $}};class z20 extends L01{get tag(){return"protection"}render($,Y){$.addRollback(),$.openNode("protection");let U=!1;function z(Q,J){if(J!==void 0)$.addAttribute(Q,J),U=!0}if(z("locked",U20.boolean(Y.locked,!0)?void 0:"0"),z("hidden",U20.boolean(Y.hidden,!1)?"1":void 0),$.closeNode(),U)$.commit();else $.rollback()}parseOpen($){let Y={locked:$.attributes.locked!=="0",hidden:$.attributes.hidden==="1"},U=!Y.locked||Y.hidden;this.model=U?Y:null}parseText(){}parseClose(){return!1}}Q20.exports=z20});var K20=E((Gm1,I20)=>{var F01=g0(),w01=$x(),M01=Yx();class J20 extends F01{constructor($){super();this.xfId=!!($&&$.xfId),this.map={alignment:new w01,protection:new M01}}get tag(){return"xf"}render($,Y){if($.openNode("xf",{numFmtId:Y.numFmtId||0,fontId:Y.fontId||0,fillId:Y.fillId||0,borderId:Y.borderId||0}),this.xfId)$.addAttribute("xfId",Y.xfId||0);if(Y.numFmtId)$.addAttribute("applyNumberFormat","1");if(Y.fontId)$.addAttribute("applyFont","1");if(Y.fillId)$.addAttribute("applyFill","1");if(Y.borderId)$.addAttribute("applyBorder","1");if(Y.alignment)$.addAttribute("applyAlignment","1");if(Y.protection)$.addAttribute("applyProtection","1");if(Y.alignment)this.map.alignment.render($,Y.alignment);if(Y.protection)this.map.protection.render($,Y.protection);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"xf":if(this.model={numFmtId:parseInt($.attributes.numFmtId,10),fontId:parseInt($.attributes.fontId,10),fillId:parseInt($.attributes.fillId,10),borderId:parseInt($.attributes.borderId,10)},this.xfId)this.model.xfId=parseInt($.attributes.xfId,10);return!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen($),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.map.protection===this.parser)this.model.protection=this.parser.model;else this.model.alignment=this.parser.model;this.parser=void 0}return!0}return $!=="xf"}}I20.exports=J20});var W20=E((Hm1,H20)=>{var O01=g0(),N01=$x(),D01=ak(),A01=sk(),B01=$N(),P01=ek(),T01=Yx();class G20 extends O01{constructor(){super();this.map={alignment:new N01,border:new D01,fill:new A01,font:new B01,numFmt:new P01,protection:new T01}}get tag(){return"dxf"}render($,Y){if($.openNode(this.tag),Y.font)this.map.font.render($,Y.font);if(Y.numFmt&&Y.numFmtId){let U={id:Y.numFmtId,formatCode:Y.numFmt};this.map.numFmt.render($,U)}if(Y.fill)this.map.fill.render($,Y.fill);if(Y.alignment)this.map.alignment.render($,Y.alignment);if(Y.border)this.map.border.render($,Y.border);if(Y.protection)this.map.protection.render($,Y.protection);$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.reset(),!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if($===this.tag)return this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1;return!0}}H20.exports=G20});var JN=E((Wm1,L20)=>{var QN=G5(),j01=l6(),E01=g0(),zN=vJ(),VU=t7(),X20=$N(),Z20=sk(),q20=ak(),kW=ek(),Ux=K20(),C01=W20();class G$ extends E01{constructor($){super();if(this.map={numFmts:new VU({tag:"numFmts",count:!0,childXform:new kW}),fonts:new VU({tag:"fonts",count:!0,childXform:new X20,$:{"x14ac:knownFonts":1}}),fills:new VU({tag:"fills",count:!0,childXform:new Z20}),borders:new VU({tag:"borders",count:!0,childXform:new q20}),cellStyleXfs:new VU({tag:"cellStyleXfs",count:!0,childXform:new Ux}),cellXfs:new VU({tag:"cellXfs",count:!0,childXform:new Ux({xfId:!0})}),dxfs:new VU({tag:"dxfs",always:!0,count:!0,childXform:new C01}),numFmt:new kW,font:new X20,fill:new Z20,border:new q20,style:new Ux({xfId:!0}),cellStyles:G$.STATIC_XFORMS.cellStyles,tableStyles:G$.STATIC_XFORMS.tableStyles,extLst:G$.STATIC_XFORMS.extLst},$)this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}render($,Y){if(Y=Y||this.model,$.openXml(j01.StdDocAttributes),$.openNode("styleSheet",G$.STYLESHEET_ATTRIBUTES),this.index){if(Y.numFmts&&Y.numFmts.length)$.openNode("numFmts",{count:Y.numFmts.length}),Y.numFmts.forEach((U)=>{$.writeXml(U)}),$.closeNode();if(!Y.fonts.length)this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"});$.openNode("fonts",{count:Y.fonts.length,"x14ac:knownFonts":1}),Y.fonts.forEach((U)=>{$.writeXml(U)}),$.closeNode(),$.openNode("fills",{count:Y.fills.length}),Y.fills.forEach((U)=>{$.writeXml(U)}),$.closeNode(),$.openNode("borders",{count:Y.borders.length}),Y.borders.forEach((U)=>{$.writeXml(U)}),$.closeNode(),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),$.openNode("cellXfs",{count:Y.styles.length}),Y.styles.forEach((U)=>{$.writeXml(U)}),$.closeNode()}else this.map.numFmts.render($,Y.numFmts),this.map.fonts.render($,Y.fonts),this.map.fills.render($,Y.fills),this.map.borders.render($,Y.borders),this.map.cellStyleXfs.render($,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render($,Y.styles);G$.STATIC_XFORMS.cellStyles.render($),this.map.dxfs.render($,Y.dxfs),G$.STATIC_XFORMS.tableStyles.render($),G$.STATIC_XFORMS.extLst.render($),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"styleSheet":return this.initIndex(),!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"styleSheet":{this.model={};let Y=(U,z)=>{if(z.model&&z.model.length)this.model[U]=z.model};if(Y("numFmts",this.map.numFmts),Y("fonts",this.map.fonts),Y("fills",this.map.fills),Y("borders",this.map.borders),Y("styles",this.map.cellXfs),Y("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){let U=this.index.numFmt;this.model.numFmts.forEach((z)=>{U[z.id]=z.formatCode})}return!1}default:return!0}}addStyleModel($,Y){if(!$)return 0;if(!this.model.fonts.length)this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"});if(this.weakMap&&this.weakMap.has($))return this.weakMap.get($);let U={};if(Y=Y||QN.ValueType.Number,$.numFmt)U.numFmtId=this._addNumFmtStr($.numFmt);else switch(Y){case QN.ValueType.Number:U.numFmtId=this._addNumFmtStr("General");break;case QN.ValueType.Date:U.numFmtId=this._addNumFmtStr("mm-dd-yy");break;default:break}if($.font)U.fontId=this._addFont($.font);if($.border)U.borderId=this._addBorder($.border);if($.fill)U.fillId=this._addFill($.fill);if($.alignment)U.alignment=$.alignment;if($.protection)U.protection=$.protection;let z=this._addStyle(U);if(this.weakMap)this.weakMap.set($,z);return z}getStyleModel($){let Y=this.model.styles[$];if(!Y)return null;let U=this.index.model[$];if(U)return U;if(U=this.index.model[$]={},Y.numFmtId){let Q=this.index.numFmt[Y.numFmtId]||kW.getDefaultFmtCode(Y.numFmtId);if(Q)U.numFmt=Q}function z(Q,J,I){if(I||I===0){let K=J[I];if(K)U[Q]=K}}if(z("font",this.model.fonts,Y.fontId),z("border",this.model.borders,Y.borderId),z("fill",this.model.fills,Y.fillId),Y.alignment)U.alignment=Y.alignment;if(Y.protection)U.protection=Y.protection;return U}addDxfStyle($){if($.numFmt)$.numFmtId=this._addNumFmtStr($.numFmt);return this.model.dxfs.push($),this.model.dxfs.length-1}getDxfStyle($){return this.model.dxfs[$]}_addStyle($){let Y=this.map.style.toXml($),U=this.index.style[Y];if(U===void 0)U=this.index.style[Y]=this.model.styles.length,this.model.styles.push(Y);return U}_addNumFmtStr($){let Y=kW.getDefaultFmtId($);if(Y!==void 0)return Y;if(Y=this.index.numFmt[$],Y!==void 0)return Y;Y=this.index.numFmt[$]=164+this.model.numFmts.length;let U=this.map.numFmt.toXml({id:Y,formatCode:$});return this.model.numFmts.push(U),Y}_addFont($){let Y=this.map.font.toXml($),U=this.index.font[Y];if(U===void 0)U=this.index.font[Y]=this.model.fonts.length,this.model.fonts.push(Y);return U}_addBorder($){let Y=this.map.border.toXml($),U=this.index.border[Y];if(U===void 0)U=this.index.border[Y]=this.model.borders.length,this.model.borders.push(Y);return U}_addFill($){let Y=this.map.fill.toXml($),U=this.index.fill[Y];if(U===void 0)U=this.index.fill[Y]=this.model.fills.length,this.model.fills.push(Y);return U}}G$.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"};G$.STATIC_XFORMS={cellStyles:new zN({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new zN({tag:"dxfs",$:{count:0}}),tableStyles:new zN({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new zN({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})};class V20 extends G${constructor(){super();this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]}}parseStream($){return $.autodrain(),Promise.resolve()}addStyleModel($,Y){switch(Y){case QN.ValueType.Date:return this.dateStyleId;default:return 0}}get dateStyleId(){if(!this._dateStyleId){let $={numFmtId:kW.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push($)}return this._dateStyleId}getStyleModel(){return{}}}G$.Mock=V20;L20.exports=G$});var M20=E((Xm1,w20)=>{var R01=g0();class F20 extends R01{constructor($){super();this.tag=$.tag,this.attr=$.attr,this.attrs=$.attrs,this._format=$.format||function(Y){try{if(Number.isNaN(Y.getTime()))return"";return Y.toISOString()}catch(U){return""}},this._parse=$.parse||function(Y){return new Date(Y)}}render($,Y){if(Y){if($.openNode(this.tag),this.attrs)$.addAttributes(this.attrs);if(this.attr)$.addAttribute(this.attr,this._format(Y));else $.writeText(this._format(Y));$.closeNode()}}parseOpen($){if($.name===this.tag)if(this.attr)this.model=this._parse($.attributes[this.attr]);else this.text=[]}parseText($){if(!this.attr)this.text.push($)}parseClose(){if(!this.attr)this.model=this._parse(this.text.join(""));return!1}}w20.exports=F20});var Qx=E((Zm1,O20)=>{var _01=l6(),v01=g0(),zx=M20(),h$=aO(),h01=sO();class V5 extends v01{constructor(){super();this.map={"dc:creator":new h$({tag:"dc:creator"}),"dc:title":new h$({tag:"dc:title"}),"dc:subject":new h$({tag:"dc:subject"}),"dc:description":new h$({tag:"dc:description"}),"dc:identifier":new h$({tag:"dc:identifier"}),"dc:language":new h$({tag:"dc:language"}),"cp:keywords":new h$({tag:"cp:keywords"}),"cp:category":new h$({tag:"cp:category"}),"cp:lastModifiedBy":new h$({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new zx({tag:"cp:lastPrinted",format:V5.DateFormat}),"cp:revision":new h01({tag:"cp:revision"}),"cp:version":new h$({tag:"cp:version"}),"cp:contentStatus":new h$({tag:"cp:contentStatus"}),"cp:contentType":new h$({tag:"cp:contentType"}),"dcterms:created":new zx({tag:"dcterms:created",attrs:V5.DateAttrs,format:V5.DateFormat}),"dcterms:modified":new zx({tag:"dcterms:modified",attrs:V5.DateAttrs,format:V5.DateFormat})}}render($,Y){$.openXml(_01.StdDocAttributes),$.openNode("cp:coreProperties",V5.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render($,Y.creator),this.map["dc:title"].render($,Y.title),this.map["dc:subject"].render($,Y.subject),this.map["dc:description"].render($,Y.description),this.map["dc:identifier"].render($,Y.identifier),this.map["dc:language"].render($,Y.language),this.map["cp:keywords"].render($,Y.keywords),this.map["cp:category"].render($,Y.category),this.map["cp:lastModifiedBy"].render($,Y.lastModifiedBy),this.map["cp:lastPrinted"].render($,Y.lastPrinted),this.map["cp:revision"].render($,Y.revision),this.map["cp:version"].render($,Y.version),this.map["cp:contentStatus"].render($,Y.contentStatus),this.map["cp:contentType"].render($,Y.contentType),this.map["dcterms:created"].render($,Y.created),this.map["dcterms:modified"].render($,Y.modified),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}V5.DateFormat=function($){return $.toISOString().replace(/[.]\d{3}/,"")};V5.DateAttrs={"xsi:type":"dcterms:W3CDTF"};V5.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"};O20.exports=V5});var IN=E((qm1,D20)=>{var S01=g0();class N20 extends S01{get tag(){return"t"}render($,Y){if($.openNode("t"),/^\s|\n|\s$/.test(Y))$.addAttribute("xml:space","preserve");$.writeText(Y),$.closeNode()}get model(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,($,Y)=>String.fromCharCode(parseInt(Y,16)))}parseOpen($){switch($.name){case"t":return this._text=[],!0;default:return!1}}parseText($){this._text.push($)}parseClose(){return!1}}D20.exports=N20});var xW=E((Vm1,A20)=>{var g01=IN(),y01=$N(),k01=g0();class KN extends k01{constructor($){super();this.model=$}get tag(){return"r"}get textXform(){return this._textXform||(this._textXform=new g01)}get fontXform(){return this._fontXform||(this._fontXform=new y01(KN.FONT_OPTIONS))}render($,Y){if(Y=Y||this.model,$.openNode("r"),Y.font)this.fontXform.render($,Y.font);this.textXform.render($,Y.text),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen($),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){switch($){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}}KN.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"};A20.exports=KN});var T20=E((Lm1,P20)=>{var x01=IN(),f01=xW(),u01=g0();class B20 extends u01{constructor(){super();this.map={r:new f01,t:new x01}}get tag(){return"rPh"}render($,Y){if($.openNode(this.tag,{sb:Y.sb||0,eb:Y.eb||0}),Y&&Y.hasOwnProperty("richText")&&Y.richText){let{r:U}=this.map;Y.richText.forEach((z)=>{U.render($,z)})}else if(Y)this.map.t.render($,Y.text);$.closeNode()}parseOpen($){let{name:Y}=$;if(this.parser)return this.parser.parseOpen($),!0;if(Y===this.tag)return this.model={sb:parseInt($.attributes.sb,10),eb:parseInt($.attributes.eb,10)},!0;if(this.parser=this.map[Y],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){switch($){case"r":{let Y=this.model.richText;if(!Y)Y=this.model.richText=[];Y.push(this.parser.model);break}case"t":this.model.text=this.parser.model;break;default:break}this.parser=void 0}return!0}switch($){case this.tag:return!1;default:return!0}}}P20.exports=B20});var C20=E((Fm1,E20)=>{var b01=IN(),i01=xW(),c01=T20(),n01=g0();class j20 extends n01{constructor($){super();this.model=$,this.map={r:new i01,t:new b01,rPh:new c01}}get tag(){return"si"}render($,Y){if($.openNode(this.tag),Y&&Y.hasOwnProperty("richText")&&Y.richText)if(Y.richText.length)Y.richText.forEach((U)=>{this.map.r.render($,U)});else this.map.t.render($,"");else if(Y!==void 0&&Y!==null)this.map.t.render($,Y);$.closeNode()}parseOpen($){let{name:Y}=$;if(this.parser)return this.parser.parseOpen($),!0;if(Y===this.tag)return this.model={},!0;if(this.parser=this.map[Y],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){switch($){case"r":{let Y=this.model.richText;if(!Y)Y=this.model.richText=[];Y.push(this.parser.model);break}case"t":this.model=this.parser.model;break;default:break}this.parser=void 0}return!0}switch($){case this.tag:return!1;default:return!0}}}E20.exports=j20});var Jx=E((wm1,_20)=>{var p01=l6(),d01=g0(),m01=C20();class R20 extends d01{constructor($){super();this.model=$||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new m01)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString($){return this.model.values[$]}add($){return $.richText?this.addRichText($):this.addText($)}addText($){let Y=this.hash[$];if(Y===void 0)Y=this.hash[$]=this.model.values.length,this.model.values.push($);return this.model.count++,Y}addRichText($){let Y=this.sharedStringXform.toXml($),U=this.rich[Y];if(U===void 0)U=this.rich[Y]=this.model.values.length,this.model.values.push($);return this.model.count++,U}render($,Y){Y=Y||this._values,$.openXml(p01.StdDocAttributes),$.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:Y.count,uniqueCount:Y.values.length});let U=this.sharedStringXform;Y.values.forEach((z)=>{U.render($,z)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen($),!0;default:throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0;return!0}switch($){case"sst":return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}_20.exports=R20});var S20=E((Mm1,h20)=>{var l01=g0();class v20 extends l01{render($,Y){$.leafNode("Relationship",Y)}parseOpen($){switch($.name){case"Relationship":return this.model=$.attributes,!0;default:return!1}}parseText(){}parseClose(){return!1}}h20.exports=v20});var HN=E((Om1,g20)=>{var o01=l6(),r01=g0(),s01=S20();class GN extends r01{constructor(){super();this.map={Relationship:new s01}}render($,Y){Y=Y||this._values,$.openXml(o01.StdDocAttributes),$.openNode("Relationships",GN.RELATIONSHIPS_ATTRIBUTES),Y.forEach((U)=>{this.map.Relationship.render($,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.push(this.parser.model),this.parser=void 0;return!0}switch($){case"Relationships":return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}GN.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"};g20.exports=GN});var Ix=E((Nm1,y20)=>{var a01=l6(),t01=g0();class WN extends t01{render($,Y){$.openXml(a01.StdDocAttributes),$.openNode("Types",WN.PROPERTY_ATTRIBUTES);let U={};if((Y.media||[]).forEach((Q)=>{if(Q.type==="image"){let J=Q.extension;if(!U[J])U[J]=!0,$.leafNode("Default",{Extension:J,ContentType:`image/${J}`})}}),$.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),$.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),$.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),Y.worksheets.forEach((Q)=>{let J=`/xl/worksheets/sheet${Q.id}.xml`;$.leafNode("Override",{PartName:J,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),$.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),$.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),Y.sharedStrings&&Y.sharedStrings.count)$.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"});if(Y.tables)Y.tables.forEach((Q)=>{$.leafNode("Override",{PartName:`/xl/tables/${Q.target}`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})});if(Y.drawings)Y.drawings.forEach((Q)=>{$.leafNode("Override",{PartName:`/xl/drawings/${Q.name}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})});if(Y.commentRefs)$.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),Y.commentRefs.forEach(({commentName:Q})=>{$.leafNode("Override",{PartName:`/xl/${Q}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})});$.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),$.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),$.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}WN.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"};y20.exports=WN});var f20=E((Dm1,x20)=>{var e01=g0();class k20 extends e01{render($,Y){$.openNode("HeadingPairs"),$.openNode("vt:vector",{size:2,baseType:"variant"}),$.openNode("vt:variant"),$.leafNode("vt:lpstr",void 0,"Worksheets"),$.closeNode(),$.openNode("vt:variant"),$.leafNode("vt:i4",void 0,Y.length),$.closeNode(),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="HeadingPairs"}parseText(){}parseClose($){return $!=="HeadingPairs"}}x20.exports=k20});var i20=E((Am1,b20)=>{var $11=g0();class u20 extends $11{render($,Y){$.openNode("TitlesOfParts"),$.openNode("vt:vector",{size:Y.length,baseType:"lpstr"}),Y.forEach((U)=>{$.leafNode("vt:lpstr",void 0,U.name)}),$.closeNode(),$.closeNode()}parseOpen($){return $.name==="TitlesOfParts"}parseText(){}parseClose($){return $!=="TitlesOfParts"}}b20.exports=u20});var Kx=E((Bm1,n20)=>{var Y11=l6(),U11=g0(),c20=aO(),z11=f20(),Q11=i20();class hJ extends U11{constructor(){super();this.map={Company:new c20({tag:"Company"}),Manager:new c20({tag:"Manager"}),HeadingPairs:new z11,TitleOfParts:new Q11}}render($,Y){$.openXml(Y11.StdDocAttributes),$.openNode("Properties",hJ.PROPERTY_ATTRIBUTES),$.leafNode("Application",void 0,"Microsoft Excel"),$.leafNode("DocSecurity",void 0,"0"),$.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render($,Y.worksheets),this.map.TitleOfParts.render($,Y.worksheets),this.map.Company.render($,Y.company||""),this.map.Manager.render($,Y.manager),$.leafNode("LinksUpToDate",void 0,"false"),$.leafNode("SharedDoc",void 0,"false"),$.leafNode("HyperlinksChanged",void 0,"false"),$.leafNode("AppVersion",void 0,"16.0300"),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"Properties":return!0;default:if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}hJ.DateFormat=function($){return $.toISOString().replace(/[.]\d{3,6}/,"")};hJ.DateAttrs={"xsi:type":"dcterms:W3CDTF"};hJ.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"};n20.exports=hJ});var m20=E((Pm1,d20)=>{var J11=g0(),I11=c4();class p20 extends J11{render($,Y){$.openNode("definedName",{name:Y.name,localSheetId:Y.localSheetId}),$.writeText(Y.ranges.join(",")),$.closeNode()}parseOpen($){switch($.name){case"definedName":return this._parsedName=$.attributes.name,this._parsedLocalSheetId=$.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}parseText($){this._parsedText.push($)}parseClose(){if(this.model={name:this._parsedName,ranges:K11(this._parsedText.join(""))},this._parsedLocalSheetId!==void 0)this.model.localSheetId=parseInt(this._parsedLocalSheetId,10);return!1}}function Gx($){try{return I11.decodeEx($),!0}catch(Y){return!1}}function K11($){let Y=[],U=!1,z="";return $.split(",").forEach((Q)=>{if(!Q)return;let J=(Q.match(/'/g)||[]).length;if(!J){if(U)z+=`${Q},`;else if(Gx(Q))Y.push(Q);return}let I=J%2===0;if(!U&&I&&Gx(Q))Y.push(Q);else if(U&&!I){if(U=!1,Gx(z+Q))Y.push(z+Q);z=""}else U=!0,z+=`${Q},`}),Y}d20.exports=p20});var r20=E((Tm1,o20)=>{var G11=Z8(),H11=g0();class l20 extends H11{render($,Y){$.leafNode("sheet",{sheetId:Y.id,name:Y.name,state:Y.state,"r:id":Y.rId})}parseOpen($){if($.name==="sheet")return this.model={name:G11.xmlDecode($.attributes.name),id:parseInt($.attributes.sheetId,10),state:$.attributes.state,rId:$.attributes["r:id"]},!0;return!1}parseText(){}parseClose(){return!1}}o20.exports=l20});var t20=E((jm1,a20)=>{var W11=g0();class s20 extends W11{render($,Y){let U={xWindow:Y.x||0,yWindow:Y.y||0,windowWidth:Y.width||12000,windowHeight:Y.height||24000,firstSheet:Y.firstSheet,activeTab:Y.activeTab};if(Y.visibility&&Y.visibility!=="visible")U.visibility=Y.visibility;$.leafNode("workbookView",U)}parseOpen($){if($.name==="workbookView"){let Y=this.model={},U=function(Q,J,I){let K=J!==void 0?Y[Q]=J:I;if(K!==void 0)Y[Q]=K},z=function(Q,J,I){let K=J!==void 0?Y[Q]=parseInt(J,10):I;if(K!==void 0)Y[Q]=K};return z("x",$.attributes.xWindow,0),z("y",$.attributes.yWindow,0),z("width",$.attributes.windowWidth,25000),z("height",$.attributes.windowHeight,1e4),U("visibility",$.attributes.visibility,"visible"),z("activeTab",$.attributes.activeTab,void 0),z("firstSheet",$.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}a20.exports=s20});var YY0=E((Em1,$Y0)=>{var X11=g0();class e20 extends X11{render($,Y){$.leafNode("workbookPr",{date1904:Y.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen($){if($.name==="workbookPr")return this.model={date1904:$.attributes.date1904==="1"},!0;return!1}parseText(){}parseClose(){return!1}}$Y0.exports=e20});var QY0=E((Cm1,zY0)=>{var Z11=g0();class UY0 extends Z11{render($,Y){$.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:Y.fullCalcOnLoad?1:void 0})}parseOpen($){if($.name==="calcPr")return this.model={},!0;return!1}parseText(){}parseClose(){return!1}}zY0.exports=UY0});var XN=E((Rm1,JY0)=>{var q11=Y6(),V11=c4(),L11=l6(),F11=g0(),w11=vJ(),Hx=t7(),M11=m20(),O11=r20(),N11=t20(),D11=YY0(),A11=QY0();class SJ extends F11{constructor(){super();this.map={fileVersion:SJ.STATIC_XFORMS.fileVersion,workbookPr:new D11,bookViews:new Hx({tag:"bookViews",count:!1,childXform:new N11}),sheets:new Hx({tag:"sheets",count:!1,childXform:new O11}),definedNames:new Hx({tag:"definedNames",count:!1,childXform:new M11}),calcPr:new A11}}prepare($){$.sheets=$.worksheets;let Y=[],U=0;if($.sheets.forEach((z)=>{if(z.pageSetup&&z.pageSetup.printArea)z.pageSetup.printArea.split("&&").forEach((Q)=>{let J=Q.split(":"),I={name:"_xlnm.Print_Area",ranges:[`'${z.name}'!$${J[0]}:$${J[1]}`],localSheetId:U};Y.push(I)});if(z.pageSetup&&(z.pageSetup.printTitlesRow||z.pageSetup.printTitlesColumn)){let Q=[];if(z.pageSetup.printTitlesColumn){let I=z.pageSetup.printTitlesColumn.split(":");Q.push(`'${z.name}'!$${I[0]}:$${I[1]}`)}if(z.pageSetup.printTitlesRow){let I=z.pageSetup.printTitlesRow.split(":");Q.push(`'${z.name}'!$${I[0]}:$${I[1]}`)}let J={name:"_xlnm.Print_Titles",ranges:Q,localSheetId:U};Y.push(J)}U++}),Y.length)$.definedNames=$.definedNames.concat(Y);($.media||[]).forEach((z,Q)=>{z.name=z.type+(Q+1)})}render($,Y){$.openXml(L11.StdDocAttributes),$.openNode("workbook",SJ.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render($),this.map.workbookPr.render($,Y.properties),this.map.bookViews.render($,Y.views),this.map.sheets.render($,Y.sheets),this.map.definedNames.render($,Y.definedNames),this.map.calcPr.render($,Y.calcProperties),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"workbook":return!0;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);return!0}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"workbook":if(this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model)this.model.definedNames=this.map.definedNames.model;return!1;default:return!0}}reconcile($){let Y=($.workbookRels||[]).reduce((I,K)=>{return I[K.Id]=K,I},{}),U=[],z,Q=0;($.sheets||[]).forEach((I)=>{let K=Y[I.rId];if(!K)return;if(z=$.worksheetHash[`xl/${K.Target.replace(/^(\s|\/xl\/)+/,"")}`],z)z.name=I.name,z.id=I.id,z.state=I.state,U[Q++]=z});let J=[];q11.each($.definedNames,(I)=>{if(I.name==="_xlnm.Print_Area"){if(z=U[I.localSheetId],z){if(!z.pageSetup)z.pageSetup={};let K=V11.decodeEx(I.ranges[0]);z.pageSetup.printArea=z.pageSetup.printArea?`${z.pageSetup.printArea}&&${K.dimensions}`:K.dimensions}}else if(I.name==="_xlnm.Print_Titles"){if(z=U[I.localSheetId],z){if(!z.pageSetup)z.pageSetup={};let K=I.ranges.join(","),G=/\$/g,H=/\$\d+:\$\d+/,W=K.match(H);if(W&&W.length){let q=W[0];z.pageSetup.printTitlesRow=q.replace(G,"")}let X=/\$[A-Z]+:\$[A-Z]+/,Z=K.match(X);if(Z&&Z.length){let q=Z[0];z.pageSetup.printTitlesColumn=q.replace(G,"")}}}else J.push(I)}),$.definedNames=J,$.media.forEach((I,K)=>{I.index=K})}}SJ.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"};SJ.STATIC_XFORMS={fileVersion:new w11({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})};JY0.exports=SJ});var Y2=E((_m1,IY0)=>{IY0.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}});var ZY0=E((vm1,XY0)=>{var KY0=Y6(),B11=Y3(),GY0=c4(),HY0=G5();class WY0{constructor(){this.merges={}}add($){if(this.merges[$.master])this.merges[$.master].expandToAddress($.address);else{let Y=`${$.master}:${$.address}`;this.merges[$.master]=new B11(Y)}}get mergeCells(){return KY0.map(this.merges,($)=>$.range)}reconcile($,Y){KY0.each($,(U)=>{let z=GY0.decode(U);for(let Q=z.top;Q<=z.bottom;Q++){let J=Y[Q-1];for(let I=z.left;I<=z.right;I++){let K=J.cells[I-1];if(!K)J.cells[I]={type:HY0.ValueType.Null,address:GY0.encodeAddress(Q,I)};else if(K.type===HY0.ValueType.Merge)K.master=z.tl}}})}getMasterAddress($){let Y=this.hash[$];return Y&&Y.tl}}XY0.exports=WY0});var FY0=E((hm1,LY0)=>{var U2=Z8(),P11=g0(),T11=Y3(),Z1=G5(),j11=xW();function qY0($){if($===null||$===void 0)return Z1.ValueType.Null;if($ instanceof String||typeof $==="string")return Z1.ValueType.String;if(typeof $==="number")return Z1.ValueType.Number;if(typeof $==="boolean")return Z1.ValueType.Boolean;if($ instanceof Date)return Z1.ValueType.Date;if($.text&&$.hyperlink)return Z1.ValueType.Hyperlink;if($.formula)return Z1.ValueType.Formula;if($.error)return Z1.ValueType.Error;throw Error("I could not understand type of value")}function E11($){switch($.type){case Z1.ValueType.Formula:return qY0($.result);default:return $.type}}class VY0 extends P11{constructor(){super();this.richTextXForm=new j11}get tag(){return"c"}prepare($,Y){let U=Y.styles.addStyleModel($.style||{},E11($));if(U)$.styleId=U;if($.comment)Y.comments.push({...$.comment,ref:$.address});switch($.type){case Z1.ValueType.String:case Z1.ValueType.RichText:if(Y.sharedStrings)$.ssId=Y.sharedStrings.add($.value);break;case Z1.ValueType.Date:if(Y.date1904)$.date1904=!0;break;case Z1.ValueType.Hyperlink:if(Y.sharedStrings&&$.text!==void 0&&$.text!==null)$.ssId=Y.sharedStrings.add($.text);Y.hyperlinks.push({address:$.address,target:$.hyperlink,tooltip:$.tooltip});break;case Z1.ValueType.Merge:Y.merges.add($);break;case Z1.ValueType.Formula:if(Y.date1904)$.date1904=!0;if($.shareType==="shared")$.si=Y.siFormulae++;if($.formula)Y.formulae[$.address]=$;else if($.sharedFormula){let z=Y.formulae[$.sharedFormula];if(!z)throw Error(`Shared Formula master must exist above and or left of clone for cell ${$.address}`);if(z.si===void 0)z.shareType="shared",z.si=Y.siFormulae++,z.range=new T11(z.address,$.address);else if(z.range)z.range.expandToAddress($.address);$.si=z.si}break;default:break}}renderFormula($,Y){let U=null;switch(Y.shareType){case"shared":U={t:"shared",ref:Y.ref||Y.range.range,si:Y.si};break;case"array":U={t:"array",ref:Y.ref};break;default:if(Y.si!==void 0)U={t:"shared",si:Y.si};break}switch(qY0(Y.result)){case Z1.ValueType.Null:$.leafNode("f",U,Y.formula);break;case Z1.ValueType.String:$.addAttribute("t","str"),$.leafNode("f",U,Y.formula),$.leafNode("v",null,Y.result);break;case Z1.ValueType.Number:$.leafNode("f",U,Y.formula),$.leafNode("v",null,Y.result);break;case Z1.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("f",U,Y.formula),$.leafNode("v",null,Y.result?1:0);break;case Z1.ValueType.Error:$.addAttribute("t","e"),$.leafNode("f",U,Y.formula),$.leafNode("v",null,Y.result.error);break;case Z1.ValueType.Date:$.leafNode("f",U,Y.formula),$.leafNode("v",null,U2.dateToExcel(Y.result,Y.date1904));break;default:throw Error("I could not understand type of value")}}render($,Y){if(Y.type===Z1.ValueType.Null&&!Y.styleId)return;if($.openNode("c"),$.addAttribute("r",Y.address),Y.styleId)$.addAttribute("s",Y.styleId);switch(Y.type){case Z1.ValueType.Null:break;case Z1.ValueType.Number:$.leafNode("v",null,Y.value);break;case Z1.ValueType.Boolean:$.addAttribute("t","b"),$.leafNode("v",null,Y.value?"1":"0");break;case Z1.ValueType.Error:$.addAttribute("t","e"),$.leafNode("v",null,Y.value.error);break;case Z1.ValueType.String:case Z1.ValueType.RichText:if(Y.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,Y.ssId);else if(Y.value&&Y.value.richText)$.addAttribute("t","inlineStr"),$.openNode("is"),Y.value.richText.forEach((U)=>{this.richTextXForm.render($,U)}),$.closeNode("is");else $.addAttribute("t","str"),$.leafNode("v",null,Y.value);break;case Z1.ValueType.Date:$.leafNode("v",null,U2.dateToExcel(Y.value,Y.date1904));break;case Z1.ValueType.Hyperlink:if(Y.ssId!==void 0)$.addAttribute("t","s"),$.leafNode("v",null,Y.ssId);else $.addAttribute("t","str"),$.leafNode("v",null,Y.text);break;case Z1.ValueType.Formula:this.renderFormula($,Y);break;case Z1.ValueType.Merge:break;default:break}$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"c":if(this.model={address:$.attributes.r},this.t=$.attributes.t,$.attributes.s)this.model.styleId=parseInt($.attributes.s,10);return!0;case"f":return this.currentNode="f",this.model.si=$.attributes.si,this.model.shareType=$.attributes.t,this.model.ref=$.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser){this.parser.parseText($);return}switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+$:$;break;case"v":case"t":if(this.model.value&&this.model.value.richText)this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+$:$;else this.model.value=this.model.value?this.model.value+$:$;break;default:break}}parseClose($){switch($){case"c":{let{model:Y}=this;if(Y.formula||Y.shareType){if(Y.type=Z1.ValueType.Formula,Y.value){if(this.t==="str")Y.result=U2.xmlDecode(Y.value);else if(this.t==="b")Y.result=parseInt(Y.value,10)!==0;else if(this.t==="e")Y.result={error:Y.value};else Y.result=parseFloat(Y.value);Y.value=void 0}}else if(Y.value!==void 0)switch(this.t){case"s":Y.type=Z1.ValueType.String,Y.value=parseInt(Y.value,10);break;case"str":Y.type=Z1.ValueType.String,Y.value=U2.xmlDecode(Y.value);break;case"inlineStr":Y.type=Z1.ValueType.String;break;case"b":Y.type=Z1.ValueType.Boolean,Y.value=parseInt(Y.value,10)!==0;break;case"e":Y.type=Z1.ValueType.Error,Y.value={error:Y.value};break;default:Y.type=Z1.ValueType.Number,Y.value=parseFloat(Y.value);break}else if(Y.styleId)Y.type=Z1.ValueType.Null;else Y.type=Z1.ValueType.Merge;return!1}case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":if(this.parser)return this.parser.parseClose($),!0;return this.currentNode=void 0,!0;case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:if(this.parser)return this.parser.parseClose($),!0;return!1}}reconcile($,Y){let U=$.styleId&&Y.styles&&Y.styles.getStyleModel($.styleId);if(U)$.style=U;if($.styleId!==void 0)$.styleId=void 0;switch($.type){case Z1.ValueType.String:if(typeof $.value==="number"){if(Y.sharedStrings)$.value=Y.sharedStrings.getString($.value)}if($.value.richText)$.type=Z1.ValueType.RichText;break;case Z1.ValueType.Number:if(U&&U2.isDateFmt(U.numFmt))$.type=Z1.ValueType.Date,$.value=U2.excelToDate($.value,Y.date1904);break;case Z1.ValueType.Formula:if($.result!==void 0&&U&&U2.isDateFmt(U.numFmt))$.result=U2.excelToDate($.result,Y.date1904);if($.shareType==="shared"){if($.ref)Y.formulae[$.si]=$.address;else $.sharedFormula=Y.formulae[$.si],delete $.shareType;delete $.si}break;default:break}let z=Y.hyperlinkMap[$.address];if(z){if($.type===Z1.ValueType.Formula)$.text=$.result,$.result=void 0;else $.text=$.value,$.value=void 0;$.type=Z1.ValueType.Hyperlink,$.hyperlink=z}let Q=Y.commentsMap&&Y.commentsMap[$.address];if(Q)$.comment=Q}}LY0.exports=VY0});var Xx=E((Sm1,MY0)=>{var C11=g0(),Wx=Z8(),R11=FY0();class wY0 extends C11{constructor($){super();this.maxItems=$&&$.maxItems,this.map={c:new R11}}get tag(){return"row"}prepare($,Y){let U=Y.styles.addStyleModel($.style);if(U)$.styleId=U;let z=this.map.c;$.cells.forEach((Q)=>{z.prepare(Q,Y)})}render($,Y,U){if($.openNode("row"),$.addAttribute("r",Y.number),Y.height)$.addAttribute("ht",Y.height),$.addAttribute("customHeight","1");if(Y.hidden)$.addAttribute("hidden","1");if(Y.min>0&&Y.max>0&&Y.min<=Y.max)$.addAttribute("spans",`${Y.min}:${Y.max}`);if(Y.styleId)$.addAttribute("s",Y.styleId),$.addAttribute("customFormat","1");if($.addAttribute("x14ac:dyDescent","0.25"),Y.outlineLevel)$.addAttribute("outlineLevel",Y.outlineLevel);if(Y.collapsed)$.addAttribute("collapsed","1");let z=this.map.c;Y.cells.forEach((Q)=>{z.render($,Q,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="row"){this.numRowsSeen+=1;let Y=$.attributes.spans?$.attributes.spans.split(":").map((z)=>parseInt(z,10)):[void 0,void 0],U=this.model={number:parseInt($.attributes.r,10),min:Y[0],max:Y[1],cells:[]};if($.attributes.s)U.styleId=parseInt($.attributes.s,10);if(Wx.parseBoolean($.attributes.hidden))U.hidden=!0;if(Wx.parseBoolean($.attributes.bestFit))U.bestFit=!0;if($.attributes.ht)U.height=parseFloat($.attributes.ht);if($.attributes.outlineLevel)U.outlineLevel=parseInt($.attributes.outlineLevel,10);if(Wx.parseBoolean($.attributes.collapsed))U.collapsed=!0;return!0}if(this.parser=this.map[$.name],this.parser)return this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile($,Y){if($.style=$.styleId?Y.styles.getStyleModel($.styleId):{},$.styleId!==void 0)$.styleId=void 0;let U=this.map.c;$.cells.forEach((z)=>{U.reconcile(z,Y)})}}MY0.exports=wY0});var qx=E((gm1,NY0)=>{var Zx=Z8(),_11=g0();class OY0 extends _11{get tag(){return"col"}prepare($,Y){let U=Y.styles.addStyleModel($.style||{});if(U)$.styleId=U}render($,Y){if($.openNode("col"),$.addAttribute("min",Y.min),$.addAttribute("max",Y.max),Y.width)$.addAttribute("width",Y.width);if(Y.styleId)$.addAttribute("style",Y.styleId);if(Y.hidden)$.addAttribute("hidden","1");if(Y.bestFit)$.addAttribute("bestFit","1");if(Y.outlineLevel)$.addAttribute("outlineLevel",Y.outlineLevel);if(Y.collapsed)$.addAttribute("collapsed","1");$.addAttribute("customWidth","1"),$.closeNode()}parseOpen($){if($.name==="col"){let Y=this.model={min:parseInt($.attributes.min||"0",10),max:parseInt($.attributes.max||"0",10),width:$.attributes.width===void 0?void 0:parseFloat($.attributes.width||"0")};if($.attributes.style)Y.styleId=parseInt($.attributes.style,10);if(Zx.parseBoolean($.attributes.hidden))Y.hidden=!0;if(Zx.parseBoolean($.attributes.bestFit))Y.bestFit=!0;if($.attributes.outlineLevel)Y.outlineLevel=parseInt($.attributes.outlineLevel,10);if(Zx.parseBoolean($.attributes.collapsed))Y.collapsed=!0;return!0}return!1}parseText(){}parseClose(){return!1}reconcile($,Y){if($.styleId)$.style=Y.styles.getStyleModel($.styleId)}}NY0.exports=OY0});var BY0=E((ym1,AY0)=>{var v11=g0();class DY0 extends v11{get tag(){return"dimension"}render($,Y){if(Y)$.leafNode("dimension",{ref:Y})}parseOpen($){if($.name==="dimension")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}AY0.exports=DY0});var Vx=E((km1,TY0)=>{var h11=g0();class PY0 extends h11{get tag(){return"hyperlink"}render($,Y){if(this.isInternalLink(Y))$.leafNode("hyperlink",{ref:Y.address,"r:id":Y.rId,tooltip:Y.tooltip,location:Y.target});else $.leafNode("hyperlink",{ref:Y.address,"r:id":Y.rId,tooltip:Y.tooltip})}parseOpen($){if($.name==="hyperlink"){if(this.model={address:$.attributes.ref,rId:$.attributes["r:id"],tooltip:$.attributes.tooltip},$.attributes.location)this.model.target=$.attributes.location;return!0}return!1}parseText(){}parseClose(){return!1}isInternalLink($){return $.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test($.target)}}TY0.exports=PY0});var CY0=E((xm1,EY0)=>{var S11=g0();class jY0 extends S11{get tag(){return"mergeCell"}render($,Y){$.leafNode("mergeCell",{ref:Y})}parseOpen($){if($.name==="mergeCell")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}EY0.exports=jY0});var wx=E((fm1,_Y0)=>{var fW=Y6(),Fx=Z8(),gJ=c4(),g11=g0(),y11=Y3();function yJ($,Y,U,z){let Q=Y[U];if(Q!==void 0)$[U]=Q;else if(z!==void 0)$[U]=z}function Lx($,Y,U,z){let Q=Y[U];if(Q!==void 0)$[U]=Fx.parseBoolean(Q);else if(z!==void 0)$[U]=z}function k11($){let Y=fW.map($,(Q,J)=>({address:J,dataValidation:Q,marked:!1})).sort((Q,J)=>fW.strcmp(Q.address,J.address)),U=fW.keyBy(Y,"address"),z=(Q,J,I)=>{for(let K=0;K{if(!Q.marked){let J=gJ.decodeEx(Q.address);if(J.dimensions)return U[J.dimensions].marked=!0,{...Q.dataValidation,sqref:Q.address};let I=1,K=gJ.encodeAddress(J.row+I,J.col);while($[K]&&fW.isEqual(Q.dataValidation,$[K]))I++,K=gJ.encodeAddress(J.row+I,J.col);let G=1;while(z(J,I,J.col+G))G++;for(let H=0;H1||G>1){let H=J.row+(I-1),W=J.col+(G-1);return{...Q.dataValidation,sqref:`${Q.address}:${gJ.encodeAddress(H,W)}`}}return{...Q.dataValidation,sqref:Q.address}}return null}).filter(Boolean)}class RY0 extends g11{get tag(){return"dataValidations"}render($,Y){let U=k11(Y);if(U.length)$.openNode("dataValidations",{count:U.length}),U.forEach((z)=>{if($.openNode("dataValidation"),z.type!=="any"){if($.addAttribute("type",z.type),z.operator&&z.type!=="list"&&z.operator!=="between")$.addAttribute("operator",z.operator);if(z.allowBlank)$.addAttribute("allowBlank","1")}if(z.showInputMessage)$.addAttribute("showInputMessage","1");if(z.promptTitle)$.addAttribute("promptTitle",z.promptTitle);if(z.prompt)$.addAttribute("prompt",z.prompt);if(z.showErrorMessage)$.addAttribute("showErrorMessage","1");if(z.errorStyle)$.addAttribute("errorStyle",z.errorStyle);if(z.errorTitle)$.addAttribute("errorTitle",z.errorTitle);if(z.error)$.addAttribute("error",z.error);$.addAttribute("sqref",z.sqref),(z.formulae||[]).forEach((Q,J)=>{if($.openNode(`formula${J+1}`),z.type==="date")$.writeText(Fx.dateToExcel(new Date(Q)));else $.writeText(Q);$.closeNode()}),$.closeNode()}),$.closeNode()}parseOpen($){switch($.name){case"dataValidations":return this.model={},!0;case"dataValidation":{this._address=$.attributes.sqref;let Y={type:$.attributes.type||"any",formulae:[]};if($.attributes.type)Lx(Y,$.attributes,"allowBlank");switch(Lx(Y,$.attributes,"showInputMessage"),Lx(Y,$.attributes,"showErrorMessage"),Y.type){case"any":case"list":case"custom":break;default:yJ(Y,$.attributes,"operator","between");break}return yJ(Y,$.attributes,"promptTitle"),yJ(Y,$.attributes,"prompt"),yJ(Y,$.attributes,"errorStyle"),yJ(Y,$.attributes,"errorTitle"),yJ(Y,$.attributes,"error"),this._dataValidation=Y,!0}case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}parseText($){if(this._formula)this._formula.push($)}parseClose($){switch($){case"dataValidations":return!1;case"dataValidation":{if(!this._dataValidation.formulae||!this._dataValidation.formulae.length)delete this._dataValidation.formulae,delete this._dataValidation.operator;return(this._address.split(/\s+/g)||[]).forEach((U)=>{if(U.includes(":"))new y11(U).forEachAddress((Q)=>{this.model[Q]=this._dataValidation});else this.model[U]=this._dataValidation}),!0}case"formula1":case"formula2":{let Y=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":Y=parseInt(Y,10);break;case"decimal":Y=parseFloat(Y);break;case"date":Y=Fx.excelToDate(parseFloat(Y));break;default:break}return this._dataValidation.formulae.push(Y),this._formula=void 0,!0}default:return!0}}}_Y0.exports=RY0});var SY0=E((um1,hY0)=>{var x11=g0();class vY0 extends x11{get tag(){return"pageSetUpPr"}render($,Y){if(Y&&Y.fitToPage)return $.leafNode(this.tag,{fitToPage:Y.fitToPage?"1":void 0}),!0;return!1}parseOpen($){if($.name===this.tag)return this.model={fitToPage:$.attributes.fitToPage==="1"},!0;return!1}parseText(){}parseClose(){return!1}}hY0.exports=vY0});var kY0=E((bm1,yY0)=>{var f11=g0(),kJ=($)=>typeof $<"u";class gY0 extends f11{get tag(){return"outlinePr"}render($,Y){if(Y&&(kJ(Y.summaryBelow)||kJ(Y.summaryRight)))return $.leafNode(this.tag,{summaryBelow:kJ(Y.summaryBelow)?Number(Y.summaryBelow):void 0,summaryRight:kJ(Y.summaryRight)?Number(Y.summaryRight):void 0}),!0;return!1}parseOpen($){if($.name===this.tag)return this.model={summaryBelow:kJ($.attributes.summaryBelow)?Boolean(Number($.attributes.summaryBelow)):void 0,summaryRight:kJ($.attributes.summaryRight)?Boolean(Number($.attributes.summaryRight)):void 0},!0;return!1}parseText(){}parseClose(){return!1}}yY0.exports=gY0});var Mx=E((im1,fY0)=>{var u11=g0(),b11=e7(),i11=SY0(),c11=kY0();class xY0 extends u11{constructor(){super();this.map={tabColor:new b11("tabColor"),pageSetUpPr:new i11,outlinePr:new c11}}get tag(){return"sheetPr"}render($,Y){if(Y){$.addRollback(),$.openNode("sheetPr");let U=!1;if(U=this.map.tabColor.render($,Y.tabColor)||U,U=this.map.pageSetUpPr.render($,Y.pageSetup)||U,U=this.map.outlinePr.render($,Y.outlineProperties)||U,U)$.closeNode(),$.commit();else $.rollback()}}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name===this.tag)return this.reset(),!0;if(this.map[$.name])return this.parser=this.map[$.name],this.parser.parseOpen($),!0;return!1}parseText($){if(this.parser)return this.parser.parseText($),!0;return!1}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}if(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model){if(this.model={},this.map.tabColor.model)this.model.tabColor=this.map.tabColor.model;if(this.map.pageSetUpPr.model)this.model.pageSetup=this.map.pageSetUpPr.model;if(this.map.outlinePr.model)this.model.outlineProperties=this.map.outlinePr.model}else this.model=null;return!1}}fY0.exports=xY0});var Ox=E((cm1,bY0)=>{var n11=Y6(),p11=g0();class uY0 extends p11{get tag(){return"sheetFormatPr"}render($,Y){if(Y){let U={defaultRowHeight:Y.defaultRowHeight,outlineLevelRow:Y.outlineLevelRow,outlineLevelCol:Y.outlineLevelCol,"x14ac:dyDescent":Y.dyDescent};if(Y.defaultColWidth)U.defaultColWidth=Y.defaultColWidth;if(!Y.defaultRowHeight||Y.defaultRowHeight!==15)U.customHeight="1";if(n11.some(U,(z)=>z!==void 0))$.leafNode("sheetFormatPr",U)}}parseOpen($){if($.name==="sheetFormatPr"){if(this.model={defaultRowHeight:parseFloat($.attributes.defaultRowHeight||"0"),dyDescent:parseFloat($.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt($.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt($.attributes.outlineLevelCol||"0",10)},$.attributes.defaultColWidth)this.model.defaultColWidth=parseFloat($.attributes.defaultColWidth);return!0}return!1}parseText(){}parseClose(){return!1}}bY0.exports=uY0});var Nx=E((nm1,cY0)=>{var d11=c4(),m11=g0(),l11={frozen:"frozen",frozenSplit:"frozen",split:"split"};class iY0 extends m11{get tag(){return"sheetView"}prepare($){switch($.state){case"frozen":case"split":break;default:$.state="normal";break}}render($,Y){$.openNode("sheetView",{workbookViewId:Y.workbookViewId||0});let U=function(K,G,H){if(H)$.addAttribute(K,G)};U("rightToLeft","1",Y.rightToLeft===!0),U("tabSelected","1",Y.tabSelected),U("showRuler","0",Y.showRuler===!1),U("showRowColHeaders","0",Y.showRowColHeaders===!1),U("showGridLines","0",Y.showGridLines===!1),U("zoomScale",Y.zoomScale,Y.zoomScale),U("zoomScaleNormal",Y.zoomScaleNormal,Y.zoomScaleNormal),U("view",Y.style,Y.style);let z,Q,J,I;switch(Y.state){case"frozen":Q=Y.xSplit||0,J=Y.ySplit||0,z=Y.topLeftCell||d11.getAddress(J+1,Q+1).address,I=Y.xSplit&&Y.ySplit&&"bottomRight"||Y.xSplit&&"topRight"||"bottomLeft",$.leafNode("pane",{xSplit:Y.xSplit||void 0,ySplit:Y.ySplit||void 0,topLeftCell:z,activePane:I,state:"frozen"}),$.leafNode("selection",{pane:I,activeCell:Y.activeCell,sqref:Y.activeCell});break;case"split":if(Y.activePane==="topLeft")Y.activePane=void 0;$.leafNode("pane",{xSplit:Y.xSplit||void 0,ySplit:Y.ySplit||void 0,topLeftCell:Y.topLeftCell,activePane:Y.activePane}),$.leafNode("selection",{pane:Y.activePane,activeCell:Y.activeCell,sqref:Y.activeCell});break;case"normal":if(Y.activeCell)$.leafNode("selection",{activeCell:Y.activeCell,sqref:Y.activeCell});break;default:break}$.closeNode()}parseOpen($){switch($.name){case"sheetView":return this.sheetView={workbookViewId:parseInt($.attributes.workbookViewId,10),rightToLeft:$.attributes.rightToLeft==="1",tabSelected:$.attributes.tabSelected==="1",showRuler:$.attributes.showRuler!=="0",showRowColHeaders:$.attributes.showRowColHeaders!=="0",showGridLines:$.attributes.showGridLines!=="0",zoomScale:parseInt($.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt($.attributes.zoomScaleNormal||"100",10),style:$.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt($.attributes.xSplit||"0",10),ySplit:parseInt($.attributes.ySplit||"0",10),topLeftCell:$.attributes.topLeftCell,activePane:$.attributes.activePane||"topLeft",state:$.attributes.state},!0;case"selection":{let Y=$.attributes.pane||"topLeft";return this.selections[Y]={pane:Y,activeCell:$.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose($){let Y,U;switch($){case"sheetView":if(this.sheetView&&this.pane){if(Y=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:l11[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state==="split")Y.activePane=this.pane.activePane;if(U=this.selections[this.pane.activePane],U&&U.activeCell)Y.activeCell=U.activeCell;if(this.sheetView.style)Y.style=this.sheetView.style}else{if(Y=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},U=this.selections.topLeft,U&&U.activeCell)Y.activeCell=U.activeCell;if(this.sheetView.style)Y.style=this.sheetView.style}return!1;default:return!0}}reconcile(){}}cY0.exports=iY0});var Dx=E((pm1,pY0)=>{var o11=Y6(),r11=g0();function d8($,Y){return $?Y:void 0}function S$($,Y){return $===Y?!0:void 0}class nY0 extends r11{get tag(){return"sheetProtection"}render($,Y){if(Y){let U={sheet:d8(Y.sheet,"1"),selectLockedCells:Y.selectLockedCells===!1?"1":void 0,selectUnlockedCells:Y.selectUnlockedCells===!1?"1":void 0,formatCells:d8(Y.formatCells,"0"),formatColumns:d8(Y.formatColumns,"0"),formatRows:d8(Y.formatRows,"0"),insertColumns:d8(Y.insertColumns,"0"),insertRows:d8(Y.insertRows,"0"),insertHyperlinks:d8(Y.insertHyperlinks,"0"),deleteColumns:d8(Y.deleteColumns,"0"),deleteRows:d8(Y.deleteRows,"0"),sort:d8(Y.sort,"0"),autoFilter:d8(Y.autoFilter,"0"),pivotTables:d8(Y.pivotTables,"0")};if(Y.sheet)U.algorithmName=Y.algorithmName,U.hashValue=Y.hashValue,U.saltValue=Y.saltValue,U.spinCount=Y.spinCount,U.objects=d8(Y.objects===!1,"1"),U.scenarios=d8(Y.scenarios===!1,"1");if(o11.some(U,(z)=>z!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:if(this.model={sheet:S$($.attributes.sheet,"1"),objects:$.attributes.objects==="1"?!1:void 0,scenarios:$.attributes.scenarios==="1"?!1:void 0,selectLockedCells:$.attributes.selectLockedCells==="1"?!1:void 0,selectUnlockedCells:$.attributes.selectUnlockedCells==="1"?!1:void 0,formatCells:S$($.attributes.formatCells,"0"),formatColumns:S$($.attributes.formatColumns,"0"),formatRows:S$($.attributes.formatRows,"0"),insertColumns:S$($.attributes.insertColumns,"0"),insertRows:S$($.attributes.insertRows,"0"),insertHyperlinks:S$($.attributes.insertHyperlinks,"0"),deleteColumns:S$($.attributes.deleteColumns,"0"),deleteRows:S$($.attributes.deleteRows,"0"),sort:S$($.attributes.sort,"0"),autoFilter:S$($.attributes.autoFilter,"0"),pivotTables:S$($.attributes.pivotTables,"0")},$.attributes.algorithmName)this.model.algorithmName=$.attributes.algorithmName,this.model.hashValue=$.attributes.hashValue,this.model.saltValue=$.attributes.saltValue,this.model.spinCount=parseInt($.attributes.spinCount,10);return!0;default:return!1}}parseText(){}parseClose(){return!1}}pY0.exports=nY0});var Ax=E((dm1,mY0)=>{var s11=Y6(),a11=g0();class dY0 extends a11{get tag(){return"pageMargins"}render($,Y){if(Y){let U={left:Y.left,right:Y.right,top:Y.top,bottom:Y.bottom,header:Y.header,footer:Y.footer};if(s11.some(U,(z)=>z!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:return this.model={left:parseFloat($.attributes.left||0.7),right:parseFloat($.attributes.right||0.7),top:parseFloat($.attributes.top||0.75),bottom:parseFloat($.attributes.bottom||0.75),header:parseFloat($.attributes.header||0.3),footer:parseFloat($.attributes.footer||0.3)},!0;default:return!1}}parseText(){}parseClose(){return!1}}mY0.exports=dY0});var Bx=E((mm1,oY0)=>{var t11=Y6(),e11=g0();function ZN($){return $?"1":void 0}function $41($){switch($){case"overThenDown":return $;default:return}}function Y41($){switch($){case"atEnd":case"asDisplyed":return $;default:return}}function U41($){switch($){case"dash":case"blank":case"NA":return $;default:return}}function z41($){return $!==void 0?parseInt($,10):void 0}class lY0 extends e11{get tag(){return"pageSetup"}render($,Y){if(Y){let U={paperSize:Y.paperSize,orientation:Y.orientation,horizontalDpi:Y.horizontalDpi,verticalDpi:Y.verticalDpi,pageOrder:$41(Y.pageOrder),blackAndWhite:ZN(Y.blackAndWhite),draft:ZN(Y.draft),cellComments:Y41(Y.cellComments),errors:U41(Y.errors),scale:Y.scale,fitToWidth:Y.fitToWidth,fitToHeight:Y.fitToHeight,firstPageNumber:Y.firstPageNumber,useFirstPageNumber:ZN(Y.firstPageNumber),usePrinterDefaults:ZN(Y.usePrinterDefaults),copies:Y.copies};if(t11.some(U,(z)=>z!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:return this.model={paperSize:z41($.attributes.paperSize),orientation:$.attributes.orientation||"portrait",horizontalDpi:parseInt($.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt($.attributes.verticalDpi||"4294967295",10),pageOrder:$.attributes.pageOrder||"downThenOver",blackAndWhite:$.attributes.blackAndWhite==="1",draft:$.attributes.draft==="1",cellComments:$.attributes.cellComments||"None",errors:$.attributes.errors||"displayed",scale:parseInt($.attributes.scale||"100",10),fitToWidth:parseInt($.attributes.fitToWidth||"1",10),fitToHeight:parseInt($.attributes.fitToHeight||"1",10),firstPageNumber:parseInt($.attributes.firstPageNumber||"1",10),useFirstPageNumber:$.attributes.useFirstPageNumber==="1",usePrinterDefaults:$.attributes.usePrinterDefaults==="1",copies:parseInt($.attributes.copies||"1",10)},!0;default:return!1}}parseText(){}parseClose(){return!1}}oY0.exports=lY0});var aY0=E((lm1,sY0)=>{var Q41=Y6(),J41=g0();function qN($){return $?"1":void 0}class rY0 extends J41{get tag(){return"printOptions"}render($,Y){if(Y){let U={headings:qN(Y.showRowColHeaders),gridLines:qN(Y.showGridLines),horizontalCentered:qN(Y.horizontalCentered),verticalCentered:qN(Y.verticalCentered)};if(Q41.some(U,(z)=>z!==void 0))$.leafNode(this.tag,U)}}parseOpen($){switch($.name){case this.tag:return this.model={showRowColHeaders:$.attributes.headings==="1",showGridLines:$.attributes.gridLines==="1",horizontalCentered:$.attributes.horizontalCentered==="1",verticalCentered:$.attributes.verticalCentered==="1"},!0;default:return!1}}parseText(){}parseClose(){return!1}}sY0.exports=rY0});var Px=E((om1,eY0)=>{var I41=c4(),K41=g0();class tY0 extends K41{get tag(){return"autoFilter"}render($,Y){if(Y)if(typeof Y==="string")$.leafNode("autoFilter",{ref:Y});else{let U=function(J){if(typeof J==="string")return J;return I41.getAddress(J.row,J.column).address},z=U(Y.from),Q=U(Y.to);if(z&&Q)$.leafNode("autoFilter",{ref:`${z}:${Q}`})}}parseOpen($){if($.name==="autoFilter")this.model=$.attributes.ref}}eY0.exports=tY0});var Tx=E((rm1,YU0)=>{var G41=g0();class $U0 extends G41{get tag(){return"picture"}render($,Y){if(Y)$.leafNode(this.tag,{"r:id":Y.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}YU0.exports=$U0});var QU0=E((sm1,zU0)=>{var H41=g0();class UU0 extends H41{get tag(){return"drawing"}render($,Y){if(Y)$.leafNode(this.tag,{"r:id":Y.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}zU0.exports=UU0});var KU0=E((am1,IU0)=>{var W41=g0();class JU0 extends W41{get tag(){return"tablePart"}render($,Y){if(Y)$.leafNode(this.tag,{"r:id":Y.rId})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}IU0.exports=JU0});var WU0=E((tm1,HU0)=>{var X41=g0();class GU0 extends X41{get tag(){return"brk"}render($,Y){$.leafNode("brk",Y)}parseOpen($){if($.name==="brk")return this.model=$.attributes.ref,!0;return!1}parseText(){}parseClose(){return!1}}HU0.exports=GU0});var jx=E((em1,ZU0)=>{var Z41=WU0(),q41=t7();class XU0 extends q41{constructor(){let $={tag:"rowBreaks",count:!0,childXform:new Z41};super($)}render($,Y){if(Y&&Y.length){if($.openNode(this.tag,this.$),this.count)$.addAttribute(this.$count,Y.length),$.addAttribute("manualBreakCount",Y.length);let{childXform:U}=this;Y.forEach((z)=>{U.render($,z)}),$.closeNode()}else if(this.empty)$.leafNode(this.tag)}}ZU0.exports=XU0});var Ex=E(($l1,VU0)=>{var V41=g0();class qU0 extends V41{get tag(){return"headerFooter"}render($,Y){if(Y){$.addRollback();let U=!1;if($.openNode("headerFooter"),Y.differentFirst)$.addAttribute("differentFirst","1"),U=!0;if(Y.differentOddEven)$.addAttribute("differentOddEven","1"),U=!0;if(Y.oddHeader&&typeof Y.oddHeader==="string")$.leafNode("oddHeader",null,Y.oddHeader),U=!0;if(Y.oddFooter&&typeof Y.oddFooter==="string")$.leafNode("oddFooter",null,Y.oddFooter),U=!0;if(Y.evenHeader&&typeof Y.evenHeader==="string")$.leafNode("evenHeader",null,Y.evenHeader),U=!0;if(Y.evenFooter&&typeof Y.evenFooter==="string")$.leafNode("evenFooter",null,Y.evenFooter),U=!0;if(Y.firstHeader&&typeof Y.firstHeader==="string")$.leafNode("firstHeader",null,Y.firstHeader),U=!0;if(Y.firstFooter&&typeof Y.firstFooter==="string")$.leafNode("firstFooter",null,Y.firstFooter),U=!0;if(U)$.closeNode(),$.commit();else $.rollback()}}parseOpen($){switch($.name){case"headerFooter":if(this.model={},$.attributes.differentFirst)this.model.differentFirst=parseInt($.attributes.differentFirst,0)===1;if($.attributes.differentOddEven)this.model.differentOddEven=parseInt($.attributes.differentOddEven,0)===1;return!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}parseText($){switch(this.currentNode){case"oddHeader":this.model.oddHeader=$;break;case"oddFooter":this.model.oddFooter=$;break;case"evenHeader":this.model.evenHeader=$;break;case"evenFooter":this.model.evenFooter=$;break;case"firstHeader":this.model.firstHeader=$;break;case"firstFooter":this.model.firstFooter=$;break;default:break}}parseClose(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}VU0.exports=qU0});var m8=E((Yl1,FU0)=>{var L41=g0();class LU0 extends L41{createNewModel($){return{}}parseOpen($){if(this.parser=this.parser||this.map[$.name],this.parser)return this.parser.parseOpen($),!0;if($.name===this.tag)return this.model=this.createNewModel($),!0;return!1}parseText($){if(this.parser)this.parser.parseText($)}onParserClose($,Y){this.model[$]=Y.model}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.onParserClose($,this.parser),this.parser=void 0;return!0}return $!==this.tag}}FU0.exports=LU0});var VN=E((Ul1,OU0)=>{var wU0=g0();class MU0 extends wU0{get tag(){return"cfvo"}render($,Y){$.leafNode(this.tag,{type:Y.type,val:Y.value})}parseOpen($){this.model={type:$.attributes.type,value:wU0.toFloatValue($.attributes.val)}}parseClose($){return $!==this.tag}}OU0.exports=MU0});var AU0=E((zl1,DU0)=>{var F41=m8(),w41=e7(),M41=VN();class NU0 extends F41{constructor(){super();this.map={cfvo:this.cfvoXform=new M41,color:this.colorXform=new w41}}get tag(){return"dataBar"}render($,Y){$.openNode(this.tag),Y.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),this.colorXform.render($,Y.color),$.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose($,Y){switch($){case"cfvo":this.model.cfvo.push(Y.model);break;case"color":this.model.color=Y.model;break}}}DU0.exports=NU0});var CU0=E((Ql1,EU0)=>{var O41=g0(),BU0=m8();class PU0 extends O41{get tag(){return"x14:id"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}class TU0 extends BU0{constructor(){super();this.map={"x14:id":this.idXform=new PU0}}get tag(){return"ext"}render($,Y){$.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render($,Y.x14Id),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){this.model.x14Id=Y.model}}class jU0 extends BU0{constructor(){super();this.map={ext:new TU0}}get tag(){return"extLst"}render($,Y){$.openNode(this.tag),this.map.ext.render($,Y),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){Object.assign(this.model,Y.model)}}EU0.exports=jU0});var vU0=E((Jl1,_U0)=>{var N41=g0();class RU0 extends N41{get tag(){return"formula"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}_U0.exports=RU0});var gU0=E((Il1,SU0)=>{var D41=m8(),A41=e7(),B41=VN();class hU0 extends D41{constructor(){super();this.map={cfvo:this.cfvoXform=new B41,color:this.colorXform=new A41}}get tag(){return"colorScale"}render($,Y){$.openNode(this.tag),Y.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),Y.color.forEach((U)=>{this.colorXform.render($,U)}),$.closeNode()}createNewModel($){return{cfvo:[],color:[]}}onParserClose($,Y){this.model[$].push(Y.model)}}SU0.exports=hU0});var xU0=E((Kl1,kU0)=>{var xJ=g0(),P41=m8(),T41=VN();class yU0 extends P41{constructor(){super();this.map={cfvo:this.cfvoXform=new T41}}get tag(){return"iconSet"}render($,Y){$.openNode(this.tag,{iconSet:xJ.toStringAttribute(Y.iconSet,"3TrafficLights"),reverse:xJ.toBoolAttribute(Y.reverse,!1),showValue:xJ.toBoolAttribute(Y.showValue,!0)}),Y.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),$.closeNode()}createNewModel({attributes:$}){return{iconSet:xJ.toStringValue($.iconSet,"3TrafficLights"),reverse:xJ.toBoolValue($.reverse),showValue:xJ.toBoolValue($.showValue),cfvo:[]}}onParserClose($,Y){this.model[$].push(Y.model)}}kU0.exports=yU0});var bU0=E((Gl1,uU0)=>{var L5=g0(),j41=m8(),fU0=Y3(),E41=AU0(),C41=CU0(),R41=vU0(),_41=gU0(),v41=xU0(),h41={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},S41=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let Y=new fU0($.ref),{tl:U}=Y;switch($.operator){case"containsText":return`NOT(ISERROR(SEARCH("${$.text}",${U})))`;case"containsBlanks":return`LEN(TRIM(${U}))=0`;case"notContainsBlanks":return`LEN(TRIM(${U}))>0`;case"containsErrors":return`ISERROR(${U})`;case"notContainsErrors":return`NOT(ISERROR(${U}))`;default:return}},g41=($)=>{if($.formulae&&$.formulae[0])return $.formulae[0];let Y=new fU0($.ref),{tl:U}=Y;switch($.timePeriod){case"thisWeek":return`AND(TODAY()-ROUNDDOWN(${U},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${U},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case"lastWeek":return`AND(TODAY()-ROUNDDOWN(${U},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${U},0)<(WEEKDAY(TODAY())+7))`;case"nextWeek":return`AND(ROUNDDOWN(${U},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${U},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case"yesterday":return`FLOOR(${U},1)=TODAY()-1`;case"today":return`FLOOR(${U},1)=TODAY()`;case"tomorrow":return`FLOOR(${U},1)=TODAY()+1`;case"last7Days":return`AND(TODAY()-FLOOR(${U},1)<=6,FLOOR(${U},1)<=TODAY())`;case"lastMonth":return`AND(MONTH(${U})=MONTH(EDATE(TODAY(),0-1)),YEAR(${U})=YEAR(EDATE(TODAY(),0-1)))`;case"thisMonth":return`AND(MONTH(${U})=MONTH(TODAY()),YEAR(${U})=YEAR(TODAY()))`;case"nextMonth":return`AND(MONTH(${U})=MONTH(EDATE(TODAY(),0+1)),YEAR(${U})=YEAR(EDATE(TODAY(),0+1)))`;default:return}},y41=($)=>{let{type:Y,operator:U}=$;switch(Y){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:Y};default:return{type:Y,operator:U}}};class Cx extends j41{constructor(){super();this.map={dataBar:this.databarXform=new E41,extLst:this.extLstRefXform=new C41,formula:this.formulaXform=new R41,colorScale:this.colorScaleXform=new _41,iconSet:this.iconSetXform=new v41}}get tag(){return"cfRule"}static isPrimitive($){if($.type==="iconSet"){if($.custom||h41[$.iconSet])return!1}return!0}render($,Y){switch(Y.type){case"expression":this.renderExpression($,Y);break;case"cellIs":this.renderCellIs($,Y);break;case"top10":this.renderTop10($,Y);break;case"aboveAverage":this.renderAboveAverage($,Y);break;case"dataBar":this.renderDataBar($,Y);break;case"colorScale":this.renderColorScale($,Y);break;case"iconSet":this.renderIconSet($,Y);break;case"containsText":this.renderText($,Y);break;case"timePeriod":this.renderTimePeriod($,Y);break}}renderExpression($,Y){$.openNode(this.tag,{type:"expression",dxfId:Y.dxfId,priority:Y.priority}),this.formulaXform.render($,Y.formulae[0]),$.closeNode()}renderCellIs($,Y){$.openNode(this.tag,{type:"cellIs",dxfId:Y.dxfId,priority:Y.priority,operator:Y.operator}),Y.formulae.forEach((U)=>{this.formulaXform.render($,U)}),$.closeNode()}renderTop10($,Y){$.leafNode(this.tag,{type:"top10",dxfId:Y.dxfId,priority:Y.priority,percent:L5.toBoolAttribute(Y.percent,!1),bottom:L5.toBoolAttribute(Y.bottom,!1),rank:L5.toIntValue(Y.rank,10,!0)})}renderAboveAverage($,Y){$.leafNode(this.tag,{type:"aboveAverage",dxfId:Y.dxfId,priority:Y.priority,aboveAverage:L5.toBoolAttribute(Y.aboveAverage,!0)})}renderDataBar($,Y){$.openNode(this.tag,{type:"dataBar",priority:Y.priority}),this.databarXform.render($,Y),this.extLstRefXform.render($,Y),$.closeNode()}renderColorScale($,Y){$.openNode(this.tag,{type:"colorScale",priority:Y.priority}),this.colorScaleXform.render($,Y),$.closeNode()}renderIconSet($,Y){if(!Cx.isPrimitive(Y))return;$.openNode(this.tag,{type:"iconSet",priority:Y.priority}),this.iconSetXform.render($,Y),$.closeNode()}renderText($,Y){$.openNode(this.tag,{type:Y.operator,dxfId:Y.dxfId,priority:Y.priority,operator:L5.toStringAttribute(Y.operator,"containsText")});let U=S41(Y);if(U)this.formulaXform.render($,U);$.closeNode()}renderTimePeriod($,Y){$.openNode(this.tag,{type:"timePeriod",dxfId:Y.dxfId,priority:Y.priority,timePeriod:Y.timePeriod});let U=g41(Y);if(U)this.formulaXform.render($,U);$.closeNode()}createNewModel({attributes:$}){return{...y41($),dxfId:L5.toIntValue($.dxfId),priority:L5.toIntValue($.priority),timePeriod:$.timePeriod,percent:L5.toBoolValue($.percent),bottom:L5.toBoolValue($.bottom),rank:L5.toIntValue($.rank),aboveAverage:L5.toBoolValue($.aboveAverage)}}onParserClose($,Y){switch($){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,Y.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(Y.model);break}}}uU0.exports=Cx});var nU0=E((Hl1,cU0)=>{var k41=m8(),Rx=bU0();class iU0 extends k41{constructor(){super();this.map={cfRule:new Rx}}get tag(){return"conditionalFormatting"}render($,Y){if(!Y.rules.some(Rx.isPrimitive))return;$.openNode(this.tag,{sqref:Y.ref}),Y.rules.forEach((U)=>{if(Rx.isPrimitive(U))U.ref=Y.ref,this.map.cfRule.render($,U)}),$.closeNode()}createNewModel({attributes:$}){return{ref:$.sqref,rules:[]}}onParserClose($,Y){this.model.rules.push(Y.model)}}cU0.exports=iU0});var _x=E((Wl1,dU0)=>{var x41=g0(),f41=nU0();class pU0 extends x41{constructor(){super();this.cfXform=new f41}get tag(){return"conditionalFormatting"}reset(){this.model=[]}prepare($,Y){let U=$.reduce((z,Q)=>Math.max(z,...Q.rules.map((J)=>J.priority||0)),1);$.forEach((z)=>{z.rules.forEach((Q)=>{if(!Q.priority)Q.priority=U++;if(Q.style)Q.dxfId=Y.styles.addDxfStyle(Q.style)})})}render($,Y){Y.forEach((U)=>{this.cfXform.render($,U)})}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen($),!0;default:return!1}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))return this.model.push(this.parser.model),this.parser=void 0,!1;return!0}return!1}reconcile($,Y){$.forEach((U)=>{U.rules.forEach((z)=>{if(z.dxfId!==void 0)z.style=Y.styles.getDxfStyle(z.dxfId),delete z.dxfId})})}}dU0.exports=pU0});var vx=E((mU0)=>{Object.defineProperty(mU0,"__esModule",{value:!0});mU0.default=i41;var u41=b41(I0("crypto"));function b41($){return $&&$.__esModule?$:{default:$}}var FN=new Uint8Array(256),LN=FN.length;function i41(){if(LN>FN.length-16)u41.default.randomFillSync(FN),LN=0;return FN.slice(LN,LN+=16)}});var rU0=E((lU0)=>{Object.defineProperty(lU0,"__esModule",{value:!0});lU0.default=void 0;var n41=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;lU0.default=n41});var uW=E((sU0)=>{Object.defineProperty(sU0,"__esModule",{value:!0});sU0.default=void 0;var p41=d41(rU0());function d41($){return $&&$.__esModule?$:{default:$}}function m41($){return typeof $==="string"&&p41.default.test($)}var l41=m41;sU0.default=l41});var bW=E((tU0)=>{Object.defineProperty(tU0,"__esModule",{value:!0});tU0.default=void 0;var o41=r41(uW());function r41($){return $&&$.__esModule?$:{default:$}}var r6=[];for(let $=0;$<256;++$)r6.push(($+256).toString(16).substr(1));function s41($,Y=0){let U=(r6[$[Y+0]]+r6[$[Y+1]]+r6[$[Y+2]]+r6[$[Y+3]]+"-"+r6[$[Y+4]]+r6[$[Y+5]]+"-"+r6[$[Y+6]]+r6[$[Y+7]]+"-"+r6[$[Y+8]]+r6[$[Y+9]]+"-"+r6[$[Y+10]]+r6[$[Y+11]]+r6[$[Y+12]]+r6[$[Y+13]]+r6[$[Y+14]]+r6[$[Y+15]]).toLowerCase();if(!(0,o41.default)(U))throw TypeError("Stringified UUID is invalid");return U}var a41=s41;tU0.default=a41});var Qz0=E((Uz0)=>{Object.defineProperty(Uz0,"__esModule",{value:!0});Uz0.default=void 0;var t41=Yz0(vx()),e41=Yz0(bW());function Yz0($){return $&&$.__esModule?$:{default:$}}var $z0,hx,Sx=0,gx=0;function $61($,Y,U){let z=Y&&U||0,Q=Y||Array(16);$=$||{};let J=$.node||$z0,I=$.clockseq!==void 0?$.clockseq:hx;if(J==null||I==null){let Z=$.random||($.rng||t41.default)();if(J==null)J=$z0=[Z[0]|1,Z[1],Z[2],Z[3],Z[4],Z[5]];if(I==null)I=hx=(Z[6]<<8|Z[7])&16383}let K=$.msecs!==void 0?$.msecs:Date.now(),G=$.nsecs!==void 0?$.nsecs:gx+1,H=K-Sx+(G-gx)/1e4;if(H<0&&$.clockseq===void 0)I=I+1&16383;if((H<0||K>Sx)&&$.nsecs===void 0)G=0;if(G>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");Sx=K,gx=G,hx=I,K+=12219292800000;let W=((K&268435455)*1e4+G)%4294967296;Q[z++]=W>>>24&255,Q[z++]=W>>>16&255,Q[z++]=W>>>8&255,Q[z++]=W&255;let X=K/4294967296*1e4&268435455;Q[z++]=X>>>8&255,Q[z++]=X&255,Q[z++]=X>>>24&15|16,Q[z++]=X>>>16&255,Q[z++]=I>>>8|128,Q[z++]=I&255;for(let Z=0;Z<6;++Z)Q[z+Z]=J[Z];return Y||(0,e41.default)(Q)}var Y61=$61;Uz0.default=Y61});var yx=E((Jz0)=>{Object.defineProperty(Jz0,"__esModule",{value:!0});Jz0.default=void 0;var U61=z61(uW());function z61($){return $&&$.__esModule?$:{default:$}}function Q61($){if(!(0,U61.default)($))throw TypeError("Invalid UUID");let Y,U=new Uint8Array(16);return U[0]=(Y=parseInt($.slice(0,8),16))>>>24,U[1]=Y>>>16&255,U[2]=Y>>>8&255,U[3]=Y&255,U[4]=(Y=parseInt($.slice(9,13),16))>>>8,U[5]=Y&255,U[6]=(Y=parseInt($.slice(14,18),16))>>>8,U[7]=Y&255,U[8]=(Y=parseInt($.slice(19,23),16))>>>8,U[9]=Y&255,U[10]=(Y=parseInt($.slice(24,36),16))/1099511627776&255,U[11]=Y/4294967296&255,U[12]=Y>>>24&255,U[13]=Y>>>16&255,U[14]=Y>>>8&255,U[15]=Y&255,U}var J61=Q61;Jz0.default=J61});var kx=E((Wz0)=>{Object.defineProperty(Wz0,"__esModule",{value:!0});Wz0.default=H61;Wz0.URL=Wz0.DNS=void 0;var I61=Kz0(bW()),K61=Kz0(yx());function Kz0($){return $&&$.__esModule?$:{default:$}}function G61($){$=unescape(encodeURIComponent($));let Y=[];for(let U=0;U<$.length;++U)Y.push($.charCodeAt(U));return Y}var Gz0="6ba7b810-9dad-11d1-80b4-00c04fd430c8";Wz0.DNS=Gz0;var Hz0="6ba7b811-9dad-11d1-80b4-00c04fd430c8";Wz0.URL=Hz0;function H61($,Y,U){function z(Q,J,I,K){if(typeof Q==="string")Q=G61(Q);if(typeof J==="string")J=(0,K61.default)(J);if(J.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let G=new Uint8Array(16+Q.length);if(G.set(J),G.set(Q,J.length),G=U(G),G[6]=G[6]&15|Y,G[8]=G[8]&63|128,I){K=K||0;for(let H=0;H<16;++H)I[K+H]=G[H];return I}return(0,I61.default)(G)}try{z.name=$}catch(Q){}return z.DNS=Gz0,z.URL=Hz0,z}});var Vz0=E((Zz0)=>{Object.defineProperty(Zz0,"__esModule",{value:!0});Zz0.default=void 0;var Z61=q61(I0("crypto"));function q61($){return $&&$.__esModule?$:{default:$}}function V61($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return Z61.default.createHash("md5").update($).digest()}var L61=V61;Zz0.default=L61});var Mz0=E((Fz0)=>{Object.defineProperty(Fz0,"__esModule",{value:!0});Fz0.default=void 0;var F61=Lz0(kx()),w61=Lz0(Vz0());function Lz0($){return $&&$.__esModule?$:{default:$}}var M61=(0,F61.default)("v3",48,w61.default),O61=M61;Fz0.default=O61});var Az0=E((Nz0)=>{Object.defineProperty(Nz0,"__esModule",{value:!0});Nz0.default=void 0;var N61=Oz0(vx()),D61=Oz0(bW());function Oz0($){return $&&$.__esModule?$:{default:$}}function A61($,Y,U){$=$||{};let z=$.random||($.rng||N61.default)();if(z[6]=z[6]&15|64,z[8]=z[8]&63|128,Y){U=U||0;for(let Q=0;Q<16;++Q)Y[U+Q]=z[Q];return Y}return(0,D61.default)(z)}var B61=A61;Nz0.default=B61});var Tz0=E((Bz0)=>{Object.defineProperty(Bz0,"__esModule",{value:!0});Bz0.default=void 0;var P61=T61(I0("crypto"));function T61($){return $&&$.__esModule?$:{default:$}}function j61($){if(Array.isArray($))$=Buffer.from($);else if(typeof $==="string")$=Buffer.from($,"utf8");return P61.default.createHash("sha1").update($).digest()}var E61=j61;Bz0.default=E61});var Rz0=E((Ez0)=>{Object.defineProperty(Ez0,"__esModule",{value:!0});Ez0.default=void 0;var C61=jz0(kx()),R61=jz0(Tz0());function jz0($){return $&&$.__esModule?$:{default:$}}var _61=(0,C61.default)("v5",80,R61.default),v61=_61;Ez0.default=v61});var hz0=E((_z0)=>{Object.defineProperty(_z0,"__esModule",{value:!0});_z0.default=void 0;var h61="00000000-0000-0000-0000-000000000000";_z0.default=h61});var yz0=E((Sz0)=>{Object.defineProperty(Sz0,"__esModule",{value:!0});Sz0.default=void 0;var S61=g61(uW());function g61($){return $&&$.__esModule?$:{default:$}}function y61($){if(!(0,S61.default)($))throw TypeError("Invalid UUID");return parseInt($.substr(14,1),16)}var k61=y61;Sz0.default=k61});var kz0=E((F5)=>{Object.defineProperty(F5,"__esModule",{value:!0});Object.defineProperty(F5,"v1",{enumerable:!0,get:function(){return x61.default}});Object.defineProperty(F5,"v3",{enumerable:!0,get:function(){return f61.default}});Object.defineProperty(F5,"v4",{enumerable:!0,get:function(){return u61.default}});Object.defineProperty(F5,"v5",{enumerable:!0,get:function(){return b61.default}});Object.defineProperty(F5,"NIL",{enumerable:!0,get:function(){return i61.default}});Object.defineProperty(F5,"version",{enumerable:!0,get:function(){return c61.default}});Object.defineProperty(F5,"validate",{enumerable:!0,get:function(){return n61.default}});Object.defineProperty(F5,"stringify",{enumerable:!0,get:function(){return p61.default}});Object.defineProperty(F5,"parse",{enumerable:!0,get:function(){return d61.default}});var x61=X3(Qz0()),f61=X3(Mz0()),u61=X3(Az0()),b61=X3(Rz0()),i61=X3(hz0()),c61=X3(yz0()),n61=X3(uW()),p61=X3(bW()),d61=X3(yx());function X3($){return $&&$.__esModule?$:{default:$}}});var uz0=E((jl1,fz0)=>{var m61=g0();class xz0 extends m61{get tag(){return"xm:f"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}fz0.exports=xz0});var xx=E((El1,iz0)=>{var l61=m8(),o61=uz0();class bz0 extends l61{constructor(){super();this.map={"xm:f":this.fExtXform=new o61}}get tag(){return"x14:cfvo"}render($,Y){if($.openNode(this.tag,{type:Y.type}),Y.value!==void 0)this.fExtXform.render($,Y.value);$.closeNode()}createNewModel($){return{type:$.attributes.type}}onParserClose($,Y){switch($){case"xm:f":this.model.value=Y.model?parseFloat(Y.model):0;break}}}iz0.exports=bz0});var pz0=E((Cl1,nz0)=>{var q8=g0(),r61=m8(),wN=e7(),s61=xx();class cz0 extends r61{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new s61,"x14:borderColor":this.borderColorXform=new wN("x14:borderColor"),"x14:negativeBorderColor":this.negativeBorderColorXform=new wN("x14:negativeBorderColor"),"x14:negativeFillColor":this.negativeFillColorXform=new wN("x14:negativeFillColor"),"x14:axisColor":this.axisColorXform=new wN("x14:axisColor")}}static isExt($){return!$.gradient}get tag(){return"x14:dataBar"}render($,Y){$.openNode(this.tag,{minLength:q8.toIntAttribute(Y.minLength,0,!0),maxLength:q8.toIntAttribute(Y.maxLength,100,!0),border:q8.toBoolAttribute(Y.border,!1),gradient:q8.toBoolAttribute(Y.gradient,!0),negativeBarColorSameAsPositive:q8.toBoolAttribute(Y.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:q8.toBoolAttribute(Y.negativeBarBorderColorSameAsPositive,!0),axisPosition:q8.toAttribute(Y.axisPosition,"auto"),direction:q8.toAttribute(Y.direction,"leftToRight")}),Y.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),this.borderColorXform.render($,Y.borderColor),this.negativeBorderColorXform.render($,Y.negativeBorderColor),this.negativeFillColorXform.render($,Y.negativeFillColor),this.axisColorXform.render($,Y.axisColor),$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],minLength:q8.toIntValue($.minLength,0),maxLength:q8.toIntValue($.maxLength,100),border:q8.toBoolValue($.border,!1),gradient:q8.toBoolValue($.gradient,!0),negativeBarColorSameAsPositive:q8.toBoolValue($.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:q8.toBoolValue($.negativeBarBorderColorSameAsPositive,!0),axisPosition:q8.toStringValue($.axisPosition,"auto"),direction:q8.toStringValue($.direction,"leftToRight")}}onParserClose($,Y){let[,U]=$.split(":");switch(U){case"cfvo":this.model.cfvo.push(Y.model);break;default:this.model[U]=Y.model;break}}}nz0.exports=cz0});var oz0=E((Rl1,lz0)=>{var dz0=g0();class mz0 extends dz0{get tag(){return"x14:cfIcon"}render($,Y){$.leafNode(this.tag,{iconSet:Y.iconSet,iconId:Y.iconId})}parseOpen({attributes:$}){this.model={iconSet:$.iconSet,iconId:dz0.toIntValue($.iconId)}}parseClose($){return $!==this.tag}}lz0.exports=mz0});var az0=E((_l1,sz0)=>{var LU=g0(),a61=m8(),t61=xx(),e61=oz0();class rz0 extends a61{constructor(){super();this.map={"x14:cfvo":this.cfvoXform=new t61,"x14:cfIcon":this.cfIconXform=new e61}}get tag(){return"x14:iconSet"}render($,Y){if($.openNode(this.tag,{iconSet:LU.toStringAttribute(Y.iconSet),reverse:LU.toBoolAttribute(Y.reverse,!1),showValue:LU.toBoolAttribute(Y.showValue,!0),custom:LU.toBoolAttribute(Y.icons,!1)}),Y.cfvo.forEach((U)=>{this.cfvoXform.render($,U)}),Y.icons)Y.icons.forEach((U,z)=>{U.iconId=z,this.cfIconXform.render($,U)});$.closeNode()}createNewModel({attributes:$}){return{cfvo:[],iconSet:LU.toStringValue($.iconSet,"3TrafficLights"),reverse:LU.toBoolValue($.reverse,!1),showValue:LU.toBoolValue($.showValue,!0)}}onParserClose($,Y){let[,U]=$.split(":");switch(U){case"cfvo":this.model.cfvo.push(Y.model);break;case"cfIcon":if(!this.model.icons)this.model.icons=[];this.model.icons.push(Y.model);break;default:this.model[U]=Y.model;break}}}sz0.exports=rz0});var fx=E((vl1,$Q0)=>{var{v4:tz0}=kz0(),$81=g0(),Y81=m8(),ez0=pz0(),U81=az0(),z81={"3Triangles":!0,"3Stars":!0,"5Boxes":!0};class MN extends Y81{constructor(){super();this.map={"x14:dataBar":this.databarXform=new ez0,"x14:iconSet":this.iconSetXform=new U81}}get tag(){return"x14:cfRule"}static isExt($){if($.type==="dataBar")return ez0.isExt($);if($.type==="iconSet"){if($.custom||z81[$.iconSet])return!0}return!1}prepare($){if(MN.isExt($))$.x14Id=`{${tz0()}}`.toUpperCase()}render($,Y){if(!MN.isExt(Y))return;switch(Y.type){case"dataBar":this.renderDataBar($,Y);break;case"iconSet":this.renderIconSet($,Y);break}}renderDataBar($,Y){$.openNode(this.tag,{type:"dataBar",id:Y.x14Id}),this.databarXform.render($,Y),$.closeNode()}renderIconSet($,Y){$.openNode(this.tag,{type:"iconSet",priority:Y.priority,id:Y.x14Id||`{${tz0()}}`}),this.iconSetXform.render($,Y),$.closeNode()}createNewModel({attributes:$}){return{type:$.type,x14Id:$.id,priority:$81.toIntValue($.priority)}}onParserClose($,Y){Object.assign(this.model,Y.model)}}$Q0.exports=MN});var zQ0=E((hl1,UQ0)=>{var Q81=g0();class YQ0 extends Q81{get tag(){return"xm:sqref"}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen(){this.model=""}parseText($){this.model+=$}parseClose($){return $!==this.tag}}UQ0.exports=YQ0});var IQ0=E((Sl1,JQ0)=>{var J81=m8(),I81=zQ0(),ux=fx();class QQ0 extends J81{constructor(){super();this.map={"xm:sqref":this.sqRef=new I81,"x14:cfRule":this.cfRule=new ux}}get tag(){return"x14:conditionalFormatting"}prepare($,Y){$.rules.forEach((U)=>{this.cfRule.prepare(U,Y)})}render($,Y){if(!Y.rules.some(ux.isExt))return;$.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),Y.rules.filter(ux.isExt).forEach((U)=>this.cfRule.render($,U)),this.sqRef.render($,Y.ref),$.closeNode()}createNewModel(){return{rules:[]}}onParserClose($,Y){switch($){case"xm:sqref":this.model.ref=Y.model;break;case"x14:cfRule":this.model.rules.push(Y.model);break}}}JQ0.exports=QQ0});var HQ0=E((gl1,GQ0)=>{var K81=m8(),G81=fx(),H81=IQ0();class KQ0 extends K81{constructor(){super();this.map={"x14:conditionalFormatting":this.cfXform=new H81}}get tag(){return"x14:conditionalFormattings"}hasContent($){if($.hasExtContent===void 0)$.hasExtContent=$.some((Y)=>Y.rules.some(G81.isExt));return $.hasExtContent}prepare($,Y){$.forEach((U)=>{this.cfXform.prepare(U,Y)})}render($,Y){if(this.hasContent(Y))$.openNode(this.tag),Y.forEach((U)=>this.cfXform.render($,U)),$.closeNode()}createNewModel(){return[]}onParserClose($,Y){this.model.push(Y.model)}}GQ0.exports=KQ0});var VQ0=E((yl1,qQ0)=>{var WQ0=m8(),W81=HQ0();class XQ0 extends WQ0{constructor(){super();this.map={"x14:conditionalFormattings":this.conditionalFormattings=new W81}}get tag(){return"ext"}hasContent($){return this.conditionalFormattings.hasContent($.conditionalFormattings)}prepare($,Y){this.conditionalFormattings.prepare($.conditionalFormattings,Y)}render($,Y){$.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render($,Y.conditionalFormattings),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){this.model[$]=Y.model}}class ZQ0 extends WQ0{constructor(){super();this.map={ext:this.ext=new XQ0}}get tag(){return"extLst"}prepare($,Y){this.ext.prepare($,Y)}hasContent($){return this.ext.hasContent($)}render($,Y){if(!this.hasContent(Y))return;$.openNode("extLst"),this.ext.render($,Y),$.closeNode()}createNewModel(){return{}}onParserClose($,Y){Object.assign(this.model,Y.model)}}qQ0.exports=ZQ0});var FQ0=E((kl1,LQ0)=>{var X81=Y6(),Z81=c4(),q81=l6(),Z3=Y2(),V81=ZY0(),L81=g0(),fJ=t7(),F81=Xx(),w81=qx(),M81=BY0(),O81=Vx(),N81=CY0(),D81=wx(),A81=Mx(),B81=Ox(),P81=Nx(),T81=Dx(),j81=Ax(),E81=Bx(),C81=aY0(),R81=Px(),_81=Tx(),v81=QU0(),h81=KU0(),S81=jx(),g81=Ex(),y81=_x(),k81=VQ0(),x81=($,Y)=>{Object.keys(Y).forEach((U)=>{let z=$[U],Q=Y[U];if(z===void 0&&Q!==void 0)$[U]=Q})},f81=($,Y)=>{if(!Y||!Y.length)return $;if(!$||!$.length)return Y;let U={},z={};return $.forEach((Q)=>{U[Q.ref]=Q,Q.rules.forEach((J)=>{let{x14Id:I}=J;if(I)z[I]=J})}),Y.forEach((Q)=>{Q.rules.forEach((J)=>{let I=z[J.x14Id];if(I)x81(I,J);else if(U[Q.ref])U[Q.ref].rules.push(J);else $.push({ref:Q.ref,rules:[J]})})}),$};class ON extends L81{constructor($){super();let{maxRows:Y,maxCols:U,ignoreNodes:z}=$||{};this.ignoreNodes=z||[],this.map={sheetPr:new A81,dimension:new M81,sheetViews:new fJ({tag:"sheetViews",count:!1,childXform:new P81}),sheetFormatPr:new B81,cols:new fJ({tag:"cols",count:!1,childXform:new w81}),sheetData:new fJ({tag:"sheetData",count:!1,empty:!0,childXform:new F81({maxItems:U}),maxItems:Y}),autoFilter:new R81,mergeCells:new fJ({tag:"mergeCells",count:!0,childXform:new N81}),rowBreaks:new S81,hyperlinks:new fJ({tag:"hyperlinks",count:!1,childXform:new O81}),pageMargins:new j81,dataValidations:new D81,pageSetup:new E81,headerFooter:new g81,printOptions:new C81,picture:new _81,drawing:new v81,sheetProtection:new T81,tableParts:new fJ({tag:"tableParts",count:!0,childXform:new h81}),conditionalFormatting:new y81,extLst:new k81}}prepare($,Y){Y.merges=new V81,$.hyperlinks=Y.hyperlinks=[],$.comments=Y.comments=[],Y.formulae={},Y.siFormulae=0,this.map.cols.prepare($.cols,Y),this.map.sheetData.prepare($.rows,Y),this.map.conditionalFormatting.prepare($.conditionalFormattings,Y),$.mergeCells=Y.merges.mergeCells;let U=$.rels=[];function z(I){return`rId${I.length+1}`}if($.hyperlinks.forEach((I)=>{let K=z(U);I.rId=K,U.push({Id:K,Type:Z3.Hyperlink,Target:I.target,TargetMode:"External"})}),$.comments.length>0){let I={Id:z(U),Type:Z3.Comments,Target:`../comments${$.id}.xml`};U.push(I);let K={Id:z(U),Type:Z3.VmlDrawing,Target:`../drawings/vmlDrawing${$.id}.vml`};U.push(K),$.comments.forEach((G)=>{G.refAddress=Z81.decodeAddress(G.ref)}),Y.commentRefs.push({commentName:`comments${$.id}`,vmlDrawing:`vmlDrawing${$.id}`})}let Q=[],J;$.media.forEach((I)=>{if(I.type==="background"){let K=z(U);J=Y.media[I.imageId],U.push({Id:K,Type:Z3.Image,Target:`../media/${J.name}.${J.extension}`}),$.background={rId:K},$.image=Y.media[I.imageId]}else if(I.type==="image"){let{drawing:K}=$;if(J=Y.media[I.imageId],!K)K=$.drawing={rId:z(U),name:`drawing${++Y.drawingsCount}`,anchors:[],rels:[]},Y.drawings.push(K),U.push({Id:K.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:`../drawings/${K.name}.xml`});let G=this.preImageId===I.imageId?Q[I.imageId]:Q[K.rels.length];if(!G)G=z(K.rels),Q[K.rels.length]=G,K.rels.push({Id:G,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/${J.name}.${J.extension}`});let H={picture:{rId:G},range:I.range};if(I.hyperlinks&&I.hyperlinks.hyperlink){let W=z(K.rels);Q[K.rels.length]=W,H.picture.hyperlinks={tooltip:I.hyperlinks.tooltip,rId:W},K.rels.push({Id:W,Type:Z3.Hyperlink,Target:I.hyperlinks.hyperlink,TargetMode:"External"})}this.preImageId=I.imageId,K.anchors.push(H)}}),$.tables.forEach((I)=>{let K=z(U);I.rId=K,U.push({Id:K,Type:Z3.Table,Target:`../tables/${I.target}`}),I.columns.forEach((G)=>{let{style:H}=G;if(H)G.dxfId=Y.styles.addDxfStyle(H)})}),this.map.extLst.prepare($,Y)}render($,Y){$.openXml(q81.StdDocAttributes),$.openNode("worksheet",ON.WORKSHEET_ATTRIBUTES);let U=Y.properties?{defaultRowHeight:Y.properties.defaultRowHeight,dyDescent:Y.properties.dyDescent,outlineLevelCol:Y.properties.outlineLevelCol,outlineLevelRow:Y.properties.outlineLevelRow}:void 0;if(Y.properties&&Y.properties.defaultColWidth)U.defaultColWidth=Y.properties.defaultColWidth;let z={outlineProperties:Y.properties&&Y.properties.outlineProperties,tabColor:Y.properties&&Y.properties.tabColor,pageSetup:Y.pageSetup&&Y.pageSetup.fitToPage?{fitToPage:Y.pageSetup.fitToPage}:void 0},Q=Y.pageSetup&&Y.pageSetup.margins,J={showRowColHeaders:Y.pageSetup&&Y.pageSetup.showRowColHeaders,showGridLines:Y.pageSetup&&Y.pageSetup.showGridLines,horizontalCentered:Y.pageSetup&&Y.pageSetup.horizontalCentered,verticalCentered:Y.pageSetup&&Y.pageSetup.verticalCentered},I=Y.sheetProtection;if(this.map.sheetPr.render($,z),this.map.dimension.render($,Y.dimensions),this.map.sheetViews.render($,Y.views),this.map.sheetFormatPr.render($,U),this.map.cols.render($,Y.cols),this.map.sheetData.render($,Y.rows),this.map.sheetProtection.render($,I),this.map.autoFilter.render($,Y.autoFilter),this.map.mergeCells.render($,Y.mergeCells),this.map.conditionalFormatting.render($,Y.conditionalFormattings),this.map.dataValidations.render($,Y.dataValidations),this.map.hyperlinks.render($,Y.hyperlinks),this.map.printOptions.render($,J),this.map.pageMargins.render($,Q),this.map.pageSetup.render($,Y.pageSetup),this.map.headerFooter.render($,Y.headerFooter),this.map.rowBreaks.render($,Y.rowBreaks),this.map.drawing.render($,Y.drawing),this.map.picture.render($,Y.background),this.map.tableParts.render($,Y.tables),this.map.extLst.render($,Y),Y.rels)Y.rels.forEach((K)=>{if(K.Type===Z3.VmlDrawing)$.leafNode("legacyDrawing",{"r:id":K.Id})});$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;if($.name==="worksheet")return X81.each(this.map,(Y)=>{Y.reset()}),!0;if(this.map[$.name]&&!this.ignoreNodes.includes($.name))this.parser=this.map[$.name],this.parser.parseOpen($);return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case"worksheet":{let Y=this.map.sheetFormatPr.model||{};if(this.map.sheetPr.model&&this.map.sheetPr.model.tabColor)Y.tabColor=this.map.sheetPr.model.tabColor;if(this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties)Y.outlineProperties=this.map.sheetPr.model.outlineProperties;let U={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},z=Object.assign(U,this.map.pageSetup.model,this.map.printOptions.model),Q=f81(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);if(this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:Y,views:this.map.sheetViews.model,pageSetup:z,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:Q},this.map.autoFilter.model)this.model.autoFilter=this.map.autoFilter.model;if(this.map.sheetProtection.model)this.model.sheetProtection=this.map.sheetProtection.model;return!1}default:return!0}}reconcile($,Y){let U=($.relationships||[]).reduce((Q,J)=>{if(Q[J.Id]=J,J.Type===Z3.Comments)$.comments=Y.comments[J.Target].comments;if(J.Type===Z3.VmlDrawing&&$.comments&&$.comments.length){let I=Y.vmlDrawings[J.Target].comments;$.comments.forEach((K,G)=>{K.note=Object.assign({},K.note,I[G])})}return Q},{});if(Y.commentsMap=($.comments||[]).reduce((Q,J)=>{if(J.ref)Q[J.ref]=J;return Q},{}),Y.hyperlinkMap=($.hyperlinks||[]).reduce((Q,J)=>{if(J.rId)Q[J.address]=U[J.rId].Target;return Q},{}),Y.formulae={},$.rows=$.rows&&$.rows.filter(Boolean)||[],$.rows.forEach((Q)=>{Q.cells=Q.cells&&Q.cells.filter(Boolean)||[]}),this.map.cols.reconcile($.cols,Y),this.map.sheetData.reconcile($.rows,Y),this.map.conditionalFormatting.reconcile($.conditionalFormattings,Y),$.media=[],$.drawing){let J=U[$.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(J){let I=J[1];Y.drawings[I].anchors.forEach((G)=>{if(G.medium){let H={type:"image",imageId:G.medium.index,range:G.range,hyperlinks:G.picture.hyperlinks};$.media.push(H)}})}}let z=$.background&&U[$.background.rId];if(z){let Q=z.Target.split("/media/")[1],J=Y.mediaIndex&&Y.mediaIndex[Q];if(J!==void 0)$.media.push({type:"background",imageId:J})}$.tables=($.tables||[]).map((Q)=>{let J=U[Q.rId];return Y.tables[J.Target]}),delete $.relationships,delete $.hyperlinks,delete $.comments}}ON.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"};LQ0.exports=ON});var bx=E((xl1,MQ0)=>{var u81=g0();class wQ0 extends u81{parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={range:{editAs:$.attributes.editAs||"oneCell"}};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}reconcilePicture($,Y){if($&&$.rId){let z=Y.rels[$.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(z){let Q=z[1],J=Y.mediaIndex[Q];return Y.media[J]}}return}}MQ0.exports=wQ0});var ix=E((fl1,NQ0)=>{var b81=g0(),NN=sO();class OQ0 extends b81{constructor($){super();this.tag=$.tag,this.map={"xdr:col":new NN({tag:"xdr:col",zero:!0}),"xdr:colOff":new NN({tag:"xdr:colOff",zero:!0}),"xdr:row":new NN({tag:"xdr:row",zero:!0}),"xdr:rowOff":new NN({tag:"xdr:rowOff",zero:!0})}}render($,Y){$.openNode(this.tag),this.map["xdr:col"].render($,Y.nativeCol),this.map["xdr:colOff"].render($,Y.nativeColOff),this.map["xdr:row"].render($,Y.nativeRow),this.map["xdr:rowOff"].render($,Y.nativeRowOff),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}NQ0.exports=OQ0});var BQ0=E((ul1,AQ0)=>{var i81=g0();class DQ0 extends i81{get tag(){return"a:blip"}render($,Y){$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":Y.rId,cstate:"print"})}parseOpen($){switch($.name){case this.tag:return this.model={rId:$.attributes["r:embed"]},!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}AQ0.exports=DQ0});var jQ0=E((bl1,TQ0)=>{var c81=g0(),n81=BQ0();class PQ0 extends c81{constructor(){super();this.map={"a:blip":new n81}}get tag(){return"xdr:blipFill"}render($,Y){$.openNode(this.tag),this.map["a:blip"].render($,Y),$.openNode("a:stretch"),$.leafNode("a:fillRect"),$.closeNode(),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}}TQ0.exports=PQ0});var RQ0=E((il1,CQ0)=>{var p81=g0();class EQ0 extends p81{get tag(){return"a:hlinkClick"}render($,Y){if(!(Y.hyperlinks&&Y.hyperlinks.rId))return;$.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":Y.hyperlinks.rId,tooltip:Y.hyperlinks.tooltip})}parseOpen($){switch($.name){case this.tag:return this.model={hyperlinks:{rId:$.attributes["r:id"],tooltip:$.attributes.tooltip}},!0;default:return!0}}parseText(){}parseClose(){return!1}}CQ0.exports=EQ0});var hQ0=E((cl1,vQ0)=>{var d81=g0();class _Q0 extends d81{get tag(){return"a:extLst"}render($){$.openNode(this.tag),$.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),$.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),$.closeNode(),$.closeNode()}parseOpen($){switch($.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}vQ0.exports=_Q0});var yQ0=E((nl1,gQ0)=>{var m81=g0(),l81=RQ0(),o81=hQ0();class SQ0 extends m81{constructor(){super();this.map={"a:hlinkClick":new l81,"a:extLst":new o81}}get tag(){return"xdr:cNvPr"}render($,Y){$.openNode(this.tag,{id:Y.index,name:`Picture ${Y.index}`}),this.map["a:hlinkClick"].render($,Y),this.map["a:extLst"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}}gQ0.exports=SQ0});var fQ0=E((pl1,xQ0)=>{var r81=g0();class kQ0 extends r81{get tag(){return"xdr:cNvPicPr"}render($){$.openNode(this.tag),$.leafNode("a:picLocks",{noChangeAspect:"1"}),$.closeNode()}parseOpen($){switch($.name){case this.tag:return!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}xQ0.exports=kQ0});var iQ0=E((dl1,bQ0)=>{var s81=g0(),a81=yQ0(),t81=fQ0();class uQ0 extends s81{constructor(){super();this.map={"xdr:cNvPr":new a81,"xdr:cNvPicPr":new t81}}get tag(){return"xdr:nvPicPr"}render($,Y){$.openNode(this.tag),this.map["xdr:cNvPr"].render($,Y),this.map["xdr:cNvPicPr"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}}bQ0.exports=uQ0});var nQ0=E((ml1,cQ0)=>{cQ0.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}});var cx=E((ll1,dQ0)=>{var e81=g0(),$$1=vJ(),Y$1=jQ0(),U$1=iQ0(),z$1=nQ0();class pQ0 extends e81{constructor(){super();this.map={"xdr:nvPicPr":new U$1,"xdr:blipFill":new Y$1,"xdr:spPr":new $$1(z$1)}}get tag(){return"xdr:pic"}prepare($,Y){$.index=Y.index+1}render($,Y){$.openNode(this.tag),this.map["xdr:nvPicPr"].render($,Y),this.map["xdr:blipFill"].render($,Y),this.map["xdr:spPr"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset();break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.mergeModel(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}}dQ0.exports=pQ0});var rQ0=E((ol1,oQ0)=>{var Q$1=bx(),J$1=vJ(),mQ0=ix(),I$1=cx();class lQ0 extends Q$1{constructor(){super();this.map={"xdr:from":new mQ0({tag:"xdr:from"}),"xdr:to":new mQ0({tag:"xdr:to"}),"xdr:pic":new I$1,"xdr:clientData":new J$1({tag:"xdr:clientData"})}}get tag(){return"xdr:twoCellAnchor"}prepare($,Y){this.map["xdr:pic"].prepare($.picture,Y)}render($,Y){$.openNode(this.tag,{editAs:Y.range.editAs||"oneCell"}),this.map["xdr:from"].render($,Y.range.tl),this.map["xdr:to"].render($,Y.range.br),this.map["xdr:pic"].render($,Y.picture),this.map["xdr:clientData"].render($,{}),$.closeNode()}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile($,Y){$.medium=this.reconcilePicture($.picture,Y)}}oQ0.exports=lQ0});var tQ0=E((rl1,aQ0)=>{var K$1=g0();class sQ0 extends K$1{constructor($){super();this.tag=$.tag,this.map={}}render($,Y){$.openNode(this.tag);let U=Math.floor(Y.width*9525),z=Math.floor(Y.height*9525);$.addAttribute("cx",U),$.addAttribute("cy",z),$.closeNode()}parseOpen($){if($.name===this.tag)return this.model={width:parseInt($.attributes.cx||"0",10)/9525,height:parseInt($.attributes.cy||"0",10)/9525},!0;return!1}parseText(){}parseClose(){return!1}}aQ0.exports=sQ0});var YJ0=E((sl1,$J0)=>{var G$1=bx(),H$1=vJ(),W$1=ix(),X$1=tQ0(),Z$1=cx();class eQ0 extends G$1{constructor(){super();this.map={"xdr:from":new W$1({tag:"xdr:from"}),"xdr:ext":new X$1({tag:"xdr:ext"}),"xdr:pic":new Z$1,"xdr:clientData":new H$1({tag:"xdr:clientData"})}}get tag(){return"xdr:oneCellAnchor"}prepare($,Y){this.map["xdr:pic"].prepare($.picture,Y)}render($,Y){$.openNode(this.tag,{editAs:Y.range.editAs||"oneCell"}),this.map["xdr:from"].render($,Y.range.tl),this.map["xdr:ext"].render($,Y.range.ext),this.map["xdr:pic"].render($,Y.picture),this.map["xdr:clientData"].render($,{}),$.closeNode()}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile($,Y){$.medium=this.reconcilePicture($.picture,Y)}}$J0.exports=eQ0});var zJ0=E((al1,UJ0)=>{var q$1=c4(),V$1=l6(),L$1=g0(),F$1=rQ0(),w$1=YJ0();function M$1($){return(typeof $.range==="string"?q$1.decode($.range):$.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}class DN extends L$1{constructor(){super();this.map={"xdr:twoCellAnchor":new F$1,"xdr:oneCellAnchor":new w$1}}prepare($){$.anchors.forEach((Y,U)=>{Y.anchorType=M$1(Y),this.map[Y.anchorType].prepare(Y,{index:U})})}get tag(){return"xdr:wsDr"}render($,Y){$.openXml(V$1.StdDocAttributes),$.openNode(this.tag,DN.DRAWING_ATTRIBUTES),Y.anchors.forEach((U)=>{this.map[U.anchorType].render($,U)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.anchors.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}reconcile($,Y){$.anchors.forEach((U)=>{if(U.br)this.map["xdr:twoCellAnchor"].reconcile(U,Y);else this.map["xdr:oneCellAnchor"].reconcile(U,Y)})}}DN.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"};UJ0.exports=DN});var IJ0=E((tl1,JJ0)=>{var O$1=g0();class QJ0 extends O$1{get tag(){return"customFilter"}render($,Y){$.leafNode(this.tag,{val:Y.val,operator:Y.operator})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val,operator:$.attributes.operator},!0;return!1}parseText(){}parseClose(){return!1}}JJ0.exports=QJ0});var HJ0=E((el1,GJ0)=>{var N$1=g0();class KJ0 extends N$1{get tag(){return"filter"}render($,Y){$.leafNode(this.tag,{val:Y.val})}parseOpen($){if($.name===this.tag)return this.model={val:$.attributes.val},!0;return!1}parseText(){}parseClose(){return!1}}GJ0.exports=KJ0});var qJ0=E(($o1,ZJ0)=>{var D$1=g0(),WJ0=t7(),A$1=IJ0(),B$1=HJ0();class XJ0 extends D$1{constructor(){super();this.map={customFilters:new WJ0({tag:"customFilters",count:!1,empty:!0,childXform:new A$1}),filters:new WJ0({tag:"filters",count:!1,empty:!0,childXform:new B$1})}}get tag(){return"filterColumn"}prepare($,Y){$.colId=Y.index.toString()}render($,Y){if(Y.customFilters)return $.openNode(this.tag,{colId:Y.colId,hiddenButton:Y.filterButton?"0":"1"}),this.map.customFilters.render($,Y.customFilters),$.closeNode(),!0;return $.leafNode(this.tag,{colId:Y.colId,hiddenButton:Y.filterButton?"0":"1"}),!0}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{attributes:Y}=$;switch($.name){case this.tag:return this.model={filterButton:Y.hiddenButton==="0"},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText(){}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.customFilters=this.map.customFilters.model,!1;default:return!0}}}ZJ0.exports=XJ0});var FJ0=E((Yo1,LJ0)=>{var P$1=g0(),T$1=qJ0();class VJ0 extends P$1{constructor(){super();this.map={filterColumn:new T$1}}get tag(){return"autoFilter"}prepare($){$.columns.forEach((Y,U)=>{this.map.filterColumn.prepare(Y,{index:U})})}render($,Y){return $.openNode(this.tag,{ref:Y.autoFilterRef}),Y.columns.forEach((U)=>{this.map.filterColumn.render($,U)}),$.closeNode(),!0}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:return this.model={autoFilterRef:$.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[$.name],this.parser)return this.parseOpen($),!0;throw Error(`Unexpected xml node in parseOpen: ${JSON.stringify($)}`)}}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.columns.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:throw Error(`Unexpected xml node in parseClose: ${$}`)}}}LJ0.exports=VJ0});var OJ0=E((Uo1,MJ0)=>{var j$1=g0();class wJ0 extends j$1{get tag(){return"tableColumn"}prepare($,Y){$.id=Y.index+1}render($,Y){return $.leafNode(this.tag,{id:Y.id.toString(),name:Y.name,totalsRowLabel:Y.totalsRowLabel,totalsRowFunction:Y.totalsRowFunction,dxfId:Y.dxfId}),!0}parseOpen($){if($.name===this.tag){let{attributes:Y}=$;return this.model={name:Y.name,totalsRowLabel:Y.totalsRowLabel,totalsRowFunction:Y.totalsRowFunction,dxfId:Y.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}MJ0.exports=wJ0});var AJ0=E((zo1,DJ0)=>{var E$1=g0();class NJ0 extends E$1{get tag(){return"tableStyleInfo"}render($,Y){return $.leafNode(this.tag,{name:Y.theme?Y.theme:void 0,showFirstColumn:Y.showFirstColumn?"1":"0",showLastColumn:Y.showLastColumn?"1":"0",showRowStripes:Y.showRowStripes?"1":"0",showColumnStripes:Y.showColumnStripes?"1":"0"}),!0}parseOpen($){if($.name===this.tag){let{attributes:Y}=$;return this.model={theme:Y.name?Y.name:null,showFirstColumn:Y.showFirstColumn==="1",showLastColumn:Y.showLastColumn==="1",showRowStripes:Y.showRowStripes==="1",showColumnStripes:Y.showColumnStripes==="1"},!0}return!1}parseText(){}parseClose(){return!1}}DJ0.exports=NJ0});var PJ0=E((Qo1,BJ0)=>{var C$1=l6(),R$1=g0(),_$1=t7(),v$1=FJ0(),h$1=OJ0(),S$1=AJ0();class AN extends R$1{constructor(){super();this.map={autoFilter:new v$1,tableColumns:new _$1({tag:"tableColumns",count:!0,empty:!0,childXform:new h$1}),tableStyleInfo:new S$1}}prepare($,Y){this.map.autoFilter.prepare($),this.map.tableColumns.prepare($.columns,Y)}get tag(){return"table"}render($,Y){$.openXml(C$1.StdDocAttributes),$.openNode(this.tag,{...AN.TABLE_ATTRIBUTES,id:Y.id,name:Y.name,displayName:Y.displayName||Y.name,ref:Y.tableRef,totalsRowCount:Y.totalsRow?"1":void 0,totalsRowShown:Y.totalsRow?void 0:"1",headerRowCount:Y.headerRow?"1":"0"}),this.map.autoFilter.render($,Y),this.map.tableColumns.render($,Y.columns),this.map.tableStyleInfo.render($,Y.style),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;let{name:Y,attributes:U}=$;switch(Y){case this.tag:this.reset(),this.model={name:U.name,displayName:U.displayName||U.name,tableRef:U.ref,totalsRow:U.totalsRowCount==="1",headerRow:U.headerRowCount==="1"};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:if(this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model)this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((Y,U)=>{this.model.columns[U].filterButton=Y.filterButton});return this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile($,Y){$.columns.forEach((U)=>{if(U.dxfId!==void 0)U.style=Y.styles.getDxfStyle(U.dxfId)})}}AN.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"};BJ0.exports=AN});var nx=E((Jo1,TJ0)=>{var g$1=xW(),y$1=Z8(),k$1=g0(),x$1=TJ0.exports=function($){this.model=$};y$1.inherits(x$1,k$1,{get tag(){return"r"},get richTextXform(){if(!this._richTextXform)this._richTextXform=new g$1;return this._richTextXform},render($,Y){if(Y=Y||this.model,$.openNode("comment",{ref:Y.ref,authorId:0}),$.openNode("text"),Y&&Y.note&&Y.note.texts)Y.note.texts.forEach((U)=>{this.richTextXform.render($,U)});$.closeNode(),$.closeNode()},parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"comment":return this.model={type:"note",note:{texts:[]},...$.attributes},!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen($),!0;default:return!1}},parseText($){if(this.parser)this.parser.parseText($)},parseClose($){switch($){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}})});var CJ0=E((Io1,EJ0)=>{var f$1=l6(),u$1=Z8(),b$1=g0(),i$1=nx(),jJ0=EJ0.exports=function(){this.map={comment:new i$1}};u$1.inherits(jJ0,b$1,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render($,Y){Y=Y||this.model,$.openXml(f$1.StdDocAttributes),$.openNode("comments",jJ0.COMMENTS_ATTRIBUTES),$.openNode("authors"),$.leafNode("author",null,"Author"),$.closeNode(),$.openNode("commentList"),Y.comments.forEach((U)=>{this.map.comment.render($,U)}),$.closeNode(),$.closeNode()},parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen($),!0;default:return!1}},parseText($){if(this.parser)this.parser.parseText($)},parseClose($){switch($){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:if(this.parser)this.parser.parseClose($);return!0}}})});var vJ0=E((Ko1,_J0)=>{var c$1=g0();class RJ0 extends c$1{get tag(){return"v:textbox"}conversionUnit($,Y,U){return`${parseFloat($)*Y.toFixed(2)}${U}`}reverseConversionUnit($){return($||"").split(",").map((Y)=>{return Number(parseFloat(this.conversionUnit(parseFloat(Y),0.1,"")).toFixed(2))})}render($,Y){let U={style:"mso-direction-alt:auto"};if(Y&&Y.note){let{inset:z}=Y.note&&Y.note.margins;if(Array.isArray(z))z=z.map((Q)=>{return this.conversionUnit(Q,10,"mm")}).join(",");if(z)U.inset=z}$.openNode("v:textbox",U),$.leafNode("div",{style:"text-align:left"}),$.closeNode()}parseOpen($){switch($.name){case this.tag:return this.model={inset:this.reverseConversionUnit($.attributes.inset)},!0;default:return!0}}parseText(){}parseClose($){switch($){case this.tag:return!1;default:return!0}}}_J0.exports=RJ0});var gJ0=E((Go1,SJ0)=>{var n$1=g0();class hJ0 extends n$1{get tag(){return"x:Anchor"}getAnchorRect($){let Y=Math.floor($.left),U=Math.floor(($.left-Y)*68),z=Math.floor($.top),Q=Math.floor(($.top-z)*18),J=Math.floor($.right),I=Math.floor(($.right-J)*68),K=Math.floor($.bottom),G=Math.floor(($.bottom-K)*18);return[Y,U,z,Q,J,I,K,G]}getDefaultRect($){let Y=$.col,U=6,z=Math.max($.row-2,0),Q=14,J=Y+2,I=2,K=z+4,G=16;return[Y,6,z,14,J,2,K,16]}render($,Y){let U=Y.anchor?this.getAnchorRect(Y.anchor):this.getDefaultRect(Y.refAddress);$.leafNode("x:Anchor",null,U.join(", "))}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}SJ0.exports=hJ0});var xJ0=E((Ho1,kJ0)=>{var p$1=g0();class yJ0 extends p$1{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,Y){$.leafNode(this.tag,null,Y)}parseOpen($){switch($.name){case this.tag:return this.text="",!0;default:return!1}}parseText($){this.text=$}parseClose(){return!1}}kJ0.exports=yJ0});var bJ0=E((Wo1,uJ0)=>{var d$1=g0();class fJ0 extends d$1{constructor($){super();this._model=$}get tag(){return this._model&&this._model.tag}render($,Y,U){if(Y===U[2])$.leafNode(this.tag);else if(this.tag==="x:SizeWithCells"&&Y===U[1])$.leafNode(this.tag)}parseOpen($){switch($.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}parseText(){}parseClose(){return!1}}uJ0.exports=fJ0});var dJ0=E((Xo1,pJ0)=>{var m$1=g0(),l$1=gJ0(),iJ0=xJ0(),cJ0=bJ0(),px=["twoCells","oneCells","absolute"];class nJ0 extends m$1{constructor(){super();this.map={"x:Anchor":new l$1,"x:Locked":new iJ0({tag:"x:Locked"}),"x:LockText":new iJ0({tag:"x:LockText"}),"x:SizeWithCells":new cJ0({tag:"x:SizeWithCells"}),"x:MoveWithCells":new cJ0({tag:"x:MoveWithCells"})}}get tag(){return"x:ClientData"}render($,Y){let{protection:U,editAs:z}=Y.note;$.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render($,z,px),this.map["x:SizeWithCells"].render($,z,px),this.map["x:Anchor"].render($,Y),this.map["x:Locked"].render($,U.locked),$.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render($,U.lockText),$.leafNode("x:Row",null,Y.refAddress.row-1),$.leafNode("x:Column",null,Y.refAddress.col-1),$.closeNode()}parseOpen($){switch($.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.normalizeModel(),!1;default:return!0}}normalizeModel(){let $=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),Y=Object.keys($).length;this.model.editAs=px[Y],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}pJ0.exports=nJ0});var dx=E((Zo1,mJ0)=>{var o$1=g0(),r$1=vJ0(),s$1=dJ0();class BN extends o$1{constructor(){super();this.map={"v:textbox":new r$1,"x:ClientData":new s$1}}get tag(){return"v:shape"}render($,Y,U){$.openNode("v:shape",BN.V_SHAPE_ATTRIBUTES(Y,U)),$.leafNode("v:fill",{color2:"infoBackground [80]"}),$.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),$.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render($,Y),this.map["x:ClientData"].render($,Y),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={margins:{insetmode:$.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.parser=void 0;return!0}switch($){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}}BN.V_SHAPE_ATTRIBUTES=($,Y)=>({id:`_x0000_s${1025+Y}`,type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":$.note.margins&&$.note.margins.insetmode});mJ0.exports=BN});var oJ0=E((qo1,lJ0)=>{var a$1=l6(),t$1=g0(),e$1=dx();class PN extends t$1{constructor(){super();this.map={"v:shape":new e$1}}get tag(){return"xml"}render($,Y){$.openXml(a$1.StdDocAttributes),$.openNode(this.tag,PN.DRAWING_ATTRIBUTES),$.openNode("o:shapelayout",{"v:ext":"edit"}),$.leafNode("o:idmap",{"v:ext":"edit",data:1}),$.closeNode(),$.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),$.leafNode("v:stroke",{joinstyle:"miter"}),$.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),$.closeNode(),Y.comments.forEach((U,z)=>{this.map["v:shape"].render($,U,z)}),$.closeNode()}parseOpen($){if(this.parser)return this.parser.parseOpen($),!0;switch($.name){case this.tag:this.reset(),this.model={comments:[]};break;default:if(this.parser=this.map[$.name],this.parser)this.parser.parseOpen($);break}return!0}parseText($){if(this.parser)this.parser.parseText($)}parseClose($){if(this.parser){if(!this.parser.parseClose($))this.model.comments.push(this.parser.model),this.parser=void 0;return!0}switch($){case this.tag:return!1;default:return!0}}reconcile($,Y){$.anchors.forEach((U)=>{if(U.br)this.map["xdr:twoCellAnchor"].reconcile(U,Y);else this.map["xdr:oneCellAnchor"].reconcile(U,Y)})}}PN.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"};lJ0.exports=PN});var mx=E((Vo1,rJ0)=>{rJ0.exports=` - `});var $f=E((Fo1,$I0)=>{var ex=I0("fs"),$51=ay(),{PassThrough:lx}=E8(),Y51=g30(),ox=_W(),U51=Z8(),TN=l6(),{bufferToString:Lo1}=Tk(),rx=JN(),sJ0=Qx(),sx=Jx(),FU=HN(),z51=Ix(),aJ0=Kx(),jN=XN(),EN=FQ0(),ax=zJ0(),tx=PJ0(),tJ0=CJ0(),eJ0=oJ0(),Q51=mx();function J51($,Y){return new Promise((U,z)=>{ex.readFile($,Y,(Q,J)=>{if(Q)z(Q);else U(J)})})}class I9{constructor($){this.workbook=$}async readFile($,Y){if(!await U51.fs.exists($))throw Error(`File not found: ${$}`);let U=ex.createReadStream($);try{let z=await this.read(U,Y);return U.close(),z}catch(z){throw U.close(),z}}parseRels($){return new FU().parseStream($)}parseWorkbook($){return new jN().parseStream($)}parseSharedStrings($){return new sx().parseStream($)}reconcile($,Y){let U=new jN,z=new EN(Y),Q=new ax,J=new tx;U.reconcile($);let I={media:$.media,mediaIndex:$.mediaIndex};Object.keys($.drawings).forEach((H)=>{let W=$.drawings[H],X=$.drawingRels[H];if(X)I.rels=X.reduce((Z,q)=>{return Z[q.Id]=q,Z},{}),(W.anchors||[]).forEach((Z)=>{let q=Z.picture&&Z.picture.hyperlinks;if(q&&I.rels[q.rId])q.hyperlink=I.rels[q.rId].Target,delete q.rId}),Q.reconcile(W,I)});let K={styles:$.styles};Object.values($.tables).forEach((H)=>{J.reconcile(H,K)});let G={styles:$.styles,sharedStrings:$.sharedStrings,media:$.media,mediaIndex:$.mediaIndex,date1904:$.properties&&$.properties.date1904,drawings:$.drawings,comments:$.comments,tables:$.tables,vmlDrawings:$.vmlDrawings};$.worksheets.forEach((H)=>{H.relationships=$.worksheetRels[H.sheetNo],z.reconcile(H,G)}),delete $.worksheetHash,delete $.worksheetRels,delete $.globalRels,delete $.sharedStrings,delete $.workbookRels,delete $.sheetDefs,delete $.styles,delete $.mediaIndex,delete $.drawings,delete $.drawingRels,delete $.vmlDrawings}async _processWorksheetEntry($,Y,U,z,Q){let I=await new EN(z).parseStream($);I.sheetNo=U,Y.worksheetHash[Q]=I,Y.worksheets.push(I)}async _processCommentEntry($,Y,U){let Q=await new tJ0().parseStream($);Y.comments[`../${U}.xml`]=Q}async _processTableEntry($,Y,U){let Q=await new tx().parseStream($);Y.tables[`../tables/${U}.xml`]=Q}async _processWorksheetRelsEntry($,Y,U){let Q=await new FU().parseStream($);Y.worksheetRels[U]=Q}async _processMediaEntry($,Y,U){let z=U.lastIndexOf(".");if(z>=1){let Q=U.substr(z+1),J=U.substr(0,z);await new Promise((I,K)=>{let G=new ox;G.on("finish",()=>{Y.mediaIndex[U]=Y.media.length,Y.mediaIndex[J]=Y.media.length;let H={type:"image",name:J,extension:Q,buffer:G.toBuffer()};Y.media.push(H),I()}),$.on("error",(H)=>{K(H)}),$.pipe(G)})}}async _processDrawingEntry($,Y,U){let Q=await new ax().parseStream($);Y.drawings[U]=Q}async _processDrawingRelsEntry($,Y,U){let Q=await new FU().parseStream($);Y.drawingRels[U]=Q}async _processVmlDrawingEntry($,Y,U){let Q=await new eJ0().parseStream($);Y.vmlDrawings[`../drawings/${U}.vml`]=Q}async _processThemeEntry($,Y,U){await new Promise((z,Q)=>{let J=new ox;$.on("error",Q),J.on("error",Q),J.on("finish",()=>{Y.themes[U]=J.read().toString(),z()}),$.pipe(J)})}createInputStream(){throw Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}async read($,Y){if(!$[Symbol.asyncIterator]&&$.pipe)$=$.pipe(new lx);let U=[];for await(let z of $)U.push(z);return this.load(Buffer.concat(U),Y)}async load($,Y){let U;if(Y&&Y.base64)U=Buffer.from($.toString(),"base64");else U=$;let z={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},Q=await $51.loadAsync(U);for(let J of Object.values(Q.files))if(!J.dir){let I=J.name;if(I[0]==="/")I=I.substr(1);let K;if(I.match(/xl\/media\//)||I.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))K=new lx,K.write(await J.async("nodebuffer"));else{K=new lx({writableObjectMode:!0,readableObjectMode:!0});let G;G=await J.async("string");let H=16384;for(let W=0;W{if(U.type==="image"){let z=`xl/media/${U.name}.${U.extension}`;if(U.filename){let Q=await J51(U.filename);return $.append(Q,{name:z})}if(U.buffer)return $.append(U.buffer,{name:z});if(U.base64){let Q=U.base64,J=Q.substring(Q.indexOf(",")+1);return $.append(J,{name:z,base64:!0})}}throw Error("Unsupported media")}))}addDrawings($,Y){let U=new ax,z=new FU;Y.worksheets.forEach((Q)=>{let{drawing:J}=Q;if(J){U.prepare(J,{});let I=U.toXml(J);$.append(I,{name:`xl/drawings/${J.name}.xml`}),I=z.toXml(J.rels),$.append(I,{name:`xl/drawings/_rels/${J.name}.xml.rels`})}})}addTables($,Y){let U=new tx;Y.worksheets.forEach((z)=>{let{tables:Q}=z;Q.forEach((J)=>{U.prepare(J,{});let I=U.toXml(J);$.append(I,{name:`xl/tables/${J.target}`})})})}async addContentTypes($,Y){let z=new z51().toXml(Y);$.append(z,{name:"[Content_Types].xml"})}async addApp($,Y){let z=new aJ0().toXml(Y);$.append(z,{name:"docProps/app.xml"})}async addCore($,Y){let U=new sJ0;$.append(U.toXml(Y),{name:"docProps/core.xml"})}async addThemes($,Y){let U=Y.themes||{theme1:Q51};Object.keys(U).forEach((z)=>{let Q=U[z],J=`xl/theme/${z}.xml`;$.append(Q,{name:J})})}async addOfficeRels($){let U=new FU().toXml([{Id:"rId1",Type:I9.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:I9.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:I9.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);$.append(U,{name:"_rels/.rels"})}async addWorkbookRels($,Y){let U=1,z=[{Id:`rId${U++}`,Type:I9.RelType.Styles,Target:"styles.xml"},{Id:`rId${U++}`,Type:I9.RelType.Theme,Target:"theme/theme1.xml"}];if(Y.sharedStrings.count)z.push({Id:`rId${U++}`,Type:I9.RelType.SharedStrings,Target:"sharedStrings.xml"});Y.worksheets.forEach((I)=>{I.rId=`rId${U++}`,z.push({Id:I.rId,Type:I9.RelType.Worksheet,Target:`worksheets/sheet${I.id}.xml`})});let J=new FU().toXml(z);$.append(J,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings($,Y){if(Y.sharedStrings&&Y.sharedStrings.count)$.append(Y.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles($,Y){let{xml:U}=Y.styles;if(U)$.append(U,{name:"xl/styles.xml"})}async addWorkbook($,Y){let U=new jN;$.append(U.toXml(Y),{name:"xl/workbook.xml"})}async addWorksheets($,Y){let U=new EN,z=new FU,Q=new tJ0,J=new eJ0;Y.worksheets.forEach((I)=>{let K=new TN;if(U.render(K,I),$.append(K.xml,{name:`xl/worksheets/sheet${I.id}.xml`}),I.rels&&I.rels.length)K=new TN,z.render(K,I.rels),$.append(K.xml,{name:`xl/worksheets/_rels/sheet${I.id}.xml.rels`});if(I.comments.length>0)K=new TN,Q.render(K,I),$.append(K.xml,{name:`xl/comments${I.id}.xml`}),K=new TN,J.render(K,I),$.append(K.xml,{name:`xl/drawings/vmlDrawing${I.id}.vml`})})}_finalize($){return new Promise((Y,U)=>{$.on("finish",()=>{Y(this)}),$.on("error",U),$.finalize()})}prepareModel($,Y){$.creator=$.creator||"ExcelJS",$.lastModifiedBy=$.lastModifiedBy||"ExcelJS",$.created=$.created||new Date,$.modified=$.modified||new Date,$.useSharedStrings=Y.useSharedStrings!==void 0?Y.useSharedStrings:!0,$.useStyles=Y.useStyles!==void 0?Y.useStyles:!0,$.sharedStrings=new sx,$.styles=$.useStyles?new rx(!0):new rx.Mock;let U=new jN,z=new EN;U.prepare($);let Q={sharedStrings:$.sharedStrings,styles:$.styles,date1904:$.properties.date1904,drawingsCount:0,media:$.media};Q.drawings=$.drawings=[],Q.commentRefs=$.commentRefs=[];let J=0;$.tables=[],$.worksheets.forEach((I)=>{I.tables.forEach((K)=>{J++,K.target=`table${J}.xml`,K.id=J,$.tables.push(K)}),z.prepare(I,Q)})}async write($,Y){Y=Y||{};let{model:U}=this.workbook,z=new Y51.ZipWriter(Y.zip);return z.pipe($),this.prepareModel(U,Y),await this.addContentTypes(z,U),await this.addOfficeRels(z,U),await this.addWorkbookRels(z,U),await this.addWorksheets(z,U),await this.addSharedStrings(z,U),await this.addDrawings(z,U),await this.addTables(z,U),await Promise.all([this.addThemes(z,U),this.addStyles(z,U)]),await this.addMedia(z,U),await Promise.all([this.addApp(z,U),this.addCore(z,U)]),await this.addWorkbook(z,U),this._finalize(z)}writeFile($,Y){let U=ex.createWriteStream($);return new Promise((z,Q)=>{U.on("finish",()=>{z()}),U.on("error",(J)=>{Q(J)}),this.write(U,Y).then(()=>{U.end()}).catch((J)=>{Q(J)})})}async writeBuffer($){let Y=new ox;return await this.write(Y,$),Y.read()}}I9.RelType=Y2();$I0.exports=I9});var Yf=E((UI0)=>{Object.defineProperty(UI0,"__esModule",{value:!0});UI0.FormatterOptions=void 0;class YI0{constructor($={}){var Y;if(this.objectMode=!0,this.delimiter=",",this.rowDelimiter=` -`,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,$||{}),typeof($===null||$===void 0?void 0:$.quoteHeaders)>"u")this.quoteHeaders=this.quoteColumns;if(($===null||$===void 0?void 0:$.quote)===!0)this.quote='"';else if(($===null||$===void 0?void 0:$.quote)===!1)this.quote="";if(typeof($===null||$===void 0?void 0:$.escape)!=="string")this.escape=this.quote;this.shouldWriteHeaders=!!this.headers&&((Y=$.writeHeaders)!==null&&Y!==void 0?Y:!0),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}UI0.FormatterOptions=YI0});var CN=E((Mo1,KI0)=>{var I51="[object AsyncFunction]",K51="[object Function]",G51="[object GeneratorFunction]",H51="[object Null]",W51="[object Proxy]",X51="[object Undefined]",Z51=typeof global=="object"&&global&&global.Object===Object&&global,q51=typeof self=="object"&&self&&self.Object===Object&&self,V51=Z51||q51||Function("return this")(),JI0=Object.prototype,L51=JI0.hasOwnProperty,II0=JI0.toString,QI0=V51.Symbol,wU=QI0?QI0.toStringTag:void 0;function F51($){if($==null)return $===void 0?X51:H51;return wU&&wU in Object($)?w51($):M51($)}function w51($){var Y=L51.call($,wU),U=$[wU];try{$[wU]=void 0;var z=!0}catch(J){}var Q=II0.call($);if(z)if(Y)$[wU]=U;else delete $[wU];return Q}function M51($){return II0.call($)}function O51($){if(!N51($))return!1;var Y=F51($);return Y==K51||Y==G51||Y==I51||Y==W51}function N51($){var Y=typeof $;return $!=null&&(Y=="object"||Y=="function")}KI0.exports=O51});var cI0=E((RN,bJ)=>{var D51=200,Zf="__lodash_hash_undefined__",xN=1,OI0=2,NI0=9007199254740991,_N="[object Arguments]",Jf="[object Array]",A51="[object AsyncFunction]",DI0="[object Boolean]",AI0="[object Date]",BI0="[object Error]",PI0="[object Function]",B51="[object GeneratorFunction]",vN="[object Map]",TI0="[object Number]",P51="[object Null]",uJ="[object Object]",GI0="[object Promise]",T51="[object Proxy]",jI0="[object RegExp]",hN="[object Set]",EI0="[object String]",j51="[object Symbol]",E51="[object Undefined]",If="[object WeakMap]",CI0="[object ArrayBuffer]",SN="[object DataView]",C51="[object Float32Array]",R51="[object Float64Array]",_51="[object Int8Array]",v51="[object Int16Array]",h51="[object Int32Array]",S51="[object Uint8Array]",g51="[object Uint8ClampedArray]",y51="[object Uint16Array]",k51="[object Uint32Array]",x51=/[\\^$.*+?()[\]{}|]/g,f51=/^\[object .+?Constructor\]$/,u51=/^(?:0|[1-9]\d*)$/,P4={};P4[C51]=P4[R51]=P4[_51]=P4[v51]=P4[h51]=P4[S51]=P4[g51]=P4[y51]=P4[k51]=!0;P4[_N]=P4[Jf]=P4[CI0]=P4[DI0]=P4[SN]=P4[AI0]=P4[BI0]=P4[PI0]=P4[vN]=P4[TI0]=P4[uJ]=P4[jI0]=P4[hN]=P4[EI0]=P4[If]=!1;var RI0=typeof global=="object"&&global&&global.Object===Object&&global,b51=typeof self=="object"&&self&&self.Object===Object&&self,q3=RI0||b51||Function("return this")(),_I0=typeof RN=="object"&&RN&&!RN.nodeType&&RN,HI0=_I0&&typeof bJ=="object"&&bJ&&!bJ.nodeType&&bJ,vI0=HI0&&HI0.exports===_I0,Uf=vI0&&RI0.process,WI0=function(){try{return Uf&&Uf.binding&&Uf.binding("util")}catch($){}}(),XI0=WI0&&WI0.isTypedArray;function i51($,Y){var U=-1,z=$==null?0:$.length,Q=0,J=[];while(++U-1}function w91($,Y){var U=this.__data__,z=uN(U,$);if(z<0)++this.size,U.push([$,Y]);else U[z][1]=Y;return this}V3.prototype.clear=q91;V3.prototype.delete=V91;V3.prototype.get=L91;V3.prototype.has=F91;V3.prototype.set=w91;function NU($){var Y=-1,U=$==null?0:$.length;this.clear();while(++YK))return!1;var H=J.get($);if(H&&J.get(Y))return H==Y;var W=-1,X=!0,Z=U&OI0?new yN:void 0;J.set($,Y),J.set(Y,$);while(++W-1&&$%1==0&&$-1&&$%1==0&&$<=NI0}function bI0($){var Y=typeof $;return $!=null&&(Y=="object"||Y=="function")}function nW($){return $!=null&&typeof $=="object"}var iI0=XI0?d51(XI0):g91;function o91($){return m91($)?_91($):y91($)}function r91(){return[]}function s91(){return!1}bJ.exports=l91});var pI0=E((No1,nI0)=>{var a91="[object Boolean]",t91=Object.prototype,e91=t91.toString;function $31($){return $===!0||$===!1||Y31($)&&e91.call($)==a91}function Y31($){return!!$&&typeof $=="object"}nI0.exports=$31});var qf=E((Do1,dI0)=>{function U31($){return $==null}dI0.exports=U31});var Vf=E((Ao1,sI0)=>{var z31=1/0,Q31="[object Symbol]",rI0=/[\\^$.*+?()[\]{}|]/g,J31=RegExp(rI0.source),I31=typeof global=="object"&&global&&global.Object===Object&&global,K31=typeof self=="object"&&self&&self.Object===Object&&self,G31=I31||K31||Function("return this")(),H31=Object.prototype,W31=H31.toString,mI0=G31.Symbol,lI0=mI0?mI0.prototype:void 0,oI0=lI0?lI0.toString:void 0;function X31($){if(typeof $=="string")return $;if(q31($))return oI0?oI0.call($):"";var Y=$+"";return Y=="0"&&1/$==-z31?"-0":Y}function Z31($){return!!$&&typeof $=="object"}function q31($){return typeof $=="symbol"||Z31($)&&W31.call($)==Q31}function V31($){return $==null?"":X31($)}function L31($){return $=V31($),$&&J31.test($)?$.replace(rI0,"\\$&"):$}sI0.exports=L31});var Ff=E((cJ)=>{var Lf=cJ&&cJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(cJ,"__esModule",{value:!0});cJ.FieldFormatter=void 0;var F31=Lf(pI0()),w31=Lf(qf()),M31=Lf(Vf());class aI0{constructor($){if(this._headers=null,this.formatterOptions=$,$.headers!==null)this.headers=$.headers;this.REPLACE_REGEXP=new RegExp($.quote,"g");let Y=`[${$.delimiter}${M31.default($.rowDelimiter)}|\r| -]`;this.ESCAPE_REGEXP=new RegExp(Y)}set headers($){this._headers=$}shouldQuote($,Y){let U=Y?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;if(F31.default(U))return U;if(Array.isArray(U))return U[$];if(this._headers!==null)return U[this._headers[$]];return!1}format($,Y,U){let z=`${w31.default($)?"":$}`.replace(/\0/g,""),{formatterOptions:Q}=this;if(Q.quote!==""){if(z.indexOf(Q.quote)!==-1)return this.quoteField(z.replace(this.REPLACE_REGEXP,Q.escapedQuote))}if(z.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(Y,U))return this.quoteField(z);return z}quoteField($){let{quote:Y}=this.formatterOptions;return`${Y}${$}${Y}`}}cJ.FieldFormatter=aI0});var wf=E((tI0)=>{Object.defineProperty(tI0,"__esModule",{value:!0});tI0.isSyncTransform=void 0;tI0.isSyncTransform=($)=>$.length===1});var YK0=E((nJ)=>{var $K0=nJ&&nJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(nJ,"__esModule",{value:!0});nJ.RowFormatter=void 0;var O31=$K0(CN()),N31=$K0(cI0()),D31=Ff(),A31=wf();class AU{constructor($){if(this.rowCount=0,this.formatterOptions=$,this.fieldFormatter=new D31.FieldFormatter($),this.headers=$.headers,this.shouldWriteHeaders=$.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null)this.fieldFormatter.headers=this.headers;if($.transform)this.rowTransform=$.transform}static isRowHashArray($){if(Array.isArray($))return Array.isArray($[0])&&$[0].length===2;return!1}static isRowArray($){return Array.isArray($)&&!this.isRowHashArray($)}static gatherHeaders($){if(AU.isRowHashArray($))return $.map((Y)=>Y[0]);if(Array.isArray($))return $;return Object.keys($)}static createTransform($){if(A31.isSyncTransform($))return(Y,U)=>{let z=null;try{z=$(Y)}catch(Q){return U(Q)}return U(null,z)};return(Y,U)=>{$(Y,U)}}set rowTransform($){if(!O31.default($))throw TypeError("The transform should be a function");this._rowTransform=AU.createTransform($)}format($,Y){this.callTransformer($,(U,z)=>{if(U)return Y(U);if(!$)return Y(null);let Q=[];if(z){let{shouldFormatColumns:J,headers:I}=this.checkHeaders(z);if(this.shouldWriteHeaders&&I&&!this.hasWrittenHeaders)Q.push(this.formatColumns(I,!0)),this.hasWrittenHeaders=!0;if(J){let K=this.gatherColumns(z);Q.push(this.formatColumns(K,!1))}}return Y(null,Q)})}finish($){let Y=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return $(Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));Y.push(this.formatColumns(this.headers,!0))}if(this.formatterOptions.includeEndRowDelimiter)Y.push(this.formatterOptions.rowDelimiter);return $(null,Y)}checkHeaders($){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};let Y=AU.gatherHeaders($);if(this.headers=Y,this.fieldFormatter.headers=Y,!this.shouldWriteHeaders)return{shouldFormatColumns:!0,headers:null};return{shouldFormatColumns:!N31.default(Y,$),headers:Y}}gatherColumns($){if(this.headers===null)throw Error("Headers is currently null");if(!Array.isArray($))return this.headers.map((Y)=>$[Y]);if(AU.isRowHashArray($))return this.headers.map((Y,U)=>{let z=$[U];if(z)return z[1];return""});if(AU.isRowArray($)&&!this.shouldWriteHeaders)return $;return this.headers.map((Y,U)=>$[U])}callTransformer($,Y){if(!this._rowTransform)return Y(null,$);return this._rowTransform($,Y)}formatColumns($,Y){let U=$.map((Q,J)=>this.fieldFormatter.format(Q,J,Y)).join(this.formatterOptions.delimiter),{rowCount:z}=this;if(this.rowCount+=1,z)return[this.formatterOptions.rowDelimiter,U].join("");return U}}nJ.RowFormatter=AU});var UK0=E((iN)=>{Object.defineProperty(iN,"__esModule",{value:!0});iN.FieldFormatter=iN.RowFormatter=void 0;var B31=YK0();Object.defineProperty(iN,"RowFormatter",{enumerable:!0,get:function(){return B31.RowFormatter}});var P31=Ff();Object.defineProperty(iN,"FieldFormatter",{enumerable:!0,get:function(){return P31.FieldFormatter}})});var Mf=E((QK0)=>{Object.defineProperty(QK0,"__esModule",{value:!0});QK0.CsvFormatterStream=void 0;var j31=I0("stream"),E31=UK0();class zK0 extends j31.Transform{constructor($){super({writableObjectMode:$.objectMode});this.hasWrittenBOM=!1,this.formatterOptions=$,this.rowFormatter=new E31.RowFormatter($),this.hasWrittenBOM=!$.writeBOM}transform($){return this.rowFormatter.rowTransform=$,this}_transform($,Y,U){let z=!1;try{if(!this.hasWrittenBOM)this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0;this.rowFormatter.format($,(Q,J)=>{if(Q)return z=!0,U(Q);if(J)J.forEach((I)=>{this.push(Buffer.from(I,"utf8"))});return z=!0,U()})}catch(Q){if(z)throw Q;U(Q)}}_flush($){this.rowFormatter.finish((Y,U)=>{if(Y)return $(Y);if(U)U.forEach((z)=>{this.push(Buffer.from(z,"utf8"))});return $()})}}QK0.CsvFormatterStream=zK0});var KK0=E((s1)=>{var IK0=s1&&s1.__createBinding||(Object.create?function($,Y,U,z){if(z===void 0)z=U;Object.defineProperty($,z,{enumerable:!0,get:function(){return Y[U]}})}:function($,Y,U,z){if(z===void 0)z=U;$[z]=Y[U]}),C31=s1&&s1.__setModuleDefault||(Object.create?function($,Y){Object.defineProperty($,"default",{enumerable:!0,value:Y})}:function($,Y){$.default=Y}),R31=s1&&s1.__importStar||function($){if($&&$.__esModule)return $;var Y={};if($!=null){for(var U in $)if(U!=="default"&&Object.prototype.hasOwnProperty.call($,U))IK0(Y,$,U)}return C31(Y,$),Y},_31=s1&&s1.__exportStar||function($,Y){for(var U in $)if(U!=="default"&&!Object.prototype.hasOwnProperty.call(Y,U))IK0(Y,$,U)};Object.defineProperty(s1,"__esModule",{value:!0});s1.writeToPath=s1.writeToString=s1.writeToBuffer=s1.writeToStream=s1.write=s1.format=s1.FormatterOptions=s1.CsvFormatterStream=void 0;var v31=I0("util"),h31=I0("stream"),S31=R31(I0("fs")),g31=Yf(),y31=Mf();_31(wf(),s1);var k31=Mf();Object.defineProperty(s1,"CsvFormatterStream",{enumerable:!0,get:function(){return k31.CsvFormatterStream}});var x31=Yf();Object.defineProperty(s1,"FormatterOptions",{enumerable:!0,get:function(){return x31.FormatterOptions}});s1.format=($)=>new y31.CsvFormatterStream(new g31.FormatterOptions($));s1.write=($,Y)=>{let U=s1.format(Y),z=v31.promisify((Q,J)=>{U.write(Q,void 0,J)});return $.reduce((Q,J)=>Q.then(()=>z(J)),Promise.resolve()).then(()=>U.end()).catch((Q)=>{U.emit("error",Q)}),U};s1.writeToStream=($,Y,U)=>s1.write(Y,U).pipe($);s1.writeToBuffer=($,Y={})=>{let U=[],z=new h31.Writable({write(Q,J,I){U.push(Q),I()}});return new Promise((Q,J)=>{z.on("error",J).on("finish",()=>Q(Buffer.concat(U))),s1.write($,Y).pipe(z)})};s1.writeToString=($,Y)=>s1.writeToBuffer($,Y).then((U)=>U.toString());s1.writeToPath=($,Y,U)=>{let z=S31.createWriteStream($,{encoding:"utf8"});return s1.write(Y,U).pipe(z)}});var Of=E((pJ)=>{var GK0=pJ&&pJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(pJ,"__esModule",{value:!0});pJ.ParserOptions=void 0;var f31=GK0(Vf()),u31=GK0(qf());class HK0{constructor($){var Y;if(this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,$||{}),this.delimiter.length>1)throw Error("delimiter option must be one character long");if(this.escapedDelimiter=f31.default(this.delimiter),this.escapeChar=(Y=this.escape)!==null&&Y!==void 0?Y:this.quote,this.supportsComments=!u31.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows>0)this.limitRows=!0}}pJ.ParserOptions=HK0});var Nf=E((WK0)=>{Object.defineProperty(WK0,"__esModule",{value:!0});WK0.isSyncValidate=WK0.isSyncTransform=void 0;WK0.isSyncTransform=($)=>$.length===1;WK0.isSyncValidate=($)=>$.length===1});var VK0=E((dJ)=>{var i31=dJ&&dJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(dJ,"__esModule",{value:!0});dJ.RowTransformerValidator=void 0;var ZK0=i31(CN()),qK0=Nf();class cN{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform($){if(qK0.isSyncTransform($))return(Y,U)=>{let z=null;try{z=$(Y)}catch(Q){return U(Q)}return U(null,z)};return $}static createValidator($){if(qK0.isSyncValidate($))return(Y,U)=>{U(null,{row:Y,isValid:$(Y)})};return(Y,U)=>{$(Y,(z,Q,J)=>{if(z)return U(z);if(Q)return U(null,{row:Y,isValid:Q,reason:J});return U(null,{row:Y,isValid:!1,reason:J})})}}set rowTransform($){if(!ZK0.default($))throw TypeError("The transform should be a function");this._rowTransform=cN.createTransform($)}set rowValidator($){if(!ZK0.default($))throw TypeError("The validate should be a function");this._rowValidator=cN.createValidator($)}transformAndValidate($,Y){return this.callTransformer($,(U,z)=>{if(U)return Y(U);if(!z)return Y(null,{row:null,isValid:!0});return this.callValidator(z,(Q,J)=>{if(Q)return Y(Q);if(J&&!J.isValid)return Y(null,{row:z,isValid:!1,reason:J.reason});return Y(null,{row:z,isValid:!0})})})}callTransformer($,Y){if(!this._rowTransform)return Y(null,$);return this._rowTransform($,Y)}callValidator($,Y){if(!this._rowValidator)return Y(null,{row:$,isValid:!0});return this._rowValidator($,Y)}}dJ.RowTransformerValidator=cN});var FK0=E((So1,LK0)=>{function c31($){return $===void 0}LK0.exports=c31});var BK0=E((go1,AK0)=>{var n31=200,Bf="__lodash_hash_undefined__",p31=1/0,d31="[object Function]",m31="[object GeneratorFunction]",l31=/[\\^$.*+?()[\]{}|]/g,o31=/^\[object .+?Constructor\]$/,r31=typeof global=="object"&&global&&global.Object===Object&&global,s31=typeof self=="object"&&self&&self.Object===Object&&self,Pf=r31||s31||Function("return this")();function a31($,Y){var U=$?$.length:0;return!!U&&$71($,Y,0)>-1}function t31($,Y,U){var z=-1,Q=$?$.length:0;while(++z-1}function N71($,Y){var U=this.__data__,z=pN(U,$);if(z<0)U.push([$,Y]);else U[z][1]=Y;return this}mJ.prototype.clear=F71;mJ.prototype.delete=w71;mJ.prototype.get=M71;mJ.prototype.has=O71;mJ.prototype.set=N71;function lJ($){var Y=-1,U=$?$.length:0;this.clear();while(++Y=n31){var H=Y?null:_71($);if(H)return MK0(H);I=!1,Q=U71,G=new nN}else G=Y?[]:K;$:while(++z{var f71=200,u71="Expected a function",kf="__lodash_hash_undefined__",$D=1,sJ=2,SK0=1/0,gK0=9007199254740991,lN="[object Arguments]",Rf="[object Array]",yK0="[object Boolean]",kK0="[object Date]",xK0="[object Error]",fK0="[object Function]",b71="[object GeneratorFunction]",oN="[object Map]",uK0="[object Number]",oJ="[object Object]",PK0="[object Promise]",bK0="[object RegExp]",rN="[object Set]",iK0="[object String]",cK0="[object Symbol]",_f="[object WeakMap]",nK0="[object ArrayBuffer]",sN="[object DataView]",i71="[object Float32Array]",c71="[object Float64Array]",n71="[object Int8Array]",p71="[object Int16Array]",d71="[object Int32Array]",m71="[object Uint8Array]",l71="[object Uint8ClampedArray]",o71="[object Uint16Array]",r71="[object Uint32Array]",s71=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a71=/^\w*$/,t71=/^\./,e71=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$21=/[\\^$.*+?()[\]{}|]/g,Y21=/\\(\\)?/g,U21=/^\[object .+?Constructor\]$/,z21=/^(?:0|[1-9]\d*)$/,T4={};T4[i71]=T4[c71]=T4[n71]=T4[p71]=T4[d71]=T4[m71]=T4[l71]=T4[o71]=T4[r71]=!0;T4[lN]=T4[Rf]=T4[nK0]=T4[yK0]=T4[sN]=T4[kK0]=T4[xK0]=T4[fK0]=T4[oN]=T4[uK0]=T4[oJ]=T4[bK0]=T4[rN]=T4[iK0]=T4[_f]=!1;var pK0=typeof global=="object"&&global&&global.Object===Object&&global,Q21=typeof self=="object"&&self&&self.Object===Object&&self,K2=pK0||Q21||Function("return this")(),dK0=typeof mN=="object"&&mN&&!mN.nodeType&&mN,TK0=dK0&&typeof rJ=="object"&&rJ&&!rJ.nodeType&&rJ,J21=TK0&&TK0.exports===dK0,jK0=J21&&pK0.process,EK0=function(){try{return jK0&&jK0.binding("util")}catch($){}}(),CK0=EK0&&EK0.isTypedArray;function I21($,Y,U,z){var Q=-1,J=$?$.length:0;while(++Q-1}function y21($,Y){var U=this.__data__,z=UD(U,$);if(z<0)U.push([$,Y]);else U[z][1]=Y;return this}F3.prototype.clear=v21;F3.prototype.delete=h21;F3.prototype.get=S21;F3.prototype.has=g21;F3.prototype.set=y21;function w3($){var Y=-1,U=$?$.length:0;this.clear();while(++YK))return!1;var H=J.get($);if(H&&J.get(Y))return H==Y;var W=-1,X=!0,Z=Q&$D?new tN:void 0;J.set($,Y),J.set(Y,$);while(++W-1&&$%1==0&&$-1&&$%1==0&&$<=gK0}function ID($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function KD($){return!!$&&typeof $=="object"}function cf($){return typeof $=="symbol"||KD($)&&aJ.call($)==cK0}var PY1=CK0?W21(CK0):QY1;function TY1($){return $==null?"":WY1($)}function jY1($,Y,U){var z=$==null?void 0:lK0($,Y);return z===void 0?U:z}function EY1($,Y){return $!=null&&wY1($,Y,$Y1)}function eN($){return uf($)?o21($):IY1($)}function CY1($){return $}function RY1($){return QD($)?G21(JD($)):HY1($)}rJ.exports=AY1});var JG0=E((eJ)=>{var GD=eJ&&eJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(eJ,"__esModule",{value:!0});eJ.HeaderTransformer=void 0;var zG0=GD(FK0()),_Y1=GD(CN()),vY1=GD(BK0()),hY1=GD(UG0());class QG0{constructor($){if(this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=$,$.headers===!0)this.shouldUseFirstRow=!0;else if(Array.isArray($.headers))this.setHeaders($.headers);else if(_Y1.default($.headers))this.headersTransform=$.headers}transform($,Y){if(!this.shouldMapRow($))return Y(null,{row:null,isValid:!0});return Y(null,this.processRow($))}shouldMapRow($){let{parserOptions:Y}=this;if(!this.headersTransform&&Y.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray($)){if(this.headersTransform)this.setHeaders(this.headersTransform($));else if(this.shouldUseFirstRow)this.setHeaders($);else return!0;return!1}return!0}processRow($){if(!this.headers)return{row:$,isValid:!0};let{parserOptions:Y}=this;if(!Y.discardUnmappedColumns&&$.length>this.headersLength){if(!Y.strictColumnHandling)throw Error(`Unexpected Error: column header mismatch expected: ${this.headersLength} columns got: ${$.length}`);return{row:$,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${$.length}`}}if(Y.strictColumnHandling&&$.length!!z);if(vY1.default(U).length!==U.length){let z=hY1.default(U),Q=Object.keys(z).filter((J)=>z[J].length>1);throw Error(`Duplicate headers found ${JSON.stringify(Q)}`)}this.headers=$,this.receivedHeaders=!0,this.headersLength=((Y=this.headers)===null||Y===void 0?void 0:Y.length)||0}}eJ.HeaderTransformer=QG0});var IG0=E((HD)=>{Object.defineProperty(HD,"__esModule",{value:!0});HD.HeaderTransformer=HD.RowTransformerValidator=void 0;var SY1=VK0();Object.defineProperty(HD,"RowTransformerValidator",{enumerable:!0,get:function(){return SY1.RowTransformerValidator}});var gY1=JG0();Object.defineProperty(HD,"HeaderTransformer",{enumerable:!0,get:function(){return gY1.HeaderTransformer}})});var G2=E((GG0)=>{Object.defineProperty(GG0,"__esModule",{value:!0});GG0.Token=void 0;class KG0{constructor($){this.token=$.token,this.startCursor=$.startCursor,this.endCursor=$.endCursor}static isTokenRowDelimiter($){let Y=$.token;return Y==="\r"||Y===` + `});var $f=E((Fo1,$I0)=>{var ex=I0("fs"),$51=ay(),{PassThrough:lx}=E8(),Y51=g30(),ox=_W(),U51=Z8(),TN=l6(),{bufferToString:Lo1}=Tk(),rx=JN(),sJ0=Qx(),sx=Jx(),FU=HN(),z51=Ix(),aJ0=Kx(),jN=XN(),EN=FQ0(),ax=zJ0(),tx=PJ0(),tJ0=CJ0(),eJ0=oJ0(),Q51=mx();function J51($,Y){return new Promise((U,z)=>{ex.readFile($,Y,(Q,J)=>{if(Q)z(Q);else U(J)})})}class K9{constructor($){this.workbook=$}async readFile($,Y){if(!await U51.fs.exists($))throw Error(`File not found: ${$}`);let U=ex.createReadStream($);try{let z=await this.read(U,Y);return U.close(),z}catch(z){throw U.close(),z}}parseRels($){return new FU().parseStream($)}parseWorkbook($){return new jN().parseStream($)}parseSharedStrings($){return new sx().parseStream($)}reconcile($,Y){let U=new jN,z=new EN(Y),Q=new ax,J=new tx;U.reconcile($);let I={media:$.media,mediaIndex:$.mediaIndex};Object.keys($.drawings).forEach((H)=>{let W=$.drawings[H],X=$.drawingRels[H];if(X)I.rels=X.reduce((Z,q)=>{return Z[q.Id]=q,Z},{}),(W.anchors||[]).forEach((Z)=>{let q=Z.picture&&Z.picture.hyperlinks;if(q&&I.rels[q.rId])q.hyperlink=I.rels[q.rId].Target,delete q.rId}),Q.reconcile(W,I)});let K={styles:$.styles};Object.values($.tables).forEach((H)=>{J.reconcile(H,K)});let G={styles:$.styles,sharedStrings:$.sharedStrings,media:$.media,mediaIndex:$.mediaIndex,date1904:$.properties&&$.properties.date1904,drawings:$.drawings,comments:$.comments,tables:$.tables,vmlDrawings:$.vmlDrawings};$.worksheets.forEach((H)=>{H.relationships=$.worksheetRels[H.sheetNo],z.reconcile(H,G)}),delete $.worksheetHash,delete $.worksheetRels,delete $.globalRels,delete $.sharedStrings,delete $.workbookRels,delete $.sheetDefs,delete $.styles,delete $.mediaIndex,delete $.drawings,delete $.drawingRels,delete $.vmlDrawings}async _processWorksheetEntry($,Y,U,z,Q){let I=await new EN(z).parseStream($);I.sheetNo=U,Y.worksheetHash[Q]=I,Y.worksheets.push(I)}async _processCommentEntry($,Y,U){let Q=await new tJ0().parseStream($);Y.comments[`../${U}.xml`]=Q}async _processTableEntry($,Y,U){let Q=await new tx().parseStream($);Y.tables[`../tables/${U}.xml`]=Q}async _processWorksheetRelsEntry($,Y,U){let Q=await new FU().parseStream($);Y.worksheetRels[U]=Q}async _processMediaEntry($,Y,U){let z=U.lastIndexOf(".");if(z>=1){let Q=U.substr(z+1),J=U.substr(0,z);await new Promise((I,K)=>{let G=new ox;G.on("finish",()=>{Y.mediaIndex[U]=Y.media.length,Y.mediaIndex[J]=Y.media.length;let H={type:"image",name:J,extension:Q,buffer:G.toBuffer()};Y.media.push(H),I()}),$.on("error",(H)=>{K(H)}),$.pipe(G)})}}async _processDrawingEntry($,Y,U){let Q=await new ax().parseStream($);Y.drawings[U]=Q}async _processDrawingRelsEntry($,Y,U){let Q=await new FU().parseStream($);Y.drawingRels[U]=Q}async _processVmlDrawingEntry($,Y,U){let Q=await new eJ0().parseStream($);Y.vmlDrawings[`../drawings/${U}.vml`]=Q}async _processThemeEntry($,Y,U){await new Promise((z,Q)=>{let J=new ox;$.on("error",Q),J.on("error",Q),J.on("finish",()=>{Y.themes[U]=J.read().toString(),z()}),$.pipe(J)})}createInputStream(){throw Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}async read($,Y){if(!$[Symbol.asyncIterator]&&$.pipe)$=$.pipe(new lx);let U=[];for await(let z of $)U.push(z);return this.load(Buffer.concat(U),Y)}async load($,Y){let U;if(Y&&Y.base64)U=Buffer.from($.toString(),"base64");else U=$;let z={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},Q=await $51.loadAsync(U);for(let J of Object.values(Q.files))if(!J.dir){let I=J.name;if(I[0]==="/")I=I.substr(1);let K;if(I.match(/xl\/media\//)||I.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))K=new lx,K.write(await J.async("nodebuffer"));else{K=new lx({writableObjectMode:!0,readableObjectMode:!0});let G;G=await J.async("string");let H=16384;for(let W=0;W{if(U.type==="image"){let z=`xl/media/${U.name}.${U.extension}`;if(U.filename){let Q=await J51(U.filename);return $.append(Q,{name:z})}if(U.buffer)return $.append(U.buffer,{name:z});if(U.base64){let Q=U.base64,J=Q.substring(Q.indexOf(",")+1);return $.append(J,{name:z,base64:!0})}}throw Error("Unsupported media")}))}addDrawings($,Y){let U=new ax,z=new FU;Y.worksheets.forEach((Q)=>{let{drawing:J}=Q;if(J){U.prepare(J,{});let I=U.toXml(J);$.append(I,{name:`xl/drawings/${J.name}.xml`}),I=z.toXml(J.rels),$.append(I,{name:`xl/drawings/_rels/${J.name}.xml.rels`})}})}addTables($,Y){let U=new tx;Y.worksheets.forEach((z)=>{let{tables:Q}=z;Q.forEach((J)=>{U.prepare(J,{});let I=U.toXml(J);$.append(I,{name:`xl/tables/${J.target}`})})})}async addContentTypes($,Y){let z=new z51().toXml(Y);$.append(z,{name:"[Content_Types].xml"})}async addApp($,Y){let z=new aJ0().toXml(Y);$.append(z,{name:"docProps/app.xml"})}async addCore($,Y){let U=new sJ0;$.append(U.toXml(Y),{name:"docProps/core.xml"})}async addThemes($,Y){let U=Y.themes||{theme1:Q51};Object.keys(U).forEach((z)=>{let Q=U[z],J=`xl/theme/${z}.xml`;$.append(Q,{name:J})})}async addOfficeRels($){let U=new FU().toXml([{Id:"rId1",Type:K9.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:K9.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:K9.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);$.append(U,{name:"_rels/.rels"})}async addWorkbookRels($,Y){let U=1,z=[{Id:`rId${U++}`,Type:K9.RelType.Styles,Target:"styles.xml"},{Id:`rId${U++}`,Type:K9.RelType.Theme,Target:"theme/theme1.xml"}];if(Y.sharedStrings.count)z.push({Id:`rId${U++}`,Type:K9.RelType.SharedStrings,Target:"sharedStrings.xml"});Y.worksheets.forEach((I)=>{I.rId=`rId${U++}`,z.push({Id:I.rId,Type:K9.RelType.Worksheet,Target:`worksheets/sheet${I.id}.xml`})});let J=new FU().toXml(z);$.append(J,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings($,Y){if(Y.sharedStrings&&Y.sharedStrings.count)$.append(Y.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles($,Y){let{xml:U}=Y.styles;if(U)$.append(U,{name:"xl/styles.xml"})}async addWorkbook($,Y){let U=new jN;$.append(U.toXml(Y),{name:"xl/workbook.xml"})}async addWorksheets($,Y){let U=new EN,z=new FU,Q=new tJ0,J=new eJ0;Y.worksheets.forEach((I)=>{let K=new TN;if(U.render(K,I),$.append(K.xml,{name:`xl/worksheets/sheet${I.id}.xml`}),I.rels&&I.rels.length)K=new TN,z.render(K,I.rels),$.append(K.xml,{name:`xl/worksheets/_rels/sheet${I.id}.xml.rels`});if(I.comments.length>0)K=new TN,Q.render(K,I),$.append(K.xml,{name:`xl/comments${I.id}.xml`}),K=new TN,J.render(K,I),$.append(K.xml,{name:`xl/drawings/vmlDrawing${I.id}.vml`})})}_finalize($){return new Promise((Y,U)=>{$.on("finish",()=>{Y(this)}),$.on("error",U),$.finalize()})}prepareModel($,Y){$.creator=$.creator||"ExcelJS",$.lastModifiedBy=$.lastModifiedBy||"ExcelJS",$.created=$.created||new Date,$.modified=$.modified||new Date,$.useSharedStrings=Y.useSharedStrings!==void 0?Y.useSharedStrings:!0,$.useStyles=Y.useStyles!==void 0?Y.useStyles:!0,$.sharedStrings=new sx,$.styles=$.useStyles?new rx(!0):new rx.Mock;let U=new jN,z=new EN;U.prepare($);let Q={sharedStrings:$.sharedStrings,styles:$.styles,date1904:$.properties.date1904,drawingsCount:0,media:$.media};Q.drawings=$.drawings=[],Q.commentRefs=$.commentRefs=[];let J=0;$.tables=[],$.worksheets.forEach((I)=>{I.tables.forEach((K)=>{J++,K.target=`table${J}.xml`,K.id=J,$.tables.push(K)}),z.prepare(I,Q)})}async write($,Y){Y=Y||{};let{model:U}=this.workbook,z=new Y51.ZipWriter(Y.zip);return z.pipe($),this.prepareModel(U,Y),await this.addContentTypes(z,U),await this.addOfficeRels(z,U),await this.addWorkbookRels(z,U),await this.addWorksheets(z,U),await this.addSharedStrings(z,U),await this.addDrawings(z,U),await this.addTables(z,U),await Promise.all([this.addThemes(z,U),this.addStyles(z,U)]),await this.addMedia(z,U),await Promise.all([this.addApp(z,U),this.addCore(z,U)]),await this.addWorkbook(z,U),this._finalize(z)}writeFile($,Y){let U=ex.createWriteStream($);return new Promise((z,Q)=>{U.on("finish",()=>{z()}),U.on("error",(J)=>{Q(J)}),this.write(U,Y).then(()=>{U.end()}).catch((J)=>{Q(J)})})}async writeBuffer($){let Y=new ox;return await this.write(Y,$),Y.read()}}K9.RelType=Y2();$I0.exports=K9});var Yf=E((UI0)=>{Object.defineProperty(UI0,"__esModule",{value:!0});UI0.FormatterOptions=void 0;class YI0{constructor($={}){var Y;if(this.objectMode=!0,this.delimiter=",",this.rowDelimiter=` +`,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,$||{}),typeof($===null||$===void 0?void 0:$.quoteHeaders)>"u")this.quoteHeaders=this.quoteColumns;if(($===null||$===void 0?void 0:$.quote)===!0)this.quote='"';else if(($===null||$===void 0?void 0:$.quote)===!1)this.quote="";if(typeof($===null||$===void 0?void 0:$.escape)!=="string")this.escape=this.quote;this.shouldWriteHeaders=!!this.headers&&((Y=$.writeHeaders)!==null&&Y!==void 0?Y:!0),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}UI0.FormatterOptions=YI0});var CN=E((Mo1,KI0)=>{var I51="[object AsyncFunction]",K51="[object Function]",G51="[object GeneratorFunction]",H51="[object Null]",W51="[object Proxy]",X51="[object Undefined]",Z51=typeof global=="object"&&global&&global.Object===Object&&global,q51=typeof self=="object"&&self&&self.Object===Object&&self,V51=Z51||q51||Function("return this")(),JI0=Object.prototype,L51=JI0.hasOwnProperty,II0=JI0.toString,QI0=V51.Symbol,wU=QI0?QI0.toStringTag:void 0;function F51($){if($==null)return $===void 0?X51:H51;return wU&&wU in Object($)?w51($):M51($)}function w51($){var Y=L51.call($,wU),U=$[wU];try{$[wU]=void 0;var z=!0}catch(J){}var Q=II0.call($);if(z)if(Y)$[wU]=U;else delete $[wU];return Q}function M51($){return II0.call($)}function O51($){if(!N51($))return!1;var Y=F51($);return Y==K51||Y==G51||Y==I51||Y==W51}function N51($){var Y=typeof $;return $!=null&&(Y=="object"||Y=="function")}KI0.exports=O51});var cI0=E((RN,bJ)=>{var D51=200,Zf="__lodash_hash_undefined__",xN=1,OI0=2,NI0=9007199254740991,_N="[object Arguments]",Jf="[object Array]",A51="[object AsyncFunction]",DI0="[object Boolean]",AI0="[object Date]",BI0="[object Error]",PI0="[object Function]",B51="[object GeneratorFunction]",vN="[object Map]",TI0="[object Number]",P51="[object Null]",uJ="[object Object]",GI0="[object Promise]",T51="[object Proxy]",jI0="[object RegExp]",hN="[object Set]",EI0="[object String]",j51="[object Symbol]",E51="[object Undefined]",If="[object WeakMap]",CI0="[object ArrayBuffer]",SN="[object DataView]",C51="[object Float32Array]",R51="[object Float64Array]",_51="[object Int8Array]",v51="[object Int16Array]",h51="[object Int32Array]",S51="[object Uint8Array]",g51="[object Uint8ClampedArray]",y51="[object Uint16Array]",k51="[object Uint32Array]",x51=/[\\^$.*+?()[\]{}|]/g,f51=/^\[object .+?Constructor\]$/,u51=/^(?:0|[1-9]\d*)$/,P4={};P4[C51]=P4[R51]=P4[_51]=P4[v51]=P4[h51]=P4[S51]=P4[g51]=P4[y51]=P4[k51]=!0;P4[_N]=P4[Jf]=P4[CI0]=P4[DI0]=P4[SN]=P4[AI0]=P4[BI0]=P4[PI0]=P4[vN]=P4[TI0]=P4[uJ]=P4[jI0]=P4[hN]=P4[EI0]=P4[If]=!1;var RI0=typeof global=="object"&&global&&global.Object===Object&&global,b51=typeof self=="object"&&self&&self.Object===Object&&self,q3=RI0||b51||Function("return this")(),_I0=typeof RN=="object"&&RN&&!RN.nodeType&&RN,HI0=_I0&&typeof bJ=="object"&&bJ&&!bJ.nodeType&&bJ,vI0=HI0&&HI0.exports===_I0,Uf=vI0&&RI0.process,WI0=function(){try{return Uf&&Uf.binding&&Uf.binding("util")}catch($){}}(),XI0=WI0&&WI0.isTypedArray;function i51($,Y){var U=-1,z=$==null?0:$.length,Q=0,J=[];while(++U-1}function w91($,Y){var U=this.__data__,z=uN(U,$);if(z<0)++this.size,U.push([$,Y]);else U[z][1]=Y;return this}V3.prototype.clear=q91;V3.prototype.delete=V91;V3.prototype.get=L91;V3.prototype.has=F91;V3.prototype.set=w91;function NU($){var Y=-1,U=$==null?0:$.length;this.clear();while(++YK))return!1;var H=J.get($);if(H&&J.get(Y))return H==Y;var W=-1,X=!0,Z=U&OI0?new yN:void 0;J.set($,Y),J.set(Y,$);while(++W-1&&$%1==0&&$-1&&$%1==0&&$<=NI0}function bI0($){var Y=typeof $;return $!=null&&(Y=="object"||Y=="function")}function nW($){return $!=null&&typeof $=="object"}var iI0=XI0?d51(XI0):g91;function o91($){return m91($)?_91($):y91($)}function r91(){return[]}function s91(){return!1}bJ.exports=l91});var pI0=E((No1,nI0)=>{var a91="[object Boolean]",t91=Object.prototype,e91=t91.toString;function $31($){return $===!0||$===!1||Y31($)&&e91.call($)==a91}function Y31($){return!!$&&typeof $=="object"}nI0.exports=$31});var qf=E((Do1,dI0)=>{function U31($){return $==null}dI0.exports=U31});var Vf=E((Ao1,sI0)=>{var z31=1/0,Q31="[object Symbol]",rI0=/[\\^$.*+?()[\]{}|]/g,J31=RegExp(rI0.source),I31=typeof global=="object"&&global&&global.Object===Object&&global,K31=typeof self=="object"&&self&&self.Object===Object&&self,G31=I31||K31||Function("return this")(),H31=Object.prototype,W31=H31.toString,mI0=G31.Symbol,lI0=mI0?mI0.prototype:void 0,oI0=lI0?lI0.toString:void 0;function X31($){if(typeof $=="string")return $;if(q31($))return oI0?oI0.call($):"";var Y=$+"";return Y=="0"&&1/$==-z31?"-0":Y}function Z31($){return!!$&&typeof $=="object"}function q31($){return typeof $=="symbol"||Z31($)&&W31.call($)==Q31}function V31($){return $==null?"":X31($)}function L31($){return $=V31($),$&&J31.test($)?$.replace(rI0,"\\$&"):$}sI0.exports=L31});var Ff=E((cJ)=>{var Lf=cJ&&cJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(cJ,"__esModule",{value:!0});cJ.FieldFormatter=void 0;var F31=Lf(pI0()),w31=Lf(qf()),M31=Lf(Vf());class aI0{constructor($){if(this._headers=null,this.formatterOptions=$,$.headers!==null)this.headers=$.headers;this.REPLACE_REGEXP=new RegExp($.quote,"g");let Y=`[${$.delimiter}${M31.default($.rowDelimiter)}|\r| +]`;this.ESCAPE_REGEXP=new RegExp(Y)}set headers($){this._headers=$}shouldQuote($,Y){let U=Y?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;if(F31.default(U))return U;if(Array.isArray(U))return U[$];if(this._headers!==null)return U[this._headers[$]];return!1}format($,Y,U){let z=`${w31.default($)?"":$}`.replace(/\0/g,""),{formatterOptions:Q}=this;if(Q.quote!==""){if(z.indexOf(Q.quote)!==-1)return this.quoteField(z.replace(this.REPLACE_REGEXP,Q.escapedQuote))}if(z.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(Y,U))return this.quoteField(z);return z}quoteField($){let{quote:Y}=this.formatterOptions;return`${Y}${$}${Y}`}}cJ.FieldFormatter=aI0});var wf=E((tI0)=>{Object.defineProperty(tI0,"__esModule",{value:!0});tI0.isSyncTransform=void 0;tI0.isSyncTransform=($)=>$.length===1});var YK0=E((nJ)=>{var $K0=nJ&&nJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(nJ,"__esModule",{value:!0});nJ.RowFormatter=void 0;var O31=$K0(CN()),N31=$K0(cI0()),D31=Ff(),A31=wf();class AU{constructor($){if(this.rowCount=0,this.formatterOptions=$,this.fieldFormatter=new D31.FieldFormatter($),this.headers=$.headers,this.shouldWriteHeaders=$.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null)this.fieldFormatter.headers=this.headers;if($.transform)this.rowTransform=$.transform}static isRowHashArray($){if(Array.isArray($))return Array.isArray($[0])&&$[0].length===2;return!1}static isRowArray($){return Array.isArray($)&&!this.isRowHashArray($)}static gatherHeaders($){if(AU.isRowHashArray($))return $.map((Y)=>Y[0]);if(Array.isArray($))return $;return Object.keys($)}static createTransform($){if(A31.isSyncTransform($))return(Y,U)=>{let z=null;try{z=$(Y)}catch(Q){return U(Q)}return U(null,z)};return(Y,U)=>{$(Y,U)}}set rowTransform($){if(!O31.default($))throw TypeError("The transform should be a function");this._rowTransform=AU.createTransform($)}format($,Y){this.callTransformer($,(U,z)=>{if(U)return Y(U);if(!$)return Y(null);let Q=[];if(z){let{shouldFormatColumns:J,headers:I}=this.checkHeaders(z);if(this.shouldWriteHeaders&&I&&!this.hasWrittenHeaders)Q.push(this.formatColumns(I,!0)),this.hasWrittenHeaders=!0;if(J){let K=this.gatherColumns(z);Q.push(this.formatColumns(K,!1))}}return Y(null,Q)})}finish($){let Y=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return $(Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));Y.push(this.formatColumns(this.headers,!0))}if(this.formatterOptions.includeEndRowDelimiter)Y.push(this.formatterOptions.rowDelimiter);return $(null,Y)}checkHeaders($){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};let Y=AU.gatherHeaders($);if(this.headers=Y,this.fieldFormatter.headers=Y,!this.shouldWriteHeaders)return{shouldFormatColumns:!0,headers:null};return{shouldFormatColumns:!N31.default(Y,$),headers:Y}}gatherColumns($){if(this.headers===null)throw Error("Headers is currently null");if(!Array.isArray($))return this.headers.map((Y)=>$[Y]);if(AU.isRowHashArray($))return this.headers.map((Y,U)=>{let z=$[U];if(z)return z[1];return""});if(AU.isRowArray($)&&!this.shouldWriteHeaders)return $;return this.headers.map((Y,U)=>$[U])}callTransformer($,Y){if(!this._rowTransform)return Y(null,$);return this._rowTransform($,Y)}formatColumns($,Y){let U=$.map((Q,J)=>this.fieldFormatter.format(Q,J,Y)).join(this.formatterOptions.delimiter),{rowCount:z}=this;if(this.rowCount+=1,z)return[this.formatterOptions.rowDelimiter,U].join("");return U}}nJ.RowFormatter=AU});var UK0=E((iN)=>{Object.defineProperty(iN,"__esModule",{value:!0});iN.FieldFormatter=iN.RowFormatter=void 0;var B31=YK0();Object.defineProperty(iN,"RowFormatter",{enumerable:!0,get:function(){return B31.RowFormatter}});var P31=Ff();Object.defineProperty(iN,"FieldFormatter",{enumerable:!0,get:function(){return P31.FieldFormatter}})});var Mf=E((QK0)=>{Object.defineProperty(QK0,"__esModule",{value:!0});QK0.CsvFormatterStream=void 0;var j31=I0("stream"),E31=UK0();class zK0 extends j31.Transform{constructor($){super({writableObjectMode:$.objectMode});this.hasWrittenBOM=!1,this.formatterOptions=$,this.rowFormatter=new E31.RowFormatter($),this.hasWrittenBOM=!$.writeBOM}transform($){return this.rowFormatter.rowTransform=$,this}_transform($,Y,U){let z=!1;try{if(!this.hasWrittenBOM)this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0;this.rowFormatter.format($,(Q,J)=>{if(Q)return z=!0,U(Q);if(J)J.forEach((I)=>{this.push(Buffer.from(I,"utf8"))});return z=!0,U()})}catch(Q){if(z)throw Q;U(Q)}}_flush($){this.rowFormatter.finish((Y,U)=>{if(Y)return $(Y);if(U)U.forEach((z)=>{this.push(Buffer.from(z,"utf8"))});return $()})}}QK0.CsvFormatterStream=zK0});var KK0=E((s1)=>{var IK0=s1&&s1.__createBinding||(Object.create?function($,Y,U,z){if(z===void 0)z=U;Object.defineProperty($,z,{enumerable:!0,get:function(){return Y[U]}})}:function($,Y,U,z){if(z===void 0)z=U;$[z]=Y[U]}),C31=s1&&s1.__setModuleDefault||(Object.create?function($,Y){Object.defineProperty($,"default",{enumerable:!0,value:Y})}:function($,Y){$.default=Y}),R31=s1&&s1.__importStar||function($){if($&&$.__esModule)return $;var Y={};if($!=null){for(var U in $)if(U!=="default"&&Object.prototype.hasOwnProperty.call($,U))IK0(Y,$,U)}return C31(Y,$),Y},_31=s1&&s1.__exportStar||function($,Y){for(var U in $)if(U!=="default"&&!Object.prototype.hasOwnProperty.call(Y,U))IK0(Y,$,U)};Object.defineProperty(s1,"__esModule",{value:!0});s1.writeToPath=s1.writeToString=s1.writeToBuffer=s1.writeToStream=s1.write=s1.format=s1.FormatterOptions=s1.CsvFormatterStream=void 0;var v31=I0("util"),h31=I0("stream"),S31=R31(I0("fs")),g31=Yf(),y31=Mf();_31(wf(),s1);var k31=Mf();Object.defineProperty(s1,"CsvFormatterStream",{enumerable:!0,get:function(){return k31.CsvFormatterStream}});var x31=Yf();Object.defineProperty(s1,"FormatterOptions",{enumerable:!0,get:function(){return x31.FormatterOptions}});s1.format=($)=>new y31.CsvFormatterStream(new g31.FormatterOptions($));s1.write=($,Y)=>{let U=s1.format(Y),z=v31.promisify((Q,J)=>{U.write(Q,void 0,J)});return $.reduce((Q,J)=>Q.then(()=>z(J)),Promise.resolve()).then(()=>U.end()).catch((Q)=>{U.emit("error",Q)}),U};s1.writeToStream=($,Y,U)=>s1.write(Y,U).pipe($);s1.writeToBuffer=($,Y={})=>{let U=[],z=new h31.Writable({write(Q,J,I){U.push(Q),I()}});return new Promise((Q,J)=>{z.on("error",J).on("finish",()=>Q(Buffer.concat(U))),s1.write($,Y).pipe(z)})};s1.writeToString=($,Y)=>s1.writeToBuffer($,Y).then((U)=>U.toString());s1.writeToPath=($,Y,U)=>{let z=S31.createWriteStream($,{encoding:"utf8"});return s1.write(Y,U).pipe(z)}});var Of=E((pJ)=>{var GK0=pJ&&pJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(pJ,"__esModule",{value:!0});pJ.ParserOptions=void 0;var f31=GK0(Vf()),u31=GK0(qf());class HK0{constructor($){var Y;if(this.objectMode=!0,this.delimiter=",",this.ignoreEmpty=!1,this.quote='"',this.escape=null,this.escapeChar=this.quote,this.comment=null,this.supportsComments=!1,this.ltrim=!1,this.rtrim=!1,this.trim=!1,this.headers=null,this.renameHeaders=!1,this.strictColumnHandling=!1,this.discardUnmappedColumns=!1,this.carriageReturn="\r",this.encoding="utf8",this.limitRows=!1,this.maxRows=0,this.skipLines=0,this.skipRows=0,Object.assign(this,$||{}),this.delimiter.length>1)throw Error("delimiter option must be one character long");if(this.escapedDelimiter=f31.default(this.delimiter),this.escapeChar=(Y=this.escape)!==null&&Y!==void 0?Y:this.quote,this.supportsComments=!u31.default(this.comment),this.NEXT_TOKEN_REGEXP=new RegExp(`([^\\s]|\\r\\n|\\n|\\r|${this.escapedDelimiter})`),this.maxRows>0)this.limitRows=!0}}pJ.ParserOptions=HK0});var Nf=E((WK0)=>{Object.defineProperty(WK0,"__esModule",{value:!0});WK0.isSyncValidate=WK0.isSyncTransform=void 0;WK0.isSyncTransform=($)=>$.length===1;WK0.isSyncValidate=($)=>$.length===1});var VK0=E((dJ)=>{var i31=dJ&&dJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(dJ,"__esModule",{value:!0});dJ.RowTransformerValidator=void 0;var ZK0=i31(CN()),qK0=Nf();class cN{constructor(){this._rowTransform=null,this._rowValidator=null}static createTransform($){if(qK0.isSyncTransform($))return(Y,U)=>{let z=null;try{z=$(Y)}catch(Q){return U(Q)}return U(null,z)};return $}static createValidator($){if(qK0.isSyncValidate($))return(Y,U)=>{U(null,{row:Y,isValid:$(Y)})};return(Y,U)=>{$(Y,(z,Q,J)=>{if(z)return U(z);if(Q)return U(null,{row:Y,isValid:Q,reason:J});return U(null,{row:Y,isValid:!1,reason:J})})}}set rowTransform($){if(!ZK0.default($))throw TypeError("The transform should be a function");this._rowTransform=cN.createTransform($)}set rowValidator($){if(!ZK0.default($))throw TypeError("The validate should be a function");this._rowValidator=cN.createValidator($)}transformAndValidate($,Y){return this.callTransformer($,(U,z)=>{if(U)return Y(U);if(!z)return Y(null,{row:null,isValid:!0});return this.callValidator(z,(Q,J)=>{if(Q)return Y(Q);if(J&&!J.isValid)return Y(null,{row:z,isValid:!1,reason:J.reason});return Y(null,{row:z,isValid:!0})})})}callTransformer($,Y){if(!this._rowTransform)return Y(null,$);return this._rowTransform($,Y)}callValidator($,Y){if(!this._rowValidator)return Y(null,{row:$,isValid:!0});return this._rowValidator($,Y)}}dJ.RowTransformerValidator=cN});var FK0=E((So1,LK0)=>{function c31($){return $===void 0}LK0.exports=c31});var BK0=E((go1,AK0)=>{var n31=200,Bf="__lodash_hash_undefined__",p31=1/0,d31="[object Function]",m31="[object GeneratorFunction]",l31=/[\\^$.*+?()[\]{}|]/g,o31=/^\[object .+?Constructor\]$/,r31=typeof global=="object"&&global&&global.Object===Object&&global,s31=typeof self=="object"&&self&&self.Object===Object&&self,Pf=r31||s31||Function("return this")();function a31($,Y){var U=$?$.length:0;return!!U&&$71($,Y,0)>-1}function t31($,Y,U){var z=-1,Q=$?$.length:0;while(++z-1}function N71($,Y){var U=this.__data__,z=pN(U,$);if(z<0)U.push([$,Y]);else U[z][1]=Y;return this}mJ.prototype.clear=F71;mJ.prototype.delete=w71;mJ.prototype.get=M71;mJ.prototype.has=O71;mJ.prototype.set=N71;function lJ($){var Y=-1,U=$?$.length:0;this.clear();while(++Y=n31){var H=Y?null:_71($);if(H)return MK0(H);I=!1,Q=U71,G=new nN}else G=Y?[]:K;$:while(++z{var f71=200,u71="Expected a function",kf="__lodash_hash_undefined__",$D=1,sJ=2,SK0=1/0,gK0=9007199254740991,lN="[object Arguments]",Rf="[object Array]",yK0="[object Boolean]",kK0="[object Date]",xK0="[object Error]",fK0="[object Function]",b71="[object GeneratorFunction]",oN="[object Map]",uK0="[object Number]",oJ="[object Object]",PK0="[object Promise]",bK0="[object RegExp]",rN="[object Set]",iK0="[object String]",cK0="[object Symbol]",_f="[object WeakMap]",nK0="[object ArrayBuffer]",sN="[object DataView]",i71="[object Float32Array]",c71="[object Float64Array]",n71="[object Int8Array]",p71="[object Int16Array]",d71="[object Int32Array]",m71="[object Uint8Array]",l71="[object Uint8ClampedArray]",o71="[object Uint16Array]",r71="[object Uint32Array]",s71=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a71=/^\w*$/,t71=/^\./,e71=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$21=/[\\^$.*+?()[\]{}|]/g,Y21=/\\(\\)?/g,U21=/^\[object .+?Constructor\]$/,z21=/^(?:0|[1-9]\d*)$/,T4={};T4[i71]=T4[c71]=T4[n71]=T4[p71]=T4[d71]=T4[m71]=T4[l71]=T4[o71]=T4[r71]=!0;T4[lN]=T4[Rf]=T4[nK0]=T4[yK0]=T4[sN]=T4[kK0]=T4[xK0]=T4[fK0]=T4[oN]=T4[uK0]=T4[oJ]=T4[bK0]=T4[rN]=T4[iK0]=T4[_f]=!1;var pK0=typeof global=="object"&&global&&global.Object===Object&&global,Q21=typeof self=="object"&&self&&self.Object===Object&&self,K2=pK0||Q21||Function("return this")(),dK0=typeof mN=="object"&&mN&&!mN.nodeType&&mN,TK0=dK0&&typeof rJ=="object"&&rJ&&!rJ.nodeType&&rJ,J21=TK0&&TK0.exports===dK0,jK0=J21&&pK0.process,EK0=function(){try{return jK0&&jK0.binding("util")}catch($){}}(),CK0=EK0&&EK0.isTypedArray;function I21($,Y,U,z){var Q=-1,J=$?$.length:0;while(++Q-1}function y21($,Y){var U=this.__data__,z=UD(U,$);if(z<0)U.push([$,Y]);else U[z][1]=Y;return this}F3.prototype.clear=v21;F3.prototype.delete=h21;F3.prototype.get=S21;F3.prototype.has=g21;F3.prototype.set=y21;function w3($){var Y=-1,U=$?$.length:0;this.clear();while(++YK))return!1;var H=J.get($);if(H&&J.get(Y))return H==Y;var W=-1,X=!0,Z=Q&$D?new tN:void 0;J.set($,Y),J.set(Y,$);while(++W-1&&$%1==0&&$-1&&$%1==0&&$<=gK0}function ID($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function KD($){return!!$&&typeof $=="object"}function cf($){return typeof $=="symbol"||KD($)&&aJ.call($)==cK0}var PY1=CK0?W21(CK0):QY1;function TY1($){return $==null?"":WY1($)}function jY1($,Y,U){var z=$==null?void 0:lK0($,Y);return z===void 0?U:z}function EY1($,Y){return $!=null&&wY1($,Y,$Y1)}function eN($){return uf($)?o21($):IY1($)}function CY1($){return $}function RY1($){return QD($)?G21(JD($)):HY1($)}rJ.exports=AY1});var JG0=E((eJ)=>{var GD=eJ&&eJ.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(eJ,"__esModule",{value:!0});eJ.HeaderTransformer=void 0;var zG0=GD(FK0()),_Y1=GD(CN()),vY1=GD(BK0()),hY1=GD(UG0());class QG0{constructor($){if(this.headers=null,this.receivedHeaders=!1,this.shouldUseFirstRow=!1,this.processedFirstRow=!1,this.headersLength=0,this.parserOptions=$,$.headers===!0)this.shouldUseFirstRow=!0;else if(Array.isArray($.headers))this.setHeaders($.headers);else if(_Y1.default($.headers))this.headersTransform=$.headers}transform($,Y){if(!this.shouldMapRow($))return Y(null,{row:null,isValid:!0});return Y(null,this.processRow($))}shouldMapRow($){let{parserOptions:Y}=this;if(!this.headersTransform&&Y.renameHeaders&&!this.processedFirstRow){if(!this.receivedHeaders)throw Error("Error renaming headers: new headers must be provided in an array");return this.processedFirstRow=!0,!1}if(!this.receivedHeaders&&Array.isArray($)){if(this.headersTransform)this.setHeaders(this.headersTransform($));else if(this.shouldUseFirstRow)this.setHeaders($);else return!0;return!1}return!0}processRow($){if(!this.headers)return{row:$,isValid:!0};let{parserOptions:Y}=this;if(!Y.discardUnmappedColumns&&$.length>this.headersLength){if(!Y.strictColumnHandling)throw Error(`Unexpected Error: column header mismatch expected: ${this.headersLength} columns got: ${$.length}`);return{row:$,isValid:!1,reason:`Column header mismatch expected: ${this.headersLength} columns got: ${$.length}`}}if(Y.strictColumnHandling&&$.length!!z);if(vY1.default(U).length!==U.length){let z=hY1.default(U),Q=Object.keys(z).filter((J)=>z[J].length>1);throw Error(`Duplicate headers found ${JSON.stringify(Q)}`)}this.headers=$,this.receivedHeaders=!0,this.headersLength=((Y=this.headers)===null||Y===void 0?void 0:Y.length)||0}}eJ.HeaderTransformer=QG0});var IG0=E((HD)=>{Object.defineProperty(HD,"__esModule",{value:!0});HD.HeaderTransformer=HD.RowTransformerValidator=void 0;var SY1=VK0();Object.defineProperty(HD,"RowTransformerValidator",{enumerable:!0,get:function(){return SY1.RowTransformerValidator}});var gY1=JG0();Object.defineProperty(HD,"HeaderTransformer",{enumerable:!0,get:function(){return gY1.HeaderTransformer}})});var G2=E((GG0)=>{Object.defineProperty(GG0,"__esModule",{value:!0});GG0.Token=void 0;class KG0{constructor($){this.token=$.token,this.startCursor=$.startCursor,this.endCursor=$.endCursor}static isTokenRowDelimiter($){let Y=$.token;return Y==="\r"||Y===` `||Y===`\r -`}static isTokenCarriageReturn($,Y){return $.token===Y.carriageReturn}static isTokenComment($,Y){return Y.supportsComments&&!!$&&$.token===Y.comment}static isTokenEscapeCharacter($,Y){return $.token===Y.escapeChar}static isTokenQuote($,Y){return $.token===Y.quote}static isTokenDelimiter($,Y){return $.token===Y.delimiter}}GG0.Token=KG0});var nf=E((ZG0)=>{Object.defineProperty(ZG0,"__esModule",{value:!0});ZG0.Scanner=void 0;var WG0=G2(),kY1=/((?:\r\n)|\n|\r)/;class XG0{constructor($){this.cursor=0,this.line=$.line,this.lineLength=this.line.length,this.parserOptions=$.parserOptions,this.hasMoreData=$.hasMoreData,this.cursor=$.cursor||0}get hasMoreCharacters(){return this.lineLength>this.cursor}get nextNonSpaceToken(){let{lineFromCursor:$}=this,Y=this.parserOptions.NEXT_TOKEN_REGEXP;if($.search(Y)===-1)return null;let U=Y.exec($);if(U==null)return null;let z=U[1],Q=this.cursor+(U.index||0);return new WG0.Token({token:z,startCursor:Q,endCursor:Q+z.length-1})}get nextCharacterToken(){let{cursor:$,lineLength:Y}=this;if(Y<=$)return null;return new WG0.Token({token:this.line[$],startCursor:$,endCursor:$})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){let $=kY1.exec(this.lineFromCursor);if(!$){if(this.hasMoreData)return null;return this.cursor=this.lineLength,this}return this.cursor+=($.index||0)+$[0].length,this}advanceTo($){return this.cursor=$,this}advanceToToken($){return this.cursor=$.startCursor,this}advancePastToken($){return this.cursor=$.endCursor+1,this}truncateToCursor(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}ZG0.Scanner=XG0});var WD=E((LG0)=>{Object.defineProperty(LG0,"__esModule",{value:!0});LG0.ColumnFormatter=void 0;class VG0{constructor($){if($.trim)this.format=(Y)=>Y.trim();else if($.ltrim)this.format=(Y)=>Y.trimLeft();else if($.rtrim)this.format=(Y)=>Y.trimRight();else this.format=(Y)=>Y}}LG0.ColumnFormatter=VG0});var pf=E((OG0)=>{Object.defineProperty(OG0,"__esModule",{value:!0});OG0.NonQuotedColumnParser=void 0;var xY1=WD(),wG0=G2();class MG0{constructor($){this.parserOptions=$,this.columnFormatter=new xY1.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let{parserOptions:Y}=this,U=[],z=$.nextCharacterToken;for(;z;z=$.nextCharacterToken){if(wG0.Token.isTokenDelimiter(z,Y)||wG0.Token.isTokenRowDelimiter(z))break;U.push(z.token),$.advancePastToken(z)}return this.columnFormatter.format(U.join(""))}}OG0.NonQuotedColumnParser=MG0});var df=E((AG0)=>{Object.defineProperty(AG0,"__esModule",{value:!0});AG0.QuotedColumnParser=void 0;var fY1=WD(),$I=G2();class DG0{constructor($){this.parserOptions=$,this.columnFormatter=new fY1.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let Y=$.cursor,{foundClosingQuote:U,col:z}=this.gatherDataBetweenQuotes($);if(!U){if($.advanceTo(Y),!$.hasMoreData)throw Error(`Parse Error: missing closing: '${this.parserOptions.quote||""}' in line: at '${$.lineFromCursor.replace(/[\r\n]/g,"\\n'")}'`);return null}return this.checkForMalformedColumn($),z}gatherDataBetweenQuotes($){let{parserOptions:Y}=this,U=!1,z=!1,Q=[],J=$.nextCharacterToken;for(;!z&&J!==null;J=$.nextCharacterToken){let I=$I.Token.isTokenQuote(J,Y);if(!U&&I)U=!0;else if(U)if($I.Token.isTokenEscapeCharacter(J,Y)){$.advancePastToken(J);let K=$.nextCharacterToken;if(K!==null&&($I.Token.isTokenQuote(K,Y)||$I.Token.isTokenEscapeCharacter(K,Y)))Q.push(K.token),J=K;else if(I)z=!0;else Q.push(J.token)}else if(I)z=!0;else Q.push(J.token);$.advancePastToken(J)}return{col:this.columnFormatter.format(Q.join("")),foundClosingQuote:z}}checkForMalformedColumn($){let{parserOptions:Y}=this,{nextNonSpaceToken:U}=$;if(U){let z=$I.Token.isTokenDelimiter(U,Y),Q=$I.Token.isTokenRowDelimiter(U);if(!(z||Q)){let J=$.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw Error(`Parse Error: expected: '${Y.escapedDelimiter}' OR new line got: '${U.token}'. at '${J}`)}$.advanceToToken(U)}else if(!$.hasMoreData)$.advancePastLine()}}AG0.QuotedColumnParser=DG0});var EG0=E((TG0)=>{Object.defineProperty(TG0,"__esModule",{value:!0});TG0.ColumnParser=void 0;var uY1=pf(),bY1=df(),iY1=G2();class PG0{constructor($){this.parserOptions=$,this.quotedColumnParser=new bY1.QuotedColumnParser($),this.nonQuotedColumnParser=new uY1.NonQuotedColumnParser($)}parse($){let{nextNonSpaceToken:Y}=$;if(Y!==null&&iY1.Token.isTokenQuote(Y,this.parserOptions))return $.advanceToToken(Y),this.quotedColumnParser.parse($);return this.nonQuotedColumnParser.parse($)}}TG0.ColumnParser=PG0});var mf=E((YI)=>{Object.defineProperty(YI,"__esModule",{value:!0});YI.ColumnFormatter=YI.QuotedColumnParser=YI.NonQuotedColumnParser=YI.ColumnParser=void 0;var cY1=EG0();Object.defineProperty(YI,"ColumnParser",{enumerable:!0,get:function(){return cY1.ColumnParser}});var nY1=pf();Object.defineProperty(YI,"NonQuotedColumnParser",{enumerable:!0,get:function(){return nY1.NonQuotedColumnParser}});var pY1=df();Object.defineProperty(YI,"QuotedColumnParser",{enumerable:!0,get:function(){return pY1.QuotedColumnParser}});var dY1=WD();Object.defineProperty(YI,"ColumnFormatter",{enumerable:!0,get:function(){return dY1.ColumnFormatter}})});var of=E((RG0)=>{Object.defineProperty(RG0,"__esModule",{value:!0});RG0.RowParser=void 0;var lY1=mf(),UI=G2(),lf="";class CG0{constructor($){this.parserOptions=$,this.columnParser=new lY1.ColumnParser($)}static isEmptyRow($){return $.join(lf).replace(/\s+/g,lf)===lf}parse($){let{parserOptions:Y}=this,{hasMoreData:U}=$,z=$,Q=[],J=this.getStartToken(z,Q);while(J){if(UI.Token.isTokenRowDelimiter(J)){if(z.advancePastToken(J),!z.hasMoreCharacters&&UI.Token.isTokenCarriageReturn(J,Y)&&U)return null;return z.truncateToCursor(),Q}if(!this.shouldSkipColumnParse(z,J,Q)){let I=this.columnParser.parse(z);if(I===null)return null;Q.push(I)}J=z.nextNonSpaceToken}if(!U)return z.truncateToCursor(),Q;return null}getStartToken($,Y){let U=$.nextNonSpaceToken;if(U!==null&&UI.Token.isTokenDelimiter(U,this.parserOptions))return Y.push(""),$.nextNonSpaceToken;return U}shouldSkipColumnParse($,Y,U){let{parserOptions:z}=this;if(UI.Token.isTokenDelimiter(Y,z)){$.advancePastToken(Y);let Q=$.nextCharacterToken;if(!$.hasMoreCharacters||Q!==null&&UI.Token.isTokenRowDelimiter(Q))return U.push(""),!0;if(Q!==null&&UI.Token.isTokenDelimiter(Q,z))return U.push(""),!0}return!1}}RG0.RowParser=CG0});var gG0=E((hG0)=>{Object.defineProperty(hG0,"__esModule",{value:!0});hG0.Parser=void 0;var oY1=nf(),vG0=of(),rY1=G2();class rf{constructor($){this.parserOptions=$,this.rowParser=new vG0.RowParser(this.parserOptions)}static removeBOM($){if($&&$.charCodeAt(0)===65279)return $.slice(1);return $}parse($,Y){let U=new oY1.Scanner({line:rf.removeBOM($),parserOptions:this.parserOptions,hasMoreData:Y});if(this.parserOptions.supportsComments)return this.parseWithComments(U);return this.parseWithoutComments(U)}parseWithoutComments($){let Y=[],U=!0;while(U)U=this.parseRow($,Y);return{line:$.line,rows:Y}}parseWithComments($){let{parserOptions:Y}=this,U=[];for(let z=$.nextCharacterToken;z!==null;z=$.nextCharacterToken)if(rY1.Token.isTokenComment(z,Y)){if($.advancePastLine()===null)return{line:$.lineFromCursor,rows:U};if(!$.hasMoreCharacters)return{line:$.lineFromCursor,rows:U};$.truncateToCursor()}else if(!this.parseRow($,U))break;return{line:$.line,rows:U}}parseRow($,Y){if(!$.nextNonSpaceToken)return!1;let z=this.rowParser.parse($);if(z===null)return!1;if(this.parserOptions.ignoreEmpty&&vG0.RowParser.isEmptyRow(z))return!0;return Y.push(z),!0}}hG0.Parser=rf});var yG0=E((M3)=>{Object.defineProperty(M3,"__esModule",{value:!0});M3.QuotedColumnParser=M3.NonQuotedColumnParser=M3.ColumnParser=M3.Token=M3.Scanner=M3.RowParser=M3.Parser=void 0;var sY1=gG0();Object.defineProperty(M3,"Parser",{enumerable:!0,get:function(){return sY1.Parser}});var aY1=of();Object.defineProperty(M3,"RowParser",{enumerable:!0,get:function(){return aY1.RowParser}});var tY1=nf();Object.defineProperty(M3,"Scanner",{enumerable:!0,get:function(){return tY1.Scanner}});var eY1=G2();Object.defineProperty(M3,"Token",{enumerable:!0,get:function(){return eY1.Token}});var sf=mf();Object.defineProperty(M3,"ColumnParser",{enumerable:!0,get:function(){return sf.ColumnParser}});Object.defineProperty(M3,"NonQuotedColumnParser",{enumerable:!0,get:function(){return sf.NonQuotedColumnParser}});Object.defineProperty(M3,"QuotedColumnParser",{enumerable:!0,get:function(){return sf.QuotedColumnParser}})});var af=E((xG0)=>{Object.defineProperty(xG0,"__esModule",{value:!0});xG0.CsvParserStream=void 0;var YU1=I0("string_decoder"),UU1=I0("stream"),kG0=IG0(),zU1=yG0();class XD extends UU1.Transform{constructor($){super({objectMode:$.objectMode});this.lines="",this.rowCount=0,this.parsedRowCount=0,this.parsedLineCount=0,this.endEmitted=!1,this.headersEmitted=!1,this.parserOptions=$,this.parser=new zU1.Parser($),this.headerTransformer=new kG0.HeaderTransformer($),this.decoder=new YU1.StringDecoder($.encoding),this.rowTransformerValidator=new kG0.RowTransformerValidator}get hasHitRowLimit(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}get shouldEmitRows(){return this.parsedRowCount>this.parserOptions.skipRows}get shouldSkipLine(){return this.parsedLineCount<=this.parserOptions.skipLines}transform($){return this.rowTransformerValidator.rowTransform=$,this}validate($){return this.rowTransformerValidator.rowValidator=$,this}emit($,...Y){if($==="end"){if(!this.endEmitted)this.endEmitted=!0,super.emit("end",this.rowCount);return!1}return super.emit($,...Y)}_transform($,Y,U){if(this.hasHitRowLimit)return U();let z=XD.wrapDoneCallback(U);try{let{lines:Q}=this,J=Q+this.decoder.write($),I=this.parse(J,!0);return this.processRows(I,z)}catch(Q){return z(Q)}}_flush($){let Y=XD.wrapDoneCallback($);if(this.hasHitRowLimit)return Y();try{let U=this.lines+this.decoder.end(),z=this.parse(U,!1);return this.processRows(z,Y)}catch(U){return Y(U)}}parse($,Y){if(!$)return[];let{line:U,rows:z}=this.parser.parse($,Y);return this.lines=U,z}processRows($,Y){let U=$.length,z=(Q)=>{let J=(G)=>{if(G)return Y(G);if(Q%100===0){setImmediate(()=>z(Q+1));return}return z(Q+1)};if(this.checkAndEmitHeaders(),Q>=U||this.hasHitRowLimit)return Y();if(this.parsedLineCount+=1,this.shouldSkipLine)return J();let I=$[Q];this.rowCount+=1,this.parsedRowCount+=1;let K=this.rowCount;return this.transformRow(I,(G,H)=>{if(G)return this.rowCount-=1,J(G);if(!H)return J(Error("expected transform result"));if(!H.isValid)this.emit("data-invalid",H.row,K,H.reason);else if(H.row)return this.pushRow(H.row,J);return J()})};z(0)}transformRow($,Y){try{this.headerTransformer.transform($,(U,z)=>{if(U)return Y(U);if(!z)return Y(Error("Expected result from header transform"));if(!z.isValid){if(this.shouldEmitRows)return Y(null,{isValid:!1,row:$});return this.skipRow(Y)}if(z.row){if(this.shouldEmitRows)return this.rowTransformerValidator.transformAndValidate(z.row,Y);return this.skipRow(Y)}return this.rowCount-=1,this.parsedRowCount-=1,Y(null,{row:null,isValid:!0})})}catch(U){Y(U)}}checkAndEmitHeaders(){if(!this.headersEmitted&&this.headerTransformer.headers)this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers)}skipRow($){return this.rowCount-=1,$(null,{row:null,isValid:!0})}pushRow($,Y){try{if(!this.parserOptions.objectMode)this.push(JSON.stringify($));else this.push($);Y()}catch(U){Y(U)}}static wrapDoneCallback($){let Y=!1;return(U,...z)=>{if(U){if(Y)throw U;Y=!0,$(U);return}$(...z)}}}xG0.CsvParserStream=XD});var bG0=E((p4)=>{var uG0=p4&&p4.__createBinding||(Object.create?function($,Y,U,z){if(z===void 0)z=U;Object.defineProperty($,z,{enumerable:!0,get:function(){return Y[U]}})}:function($,Y,U,z){if(z===void 0)z=U;$[z]=Y[U]}),QU1=p4&&p4.__setModuleDefault||(Object.create?function($,Y){Object.defineProperty($,"default",{enumerable:!0,value:Y})}:function($,Y){$.default=Y}),JU1=p4&&p4.__importStar||function($){if($&&$.__esModule)return $;var Y={};if($!=null){for(var U in $)if(U!=="default"&&Object.prototype.hasOwnProperty.call($,U))uG0(Y,$,U)}return QU1(Y,$),Y},IU1=p4&&p4.__exportStar||function($,Y){for(var U in $)if(U!=="default"&&!Object.prototype.hasOwnProperty.call(Y,U))uG0(Y,$,U)};Object.defineProperty(p4,"__esModule",{value:!0});p4.parseString=p4.parseFile=p4.parseStream=p4.parse=p4.ParserOptions=p4.CsvParserStream=void 0;var KU1=JU1(I0("fs")),GU1=I0("stream"),ZD=Of(),qD=af();IU1(Nf(),p4);var HU1=af();Object.defineProperty(p4,"CsvParserStream",{enumerable:!0,get:function(){return HU1.CsvParserStream}});var WU1=Of();Object.defineProperty(p4,"ParserOptions",{enumerable:!0,get:function(){return WU1.ParserOptions}});p4.parse=($)=>new qD.CsvParserStream(new ZD.ParserOptions($));p4.parseStream=($,Y)=>$.pipe(new qD.CsvParserStream(new ZD.ParserOptions(Y)));p4.parseFile=($,Y={})=>KU1.createReadStream($).pipe(new qD.CsvParserStream(new ZD.ParserOptions(Y)));p4.parseString=($,Y)=>{let U=new GU1.Readable;return U.push($),U.push(null),U.pipe(new qD.CsvParserStream(new ZD.ParserOptions(Y)))}});var iG0=E((V8)=>{Object.defineProperty(V8,"__esModule",{value:!0});V8.CsvParserStream=V8.ParserOptions=V8.parseFile=V8.parseStream=V8.parseString=V8.parse=V8.FormatterOptions=V8.CsvFormatterStream=V8.writeToPath=V8.writeToString=V8.writeToBuffer=V8.writeToStream=V8.write=V8.format=void 0;var H2=KK0();Object.defineProperty(V8,"format",{enumerable:!0,get:function(){return H2.format}});Object.defineProperty(V8,"write",{enumerable:!0,get:function(){return H2.write}});Object.defineProperty(V8,"writeToStream",{enumerable:!0,get:function(){return H2.writeToStream}});Object.defineProperty(V8,"writeToBuffer",{enumerable:!0,get:function(){return H2.writeToBuffer}});Object.defineProperty(V8,"writeToString",{enumerable:!0,get:function(){return H2.writeToString}});Object.defineProperty(V8,"writeToPath",{enumerable:!0,get:function(){return H2.writeToPath}});Object.defineProperty(V8,"CsvFormatterStream",{enumerable:!0,get:function(){return H2.CsvFormatterStream}});Object.defineProperty(V8,"FormatterOptions",{enumerable:!0,get:function(){return H2.FormatterOptions}});var zI=bG0();Object.defineProperty(V8,"parse",{enumerable:!0,get:function(){return zI.parse}});Object.defineProperty(V8,"parseString",{enumerable:!0,get:function(){return zI.parseString}});Object.defineProperty(V8,"parseStream",{enumerable:!0,get:function(){return zI.parseStream}});Object.defineProperty(V8,"parseFile",{enumerable:!0,get:function(){return zI.parseFile}});Object.defineProperty(V8,"ParserOptions",{enumerable:!0,get:function(){return zI.ParserOptions}});Object.defineProperty(V8,"CsvParserStream",{enumerable:!0,get:function(){return zI.CsvParserStream}})});var cG0=E((tf,ef)=>{(function($,Y){typeof tf=="object"&&typeof ef<"u"?ef.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_customParseFormat=Y()})(tf,function(){var $={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Y=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,U=/\d/,z=/\d\d/,Q=/\d\d?/,J=/\d*[^-_:/,()\s\d]+/,I={},K=function(V){return(V=+V)+(V>68?1900:2000)},G=function(V){return function(F){this[V]=+F}},H=[/[+-]\d\d:?(\d\d)?|Z/,function(V){(this.zone||(this.zone={})).offset=function(F){if(!F)return 0;if(F==="Z")return 0;var M=F.match(/([+-]|\d\d)/g),w=60*M[1]+(+M[2]||0);return w===0?0:M[0]==="+"?-w:w}(V)}],W=function(V){var F=I[V];return F&&(F.indexOf?F:F.s.concat(F.f))},X=function(V,F){var M,w=I.meridiem;if(w){for(var N=1;N<=24;N+=1)if(V.indexOf(w(N,0,F))>-1){M=N>12;break}}else M=V===(F?"pm":"PM");return M},Z={A:[J,function(V){this.afternoon=X(V,!1)}],a:[J,function(V){this.afternoon=X(V,!0)}],Q:[U,function(V){this.month=3*(V-1)+1}],S:[U,function(V){this.milliseconds=100*+V}],SS:[z,function(V){this.milliseconds=10*+V}],SSS:[/\d{3}/,function(V){this.milliseconds=+V}],s:[Q,G("seconds")],ss:[Q,G("seconds")],m:[Q,G("minutes")],mm:[Q,G("minutes")],H:[Q,G("hours")],h:[Q,G("hours")],HH:[Q,G("hours")],hh:[Q,G("hours")],D:[Q,G("day")],DD:[z,G("day")],Do:[J,function(V){var F=I.ordinal,M=V.match(/\d+/);if(this.day=M[0],F)for(var w=1;w<=31;w+=1)F(w).replace(/\[|\]/g,"")===V&&(this.day=w)}],w:[Q,G("week")],ww:[z,G("week")],M:[Q,G("month")],MM:[z,G("month")],MMM:[J,function(V){var F=W("months"),M=(W("monthsShort")||F.map(function(w){return w.slice(0,3)})).indexOf(V)+1;if(M<1)throw Error();this.month=M%12||M}],MMMM:[J,function(V){var F=W("months").indexOf(V)+1;if(F<1)throw Error();this.month=F%12||F}],Y:[/[+-]?\d+/,G("year")],YY:[z,function(V){this.year=K(V)}],YYYY:[/\d{4}/,G("year")],Z:H,ZZ:H};function q(V){var F,M;F=V,M=I&&I.formats;for(var w=(V=F.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(j,C,b){var x=b&&b.toUpperCase();return C||M[b]||$[b]||M[x].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,i,c){return i||c.slice(1)})})).match(Y),N=w.length,O=0;O-1)return new Date((k==="X"?1000:1)*z0);var $0=q(k)(z0),g=$0.year,p=$0.month,e=$0.day,y=$0.hours,s=$0.minutes,Y0=$0.seconds,N0=$0.milliseconds,E0=$0.zone,G0=$0.week,T0=new Date,i0=e||(g||p?1:T0.getDate()),Y1=g||T0.getFullYear(),a=0;g&&!p||(a=p>0?p-1:T0.getMonth());var W0,F0=y||0,f0=s||0,u0=Y0||0,c0=N0||0;return E0?new Date(Date.UTC(Y1,a,i0,F0,f0,u0,c0+60*E0.offset*1000)):d?new Date(Date.UTC(Y1,a,i0,F0,f0,u0,c0)):(W0=new Date(Y1,a,i0,F0,f0,u0,c0),G0&&(W0=t(W0).week(G0).toDate()),W0)}catch(D1){return new Date("")}}(D,A,P,M),this.init(),x&&x!==!0&&(this.$L=this.locale(x).$L),b&&D!=this.format(A)&&(this.$d=new Date("")),I={}}else if(A instanceof Array)for(var S=A.length,i=1;i<=S;i+=1){T[1]=A[i-1];var c=M.apply(this,T);if(c.isValid()){this.$d=c.$d,this.$L=c.$L,this.init();break}i===S&&(this.$d=new Date(""))}else N.call(this,O)}}})});var nG0=E(($u,Yu)=>{(function($,Y){typeof $u=="object"&&typeof Yu<"u"?Yu.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_utc=Y()})($u,function(){var $="minute",Y=/[+-]\d\d(?::?\d\d)?/g,U=/([+-]|\d\d)/g;return function(z,Q,J){var I=Q.prototype;J.utc=function(q){var V={date:q,utc:!0,args:arguments};return new Q(V)},I.utc=function(q){var V=J(this.toDate(),{locale:this.$L,utc:!0});return q?V.add(this.utcOffset(),$):V},I.local=function(){return J(this.toDate(),{locale:this.$L,utc:!1})};var K=I.parse;I.parse=function(q){q.utc&&(this.$u=!0),this.$utils().u(q.$offset)||(this.$offset=q.$offset),K.call(this,q)};var G=I.init;I.init=function(){if(this.$u){var q=this.$d;this.$y=q.getUTCFullYear(),this.$M=q.getUTCMonth(),this.$D=q.getUTCDate(),this.$W=q.getUTCDay(),this.$H=q.getUTCHours(),this.$m=q.getUTCMinutes(),this.$s=q.getUTCSeconds(),this.$ms=q.getUTCMilliseconds()}else G.call(this)};var H=I.utcOffset;I.utcOffset=function(q,V){var F=this.$utils().u;if(F(q))return this.$u?0:F(this.$offset)?H.call(this):this.$offset;if(typeof q=="string"&&(q=function(O){O===void 0&&(O="");var D=O.match(Y);if(!D)return null;var P=(""+D[0]).match(U)||["-",0,0],T=P[0],A=60*+P[1]+ +P[2];return A===0?0:T==="+"?A:-A}(q),q===null))return this;var M=Math.abs(q)<=16?60*q:q;if(M===0)return this.utc(V);var w=this.clone();if(V)return w.$offset=M,w.$u=!1,w;var N=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(w=this.local().add(M+N,$)).$offset=M,w.$x.$localOffset=N,w};var W=I.format;I.format=function(q){var V=q||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return W.call(this,V)},I.valueOf=function(){var q=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-60000*q},I.isUTC=function(){return!!this.$u},I.toISOString=function(){return this.toDate().toISOString()},I.toString=function(){return this.toDate().toUTCString()};var X=I.toDate;I.toDate=function(q){return q==="s"&&this.$offset?J(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():X.call(this)};var Z=I.diff;I.diff=function(q,V,F){if(q&&this.$u===q.$u)return Z.call(this,q,V,F);var M=this.local(),w=J(q).local();return Z.call(M,w,V,F)}}})});var pG0=E((Uu,zu)=>{(function($,Y){typeof Uu=="object"&&typeof zu<"u"?zu.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs=Y()})(Uu,function(){var $=1000,Y=60000,U=3600000,z="millisecond",Q="second",J="minute",I="hour",K="day",G="week",H="month",W="quarter",X="year",Z="date",q="Invalid Date",V=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,F=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(S){var i=["th","st","nd","rd"],c=S%100;return"["+S+(i[(c-20)%10]||i[c]||i[0])+"]"}},w=function(S,i,c){var z0=String(S);return!z0||z0.length>=i?S:""+Array(i+1-z0.length).join(c)+S},N={s:w,z:function(S){var i=-S.utcOffset(),c=Math.abs(i),z0=Math.floor(c/60),k=c%60;return(i<=0?"+":"-")+w(z0,2,"0")+":"+w(k,2,"0")},m:function S(i,c){if(i.date()1)return S(t[0])}else{var $0=i.name;D[$0]=i,k=$0}return!z0&&k&&(O=k),k||!z0&&O},j=function(S,i){if(T(S))return S.clone();var c=typeof i=="object"?i:{};return c.date=S,c.args=arguments,new b(c)},C=N;C.l=A,C.i=T,C.w=function(S,i){return j(S,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var b=function(){function S(c){this.$L=A(c.locale,null,!0),this.parse(c),this.$x=this.$x||c.x||{},this[P]=!0}var i=S.prototype;return i.parse=function(c){this.$d=function(z0){var{date:k,utc:d}=z0;if(k===null)return new Date(NaN);if(C.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var t=k.match(V);if(t){var $0=t[2]-1||0,g=(t[7]||"0").substring(0,3);return d?new Date(Date.UTC(t[1],$0,t[3]||1,t[4]||0,t[5]||0,t[6]||0,g)):new Date(t[1],$0,t[3]||1,t[4]||0,t[5]||0,t[6]||0,g)}}return new Date(k)}(c),this.init()},i.init=function(){var c=this.$d;this.$y=c.getFullYear(),this.$M=c.getMonth(),this.$D=c.getDate(),this.$W=c.getDay(),this.$H=c.getHours(),this.$m=c.getMinutes(),this.$s=c.getSeconds(),this.$ms=c.getMilliseconds()},i.$utils=function(){return C},i.isValid=function(){return this.$d.toString()!==q},i.isSame=function(c,z0){var k=j(c);return this.startOf(z0)<=k&&k<=this.endOf(z0)},i.isAfter=function(c,z0){return j(c){var dG0=I0("fs"),mG0=iG0(),ZU1=cG0(),qU1=nG0(),oW=pG0().extend(ZU1).extend(qU1),VU1=_W(),{fs:{exists:LU1}}=Z8(),FU1={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};class lG0{constructor($){this.workbook=$,this.worksheet=null}async readFile($,Y){if(Y=Y||{},!await LU1($))throw Error(`File not found: ${$}`);let U=dG0.createReadStream($),z=await this.read(U,Y);return U.close(),z}read($,Y){return Y=Y||{},new Promise((U,z)=>{let Q=this.workbook.addWorksheet(Y.sheetName),J=Y.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],I=Y.map||function(G){if(G==="")return null;let H=Number(G);if(!Number.isNaN(H)&&H!==1/0)return H;let W=J.reduce((Z,q)=>{if(Z)return Z;let V=oW(G,q,!0);if(V.isValid())return V;return null},null);if(W)return new Date(W.valueOf());let X=FU1[G];if(X!==void 0)return X;return G},K=mG0.parse(Y.parserOptions).on("data",(G)=>{Q.addRow(G.map(I))}).on("end",()=>{K.emit("worksheet",Q)});K.on("worksheet",U).on("error",z),$.pipe(K)})}createInputStream(){throw Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write($,Y){return new Promise((U,z)=>{Y=Y||{};let Q=this.workbook.getWorksheet(Y.sheetName||Y.sheetId),J=mG0.format(Y.formatterOptions);$.on("finish",()=>{U()}),J.on("error",z),J.pipe($);let{dateFormat:I,dateUTC:K}=Y,G=Y.map||((X)=>{if(X){if(X.text||X.hyperlink)return X.hyperlink||X.text||"";if(X.formula||X.result)return X.result||"";if(X instanceof Date){if(I)return K?oW.utc(X).format(I):oW(X).format(I);return K?oW.utc(X).format():oW(X).format()}if(X.error)return X.error;if(typeof X==="object")return JSON.stringify(X)}return X}),H=Y.includeEmptyRows===void 0||Y.includeEmptyRows,W=1;if(Q)Q.eachRow((X,Z)=>{if(H)while(W++{var sG0=z60(),wU1=Wg(),MU1=$f(),OU1=rG0();class aG0{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new wU1}get xlsx(){if(!this._xlsx)this._xlsx=new MU1(this);return this._xlsx}get csv(){if(!this._csv)this._csv=new OU1(this);return this._csv}get nextId(){for(let $=1;$(K&&K.orderNo)>I?K.orderNo:I,0),Q=Object.assign({},Y,{id:U,name:$,orderNo:z+1,workbook:this}),J=new sG0(Q);return this._worksheets[U]=J,J}removeWorksheetEx($){delete this._worksheets[$.id]}removeWorksheet($){let Y=this.getWorksheet($);if(Y)Y.destroy()}getWorksheet($){if($===void 0)return this._worksheets.find(Boolean);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((Y)=>Y&&Y.name===$);return}get worksheets(){return this._worksheets.slice(1).sort(($,Y)=>$.orderNo-Y.orderNo).filter(Boolean)}eachSheet($){this.worksheets.forEach((Y)=>{$(Y,Y.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage($){let Y=this.media.length;return this.media.push(Object.assign({},$,{type:"image"})),Y}getImage($){return this.media[$]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(($)=>$.model),sheets:this.worksheets.map(($)=>$.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model($){this.creator=$.creator,this.lastModifiedBy=$.lastModifiedBy,this.lastPrinted=$.lastPrinted,this.created=$.created,this.modified=$.modified,this.company=$.company,this.manager=$.manager,this.title=$.title,this.subject=$.subject,this.keywords=$.keywords,this.category=$.category,this.description=$.description,this.language=$.language,this.revision=$.revision,this.contentStatus=$.contentStatus,this.properties=$.properties,this.calcProperties=$.calcProperties,this._worksheets=[],$.worksheets.forEach((Y)=>{let{id:U,name:z,state:Q}=Y,J=$.sheets&&$.sheets.findIndex((K)=>K.id===U),I=this._worksheets[U]=new sG0({id:U,name:z,orderNo:J,state:Q,workbook:this});I.model=Y}),this._definedNames.model=$.definedNames,this.views=$.views,this._themes=$.themes,this.media=$.media||[]}}tG0.exports=aG0});var UH0=E((Ar1,YH0)=>{var NU1=$f();class $H0{constructor($){this.model=$}get xlsx(){if(!this._xlsx)this._xlsx=new NU1(this);return this._xlsx}}YH0.exports=$H0});var QH0=E((Br1,zH0)=>{var DU1=typeof process==="object"&&process&&process.platform==="win32";zH0.exports=DU1?{sep:"\\"}:{sep:"/"}});var HH0=E((Pr1,GH0)=>{GH0.exports=IH0;function IH0($,Y,U){if($ instanceof RegExp)$=JH0($,U);if(Y instanceof RegExp)Y=JH0(Y,U);var z=KH0($,Y,U);return z&&{start:z[0],end:z[1],pre:U.slice(0,z[0]),body:U.slice(z[0]+$.length,z[1]),post:U.slice(z[1]+Y.length)}}function JH0($,Y){var U=Y.match($);return U?U[0]:null}IH0.range=KH0;function KH0($,Y,U){var z,Q,J,I,K,G=U.indexOf($),H=U.indexOf(Y,G+1),W=G;if(G>=0&&H>0){if($===Y)return[G,H];z=[],J=U.length;while(W>=0&&!K){if(W==G)z.push(W),G=U.indexOf($,W+1);else if(z.length==1)K=[z.pop(),H];else{if(Q=z.pop(),Q=0?G:H}if(z.length)K=[J,I]}return K}});var wH0=E((Tr1,FH0)=>{var WH0=HH0();FH0.exports=jU1;var XH0="\x00SLASH"+Math.random()+"\x00",ZH0="\x00OPEN"+Math.random()+"\x00",Iu="\x00CLOSE"+Math.random()+"\x00",qH0="\x00COMMA"+Math.random()+"\x00",VH0="\x00PERIOD"+Math.random()+"\x00",AU1=1e5,BU1=4000000;function Qu($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function PU1($){return $.split("\\\\").join(XH0).split("\\{").join(ZH0).split("\\}").join(Iu).split("\\,").join(qH0).split("\\.").join(VH0)}function TU1($){return $.split(XH0).join("\\").split(ZH0).join("{").split(Iu).join("}").split(qH0).join(",").split(VH0).join(".")}function LH0($){if(!$)return[""];var Y=[],U=WH0("{","}",$);if(!U)return $.split(",");var{pre:z,body:Q,post:J}=U,I=z.split(",");I[I.length-1]+="{"+Q+"}";var K=LH0(J);if(J.length)I[I.length-1]+=K.shift(),I.push.apply(I,K);return Y.push.apply(Y,I),Y}function jU1($,Y){if(!$)return[];Y=Y||{};var U=Y.max==null?AU1:Y.max,z=Y.maxLength==null?BU1:Y.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return Ju(PU1($),U,z,!0).map(TU1)}function EU1($){return"{"+$+"}"}function CU1($){return/^-?0\d/.test($)}function RU1($,Y){return $<=Y}function _U1($,Y){return $>=Y}function rW($,Y,U,z,Q,J){var I=[],K=0;for(var G=0;G<$.length;G++)for(var H=0;H=z)return I;var W=$[G]+Y+U[H];if(J&&!W)continue;if(K+W.length>Q)return I;I.push(W),K+=W.length}return I}function vU1($,Y,U,z){var Q=$.split(/\.\./),J=[];if(Q[0]===void 0||Q[1]===void 0)return J;var I=Qu(Q[0]),K=Qu(Q[1]),G=Math.max(Q[0].length,Q[1].length),H=Q.length===3&&Q[2]!==void 0?Math.max(Math.abs(Qu(Q[2])),1):1,W=RU1,X=K0){var w=Array(M+1).join("0");if(V<0)F="-"+w+F.slice(1);else F=w+F}}if(q+F.length>z)break;J.push(F),q+=F.length}return J}function Ju($,Y,U,z){var Q=[""],J=!1,I=!0;for(;;){let D=WH0("{","}",$);if(!D)return rW(Q,$,[""],Y,U,J);let P=D.pre;if(/\$$/.test(P)){if(Q=rW(Q,P+"{"+D.body+"}",[""],Y,U,J&&!D.post.length),I=!1,!D.post.length)break;$=D.post;continue}var K=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(D.body),G=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(D.body),H=K||G,W=D.body.indexOf(",")>=0;if(!H&&!W){if(D.post.match(/,(?!,).*\}/)){$=D.pre+"{"+D.body+Iu+D.post,z=!0;continue}return rW(Q,P+"{"+D.body+"}"+D.post,[""],Y,U,J)}if(I)J=z&&!H,I=!1;var X;if(H)X=vU1(D.body,G,Y,U);else{var Z=LH0(D.body);if(Z.length===1&&Z[0]!==void 0){if(Z=Ju(Z[0],Y,U,!1).map(EU1),Z.length===1){if(Q=rW(Q,P+Z[0],[""],Y,U,J&&!D.post.length),!D.post.length)break;$=D.post;continue}}var q=J&&!D.post.length&&!P;for(var V=0;q&&V=Y||F+O.length>U)break $;X.push(O),F+=O.length}}}if(Q=rW(Q,P,X,Y,U,J&&!D.post.length),!D.post.length)break;$=D.post}return Q}});var BH0=E((jr1,Xu)=>{var H$=Xu.exports=($,Y,U={})=>{if(VD(Y),!U.nocomment&&Y.charAt(0)==="#")return!1;return new sW(Y,U).match($)};Xu.exports=H$;var Hu=QH0();H$.sep=Hu.sep;var R8=Symbol("globstar **");H$.GLOBSTAR=R8;var hU1=wH0(),MH0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Wu="[^/]",Ku=Wu+"*?",SU1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",gU1="(?:(?!(?:\\/|^)\\.).)*?",DH0=($)=>$.split("").reduce((Y,U)=>{return Y[U]=!0,Y},{}),OH0=DH0("().*{}+?[]^$\\!"),yU1=DH0("[.("),NH0=/\/+/;H$.filter=($,Y={})=>(U,z,Q)=>H$(U,$,Y);var W2=($,Y={})=>{let U={};return Object.keys($).forEach((z)=>U[z]=$[z]),Object.keys(Y).forEach((z)=>U[z]=Y[z]),U};H$.defaults=($)=>{if(!$||typeof $!=="object"||!Object.keys($).length)return H$;let Y=H$,U=(z,Q,J)=>Y(z,Q,W2($,J));return U.Minimatch=class extends Y.Minimatch{constructor(Q,J){super(Q,W2($,J))}},U.Minimatch.defaults=(z)=>Y.defaults(W2($,z)).Minimatch,U.filter=(z,Q)=>Y.filter(z,W2($,Q)),U.defaults=(z)=>Y.defaults(W2($,z)),U.makeRe=(z,Q)=>Y.makeRe(z,W2($,Q)),U.braceExpand=(z,Q)=>Y.braceExpand(z,W2($,Q)),U.match=(z,Q,J)=>Y.match(z,Q,W2($,J)),U};H$.braceExpand=($,Y)=>AH0($,Y);var AH0=($,Y={})=>{if(VD($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return hU1($)},kU1=65536,VD=($)=>{if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>kU1)throw TypeError("pattern is too long")},Gu=Symbol("subparse");H$.makeRe=($,Y)=>new sW($,Y||{}).makeRe();H$.match=($,Y,U={})=>{let z=new sW(Y,U);if($=$.filter((Q)=>z.match(Q)),z.options.nonull&&!$.length)$.push(Y);return $};var xU1=($)=>$.replace(/\\(.)/g,"$1"),fU1=($)=>$.replace(/\\([^-\]])/g,"$1"),uU1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),bU1=($)=>$.replace(/[[\]\\]/g,"\\$&");class sW{constructor($,Y){if(VD($),!Y)Y={};if(this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion!==void 0?Y.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.windowsPathsNoEscape=!!Y.windowsPathsNoEscape||Y.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.make()}debug(){}make(){let $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();let U=this.globSet=this.braceExpand();if(Y.debug)this.debug=(...z)=>console.error(...z);this.debug(this.pattern,U),U=this.globParts=U.map((z)=>z.split(NH0)),this.debug(this.pattern,U),U=U.map((z,Q,J)=>z.map(this.parse,this)),this.debug(this.pattern,U),U=U.filter((z)=>z.indexOf(!1)===-1),this.debug(this.pattern,U),this.set=U}parseNegate(){if(this.options.nonegate)return;let $=this.pattern,Y=!1,U=0;for(let z=0;z<$.length&&$.charAt(z)==="!";z++)Y=!Y,U++;if(U)this.pattern=$.slice(U);this.negate=Y}matchOne($,Y,U){if(Y.indexOf(R8)!==-1)return this._matchGlobstar($,Y,U,0,0);return this._matchOne($,Y,U,0,0)}_matchGlobstar($,Y,U,z,Q){let J=-1;for(let w=Q;w=0;w--)if(Y[w]===R8){I=w;break}let K=Y.slice(Q,J),G=U?Y.slice(J+1):Y.slice(J+1,I),H=U?[]:Y.slice(I+1);if(K.length){let w=$.slice(z,z+K.length);if(!this._matchOne(w,K,U,0,0))return!1;z+=K.length}let W=0;if(H.length){if(H.length+z>$.length)return!1;let w=$.length-H.length;if(this._matchOne($,H,U,w,0))W=H.length;else{if($[$.length-1]!==""||z+H.length===$.length)return!1;if(!this._matchOne($,H,U,w-1,0))return!1;W=H.length+1}}if(!G.length){let w=!!W;for(let N=z;N<$.length-W;N++){let O=String($[N]);if(w=!0,O==="."||O===".."||!this.options.dot&&O.charAt(0)===".")return!1}return U||w}let X=[[[],0]],Z=X[0],q=0,V=[0];for(let w of G)if(w===R8)V.push(q),Z=[[],0],X.push(Z);else Z[0].push(w),q++;let F=X.length-1,M=$.length-W;for(let w of X)w[1]=M-(V[F--]+w[0].length);return!!this._matchGlobStarBodySections($,X,z,0,U,0,!!W)}_matchGlobStarBodySections($,Y,U,z,Q,J,I){let K=Y[z];if(!K){for(let W=U;W<$.length;W++){I=!0;let X=$[W];if(X==="."||X===".."||!this.options.dot&&X.charAt(0)===".")return!1}return I}let[G,H]=K;while(U<=H){if(this._matchOne($.slice(0,U+G.length),G,Q,U,0)&&JF?"":M?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",N=(T)=>T.charAt(0)==="."?"":U.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",O=()=>{if(G){switch(G){case"*":z+=Ku,Q=!0;break;case"?":z+=Wu,Q=!0;break;default:z+="\\"+G;break}this.debug("clearStateChar %j %j",G,z),G=!1}};for(let T=0,A;T<$.length&&(A=$.charAt(T));T++){if(this.debug("%s\t%s %s %j",$,T,z,A),J){if(A==="/")return!1;if(OH0[A])z+="\\";z+=A,J=!1;continue}switch(A){case"/":return!1;case"\\":if(H&&$.charAt(T+1)==="-"){z+=A;continue}O(),J=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",$,T,z,A),H){if(this.debug(" in class"),A==="!"&&T===X+1)A="^";z+=A;continue}if(A==="*"&&G==="*")continue;if(this.debug("call clearStateChar %j",G),O(),G=A,U.noext)O();continue;case"(":{if(H){z+="(";continue}if(!G){z+="\\(";continue}let j={type:G,start:T-1,reStart:z.length,open:MH0[G].open,close:MH0[G].close};if(this.debug(this.pattern,"\t",j),I.push(j),z+=j.open,j.start===0&&j.type!=="!")F=!0,z+=N($.slice(T+1));this.debug("plType %j %j",G,z),G=!1;continue}case")":{let j=I[I.length-1];if(H||!j){z+="\\)";continue}if(I.pop(),O(),Q=!0,q=j,z+=q.close,q.type==="!")K.push(Object.assign(q,{reEnd:z.length}));continue}case"|":{let j=I[I.length-1];if(H||!j){z+="\\|";continue}if(O(),z+="|",j.start===0&&j.type!=="!")F=!0,z+=N($.slice(T+1));continue}case"[":if(O(),H){z+="\\"+A;continue}H=!0,X=T,W=z.length,z+=A;continue;case"]":if(T===X+1||!H){z+="\\"+A;continue}Z=$.substring(X+1,T);try{RegExp("["+bU1(fU1(Z))+"]"),z+=A}catch(j){z=z.substring(0,W)+"(?:$.)"}Q=!0,H=!1;continue;default:if(O(),OH0[A]&&!(A==="^"&&H))z+="\\";z+=A;break}}if(H)Z=$.slice(X+1),V=this.parse(Z,Gu),z=z.substring(0,W)+"\\["+V[0],Q=Q||V[1];for(q=I.pop();q;q=I.pop()){let T;T=z.slice(q.reStart+q.open.length),this.debug("setting tail",z,q),T=T.replace(/((?:\\{2}){0,64})(\\?)\|/g,(j,C,b)=>{if(!b)b="\\";return C+C+b+"|"}),this.debug(`tail=%j - %s`,T,T,q,z);let A=q.type==="*"?Ku:q.type==="?"?Wu:"\\"+q.type;Q=!0,z=z.slice(0,q.reStart)+A+"\\("+T}if(O(),J)z+="\\\\";let D=yU1[z.charAt(0)];for(let T=K.length-1;T>-1;T--){let A=K[T],j=z.slice(0,A.reStart),C=z.slice(A.reStart,A.reEnd-8),b=z.slice(A.reEnd),x=z.slice(A.reEnd-8,A.reEnd)+b,S=j.split(")").length,i=j.split("(").length-S,c=b;for(let k=0;k{return J=J.map((I)=>typeof I==="string"?uU1(I):I===R8?R8:I._src).reduce((I,K)=>{if(!(I[I.length-1]===R8&&K===R8))I.push(K);return I},[]),J.forEach((I,K)=>{if(I!==R8||J[K-1]===R8)return;if(K===0)if(J.length>1)J[K+1]="(?:\\/|"+U+"\\/)?"+J[K+1];else J[K]=U;else if(K===J.length-1)J[K-1]+="(?:\\/|"+U+")?";else J[K-1]+="(?:\\/|\\/"+U+"\\/)"+J[K+1],J[K+1]=R8}),J.filter((I)=>I!==R8).join("/")}).join("|");if(Q="^(?:"+Q+")$",this.negate)Q="^(?!"+Q+").*$";try{this.regexp=new RegExp(Q,z)}catch(J){this.regexp=!1}return this.regexp}match($,Y=this.partial){if(this.debug("match",$,this.pattern),this.comment)return!1;if(this.empty)return $==="";if($==="/"&&Y)return!0;let U=this.options;if(Hu.sep!=="/")$=$.split(Hu.sep).join("/");$=$.split(NH0),this.debug(this.pattern,"split",$);let z=this.set;this.debug(this.pattern,"set",z);let Q;for(let J=$.length-1;J>=0;J--)if(Q=$[J],Q)break;for(let J=0;J{EH0.exports=jH0;var qu=I0("fs"),{EventEmitter:iU1}=I0("events"),{Minimatch:Zu}=BH0(),{resolve:cU1}=I0("path");function nU1($,Y){return new Promise((U,z)=>{qu.readdir($,{withFileTypes:!0},(Q,J)=>{if(Q)switch(Q.code){case"ENOTDIR":if(Y)z(Q);else U([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":U([]);break;case"ELOOP":default:z(Q);break}else U(J)})})}function PH0($,Y){return new Promise((U,z)=>{(Y?qu.stat:qu.lstat)($,(J,I)=>{if(J)switch(J.code){case"ENOENT":if(Y)U(PH0($,!1));else U(null);break;default:U(null);break}else U(I)})})}async function*TH0($,Y,U,z,Q,J){let I=await nU1(Y+$,J);for(let K of I){let G=K.name;if(G===void 0)G=K,z=!0;let H=$+"/"+G,W=H.slice(1),X=Y+"/"+W,Z=null;if(z||U)Z=await PH0(X,U);if(!Z&&K.name!==void 0)Z=K;if(Z===null)Z={isDirectory:()=>!1};if(Z.isDirectory()){if(!Q(W))yield{relative:W,absolute:X,stats:Z},yield*TH0(H,Y,U,z,Q,!1)}else yield{relative:W,absolute:X,stats:Z}}}async function*pU1($,Y,U,z){yield*TH0("",$,Y,U,z,!0)}function dU1($){return{pattern:$.pattern,dot:!!$.dot,noglobstar:!!$.noglobstar,matchBase:!!$.matchBase,nocase:!!$.nocase,ignore:$.ignore,skip:$.skip,follow:!!$.follow,stat:!!$.stat,nodir:!!$.nodir,mark:!!$.mark,silent:!!$.silent,absolute:!!$.absolute}}class Vu extends iU1{constructor($,Y,U){super();if(typeof Y==="function")U=Y,Y=null;if(this.options=dU1(Y||{}),this.matchers=[],this.options.pattern){let z=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=z.map((Q)=>new Zu(Q,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let z=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=z.map((Q)=>new Zu(Q,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let z=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=z.map((Q)=>new Zu(Q,{dot:!0}))}if(this.iterator=pU1(cU1($||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,U)this._matches=[],this.on("match",(z)=>this._matches.push(this.options.absolute?z.absolute:z.relative)),this.on("error",(z)=>U(z)),this.on("end",()=>U(null,this._matches));setTimeout(()=>this._next(),0)}_shouldSkipDirectory($){return this.skipMatchers.some((Y)=>Y.match($))}_fileMatches($,Y){let U=$+(Y?"/":"");return(this.matchers.length===0||this.matchers.some((z)=>z.match(U)))&&!this.ignoreMatchers.some((z)=>z.match(U))&&(!this.options.nodir||!Y)}_next(){if(!this.paused&&!this.aborted)this.iterator.next().then(($)=>{if(!$.done){let Y=$.value.stats.isDirectory();if(this._fileMatches($.value.relative,Y)){let U=$.value.relative,z=$.value.absolute;if(this.options.mark&&Y)U+="/",z+="/";if(this.options.stat)this.emit("match",{relative:U,absolute:z,stat:$.value.stats});else this.emit("match",{relative:U,absolute:z})}this._next(this.iterator)}else this.emit("end")}).catch(($)=>{if(this.abort(),this.emit("error",$),!$.code&&!this.options.silent)console.error($)});else this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){if(this.paused=!1,this.inactive)this.inactive=!1,this._next()}}function jH0($,Y,U){return new Vu($,Y,U)}jH0.ReaddirGlob=Vu});var Lu=E((LD,RH0)=>{(function($,Y){typeof LD==="object"&&typeof RH0<"u"?Y(LD):typeof define==="function"&&define.amd?define(["exports"],Y):($=typeof globalThis<"u"?globalThis:$||self,Y($.async={}))})(LD,function($){function Y(f,...n){return(...o)=>f(...n,...o)}function U(f){return function(...n){var o=n.pop();return f.call(this,n,o)}}var z=typeof queueMicrotask==="function"&&queueMicrotask,Q=typeof setImmediate==="function"&&setImmediate,J=typeof process==="object"&&typeof process.nextTick==="function";function I(f){setTimeout(f,0)}function K(f){return(n,...o)=>f(()=>n(...o))}var G;if(z)G=queueMicrotask;else if(Q)G=setImmediate;else if(J)G=process.nextTick;else G=I;var H=K(G);function W(f){if(q(f))return function(...n){let o=n.pop(),K0=f.apply(this,n);return X(K0,o)};return U(function(n,o){var K0;try{K0=f.apply(this,n)}catch(w0){return o(w0)}if(K0&&typeof K0.then==="function")return X(K0,o);else o(null,K0)})}function X(f,n){return f.then((o)=>{Z(n,null,o)},(o)=>{Z(n,o&&(o instanceof Error||o.message)?o:Error(o))})}function Z(f,n,o){try{f(n,o)}catch(K0){H((w0)=>{throw w0},K0)}}function q(f){return f[Symbol.toStringTag]==="AsyncFunction"}function V(f){return f[Symbol.toStringTag]==="AsyncGenerator"}function F(f){return typeof f[Symbol.asyncIterator]==="function"}function M(f){if(typeof f!=="function")throw Error("expected a function");return q(f)?W(f):f}function w(f,n){if(!n)n=f.length;if(!n)throw Error("arity is undefined");function o(...K0){if(typeof K0[n-1]==="function")return f.apply(this,K0);return new Promise((w0,D0)=>{K0[n-1]=(P0,...j0)=>{if(P0)return D0(P0);w0(j0.length>1?j0:j0[0])},f.apply(this,K0)})}return o}function N(f){return function(o,...K0){return w(function(D0){var P0=this;return f(o,(j0,h0)=>{M(j0).apply(P0,K0.concat(h0))},D0)})}}function O(f,n,o,K0){n=n||[];var w0=[],D0=0,P0=M(o);return f(n,(j0,h0,U1)=>{var x1=D0++;P0(j0,(m1,i1)=>{w0[x1]=i1,U1(m1)})},(j0)=>{K0(j0,w0)})}function D(f){return f&&typeof f.length==="number"&&f.length>=0&&f.length%1===0}let P={};function T(f){function n(...o){if(f===null)return;var K0=f;f=null,K0.apply(this,o)}return Object.assign(n,f),n}function A(f){return f[Symbol.iterator]&&f[Symbol.iterator]()}function j(f){var n=-1,o=f.length;return function(){return++n=n||P0||w0)return;P0=!0,f.next().then(({value:i1,done:M$})=>{if(D0||w0)return;if(P0=!1,M$){if(w0=!0,j0<=0)K0(null);return}j0++,o(i1,h0,x1),h0++,U1()}).catch(m1)}function x1(i1,M$){if(j0-=1,D0)return;if(i1)return m1(i1);if(i1===!1){w0=!0,D0=!0;return}if(M$===P||w0&&j0<=0)return w0=!0,K0(null);U1()}function m1(i1){if(D0)return;P0=!1,w0=!0,K0(i1)}U1()}var c=(f)=>{return(n,o,K0)=>{if(K0=T(K0),f<=0)throw RangeError("concurrency limit cannot be less than 1");if(!n)return K0(null);if(V(n))return i(n,f,o,K0);if(F(n))return i(n[Symbol.asyncIterator](),f,o,K0);var w0=x(n),D0=!1,P0=!1,j0=0,h0=!1;function U1(m1,i1){if(P0)return;if(j0-=1,m1)D0=!0,K0(m1);else if(m1===!1)D0=!0,P0=!0;else if(i1===P||D0&&j0<=0)return D0=!0,K0(null);else if(!h0)x1()}function x1(){h0=!0;while(j01?w0:w0[0])}return o[T0]=new Promise((K0,w0)=>{f=K0,n=w0}),o}function Y1(f,n,o){if(typeof n!=="number")o=n,n=null;o=T(o||i0());var K0=Object.keys(f).length;if(!K0)return o(null);if(!n)n=K0;var w0={},D0=0,P0=!1,j0=!1,h0=Object.create(null),U1=[],x1=[],m1={};Object.keys(f).forEach((e0)=>{var H1=f[e0];if(!Array.isArray(H1)){i1(e0,[H1]),x1.push(e0);return}var c1=H1.slice(0,H1.length-1),g4=c1.length;if(g4===0){i1(e0,H1),x1.push(e0);return}m1[e0]=g4,c1.forEach((v6)=>{if(!f[v6])throw Error("async.auto task `"+e0+"` has a non-existent dependency `"+v6+"` in "+c1.join(", "));uz(v6,()=>{if(g4--,g4===0)i1(e0,H1)})})}),l1(),M$();function i1(e0,H1){U1.push(()=>mK(e0,H1))}function M$(){if(P0)return;if(U1.length===0&&D0===0)return o(null,w0);while(U1.length&&D0c1()),M$()}function mK(e0,H1){if(j0)return;var c1=S((v6,...O$)=>{if(D0--,v6===!1){P0=!0;return}if(O$.length<2)[O$]=O$;if(v6){var bz={};if(Object.keys(w0).forEach((DY)=>{bz[DY]=w0[DY]}),bz[e0]=O$,j0=!0,h0=Object.create(null),P0)return;o(v6,bz)}else w0[e0]=O$,NY(e0)});D0++;var g4=M(H1[H1.length-1]);if(H1.length>1)g4(w0,c1);else g4(c1)}function l1(){var e0,H1=0;while(x1.length)e0=x1.pop(),H1++,G1(e0).forEach((c1)=>{if(--m1[c1]===0)x1.push(c1)});if(H1!==K0)throw Error("async.auto cannot execute tasks due to a recursive dependency")}function G1(e0){var H1=[];return Object.keys(f).forEach((c1)=>{let g4=f[c1];if(Array.isArray(g4)&&g4.indexOf(e0)>=0)H1.push(c1)}),H1}return o[T0]}var a=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,W0=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,F0=/,/,f0=/(=.+)?(\s*)$/;function u0(f){let n="",o=0,K0=f.indexOf("*/");while(o{Object.defineProperty(ZG0,"__esModule",{value:!0});ZG0.Scanner=void 0;var WG0=G2(),kY1=/((?:\r\n)|\n|\r)/;class XG0{constructor($){this.cursor=0,this.line=$.line,this.lineLength=this.line.length,this.parserOptions=$.parserOptions,this.hasMoreData=$.hasMoreData,this.cursor=$.cursor||0}get hasMoreCharacters(){return this.lineLength>this.cursor}get nextNonSpaceToken(){let{lineFromCursor:$}=this,Y=this.parserOptions.NEXT_TOKEN_REGEXP;if($.search(Y)===-1)return null;let U=Y.exec($);if(U==null)return null;let z=U[1],Q=this.cursor+(U.index||0);return new WG0.Token({token:z,startCursor:Q,endCursor:Q+z.length-1})}get nextCharacterToken(){let{cursor:$,lineLength:Y}=this;if(Y<=$)return null;return new WG0.Token({token:this.line[$],startCursor:$,endCursor:$})}get lineFromCursor(){return this.line.substr(this.cursor)}advancePastLine(){let $=kY1.exec(this.lineFromCursor);if(!$){if(this.hasMoreData)return null;return this.cursor=this.lineLength,this}return this.cursor+=($.index||0)+$[0].length,this}advanceTo($){return this.cursor=$,this}advanceToToken($){return this.cursor=$.startCursor,this}advancePastToken($){return this.cursor=$.endCursor+1,this}truncateToCursor(){return this.line=this.lineFromCursor,this.lineLength=this.line.length,this.cursor=0,this}}ZG0.Scanner=XG0});var WD=E((LG0)=>{Object.defineProperty(LG0,"__esModule",{value:!0});LG0.ColumnFormatter=void 0;class VG0{constructor($){if($.trim)this.format=(Y)=>Y.trim();else if($.ltrim)this.format=(Y)=>Y.trimLeft();else if($.rtrim)this.format=(Y)=>Y.trimRight();else this.format=(Y)=>Y}}LG0.ColumnFormatter=VG0});var pf=E((OG0)=>{Object.defineProperty(OG0,"__esModule",{value:!0});OG0.NonQuotedColumnParser=void 0;var xY1=WD(),wG0=G2();class MG0{constructor($){this.parserOptions=$,this.columnFormatter=new xY1.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let{parserOptions:Y}=this,U=[],z=$.nextCharacterToken;for(;z;z=$.nextCharacterToken){if(wG0.Token.isTokenDelimiter(z,Y)||wG0.Token.isTokenRowDelimiter(z))break;U.push(z.token),$.advancePastToken(z)}return this.columnFormatter.format(U.join(""))}}OG0.NonQuotedColumnParser=MG0});var df=E((AG0)=>{Object.defineProperty(AG0,"__esModule",{value:!0});AG0.QuotedColumnParser=void 0;var fY1=WD(),$I=G2();class DG0{constructor($){this.parserOptions=$,this.columnFormatter=new fY1.ColumnFormatter($)}parse($){if(!$.hasMoreCharacters)return null;let Y=$.cursor,{foundClosingQuote:U,col:z}=this.gatherDataBetweenQuotes($);if(!U){if($.advanceTo(Y),!$.hasMoreData)throw Error(`Parse Error: missing closing: '${this.parserOptions.quote||""}' in line: at '${$.lineFromCursor.replace(/[\r\n]/g,"\\n'")}'`);return null}return this.checkForMalformedColumn($),z}gatherDataBetweenQuotes($){let{parserOptions:Y}=this,U=!1,z=!1,Q=[],J=$.nextCharacterToken;for(;!z&&J!==null;J=$.nextCharacterToken){let I=$I.Token.isTokenQuote(J,Y);if(!U&&I)U=!0;else if(U)if($I.Token.isTokenEscapeCharacter(J,Y)){$.advancePastToken(J);let K=$.nextCharacterToken;if(K!==null&&($I.Token.isTokenQuote(K,Y)||$I.Token.isTokenEscapeCharacter(K,Y)))Q.push(K.token),J=K;else if(I)z=!0;else Q.push(J.token)}else if(I)z=!0;else Q.push(J.token);$.advancePastToken(J)}return{col:this.columnFormatter.format(Q.join("")),foundClosingQuote:z}}checkForMalformedColumn($){let{parserOptions:Y}=this,{nextNonSpaceToken:U}=$;if(U){let z=$I.Token.isTokenDelimiter(U,Y),Q=$I.Token.isTokenRowDelimiter(U);if(!(z||Q)){let J=$.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw Error(`Parse Error: expected: '${Y.escapedDelimiter}' OR new line got: '${U.token}'. at '${J}`)}$.advanceToToken(U)}else if(!$.hasMoreData)$.advancePastLine()}}AG0.QuotedColumnParser=DG0});var EG0=E((TG0)=>{Object.defineProperty(TG0,"__esModule",{value:!0});TG0.ColumnParser=void 0;var uY1=pf(),bY1=df(),iY1=G2();class PG0{constructor($){this.parserOptions=$,this.quotedColumnParser=new bY1.QuotedColumnParser($),this.nonQuotedColumnParser=new uY1.NonQuotedColumnParser($)}parse($){let{nextNonSpaceToken:Y}=$;if(Y!==null&&iY1.Token.isTokenQuote(Y,this.parserOptions))return $.advanceToToken(Y),this.quotedColumnParser.parse($);return this.nonQuotedColumnParser.parse($)}}TG0.ColumnParser=PG0});var mf=E((YI)=>{Object.defineProperty(YI,"__esModule",{value:!0});YI.ColumnFormatter=YI.QuotedColumnParser=YI.NonQuotedColumnParser=YI.ColumnParser=void 0;var cY1=EG0();Object.defineProperty(YI,"ColumnParser",{enumerable:!0,get:function(){return cY1.ColumnParser}});var nY1=pf();Object.defineProperty(YI,"NonQuotedColumnParser",{enumerable:!0,get:function(){return nY1.NonQuotedColumnParser}});var pY1=df();Object.defineProperty(YI,"QuotedColumnParser",{enumerable:!0,get:function(){return pY1.QuotedColumnParser}});var dY1=WD();Object.defineProperty(YI,"ColumnFormatter",{enumerable:!0,get:function(){return dY1.ColumnFormatter}})});var of=E((RG0)=>{Object.defineProperty(RG0,"__esModule",{value:!0});RG0.RowParser=void 0;var lY1=mf(),UI=G2(),lf="";class CG0{constructor($){this.parserOptions=$,this.columnParser=new lY1.ColumnParser($)}static isEmptyRow($){return $.join(lf).replace(/\s+/g,lf)===lf}parse($){let{parserOptions:Y}=this,{hasMoreData:U}=$,z=$,Q=[],J=this.getStartToken(z,Q);while(J){if(UI.Token.isTokenRowDelimiter(J)){if(z.advancePastToken(J),!z.hasMoreCharacters&&UI.Token.isTokenCarriageReturn(J,Y)&&U)return null;return z.truncateToCursor(),Q}if(!this.shouldSkipColumnParse(z,J,Q)){let I=this.columnParser.parse(z);if(I===null)return null;Q.push(I)}J=z.nextNonSpaceToken}if(!U)return z.truncateToCursor(),Q;return null}getStartToken($,Y){let U=$.nextNonSpaceToken;if(U!==null&&UI.Token.isTokenDelimiter(U,this.parserOptions))return Y.push(""),$.nextNonSpaceToken;return U}shouldSkipColumnParse($,Y,U){let{parserOptions:z}=this;if(UI.Token.isTokenDelimiter(Y,z)){$.advancePastToken(Y);let Q=$.nextCharacterToken;if(!$.hasMoreCharacters||Q!==null&&UI.Token.isTokenRowDelimiter(Q))return U.push(""),!0;if(Q!==null&&UI.Token.isTokenDelimiter(Q,z))return U.push(""),!0}return!1}}RG0.RowParser=CG0});var gG0=E((hG0)=>{Object.defineProperty(hG0,"__esModule",{value:!0});hG0.Parser=void 0;var oY1=nf(),vG0=of(),rY1=G2();class rf{constructor($){this.parserOptions=$,this.rowParser=new vG0.RowParser(this.parserOptions)}static removeBOM($){if($&&$.charCodeAt(0)===65279)return $.slice(1);return $}parse($,Y){let U=new oY1.Scanner({line:rf.removeBOM($),parserOptions:this.parserOptions,hasMoreData:Y});if(this.parserOptions.supportsComments)return this.parseWithComments(U);return this.parseWithoutComments(U)}parseWithoutComments($){let Y=[],U=!0;while(U)U=this.parseRow($,Y);return{line:$.line,rows:Y}}parseWithComments($){let{parserOptions:Y}=this,U=[];for(let z=$.nextCharacterToken;z!==null;z=$.nextCharacterToken)if(rY1.Token.isTokenComment(z,Y)){if($.advancePastLine()===null)return{line:$.lineFromCursor,rows:U};if(!$.hasMoreCharacters)return{line:$.lineFromCursor,rows:U};$.truncateToCursor()}else if(!this.parseRow($,U))break;return{line:$.line,rows:U}}parseRow($,Y){if(!$.nextNonSpaceToken)return!1;let z=this.rowParser.parse($);if(z===null)return!1;if(this.parserOptions.ignoreEmpty&&vG0.RowParser.isEmptyRow(z))return!0;return Y.push(z),!0}}hG0.Parser=rf});var yG0=E((M3)=>{Object.defineProperty(M3,"__esModule",{value:!0});M3.QuotedColumnParser=M3.NonQuotedColumnParser=M3.ColumnParser=M3.Token=M3.Scanner=M3.RowParser=M3.Parser=void 0;var sY1=gG0();Object.defineProperty(M3,"Parser",{enumerable:!0,get:function(){return sY1.Parser}});var aY1=of();Object.defineProperty(M3,"RowParser",{enumerable:!0,get:function(){return aY1.RowParser}});var tY1=nf();Object.defineProperty(M3,"Scanner",{enumerable:!0,get:function(){return tY1.Scanner}});var eY1=G2();Object.defineProperty(M3,"Token",{enumerable:!0,get:function(){return eY1.Token}});var sf=mf();Object.defineProperty(M3,"ColumnParser",{enumerable:!0,get:function(){return sf.ColumnParser}});Object.defineProperty(M3,"NonQuotedColumnParser",{enumerable:!0,get:function(){return sf.NonQuotedColumnParser}});Object.defineProperty(M3,"QuotedColumnParser",{enumerable:!0,get:function(){return sf.QuotedColumnParser}})});var af=E((xG0)=>{Object.defineProperty(xG0,"__esModule",{value:!0});xG0.CsvParserStream=void 0;var YU1=I0("string_decoder"),UU1=I0("stream"),kG0=IG0(),zU1=yG0();class XD extends UU1.Transform{constructor($){super({objectMode:$.objectMode});this.lines="",this.rowCount=0,this.parsedRowCount=0,this.parsedLineCount=0,this.endEmitted=!1,this.headersEmitted=!1,this.parserOptions=$,this.parser=new zU1.Parser($),this.headerTransformer=new kG0.HeaderTransformer($),this.decoder=new YU1.StringDecoder($.encoding),this.rowTransformerValidator=new kG0.RowTransformerValidator}get hasHitRowLimit(){return this.parserOptions.limitRows&&this.rowCount>=this.parserOptions.maxRows}get shouldEmitRows(){return this.parsedRowCount>this.parserOptions.skipRows}get shouldSkipLine(){return this.parsedLineCount<=this.parserOptions.skipLines}transform($){return this.rowTransformerValidator.rowTransform=$,this}validate($){return this.rowTransformerValidator.rowValidator=$,this}emit($,...Y){if($==="end"){if(!this.endEmitted)this.endEmitted=!0,super.emit("end",this.rowCount);return!1}return super.emit($,...Y)}_transform($,Y,U){if(this.hasHitRowLimit)return U();let z=XD.wrapDoneCallback(U);try{let{lines:Q}=this,J=Q+this.decoder.write($),I=this.parse(J,!0);return this.processRows(I,z)}catch(Q){return z(Q)}}_flush($){let Y=XD.wrapDoneCallback($);if(this.hasHitRowLimit)return Y();try{let U=this.lines+this.decoder.end(),z=this.parse(U,!1);return this.processRows(z,Y)}catch(U){return Y(U)}}parse($,Y){if(!$)return[];let{line:U,rows:z}=this.parser.parse($,Y);return this.lines=U,z}processRows($,Y){let U=$.length,z=(Q)=>{let J=(G)=>{if(G)return Y(G);if(Q%100===0){setImmediate(()=>z(Q+1));return}return z(Q+1)};if(this.checkAndEmitHeaders(),Q>=U||this.hasHitRowLimit)return Y();if(this.parsedLineCount+=1,this.shouldSkipLine)return J();let I=$[Q];this.rowCount+=1,this.parsedRowCount+=1;let K=this.rowCount;return this.transformRow(I,(G,H)=>{if(G)return this.rowCount-=1,J(G);if(!H)return J(Error("expected transform result"));if(!H.isValid)this.emit("data-invalid",H.row,K,H.reason);else if(H.row)return this.pushRow(H.row,J);return J()})};z(0)}transformRow($,Y){try{this.headerTransformer.transform($,(U,z)=>{if(U)return Y(U);if(!z)return Y(Error("Expected result from header transform"));if(!z.isValid){if(this.shouldEmitRows)return Y(null,{isValid:!1,row:$});return this.skipRow(Y)}if(z.row){if(this.shouldEmitRows)return this.rowTransformerValidator.transformAndValidate(z.row,Y);return this.skipRow(Y)}return this.rowCount-=1,this.parsedRowCount-=1,Y(null,{row:null,isValid:!0})})}catch(U){Y(U)}}checkAndEmitHeaders(){if(!this.headersEmitted&&this.headerTransformer.headers)this.headersEmitted=!0,this.emit("headers",this.headerTransformer.headers)}skipRow($){return this.rowCount-=1,$(null,{row:null,isValid:!0})}pushRow($,Y){try{if(!this.parserOptions.objectMode)this.push(JSON.stringify($));else this.push($);Y()}catch(U){Y(U)}}static wrapDoneCallback($){let Y=!1;return(U,...z)=>{if(U){if(Y)throw U;Y=!0,$(U);return}$(...z)}}}xG0.CsvParserStream=XD});var bG0=E((p4)=>{var uG0=p4&&p4.__createBinding||(Object.create?function($,Y,U,z){if(z===void 0)z=U;Object.defineProperty($,z,{enumerable:!0,get:function(){return Y[U]}})}:function($,Y,U,z){if(z===void 0)z=U;$[z]=Y[U]}),QU1=p4&&p4.__setModuleDefault||(Object.create?function($,Y){Object.defineProperty($,"default",{enumerable:!0,value:Y})}:function($,Y){$.default=Y}),JU1=p4&&p4.__importStar||function($){if($&&$.__esModule)return $;var Y={};if($!=null){for(var U in $)if(U!=="default"&&Object.prototype.hasOwnProperty.call($,U))uG0(Y,$,U)}return QU1(Y,$),Y},IU1=p4&&p4.__exportStar||function($,Y){for(var U in $)if(U!=="default"&&!Object.prototype.hasOwnProperty.call(Y,U))uG0(Y,$,U)};Object.defineProperty(p4,"__esModule",{value:!0});p4.parseString=p4.parseFile=p4.parseStream=p4.parse=p4.ParserOptions=p4.CsvParserStream=void 0;var KU1=JU1(I0("fs")),GU1=I0("stream"),ZD=Of(),qD=af();IU1(Nf(),p4);var HU1=af();Object.defineProperty(p4,"CsvParserStream",{enumerable:!0,get:function(){return HU1.CsvParserStream}});var WU1=Of();Object.defineProperty(p4,"ParserOptions",{enumerable:!0,get:function(){return WU1.ParserOptions}});p4.parse=($)=>new qD.CsvParserStream(new ZD.ParserOptions($));p4.parseStream=($,Y)=>$.pipe(new qD.CsvParserStream(new ZD.ParserOptions(Y)));p4.parseFile=($,Y={})=>KU1.createReadStream($).pipe(new qD.CsvParserStream(new ZD.ParserOptions(Y)));p4.parseString=($,Y)=>{let U=new GU1.Readable;return U.push($),U.push(null),U.pipe(new qD.CsvParserStream(new ZD.ParserOptions(Y)))}});var iG0=E((V8)=>{Object.defineProperty(V8,"__esModule",{value:!0});V8.CsvParserStream=V8.ParserOptions=V8.parseFile=V8.parseStream=V8.parseString=V8.parse=V8.FormatterOptions=V8.CsvFormatterStream=V8.writeToPath=V8.writeToString=V8.writeToBuffer=V8.writeToStream=V8.write=V8.format=void 0;var H2=KK0();Object.defineProperty(V8,"format",{enumerable:!0,get:function(){return H2.format}});Object.defineProperty(V8,"write",{enumerable:!0,get:function(){return H2.write}});Object.defineProperty(V8,"writeToStream",{enumerable:!0,get:function(){return H2.writeToStream}});Object.defineProperty(V8,"writeToBuffer",{enumerable:!0,get:function(){return H2.writeToBuffer}});Object.defineProperty(V8,"writeToString",{enumerable:!0,get:function(){return H2.writeToString}});Object.defineProperty(V8,"writeToPath",{enumerable:!0,get:function(){return H2.writeToPath}});Object.defineProperty(V8,"CsvFormatterStream",{enumerable:!0,get:function(){return H2.CsvFormatterStream}});Object.defineProperty(V8,"FormatterOptions",{enumerable:!0,get:function(){return H2.FormatterOptions}});var zI=bG0();Object.defineProperty(V8,"parse",{enumerable:!0,get:function(){return zI.parse}});Object.defineProperty(V8,"parseString",{enumerable:!0,get:function(){return zI.parseString}});Object.defineProperty(V8,"parseStream",{enumerable:!0,get:function(){return zI.parseStream}});Object.defineProperty(V8,"parseFile",{enumerable:!0,get:function(){return zI.parseFile}});Object.defineProperty(V8,"ParserOptions",{enumerable:!0,get:function(){return zI.ParserOptions}});Object.defineProperty(V8,"CsvParserStream",{enumerable:!0,get:function(){return zI.CsvParserStream}})});var cG0=E((tf,ef)=>{(function($,Y){typeof tf=="object"&&typeof ef<"u"?ef.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_customParseFormat=Y()})(tf,function(){var $={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Y=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,U=/\d/,z=/\d\d/,Q=/\d\d?/,J=/\d*[^-_:/,()\s\d]+/,I={},K=function(V){return(V=+V)+(V>68?1900:2000)},G=function(V){return function(F){this[V]=+F}},H=[/[+-]\d\d:?(\d\d)?|Z/,function(V){(this.zone||(this.zone={})).offset=function(F){if(!F)return 0;if(F==="Z")return 0;var M=F.match(/([+-]|\d\d)/g),w=60*M[1]+(+M[2]||0);return w===0?0:M[0]==="+"?-w:w}(V)}],W=function(V){var F=I[V];return F&&(F.indexOf?F:F.s.concat(F.f))},X=function(V,F){var M,w=I.meridiem;if(w){for(var N=1;N<=24;N+=1)if(V.indexOf(w(N,0,F))>-1){M=N>12;break}}else M=V===(F?"pm":"PM");return M},Z={A:[J,function(V){this.afternoon=X(V,!1)}],a:[J,function(V){this.afternoon=X(V,!0)}],Q:[U,function(V){this.month=3*(V-1)+1}],S:[U,function(V){this.milliseconds=100*+V}],SS:[z,function(V){this.milliseconds=10*+V}],SSS:[/\d{3}/,function(V){this.milliseconds=+V}],s:[Q,G("seconds")],ss:[Q,G("seconds")],m:[Q,G("minutes")],mm:[Q,G("minutes")],H:[Q,G("hours")],h:[Q,G("hours")],HH:[Q,G("hours")],hh:[Q,G("hours")],D:[Q,G("day")],DD:[z,G("day")],Do:[J,function(V){var F=I.ordinal,M=V.match(/\d+/);if(this.day=M[0],F)for(var w=1;w<=31;w+=1)F(w).replace(/\[|\]/g,"")===V&&(this.day=w)}],w:[Q,G("week")],ww:[z,G("week")],M:[Q,G("month")],MM:[z,G("month")],MMM:[J,function(V){var F=W("months"),M=(W("monthsShort")||F.map(function(w){return w.slice(0,3)})).indexOf(V)+1;if(M<1)throw Error();this.month=M%12||M}],MMMM:[J,function(V){var F=W("months").indexOf(V)+1;if(F<1)throw Error();this.month=F%12||F}],Y:[/[+-]?\d+/,G("year")],YY:[z,function(V){this.year=K(V)}],YYYY:[/\d{4}/,G("year")],Z:H,ZZ:H};function q(V){var F,M;F=V,M=I&&I.formats;for(var w=(V=F.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(j,C,b){var x=b&&b.toUpperCase();return C||M[b]||$[b]||M[x].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,i,c){return i||c.slice(1)})})).match(Y),N=w.length,O=0;O-1)return new Date((k==="X"?1000:1)*z0);var $0=q(k)(z0),g=$0.year,p=$0.month,e=$0.day,y=$0.hours,s=$0.minutes,Y0=$0.seconds,N0=$0.milliseconds,E0=$0.zone,G0=$0.week,T0=new Date,i0=e||(g||p?1:T0.getDate()),Y1=g||T0.getFullYear(),a=0;g&&!p||(a=p>0?p-1:T0.getMonth());var W0,F0=y||0,u0=s||0,b0=Y0||0,c0=N0||0;return E0?new Date(Date.UTC(Y1,a,i0,F0,u0,b0,c0+60*E0.offset*1000)):d?new Date(Date.UTC(Y1,a,i0,F0,u0,b0,c0)):(W0=new Date(Y1,a,i0,F0,u0,b0,c0),G0&&(W0=t(W0).week(G0).toDate()),W0)}catch(D1){return new Date("")}}(D,A,P,M),this.init(),x&&x!==!0&&(this.$L=this.locale(x).$L),b&&D!=this.format(A)&&(this.$d=new Date("")),I={}}else if(A instanceof Array)for(var S=A.length,i=1;i<=S;i+=1){T[1]=A[i-1];var c=M.apply(this,T);if(c.isValid()){this.$d=c.$d,this.$L=c.$L,this.init();break}i===S&&(this.$d=new Date(""))}else N.call(this,O)}}})});var nG0=E(($u,Yu)=>{(function($,Y){typeof $u=="object"&&typeof Yu<"u"?Yu.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs_plugin_utc=Y()})($u,function(){var $="minute",Y=/[+-]\d\d(?::?\d\d)?/g,U=/([+-]|\d\d)/g;return function(z,Q,J){var I=Q.prototype;J.utc=function(q){var V={date:q,utc:!0,args:arguments};return new Q(V)},I.utc=function(q){var V=J(this.toDate(),{locale:this.$L,utc:!0});return q?V.add(this.utcOffset(),$):V},I.local=function(){return J(this.toDate(),{locale:this.$L,utc:!1})};var K=I.parse;I.parse=function(q){q.utc&&(this.$u=!0),this.$utils().u(q.$offset)||(this.$offset=q.$offset),K.call(this,q)};var G=I.init;I.init=function(){if(this.$u){var q=this.$d;this.$y=q.getUTCFullYear(),this.$M=q.getUTCMonth(),this.$D=q.getUTCDate(),this.$W=q.getUTCDay(),this.$H=q.getUTCHours(),this.$m=q.getUTCMinutes(),this.$s=q.getUTCSeconds(),this.$ms=q.getUTCMilliseconds()}else G.call(this)};var H=I.utcOffset;I.utcOffset=function(q,V){var F=this.$utils().u;if(F(q))return this.$u?0:F(this.$offset)?H.call(this):this.$offset;if(typeof q=="string"&&(q=function(O){O===void 0&&(O="");var D=O.match(Y);if(!D)return null;var P=(""+D[0]).match(U)||["-",0,0],T=P[0],A=60*+P[1]+ +P[2];return A===0?0:T==="+"?A:-A}(q),q===null))return this;var M=Math.abs(q)<=16?60*q:q;if(M===0)return this.utc(V);var w=this.clone();if(V)return w.$offset=M,w.$u=!1,w;var N=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(w=this.local().add(M+N,$)).$offset=M,w.$x.$localOffset=N,w};var W=I.format;I.format=function(q){var V=q||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return W.call(this,V)},I.valueOf=function(){var q=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-60000*q},I.isUTC=function(){return!!this.$u},I.toISOString=function(){return this.toDate().toISOString()},I.toString=function(){return this.toDate().toUTCString()};var X=I.toDate;I.toDate=function(q){return q==="s"&&this.$offset?J(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():X.call(this)};var Z=I.diff;I.diff=function(q,V,F){if(q&&this.$u===q.$u)return Z.call(this,q,V,F);var M=this.local(),w=J(q).local();return Z.call(M,w,V,F)}}})});var pG0=E((Uu,zu)=>{(function($,Y){typeof Uu=="object"&&typeof zu<"u"?zu.exports=Y():typeof define=="function"&&define.amd?define(Y):($=typeof globalThis<"u"?globalThis:$||self).dayjs=Y()})(Uu,function(){var $=1000,Y=60000,U=3600000,z="millisecond",Q="second",J="minute",I="hour",K="day",G="week",H="month",W="quarter",X="year",Z="date",q="Invalid Date",V=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,F=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(S){var i=["th","st","nd","rd"],c=S%100;return"["+S+(i[(c-20)%10]||i[c]||i[0])+"]"}},w=function(S,i,c){var z0=String(S);return!z0||z0.length>=i?S:""+Array(i+1-z0.length).join(c)+S},N={s:w,z:function(S){var i=-S.utcOffset(),c=Math.abs(i),z0=Math.floor(c/60),k=c%60;return(i<=0?"+":"-")+w(z0,2,"0")+":"+w(k,2,"0")},m:function S(i,c){if(i.date()1)return S(t[0])}else{var $0=i.name;D[$0]=i,k=$0}return!z0&&k&&(O=k),k||!z0&&O},j=function(S,i){if(T(S))return S.clone();var c=typeof i=="object"?i:{};return c.date=S,c.args=arguments,new b(c)},C=N;C.l=A,C.i=T,C.w=function(S,i){return j(S,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var b=function(){function S(c){this.$L=A(c.locale,null,!0),this.parse(c),this.$x=this.$x||c.x||{},this[P]=!0}var i=S.prototype;return i.parse=function(c){this.$d=function(z0){var{date:k,utc:d}=z0;if(k===null)return new Date(NaN);if(C.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var t=k.match(V);if(t){var $0=t[2]-1||0,g=(t[7]||"0").substring(0,3);return d?new Date(Date.UTC(t[1],$0,t[3]||1,t[4]||0,t[5]||0,t[6]||0,g)):new Date(t[1],$0,t[3]||1,t[4]||0,t[5]||0,t[6]||0,g)}}return new Date(k)}(c),this.init()},i.init=function(){var c=this.$d;this.$y=c.getFullYear(),this.$M=c.getMonth(),this.$D=c.getDate(),this.$W=c.getDay(),this.$H=c.getHours(),this.$m=c.getMinutes(),this.$s=c.getSeconds(),this.$ms=c.getMilliseconds()},i.$utils=function(){return C},i.isValid=function(){return this.$d.toString()!==q},i.isSame=function(c,z0){var k=j(c);return this.startOf(z0)<=k&&k<=this.endOf(z0)},i.isAfter=function(c,z0){return j(c){var dG0=I0("fs"),mG0=iG0(),ZU1=cG0(),qU1=nG0(),oW=pG0().extend(ZU1).extend(qU1),VU1=_W(),{fs:{exists:LU1}}=Z8(),FU1={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};class lG0{constructor($){this.workbook=$,this.worksheet=null}async readFile($,Y){if(Y=Y||{},!await LU1($))throw Error(`File not found: ${$}`);let U=dG0.createReadStream($),z=await this.read(U,Y);return U.close(),z}read($,Y){return Y=Y||{},new Promise((U,z)=>{let Q=this.workbook.addWorksheet(Y.sheetName),J=Y.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],I=Y.map||function(G){if(G==="")return null;let H=Number(G);if(!Number.isNaN(H)&&H!==1/0)return H;let W=J.reduce((Z,q)=>{if(Z)return Z;let V=oW(G,q,!0);if(V.isValid())return V;return null},null);if(W)return new Date(W.valueOf());let X=FU1[G];if(X!==void 0)return X;return G},K=mG0.parse(Y.parserOptions).on("data",(G)=>{Q.addRow(G.map(I))}).on("end",()=>{K.emit("worksheet",Q)});K.on("worksheet",U).on("error",z),$.pipe(K)})}createInputStream(){throw Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write($,Y){return new Promise((U,z)=>{Y=Y||{};let Q=this.workbook.getWorksheet(Y.sheetName||Y.sheetId),J=mG0.format(Y.formatterOptions);$.on("finish",()=>{U()}),J.on("error",z),J.pipe($);let{dateFormat:I,dateUTC:K}=Y,G=Y.map||((X)=>{if(X){if(X.text||X.hyperlink)return X.hyperlink||X.text||"";if(X.formula||X.result)return X.result||"";if(X instanceof Date){if(I)return K?oW.utc(X).format(I):oW(X).format(I);return K?oW.utc(X).format():oW(X).format()}if(X.error)return X.error;if(typeof X==="object")return JSON.stringify(X)}return X}),H=Y.includeEmptyRows===void 0||Y.includeEmptyRows,W=1;if(Q)Q.eachRow((X,Z)=>{if(H)while(W++{var sG0=z60(),wU1=Wg(),MU1=$f(),OU1=rG0();class aG0{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new wU1}get xlsx(){if(!this._xlsx)this._xlsx=new MU1(this);return this._xlsx}get csv(){if(!this._csv)this._csv=new OU1(this);return this._csv}get nextId(){for(let $=1;$(K&&K.orderNo)>I?K.orderNo:I,0),Q=Object.assign({},Y,{id:U,name:$,orderNo:z+1,workbook:this}),J=new sG0(Q);return this._worksheets[U]=J,J}removeWorksheetEx($){delete this._worksheets[$.id]}removeWorksheet($){let Y=this.getWorksheet($);if(Y)Y.destroy()}getWorksheet($){if($===void 0)return this._worksheets.find(Boolean);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((Y)=>Y&&Y.name===$);return}get worksheets(){return this._worksheets.slice(1).sort(($,Y)=>$.orderNo-Y.orderNo).filter(Boolean)}eachSheet($){this.worksheets.forEach((Y)=>{$(Y,Y.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage($){let Y=this.media.length;return this.media.push(Object.assign({},$,{type:"image"})),Y}getImage($){return this.media[$]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(($)=>$.model),sheets:this.worksheets.map(($)=>$.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model($){this.creator=$.creator,this.lastModifiedBy=$.lastModifiedBy,this.lastPrinted=$.lastPrinted,this.created=$.created,this.modified=$.modified,this.company=$.company,this.manager=$.manager,this.title=$.title,this.subject=$.subject,this.keywords=$.keywords,this.category=$.category,this.description=$.description,this.language=$.language,this.revision=$.revision,this.contentStatus=$.contentStatus,this.properties=$.properties,this.calcProperties=$.calcProperties,this._worksheets=[],$.worksheets.forEach((Y)=>{let{id:U,name:z,state:Q}=Y,J=$.sheets&&$.sheets.findIndex((K)=>K.id===U),I=this._worksheets[U]=new sG0({id:U,name:z,orderNo:J,state:Q,workbook:this});I.model=Y}),this._definedNames.model=$.definedNames,this.views=$.views,this._themes=$.themes,this.media=$.media||[]}}tG0.exports=aG0});var UH0=E((Ar1,YH0)=>{var NU1=$f();class $H0{constructor($){this.model=$}get xlsx(){if(!this._xlsx)this._xlsx=new NU1(this);return this._xlsx}}YH0.exports=$H0});var QH0=E((Br1,zH0)=>{var DU1=typeof process==="object"&&process&&process.platform==="win32";zH0.exports=DU1?{sep:"\\"}:{sep:"/"}});var HH0=E((Pr1,GH0)=>{GH0.exports=IH0;function IH0($,Y,U){if($ instanceof RegExp)$=JH0($,U);if(Y instanceof RegExp)Y=JH0(Y,U);var z=KH0($,Y,U);return z&&{start:z[0],end:z[1],pre:U.slice(0,z[0]),body:U.slice(z[0]+$.length,z[1]),post:U.slice(z[1]+Y.length)}}function JH0($,Y){var U=Y.match($);return U?U[0]:null}IH0.range=KH0;function KH0($,Y,U){var z,Q,J,I,K,G=U.indexOf($),H=U.indexOf(Y,G+1),W=G;if(G>=0&&H>0){if($===Y)return[G,H];z=[],J=U.length;while(W>=0&&!K){if(W==G)z.push(W),G=U.indexOf($,W+1);else if(z.length==1)K=[z.pop(),H];else{if(Q=z.pop(),Q=0?G:H}if(z.length)K=[J,I]}return K}});var wH0=E((Tr1,FH0)=>{var WH0=HH0();FH0.exports=jU1;var XH0="\x00SLASH"+Math.random()+"\x00",ZH0="\x00OPEN"+Math.random()+"\x00",Iu="\x00CLOSE"+Math.random()+"\x00",qH0="\x00COMMA"+Math.random()+"\x00",VH0="\x00PERIOD"+Math.random()+"\x00",AU1=1e5,BU1=4000000;function Qu($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function PU1($){return $.split("\\\\").join(XH0).split("\\{").join(ZH0).split("\\}").join(Iu).split("\\,").join(qH0).split("\\.").join(VH0)}function TU1($){return $.split(XH0).join("\\").split(ZH0).join("{").split(Iu).join("}").split(qH0).join(",").split(VH0).join(".")}function LH0($){if(!$)return[""];var Y=[],U=WH0("{","}",$);if(!U)return $.split(",");var{pre:z,body:Q,post:J}=U,I=z.split(",");I[I.length-1]+="{"+Q+"}";var K=LH0(J);if(J.length)I[I.length-1]+=K.shift(),I.push.apply(I,K);return Y.push.apply(Y,I),Y}function jU1($,Y){if(!$)return[];Y=Y||{};var U=Y.max==null?AU1:Y.max,z=Y.maxLength==null?BU1:Y.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return Ju(PU1($),U,z,!0).map(TU1)}function EU1($){return"{"+$+"}"}function CU1($){return/^-?0\d/.test($)}function RU1($,Y){return $<=Y}function _U1($,Y){return $>=Y}function rW($,Y,U,z,Q,J){var I=[],K=0;for(var G=0;G<$.length;G++)for(var H=0;H=z)return I;var W=$[G]+Y+U[H];if(J&&!W)continue;if(K+W.length>Q)return I;I.push(W),K+=W.length}return I}function vU1($,Y,U,z){var Q=$.split(/\.\./),J=[];if(Q[0]===void 0||Q[1]===void 0)return J;var I=Qu(Q[0]),K=Qu(Q[1]),G=Math.max(Q[0].length,Q[1].length),H=Q.length===3&&Q[2]!==void 0?Math.max(Math.abs(Qu(Q[2])),1):1,W=RU1,X=K0){var w=Array(M+1).join("0");if(V<0)F="-"+w+F.slice(1);else F=w+F}}if(q+F.length>z)break;J.push(F),q+=F.length}return J}function Ju($,Y,U,z){var Q=[""],J=!1,I=!0;for(;;){let D=WH0("{","}",$);if(!D)return rW(Q,$,[""],Y,U,J);let P=D.pre;if(/\$$/.test(P)){if(Q=rW(Q,P+"{"+D.body+"}",[""],Y,U,J&&!D.post.length),I=!1,!D.post.length)break;$=D.post;continue}var K=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(D.body),G=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(D.body),H=K||G,W=D.body.indexOf(",")>=0;if(!H&&!W){if(D.post.match(/,(?!,).*\}/)){$=D.pre+"{"+D.body+Iu+D.post,z=!0;continue}return rW(Q,P+"{"+D.body+"}"+D.post,[""],Y,U,J)}if(I)J=z&&!H,I=!1;var X;if(H)X=vU1(D.body,G,Y,U);else{var Z=LH0(D.body);if(Z.length===1&&Z[0]!==void 0){if(Z=Ju(Z[0],Y,U,!1).map(EU1),Z.length===1){if(Q=rW(Q,P+Z[0],[""],Y,U,J&&!D.post.length),!D.post.length)break;$=D.post;continue}}var q=J&&!D.post.length&&!P;for(var V=0;q&&V=Y||F+O.length>U)break $;X.push(O),F+=O.length}}}if(Q=rW(Q,P,X,Y,U,J&&!D.post.length),!D.post.length)break;$=D.post}return Q}});var BH0=E((jr1,Xu)=>{var H$=Xu.exports=($,Y,U={})=>{if(VD(Y),!U.nocomment&&Y.charAt(0)==="#")return!1;return new sW(Y,U).match($)};Xu.exports=H$;var Hu=QH0();H$.sep=Hu.sep;var R8=Symbol("globstar **");H$.GLOBSTAR=R8;var hU1=wH0(),MH0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Wu="[^/]",Ku=Wu+"*?",SU1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",gU1="(?:(?!(?:\\/|^)\\.).)*?",DH0=($)=>$.split("").reduce((Y,U)=>{return Y[U]=!0,Y},{}),OH0=DH0("().*{}+?[]^$\\!"),yU1=DH0("[.("),NH0=/\/+/;H$.filter=($,Y={})=>(U,z,Q)=>H$(U,$,Y);var W2=($,Y={})=>{let U={};return Object.keys($).forEach((z)=>U[z]=$[z]),Object.keys(Y).forEach((z)=>U[z]=Y[z]),U};H$.defaults=($)=>{if(!$||typeof $!=="object"||!Object.keys($).length)return H$;let Y=H$,U=(z,Q,J)=>Y(z,Q,W2($,J));return U.Minimatch=class extends Y.Minimatch{constructor(Q,J){super(Q,W2($,J))}},U.Minimatch.defaults=(z)=>Y.defaults(W2($,z)).Minimatch,U.filter=(z,Q)=>Y.filter(z,W2($,Q)),U.defaults=(z)=>Y.defaults(W2($,z)),U.makeRe=(z,Q)=>Y.makeRe(z,W2($,Q)),U.braceExpand=(z,Q)=>Y.braceExpand(z,W2($,Q)),U.match=(z,Q,J)=>Y.match(z,Q,W2($,J)),U};H$.braceExpand=($,Y)=>AH0($,Y);var AH0=($,Y={})=>{if(VD($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return hU1($)},kU1=65536,VD=($)=>{if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>kU1)throw TypeError("pattern is too long")},Gu=Symbol("subparse");H$.makeRe=($,Y)=>new sW($,Y||{}).makeRe();H$.match=($,Y,U={})=>{let z=new sW(Y,U);if($=$.filter((Q)=>z.match(Q)),z.options.nonull&&!$.length)$.push(Y);return $};var xU1=($)=>$.replace(/\\(.)/g,"$1"),fU1=($)=>$.replace(/\\([^-\]])/g,"$1"),uU1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),bU1=($)=>$.replace(/[[\]\\]/g,"\\$&");class sW{constructor($,Y){if(VD($),!Y)Y={};if(this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion!==void 0?Y.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.windowsPathsNoEscape=!!Y.windowsPathsNoEscape||Y.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.make()}debug(){}make(){let $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();let U=this.globSet=this.braceExpand();if(Y.debug)this.debug=(...z)=>console.error(...z);this.debug(this.pattern,U),U=this.globParts=U.map((z)=>z.split(NH0)),this.debug(this.pattern,U),U=U.map((z,Q,J)=>z.map(this.parse,this)),this.debug(this.pattern,U),U=U.filter((z)=>z.indexOf(!1)===-1),this.debug(this.pattern,U),this.set=U}parseNegate(){if(this.options.nonegate)return;let $=this.pattern,Y=!1,U=0;for(let z=0;z<$.length&&$.charAt(z)==="!";z++)Y=!Y,U++;if(U)this.pattern=$.slice(U);this.negate=Y}matchOne($,Y,U){if(Y.indexOf(R8)!==-1)return this._matchGlobstar($,Y,U,0,0);return this._matchOne($,Y,U,0,0)}_matchGlobstar($,Y,U,z,Q){let J=-1;for(let w=Q;w=0;w--)if(Y[w]===R8){I=w;break}let K=Y.slice(Q,J),G=U?Y.slice(J+1):Y.slice(J+1,I),H=U?[]:Y.slice(I+1);if(K.length){let w=$.slice(z,z+K.length);if(!this._matchOne(w,K,U,0,0))return!1;z+=K.length}let W=0;if(H.length){if(H.length+z>$.length)return!1;let w=$.length-H.length;if(this._matchOne($,H,U,w,0))W=H.length;else{if($[$.length-1]!==""||z+H.length===$.length)return!1;if(!this._matchOne($,H,U,w-1,0))return!1;W=H.length+1}}if(!G.length){let w=!!W;for(let N=z;N<$.length-W;N++){let O=String($[N]);if(w=!0,O==="."||O===".."||!this.options.dot&&O.charAt(0)===".")return!1}return U||w}let X=[[[],0]],Z=X[0],q=0,V=[0];for(let w of G)if(w===R8)V.push(q),Z=[[],0],X.push(Z);else Z[0].push(w),q++;let F=X.length-1,M=$.length-W;for(let w of X)w[1]=M-(V[F--]+w[0].length);return!!this._matchGlobStarBodySections($,X,z,0,U,0,!!W)}_matchGlobStarBodySections($,Y,U,z,Q,J,I){let K=Y[z];if(!K){for(let W=U;W<$.length;W++){I=!0;let X=$[W];if(X==="."||X===".."||!this.options.dot&&X.charAt(0)===".")return!1}return I}let[G,H]=K;while(U<=H){if(this._matchOne($.slice(0,U+G.length),G,Q,U,0)&&JF?"":M?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",N=(T)=>T.charAt(0)==="."?"":U.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",O=()=>{if(G){switch(G){case"*":z+=Ku,Q=!0;break;case"?":z+=Wu,Q=!0;break;default:z+="\\"+G;break}this.debug("clearStateChar %j %j",G,z),G=!1}};for(let T=0,A;T<$.length&&(A=$.charAt(T));T++){if(this.debug("%s\t%s %s %j",$,T,z,A),J){if(A==="/")return!1;if(OH0[A])z+="\\";z+=A,J=!1;continue}switch(A){case"/":return!1;case"\\":if(H&&$.charAt(T+1)==="-"){z+=A;continue}O(),J=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",$,T,z,A),H){if(this.debug(" in class"),A==="!"&&T===X+1)A="^";z+=A;continue}if(A==="*"&&G==="*")continue;if(this.debug("call clearStateChar %j",G),O(),G=A,U.noext)O();continue;case"(":{if(H){z+="(";continue}if(!G){z+="\\(";continue}let j={type:G,start:T-1,reStart:z.length,open:MH0[G].open,close:MH0[G].close};if(this.debug(this.pattern,"\t",j),I.push(j),z+=j.open,j.start===0&&j.type!=="!")F=!0,z+=N($.slice(T+1));this.debug("plType %j %j",G,z),G=!1;continue}case")":{let j=I[I.length-1];if(H||!j){z+="\\)";continue}if(I.pop(),O(),Q=!0,q=j,z+=q.close,q.type==="!")K.push(Object.assign(q,{reEnd:z.length}));continue}case"|":{let j=I[I.length-1];if(H||!j){z+="\\|";continue}if(O(),z+="|",j.start===0&&j.type!=="!")F=!0,z+=N($.slice(T+1));continue}case"[":if(O(),H){z+="\\"+A;continue}H=!0,X=T,W=z.length,z+=A;continue;case"]":if(T===X+1||!H){z+="\\"+A;continue}Z=$.substring(X+1,T);try{RegExp("["+bU1(fU1(Z))+"]"),z+=A}catch(j){z=z.substring(0,W)+"(?:$.)"}Q=!0,H=!1;continue;default:if(O(),OH0[A]&&!(A==="^"&&H))z+="\\";z+=A;break}}if(H)Z=$.slice(X+1),V=this.parse(Z,Gu),z=z.substring(0,W)+"\\["+V[0],Q=Q||V[1];for(q=I.pop();q;q=I.pop()){let T;T=z.slice(q.reStart+q.open.length),this.debug("setting tail",z,q),T=T.replace(/((?:\\{2}){0,64})(\\?)\|/g,(j,C,b)=>{if(!b)b="\\";return C+C+b+"|"}),this.debug(`tail=%j + %s`,T,T,q,z);let A=q.type==="*"?Ku:q.type==="?"?Wu:"\\"+q.type;Q=!0,z=z.slice(0,q.reStart)+A+"\\("+T}if(O(),J)z+="\\\\";let D=yU1[z.charAt(0)];for(let T=K.length-1;T>-1;T--){let A=K[T],j=z.slice(0,A.reStart),C=z.slice(A.reStart,A.reEnd-8),b=z.slice(A.reEnd),x=z.slice(A.reEnd-8,A.reEnd)+b,S=j.split(")").length,i=j.split("(").length-S,c=b;for(let k=0;k{return J=J.map((I)=>typeof I==="string"?uU1(I):I===R8?R8:I._src).reduce((I,K)=>{if(!(I[I.length-1]===R8&&K===R8))I.push(K);return I},[]),J.forEach((I,K)=>{if(I!==R8||J[K-1]===R8)return;if(K===0)if(J.length>1)J[K+1]="(?:\\/|"+U+"\\/)?"+J[K+1];else J[K]=U;else if(K===J.length-1)J[K-1]+="(?:\\/|"+U+")?";else J[K-1]+="(?:\\/|\\/"+U+"\\/)"+J[K+1],J[K+1]=R8}),J.filter((I)=>I!==R8).join("/")}).join("|");if(Q="^(?:"+Q+")$",this.negate)Q="^(?!"+Q+").*$";try{this.regexp=new RegExp(Q,z)}catch(J){this.regexp=!1}return this.regexp}match($,Y=this.partial){if(this.debug("match",$,this.pattern),this.comment)return!1;if(this.empty)return $==="";if($==="/"&&Y)return!0;let U=this.options;if(Hu.sep!=="/")$=$.split(Hu.sep).join("/");$=$.split(NH0),this.debug(this.pattern,"split",$);let z=this.set;this.debug(this.pattern,"set",z);let Q;for(let J=$.length-1;J>=0;J--)if(Q=$[J],Q)break;for(let J=0;J{EH0.exports=jH0;var qu=I0("fs"),{EventEmitter:iU1}=I0("events"),{Minimatch:Zu}=BH0(),{resolve:cU1}=I0("path");function nU1($,Y){return new Promise((U,z)=>{qu.readdir($,{withFileTypes:!0},(Q,J)=>{if(Q)switch(Q.code){case"ENOTDIR":if(Y)z(Q);else U([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":U([]);break;case"ELOOP":default:z(Q);break}else U(J)})})}function PH0($,Y){return new Promise((U,z)=>{(Y?qu.stat:qu.lstat)($,(J,I)=>{if(J)switch(J.code){case"ENOENT":if(Y)U(PH0($,!1));else U(null);break;default:U(null);break}else U(I)})})}async function*TH0($,Y,U,z,Q,J){let I=await nU1(Y+$,J);for(let K of I){let G=K.name;if(G===void 0)G=K,z=!0;let H=$+"/"+G,W=H.slice(1),X=Y+"/"+W,Z=null;if(z||U)Z=await PH0(X,U);if(!Z&&K.name!==void 0)Z=K;if(Z===null)Z={isDirectory:()=>!1};if(Z.isDirectory()){if(!Q(W))yield{relative:W,absolute:X,stats:Z},yield*TH0(H,Y,U,z,Q,!1)}else yield{relative:W,absolute:X,stats:Z}}}async function*pU1($,Y,U,z){yield*TH0("",$,Y,U,z,!0)}function dU1($){return{pattern:$.pattern,dot:!!$.dot,noglobstar:!!$.noglobstar,matchBase:!!$.matchBase,nocase:!!$.nocase,ignore:$.ignore,skip:$.skip,follow:!!$.follow,stat:!!$.stat,nodir:!!$.nodir,mark:!!$.mark,silent:!!$.silent,absolute:!!$.absolute}}class Vu extends iU1{constructor($,Y,U){super();if(typeof Y==="function")U=Y,Y=null;if(this.options=dU1(Y||{}),this.matchers=[],this.options.pattern){let z=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=z.map((Q)=>new Zu(Q,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let z=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=z.map((Q)=>new Zu(Q,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let z=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=z.map((Q)=>new Zu(Q,{dot:!0}))}if(this.iterator=pU1(cU1($||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,U)this._matches=[],this.on("match",(z)=>this._matches.push(this.options.absolute?z.absolute:z.relative)),this.on("error",(z)=>U(z)),this.on("end",()=>U(null,this._matches));setTimeout(()=>this._next(),0)}_shouldSkipDirectory($){return this.skipMatchers.some((Y)=>Y.match($))}_fileMatches($,Y){let U=$+(Y?"/":"");return(this.matchers.length===0||this.matchers.some((z)=>z.match(U)))&&!this.ignoreMatchers.some((z)=>z.match(U))&&(!this.options.nodir||!Y)}_next(){if(!this.paused&&!this.aborted)this.iterator.next().then(($)=>{if(!$.done){let Y=$.value.stats.isDirectory();if(this._fileMatches($.value.relative,Y)){let U=$.value.relative,z=$.value.absolute;if(this.options.mark&&Y)U+="/",z+="/";if(this.options.stat)this.emit("match",{relative:U,absolute:z,stat:$.value.stats});else this.emit("match",{relative:U,absolute:z})}this._next(this.iterator)}else this.emit("end")}).catch(($)=>{if(this.abort(),this.emit("error",$),!$.code&&!this.options.silent)console.error($)});else this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){if(this.paused=!1,this.inactive)this.inactive=!1,this._next()}}function jH0($,Y,U){return new Vu($,Y,U)}jH0.ReaddirGlob=Vu});var Lu=E((LD,RH0)=>{(function($,Y){typeof LD==="object"&&typeof RH0<"u"?Y(LD):typeof define==="function"&&define.amd?define(["exports"],Y):($=typeof globalThis<"u"?globalThis:$||self,Y($.async={}))})(LD,function($){function Y(f,...n){return(...o)=>f(...n,...o)}function U(f){return function(...n){var o=n.pop();return f.call(this,n,o)}}var z=typeof queueMicrotask==="function"&&queueMicrotask,Q=typeof setImmediate==="function"&&setImmediate,J=typeof process==="object"&&typeof process.nextTick==="function";function I(f){setTimeout(f,0)}function K(f){return(n,...o)=>f(()=>n(...o))}var G;if(z)G=queueMicrotask;else if(Q)G=setImmediate;else if(J)G=process.nextTick;else G=I;var H=K(G);function W(f){if(q(f))return function(...n){let o=n.pop(),K0=f.apply(this,n);return X(K0,o)};return U(function(n,o){var K0;try{K0=f.apply(this,n)}catch(w0){return o(w0)}if(K0&&typeof K0.then==="function")return X(K0,o);else o(null,K0)})}function X(f,n){return f.then((o)=>{Z(n,null,o)},(o)=>{Z(n,o&&(o instanceof Error||o.message)?o:Error(o))})}function Z(f,n,o){try{f(n,o)}catch(K0){H((w0)=>{throw w0},K0)}}function q(f){return f[Symbol.toStringTag]==="AsyncFunction"}function V(f){return f[Symbol.toStringTag]==="AsyncGenerator"}function F(f){return typeof f[Symbol.asyncIterator]==="function"}function M(f){if(typeof f!=="function")throw Error("expected a function");return q(f)?W(f):f}function w(f,n){if(!n)n=f.length;if(!n)throw Error("arity is undefined");function o(...K0){if(typeof K0[n-1]==="function")return f.apply(this,K0);return new Promise((w0,D0)=>{K0[n-1]=(P0,...j0)=>{if(P0)return D0(P0);w0(j0.length>1?j0:j0[0])},f.apply(this,K0)})}return o}function N(f){return function(o,...K0){return w(function(D0){var P0=this;return f(o,(j0,h0)=>{M(j0).apply(P0,K0.concat(h0))},D0)})}}function O(f,n,o,K0){n=n||[];var w0=[],D0=0,P0=M(o);return f(n,(j0,h0,U1)=>{var x1=D0++;P0(j0,(m1,i1)=>{w0[x1]=i1,U1(m1)})},(j0)=>{K0(j0,w0)})}function D(f){return f&&typeof f.length==="number"&&f.length>=0&&f.length%1===0}let P={};function T(f){function n(...o){if(f===null)return;var K0=f;f=null,K0.apply(this,o)}return Object.assign(n,f),n}function A(f){return f[Symbol.iterator]&&f[Symbol.iterator]()}function j(f){var n=-1,o=f.length;return function(){return++n=n||P0||w0)return;P0=!0,f.next().then(({value:i1,done:M$})=>{if(D0||w0)return;if(P0=!1,M$){if(w0=!0,j0<=0)K0(null);return}j0++,o(i1,h0,x1),h0++,U1()}).catch(m1)}function x1(i1,M$){if(j0-=1,D0)return;if(i1)return m1(i1);if(i1===!1){w0=!0,D0=!0;return}if(M$===P||w0&&j0<=0)return w0=!0,K0(null);U1()}function m1(i1){if(D0)return;P0=!1,w0=!0,K0(i1)}U1()}var c=(f)=>{return(n,o,K0)=>{if(K0=T(K0),f<=0)throw RangeError("concurrency limit cannot be less than 1");if(!n)return K0(null);if(V(n))return i(n,f,o,K0);if(F(n))return i(n[Symbol.asyncIterator](),f,o,K0);var w0=x(n),D0=!1,P0=!1,j0=0,h0=!1;function U1(m1,i1){if(P0)return;if(j0-=1,m1)D0=!0,K0(m1);else if(m1===!1)D0=!0,P0=!0;else if(i1===P||D0&&j0<=0)return D0=!0,K0(null);else if(!h0)x1()}function x1(){h0=!0;while(j01?w0:w0[0])}return o[T0]=new Promise((K0,w0)=>{f=K0,n=w0}),o}function Y1(f,n,o){if(typeof n!=="number")o=n,n=null;o=T(o||i0());var K0=Object.keys(f).length;if(!K0)return o(null);if(!n)n=K0;var w0={},D0=0,P0=!1,j0=!1,h0=Object.create(null),U1=[],x1=[],m1={};Object.keys(f).forEach((e0)=>{var H1=f[e0];if(!Array.isArray(H1)){i1(e0,[H1]),x1.push(e0);return}var c1=H1.slice(0,H1.length-1),g4=c1.length;if(g4===0){i1(e0,H1),x1.push(e0);return}m1[e0]=g4,c1.forEach((v6)=>{if(!f[v6])throw Error("async.auto task `"+e0+"` has a non-existent dependency `"+v6+"` in "+c1.join(", "));uz(v6,()=>{if(g4--,g4===0)i1(e0,H1)})})}),l1(),M$();function i1(e0,H1){U1.push(()=>mK(e0,H1))}function M$(){if(P0)return;if(U1.length===0&&D0===0)return o(null,w0);while(U1.length&&D0c1()),M$()}function mK(e0,H1){if(j0)return;var c1=S((v6,...O$)=>{if(D0--,v6===!1){P0=!0;return}if(O$.length<2)[O$]=O$;if(v6){var bz={};if(Object.keys(w0).forEach((DY)=>{bz[DY]=w0[DY]}),bz[e0]=O$,j0=!0,h0=Object.create(null),P0)return;o(v6,bz)}else w0[e0]=O$,NY(e0)});D0++;var g4=M(H1[H1.length-1]);if(H1.length>1)g4(w0,c1);else g4(c1)}function l1(){var e0,H1=0;while(x1.length)e0=x1.pop(),H1++,G1(e0).forEach((c1)=>{if(--m1[c1]===0)x1.push(c1)});if(H1!==K0)throw Error("async.auto cannot execute tasks due to a recursive dependency")}function G1(e0){var H1=[];return Object.keys(f).forEach((c1)=>{let g4=f[c1];if(Array.isArray(g4)&&g4.indexOf(e0)>=0)H1.push(c1)}),H1}return o[T0]}var a=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,W0=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,F0=/,/,u0=/(=.+)?(\s*)$/;function b0(f){let n="",o=0,K0=f.indexOf("*/");while(ow0.replace(f0,"").trim())}function D1(f,n){var o={};return Object.keys(f).forEach((K0)=>{var w0=f[K0],D0,P0=q(w0),j0=!P0&&w0.length===1||P0&&w0.length===0;if(Array.isArray(w0))D0=[...w0],w0=D0.pop(),o[K0]=D0.concat(D0.length>0?h0:w0);else if(j0)o[K0]=w0;else{if(D0=c0(w0),w0.length===0&&!P0&&D0.length===0)throw Error("autoInject task functions require explicit parameters.");if(!P0)D0.pop();o[K0]=D0.concat(h0)}function h0(U1,x1){var m1=D0.map((i1)=>U1[i1]);m1.push(x1),M(w0)(...m1)}}),Y1(o,n)}class k1{constructor(){this.head=this.tail=null,this.length=0}removeLink(f){if(f.prev)f.prev.next=f.next;else this.head=f.next;if(f.next)f.next.prev=f.prev;else this.tail=f.prev;return f.prev=f.next=null,this.length-=1,f}empty(){while(this.head)this.shift();return this}insertAfter(f,n){if(n.prev=f,n.next=f.next,f.next)f.next.prev=n;else this.tail=n;f.next=n,this.length+=1}insertBefore(f,n){if(n.prev=f.prev,n.next=f,f.prev)f.prev.next=n;else this.head=n;f.prev=n,this.length+=1}unshift(f){if(this.head)this.insertBefore(this.head,f);else u1(this,f)}push(f){if(this.tail)this.insertAfter(this.tail,f);else u1(this,f)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var f=this.head;while(f)yield f.data,f=f.next}remove(f){var n=this.head;while(n){var{next:o}=n;if(f(n))this.removeLink(n);n=o}return this}}function u1(f,n){f.length=1,f.head=f.tail=n}function b1(f,n,o){if(n==null)n=1;else if(n===0)throw RangeError("Concurrency must not be zero");var K0=M(f),w0=0,D0=[];let P0={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function j0(G1,e0){P0[G1].push(e0)}function h0(G1,e0){let H1=(...c1)=>{U1(G1,H1),e0(...c1)};P0[G1].push(H1)}function U1(G1,e0){if(!G1)return Object.keys(P0).forEach((H1)=>P0[H1]=[]);if(!e0)return P0[G1]=[];P0[G1]=P0[G1].filter((H1)=>H1!==e0)}function x1(G1,...e0){P0[G1].forEach((H1)=>H1(...e0))}var m1=!1;function i1(G1,e0,H1,c1){if(c1!=null&&typeof c1!=="function")throw Error("task callback must be a function");l1.started=!0;var g4,v6;function O$(DY,...lK){if(DY)return H1?v6(DY):g4();if(lK.length<=1)return g4(lK[0]);g4(lK)}var bz=l1._createTaskItem(G1,H1?O$:c1||O$);if(e0)l1._tasks.unshift(bz);else l1._tasks.push(bz);if(!m1)m1=!0,H(()=>{m1=!1,l1.process()});if(H1||!c1)return new Promise((DY,lK)=>{g4=DY,v6=lK})}function M$(G1){return function(e0,...H1){w0-=1;for(var c1=0,g4=G1.length;c10)D0.splice(O$,1);if(v6.callback(e0,...H1),e0!=null)x1("error",e0,v6.data)}if(w0<=l1.concurrency-l1.buffer)x1("unsaturated");if(l1.idle())x1("drain");l1.process()}}function uz(G1){if(G1.length===0&&l1.idle())return H(()=>x1("drain")),!0;return!1}let NY=(G1)=>(e0)=>{if(!e0)return new Promise((H1,c1)=>{h0(G1,(g4,v6)=>{if(g4)return c1(g4);H1(v6)})});U1(G1),j0(G1,e0)};var mK=!1,l1={_tasks:new k1,_createTaskItem(G1,e0){return{data:G1,callback:e0}},*[Symbol.iterator](){yield*l1._tasks[Symbol.iterator]()},concurrency:n,payload:o,buffer:n/4,started:!1,paused:!1,push(G1,e0){if(Array.isArray(G1)){if(uz(G1))return;return G1.map((H1)=>i1(H1,!1,!1,e0))}return i1(G1,!1,!1,e0)},pushAsync(G1,e0){if(Array.isArray(G1)){if(uz(G1))return;return G1.map((H1)=>i1(H1,!1,!0,e0))}return i1(G1,!1,!0,e0)},kill(){U1(),l1._tasks.empty()},unshift(G1,e0){if(Array.isArray(G1)){if(uz(G1))return;return G1.map((H1)=>i1(H1,!0,!1,e0))}return i1(G1,!0,!1,e0)},unshiftAsync(G1,e0){if(Array.isArray(G1)){if(uz(G1))return;return G1.map((H1)=>i1(H1,!0,!0,e0))}return i1(G1,!0,!0,e0)},remove(G1){l1._tasks.remove(G1)},process(){if(mK)return;mK=!0;while(!l1.paused&&w0{w0(n,D0,(h0,U1)=>{n=U1,j0(h0)})},(D0)=>K0(D0,n))}var v=w(B,4);function u(...f){var n=f.map(M);return function(...o){var K0=this,w0=o[o.length-1];if(typeof w0=="function")o.pop();else w0=i0();return v(n,o,(D0,P0,j0)=>{P0.apply(K0,D0.concat((h0,...U1)=>{j0(h0,U1)}))},(D0,P0)=>w0(D0,...P0)),w0[T0]}}function r(...f){return u(...f.reverse())}function X0(f,n,o,K0){return O(c(n),f,o,K0)}var J0=w(X0,4);function q0(f,n,o,K0){var w0=M(o);return J0(f,n,(D0,P0)=>{w0(D0,(j0,...h0)=>{if(j0)return P0(j0);return P0(j0,h0)})},(D0,P0)=>{var j0=[];for(var h0=0;h0{var P0=!1,j0;let h0=M(w0);o(K0,(U1,x1,m1)=>{h0(U1,(i1,M$)=>{if(i1||i1===!1)return m1(i1);if(f(M$)&&!j0)return P0=!0,j0=n(!0,U1),m1(null,P);m1()})},(U1)=>{if(U1)return D0(U1);D0(null,P0?j0:n(!1))})}}function u4(f,n,o){return S1((K0)=>K0,(K0,w0)=>w0)(g,f,n,o)}var N8=w(u4,3);function e8(f,n,o,K0){return S1((w0)=>w0,(w0,D0)=>D0)(c(n),f,o,K0)}var E5=w(e8,4);function r3(f,n,o){return S1((K0)=>K0,(K0,w0)=>w0)(c(1),f,n,o)}var w$=w(r3,3);function S9(f){return(n,...o)=>M(n)(...o,(K0,...w0)=>{if(typeof console==="object"){if(K0){if(console.error)console.error(K0)}else if(console[f])w0.forEach((D0)=>console[f](D0))}})}var g9=S9("dir");function s3(f,n,o){o=S(o);var K0=M(f),w0=M(n),D0;function P0(h0,...U1){if(h0)return o(h0);if(h0===!1)return;D0=U1,w0(...U1,j0)}function j0(h0,U1){if(h0)return o(h0);if(h0===!1)return;if(!U1)return o(null,...D0);K0(P0)}return j0(null,!0)}var s4=w(s3,3);function a3(f,n,o){let K0=M(n);return s4(f,(...w0)=>{let D0=w0.pop();K0(...w0,(P0,j0)=>D0(P0,!j0))},o)}function e2(f){return(n,o,K0)=>f(n,K0)}function t3(f,n,o){return g(f,e2(M(n)),o)}var C5=w(t3,3);function $Y(f,n,o,K0){return c(n)(f,e2(M(o)),K0)}var t$=w($Y,4);function YY(f,n,o){return t$(f,1,n,o)}var e$=w(YY,3);function y9(f){if(q(f))return f;return function(...n){var o=n.pop(),K0=!0;n.push((...w0)=>{if(K0)H(()=>o(...w0));else o(...w0)}),f.apply(this,n),K0=!1}}function UY(f,n,o){return S1((K0)=>!K0,(K0)=>!K0)(g,f,n,o)}var k9=w(UY,3);function zY(f,n,o,K0){return S1((w0)=>!w0,(w0)=>!w0)(c(n),f,o,K0)}var $$=w(zY,4);function QY(f,n,o){return S1((K0)=>!K0,(K0)=>!K0)(Y0,f,n,o)}var R5=w(QY,3);function JY(f,n,o,K0){var w0=Array(n.length);f(n,(D0,P0,j0)=>{o(D0,(h0,U1)=>{w0[P0]=!!U1,j0(h0)})},(D0)=>{if(D0)return K0(D0);var P0=[];for(var j0=0;j0{o(D0,(h0,U1)=>{if(h0)return j0(h0);if(U1)w0.push({index:P0,value:D0});j0(h0)})},(D0)=>{if(D0)return K0(D0);K0(null,w0.sort((P0,j0)=>P0.index-j0.index).map((P0)=>P0.value))})}function _5(f,n,o,K0){var w0=D(n)?JY:IY;return w0(f,n,M(o),K0)}function KY(f,n,o){return _5(g,f,n,o)}var v5=w(KY,3);function GY(f,n,o,K0){return _5(c(n),f,o,K0)}var h5=w(GY,4);function HY(f,n,o){return _5(Y0,f,n,o)}var S5=w(HY,3);function WY(f,n){var o=S(n),K0=M(y9(f));function w0(D0){if(D0)return o(D0);if(D0===!1)return;K0(w0)}return w0()}var g5=w(WY,2);function x9(f,n,o,K0){var w0=M(o);return J0(f,n,(D0,P0)=>{w0(D0,(j0,h0)=>{if(j0)return P0(j0);return P0(j0,{key:h0,val:D0})})},(D0,P0)=>{var j0={},{hasOwnProperty:h0}=Object.prototype;for(var U1=0;U1{D0(P0,j0,(U1,x1)=>{if(U1)return h0(U1);w0[j0]=x1,h0(U1)})},(P0)=>K0(P0,w0))}var I8=w(ZY,4);function qY(f,n,o){return I8(f,1/0,n,o)}function VY(f,n,o){return I8(f,1,n,o)}function LY(f,n=(o)=>o){var o=Object.create(null),K0=Object.create(null),w0=M(f),D0=U((P0,j0)=>{var h0=n(...P0);if(h0 in o)H(()=>j0(null,...o[h0]));else if(h0 in K0)K0[h0].push(j0);else K0[h0]=[j0],w0(...P0,(U1,...x1)=>{if(!U1)o[h0]=x1;var m1=K0[h0];delete K0[h0];for(var i1=0,M$=m1.length;i1{var K0=D(n)?[]:{};f(n,(w0,D0,P0)=>{M(w0)((j0,...h0)=>{if(h0.length<2)[h0]=h0;K0[D0]=h0,P0(j0)})},(w0)=>o(w0,K0))},3);function wY(f,n){return e3(g,f,n)}function $7(f,n,o){return e3(c(n),f,o)}function Y7(f,n){var o=M(f);return b1((K0,w0)=>{o(K0[0],w0)},n,1)}class MY{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(f){let n;while(f>0&&Q7(this.heap[f],this.heap[n=z7(f)])){let o=this.heap[f];this.heap[f]=this.heap[n],this.heap[n]=o,f=n}}percDown(f){let n;while((n=U7(f))=0;o--)this.percDown(o);return this}}function U7(f){return(f<<1)+1}function z7(f){return(f+1>>1)-1}function Q7(f,n){if(f.priority!==n.priority)return f.priority{return{data:P0,priority:j0,callback:h0}};function D0(P0,j0){if(!Array.isArray(P0))return{data:P0,priority:j0};return P0.map((h0)=>{return{data:h0,priority:j0}})}return o.push=function(P0,j0=0,h0){return K0(D0(P0,j0),h0)},o.pushAsync=function(P0,j0=0,h0){return w0(D0(P0,j0),h0)},delete o.unshift,delete o.unshiftAsync,o}function fz(f,n){if(n=T(n),!Array.isArray(f))return n(TypeError("First argument to race must be an array of functions"));if(!f.length)return n();for(var o=0,K0=f.length;o{let j0={};if(D0)j0.error=D0;if(P0.length>0){var h0=P0;if(P0.length<=1)[h0]=P0;j0.value=h0}w0(null,j0)}),n.apply(this,K0)})}function y5(f){var n;if(Array.isArray(f))n=f.map(b9);else n={},Object.keys(f).forEach((o)=>{n[o]=b9.call(this,f[o])});return n}function k5(f,n,o,K0){let w0=M(o);return _5(f,n,(D0,P0)=>{w0(D0,(j0,h0)=>{P0(j0,!h0)})},K0)}function J7(f,n,o){return k5(g,f,n,o)}var i9=w(J7,3);function cK(f,n,o,K0){return k5(c(n),f,o,K0)}var c6=w(cK,4);function b4(f,n,o){return k5(Y0,f,n,o)}var x5=w(b4,3);function N6(f){return function(){return f}}let nK=5,pK=0;function xq(f,n,o){var K0={times:nK,intervalFunc:N6(pK)};if(arguments.length<3&&typeof f==="function")o=n||i0(),n=f;else sg0(K0,f),o=o||i0();if(typeof n!=="function")throw Error("Invalid arguments for async.retry");var w0=M(n),D0=1;function P0(){w0((j0,...h0)=>{if(j0===!1)return;if(j0&&D0++{if(w0.lengthK0)(g,f,n,o)}var fq=w(ag0,3);function tg0(f,n,o,K0){return S1(Boolean,(w0)=>w0)(c(n),f,o,K0)}var uq=w(tg0,4);function eg0(f,n,o){return S1(Boolean,(K0)=>K0)(Y0,f,n,o)}var bq=w(eg0,3);function $y0(f,n,o){var K0=M(n);return e(f,(D0,P0)=>{K0(D0,(j0,h0)=>{if(j0)return P0(j0);P0(j0,{value:D0,criteria:h0})})},(D0,P0)=>{if(D0)return o(D0);o(null,P0.sort(w0).map((j0)=>j0.value))});function w0(D0,P0){var j0=D0.criteria,h0=P0.criteria;return j0h0?1:0}}var _o=w($y0,3);function vo(f,n,o){var K0=M(f);return U((w0,D0)=>{var P0=!1,j0;function h0(){var U1=f.name||"anonymous",x1=Error('Callback function "'+U1+'" timed out.');if(x1.code="ETIMEDOUT",o)x1.info=o;P0=!0,D0(x1)}w0.push((...U1)=>{if(!P0)D0(...U1),clearTimeout(j0)}),j0=setTimeout(h0,n),K0(...w0)})}function Yy0(f){var n=Array(f);while(f--)n[f]=f;return n}function iq(f,n,o,K0){var w0=M(o);return J0(Yy0(f),n,w0,K0)}function ho(f,n,o){return iq(f,1/0,n,o)}function So(f,n,o){return iq(f,1,n,o)}function go(f,n,o,K0){if(arguments.length<=3&&typeof n==="function")K0=o,o=n,n=Array.isArray(f)?[]:{};K0=T(K0||i0());var w0=M(o);return g(f,(D0,P0,j0)=>{w0(n,D0,P0,j0)},(D0)=>K0(D0,n)),K0[T0]}function Uy0(f,n){var o=null,K0;return e$(f,(w0,D0)=>{M(w0)((P0,...j0)=>{if(P0===!1)return D0(P0);if(j0.length<2)[K0]=j0;else K0=j0;o=P0,D0(P0?null:{})})},()=>n(o,K0))}var yo=w(Uy0);function ko(f){return(...n)=>{return(f.unmemoized||f)(...n)}}function zy0(f,n,o){o=S(o);var K0=M(n),w0=M(f),D0=[];function P0(h0,...U1){if(h0)return o(h0);if(D0=U1,h0===!1)return;w0(j0)}function j0(h0,U1){if(h0)return o(h0);if(h0===!1)return;if(!U1)return o(null,...D0);K0(P0)}return w0(j0)}var dK=w(zy0,3);function xo(f,n,o){let K0=M(f);return dK((w0)=>K0((D0,P0)=>w0(D0,!P0)),n,o)}function Qy0(f,n){if(n=T(n),!Array.isArray(f))return n(Error("First argument to waterfall must be an array of functions"));if(!f.length)return n();var o=0;function K0(D0){var P0=M(f[o++]);P0(...D0,S(w0))}function w0(D0,...P0){if(D0===!1)return;if(D0||o===f.length)return n(D0,...P0);K0(P0)}K0([])}var fo=w(Qy0),Jy0={apply:Y,applyEach:y,applyEachSeries:G0,asyncify:W,auto:Y1,autoInject:D1,cargo:A0,cargoQueue:Q0,compose:r,concat:r0,concatLimit:M0,concatSeries:z1,constant:N1,detect:N8,detectLimit:E5,detectSeries:w$,dir:g9,doUntil:a3,doWhilst:s4,each:C5,eachLimit:t$,eachOf:g,eachOfLimit:k,eachOfSeries:Y0,eachSeries:e$,ensureAsync:y9,every:k9,everyLimit:$$,everySeries:R5,filter:v5,filterLimit:h5,filterSeries:S5,forever:g5,groupBy:XY,groupByLimit:f9,groupBySeries:Q8,log:J8,map:e,mapLimit:J0,mapSeries:E0,mapValues:qY,mapValuesLimit:I8,mapValuesSeries:VY,memoize:LY,nextTick:FY,parallel:wY,parallelLimit:$7,priorityQueue:OY,queue:Y7,race:$5,reduce:v,reduceRight:O6,reflect:b9,reflectAll:y5,reject:i9,rejectLimit:c6,rejectSeries:x5,retry:xq,retryable:Co,seq:u,series:Ro,setImmediate:H,some:fq,someLimit:uq,someSeries:bq,sortBy:_o,timeout:vo,times:ho,timesLimit:iq,timesSeries:So,transform:go,tryEach:yo,unmemoize:ko,until:xo,waterfall:fo,whilst:dK,all:k9,allLimit:$$,allSeries:R5,any:fq,anyLimit:uq,anySeries:bq,find:N8,findLimit:E5,findSeries:w$,flatMap:r0,flatMapLimit:M0,flatMapSeries:z1,forEach:C5,forEachSeries:e$,forEachLimit:t$,forEachOf:g,forEachOfSeries:Y0,forEachOfLimit:k,inject:v,foldl:v,foldr:O6,select:v5,selectLimit:h5,selectSeries:S5,wrapSync:W,during:dK,doDuring:s4};$.all=k9,$.allLimit=$$,$.allSeries=R5,$.any=fq,$.anyLimit=uq,$.anySeries=bq,$.apply=Y,$.applyEach=y,$.applyEachSeries=G0,$.asyncify=W,$.auto=Y1,$.autoInject=D1,$.cargo=A0,$.cargoQueue=Q0,$.compose=r,$.concat=r0,$.concatLimit=M0,$.concatSeries=z1,$.constant=N1,$.default=Jy0,$.detect=N8,$.detectLimit=E5,$.detectSeries=w$,$.dir=g9,$.doDuring=s4,$.doUntil=a3,$.doWhilst=s4,$.during=dK,$.each=C5,$.eachLimit=t$,$.eachOf=g,$.eachOfLimit=k,$.eachOfSeries=Y0,$.eachSeries=e$,$.ensureAsync=y9,$.every=k9,$.everyLimit=$$,$.everySeries=R5,$.filter=v5,$.filterLimit=h5,$.filterSeries=S5,$.find=N8,$.findLimit=E5,$.findSeries=w$,$.flatMap=r0,$.flatMapLimit=M0,$.flatMapSeries=z1,$.foldl=v,$.foldr=O6,$.forEach=C5,$.forEachLimit=t$,$.forEachOf=g,$.forEachOfLimit=k,$.forEachOfSeries=Y0,$.forEachSeries=e$,$.forever=g5,$.groupBy=XY,$.groupByLimit=f9,$.groupBySeries=Q8,$.inject=v,$.log=J8,$.map=e,$.mapLimit=J0,$.mapSeries=E0,$.mapValues=qY,$.mapValuesLimit=I8,$.mapValuesSeries=VY,$.memoize=LY,$.nextTick=FY,$.parallel=wY,$.parallelLimit=$7,$.priorityQueue=OY,$.queue=Y7,$.race=$5,$.reduce=v,$.reduceRight=O6,$.reflect=b9,$.reflectAll=y5,$.reject=i9,$.rejectLimit=c6,$.rejectSeries=x5,$.retry=xq,$.retryable=Co,$.select=v5,$.selectLimit=h5,$.selectSeries=S5,$.seq=u,$.series=Ro,$.setImmediate=H,$.some=fq,$.someLimit=uq,$.someSeries=bq,$.sortBy=_o,$.timeout=vo,$.times=ho,$.timesLimit=iq,$.timesSeries=So,$.transform=go,$.tryEach=yo,$.unmemoize=ko,$.until=xo,$.waterfall=fo,$.whilst=dK,$.wrapSync=W,Object.defineProperty($,"__esModule",{value:!0})})});var vH0=E((Cr1,_H0)=>{var X2=I0("constants"),mU1=process.cwd,FD=null,lU1=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!FD)FD=mU1.call(process);return FD};try{process.cwd()}catch($){}if(typeof process.chdir==="function"){if(wD=process.chdir,process.chdir=function($){FD=null,wD.call(process,$)},Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,wD)}var wD;_H0.exports=oU1;function oU1($){if(X2.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./))Y($);if(!$.lutimes)U($);if($.chown=J($.chown),$.fchown=J($.fchown),$.lchown=J($.lchown),$.chmod=z($.chmod),$.fchmod=z($.fchmod),$.lchmod=z($.lchmod),$.chownSync=I($.chownSync),$.fchownSync=I($.fchownSync),$.lchownSync=I($.lchownSync),$.chmodSync=Q($.chmodSync),$.fchmodSync=Q($.fchmodSync),$.lchmodSync=Q($.lchmodSync),$.stat=K($.stat),$.fstat=K($.fstat),$.lstat=K($.lstat),$.statSync=G($.statSync),$.fstatSync=G($.fstatSync),$.lstatSync=G($.lstatSync),$.chmod&&!$.lchmod)$.lchmod=function(W,X,Z){if(Z)process.nextTick(Z)},$.lchmodSync=function(){};if($.chown&&!$.lchown)$.lchown=function(W,X,Z,q){if(q)process.nextTick(q)},$.lchownSync=function(){};if(lU1==="win32")$.rename=typeof $.rename!=="function"?$.rename:function(W){function X(Z,q,V){var F=Date.now(),M=0;W(Z,q,function w(N){if(N&&(N.code==="EACCES"||N.code==="EPERM"||N.code==="EBUSY")&&Date.now()-F<60000){if(setTimeout(function(){$.stat(q,function(O,D){if(O&&O.code==="ENOENT")W(Z,q,w);else V(N)})},M),M<100)M+=10;return}if(V)V(N)})}if(Object.setPrototypeOf)Object.setPrototypeOf(X,W);return X}($.rename);$.read=typeof $.read!=="function"?$.read:function(W){function X(Z,q,V,F,M,w){var N;if(w&&typeof w==="function"){var O=0;N=function(D,P,T){if(D&&D.code==="EAGAIN"&&O<10)return O++,W.call($,Z,q,V,F,M,N);w.apply(this,arguments)}}return W.call($,Z,q,V,F,M,N)}if(Object.setPrototypeOf)Object.setPrototypeOf(X,W);return X}($.read),$.readSync=typeof $.readSync!=="function"?$.readSync:function(W){return function(X,Z,q,V,F){var M=0;while(!0)try{return W.call($,X,Z,q,V,F)}catch(w){if(w.code==="EAGAIN"&&M<10){M++;continue}throw w}}}($.readSync);function Y(W){W.lchmod=function(X,Z,q){W.open(X,X2.O_WRONLY|X2.O_SYMLINK,Z,function(V,F){if(V){if(q)q(V);return}W.fchmod(F,Z,function(M){W.close(F,function(w){if(q)q(M||w)})})})},W.lchmodSync=function(X,Z){var q=W.openSync(X,X2.O_WRONLY|X2.O_SYMLINK,Z),V=!0,F;try{F=W.fchmodSync(q,Z),V=!1}finally{if(V)try{W.closeSync(q)}catch(M){}else W.closeSync(q)}return F}}function U(W){if(X2.hasOwnProperty("O_SYMLINK")&&W.futimes)W.lutimes=function(X,Z,q,V){W.open(X,X2.O_SYMLINK,function(F,M){if(F){if(V)V(F);return}W.futimes(M,Z,q,function(w){W.close(M,function(N){if(V)V(w||N)})})})},W.lutimesSync=function(X,Z,q){var V=W.openSync(X,X2.O_SYMLINK),F,M=!0;try{F=W.futimesSync(V,Z,q),M=!1}finally{if(M)try{W.closeSync(V)}catch(w){}else W.closeSync(V)}return F};else if(W.futimes)W.lutimes=function(X,Z,q,V){if(V)process.nextTick(V)},W.lutimesSync=function(){}}function z(W){if(!W)return W;return function(X,Z,q){return W.call($,X,Z,function(V){if(H(V))V=null;if(q)q.apply(this,arguments)})}}function Q(W){if(!W)return W;return function(X,Z){try{return W.call($,X,Z)}catch(q){if(!H(q))throw q}}}function J(W){if(!W)return W;return function(X,Z,q,V){return W.call($,X,Z,q,function(F){if(H(F))F=null;if(V)V.apply(this,arguments)})}}function I(W){if(!W)return W;return function(X,Z,q){try{return W.call($,X,Z,q)}catch(V){if(!H(V))throw V}}}function K(W){if(!W)return W;return function(X,Z,q){if(typeof Z==="function")q=Z,Z=null;function V(F,M){if(M){if(M.uid<0)M.uid+=4294967296;if(M.gid<0)M.gid+=4294967296}if(q)q.apply(this,arguments)}return Z?W.call($,X,Z,V):W.call($,X,V)}}function G(W){if(!W)return W;return function(X,Z){var q=Z?W.call($,X,Z):W.call($,X);if(q){if(q.uid<0)q.uid+=4294967296;if(q.gid<0)q.gid+=4294967296}return q}}function H(W){if(!W)return!0;if(W.code==="ENOSYS")return!0;var X=!process.getuid||process.getuid()!==0;if(X){if(W.code==="EINVAL"||W.code==="EPERM")return!0}return!1}}});var gH0=E((Rr1,SH0)=>{var hH0=I0("stream").Stream;SH0.exports=rU1;function rU1($){return{ReadStream:Y,WriteStream:U};function Y(z,Q){if(!(this instanceof Y))return new Y(z,Q);hH0.call(this);var J=this;this.path=z,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,Q=Q||{};var I=Object.keys(Q);for(var K=0,G=I.length;Kthis.end)throw Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){J._read()});return}$.open(this.path,this.flags,this.mode,function(W,X){if(W){J.emit("error",W),J.readable=!1;return}J.fd=X,J.emit("open",X),J._read()})}function U(z,Q){if(!(this instanceof U))return new U(z,Q);hH0.call(this),this.path=z,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,Q=Q||{};var J=Object.keys(Q);for(var I=0,K=J.length;I= zero");this.pos=this.start}if(this.busy=!1,this._queue=[],this.fd===null)this._open=$.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush()}}});var kH0=E((_r1,yH0)=>{yH0.exports=aU1;var sU1=Object.getPrototypeOf||function($){return $.__proto__};function aU1($){if($===null||typeof $!=="object")return $;if($ instanceof Object)var Y={__proto__:sU1($)};else var Y=Object.create(null);return Object.getOwnPropertyNames($).forEach(function(U){Object.defineProperty(Y,U,Object.getOwnPropertyDescriptor($,U))}),Y}});var l8=E((vr1,Ou)=>{var d4=I0("fs"),tU1=vH0(),eU1=gH0(),$z1=kH0(),MD=I0("util"),s6,ND;if(typeof Symbol==="function"&&typeof Symbol.for==="function")s6=Symbol.for("graceful-fs.queue"),ND=Symbol.for("graceful-fs.previous");else s6="___graceful-fs.queue",ND="___graceful-fs.previous";function Yz1(){}function fH0($,Y){Object.defineProperty($,s6,{get:function(){return Y}})}var jU=Yz1;if(MD.debuglog)jU=MD.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))jU=function(){var $=MD.format.apply(MD,arguments);$="GFS4: "+$.split(/\n/).join(` -GFS4: `),console.error($)};if(!d4[s6]){if(Fu=global[s6]||[],fH0(d4,Fu),d4.close=function($){function Y(U,z){return $.call(d4,U,function(Q){if(!Q)xH0();if(typeof z==="function")z.apply(this,arguments)})}return Object.defineProperty(Y,ND,{value:$}),Y}(d4.close),d4.closeSync=function($){function Y(U){$.apply(d4,arguments),xH0()}return Object.defineProperty(Y,ND,{value:$}),Y}(d4.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))process.on("exit",function(){jU(d4[s6]),I0("assert").equal(d4[s6].length,0)})}var Fu;if(!global[s6])fH0(global,d4[s6]);Ou.exports=wu($z1(d4));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!d4.__patched)Ou.exports=wu(d4),d4.__patched=!0;function wu($){tU1($),$.gracefulify=wu,$.createReadStream=P,$.createWriteStream=T;var Y=$.readFile;$.readFile=U;function U(C,b,x){if(typeof b==="function")x=b,b=null;return S(C,b,x);function S(i,c,z0,k){return Y(i,c,function(d){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))QI([S,[i,c,z0],d,k||Date.now(),Date.now()]);else if(typeof z0==="function")z0.apply(this,arguments)})}}var z=$.writeFile;$.writeFile=Q;function Q(C,b,x,S){if(typeof x==="function")S=x,x=null;return i(C,b,x,S);function i(c,z0,k,d,t){return z(c,z0,k,function($0){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))QI([i,[c,z0,k,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}var J=$.appendFile;if(J)$.appendFile=I;function I(C,b,x,S){if(typeof x==="function")S=x,x=null;return i(C,b,x,S);function i(c,z0,k,d,t){return J(c,z0,k,function($0){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))QI([i,[c,z0,k,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}var K=$.copyFile;if(K)$.copyFile=G;function G(C,b,x,S){if(typeof x==="function")S=x,x=0;return i(C,b,x,S);function i(c,z0,k,d,t){return K(c,z0,k,function($0){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))QI([i,[c,z0,k,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}var H=$.readdir;$.readdir=X;var W=/^v[0-5]\./;function X(C,b,x){if(typeof b==="function")x=b,b=null;var S=W.test(process.version)?function(z0,k,d,t){return H(z0,i(z0,k,d,t))}:function(z0,k,d,t){return H(z0,k,i(z0,k,d,t))};return S(C,b,x);function i(c,z0,k,d){return function(t,$0){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))QI([S,[c,z0,k],t,d||Date.now(),Date.now()]);else{if($0&&$0.sort)$0.sort();if(typeof k==="function")k.call(this,t,$0)}}}}if(process.version.substr(0,4)==="v0.8"){var Z=eU1($);w=Z.ReadStream,O=Z.WriteStream}var q=$.ReadStream;if(q)w.prototype=Object.create(q.prototype),w.prototype.open=N;var V=$.WriteStream;if(V)O.prototype=Object.create(V.prototype),O.prototype.open=D;Object.defineProperty($,"ReadStream",{get:function(){return w},set:function(C){w=C},enumerable:!0,configurable:!0}),Object.defineProperty($,"WriteStream",{get:function(){return O},set:function(C){O=C},enumerable:!0,configurable:!0});var F=w;Object.defineProperty($,"FileReadStream",{get:function(){return F},set:function(C){F=C},enumerable:!0,configurable:!0});var M=O;Object.defineProperty($,"FileWriteStream",{get:function(){return M},set:function(C){M=C},enumerable:!0,configurable:!0});function w(C,b){if(this instanceof w)return q.apply(this,arguments),this;else return w.apply(Object.create(w.prototype),arguments)}function N(){var C=this;j(C.path,C.flags,C.mode,function(b,x){if(b){if(C.autoClose)C.destroy();C.emit("error",b)}else C.fd=x,C.emit("open",x),C.read()})}function O(C,b){if(this instanceof O)return V.apply(this,arguments),this;else return O.apply(Object.create(O.prototype),arguments)}function D(){var C=this;j(C.path,C.flags,C.mode,function(b,x){if(b)C.destroy(),C.emit("error",b);else C.fd=x,C.emit("open",x)})}function P(C,b){return new $.ReadStream(C,b)}function T(C,b){return new $.WriteStream(C,b)}var A=$.open;$.open=j;function j(C,b,x,S){if(typeof x==="function")S=x,x=null;return i(C,b,x,S);function i(c,z0,k,d,t){return A(c,z0,k,function($0,g){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))QI([i,[c,z0,k,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}return $}function QI($){jU("ENQUEUE",$[0].name,$[1]),d4[s6].push($),Mu()}var OD;function xH0(){var $=Date.now();for(var Y=0;Y2)d4[s6][Y][3]=$,d4[s6][Y][4]=$;Mu()}function Mu(){if(clearTimeout(OD),OD=void 0,d4[s6].length===0)return;var $=d4[s6].shift(),Y=$[0],U=$[1],z=$[2],Q=$[3],J=$[4];if(Q===void 0)jU("RETRY",Y.name,U),Y.apply(null,U);else if(Date.now()-Q>=60000){jU("TIMEOUT",Y.name,U);var I=U.pop();if(typeof I==="function")I.call(null,z)}else{var K=Date.now()-J,G=Math.max(J-Q,1),H=Math.min(G*1.2,100);if(K>=H)jU("RETRY",Y.name,U),Y.apply(null,U.concat([Q]));else d4[s6].push($)}if(OD===void 0)OD=setTimeout(Mu,0)}});var bH0=E((hr1,Nu)=>{function Uz1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var uH0=K6().Buffer,aW=I0("util");function zz1($,Y,U){$.copy(Y,U)}Nu.exports=function(){function $(){Uz1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var z={data:U,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q},$.prototype.concat=function(U){if(this.length===0)return uH0.alloc(0);var z=uH0.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)zz1(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z},$}();if(aW&&aW.inspect&&aW.inspect.custom)Nu.exports.prototype[aW.inspect.custom]=function(){var $=aW.inspect({length:this.length});return this.constructor.name+" "+$}});var Du=E((Sr1,iH0)=>{var DD=I6();function Qz1($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)DD.nextTick(AD,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,DD.nextTick(AD,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!U._writableState)DD.nextTick(AD,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,DD.nextTick(AD,U,J)}else if(Y)Y(J)}),this}function Jz1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function AD($,Y){$.emit("error",Y)}iH0.exports={destroy:Qz1,undestroy:Jz1}});var Bu=E((gr1,rH0)=>{var EU=I6();rH0.exports=q6;function nH0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){Bz1(Y,$)}}var Iz1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:EU.nextTick,JI;q6.WritableState=eW;var pH0=Object.create(M4());pH0.inherits=X1();var Kz1={deprecate:y7()},dH0=I0("stream"),PD=K6().Buffer,Gz1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Hz1($){return PD.from($)}function Wz1($){return PD.isBuffer($)||$ instanceof Gz1}var mH0=Du();pH0.inherits(q6,dH0);function Xz1(){}function eW($,Y){JI=JI||CU(),$=$||{};var U=Y instanceof JI;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){Mz1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new nH0(this)}eW.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(eW.prototype,"buffer",{get:Kz1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var BD;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")BD=Function.prototype[Symbol.hasInstance],Object.defineProperty(q6,Symbol.hasInstance,{value:function($){if(BD.call(this,$))return!0;if(this!==q6)return!1;return $&&$._writableState instanceof eW}});else BD=function($){return $ instanceof this};function q6($){if(JI=JI||CU(),!BD.call(q6,this)&&!(this instanceof JI))return new q6($);if(this._writableState=new eW($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}dH0.call(this)}q6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function Zz1($,Y){var U=Error("write after end");$.emit("error",U),EU.nextTick(Y,U)}function qz1($,Y,U,z){var Q=!0,J=!1;if(U===null)J=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),EU.nextTick(z,J),Q=!1;return Q}q6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&Wz1($);if(J&&!PD.isBuffer($))$=Hz1($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=Xz1;if(z.ended)Zz1(this,U);else if(J||qz1(this,z,$,U))z.pendingcb++,Q=Lz1(this,z,J,$,Y,U);return Q};q6.prototype.cork=function(){var $=this._writableState;$.corked++};q6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)lH0(this,$)}};q6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function Vz1($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=PD.from(Y,U);return Y}Object.defineProperty(q6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Lz1($,Y,U,z,Q,J){if(!U){var I=Vz1(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var sH0=I6(),Pz1=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};eH0.exports=O3;var aH0=Object.create(M4());aH0.inherits=X1();var tH0=Tu(),Pu=Bu();aH0.inherits(O3,tH0);{TD=Pz1(Pu.prototype);for($X=0;$X{var Eu=K6().Buffer,$W0=Eu.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Ez1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function Cz1($){var Y=Ez1($);if(typeof Y!=="string"&&(Eu.isEncoding===$W0||!$W0($)))throw Error("Unknown encoding: "+$);return Y||$}bz1.StringDecoder=UX;function UX($){this.encoding=Cz1($);var Y;switch(this.encoding){case"utf16le":this.text=gz1,this.end=yz1,Y=4;break;case"utf8":this.fillLast=vz1,Y=4;break;case"base64":this.text=kz1,this.end=xz1,Y=3;break;default:this.write=fz1,this.end=uz1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Eu.allocUnsafe(Y)}UX.prototype.write=function($){if($.length===0)return"";var Y,U;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return Y?Y+this.text($,U):this.text($,U);return Y||""};UX.prototype.end=Sz1;UX.prototype.text=hz1;UX.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function ju($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function Rz1($,Y,U){var z=Y.length-1;if(z=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--z=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--z=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function _z1($,Y,U){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function vz1($){var Y=this.lastTotal-this.lastNeed,U=_z1(this,$,Y);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function hz1($,Y){var U=Rz1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=U;var z=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function Sz1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function gz1($,Y){if(($.length-Y)%2===0){var U=$.toString("utf16le",Y);if(U){var z=U.charCodeAt(U.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function yz1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,U)}return Y}function kz1($,Y){var U=($.length-Y)%3;if(U===0)return $.toString("base64",Y);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-U)}function xz1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function fz1($){return $.toString(this.encoding)}function uz1($){return $&&$.length?this.write($):""}});var Tu=E((fr1,ZW0)=>{var KI=I6();ZW0.exports=j4;var cz1=sQ(),zX;j4.ReadableState=KW0;var xr1=I0("events").EventEmitter,QW0=function($,Y){return $.listeners(Y).length},Su=I0("stream"),QX=K6().Buffer,nz1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pz1($){return QX.from($)}function dz1($){return QX.isBuffer($)||$ instanceof nz1}var JW0=Object.create(M4());JW0.inherits=X1();var Ru=I0("util"),e1=void 0;if(Ru&&Ru.debuglog)e1=Ru.debuglog("stream");else e1=function(){};var mz1=bH0(),IW0=Du(),II;JW0.inherits(j4,Su);var _u=["error","close","destroy","pause","resume"];function lz1($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(cz1($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function KW0($,Y){zX=zX||CU(),$=$||{};var U=Y instanceof zX;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new mz1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!II)II=Cu().StringDecoder;this.decoder=new II($.encoding),this.encoding=$.encoding}}function j4($){if(zX=zX||CU(),!(this instanceof j4))return new j4($);if(this._readableState=new KW0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Su.call(this)}Object.defineProperty(j4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});j4.prototype.destroy=IW0.destroy;j4.prototype._undestroy=IW0.undestroy;j4.prototype._destroy=function($,Y){this.push(null),Y($)};j4.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=QX.from($,Y),Y="";z=!0}}else z=!0;return GW0(this,$,Y,!1,z)};j4.prototype.unshift=function($){return GW0(this,$,null,!0,!1)};function GW0($,Y,U,z,Q){var J=$._readableState;if(Y===null)J.reading=!1,az1($,J);else{var I;if(!Q)I=oz1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==QX.prototype)Y=pz1(Y);if(z)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else vu($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)vu($,J,Y,!1);else HW0($,J);else vu($,J,Y,!1)}else if(!z)J.reading=!1}return rz1(J)}function vu($,Y,U,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",U),$.read(0);else{if(Y.length+=Y.objectMode?1:U.length,z)Y.buffer.unshift(U);else Y.buffer.push(U);if(Y.needReadable)jD($)}HW0($,Y)}function oz1($,Y){var U;if(!dz1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function rz1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}j4.prototype.isPaused=function(){return this._readableState.flowing===!1};j4.prototype.setEncoding=function($){if(!II)II=Cu().StringDecoder;return this._readableState.decoder=new II($),this._readableState.encoding=$,this};var YW0=8388608;function sz1($){if($>=YW0)$=YW0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function UW0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=sz1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}j4.prototype.read=function($){e1("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(e1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)hu(this);else jD(this);return null}if($=UW0($,Y),$===0&&Y.ended){if(Y.length===0)hu(this);return null}var z=Y.needReadable;if(e1("need readable",z),Y.length===0||Y.length-$0)Q=WW0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)hu(this)}if(Q!==null)this.emit("data",Q);return Q};function az1($,Y){if(Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}Y.ended=!0,jD($)}function jD($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(e1("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)KI.nextTick(zW0,$);else zW0($)}function zW0($){e1("emit readable"),$.emit("readable"),gu($)}function HW0($,Y){if(!Y.readingMore)Y.readingMore=!0,KI.nextTick(tz1,$,Y)}function tz1($,Y){var U=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&XW0(z.pipes,$)!==-1)&&!H)e1("false write response, pause",z.awaitDrain),z.awaitDrain++,X=!0;U.pause()}}function q(w){if(e1("onerror",w),M(),$.removeListener("error",q),QW0($,"error")===0)$.emit("error",w)}lz1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){e1("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){e1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)e1("pipe resume"),U.resume();return $};function ez1($){return function(){var Y=$._readableState;if(e1("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&QW0($,"data"))Y.flowing=!0,gu($)}}j4.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.head.data;else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=zQ1($,Y.buffer,Y.decoder);return U}function zQ1($,Y,U){var z;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++z,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++z}return Y.length-=z,Q}function JQ1($,Y){var U=QX.allocUnsafe($),z=Y.head,Q=1;z.data.copy(U),$-=z.data.length;while(z=z.next){var J=z.data,I=$>J.length?J.length:$;if(J.copy(U,U.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++Q}return Y.length-=Q,U}function hu($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,KI.nextTick(IQ1,Y,$)}function IQ1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function XW0($,Y){for(var U=0,z=$.length;U{LW0.exports=N3;var ED=CU(),VW0=Object.create(M4());VW0.inherits=X1();VW0.inherits(N3,ED);function KQ1($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{MW0.exports=JX;var FW0=yu(),wW0=Object.create(M4());wW0.inherits=X1();wW0.inherits(JX,FW0);function JX($){if(!(this instanceof JX))return new JX($);FW0.call(this,$)}JX.prototype._transform=function($,Y,U){U(null,$)}});var NW0=E((a6,CD)=>{var H9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&H9)CD.exports=H9,a6=CD.exports=H9.Readable,a6.Readable=H9.Readable,a6.Writable=H9.Writable,a6.Duplex=H9.Duplex,a6.Transform=H9.Transform,a6.PassThrough=H9.PassThrough,a6.Stream=H9;else a6=CD.exports=Tu(),a6.Stream=H9||a6,a6.Readable=a6,a6.Writable=Bu(),a6.Duplex=CU(),a6.Transform=yu(),a6.PassThrough=OW0()});var AW0=E((ir1,DW0)=>{DW0.exports=NW0().PassThrough});var hD=E((cr1,TW0)=>{var BW0=I0("util"),vD=AW0();TW0.exports={Readable:RD,Writable:_D};BW0.inherits(RD,vD);BW0.inherits(_D,vD);function PW0($,Y,U){$[Y]=function(){return delete $[Y],U.apply(this,arguments),this[Y].apply(this,arguments)}}function RD($,Y){if(!(this instanceof RD))return new RD($,Y);vD.call(this,Y),PW0(this,"_read",function(){var U=$.call(this,Y),z=this.emit.bind(this,"error");U.on("error",z),U.pipe(this)}),this.emit("readable")}function _D($,Y){if(!(this instanceof _D))return new _D($,Y);vD.call(this,Y),PW0(this,"_write",function(){var U=$.call(this,Y),z=this.emit.bind(this,"error");U.on("error",z),this.pipe(U)}),this.emit("writable")}});var RU=E((nr1,jW0)=>{/*! +`+n);let[,K0]=o;return K0.replace(/\s/g,"").split(F0).map((w0)=>w0.replace(u0,"").trim())}function D1(f,n){var o={};return Object.keys(f).forEach((K0)=>{var w0=f[K0],D0,P0=q(w0),j0=!P0&&w0.length===1||P0&&w0.length===0;if(Array.isArray(w0))D0=[...w0],w0=D0.pop(),o[K0]=D0.concat(D0.length>0?h0:w0);else if(j0)o[K0]=w0;else{if(D0=c0(w0),w0.length===0&&!P0&&D0.length===0)throw Error("autoInject task functions require explicit parameters.");if(!P0)D0.pop();o[K0]=D0.concat(h0)}function h0(U1,x1){var m1=D0.map((i1)=>U1[i1]);m1.push(x1),M(w0)(...m1)}}),Y1(o,n)}class k1{constructor(){this.head=this.tail=null,this.length=0}removeLink(f){if(f.prev)f.prev.next=f.next;else this.head=f.next;if(f.next)f.next.prev=f.prev;else this.tail=f.prev;return f.prev=f.next=null,this.length-=1,f}empty(){while(this.head)this.shift();return this}insertAfter(f,n){if(n.prev=f,n.next=f.next,f.next)f.next.prev=n;else this.tail=n;f.next=n,this.length+=1}insertBefore(f,n){if(n.prev=f.prev,n.next=f,f.prev)f.prev.next=n;else this.head=n;f.prev=n,this.length+=1}unshift(f){if(this.head)this.insertBefore(this.head,f);else u1(this,f)}push(f){if(this.tail)this.insertAfter(this.tail,f);else u1(this,f)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var f=this.head;while(f)yield f.data,f=f.next}remove(f){var n=this.head;while(n){var{next:o}=n;if(f(n))this.removeLink(n);n=o}return this}}function u1(f,n){f.length=1,f.head=f.tail=n}function b1(f,n,o){if(n==null)n=1;else if(n===0)throw RangeError("Concurrency must not be zero");var K0=M(f),w0=0,D0=[];let P0={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function j0(G1,e0){P0[G1].push(e0)}function h0(G1,e0){let H1=(...c1)=>{U1(G1,H1),e0(...c1)};P0[G1].push(H1)}function U1(G1,e0){if(!G1)return Object.keys(P0).forEach((H1)=>P0[H1]=[]);if(!e0)return P0[G1]=[];P0[G1]=P0[G1].filter((H1)=>H1!==e0)}function x1(G1,...e0){P0[G1].forEach((H1)=>H1(...e0))}var m1=!1;function i1(G1,e0,H1,c1){if(c1!=null&&typeof c1!=="function")throw Error("task callback must be a function");l1.started=!0;var g4,v6;function O$(DY,...lK){if(DY)return H1?v6(DY):g4();if(lK.length<=1)return g4(lK[0]);g4(lK)}var bz=l1._createTaskItem(G1,H1?O$:c1||O$);if(e0)l1._tasks.unshift(bz);else l1._tasks.push(bz);if(!m1)m1=!0,H(()=>{m1=!1,l1.process()});if(H1||!c1)return new Promise((DY,lK)=>{g4=DY,v6=lK})}function M$(G1){return function(e0,...H1){w0-=1;for(var c1=0,g4=G1.length;c10)D0.splice(O$,1);if(v6.callback(e0,...H1),e0!=null)x1("error",e0,v6.data)}if(w0<=l1.concurrency-l1.buffer)x1("unsaturated");if(l1.idle())x1("drain");l1.process()}}function uz(G1){if(G1.length===0&&l1.idle())return H(()=>x1("drain")),!0;return!1}let NY=(G1)=>(e0)=>{if(!e0)return new Promise((H1,c1)=>{h0(G1,(g4,v6)=>{if(g4)return c1(g4);H1(v6)})});U1(G1),j0(G1,e0)};var mK=!1,l1={_tasks:new k1,_createTaskItem(G1,e0){return{data:G1,callback:e0}},*[Symbol.iterator](){yield*l1._tasks[Symbol.iterator]()},concurrency:n,payload:o,buffer:n/4,started:!1,paused:!1,push(G1,e0){if(Array.isArray(G1)){if(uz(G1))return;return G1.map((H1)=>i1(H1,!1,!1,e0))}return i1(G1,!1,!1,e0)},pushAsync(G1,e0){if(Array.isArray(G1)){if(uz(G1))return;return G1.map((H1)=>i1(H1,!1,!0,e0))}return i1(G1,!1,!0,e0)},kill(){U1(),l1._tasks.empty()},unshift(G1,e0){if(Array.isArray(G1)){if(uz(G1))return;return G1.map((H1)=>i1(H1,!0,!1,e0))}return i1(G1,!0,!1,e0)},unshiftAsync(G1,e0){if(Array.isArray(G1)){if(uz(G1))return;return G1.map((H1)=>i1(H1,!0,!0,e0))}return i1(G1,!0,!0,e0)},remove(G1){l1._tasks.remove(G1)},process(){if(mK)return;mK=!0;while(!l1.paused&&w0{w0(n,D0,(h0,U1)=>{n=U1,j0(h0)})},(D0)=>K0(D0,n))}var v=w(B,4);function u(...f){var n=f.map(M);return function(...o){var K0=this,w0=o[o.length-1];if(typeof w0=="function")o.pop();else w0=i0();return v(n,o,(D0,P0,j0)=>{P0.apply(K0,D0.concat((h0,...U1)=>{j0(h0,U1)}))},(D0,P0)=>w0(D0,...P0)),w0[T0]}}function r(...f){return u(...f.reverse())}function X0(f,n,o,K0){return O(c(n),f,o,K0)}var J0=w(X0,4);function q0(f,n,o,K0){var w0=M(o);return J0(f,n,(D0,P0)=>{w0(D0,(j0,...h0)=>{if(j0)return P0(j0);return P0(j0,h0)})},(D0,P0)=>{var j0=[];for(var h0=0;h0{var P0=!1,j0;let h0=M(w0);o(K0,(U1,x1,m1)=>{h0(U1,(i1,M$)=>{if(i1||i1===!1)return m1(i1);if(f(M$)&&!j0)return P0=!0,j0=n(!0,U1),m1(null,P);m1()})},(U1)=>{if(U1)return D0(U1);D0(null,P0?j0:n(!1))})}}function u4(f,n,o){return S1((K0)=>K0,(K0,w0)=>w0)(g,f,n,o)}var N8=w(u4,3);function e8(f,n,o,K0){return S1((w0)=>w0,(w0,D0)=>D0)(c(n),f,o,K0)}var C5=w(e8,4);function r3(f,n,o){return S1((K0)=>K0,(K0,w0)=>w0)(c(1),f,n,o)}var w$=w(r3,3);function S9(f){return(n,...o)=>M(n)(...o,(K0,...w0)=>{if(typeof console==="object"){if(K0){if(console.error)console.error(K0)}else if(console[f])w0.forEach((D0)=>console[f](D0))}})}var g9=S9("dir");function s3(f,n,o){o=S(o);var K0=M(f),w0=M(n),D0;function P0(h0,...U1){if(h0)return o(h0);if(h0===!1)return;D0=U1,w0(...U1,j0)}function j0(h0,U1){if(h0)return o(h0);if(h0===!1)return;if(!U1)return o(null,...D0);K0(P0)}return j0(null,!0)}var s4=w(s3,3);function a3(f,n,o){let K0=M(n);return s4(f,(...w0)=>{let D0=w0.pop();K0(...w0,(P0,j0)=>D0(P0,!j0))},o)}function e2(f){return(n,o,K0)=>f(n,K0)}function t3(f,n,o){return g(f,e2(M(n)),o)}var R5=w(t3,3);function $Y(f,n,o,K0){return c(n)(f,e2(M(o)),K0)}var t$=w($Y,4);function YY(f,n,o){return t$(f,1,n,o)}var e$=w(YY,3);function y9(f){if(q(f))return f;return function(...n){var o=n.pop(),K0=!0;n.push((...w0)=>{if(K0)H(()=>o(...w0));else o(...w0)}),f.apply(this,n),K0=!1}}function UY(f,n,o){return S1((K0)=>!K0,(K0)=>!K0)(g,f,n,o)}var k9=w(UY,3);function zY(f,n,o,K0){return S1((w0)=>!w0,(w0)=>!w0)(c(n),f,o,K0)}var $$=w(zY,4);function QY(f,n,o){return S1((K0)=>!K0,(K0)=>!K0)(Y0,f,n,o)}var _5=w(QY,3);function JY(f,n,o,K0){var w0=Array(n.length);f(n,(D0,P0,j0)=>{o(D0,(h0,U1)=>{w0[P0]=!!U1,j0(h0)})},(D0)=>{if(D0)return K0(D0);var P0=[];for(var j0=0;j0{o(D0,(h0,U1)=>{if(h0)return j0(h0);if(U1)w0.push({index:P0,value:D0});j0(h0)})},(D0)=>{if(D0)return K0(D0);K0(null,w0.sort((P0,j0)=>P0.index-j0.index).map((P0)=>P0.value))})}function v5(f,n,o,K0){var w0=D(n)?JY:IY;return w0(f,n,M(o),K0)}function KY(f,n,o){return v5(g,f,n,o)}var h5=w(KY,3);function GY(f,n,o,K0){return v5(c(n),f,o,K0)}var S5=w(GY,4);function HY(f,n,o){return v5(Y0,f,n,o)}var g5=w(HY,3);function WY(f,n){var o=S(n),K0=M(y9(f));function w0(D0){if(D0)return o(D0);if(D0===!1)return;K0(w0)}return w0()}var y5=w(WY,2);function x9(f,n,o,K0){var w0=M(o);return J0(f,n,(D0,P0)=>{w0(D0,(j0,h0)=>{if(j0)return P0(j0);return P0(j0,{key:h0,val:D0})})},(D0,P0)=>{var j0={},{hasOwnProperty:h0}=Object.prototype;for(var U1=0;U1{D0(P0,j0,(U1,x1)=>{if(U1)return h0(U1);w0[j0]=x1,h0(U1)})},(P0)=>K0(P0,w0))}var I8=w(ZY,4);function qY(f,n,o){return I8(f,1/0,n,o)}function VY(f,n,o){return I8(f,1,n,o)}function LY(f,n=(o)=>o){var o=Object.create(null),K0=Object.create(null),w0=M(f),D0=U((P0,j0)=>{var h0=n(...P0);if(h0 in o)H(()=>j0(null,...o[h0]));else if(h0 in K0)K0[h0].push(j0);else K0[h0]=[j0],w0(...P0,(U1,...x1)=>{if(!U1)o[h0]=x1;var m1=K0[h0];delete K0[h0];for(var i1=0,M$=m1.length;i1{var K0=D(n)?[]:{};f(n,(w0,D0,P0)=>{M(w0)((j0,...h0)=>{if(h0.length<2)[h0]=h0;K0[D0]=h0,P0(j0)})},(w0)=>o(w0,K0))},3);function wY(f,n){return e3(g,f,n)}function $7(f,n,o){return e3(c(n),f,o)}function Y7(f,n){var o=M(f);return b1((K0,w0)=>{o(K0[0],w0)},n,1)}class MY{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(f){let n;while(f>0&&Q7(this.heap[f],this.heap[n=z7(f)])){let o=this.heap[f];this.heap[f]=this.heap[n],this.heap[n]=o,f=n}}percDown(f){let n;while((n=U7(f))=0;o--)this.percDown(o);return this}}function U7(f){return(f<<1)+1}function z7(f){return(f+1>>1)-1}function Q7(f,n){if(f.priority!==n.priority)return f.priority{return{data:P0,priority:j0,callback:h0}};function D0(P0,j0){if(!Array.isArray(P0))return{data:P0,priority:j0};return P0.map((h0)=>{return{data:h0,priority:j0}})}return o.push=function(P0,j0=0,h0){return K0(D0(P0,j0),h0)},o.pushAsync=function(P0,j0=0,h0){return w0(D0(P0,j0),h0)},delete o.unshift,delete o.unshiftAsync,o}function fz(f,n){if(n=T(n),!Array.isArray(f))return n(TypeError("First argument to race must be an array of functions"));if(!f.length)return n();for(var o=0,K0=f.length;o{let j0={};if(D0)j0.error=D0;if(P0.length>0){var h0=P0;if(P0.length<=1)[h0]=P0;j0.value=h0}w0(null,j0)}),n.apply(this,K0)})}function k5(f){var n;if(Array.isArray(f))n=f.map(b9);else n={},Object.keys(f).forEach((o)=>{n[o]=b9.call(this,f[o])});return n}function x5(f,n,o,K0){let w0=M(o);return v5(f,n,(D0,P0)=>{w0(D0,(j0,h0)=>{P0(j0,!h0)})},K0)}function J7(f,n,o){return x5(g,f,n,o)}var i9=w(J7,3);function cK(f,n,o,K0){return x5(c(n),f,o,K0)}var c6=w(cK,4);function b4(f,n,o){return x5(Y0,f,n,o)}var f5=w(b4,3);function N6(f){return function(){return f}}let nK=5,pK=0;function xq(f,n,o){var K0={times:nK,intervalFunc:N6(pK)};if(arguments.length<3&&typeof f==="function")o=n||i0(),n=f;else sg0(K0,f),o=o||i0();if(typeof n!=="function")throw Error("Invalid arguments for async.retry");var w0=M(n),D0=1;function P0(){w0((j0,...h0)=>{if(j0===!1)return;if(j0&&D0++{if(w0.lengthK0)(g,f,n,o)}var fq=w(ag0,3);function tg0(f,n,o,K0){return S1(Boolean,(w0)=>w0)(c(n),f,o,K0)}var uq=w(tg0,4);function eg0(f,n,o){return S1(Boolean,(K0)=>K0)(Y0,f,n,o)}var bq=w(eg0,3);function $y0(f,n,o){var K0=M(n);return e(f,(D0,P0)=>{K0(D0,(j0,h0)=>{if(j0)return P0(j0);P0(j0,{value:D0,criteria:h0})})},(D0,P0)=>{if(D0)return o(D0);o(null,P0.sort(w0).map((j0)=>j0.value))});function w0(D0,P0){var j0=D0.criteria,h0=P0.criteria;return j0h0?1:0}}var _o=w($y0,3);function vo(f,n,o){var K0=M(f);return U((w0,D0)=>{var P0=!1,j0;function h0(){var U1=f.name||"anonymous",x1=Error('Callback function "'+U1+'" timed out.');if(x1.code="ETIMEDOUT",o)x1.info=o;P0=!0,D0(x1)}w0.push((...U1)=>{if(!P0)D0(...U1),clearTimeout(j0)}),j0=setTimeout(h0,n),K0(...w0)})}function Yy0(f){var n=Array(f);while(f--)n[f]=f;return n}function iq(f,n,o,K0){var w0=M(o);return J0(Yy0(f),n,w0,K0)}function ho(f,n,o){return iq(f,1/0,n,o)}function So(f,n,o){return iq(f,1,n,o)}function go(f,n,o,K0){if(arguments.length<=3&&typeof n==="function")K0=o,o=n,n=Array.isArray(f)?[]:{};K0=T(K0||i0());var w0=M(o);return g(f,(D0,P0,j0)=>{w0(n,D0,P0,j0)},(D0)=>K0(D0,n)),K0[T0]}function Uy0(f,n){var o=null,K0;return e$(f,(w0,D0)=>{M(w0)((P0,...j0)=>{if(P0===!1)return D0(P0);if(j0.length<2)[K0]=j0;else K0=j0;o=P0,D0(P0?null:{})})},()=>n(o,K0))}var yo=w(Uy0);function ko(f){return(...n)=>{return(f.unmemoized||f)(...n)}}function zy0(f,n,o){o=S(o);var K0=M(n),w0=M(f),D0=[];function P0(h0,...U1){if(h0)return o(h0);if(D0=U1,h0===!1)return;w0(j0)}function j0(h0,U1){if(h0)return o(h0);if(h0===!1)return;if(!U1)return o(null,...D0);K0(P0)}return w0(j0)}var dK=w(zy0,3);function xo(f,n,o){let K0=M(f);return dK((w0)=>K0((D0,P0)=>w0(D0,!P0)),n,o)}function Qy0(f,n){if(n=T(n),!Array.isArray(f))return n(Error("First argument to waterfall must be an array of functions"));if(!f.length)return n();var o=0;function K0(D0){var P0=M(f[o++]);P0(...D0,S(w0))}function w0(D0,...P0){if(D0===!1)return;if(D0||o===f.length)return n(D0,...P0);K0(P0)}K0([])}var fo=w(Qy0),Jy0={apply:Y,applyEach:y,applyEachSeries:G0,asyncify:W,auto:Y1,autoInject:D1,cargo:A0,cargoQueue:Q0,compose:r,concat:r0,concatLimit:M0,concatSeries:z1,constant:N1,detect:N8,detectLimit:C5,detectSeries:w$,dir:g9,doUntil:a3,doWhilst:s4,each:R5,eachLimit:t$,eachOf:g,eachOfLimit:k,eachOfSeries:Y0,eachSeries:e$,ensureAsync:y9,every:k9,everyLimit:$$,everySeries:_5,filter:h5,filterLimit:S5,filterSeries:g5,forever:y5,groupBy:XY,groupByLimit:f9,groupBySeries:Q8,log:J8,map:e,mapLimit:J0,mapSeries:E0,mapValues:qY,mapValuesLimit:I8,mapValuesSeries:VY,memoize:LY,nextTick:FY,parallel:wY,parallelLimit:$7,priorityQueue:OY,queue:Y7,race:$5,reduce:v,reduceRight:O6,reflect:b9,reflectAll:k5,reject:i9,rejectLimit:c6,rejectSeries:f5,retry:xq,retryable:Co,seq:u,series:Ro,setImmediate:H,some:fq,someLimit:uq,someSeries:bq,sortBy:_o,timeout:vo,times:ho,timesLimit:iq,timesSeries:So,transform:go,tryEach:yo,unmemoize:ko,until:xo,waterfall:fo,whilst:dK,all:k9,allLimit:$$,allSeries:_5,any:fq,anyLimit:uq,anySeries:bq,find:N8,findLimit:C5,findSeries:w$,flatMap:r0,flatMapLimit:M0,flatMapSeries:z1,forEach:R5,forEachSeries:e$,forEachLimit:t$,forEachOf:g,forEachOfSeries:Y0,forEachOfLimit:k,inject:v,foldl:v,foldr:O6,select:h5,selectLimit:S5,selectSeries:g5,wrapSync:W,during:dK,doDuring:s4};$.all=k9,$.allLimit=$$,$.allSeries=_5,$.any=fq,$.anyLimit=uq,$.anySeries=bq,$.apply=Y,$.applyEach=y,$.applyEachSeries=G0,$.asyncify=W,$.auto=Y1,$.autoInject=D1,$.cargo=A0,$.cargoQueue=Q0,$.compose=r,$.concat=r0,$.concatLimit=M0,$.concatSeries=z1,$.constant=N1,$.default=Jy0,$.detect=N8,$.detectLimit=C5,$.detectSeries=w$,$.dir=g9,$.doDuring=s4,$.doUntil=a3,$.doWhilst=s4,$.during=dK,$.each=R5,$.eachLimit=t$,$.eachOf=g,$.eachOfLimit=k,$.eachOfSeries=Y0,$.eachSeries=e$,$.ensureAsync=y9,$.every=k9,$.everyLimit=$$,$.everySeries=_5,$.filter=h5,$.filterLimit=S5,$.filterSeries=g5,$.find=N8,$.findLimit=C5,$.findSeries=w$,$.flatMap=r0,$.flatMapLimit=M0,$.flatMapSeries=z1,$.foldl=v,$.foldr=O6,$.forEach=R5,$.forEachLimit=t$,$.forEachOf=g,$.forEachOfLimit=k,$.forEachOfSeries=Y0,$.forEachSeries=e$,$.forever=y5,$.groupBy=XY,$.groupByLimit=f9,$.groupBySeries=Q8,$.inject=v,$.log=J8,$.map=e,$.mapLimit=J0,$.mapSeries=E0,$.mapValues=qY,$.mapValuesLimit=I8,$.mapValuesSeries=VY,$.memoize=LY,$.nextTick=FY,$.parallel=wY,$.parallelLimit=$7,$.priorityQueue=OY,$.queue=Y7,$.race=$5,$.reduce=v,$.reduceRight=O6,$.reflect=b9,$.reflectAll=k5,$.reject=i9,$.rejectLimit=c6,$.rejectSeries=f5,$.retry=xq,$.retryable=Co,$.select=h5,$.selectLimit=S5,$.selectSeries=g5,$.seq=u,$.series=Ro,$.setImmediate=H,$.some=fq,$.someLimit=uq,$.someSeries=bq,$.sortBy=_o,$.timeout=vo,$.times=ho,$.timesLimit=iq,$.timesSeries=So,$.transform=go,$.tryEach=yo,$.unmemoize=ko,$.until=xo,$.waterfall=fo,$.whilst=dK,$.wrapSync=W,Object.defineProperty($,"__esModule",{value:!0})})});var vH0=E((Cr1,_H0)=>{var X2=I0("constants"),mU1=process.cwd,FD=null,lU1=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!FD)FD=mU1.call(process);return FD};try{process.cwd()}catch($){}if(typeof process.chdir==="function"){if(wD=process.chdir,process.chdir=function($){FD=null,wD.call(process,$)},Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,wD)}var wD;_H0.exports=oU1;function oU1($){if(X2.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./))Y($);if(!$.lutimes)U($);if($.chown=J($.chown),$.fchown=J($.fchown),$.lchown=J($.lchown),$.chmod=z($.chmod),$.fchmod=z($.fchmod),$.lchmod=z($.lchmod),$.chownSync=I($.chownSync),$.fchownSync=I($.fchownSync),$.lchownSync=I($.lchownSync),$.chmodSync=Q($.chmodSync),$.fchmodSync=Q($.fchmodSync),$.lchmodSync=Q($.lchmodSync),$.stat=K($.stat),$.fstat=K($.fstat),$.lstat=K($.lstat),$.statSync=G($.statSync),$.fstatSync=G($.fstatSync),$.lstatSync=G($.lstatSync),$.chmod&&!$.lchmod)$.lchmod=function(W,X,Z){if(Z)process.nextTick(Z)},$.lchmodSync=function(){};if($.chown&&!$.lchown)$.lchown=function(W,X,Z,q){if(q)process.nextTick(q)},$.lchownSync=function(){};if(lU1==="win32")$.rename=typeof $.rename!=="function"?$.rename:function(W){function X(Z,q,V){var F=Date.now(),M=0;W(Z,q,function w(N){if(N&&(N.code==="EACCES"||N.code==="EPERM"||N.code==="EBUSY")&&Date.now()-F<60000){if(setTimeout(function(){$.stat(q,function(O,D){if(O&&O.code==="ENOENT")W(Z,q,w);else V(N)})},M),M<100)M+=10;return}if(V)V(N)})}if(Object.setPrototypeOf)Object.setPrototypeOf(X,W);return X}($.rename);$.read=typeof $.read!=="function"?$.read:function(W){function X(Z,q,V,F,M,w){var N;if(w&&typeof w==="function"){var O=0;N=function(D,P,T){if(D&&D.code==="EAGAIN"&&O<10)return O++,W.call($,Z,q,V,F,M,N);w.apply(this,arguments)}}return W.call($,Z,q,V,F,M,N)}if(Object.setPrototypeOf)Object.setPrototypeOf(X,W);return X}($.read),$.readSync=typeof $.readSync!=="function"?$.readSync:function(W){return function(X,Z,q,V,F){var M=0;while(!0)try{return W.call($,X,Z,q,V,F)}catch(w){if(w.code==="EAGAIN"&&M<10){M++;continue}throw w}}}($.readSync);function Y(W){W.lchmod=function(X,Z,q){W.open(X,X2.O_WRONLY|X2.O_SYMLINK,Z,function(V,F){if(V){if(q)q(V);return}W.fchmod(F,Z,function(M){W.close(F,function(w){if(q)q(M||w)})})})},W.lchmodSync=function(X,Z){var q=W.openSync(X,X2.O_WRONLY|X2.O_SYMLINK,Z),V=!0,F;try{F=W.fchmodSync(q,Z),V=!1}finally{if(V)try{W.closeSync(q)}catch(M){}else W.closeSync(q)}return F}}function U(W){if(X2.hasOwnProperty("O_SYMLINK")&&W.futimes)W.lutimes=function(X,Z,q,V){W.open(X,X2.O_SYMLINK,function(F,M){if(F){if(V)V(F);return}W.futimes(M,Z,q,function(w){W.close(M,function(N){if(V)V(w||N)})})})},W.lutimesSync=function(X,Z,q){var V=W.openSync(X,X2.O_SYMLINK),F,M=!0;try{F=W.futimesSync(V,Z,q),M=!1}finally{if(M)try{W.closeSync(V)}catch(w){}else W.closeSync(V)}return F};else if(W.futimes)W.lutimes=function(X,Z,q,V){if(V)process.nextTick(V)},W.lutimesSync=function(){}}function z(W){if(!W)return W;return function(X,Z,q){return W.call($,X,Z,function(V){if(H(V))V=null;if(q)q.apply(this,arguments)})}}function Q(W){if(!W)return W;return function(X,Z){try{return W.call($,X,Z)}catch(q){if(!H(q))throw q}}}function J(W){if(!W)return W;return function(X,Z,q,V){return W.call($,X,Z,q,function(F){if(H(F))F=null;if(V)V.apply(this,arguments)})}}function I(W){if(!W)return W;return function(X,Z,q){try{return W.call($,X,Z,q)}catch(V){if(!H(V))throw V}}}function K(W){if(!W)return W;return function(X,Z,q){if(typeof Z==="function")q=Z,Z=null;function V(F,M){if(M){if(M.uid<0)M.uid+=4294967296;if(M.gid<0)M.gid+=4294967296}if(q)q.apply(this,arguments)}return Z?W.call($,X,Z,V):W.call($,X,V)}}function G(W){if(!W)return W;return function(X,Z){var q=Z?W.call($,X,Z):W.call($,X);if(q){if(q.uid<0)q.uid+=4294967296;if(q.gid<0)q.gid+=4294967296}return q}}function H(W){if(!W)return!0;if(W.code==="ENOSYS")return!0;var X=!process.getuid||process.getuid()!==0;if(X){if(W.code==="EINVAL"||W.code==="EPERM")return!0}return!1}}});var gH0=E((Rr1,SH0)=>{var hH0=I0("stream").Stream;SH0.exports=rU1;function rU1($){return{ReadStream:Y,WriteStream:U};function Y(z,Q){if(!(this instanceof Y))return new Y(z,Q);hH0.call(this);var J=this;this.path=z,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,Q=Q||{};var I=Object.keys(Q);for(var K=0,G=I.length;Kthis.end)throw Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){J._read()});return}$.open(this.path,this.flags,this.mode,function(W,X){if(W){J.emit("error",W),J.readable=!1;return}J.fd=X,J.emit("open",X),J._read()})}function U(z,Q){if(!(this instanceof U))return new U(z,Q);hH0.call(this),this.path=z,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,Q=Q||{};var J=Object.keys(Q);for(var I=0,K=J.length;I= zero");this.pos=this.start}if(this.busy=!1,this._queue=[],this.fd===null)this._open=$.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush()}}});var kH0=E((_r1,yH0)=>{yH0.exports=aU1;var sU1=Object.getPrototypeOf||function($){return $.__proto__};function aU1($){if($===null||typeof $!=="object")return $;if($ instanceof Object)var Y={__proto__:sU1($)};else var Y=Object.create(null);return Object.getOwnPropertyNames($).forEach(function(U){Object.defineProperty(Y,U,Object.getOwnPropertyDescriptor($,U))}),Y}});var l8=E((vr1,Ou)=>{var d4=I0("fs"),tU1=vH0(),eU1=gH0(),$z1=kH0(),MD=I0("util"),s6,ND;if(typeof Symbol==="function"&&typeof Symbol.for==="function")s6=Symbol.for("graceful-fs.queue"),ND=Symbol.for("graceful-fs.previous");else s6="___graceful-fs.queue",ND="___graceful-fs.previous";function Yz1(){}function fH0($,Y){Object.defineProperty($,s6,{get:function(){return Y}})}var jU=Yz1;if(MD.debuglog)jU=MD.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))jU=function(){var $=MD.format.apply(MD,arguments);$="GFS4: "+$.split(/\n/).join(` +GFS4: `),console.error($)};if(!d4[s6]){if(Fu=global[s6]||[],fH0(d4,Fu),d4.close=function($){function Y(U,z){return $.call(d4,U,function(Q){if(!Q)xH0();if(typeof z==="function")z.apply(this,arguments)})}return Object.defineProperty(Y,ND,{value:$}),Y}(d4.close),d4.closeSync=function($){function Y(U){$.apply(d4,arguments),xH0()}return Object.defineProperty(Y,ND,{value:$}),Y}(d4.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))process.on("exit",function(){jU(d4[s6]),I0("assert").equal(d4[s6].length,0)})}var Fu;if(!global[s6])fH0(global,d4[s6]);Ou.exports=wu($z1(d4));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!d4.__patched)Ou.exports=wu(d4),d4.__patched=!0;function wu($){tU1($),$.gracefulify=wu,$.createReadStream=P,$.createWriteStream=T;var Y=$.readFile;$.readFile=U;function U(C,b,x){if(typeof b==="function")x=b,b=null;return S(C,b,x);function S(i,c,z0,k){return Y(i,c,function(d){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))QI([S,[i,c,z0],d,k||Date.now(),Date.now()]);else if(typeof z0==="function")z0.apply(this,arguments)})}}var z=$.writeFile;$.writeFile=Q;function Q(C,b,x,S){if(typeof x==="function")S=x,x=null;return i(C,b,x,S);function i(c,z0,k,d,t){return z(c,z0,k,function($0){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))QI([i,[c,z0,k,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}var J=$.appendFile;if(J)$.appendFile=I;function I(C,b,x,S){if(typeof x==="function")S=x,x=null;return i(C,b,x,S);function i(c,z0,k,d,t){return J(c,z0,k,function($0){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))QI([i,[c,z0,k,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}var K=$.copyFile;if(K)$.copyFile=G;function G(C,b,x,S){if(typeof x==="function")S=x,x=0;return i(C,b,x,S);function i(c,z0,k,d,t){return K(c,z0,k,function($0){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))QI([i,[c,z0,k,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}var H=$.readdir;$.readdir=X;var W=/^v[0-5]\./;function X(C,b,x){if(typeof b==="function")x=b,b=null;var S=W.test(process.version)?function(z0,k,d,t){return H(z0,i(z0,k,d,t))}:function(z0,k,d,t){return H(z0,k,i(z0,k,d,t))};return S(C,b,x);function i(c,z0,k,d){return function(t,$0){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))QI([S,[c,z0,k],t,d||Date.now(),Date.now()]);else{if($0&&$0.sort)$0.sort();if(typeof k==="function")k.call(this,t,$0)}}}}if(process.version.substr(0,4)==="v0.8"){var Z=eU1($);w=Z.ReadStream,O=Z.WriteStream}var q=$.ReadStream;if(q)w.prototype=Object.create(q.prototype),w.prototype.open=N;var V=$.WriteStream;if(V)O.prototype=Object.create(V.prototype),O.prototype.open=D;Object.defineProperty($,"ReadStream",{get:function(){return w},set:function(C){w=C},enumerable:!0,configurable:!0}),Object.defineProperty($,"WriteStream",{get:function(){return O},set:function(C){O=C},enumerable:!0,configurable:!0});var F=w;Object.defineProperty($,"FileReadStream",{get:function(){return F},set:function(C){F=C},enumerable:!0,configurable:!0});var M=O;Object.defineProperty($,"FileWriteStream",{get:function(){return M},set:function(C){M=C},enumerable:!0,configurable:!0});function w(C,b){if(this instanceof w)return q.apply(this,arguments),this;else return w.apply(Object.create(w.prototype),arguments)}function N(){var C=this;j(C.path,C.flags,C.mode,function(b,x){if(b){if(C.autoClose)C.destroy();C.emit("error",b)}else C.fd=x,C.emit("open",x),C.read()})}function O(C,b){if(this instanceof O)return V.apply(this,arguments),this;else return O.apply(Object.create(O.prototype),arguments)}function D(){var C=this;j(C.path,C.flags,C.mode,function(b,x){if(b)C.destroy(),C.emit("error",b);else C.fd=x,C.emit("open",x)})}function P(C,b){return new $.ReadStream(C,b)}function T(C,b){return new $.WriteStream(C,b)}var A=$.open;$.open=j;function j(C,b,x,S){if(typeof x==="function")S=x,x=null;return i(C,b,x,S);function i(c,z0,k,d,t){return A(c,z0,k,function($0,g){if($0&&($0.code==="EMFILE"||$0.code==="ENFILE"))QI([i,[c,z0,k,d],$0,t||Date.now(),Date.now()]);else if(typeof d==="function")d.apply(this,arguments)})}}return $}function QI($){jU("ENQUEUE",$[0].name,$[1]),d4[s6].push($),Mu()}var OD;function xH0(){var $=Date.now();for(var Y=0;Y2)d4[s6][Y][3]=$,d4[s6][Y][4]=$;Mu()}function Mu(){if(clearTimeout(OD),OD=void 0,d4[s6].length===0)return;var $=d4[s6].shift(),Y=$[0],U=$[1],z=$[2],Q=$[3],J=$[4];if(Q===void 0)jU("RETRY",Y.name,U),Y.apply(null,U);else if(Date.now()-Q>=60000){jU("TIMEOUT",Y.name,U);var I=U.pop();if(typeof I==="function")I.call(null,z)}else{var K=Date.now()-J,G=Math.max(J-Q,1),H=Math.min(G*1.2,100);if(K>=H)jU("RETRY",Y.name,U),Y.apply(null,U.concat([Q]));else d4[s6].push($)}if(OD===void 0)OD=setTimeout(Mu,0)}});var bH0=E((hr1,Nu)=>{function Uz1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var uH0=K6().Buffer,aW=I0("util");function zz1($,Y,U){$.copy(Y,U)}Nu.exports=function(){function $(){Uz1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var z={data:U,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q},$.prototype.concat=function(U){if(this.length===0)return uH0.alloc(0);var z=uH0.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)zz1(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z},$}();if(aW&&aW.inspect&&aW.inspect.custom)Nu.exports.prototype[aW.inspect.custom]=function(){var $=aW.inspect({length:this.length});return this.constructor.name+" "+$}});var Du=E((Sr1,iH0)=>{var DD=I6();function Qz1($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)DD.nextTick(AD,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,DD.nextTick(AD,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!U._writableState)DD.nextTick(AD,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,DD.nextTick(AD,U,J)}else if(Y)Y(J)}),this}function Jz1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function AD($,Y){$.emit("error",Y)}iH0.exports={destroy:Qz1,undestroy:Jz1}});var Bu=E((gr1,rH0)=>{var EU=I6();rH0.exports=q6;function nH0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){Bz1(Y,$)}}var Iz1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:EU.nextTick,JI;q6.WritableState=eW;var pH0=Object.create(M4());pH0.inherits=X1();var Kz1={deprecate:y7()},dH0=I0("stream"),PD=K6().Buffer,Gz1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function Hz1($){return PD.from($)}function Wz1($){return PD.isBuffer($)||$ instanceof Gz1}var mH0=Du();pH0.inherits(q6,dH0);function Xz1(){}function eW($,Y){JI=JI||CU(),$=$||{};var U=Y instanceof JI;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){Mz1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new nH0(this)}eW.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(eW.prototype,"buffer",{get:Kz1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var BD;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")BD=Function.prototype[Symbol.hasInstance],Object.defineProperty(q6,Symbol.hasInstance,{value:function($){if(BD.call(this,$))return!0;if(this!==q6)return!1;return $&&$._writableState instanceof eW}});else BD=function($){return $ instanceof this};function q6($){if(JI=JI||CU(),!BD.call(q6,this)&&!(this instanceof JI))return new q6($);if(this._writableState=new eW($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}dH0.call(this)}q6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function Zz1($,Y){var U=Error("write after end");$.emit("error",U),EU.nextTick(Y,U)}function qz1($,Y,U,z){var Q=!0,J=!1;if(U===null)J=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),EU.nextTick(z,J),Q=!1;return Q}q6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&Wz1($);if(J&&!PD.isBuffer($))$=Hz1($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=Xz1;if(z.ended)Zz1(this,U);else if(J||qz1(this,z,$,U))z.pendingcb++,Q=Lz1(this,z,J,$,Y,U);return Q};q6.prototype.cork=function(){var $=this._writableState;$.corked++};q6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)lH0(this,$)}};q6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function Vz1($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=PD.from(Y,U);return Y}Object.defineProperty(q6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Lz1($,Y,U,z,Q,J){if(!U){var I=Vz1(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var sH0=I6(),Pz1=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};eH0.exports=O3;var aH0=Object.create(M4());aH0.inherits=X1();var tH0=Tu(),Pu=Bu();aH0.inherits(O3,tH0);{TD=Pz1(Pu.prototype);for($X=0;$X{var Eu=K6().Buffer,$W0=Eu.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Ez1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function Cz1($){var Y=Ez1($);if(typeof Y!=="string"&&(Eu.isEncoding===$W0||!$W0($)))throw Error("Unknown encoding: "+$);return Y||$}bz1.StringDecoder=UX;function UX($){this.encoding=Cz1($);var Y;switch(this.encoding){case"utf16le":this.text=gz1,this.end=yz1,Y=4;break;case"utf8":this.fillLast=vz1,Y=4;break;case"base64":this.text=kz1,this.end=xz1,Y=3;break;default:this.write=fz1,this.end=uz1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Eu.allocUnsafe(Y)}UX.prototype.write=function($){if($.length===0)return"";var Y,U;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return Y?Y+this.text($,U):this.text($,U);return Y||""};UX.prototype.end=Sz1;UX.prototype.text=hz1;UX.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function ju($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function Rz1($,Y,U){var z=Y.length-1;if(z=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--z=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--z=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function _z1($,Y,U){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function vz1($){var Y=this.lastTotal-this.lastNeed,U=_z1(this,$,Y);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function hz1($,Y){var U=Rz1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=U;var z=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function Sz1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function gz1($,Y){if(($.length-Y)%2===0){var U=$.toString("utf16le",Y);if(U){var z=U.charCodeAt(U.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function yz1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,U)}return Y}function kz1($,Y){var U=($.length-Y)%3;if(U===0)return $.toString("base64",Y);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-U)}function xz1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function fz1($){return $.toString(this.encoding)}function uz1($){return $&&$.length?this.write($):""}});var Tu=E((fr1,ZW0)=>{var KI=I6();ZW0.exports=j4;var cz1=sQ(),zX;j4.ReadableState=KW0;var xr1=I0("events").EventEmitter,QW0=function($,Y){return $.listeners(Y).length},Su=I0("stream"),QX=K6().Buffer,nz1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pz1($){return QX.from($)}function dz1($){return QX.isBuffer($)||$ instanceof nz1}var JW0=Object.create(M4());JW0.inherits=X1();var Ru=I0("util"),e1=void 0;if(Ru&&Ru.debuglog)e1=Ru.debuglog("stream");else e1=function(){};var mz1=bH0(),IW0=Du(),II;JW0.inherits(j4,Su);var _u=["error","close","destroy","pause","resume"];function lz1($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(cz1($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function KW0($,Y){zX=zX||CU(),$=$||{};var U=Y instanceof zX;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new mz1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!II)II=Cu().StringDecoder;this.decoder=new II($.encoding),this.encoding=$.encoding}}function j4($){if(zX=zX||CU(),!(this instanceof j4))return new j4($);if(this._readableState=new KW0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Su.call(this)}Object.defineProperty(j4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});j4.prototype.destroy=IW0.destroy;j4.prototype._undestroy=IW0.undestroy;j4.prototype._destroy=function($,Y){this.push(null),Y($)};j4.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=QX.from($,Y),Y="";z=!0}}else z=!0;return GW0(this,$,Y,!1,z)};j4.prototype.unshift=function($){return GW0(this,$,null,!0,!1)};function GW0($,Y,U,z,Q){var J=$._readableState;if(Y===null)J.reading=!1,az1($,J);else{var I;if(!Q)I=oz1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==QX.prototype)Y=pz1(Y);if(z)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else vu($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)vu($,J,Y,!1);else HW0($,J);else vu($,J,Y,!1)}else if(!z)J.reading=!1}return rz1(J)}function vu($,Y,U,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",U),$.read(0);else{if(Y.length+=Y.objectMode?1:U.length,z)Y.buffer.unshift(U);else Y.buffer.push(U);if(Y.needReadable)jD($)}HW0($,Y)}function oz1($,Y){var U;if(!dz1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function rz1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}j4.prototype.isPaused=function(){return this._readableState.flowing===!1};j4.prototype.setEncoding=function($){if(!II)II=Cu().StringDecoder;return this._readableState.decoder=new II($),this._readableState.encoding=$,this};var YW0=8388608;function sz1($){if($>=YW0)$=YW0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function UW0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=sz1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}j4.prototype.read=function($){e1("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(e1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)hu(this);else jD(this);return null}if($=UW0($,Y),$===0&&Y.ended){if(Y.length===0)hu(this);return null}var z=Y.needReadable;if(e1("need readable",z),Y.length===0||Y.length-$0)Q=WW0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)hu(this)}if(Q!==null)this.emit("data",Q);return Q};function az1($,Y){if(Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}Y.ended=!0,jD($)}function jD($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(e1("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)KI.nextTick(zW0,$);else zW0($)}function zW0($){e1("emit readable"),$.emit("readable"),gu($)}function HW0($,Y){if(!Y.readingMore)Y.readingMore=!0,KI.nextTick(tz1,$,Y)}function tz1($,Y){var U=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&XW0(z.pipes,$)!==-1)&&!H)e1("false write response, pause",z.awaitDrain),z.awaitDrain++,X=!0;U.pause()}}function q(w){if(e1("onerror",w),M(),$.removeListener("error",q),QW0($,"error")===0)$.emit("error",w)}lz1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){e1("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){e1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)e1("pipe resume"),U.resume();return $};function ez1($){return function(){var Y=$._readableState;if(e1("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&QW0($,"data"))Y.flowing=!0,gu($)}}j4.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.head.data;else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=zQ1($,Y.buffer,Y.decoder);return U}function zQ1($,Y,U){var z;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++z,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++z}return Y.length-=z,Q}function JQ1($,Y){var U=QX.allocUnsafe($),z=Y.head,Q=1;z.data.copy(U),$-=z.data.length;while(z=z.next){var J=z.data,I=$>J.length?J.length:$;if(J.copy(U,U.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++Q}return Y.length-=Q,U}function hu($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,KI.nextTick(IQ1,Y,$)}function IQ1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function XW0($,Y){for(var U=0,z=$.length;U{LW0.exports=N3;var ED=CU(),VW0=Object.create(M4());VW0.inherits=X1();VW0.inherits(N3,ED);function KQ1($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{MW0.exports=JX;var FW0=yu(),wW0=Object.create(M4());wW0.inherits=X1();wW0.inherits(JX,FW0);function JX($){if(!(this instanceof JX))return new JX($);FW0.call(this,$)}JX.prototype._transform=function($,Y,U){U(null,$)}});var NW0=E((a6,CD)=>{var W9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&W9)CD.exports=W9,a6=CD.exports=W9.Readable,a6.Readable=W9.Readable,a6.Writable=W9.Writable,a6.Duplex=W9.Duplex,a6.Transform=W9.Transform,a6.PassThrough=W9.PassThrough,a6.Stream=W9;else a6=CD.exports=Tu(),a6.Stream=W9||a6,a6.Readable=a6,a6.Writable=Bu(),a6.Duplex=CU(),a6.Transform=yu(),a6.PassThrough=OW0()});var AW0=E((ir1,DW0)=>{DW0.exports=NW0().PassThrough});var hD=E((cr1,TW0)=>{var BW0=I0("util"),vD=AW0();TW0.exports={Readable:RD,Writable:_D};BW0.inherits(RD,vD);BW0.inherits(_D,vD);function PW0($,Y,U){$[Y]=function(){return delete $[Y],U.apply(this,arguments),this[Y].apply(this,arguments)}}function RD($,Y){if(!(this instanceof RD))return new RD($,Y);vD.call(this,Y),PW0(this,"_read",function(){var U=$.call(this,Y),z=this.emit.bind(this,"error");U.on("error",z),U.pipe(this)}),this.emit("readable")}function _D($,Y){if(!(this instanceof _D))return new _D($,Y);vD.call(this,Y),PW0(this,"_write",function(){var U=$.call(this,Y),z=this.emit.bind(this,"error");U.on("error",z),this.pipe(U)}),this.emit("writable")}});var RU=E((nr1,jW0)=>{/*! * normalize-path * * Copyright (c) 2014-2018, Jon Schlinkert. * Released under the MIT License. - */jW0.exports=function($,Y){if(typeof $!=="string")throw TypeError("expected path to be a string");if($==="\\"||$==="/")return"/";var U=$.length;if(U<=1)return $;var z="";if(U>4&&$[3]==="\\"){var Q=$[2];if((Q==="?"||Q===".")&&$.slice(0,2)==="\\\\")$=$.slice(2),z="//"}var J=$.split(/[/\\]+/);if(Y!==!1&&J[J.length-1]==="")J.pop();return z+J.join("/")}});var uu=E((pr1,SW0)=>{var CW0=9007199254740991,HQ1="[object Arguments]",WQ1="[object Function]",XQ1="[object GeneratorFunction]",ZQ1=/^(?:0|[1-9]\d*)$/;function RW0($,Y,U){switch(U.length){case 0:return $.call(Y);case 1:return $.call(Y,U[0]);case 2:return $.call(Y,U[0],U[1]);case 3:return $.call(Y,U[0],U[1],U[2])}return $.apply(Y,U)}function qQ1($,Y){var U=-1,z=Array($);while(++U<$)z[U]=Y(U);return z}var IX=Object.prototype,KX=IX.hasOwnProperty,_W0=IX.toString,VQ1=IX.propertyIsEnumerable,EW0=Math.max;function LQ1($,Y){var U=TQ1($)||PQ1($)?qQ1($.length,String):[],z=U.length,Q=!!z;for(var J in $)if((Y||KX.call($,J))&&!(Q&&(J=="length"||hW0(J,z))))U.push(J);return U}function FQ1($,Y,U,z){if($===void 0||ku($,IX[U])&&!KX.call(z,U))return Y;return $}function wQ1($,Y,U){var z=$[Y];if(!(KX.call($,Y)&&ku(z,U))||U===void 0&&!(Y in $))$[Y]=U}function MQ1($){if(!fu($))return BQ1($);var Y=AQ1($),U=[];for(var z in $)if(!(z=="constructor"&&(Y||!KX.call($,z))))U.push(z);return U}function vW0($,Y){return Y=EW0(Y===void 0?$.length-1:Y,0),function(){var U=arguments,z=-1,Q=EW0(U.length-Y,0),J=Array(Q);while(++z1?U[Q-1]:void 0,I=Q>2?U[2]:void 0;if(J=$.length>3&&typeof J=="function"?(Q--,J):void 0,I&&DQ1(U[0],U[1],I))J=Q<3?void 0:J,Q=1;Y=Object(Y);while(++z-1&&$%1==0&&$-1&&$%1==0&&$<=CW0}function fu($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function RQ1($){return!!$&&typeof $=="object"}var _Q1=NQ1(function($,Y,U,z){OQ1(Y,hQ1(Y),$,z)}),vQ1=vW0(function($){return $.push(void 0,FQ1),RW0(_Q1,void 0,$)});function hQ1($){return xu($)?LQ1($,!0):MQ1($)}SW0.exports=vQ1});var yW0=E((dr1,bu)=>{function SQ1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var gW0=K6().Buffer,GX=I0("util");function gQ1($,Y,U){$.copy(Y,U)}bu.exports=function(){function $(){SQ1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var z={data:U,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q},$.prototype.concat=function(U){if(this.length===0)return gW0.alloc(0);var z=gW0.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)gQ1(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z},$}();if(GX&&GX.inspect&&GX.inspect.custom)bu.exports.prototype[GX.inspect.custom]=function(){var $=GX.inspect({length:this.length});return this.constructor.name+" "+$}});var iu=E((mr1,kW0)=>{var SD=I6();function yQ1($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)SD.nextTick(gD,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,SD.nextTick(gD,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!U._writableState)SD.nextTick(gD,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,SD.nextTick(gD,U,J)}else if(Y)Y(J)}),this}function kQ1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function gD($,Y){$.emit("error",Y)}kW0.exports={destroy:yQ1,undestroy:kQ1}});var nu=E((lr1,pW0)=>{var _U=I6();pW0.exports=V6;function fW0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){$J1(Y,$)}}var xQ1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:_U.nextTick,GI;V6.WritableState=WX;var uW0=Object.create(M4());uW0.inherits=X1();var fQ1={deprecate:y7()},bW0=I0("stream"),kD=K6().Buffer,uQ1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function bQ1($){return kD.from($)}function iQ1($){return kD.isBuffer($)||$ instanceof uQ1}var iW0=iu();uW0.inherits(V6,bW0);function cQ1(){}function WX($,Y){GI=GI||vU(),$=$||{};var U=Y instanceof GI;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){rQ1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new fW0(this)}WX.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(WX.prototype,"buffer",{get:fQ1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var yD;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")yD=Function.prototype[Symbol.hasInstance],Object.defineProperty(V6,Symbol.hasInstance,{value:function($){if(yD.call(this,$))return!0;if(this!==V6)return!1;return $&&$._writableState instanceof WX}});else yD=function($){return $ instanceof this};function V6($){if(GI=GI||vU(),!yD.call(V6,this)&&!(this instanceof GI))return new V6($);if(this._writableState=new WX($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}bW0.call(this)}V6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function nQ1($,Y){var U=Error("write after end");$.emit("error",U),_U.nextTick(Y,U)}function pQ1($,Y,U,z){var Q=!0,J=!1;if(U===null)J=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),_U.nextTick(z,J),Q=!1;return Q}V6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&iQ1($);if(J&&!kD.isBuffer($))$=bQ1($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=cQ1;if(z.ended)nQ1(this,U);else if(J||pQ1(this,z,$,U))z.pendingcb++,Q=mQ1(this,z,J,$,Y,U);return Q};V6.prototype.cork=function(){var $=this._writableState;$.corked++};V6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)cW0(this,$)}};V6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function dQ1($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=kD.from(Y,U);return Y}Object.defineProperty(V6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function mQ1($,Y,U,z,Q,J){if(!U){var I=dQ1(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var dW0=I6(),YJ1=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};oW0.exports=D3;var mW0=Object.create(M4());mW0.inherits=X1();var lW0=du(),pu=nu();mW0.inherits(D3,lW0);{xD=YJ1(pu.prototype);for(XX=0;XX{var lu=K6().Buffer,rW0=lu.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function QJ1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function JJ1($){var Y=QJ1($);if(typeof Y!=="string"&&(lu.isEncoding===rW0||!rW0($)))throw Error("Unknown encoding: "+$);return Y||$}wJ1.StringDecoder=qX;function qX($){this.encoding=JJ1($);var Y;switch(this.encoding){case"utf16le":this.text=XJ1,this.end=ZJ1,Y=4;break;case"utf8":this.fillLast=GJ1,Y=4;break;case"base64":this.text=qJ1,this.end=VJ1,Y=3;break;default:this.write=LJ1,this.end=FJ1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=lu.allocUnsafe(Y)}qX.prototype.write=function($){if($.length===0)return"";var Y,U;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return Y?Y+this.text($,U):this.text($,U);return Y||""};qX.prototype.end=WJ1;qX.prototype.text=HJ1;qX.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function mu($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function IJ1($,Y,U){var z=Y.length-1;if(z=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--z=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--z=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function KJ1($,Y,U){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function GJ1($){var Y=this.lastTotal-this.lastNeed,U=KJ1(this,$,Y);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function HJ1($,Y){var U=IJ1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=U;var z=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function WJ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function XJ1($,Y){if(($.length-Y)%2===0){var U=$.toString("utf16le",Y);if(U){var z=U.charCodeAt(U.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function ZJ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,U)}return Y}function qJ1($,Y){var U=($.length-Y)%3;if(U===0)return $.toString("base64",Y);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-U)}function VJ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function LJ1($){return $.toString(this.encoding)}function FJ1($){return $&&$.length?this.write($):""}});var du=E((ar1,KX0)=>{var WI=I6();KX0.exports=E4;var OJ1=sQ(),VX;E4.ReadableState=UX0;var sr1=I0("events").EventEmitter,eW0=function($,Y){return $.listeners(Y).length},eu=I0("stream"),LX=K6().Buffer,NJ1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function DJ1($){return LX.from($)}function AJ1($){return LX.isBuffer($)||$ instanceof NJ1}var $X0=Object.create(M4());$X0.inherits=X1();var ru=I0("util"),$4=void 0;if(ru&&ru.debuglog)$4=ru.debuglog("stream");else $4=function(){};var BJ1=yW0(),YX0=iu(),HI;$X0.inherits(E4,eu);var su=["error","close","destroy","pause","resume"];function PJ1($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(OJ1($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function UX0($,Y){VX=VX||vU(),$=$||{};var U=Y instanceof VX;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new BJ1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!HI)HI=ou().StringDecoder;this.decoder=new HI($.encoding),this.encoding=$.encoding}}function E4($){if(VX=VX||vU(),!(this instanceof E4))return new E4($);if(this._readableState=new UX0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}eu.call(this)}Object.defineProperty(E4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});E4.prototype.destroy=YX0.destroy;E4.prototype._undestroy=YX0.undestroy;E4.prototype._destroy=function($,Y){this.push(null),Y($)};E4.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=LX.from($,Y),Y="";z=!0}}else z=!0;return zX0(this,$,Y,!1,z)};E4.prototype.unshift=function($){return zX0(this,$,null,!0,!1)};function zX0($,Y,U,z,Q){var J=$._readableState;if(Y===null)J.reading=!1,CJ1($,J);else{var I;if(!Q)I=TJ1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==LX.prototype)Y=DJ1(Y);if(z)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else au($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)au($,J,Y,!1);else QX0($,J);else au($,J,Y,!1)}else if(!z)J.reading=!1}return jJ1(J)}function au($,Y,U,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",U),$.read(0);else{if(Y.length+=Y.objectMode?1:U.length,z)Y.buffer.unshift(U);else Y.buffer.push(U);if(Y.needReadable)fD($)}QX0($,Y)}function TJ1($,Y){var U;if(!AJ1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function jJ1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}E4.prototype.isPaused=function(){return this._readableState.flowing===!1};E4.prototype.setEncoding=function($){if(!HI)HI=ou().StringDecoder;return this._readableState.decoder=new HI($),this._readableState.encoding=$,this};var sW0=8388608;function EJ1($){if($>=sW0)$=sW0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function aW0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=EJ1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}E4.prototype.read=function($){$4("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if($4("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)tu(this);else fD(this);return null}if($=aW0($,Y),$===0&&Y.ended){if(Y.length===0)tu(this);return null}var z=Y.needReadable;if($4("need readable",z),Y.length===0||Y.length-$0)Q=JX0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)tu(this)}if(Q!==null)this.emit("data",Q);return Q};function CJ1($,Y){if(Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}Y.ended=!0,fD($)}function fD($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if($4("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)WI.nextTick(tW0,$);else tW0($)}function tW0($){$4("emit readable"),$.emit("readable"),$b($)}function QX0($,Y){if(!Y.readingMore)Y.readingMore=!0,WI.nextTick(RJ1,$,Y)}function RJ1($,Y){var U=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&IX0(z.pipes,$)!==-1)&&!H)$4("false write response, pause",z.awaitDrain),z.awaitDrain++,X=!0;U.pause()}}function q(w){if($4("onerror",w),M(),$.removeListener("error",q),eW0($,"error")===0)$.emit("error",w)}PJ1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){$4("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){$4("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)$4("pipe resume"),U.resume();return $};function _J1($){return function(){var Y=$._readableState;if($4("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&eW0($,"data"))Y.flowing=!0,$b($)}}E4.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.head.data;else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=gJ1($,Y.buffer,Y.decoder);return U}function gJ1($,Y,U){var z;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++z,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++z}return Y.length-=z,Q}function kJ1($,Y){var U=LX.allocUnsafe($),z=Y.head,Q=1;z.data.copy(U),$-=z.data.length;while(z=z.next){var J=z.data,I=$>J.length?J.length:$;if(J.copy(U,U.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++Q}return Y.length-=Q,U}function tu($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,WI.nextTick(xJ1,Y,$)}function xJ1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function IX0($,Y){for(var U=0,z=$.length;U{WX0.exports=A3;var uD=vU(),HX0=Object.create(M4());HX0.inherits=X1();HX0.inherits(A3,uD);function fJ1($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{qX0.exports=FX;var XX0=Yb(),ZX0=Object.create(M4());ZX0.inherits=X1();ZX0.inherits(FX,XX0);function FX($){if(!(this instanceof FX))return new FX($);XX0.call(this,$)}FX.prototype._transform=function($,Y,U){U(null,$)}});var LX0=E((t6,bD)=>{var W9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&W9)bD.exports=W9,t6=bD.exports=W9.Readable,t6.Readable=W9.Readable,t6.Writable=W9.Writable,t6.Duplex=W9.Duplex,t6.Transform=W9.Transform,t6.PassThrough=W9.PassThrough,t6.Stream=W9;else t6=bD.exports=du(),t6.Stream=W9||t6,t6.Readable=t6,t6.Writable=nu(),t6.Duplex=vU(),t6.Transform=Yb(),t6.PassThrough=VX0()});var zb=E(($s1,NX0)=>{var bJ1=9007199254740991,iJ1="[object Arguments]",cJ1="[object Function]",nJ1="[object GeneratorFunction]",pJ1=typeof global=="object"&&global&&global.Object===Object&&global,dJ1=typeof self=="object"&&self&&self.Object===Object&&self,mJ1=pJ1||dJ1||Function("return this")();function lJ1($,Y){var U=-1,z=Y.length,Q=$.length;while(++U0&&U(K))if(Y>1)OX0(K,Y-1,U,z,Q);else lJ1(Q,K);else if(!z)Q[Q.length]=K}return Q}function sJ1($){return eJ1($)||tJ1($)||!!(wX0&&$&&$[wX0])}function aJ1($){var Y=$?$.length:0;return Y?OX0($,1):[]}function tJ1($){return YI1($)&&oJ1.call($,"callee")&&(!rJ1.call($,"callee")||MX0.call($)==iJ1)}var eJ1=Array.isArray;function $I1($){return $!=null&&zI1($.length)&&!UI1($)}function YI1($){return JI1($)&&$I1($)}function UI1($){var Y=QI1($)?MX0.call($):"";return Y==cJ1||Y==nJ1}function zI1($){return typeof $=="number"&&$>-1&&$%1==0&&$<=bJ1}function QI1($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function JI1($){return!!$&&typeof $=="object"}NX0.exports=aJ1});var Hb=E((Ys1,vX0)=>{var II1=200,Ib="__lodash_hash_undefined__",KI1=9007199254740991,GI1="[object Arguments]",HI1="[object Function]",WI1="[object GeneratorFunction]",XI1=/[\\^$.*+?()[\]{}|]/g,ZI1=/^\[object .+?Constructor\]$/,qI1=typeof global=="object"&&global&&global.Object===Object&&global,VI1=typeof self=="object"&&self&&self.Object===Object&&self,Kb=qI1||VI1||Function("return this")();function LI1($,Y,U){switch(U.length){case 0:return $.call(Y);case 1:return $.call(Y,U[0]);case 2:return $.call(Y,U[0],U[1]);case 3:return $.call(Y,U[0],U[1],U[2])}return $.apply(Y,U)}function FI1($,Y){var U=$?$.length:0;return!!U&&DI1($,Y,0)>-1}function wI1($,Y,U){var z=-1,Q=$?$.length:0;while(++z-1}function cI1($,Y){var U=this.__data__,z=nD(U,$);if(z<0)U.push([$,Y]);else U[z][1]=Y;return this}XI.prototype.clear=fI1;XI.prototype.delete=uI1;XI.prototype.get=bI1;XI.prototype.has=iI1;XI.prototype.set=cI1;function ZI($){var Y=-1,U=$?$.length:0;this.clear();while(++Y=II1)J=PI1,I=!1,Y=new iD(Y);$:while(++Q0&&U(K))if(Y>1)EX0(K,Y-1,U,z,Q);else OI1(Q,K);else if(!z)Q[Q.length]=K}return Q}function aI1($){if(!_X0($)||YK1($))return!1;var Y=RX0($)||jI1($)?RI1:ZI1;return Y.test(UK1($))}function tI1($,Y){return Y=PX0(Y===void 0?$.length-1:Y,0),function(){var U=arguments,z=-1,Q=PX0(U.length-Y,0),J=Array(Q);while(++z-1&&$%1==0&&$<=KI1}function _X0($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function HK1($){return!!$&&typeof $=="object"}vX0.exports=zK1});var Lb=E((Us1,nX0)=>{var WK1=200,Zb="__lodash_hash_undefined__",XK1=1/0,ZK1=9007199254740991,qK1="[object Arguments]",VK1="[object Function]",LK1="[object GeneratorFunction]",FK1=/[\\^$.*+?()[\]{}|]/g,wK1=/^\[object .+?Constructor\]$/,MK1=typeof global=="object"&&global&&global.Object===Object&&global,OK1=typeof self=="object"&&self&&self.Object===Object&&self,mD=MK1||OK1||Function("return this")();function NK1($,Y,U){switch(U.length){case 0:return $.call(Y);case 1:return $.call(Y,U[0]);case 2:return $.call(Y,U[0],U[1]);case 3:return $.call(Y,U[0],U[1],U[2])}return $.apply(Y,U)}function DK1($,Y){var U=$?$.length:0;return!!U&&TK1($,Y,0)>-1}function AK1($,Y,U){var z=-1,Q=$?$.length:0;while(++z-1}function dK1($,Y){var U=this.__data__,z=oD(U,$);if(z<0)U.push([$,Y]);else U[z][1]=Y;return this}qI.prototype.clear=iK1;qI.prototype.delete=cK1;qI.prototype.get=nK1;qI.prototype.has=pK1;qI.prototype.set=dK1;function VI($){var Y=-1,U=$?$.length:0;this.clear();while(++Y0&&U(K))if(Y>1)uX0(K,Y-1,U,z,Q);else BK1(Q,K);else if(!z)Q[Q.length]=K}return Q}function eK1($){if(!cX0($)||JG1($))return!1;var Y=iX0($)||RK1($)?hK1:wK1;return Y.test(IG1($))}function $G1($,Y){return Y=yX0(Y===void 0?$.length-1:Y,0),function(){var U=arguments,z=-1,Q=yX0(U.length-Y,0),J=Array(Q);while(++z=WK1){var H=Y?null:UG1($);if(H)return kX0(H);I=!1,Q=EK1,G=new dD}else G=Y?[]:K;$:while(++z-1&&$%1==0&&$<=ZK1}function cX0($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function qG1($){return!!$&&typeof $=="object"}function VG1(){}nX0.exports=KG1});var Fb=E((zs1,mX0)=>{var LG1="[object Object]";function FG1($){var Y=!1;if($!=null&&typeof $.toString!="function")try{Y=!!($+"")}catch(U){}return Y}function wG1($,Y){return function(U){return $(Y(U))}}var MG1=Function.prototype,pX0=Object.prototype,dX0=MG1.toString,OG1=pX0.hasOwnProperty,NG1=dX0.call(Object),DG1=pX0.toString,AG1=wG1(Object.getPrototypeOf,Object);function BG1($){return!!$&&typeof $=="object"}function PG1($){if(!BG1($)||DG1.call($)!=LG1||FG1($))return!1;var Y=AG1($);if(Y===null)return!0;var U=OG1.call(Y,"constructor")&&Y.constructor;return typeof U=="function"&&U instanceof U&&dX0.call(U)==NG1}mX0.exports=PG1});var lX0=E((CG1)=>{var gU=I0("path"),q2=process.platform==="win32",Z2=I0("fs"),TG1=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function jG1(){var $;if(TG1){var Y=Error();$=U}else $=z;return $;function U(Q){if(Q)Y.message=Q.message,Q=Y,z(Q)}function z(Q){if(Q){if(process.throwDeprecation)throw Q;else if(!process.noDeprecation){var J="fs: missing callback "+(Q.stack||Q.message);if(process.traceDeprecation)console.trace(J);else console.error(J)}}}}function EG1($){return typeof $==="function"?$:jG1()}var Qs1=gU.normalize;if(q2)X9=/(.*?)(?:[\/\\]+|$)/g;else X9=/(.*?)(?:[\/]+|$)/g;var X9;if(q2)LI=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else LI=/^[\/]*/;var LI;CG1.realpathSync=function(Y,U){if(Y=gU.resolve(Y),U&&Object.prototype.hasOwnProperty.call(U,Y))return U[Y];var z=Y,Q={},J={},I,K,G,H;W();function W(){var M=LI.exec(Y);if(I=M[0].length,K=M[0],G=M[0],H="",q2&&!J[G])Z2.lstatSync(G),J[G]=!0}while(I=Y.length){if(U)U[Q]=Y;return z(null,Y)}X9.lastIndex=K;var M=X9.exec(Y);if(W=G,G+=M[0],H=W+M[1],K=X9.lastIndex,I[H]||U&&U[H]===H)return process.nextTick(Z);if(U&&Object.prototype.hasOwnProperty.call(U,H))return F(U[H]);return Z2.lstat(H,q)}function q(M,w){if(M)return z(M);if(!w.isSymbolicLink()){if(I[H]=!0,U)U[H]=H;return process.nextTick(Z)}if(!q2){var N=w.dev.toString(32)+":"+w.ino.toString(32);if(J.hasOwnProperty(N))return V(null,J[N],H)}Z2.stat(H,function(O){if(O)return z(O);Z2.readlink(H,function(D,P){if(!q2)J[N]=P;V(D,P)})})}function V(M,w,N){if(M)return z(M);var O=gU.resolve(W,w);if(U)U[N]=O;F(O)}function F(M){Y=gU.resolve(M,Y.slice(K)),X()}}});var Nb=E((Is1,aX0)=>{aX0.exports=V2;V2.realpath=V2;V2.sync=Ob;V2.realpathSync=Ob;V2.monkeypatch=hG1;V2.unmonkeypatch=SG1;var FI=I0("fs"),wb=FI.realpath,Mb=FI.realpathSync,vG1=process.version,oX0=/^v[0-5]\./.test(vG1),rX0=lX0();function sX0($){return $&&$.syscall==="realpath"&&($.code==="ELOOP"||$.code==="ENOMEM"||$.code==="ENAMETOOLONG")}function V2($,Y,U){if(oX0)return wb($,Y,U);if(typeof Y==="function")U=Y,Y=null;wb($,Y,function(z,Q){if(sX0(z))rX0.realpath($,Y,U);else U(z,Q)})}function Ob($,Y){if(oX0)return Mb($,Y);try{return Mb($,Y)}catch(U){if(sX0(U))return rX0.realpathSync($,Y);else throw U}}function hG1(){FI.realpath=V2,FI.realpathSync=Ob}function SG1(){FI.realpath=wb,FI.realpathSync=Mb}});var eX0=E((Ks1,tX0)=>{tX0.exports=function($,Y){var U=[];for(var z=0;z<$.length;z++){var Q=Y($[z],z);if(gG1(Q))U.push.apply(U,Q);else U.push(Q)}return U};var gG1=Array.isArray||function($){return Object.prototype.toString.call($)==="[object Array]"}});var QZ0=E((Gs1,zZ0)=>{zZ0.exports=YZ0;function YZ0($,Y,U){if($ instanceof RegExp)$=$Z0($,U);if(Y instanceof RegExp)Y=$Z0(Y,U);var z=UZ0($,Y,U);return z&&{start:z[0],end:z[1],pre:U.slice(0,z[0]),body:U.slice(z[0]+$.length,z[1]),post:U.slice(z[1]+Y.length)}}function $Z0($,Y){var U=Y.match($);return U?U[0]:null}YZ0.range=UZ0;function UZ0($,Y,U){var z,Q,J,I,K,G=U.indexOf($),H=U.indexOf(Y,G+1),W=G;if(G>=0&&H>0){if($===Y)return[G,H];z=[],J=U.length;while(W>=0&&!K){if(W==G)z.push(W),G=U.indexOf($,W+1);else if(z.length==1)K=[z.pop(),H];else{if(Q=z.pop(),Q=0?G:H}if(z.length)K=[J,I]}return K}});var ZZ0=E((Ws1,XZ0)=>{var Hs1=eX0(),JZ0=QZ0();XZ0.exports=uG1;var IZ0="\x00SLASH"+Math.random()+"\x00",KZ0="\x00OPEN"+Math.random()+"\x00",Bb="\x00CLOSE"+Math.random()+"\x00",GZ0="\x00COMMA"+Math.random()+"\x00",HZ0="\x00PERIOD"+Math.random()+"\x00",yG1=1e5,kG1=4000000;function Db($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function xG1($){return $.split("\\\\").join(IZ0).split("\\{").join(KZ0).split("\\}").join(Bb).split("\\,").join(GZ0).split("\\.").join(HZ0)}function fG1($){return $.split(IZ0).join("\\").split(KZ0).join("{").split(Bb).join("}").split(GZ0).join(",").split(HZ0).join(".")}function WZ0($){if(!$)return[""];var Y=[],U=JZ0("{","}",$);if(!U)return $.split(",");var{pre:z,body:Q,post:J}=U,I=z.split(",");I[I.length-1]+="{"+Q+"}";var K=WZ0(J);if(J.length)I[I.length-1]+=K.shift(),I.push.apply(I,K);return Y.push.apply(Y,I),Y}function uG1($,Y){if(!$)return[];Y=Y||{};var U=Y.max==null?yG1:Y.max,z=Y.maxLength==null?kG1:Y.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return Ab(xG1($),U,z,!0).map(fG1)}function bG1($){return"{"+$+"}"}function iG1($){return/^-?0\d/.test($)}function cG1($,Y){return $<=Y}function nG1($,Y){return $>=Y}function OX($,Y,U,z,Q,J,I,K){var G=[],H=0;for(var W=0;W<$.length;W++)for(var X=0;X=Q)return G;var Z=$[W]+U+z[X];if(I&&Z.length===Y[W])continue;if(H+Z.length>J)return G;G.push(Z),K.push(Y[W]),H+=Z.length}return G}function pG1($,Y,U,z){var Q=$.split(/\.\./),J=[];if(Q[0]===void 0||Q[1]===void 0)return J;var I=Db(Q[0]),K=Db(Q[1]),G=Math.max(Q[0].length,Q[1].length),H=Q.length===3&&Q[2]!==void 0?Math.max(Math.abs(Db(Q[2])),1):1,W=cG1,X=K0){var w=Array(M+1).join("0");if(V<0)F="-"+w+F.slice(1);else F=w+F}}if(q+F.length>z)break;J.push(F),q+=F.length}return J}function Ab($,Y,U,z){var Q=[""],J=[0],I=!1,K=!0,G;for(;;){var H=JZ0("{","}",$);if(!H)return OX(Q,J,$,[""],Y,U,I,[]);var W=H.pre;if(/\$$/.test(W))return OX(Q,J,$,[""],Y,U,I,[]);var X=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(H.body),Z=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(H.body),q=X||Z,V=H.body.indexOf(",")>=0;if(!q&&!V){if(H.post.match(/,(?!,).*\}/)){$=H.pre+"{"+H.body+Bb+H.post,z=!0,K=!0,I=!1,J=[];for(var F=0;F=Y||D+j.length>U)break $;M.push(j),D+=j.length}}}if(G=[],Q=OX(Q,J,W,M,Y,U,I&&!H.post.length,G),J=G,!H.post.length)break;$=H.post}return Q}});var tD=E((Xs1,wZ0)=>{wZ0.exports=W$;W$.Minimatch=L6;var NX=function(){try{return I0("path")}catch($){}}()||{sep:"/"};W$.sep=NX.sep;var yU=W$.GLOBSTAR=L6.GLOBSTAR={},dG1=ZZ0(),qZ0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Pb="[^/]",Tb=Pb+"*?",mG1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",lG1="(?:(?!(?:\\/|^)\\.).)*?",VZ0=oG1("().*{}+?[]^$\\!");function oG1($){return $.split("").reduce(function(Y,U){return Y[U]=!0,Y},{})}var LZ0=/\/+/;W$.filter=rG1;function rG1($,Y){return Y=Y||{},function(U,z,Q){return W$(U,$,Y)}}function L2($,Y){Y=Y||{};var U={};return Object.keys($).forEach(function(z){U[z]=$[z]}),Object.keys(Y).forEach(function(z){U[z]=Y[z]}),U}W$.defaults=function($){if(!$||typeof $!=="object"||!Object.keys($).length)return W$;var Y=W$,U=function(Q,J,I){return Y(Q,J,L2($,I))};return U.Minimatch=function(Q,J){return new Y.Minimatch(Q,L2($,J))},U.Minimatch.defaults=function(Q){return Y.defaults(L2($,Q)).Minimatch},U.filter=function(Q,J){return Y.filter(Q,L2($,J))},U.defaults=function(Q){return Y.defaults(L2($,Q))},U.makeRe=function(Q,J){return Y.makeRe(Q,L2($,J))},U.braceExpand=function(Q,J){return Y.braceExpand(Q,L2($,J))},U.match=function(z,Q,J){return Y.match(z,Q,L2($,J))},U};L6.defaults=function($){return W$.defaults($).Minimatch};function W$($,Y,U){if(aD(Y),!U)U={};if(!U.nocomment&&Y.charAt(0)==="#")return!1;return new L6(Y,U).match($)}function L6($,Y){if(!(this instanceof L6))return new L6($,Y);if(aD($),!Y)Y={};if($=$.trim(),!Y.allowWindowsEscape&&NX.sep!=="/")$=$.split(NX.sep).join("/");this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion!==void 0?Y.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.make()}L6.prototype.debug=function(){};L6.prototype.make=sG1;function sG1(){var $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();var U=this.globSet=this.braceExpand();if(Y.debug)this.debug=function(){console.error.apply(console,arguments)};this.debug(this.pattern,U),U=this.globParts=U.map(function(z){return z.split(LZ0)}),this.debug(this.pattern,U),U=U.map(function(z,Q,J){return z.map(this.parse,this)},this),this.debug(this.pattern,U),U=U.filter(function(z){return z.indexOf(!1)===-1}),this.debug(this.pattern,U),this.set=U}L6.prototype.parseNegate=aG1;function aG1(){var $=this.pattern,Y=!1,U=this.options,z=0;if(U.nonegate)return;for(var Q=0,J=$.length;Q"u"?this.pattern:$,aD($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return dG1($)}var tG1=65536,aD=function($){if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>tG1)throw TypeError("pattern is too long")};L6.prototype.parse=eG1;var sD={};function eG1($,Y){aD($);var U=this.options;if($==="**")if(!U.noglobstar)return yU;else $="*";if($==="")return"";var z="",Q=!!U.nocase,J=!1,I=[],K=[],G,H=!1,W=-1,X=-1,Z=$.charAt(0)==="."?"":U.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",q=this;function V(){if(G){switch(G){case"*":z+=Tb,Q=!0;break;case"?":z+=Pb,Q=!0;break;default:z+="\\"+G;break}q.debug("clearStateChar %j %j",G,z),G=!1}}for(var F=0,M=$.length,w;F4&&$[3]==="\\"){var Q=$[2];if((Q==="?"||Q===".")&&$.slice(0,2)==="\\\\")$=$.slice(2),z="//"}var J=$.split(/[/\\]+/);if(Y!==!1&&J[J.length-1]==="")J.pop();return z+J.join("/")}});var uu=E((pr1,SW0)=>{var CW0=9007199254740991,HQ1="[object Arguments]",WQ1="[object Function]",XQ1="[object GeneratorFunction]",ZQ1=/^(?:0|[1-9]\d*)$/;function RW0($,Y,U){switch(U.length){case 0:return $.call(Y);case 1:return $.call(Y,U[0]);case 2:return $.call(Y,U[0],U[1]);case 3:return $.call(Y,U[0],U[1],U[2])}return $.apply(Y,U)}function qQ1($,Y){var U=-1,z=Array($);while(++U<$)z[U]=Y(U);return z}var IX=Object.prototype,KX=IX.hasOwnProperty,_W0=IX.toString,VQ1=IX.propertyIsEnumerable,EW0=Math.max;function LQ1($,Y){var U=TQ1($)||PQ1($)?qQ1($.length,String):[],z=U.length,Q=!!z;for(var J in $)if((Y||KX.call($,J))&&!(Q&&(J=="length"||hW0(J,z))))U.push(J);return U}function FQ1($,Y,U,z){if($===void 0||ku($,IX[U])&&!KX.call(z,U))return Y;return $}function wQ1($,Y,U){var z=$[Y];if(!(KX.call($,Y)&&ku(z,U))||U===void 0&&!(Y in $))$[Y]=U}function MQ1($){if(!fu($))return BQ1($);var Y=AQ1($),U=[];for(var z in $)if(!(z=="constructor"&&(Y||!KX.call($,z))))U.push(z);return U}function vW0($,Y){return Y=EW0(Y===void 0?$.length-1:Y,0),function(){var U=arguments,z=-1,Q=EW0(U.length-Y,0),J=Array(Q);while(++z1?U[Q-1]:void 0,I=Q>2?U[2]:void 0;if(J=$.length>3&&typeof J=="function"?(Q--,J):void 0,I&&DQ1(U[0],U[1],I))J=Q<3?void 0:J,Q=1;Y=Object(Y);while(++z-1&&$%1==0&&$-1&&$%1==0&&$<=CW0}function fu($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function RQ1($){return!!$&&typeof $=="object"}var _Q1=NQ1(function($,Y,U,z){OQ1(Y,hQ1(Y),$,z)}),vQ1=vW0(function($){return $.push(void 0,FQ1),RW0(_Q1,void 0,$)});function hQ1($){return xu($)?LQ1($,!0):MQ1($)}SW0.exports=vQ1});var yW0=E((dr1,bu)=>{function SQ1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var gW0=K6().Buffer,GX=I0("util");function gQ1($,Y,U){$.copy(Y,U)}bu.exports=function(){function $(){SQ1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var z={data:U,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q},$.prototype.concat=function(U){if(this.length===0)return gW0.alloc(0);var z=gW0.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)gQ1(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z},$}();if(GX&&GX.inspect&&GX.inspect.custom)bu.exports.prototype[GX.inspect.custom]=function(){var $=GX.inspect({length:this.length});return this.constructor.name+" "+$}});var iu=E((mr1,kW0)=>{var SD=I6();function yQ1($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)SD.nextTick(gD,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,SD.nextTick(gD,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!U._writableState)SD.nextTick(gD,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,SD.nextTick(gD,U,J)}else if(Y)Y(J)}),this}function kQ1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function gD($,Y){$.emit("error",Y)}kW0.exports={destroy:yQ1,undestroy:kQ1}});var nu=E((lr1,pW0)=>{var _U=I6();pW0.exports=V6;function fW0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){$J1(Y,$)}}var xQ1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:_U.nextTick,GI;V6.WritableState=WX;var uW0=Object.create(M4());uW0.inherits=X1();var fQ1={deprecate:y7()},bW0=I0("stream"),kD=K6().Buffer,uQ1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function bQ1($){return kD.from($)}function iQ1($){return kD.isBuffer($)||$ instanceof uQ1}var iW0=iu();uW0.inherits(V6,bW0);function cQ1(){}function WX($,Y){GI=GI||vU(),$=$||{};var U=Y instanceof GI;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){rQ1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new fW0(this)}WX.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(WX.prototype,"buffer",{get:fQ1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var yD;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")yD=Function.prototype[Symbol.hasInstance],Object.defineProperty(V6,Symbol.hasInstance,{value:function($){if(yD.call(this,$))return!0;if(this!==V6)return!1;return $&&$._writableState instanceof WX}});else yD=function($){return $ instanceof this};function V6($){if(GI=GI||vU(),!yD.call(V6,this)&&!(this instanceof GI))return new V6($);if(this._writableState=new WX($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}bW0.call(this)}V6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function nQ1($,Y){var U=Error("write after end");$.emit("error",U),_U.nextTick(Y,U)}function pQ1($,Y,U,z){var Q=!0,J=!1;if(U===null)J=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),_U.nextTick(z,J),Q=!1;return Q}V6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&iQ1($);if(J&&!kD.isBuffer($))$=bQ1($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=cQ1;if(z.ended)nQ1(this,U);else if(J||pQ1(this,z,$,U))z.pendingcb++,Q=mQ1(this,z,J,$,Y,U);return Q};V6.prototype.cork=function(){var $=this._writableState;$.corked++};V6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)cW0(this,$)}};V6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function dQ1($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=kD.from(Y,U);return Y}Object.defineProperty(V6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function mQ1($,Y,U,z,Q,J){if(!U){var I=dQ1(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var dW0=I6(),YJ1=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};oW0.exports=D3;var mW0=Object.create(M4());mW0.inherits=X1();var lW0=du(),pu=nu();mW0.inherits(D3,lW0);{xD=YJ1(pu.prototype);for(XX=0;XX{var lu=K6().Buffer,rW0=lu.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function QJ1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function JJ1($){var Y=QJ1($);if(typeof Y!=="string"&&(lu.isEncoding===rW0||!rW0($)))throw Error("Unknown encoding: "+$);return Y||$}wJ1.StringDecoder=qX;function qX($){this.encoding=JJ1($);var Y;switch(this.encoding){case"utf16le":this.text=XJ1,this.end=ZJ1,Y=4;break;case"utf8":this.fillLast=GJ1,Y=4;break;case"base64":this.text=qJ1,this.end=VJ1,Y=3;break;default:this.write=LJ1,this.end=FJ1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=lu.allocUnsafe(Y)}qX.prototype.write=function($){if($.length===0)return"";var Y,U;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return Y?Y+this.text($,U):this.text($,U);return Y||""};qX.prototype.end=WJ1;qX.prototype.text=HJ1;qX.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function mu($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function IJ1($,Y,U){var z=Y.length-1;if(z=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--z=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--z=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function KJ1($,Y,U){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function GJ1($){var Y=this.lastTotal-this.lastNeed,U=KJ1(this,$,Y);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function HJ1($,Y){var U=IJ1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=U;var z=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function WJ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function XJ1($,Y){if(($.length-Y)%2===0){var U=$.toString("utf16le",Y);if(U){var z=U.charCodeAt(U.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function ZJ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,U)}return Y}function qJ1($,Y){var U=($.length-Y)%3;if(U===0)return $.toString("base64",Y);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-U)}function VJ1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function LJ1($){return $.toString(this.encoding)}function FJ1($){return $&&$.length?this.write($):""}});var du=E((ar1,KX0)=>{var WI=I6();KX0.exports=E4;var OJ1=sQ(),VX;E4.ReadableState=UX0;var sr1=I0("events").EventEmitter,eW0=function($,Y){return $.listeners(Y).length},eu=I0("stream"),LX=K6().Buffer,NJ1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function DJ1($){return LX.from($)}function AJ1($){return LX.isBuffer($)||$ instanceof NJ1}var $X0=Object.create(M4());$X0.inherits=X1();var ru=I0("util"),$4=void 0;if(ru&&ru.debuglog)$4=ru.debuglog("stream");else $4=function(){};var BJ1=yW0(),YX0=iu(),HI;$X0.inherits(E4,eu);var su=["error","close","destroy","pause","resume"];function PJ1($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(OJ1($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function UX0($,Y){VX=VX||vU(),$=$||{};var U=Y instanceof VX;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new BJ1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!HI)HI=ou().StringDecoder;this.decoder=new HI($.encoding),this.encoding=$.encoding}}function E4($){if(VX=VX||vU(),!(this instanceof E4))return new E4($);if(this._readableState=new UX0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}eu.call(this)}Object.defineProperty(E4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});E4.prototype.destroy=YX0.destroy;E4.prototype._undestroy=YX0.undestroy;E4.prototype._destroy=function($,Y){this.push(null),Y($)};E4.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=LX.from($,Y),Y="";z=!0}}else z=!0;return zX0(this,$,Y,!1,z)};E4.prototype.unshift=function($){return zX0(this,$,null,!0,!1)};function zX0($,Y,U,z,Q){var J=$._readableState;if(Y===null)J.reading=!1,CJ1($,J);else{var I;if(!Q)I=TJ1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==LX.prototype)Y=DJ1(Y);if(z)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else au($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)au($,J,Y,!1);else QX0($,J);else au($,J,Y,!1)}else if(!z)J.reading=!1}return jJ1(J)}function au($,Y,U,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",U),$.read(0);else{if(Y.length+=Y.objectMode?1:U.length,z)Y.buffer.unshift(U);else Y.buffer.push(U);if(Y.needReadable)fD($)}QX0($,Y)}function TJ1($,Y){var U;if(!AJ1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function jJ1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}E4.prototype.isPaused=function(){return this._readableState.flowing===!1};E4.prototype.setEncoding=function($){if(!HI)HI=ou().StringDecoder;return this._readableState.decoder=new HI($),this._readableState.encoding=$,this};var sW0=8388608;function EJ1($){if($>=sW0)$=sW0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function aW0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=EJ1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}E4.prototype.read=function($){$4("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if($4("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)tu(this);else fD(this);return null}if($=aW0($,Y),$===0&&Y.ended){if(Y.length===0)tu(this);return null}var z=Y.needReadable;if($4("need readable",z),Y.length===0||Y.length-$0)Q=JX0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)tu(this)}if(Q!==null)this.emit("data",Q);return Q};function CJ1($,Y){if(Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}Y.ended=!0,fD($)}function fD($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if($4("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)WI.nextTick(tW0,$);else tW0($)}function tW0($){$4("emit readable"),$.emit("readable"),$b($)}function QX0($,Y){if(!Y.readingMore)Y.readingMore=!0,WI.nextTick(RJ1,$,Y)}function RJ1($,Y){var U=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&IX0(z.pipes,$)!==-1)&&!H)$4("false write response, pause",z.awaitDrain),z.awaitDrain++,X=!0;U.pause()}}function q(w){if($4("onerror",w),M(),$.removeListener("error",q),eW0($,"error")===0)$.emit("error",w)}PJ1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){$4("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){$4("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)$4("pipe resume"),U.resume();return $};function _J1($){return function(){var Y=$._readableState;if($4("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&eW0($,"data"))Y.flowing=!0,$b($)}}E4.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.head.data;else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=gJ1($,Y.buffer,Y.decoder);return U}function gJ1($,Y,U){var z;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++z,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++z}return Y.length-=z,Q}function kJ1($,Y){var U=LX.allocUnsafe($),z=Y.head,Q=1;z.data.copy(U),$-=z.data.length;while(z=z.next){var J=z.data,I=$>J.length?J.length:$;if(J.copy(U,U.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++Q}return Y.length-=Q,U}function tu($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,WI.nextTick(xJ1,Y,$)}function xJ1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function IX0($,Y){for(var U=0,z=$.length;U{WX0.exports=A3;var uD=vU(),HX0=Object.create(M4());HX0.inherits=X1();HX0.inherits(A3,uD);function fJ1($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{qX0.exports=FX;var XX0=Yb(),ZX0=Object.create(M4());ZX0.inherits=X1();ZX0.inherits(FX,XX0);function FX($){if(!(this instanceof FX))return new FX($);XX0.call(this,$)}FX.prototype._transform=function($,Y,U){U(null,$)}});var LX0=E((t6,bD)=>{var X9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&X9)bD.exports=X9,t6=bD.exports=X9.Readable,t6.Readable=X9.Readable,t6.Writable=X9.Writable,t6.Duplex=X9.Duplex,t6.Transform=X9.Transform,t6.PassThrough=X9.PassThrough,t6.Stream=X9;else t6=bD.exports=du(),t6.Stream=X9||t6,t6.Readable=t6,t6.Writable=nu(),t6.Duplex=vU(),t6.Transform=Yb(),t6.PassThrough=VX0()});var zb=E(($s1,NX0)=>{var bJ1=9007199254740991,iJ1="[object Arguments]",cJ1="[object Function]",nJ1="[object GeneratorFunction]",pJ1=typeof global=="object"&&global&&global.Object===Object&&global,dJ1=typeof self=="object"&&self&&self.Object===Object&&self,mJ1=pJ1||dJ1||Function("return this")();function lJ1($,Y){var U=-1,z=Y.length,Q=$.length;while(++U0&&U(K))if(Y>1)OX0(K,Y-1,U,z,Q);else lJ1(Q,K);else if(!z)Q[Q.length]=K}return Q}function sJ1($){return eJ1($)||tJ1($)||!!(wX0&&$&&$[wX0])}function aJ1($){var Y=$?$.length:0;return Y?OX0($,1):[]}function tJ1($){return YI1($)&&oJ1.call($,"callee")&&(!rJ1.call($,"callee")||MX0.call($)==iJ1)}var eJ1=Array.isArray;function $I1($){return $!=null&&zI1($.length)&&!UI1($)}function YI1($){return JI1($)&&$I1($)}function UI1($){var Y=QI1($)?MX0.call($):"";return Y==cJ1||Y==nJ1}function zI1($){return typeof $=="number"&&$>-1&&$%1==0&&$<=bJ1}function QI1($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function JI1($){return!!$&&typeof $=="object"}NX0.exports=aJ1});var Hb=E((Ys1,vX0)=>{var II1=200,Ib="__lodash_hash_undefined__",KI1=9007199254740991,GI1="[object Arguments]",HI1="[object Function]",WI1="[object GeneratorFunction]",XI1=/[\\^$.*+?()[\]{}|]/g,ZI1=/^\[object .+?Constructor\]$/,qI1=typeof global=="object"&&global&&global.Object===Object&&global,VI1=typeof self=="object"&&self&&self.Object===Object&&self,Kb=qI1||VI1||Function("return this")();function LI1($,Y,U){switch(U.length){case 0:return $.call(Y);case 1:return $.call(Y,U[0]);case 2:return $.call(Y,U[0],U[1]);case 3:return $.call(Y,U[0],U[1],U[2])}return $.apply(Y,U)}function FI1($,Y){var U=$?$.length:0;return!!U&&DI1($,Y,0)>-1}function wI1($,Y,U){var z=-1,Q=$?$.length:0;while(++z-1}function cI1($,Y){var U=this.__data__,z=nD(U,$);if(z<0)U.push([$,Y]);else U[z][1]=Y;return this}XI.prototype.clear=fI1;XI.prototype.delete=uI1;XI.prototype.get=bI1;XI.prototype.has=iI1;XI.prototype.set=cI1;function ZI($){var Y=-1,U=$?$.length:0;this.clear();while(++Y=II1)J=PI1,I=!1,Y=new iD(Y);$:while(++Q0&&U(K))if(Y>1)EX0(K,Y-1,U,z,Q);else OI1(Q,K);else if(!z)Q[Q.length]=K}return Q}function aI1($){if(!_X0($)||YK1($))return!1;var Y=RX0($)||jI1($)?RI1:ZI1;return Y.test(UK1($))}function tI1($,Y){return Y=PX0(Y===void 0?$.length-1:Y,0),function(){var U=arguments,z=-1,Q=PX0(U.length-Y,0),J=Array(Q);while(++z-1&&$%1==0&&$<=KI1}function _X0($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function HK1($){return!!$&&typeof $=="object"}vX0.exports=zK1});var Lb=E((Us1,nX0)=>{var WK1=200,Zb="__lodash_hash_undefined__",XK1=1/0,ZK1=9007199254740991,qK1="[object Arguments]",VK1="[object Function]",LK1="[object GeneratorFunction]",FK1=/[\\^$.*+?()[\]{}|]/g,wK1=/^\[object .+?Constructor\]$/,MK1=typeof global=="object"&&global&&global.Object===Object&&global,OK1=typeof self=="object"&&self&&self.Object===Object&&self,mD=MK1||OK1||Function("return this")();function NK1($,Y,U){switch(U.length){case 0:return $.call(Y);case 1:return $.call(Y,U[0]);case 2:return $.call(Y,U[0],U[1]);case 3:return $.call(Y,U[0],U[1],U[2])}return $.apply(Y,U)}function DK1($,Y){var U=$?$.length:0;return!!U&&TK1($,Y,0)>-1}function AK1($,Y,U){var z=-1,Q=$?$.length:0;while(++z-1}function dK1($,Y){var U=this.__data__,z=oD(U,$);if(z<0)U.push([$,Y]);else U[z][1]=Y;return this}qI.prototype.clear=iK1;qI.prototype.delete=cK1;qI.prototype.get=nK1;qI.prototype.has=pK1;qI.prototype.set=dK1;function VI($){var Y=-1,U=$?$.length:0;this.clear();while(++Y0&&U(K))if(Y>1)uX0(K,Y-1,U,z,Q);else BK1(Q,K);else if(!z)Q[Q.length]=K}return Q}function eK1($){if(!cX0($)||JG1($))return!1;var Y=iX0($)||RK1($)?hK1:wK1;return Y.test(IG1($))}function $G1($,Y){return Y=yX0(Y===void 0?$.length-1:Y,0),function(){var U=arguments,z=-1,Q=yX0(U.length-Y,0),J=Array(Q);while(++z=WK1){var H=Y?null:UG1($);if(H)return kX0(H);I=!1,Q=EK1,G=new dD}else G=Y?[]:K;$:while(++z-1&&$%1==0&&$<=ZK1}function cX0($){var Y=typeof $;return!!$&&(Y=="object"||Y=="function")}function qG1($){return!!$&&typeof $=="object"}function VG1(){}nX0.exports=KG1});var Fb=E((zs1,mX0)=>{var LG1="[object Object]";function FG1($){var Y=!1;if($!=null&&typeof $.toString!="function")try{Y=!!($+"")}catch(U){}return Y}function wG1($,Y){return function(U){return $(Y(U))}}var MG1=Function.prototype,pX0=Object.prototype,dX0=MG1.toString,OG1=pX0.hasOwnProperty,NG1=dX0.call(Object),DG1=pX0.toString,AG1=wG1(Object.getPrototypeOf,Object);function BG1($){return!!$&&typeof $=="object"}function PG1($){if(!BG1($)||DG1.call($)!=LG1||FG1($))return!1;var Y=AG1($);if(Y===null)return!0;var U=OG1.call(Y,"constructor")&&Y.constructor;return typeof U=="function"&&U instanceof U&&dX0.call(U)==NG1}mX0.exports=PG1});var lX0=E((CG1)=>{var gU=I0("path"),q2=process.platform==="win32",Z2=I0("fs"),TG1=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function jG1(){var $;if(TG1){var Y=Error();$=U}else $=z;return $;function U(Q){if(Q)Y.message=Q.message,Q=Y,z(Q)}function z(Q){if(Q){if(process.throwDeprecation)throw Q;else if(!process.noDeprecation){var J="fs: missing callback "+(Q.stack||Q.message);if(process.traceDeprecation)console.trace(J);else console.error(J)}}}}function EG1($){return typeof $==="function"?$:jG1()}var Qs1=gU.normalize;if(q2)Z9=/(.*?)(?:[\/\\]+|$)/g;else Z9=/(.*?)(?:[\/]+|$)/g;var Z9;if(q2)LI=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else LI=/^[\/]*/;var LI;CG1.realpathSync=function(Y,U){if(Y=gU.resolve(Y),U&&Object.prototype.hasOwnProperty.call(U,Y))return U[Y];var z=Y,Q={},J={},I,K,G,H;W();function W(){var M=LI.exec(Y);if(I=M[0].length,K=M[0],G=M[0],H="",q2&&!J[G])Z2.lstatSync(G),J[G]=!0}while(I=Y.length){if(U)U[Q]=Y;return z(null,Y)}Z9.lastIndex=K;var M=Z9.exec(Y);if(W=G,G+=M[0],H=W+M[1],K=Z9.lastIndex,I[H]||U&&U[H]===H)return process.nextTick(Z);if(U&&Object.prototype.hasOwnProperty.call(U,H))return F(U[H]);return Z2.lstat(H,q)}function q(M,w){if(M)return z(M);if(!w.isSymbolicLink()){if(I[H]=!0,U)U[H]=H;return process.nextTick(Z)}if(!q2){var N=w.dev.toString(32)+":"+w.ino.toString(32);if(J.hasOwnProperty(N))return V(null,J[N],H)}Z2.stat(H,function(O){if(O)return z(O);Z2.readlink(H,function(D,P){if(!q2)J[N]=P;V(D,P)})})}function V(M,w,N){if(M)return z(M);var O=gU.resolve(W,w);if(U)U[N]=O;F(O)}function F(M){Y=gU.resolve(M,Y.slice(K)),X()}}});var Nb=E((Is1,aX0)=>{aX0.exports=V2;V2.realpath=V2;V2.sync=Ob;V2.realpathSync=Ob;V2.monkeypatch=hG1;V2.unmonkeypatch=SG1;var FI=I0("fs"),wb=FI.realpath,Mb=FI.realpathSync,vG1=process.version,oX0=/^v[0-5]\./.test(vG1),rX0=lX0();function sX0($){return $&&$.syscall==="realpath"&&($.code==="ELOOP"||$.code==="ENOMEM"||$.code==="ENAMETOOLONG")}function V2($,Y,U){if(oX0)return wb($,Y,U);if(typeof Y==="function")U=Y,Y=null;wb($,Y,function(z,Q){if(sX0(z))rX0.realpath($,Y,U);else U(z,Q)})}function Ob($,Y){if(oX0)return Mb($,Y);try{return Mb($,Y)}catch(U){if(sX0(U))return rX0.realpathSync($,Y);else throw U}}function hG1(){FI.realpath=V2,FI.realpathSync=Ob}function SG1(){FI.realpath=wb,FI.realpathSync=Mb}});var eX0=E((Ks1,tX0)=>{tX0.exports=function($,Y){var U=[];for(var z=0;z<$.length;z++){var Q=Y($[z],z);if(gG1(Q))U.push.apply(U,Q);else U.push(Q)}return U};var gG1=Array.isArray||function($){return Object.prototype.toString.call($)==="[object Array]"}});var QZ0=E((Gs1,zZ0)=>{zZ0.exports=YZ0;function YZ0($,Y,U){if($ instanceof RegExp)$=$Z0($,U);if(Y instanceof RegExp)Y=$Z0(Y,U);var z=UZ0($,Y,U);return z&&{start:z[0],end:z[1],pre:U.slice(0,z[0]),body:U.slice(z[0]+$.length,z[1]),post:U.slice(z[1]+Y.length)}}function $Z0($,Y){var U=Y.match($);return U?U[0]:null}YZ0.range=UZ0;function UZ0($,Y,U){var z,Q,J,I,K,G=U.indexOf($),H=U.indexOf(Y,G+1),W=G;if(G>=0&&H>0){if($===Y)return[G,H];z=[],J=U.length;while(W>=0&&!K){if(W==G)z.push(W),G=U.indexOf($,W+1);else if(z.length==1)K=[z.pop(),H];else{if(Q=z.pop(),Q=0?G:H}if(z.length)K=[J,I]}return K}});var ZZ0=E((Ws1,XZ0)=>{var Hs1=eX0(),JZ0=QZ0();XZ0.exports=uG1;var IZ0="\x00SLASH"+Math.random()+"\x00",KZ0="\x00OPEN"+Math.random()+"\x00",Bb="\x00CLOSE"+Math.random()+"\x00",GZ0="\x00COMMA"+Math.random()+"\x00",HZ0="\x00PERIOD"+Math.random()+"\x00",yG1=1e5,kG1=4000000;function Db($){return parseInt($,10)==$?parseInt($,10):$.charCodeAt(0)}function xG1($){return $.split("\\\\").join(IZ0).split("\\{").join(KZ0).split("\\}").join(Bb).split("\\,").join(GZ0).split("\\.").join(HZ0)}function fG1($){return $.split(IZ0).join("\\").split(KZ0).join("{").split(Bb).join("}").split(GZ0).join(",").split(HZ0).join(".")}function WZ0($){if(!$)return[""];var Y=[],U=JZ0("{","}",$);if(!U)return $.split(",");var{pre:z,body:Q,post:J}=U,I=z.split(",");I[I.length-1]+="{"+Q+"}";var K=WZ0(J);if(J.length)I[I.length-1]+=K.shift(),I.push.apply(I,K);return Y.push.apply(Y,I),Y}function uG1($,Y){if(!$)return[];Y=Y||{};var U=Y.max==null?yG1:Y.max,z=Y.maxLength==null?kG1:Y.maxLength;if($.substr(0,2)==="{}")$="\\{\\}"+$.substr(2);return Ab(xG1($),U,z,!0).map(fG1)}function bG1($){return"{"+$+"}"}function iG1($){return/^-?0\d/.test($)}function cG1($,Y){return $<=Y}function nG1($,Y){return $>=Y}function OX($,Y,U,z,Q,J,I,K){var G=[],H=0;for(var W=0;W<$.length;W++)for(var X=0;X=Q)return G;var Z=$[W]+U+z[X];if(I&&Z.length===Y[W])continue;if(H+Z.length>J)return G;G.push(Z),K.push(Y[W]),H+=Z.length}return G}function pG1($,Y,U,z){var Q=$.split(/\.\./),J=[];if(Q[0]===void 0||Q[1]===void 0)return J;var I=Db(Q[0]),K=Db(Q[1]),G=Math.max(Q[0].length,Q[1].length),H=Q.length===3&&Q[2]!==void 0?Math.max(Math.abs(Db(Q[2])),1):1,W=cG1,X=K0){var w=Array(M+1).join("0");if(V<0)F="-"+w+F.slice(1);else F=w+F}}if(q+F.length>z)break;J.push(F),q+=F.length}return J}function Ab($,Y,U,z){var Q=[""],J=[0],I=!1,K=!0,G;for(;;){var H=JZ0("{","}",$);if(!H)return OX(Q,J,$,[""],Y,U,I,[]);var W=H.pre;if(/\$$/.test(W))return OX(Q,J,$,[""],Y,U,I,[]);var X=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(H.body),Z=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(H.body),q=X||Z,V=H.body.indexOf(",")>=0;if(!q&&!V){if(H.post.match(/,(?!,).*\}/)){$=H.pre+"{"+H.body+Bb+H.post,z=!0,K=!0,I=!1,J=[];for(var F=0;F=Y||D+j.length>U)break $;M.push(j),D+=j.length}}}if(G=[],Q=OX(Q,J,W,M,Y,U,I&&!H.post.length,G),J=G,!H.post.length)break;$=H.post}return Q}});var tD=E((Xs1,wZ0)=>{wZ0.exports=W$;W$.Minimatch=L6;var NX=function(){try{return I0("path")}catch($){}}()||{sep:"/"};W$.sep=NX.sep;var yU=W$.GLOBSTAR=L6.GLOBSTAR={},dG1=ZZ0(),qZ0={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Pb="[^/]",Tb=Pb+"*?",mG1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",lG1="(?:(?!(?:\\/|^)\\.).)*?",VZ0=oG1("().*{}+?[]^$\\!");function oG1($){return $.split("").reduce(function(Y,U){return Y[U]=!0,Y},{})}var LZ0=/\/+/;W$.filter=rG1;function rG1($,Y){return Y=Y||{},function(U,z,Q){return W$(U,$,Y)}}function L2($,Y){Y=Y||{};var U={};return Object.keys($).forEach(function(z){U[z]=$[z]}),Object.keys(Y).forEach(function(z){U[z]=Y[z]}),U}W$.defaults=function($){if(!$||typeof $!=="object"||!Object.keys($).length)return W$;var Y=W$,U=function(Q,J,I){return Y(Q,J,L2($,I))};return U.Minimatch=function(Q,J){return new Y.Minimatch(Q,L2($,J))},U.Minimatch.defaults=function(Q){return Y.defaults(L2($,Q)).Minimatch},U.filter=function(Q,J){return Y.filter(Q,L2($,J))},U.defaults=function(Q){return Y.defaults(L2($,Q))},U.makeRe=function(Q,J){return Y.makeRe(Q,L2($,J))},U.braceExpand=function(Q,J){return Y.braceExpand(Q,L2($,J))},U.match=function(z,Q,J){return Y.match(z,Q,L2($,J))},U};L6.defaults=function($){return W$.defaults($).Minimatch};function W$($,Y,U){if(aD(Y),!U)U={};if(!U.nocomment&&Y.charAt(0)==="#")return!1;return new L6(Y,U).match($)}function L6($,Y){if(!(this instanceof L6))return new L6($,Y);if(aD($),!Y)Y={};if($=$.trim(),!Y.allowWindowsEscape&&NX.sep!=="/")$=$.split(NX.sep).join("/");this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion!==void 0?Y.maxGlobstarRecursion:200,this.set=[],this.pattern=$,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.make()}L6.prototype.debug=function(){};L6.prototype.make=sG1;function sG1(){var $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}this.parseNegate();var U=this.globSet=this.braceExpand();if(Y.debug)this.debug=function(){console.error.apply(console,arguments)};this.debug(this.pattern,U),U=this.globParts=U.map(function(z){return z.split(LZ0)}),this.debug(this.pattern,U),U=U.map(function(z,Q,J){return z.map(this.parse,this)},this),this.debug(this.pattern,U),U=U.filter(function(z){return z.indexOf(!1)===-1}),this.debug(this.pattern,U),this.set=U}L6.prototype.parseNegate=aG1;function aG1(){var $=this.pattern,Y=!1,U=this.options,z=0;if(U.nonegate)return;for(var Q=0,J=$.length;Q"u"?this.pattern:$,aD($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return dG1($)}var tG1=65536,aD=function($){if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>tG1)throw TypeError("pattern is too long")};L6.prototype.parse=eG1;var sD={};function eG1($,Y){aD($);var U=this.options;if($==="**")if(!U.noglobstar)return yU;else $="*";if($==="")return"";var z="",Q=!!U.nocase,J=!1,I=[],K=[],G,H=!1,W=-1,X=-1,Z=$.charAt(0)==="."?"":U.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",q=this;function V(){if(G){switch(G){case"*":z+=Tb,Q=!0;break;case"?":z+=Pb,Q=!0;break;default:z+="\\"+G;break}q.debug("clearStateChar %j %j",G,z),G=!1}}for(var F=0,M=$.length,w;F-1;j--){var C=K[j],b=z.slice(0,C.reStart),x=z.slice(C.reStart,C.reEnd-8),S=z.slice(C.reEnd-8,C.reEnd),i=z.slice(C.reEnd);S+=i;var c=b.split("(").length-1,z0=i;for(F=0;F"u")U=this.partial;if(this.debug("match",Y,this.pattern),this.comment)return!1;if(this.empty)return Y==="";if(Y==="/"&&U)return!0;var z=this.options;if(NX.sep!=="/")Y=Y.split(NX.sep).join("/");Y=Y.split(LZ0),this.debug(this.pattern,"split",Y);var Q=this.set;this.debug(this.pattern,"set",Q);var J,I;for(I=Y.length-1;I>=0;I--)if(J=Y[I],J)break;for(I=0;I=0;J--)if(Y[J]===yU){K=J;break}var G=Y.slice(Q,I),H=U?Y.slice(I+1):Y.slice(I+1,K),W=U?[]:Y.slice(K+1);if(G.length){var X=$.slice(z,z+G.length);if(!this._matchOne(X,G,U,0,0))return!1;z+=G.length}var Z=0;if(W.length){if(W.length+z>$.length)return!1;var q=$.length-W.length;if(this._matchOne($,W,U,q,0))Z=W.length;else{if($[$.length-1]!==""||z+W.length===$.length)return!1;if(q--,!this._matchOne($,W,U,q,0))return!1;Z=W.length+1}}if(!H.length){var V=!!Z;for(J=z;J<$.length-Z;J++){var F=String($[J]);if(V=!0,F==="."||F===".."||!this.options.dot&&F.charAt(0)===".")return!1}return U||V}var M=[[[],0]],w=M[0],N=0,O=[0];for(var D=0;D{function MZ0($){return $.charAt(0)==="/"}function OZ0($){var Y=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,U=Y.exec($),z=U[1]||"",Q=Boolean(z&&z.charAt(1)!==":");return Boolean(U[2]||Q)}eD.exports=process.platform==="win32"?OZ0:MZ0;eD.exports.posix=MZ0;eD.exports.win32=OZ0});var Eb=E((ZH1)=>{ZH1.setopts=GH1;ZH1.ownProp=NZ0;ZH1.makeAbs=DX;ZH1.finish=HH1;ZH1.mark=WH1;ZH1.isIgnored=AZ0;ZH1.childrenIgnored=XH1;function NZ0($,Y){return Object.prototype.hasOwnProperty.call($,Y)}var zH1=I0("fs"),wI=I0("path"),QH1=tD(),DZ0=$A(),jb=QH1.Minimatch;function JH1($,Y){return $.localeCompare(Y,"en")}function IH1($,Y){if($.ignore=Y.ignore||[],!Array.isArray($.ignore))$.ignore=[$.ignore];if($.ignore.length)$.ignore=$.ignore.map(KH1)}function KH1($){var Y=null;if($.slice(-3)==="/**"){var U=$.replace(/(\/\*\*)+$/,"");Y=new jb(U,{dot:!0})}return{matcher:new jb($,{dot:!0}),gmatcher:Y}}function GH1($,Y,U){if(!U)U={};if(U.matchBase&&Y.indexOf("/")===-1){if(U.noglobstar)throw Error("base matching requires globstar");Y="**/"+Y}if($.silent=!!U.silent,$.pattern=Y,$.strict=U.strict!==!1,$.realpath=!!U.realpath,$.realpathCache=U.realpathCache||Object.create(null),$.follow=!!U.follow,$.dot=!!U.dot,$.mark=!!U.mark,$.nodir=!!U.nodir,$.nodir)$.mark=!0;$.sync=!!U.sync,$.nounique=!!U.nounique,$.nonull=!!U.nonull,$.nosort=!!U.nosort,$.nocase=!!U.nocase,$.stat=!!U.stat,$.noprocess=!!U.noprocess,$.absolute=!!U.absolute,$.fs=U.fs||zH1,$.maxLength=U.maxLength||1/0,$.cache=U.cache||Object.create(null),$.statCache=U.statCache||Object.create(null),$.symlinks=U.symlinks||Object.create(null),IH1($,U),$.changedCwd=!1;var z=process.cwd();if(!NZ0(U,"cwd"))$.cwd=z;else $.cwd=wI.resolve(U.cwd),$.changedCwd=$.cwd!==z;if($.root=U.root||wI.resolve($.cwd,"/"),$.root=wI.resolve($.root),process.platform==="win32")$.root=$.root.replace(/\\/g,"/");if($.cwdAbs=DZ0($.cwd)?$.cwd:DX($,$.cwd),process.platform==="win32")$.cwdAbs=$.cwdAbs.replace(/\\/g,"/");$.nomount=!!U.nomount,U.nonegate=!0,U.nocomment=!0,U.allowWindowsEscape=!1,$.minimatch=new jb(Y,U),$.options=$.minimatch.options}function HH1($){var Y=$.nounique,U=Y?[]:Object.create(null);for(var z=0,Q=$.matches.length;z{jZ0.exports=TZ0;TZ0.GlobSync=T6;var NH1=Nb(),BZ0=tD(),Vs1=BZ0.Minimatch,Ls1=AX().Glob,Fs1=I0("util"),Cb=I0("path"),PZ0=I0("assert"),YA=$A(),kU=Eb(),DH1=kU.setopts,Rb=kU.ownProp,AH1=kU.childrenIgnored,BH1=kU.isIgnored;function TZ0($,Y){if(typeof Y==="function"||arguments.length===3)throw TypeError(`callback provided to sync glob See: https://github.com/isaacs/node-glob/issues/167`);return new T6($,Y).found}function T6($,Y){if(!$)throw Error("must provide pattern");if(typeof Y==="function"||arguments.length===3)throw TypeError(`callback provided to sync glob -See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof T6))return new T6($,Y);if(DH1(this,$,Y),this.noprocess)return this;var U=this.minimatch.set.length;this.matches=Array(U);for(var z=0;zthis.maxLength)return!1;if(!this.stat&&Rb(this.cache,Y)){var I=this.cache[Y];if(Array.isArray(I))I="DIR";if(!U||I==="DIR")return I;if(U&&I==="FILE")return!1}var z,Q=this.statCache[Y];if(!Q){var J;try{J=this.fs.lstatSync(Y)}catch(K){if(K&&(K.code==="ENOENT"||K.code==="ENOTDIR"))return this.statCache[Y]=!1,!1}if(J&&J.isSymbolicLink())try{Q=this.fs.statSync(Y)}catch(K){Q=J}else Q=J}this.statCache[Y]=Q;var I=!0;if(Q)I=Q.isDirectory()?"DIR":"FILE";if(this.cache[Y]=this.cache[Y]||I,U&&I==="FILE")return!1;return I};T6.prototype._mark=function($){return kU.mark(this,$)};T6.prototype._makeAbs=function($){return kU.makeAbs(this,$)}});var _b=E((Ms1,RZ0)=>{RZ0.exports=CZ0;function CZ0($,Y){if($&&Y)return CZ0($)(Y);if(typeof $!=="function")throw TypeError("need wrapper function");return Object.keys($).forEach(function(z){U[z]=$[z]}),U;function U(){var z=Array(arguments.length);for(var Q=0;Q{var _Z0=_b();vb.exports=_Z0(UA);vb.exports.strict=_Z0(vZ0);UA.proto=UA(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return UA(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return vZ0(this)},configurable:!0})});function UA($){var Y=function(){if(Y.called)return Y.value;return Y.called=!0,Y.value=$.apply(this,arguments)};return Y.called=!1,Y}function vZ0($){var Y=function(){if(Y.called)throw Error(Y.onceError);return Y.called=!0,Y.value=$.apply(this,arguments)},U=$.name||"Function wrapped with `once`";return Y.onceError=U+" shouldn't be called more than once",Y.called=!1,Y}});var SZ0=E((Ns1,hZ0)=>{var PH1=_b(),BX=Object.create(null),TH1=zA();hZ0.exports=PH1(jH1);function jH1($,Y){if(BX[$])return BX[$].push(Y),null;else return BX[$]=[Y],EH1($)}function EH1($){return TH1(function Y(){var U=BX[$],z=U.length,Q=CH1(arguments);try{for(var J=0;Jz)U.splice(0,z),process.nextTick(function(){Y.apply(null,Q)});else delete BX[$]}})}function CH1($){var Y=$.length,U=[];for(var z=0;z{yZ0.exports=xU;var RH1=Nb(),gZ0=tD(),Ds1=gZ0.Minimatch,_H1=X1(),vH1=I0("events").EventEmitter,hb=I0("path"),Sb=I0("assert"),PX=$A(),yb=EZ0(),fU=Eb(),hH1=fU.setopts,gb=fU.ownProp,kb=SZ0(),As1=I0("util"),SH1=fU.childrenIgnored,gH1=fU.isIgnored,yH1=zA();function xU($,Y,U){if(typeof Y==="function")U=Y,Y={};if(!Y)Y={};if(Y.sync){if(U)throw TypeError("callback provided to sync glob");return yb($,Y)}return new K4($,Y,U)}xU.sync=yb;var kH1=xU.GlobSync=yb.GlobSync;xU.glob=xU;function xH1($,Y){if(Y===null||typeof Y!=="object")return $;var U=Object.keys(Y),z=U.length;while(z--)$[U[z]]=Y[U[z]];return $}xU.hasMagic=function($,Y){var U=xH1({},Y);U.noprocess=!0;var z=new K4($,U),Q=z.minimatch.set;if(!$)return!1;if(Q.length>1)return!0;for(var J=0;Jthis.maxLength)return Y();if(!this.stat&&gb(this.cache,U)){var Q=this.cache[U];if(Array.isArray(Q))Q="DIR";if(!z||Q==="DIR")return Y(null,Q);if(z&&Q==="FILE")return Y()}var J,I=this.statCache[U];if(I!==void 0)if(I===!1)return Y(null,I);else{var K=I.isDirectory()?"DIR":"FILE";if(z&&K==="FILE")return Y();else return Y(null,K,I)}var G=this,H=kb("stat\x00"+U,W);if(H)G.fs.lstat(U,H);function W(X,Z){if(Z&&Z.isSymbolicLink())return G.fs.stat(U,function(q,V){if(q)G._stat2($,U,null,Z,Y);else G._stat2($,U,q,V,Y)});else G._stat2($,U,X,Z,Y)}};K4.prototype._stat2=function($,Y,U,z,Q){if(U&&(U.code==="ENOENT"||U.code==="ENOTDIR"))return this.statCache[Y]=!1,Q();var J=$.slice(-1)==="/";if(this.statCache[Y]=z,Y.slice(-1)==="/"&&z&&!z.isDirectory())return Q(null,!1,z);var I=!0;if(z)I=z.isDirectory()?"DIR":"FILE";if(this.cache[Y]=this.cache[Y]||I,J&&I==="FILE")return Q();return Q(null,I,z)}});var uZ0=E((Ps1,fZ0)=>{var xZ0=l8(),MI=I0("path"),xb=zb(),uH1=Hb(),bH1=Lb(),iH1=Fb(),cH1=AX(),uU=fZ0.exports={},kZ0=/[\/\\]/g,nH1=function($,Y){var U=[];return xb($).forEach(function(z){var Q=z.indexOf("!")===0;if(Q)z=z.slice(1);var J=Y(z);if(Q)U=uH1(U,J);else U=bH1(U,J)}),U};uU.exists=function(){var $=MI.join.apply(MI,arguments);return xZ0.existsSync($)};uU.expand=function(...$){var Y=iH1($[0])?$.shift():{},U=Array.isArray($[0])?$[0]:$;if(U.length===0)return[];var z=nH1(U,function(Q){return cH1.sync(Q,Y)});if(Y.filter)z=z.filter(function(Q){Q=MI.join(Y.cwd||"",Q);try{if(typeof Y.filter==="function")return Y.filter(Q);else return xZ0.statSync(Q)[Y.filter]()}catch(J){return!1}});return z};uU.expandMapping=function($,Y,U){U=Object.assign({rename:function(J,I){return MI.join(J||"",I)}},U);var z=[],Q={};return uU.expand(U,$).forEach(function(J){var I=J;if(U.flatten)I=MI.basename(I);if(U.ext)I=I.replace(/(\.[^\/]*)?$/,U.ext);var K=U.rename(Y,I,U);if(U.cwd)J=MI.join(U.cwd,J);if(K=K.replace(kZ0,"/"),J=J.replace(kZ0,"/"),Q[K])Q[K].src.push(J);else z.push({src:[J],dest:K}),Q[K]=z[z.length-1]}),z};uU.normalizeFilesArray=function($){var Y=[];if($.forEach(function(U){var z;if("src"in U||"dest"in U)Y.push(U)}),Y.length===0)return[];return Y=_(Y).chain().forEach(function(U){if(!("src"in U)||!U.src)return;if(Array.isArray(U.src))U.src=xb(U.src);else U.src=[U.src]}).map(function(U){var z=Object.assign({},U);if(delete z.src,delete z.dest,U.expand)return uU.expandMapping(U.src,U.dest,z).map(function(J){var I=Object.assign({},U);return I.orig=Object.assign({},U),I.src=J.src,I.dest=J.dest,["expand","cwd","flatten","rename","ext"].forEach(function(K){delete I[K]}),I});var Q=Object.assign({},U);if(Q.orig=Object.assign({},U),"src"in Q)Object.defineProperty(Q,"src",{enumerable:!0,get:function J(){var I;if(!("result"in J))I=U.src,I=Array.isArray(I)?xb(I):[I],J.result=uU.expand(z,I);return J.result}});if("dest"in Q)Q.dest=U.dest;return Q}).flatten().value(),Y}});var TX=E((js1,cZ0)=>{var fb=l8(),bZ0=I0("path"),Ts1=I0("util"),pH1=hD(),iZ0=RU(),dH1=uu(),mH1=I0("stream").Stream,lH1=LX0().PassThrough,X$=cZ0.exports={};X$.file=uZ0();X$.collectStream=function($,Y){var U=[],z=0;$.on("error",Y),$.on("data",function(Q){U.push(Q),z+=Q.length}),$.on("end",function(){var Q=new Buffer(z),J=0;U.forEach(function(I){I.copy(Q,J),J+=I.length}),Y(null,Q)})};X$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};X$.defaults=function($,Y,U){var z=arguments;return z[0]=z[0]||{},dH1(...z)};X$.isStream=function($){return $ instanceof mH1};X$.lazyReadStream=function($){return new pH1.Readable(function(){return fb.createReadStream($)})};X$.normalizeInputSource=function($){if($===null)return new Buffer(0);else if(typeof $==="string")return new Buffer($);else if(X$.isStream($)&&!$._readableState){var Y=new lH1;return $.pipe(Y),Y}return $};X$.sanitizePath=function($){return iZ0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};X$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};X$.unixifyPath=function($){return iZ0($,!1).replace(/^\w+:/,"")};X$.walkdir=function($,Y,U){var z=[];if(typeof Y==="function")U=Y,Y=$;fb.readdir($,function(Q,J){var I=0,K,G;if(Q)return U(Q);(function H(){if(K=J[I++],!K)return U(null,z);G=bZ0.join($,K),fb.stat(G,function(W,X){if(z.push({path:G,relative:bZ0.relative(Y,G).replace(/\\/g,"/"),stats:X}),X&&X.isDirectory())X$.walkdir(G,Y,function(Z,q){q.forEach(function(V){z.push(V)}),H()});else H()})})()})}});var mZ0=E((pZ0,dZ0)=>{var oH1=I0("util"),rH1={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function nZ0($,Y){Error.captureStackTrace(this,this.constructor),this.message=rH1[$]||$,this.code=$,this.data=Y}oH1.inherits(nZ0,Error);pZ0=dZ0.exports=nZ0});var aZ0=E((Es1,sZ0)=>{var ib=I0("fs"),oZ0=CH0(),lZ0=Lu(),ub=I0("path"),Z9=TX(),sH1=I0("util").inherits,z6=mZ0(),rZ0=E8().Transform,bb=process.platform==="win32",a1=function($,Y){if(!(this instanceof a1))return new a1($,Y);if(typeof $!=="string")Y=$,$="zip";Y=this.options=Z9.defaults(Y,{highWaterMark:1048576,statConcurrency:4}),rZ0.call(this,Y),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=lZ0.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=lZ0.queue(this._onStatQueueTask.bind(this),Y.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]};sH1(a1,rZ0);a1.prototype._abort=function(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()};a1.prototype._append=function($,Y){Y=Y||{};var U={source:null,filepath:$};if(!Y.name)Y.name=$;if(Y.sourcePath=$,U.data=Y,this._entriesCount++,Y.stats&&Y.stats instanceof ib.Stats){if(U=this._updateQueueTaskWithStats(U,Y.stats),U){if(Y.stats.size)this._fsEntriesTotalBytes+=Y.stats.size;this._queue.push(U)}}else this._statQueue.push(U)};a1.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0};a1.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return!1;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())return this._finalize(),!0;return!1};a1.prototype._moduleAppend=function($,Y,U){if(this._state.aborted){U();return}this._module.append($,Y,function(z){if(this._task=null,this._state.aborted){this._shutdown();return}if(z){this.emit("error",z),setImmediate(U);return}if(this.emit("entry",Y),this._entriesProcessedCount++,Y.stats&&Y.stats.size)this._fsEntriesProcessedBytes+=Y.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(U)}.bind(this))};a1.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function")this._module.finalize();else if(typeof this._module.end==="function")this._module.end();else this.emit("error",new z6("NOENDMETHOD"))};a1.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};a1.prototype._moduleSupports=function($){if(!this._module.supports||!this._module.supports[$])return!1;return this._module.supports[$]};a1.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};a1.prototype._normalizeEntryData=function($,Y){if($=Z9.defaults($,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),Y&&$.stats===!1)$.stats=Y;var U=$.type==="directory";if($.name){if(typeof $.prefix==="string"&&$.prefix!=="")$.name=$.prefix+"/"+$.name,$.prefix=null;if($.name=Z9.sanitizePath($.name),$.type!=="symlink"&&$.name.slice(-1)==="/")U=!0,$.type="directory";else if(U)$.name+="/"}if(typeof $.mode==="number")if(bb)$.mode&=511;else $.mode&=4095;else if($.stats&&$.mode===null){if(bb)$.mode=$.stats.mode&511;else $.mode=$.stats.mode&4095;if(bb&&U)$.mode=493}else if($.mode===null)$.mode=U?493:420;if($.stats&&$.date===null)$.date=$.stats.mtime;else $.date=Z9.dateify($.date);return $};a1.prototype._onModuleError=function($){this.emit("error",$)};a1.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize()};a1.prototype._onQueueTask=function($,Y){var U=()=>{if($.data.callback)$.data.callback();Y()};if(this._state.finalizing||this._state.finalized||this._state.aborted){U();return}this._task=$,this._moduleAppend($.source,$.data,U)};a1.prototype._onStatQueueTask=function($,Y){if(this._state.finalizing||this._state.finalized||this._state.aborted){Y();return}ib.lstat($.filepath,function(U,z){if(this._state.aborted){setImmediate(Y);return}if(U){this._entriesCount--,this.emit("warning",U),setImmediate(Y);return}if($=this._updateQueueTaskWithStats($,z),$){if(z.size)this._fsEntriesTotalBytes+=z.size;this._queue.push($)}setImmediate(Y)}.bind(this))};a1.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};a1.prototype._transform=function($,Y,U){if($)this._pointer+=$.length;U(null,$)};a1.prototype._updateQueueTaskWithStats=function($,Y){if(Y.isFile())$.data.type="file",$.data.sourceType="stream",$.source=Z9.lazyReadStream($.filepath);else if(Y.isDirectory()&&this._moduleSupports("directory"))$.data.name=Z9.trailingSlashIt($.data.name),$.data.type="directory",$.data.sourcePath=Z9.trailingSlashIt($.filepath),$.data.sourceType="buffer",$.source=Buffer.concat([]);else if(Y.isSymbolicLink()&&this._moduleSupports("symlink")){var U=ib.readlinkSync($.filepath),z=ub.dirname($.filepath);$.data.type="symlink",$.data.linkname=ub.relative(z,ub.resolve(z,U)),$.data.sourceType="buffer",$.source=Buffer.concat([])}else{if(Y.isDirectory())this.emit("warning",new z6("DIRECTORYNOTSUPPORTED",$.data));else if(Y.isSymbolicLink())this.emit("warning",new z6("SYMLINKNOTSUPPORTED",$.data));else this.emit("warning",new z6("ENTRYNOTSUPPORTED",$.data));return null}return $.data=this._normalizeEntryData($.data,Y),$};a1.prototype.abort=function(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this};a1.prototype.append=function($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new z6("QUEUECLOSED")),this;if(Y=this._normalizeEntryData(Y),typeof Y.name!=="string"||Y.name.length===0)return this.emit("error",new z6("ENTRYNAMEREQUIRED")),this;if(Y.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new z6("DIRECTORYNOTSUPPORTED",{name:Y.name})),this;if($=Z9.normalizeInputSource($),Buffer.isBuffer($))Y.sourceType="buffer";else if(Z9.isStream($))Y.sourceType="stream";else return this.emit("error",new z6("INPUTSTEAMBUFFERREQUIRED",{name:Y.name})),this;return this._entriesCount++,this._queue.push({data:Y,source:$}),this};a1.prototype.directory=function($,Y,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new z6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new z6("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,Y===!1)Y="";else if(typeof Y!=="string")Y=$;var z=!1;if(typeof U==="function")z=U,U={};else if(typeof U!=="object")U={};var Q={stat:!0,dot:!0};function J(){this._pending--,this._maybeFinalize()}function I(H){this.emit("error",H)}function K(H){G.pause();var W=!1,X=Object.assign({},U);X.name=H.relative,X.prefix=Y,X.stats=H.stat,X.callback=G.resume.bind(G);try{if(z){if(X=z(X),X===!1)W=!0;else if(typeof X!=="object")throw new z6("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:$})}}catch(Z){this.emit("error",Z);return}if(W){G.resume();return}this._append(H.absolute,X)}var G=oZ0($,Q);return G.on("error",I.bind(this)),G.on("match",K.bind(this)),G.on("end",J.bind(this)),this};a1.prototype.file=function($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new z6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new z6("FILEFILEPATHREQUIRED")),this;return this._append($,Y),this};a1.prototype.glob=function($,Y,U){this._pending++,Y=Z9.defaults(Y,{stat:!0,pattern:$});function z(){this._pending--,this._maybeFinalize()}function Q(K){this.emit("error",K)}function J(K){I.pause();var G=Object.assign({},U);G.callback=I.resume.bind(I),G.stats=K.stat,G.name=K.relative,this._append(K.absolute,G)}var I=oZ0(Y.cwd||".",Y);return I.on("error",Q.bind(this)),I.on("match",J.bind(this)),I.on("end",z.bind(this)),this};a1.prototype.finalize=function(){if(this._state.aborted){var $=new z6("ABORTED");return this.emit("error",$),Promise.reject($)}if(this._state.finalize){var Y=new z6("FINALIZING");return this.emit("error",Y),Promise.reject(Y)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var U=this;return new Promise(function(z,Q){var J;U._module.on("end",function(){if(!J)z()}),U._module.on("error",function(I){J=!0,Q(I)})})};a1.prototype.setFormat=function($){if(this._format)return this.emit("error",new z6("FORMATSET")),this;return this._format=$,this};a1.prototype.setModule=function($){if(this._state.aborted)return this.emit("error",new z6("ABORTED")),this;if(this._state.module)return this.emit("error",new z6("MODULESET")),this;return this._module=$,this._modulePipe(),this};a1.prototype.symlink=function($,Y,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new z6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new z6("SYMLINKFILEPATHREQUIRED")),this;if(typeof Y!=="string"||Y.length===0)return this.emit("error",new z6("SYMLINKTARGETREQUIRED",{filepath:$})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new z6("SYMLINKNOTSUPPORTED",{filepath:$})),this;var z={};if(z.type="symlink",z.name=$.replace(/\\/g,"/"),z.linkname=Y.replace(/\\/g,"/"),z.sourceType="buffer",typeof U==="number")z.mode=U;return this._entriesCount++,this._queue.push({data:z,source:Buffer.concat([])}),this};a1.prototype.pointer=function(){return this._pointer};a1.prototype.use=function($){return this._streams.push($),this};sZ0.exports=a1});var JA=E((Cs1,tZ0)=>{var QA=tZ0.exports=function(){};QA.prototype.getName=function(){};QA.prototype.getSize=function(){};QA.prototype.getLastModifiedDate=function(){};QA.prototype.isDirectory=function(){}});var IA=E((Rs1,eZ0)=>{var g$=eZ0.exports={};g$.dateToDos=function($,Y){Y=Y||!1;var U=Y?$.getFullYear():$.getUTCFullYear();if(U<1980)return 2162688;else if(U>=2044)return 2141175677;var z={year:U,month:Y?$.getMonth():$.getUTCMonth(),date:Y?$.getDate():$.getUTCDate(),hours:Y?$.getHours():$.getUTCHours(),minutes:Y?$.getMinutes():$.getUTCMinutes(),seconds:Y?$.getSeconds():$.getUTCSeconds()};return z.year-1980<<25|z.month+1<<21|z.date<<16|z.hours<<11|z.minutes<<5|z.seconds/2};g$.dosToDate=function($){return new Date(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1)};g$.fromDosTime=function($){return g$.dosToDate($.readUInt32LE(0))};g$.getEightBytes=function($){var Y=Buffer.alloc(8);return Y.writeUInt32LE($%4294967296,0),Y.writeUInt32LE($/4294967296|0,4),Y};g$.getShortBytes=function($){var Y=Buffer.alloc(2);return Y.writeUInt16LE(($&65535)>>>0,0),Y};g$.getShortBytesValue=function($,Y){return $.readUInt16LE(Y)};g$.getLongBytes=function($){var Y=Buffer.alloc(4);return Y.writeUInt32LE(($&4294967295)>>>0,0),Y};g$.getLongBytesValue=function($,Y){return $.readUInt32LE(Y)};g$.toDosTime=function($){return g$.getLongBytes(g$.dateToDos($))}});var cb=E((_s1,Jq0)=>{var $q0=IA(),Yq0=8,Uq0=1,aH1=4,tH1=2,zq0=64,Qq0=2048,e6=Jq0.exports=function(){if(!(this instanceof e6))return new e6;return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this};e6.prototype.encode=function(){return $q0.getShortBytes((this.descriptor?Yq0:0)|(this.utf8?Qq0:0)|(this.encryption?Uq0:0)|(this.strongEncryption?zq0:0))};e6.prototype.parse=function($,Y){var U=$q0.getShortBytesValue($,Y),z=new e6;return z.useDataDescriptor((U&Yq0)!==0),z.useUTF8ForNames((U&Qq0)!==0),z.useStrongEncryption((U&zq0)!==0),z.useEncryption((U&Uq0)!==0),z.setSlidingDictionarySize((U&tH1)!==0?8192:4096),z.setNumberOfShannonFanoTrees((U&aH1)!==0?3:2),z};e6.prototype.setNumberOfShannonFanoTrees=function($){this.numberOfShannonFanoTrees=$};e6.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};e6.prototype.setSlidingDictionarySize=function($){this.slidingDictionarySize=$};e6.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};e6.prototype.useDataDescriptor=function($){this.descriptor=$};e6.prototype.usesDataDescriptor=function(){return this.descriptor};e6.prototype.useEncryption=function($){this.encryption=$};e6.prototype.usesEncryption=function(){return this.encryption};e6.prototype.useStrongEncryption=function($){this.strongEncryption=$};e6.prototype.usesStrongEncryption=function(){return this.strongEncryption};e6.prototype.useUTF8ForNames=function($){this.utf8=$};e6.prototype.usesUTF8ForNames=function(){return this.utf8}});var Kq0=E((vs1,Iq0)=>{Iq0.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var nb=E((hs1,Gq0)=>{Gq0.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var pb=E((Ss1,qq0)=>{var eH1=I0("util").inherits,$W1=RU(),Wq0=JA(),Xq0=cb(),Hq0=Kq0(),_8=nb(),Zq0=IA(),R1=qq0.exports=function($){if(!(this instanceof R1))return new R1($);if(Wq0.call(this),this.platform=_8.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new Xq0,this.crc=0,this.time=-1,this.minver=_8.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,$)this.setName($)};eH1(R1,Wq0);R1.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};R1.prototype.getComment=function(){return this.comment!==null?this.comment:""};R1.prototype.getCompressedSize=function(){return this.csize};R1.prototype.getCrc=function(){return this.crc};R1.prototype.getExternalAttributes=function(){return this.exattr};R1.prototype.getExtra=function(){return this.extra!==null?this.extra:_8.EMPTY};R1.prototype.getGeneralPurposeBit=function(){return this.gpb};R1.prototype.getInternalAttributes=function(){return this.inattr};R1.prototype.getLastModifiedDate=function(){return this.getTime()};R1.prototype.getLocalFileDataExtra=function(){return this.getExtra()};R1.prototype.getMethod=function(){return this.method};R1.prototype.getName=function(){return this.name};R1.prototype.getPlatform=function(){return this.platform};R1.prototype.getSize=function(){return this.size};R1.prototype.getTime=function(){return this.time!==-1?Zq0.dosToDate(this.time):-1};R1.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};R1.prototype.getUnixMode=function(){return this.platform!==_8.PLATFORM_UNIX?0:this.getExternalAttributes()>>_8.SHORT_SHIFT&_8.SHORT_MASK};R1.prototype.getVersionNeededToExtract=function(){return this.minver};R1.prototype.setComment=function($){if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=$};R1.prototype.setCompressedSize=function($){if($<0)throw Error("invalid entry compressed size");this.csize=$};R1.prototype.setCrc=function($){if($<0)throw Error("invalid entry crc32");this.crc=$};R1.prototype.setExternalAttributes=function($){this.exattr=$>>>0};R1.prototype.setExtra=function($){this.extra=$};R1.prototype.setGeneralPurposeBit=function($){if(!($ instanceof Xq0))throw Error("invalid entry GeneralPurposeBit");this.gpb=$};R1.prototype.setInternalAttributes=function($){this.inattr=$};R1.prototype.setMethod=function($){if($<0)throw Error("invalid entry compression method");this.method=$};R1.prototype.setName=function($,Y=!1){if($=$W1($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),Y)$=`/${$}`;if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=$};R1.prototype.setPlatform=function($){this.platform=$};R1.prototype.setSize=function($){if($<0)throw Error("invalid entry size");this.size=$};R1.prototype.setTime=function($,Y){if(!($ instanceof Date))throw Error("invalid entry time");this.time=Zq0.dateToDos($,Y)};R1.prototype.setUnixMode=function($){$|=this.isDirectory()?_8.S_IFDIR:_8.S_IFREG;var Y=0;Y|=$<<_8.SHORT_SHIFT|(this.isDirectory()?_8.S_DOS_D:_8.S_DOS_A),this.setExternalAttributes(Y),this.mode=$&_8.MODE_MASK,this.platform=_8.PLATFORM_UNIX};R1.prototype.setVersionNeededToExtract=function($){this.minver=$};R1.prototype.isDirectory=function(){return this.getName().slice(-1)==="/"};R1.prototype.isUnixSymlink=function(){return(this.getUnixMode()&Hq0.FILE_TYPE_FLAG)===Hq0.LINK_FLAG};R1.prototype.isZip64=function(){return this.csize>_8.ZIP64_MAGIC||this.size>_8.ZIP64_MAGIC}});var mb=E((gs1,Vq0)=>{var YW1=I0("stream").Stream,UW1=E8().PassThrough,db=Vq0.exports={};db.isStream=function($){return $ instanceof YW1};db.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(db.isStream($)&&!$._readableState){var Y=new UW1;return $.pipe(Y),Y}return $}});var ob=E((ys1,Fq0)=>{var zW1=I0("util").inherits,lb=E8().Transform,QW1=JA(),Lq0=mb(),Z$=Fq0.exports=function($){if(!(this instanceof Z$))return new Z$($);lb.call(this,$),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};zW1(Z$,lb);Z$.prototype._appendBuffer=function($,Y,U){};Z$.prototype._appendStream=function($,Y,U){};Z$.prototype._emitErrorCallback=function($){if($)this.emit("error",$)};Z$.prototype._finish=function($){};Z$.prototype._normalizeEntry=function($){};Z$.prototype._transform=function($,Y,U){U(null,$)};Z$.prototype.entry=function($,Y,U){if(Y=Y||null,typeof U!=="function")U=this._emitErrorCallback.bind(this);if(!($ instanceof QW1)){U(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){U(Error("unacceptable entry after finish"));return}if(this._archive.processing){U(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry($),this._entry=$,Y=Lq0.normalizeInputSource(Y),Buffer.isBuffer(Y))this._appendBuffer($,Y,U);else if(Lq0.isStream(Y))this._appendStream($,Y,U);else{this._archive.processing=!1,U(Error("input source must be valid Stream or Buffer instance"));return}return this};Z$.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};Z$.prototype.getBytesWritten=function(){return this.offset};Z$.prototype.write=function($,Y){if($)this.offset+=$.length;return lb.prototype.write.call(this,$,Y)}});var tb=E((ks1,Mq0)=>{var F2=I0("buffer").Buffer,rb=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];if(typeof Int32Array<"u")rb=new Int32Array(rb);function wq0($){if(F2.isBuffer($))return $;var Y=typeof F2.alloc==="function"&&typeof F2.from==="function";if(typeof $==="number")return Y?F2.alloc($):new F2($);else if(typeof $==="string")return Y?F2.from($):new F2($);else throw Error("input must be buffer, number, or string, received "+typeof $)}function JW1($){var Y=wq0(4);return Y.writeInt32BE($,0),Y}function sb($,Y){if($=wq0($),F2.isBuffer(Y))Y=Y.readUInt32BE(0);var U=~~Y^-1;for(var z=0;z<$.length;z++)U=rb[(U^$[z])&255]^U>>>8;return U^-1}function ab(){return JW1(sb.apply(null,arguments))}ab.signed=function(){return sb.apply(null,arguments)};ab.unsigned=function(){return sb.apply(null,arguments)>>>0};Mq0.exports=ab});var OI=E((eb)=>{/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */var Oq0;(function($){if(typeof DO_NOT_EXPORT_CRC>"u")if(typeof eb==="object")$(eb);else if(typeof define==="function"&&define.amd)define(function(){var Y={};return $(Y),Y});else $(Oq0={});else $(Oq0={})})(function($){$.version="1.2.2";function Y(){var A=0,j=Array(256);for(var C=0;C!=256;++C)A=C,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,j[C]=A;return typeof Int32Array<"u"?new Int32Array(j):j}var U=Y();function z(A){var j=0,C=0,b=0,x=typeof Int32Array<"u"?new Int32Array(4096):Array(4096);for(b=0;b!=256;++b)x[b]=A[b];for(b=0;b!=256;++b){C=A[b];for(j=256+b;j<4096;j+=256)C=x[j]=C>>>8^A[C&255]}var S=[];for(b=1;b!=16;++b)S[b-1]=typeof Int32Array<"u"?x.subarray(b*256,b*256+256):x.slice(b*256,b*256+256);return S}var Q=z(U),J=Q[0],I=Q[1],K=Q[2],G=Q[3],H=Q[4],W=Q[5],X=Q[6],Z=Q[7],q=Q[8],V=Q[9],F=Q[10],M=Q[11],w=Q[12],N=Q[13],O=Q[14];function D(A,j){var C=j^-1;for(var b=0,x=A.length;b>>8^U[(C^A.charCodeAt(b++))&255];return~C}function P(A,j){var C=j^-1,b=A.length-15,x=0;for(;x>8&255]^w[A[x++]^C>>16&255]^M[A[x++]^C>>>24]^F[A[x++]]^V[A[x++]]^q[A[x++]]^Z[A[x++]]^X[A[x++]]^W[A[x++]]^H[A[x++]]^G[A[x++]]^K[A[x++]]^I[A[x++]]^J[A[x++]]^U[A[x++]];b+=15;while(x>>8^U[(C^A[x++])&255];return~C}function T(A,j){var C=j^-1;for(var b=0,x=A.length,S=0,i=0;b>>8^U[(C^S)&255];else if(S<2048)C=C>>>8^U[(C^(192|S>>6&31))&255],C=C>>>8^U[(C^(128|S&63))&255];else if(S>=55296&&S<57344)S=(S&1023)+64,i=A.charCodeAt(b++)&1023,C=C>>>8^U[(C^(240|S>>8&7))&255],C=C>>>8^U[(C^(128|S>>2&63))&255],C=C>>>8^U[(C^(128|i>>6&15|(S&3)<<4))&255],C=C>>>8^U[(C^(128|i&63))&255];else C=C>>>8^U[(C^(224|S>>12&15))&255],C=C>>>8^U[(C^(128|S>>6&63))&255],C=C>>>8^U[(C^(128|S&63))&255];return~C}$.table=U,$.bstr=D,$.buf=P,$.str=T})});var Aq0=E((fs1,Dq0)=>{var{Transform:IW1}=E8(),KW1=OI();class Nq0 extends IW1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform($,Y,U){if($)this.checksum=KW1.buf($,this.checksum)>>>0,this.rawSize+=$.length;U(null,$)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}Dq0.exports=Nq0});var Tq0=E((us1,Pq0)=>{var{DeflateRaw:GW1}=I0("zlib"),HW1=OI();class Bq0 extends GW1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push($,Y){if($)this.compressedSize+=$.length;return super.push($,Y)}_transform($,Y,U){if($)this.checksum=HW1.buf($,this.checksum)>>>0,this.rawSize+=$.length;super._transform($,Y,U)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size($=!1){if($)return this.compressedSize;else return this.rawSize}}Pq0.exports=Bq0});var $i=E((bs1,jq0)=>{jq0.exports={CRC32Stream:Aq0(),DeflateCRC32Stream:Tq0()}});var Rq0=E((ps1,Cq0)=>{var WW1=I0("util").inherits,XW1=tb(),{CRC32Stream:ZW1}=$i(),{DeflateCRC32Stream:qW1}=$i(),Eq0=ob(),is1=pb(),cs1=cb(),O1=nb(),ns1=mb(),K1=IA(),g6=Cq0.exports=function($){if(!(this instanceof g6))return new g6($);$=this.options=this._defaults($),Eq0.call(this,$),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:$.forceZip64,forceLocalTime:$.forceLocalTime}};WW1(g6,Eq0);g6.prototype._afterAppend=function($){if(this._entries.push($),$.getGeneralPurposeBit().usesDataDescriptor())this._writeDataDescriptor($);if(this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished)this._finish()};g6.prototype._appendBuffer=function($,Y,U){if(Y.length===0)$.setMethod(O1.METHOD_STORED);var z=$.getMethod();if(z===O1.METHOD_STORED)$.setSize(Y.length),$.setCompressedSize(Y.length),$.setCrc(XW1.unsigned(Y));if(this._writeLocalFileHeader($),z===O1.METHOD_STORED){this.write(Y),this._afterAppend($),U(null,$);return}else if(z===O1.METHOD_DEFLATED){this._smartStream($,U).end(Y);return}else{U(Error("compression method "+z+" not implemented"));return}};g6.prototype._appendStream=function($,Y,U){$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(O1.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader($);var z=this._smartStream($,U);Y.once("error",function(Q){z.emit("error",Q),z.end()}),Y.pipe(z)};g6.prototype._defaults=function($){if(typeof $!=="object")$={};if(typeof $.zlib!=="object")$.zlib={};if(typeof $.zlib.level!=="number")$.zlib.level=O1.ZLIB_BEST_SPEED;return $.forceZip64=!!$.forceZip64,$.forceLocalTime=!!$.forceLocalTime,$};g6.prototype._finish=function(){if(this._archive.centralOffset=this.offset,this._entries.forEach(function($){this._writeCentralFileHeader($)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64())this._writeCentralDirectoryZip64();this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};g6.prototype._normalizeEntry=function($){if($.getMethod()===-1)$.setMethod(O1.METHOD_DEFLATED);if($.getMethod()===O1.METHOD_DEFLATED)$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(O1.MIN_VERSION_DATA_DESCRIPTOR);if($.getTime()===-1)$.setTime(new Date,this._archive.forceLocalTime);$._offsets={file:0,data:0,contents:0}};g6.prototype._smartStream=function($,Y){var U=$.getMethod()===O1.METHOD_DEFLATED,z=U?new qW1(this.options.zlib):new ZW1,Q=null;function J(){var I=z.digest().readUInt32BE(0);$.setCrc(I),$.setSize(z.size()),$.setCompressedSize(z.size(!0)),this._afterAppend($),Y(Q,$)}return z.once("end",J.bind(this)),z.once("error",function(I){Q=I}),z.pipe(this,{end:!1}),z};g6.prototype._writeCentralDirectoryEnd=function(){var $=this._entries.length,Y=this._archive.centralLength,U=this._archive.centralOffset;if(this.isZip64())$=O1.ZIP64_MAGIC_SHORT,Y=O1.ZIP64_MAGIC,U=O1.ZIP64_MAGIC;this.write(K1.getLongBytes(O1.SIG_EOCD)),this.write(O1.SHORT_ZERO),this.write(O1.SHORT_ZERO),this.write(K1.getShortBytes($)),this.write(K1.getShortBytes($)),this.write(K1.getLongBytes(Y)),this.write(K1.getLongBytes(U));var z=this.getComment(),Q=Buffer.byteLength(z);this.write(K1.getShortBytes(Q)),this.write(z)};g6.prototype._writeCentralDirectoryZip64=function(){this.write(K1.getLongBytes(O1.SIG_ZIP64_EOCD)),this.write(K1.getEightBytes(44)),this.write(K1.getShortBytes(O1.MIN_VERSION_ZIP64)),this.write(K1.getShortBytes(O1.MIN_VERSION_ZIP64)),this.write(O1.LONG_ZERO),this.write(O1.LONG_ZERO),this.write(K1.getEightBytes(this._entries.length)),this.write(K1.getEightBytes(this._entries.length)),this.write(K1.getEightBytes(this._archive.centralLength)),this.write(K1.getEightBytes(this._archive.centralOffset)),this.write(K1.getLongBytes(O1.SIG_ZIP64_EOCD_LOC)),this.write(O1.LONG_ZERO),this.write(K1.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(K1.getLongBytes(1))};g6.prototype._writeCentralFileHeader=function($){var Y=$.getGeneralPurposeBit(),U=$.getMethod(),z=$._offsets,Q=$.getSize(),J=$.getCompressedSize();if($.isZip64()||z.file>O1.ZIP64_MAGIC){Q=O1.ZIP64_MAGIC,J=O1.ZIP64_MAGIC,$.setVersionNeededToExtract(O1.MIN_VERSION_ZIP64);var I=Buffer.concat([K1.getShortBytes(O1.ZIP64_EXTRA_ID),K1.getShortBytes(24),K1.getEightBytes($.getSize()),K1.getEightBytes($.getCompressedSize()),K1.getEightBytes(z.file)],28);$.setExtra(I)}this.write(K1.getLongBytes(O1.SIG_CFH)),this.write(K1.getShortBytes($.getPlatform()<<8|O1.VERSION_MADEBY)),this.write(K1.getShortBytes($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(K1.getShortBytes(U)),this.write(K1.getLongBytes($.getTimeDos())),this.write(K1.getLongBytes($.getCrc())),this.write(K1.getLongBytes(J)),this.write(K1.getLongBytes(Q));var K=$.getName(),G=$.getComment(),H=$.getCentralDirectoryExtra();if(Y.usesUTF8ForNames())K=Buffer.from(K),G=Buffer.from(G);if(this.write(K1.getShortBytes(K.length)),this.write(K1.getShortBytes(H.length)),this.write(K1.getShortBytes(G.length)),this.write(O1.SHORT_ZERO),this.write(K1.getShortBytes($.getInternalAttributes())),this.write(K1.getLongBytes($.getExternalAttributes())),z.file>O1.ZIP64_MAGIC)this.write(K1.getLongBytes(O1.ZIP64_MAGIC));else this.write(K1.getLongBytes(z.file));this.write(K),this.write(H),this.write(G)};g6.prototype._writeDataDescriptor=function($){if(this.write(K1.getLongBytes(O1.SIG_DD)),this.write(K1.getLongBytes($.getCrc())),$.isZip64())this.write(K1.getEightBytes($.getCompressedSize())),this.write(K1.getEightBytes($.getSize()));else this.write(K1.getLongBytes($.getCompressedSize())),this.write(K1.getLongBytes($.getSize()))};g6.prototype._writeLocalFileHeader=function($){var Y=$.getGeneralPurposeBit(),U=$.getMethod(),z=$.getName(),Q=$.getLocalFileDataExtra();if($.isZip64())Y.useDataDescriptor(!0),$.setVersionNeededToExtract(O1.MIN_VERSION_ZIP64);if(Y.usesUTF8ForNames())z=Buffer.from(z);if($._offsets.file=this.offset,this.write(K1.getLongBytes(O1.SIG_LFH)),this.write(K1.getShortBytes($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(K1.getShortBytes(U)),this.write(K1.getLongBytes($.getTimeDos())),$._offsets.data=this.offset,Y.usesDataDescriptor())this.write(O1.LONG_ZERO),this.write(O1.LONG_ZERO),this.write(O1.LONG_ZERO);else this.write(K1.getLongBytes($.getCrc())),this.write(K1.getLongBytes($.getCompressedSize())),this.write(K1.getLongBytes($.getSize()));this.write(K1.getShortBytes(z.length)),this.write(K1.getShortBytes(Q.length)),this.write(z),this.write(Q),$._offsets.contents=this.offset};g6.prototype.getComment=function($){return this._archive.comment!==null?this._archive.comment:""};g6.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>O1.ZIP64_MAGIC_SHORT||this._archive.centralLength>O1.ZIP64_MAGIC||this._archive.centralOffset>O1.ZIP64_MAGIC};g6.prototype.setComment=function($){this._archive.comment=$}});var Yi=E((ds1,_q0)=>{_q0.exports={ArchiveEntry:JA(),ZipArchiveEntry:pb(),ArchiveOutputStream:ob(),ZipArchiveOutputStream:Rq0()}});var gq0=E((ms1,Sq0)=>{var hq0=l8(),NI=I0("path"),Ui=zb(),VW1=Hb(),LW1=Lb(),FW1=Fb(),wW1=AX(),bU=Sq0.exports={},vq0=/[\/\\]/g,MW1=function($,Y){var U=[];return Ui($).forEach(function(z){var Q=z.indexOf("!")===0;if(Q)z=z.slice(1);var J=Y(z);if(Q)U=VW1(U,J);else U=LW1(U,J)}),U};bU.exists=function(){var $=NI.join.apply(NI,arguments);return hq0.existsSync($)};bU.expand=function(...$){var Y=FW1($[0])?$.shift():{},U=Array.isArray($[0])?$[0]:$;if(U.length===0)return[];var z=MW1(U,function(Q){return wW1.sync(Q,Y)});if(Y.filter)z=z.filter(function(Q){Q=NI.join(Y.cwd||"",Q);try{if(typeof Y.filter==="function")return Y.filter(Q);else return hq0.statSync(Q)[Y.filter]()}catch(J){return!1}});return z};bU.expandMapping=function($,Y,U){U=Object.assign({rename:function(J,I){return NI.join(J||"",I)}},U);var z=[],Q={};return bU.expand(U,$).forEach(function(J){var I=J;if(U.flatten)I=NI.basename(I);if(U.ext)I=I.replace(/(\.[^\/]*)?$/,U.ext);var K=U.rename(Y,I,U);if(U.cwd)J=NI.join(U.cwd,J);if(K=K.replace(vq0,"/"),J=J.replace(vq0,"/"),Q[K])Q[K].src.push(J);else z.push({src:[J],dest:K}),Q[K]=z[z.length-1]}),z};bU.normalizeFilesArray=function($){var Y=[];if($.forEach(function(U){var z;if("src"in U||"dest"in U)Y.push(U)}),Y.length===0)return[];return Y=_(Y).chain().forEach(function(U){if(!("src"in U)||!U.src)return;if(Array.isArray(U.src))U.src=Ui(U.src);else U.src=[U.src]}).map(function(U){var z=Object.assign({},U);if(delete z.src,delete z.dest,U.expand)return bU.expandMapping(U.src,U.dest,z).map(function(J){var I=Object.assign({},U);return I.orig=Object.assign({},U),I.src=J.src,I.dest=J.dest,["expand","cwd","flatten","rename","ext"].forEach(function(K){delete I[K]}),I});var Q=Object.assign({},U);if(Q.orig=Object.assign({},U),"src"in Q)Object.defineProperty(Q,"src",{enumerable:!0,get:function J(){var I;if(!("result"in J))I=U.src,I=Array.isArray(I)?Ui(I):[I],J.result=bU.expand(z,I);return J.result}});if("dest"in Q)Q.dest=U.dest;return Q}).flatten().value(),Y}});var fq0=E((ls1,xq0)=>{var zi=l8(),yq0=I0("path"),OW1=hD(),kq0=RU(),NW1=uu(),DW1=I0("stream").Stream,AW1=E8().PassThrough,q$=xq0.exports={};q$.file=gq0();q$.collectStream=function($,Y){var U=[],z=0;$.on("error",Y),$.on("data",function(Q){U.push(Q),z+=Q.length}),$.on("end",function(){var Q=Buffer.alloc(z),J=0;U.forEach(function(I){I.copy(Q,J),J+=I.length}),Y(null,Q)})};q$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};q$.defaults=function($,Y,U){var z=arguments;return z[0]=z[0]||{},NW1(...z)};q$.isStream=function($){return $ instanceof DW1};q$.lazyReadStream=function($){return new OW1.Readable(function(){return zi.createReadStream($)})};q$.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(q$.isStream($))return $.pipe(new AW1);return $};q$.sanitizePath=function($){return kq0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};q$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};q$.unixifyPath=function($){return kq0($,!1).replace(/^\w+:/,"")};q$.walkdir=function($,Y,U){var z=[];if(typeof Y==="function")U=Y,Y=$;zi.readdir($,function(Q,J){var I=0,K,G;if(Q)return U(Q);(function H(){if(K=J[I++],!K)return U(null,z);G=yq0.join($,K),zi.stat(G,function(W,X){if(z.push({path:G,relative:yq0.relative(Y,G).replace(/\\/g,"/"),stats:X}),X&&X.isDirectory())q$.walkdir(G,Y,function(Z,q){q.forEach(function(V){z.push(V)}),H()});else H()})})()})}});var bq0=E((os1,uq0)=>{var BW1=I0("util").inherits,Ji=Yi().ZipArchiveOutputStream,PW1=Yi().ZipArchiveEntry,Qi=fq0(),DI=uq0.exports=function($){if(!(this instanceof DI))return new DI($);if($=this.options=$||{},$.zlib=$.zlib||{},Ji.call(this,$),typeof $.level==="number"&&$.level>=0)$.zlib.level=$.level,delete $.level;if(!$.forceZip64&&typeof $.zlib.level==="number"&&$.zlib.level===0)$.store=!0;if($.namePrependSlash=$.namePrependSlash||!1,$.comment&&$.comment.length>0)this.setComment($.comment)};BW1(DI,Ji);DI.prototype._normalizeFileData=function($){$=Qi.defaults($,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var Y=$.type==="directory",U=$.type==="symlink";if($.name){if($.name=Qi.sanitizePath($.name),!U&&$.name.slice(-1)==="/")Y=!0,$.type="directory";else if(Y)$.name+="/"}if(Y||U)$.store=!0;return $.date=Qi.dateify($.date),$};DI.prototype.entry=function($,Y,U){if(typeof U!=="function")U=this._emitErrorCallback.bind(this);if(Y=this._normalizeFileData(Y),Y.type!=="file"&&Y.type!=="directory"&&Y.type!=="symlink"){U(Error(Y.type+" entries not currently supported"));return}if(typeof Y.name!=="string"||Y.name.length===0){U(Error("entry name must be a non-empty string value"));return}if(Y.type==="symlink"&&typeof Y.linkname!=="string"){U(Error("entry linkname must be a non-empty string value when type equals symlink"));return}var z=new PW1(Y.name);if(z.setTime(Y.date,this.options.forceLocalTime),Y.namePrependSlash)z.setName(Y.name,!0);if(Y.store)z.setMethod(0);if(Y.comment.length>0)z.setComment(Y.comment);if(Y.type==="symlink"&&typeof Y.mode!=="number")Y.mode=40960;if(typeof Y.mode==="number"){if(Y.type==="symlink")Y.mode|=40960;z.setUnixMode(Y.mode)}if(Y.type==="symlink"&&typeof Y.linkname==="string")$=Buffer.from(Y.linkname);return Ji.prototype.entry.call(this,z,$,U)};DI.prototype.finalize=function(){this.finish()}});var cq0=E((rs1,iq0)=>{var TW1=bq0(),jW1=TX(),w2=function($){if(!(this instanceof w2))return new w2($);$=this.options=jW1.defaults($,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new TW1($)};w2.prototype.append=function($,Y,U){this.engine.entry($,Y,U)};w2.prototype.finalize=function(){this.engine.finalize()};w2.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};w2.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};w2.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};iq0.exports=w2});var oq0=E((ss1,lq0)=>{function nq0($,Y){var U=Object.keys($);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols($);Y&&(z=z.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),U.push.apply(U,z)}return U}function pq0($){for(var Y=1;Y0)this.tail.next=z;else this.head=z;this.tail=z,++this.length}},{key:"unshift",value:function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q}},{key:"concat",value:function(U){if(this.length===0)return KA.alloc(0);var z=KA.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)gW1(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z}},{key:"consume",value:function(U,z){var Q;if(UI.length?I.length:U;if(K===I.length)J+=I;else J+=I.slice(0,U);if(U-=K,U===0){if(K===I.length)if(++Q,z.next)this.head=z.next;else this.head=this.tail=null;else this.head=z,z.data=I.slice(K);break}++Q}return this.length-=Q,J}},{key:"_getBuffer",value:function(U){var z=KA.allocUnsafe(U),Q=this.head,J=1;Q.data.copy(z),U-=Q.data.length;while(Q=Q.next){var I=Q.data,K=U>I.length?I.length:U;if(I.copy(z,z.length-U,0,K),U-=K,U===0){if(K===I.length)if(++J,Q.next)this.head=Q.next;else this.head=this.tail=null;else this.head=Q,Q.data=I.slice(K);break}++J}return this.length-=J,z}},{key:SW1,value:function(U,z){return Ii(this,pq0(pq0({},z),{},{depth:0,customInspect:!1}))}}]),$}()});var Gi=E((as1,sq0)=>{function yW1($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)process.nextTick(Ki,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(Ki,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J)if(!U._writableState)process.nextTick(rq0,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,process.nextTick(rq0,U,J);else process.nextTick(GA,U);else if(Y)process.nextTick(GA,U),Y(J);else process.nextTick(GA,U)}),this}function rq0($,Y){Ki($,Y),GA($)}function GA($){if($._writableState&&!$._writableState.emitClose)return;if($._readableState&&!$._readableState.emitClose)return;$.emit("close")}function kW1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function Ki($,Y){$.emit("error",Y)}function xW1($,Y){var{_readableState:U,_writableState:z}=$;if(U&&U.autoDestroy||z&&z.autoDestroy)$.destroy(Y);else $.emit("error",Y)}sq0.exports={destroy:yW1,undestroy:kW1,errorOrDestroy:xW1}});var M2=E((iW1,eq0)=>{var tq0={};function y$($,Y,U){if(!U)U=Error;function z(J,I,K){if(typeof Y==="string")return Y;else return Y(J,I,K)}class Q extends U{constructor(J,I,K){super(z(J,I,K))}}Q.prototype.name=U.name,Q.prototype.code=$,tq0[$]=Q}function aq0($,Y){if(Array.isArray($)){let U=$.length;if($=$.map((z)=>String(z)),U>2)return`one of ${Y} ${$.slice(0,U-1).join(", ")}, or `+$[U-1];else if(U===2)return`one of ${Y} ${$[0]} or ${$[1]}`;else return`of ${Y} ${$[0]}`}else return`of ${Y} ${String($)}`}function fW1($,Y,U){return $.substr(!U||U<0?0:+U,Y.length)===Y}function uW1($,Y,U){if(U===void 0||U>$.length)U=$.length;return $.substring(U-Y.length,U)===Y}function bW1($,Y,U){if(typeof U!=="number")U=0;if(U+Y.length>$.length)return!1;else return $.indexOf(Y,U)!==-1}y$("ERR_INVALID_OPT_VALUE",function($,Y){return'The value "'+Y+'" is invalid for option "'+$+'"'},TypeError);y$("ERR_INVALID_ARG_TYPE",function($,Y,U){let z;if(typeof Y==="string"&&fW1(Y,"not "))z="must not be",Y=Y.replace(/^not /,"");else z="must be";let Q;if(uW1($," argument"))Q=`The ${$} ${z} ${aq0(Y,"type")}`;else{let J=bW1($,".")?"property":"argument";Q=`The "${$}" ${J} ${z} ${aq0(Y,"type")}`}return Q+=`. Received type ${typeof U}`,Q},TypeError);y$("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");y$("ERR_METHOD_NOT_IMPLEMENTED",function($){return"The "+$+" method is not implemented"});y$("ERR_STREAM_PREMATURE_CLOSE","Premature close");y$("ERR_STREAM_DESTROYED",function($){return"Cannot call "+$+" after a stream was destroyed"});y$("ERR_MULTIPLE_CALLBACK","Callback called multiple times");y$("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");y$("ERR_STREAM_WRITE_AFTER_END","write after end");y$("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);y$("ERR_UNKNOWN_ENCODING",function($){return"Unknown encoding: "+$},TypeError);y$("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");iW1.codes=tq0});var Hi=E((ts1,$V0)=>{var nW1=M2().codes.ERR_INVALID_OPT_VALUE;function pW1($,Y,U){return $.highWaterMark!=null?$.highWaterMark:Y?$[U]:null}function dW1($,Y,U,z){var Q=pW1(Y,z,U);if(Q!=null){if(!(isFinite(Q)&&Math.floor(Q)===Q)||Q<0){var J=z?U:"highWaterMark";throw new nW1(J,Q)}return Math.floor(Q)}return $.objectMode?16:16384}$V0.exports={getHighWaterMark:dW1}});var Zi=E((es1,IV0)=>{IV0.exports=Q6;function UV0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){MX1(Y,$)}}var AI;Q6.WritableState=EX;var mW1={deprecate:y7()},zV0=I0("stream"),WA=I0("buffer").Buffer,lW1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function oW1($){return WA.from($)}function rW1($){return WA.isBuffer($)||$ instanceof lW1}var Xi=Gi(),sW1=Hi(),aW1=sW1.getHighWaterMark,O2=M2().codes,tW1=O2.ERR_INVALID_ARG_TYPE,eW1=O2.ERR_METHOD_NOT_IMPLEMENTED,$X1=O2.ERR_MULTIPLE_CALLBACK,YX1=O2.ERR_STREAM_CANNOT_PIPE,UX1=O2.ERR_STREAM_DESTROYED,zX1=O2.ERR_STREAM_NULL_VALUES,QX1=O2.ERR_STREAM_WRITE_AFTER_END,JX1=O2.ERR_UNKNOWN_ENCODING,BI=Xi.errorOrDestroy;X1()(Q6,zV0);function IX1(){}function EX($,Y,U){if(AI=AI||iU(),$=$||{},typeof U!=="boolean")U=Y instanceof AI;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;this.highWaterMark=aW1(this,$,"writableHighWaterMark",U),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var z=$.decodeStrings===!1;this.decodeStrings=!z,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){qX1(Y,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new UV0(this)}EX.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(EX.prototype,"buffer",{get:mW1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var HA;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")HA=Function.prototype[Symbol.hasInstance],Object.defineProperty(Q6,Symbol.hasInstance,{value:function(Y){if(HA.call(this,Y))return!0;if(this!==Q6)return!1;return Y&&Y._writableState instanceof EX}});else HA=function(Y){return Y instanceof this};function Q6($){AI=AI||iU();var Y=this instanceof AI;if(!Y&&!HA.call(Q6,this))return new Q6($);if(this._writableState=new EX($,this,Y),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}zV0.call(this)}Q6.prototype.pipe=function(){BI(this,new YX1)};function KX1($,Y){var U=new QX1;BI($,U),process.nextTick(Y,U)}function GX1($,Y,U,z){var Q;if(U===null)Q=new zX1;else if(typeof U!=="string"&&!Y.objectMode)Q=new tW1("chunk",["string","Buffer"],U);if(Q)return BI($,Q),process.nextTick(z,Q),!1;return!0}Q6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&rW1($);if(J&&!WA.isBuffer($))$=oW1($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=IX1;if(z.ending)KX1(this,U);else if(J||GX1(this,z,$,U))z.pendingcb++,Q=WX1(this,z,J,$,Y,U);return Q};Q6.prototype.cork=function(){this._writableState.corked++};Q6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)QV0(this,$)}};Q6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw new JX1(Y);return this._writableState.defaultEncoding=Y,this};Object.defineProperty(Q6.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function HX1($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=WA.from(Y,U);return Y}Object.defineProperty(Q6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function WX1($,Y,U,z,Q,J){if(!U){var I=HX1(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var OX1=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};GV0.exports=q9;var KV0=Vi(),qi=Zi();X1()(q9,KV0);{XA=OX1(qi.prototype);for(CX=0;CX{var HV0=M2().codes.ERR_STREAM_PREMATURE_CLOSE;function AX1($){var Y=!1;return function(){if(Y)return;Y=!0;for(var U=arguments.length,z=Array(U),Q=0;Q{var qA;function N2($,Y,U){if(Y=TX1(Y),Y in $)Object.defineProperty($,Y,{value:U,enumerable:!0,configurable:!0,writable:!0});else $[Y]=U;return $}function TX1($){var Y=jX1($,"string");return typeof Y==="symbol"?Y:String(Y)}function jX1($,Y){if(typeof $!=="object"||$===null)return $;var U=$[Symbol.toPrimitive];if(U!==void 0){var z=U.call($,Y||"default");if(typeof z!=="object")return z;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var EX1=ZA(),D2=Symbol("lastResolve"),cU=Symbol("lastReject"),_X=Symbol("error"),VA=Symbol("ended"),nU=Symbol("lastPromise"),Li=Symbol("handlePromise"),pU=Symbol("stream");function A2($,Y){return{value:$,done:Y}}function CX1($){var Y=$[D2];if(Y!==null){var U=$[pU].read();if(U!==null)$[nU]=null,$[D2]=null,$[cU]=null,Y(A2(U,!1))}}function RX1($){process.nextTick(CX1,$)}function _X1($,Y){return function(U,z){$.then(function(){if(Y[VA]){U(A2(void 0,!0));return}Y[Li](U,z)},z)}}var vX1=Object.getPrototypeOf(function(){}),hX1=Object.setPrototypeOf((qA={get stream(){return this[pU]},next:function(){var Y=this,U=this[_X];if(U!==null)return Promise.reject(U);if(this[VA])return Promise.resolve(A2(void 0,!0));if(this[pU].destroyed)return new Promise(function(I,K){process.nextTick(function(){if(Y[_X])K(Y[_X]);else I(A2(void 0,!0))})});var z=this[nU],Q;if(z)Q=new Promise(_X1(z,this));else{var J=this[pU].read();if(J!==null)return Promise.resolve(A2(J,!1));Q=new Promise(this[Li])}return this[nU]=Q,Q}},N2(qA,Symbol.asyncIterator,function(){return this}),N2(qA,"return",function(){var Y=this;return new Promise(function(U,z){Y[pU].destroy(null,function(Q){if(Q){z(Q);return}U(A2(void 0,!0))})})}),qA),vX1),SX1=function(Y){var U,z=Object.create(hX1,(U={},N2(U,pU,{value:Y,writable:!0}),N2(U,D2,{value:null,writable:!0}),N2(U,cU,{value:null,writable:!0}),N2(U,_X,{value:null,writable:!0}),N2(U,VA,{value:Y._readableState.endEmitted,writable:!0}),N2(U,Li,{value:function(J,I){var K=z[pU].read();if(K)z[nU]=null,z[D2]=null,z[cU]=null,J(A2(K,!1));else z[D2]=J,z[cU]=I},writable:!0}),U));return z[nU]=null,EX1(Y,function(Q){if(Q&&Q.code!=="ERR_STREAM_PREMATURE_CLOSE"){var J=z[cU];if(J!==null)z[nU]=null,z[D2]=null,z[cU]=null,J(Q);z[_X]=Q;return}var I=z[D2];if(I!==null)z[nU]=null,z[D2]=null,z[cU]=null,I(A2(void 0,!0));z[VA]=!0}),Y.on("readable",RX1.bind(null,z)),z};ZV0.exports=SX1});var wV0=E((za1,FV0)=>{function VV0($,Y,U,z,Q,J,I){try{var K=$[J](I),G=K.value}catch(H){U(H);return}if(K.done)Y(G);else Promise.resolve(G).then(z,Q)}function gX1($){return function(){var Y=this,U=arguments;return new Promise(function(z,Q){var J=$.apply(Y,U);function I(G){VV0(J,z,Q,I,K,"next",G)}function K(G){VV0(J,z,Q,I,K,"throw",G)}I(void 0)})}}function LV0($,Y){var U=Object.keys($);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols($);Y&&(z=z.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),U.push.apply(U,z)}return U}function yX1($){for(var Y=1;Y{EV0.exports=d1;var PI;d1.ReadableState=DV0;var Qa1=I0("events").EventEmitter,NV0=function(Y,U){return Y.listeners(U).length},hX=I0("stream"),LA=I0("buffer").Buffer,iX1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function cX1($){return LA.from($)}function nX1($){return LA.isBuffer($)||$ instanceof iX1}var Fi=I0("util"),_1;if(Fi&&Fi.debuglog)_1=Fi.debuglog("stream");else _1=function(){};var pX1=oq0(),Bi=Gi(),dX1=Hi(),mX1=dX1.getHighWaterMark,FA=M2().codes,lX1=FA.ERR_INVALID_ARG_TYPE,oX1=FA.ERR_STREAM_PUSH_AFTER_EOF,rX1=FA.ERR_METHOD_NOT_IMPLEMENTED,sX1=FA.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,TI,wi,Mi;X1()(d1,hX);var vX=Bi.errorOrDestroy,Oi=["error","close","destroy","pause","resume"];function aX1($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(Array.isArray($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function DV0($,Y,U){if(PI=PI||iU(),$=$||{},typeof U!=="boolean")U=Y instanceof PI;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;if(this.highWaterMark=mX1(this,$,"readableHighWaterMark",U),this.buffer=new pX1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!TI)TI=AJ().StringDecoder;this.decoder=new TI($.encoding),this.encoding=$.encoding}}function d1($){if(PI=PI||iU(),!(this instanceof d1))return new d1($);var Y=this instanceof PI;if(this._readableState=new DV0($,this,Y),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}hX.call(this)}Object.defineProperty(d1.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(Y){if(!this._readableState)return;this._readableState.destroyed=Y}});d1.prototype.destroy=Bi.destroy;d1.prototype._undestroy=Bi.undestroy;d1.prototype._destroy=function($,Y){Y($)};d1.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=LA.from($,Y),Y="";z=!0}}else z=!0;return AV0(this,$,Y,!1,z)};d1.prototype.unshift=function($){return AV0(this,$,null,!0,!1)};function AV0($,Y,U,z,Q){_1("readableAddChunk",Y);var J=$._readableState;if(Y===null)J.reading=!1,$Z1($,J);else{var I;if(!Q)I=tX1(J,Y);if(I)vX($,I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==LA.prototype)Y=cX1(Y);if(z)if(J.endEmitted)vX($,new sX1);else Ni($,J,Y,!0);else if(J.ended)vX($,new oX1);else if(J.destroyed)return!1;else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Ni($,J,Y,!1);else Ai($,J);else Ni($,J,Y,!1)}else if(!z)J.reading=!1,Ai($,J)}return!J.ended&&(J.length=MV0)$=MV0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function OV0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=eX1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}d1.prototype.read=function($){_1("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(_1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Di(this);else wA(this);return null}if($=OV0($,Y),$===0&&Y.ended){if(Y.length===0)Di(this);return null}var z=Y.needReadable;if(_1("need readable",z),Y.length===0||Y.length-$0)Q=TV0($,Y);else Q=null;if(Q===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else Y.length-=$,Y.awaitDrain=0;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)Di(this)}if(Q!==null)this.emit("data",Q);return Q};function $Z1($,Y){if(_1("onEofChunk"),Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}if(Y.ended=!0,Y.sync)wA($);else if(Y.needReadable=!1,!Y.emittedReadable)Y.emittedReadable=!0,BV0($)}function wA($){var Y=$._readableState;if(_1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)_1("emitReadable",Y.flowing),Y.emittedReadable=!0,process.nextTick(BV0,$)}function BV0($){var Y=$._readableState;if(_1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,Pi($)}function Ai($,Y){if(!Y.readingMore)Y.readingMore=!0,process.nextTick(YZ1,$,Y)}function YZ1($,Y){while(!Y.reading&&!Y.ended&&(Y.length1&&jV0(z.pipes,$)!==-1)&&!H)_1("false write response, pause",z.awaitDrain),z.awaitDrain++;U.pause()}}function Z(M){if(_1("onerror",M),F(),$.removeListener("error",Z),NV0($,"error")===0)vX($,M)}aX1($,"error",Z);function q(){$.removeListener("finish",V),F()}$.once("close",q);function V(){_1("onfinish"),$.removeListener("close",q),F()}$.once("finish",V);function F(){_1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)_1("pipe resume"),U.resume();return $};function UZ1($){return function(){var U=$._readableState;if(_1("pipeOnDrain",U.awaitDrain),U.awaitDrain)U.awaitDrain--;if(U.awaitDrain===0&&NV0($,"data"))U.flowing=!0,Pi($)}}d1.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J0,z.flowing!==!1)this.resume()}else if($==="readable"){if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.flowing=!1,z.emittedReadable=!1,_1("on readable",z.length,z.reading),z.length)wA(this);else if(!z.reading)process.nextTick(zZ1,this)}}return U};d1.prototype.addListener=d1.prototype.on;d1.prototype.removeListener=function($,Y){var U=hX.prototype.removeListener.call(this,$,Y);if($==="readable")process.nextTick(PV0,this);return U};d1.prototype.removeAllListeners=function($){var Y=hX.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)process.nextTick(PV0,this);return Y};function PV0($){var Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&!Y.paused)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume()}function zZ1($){_1("readable nexttick read 0"),$.read(0)}d1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)_1("resume"),$.flowing=!$.readableListening,QZ1(this,$);return $.paused=!1,this};function QZ1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,process.nextTick(JZ1,$,Y)}function JZ1($,Y){if(_1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),Pi($),Y.flowing&&!Y.reading)$.read(0)}d1.prototype.pause=function(){if(_1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)_1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function Pi($){var Y=$._readableState;_1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}d1.prototype.wrap=function($){var Y=this,U=this._readableState,z=!1;$.on("end",function(){if(_1("wrapped end"),U.decoder&&!U.ended){var I=U.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(_1("wrapped data"),U.decoder)I=U.decoder.write(I);if(U.objectMode&&(I===null||I===void 0))return;else if(!U.objectMode&&(!I||!I.length))return;var K=Y.push(I);if(!K)z=!0,$.pause()});for(var Q in $)if(this[Q]===void 0&&typeof $[Q]==="function")this[Q]=function(K){return function(){return $[K].apply($,arguments)}}(Q);for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.first();else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=Y.buffer.consume($,Y.decoder);return U}function Di($){var Y=$._readableState;if(_1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,process.nextTick(IZ1,Y,$)}function IZ1($,Y){if(_1("endReadableNT",$.endEmitted,$.length),!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.readable=!1,Y.emit("end"),$.autoDestroy){var U=Y._writableState;if(!U||U.autoDestroy&&U.finished)Y.destroy()}}}if(typeof Symbol==="function")d1.from=function($,Y){if(Mi===void 0)Mi=wV0();return Mi(d1,$,Y)};function jV0($,Y){for(var U=0,z=$.length;U{RV0.exports=B3;var MA=M2().codes,KZ1=MA.ERR_METHOD_NOT_IMPLEMENTED,GZ1=MA.ERR_MULTIPLE_CALLBACK,HZ1=MA.ERR_TRANSFORM_ALREADY_TRANSFORMING,WZ1=MA.ERR_TRANSFORM_WITH_LENGTH_0,OA=iU();X1()(B3,OA);function XZ1($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(z===null)return this.emit("error",new GZ1);if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{vV0.exports=SX;var _V0=Ti();X1()(SX,_V0);function SX($){if(!(this instanceof SX))return new SX($);_V0.call(this,$)}SX.prototype._transform=function($,Y,U){U(null,$)}});var xV0=E((Ga1,kV0)=>{var ji;function qZ1($){var Y=!1;return function(){if(Y)return;Y=!0,$.apply(void 0,arguments)}}var yV0=M2().codes,VZ1=yV0.ERR_MISSING_ARGS,LZ1=yV0.ERR_STREAM_DESTROYED;function SV0($){if($)throw $}function FZ1($){return $.setHeader&&typeof $.abort==="function"}function wZ1($,Y,U,z){z=qZ1(z);var Q=!1;if($.on("close",function(){Q=!0}),ji===void 0)ji=ZA();ji($,{readable:Y,writable:U},function(I){if(I)return z(I);Q=!0,z()});var J=!1;return function(I){if(Q)return;if(J)return;if(J=!0,FZ1($))return $.abort();if(typeof $.destroy==="function")return $.destroy();z(I||new LZ1("pipe"))}}function gV0($){$()}function MZ1($,Y){return $.pipe(Y)}function OZ1($){if(!$.length)return SV0;if(typeof $[$.length-1]!=="function")return SV0;return $.pop()}function NZ1(){for(var $=arguments.length,Y=Array($),U=0;U<$;U++)Y[U]=arguments[U];var z=OZ1(Y);if(Array.isArray(Y[0]))Y=Y[0];if(Y.length<2)throw new VZ1("streams");var Q,J=Y.map(function(I,K){var G=K0;return wZ1(I,G,H,function(W){if(!Q)Q=W;if(W)J.forEach(gV0);if(G)return;J.forEach(gV0),z(Q)})});return Y.reduce(MZ1)}kV0.exports=NZ1});var fV0=E((k$,yX)=>{var gX=I0("stream");if(process.env.READABLE_STREAM==="disable"&&gX)yX.exports=gX.Readable,Object.assign(yX.exports,gX),yX.exports.Stream=gX;else k$=yX.exports=Vi(),k$.Stream=gX||k$,k$.Readable=k$,k$.Writable=Zi(),k$.Duplex=iU(),k$.Transform=Ti(),k$.PassThrough=hV0(),k$.finished=ZA(),k$.pipeline=xV0()});var iV0=E((Ha1,bV0)=>{var{Buffer:w5}=I0("buffer"),uV0=Symbol.for("BufferList");function N4($){if(!(this instanceof N4))return new N4($);N4._init.call(this,$)}N4._init=function(Y){if(Object.defineProperty(this,uV0,{value:!0}),this._bufs=[],this.length=0,Y)this.append(Y)};N4.prototype._new=function(Y){return new N4(Y)};N4.prototype._offset=function(Y){if(Y===0)return[0,0];let U=0;for(let z=0;zthis.length||Y<0)return;let U=this._offset(Y);return this._bufs[U[0]][U[1]]};N4.prototype.slice=function(Y,U){if(typeof Y==="number"&&Y<0)Y+=this.length;if(typeof U==="number"&&U<0)U+=this.length;return this.copy(null,0,Y,U)};N4.prototype.copy=function(Y,U,z,Q){if(typeof z!=="number"||z<0)z=0;if(typeof Q!=="number"||Q>this.length)Q=this.length;if(z>=this.length)return Y||w5.alloc(0);if(Q<=0)return Y||w5.alloc(0);let J=!!Y,I=this._offset(z),K=Q-z,G=K,H=J&&U||0,W=I[1];if(z===0&&Q===this.length){if(!J)return this._bufs.length===1?this._bufs[0]:w5.concat(this._bufs,this.length);for(let X=0;XZ)this._bufs[X].copy(Y,H,W),H+=Z;else{this._bufs[X].copy(Y,H,W,W+G),H+=Z;break}if(G-=Z,W)W=0}if(Y.length>H)return Y.slice(0,H);return Y};N4.prototype.shallowSlice=function(Y,U){if(Y=Y||0,U=typeof U!=="number"?this.length:U,Y<0)Y+=this.length;if(U<0)U+=this.length;if(Y===U)return this._new();let z=this._offset(Y),Q=this._offset(U),J=this._bufs.slice(z[0],Q[0]+1);if(Q[1]===0)J.pop();else J[J.length-1]=J[J.length-1].slice(0,Q[1]);if(z[1]!==0)J[0]=J[0].slice(z[1]);return this._new(J)};N4.prototype.toString=function(Y,U,z){return this.slice(U,z).toString(Y)};N4.prototype.consume=function(Y){if(Y=Math.trunc(Y),Number.isNaN(Y)||Y<=0)return this;while(this._bufs.length)if(Y>=this._bufs[0].length)Y-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(Y),this.length-=Y;break}return this};N4.prototype.duplicate=function(){let Y=this._new();for(let U=0;Uthis.length?this.length:Y;let z=this._offset(Y),Q=z[0],J=z[1];for(;Q=$.length){let G=I.indexOf($,J);if(G!==-1)return this._reverseOffset([Q,G]);J=I.length-$.length+1}else{let G=this._reverseOffset([Q,J]);if(this._match(G,$))return G;J++}J=0}return-1};N4.prototype._match=function($,Y){if(this.length-${var Ei=fV0().Duplex,DZ1=X1(),kX=iV0();function L8($){if(!(this instanceof L8))return new L8($);if(typeof $==="function"){this._callback=$;let Y=function(z){if(this._callback)this._callback(z),this._callback=null}.bind(this);this.on("pipe",function(z){z.on("error",Y)}),this.on("unpipe",function(z){z.removeListener("error",Y)}),$=null}kX._init.call(this,$),Ei.call(this)}DZ1(L8,Ei);Object.assign(L8.prototype,kX.prototype);L8.prototype._new=function(Y){return new L8(Y)};L8.prototype._write=function(Y,U,z){if(this._appendBuffer(Y),typeof z==="function")z()};L8.prototype._read=function(Y){if(!this.length)return this.push(null);Y=Math.min(Y,this.length),this.push(this.slice(0,Y)),this.consume(Y)};L8.prototype.end=function(Y){if(Ei.prototype.end.call(this,Y),this._callback)this._callback(null,this.slice()),this._callback=null};L8.prototype._destroy=function(Y,U){this._bufs.length=0,this.length=0,U(Y)};L8.prototype._isBufferList=function(Y){return Y instanceof L8||Y instanceof kX||L8.isBufferList(Y)};L8.isBufferList=kX.isBufferList;NA.exports=L8;NA.exports.BufferListStream=L8;NA.exports.BufferList=kX});var _i=E((SZ1)=>{var AZ1=Buffer.alloc,BZ1="0000000000000000000",PZ1="7777777777777777777",nV0=48,pV0=Buffer.from("ustar\x00","binary"),TZ1=Buffer.from("00","binary"),jZ1=Buffer.from("ustar ","binary"),EZ1=Buffer.from(" \x00","binary"),CZ1=parseInt("7777",8),xX=257,Ri=263,RZ1=function($,Y,U){if(typeof $!=="number")return U;if($=~~$,$>=Y)return Y;if($>=0)return $;if($+=Y,$>=0)return $;return 0},_Z1=function($){switch($){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null},vZ1=function($){switch($){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0},dV0=function($,Y,U,z){for(;UY)return PZ1.slice(0,Y)+" ";else return BZ1.slice(0,Y-$.length)+$+" "};function hZ1($){var Y;if($[0]===128)Y=!0;else if($[0]===255)Y=!1;else return null;var U=[];for(var z=$.length-1;z>0;z--){var Q=$[z];if(Y)U.push(Q);else U.push(255-Q)}var J=0,I=U.length;for(z=0;z=Math.pow(10,U))U++;return Y+U+$};SZ1.decodeLongPath=function($,Y){return jI($,0,$.length,Y)};SZ1.encodePax=function($){var Y="";if($.name)Y+=Ci(" path="+$.name+` +See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof T6))return new T6($,Y);if(DH1(this,$,Y),this.noprocess)return this;var U=this.minimatch.set.length;this.matches=Array(U);for(var z=0;zthis.maxLength)return!1;if(!this.stat&&Rb(this.cache,Y)){var I=this.cache[Y];if(Array.isArray(I))I="DIR";if(!U||I==="DIR")return I;if(U&&I==="FILE")return!1}var z,Q=this.statCache[Y];if(!Q){var J;try{J=this.fs.lstatSync(Y)}catch(K){if(K&&(K.code==="ENOENT"||K.code==="ENOTDIR"))return this.statCache[Y]=!1,!1}if(J&&J.isSymbolicLink())try{Q=this.fs.statSync(Y)}catch(K){Q=J}else Q=J}this.statCache[Y]=Q;var I=!0;if(Q)I=Q.isDirectory()?"DIR":"FILE";if(this.cache[Y]=this.cache[Y]||I,U&&I==="FILE")return!1;return I};T6.prototype._mark=function($){return kU.mark(this,$)};T6.prototype._makeAbs=function($){return kU.makeAbs(this,$)}});var _b=E((Ms1,RZ0)=>{RZ0.exports=CZ0;function CZ0($,Y){if($&&Y)return CZ0($)(Y);if(typeof $!=="function")throw TypeError("need wrapper function");return Object.keys($).forEach(function(z){U[z]=$[z]}),U;function U(){var z=Array(arguments.length);for(var Q=0;Q{var _Z0=_b();vb.exports=_Z0(UA);vb.exports.strict=_Z0(vZ0);UA.proto=UA(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return UA(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return vZ0(this)},configurable:!0})});function UA($){var Y=function(){if(Y.called)return Y.value;return Y.called=!0,Y.value=$.apply(this,arguments)};return Y.called=!1,Y}function vZ0($){var Y=function(){if(Y.called)throw Error(Y.onceError);return Y.called=!0,Y.value=$.apply(this,arguments)},U=$.name||"Function wrapped with `once`";return Y.onceError=U+" shouldn't be called more than once",Y.called=!1,Y}});var SZ0=E((Ns1,hZ0)=>{var PH1=_b(),BX=Object.create(null),TH1=zA();hZ0.exports=PH1(jH1);function jH1($,Y){if(BX[$])return BX[$].push(Y),null;else return BX[$]=[Y],EH1($)}function EH1($){return TH1(function Y(){var U=BX[$],z=U.length,Q=CH1(arguments);try{for(var J=0;Jz)U.splice(0,z),process.nextTick(function(){Y.apply(null,Q)});else delete BX[$]}})}function CH1($){var Y=$.length,U=[];for(var z=0;z{yZ0.exports=xU;var RH1=Nb(),gZ0=tD(),Ds1=gZ0.Minimatch,_H1=X1(),vH1=I0("events").EventEmitter,hb=I0("path"),Sb=I0("assert"),PX=$A(),yb=EZ0(),fU=Eb(),hH1=fU.setopts,gb=fU.ownProp,kb=SZ0(),As1=I0("util"),SH1=fU.childrenIgnored,gH1=fU.isIgnored,yH1=zA();function xU($,Y,U){if(typeof Y==="function")U=Y,Y={};if(!Y)Y={};if(Y.sync){if(U)throw TypeError("callback provided to sync glob");return yb($,Y)}return new K4($,Y,U)}xU.sync=yb;var kH1=xU.GlobSync=yb.GlobSync;xU.glob=xU;function xH1($,Y){if(Y===null||typeof Y!=="object")return $;var U=Object.keys(Y),z=U.length;while(z--)$[U[z]]=Y[U[z]];return $}xU.hasMagic=function($,Y){var U=xH1({},Y);U.noprocess=!0;var z=new K4($,U),Q=z.minimatch.set;if(!$)return!1;if(Q.length>1)return!0;for(var J=0;Jthis.maxLength)return Y();if(!this.stat&&gb(this.cache,U)){var Q=this.cache[U];if(Array.isArray(Q))Q="DIR";if(!z||Q==="DIR")return Y(null,Q);if(z&&Q==="FILE")return Y()}var J,I=this.statCache[U];if(I!==void 0)if(I===!1)return Y(null,I);else{var K=I.isDirectory()?"DIR":"FILE";if(z&&K==="FILE")return Y();else return Y(null,K,I)}var G=this,H=kb("stat\x00"+U,W);if(H)G.fs.lstat(U,H);function W(X,Z){if(Z&&Z.isSymbolicLink())return G.fs.stat(U,function(q,V){if(q)G._stat2($,U,null,Z,Y);else G._stat2($,U,q,V,Y)});else G._stat2($,U,X,Z,Y)}};K4.prototype._stat2=function($,Y,U,z,Q){if(U&&(U.code==="ENOENT"||U.code==="ENOTDIR"))return this.statCache[Y]=!1,Q();var J=$.slice(-1)==="/";if(this.statCache[Y]=z,Y.slice(-1)==="/"&&z&&!z.isDirectory())return Q(null,!1,z);var I=!0;if(z)I=z.isDirectory()?"DIR":"FILE";if(this.cache[Y]=this.cache[Y]||I,J&&I==="FILE")return Q();return Q(null,I,z)}});var uZ0=E((Ps1,fZ0)=>{var xZ0=l8(),MI=I0("path"),xb=zb(),uH1=Hb(),bH1=Lb(),iH1=Fb(),cH1=AX(),uU=fZ0.exports={},kZ0=/[\/\\]/g,nH1=function($,Y){var U=[];return xb($).forEach(function(z){var Q=z.indexOf("!")===0;if(Q)z=z.slice(1);var J=Y(z);if(Q)U=uH1(U,J);else U=bH1(U,J)}),U};uU.exists=function(){var $=MI.join.apply(MI,arguments);return xZ0.existsSync($)};uU.expand=function(...$){var Y=iH1($[0])?$.shift():{},U=Array.isArray($[0])?$[0]:$;if(U.length===0)return[];var z=nH1(U,function(Q){return cH1.sync(Q,Y)});if(Y.filter)z=z.filter(function(Q){Q=MI.join(Y.cwd||"",Q);try{if(typeof Y.filter==="function")return Y.filter(Q);else return xZ0.statSync(Q)[Y.filter]()}catch(J){return!1}});return z};uU.expandMapping=function($,Y,U){U=Object.assign({rename:function(J,I){return MI.join(J||"",I)}},U);var z=[],Q={};return uU.expand(U,$).forEach(function(J){var I=J;if(U.flatten)I=MI.basename(I);if(U.ext)I=I.replace(/(\.[^\/]*)?$/,U.ext);var K=U.rename(Y,I,U);if(U.cwd)J=MI.join(U.cwd,J);if(K=K.replace(kZ0,"/"),J=J.replace(kZ0,"/"),Q[K])Q[K].src.push(J);else z.push({src:[J],dest:K}),Q[K]=z[z.length-1]}),z};uU.normalizeFilesArray=function($){var Y=[];if($.forEach(function(U){var z;if("src"in U||"dest"in U)Y.push(U)}),Y.length===0)return[];return Y=_(Y).chain().forEach(function(U){if(!("src"in U)||!U.src)return;if(Array.isArray(U.src))U.src=xb(U.src);else U.src=[U.src]}).map(function(U){var z=Object.assign({},U);if(delete z.src,delete z.dest,U.expand)return uU.expandMapping(U.src,U.dest,z).map(function(J){var I=Object.assign({},U);return I.orig=Object.assign({},U),I.src=J.src,I.dest=J.dest,["expand","cwd","flatten","rename","ext"].forEach(function(K){delete I[K]}),I});var Q=Object.assign({},U);if(Q.orig=Object.assign({},U),"src"in Q)Object.defineProperty(Q,"src",{enumerable:!0,get:function J(){var I;if(!("result"in J))I=U.src,I=Array.isArray(I)?xb(I):[I],J.result=uU.expand(z,I);return J.result}});if("dest"in Q)Q.dest=U.dest;return Q}).flatten().value(),Y}});var TX=E((js1,cZ0)=>{var fb=l8(),bZ0=I0("path"),Ts1=I0("util"),pH1=hD(),iZ0=RU(),dH1=uu(),mH1=I0("stream").Stream,lH1=LX0().PassThrough,X$=cZ0.exports={};X$.file=uZ0();X$.collectStream=function($,Y){var U=[],z=0;$.on("error",Y),$.on("data",function(Q){U.push(Q),z+=Q.length}),$.on("end",function(){var Q=new Buffer(z),J=0;U.forEach(function(I){I.copy(Q,J),J+=I.length}),Y(null,Q)})};X$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};X$.defaults=function($,Y,U){var z=arguments;return z[0]=z[0]||{},dH1(...z)};X$.isStream=function($){return $ instanceof mH1};X$.lazyReadStream=function($){return new pH1.Readable(function(){return fb.createReadStream($)})};X$.normalizeInputSource=function($){if($===null)return new Buffer(0);else if(typeof $==="string")return new Buffer($);else if(X$.isStream($)&&!$._readableState){var Y=new lH1;return $.pipe(Y),Y}return $};X$.sanitizePath=function($){return iZ0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};X$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};X$.unixifyPath=function($){return iZ0($,!1).replace(/^\w+:/,"")};X$.walkdir=function($,Y,U){var z=[];if(typeof Y==="function")U=Y,Y=$;fb.readdir($,function(Q,J){var I=0,K,G;if(Q)return U(Q);(function H(){if(K=J[I++],!K)return U(null,z);G=bZ0.join($,K),fb.stat(G,function(W,X){if(z.push({path:G,relative:bZ0.relative(Y,G).replace(/\\/g,"/"),stats:X}),X&&X.isDirectory())X$.walkdir(G,Y,function(Z,q){q.forEach(function(V){z.push(V)}),H()});else H()})})()})}});var mZ0=E((pZ0,dZ0)=>{var oH1=I0("util"),rH1={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};function nZ0($,Y){Error.captureStackTrace(this,this.constructor),this.message=rH1[$]||$,this.code=$,this.data=Y}oH1.inherits(nZ0,Error);pZ0=dZ0.exports=nZ0});var aZ0=E((Es1,sZ0)=>{var ib=I0("fs"),oZ0=CH0(),lZ0=Lu(),ub=I0("path"),q9=TX(),sH1=I0("util").inherits,z6=mZ0(),rZ0=E8().Transform,bb=process.platform==="win32",a1=function($,Y){if(!(this instanceof a1))return new a1($,Y);if(typeof $!=="string")Y=$,$="zip";Y=this.options=q9.defaults(Y,{highWaterMark:1048576,statConcurrency:4}),rZ0.call(this,Y),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=lZ0.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=lZ0.queue(this._onStatQueueTask.bind(this),Y.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]};sH1(a1,rZ0);a1.prototype._abort=function(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()};a1.prototype._append=function($,Y){Y=Y||{};var U={source:null,filepath:$};if(!Y.name)Y.name=$;if(Y.sourcePath=$,U.data=Y,this._entriesCount++,Y.stats&&Y.stats instanceof ib.Stats){if(U=this._updateQueueTaskWithStats(U,Y.stats),U){if(Y.stats.size)this._fsEntriesTotalBytes+=Y.stats.size;this._queue.push(U)}}else this._statQueue.push(U)};a1.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0};a1.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return!1;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())return this._finalize(),!0;return!1};a1.prototype._moduleAppend=function($,Y,U){if(this._state.aborted){U();return}this._module.append($,Y,function(z){if(this._task=null,this._state.aborted){this._shutdown();return}if(z){this.emit("error",z),setImmediate(U);return}if(this.emit("entry",Y),this._entriesProcessedCount++,Y.stats&&Y.stats.size)this._fsEntriesProcessedBytes+=Y.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(U)}.bind(this))};a1.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function")this._module.finalize();else if(typeof this._module.end==="function")this._module.end();else this.emit("error",new z6("NOENDMETHOD"))};a1.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0};a1.prototype._moduleSupports=function($){if(!this._module.supports||!this._module.supports[$])return!1;return this._module.supports[$]};a1.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1};a1.prototype._normalizeEntryData=function($,Y){if($=q9.defaults($,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),Y&&$.stats===!1)$.stats=Y;var U=$.type==="directory";if($.name){if(typeof $.prefix==="string"&&$.prefix!=="")$.name=$.prefix+"/"+$.name,$.prefix=null;if($.name=q9.sanitizePath($.name),$.type!=="symlink"&&$.name.slice(-1)==="/")U=!0,$.type="directory";else if(U)$.name+="/"}if(typeof $.mode==="number")if(bb)$.mode&=511;else $.mode&=4095;else if($.stats&&$.mode===null){if(bb)$.mode=$.stats.mode&511;else $.mode=$.stats.mode&4095;if(bb&&U)$.mode=493}else if($.mode===null)$.mode=U?493:420;if($.stats&&$.date===null)$.date=$.stats.mtime;else $.date=q9.dateify($.date);return $};a1.prototype._onModuleError=function($){this.emit("error",$)};a1.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize()};a1.prototype._onQueueTask=function($,Y){var U=()=>{if($.data.callback)$.data.callback();Y()};if(this._state.finalizing||this._state.finalized||this._state.aborted){U();return}this._task=$,this._moduleAppend($.source,$.data,U)};a1.prototype._onStatQueueTask=function($,Y){if(this._state.finalizing||this._state.finalized||this._state.aborted){Y();return}ib.lstat($.filepath,function(U,z){if(this._state.aborted){setImmediate(Y);return}if(U){this._entriesCount--,this.emit("warning",U),setImmediate(Y);return}if($=this._updateQueueTaskWithStats($,z),$){if(z.size)this._fsEntriesTotalBytes+=z.size;this._queue.push($)}setImmediate(Y)}.bind(this))};a1.prototype._shutdown=function(){this._moduleUnpipe(),this.end()};a1.prototype._transform=function($,Y,U){if($)this._pointer+=$.length;U(null,$)};a1.prototype._updateQueueTaskWithStats=function($,Y){if(Y.isFile())$.data.type="file",$.data.sourceType="stream",$.source=q9.lazyReadStream($.filepath);else if(Y.isDirectory()&&this._moduleSupports("directory"))$.data.name=q9.trailingSlashIt($.data.name),$.data.type="directory",$.data.sourcePath=q9.trailingSlashIt($.filepath),$.data.sourceType="buffer",$.source=Buffer.concat([]);else if(Y.isSymbolicLink()&&this._moduleSupports("symlink")){var U=ib.readlinkSync($.filepath),z=ub.dirname($.filepath);$.data.type="symlink",$.data.linkname=ub.relative(z,ub.resolve(z,U)),$.data.sourceType="buffer",$.source=Buffer.concat([])}else{if(Y.isDirectory())this.emit("warning",new z6("DIRECTORYNOTSUPPORTED",$.data));else if(Y.isSymbolicLink())this.emit("warning",new z6("SYMLINKNOTSUPPORTED",$.data));else this.emit("warning",new z6("ENTRYNOTSUPPORTED",$.data));return null}return $.data=this._normalizeEntryData($.data,Y),$};a1.prototype.abort=function(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this};a1.prototype.append=function($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new z6("QUEUECLOSED")),this;if(Y=this._normalizeEntryData(Y),typeof Y.name!=="string"||Y.name.length===0)return this.emit("error",new z6("ENTRYNAMEREQUIRED")),this;if(Y.type==="directory"&&!this._moduleSupports("directory"))return this.emit("error",new z6("DIRECTORYNOTSUPPORTED",{name:Y.name})),this;if($=q9.normalizeInputSource($),Buffer.isBuffer($))Y.sourceType="buffer";else if(q9.isStream($))Y.sourceType="stream";else return this.emit("error",new z6("INPUTSTEAMBUFFERREQUIRED",{name:Y.name})),this;return this._entriesCount++,this._queue.push({data:Y,source:$}),this};a1.prototype.directory=function($,Y,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new z6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new z6("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,Y===!1)Y="";else if(typeof Y!=="string")Y=$;var z=!1;if(typeof U==="function")z=U,U={};else if(typeof U!=="object")U={};var Q={stat:!0,dot:!0};function J(){this._pending--,this._maybeFinalize()}function I(H){this.emit("error",H)}function K(H){G.pause();var W=!1,X=Object.assign({},U);X.name=H.relative,X.prefix=Y,X.stats=H.stat,X.callback=G.resume.bind(G);try{if(z){if(X=z(X),X===!1)W=!0;else if(typeof X!=="object")throw new z6("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:$})}}catch(Z){this.emit("error",Z);return}if(W){G.resume();return}this._append(H.absolute,X)}var G=oZ0($,Q);return G.on("error",I.bind(this)),G.on("match",K.bind(this)),G.on("end",J.bind(this)),this};a1.prototype.file=function($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new z6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new z6("FILEFILEPATHREQUIRED")),this;return this._append($,Y),this};a1.prototype.glob=function($,Y,U){this._pending++,Y=q9.defaults(Y,{stat:!0,pattern:$});function z(){this._pending--,this._maybeFinalize()}function Q(K){this.emit("error",K)}function J(K){I.pause();var G=Object.assign({},U);G.callback=I.resume.bind(I),G.stats=K.stat,G.name=K.relative,this._append(K.absolute,G)}var I=oZ0(Y.cwd||".",Y);return I.on("error",Q.bind(this)),I.on("match",J.bind(this)),I.on("end",z.bind(this)),this};a1.prototype.finalize=function(){if(this._state.aborted){var $=new z6("ABORTED");return this.emit("error",$),Promise.reject($)}if(this._state.finalize){var Y=new z6("FINALIZING");return this.emit("error",Y),Promise.reject(Y)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var U=this;return new Promise(function(z,Q){var J;U._module.on("end",function(){if(!J)z()}),U._module.on("error",function(I){J=!0,Q(I)})})};a1.prototype.setFormat=function($){if(this._format)return this.emit("error",new z6("FORMATSET")),this;return this._format=$,this};a1.prototype.setModule=function($){if(this._state.aborted)return this.emit("error",new z6("ABORTED")),this;if(this._state.module)return this.emit("error",new z6("MODULESET")),this;return this._module=$,this._modulePipe(),this};a1.prototype.symlink=function($,Y,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new z6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new z6("SYMLINKFILEPATHREQUIRED")),this;if(typeof Y!=="string"||Y.length===0)return this.emit("error",new z6("SYMLINKTARGETREQUIRED",{filepath:$})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new z6("SYMLINKNOTSUPPORTED",{filepath:$})),this;var z={};if(z.type="symlink",z.name=$.replace(/\\/g,"/"),z.linkname=Y.replace(/\\/g,"/"),z.sourceType="buffer",typeof U==="number")z.mode=U;return this._entriesCount++,this._queue.push({data:z,source:Buffer.concat([])}),this};a1.prototype.pointer=function(){return this._pointer};a1.prototype.use=function($){return this._streams.push($),this};sZ0.exports=a1});var JA=E((Cs1,tZ0)=>{var QA=tZ0.exports=function(){};QA.prototype.getName=function(){};QA.prototype.getSize=function(){};QA.prototype.getLastModifiedDate=function(){};QA.prototype.isDirectory=function(){}});var IA=E((Rs1,eZ0)=>{var g$=eZ0.exports={};g$.dateToDos=function($,Y){Y=Y||!1;var U=Y?$.getFullYear():$.getUTCFullYear();if(U<1980)return 2162688;else if(U>=2044)return 2141175677;var z={year:U,month:Y?$.getMonth():$.getUTCMonth(),date:Y?$.getDate():$.getUTCDate(),hours:Y?$.getHours():$.getUTCHours(),minutes:Y?$.getMinutes():$.getUTCMinutes(),seconds:Y?$.getSeconds():$.getUTCSeconds()};return z.year-1980<<25|z.month+1<<21|z.date<<16|z.hours<<11|z.minutes<<5|z.seconds/2};g$.dosToDate=function($){return new Date(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1)};g$.fromDosTime=function($){return g$.dosToDate($.readUInt32LE(0))};g$.getEightBytes=function($){var Y=Buffer.alloc(8);return Y.writeUInt32LE($%4294967296,0),Y.writeUInt32LE($/4294967296|0,4),Y};g$.getShortBytes=function($){var Y=Buffer.alloc(2);return Y.writeUInt16LE(($&65535)>>>0,0),Y};g$.getShortBytesValue=function($,Y){return $.readUInt16LE(Y)};g$.getLongBytes=function($){var Y=Buffer.alloc(4);return Y.writeUInt32LE(($&4294967295)>>>0,0),Y};g$.getLongBytesValue=function($,Y){return $.readUInt32LE(Y)};g$.toDosTime=function($){return g$.getLongBytes(g$.dateToDos($))}});var cb=E((_s1,Jq0)=>{var $q0=IA(),Yq0=8,Uq0=1,aH1=4,tH1=2,zq0=64,Qq0=2048,e6=Jq0.exports=function(){if(!(this instanceof e6))return new e6;return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this};e6.prototype.encode=function(){return $q0.getShortBytes((this.descriptor?Yq0:0)|(this.utf8?Qq0:0)|(this.encryption?Uq0:0)|(this.strongEncryption?zq0:0))};e6.prototype.parse=function($,Y){var U=$q0.getShortBytesValue($,Y),z=new e6;return z.useDataDescriptor((U&Yq0)!==0),z.useUTF8ForNames((U&Qq0)!==0),z.useStrongEncryption((U&zq0)!==0),z.useEncryption((U&Uq0)!==0),z.setSlidingDictionarySize((U&tH1)!==0?8192:4096),z.setNumberOfShannonFanoTrees((U&aH1)!==0?3:2),z};e6.prototype.setNumberOfShannonFanoTrees=function($){this.numberOfShannonFanoTrees=$};e6.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};e6.prototype.setSlidingDictionarySize=function($){this.slidingDictionarySize=$};e6.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};e6.prototype.useDataDescriptor=function($){this.descriptor=$};e6.prototype.usesDataDescriptor=function(){return this.descriptor};e6.prototype.useEncryption=function($){this.encryption=$};e6.prototype.usesEncryption=function(){return this.encryption};e6.prototype.useStrongEncryption=function($){this.strongEncryption=$};e6.prototype.usesStrongEncryption=function(){return this.strongEncryption};e6.prototype.useUTF8ForNames=function($){this.utf8=$};e6.prototype.usesUTF8ForNames=function(){return this.utf8}});var Kq0=E((vs1,Iq0)=>{Iq0.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var nb=E((hs1,Gq0)=>{Gq0.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}});var pb=E((Ss1,qq0)=>{var eH1=I0("util").inherits,$W1=RU(),Wq0=JA(),Xq0=cb(),Hq0=Kq0(),_8=nb(),Zq0=IA(),R1=qq0.exports=function($){if(!(this instanceof R1))return new R1($);if(Wq0.call(this),this.platform=_8.PLATFORM_FAT,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new Xq0,this.crc=0,this.time=-1,this.minver=_8.MIN_VERSION_INITIAL,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,$)this.setName($)};eH1(R1,Wq0);R1.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};R1.prototype.getComment=function(){return this.comment!==null?this.comment:""};R1.prototype.getCompressedSize=function(){return this.csize};R1.prototype.getCrc=function(){return this.crc};R1.prototype.getExternalAttributes=function(){return this.exattr};R1.prototype.getExtra=function(){return this.extra!==null?this.extra:_8.EMPTY};R1.prototype.getGeneralPurposeBit=function(){return this.gpb};R1.prototype.getInternalAttributes=function(){return this.inattr};R1.prototype.getLastModifiedDate=function(){return this.getTime()};R1.prototype.getLocalFileDataExtra=function(){return this.getExtra()};R1.prototype.getMethod=function(){return this.method};R1.prototype.getName=function(){return this.name};R1.prototype.getPlatform=function(){return this.platform};R1.prototype.getSize=function(){return this.size};R1.prototype.getTime=function(){return this.time!==-1?Zq0.dosToDate(this.time):-1};R1.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};R1.prototype.getUnixMode=function(){return this.platform!==_8.PLATFORM_UNIX?0:this.getExternalAttributes()>>_8.SHORT_SHIFT&_8.SHORT_MASK};R1.prototype.getVersionNeededToExtract=function(){return this.minver};R1.prototype.setComment=function($){if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=$};R1.prototype.setCompressedSize=function($){if($<0)throw Error("invalid entry compressed size");this.csize=$};R1.prototype.setCrc=function($){if($<0)throw Error("invalid entry crc32");this.crc=$};R1.prototype.setExternalAttributes=function($){this.exattr=$>>>0};R1.prototype.setExtra=function($){this.extra=$};R1.prototype.setGeneralPurposeBit=function($){if(!($ instanceof Xq0))throw Error("invalid entry GeneralPurposeBit");this.gpb=$};R1.prototype.setInternalAttributes=function($){this.inattr=$};R1.prototype.setMethod=function($){if($<0)throw Error("invalid entry compression method");this.method=$};R1.prototype.setName=function($,Y=!1){if($=$W1($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),Y)$=`/${$}`;if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=$};R1.prototype.setPlatform=function($){this.platform=$};R1.prototype.setSize=function($){if($<0)throw Error("invalid entry size");this.size=$};R1.prototype.setTime=function($,Y){if(!($ instanceof Date))throw Error("invalid entry time");this.time=Zq0.dateToDos($,Y)};R1.prototype.setUnixMode=function($){$|=this.isDirectory()?_8.S_IFDIR:_8.S_IFREG;var Y=0;Y|=$<<_8.SHORT_SHIFT|(this.isDirectory()?_8.S_DOS_D:_8.S_DOS_A),this.setExternalAttributes(Y),this.mode=$&_8.MODE_MASK,this.platform=_8.PLATFORM_UNIX};R1.prototype.setVersionNeededToExtract=function($){this.minver=$};R1.prototype.isDirectory=function(){return this.getName().slice(-1)==="/"};R1.prototype.isUnixSymlink=function(){return(this.getUnixMode()&Hq0.FILE_TYPE_FLAG)===Hq0.LINK_FLAG};R1.prototype.isZip64=function(){return this.csize>_8.ZIP64_MAGIC||this.size>_8.ZIP64_MAGIC}});var mb=E((gs1,Vq0)=>{var YW1=I0("stream").Stream,UW1=E8().PassThrough,db=Vq0.exports={};db.isStream=function($){return $ instanceof YW1};db.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(db.isStream($)&&!$._readableState){var Y=new UW1;return $.pipe(Y),Y}return $}});var ob=E((ys1,Fq0)=>{var zW1=I0("util").inherits,lb=E8().Transform,QW1=JA(),Lq0=mb(),Z$=Fq0.exports=function($){if(!(this instanceof Z$))return new Z$($);lb.call(this,$),this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}};zW1(Z$,lb);Z$.prototype._appendBuffer=function($,Y,U){};Z$.prototype._appendStream=function($,Y,U){};Z$.prototype._emitErrorCallback=function($){if($)this.emit("error",$)};Z$.prototype._finish=function($){};Z$.prototype._normalizeEntry=function($){};Z$.prototype._transform=function($,Y,U){U(null,$)};Z$.prototype.entry=function($,Y,U){if(Y=Y||null,typeof U!=="function")U=this._emitErrorCallback.bind(this);if(!($ instanceof QW1)){U(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){U(Error("unacceptable entry after finish"));return}if(this._archive.processing){U(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry($),this._entry=$,Y=Lq0.normalizeInputSource(Y),Buffer.isBuffer(Y))this._appendBuffer($,Y,U);else if(Lq0.isStream(Y))this._appendStream($,Y,U);else{this._archive.processing=!1,U(Error("input source must be valid Stream or Buffer instance"));return}return this};Z$.prototype.finish=function(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()};Z$.prototype.getBytesWritten=function(){return this.offset};Z$.prototype.write=function($,Y){if($)this.offset+=$.length;return lb.prototype.write.call(this,$,Y)}});var tb=E((ks1,Mq0)=>{var F2=I0("buffer").Buffer,rb=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];if(typeof Int32Array<"u")rb=new Int32Array(rb);function wq0($){if(F2.isBuffer($))return $;var Y=typeof F2.alloc==="function"&&typeof F2.from==="function";if(typeof $==="number")return Y?F2.alloc($):new F2($);else if(typeof $==="string")return Y?F2.from($):new F2($);else throw Error("input must be buffer, number, or string, received "+typeof $)}function JW1($){var Y=wq0(4);return Y.writeInt32BE($,0),Y}function sb($,Y){if($=wq0($),F2.isBuffer(Y))Y=Y.readUInt32BE(0);var U=~~Y^-1;for(var z=0;z<$.length;z++)U=rb[(U^$[z])&255]^U>>>8;return U^-1}function ab(){return JW1(sb.apply(null,arguments))}ab.signed=function(){return sb.apply(null,arguments)};ab.unsigned=function(){return sb.apply(null,arguments)>>>0};Mq0.exports=ab});var OI=E((eb)=>{/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */var Oq0;(function($){if(typeof DO_NOT_EXPORT_CRC>"u")if(typeof eb==="object")$(eb);else if(typeof define==="function"&&define.amd)define(function(){var Y={};return $(Y),Y});else $(Oq0={});else $(Oq0={})})(function($){$.version="1.2.2";function Y(){var A=0,j=Array(256);for(var C=0;C!=256;++C)A=C,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,A=A&1?-306674912^A>>>1:A>>>1,j[C]=A;return typeof Int32Array<"u"?new Int32Array(j):j}var U=Y();function z(A){var j=0,C=0,b=0,x=typeof Int32Array<"u"?new Int32Array(4096):Array(4096);for(b=0;b!=256;++b)x[b]=A[b];for(b=0;b!=256;++b){C=A[b];for(j=256+b;j<4096;j+=256)C=x[j]=C>>>8^A[C&255]}var S=[];for(b=1;b!=16;++b)S[b-1]=typeof Int32Array<"u"?x.subarray(b*256,b*256+256):x.slice(b*256,b*256+256);return S}var Q=z(U),J=Q[0],I=Q[1],K=Q[2],G=Q[3],H=Q[4],W=Q[5],X=Q[6],Z=Q[7],q=Q[8],V=Q[9],F=Q[10],M=Q[11],w=Q[12],N=Q[13],O=Q[14];function D(A,j){var C=j^-1;for(var b=0,x=A.length;b>>8^U[(C^A.charCodeAt(b++))&255];return~C}function P(A,j){var C=j^-1,b=A.length-15,x=0;for(;x>8&255]^w[A[x++]^C>>16&255]^M[A[x++]^C>>>24]^F[A[x++]]^V[A[x++]]^q[A[x++]]^Z[A[x++]]^X[A[x++]]^W[A[x++]]^H[A[x++]]^G[A[x++]]^K[A[x++]]^I[A[x++]]^J[A[x++]]^U[A[x++]];b+=15;while(x>>8^U[(C^A[x++])&255];return~C}function T(A,j){var C=j^-1;for(var b=0,x=A.length,S=0,i=0;b>>8^U[(C^S)&255];else if(S<2048)C=C>>>8^U[(C^(192|S>>6&31))&255],C=C>>>8^U[(C^(128|S&63))&255];else if(S>=55296&&S<57344)S=(S&1023)+64,i=A.charCodeAt(b++)&1023,C=C>>>8^U[(C^(240|S>>8&7))&255],C=C>>>8^U[(C^(128|S>>2&63))&255],C=C>>>8^U[(C^(128|i>>6&15|(S&3)<<4))&255],C=C>>>8^U[(C^(128|i&63))&255];else C=C>>>8^U[(C^(224|S>>12&15))&255],C=C>>>8^U[(C^(128|S>>6&63))&255],C=C>>>8^U[(C^(128|S&63))&255];return~C}$.table=U,$.bstr=D,$.buf=P,$.str=T})});var Aq0=E((fs1,Dq0)=>{var{Transform:IW1}=E8(),KW1=OI();class Nq0 extends IW1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform($,Y,U){if($)this.checksum=KW1.buf($,this.checksum)>>>0,this.rawSize+=$.length;U(null,$)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}Dq0.exports=Nq0});var Tq0=E((us1,Pq0)=>{var{DeflateRaw:GW1}=I0("zlib"),HW1=OI();class Bq0 extends GW1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push($,Y){if($)this.compressedSize+=$.length;return super.push($,Y)}_transform($,Y,U){if($)this.checksum=HW1.buf($,this.checksum)>>>0,this.rawSize+=$.length;super._transform($,Y,U)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size($=!1){if($)return this.compressedSize;else return this.rawSize}}Pq0.exports=Bq0});var $i=E((bs1,jq0)=>{jq0.exports={CRC32Stream:Aq0(),DeflateCRC32Stream:Tq0()}});var Rq0=E((ps1,Cq0)=>{var WW1=I0("util").inherits,XW1=tb(),{CRC32Stream:ZW1}=$i(),{DeflateCRC32Stream:qW1}=$i(),Eq0=ob(),is1=pb(),cs1=cb(),O1=nb(),ns1=mb(),K1=IA(),g6=Cq0.exports=function($){if(!(this instanceof g6))return new g6($);$=this.options=this._defaults($),Eq0.call(this,$),this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:$.forceZip64,forceLocalTime:$.forceLocalTime}};WW1(g6,Eq0);g6.prototype._afterAppend=function($){if(this._entries.push($),$.getGeneralPurposeBit().usesDataDescriptor())this._writeDataDescriptor($);if(this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished)this._finish()};g6.prototype._appendBuffer=function($,Y,U){if(Y.length===0)$.setMethod(O1.METHOD_STORED);var z=$.getMethod();if(z===O1.METHOD_STORED)$.setSize(Y.length),$.setCompressedSize(Y.length),$.setCrc(XW1.unsigned(Y));if(this._writeLocalFileHeader($),z===O1.METHOD_STORED){this.write(Y),this._afterAppend($),U(null,$);return}else if(z===O1.METHOD_DEFLATED){this._smartStream($,U).end(Y);return}else{U(Error("compression method "+z+" not implemented"));return}};g6.prototype._appendStream=function($,Y,U){$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(O1.MIN_VERSION_DATA_DESCRIPTOR),this._writeLocalFileHeader($);var z=this._smartStream($,U);Y.once("error",function(Q){z.emit("error",Q),z.end()}),Y.pipe(z)};g6.prototype._defaults=function($){if(typeof $!=="object")$={};if(typeof $.zlib!=="object")$.zlib={};if(typeof $.zlib.level!=="number")$.zlib.level=O1.ZLIB_BEST_SPEED;return $.forceZip64=!!$.forceZip64,$.forceLocalTime=!!$.forceLocalTime,$};g6.prototype._finish=function(){if(this._archive.centralOffset=this.offset,this._entries.forEach(function($){this._writeCentralFileHeader($)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64())this._writeCentralDirectoryZip64();this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()};g6.prototype._normalizeEntry=function($){if($.getMethod()===-1)$.setMethod(O1.METHOD_DEFLATED);if($.getMethod()===O1.METHOD_DEFLATED)$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(O1.MIN_VERSION_DATA_DESCRIPTOR);if($.getTime()===-1)$.setTime(new Date,this._archive.forceLocalTime);$._offsets={file:0,data:0,contents:0}};g6.prototype._smartStream=function($,Y){var U=$.getMethod()===O1.METHOD_DEFLATED,z=U?new qW1(this.options.zlib):new ZW1,Q=null;function J(){var I=z.digest().readUInt32BE(0);$.setCrc(I),$.setSize(z.size()),$.setCompressedSize(z.size(!0)),this._afterAppend($),Y(Q,$)}return z.once("end",J.bind(this)),z.once("error",function(I){Q=I}),z.pipe(this,{end:!1}),z};g6.prototype._writeCentralDirectoryEnd=function(){var $=this._entries.length,Y=this._archive.centralLength,U=this._archive.centralOffset;if(this.isZip64())$=O1.ZIP64_MAGIC_SHORT,Y=O1.ZIP64_MAGIC,U=O1.ZIP64_MAGIC;this.write(K1.getLongBytes(O1.SIG_EOCD)),this.write(O1.SHORT_ZERO),this.write(O1.SHORT_ZERO),this.write(K1.getShortBytes($)),this.write(K1.getShortBytes($)),this.write(K1.getLongBytes(Y)),this.write(K1.getLongBytes(U));var z=this.getComment(),Q=Buffer.byteLength(z);this.write(K1.getShortBytes(Q)),this.write(z)};g6.prototype._writeCentralDirectoryZip64=function(){this.write(K1.getLongBytes(O1.SIG_ZIP64_EOCD)),this.write(K1.getEightBytes(44)),this.write(K1.getShortBytes(O1.MIN_VERSION_ZIP64)),this.write(K1.getShortBytes(O1.MIN_VERSION_ZIP64)),this.write(O1.LONG_ZERO),this.write(O1.LONG_ZERO),this.write(K1.getEightBytes(this._entries.length)),this.write(K1.getEightBytes(this._entries.length)),this.write(K1.getEightBytes(this._archive.centralLength)),this.write(K1.getEightBytes(this._archive.centralOffset)),this.write(K1.getLongBytes(O1.SIG_ZIP64_EOCD_LOC)),this.write(O1.LONG_ZERO),this.write(K1.getEightBytes(this._archive.centralOffset+this._archive.centralLength)),this.write(K1.getLongBytes(1))};g6.prototype._writeCentralFileHeader=function($){var Y=$.getGeneralPurposeBit(),U=$.getMethod(),z=$._offsets,Q=$.getSize(),J=$.getCompressedSize();if($.isZip64()||z.file>O1.ZIP64_MAGIC){Q=O1.ZIP64_MAGIC,J=O1.ZIP64_MAGIC,$.setVersionNeededToExtract(O1.MIN_VERSION_ZIP64);var I=Buffer.concat([K1.getShortBytes(O1.ZIP64_EXTRA_ID),K1.getShortBytes(24),K1.getEightBytes($.getSize()),K1.getEightBytes($.getCompressedSize()),K1.getEightBytes(z.file)],28);$.setExtra(I)}this.write(K1.getLongBytes(O1.SIG_CFH)),this.write(K1.getShortBytes($.getPlatform()<<8|O1.VERSION_MADEBY)),this.write(K1.getShortBytes($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(K1.getShortBytes(U)),this.write(K1.getLongBytes($.getTimeDos())),this.write(K1.getLongBytes($.getCrc())),this.write(K1.getLongBytes(J)),this.write(K1.getLongBytes(Q));var K=$.getName(),G=$.getComment(),H=$.getCentralDirectoryExtra();if(Y.usesUTF8ForNames())K=Buffer.from(K),G=Buffer.from(G);if(this.write(K1.getShortBytes(K.length)),this.write(K1.getShortBytes(H.length)),this.write(K1.getShortBytes(G.length)),this.write(O1.SHORT_ZERO),this.write(K1.getShortBytes($.getInternalAttributes())),this.write(K1.getLongBytes($.getExternalAttributes())),z.file>O1.ZIP64_MAGIC)this.write(K1.getLongBytes(O1.ZIP64_MAGIC));else this.write(K1.getLongBytes(z.file));this.write(K),this.write(H),this.write(G)};g6.prototype._writeDataDescriptor=function($){if(this.write(K1.getLongBytes(O1.SIG_DD)),this.write(K1.getLongBytes($.getCrc())),$.isZip64())this.write(K1.getEightBytes($.getCompressedSize())),this.write(K1.getEightBytes($.getSize()));else this.write(K1.getLongBytes($.getCompressedSize())),this.write(K1.getLongBytes($.getSize()))};g6.prototype._writeLocalFileHeader=function($){var Y=$.getGeneralPurposeBit(),U=$.getMethod(),z=$.getName(),Q=$.getLocalFileDataExtra();if($.isZip64())Y.useDataDescriptor(!0),$.setVersionNeededToExtract(O1.MIN_VERSION_ZIP64);if(Y.usesUTF8ForNames())z=Buffer.from(z);if($._offsets.file=this.offset,this.write(K1.getLongBytes(O1.SIG_LFH)),this.write(K1.getShortBytes($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(K1.getShortBytes(U)),this.write(K1.getLongBytes($.getTimeDos())),$._offsets.data=this.offset,Y.usesDataDescriptor())this.write(O1.LONG_ZERO),this.write(O1.LONG_ZERO),this.write(O1.LONG_ZERO);else this.write(K1.getLongBytes($.getCrc())),this.write(K1.getLongBytes($.getCompressedSize())),this.write(K1.getLongBytes($.getSize()));this.write(K1.getShortBytes(z.length)),this.write(K1.getShortBytes(Q.length)),this.write(z),this.write(Q),$._offsets.contents=this.offset};g6.prototype.getComment=function($){return this._archive.comment!==null?this._archive.comment:""};g6.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>O1.ZIP64_MAGIC_SHORT||this._archive.centralLength>O1.ZIP64_MAGIC||this._archive.centralOffset>O1.ZIP64_MAGIC};g6.prototype.setComment=function($){this._archive.comment=$}});var Yi=E((ds1,_q0)=>{_q0.exports={ArchiveEntry:JA(),ZipArchiveEntry:pb(),ArchiveOutputStream:ob(),ZipArchiveOutputStream:Rq0()}});var gq0=E((ms1,Sq0)=>{var hq0=l8(),NI=I0("path"),Ui=zb(),VW1=Hb(),LW1=Lb(),FW1=Fb(),wW1=AX(),bU=Sq0.exports={},vq0=/[\/\\]/g,MW1=function($,Y){var U=[];return Ui($).forEach(function(z){var Q=z.indexOf("!")===0;if(Q)z=z.slice(1);var J=Y(z);if(Q)U=VW1(U,J);else U=LW1(U,J)}),U};bU.exists=function(){var $=NI.join.apply(NI,arguments);return hq0.existsSync($)};bU.expand=function(...$){var Y=FW1($[0])?$.shift():{},U=Array.isArray($[0])?$[0]:$;if(U.length===0)return[];var z=MW1(U,function(Q){return wW1.sync(Q,Y)});if(Y.filter)z=z.filter(function(Q){Q=NI.join(Y.cwd||"",Q);try{if(typeof Y.filter==="function")return Y.filter(Q);else return hq0.statSync(Q)[Y.filter]()}catch(J){return!1}});return z};bU.expandMapping=function($,Y,U){U=Object.assign({rename:function(J,I){return NI.join(J||"",I)}},U);var z=[],Q={};return bU.expand(U,$).forEach(function(J){var I=J;if(U.flatten)I=NI.basename(I);if(U.ext)I=I.replace(/(\.[^\/]*)?$/,U.ext);var K=U.rename(Y,I,U);if(U.cwd)J=NI.join(U.cwd,J);if(K=K.replace(vq0,"/"),J=J.replace(vq0,"/"),Q[K])Q[K].src.push(J);else z.push({src:[J],dest:K}),Q[K]=z[z.length-1]}),z};bU.normalizeFilesArray=function($){var Y=[];if($.forEach(function(U){var z;if("src"in U||"dest"in U)Y.push(U)}),Y.length===0)return[];return Y=_(Y).chain().forEach(function(U){if(!("src"in U)||!U.src)return;if(Array.isArray(U.src))U.src=Ui(U.src);else U.src=[U.src]}).map(function(U){var z=Object.assign({},U);if(delete z.src,delete z.dest,U.expand)return bU.expandMapping(U.src,U.dest,z).map(function(J){var I=Object.assign({},U);return I.orig=Object.assign({},U),I.src=J.src,I.dest=J.dest,["expand","cwd","flatten","rename","ext"].forEach(function(K){delete I[K]}),I});var Q=Object.assign({},U);if(Q.orig=Object.assign({},U),"src"in Q)Object.defineProperty(Q,"src",{enumerable:!0,get:function J(){var I;if(!("result"in J))I=U.src,I=Array.isArray(I)?Ui(I):[I],J.result=bU.expand(z,I);return J.result}});if("dest"in Q)Q.dest=U.dest;return Q}).flatten().value(),Y}});var fq0=E((ls1,xq0)=>{var zi=l8(),yq0=I0("path"),OW1=hD(),kq0=RU(),NW1=uu(),DW1=I0("stream").Stream,AW1=E8().PassThrough,q$=xq0.exports={};q$.file=gq0();q$.collectStream=function($,Y){var U=[],z=0;$.on("error",Y),$.on("data",function(Q){U.push(Q),z+=Q.length}),$.on("end",function(){var Q=Buffer.alloc(z),J=0;U.forEach(function(I){I.copy(Q,J),J+=I.length}),Y(null,Q)})};q$.dateify=function($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $};q$.defaults=function($,Y,U){var z=arguments;return z[0]=z[0]||{},NW1(...z)};q$.isStream=function($){return $ instanceof DW1};q$.lazyReadStream=function($){return new OW1.Readable(function(){return zi.createReadStream($)})};q$.normalizeInputSource=function($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(q$.isStream($))return $.pipe(new AW1);return $};q$.sanitizePath=function($){return kq0($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};q$.trailingSlashIt=function($){return $.slice(-1)!=="/"?$+"/":$};q$.unixifyPath=function($){return kq0($,!1).replace(/^\w+:/,"")};q$.walkdir=function($,Y,U){var z=[];if(typeof Y==="function")U=Y,Y=$;zi.readdir($,function(Q,J){var I=0,K,G;if(Q)return U(Q);(function H(){if(K=J[I++],!K)return U(null,z);G=yq0.join($,K),zi.stat(G,function(W,X){if(z.push({path:G,relative:yq0.relative(Y,G).replace(/\\/g,"/"),stats:X}),X&&X.isDirectory())q$.walkdir(G,Y,function(Z,q){q.forEach(function(V){z.push(V)}),H()});else H()})})()})}});var bq0=E((os1,uq0)=>{var BW1=I0("util").inherits,Ji=Yi().ZipArchiveOutputStream,PW1=Yi().ZipArchiveEntry,Qi=fq0(),DI=uq0.exports=function($){if(!(this instanceof DI))return new DI($);if($=this.options=$||{},$.zlib=$.zlib||{},Ji.call(this,$),typeof $.level==="number"&&$.level>=0)$.zlib.level=$.level,delete $.level;if(!$.forceZip64&&typeof $.zlib.level==="number"&&$.zlib.level===0)$.store=!0;if($.namePrependSlash=$.namePrependSlash||!1,$.comment&&$.comment.length>0)this.setComment($.comment)};BW1(DI,Ji);DI.prototype._normalizeFileData=function($){$=Qi.defaults($,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var Y=$.type==="directory",U=$.type==="symlink";if($.name){if($.name=Qi.sanitizePath($.name),!U&&$.name.slice(-1)==="/")Y=!0,$.type="directory";else if(Y)$.name+="/"}if(Y||U)$.store=!0;return $.date=Qi.dateify($.date),$};DI.prototype.entry=function($,Y,U){if(typeof U!=="function")U=this._emitErrorCallback.bind(this);if(Y=this._normalizeFileData(Y),Y.type!=="file"&&Y.type!=="directory"&&Y.type!=="symlink"){U(Error(Y.type+" entries not currently supported"));return}if(typeof Y.name!=="string"||Y.name.length===0){U(Error("entry name must be a non-empty string value"));return}if(Y.type==="symlink"&&typeof Y.linkname!=="string"){U(Error("entry linkname must be a non-empty string value when type equals symlink"));return}var z=new PW1(Y.name);if(z.setTime(Y.date,this.options.forceLocalTime),Y.namePrependSlash)z.setName(Y.name,!0);if(Y.store)z.setMethod(0);if(Y.comment.length>0)z.setComment(Y.comment);if(Y.type==="symlink"&&typeof Y.mode!=="number")Y.mode=40960;if(typeof Y.mode==="number"){if(Y.type==="symlink")Y.mode|=40960;z.setUnixMode(Y.mode)}if(Y.type==="symlink"&&typeof Y.linkname==="string")$=Buffer.from(Y.linkname);return Ji.prototype.entry.call(this,z,$,U)};DI.prototype.finalize=function(){this.finish()}});var cq0=E((rs1,iq0)=>{var TW1=bq0(),jW1=TX(),w2=function($){if(!(this instanceof w2))return new w2($);$=this.options=jW1.defaults($,{comment:"",forceUTC:!1,namePrependSlash:!1,store:!1}),this.supports={directory:!0,symlink:!0},this.engine=new TW1($)};w2.prototype.append=function($,Y,U){this.engine.entry($,Y,U)};w2.prototype.finalize=function(){this.engine.finalize()};w2.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};w2.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};w2.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};iq0.exports=w2});var oq0=E((ss1,lq0)=>{function nq0($,Y){var U=Object.keys($);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols($);Y&&(z=z.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),U.push.apply(U,z)}return U}function pq0($){for(var Y=1;Y0)this.tail.next=z;else this.head=z;this.tail=z,++this.length}},{key:"unshift",value:function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length}},{key:"shift",value:function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q}},{key:"concat",value:function(U){if(this.length===0)return KA.alloc(0);var z=KA.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)gW1(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z}},{key:"consume",value:function(U,z){var Q;if(UI.length?I.length:U;if(K===I.length)J+=I;else J+=I.slice(0,U);if(U-=K,U===0){if(K===I.length)if(++Q,z.next)this.head=z.next;else this.head=this.tail=null;else this.head=z,z.data=I.slice(K);break}++Q}return this.length-=Q,J}},{key:"_getBuffer",value:function(U){var z=KA.allocUnsafe(U),Q=this.head,J=1;Q.data.copy(z),U-=Q.data.length;while(Q=Q.next){var I=Q.data,K=U>I.length?I.length:U;if(I.copy(z,z.length-U,0,K),U-=K,U===0){if(K===I.length)if(++J,Q.next)this.head=Q.next;else this.head=this.tail=null;else this.head=Q,Q.data=I.slice(K);break}++J}return this.length-=J,z}},{key:SW1,value:function(U,z){return Ii(this,pq0(pq0({},z),{},{depth:0,customInspect:!1}))}}]),$}()});var Gi=E((as1,sq0)=>{function yW1($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)process.nextTick(Ki,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,process.nextTick(Ki,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J)if(!U._writableState)process.nextTick(rq0,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,process.nextTick(rq0,U,J);else process.nextTick(GA,U);else if(Y)process.nextTick(GA,U),Y(J);else process.nextTick(GA,U)}),this}function rq0($,Y){Ki($,Y),GA($)}function GA($){if($._writableState&&!$._writableState.emitClose)return;if($._readableState&&!$._readableState.emitClose)return;$.emit("close")}function kW1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function Ki($,Y){$.emit("error",Y)}function xW1($,Y){var{_readableState:U,_writableState:z}=$;if(U&&U.autoDestroy||z&&z.autoDestroy)$.destroy(Y);else $.emit("error",Y)}sq0.exports={destroy:yW1,undestroy:kW1,errorOrDestroy:xW1}});var M2=E((iW1,eq0)=>{var tq0={};function y$($,Y,U){if(!U)U=Error;function z(J,I,K){if(typeof Y==="string")return Y;else return Y(J,I,K)}class Q extends U{constructor(J,I,K){super(z(J,I,K))}}Q.prototype.name=U.name,Q.prototype.code=$,tq0[$]=Q}function aq0($,Y){if(Array.isArray($)){let U=$.length;if($=$.map((z)=>String(z)),U>2)return`one of ${Y} ${$.slice(0,U-1).join(", ")}, or `+$[U-1];else if(U===2)return`one of ${Y} ${$[0]} or ${$[1]}`;else return`of ${Y} ${$[0]}`}else return`of ${Y} ${String($)}`}function fW1($,Y,U){return $.substr(!U||U<0?0:+U,Y.length)===Y}function uW1($,Y,U){if(U===void 0||U>$.length)U=$.length;return $.substring(U-Y.length,U)===Y}function bW1($,Y,U){if(typeof U!=="number")U=0;if(U+Y.length>$.length)return!1;else return $.indexOf(Y,U)!==-1}y$("ERR_INVALID_OPT_VALUE",function($,Y){return'The value "'+Y+'" is invalid for option "'+$+'"'},TypeError);y$("ERR_INVALID_ARG_TYPE",function($,Y,U){let z;if(typeof Y==="string"&&fW1(Y,"not "))z="must not be",Y=Y.replace(/^not /,"");else z="must be";let Q;if(uW1($," argument"))Q=`The ${$} ${z} ${aq0(Y,"type")}`;else{let J=bW1($,".")?"property":"argument";Q=`The "${$}" ${J} ${z} ${aq0(Y,"type")}`}return Q+=`. Received type ${typeof U}`,Q},TypeError);y$("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");y$("ERR_METHOD_NOT_IMPLEMENTED",function($){return"The "+$+" method is not implemented"});y$("ERR_STREAM_PREMATURE_CLOSE","Premature close");y$("ERR_STREAM_DESTROYED",function($){return"Cannot call "+$+" after a stream was destroyed"});y$("ERR_MULTIPLE_CALLBACK","Callback called multiple times");y$("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");y$("ERR_STREAM_WRITE_AFTER_END","write after end");y$("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);y$("ERR_UNKNOWN_ENCODING",function($){return"Unknown encoding: "+$},TypeError);y$("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");iW1.codes=tq0});var Hi=E((ts1,$V0)=>{var nW1=M2().codes.ERR_INVALID_OPT_VALUE;function pW1($,Y,U){return $.highWaterMark!=null?$.highWaterMark:Y?$[U]:null}function dW1($,Y,U,z){var Q=pW1(Y,z,U);if(Q!=null){if(!(isFinite(Q)&&Math.floor(Q)===Q)||Q<0){var J=z?U:"highWaterMark";throw new nW1(J,Q)}return Math.floor(Q)}return $.objectMode?16:16384}$V0.exports={getHighWaterMark:dW1}});var Zi=E((es1,IV0)=>{IV0.exports=Q6;function UV0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){MX1(Y,$)}}var AI;Q6.WritableState=EX;var mW1={deprecate:y7()},zV0=I0("stream"),WA=I0("buffer").Buffer,lW1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function oW1($){return WA.from($)}function rW1($){return WA.isBuffer($)||$ instanceof lW1}var Xi=Gi(),sW1=Hi(),aW1=sW1.getHighWaterMark,O2=M2().codes,tW1=O2.ERR_INVALID_ARG_TYPE,eW1=O2.ERR_METHOD_NOT_IMPLEMENTED,$X1=O2.ERR_MULTIPLE_CALLBACK,YX1=O2.ERR_STREAM_CANNOT_PIPE,UX1=O2.ERR_STREAM_DESTROYED,zX1=O2.ERR_STREAM_NULL_VALUES,QX1=O2.ERR_STREAM_WRITE_AFTER_END,JX1=O2.ERR_UNKNOWN_ENCODING,BI=Xi.errorOrDestroy;X1()(Q6,zV0);function IX1(){}function EX($,Y,U){if(AI=AI||iU(),$=$||{},typeof U!=="boolean")U=Y instanceof AI;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;this.highWaterMark=aW1(this,$,"writableHighWaterMark",U),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var z=$.decodeStrings===!1;this.decodeStrings=!z,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){qX1(Y,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new UV0(this)}EX.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(EX.prototype,"buffer",{get:mW1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var HA;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")HA=Function.prototype[Symbol.hasInstance],Object.defineProperty(Q6,Symbol.hasInstance,{value:function(Y){if(HA.call(this,Y))return!0;if(this!==Q6)return!1;return Y&&Y._writableState instanceof EX}});else HA=function(Y){return Y instanceof this};function Q6($){AI=AI||iU();var Y=this instanceof AI;if(!Y&&!HA.call(Q6,this))return new Q6($);if(this._writableState=new EX($,this,Y),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}zV0.call(this)}Q6.prototype.pipe=function(){BI(this,new YX1)};function KX1($,Y){var U=new QX1;BI($,U),process.nextTick(Y,U)}function GX1($,Y,U,z){var Q;if(U===null)Q=new zX1;else if(typeof U!=="string"&&!Y.objectMode)Q=new tW1("chunk",["string","Buffer"],U);if(Q)return BI($,Q),process.nextTick(z,Q),!1;return!0}Q6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&rW1($);if(J&&!WA.isBuffer($))$=oW1($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=IX1;if(z.ending)KX1(this,U);else if(J||GX1(this,z,$,U))z.pendingcb++,Q=WX1(this,z,J,$,Y,U);return Q};Q6.prototype.cork=function(){this._writableState.corked++};Q6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)QV0(this,$)}};Q6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw new JX1(Y);return this._writableState.defaultEncoding=Y,this};Object.defineProperty(Q6.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function HX1($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=WA.from(Y,U);return Y}Object.defineProperty(Q6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function WX1($,Y,U,z,Q,J){if(!U){var I=HX1(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var OX1=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};GV0.exports=V9;var KV0=Vi(),qi=Zi();X1()(V9,KV0);{XA=OX1(qi.prototype);for(CX=0;CX{var HV0=M2().codes.ERR_STREAM_PREMATURE_CLOSE;function AX1($){var Y=!1;return function(){if(Y)return;Y=!0;for(var U=arguments.length,z=Array(U),Q=0;Q{var qA;function N2($,Y,U){if(Y=TX1(Y),Y in $)Object.defineProperty($,Y,{value:U,enumerable:!0,configurable:!0,writable:!0});else $[Y]=U;return $}function TX1($){var Y=jX1($,"string");return typeof Y==="symbol"?Y:String(Y)}function jX1($,Y){if(typeof $!=="object"||$===null)return $;var U=$[Symbol.toPrimitive];if(U!==void 0){var z=U.call($,Y||"default");if(typeof z!=="object")return z;throw TypeError("@@toPrimitive must return a primitive value.")}return(Y==="string"?String:Number)($)}var EX1=ZA(),D2=Symbol("lastResolve"),cU=Symbol("lastReject"),_X=Symbol("error"),VA=Symbol("ended"),nU=Symbol("lastPromise"),Li=Symbol("handlePromise"),pU=Symbol("stream");function A2($,Y){return{value:$,done:Y}}function CX1($){var Y=$[D2];if(Y!==null){var U=$[pU].read();if(U!==null)$[nU]=null,$[D2]=null,$[cU]=null,Y(A2(U,!1))}}function RX1($){process.nextTick(CX1,$)}function _X1($,Y){return function(U,z){$.then(function(){if(Y[VA]){U(A2(void 0,!0));return}Y[Li](U,z)},z)}}var vX1=Object.getPrototypeOf(function(){}),hX1=Object.setPrototypeOf((qA={get stream(){return this[pU]},next:function(){var Y=this,U=this[_X];if(U!==null)return Promise.reject(U);if(this[VA])return Promise.resolve(A2(void 0,!0));if(this[pU].destroyed)return new Promise(function(I,K){process.nextTick(function(){if(Y[_X])K(Y[_X]);else I(A2(void 0,!0))})});var z=this[nU],Q;if(z)Q=new Promise(_X1(z,this));else{var J=this[pU].read();if(J!==null)return Promise.resolve(A2(J,!1));Q=new Promise(this[Li])}return this[nU]=Q,Q}},N2(qA,Symbol.asyncIterator,function(){return this}),N2(qA,"return",function(){var Y=this;return new Promise(function(U,z){Y[pU].destroy(null,function(Q){if(Q){z(Q);return}U(A2(void 0,!0))})})}),qA),vX1),SX1=function(Y){var U,z=Object.create(hX1,(U={},N2(U,pU,{value:Y,writable:!0}),N2(U,D2,{value:null,writable:!0}),N2(U,cU,{value:null,writable:!0}),N2(U,_X,{value:null,writable:!0}),N2(U,VA,{value:Y._readableState.endEmitted,writable:!0}),N2(U,Li,{value:function(J,I){var K=z[pU].read();if(K)z[nU]=null,z[D2]=null,z[cU]=null,J(A2(K,!1));else z[D2]=J,z[cU]=I},writable:!0}),U));return z[nU]=null,EX1(Y,function(Q){if(Q&&Q.code!=="ERR_STREAM_PREMATURE_CLOSE"){var J=z[cU];if(J!==null)z[nU]=null,z[D2]=null,z[cU]=null,J(Q);z[_X]=Q;return}var I=z[D2];if(I!==null)z[nU]=null,z[D2]=null,z[cU]=null,I(A2(void 0,!0));z[VA]=!0}),Y.on("readable",RX1.bind(null,z)),z};ZV0.exports=SX1});var wV0=E((za1,FV0)=>{function VV0($,Y,U,z,Q,J,I){try{var K=$[J](I),G=K.value}catch(H){U(H);return}if(K.done)Y(G);else Promise.resolve(G).then(z,Q)}function gX1($){return function(){var Y=this,U=arguments;return new Promise(function(z,Q){var J=$.apply(Y,U);function I(G){VV0(J,z,Q,I,K,"next",G)}function K(G){VV0(J,z,Q,I,K,"throw",G)}I(void 0)})}}function LV0($,Y){var U=Object.keys($);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols($);Y&&(z=z.filter(function(Q){return Object.getOwnPropertyDescriptor($,Q).enumerable})),U.push.apply(U,z)}return U}function yX1($){for(var Y=1;Y{EV0.exports=d1;var PI;d1.ReadableState=DV0;var Qa1=I0("events").EventEmitter,NV0=function(Y,U){return Y.listeners(U).length},hX=I0("stream"),LA=I0("buffer").Buffer,iX1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function cX1($){return LA.from($)}function nX1($){return LA.isBuffer($)||$ instanceof iX1}var Fi=I0("util"),_1;if(Fi&&Fi.debuglog)_1=Fi.debuglog("stream");else _1=function(){};var pX1=oq0(),Bi=Gi(),dX1=Hi(),mX1=dX1.getHighWaterMark,FA=M2().codes,lX1=FA.ERR_INVALID_ARG_TYPE,oX1=FA.ERR_STREAM_PUSH_AFTER_EOF,rX1=FA.ERR_METHOD_NOT_IMPLEMENTED,sX1=FA.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,TI,wi,Mi;X1()(d1,hX);var vX=Bi.errorOrDestroy,Oi=["error","close","destroy","pause","resume"];function aX1($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(Array.isArray($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function DV0($,Y,U){if(PI=PI||iU(),$=$||{},typeof U!=="boolean")U=Y instanceof PI;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;if(this.highWaterMark=mX1(this,$,"readableHighWaterMark",U),this.buffer=new pX1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=$.emitClose!==!1,this.autoDestroy=!!$.autoDestroy,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!TI)TI=AJ().StringDecoder;this.decoder=new TI($.encoding),this.encoding=$.encoding}}function d1($){if(PI=PI||iU(),!(this instanceof d1))return new d1($);var Y=this instanceof PI;if(this._readableState=new DV0($,this,Y),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}hX.call(this)}Object.defineProperty(d1.prototype,"destroyed",{enumerable:!1,get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function(Y){if(!this._readableState)return;this._readableState.destroyed=Y}});d1.prototype.destroy=Bi.destroy;d1.prototype._undestroy=Bi.undestroy;d1.prototype._destroy=function($,Y){Y($)};d1.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=LA.from($,Y),Y="";z=!0}}else z=!0;return AV0(this,$,Y,!1,z)};d1.prototype.unshift=function($){return AV0(this,$,null,!0,!1)};function AV0($,Y,U,z,Q){_1("readableAddChunk",Y);var J=$._readableState;if(Y===null)J.reading=!1,$Z1($,J);else{var I;if(!Q)I=tX1(J,Y);if(I)vX($,I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==LA.prototype)Y=cX1(Y);if(z)if(J.endEmitted)vX($,new sX1);else Ni($,J,Y,!0);else if(J.ended)vX($,new oX1);else if(J.destroyed)return!1;else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Ni($,J,Y,!1);else Ai($,J);else Ni($,J,Y,!1)}else if(!z)J.reading=!1,Ai($,J)}return!J.ended&&(J.length=MV0)$=MV0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function OV0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=eX1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}d1.prototype.read=function($){_1("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(_1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Di(this);else wA(this);return null}if($=OV0($,Y),$===0&&Y.ended){if(Y.length===0)Di(this);return null}var z=Y.needReadable;if(_1("need readable",z),Y.length===0||Y.length-$0)Q=TV0($,Y);else Q=null;if(Q===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else Y.length-=$,Y.awaitDrain=0;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)Di(this)}if(Q!==null)this.emit("data",Q);return Q};function $Z1($,Y){if(_1("onEofChunk"),Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}if(Y.ended=!0,Y.sync)wA($);else if(Y.needReadable=!1,!Y.emittedReadable)Y.emittedReadable=!0,BV0($)}function wA($){var Y=$._readableState;if(_1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)_1("emitReadable",Y.flowing),Y.emittedReadable=!0,process.nextTick(BV0,$)}function BV0($){var Y=$._readableState;if(_1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,Pi($)}function Ai($,Y){if(!Y.readingMore)Y.readingMore=!0,process.nextTick(YZ1,$,Y)}function YZ1($,Y){while(!Y.reading&&!Y.ended&&(Y.length1&&jV0(z.pipes,$)!==-1)&&!H)_1("false write response, pause",z.awaitDrain),z.awaitDrain++;U.pause()}}function Z(M){if(_1("onerror",M),F(),$.removeListener("error",Z),NV0($,"error")===0)vX($,M)}aX1($,"error",Z);function q(){$.removeListener("finish",V),F()}$.once("close",q);function V(){_1("onfinish"),$.removeListener("close",q),F()}$.once("finish",V);function F(){_1("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)_1("pipe resume"),U.resume();return $};function UZ1($){return function(){var U=$._readableState;if(_1("pipeOnDrain",U.awaitDrain),U.awaitDrain)U.awaitDrain--;if(U.awaitDrain===0&&NV0($,"data"))U.flowing=!0,Pi($)}}d1.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J0,z.flowing!==!1)this.resume()}else if($==="readable"){if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.flowing=!1,z.emittedReadable=!1,_1("on readable",z.length,z.reading),z.length)wA(this);else if(!z.reading)process.nextTick(zZ1,this)}}return U};d1.prototype.addListener=d1.prototype.on;d1.prototype.removeListener=function($,Y){var U=hX.prototype.removeListener.call(this,$,Y);if($==="readable")process.nextTick(PV0,this);return U};d1.prototype.removeAllListeners=function($){var Y=hX.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)process.nextTick(PV0,this);return Y};function PV0($){var Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&!Y.paused)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume()}function zZ1($){_1("readable nexttick read 0"),$.read(0)}d1.prototype.resume=function(){var $=this._readableState;if(!$.flowing)_1("resume"),$.flowing=!$.readableListening,QZ1(this,$);return $.paused=!1,this};function QZ1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,process.nextTick(JZ1,$,Y)}function JZ1($,Y){if(_1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),Pi($),Y.flowing&&!Y.reading)$.read(0)}d1.prototype.pause=function(){if(_1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)_1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this};function Pi($){var Y=$._readableState;_1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}d1.prototype.wrap=function($){var Y=this,U=this._readableState,z=!1;$.on("end",function(){if(_1("wrapped end"),U.decoder&&!U.ended){var I=U.decoder.end();if(I&&I.length)Y.push(I)}Y.push(null)}),$.on("data",function(I){if(_1("wrapped data"),U.decoder)I=U.decoder.write(I);if(U.objectMode&&(I===null||I===void 0))return;else if(!U.objectMode&&(!I||!I.length))return;var K=Y.push(I);if(!K)z=!0,$.pause()});for(var Q in $)if(this[Q]===void 0&&typeof $[Q]==="function")this[Q]=function(K){return function(){return $[K].apply($,arguments)}}(Q);for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.first();else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=Y.buffer.consume($,Y.decoder);return U}function Di($){var Y=$._readableState;if(_1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,process.nextTick(IZ1,Y,$)}function IZ1($,Y){if(_1("endReadableNT",$.endEmitted,$.length),!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.readable=!1,Y.emit("end"),$.autoDestroy){var U=Y._writableState;if(!U||U.autoDestroy&&U.finished)Y.destroy()}}}if(typeof Symbol==="function")d1.from=function($,Y){if(Mi===void 0)Mi=wV0();return Mi(d1,$,Y)};function jV0($,Y){for(var U=0,z=$.length;U{RV0.exports=B3;var MA=M2().codes,KZ1=MA.ERR_METHOD_NOT_IMPLEMENTED,GZ1=MA.ERR_MULTIPLE_CALLBACK,HZ1=MA.ERR_TRANSFORM_ALREADY_TRANSFORMING,WZ1=MA.ERR_TRANSFORM_WITH_LENGTH_0,OA=iU();X1()(B3,OA);function XZ1($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(z===null)return this.emit("error",new GZ1);if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{vV0.exports=SX;var _V0=Ti();X1()(SX,_V0);function SX($){if(!(this instanceof SX))return new SX($);_V0.call(this,$)}SX.prototype._transform=function($,Y,U){U(null,$)}});var xV0=E((Ga1,kV0)=>{var ji;function qZ1($){var Y=!1;return function(){if(Y)return;Y=!0,$.apply(void 0,arguments)}}var yV0=M2().codes,VZ1=yV0.ERR_MISSING_ARGS,LZ1=yV0.ERR_STREAM_DESTROYED;function SV0($){if($)throw $}function FZ1($){return $.setHeader&&typeof $.abort==="function"}function wZ1($,Y,U,z){z=qZ1(z);var Q=!1;if($.on("close",function(){Q=!0}),ji===void 0)ji=ZA();ji($,{readable:Y,writable:U},function(I){if(I)return z(I);Q=!0,z()});var J=!1;return function(I){if(Q)return;if(J)return;if(J=!0,FZ1($))return $.abort();if(typeof $.destroy==="function")return $.destroy();z(I||new LZ1("pipe"))}}function gV0($){$()}function MZ1($,Y){return $.pipe(Y)}function OZ1($){if(!$.length)return SV0;if(typeof $[$.length-1]!=="function")return SV0;return $.pop()}function NZ1(){for(var $=arguments.length,Y=Array($),U=0;U<$;U++)Y[U]=arguments[U];var z=OZ1(Y);if(Array.isArray(Y[0]))Y=Y[0];if(Y.length<2)throw new VZ1("streams");var Q,J=Y.map(function(I,K){var G=K0;return wZ1(I,G,H,function(W){if(!Q)Q=W;if(W)J.forEach(gV0);if(G)return;J.forEach(gV0),z(Q)})});return Y.reduce(MZ1)}kV0.exports=NZ1});var fV0=E((k$,yX)=>{var gX=I0("stream");if(process.env.READABLE_STREAM==="disable"&&gX)yX.exports=gX.Readable,Object.assign(yX.exports,gX),yX.exports.Stream=gX;else k$=yX.exports=Vi(),k$.Stream=gX||k$,k$.Readable=k$,k$.Writable=Zi(),k$.Duplex=iU(),k$.Transform=Ti(),k$.PassThrough=hV0(),k$.finished=ZA(),k$.pipeline=xV0()});var iV0=E((Ha1,bV0)=>{var{Buffer:w5}=I0("buffer"),uV0=Symbol.for("BufferList");function N4($){if(!(this instanceof N4))return new N4($);N4._init.call(this,$)}N4._init=function(Y){if(Object.defineProperty(this,uV0,{value:!0}),this._bufs=[],this.length=0,Y)this.append(Y)};N4.prototype._new=function(Y){return new N4(Y)};N4.prototype._offset=function(Y){if(Y===0)return[0,0];let U=0;for(let z=0;zthis.length||Y<0)return;let U=this._offset(Y);return this._bufs[U[0]][U[1]]};N4.prototype.slice=function(Y,U){if(typeof Y==="number"&&Y<0)Y+=this.length;if(typeof U==="number"&&U<0)U+=this.length;return this.copy(null,0,Y,U)};N4.prototype.copy=function(Y,U,z,Q){if(typeof z!=="number"||z<0)z=0;if(typeof Q!=="number"||Q>this.length)Q=this.length;if(z>=this.length)return Y||w5.alloc(0);if(Q<=0)return Y||w5.alloc(0);let J=!!Y,I=this._offset(z),K=Q-z,G=K,H=J&&U||0,W=I[1];if(z===0&&Q===this.length){if(!J)return this._bufs.length===1?this._bufs[0]:w5.concat(this._bufs,this.length);for(let X=0;XZ)this._bufs[X].copy(Y,H,W),H+=Z;else{this._bufs[X].copy(Y,H,W,W+G),H+=Z;break}if(G-=Z,W)W=0}if(Y.length>H)return Y.slice(0,H);return Y};N4.prototype.shallowSlice=function(Y,U){if(Y=Y||0,U=typeof U!=="number"?this.length:U,Y<0)Y+=this.length;if(U<0)U+=this.length;if(Y===U)return this._new();let z=this._offset(Y),Q=this._offset(U),J=this._bufs.slice(z[0],Q[0]+1);if(Q[1]===0)J.pop();else J[J.length-1]=J[J.length-1].slice(0,Q[1]);if(z[1]!==0)J[0]=J[0].slice(z[1]);return this._new(J)};N4.prototype.toString=function(Y,U,z){return this.slice(U,z).toString(Y)};N4.prototype.consume=function(Y){if(Y=Math.trunc(Y),Number.isNaN(Y)||Y<=0)return this;while(this._bufs.length)if(Y>=this._bufs[0].length)Y-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(Y),this.length-=Y;break}return this};N4.prototype.duplicate=function(){let Y=this._new();for(let U=0;Uthis.length?this.length:Y;let z=this._offset(Y),Q=z[0],J=z[1];for(;Q=$.length){let G=I.indexOf($,J);if(G!==-1)return this._reverseOffset([Q,G]);J=I.length-$.length+1}else{let G=this._reverseOffset([Q,J]);if(this._match(G,$))return G;J++}J=0}return-1};N4.prototype._match=function($,Y){if(this.length-${var Ei=fV0().Duplex,DZ1=X1(),kX=iV0();function L8($){if(!(this instanceof L8))return new L8($);if(typeof $==="function"){this._callback=$;let Y=function(z){if(this._callback)this._callback(z),this._callback=null}.bind(this);this.on("pipe",function(z){z.on("error",Y)}),this.on("unpipe",function(z){z.removeListener("error",Y)}),$=null}kX._init.call(this,$),Ei.call(this)}DZ1(L8,Ei);Object.assign(L8.prototype,kX.prototype);L8.prototype._new=function(Y){return new L8(Y)};L8.prototype._write=function(Y,U,z){if(this._appendBuffer(Y),typeof z==="function")z()};L8.prototype._read=function(Y){if(!this.length)return this.push(null);Y=Math.min(Y,this.length),this.push(this.slice(0,Y)),this.consume(Y)};L8.prototype.end=function(Y){if(Ei.prototype.end.call(this,Y),this._callback)this._callback(null,this.slice()),this._callback=null};L8.prototype._destroy=function(Y,U){this._bufs.length=0,this.length=0,U(Y)};L8.prototype._isBufferList=function(Y){return Y instanceof L8||Y instanceof kX||L8.isBufferList(Y)};L8.isBufferList=kX.isBufferList;NA.exports=L8;NA.exports.BufferListStream=L8;NA.exports.BufferList=kX});var _i=E((SZ1)=>{var AZ1=Buffer.alloc,BZ1="0000000000000000000",PZ1="7777777777777777777",nV0=48,pV0=Buffer.from("ustar\x00","binary"),TZ1=Buffer.from("00","binary"),jZ1=Buffer.from("ustar ","binary"),EZ1=Buffer.from(" \x00","binary"),CZ1=parseInt("7777",8),xX=257,Ri=263,RZ1=function($,Y,U){if(typeof $!=="number")return U;if($=~~$,$>=Y)return Y;if($>=0)return $;if($+=Y,$>=0)return $;return 0},_Z1=function($){switch($){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null},vZ1=function($){switch($){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0},dV0=function($,Y,U,z){for(;UY)return PZ1.slice(0,Y)+" ";else return BZ1.slice(0,Y-$.length)+$+" "};function hZ1($){var Y;if($[0]===128)Y=!0;else if($[0]===255)Y=!1;else return null;var U=[];for(var z=$.length-1;z>0;z--){var Q=$[z];if(Y)U.push(Q);else U.push(255-Q)}var J=0,I=U.length;for(z=0;z=Math.pow(10,U))U++;return Y+U+$};SZ1.decodeLongPath=function($,Y){return jI($,0,$.length,Y)};SZ1.encodePax=function($){var Y="";if($.name)Y+=Ci(" path="+$.name+` `);if($.linkname)Y+=Ci(" linkpath="+$.linkname+` `);var U=$.pax;if(U)for(var z in U)Y+=Ci(" "+z+"="+U[z]+` -`);return Buffer.from(Y)};SZ1.decodePax=function($){var Y={};while($.length){var U=0;while(U<$.length&&$[U]!==32)U++;var z=parseInt($.slice(0,U).toString(),10);if(!z)return Y;var Q=$.slice(U+1,z-1).toString(),J=Q.indexOf("=");if(J===-1)return Y;Y[Q.slice(0,J)]=Q.slice(J+1),$=$.slice(z)}return Y};SZ1.encode=function($){var Y=AZ1(512),U=$.name,z="";if($.typeflag===5&&U[U.length-1]!=="/")U+="/";if(Buffer.byteLength(U)!==U.length)return null;while(Buffer.byteLength(U)>100){var Q=U.indexOf("/");if(Q===-1)return null;z+=z?"/"+U.slice(0,Q):U.slice(0,Q),U=U.slice(Q+1)}if(Buffer.byteLength(U)>100||Buffer.byteLength(z)>155)return null;if($.linkname&&Buffer.byteLength($.linkname)>100)return null;if(Y.write(U),Y.write(B2($.mode&CZ1,6),100),Y.write(B2($.uid,6),108),Y.write(B2($.gid,6),116),Y.write(B2($.size,11),124),Y.write(B2($.mtime.getTime()/1000|0,11),136),Y[156]=nV0+vZ1($.type),$.linkname)Y.write($.linkname,157);if(pV0.copy(Y,xX),TZ1.copy(Y,Ri),$.uname)Y.write($.uname,265);if($.gname)Y.write($.gname,297);if(Y.write(B2($.devmajor||0,6),329),Y.write(B2($.devminor||0,6),337),z)Y.write(z,345);return Y.write(B2(mV0(Y),6),148),Y};SZ1.decode=function($,Y,U){var z=$[156]===0?0:$[156]-nV0,Q=jI($,0,100,Y),J=P2($,100,8),I=P2($,108,8),K=P2($,116,8),G=P2($,124,12),H=P2($,136,12),W=_Z1(z),X=$[157]===0?null:jI($,157,100,Y),Z=jI($,265,32),q=jI($,297,32),V=P2($,329,8),F=P2($,337,8),M=mV0($);if(M===256)return null;if(M!==P2($,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(pV0.compare($,xX,xX+6)===0){if($[345])Q=jI($,345,155,Y)+"/"+Q}else if(jZ1.compare($,xX,xX+6)===0&&EZ1.compare($,Ri,Ri+2)===0);else if(!U)throw Error("Invalid tar header: unknown format.");if(z===0&&Q&&Q[Q.length-1]==="/")z=5;return{name:Q,mode:J,uid:I,gid:K,size:G,mtime:new Date(1000*H),type:W,linkname:X,uname:Z,gname:q,devmajor:V,devminor:F}}});var eV0=E((Za1,tV0)=>{var oV0=I0("util"),uZ1=cV0(),fX=_i(),rV0=E8().Writable,sV0=E8().PassThrough,aV0=function(){},lV0=function($){return $&=511,$&&512-$},bZ1=function($,Y){var U=new DA($,Y);return U.end(),U},iZ1=function($,Y){if(Y.path)$.name=Y.path;if(Y.linkpath)$.linkname=Y.linkpath;if(Y.size)$.size=parseInt(Y.size,10);return $.pax=Y,$},DA=function($,Y){this._parent=$,this.offset=Y,sV0.call(this,{autoDestroy:!1})};oV0.inherits(DA,sV0);DA.prototype.destroy=function($){this._parent.destroy($)};var P3=function($){if(!(this instanceof P3))return new P3($);rV0.call(this,$),$=$||{},this._offset=0,this._buffer=uZ1(),this._missing=0,this._partial=!1,this._onparse=aV0,this._header=null,this._stream=null,this._overflow=null,this._cb=null,this._locked=!1,this._destroyed=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null;var Y=this,U=Y._buffer,z=function(){Y._continue()},Q=function(Z){if(Y._locked=!1,Z)return Y.destroy(Z);if(!Y._stream)z()},J=function(){Y._stream=null;var Z=lV0(Y._header.size);if(Z)Y._parse(Z,I);else Y._parse(512,X);if(!Y._locked)z()},I=function(){Y._buffer.consume(lV0(Y._header.size)),Y._parse(512,X),z()},K=function(){var Z=Y._header.size;Y._paxGlobal=fX.decodePax(U.slice(0,Z)),U.consume(Z),J()},G=function(){var Z=Y._header.size;if(Y._pax=fX.decodePax(U.slice(0,Z)),Y._paxGlobal)Y._pax=Object.assign({},Y._paxGlobal,Y._pax);U.consume(Z),J()},H=function(){var Z=Y._header.size;this._gnuLongPath=fX.decodeLongPath(U.slice(0,Z),$.filenameEncoding),U.consume(Z),J()},W=function(){var Z=Y._header.size;this._gnuLongLinkPath=fX.decodeLongPath(U.slice(0,Z),$.filenameEncoding),U.consume(Z),J()},X=function(){var Z=Y._offset,q;try{q=Y._header=fX.decode(U.slice(0,512),$.filenameEncoding,$.allowUnknownFormat)}catch(V){Y.emit("error",V)}if(U.consume(512),!q){Y._parse(512,X),z();return}if(q.type==="gnu-long-path"){Y._parse(q.size,H),z();return}if(q.type==="gnu-long-link-path"){Y._parse(q.size,W),z();return}if(q.type==="pax-global-header"){Y._parse(q.size,K),z();return}if(q.type==="pax-header"){Y._parse(q.size,G),z();return}if(Y._gnuLongPath)q.name=Y._gnuLongPath,Y._gnuLongPath=null;if(Y._gnuLongLinkPath)q.linkname=Y._gnuLongLinkPath,Y._gnuLongLinkPath=null;if(Y._pax)Y._header=q=iZ1(q,Y._pax),Y._pax=null;if(Y._locked=!0,!q.size||q.type==="directory"){Y._parse(512,X),Y.emit("entry",q,bZ1(Y,Z),Q);return}Y._stream=new DA(Y,Z),Y.emit("entry",q,Y._stream,Q),Y._parse(q.size,J),z()};this._onheader=X,this._parse(512,X)};oV0.inherits(P3,rV0);P3.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream)this._stream.emit("close")};P3.prototype._parse=function($,Y){if(this._destroyed)return;if(this._offset+=$,this._missing=$,Y===this._onheader)this._partial=!1;this._onparse=Y};P3.prototype._continue=function(){if(this._destroyed)return;var $=this._cb;if(this._cb=aV0,this._overflow)this._write(this._overflow,void 0,$);else $()};P3.prototype._write=function($,Y,U){if(this._destroyed)return;var z=this._stream,Q=this._buffer,J=this._missing;if($.length)this._partial=!0;if($.lengthJ)I=$.slice(J),$=$.slice(0,J);if(z)z.end($);else Q.append($);this._overflow=I,this._onparse()};P3.prototype._final=function($){if(this._partial)return this.destroy(Error("Unexpected end of data"));$()};tV0.exports=P3});var YL0=E((qa1,$L0)=>{$L0.exports=I0("fs").constants||I0("constants")});var QL0=E((Va1,zL0)=>{var cZ1=zA(),nZ1=function(){},pZ1=global.Bare?queueMicrotask:process.nextTick.bind(process),dZ1=function($){return $.setHeader&&typeof $.abort==="function"},mZ1=function($){return $.stdio&&Array.isArray($.stdio)&&$.stdio.length===3},UL0=function($,Y,U){if(typeof Y==="function")return UL0($,null,Y);if(!Y)Y={};U=cZ1(U||nZ1);var{_writableState:z,_readableState:Q}=$,J=Y.readable||Y.readable!==!1&&$.readable,I=Y.writable||Y.writable!==!1&&$.writable,K=!1,G=function(){if(!$.writable)H()},H=function(){if(I=!1,!J)U.call($)},W=function(){if(J=!1,!I)U.call($)},X=function(M){U.call($,M?Error("exited with error code: "+M):null)},Z=function(M){U.call($,M)},q=function(){pZ1(V)},V=function(){if(K)return;if(J&&!(Q&&(Q.ended&&!Q.destroyed)))return U.call($,Error("premature close"));if(I&&!(z&&(z.ended&&!z.destroyed)))return U.call($,Error("premature close"))},F=function(){$.req.on("finish",H)};if(dZ1($))if($.on("complete",H),$.on("abort",q),$.req)F();else $.on("request",F);else if(I&&!z)$.on("end",G),$.on("close",G);if(mZ1($))$.on("exit",X);if($.on("end",W),$.on("finish",H),Y.error!==!1)$.on("error",Z);return $.on("close",q),function(){if(K=!0,$.removeListener("complete",H),$.removeListener("abort",q),$.removeListener("request",F),$.req)$.req.removeListener("finish",H);$.removeListener("end",G),$.removeListener("close",G),$.removeListener("finish",H),$.removeListener("exit",X),$.removeListener("end",W),$.removeListener("error",Z),$.removeListener("close",q)}};zL0.exports=UL0});var HL0=E((La1,GL0)=>{var EI=YL0(),JL0=QL0(),BA=X1(),lZ1=Buffer.alloc,IL0=E8().Readable,CI=E8().Writable,oZ1=I0("string_decoder").StringDecoder,AA=_i(),rZ1=parseInt("755",8),sZ1=parseInt("644",8),KL0=lZ1(1024),hi=function(){},vi=function($,Y){if(Y&=511,Y)$.push(KL0.slice(0,512-Y))};function aZ1($){switch($&EI.S_IFMT){case EI.S_IFBLK:return"block-device";case EI.S_IFCHR:return"character-device";case EI.S_IFDIR:return"directory";case EI.S_IFIFO:return"fifo";case EI.S_IFLNK:return"symlink"}return"file"}var PA=function($){CI.call(this),this.written=0,this._to=$,this._destroyed=!1};BA(PA,CI);PA.prototype._write=function($,Y,U){if(this.written+=$.length,this._to.push($))return U();this._to._drain=U};PA.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var TA=function(){CI.call(this),this.linkname="",this._decoder=new oZ1("utf-8"),this._destroyed=!1};BA(TA,CI);TA.prototype._write=function($,Y,U){this.linkname+=this._decoder.write($),U()};TA.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var uX=function(){CI.call(this),this._destroyed=!1};BA(uX,CI);uX.prototype._write=function($,Y,U){U(Error("No body allowed for this entry"))};uX.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var V9=function($){if(!(this instanceof V9))return new V9($);IL0.call(this,$),this._drain=hi,this._finalized=!1,this._finalizing=!1,this._destroyed=!1,this._stream=null};BA(V9,IL0);V9.prototype.entry=function($,Y,U){if(this._stream)throw Error("already piping an entry");if(this._finalized||this._destroyed)return;if(typeof Y==="function")U=Y,Y=null;if(!U)U=hi;var z=this;if(!$.size||$.type==="symlink")$.size=0;if(!$.type)$.type=aZ1($.mode);if(!$.mode)$.mode=$.type==="directory"?rZ1:sZ1;if(!$.uid)$.uid=0;if(!$.gid)$.gid=0;if(!$.mtime)$.mtime=new Date;if(typeof Y==="string")Y=Buffer.from(Y);if(Buffer.isBuffer(Y)){$.size=Y.length,this._encode($);var Q=this.push(Y);if(vi(z,$.size),Q)process.nextTick(U);else this._drain=U;return new uX}if($.type==="symlink"&&!$.linkname){var J=new TA;return JL0(J,function(K){if(K)return z.destroy(),U(K);$.linkname=J.linkname,z._encode($),U()}),J}if(this._encode($),$.type!=="file"&&$.type!=="contiguous-file")return process.nextTick(U),new uX;var I=new PA(this);return this._stream=I,JL0(I,function(K){if(z._stream=null,K)return z.destroy(),U(K);if(I.written!==$.size)return z.destroy(),U(Error("size mismatch"));if(vi(z,$.size),z._finalizing)z.finalize();U()}),I};V9.prototype.finalize=function(){if(this._stream){this._finalizing=!0;return}if(this._finalized)return;this._finalized=!0,this.push(KL0),this.push(null)};V9.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream&&this._stream.destroy)this._stream.destroy()};V9.prototype._encode=function($){if(!$.pax){var Y=AA.encode($);if(Y){this.push(Y);return}}this._encodePax($)};V9.prototype._encodePax=function($){var Y=AA.encodePax({name:$.name,linkname:$.linkname,pax:$.pax}),U={name:"PaxHeader",mode:$.mode,uid:$.uid,gid:$.gid,size:Y.length,mtime:$.mtime,type:"pax-header",linkname:$.linkname&&"PaxHeader",uname:$.uname,gname:$.gname,devmajor:$.devmajor,devminor:$.devminor};this.push(AA.encode(U)),this.push(Y),vi(this,Y.length),U.size=$.size,U.type=$.type,this.push(AA.encode(U))};V9.prototype._read=function($){var Y=this._drain;this._drain=hi,Y()};GL0.exports=V9});var WL0=E((tZ1)=>{tZ1.extract=eV0();tZ1.pack=HL0()});var qL0=E((wa1,ZL0)=>{var Yq1=I0("zlib"),Uq1=WL0(),XL0=TX(),T3=function($){if(!(this instanceof T3))return new T3($);if($=this.options=XL0.defaults($,{gzip:!1}),typeof $.gzipOptions!=="object")$.gzipOptions={};if(this.supports={directory:!0,symlink:!0},this.engine=Uq1.pack($),this.compressor=!1,$.gzip)this.compressor=Yq1.createGzip($.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this))};T3.prototype._onCompressorError=function($){this.engine.emit("error",$)};T3.prototype.append=function($,Y,U){var z=this;Y.mtime=Y.date;function Q(I,K){if(I){U(I);return}z.engine.entry(Y,K,function(G){U(G,Y)})}if(Y.sourceType==="buffer")Q(null,$);else if(Y.sourceType==="stream"&&Y.stats){Y.size=Y.stats.size;var J=z.engine.entry(Y,function(I){U(I,Y)});$.pipe(J)}else if(Y.sourceType==="stream")XL0.collectStream($,Q)};T3.prototype.finalize=function(){this.engine.finalize()};T3.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};T3.prototype.pipe=function($,Y){if(this.compressor)return this.engine.pipe.apply(this.engine,[this.compressor]).pipe($,Y);else return this.engine.pipe.apply(this.engine,arguments)};T3.prototype.unpipe=function(){if(this.compressor)return this.compressor.unpipe.apply(this.compressor,arguments);else return this.engine.unpipe.apply(this.engine,arguments)};ZL0.exports=T3});var wL0=E((Ma1,FL0)=>{var zq1=I0("util").inherits,VL0=E8().Transform,Qq1=tb(),LL0=TX(),T2=function($){if(!(this instanceof T2))return new T2($);$=this.options=LL0.defaults($,{}),VL0.call(this,$),this.supports={directory:!0,symlink:!0},this.files=[]};zq1(T2,VL0);T2.prototype._transform=function($,Y,U){U(null,$)};T2.prototype._writeStringified=function(){var $=JSON.stringify(this.files);this.write($)};T2.prototype.append=function($,Y,U){var z=this;Y.crc32=0;function Q(J,I){if(J){U(J);return}Y.size=I.length||0,Y.crc32=Qq1.unsigned(I),z.files.push(Y),U(null,Y)}if(Y.sourceType==="buffer")Q(null,$);else if(Y.sourceType==="stream")LL0.collectStream($,Q)};T2.prototype.finalize=function(){this._writeStringified(),this.end()};FL0.exports=T2});var OL0=E((Oa1,ML0)=>{var Jq1=aZ0(),bX={},j2=function($,Y){return j2.create($,Y)};j2.create=function($,Y){if(bX[$]){var U=new Jq1($,Y);return U.setFormat($),U.setModule(new bX[$](Y)),U}else throw Error("create("+$+"): format not registered")};j2.registerFormat=function($,Y){if(bX[$])throw Error("register("+$+"): format already registered");if(typeof Y!=="function")throw Error("register("+$+"): format module invalid");if(typeof Y.prototype.append!=="function"||typeof Y.prototype.finalize!=="function")throw Error("register("+$+"): format module missing methods");bX[$]=Y};j2.isRegisteredFormat=function($){if(bX[$])return!0;return!1};j2.registerFormat("zip",cq0());j2.registerFormat("tar",qL0());j2.registerFormat("json",wL0());ML0.exports=j2});var AL0=E((Na1,DL0)=>{class NL0{constructor(){this._values=[],this._totalRefs=0,this._hash=Object.create(null)}get count(){return this._values.length}get values(){return this._values}get totalRefs(){return this._totalRefs}getString($){return this._values[$]}add($){let Y=this._hash[$];if(Y===void 0)Y=this._hash[$]=this._values.length,this._values.push($);return this._totalRefs++,Y}}DL0.exports=NL0});var jL0=E((Da1,TL0)=>{var Iq1=Z8(),Kq1=Y2();class BL0{constructor($){this.writer=$}push($){this.writer.addHyperlink($)}}class PL0{constructor($){this.id=$.id,this.count=0,this._hyperlinks=[],this._workbook=$.workbook}get stream(){if(!this._stream)this._stream=this._workbook._openStream(`/xl/worksheets/_rels/sheet${this.id}.xml.rels`);return this._stream}get length(){return this._hyperlinks.length}each($){return this._hyperlinks.forEach($)}get hyperlinksProxy(){return this._hyperlinksProxy||(this._hyperlinksProxy=new BL0(this))}addHyperlink($){let Y={Target:$.target,Type:Kq1.Hyperlink,TargetMode:"External"},U=this._writeRelationship(Y);this._hyperlinks.push({rId:U,address:$.address})}addMedia($){return this._writeRelationship($)}addRelationship($){return this._writeRelationship($)}commit(){if(this.count)this._writeClose(),this.stream.end()}_writeOpen(){this.stream.write(` +`);return Buffer.from(Y)};SZ1.decodePax=function($){var Y={};while($.length){var U=0;while(U<$.length&&$[U]!==32)U++;var z=parseInt($.slice(0,U).toString(),10);if(!z)return Y;var Q=$.slice(U+1,z-1).toString(),J=Q.indexOf("=");if(J===-1)return Y;Y[Q.slice(0,J)]=Q.slice(J+1),$=$.slice(z)}return Y};SZ1.encode=function($){var Y=AZ1(512),U=$.name,z="";if($.typeflag===5&&U[U.length-1]!=="/")U+="/";if(Buffer.byteLength(U)!==U.length)return null;while(Buffer.byteLength(U)>100){var Q=U.indexOf("/");if(Q===-1)return null;z+=z?"/"+U.slice(0,Q):U.slice(0,Q),U=U.slice(Q+1)}if(Buffer.byteLength(U)>100||Buffer.byteLength(z)>155)return null;if($.linkname&&Buffer.byteLength($.linkname)>100)return null;if(Y.write(U),Y.write(B2($.mode&CZ1,6),100),Y.write(B2($.uid,6),108),Y.write(B2($.gid,6),116),Y.write(B2($.size,11),124),Y.write(B2($.mtime.getTime()/1000|0,11),136),Y[156]=nV0+vZ1($.type),$.linkname)Y.write($.linkname,157);if(pV0.copy(Y,xX),TZ1.copy(Y,Ri),$.uname)Y.write($.uname,265);if($.gname)Y.write($.gname,297);if(Y.write(B2($.devmajor||0,6),329),Y.write(B2($.devminor||0,6),337),z)Y.write(z,345);return Y.write(B2(mV0(Y),6),148),Y};SZ1.decode=function($,Y,U){var z=$[156]===0?0:$[156]-nV0,Q=jI($,0,100,Y),J=P2($,100,8),I=P2($,108,8),K=P2($,116,8),G=P2($,124,12),H=P2($,136,12),W=_Z1(z),X=$[157]===0?null:jI($,157,100,Y),Z=jI($,265,32),q=jI($,297,32),V=P2($,329,8),F=P2($,337,8),M=mV0($);if(M===256)return null;if(M!==P2($,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(pV0.compare($,xX,xX+6)===0){if($[345])Q=jI($,345,155,Y)+"/"+Q}else if(jZ1.compare($,xX,xX+6)===0&&EZ1.compare($,Ri,Ri+2)===0);else if(!U)throw Error("Invalid tar header: unknown format.");if(z===0&&Q&&Q[Q.length-1]==="/")z=5;return{name:Q,mode:J,uid:I,gid:K,size:G,mtime:new Date(1000*H),type:W,linkname:X,uname:Z,gname:q,devmajor:V,devminor:F}}});var eV0=E((Za1,tV0)=>{var oV0=I0("util"),uZ1=cV0(),fX=_i(),rV0=E8().Writable,sV0=E8().PassThrough,aV0=function(){},lV0=function($){return $&=511,$&&512-$},bZ1=function($,Y){var U=new DA($,Y);return U.end(),U},iZ1=function($,Y){if(Y.path)$.name=Y.path;if(Y.linkpath)$.linkname=Y.linkpath;if(Y.size)$.size=parseInt(Y.size,10);return $.pax=Y,$},DA=function($,Y){this._parent=$,this.offset=Y,sV0.call(this,{autoDestroy:!1})};oV0.inherits(DA,sV0);DA.prototype.destroy=function($){this._parent.destroy($)};var P3=function($){if(!(this instanceof P3))return new P3($);rV0.call(this,$),$=$||{},this._offset=0,this._buffer=uZ1(),this._missing=0,this._partial=!1,this._onparse=aV0,this._header=null,this._stream=null,this._overflow=null,this._cb=null,this._locked=!1,this._destroyed=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null;var Y=this,U=Y._buffer,z=function(){Y._continue()},Q=function(Z){if(Y._locked=!1,Z)return Y.destroy(Z);if(!Y._stream)z()},J=function(){Y._stream=null;var Z=lV0(Y._header.size);if(Z)Y._parse(Z,I);else Y._parse(512,X);if(!Y._locked)z()},I=function(){Y._buffer.consume(lV0(Y._header.size)),Y._parse(512,X),z()},K=function(){var Z=Y._header.size;Y._paxGlobal=fX.decodePax(U.slice(0,Z)),U.consume(Z),J()},G=function(){var Z=Y._header.size;if(Y._pax=fX.decodePax(U.slice(0,Z)),Y._paxGlobal)Y._pax=Object.assign({},Y._paxGlobal,Y._pax);U.consume(Z),J()},H=function(){var Z=Y._header.size;this._gnuLongPath=fX.decodeLongPath(U.slice(0,Z),$.filenameEncoding),U.consume(Z),J()},W=function(){var Z=Y._header.size;this._gnuLongLinkPath=fX.decodeLongPath(U.slice(0,Z),$.filenameEncoding),U.consume(Z),J()},X=function(){var Z=Y._offset,q;try{q=Y._header=fX.decode(U.slice(0,512),$.filenameEncoding,$.allowUnknownFormat)}catch(V){Y.emit("error",V)}if(U.consume(512),!q){Y._parse(512,X),z();return}if(q.type==="gnu-long-path"){Y._parse(q.size,H),z();return}if(q.type==="gnu-long-link-path"){Y._parse(q.size,W),z();return}if(q.type==="pax-global-header"){Y._parse(q.size,K),z();return}if(q.type==="pax-header"){Y._parse(q.size,G),z();return}if(Y._gnuLongPath)q.name=Y._gnuLongPath,Y._gnuLongPath=null;if(Y._gnuLongLinkPath)q.linkname=Y._gnuLongLinkPath,Y._gnuLongLinkPath=null;if(Y._pax)Y._header=q=iZ1(q,Y._pax),Y._pax=null;if(Y._locked=!0,!q.size||q.type==="directory"){Y._parse(512,X),Y.emit("entry",q,bZ1(Y,Z),Q);return}Y._stream=new DA(Y,Z),Y.emit("entry",q,Y._stream,Q),Y._parse(q.size,J),z()};this._onheader=X,this._parse(512,X)};oV0.inherits(P3,rV0);P3.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream)this._stream.emit("close")};P3.prototype._parse=function($,Y){if(this._destroyed)return;if(this._offset+=$,this._missing=$,Y===this._onheader)this._partial=!1;this._onparse=Y};P3.prototype._continue=function(){if(this._destroyed)return;var $=this._cb;if(this._cb=aV0,this._overflow)this._write(this._overflow,void 0,$);else $()};P3.prototype._write=function($,Y,U){if(this._destroyed)return;var z=this._stream,Q=this._buffer,J=this._missing;if($.length)this._partial=!0;if($.lengthJ)I=$.slice(J),$=$.slice(0,J);if(z)z.end($);else Q.append($);this._overflow=I,this._onparse()};P3.prototype._final=function($){if(this._partial)return this.destroy(Error("Unexpected end of data"));$()};tV0.exports=P3});var YL0=E((qa1,$L0)=>{$L0.exports=I0("fs").constants||I0("constants")});var QL0=E((Va1,zL0)=>{var cZ1=zA(),nZ1=function(){},pZ1=global.Bare?queueMicrotask:process.nextTick.bind(process),dZ1=function($){return $.setHeader&&typeof $.abort==="function"},mZ1=function($){return $.stdio&&Array.isArray($.stdio)&&$.stdio.length===3},UL0=function($,Y,U){if(typeof Y==="function")return UL0($,null,Y);if(!Y)Y={};U=cZ1(U||nZ1);var{_writableState:z,_readableState:Q}=$,J=Y.readable||Y.readable!==!1&&$.readable,I=Y.writable||Y.writable!==!1&&$.writable,K=!1,G=function(){if(!$.writable)H()},H=function(){if(I=!1,!J)U.call($)},W=function(){if(J=!1,!I)U.call($)},X=function(M){U.call($,M?Error("exited with error code: "+M):null)},Z=function(M){U.call($,M)},q=function(){pZ1(V)},V=function(){if(K)return;if(J&&!(Q&&(Q.ended&&!Q.destroyed)))return U.call($,Error("premature close"));if(I&&!(z&&(z.ended&&!z.destroyed)))return U.call($,Error("premature close"))},F=function(){$.req.on("finish",H)};if(dZ1($))if($.on("complete",H),$.on("abort",q),$.req)F();else $.on("request",F);else if(I&&!z)$.on("end",G),$.on("close",G);if(mZ1($))$.on("exit",X);if($.on("end",W),$.on("finish",H),Y.error!==!1)$.on("error",Z);return $.on("close",q),function(){if(K=!0,$.removeListener("complete",H),$.removeListener("abort",q),$.removeListener("request",F),$.req)$.req.removeListener("finish",H);$.removeListener("end",G),$.removeListener("close",G),$.removeListener("finish",H),$.removeListener("exit",X),$.removeListener("end",W),$.removeListener("error",Z),$.removeListener("close",q)}};zL0.exports=UL0});var HL0=E((La1,GL0)=>{var EI=YL0(),JL0=QL0(),BA=X1(),lZ1=Buffer.alloc,IL0=E8().Readable,CI=E8().Writable,oZ1=I0("string_decoder").StringDecoder,AA=_i(),rZ1=parseInt("755",8),sZ1=parseInt("644",8),KL0=lZ1(1024),hi=function(){},vi=function($,Y){if(Y&=511,Y)$.push(KL0.slice(0,512-Y))};function aZ1($){switch($&EI.S_IFMT){case EI.S_IFBLK:return"block-device";case EI.S_IFCHR:return"character-device";case EI.S_IFDIR:return"directory";case EI.S_IFIFO:return"fifo";case EI.S_IFLNK:return"symlink"}return"file"}var PA=function($){CI.call(this),this.written=0,this._to=$,this._destroyed=!1};BA(PA,CI);PA.prototype._write=function($,Y,U){if(this.written+=$.length,this._to.push($))return U();this._to._drain=U};PA.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var TA=function(){CI.call(this),this.linkname="",this._decoder=new oZ1("utf-8"),this._destroyed=!1};BA(TA,CI);TA.prototype._write=function($,Y,U){this.linkname+=this._decoder.write($),U()};TA.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var uX=function(){CI.call(this),this._destroyed=!1};BA(uX,CI);uX.prototype._write=function($,Y,U){U(Error("No body allowed for this entry"))};uX.prototype.destroy=function(){if(this._destroyed)return;this._destroyed=!0,this.emit("close")};var L9=function($){if(!(this instanceof L9))return new L9($);IL0.call(this,$),this._drain=hi,this._finalized=!1,this._finalizing=!1,this._destroyed=!1,this._stream=null};BA(L9,IL0);L9.prototype.entry=function($,Y,U){if(this._stream)throw Error("already piping an entry");if(this._finalized||this._destroyed)return;if(typeof Y==="function")U=Y,Y=null;if(!U)U=hi;var z=this;if(!$.size||$.type==="symlink")$.size=0;if(!$.type)$.type=aZ1($.mode);if(!$.mode)$.mode=$.type==="directory"?rZ1:sZ1;if(!$.uid)$.uid=0;if(!$.gid)$.gid=0;if(!$.mtime)$.mtime=new Date;if(typeof Y==="string")Y=Buffer.from(Y);if(Buffer.isBuffer(Y)){$.size=Y.length,this._encode($);var Q=this.push(Y);if(vi(z,$.size),Q)process.nextTick(U);else this._drain=U;return new uX}if($.type==="symlink"&&!$.linkname){var J=new TA;return JL0(J,function(K){if(K)return z.destroy(),U(K);$.linkname=J.linkname,z._encode($),U()}),J}if(this._encode($),$.type!=="file"&&$.type!=="contiguous-file")return process.nextTick(U),new uX;var I=new PA(this);return this._stream=I,JL0(I,function(K){if(z._stream=null,K)return z.destroy(),U(K);if(I.written!==$.size)return z.destroy(),U(Error("size mismatch"));if(vi(z,$.size),z._finalizing)z.finalize();U()}),I};L9.prototype.finalize=function(){if(this._stream){this._finalizing=!0;return}if(this._finalized)return;this._finalized=!0,this.push(KL0),this.push(null)};L9.prototype.destroy=function($){if(this._destroyed)return;if(this._destroyed=!0,$)this.emit("error",$);if(this.emit("close"),this._stream&&this._stream.destroy)this._stream.destroy()};L9.prototype._encode=function($){if(!$.pax){var Y=AA.encode($);if(Y){this.push(Y);return}}this._encodePax($)};L9.prototype._encodePax=function($){var Y=AA.encodePax({name:$.name,linkname:$.linkname,pax:$.pax}),U={name:"PaxHeader",mode:$.mode,uid:$.uid,gid:$.gid,size:Y.length,mtime:$.mtime,type:"pax-header",linkname:$.linkname&&"PaxHeader",uname:$.uname,gname:$.gname,devmajor:$.devmajor,devminor:$.devminor};this.push(AA.encode(U)),this.push(Y),vi(this,Y.length),U.size=$.size,U.type=$.type,this.push(AA.encode(U))};L9.prototype._read=function($){var Y=this._drain;this._drain=hi,Y()};GL0.exports=L9});var WL0=E((tZ1)=>{tZ1.extract=eV0();tZ1.pack=HL0()});var qL0=E((wa1,ZL0)=>{var Yq1=I0("zlib"),Uq1=WL0(),XL0=TX(),T3=function($){if(!(this instanceof T3))return new T3($);if($=this.options=XL0.defaults($,{gzip:!1}),typeof $.gzipOptions!=="object")$.gzipOptions={};if(this.supports={directory:!0,symlink:!0},this.engine=Uq1.pack($),this.compressor=!1,$.gzip)this.compressor=Yq1.createGzip($.gzipOptions),this.compressor.on("error",this._onCompressorError.bind(this))};T3.prototype._onCompressorError=function($){this.engine.emit("error",$)};T3.prototype.append=function($,Y,U){var z=this;Y.mtime=Y.date;function Q(I,K){if(I){U(I);return}z.engine.entry(Y,K,function(G){U(G,Y)})}if(Y.sourceType==="buffer")Q(null,$);else if(Y.sourceType==="stream"&&Y.stats){Y.size=Y.stats.size;var J=z.engine.entry(Y,function(I){U(I,Y)});$.pipe(J)}else if(Y.sourceType==="stream")XL0.collectStream($,Q)};T3.prototype.finalize=function(){this.engine.finalize()};T3.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};T3.prototype.pipe=function($,Y){if(this.compressor)return this.engine.pipe.apply(this.engine,[this.compressor]).pipe($,Y);else return this.engine.pipe.apply(this.engine,arguments)};T3.prototype.unpipe=function(){if(this.compressor)return this.compressor.unpipe.apply(this.compressor,arguments);else return this.engine.unpipe.apply(this.engine,arguments)};ZL0.exports=T3});var wL0=E((Ma1,FL0)=>{var zq1=I0("util").inherits,VL0=E8().Transform,Qq1=tb(),LL0=TX(),T2=function($){if(!(this instanceof T2))return new T2($);$=this.options=LL0.defaults($,{}),VL0.call(this,$),this.supports={directory:!0,symlink:!0},this.files=[]};zq1(T2,VL0);T2.prototype._transform=function($,Y,U){U(null,$)};T2.prototype._writeStringified=function(){var $=JSON.stringify(this.files);this.write($)};T2.prototype.append=function($,Y,U){var z=this;Y.crc32=0;function Q(J,I){if(J){U(J);return}Y.size=I.length||0,Y.crc32=Qq1.unsigned(I),z.files.push(Y),U(null,Y)}if(Y.sourceType==="buffer")Q(null,$);else if(Y.sourceType==="stream")LL0.collectStream($,Q)};T2.prototype.finalize=function(){this._writeStringified(),this.end()};FL0.exports=T2});var OL0=E((Oa1,ML0)=>{var Jq1=aZ0(),bX={},j2=function($,Y){return j2.create($,Y)};j2.create=function($,Y){if(bX[$]){var U=new Jq1($,Y);return U.setFormat($),U.setModule(new bX[$](Y)),U}else throw Error("create("+$+"): format not registered")};j2.registerFormat=function($,Y){if(bX[$])throw Error("register("+$+"): format already registered");if(typeof Y!=="function")throw Error("register("+$+"): format module invalid");if(typeof Y.prototype.append!=="function"||typeof Y.prototype.finalize!=="function")throw Error("register("+$+"): format module missing methods");bX[$]=Y};j2.isRegisteredFormat=function($){if(bX[$])return!0;return!1};j2.registerFormat("zip",cq0());j2.registerFormat("tar",qL0());j2.registerFormat("json",wL0());ML0.exports=j2});var AL0=E((Na1,DL0)=>{class NL0{constructor(){this._values=[],this._totalRefs=0,this._hash=Object.create(null)}get count(){return this._values.length}get values(){return this._values}get totalRefs(){return this._totalRefs}getString($){return this._values[$]}add($){let Y=this._hash[$];if(Y===void 0)Y=this._hash[$]=this._values.length,this._values.push($);return this._totalRefs++,Y}}DL0.exports=NL0});var jL0=E((Da1,TL0)=>{var Iq1=Z8(),Kq1=Y2();class BL0{constructor($){this.writer=$}push($){this.writer.addHyperlink($)}}class PL0{constructor($){this.id=$.id,this.count=0,this._hyperlinks=[],this._workbook=$.workbook}get stream(){if(!this._stream)this._stream=this._workbook._openStream(`/xl/worksheets/_rels/sheet${this.id}.xml.rels`);return this._stream}get length(){return this._hyperlinks.length}each($){return this._hyperlinks.forEach($)}get hyperlinksProxy(){return this._hyperlinksProxy||(this._hyperlinksProxy=new BL0(this))}addHyperlink($){let Y={Target:$.target,Type:Kq1.Hyperlink,TargetMode:"External"},U=this._writeRelationship(Y);this._hyperlinks.push({rId:U,address:$.address})}addMedia($){return this._writeRelationship($)}addRelationship($){return this._writeRelationship($)}commit(){if(this.count)this._writeClose(),this.stream.end()}_writeOpen(){this.stream.write(` `)}_writeRelationship($){if(!this.count)this._writeOpen();let Y=`rId${++this.count}`;if($.TargetMode)this.stream.write(``);else this.stream.write(``);return Y}_writeClose(){this.stream.write("")}}TL0.exports=PL0});var vL0=E((Aa1,_L0)=>{var EL0=l6(),CL0=Y2(),Gq1=c4(),Hq1=nx(),Wq1=dx();class RL0{constructor($,Y,U){this.id=U.id,this.count=0,this._worksheet=$,this._workbook=U.workbook,this._sheetRelsWriter=Y}get commentsStream(){if(!this._commentsStream)this._commentsStream=this._workbook._openStream(`/xl/comments${this.id}.xml`);return this._commentsStream}get vmlStream(){if(!this._vmlStream)this._vmlStream=this._workbook._openStream(`xl/drawings/vmlDrawing${this.id}.vml`);return this._vmlStream}_addRelationships(){let $={Type:CL0.Comments,Target:`../comments${this.id}.xml`};this._sheetRelsWriter.addRelationship($);let Y={Type:CL0.VmlDrawing,Target:`../drawings/vmlDrawing${this.id}.vml`};this.vmlRelId=this._sheetRelsWriter.addRelationship(Y)}_addCommentRefs(){this._workbook.commentRefs.push({commentName:`comments${this.id}`,vmlDrawing:`vmlDrawing${this.id}`})}_writeOpen(){this.commentsStream.write('Author'),this.vmlStream.write('')}_writeComment($,Y){let U=new Hq1,z=new EL0;U.render(z,$),this.commentsStream.write(z.xml);let Q=new Wq1,J=new EL0;Q.render(J,$,Y),this.vmlStream.write(J.xml)}_writeClose(){this.commentsStream.write(""),this.vmlStream.write("")}addComments($){if($&&$.length){if(!this.startedData)this._worksheet.comments=[],this._writeOpen(),this._addRelationships(),this._addCommentRefs(),this.startedData=!0;$.forEach((Y)=>{Y.refAddress=Gq1.decodeAddress(Y.ref)}),$.forEach((Y)=>{this._writeComment(Y,this.count),this.count+=1})}}commit(){if(this.count)this._writeClose(),this.commentsStream.end(),this.vmlStream.end()}}_L0.exports=RL0});var xL0=E((Ba1,kL0)=>{var Xq1=Y6(),Zq1=Y2(),Si=c4(),hL0=Gg(),SL0=Y3(),qq1=Ak(),gL0=jM(),gi=CM(),Vq1=jL0(),Lq1=vL0(),Fq1=Ig(),y6=new qq1,yi=t7(),wq1=wx(),Mq1=Mx(),Oq1=Ox(),Nq1=qx(),Dq1=Xx(),Aq1=Vx(),Bq1=Nx(),Pq1=Dx(),Tq1=Ax(),jq1=Bx(),Eq1=Px(),Cq1=Tx(),Rq1=_x(),_q1=Ex(),vq1=jx(),k6={dataValidations:new wq1,sheetProperties:new Mq1,sheetFormatProperties:new Oq1,columns:new yi({tag:"cols",length:!1,childXform:new Nq1}),row:new Dq1,hyperlinks:new yi({tag:"hyperlinks",length:!1,childXform:new Aq1}),sheetViews:new yi({tag:"sheetViews",length:!1,childXform:new Bq1}),sheetProtection:new Pq1,pageMargins:new Tq1,pageSeteup:new jq1,autoFilter:new Eq1,picture:new Cq1,conditionalFormattings:new Rq1,headerFooter:new _q1,rowBreaks:new vq1};class yL0{constructor($){this.id=$.id,this.name=$.name||`Sheet${this.id}`,this.state=$.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges=[],this._merges.add=function(){},this._sheetRelsWriter=new Vq1($),this._sheetCommentsWriter=new Lq1(this,this._sheetRelsWriter,$),this._dimensions=new SL0,this._rowZero=1,this.committed=!1,this.dataValidations=new Fq1,this._formulae={},this._siFormulae=0,this.conditionalFormatting=[],this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},$.properties),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},$.headerFooter),this.pageSetup=Object.assign({},{margins:{left:0.7,right:0.7,top:0.75,bottom:0.75,header:0.3,footer:0.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!!($.pageSetup&&($.pageSetup.fitToWidth||$.pageSetup.fitToHeight)&&!$.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},$.pageSetup),this.useSharedStrings=$.useSharedStrings||!1,this._workbook=$.workbook,this.hasComments=!1,this._views=$.views||[],this.autoFilter=$.autoFilter||null,this._media=[],this.sheetProtection=null,this._writeOpenWorksheet(),this.startedData=!1}get workbook(){return this._workbook}get stream(){if(!this._stream)this._stream=this._workbook._openStream(`/xl/worksheets/sheet${this.id}.xml`),this._stream.pause();return this._stream}destroy(){throw Error("Invalid Operation: destroy")}commit(){if(this.committed)return;if(this._rows.forEach(($)=>{if($)this._writeRow($)}),this._rows=null,!this.startedData)this._writeOpenSheetData();this._writeCloseSheetData(),this._writeAutoFilter(),this._writeMergeCells(),this._writeHyperlinks(),this._writeConditionalFormatting(),this._writeDataValidations(),this._writeSheetProtection(),this._writePageMargins(),this._writePageSetup(),this._writeBackground(),this._writeHeaderFooter(),this._writeRowBreaks(),this._writeLegacyData(),this._writeCloseWorksheet(),this.stream.end(),this._sheetCommentsWriter.commit(),this._sheetRelsWriter.commit(),this.committed=!0}get dimensions(){return this._dimensions}get views(){return this._views}get columns(){return this._columns}set columns($){this._headerRowCount=$.reduce((z,Q)=>{let J=Q.header&&1||Q.headers&&Q.headers.length||0;return Math.max(z,J)},0);let Y=1,U=this._columns=[];$.forEach((z)=>{let Q=new gi(this,Y++,!1);U.push(Q),Q.defn=z})}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){Xq1.each(this._keys,$)}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=Si.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new gi(this,Y++))}return this._columns[$-1]}get _nextRow(){return this._rowZero+this._rows.length}eachRow($,Y){if(!Y)Y=$,$=void 0;if($&&$.includeEmpty){let U=this._nextRow;for(let z=this._rowZero;z{if(U.hasValues)Y(U,U.number)})}_commitRow($){let Y=!1;while(this._rows.length&&!Y){let U=this._rows.shift();if(this._rowZero++,U)this._writeRow(U),Y=U.number===$.number,this._rowZero=U.number+1}}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1];return}findRow($){let Y=$-this._rowZero;return this._rows[Y]}getRow($){let Y=$-this._rowZero;if(Y<0)throw Error("Out of bounds: this row has been committed");let U=this._rows[Y];if(!U)this._rows[Y]=U=new gL0(this,$);return U}addRow($){let Y=new gL0(this,this._nextRow);return this._rows[Y.number-this._rowZero]=Y,Y.values=$,Y}findCell($,Y){let U=Si.getAddress($,Y),z=this.findRow(U.row);return z?z.findCell(U.column):void 0}getCell($,Y){let U=Si.getAddress($,Y);return this.getRow(U.row).getCellEx(U)}mergeCells(...$){let Y=new SL0($);this._merges.forEach((z)=>{if(z.intersects(Y))throw Error("Cannot merge already merged cells")});let U=this.getCell(Y.top,Y.left);for(let z=Y.top;z<=Y.bottom;z++)for(let Q=Y.left;Q<=Y.right;Q++)if(z>Y.top||Q>Y.left)this.getCell(z,Q).merge(U);this._merges.push(Y)}addConditionalFormatting($){this.conditionalFormatting.push($)}removeConditionalFormatting($){if(typeof $==="number")this.conditionalFormatting.splice($,1);else if($ instanceof Function)this.conditionalFormatting=this.conditionalFormatting.filter($);else this.conditionalFormatting=[]}addBackgroundImage($){this._background={imageId:$}}getBackgroundImageId(){return this._background&&this._background.imageId}protect($,Y){return new Promise((U)=>{if(this.sheetProtection={sheet:!0},Y&&"spinCount"in Y)Y.spinCount=Number.isFinite(Y.spinCount)?Math.round(Math.max(0,Y.spinCount)):1e5;if($)this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=hL0.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=Y&&"spinCount"in Y?Y.spinCount:1e5,this.sheetProtection.hashValue=hL0.convertPasswordToHash($,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount);if(Y){if(this.sheetProtection=Object.assign(this.sheetProtection,Y),!$&&"spinCount"in Y)delete this.sheetProtection.spinCount}U()})}unprotect(){this.sheetProtection=null}_write($){y6.reset(),y6.addText($),this.stream.write(y6)}_writeSheetProperties($,Y,U){let z={outlineProperties:Y&&Y.outlineProperties,tabColor:Y&&Y.tabColor,pageSetup:U&&U.fitToPage?{fitToPage:U.fitToPage}:void 0};$.addText(k6.sheetProperties.toXml(z))}_writeSheetFormatProperties($,Y){let U=Y?{defaultRowHeight:Y.defaultRowHeight,dyDescent:Y.dyDescent,outlineLevelCol:Y.outlineLevelCol,outlineLevelRow:Y.outlineLevelRow}:void 0;if(Y.defaultColWidth)U.defaultColWidth=Y.defaultColWidth;$.addText(k6.sheetFormatProperties.toXml(U))}_writeOpenWorksheet(){y6.reset(),y6.addText(''),y6.addText(''),this._writeSheetProperties(y6,this.properties,this.pageSetup),y6.addText(k6.sheetViews.toXml(this.views)),this._writeSheetFormatProperties(y6,this.properties),this.stream.write(y6)}_writeColumns(){let $=gi.toModel(this.columns);if($)k6.columns.prepare($,{styles:this._workbook.styles}),this.stream.write(k6.columns.toXml($))}_writeOpenSheetData(){this._write("")}_writeRow($){if(!this.startedData)this._writeColumns(),this._writeOpenSheetData(),this.startedData=!0;if($.hasValues||$.height){let{model:Y}=$,U={styles:this._workbook.styles,sharedStrings:this.useSharedStrings?this._workbook.sharedStrings:void 0,hyperlinks:this._sheetRelsWriter.hyperlinksProxy,merges:this._merges,formulae:this._formulae,siFormulae:this._siFormulae,comments:[]};if(k6.row.prepare(Y,U),this.stream.write(k6.row.toXml(Y)),U.comments.length)this.hasComments=!0,this._sheetCommentsWriter.addComments(U.comments)}}_writeCloseSheetData(){this._write("")}_writeMergeCells(){if(this._merges.length)y6.reset(),y6.addText(``),this._merges.forEach(($)=>{y6.addText(``)}),y6.addText(""),this.stream.write(y6)}_writeHyperlinks(){this.stream.write(k6.hyperlinks.toXml(this._sheetRelsWriter._hyperlinks))}_writeConditionalFormatting(){let $={styles:this._workbook.styles};k6.conditionalFormattings.prepare(this.conditionalFormatting,$),this.stream.write(k6.conditionalFormattings.toXml(this.conditionalFormatting))}_writeRowBreaks(){this.stream.write(k6.rowBreaks.toXml(this.rowBreaks))}_writeDataValidations(){this.stream.write(k6.dataValidations.toXml(this.dataValidations.model))}_writeSheetProtection(){this.stream.write(k6.sheetProtection.toXml(this.sheetProtection))}_writePageMargins(){this.stream.write(k6.pageMargins.toXml(this.pageSetup.margins))}_writePageSetup(){this.stream.write(k6.pageSeteup.toXml(this.pageSetup))}_writeHeaderFooter(){this.stream.write(k6.headerFooter.toXml(this.headerFooter))}_writeAutoFilter(){this.stream.write(k6.autoFilter.toXml(this.autoFilter))}_writeBackground(){if(this._background){if(this._background.imageId!==void 0){let $=this._workbook.getImage(this._background.imageId),Y=this._sheetRelsWriter.addMedia({Target:`../media/${$.name}`,Type:Zq1.Image});this._background={...this._background,rId:Y}}this.stream.write(k6.picture.toXml({rId:this._background.rId}))}}_writeLegacyData(){if(this.hasComments)y6.reset(),y6.addText(``),this.stream.write(y6)}_writeDimensions(){}_writeCloseWorksheet(){this._write("")}}kL0.exports=yL0});var nL0=E((Pa1,cL0)=>{var hq1=I0("fs"),Sq1=OL0(),fL0=_W(),dU=Y2(),uL0=JN(),gq1=AL0(),yq1=Wg(),kq1=Qx(),bL0=HN(),xq1=Ix(),fq1=Kx(),uq1=XN(),bq1=Jx(),iq1=xL0(),cq1=mx();class iL0{constructor($){if($=$||{},this.created=$.created||new Date,this.modified=$.modified||this.created,this.creator=$.creator||"ExcelJS",this.lastModifiedBy=$.lastModifiedBy||"ExcelJS",this.lastPrinted=$.lastPrinted,this.useSharedStrings=$.useSharedStrings||!1,this.sharedStrings=new gq1,this.styles=$.useStyles?new uL0(!0):new uL0.Mock(!0),this._definedNames=new yq1,this._worksheets=[],this.views=[],this.zipOptions=$.zip,this.media=[],this.commentRefs=[],this.zip=Sq1("zip",this.zipOptions),$.stream)this.stream=$.stream;else if($.filename)this.stream=hq1.createWriteStream($.filename);else this.stream=new fL0;this.zip.pipe(this.stream),this.promise=Promise.all([this.addThemes(),this.addOfficeRels()])}get definedNames(){return this._definedNames}_openStream($){let Y=new fL0({bufSize:65536,batch:!0});return this.zip.append(Y,{name:$}),Y.on("finish",()=>{Y.emit("zipped")}),Y}_commitWorksheets(){let $=function(U){if(!U.committed)return new Promise((z)=>{U.stream.on("zipped",()=>{z()}),U.commit()});return Promise.resolve()},Y=this._worksheets.map($);if(Y.length)return Promise.all(Y);return Promise.resolve()}async commit(){return await this.promise,await this.addMedia(),await this._commitWorksheets(),await Promise.all([this.addContentTypes(),this.addApp(),this.addCore(),this.addSharedStrings(),this.addStyles(),this.addWorkbookRels()]),await this.addWorkbook(),this._finalize()}get nextId(){let $;for($=1;$!0);if(typeof $==="number")return this._worksheets[$];if(typeof $==="string")return this._worksheets.find((Y)=>Y&&Y.name===$);return}addStyles(){return new Promise(($)=>{this.zip.append(this.styles.xml,{name:"xl/styles.xml"}),$()})}addThemes(){return new Promise(($)=>{this.zip.append(cq1,{name:"xl/theme/theme1.xml"}),$()})}addOfficeRels(){return new Promise(($)=>{let U=new bL0().toXml([{Id:"rId1",Type:dU.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:dU.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:dU.ExtenderProperties,Target:"docProps/app.xml"}]);this.zip.append(U,{name:"/_rels/.rels"}),$()})}addContentTypes(){return new Promise(($)=>{let Y={worksheets:this._worksheets.filter(Boolean),sharedStrings:this.sharedStrings,commentRefs:this.commentRefs,media:this.media},z=new xq1().toXml(Y);this.zip.append(z,{name:"[Content_Types].xml"}),$()})}addMedia(){return Promise.all(this.media.map(($)=>{if($.type==="image"){let Y=`xl/media/${$.name}`;if($.filename)return this.zip.file($.filename,{name:Y});if($.buffer)return this.zip.append($.buffer,{name:Y});if($.base64){let U=$.base64,z=U.substring(U.indexOf(",")+1);return this.zip.append(z,{name:Y,base64:!0})}}throw Error("Unsupported media")}))}addApp(){return new Promise(($)=>{let Y={worksheets:this._worksheets.filter(Boolean)},z=new fq1().toXml(Y);this.zip.append(z,{name:"docProps/app.xml"}),$()})}addCore(){return new Promise(($)=>{let U=new kq1().toXml(this);this.zip.append(U,{name:"docProps/core.xml"}),$()})}addSharedStrings(){if(this.sharedStrings.count)return new Promise(($)=>{let U=new bq1().toXml(this.sharedStrings);this.zip.append(U,{name:"/xl/sharedStrings.xml"}),$()});return Promise.resolve()}addWorkbookRels(){let $=1,Y=[{Id:`rId${$++}`,Type:dU.Styles,Target:"styles.xml"},{Id:`rId${$++}`,Type:dU.Theme,Target:"theme/theme1.xml"}];if(this.sharedStrings.count)Y.push({Id:`rId${$++}`,Type:dU.SharedStrings,Target:"sharedStrings.xml"});return this._worksheets.forEach((U)=>{if(U)U.rId=`rId${$++}`,Y.push({Id:U.rId,Type:dU.Worksheet,Target:`worksheets/sheet${U.id}.xml`})}),new Promise((U)=>{let Q=new bL0().toXml(Y);this.zip.append(Q,{name:"/xl/_rels/workbook.xml.rels"}),U()})}addWorkbook(){let{zip:$}=this,Y={worksheets:this._worksheets.filter(Boolean),definedNames:this._definedNames.model,views:this.views,properties:{},calcProperties:{}};return new Promise((U)=>{let z=new uq1;z.prepare(Y),$.append(z.toXml(Y),{name:"/xl/workbook.xml"}),U()})}_finalize(){return new Promise(($,Y)=>{this.stream.on("error",Y),this.stream.on("finish",()=>{$(this)}),this.zip.on("error",Y),this.zip.finalize()})}}cL0.exports=iL0});var dL0=E((Ta1,pL0)=>{var ki=I0("events").listenerCount;ki=ki||function($,Y){var U=$&&$._events&&$._events[Y];if(Array.isArray(U))return U.length;else if(typeof U==="function")return 1;else return 0};pL0.exports=ki});var lL0=E((ja1,mL0)=>{mL0.exports=function(Y){var U=process&&process.version?process.version:"v5.0.0",z=U.split(".")[0].replace("v","");return z<6?new Buffer(Y):Buffer.from(Y)}});var rL0=E(()=>{var iX=lL0();if(!Buffer.prototype.indexOf)Buffer.prototype.indexOf=function($,Y){if(Y=Y||0,typeof $==="string"||$ instanceof String)$=iX($);else if(typeof $==="number"||$ instanceof Number)$=iX([$]);var U=$.length;for(var z=Y;z<=this.length-U;z++){var Q=!1;for(var J=0;J=0;z--){var Q=!1;for(var J=0;J{tL0.exports=F8;function F8($){if(!(this instanceof F8))return new F8($);this.value=$}F8.prototype.get=function($){var Y=this.value;for(var U=0;U<$.length;U++){var z=$[U];if(!Object.hasOwnProperty.call(Y,z)){Y=void 0;break}Y=Y[z]}return Y};F8.prototype.set=function($,Y){var U=this.value;for(var z=0;z<$.length-1;z++){var Q=$[z];if(!Object.hasOwnProperty.call(U,Q))U[Q]={};U=U[Q]}return U[$[z]]=Y,Y};F8.prototype.map=function($){return sL0(this.value,$,!0)};F8.prototype.forEach=function($){return this.value=sL0(this.value,$,!1),this.value};F8.prototype.reduce=function($,Y){var U=arguments.length===1,z=U?this.value:Y;return this.forEach(function(Q){if(!this.isRoot||!U)z=$.call(this,z,Q)}),z};F8.prototype.deepEqual=function($){if(arguments.length!==1)throw Error("deepEqual requires exactly one object to compare against");var Y=!0,U=$;return this.forEach(function(z){var Q=function(){Y=!1;return}.bind(this);if(!this.isRoot){if(typeof U!=="object")return Q();U=U[this.key]}var J=U;this.post(function(){U=J});var I=function(X){return Object.prototype.toString.call(X)};if(this.circular){if(F8($).get(this.circular.path)!==J)Q()}else if(typeof J!==typeof z)Q();else if(J===null||z===null||J===void 0||z===void 0){if(J!==z)Q()}else if(J.__proto__!==z.__proto__)Q();else if(J===z);else if(typeof J==="function"){if(J instanceof RegExp){if(J.toString()!=z.toString())Q()}else if(J!==z)Q()}else if(typeof J==="object")if(I(z)==="[object Arguments]"||I(J)==="[object Arguments]"){if(I(J)!==I(z))Q()}else if(J instanceof Date||z instanceof Date){if(!(J instanceof Date)||!(z instanceof Date)||J.getTime()!==z.getTime())Q()}else{var K=Object.keys(J),G=Object.keys(z);if(K.length!==G.length)return Q();for(var H=0;H{var nq1=eL0(),pq1=I0("events").EventEmitter;$F0.exports=RI;function RI($){var Y=RI.saw($,{}),U=$.call(Y.handlers,Y);if(U!==void 0)Y.handlers=U;return Y.record(),Y.chain()}RI.light=function(Y){var U=RI.saw(Y,{}),z=Y.call(U.handlers,U);if(z!==void 0)U.handlers=z;return U.chain()};RI.saw=function($,Y){var U=new pq1;return U.handlers=Y,U.actions=[],U.chain=function(){var z=nq1(U.handlers).map(function(Q){if(this.isRoot)return Q;var J=this.path;if(typeof Q==="function")this.update(function(){return U.actions.push({path:J,args:[].slice.call(arguments)}),z})});return process.nextTick(function(){U.emit("begin"),U.next()}),z},U.pop=function(){return U.actions.shift()},U.next=function(){var z=U.pop();if(!z)U.emit("end");else if(!z.trap){var Q=U.handlers;z.path.forEach(function(J){Q=Q[J]}),Q.apply(U.handlers,z.args)}},U.nest=function(z){var Q=[].slice.call(arguments,1),J=!0;if(typeof z==="boolean"){var J=z;z=Q.shift()}var I=RI.saw($,{}),K=$.call(I.handlers,I);if(K!==void 0)I.handlers=K;if(typeof U.step<"u")I.record();if(z.apply(I.chain(),Q),J!==!1)I.on("end",U.next)},U.record=function(){dq1(U)},["trap","down","jump"].forEach(function(z){U[z]=function(){throw Error("To use the trap, down and jump features, please call record() first to start recording actions.")}}),U};function dq1($){$.step=0,$.pop=function(){return $.actions[$.step++]},$.trap=function(Y,U){var z=Array.isArray(Y)?Y:[Y];$.actions.push({path:z,step:$.step,cb:U,trap:!0})},$.down=function(Y){var U=(Array.isArray(Y)?Y:[Y]).join("/"),z=$.actions.slice($.step).map(function(J){if(J.trap&&J.step<=$.step)return!1;return J.path.join("/")==U}).indexOf(!0);if(z>=0)$.step+=z;else $.step=$.actions.length;var Q=$.actions[$.step-1];if(Q&&Q.trap)$.step=Q.step,Q.cb();else $.next()},$.jump=function(Y){$.step=Y,$.next()}}});var zF0=E((va1,UF0)=>{UF0.exports=v8;function v8($){if(!(this instanceof v8))return new v8($);this.buffers=$||[],this.length=this.buffers.reduce(function(Y,U){return Y+U.length},0)}v8.prototype.push=function(){for(var $=0;$=0?$:this.length-$,Q=[].slice.call(arguments,2);if(Y===void 0)Y=this.length-z;else if(Y>this.length-z)Y=this.length-z;for(var $=0;$0){var H=z-K;if(H+Y0){var q=Q.slice();q.unshift(X),q.push(Z),U.splice.apply(U,[G,1].concat(q)),G+=q.length,Q=[]}else U.splice(G,1,X,Z),G+=2}else J.push(U[G].slice(H)),U[G]=U[G].slice(0,H),G++}if(Q.length>0)U.splice.apply(U,[G,0].concat(Q)),G+=Q.length;while(J.lengththis.length)Y=this.length;var z=0;for(var Q=0;Q=Y-$?Math.min(H+(Y-$)-I,G):G;U[K].copy(J,I,H,W),I+=W-H}return J};v8.prototype.pos=function($){if($<0||$>=this.length)throw Error("oob");var Y=$,U=0,z=null;for(;;){if(z=this.buffers[U],Y=this.buffers[U].length)if(z=0,U++,U>=this.buffers.length)return-1;var G=this.buffers[U][z];if(G==$[Q]){if(Q==0)J={i:U,j:z,pos:I};if(Q++,Q==$.length)return J.pos}else if(Q!=0)U=J.i,z=J.j,I=J.pos,Q=0;z++,I++}};v8.prototype.toBuffer=function(){return this.slice()};v8.prototype.toString=function($,Y,U){return this.slice(Y,U).toString($)}});var JF0=E((ha1,QF0)=>{QF0.exports=function($){function Y(z,Q){var J=U.store,I=z.split(".");I.slice(0,-1).forEach(function(G){if(J[G]===void 0)J[G]={};J=J[G]});var K=I[I.length-1];if(arguments.length==1)return J[K];else return J[K]=Q}var U={get:function(z){return Y(z)},set:function(z,Q){return Y(z,Q)},store:$||{}};return U}});var cX=E((mU,WF0)=>{var mq1=YF0(),IF0=I0("events").EventEmitter,lq1=zF0(),jA=JF0(),oq1=I0("stream").Stream;mU=WF0.exports=function($,Y){if(Buffer.isBuffer($))return mU.parse($);var U=mU.stream();if($&&$.pipe)$.pipe(U);else if($)$.on(Y||"data",function(z){U.write(z)}),$.on("end",function(){U.end()});return U};mU.stream=function($){if($)return mU.apply(null,arguments);var Y=null;function U(X,Z,q){Y={bytes:X,skip:q,cb:function(V){Y=null,Z(V)}},Q()}var z=null;function Q(){if(!Y){if(W)H=!0;return}if(typeof Y==="function")Y();else{var X=z+Y.bytes;if(K.length>=X){var Z;if(z==null){if(Z=K.splice(0,X),!Y.skip)Z=Z.slice()}else{if(!Y.skip)Z=K.slice(z,X);z=X}if(Y.skip)Y.cb();else Y.cb(Z)}}}function J(X){function Z(){if(!H)X.next()}var q=HF0(function(V,F){return function(M){U(V,function(w){G.set(M,F(w)),Z()})}});return q.tap=function(V){X.nest(V,G.store)},q.into=function(V,F){if(!G.get(V))G.set(V,{});var M=G;G=jA(M.get(V)),X.nest(function(){F.apply(this,arguments),this.tap(function(){G=M})},G.store)},q.flush=function(){G.store={},Z()},q.loop=function(V){var F=!1;X.nest(!1,function M(){this.vars=G.store,V.call(this,function(){F=!0,Z()},G.store),this.tap(function(){if(F)X.next();else M.call(this)}.bind(this))},G.store)},q.buffer=function(V,F){if(typeof F==="string")F=G.get(F);U(F,function(M){G.set(V,M),Z()})},q.skip=function(V){if(typeof V==="string")V=G.get(V);U(V,function(){Z()})},q.scan=function(F,M){if(typeof M==="string")M=new Buffer(M);else if(!Buffer.isBuffer(M))throw Error("search must be a Buffer or a string");var w=0;Y=function(){var N=K.indexOf(M,z+w),O=N-z-w;if(N!==-1){if(Y=null,z!=null)G.set(F,K.slice(z,z+w+O)),z+=w+O+M.length;else G.set(F,K.slice(0,w+O)),K.splice(0,w+O+M.length);Z(),Q()}else O=Math.max(K.length-M.length-z-w,0);w+=O},Q()},q.peek=function(V){z=0,X.nest(function(){V.call(this,G.store),this.tap(function(){z=null})})},q}var I=mq1.light(J);I.writable=!0;var K=lq1();I.write=function(X){K.push(X),Q()};var G=jA(),H=!1,W=!1;return I.end=function(){W=!0},I.pipe=oq1.prototype.pipe,Object.getOwnPropertyNames(IF0.prototype).forEach(function(X){I[X]=IF0.prototype[X]}),I};mU.parse=function(Y){var U=HF0(function(J,I){return function(K){if(z+J<=Y.length){var G=Y.slice(z,z+J);z+=J,Q.set(K,I(G))}else Q.set(K,null);return U}}),z=0,Q=jA();return U.vars=Q.store,U.tap=function(J){return J.call(U,Q.store),U},U.into=function(J,I){if(!Q.get(J))Q.set(J,{});var K=Q;return Q=jA(K.get(J)),I.call(U,Q.store),Q=K,U},U.loop=function(J){var I=!1,K=function(){I=!0};while(I===!1)J.call(U,K,Q.store);return U},U.buffer=function(J,I){if(typeof I==="string")I=Q.get(I);var K=Y.slice(z,Math.min(Y.length,z+I));return z+=I,Q.set(J,K),U},U.skip=function(J){if(typeof J==="string")J=Q.get(J);return z+=J,U},U.scan=function(J,I){if(typeof I==="string")I=new Buffer(I);else if(!Buffer.isBuffer(I))throw Error("search must be a Buffer or a string");Q.set(J,null);for(var K=0;K+z<=Y.length-I.length+1;K++){for(var G=0;G=Y.length},U};function KF0($){var Y=0;for(var U=0;U<$.length;U++)Y+=Math.pow(256,U)*$[U];return Y}function GF0($){var Y=0;for(var U=0;U<$.length;U++)Y+=Math.pow(256,$.length-U-1)*$[U];return Y}function rq1($){var Y=GF0($);if(($[0]&128)==128)Y-=Math.pow(256,$.length);return Y}function sq1($){var Y=KF0($);if(($[$.length-1]&128)==128)Y-=Math.pow(256,$.length);return Y}function HF0($){var Y={};return[1,2,4,8].forEach(function(U){var z=U*8;Y["word"+z+"le"]=Y["word"+z+"lu"]=$(U,KF0),Y["word"+z+"ls"]=$(U,sq1),Y["word"+z+"be"]=Y["word"+z+"bu"]=$(U,GF0),Y["word"+z+"bs"]=$(U,rq1)}),Y.word8=Y.word8u=Y.word8be,Y.word8s=Y.word8bs,Y}});var lU=E((Sa1,mi)=>{var xi=function(){return this===void 0}();if(xi)mi.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:xi,propertyIsWritable:function($,Y){var U=Object.getOwnPropertyDescriptor($,Y);return!!(!U||U.writable||U.set)}};else fi={}.hasOwnProperty,ui={}.toString,bi={}.constructor.prototype,EA=function($){var Y=[];for(var U in $)if(fi.call($,U))Y.push(U);return Y},ii=function($,Y){return{value:$[Y]}},ci=function($,Y,U){return $[Y]=U.value,$},ni=function($){return $},pi=function($){try{return Object($).constructor.prototype}catch(Y){return bi}},di=function($){try{return ui.call($)==="[object Array]"}catch(Y){return!1}},mi.exports={isArray:di,keys:EA,names:EA,defineProperty:ci,getDescriptor:ii,freeze:ni,getPrototypeOf:pi,isES5:xi,propertyIsWritable:function(){return!0}};var fi,ui,bi,EA,ii,ci,ni,pi,di});var F4=E((RA,ti)=>{var o8=lU(),aq1=typeof navigator>"u",li={e:{}},oi,tq1=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:RA!==void 0?RA:null;function eq1(){try{var $=oi;return oi=null,$.apply(this,arguments)}catch(Y){return li.e=Y,li}}function $V1($){return oi=$,eq1}var YV1=function($,Y){var U={}.hasOwnProperty;function z(){this.constructor=$,this.constructor$=Y;for(var Q in Y.prototype)if(U.call(Y.prototype,Q)&&Q.charAt(Q.length-1)!=="$")this[Q+"$"]=Y.prototype[Q]}return z.prototype=Y.prototype,$.prototype=new z,$.prototype};function ai($){return $==null||$===!0||$===!1||typeof $==="string"||typeof $==="number"}function UV1($){return typeof $==="function"||typeof $==="object"&&$!==null}function zV1($){if(!ai($))return $;return Error(CA($))}function QV1($,Y){var U=$.length,z=Array(U+1),Q;for(Q=0;Q1,z=Y.length>0&&!(Y.length===1&&Y[0]==="constructor"),Q=GV1.test($+"")&&o8.names($).length>0;if(U||z||Q)return!0}return!1}catch(J){return!1}}function WV1(obj){function FakeConstructor(){}FakeConstructor.prototype=obj;var l=8;while(l--)new FakeConstructor;return obj}var XV1=/^[a-z$_][a-z$_0-9]*$/i;function ZV1($){return XV1.test($)}function qV1($,Y,U){var z=Array($);for(var Q=0;Q<$;++Q)z[Q]=Y+Q+U;return z}function CA($){try{return $+""}catch(Y){return"[no string representation]"}}function ZF0($){return $!==null&&typeof $==="object"&&typeof $.message==="string"&&typeof $.name==="string"}function VV1($){try{XF0($,"isOperational",!0)}catch(Y){}}function LV1($){if($==null)return!1;return $ instanceof Error.__BluebirdErrorTypes__.OperationalError||$.isOperational===!0}function ri($){return ZF0($)&&o8.propertyIsWritable($,"stack")}var FV1=function(){if(!("stack"in Error()))return function($){if(ri($))return $;try{throw Error(CA($))}catch(Y){return Y}};else return function($){if(ri($))return $;return Error(CA($))}}();function qF0($){return{}.toString.call($)}function wV1($,Y,U){var z=o8.names($);for(var Q=0;Q10||$[0]>0}();if(_I.isNode)_I.toFastProperties(process);try{throw Error()}catch($){_I.lastLineError=$}ti.exports=_I});var wF0=E((ga1,FF0)=>{var $c=F4(),oU,AV1=function(){throw Error(`No async scheduler available See http://goo.gl/MqrFmX @@ -122,10 +122,10 @@ See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof T6))r `}return vA--,Y};function nX($){if(!(this instanceof nX))return new nX($);if(vI(this,"name","OperationalError"),vI(this,"message",$),this.cause=$,this.isOperational=!0,$ instanceof Error)vI(this,"message",$.message),vI(this,"stack",$.stack);else if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor)}CF0(nX,Error);var sU=Error.__BluebirdErrorTypes__;if(!sU)sU=TV1({CancellationError:EV1,TimeoutError:CV1,OperationalError:nX,RejectionError:nX,AggregateError:pX}),Kc.defineProperty(Error,"__BluebirdErrorTypes__",{value:sU,writable:!1,enumerable:!1,configurable:!1});RF0.exports={Error,TypeError:Jc,RangeError:Ic,CancellationError:sU.CancellationError,OperationalError:sU.OperationalError,TimeoutError:sU.TimeoutError,AggregateError:sU.AggregateError,Warning:jV1}});var vF0=E((fa1,_F0)=>{_F0.exports=function($,Y){var U=F4(),z=U.errorObj,Q=U.isObject;function J(X,Z){if(Q(X)){if(X instanceof $)return X;var q=K(X);if(q===z){if(Z)Z._pushContext();var V=$.reject(q.e);if(Z)Z._popContext();return V}else if(typeof q==="function"){if(H(X)){var V=new $(Y);return X._then(V._fulfill,V._reject,void 0,V,null),V}return W(X,q,Z)}}return X}function I(X){return X.then}function K(X){try{return I(X)}catch(Z){return z.e=Z,z}}var G={}.hasOwnProperty;function H(X){try{return G.call(X,"_promise0")}catch(Z){return!1}}function W(X,Z,q){var V=new $(Y),F=V;if(q)q._pushContext();if(V._captureStackTrace(),q)q._popContext();var M=!0,w=U.tryCatch(Z).call(X,N,O);if(M=!1,V&&w===z)V._rejectCallback(w.e,!0,!0),V=null;function N(D){if(!V)return;V._resolveCallback(D),V=null}function O(D){if(!V)return;V._rejectCallback(D,M,!0),V=null}return F}return J}});var SF0=E((ua1,hF0)=>{hF0.exports=function($,Y,U,z,Q){var J=F4(),I=J.isArray;function K(H){switch(H){case-2:return[];case-3:return{}}}function G(H){var W=this._promise=new $(Y);if(H instanceof $)W._propagateFrom(H,3);W._setOnCancel(this),this._values=H,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return J.inherits(G,Q),G.prototype.length=function(){return this._length},G.prototype.promise=function(){return this._promise},G.prototype._init=function H(W,X){var Z=U(this._values,this._promise);if(Z instanceof $){Z=Z._target();var q=Z._bitField;if(this._values=Z,(q&50397184)===0)return this._promise._setAsyncGuaranteed(),Z._then(H,this._reject,void 0,this,X);else if((q&33554432)!==0)Z=Z._value();else if((q&16777216)!==0)return this._reject(Z._reason());else return this._cancel()}if(Z=J.asArray(Z),Z===null){var V=z("expecting an array or an iterable object but got "+J.classString(Z)).reason();this._promise._rejectCallback(V,!1);return}if(Z.length===0){if(X===-5)this._resolveEmptyArray();else this._resolve(K(X));return}this._iterate(Z)},G.prototype._iterate=function(H){var W=this.getActualLength(H.length);this._length=W,this._values=this.shouldCopyValues()?Array(W):this._values;var X=this._promise,Z=!1,q=null;for(var V=0;V=this._length)return this._resolve(this._values),!0;return!1},G.prototype._promiseCancelled=function(){return this._cancel(),!0},G.prototype._promiseRejected=function(H){return this._totalResolved++,this._reject(H),!0},G.prototype._resultCancelled=function(){if(this._isResolved())return;var H=this._values;if(this._cancel(),H instanceof $)H.cancel();else for(var W=0;W{gF0.exports=function($){var Y=!1,U=[];$.prototype._promiseCreated=function(){},$.prototype._pushContext=function(){},$.prototype._popContext=function(){return null},$._peekContext=$.prototype._peekContext=function(){};function z(){this._trace=new z.CapturedTrace(J())}z.prototype._pushContext=function(){if(this._trace!==void 0)this._trace._promiseCreated=null,U.push(this._trace)},z.prototype._popContext=function(){if(this._trace!==void 0){var I=U.pop(),K=I._promiseCreated;return I._promiseCreated=null,K}return null};function Q(){if(Y)return new z}function J(){var I=U.length-1;if(I>=0)return U[I];return}return z.CapturedTrace=null,z.create=Q,z.deactivateLongStackTraces=function(){},z.activateLongStackTraces=function(){var I=$.prototype._pushContext,K=$.prototype._popContext,G=$._peekContext,H=$.prototype._peekContext,W=$.prototype._promiseCreated;z.deactivateLongStackTraces=function(){$.prototype._pushContext=I,$.prototype._popContext=K,$._peekContext=G,$.prototype._peekContext=H,$.prototype._promiseCreated=W,Y=!1},Y=!0,$.prototype._pushContext=z.prototype._pushContext,$.prototype._popContext=z.prototype._popContext,$._peekContext=$.prototype._peekContext=J,$.prototype._promiseCreated=function(){var X=this._peekContext();if(X&&X._promiseCreated==null)X._promiseCreated=this}},z}});var xF0=E((ia1,kF0)=>{kF0.exports=function($,Y){var{_getDomain:U,_async:z}=$,Q=j3().Warning,J=F4(),I=J.canAttachTrace,K,G,H=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,W=/\((?:timers\.js):\d+:\d+\)/,X=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,Z=null,q=null,V=!1,F,M=!!(J.env("BLUEBIRD_DEBUG")!=0&&(J.env("BLUEBIRD_DEBUG")||J.env("NODE_ENV")==="development")),w=!!(J.env("BLUEBIRD_WARNINGS")!=0&&(M||J.env("BLUEBIRD_WARNINGS"))),N=!!(J.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(M||J.env("BLUEBIRD_LONG_STACK_TRACES"))),O=J.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(w||!!J.env("BLUEBIRD_W_FORGOTTEN_RETURN"));$.prototype.suppressUnhandledRejections=function(){var Q0=this._target();Q0._bitField=Q0._bitField&-1048577|524288},$.prototype._ensurePossibleRejectionHandled=function(){if((this._bitField&524288)!==0)return;this._setRejectionIsUnhandled(),z.invokeLater(this._notifyUnhandledRejection,this,void 0)},$.prototype._notifyUnhandledRejectionIsHandled=function(){a("rejectionHandled",K,void 0,this)},$.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},$.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},$.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var Q0=this._settledValue();this._setUnhandledRejectionIsNotified(),a("unhandledRejection",G,Q0,this)}},$.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},$.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},$.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},$.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},$.prototype._unsetRejectionIsUnhandled=function(){if(this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified())this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled()},$.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},$.prototype._warn=function(Q0,B,v){return s(Q0,B,v||this)},$.onPossiblyUnhandledRejection=function(Q0){var B=U();G=typeof Q0==="function"?B===null?Q0:J.domainBind(B,Q0):void 0},$.onUnhandledRejectionHandled=function(Q0){var B=U();K=typeof Q0==="function"?B===null?Q0:J.domainBind(B,Q0):void 0};var D=function(){};$.longStackTraces=function(){if(z.haveItemsQueued()&&!A0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created See http://goo.gl/MqrFmX -`);if(!A0.longStackTraces&&f0()){var Q0=$.prototype._captureStackTrace,B=$.prototype._attachExtraTrace;A0.longStackTraces=!0,D=function(){if(z.haveItemsQueued()&&!A0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created +`);if(!A0.longStackTraces&&u0()){var Q0=$.prototype._captureStackTrace,B=$.prototype._attachExtraTrace;A0.longStackTraces=!0,D=function(){if(z.haveItemsQueued()&&!A0.longStackTraces)throw Error(`cannot enable long stack traces after promises have been created See http://goo.gl/MqrFmX -`);$.prototype._captureStackTrace=Q0,$.prototype._attachExtraTrace=B,Y.deactivateLongStackTraces(),z.enableTrampoline(),A0.longStackTraces=!1},$.prototype._captureStackTrace=g,$.prototype._attachExtraTrace=p,Y.activateLongStackTraces(),z.disableTrampolineIfNecessary()}},$.hasLongStackTraces=function(){return A0.longStackTraces&&f0()};var P=function(){try{if(typeof CustomEvent==="function"){var Q0=new CustomEvent("CustomEvent");return J.global.dispatchEvent(Q0),function(B,v){var u=new CustomEvent(B.toLowerCase(),{detail:v,cancelable:!0});return!J.global.dispatchEvent(u)}}else if(typeof Event==="function"){var Q0=new Event("CustomEvent");return J.global.dispatchEvent(Q0),function(v,u){var r=new Event(v.toLowerCase(),{cancelable:!0});return r.detail=u,!J.global.dispatchEvent(r)}}else{var Q0=document.createEvent("CustomEvent");return Q0.initCustomEvent("testingtheevent",!1,!0,{}),J.global.dispatchEvent(Q0),function(v,u){var r=document.createEvent("CustomEvent");return r.initCustomEvent(v.toLowerCase(),!1,!0,u),!J.global.dispatchEvent(r)}}}catch(B){}return function(){return!1}}(),T=function(){if(J.isNode)return function(){return process.emit.apply(process,arguments)};else{if(!J.global)return function(){return!1};return function(Q0){var B="on"+Q0.toLowerCase(),v=J.global[B];if(!v)return!1;return v.apply(J.global,[].slice.call(arguments,1)),!0}}}();function A(Q0,B){return{promise:B}}var j={promiseCreated:A,promiseFulfilled:A,promiseRejected:A,promiseResolved:A,promiseCancelled:A,promiseChained:function(Q0,B,v){return{promise:B,child:v}},warning:function(Q0,B){return{warning:B}},unhandledRejection:function(Q0,B,v){return{reason:B,promise:v}},rejectionHandled:A},C=function(Q0){var B=!1;try{B=T.apply(null,arguments)}catch(u){z.throwLater(u),B=!0}var v=!1;try{v=P(Q0,j[Q0].apply(null,arguments))}catch(u){z.throwLater(u),v=!0}return v||B};$.config=function(Q0){if(Q0=Object(Q0),"longStackTraces"in Q0){if(Q0.longStackTraces)$.longStackTraces();else if(!Q0.longStackTraces&&$.hasLongStackTraces())D()}if("warnings"in Q0){var B=Q0.warnings;if(A0.warnings=!!B,O=A0.warnings,J.isObject(B)){if("wForgottenReturn"in B)O=!!B.wForgottenReturn}}if("cancellation"in Q0&&Q0.cancellation&&!A0.cancellation){if(z.haveItemsQueued())throw Error("cannot enable cancellation after promises are in use");$.prototype._clearCancellationData=z0,$.prototype._propagateFrom=k,$.prototype._onCancel=i,$.prototype._setOnCancel=c,$.prototype._attachCancellationCallback=S,$.prototype._execute=x,t=k,A0.cancellation=!0}if("monitoring"in Q0){if(Q0.monitoring&&!A0.monitoring)A0.monitoring=!0,$.prototype._fireEvent=C;else if(!Q0.monitoring&&A0.monitoring)A0.monitoring=!1,$.prototype._fireEvent=b}return $};function b(){return!1}$.prototype._fireEvent=b,$.prototype._execute=function(Q0,B,v){try{Q0(B,v)}catch(u){return u}},$.prototype._onCancel=function(){},$.prototype._setOnCancel=function(Q0){},$.prototype._attachCancellationCallback=function(Q0){},$.prototype._captureStackTrace=function(){},$.prototype._attachExtraTrace=function(){},$.prototype._clearCancellationData=function(){},$.prototype._propagateFrom=function(Q0,B){};function x(Q0,B,v){var u=this;try{Q0(B,v,function(r){if(typeof r!=="function")throw TypeError("onCancel must be a function, got: "+J.toString(r));u._attachCancellationCallback(r)})}catch(r){return r}}function S(Q0){if(!this._isCancellable())return this;var B=this._onCancel();if(B!==void 0)if(J.isArray(B))B.push(Q0);else this._setOnCancel([B,Q0]);else this._setOnCancel(Q0)}function i(){return this._onCancelField}function c(Q0){this._onCancelField=Q0}function z0(){this._cancellationParent=void 0,this._onCancelField=void 0}function k(Q0,B){if((B&1)!==0){this._cancellationParent=Q0;var v=Q0._branchesRemainingToCancel;if(v===void 0)v=0;Q0._branchesRemainingToCancel=v+1}if((B&2)!==0&&Q0._isBound())this._setBoundTo(Q0._boundTo)}function d(Q0,B){if((B&2)!==0&&Q0._isBound())this._setBoundTo(Q0._boundTo)}var t=d;function $0(){var Q0=this._boundTo;if(Q0!==void 0){if(Q0 instanceof $)if(Q0.isFulfilled())return Q0.value();else return}return Q0}function g(){this._trace=new u1(this._peekContext())}function p(Q0,B){if(I(Q0)){var v=this._trace;if(v!==void 0){if(B)v=v._parent}if(v!==void 0)v.attachExtraTrace(Q0);else if(!Q0.__stackCleaned__){var u=i0(Q0);J.notEnumerableProp(Q0,"stack",u.message+` +`);$.prototype._captureStackTrace=Q0,$.prototype._attachExtraTrace=B,Y.deactivateLongStackTraces(),z.enableTrampoline(),A0.longStackTraces=!1},$.prototype._captureStackTrace=g,$.prototype._attachExtraTrace=p,Y.activateLongStackTraces(),z.disableTrampolineIfNecessary()}},$.hasLongStackTraces=function(){return A0.longStackTraces&&u0()};var P=function(){try{if(typeof CustomEvent==="function"){var Q0=new CustomEvent("CustomEvent");return J.global.dispatchEvent(Q0),function(B,v){var u=new CustomEvent(B.toLowerCase(),{detail:v,cancelable:!0});return!J.global.dispatchEvent(u)}}else if(typeof Event==="function"){var Q0=new Event("CustomEvent");return J.global.dispatchEvent(Q0),function(v,u){var r=new Event(v.toLowerCase(),{cancelable:!0});return r.detail=u,!J.global.dispatchEvent(r)}}else{var Q0=document.createEvent("CustomEvent");return Q0.initCustomEvent("testingtheevent",!1,!0,{}),J.global.dispatchEvent(Q0),function(v,u){var r=document.createEvent("CustomEvent");return r.initCustomEvent(v.toLowerCase(),!1,!0,u),!J.global.dispatchEvent(r)}}}catch(B){}return function(){return!1}}(),T=function(){if(J.isNode)return function(){return process.emit.apply(process,arguments)};else{if(!J.global)return function(){return!1};return function(Q0){var B="on"+Q0.toLowerCase(),v=J.global[B];if(!v)return!1;return v.apply(J.global,[].slice.call(arguments,1)),!0}}}();function A(Q0,B){return{promise:B}}var j={promiseCreated:A,promiseFulfilled:A,promiseRejected:A,promiseResolved:A,promiseCancelled:A,promiseChained:function(Q0,B,v){return{promise:B,child:v}},warning:function(Q0,B){return{warning:B}},unhandledRejection:function(Q0,B,v){return{reason:B,promise:v}},rejectionHandled:A},C=function(Q0){var B=!1;try{B=T.apply(null,arguments)}catch(u){z.throwLater(u),B=!0}var v=!1;try{v=P(Q0,j[Q0].apply(null,arguments))}catch(u){z.throwLater(u),v=!0}return v||B};$.config=function(Q0){if(Q0=Object(Q0),"longStackTraces"in Q0){if(Q0.longStackTraces)$.longStackTraces();else if(!Q0.longStackTraces&&$.hasLongStackTraces())D()}if("warnings"in Q0){var B=Q0.warnings;if(A0.warnings=!!B,O=A0.warnings,J.isObject(B)){if("wForgottenReturn"in B)O=!!B.wForgottenReturn}}if("cancellation"in Q0&&Q0.cancellation&&!A0.cancellation){if(z.haveItemsQueued())throw Error("cannot enable cancellation after promises are in use");$.prototype._clearCancellationData=z0,$.prototype._propagateFrom=k,$.prototype._onCancel=i,$.prototype._setOnCancel=c,$.prototype._attachCancellationCallback=S,$.prototype._execute=x,t=k,A0.cancellation=!0}if("monitoring"in Q0){if(Q0.monitoring&&!A0.monitoring)A0.monitoring=!0,$.prototype._fireEvent=C;else if(!Q0.monitoring&&A0.monitoring)A0.monitoring=!1,$.prototype._fireEvent=b}return $};function b(){return!1}$.prototype._fireEvent=b,$.prototype._execute=function(Q0,B,v){try{Q0(B,v)}catch(u){return u}},$.prototype._onCancel=function(){},$.prototype._setOnCancel=function(Q0){},$.prototype._attachCancellationCallback=function(Q0){},$.prototype._captureStackTrace=function(){},$.prototype._attachExtraTrace=function(){},$.prototype._clearCancellationData=function(){},$.prototype._propagateFrom=function(Q0,B){};function x(Q0,B,v){var u=this;try{Q0(B,v,function(r){if(typeof r!=="function")throw TypeError("onCancel must be a function, got: "+J.toString(r));u._attachCancellationCallback(r)})}catch(r){return r}}function S(Q0){if(!this._isCancellable())return this;var B=this._onCancel();if(B!==void 0)if(J.isArray(B))B.push(Q0);else this._setOnCancel([B,Q0]);else this._setOnCancel(Q0)}function i(){return this._onCancelField}function c(Q0){this._onCancelField=Q0}function z0(){this._cancellationParent=void 0,this._onCancelField=void 0}function k(Q0,B){if((B&1)!==0){this._cancellationParent=Q0;var v=Q0._branchesRemainingToCancel;if(v===void 0)v=0;Q0._branchesRemainingToCancel=v+1}if((B&2)!==0&&Q0._isBound())this._setBoundTo(Q0._boundTo)}function d(Q0,B){if((B&2)!==0&&Q0._isBound())this._setBoundTo(Q0._boundTo)}var t=d;function $0(){var Q0=this._boundTo;if(Q0!==void 0){if(Q0 instanceof $)if(Q0.isFulfilled())return Q0.value();else return}return Q0}function g(){this._trace=new u1(this._peekContext())}function p(Q0,B){if(I(Q0)){var v=this._trace;if(v!==void 0){if(B)v=v._parent}if(v!==void 0)v.attachExtraTrace(Q0);else if(!Q0.__stackCleaned__){var u=i0(Q0);J.notEnumerableProp(Q0,"stack",u.message+` `+u.stack.join(` `)),J.notEnumerableProp(Q0,"__stackCleaned__",!0)}}}function e(Q0,B,v,u,r){if(Q0===void 0&&B!==null&&O){if(r!==void 0&&r._returnedNonUndefined())return;if((u._bitField&65535)===0)return;if(v)v=v+" ";var X0="",J0="";if(B._trace){var q0=B._trace.stack.split(` `),M0=G0(q0);for(var B0=M0.length-1;B0>=0;--B0){var r0=M0[B0];if(!W.test(r0)){var I1=r0.match(X);if(I1)X0="at "+I1[1]+":"+I1[2]+":"+I1[3]+" ";break}}if(M0.length>0){var z1=M0[0];for(var B0=0;B00)J0=` @@ -135,11 +135,11 @@ See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof T6))r `);if(v=0;--q0)if(u[q0]===X0){J0=q0;break}for(var q0=J0;q0>=0;--q0){var M0=u[q0];if(B[r]===M0)B.pop(),r--;else break}B=u}}function G0(Q0){var B=[];for(var v=0;v0&&Q0.name!="SyntaxError")B=B.slice(v);return B}function i0(Q0){var B=Q0.stack,v=Q0.toString();return B=typeof B==="string"&&B.length>0?T0(Q0):[" (No stack trace)"],{message:v,stack:Q0.name=="SyntaxError"?B:G0(B)}}function Y1(Q0,B,v){if(typeof console<"u"){var u;if(J.isObject(Q0)){var r=Q0.stack;u=B+q(r,Q0)}else u=B+String(Q0);if(typeof F==="function")F(u,v);else if(typeof console.log==="function"||typeof console.log==="object")console.log(u)}}function a(Q0,B,v,u){var r=!1;try{if(typeof B==="function")if(r=!0,Q0==="rejectionHandled")B(u);else B(v,u)}catch(X0){z.throwLater(X0)}if(Q0==="unhandledRejection"){if(!C(Q0,v,u)&&!r)Y1(v,"Unhandled rejection ")}else C(Q0,u)}function W0(Q0){var B;if(typeof Q0==="function")B="[function "+(Q0.name||"anonymous")+"]";else{B=Q0&&typeof Q0.toString==="function"?Q0.toString():J.toString(Q0);var v=/\[object [a-zA-Z0-9$_]+\]/;if(v.test(B))try{var u=JSON.stringify(Q0);B=u}catch(r){}if(B.length===0)B="(empty array)"}return"(<"+F0(B)+">, no stack trace)"}function F0(Q0){var B=41;if(Q0.length=0;--q0)if(u[q0]===X0){J0=q0;break}for(var q0=J0;q0>=0;--q0){var M0=u[q0];if(B[r]===M0)B.pop(),r--;else break}B=u}}function G0(Q0){var B=[];for(var v=0;v0&&Q0.name!="SyntaxError")B=B.slice(v);return B}function i0(Q0){var B=Q0.stack,v=Q0.toString();return B=typeof B==="string"&&B.length>0?T0(Q0):[" (No stack trace)"],{message:v,stack:Q0.name=="SyntaxError"?B:G0(B)}}function Y1(Q0,B,v){if(typeof console<"u"){var u;if(J.isObject(Q0)){var r=Q0.stack;u=B+q(r,Q0)}else u=B+String(Q0);if(typeof F==="function")F(u,v);else if(typeof console.log==="function"||typeof console.log==="object")console.log(u)}}function a(Q0,B,v,u){var r=!1;try{if(typeof B==="function")if(r=!0,Q0==="rejectionHandled")B(u);else B(v,u)}catch(X0){z.throwLater(X0)}if(Q0==="unhandledRejection"){if(!C(Q0,v,u)&&!r)Y1(v,"Unhandled rejection ")}else C(Q0,u)}function W0(Q0){var B;if(typeof Q0==="function")B="[function "+(Q0.name||"anonymous")+"]";else{B=Q0&&typeof Q0.toString==="function"?Q0.toString():J.toString(Q0);var v=/\[object [a-zA-Z0-9$_]+\]/;if(v.test(B))try{var u=JSON.stringify(Q0);B=u}catch(r){}if(B.length===0)B="(empty array)"}return"(<"+F0(B)+">, no stack trace)"}function F0(Q0){var B=41;if(Q0.length=X0)return;u0=function(r0){if(H.test(r0))return!0;var I1=D1(r0);if(I1){if(I1.fileName===J0&&(r<=I1.line&&I1.line<=X0))return!0}return!1}}function u1(Q0){this._parent=Q0,this._promisesCreated=0;var B=this._length=1+(Q0===void 0?0:Q0._length);if(b1(this,u1),B>32)this.uncycle()}J.inherits(u1,Error),Y.CapturedTrace=u1,u1.prototype.uncycle=function(){var Q0=this._length;if(Q0<2)return;var B=[],v={};for(var u=0,r=this;r!==void 0;++u)B.push(r),r=r._parent;Q0=this._length=u;for(var u=Q0-1;u>=0;--u){var X0=B[u].stack;if(v[X0]===void 0)v[X0]=u}for(var u=0;u0)B[q0-1]._parent=void 0,B[q0-1]._length=1;B[u]._parent=void 0,B[u]._length=1;var M0=u>0?B[u-1]:this;if(q0=0;--r0)B[r0]._length=B0,B0++;return}}},u1.prototype.attachExtraTrace=function(Q0){if(Q0.__stackCleaned__)return;this.uncycle();var B=i0(Q0),v=B.message,u=[B.stack],r=this;while(r!==void 0)u.push(G0(r.stack.split(` -`))),r=r._parent;E0(u),N0(u),J.notEnumerableProp(Q0,"stack",Y0(v,u)),J.notEnumerableProp(Q0,"__stackCleaned__",!0)};var b1=function(){var B=/^\s*at\s*/,v=function(J0,q0){if(typeof J0==="string")return J0;if(q0.name!==void 0&&q0.message!==void 0)return q0.toString();return W0(q0)};if(typeof Error.stackTraceLimit==="number"&&typeof Error.captureStackTrace==="function"){Error.stackTraceLimit+=6,Z=B,q=v;var u=Error.captureStackTrace;return u0=function(J0){return H.test(J0)},function(J0,q0){Error.stackTraceLimit+=6,u(J0,q0),Error.stackTraceLimit-=6}}var r=Error();if(typeof r.stack==="string"&&r.stack.split(` +`),r=-1,X0=-1,J0,q0;for(var M0=0;M0=X0)return;b0=function(r0){if(H.test(r0))return!0;var I1=D1(r0);if(I1){if(I1.fileName===J0&&(r<=I1.line&&I1.line<=X0))return!0}return!1}}function u1(Q0){this._parent=Q0,this._promisesCreated=0;var B=this._length=1+(Q0===void 0?0:Q0._length);if(b1(this,u1),B>32)this.uncycle()}J.inherits(u1,Error),Y.CapturedTrace=u1,u1.prototype.uncycle=function(){var Q0=this._length;if(Q0<2)return;var B=[],v={};for(var u=0,r=this;r!==void 0;++u)B.push(r),r=r._parent;Q0=this._length=u;for(var u=Q0-1;u>=0;--u){var X0=B[u].stack;if(v[X0]===void 0)v[X0]=u}for(var u=0;u0)B[q0-1]._parent=void 0,B[q0-1]._length=1;B[u]._parent=void 0,B[u]._length=1;var M0=u>0?B[u-1]:this;if(q0=0;--r0)B[r0]._length=B0,B0++;return}}},u1.prototype.attachExtraTrace=function(Q0){if(Q0.__stackCleaned__)return;this.uncycle();var B=i0(Q0),v=B.message,u=[B.stack],r=this;while(r!==void 0)u.push(G0(r.stack.split(` +`))),r=r._parent;E0(u),N0(u),J.notEnumerableProp(Q0,"stack",Y0(v,u)),J.notEnumerableProp(Q0,"__stackCleaned__",!0)};var b1=function(){var B=/^\s*at\s*/,v=function(J0,q0){if(typeof J0==="string")return J0;if(q0.name!==void 0&&q0.message!==void 0)return q0.toString();return W0(q0)};if(typeof Error.stackTraceLimit==="number"&&typeof Error.captureStackTrace==="function"){Error.stackTraceLimit+=6,Z=B,q=v;var u=Error.captureStackTrace;return b0=function(J0){return H.test(J0)},function(J0,q0){Error.stackTraceLimit+=6,u(J0,q0),Error.stackTraceLimit-=6}}var r=Error();if(typeof r.stack==="string"&&r.stack.split(` `)[0].indexOf("stackDetection@")>=0)return Z=/@/,q=v,V=!0,function(q0){q0.stack=Error().stack};var X0;try{throw Error()}catch(J0){X0="stack"in J0}if(!("stack"in r)&&X0&&typeof Error.stackTraceLimit==="number")return Z=B,q=v,function(q0){Error.stackTraceLimit+=6;try{throw Error()}catch(M0){q0.stack=M0.stack}Error.stackTraceLimit-=6};return q=function(J0,q0){if(typeof J0==="string")return J0;if((typeof q0==="object"||typeof q0==="function")&&q0.name!==void 0&&q0.message!==void 0)return q0.toString();return W0(q0)},null}([]);if(typeof console<"u"&&typeof console.warn<"u"){if(F=function(Q0){console.warn(Q0)},J.isNode&&process.stderr.isTTY)F=function(Q0,B){var v=B?"\x1B[33m":"\x1B[31m";console.warn(v+Q0+`\x1B[0m `)};else if(!J.isNode&&typeof Error().stack==="string")F=function(Q0,B){console.warn("%c"+Q0,B?"color: darkorange":"color: red")}}var A0={warnings:w,longStackTraces:!1,cancellation:!1,monitoring:!1};if(N)$.longStackTraces();return{longStackTraces:function(){return A0.longStackTraces},warnings:function(){return A0.warnings},cancellation:function(){return A0.cancellation},monitoring:function(){return A0.monitoring},propagateFromFunction:function(){return t},boundValueFunction:function(){return $0},checkForgottenReturns:e,setBounds:k1,warn:s,deprecated:y,CapturedTrace:u1,fireDomEvent:P,fireGlobalEvent:T}}});var uF0=E((ca1,fF0)=>{fF0.exports=function($,Y){var U=F4(),z=$.CancellationError,Q=U.errorObj;function J(X,Z,q){this.promise=X,this.type=Z,this.handler=q,this.called=!1,this.cancelPromise=null}J.prototype.isFinallyHandler=function(){return this.type===0};function I(X){this.finallyHandler=X}I.prototype._resultCancelled=function(){K(this.finallyHandler)};function K(X,Z){if(X.cancelPromise!=null){if(arguments.length>1)X.cancelPromise._reject(Z);else X.cancelPromise._cancel();return X.cancelPromise=null,!0}return!1}function G(){return W.call(this,this.promise._target()._settledValue())}function H(X){if(K(this,X))return;return Q.e=X,Q}function W(X){var Z=this.promise,q=this.handler;if(!this.called){this.called=!0;var V=this.isFinallyHandler()?q.call(Z._boundValue()):q.call(Z._boundValue(),X);if(V!==void 0){Z._setReturnedNonUndefined();var F=Y(V,Z);if(F instanceof $){if(this.cancelPromise!=null){if(F._isCancelled()){var M=new z("late cancellation observer");return Z._attachExtraTrace(M),Q.e=M,Q}else if(F.isPending())F._attachCancellationCallback(new I(this))}return F._then(G,H,void 0,this,void 0)}}}if(Z.isRejected())return K(this),Q.e=X,Q;else return K(this),X}return $.prototype._passThrough=function(X,Z,q,V){if(typeof X!=="function")return this.then();return this._then(q,V,void 0,new J(this,Z,X),void 0)},$.prototype.lastly=$.prototype.finally=function(X){return this._passThrough(X,0,W,W)},$.prototype.tap=function(X){return this._passThrough(X,1,W)},J}});var iF0=E((na1,bF0)=>{bF0.exports=function($){var Y=F4(),U=lU().keys,z=Y.tryCatch,Q=Y.errorObj;function J(I,K,G){return function(H){var W=G._boundValue();$:for(var X=0;X{var cF0=F4(),RV1=cF0.maybeWrapAsError,_V1=j3(),vV1=_V1.OperationalError,nF0=lU();function hV1($){return $ instanceof Error&&nF0.getPrototypeOf($)===Error.prototype}var SV1=/^(?:name|message|stack|cause)$/;function gV1($){var Y;if(hV1($)){Y=new vV1($),Y.name=$.name,Y.message=$.message,Y.stack=$.stack;var U=nF0.keys($);for(var z=0;z{dF0.exports=function($,Y,U,z,Q){var J=F4(),I=J.tryCatch;$.method=function(K){if(typeof K!=="function")throw new $.TypeError("expecting a function but got "+J.classString(K));return function(){var G=new $(Y);G._captureStackTrace(),G._pushContext();var H=I(K).apply(this,arguments),W=G._popContext();return Q.checkForgottenReturns(H,W,"Promise.method",G),G._resolveFromSyncValue(H),G}},$.attempt=$.try=function(K){if(typeof K!=="function")return z("expecting a function but got "+J.classString(K));var G=new $(Y);G._captureStackTrace(),G._pushContext();var H;if(arguments.length>1){Q.deprecated("calling Promise.try with more than 1 argument");var W=arguments[1],X=arguments[2];H=J.isArray(W)?I(K).apply(X,W):I(K).call(X,W)}else H=I(K)();var Z=G._popContext();return Q.checkForgottenReturns(H,Z,"Promise.try",G),G._resolveFromSyncValue(H),G},$.prototype._resolveFromSyncValue=function(K){if(K===J.errorObj)this._rejectCallback(K.e,!1);else this._resolveCallback(K,!0)}}});var oF0=E((ma1,lF0)=>{lF0.exports=function($,Y,U,z){var Q=!1,J=function(H,W){this._reject(W)},I=function(H,W){W.promiseRejectionQueued=!0,W.bindingPromise._then(J,J,null,this,H)},K=function(H,W){if((this._bitField&50397184)===0)this._resolveCallback(W.target)},G=function(H,W){if(!W.promiseRejectionQueued)this._reject(H)};$.prototype.bind=function(H){if(!Q)Q=!0,$.prototype._propagateFrom=z.propagateFromFunction(),$.prototype._boundValue=z.boundValueFunction();var W=U(H),X=new $(Y);X._propagateFrom(this,1);var Z=this._target();if(X._setBoundTo(W),W instanceof $){var q={promiseRejectionQueued:!1,promise:X,target:Z,bindingPromise:W};Z._then(Y,I,void 0,X,q),W._then(K,G,void 0,X,q),X._setOnCancel(W)}else X._resolveCallback(Z);return X},$.prototype._setBoundTo=function(H){if(H!==void 0)this._bitField=this._bitField|2097152,this._boundTo=H;else this._bitField=this._bitField&-2097153},$.prototype._isBound=function(){return(this._bitField&2097152)===2097152},$.bind=function(H,W){return $.resolve(W).bind(H)}}});var sF0=E((la1,rF0)=>{rF0.exports=function($,Y,U,z){var Q=F4(),J=Q.tryCatch,I=Q.errorObj,K=$._async;$.prototype.break=$.prototype.cancel=function(){if(!z.cancellation())return this._warn("cancellation is disabled");var G=this,H=G;while(G._isCancellable()){if(!G._cancelBy(H)){if(H._isFollowing())H._followee().cancel();else H._cancelBranched();break}var W=G._cancellationParent;if(W==null||!W._isCancellable()){if(G._isFollowing())G._followee().cancel();else G._cancelBranched();break}else{if(G._isFollowing())G._followee().cancel();G._setWillBeCancelled(),H=G,G=W}}},$.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},$.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},$.prototype._cancelBy=function(G){if(G===this)return this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0;else if(this._branchHasCancelled(),this._enoughBranchesHaveCancelled())return this._invokeOnCancel(),!0;return!1},$.prototype._cancelBranched=function(){if(this._enoughBranchesHaveCancelled())this._cancel()},$.prototype._cancel=function(){if(!this._isCancellable())return;this._setCancelled(),K.invoke(this._cancelPromises,this,void 0)},$.prototype._cancelPromises=function(){if(this._length()>0)this._settlePromises()},$.prototype._unsetOnCancel=function(){this._onCancelField=void 0},$.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},$.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},$.prototype._doInvokeOnCancel=function(G,H){if(Q.isArray(G))for(var W=0;W{aF0.exports=function($){function Y(){return this.value}function U(){throw this.reason}$.prototype.return=$.prototype.thenReturn=function(z){if(z instanceof $)z.suppressUnhandledRejections();return this._then(Y,void 0,void 0,{value:z},void 0)},$.prototype.throw=$.prototype.thenThrow=function(z){return this._then(U,void 0,void 0,{reason:z},void 0)},$.prototype.catchThrow=function(z){if(arguments.length<=1)return this._then(void 0,U,void 0,{reason:z},void 0);else{var Q=arguments[1],J=function(){throw Q};return this.caught(z,J)}},$.prototype.catchReturn=function(z){if(arguments.length<=1){if(z instanceof $)z.suppressUnhandledRejections();return this._then(void 0,Y,void 0,{value:z},void 0)}else{var Q=arguments[1];if(Q instanceof $)Q.suppressUnhandledRejections();var J=function(){return Q};return this.caught(z,J)}}}});var $w0=E((ra1,eF0)=>{eF0.exports=function($){function Y(G){if(G!==void 0)G=G._target(),this._bitField=G._bitField,this._settledValueField=G._isFateSealed()?G._settledValue():void 0;else this._bitField=0,this._settledValueField=void 0}Y.prototype._settledValue=function(){return this._settledValueField};var U=Y.prototype.value=function(){if(!this.isFulfilled())throw TypeError(`cannot get fulfillment value of a non-fulfilled promise @@ -285,7 +285,7 @@ See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof T6))r `)},Y=function(){return new S.PromiseInspection(this._target())},U=function(k){return S.reject(new X(k))};function z(){}var Q={},J=F4(),I;if(J.isNode)I=function(){var k=process.domain;if(k===void 0)k=null;return k};else I=function(){return null};J.notEnumerableProp(S,"_getDomain",I);var K=lU(),G=jF0(),H=new G;K.defineProperty(S,"_async",{value:H});var W=j3(),X=S.TypeError=W.TypeError;S.RangeError=W.RangeError;var Z=S.CancellationError=W.CancellationError;S.TimeoutError=W.TimeoutError,S.OperationalError=W.OperationalError,S.RejectionError=W.OperationalError,S.AggregateError=W.AggregateError;var q=function(){},V={},F={},M=vF0()(S,q),w=SF0()(S,q,M,U,z),N=yF0()(S),O=N.create,D=xF0()(S,N),P=D.CapturedTrace,T=uF0()(S,M),A=iF0()(F),j=Gc(),C=J.errorObj,b=J.tryCatch;function x(k,d){if(typeof d!=="function")throw new X("expecting a function but got "+J.classString(d));if(k.constructor!==S)throw new X(`the promise constructor cannot be invoked directly See http://goo.gl/MqrFmX -`)}function S(k){if(this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,k!==q)x(this,k),this._resolveFromExecutor(k);this._promiseCreated(),this._fireEvent("promiseCreated",this)}S.prototype.toString=function(){return"[object Promise]"},S.prototype.caught=S.prototype.catch=function(k){var d=arguments.length;if(d>1){var t=Array(d-1),$0=0,g;for(g=0;g0&&typeof k!=="function"&&typeof d!=="function"){var t=".then() only accepts functions but was passed: "+J.classString(k);if(arguments.length>1)t+=", "+J.classString(d);this._warn(t)}return this._then(k,d,void 0,void 0,void 0)},S.prototype.done=function(k,d){var t=this._then(k,d,void 0,void 0,void 0);t._setIsFinal()},S.prototype.spread=function(k){if(typeof k!=="function")return U("expecting a function but got "+J.classString(k));return this.all()._then(k,void 0,void 0,V,void 0)},S.prototype.toJSON=function(){var k={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};if(this.isFulfilled())k.fulfillmentValue=this.value(),k.isFulfilled=!0;else if(this.isRejected())k.rejectionReason=this.reason(),k.isRejected=!0;return k},S.prototype.all=function(){if(arguments.length>0)this._warn(".all() was passed arguments but it does not take any");return new w(this).promise()},S.prototype.error=function(k){return this.caught(J.originatesFromRejection,k)},S.getNewLibraryCopy=Wc.exports,S.is=function(k){return k instanceof S},S.fromNode=S.fromCallback=function(k){var d=new S(q);d._captureStackTrace();var t=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,$0=b(k)(j(d,t));if($0===C)d._rejectCallback($0.e,!0);if(!d._isFateSealed())d._setAsyncGuaranteed();return d},S.all=function(k){return new w(k).promise()},S.cast=function(k){var d=M(k);if(!(d instanceof S))d=new S(q),d._captureStackTrace(),d._setFulfilled(),d._rejectionHandler0=k;return d},S.resolve=S.fulfilled=S.cast,S.reject=S.rejected=function(k){var d=new S(q);return d._captureStackTrace(),d._rejectCallback(k,!0),d},S.setScheduler=function(k){if(typeof k!=="function")throw new X("expecting a function but got "+J.classString(k));return H.setScheduler(k)},S.prototype._then=function(k,d,t,$0,g){var p=g!==void 0,e=p?g:new S(q),y=this._target(),s=y._bitField;if(!p){if(e._propagateFrom(this,3),e._captureStackTrace(),$0===void 0&&(this._bitField&2097152)!==0)if((s&50397184)!==0)$0=this._boundValue();else $0=y===this?void 0:this._boundTo;this._fireEvent("promiseChained",this,e)}var Y0=I();if((s&50397184)!==0){var N0,E0,G0=y._settlePromiseCtx;if((s&33554432)!==0)E0=y._rejectionHandler0,N0=k;else if((s&16777216)!==0)E0=y._fulfillmentHandler0,N0=d,y._unsetRejectionIsUnhandled();else G0=y._settlePromiseLateCancellationObserver,E0=new Z("late cancellation observer"),y._attachExtraTrace(E0),N0=d;H.invoke(G0,y,{handler:Y0===null?N0:typeof N0==="function"&&J.domainBind(Y0,N0),promise:e,receiver:$0,value:E0})}else y._addCallbacks(k,d,e,$0,Y0);return e},S.prototype._length=function(){return this._bitField&65535},S.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},S.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},S.prototype._setLength=function(k){this._bitField=this._bitField&-65536|k&65535},S.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},S.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},S.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},S.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},S.prototype._isFinal=function(){return(this._bitField&4194304)>0},S.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},S.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},S.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},S.prototype._setAsyncGuaranteed=function(){if(H.hasCustomScheduler())return;this._bitField=this._bitField|134217728},S.prototype._receiverAt=function(k){var d=k===0?this._receiver0:this[k*4-4+3];if(d===Q)return;else if(d===void 0&&this._isBound())return this._boundValue();return d},S.prototype._promiseAt=function(k){return this[k*4-4+2]},S.prototype._fulfillmentHandlerAt=function(k){return this[k*4-4+0]},S.prototype._rejectionHandlerAt=function(k){return this[k*4-4+1]},S.prototype._boundValue=function(){},S.prototype._migrateCallback0=function(k){var{_bitField:d,_fulfillmentHandler0:t,_rejectionHandler0:$0,_promise0:g}=k,p=k._receiverAt(0);if(p===void 0)p=Q;this._addCallbacks(t,$0,g,p,null)},S.prototype._migrateCallbackAt=function(k,d){var t=k._fulfillmentHandlerAt(d),$0=k._rejectionHandlerAt(d),g=k._promiseAt(d),p=k._receiverAt(d);if(p===void 0)p=Q;this._addCallbacks(t,$0,g,p,null)},S.prototype._addCallbacks=function(k,d,t,$0,g){var p=this._length();if(p>=65531)p=0,this._setLength(0);if(p===0){if(this._promise0=t,this._receiver0=$0,typeof k==="function")this._fulfillmentHandler0=g===null?k:J.domainBind(g,k);if(typeof d==="function")this._rejectionHandler0=g===null?d:J.domainBind(g,d)}else{var e=p*4-4;if(this[e+2]=t,this[e+3]=$0,typeof k==="function")this[e+0]=g===null?k:J.domainBind(g,k);if(typeof d==="function")this[e+1]=g===null?d:J.domainBind(g,d)}return this._setLength(p+1),p},S.prototype._proxy=function(k,d){this._addCallbacks(void 0,void 0,d,k,null)},S.prototype._resolveCallback=function(k,d){if((this._bitField&117506048)!==0)return;if(k===this)return this._rejectCallback($(),!1);var t=M(k,this);if(!(t instanceof S))return this._fulfill(k);if(d)this._propagateFrom(t,2);var $0=t._target();if($0===this){this._reject($());return}var g=$0._bitField;if((g&50397184)===0){var p=this._length();if(p>0)$0._migrateCallback0(this);for(var e=1;e>>16)return;if(k===this){var t=$();return this._attachExtraTrace(t),this._reject(t)}if(this._setFulfilled(),this._rejectionHandler0=k,(d&65535)>0)if((d&134217728)!==0)this._settlePromises();else H.settlePromises(this)},S.prototype._reject=function(k){var d=this._bitField;if((d&117506048)>>>16)return;if(this._setRejected(),this._fulfillmentHandler0=k,this._isFinal())return H.fatalError(k,J.isNode);if((d&65535)>0)H.settlePromises(this);else this._ensurePossibleRejectionHandled()},S.prototype._fulfillPromises=function(k,d){for(var t=1;t0){if((k&16842752)!==0){var t=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,t,k),this._rejectPromises(d,t)}else{var $0=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,$0,k),this._fulfillPromises(d,$0)}this._setLength(0)}this._clearCancellationData()},S.prototype._settledValue=function(){var k=this._bitField;if((k&33554432)!==0)return this._rejectionHandler0;else if((k&16777216)!==0)return this._fulfillmentHandler0};function i(k){this.promise._resolveCallback(k)}function c(k){this.promise._rejectCallback(k,!1)}S.defer=S.pending=function(){D.deprecated("Promise.defer","new Promise");var k=new S(q);return{promise:k,resolve:i,reject:c}},J.notEnumerableProp(S,"_makeSelfResolutionError",$),mF0()(S,q,M,U,D),oF0()(S,q,M,D),sF0()(S,w,U,D),tF0()(S),$w0()(S),Uw0()(S,w,M,q,H,I),S.Promise=S,S.version="3.4.7",Qw0()(S,w,U,M,q,D),Iw0()(S),Gw0()(S,U,M,O,q,D),Ww0()(S,q,D),Zw0()(S,U,q,M,z,D),Vw0()(S),Fw0()(S,q),Mw0()(S,w,M,U),Nw0()(S,q,M,U),Aw0()(S,w,U,M,q,D),Pw0()(S,w,D),jw0()(S,w,U),Cw0()(S,q),_w0()(S,q),hw0()(S),J.toFastProperties(S),J.toFastProperties(S.prototype);function z0(k){var d=new S(q);d._fulfillmentHandler0=k,d._rejectionHandler0=k,d._promise0=k,d._receiver0=k}return z0({a:1}),z0({b:2}),z0({c:3}),z0(1),z0(function(){}),z0(void 0),z0(!1),z0(new S(q)),D.setBounds(G.firstLineError,J.lastLineError),S}});var C2=E((qt1,yw0)=>{var gw0;if(typeof Promise<"u")gw0=Promise;function kV1(){try{if(Promise===gA)Promise=gw0}catch($){}return gA}var gA=Sw0()();gA.noConflict=kV1;yw0.exports=gA});var gI=E((Vt1,kw0)=>{var SI=I0("buffer").Buffer;if(SI.from===void 0)SI.from=function($,Y,U){return new SI($,Y,U)},SI.alloc=SI.from;kw0.exports=SI});var fw0=E((Lt1,Xc)=>{function xV1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var xw0=K6().Buffer,dX=I0("util");function fV1($,Y,U){$.copy(Y,U)}Xc.exports=function(){function $(){xV1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var z={data:U,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q},$.prototype.concat=function(U){if(this.length===0)return xw0.alloc(0);var z=xw0.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)fV1(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z},$}();if(dX&&dX.inspect&&dX.inspect.custom)Xc.exports.prototype[dX.inspect.custom]=function(){var $=dX.inspect({length:this.length});return this.constructor.name+" "+$}});var Zc=E((Ft1,uw0)=>{var yA=I6();function uV1($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)yA.nextTick(kA,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,yA.nextTick(kA,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!U._writableState)yA.nextTick(kA,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,yA.nextTick(kA,U,J)}else if(Y)Y(J)}),this}function bV1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function kA($,Y){$.emit("error",Y)}uw0.exports={destroy:uV1,undestroy:bV1}});var Vc=E((wt1,lw0)=>{var aU=I6();lw0.exports=F6;function iw0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){QL1(Y,$)}}var iV1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:aU.nextTick,yI;F6.WritableState=lX;var cw0=Object.create(M4());cw0.inherits=X1();var cV1={deprecate:y7()},nw0=I0("stream"),fA=K6().Buffer,nV1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pV1($){return fA.from($)}function dV1($){return fA.isBuffer($)||$ instanceof nV1}var pw0=Zc();cw0.inherits(F6,nw0);function mV1(){}function lX($,Y){yI=yI||tU(),$=$||{};var U=Y instanceof yI;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){eV1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new iw0(this)}lX.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(lX.prototype,"buffer",{get:cV1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var xA;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")xA=Function.prototype[Symbol.hasInstance],Object.defineProperty(F6,Symbol.hasInstance,{value:function($){if(xA.call(this,$))return!0;if(this!==F6)return!1;return $&&$._writableState instanceof lX}});else xA=function($){return $ instanceof this};function F6($){if(yI=yI||tU(),!xA.call(F6,this)&&!(this instanceof yI))return new F6($);if(this._writableState=new lX($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}nw0.call(this)}F6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function lV1($,Y){var U=Error("write after end");$.emit("error",U),aU.nextTick(Y,U)}function oV1($,Y,U,z){var Q=!0,J=!1;if(U===null)J=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),aU.nextTick(z,J),Q=!1;return Q}F6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&dV1($);if(J&&!fA.isBuffer($))$=pV1($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=mV1;if(z.ended)lV1(this,U);else if(J||oV1(this,z,$,U))z.pendingcb++,Q=sV1(this,z,J,$,Y,U);return Q};F6.prototype.cork=function(){var $=this._writableState;$.corked++};F6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)dw0(this,$)}};F6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function rV1($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=fA.from(Y,U);return Y}Object.defineProperty(F6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function sV1($,Y,U,z,Q,J){if(!U){var I=rV1(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var ow0=I6(),JL1=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};aw0.exports=E3;var rw0=Object.create(M4());rw0.inherits=X1();var sw0=Fc(),Lc=Vc();rw0.inherits(E3,sw0);{uA=JL1(Lc.prototype);for(oX=0;oX{var Mc=K6().Buffer,tw0=Mc.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function GL1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function HL1($){var Y=GL1($);if(typeof Y!=="string"&&(Mc.isEncoding===tw0||!tw0($)))throw Error("Unknown encoding: "+$);return Y||$}DL1.StringDecoder=sX;function sX($){this.encoding=HL1($);var Y;switch(this.encoding){case"utf16le":this.text=LL1,this.end=FL1,Y=4;break;case"utf8":this.fillLast=ZL1,Y=4;break;case"base64":this.text=wL1,this.end=ML1,Y=3;break;default:this.write=OL1,this.end=NL1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Mc.allocUnsafe(Y)}sX.prototype.write=function($){if($.length===0)return"";var Y,U;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return Y?Y+this.text($,U):this.text($,U);return Y||""};sX.prototype.end=VL1;sX.prototype.text=qL1;sX.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function wc($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function WL1($,Y,U){var z=Y.length-1;if(z=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--z=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--z=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function XL1($,Y,U){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function ZL1($){var Y=this.lastTotal-this.lastNeed,U=XL1(this,$,Y);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function qL1($,Y){var U=WL1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=U;var z=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function VL1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function LL1($,Y){if(($.length-Y)%2===0){var U=$.toString("utf16le",Y);if(U){var z=U.charCodeAt(U.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function FL1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,U)}return Y}function wL1($,Y){var U=($.length-Y)%3;if(U===0)return $.toString("base64",Y);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-U)}function ML1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function OL1($){return $.toString(this.encoding)}function NL1($){return $&&$.length?this.write($):""}});var Fc=E((Dt1,WM0)=>{var xI=I6();WM0.exports=C4;var BL1=sQ(),aX;C4.ReadableState=JM0;var Nt1=I0("events").EventEmitter,UM0=function($,Y){return $.listeners(Y).length},Pc=I0("stream"),tX=K6().Buffer,PL1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function TL1($){return tX.from($)}function jL1($){return tX.isBuffer($)||$ instanceof PL1}var zM0=Object.create(M4());zM0.inherits=X1();var Nc=I0("util"),Y4=void 0;if(Nc&&Nc.debuglog)Y4=Nc.debuglog("stream");else Y4=function(){};var EL1=fw0(),QM0=Zc(),kI;zM0.inherits(C4,Pc);var Dc=["error","close","destroy","pause","resume"];function CL1($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(BL1($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function JM0($,Y){aX=aX||tU(),$=$||{};var U=Y instanceof aX;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new EL1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!kI)kI=Oc().StringDecoder;this.decoder=new kI($.encoding),this.encoding=$.encoding}}function C4($){if(aX=aX||tU(),!(this instanceof C4))return new C4($);if(this._readableState=new JM0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Pc.call(this)}Object.defineProperty(C4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});C4.prototype.destroy=QM0.destroy;C4.prototype._undestroy=QM0.undestroy;C4.prototype._destroy=function($,Y){this.push(null),Y($)};C4.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=tX.from($,Y),Y="";z=!0}}else z=!0;return IM0(this,$,Y,!1,z)};C4.prototype.unshift=function($){return IM0(this,$,null,!0,!1)};function IM0($,Y,U,z,Q){var J=$._readableState;if(Y===null)J.reading=!1,hL1($,J);else{var I;if(!Q)I=RL1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==tX.prototype)Y=TL1(Y);if(z)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Ac($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Ac($,J,Y,!1);else KM0($,J);else Ac($,J,Y,!1)}else if(!z)J.reading=!1}return _L1(J)}function Ac($,Y,U,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",U),$.read(0);else{if(Y.length+=Y.objectMode?1:U.length,z)Y.buffer.unshift(U);else Y.buffer.push(U);if(Y.needReadable)bA($)}KM0($,Y)}function RL1($,Y){var U;if(!jL1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function _L1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}C4.prototype.isPaused=function(){return this._readableState.flowing===!1};C4.prototype.setEncoding=function($){if(!kI)kI=Oc().StringDecoder;return this._readableState.decoder=new kI($),this._readableState.encoding=$,this};var ew0=8388608;function vL1($){if($>=ew0)$=ew0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function $M0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=vL1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}C4.prototype.read=function($){Y4("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(Y4("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Bc(this);else bA(this);return null}if($=$M0($,Y),$===0&&Y.ended){if(Y.length===0)Bc(this);return null}var z=Y.needReadable;if(Y4("need readable",z),Y.length===0||Y.length-$0)Q=GM0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)Bc(this)}if(Q!==null)this.emit("data",Q);return Q};function hL1($,Y){if(Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}Y.ended=!0,bA($)}function bA($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(Y4("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)xI.nextTick(YM0,$);else YM0($)}function YM0($){Y4("emit readable"),$.emit("readable"),Tc($)}function KM0($,Y){if(!Y.readingMore)Y.readingMore=!0,xI.nextTick(SL1,$,Y)}function SL1($,Y){var U=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&HM0(z.pipes,$)!==-1)&&!H)Y4("false write response, pause",z.awaitDrain),z.awaitDrain++,X=!0;U.pause()}}function q(w){if(Y4("onerror",w),M(),$.removeListener("error",q),UM0($,"error")===0)$.emit("error",w)}CL1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){Y4("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){Y4("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)Y4("pipe resume"),U.resume();return $};function gL1($){return function(){var Y=$._readableState;if(Y4("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&UM0($,"data"))Y.flowing=!0,Tc($)}}C4.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.head.data;else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=fL1($,Y.buffer,Y.decoder);return U}function fL1($,Y,U){var z;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++z,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++z}return Y.length-=z,Q}function bL1($,Y){var U=tX.allocUnsafe($),z=Y.head,Q=1;z.data.copy(U),$-=z.data.length;while(z=z.next){var J=z.data,I=$>J.length?J.length:$;if(J.copy(U,U.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++Q}return Y.length-=Q,U}function Bc($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,xI.nextTick(iL1,Y,$)}function iL1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function HM0($,Y){for(var U=0,z=$.length;U{qM0.exports=C3;var iA=tU(),ZM0=Object.create(M4());ZM0.inherits=X1();ZM0.inherits(C3,iA);function cL1($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{FM0.exports=eX;var VM0=jc(),LM0=Object.create(M4());LM0.inherits=X1();LM0.inherits(eX,VM0);function eX($){if(!(this instanceof eX))return new eX($);VM0.call(this,$)}eX.prototype._transform=function($,Y,U){U(null,$)}});var R3=E(($8,cA)=>{var L9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&L9)cA.exports=L9,$8=cA.exports=L9.Readable,$8.Readable=L9.Readable,$8.Writable=L9.Writable,$8.Duplex=L9.Duplex,$8.Transform=L9.Transform,$8.PassThrough=L9.PassThrough,$8.Stream=L9;else $8=cA.exports=Fc(),$8.Stream=L9||$8,$8.Readable=$8,$8.Writable=Vc(),$8.Duplex=tU(),$8.Transform=jc(),$8.PassThrough=wM0()});var pA=E((Pt1,MM0)=>{var eU=I0("stream"),Ec=C2(),pL1=I0("util"),nA=gI(),dL1="function";if(!eU.Writable||!eU.Writable.prototype.destroy)eU=R3();function R2(){if(!(this instanceof R2))return new R2;eU.Duplex.call(this,{decodeStrings:!1,objectMode:!0}),this.buffer=nA.from("");var $=this;$.on("finish",function(){$.finished=!0,$.emit("chunk",!1)})}pL1.inherits(R2,eU.Duplex);R2.prototype._write=function($,Y,U){this.buffer=nA.concat([this.buffer,$]),this.cb=U,this.emit("chunk")};R2.prototype.stream=function($,Y){var U=eU.PassThrough(),z,Q=this;function J(){if(typeof Q.cb===dL1){var K=Q.cb;return Q.cb=void 0,K()}}function I(){var K;if(Q.buffer&&Q.buffer.length){if(typeof $==="number")K=Q.buffer.slice(0,$),Q.buffer=Q.buffer.slice($),$-=K.length,z=!$;else{var G=Q.buffer.indexOf($);if(G!==-1){if(Q.match=G,Y)G=G+$.length;K=Q.buffer.slice(0,G),Q.buffer=Q.buffer.slice(G),z=!0}else{var H=Q.buffer.length-$.length;if(H<=0)J();else K=Q.buffer.slice(0,H),Q.buffer=Q.buffer.slice(H)}}if(K)U.write(K,function(){if(Q.buffer.length===0||$.length&&Q.buffer.length<=$.length)J()})}if(!z){if(Q.finished){Q.removeListener("chunk",I),Q.emit("error",Error("FILE_ENDED"));return}}else Q.removeListener("chunk",I),U.end()}return Q.on("chunk",I),I(),U};R2.prototype.pull=function($,Y){if($===0)return Ec.resolve("");if(!isNaN($)&&this.buffer.length>$){var U=this.buffer.slice(0,$);return this.buffer=this.buffer.slice($),Ec.resolve(U)}var z=nA.from(""),Q=this,J=eU.Transform();J._transform=function(G,H,W){z=nA.concat([z,G]),W()};var I,K;return new Ec(function(G,H){if(I=H,K=function(W){Q.__emittedError=W,H(W)},Q.finished)return H(Error("FILE_ENDED"));Q.once("error",K),Q.stream($,Y).on("error",H).pipe(J).on("finish",function(){G(z)}).on("error",H)}).finally(function(){Q.removeListener("error",I),Q.removeListener("error",K)})};R2.prototype._read=function(){};MM0.exports=R2});var NM0=E((Tt1,OM0)=>{var $Z=I0("stream"),mL1=I0("util");if(!$Z.Writable||!$Z.Writable.prototype.destroy)$Z=R3();function YZ(){if(!(this instanceof YZ))return new YZ;$Z.Transform.call(this)}mL1.inherits(YZ,$Z.Transform);YZ.prototype._transform=function($,Y,U){U()};OM0.exports=YZ});var mA=E((jt1,DM0)=>{var lL1=C2(),dA=I0("stream"),oL1=gI();if(!dA.Writable||!dA.Writable.prototype.destroy)dA=R3();DM0.exports=function($){return new lL1(function(Y,U){var z=[],Q=dA.Transform().on("finish",function(){Y(oL1.concat(z))}).on("error",U);Q._transform=function(J,I,K){z.push(J),K()},$.on("error",U).pipe(Q)})}});var lA=E((Et1,AM0)=>{var rL1=cX();AM0.exports=function($,Y){var U;while(!U&&$&&$.length){var z=rL1.parse($).word16lu("signature").word16lu("partsize").word64lu("uncompressedSize").word64lu("compressedSize").word64lu("offset").word64lu("disknum").vars;if(z.signature===1)U=z;else $=$.slice(z.partsize+4)}if(U=U||{},Y.compressedSize===4294967295)Y.compressedSize=U.compressedSize;if(Y.uncompressedSize===4294967295)Y.uncompressedSize=U.uncompressedSize;if(Y.offsetToLocalFileHeader===4294967295)Y.offsetToLocalFileHeader=U.offset;return U}});var oA=E((Ct1,BM0)=>{BM0.exports=function(Y,U){let z=Y&31,Q=Y>>5&15,J=(Y>>9&127)+1980,I=U?(U&31)*2:0,K=U?U>>5&63:0,G=U?U>>11:0;return new Date(Date.UTC(J,Q-1,z,G,K,I))}});var rA=E((Rt1,EM0)=>{var sL1=I0("util"),aL1=I0("zlib"),UZ=I0("stream"),zZ=cX(),Cc=C2(),PM0=pA(),tL1=NM0(),eL1=mA(),$F1=lA(),TM0=gI(),YF1=oA();if(!UZ.Writable||!UZ.Writable.prototype.destroy)UZ=R3();var jM0=TM0.alloc(4);jM0.writeUInt32LE(101010256,0);function M5($){if(!(this instanceof M5))return new M5($);var Y=this;Y._opts=$||{verbose:!1},PM0.call(Y,Y._opts),Y.on("finish",function(){Y.emit("end"),Y.emit("close")}),Y._readRecord().catch(function(U){if(!Y.__emittedError||Y.__emittedError!==U)Y.emit("error",U)})}sL1.inherits(M5,PM0);M5.prototype._readRecord=function(){var $=this;return $.pull(4).then(function(Y){if(Y.length===0)return;var U=Y.readUInt32LE(0);if(U===875721283)return $._readCrxHeader();if(U===67324752)return $._readFile();else if(U===33639248)return $.reachedCD=!0,$._readCentralDirectoryFileHeader();else if(U===101010256)return $._readEndOfCentralDirectoryRecord();else if($.reachedCD){var z=!0;return $.pull(jM0,z).then(function(){return $._readEndOfCentralDirectoryRecord()})}else $.emit("error",Error("invalid signature: 0x"+U.toString(16)))})};M5.prototype._readCrxHeader=function(){var $=this;return $.pull(12).then(function(Y){return $.crxHeader=zZ.parse(Y).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars,$.pull($.crxHeader.pubKeyLength+$.crxHeader.signatureLength)}).then(function(Y){return $.crxHeader.publicKey=Y.slice(0,$.crxHeader.pubKeyLength),$.crxHeader.signature=Y.slice($.crxHeader.pubKeyLength),$.emit("crx-header",$.crxHeader),$._readRecord()})};M5.prototype._readFile=function(){var $=this;return $.pull(26).then(function(Y){var U=zZ.parse(Y).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;if(U.lastModifiedDateTime=YF1(U.lastModifiedDate,U.lastModifiedTime),$.crxHeader)U.crxHeader=$.crxHeader;return $.pull(U.fileNameLength).then(function(z){var Q=z.toString("utf8"),J=UZ.PassThrough(),I=!1;if(J.autodrain=function(){I=!0;var K=J.pipe(tL1());return K.promise=function(){return new Cc(function(G,H){K.on("finish",G),K.on("error",H)})},K},J.buffer=function(){return eL1(J)},J.path=Q,J.props={},J.props.path=Q,J.props.pathBuffer=z,J.props.flags={isUnicode:(U.flags&2048)!=0},J.type=U.uncompressedSize===0&&/[\/\\]$/.test(Q)?"Directory":"File",$._opts.verbose){if(J.type==="Directory")console.log(" creating:",Q);else if(J.type==="File")if(U.compressionMethod===0)console.log(" extracting:",Q);else console.log(" inflating:",Q)}return $.pull(U.extraFieldLength).then(function(K){var G=$F1(K,U);if(J.vars=U,J.extra=G,$._opts.forceStream)$.push(J);else if($.emit("entry",J),$._readableState.pipesCount||$._readableState.pipes&&$._readableState.pipes.length)$.push(J);if($._opts.verbose)console.log({filename:Q,vars:U,extra:G});var H=!(U.flags&8)||U.compressedSize>0,W;J.__autodraining=I;var X=U.compressionMethod&&!I?aL1.createInflateRaw():UZ.PassThrough();if(H)J.size=U.uncompressedSize,W=U.compressedSize;else W=TM0.alloc(4),W.writeUInt32LE(134695760,0);return new Cc(function(Z,q){$.stream(W).pipe(X).on("error",function(V){$.emit("error",V)}).pipe(J).on("finish",function(){return H?$._readRecord().then(Z).catch(q):$._processDataDescriptor(J).then(Z).catch(q)})})})})})};M5.prototype._processDataDescriptor=function($){var Y=this;return Y.pull(16).then(function(U){var z=zZ.parse(U).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return $.size=z.uncompressedSize,Y._readRecord()})};M5.prototype._readCentralDirectoryFileHeader=function(){var $=this;return $.pull(42).then(function(Y){var U=zZ.parse(Y).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return $.pull(U.fileNameLength).then(function(z){return U.fileName=z.toString("utf8"),$.pull(U.extraFieldLength)}).then(function(z){return $.pull(U.fileCommentLength)}).then(function(z){return $._readRecord()})})};M5.prototype._readEndOfCentralDirectoryRecord=function(){var $=this;return $.pull(18).then(function(Y){var U=zZ.parse(Y).word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return $.pull(U.commentLength).then(function(z){z=z.toString("utf8"),$.end(),$.push(null)})})};M5.prototype.promise=function(){var $=this;return new Cc(function(Y,U){$.on("finish",Y),$.on("error",U)})};EM0.exports=M5});var RM0=E((_t1,Rc)=>{function UF1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var CM0=K6().Buffer,QZ=I0("util");function zF1($,Y,U){$.copy(Y,U)}Rc.exports=function(){function $(){UF1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var z={data:U,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q},$.prototype.concat=function(U){if(this.length===0)return CM0.alloc(0);var z=CM0.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)zF1(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z},$}();if(QZ&&QZ.inspect&&QZ.inspect.custom)Rc.exports.prototype[QZ.inspect.custom]=function(){var $=QZ.inspect({length:this.length});return this.constructor.name+" "+$}});var _c=E((vt1,_M0)=>{var sA=I6();function QF1($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)sA.nextTick(aA,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,sA.nextTick(aA,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!U._writableState)sA.nextTick(aA,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,sA.nextTick(aA,U,J)}else if(Y)Y(J)}),this}function JF1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function aA($,Y){$.emit("error",Y)}_M0.exports={destroy:QF1,undestroy:JF1}});var hc=E((ht1,fM0)=>{var $z=I6();fM0.exports=w6;function hM0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){BF1(Y,$)}}var IF1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:$z.nextTick,fI;w6.WritableState=IZ;var SM0=Object.create(M4());SM0.inherits=X1();var KF1={deprecate:y7()},gM0=I0("stream"),eA=K6().Buffer,GF1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function HF1($){return eA.from($)}function WF1($){return eA.isBuffer($)||$ instanceof GF1}var yM0=_c();SM0.inherits(w6,gM0);function XF1(){}function IZ($,Y){fI=fI||Yz(),$=$||{};var U=Y instanceof fI;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){MF1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new hM0(this)}IZ.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(IZ.prototype,"buffer",{get:KF1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var tA;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")tA=Function.prototype[Symbol.hasInstance],Object.defineProperty(w6,Symbol.hasInstance,{value:function($){if(tA.call(this,$))return!0;if(this!==w6)return!1;return $&&$._writableState instanceof IZ}});else tA=function($){return $ instanceof this};function w6($){if(fI=fI||Yz(),!tA.call(w6,this)&&!(this instanceof fI))return new w6($);if(this._writableState=new IZ($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}gM0.call(this)}w6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function ZF1($,Y){var U=Error("write after end");$.emit("error",U),$z.nextTick(Y,U)}function qF1($,Y,U,z){var Q=!0,J=!1;if(U===null)J=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),$z.nextTick(z,J),Q=!1;return Q}w6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&WF1($);if(J&&!eA.isBuffer($))$=HF1($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=XF1;if(z.ended)ZF1(this,U);else if(J||qF1(this,z,$,U))z.pendingcb++,Q=LF1(this,z,J,$,Y,U);return Q};w6.prototype.cork=function(){var $=this._writableState;$.corked++};w6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)kM0(this,$)}};w6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function VF1($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=eA.from(Y,U);return Y}Object.defineProperty(w6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function LF1($,Y,U,z,Q,J){if(!U){var I=VF1(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var uM0=I6(),PF1=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};cM0.exports=_3;var bM0=Object.create(M4());bM0.inherits=X1();var iM0=gc(),Sc=hc();bM0.inherits(_3,iM0);{$B=PF1(Sc.prototype);for(KZ=0;KZ<$B.length;KZ++)if(GZ=$B[KZ],!_3.prototype[GZ])_3.prototype[GZ]=Sc.prototype[GZ]}var $B,GZ,KZ;function _3($){if(!(this instanceof _3))return new _3($);if(iM0.call(this,$),Sc.call(this,$),$&&$.readable===!1)this.readable=!1;if($&&$.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,$&&$.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",TF1)}Object.defineProperty(_3.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function TF1(){if(this.allowHalfOpen||this._writableState.ended)return;uM0.nextTick(jF1,this)}function jF1($){$.end()}Object.defineProperty(_3.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function($){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=$,this._writableState.destroyed=$}});_3.prototype._destroy=function($,Y){this.push(null),this.end(),uM0.nextTick(Y,$)}});var xc=E((bF1)=>{var kc=K6().Buffer,nM0=kc.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function EF1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function CF1($){var Y=EF1($);if(typeof Y!=="string"&&(kc.isEncoding===nM0||!nM0($)))throw Error("Unknown encoding: "+$);return Y||$}bF1.StringDecoder=HZ;function HZ($){this.encoding=CF1($);var Y;switch(this.encoding){case"utf16le":this.text=gF1,this.end=yF1,Y=4;break;case"utf8":this.fillLast=vF1,Y=4;break;case"base64":this.text=kF1,this.end=xF1,Y=3;break;default:this.write=fF1,this.end=uF1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=kc.allocUnsafe(Y)}HZ.prototype.write=function($){if($.length===0)return"";var Y,U;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return Y?Y+this.text($,U):this.text($,U);return Y||""};HZ.prototype.end=SF1;HZ.prototype.text=hF1;HZ.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function yc($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function RF1($,Y,U){var z=Y.length-1;if(z=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--z=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--z=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function _F1($,Y,U){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function vF1($){var Y=this.lastTotal-this.lastNeed,U=_F1(this,$,Y);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function hF1($,Y){var U=RF1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=U;var z=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function SF1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function gF1($,Y){if(($.length-Y)%2===0){var U=$.toString("utf16le",Y);if(U){var z=U.charCodeAt(U.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function yF1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,U)}return Y}function kF1($,Y){var U=($.length-Y)%3;if(U===0)return $.toString("base64",Y);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-U)}function xF1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function fF1($){return $.toString(this.encoding)}function uF1($){return $&&$.length?this.write($):""}});var gc=E((kt1,YO0)=>{var bI=I6();YO0.exports=R4;var cF1=sQ(),WZ;R4.ReadableState=sM0;var yt1=I0("events").EventEmitter,lM0=function($,Y){return $.listeners(Y).length},cc=I0("stream"),XZ=K6().Buffer,nF1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pF1($){return XZ.from($)}function dF1($){return XZ.isBuffer($)||$ instanceof nF1}var oM0=Object.create(M4());oM0.inherits=X1();var fc=I0("util"),U4=void 0;if(fc&&fc.debuglog)U4=fc.debuglog("stream");else U4=function(){};var mF1=RM0(),rM0=_c(),uI;oM0.inherits(R4,cc);var uc=["error","close","destroy","pause","resume"];function lF1($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(cF1($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function sM0($,Y){WZ=WZ||Yz(),$=$||{};var U=Y instanceof WZ;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new mF1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!uI)uI=xc().StringDecoder;this.decoder=new uI($.encoding),this.encoding=$.encoding}}function R4($){if(WZ=WZ||Yz(),!(this instanceof R4))return new R4($);if(this._readableState=new sM0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}cc.call(this)}Object.defineProperty(R4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});R4.prototype.destroy=rM0.destroy;R4.prototype._undestroy=rM0.undestroy;R4.prototype._destroy=function($,Y){this.push(null),Y($)};R4.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=XZ.from($,Y),Y="";z=!0}}else z=!0;return aM0(this,$,Y,!1,z)};R4.prototype.unshift=function($){return aM0(this,$,null,!0,!1)};function aM0($,Y,U,z,Q){var J=$._readableState;if(Y===null)J.reading=!1,aF1($,J);else{var I;if(!Q)I=oF1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==XZ.prototype)Y=pF1(Y);if(z)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else bc($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)bc($,J,Y,!1);else tM0($,J);else bc($,J,Y,!1)}else if(!z)J.reading=!1}return rF1(J)}function bc($,Y,U,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",U),$.read(0);else{if(Y.length+=Y.objectMode?1:U.length,z)Y.buffer.unshift(U);else Y.buffer.push(U);if(Y.needReadable)YB($)}tM0($,Y)}function oF1($,Y){var U;if(!dF1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function rF1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}R4.prototype.isPaused=function(){return this._readableState.flowing===!1};R4.prototype.setEncoding=function($){if(!uI)uI=xc().StringDecoder;return this._readableState.decoder=new uI($),this._readableState.encoding=$,this};var pM0=8388608;function sF1($){if($>=pM0)$=pM0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function dM0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=sF1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}R4.prototype.read=function($){U4("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(U4("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)ic(this);else YB(this);return null}if($=dM0($,Y),$===0&&Y.ended){if(Y.length===0)ic(this);return null}var z=Y.needReadable;if(U4("need readable",z),Y.length===0||Y.length-$0)Q=eM0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)ic(this)}if(Q!==null)this.emit("data",Q);return Q};function aF1($,Y){if(Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}Y.ended=!0,YB($)}function YB($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(U4("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)bI.nextTick(mM0,$);else mM0($)}function mM0($){U4("emit readable"),$.emit("readable"),nc($)}function tM0($,Y){if(!Y.readingMore)Y.readingMore=!0,bI.nextTick(tF1,$,Y)}function tF1($,Y){var U=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&$O0(z.pipes,$)!==-1)&&!H)U4("false write response, pause",z.awaitDrain),z.awaitDrain++,X=!0;U.pause()}}function q(w){if(U4("onerror",w),M(),$.removeListener("error",q),lM0($,"error")===0)$.emit("error",w)}lF1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){U4("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){U4("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)U4("pipe resume"),U.resume();return $};function eF1($){return function(){var Y=$._readableState;if(U4("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&lM0($,"data"))Y.flowing=!0,nc($)}}R4.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.head.data;else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=zw1($,Y.buffer,Y.decoder);return U}function zw1($,Y,U){var z;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++z,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++z}return Y.length-=z,Q}function Jw1($,Y){var U=XZ.allocUnsafe($),z=Y.head,Q=1;z.data.copy(U),$-=z.data.length;while(z=z.next){var J=z.data,I=$>J.length?J.length:$;if(J.copy(U,U.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++Q}return Y.length-=Q,U}function ic($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,bI.nextTick(Iw1,Y,$)}function Iw1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function $O0($,Y){for(var U=0,z=$.length;U{QO0.exports=v3;var UB=Yz(),zO0=Object.create(M4());zO0.inherits=X1();zO0.inherits(v3,UB);function Kw1($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{KO0.exports=ZZ;var JO0=pc(),IO0=Object.create(M4());IO0.inherits=X1();IO0.inherits(ZZ,JO0);function ZZ($){if(!(this instanceof ZZ))return new ZZ($);JO0.call(this,$)}ZZ.prototype._transform=function($,Y,U){U(null,$)}});var HO0=E((Y8,zB)=>{var F9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&F9)zB.exports=F9,Y8=zB.exports=F9.Readable,Y8.Readable=F9.Readable,Y8.Writable=F9.Writable,Y8.Duplex=F9.Duplex,Y8.Transform=F9.Transform,Y8.PassThrough=F9.PassThrough,Y8.Stream=F9;else Y8=zB.exports=gc(),Y8.Stream=F9||Y8,Y8.Readable=Y8,Y8.Writable=hc(),Y8.Duplex=Yz(),Y8.Transform=pc(),Y8.PassThrough=GO0()});var lc=E((ut1,mc)=>{var dc=HO0();function iI($,Y,U){if(typeof U>"u")U=Y,Y=$,$=null;if(dc.Duplex.call(this,$),typeof U.read!=="function")U=new dc.Readable($).wrap(U);this._writable=Y,this._readable=U,this._waiting=!1;var z=this;if(Y.once("finish",function(){z.end()}),this.once("finish",function(){Y.end()}),U.on("readable",function(){if(z._waiting)z._waiting=!1,z._read()}),U.once("end",function(){z.push(null)}),!$||typeof $.bubbleErrors>"u"||$.bubbleErrors)Y.on("error",function(Q){z.emit("error",Q)}),U.on("error",function(Q){z.emit("error",Q)})}iI.prototype=Object.create(dc.Duplex.prototype,{constructor:{value:iI}});iI.prototype._write=function(Y,U,z){this._writable.write(Y,U,z)};iI.prototype._read=function(){var Y,U=0;while((Y=this._readable.read())!==null)this.push(Y),U++;if(U===0)this._waiting=!0};mc.exports=function(Y,U,z){return new iI(Y,U,z)};mc.exports.DuplexWrapper=iI});var XO0=E((bt1,WO0)=>{var cI=I0("stream"),Hw1=rA(),Ww1=lc(),Xw1=mA();if(!cI.Writable||!cI.Writable.prototype.destroy)cI=R3();function Zw1($,Y){var U=cI.PassThrough({objectMode:!0}),z=cI.PassThrough(),Q=cI.Transform({objectMode:!0}),J=$ instanceof RegExp?$:$&&new RegExp($),I;Q._transform=function(G,H,W){if(I||J&&!J.exec(G.path))return G.autodrain(),W();else I=!0,K.emit("entry",G),G.on("error",function(X){z.emit("error",X)}),G.pipe(z).on("error",function(X){W(X)}).on("finish",function(X){W(null,X)})},U.pipe(Hw1(Y)).on("error",function(G){z.emit("error",G)}).pipe(Q).on("error",Object).on("finish",function(){if(!I)z.emit("error",Error("PATTERN_NOT_FOUND"));else z.end()});var K=Ww1(U,z);return K.buffer=function(){return Xw1(z)},K}WO0.exports=Zw1});var QB=E((it1,qO0)=>{qO0.exports=_2;var oc=I0("stream").Stream,qw1=X1();function _2(){oc.call(this)}qw1(_2,oc);_2.prototype.on=function($,Y){if($==="ready"&&this.ready)process.nextTick(Y.bind(this));else oc.prototype.on.call(this,$,Y);return this};_2.prototype.abort=function(){this._aborted=!0,this.emit("abort")};_2.prototype.destroy=function(){};_2.prototype.warn=function($,Y){var U=this,z=ZO0($,Y,U);if(!U.listeners("warn"))console.error(`%s %s +`)}function S(k){if(this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,k!==q)x(this,k),this._resolveFromExecutor(k);this._promiseCreated(),this._fireEvent("promiseCreated",this)}S.prototype.toString=function(){return"[object Promise]"},S.prototype.caught=S.prototype.catch=function(k){var d=arguments.length;if(d>1){var t=Array(d-1),$0=0,g;for(g=0;g0&&typeof k!=="function"&&typeof d!=="function"){var t=".then() only accepts functions but was passed: "+J.classString(k);if(arguments.length>1)t+=", "+J.classString(d);this._warn(t)}return this._then(k,d,void 0,void 0,void 0)},S.prototype.done=function(k,d){var t=this._then(k,d,void 0,void 0,void 0);t._setIsFinal()},S.prototype.spread=function(k){if(typeof k!=="function")return U("expecting a function but got "+J.classString(k));return this.all()._then(k,void 0,void 0,V,void 0)},S.prototype.toJSON=function(){var k={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};if(this.isFulfilled())k.fulfillmentValue=this.value(),k.isFulfilled=!0;else if(this.isRejected())k.rejectionReason=this.reason(),k.isRejected=!0;return k},S.prototype.all=function(){if(arguments.length>0)this._warn(".all() was passed arguments but it does not take any");return new w(this).promise()},S.prototype.error=function(k){return this.caught(J.originatesFromRejection,k)},S.getNewLibraryCopy=Wc.exports,S.is=function(k){return k instanceof S},S.fromNode=S.fromCallback=function(k){var d=new S(q);d._captureStackTrace();var t=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,$0=b(k)(j(d,t));if($0===C)d._rejectCallback($0.e,!0);if(!d._isFateSealed())d._setAsyncGuaranteed();return d},S.all=function(k){return new w(k).promise()},S.cast=function(k){var d=M(k);if(!(d instanceof S))d=new S(q),d._captureStackTrace(),d._setFulfilled(),d._rejectionHandler0=k;return d},S.resolve=S.fulfilled=S.cast,S.reject=S.rejected=function(k){var d=new S(q);return d._captureStackTrace(),d._rejectCallback(k,!0),d},S.setScheduler=function(k){if(typeof k!=="function")throw new X("expecting a function but got "+J.classString(k));return H.setScheduler(k)},S.prototype._then=function(k,d,t,$0,g){var p=g!==void 0,e=p?g:new S(q),y=this._target(),s=y._bitField;if(!p){if(e._propagateFrom(this,3),e._captureStackTrace(),$0===void 0&&(this._bitField&2097152)!==0)if((s&50397184)!==0)$0=this._boundValue();else $0=y===this?void 0:this._boundTo;this._fireEvent("promiseChained",this,e)}var Y0=I();if((s&50397184)!==0){var N0,E0,G0=y._settlePromiseCtx;if((s&33554432)!==0)E0=y._rejectionHandler0,N0=k;else if((s&16777216)!==0)E0=y._fulfillmentHandler0,N0=d,y._unsetRejectionIsUnhandled();else G0=y._settlePromiseLateCancellationObserver,E0=new Z("late cancellation observer"),y._attachExtraTrace(E0),N0=d;H.invoke(G0,y,{handler:Y0===null?N0:typeof N0==="function"&&J.domainBind(Y0,N0),promise:e,receiver:$0,value:E0})}else y._addCallbacks(k,d,e,$0,Y0);return e},S.prototype._length=function(){return this._bitField&65535},S.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},S.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},S.prototype._setLength=function(k){this._bitField=this._bitField&-65536|k&65535},S.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},S.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},S.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},S.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},S.prototype._isFinal=function(){return(this._bitField&4194304)>0},S.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},S.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},S.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},S.prototype._setAsyncGuaranteed=function(){if(H.hasCustomScheduler())return;this._bitField=this._bitField|134217728},S.prototype._receiverAt=function(k){var d=k===0?this._receiver0:this[k*4-4+3];if(d===Q)return;else if(d===void 0&&this._isBound())return this._boundValue();return d},S.prototype._promiseAt=function(k){return this[k*4-4+2]},S.prototype._fulfillmentHandlerAt=function(k){return this[k*4-4+0]},S.prototype._rejectionHandlerAt=function(k){return this[k*4-4+1]},S.prototype._boundValue=function(){},S.prototype._migrateCallback0=function(k){var{_bitField:d,_fulfillmentHandler0:t,_rejectionHandler0:$0,_promise0:g}=k,p=k._receiverAt(0);if(p===void 0)p=Q;this._addCallbacks(t,$0,g,p,null)},S.prototype._migrateCallbackAt=function(k,d){var t=k._fulfillmentHandlerAt(d),$0=k._rejectionHandlerAt(d),g=k._promiseAt(d),p=k._receiverAt(d);if(p===void 0)p=Q;this._addCallbacks(t,$0,g,p,null)},S.prototype._addCallbacks=function(k,d,t,$0,g){var p=this._length();if(p>=65531)p=0,this._setLength(0);if(p===0){if(this._promise0=t,this._receiver0=$0,typeof k==="function")this._fulfillmentHandler0=g===null?k:J.domainBind(g,k);if(typeof d==="function")this._rejectionHandler0=g===null?d:J.domainBind(g,d)}else{var e=p*4-4;if(this[e+2]=t,this[e+3]=$0,typeof k==="function")this[e+0]=g===null?k:J.domainBind(g,k);if(typeof d==="function")this[e+1]=g===null?d:J.domainBind(g,d)}return this._setLength(p+1),p},S.prototype._proxy=function(k,d){this._addCallbacks(void 0,void 0,d,k,null)},S.prototype._resolveCallback=function(k,d){if((this._bitField&117506048)!==0)return;if(k===this)return this._rejectCallback($(),!1);var t=M(k,this);if(!(t instanceof S))return this._fulfill(k);if(d)this._propagateFrom(t,2);var $0=t._target();if($0===this){this._reject($());return}var g=$0._bitField;if((g&50397184)===0){var p=this._length();if(p>0)$0._migrateCallback0(this);for(var e=1;e>>16)return;if(k===this){var t=$();return this._attachExtraTrace(t),this._reject(t)}if(this._setFulfilled(),this._rejectionHandler0=k,(d&65535)>0)if((d&134217728)!==0)this._settlePromises();else H.settlePromises(this)},S.prototype._reject=function(k){var d=this._bitField;if((d&117506048)>>>16)return;if(this._setRejected(),this._fulfillmentHandler0=k,this._isFinal())return H.fatalError(k,J.isNode);if((d&65535)>0)H.settlePromises(this);else this._ensurePossibleRejectionHandled()},S.prototype._fulfillPromises=function(k,d){for(var t=1;t0){if((k&16842752)!==0){var t=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,t,k),this._rejectPromises(d,t)}else{var $0=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,$0,k),this._fulfillPromises(d,$0)}this._setLength(0)}this._clearCancellationData()},S.prototype._settledValue=function(){var k=this._bitField;if((k&33554432)!==0)return this._rejectionHandler0;else if((k&16777216)!==0)return this._fulfillmentHandler0};function i(k){this.promise._resolveCallback(k)}function c(k){this.promise._rejectCallback(k,!1)}S.defer=S.pending=function(){D.deprecated("Promise.defer","new Promise");var k=new S(q);return{promise:k,resolve:i,reject:c}},J.notEnumerableProp(S,"_makeSelfResolutionError",$),mF0()(S,q,M,U,D),oF0()(S,q,M,D),sF0()(S,w,U,D),tF0()(S),$w0()(S),Uw0()(S,w,M,q,H,I),S.Promise=S,S.version="3.4.7",Qw0()(S,w,U,M,q,D),Iw0()(S),Gw0()(S,U,M,O,q,D),Ww0()(S,q,D),Zw0()(S,U,q,M,z,D),Vw0()(S),Fw0()(S,q),Mw0()(S,w,M,U),Nw0()(S,q,M,U),Aw0()(S,w,U,M,q,D),Pw0()(S,w,D),jw0()(S,w,U),Cw0()(S,q),_w0()(S,q),hw0()(S),J.toFastProperties(S),J.toFastProperties(S.prototype);function z0(k){var d=new S(q);d._fulfillmentHandler0=k,d._rejectionHandler0=k,d._promise0=k,d._receiver0=k}return z0({a:1}),z0({b:2}),z0({c:3}),z0(1),z0(function(){}),z0(void 0),z0(!1),z0(new S(q)),D.setBounds(G.firstLineError,J.lastLineError),S}});var C2=E((qt1,yw0)=>{var gw0;if(typeof Promise<"u")gw0=Promise;function kV1(){try{if(Promise===gA)Promise=gw0}catch($){}return gA}var gA=Sw0()();gA.noConflict=kV1;yw0.exports=gA});var gI=E((Vt1,kw0)=>{var SI=I0("buffer").Buffer;if(SI.from===void 0)SI.from=function($,Y,U){return new SI($,Y,U)},SI.alloc=SI.from;kw0.exports=SI});var fw0=E((Lt1,Xc)=>{function xV1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var xw0=K6().Buffer,dX=I0("util");function fV1($,Y,U){$.copy(Y,U)}Xc.exports=function(){function $(){xV1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var z={data:U,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q},$.prototype.concat=function(U){if(this.length===0)return xw0.alloc(0);var z=xw0.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)fV1(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z},$}();if(dX&&dX.inspect&&dX.inspect.custom)Xc.exports.prototype[dX.inspect.custom]=function(){var $=dX.inspect({length:this.length});return this.constructor.name+" "+$}});var Zc=E((Ft1,uw0)=>{var yA=I6();function uV1($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)yA.nextTick(kA,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,yA.nextTick(kA,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!U._writableState)yA.nextTick(kA,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,yA.nextTick(kA,U,J)}else if(Y)Y(J)}),this}function bV1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function kA($,Y){$.emit("error",Y)}uw0.exports={destroy:uV1,undestroy:bV1}});var Vc=E((wt1,lw0)=>{var aU=I6();lw0.exports=F6;function iw0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){QL1(Y,$)}}var iV1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:aU.nextTick,yI;F6.WritableState=lX;var cw0=Object.create(M4());cw0.inherits=X1();var cV1={deprecate:y7()},nw0=I0("stream"),fA=K6().Buffer,nV1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pV1($){return fA.from($)}function dV1($){return fA.isBuffer($)||$ instanceof nV1}var pw0=Zc();cw0.inherits(F6,nw0);function mV1(){}function lX($,Y){yI=yI||tU(),$=$||{};var U=Y instanceof yI;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){eV1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new iw0(this)}lX.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(lX.prototype,"buffer",{get:cV1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var xA;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")xA=Function.prototype[Symbol.hasInstance],Object.defineProperty(F6,Symbol.hasInstance,{value:function($){if(xA.call(this,$))return!0;if(this!==F6)return!1;return $&&$._writableState instanceof lX}});else xA=function($){return $ instanceof this};function F6($){if(yI=yI||tU(),!xA.call(F6,this)&&!(this instanceof yI))return new F6($);if(this._writableState=new lX($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}nw0.call(this)}F6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function lV1($,Y){var U=Error("write after end");$.emit("error",U),aU.nextTick(Y,U)}function oV1($,Y,U,z){var Q=!0,J=!1;if(U===null)J=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),aU.nextTick(z,J),Q=!1;return Q}F6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&dV1($);if(J&&!fA.isBuffer($))$=pV1($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=mV1;if(z.ended)lV1(this,U);else if(J||oV1(this,z,$,U))z.pendingcb++,Q=sV1(this,z,J,$,Y,U);return Q};F6.prototype.cork=function(){var $=this._writableState;$.corked++};F6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)dw0(this,$)}};F6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function rV1($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=fA.from(Y,U);return Y}Object.defineProperty(F6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function sV1($,Y,U,z,Q,J){if(!U){var I=rV1(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var ow0=I6(),JL1=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};aw0.exports=E3;var rw0=Object.create(M4());rw0.inherits=X1();var sw0=Fc(),Lc=Vc();rw0.inherits(E3,sw0);{uA=JL1(Lc.prototype);for(oX=0;oX{var Mc=K6().Buffer,tw0=Mc.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function GL1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function HL1($){var Y=GL1($);if(typeof Y!=="string"&&(Mc.isEncoding===tw0||!tw0($)))throw Error("Unknown encoding: "+$);return Y||$}DL1.StringDecoder=sX;function sX($){this.encoding=HL1($);var Y;switch(this.encoding){case"utf16le":this.text=LL1,this.end=FL1,Y=4;break;case"utf8":this.fillLast=ZL1,Y=4;break;case"base64":this.text=wL1,this.end=ML1,Y=3;break;default:this.write=OL1,this.end=NL1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Mc.allocUnsafe(Y)}sX.prototype.write=function($){if($.length===0)return"";var Y,U;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return Y?Y+this.text($,U):this.text($,U);return Y||""};sX.prototype.end=VL1;sX.prototype.text=qL1;sX.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function wc($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function WL1($,Y,U){var z=Y.length-1;if(z=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--z=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--z=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function XL1($,Y,U){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function ZL1($){var Y=this.lastTotal-this.lastNeed,U=XL1(this,$,Y);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function qL1($,Y){var U=WL1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=U;var z=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function VL1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function LL1($,Y){if(($.length-Y)%2===0){var U=$.toString("utf16le",Y);if(U){var z=U.charCodeAt(U.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function FL1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,U)}return Y}function wL1($,Y){var U=($.length-Y)%3;if(U===0)return $.toString("base64",Y);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-U)}function ML1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function OL1($){return $.toString(this.encoding)}function NL1($){return $&&$.length?this.write($):""}});var Fc=E((Dt1,WM0)=>{var xI=I6();WM0.exports=C4;var BL1=sQ(),aX;C4.ReadableState=JM0;var Nt1=I0("events").EventEmitter,UM0=function($,Y){return $.listeners(Y).length},Pc=I0("stream"),tX=K6().Buffer,PL1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function TL1($){return tX.from($)}function jL1($){return tX.isBuffer($)||$ instanceof PL1}var zM0=Object.create(M4());zM0.inherits=X1();var Nc=I0("util"),Y4=void 0;if(Nc&&Nc.debuglog)Y4=Nc.debuglog("stream");else Y4=function(){};var EL1=fw0(),QM0=Zc(),kI;zM0.inherits(C4,Pc);var Dc=["error","close","destroy","pause","resume"];function CL1($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(BL1($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function JM0($,Y){aX=aX||tU(),$=$||{};var U=Y instanceof aX;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new EL1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!kI)kI=Oc().StringDecoder;this.decoder=new kI($.encoding),this.encoding=$.encoding}}function C4($){if(aX=aX||tU(),!(this instanceof C4))return new C4($);if(this._readableState=new JM0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}Pc.call(this)}Object.defineProperty(C4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});C4.prototype.destroy=QM0.destroy;C4.prototype._undestroy=QM0.undestroy;C4.prototype._destroy=function($,Y){this.push(null),Y($)};C4.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=tX.from($,Y),Y="";z=!0}}else z=!0;return IM0(this,$,Y,!1,z)};C4.prototype.unshift=function($){return IM0(this,$,null,!0,!1)};function IM0($,Y,U,z,Q){var J=$._readableState;if(Y===null)J.reading=!1,hL1($,J);else{var I;if(!Q)I=RL1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==tX.prototype)Y=TL1(Y);if(z)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else Ac($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)Ac($,J,Y,!1);else KM0($,J);else Ac($,J,Y,!1)}else if(!z)J.reading=!1}return _L1(J)}function Ac($,Y,U,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",U),$.read(0);else{if(Y.length+=Y.objectMode?1:U.length,z)Y.buffer.unshift(U);else Y.buffer.push(U);if(Y.needReadable)bA($)}KM0($,Y)}function RL1($,Y){var U;if(!jL1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function _L1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}C4.prototype.isPaused=function(){return this._readableState.flowing===!1};C4.prototype.setEncoding=function($){if(!kI)kI=Oc().StringDecoder;return this._readableState.decoder=new kI($),this._readableState.encoding=$,this};var ew0=8388608;function vL1($){if($>=ew0)$=ew0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function $M0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=vL1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}C4.prototype.read=function($){Y4("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(Y4("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)Bc(this);else bA(this);return null}if($=$M0($,Y),$===0&&Y.ended){if(Y.length===0)Bc(this);return null}var z=Y.needReadable;if(Y4("need readable",z),Y.length===0||Y.length-$0)Q=GM0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)Bc(this)}if(Q!==null)this.emit("data",Q);return Q};function hL1($,Y){if(Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}Y.ended=!0,bA($)}function bA($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(Y4("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)xI.nextTick(YM0,$);else YM0($)}function YM0($){Y4("emit readable"),$.emit("readable"),Tc($)}function KM0($,Y){if(!Y.readingMore)Y.readingMore=!0,xI.nextTick(SL1,$,Y)}function SL1($,Y){var U=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&HM0(z.pipes,$)!==-1)&&!H)Y4("false write response, pause",z.awaitDrain),z.awaitDrain++,X=!0;U.pause()}}function q(w){if(Y4("onerror",w),M(),$.removeListener("error",q),UM0($,"error")===0)$.emit("error",w)}CL1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){Y4("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){Y4("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)Y4("pipe resume"),U.resume();return $};function gL1($){return function(){var Y=$._readableState;if(Y4("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&UM0($,"data"))Y.flowing=!0,Tc($)}}C4.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.head.data;else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=fL1($,Y.buffer,Y.decoder);return U}function fL1($,Y,U){var z;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++z,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++z}return Y.length-=z,Q}function bL1($,Y){var U=tX.allocUnsafe($),z=Y.head,Q=1;z.data.copy(U),$-=z.data.length;while(z=z.next){var J=z.data,I=$>J.length?J.length:$;if(J.copy(U,U.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++Q}return Y.length-=Q,U}function Bc($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,xI.nextTick(iL1,Y,$)}function iL1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function HM0($,Y){for(var U=0,z=$.length;U{qM0.exports=C3;var iA=tU(),ZM0=Object.create(M4());ZM0.inherits=X1();ZM0.inherits(C3,iA);function cL1($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{FM0.exports=eX;var VM0=jc(),LM0=Object.create(M4());LM0.inherits=X1();LM0.inherits(eX,VM0);function eX($){if(!(this instanceof eX))return new eX($);VM0.call(this,$)}eX.prototype._transform=function($,Y,U){U(null,$)}});var R3=E(($8,cA)=>{var F9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&F9)cA.exports=F9,$8=cA.exports=F9.Readable,$8.Readable=F9.Readable,$8.Writable=F9.Writable,$8.Duplex=F9.Duplex,$8.Transform=F9.Transform,$8.PassThrough=F9.PassThrough,$8.Stream=F9;else $8=cA.exports=Fc(),$8.Stream=F9||$8,$8.Readable=$8,$8.Writable=Vc(),$8.Duplex=tU(),$8.Transform=jc(),$8.PassThrough=wM0()});var pA=E((Pt1,MM0)=>{var eU=I0("stream"),Ec=C2(),pL1=I0("util"),nA=gI(),dL1="function";if(!eU.Writable||!eU.Writable.prototype.destroy)eU=R3();function R2(){if(!(this instanceof R2))return new R2;eU.Duplex.call(this,{decodeStrings:!1,objectMode:!0}),this.buffer=nA.from("");var $=this;$.on("finish",function(){$.finished=!0,$.emit("chunk",!1)})}pL1.inherits(R2,eU.Duplex);R2.prototype._write=function($,Y,U){this.buffer=nA.concat([this.buffer,$]),this.cb=U,this.emit("chunk")};R2.prototype.stream=function($,Y){var U=eU.PassThrough(),z,Q=this;function J(){if(typeof Q.cb===dL1){var K=Q.cb;return Q.cb=void 0,K()}}function I(){var K;if(Q.buffer&&Q.buffer.length){if(typeof $==="number")K=Q.buffer.slice(0,$),Q.buffer=Q.buffer.slice($),$-=K.length,z=!$;else{var G=Q.buffer.indexOf($);if(G!==-1){if(Q.match=G,Y)G=G+$.length;K=Q.buffer.slice(0,G),Q.buffer=Q.buffer.slice(G),z=!0}else{var H=Q.buffer.length-$.length;if(H<=0)J();else K=Q.buffer.slice(0,H),Q.buffer=Q.buffer.slice(H)}}if(K)U.write(K,function(){if(Q.buffer.length===0||$.length&&Q.buffer.length<=$.length)J()})}if(!z){if(Q.finished){Q.removeListener("chunk",I),Q.emit("error",Error("FILE_ENDED"));return}}else Q.removeListener("chunk",I),U.end()}return Q.on("chunk",I),I(),U};R2.prototype.pull=function($,Y){if($===0)return Ec.resolve("");if(!isNaN($)&&this.buffer.length>$){var U=this.buffer.slice(0,$);return this.buffer=this.buffer.slice($),Ec.resolve(U)}var z=nA.from(""),Q=this,J=eU.Transform();J._transform=function(G,H,W){z=nA.concat([z,G]),W()};var I,K;return new Ec(function(G,H){if(I=H,K=function(W){Q.__emittedError=W,H(W)},Q.finished)return H(Error("FILE_ENDED"));Q.once("error",K),Q.stream($,Y).on("error",H).pipe(J).on("finish",function(){G(z)}).on("error",H)}).finally(function(){Q.removeListener("error",I),Q.removeListener("error",K)})};R2.prototype._read=function(){};MM0.exports=R2});var NM0=E((Tt1,OM0)=>{var $Z=I0("stream"),mL1=I0("util");if(!$Z.Writable||!$Z.Writable.prototype.destroy)$Z=R3();function YZ(){if(!(this instanceof YZ))return new YZ;$Z.Transform.call(this)}mL1.inherits(YZ,$Z.Transform);YZ.prototype._transform=function($,Y,U){U()};OM0.exports=YZ});var mA=E((jt1,DM0)=>{var lL1=C2(),dA=I0("stream"),oL1=gI();if(!dA.Writable||!dA.Writable.prototype.destroy)dA=R3();DM0.exports=function($){return new lL1(function(Y,U){var z=[],Q=dA.Transform().on("finish",function(){Y(oL1.concat(z))}).on("error",U);Q._transform=function(J,I,K){z.push(J),K()},$.on("error",U).pipe(Q)})}});var lA=E((Et1,AM0)=>{var rL1=cX();AM0.exports=function($,Y){var U;while(!U&&$&&$.length){var z=rL1.parse($).word16lu("signature").word16lu("partsize").word64lu("uncompressedSize").word64lu("compressedSize").word64lu("offset").word64lu("disknum").vars;if(z.signature===1)U=z;else $=$.slice(z.partsize+4)}if(U=U||{},Y.compressedSize===4294967295)Y.compressedSize=U.compressedSize;if(Y.uncompressedSize===4294967295)Y.uncompressedSize=U.uncompressedSize;if(Y.offsetToLocalFileHeader===4294967295)Y.offsetToLocalFileHeader=U.offset;return U}});var oA=E((Ct1,BM0)=>{BM0.exports=function(Y,U){let z=Y&31,Q=Y>>5&15,J=(Y>>9&127)+1980,I=U?(U&31)*2:0,K=U?U>>5&63:0,G=U?U>>11:0;return new Date(Date.UTC(J,Q-1,z,G,K,I))}});var rA=E((Rt1,EM0)=>{var sL1=I0("util"),aL1=I0("zlib"),UZ=I0("stream"),zZ=cX(),Cc=C2(),PM0=pA(),tL1=NM0(),eL1=mA(),$F1=lA(),TM0=gI(),YF1=oA();if(!UZ.Writable||!UZ.Writable.prototype.destroy)UZ=R3();var jM0=TM0.alloc(4);jM0.writeUInt32LE(101010256,0);function M5($){if(!(this instanceof M5))return new M5($);var Y=this;Y._opts=$||{verbose:!1},PM0.call(Y,Y._opts),Y.on("finish",function(){Y.emit("end"),Y.emit("close")}),Y._readRecord().catch(function(U){if(!Y.__emittedError||Y.__emittedError!==U)Y.emit("error",U)})}sL1.inherits(M5,PM0);M5.prototype._readRecord=function(){var $=this;return $.pull(4).then(function(Y){if(Y.length===0)return;var U=Y.readUInt32LE(0);if(U===875721283)return $._readCrxHeader();if(U===67324752)return $._readFile();else if(U===33639248)return $.reachedCD=!0,$._readCentralDirectoryFileHeader();else if(U===101010256)return $._readEndOfCentralDirectoryRecord();else if($.reachedCD){var z=!0;return $.pull(jM0,z).then(function(){return $._readEndOfCentralDirectoryRecord()})}else $.emit("error",Error("invalid signature: 0x"+U.toString(16)))})};M5.prototype._readCrxHeader=function(){var $=this;return $.pull(12).then(function(Y){return $.crxHeader=zZ.parse(Y).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars,$.pull($.crxHeader.pubKeyLength+$.crxHeader.signatureLength)}).then(function(Y){return $.crxHeader.publicKey=Y.slice(0,$.crxHeader.pubKeyLength),$.crxHeader.signature=Y.slice($.crxHeader.pubKeyLength),$.emit("crx-header",$.crxHeader),$._readRecord()})};M5.prototype._readFile=function(){var $=this;return $.pull(26).then(function(Y){var U=zZ.parse(Y).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;if(U.lastModifiedDateTime=YF1(U.lastModifiedDate,U.lastModifiedTime),$.crxHeader)U.crxHeader=$.crxHeader;return $.pull(U.fileNameLength).then(function(z){var Q=z.toString("utf8"),J=UZ.PassThrough(),I=!1;if(J.autodrain=function(){I=!0;var K=J.pipe(tL1());return K.promise=function(){return new Cc(function(G,H){K.on("finish",G),K.on("error",H)})},K},J.buffer=function(){return eL1(J)},J.path=Q,J.props={},J.props.path=Q,J.props.pathBuffer=z,J.props.flags={isUnicode:(U.flags&2048)!=0},J.type=U.uncompressedSize===0&&/[\/\\]$/.test(Q)?"Directory":"File",$._opts.verbose){if(J.type==="Directory")console.log(" creating:",Q);else if(J.type==="File")if(U.compressionMethod===0)console.log(" extracting:",Q);else console.log(" inflating:",Q)}return $.pull(U.extraFieldLength).then(function(K){var G=$F1(K,U);if(J.vars=U,J.extra=G,$._opts.forceStream)$.push(J);else if($.emit("entry",J),$._readableState.pipesCount||$._readableState.pipes&&$._readableState.pipes.length)$.push(J);if($._opts.verbose)console.log({filename:Q,vars:U,extra:G});var H=!(U.flags&8)||U.compressedSize>0,W;J.__autodraining=I;var X=U.compressionMethod&&!I?aL1.createInflateRaw():UZ.PassThrough();if(H)J.size=U.uncompressedSize,W=U.compressedSize;else W=TM0.alloc(4),W.writeUInt32LE(134695760,0);return new Cc(function(Z,q){$.stream(W).pipe(X).on("error",function(V){$.emit("error",V)}).pipe(J).on("finish",function(){return H?$._readRecord().then(Z).catch(q):$._processDataDescriptor(J).then(Z).catch(q)})})})})})};M5.prototype._processDataDescriptor=function($){var Y=this;return Y.pull(16).then(function(U){var z=zZ.parse(U).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return $.size=z.uncompressedSize,Y._readRecord()})};M5.prototype._readCentralDirectoryFileHeader=function(){var $=this;return $.pull(42).then(function(Y){var U=zZ.parse(Y).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return $.pull(U.fileNameLength).then(function(z){return U.fileName=z.toString("utf8"),$.pull(U.extraFieldLength)}).then(function(z){return $.pull(U.fileCommentLength)}).then(function(z){return $._readRecord()})})};M5.prototype._readEndOfCentralDirectoryRecord=function(){var $=this;return $.pull(18).then(function(Y){var U=zZ.parse(Y).word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return $.pull(U.commentLength).then(function(z){z=z.toString("utf8"),$.end(),$.push(null)})})};M5.prototype.promise=function(){var $=this;return new Cc(function(Y,U){$.on("finish",Y),$.on("error",U)})};EM0.exports=M5});var RM0=E((_t1,Rc)=>{function UF1($,Y){if(!($ instanceof Y))throw TypeError("Cannot call a class as a function")}var CM0=K6().Buffer,QZ=I0("util");function zF1($,Y,U){$.copy(Y,U)}Rc.exports=function(){function $(){UF1(this,$),this.head=null,this.tail=null,this.length=0}return $.prototype.push=function(U){var z={data:U,next:null};if(this.length>0)this.tail.next=z;else this.head=z;this.tail=z,++this.length},$.prototype.unshift=function(U){var z={data:U,next:this.head};if(this.length===0)this.tail=z;this.head=z,++this.length},$.prototype.shift=function(){if(this.length===0)return;var U=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,U},$.prototype.clear=function(){this.head=this.tail=null,this.length=0},$.prototype.join=function(U){if(this.length===0)return"";var z=this.head,Q=""+z.data;while(z=z.next)Q+=U+z.data;return Q},$.prototype.concat=function(U){if(this.length===0)return CM0.alloc(0);var z=CM0.allocUnsafe(U>>>0),Q=this.head,J=0;while(Q)zF1(Q.data,z,J),J+=Q.data.length,Q=Q.next;return z},$}();if(QZ&&QZ.inspect&&QZ.inspect.custom)Rc.exports.prototype[QZ.inspect.custom]=function(){var $=QZ.inspect({length:this.length});return this.constructor.name+" "+$}});var _c=E((vt1,_M0)=>{var sA=I6();function QF1($,Y){var U=this,z=this._readableState&&this._readableState.destroyed,Q=this._writableState&&this._writableState.destroyed;if(z||Q){if(Y)Y($);else if($){if(!this._writableState)sA.nextTick(aA,this,$);else if(!this._writableState.errorEmitted)this._writableState.errorEmitted=!0,sA.nextTick(aA,this,$)}return this}if(this._readableState)this._readableState.destroyed=!0;if(this._writableState)this._writableState.destroyed=!0;return this._destroy($||null,function(J){if(!Y&&J){if(!U._writableState)sA.nextTick(aA,U,J);else if(!U._writableState.errorEmitted)U._writableState.errorEmitted=!0,sA.nextTick(aA,U,J)}else if(Y)Y(J)}),this}function JF1(){if(this._readableState)this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1;if(this._writableState)this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1}function aA($,Y){$.emit("error",Y)}_M0.exports={destroy:QF1,undestroy:JF1}});var hc=E((ht1,fM0)=>{var $z=I6();fM0.exports=w6;function hM0($){var Y=this;this.next=null,this.entry=null,this.finish=function(){BF1(Y,$)}}var IF1=["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:$z.nextTick,fI;w6.WritableState=IZ;var SM0=Object.create(M4());SM0.inherits=X1();var KF1={deprecate:y7()},gM0=I0("stream"),eA=K6().Buffer,GF1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function HF1($){return eA.from($)}function WF1($){return eA.isBuffer($)||$ instanceof GF1}var yM0=_c();SM0.inherits(w6,gM0);function XF1(){}function IZ($,Y){fI=fI||Yz(),$=$||{};var U=Y instanceof fI;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.writableObjectMode;var{highWaterMark:z,writableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var I=$.decodeStrings===!1;this.decodeStrings=!I,this.defaultEncoding=$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(K){MF1(Y,K)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new hM0(this)}IZ.prototype.getBuffer=function(){var Y=this.bufferedRequest,U=[];while(Y)U.push(Y),Y=Y.next;return U};(function(){try{Object.defineProperty(IZ.prototype,"buffer",{get:KF1.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch($){}})();var tA;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function")tA=Function.prototype[Symbol.hasInstance],Object.defineProperty(w6,Symbol.hasInstance,{value:function($){if(tA.call(this,$))return!0;if(this!==w6)return!1;return $&&$._writableState instanceof IZ}});else tA=function($){return $ instanceof this};function w6($){if(fI=fI||Yz(),!tA.call(w6,this)&&!(this instanceof fI))return new w6($);if(this._writableState=new IZ($,this),this.writable=!0,$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final}gM0.call(this)}w6.prototype.pipe=function(){this.emit("error",Error("Cannot pipe, not readable"))};function ZF1($,Y){var U=Error("write after end");$.emit("error",U),$z.nextTick(Y,U)}function qF1($,Y,U,z){var Q=!0,J=!1;if(U===null)J=TypeError("May not write null values to stream");else if(typeof U!=="string"&&U!==void 0&&!Y.objectMode)J=TypeError("Invalid non-string/buffer chunk");if(J)$.emit("error",J),$z.nextTick(z,J),Q=!1;return Q}w6.prototype.write=function($,Y,U){var z=this._writableState,Q=!1,J=!z.objectMode&&WF1($);if(J&&!eA.isBuffer($))$=HF1($);if(typeof Y==="function")U=Y,Y=null;if(J)Y="buffer";else if(!Y)Y=z.defaultEncoding;if(typeof U!=="function")U=XF1;if(z.ended)ZF1(this,U);else if(J||qF1(this,z,$,U))z.pendingcb++,Q=LF1(this,z,J,$,Y,U);return Q};w6.prototype.cork=function(){var $=this._writableState;$.corked++};w6.prototype.uncork=function(){var $=this._writableState;if($.corked){if($.corked--,!$.writing&&!$.corked&&!$.bufferProcessing&&$.bufferedRequest)kM0(this,$)}};w6.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=Y.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Y+"").toLowerCase())>-1))throw TypeError("Unknown encoding: "+Y);return this._writableState.defaultEncoding=Y,this};function VF1($,Y,U){if(!$.objectMode&&$.decodeStrings!==!1&&typeof Y==="string")Y=eA.from(Y,U);return Y}Object.defineProperty(w6.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function LF1($,Y,U,z,Q,J){if(!U){var I=VF1(Y,z,Q);if(z!==I)U=!0,Q="buffer",z=I}var K=Y.objectMode?1:z.length;Y.length+=K;var G=Y.length{var uM0=I6(),PF1=Object.keys||function($){var Y=[];for(var U in $)Y.push(U);return Y};cM0.exports=_3;var bM0=Object.create(M4());bM0.inherits=X1();var iM0=gc(),Sc=hc();bM0.inherits(_3,iM0);{$B=PF1(Sc.prototype);for(KZ=0;KZ<$B.length;KZ++)if(GZ=$B[KZ],!_3.prototype[GZ])_3.prototype[GZ]=Sc.prototype[GZ]}var $B,GZ,KZ;function _3($){if(!(this instanceof _3))return new _3($);if(iM0.call(this,$),Sc.call(this,$),$&&$.readable===!1)this.readable=!1;if($&&$.writable===!1)this.writable=!1;if(this.allowHalfOpen=!0,$&&$.allowHalfOpen===!1)this.allowHalfOpen=!1;this.once("end",TF1)}Object.defineProperty(_3.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function TF1(){if(this.allowHalfOpen||this._writableState.ended)return;uM0.nextTick(jF1,this)}function jF1($){$.end()}Object.defineProperty(_3.prototype,"destroyed",{get:function(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set:function($){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=$,this._writableState.destroyed=$}});_3.prototype._destroy=function($,Y){this.push(null),this.end(),uM0.nextTick(Y,$)}});var xc=E((bF1)=>{var kc=K6().Buffer,nM0=kc.isEncoding||function($){switch($=""+$,$&&$.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function EF1($){if(!$)return"utf8";var Y;while(!0)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(Y)return;$=(""+$).toLowerCase(),Y=!0}}function CF1($){var Y=EF1($);if(typeof Y!=="string"&&(kc.isEncoding===nM0||!nM0($)))throw Error("Unknown encoding: "+$);return Y||$}bF1.StringDecoder=HZ;function HZ($){this.encoding=CF1($);var Y;switch(this.encoding){case"utf16le":this.text=gF1,this.end=yF1,Y=4;break;case"utf8":this.fillLast=vF1,Y=4;break;case"base64":this.text=kF1,this.end=xF1,Y=3;break;default:this.write=fF1,this.end=uF1;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=kc.allocUnsafe(Y)}HZ.prototype.write=function($){if($.length===0)return"";var Y,U;if(this.lastNeed){if(Y=this.fillLast($),Y===void 0)return"";U=this.lastNeed,this.lastNeed=0}else U=0;if(U<$.length)return Y?Y+this.text($,U):this.text($,U);return Y||""};HZ.prototype.end=SF1;HZ.prototype.text=hF1;HZ.prototype.fillLast=function($){if(this.lastNeed<=$.length)return $.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,this.lastTotal-this.lastNeed,0,$.length),this.lastNeed-=$.length};function yc($){if($<=127)return 0;else if($>>5===6)return 2;else if($>>4===14)return 3;else if($>>3===30)return 4;return $>>6===2?-1:-2}function RF1($,Y,U){var z=Y.length-1;if(z=0){if(Q>0)$.lastNeed=Q-1;return Q}if(--z=0){if(Q>0)$.lastNeed=Q-2;return Q}if(--z=0){if(Q>0)if(Q===2)Q=0;else $.lastNeed=Q-3;return Q}return 0}function _F1($,Y,U){if((Y[0]&192)!==128)return $.lastNeed=0,"�";if($.lastNeed>1&&Y.length>1){if((Y[1]&192)!==128)return $.lastNeed=1,"�";if($.lastNeed>2&&Y.length>2){if((Y[2]&192)!==128)return $.lastNeed=2,"�"}}}function vF1($){var Y=this.lastTotal-this.lastNeed,U=_F1(this,$,Y);if(U!==void 0)return U;if(this.lastNeed<=$.length)return $.copy(this.lastChar,Y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);$.copy(this.lastChar,Y,0,$.length),this.lastNeed-=$.length}function hF1($,Y){var U=RF1(this,$,Y);if(!this.lastNeed)return $.toString("utf8",Y);this.lastTotal=U;var z=$.length-(U-this.lastNeed);return $.copy(this.lastChar,0,z),$.toString("utf8",Y,z)}function SF1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+"�";return Y}function gF1($,Y){if(($.length-Y)%2===0){var U=$.toString("utf16le",Y);if(U){var z=U.charCodeAt(U.length-1);if(z>=55296&&z<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1],U.slice(0,-1)}return U}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=$[$.length-1],$.toString("utf16le",Y,$.length-1)}function yF1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed){var U=this.lastTotal-this.lastNeed;return Y+this.lastChar.toString("utf16le",0,U)}return Y}function kF1($,Y){var U=($.length-Y)%3;if(U===0)return $.toString("base64",Y);if(this.lastNeed=3-U,this.lastTotal=3,U===1)this.lastChar[0]=$[$.length-1];else this.lastChar[0]=$[$.length-2],this.lastChar[1]=$[$.length-1];return $.toString("base64",Y,$.length-U)}function xF1($){var Y=$&&$.length?this.write($):"";if(this.lastNeed)return Y+this.lastChar.toString("base64",0,3-this.lastNeed);return Y}function fF1($){return $.toString(this.encoding)}function uF1($){return $&&$.length?this.write($):""}});var gc=E((kt1,YO0)=>{var bI=I6();YO0.exports=R4;var cF1=sQ(),WZ;R4.ReadableState=sM0;var yt1=I0("events").EventEmitter,lM0=function($,Y){return $.listeners(Y).length},cc=I0("stream"),XZ=K6().Buffer,nF1=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function pF1($){return XZ.from($)}function dF1($){return XZ.isBuffer($)||$ instanceof nF1}var oM0=Object.create(M4());oM0.inherits=X1();var fc=I0("util"),U4=void 0;if(fc&&fc.debuglog)U4=fc.debuglog("stream");else U4=function(){};var mF1=RM0(),rM0=_c(),uI;oM0.inherits(R4,cc);var uc=["error","close","destroy","pause","resume"];function lF1($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(cF1($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}function sM0($,Y){WZ=WZ||Yz(),$=$||{};var U=Y instanceof WZ;if(this.objectMode=!!$.objectMode,U)this.objectMode=this.objectMode||!!$.readableObjectMode;var{highWaterMark:z,readableHighWaterMark:Q}=$,J=this.objectMode?16:16384;if(z||z===0)this.highWaterMark=z;else if(U&&(Q||Q===0))this.highWaterMark=Q;else this.highWaterMark=J;if(this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new mF1,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=$.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,$.encoding){if(!uI)uI=xc().StringDecoder;this.decoder=new uI($.encoding),this.encoding=$.encoding}}function R4($){if(WZ=WZ||Yz(),!(this instanceof R4))return new R4($);if(this._readableState=new sM0($,this),this.readable=!0,$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy}cc.call(this)}Object.defineProperty(R4.prototype,"destroyed",{get:function(){if(this._readableState===void 0)return!1;return this._readableState.destroyed},set:function($){if(!this._readableState)return;this._readableState.destroyed=$}});R4.prototype.destroy=rM0.destroy;R4.prototype._undestroy=rM0.undestroy;R4.prototype._destroy=function($,Y){this.push(null),Y($)};R4.prototype.push=function($,Y){var U=this._readableState,z;if(!U.objectMode){if(typeof $==="string"){if(Y=Y||U.defaultEncoding,Y!==U.encoding)$=XZ.from($,Y),Y="";z=!0}}else z=!0;return aM0(this,$,Y,!1,z)};R4.prototype.unshift=function($){return aM0(this,$,null,!0,!1)};function aM0($,Y,U,z,Q){var J=$._readableState;if(Y===null)J.reading=!1,aF1($,J);else{var I;if(!Q)I=oF1(J,Y);if(I)$.emit("error",I);else if(J.objectMode||Y&&Y.length>0){if(typeof Y!=="string"&&!J.objectMode&&Object.getPrototypeOf(Y)!==XZ.prototype)Y=pF1(Y);if(z)if(J.endEmitted)$.emit("error",Error("stream.unshift() after end event"));else bc($,J,Y,!0);else if(J.ended)$.emit("error",Error("stream.push() after EOF"));else if(J.reading=!1,J.decoder&&!U)if(Y=J.decoder.write(Y),J.objectMode||Y.length!==0)bc($,J,Y,!1);else tM0($,J);else bc($,J,Y,!1)}else if(!z)J.reading=!1}return rF1(J)}function bc($,Y,U,z){if(Y.flowing&&Y.length===0&&!Y.sync)$.emit("data",U),$.read(0);else{if(Y.length+=Y.objectMode?1:U.length,z)Y.buffer.unshift(U);else Y.buffer.push(U);if(Y.needReadable)YB($)}tM0($,Y)}function oF1($,Y){var U;if(!dF1(Y)&&typeof Y!=="string"&&Y!==void 0&&!$.objectMode)U=TypeError("Invalid non-string/buffer chunk");return U}function rF1($){return!$.ended&&($.needReadable||$.length<$.highWaterMark||$.length===0)}R4.prototype.isPaused=function(){return this._readableState.flowing===!1};R4.prototype.setEncoding=function($){if(!uI)uI=xc().StringDecoder;return this._readableState.decoder=new uI($),this._readableState.encoding=$,this};var pM0=8388608;function sF1($){if($>=pM0)$=pM0;else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function dM0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if(Y.objectMode)return 1;if($!==$)if(Y.flowing&&Y.length)return Y.buffer.head.data.length;else return Y.length;if($>Y.highWaterMark)Y.highWaterMark=sF1($);if($<=Y.length)return $;if(!Y.ended)return Y.needReadable=!0,0;return Y.length}R4.prototype.read=function($){U4("read",$),$=parseInt($,10);var Y=this._readableState,U=$;if($!==0)Y.emittedReadable=!1;if($===0&&Y.needReadable&&(Y.length>=Y.highWaterMark||Y.ended)){if(U4("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)ic(this);else YB(this);return null}if($=dM0($,Y),$===0&&Y.ended){if(Y.length===0)ic(this);return null}var z=Y.needReadable;if(U4("need readable",z),Y.length===0||Y.length-$0)Q=eM0($,Y);else Q=null;if(Q===null)Y.needReadable=!0,$=0;else Y.length-=$;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)ic(this)}if(Q!==null)this.emit("data",Q);return Q};function aF1($,Y){if(Y.ended)return;if(Y.decoder){var U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}Y.ended=!0,YB($)}function YB($){var Y=$._readableState;if(Y.needReadable=!1,!Y.emittedReadable)if(U4("emitReadable",Y.flowing),Y.emittedReadable=!0,Y.sync)bI.nextTick(mM0,$);else mM0($)}function mM0($){U4("emit readable"),$.emit("readable"),nc($)}function tM0($,Y){if(!Y.readingMore)Y.readingMore=!0,bI.nextTick(tF1,$,Y)}function tF1($,Y){var U=Y.length;while(!Y.reading&&!Y.flowing&&!Y.ended&&Y.length1&&$O0(z.pipes,$)!==-1)&&!H)U4("false write response, pause",z.awaitDrain),z.awaitDrain++,X=!0;U.pause()}}function q(w){if(U4("onerror",w),M(),$.removeListener("error",q),lM0($,"error")===0)$.emit("error",w)}lF1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){U4("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){U4("unpipe"),U.unpipe($)}if($.emit("pipe",U),!z.flowing)U4("pipe resume"),U.resume();return $};function eF1($){return function(){var Y=$._readableState;if(U4("pipeOnDrain",Y.awaitDrain),Y.awaitDrain)Y.awaitDrain--;if(Y.awaitDrain===0&&lM0($,"data"))Y.flowing=!0,nc($)}}R4.prototype.unpipe=function($){var Y=this._readableState,U={hasUnpiped:!1};if(Y.pipesCount===0)return this;if(Y.pipesCount===1){if($&&$!==Y.pipes)return this;if(!$)$=Y.pipes;if(Y.pipes=null,Y.pipesCount=0,Y.flowing=!1,$)$.emit("unpipe",this,U);return this}if(!$){var{pipes:z,pipesCount:Q}=Y;Y.pipes=null,Y.pipesCount=0,Y.flowing=!1;for(var J=0;J=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.head.data;else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=zw1($,Y.buffer,Y.decoder);return U}function zw1($,Y,U){var z;if($J.length?J.length:$;if(I===J.length)Q+=J;else Q+=J.slice(0,$);if($-=I,$===0){if(I===J.length)if(++z,U.next)Y.head=U.next;else Y.head=Y.tail=null;else Y.head=U,U.data=J.slice(I);break}++z}return Y.length-=z,Q}function Jw1($,Y){var U=XZ.allocUnsafe($),z=Y.head,Q=1;z.data.copy(U),$-=z.data.length;while(z=z.next){var J=z.data,I=$>J.length?J.length:$;if(J.copy(U,U.length-$,0,I),$-=I,$===0){if(I===J.length)if(++Q,z.next)Y.head=z.next;else Y.head=Y.tail=null;else Y.head=z,z.data=J.slice(I);break}++Q}return Y.length-=Q,U}function ic($){var Y=$._readableState;if(Y.length>0)throw Error('"endReadable()" called on non-empty stream');if(!Y.endEmitted)Y.ended=!0,bI.nextTick(Iw1,Y,$)}function Iw1($,Y){if(!$.endEmitted&&$.length===0)$.endEmitted=!0,Y.readable=!1,Y.emit("end")}function $O0($,Y){for(var U=0,z=$.length;U{QO0.exports=v3;var UB=Yz(),zO0=Object.create(M4());zO0.inherits=X1();zO0.inherits(v3,UB);function Kw1($,Y){var U=this._transformState;U.transforming=!1;var z=U.writecb;if(!z)return this.emit("error",Error("write callback called multiple times"));if(U.writechunk=null,U.writecb=null,Y!=null)this.push(Y);z($);var Q=this._readableState;if(Q.reading=!1,Q.needReadable||Q.length{KO0.exports=ZZ;var JO0=pc(),IO0=Object.create(M4());IO0.inherits=X1();IO0.inherits(ZZ,JO0);function ZZ($){if(!(this instanceof ZZ))return new ZZ($);JO0.call(this,$)}ZZ.prototype._transform=function($,Y,U){U(null,$)}});var HO0=E((Y8,zB)=>{var w9=I0("stream");if(process.env.READABLE_STREAM==="disable"&&w9)zB.exports=w9,Y8=zB.exports=w9.Readable,Y8.Readable=w9.Readable,Y8.Writable=w9.Writable,Y8.Duplex=w9.Duplex,Y8.Transform=w9.Transform,Y8.PassThrough=w9.PassThrough,Y8.Stream=w9;else Y8=zB.exports=gc(),Y8.Stream=w9||Y8,Y8.Readable=Y8,Y8.Writable=hc(),Y8.Duplex=Yz(),Y8.Transform=pc(),Y8.PassThrough=GO0()});var lc=E((ut1,mc)=>{var dc=HO0();function iI($,Y,U){if(typeof U>"u")U=Y,Y=$,$=null;if(dc.Duplex.call(this,$),typeof U.read!=="function")U=new dc.Readable($).wrap(U);this._writable=Y,this._readable=U,this._waiting=!1;var z=this;if(Y.once("finish",function(){z.end()}),this.once("finish",function(){Y.end()}),U.on("readable",function(){if(z._waiting)z._waiting=!1,z._read()}),U.once("end",function(){z.push(null)}),!$||typeof $.bubbleErrors>"u"||$.bubbleErrors)Y.on("error",function(Q){z.emit("error",Q)}),U.on("error",function(Q){z.emit("error",Q)})}iI.prototype=Object.create(dc.Duplex.prototype,{constructor:{value:iI}});iI.prototype._write=function(Y,U,z){this._writable.write(Y,U,z)};iI.prototype._read=function(){var Y,U=0;while((Y=this._readable.read())!==null)this.push(Y),U++;if(U===0)this._waiting=!0};mc.exports=function(Y,U,z){return new iI(Y,U,z)};mc.exports.DuplexWrapper=iI});var XO0=E((bt1,WO0)=>{var cI=I0("stream"),Hw1=rA(),Ww1=lc(),Xw1=mA();if(!cI.Writable||!cI.Writable.prototype.destroy)cI=R3();function Zw1($,Y){var U=cI.PassThrough({objectMode:!0}),z=cI.PassThrough(),Q=cI.Transform({objectMode:!0}),J=$ instanceof RegExp?$:$&&new RegExp($),I;Q._transform=function(G,H,W){if(I||J&&!J.exec(G.path))return G.autodrain(),W();else I=!0,K.emit("entry",G),G.on("error",function(X){z.emit("error",X)}),G.pipe(z).on("error",function(X){W(X)}).on("finish",function(X){W(null,X)})},U.pipe(Hw1(Y)).on("error",function(G){z.emit("error",G)}).pipe(Q).on("error",Object).on("finish",function(){if(!I)z.emit("error",Error("PATTERN_NOT_FOUND"));else z.end()});var K=Ww1(U,z);return K.buffer=function(){return Xw1(z)},K}WO0.exports=Zw1});var QB=E((it1,qO0)=>{qO0.exports=_2;var oc=I0("stream").Stream,qw1=X1();function _2(){oc.call(this)}qw1(_2,oc);_2.prototype.on=function($,Y){if($==="ready"&&this.ready)process.nextTick(Y.bind(this));else oc.prototype.on.call(this,$,Y);return this};_2.prototype.abort=function(){this._aborted=!0,this.emit("abort")};_2.prototype.destroy=function(){};_2.prototype.warn=function($,Y){var U=this,z=ZO0($,Y,U);if(!U.listeners("warn"))console.error(`%s %s path = %s syscall = %s fstream_type = %s @@ -295,24 +295,24 @@ fstream_class = %s fstream_stack = %s `,Y||"UNKNOWN",z.stack,z.path,z.syscall,z.fstream_type,z.fstream_path,z.fstream_unc_path,z.fstream_class,z.fstream_stack.join(` -`));else U.emit("warn",z)};_2.prototype.info=function($,Y){this.emit("info",$,Y)};_2.prototype.error=function($,Y,U){var z=ZO0($,Y,this);if(U)throw z;else this.emit("error",z)};function ZO0($,Y,U){if(!($ instanceof Error))$=Error($);if($.code=$.code||Y,$.path=$.path||U.path,$.fstream_type=$.fstream_type||U.type,$.fstream_path=$.fstream_path||U.path,U._path!==U.path)$.fstream_unc_path=$.fstream_unc_path||U._path;if(U.linkpath)$.fstream_linkpath=$.fstream_linkpath||U.linkpath;return $.fstream_class=$.fstream_class||U.constructor.name,$.fstream_stack=$.fstream_stack||Error().stack.split(/\n/).slice(3).map(function(z){return z.replace(/^ {4}at /,"")}),$}});var qZ=E((ct1,VO0)=>{VO0.exports=Vw1;function Vw1($){var Y=["Directory","File","SymbolicLink","Link","BlockDevice","CharacterDevice","FIFO","Socket"],U;if($.type&&Y.indexOf($.type)!==-1)return $[$.type]=!0,$.type;for(var z=0,Q=Y.length;z{LO0.exports=VZ;var Lw1=l8(),Fw1=X1(),rc=Uz();Fw1(VZ,rc);function VZ($){var Y=this;if(!(Y instanceof VZ))throw Error("LinkReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);rc.call(Y,$)}VZ.prototype._stat=function($){var Y=this;Lw1.readlink(Y._path,function(U,z){if(U)return Y.error(U);Y.linkpath=Y.props.linkpath=z,Y.emit("linkpath",z),rc.prototype._stat.call(Y,$)})};VZ.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var tc=E((pt1,MO0)=>{MO0.exports=w9;var wO0=l8(),ww1=X1(),LZ=I0("path"),ac=Uz(),FO0=I0("assert").ok;ww1(w9,ac);function w9($){var Y=this;if(!(Y instanceof w9))throw Error("DirReader must be called as constructor.");if($.type!=="Directory"||!$.Directory)throw Error("Non-directory type "+$.type);if(Y.entries=null,Y._index=-1,Y._paused=!1,Y._length=-1,$.sort)this.sort=$.sort;ac.call(this,$)}w9.prototype._getEntries=function(){var $=this;if($._gotEntries)return;$._gotEntries=!0,wO0.readdir($._path,function(Y,U){if(Y)return $.error(Y);if($.entries=U,$.emit("entries",U),$._paused)$.once("resume",z);else z();function z(){if($._length=$.entries.length,typeof $.sort==="function")$.entries=$.entries.sort($.sort.bind($));$._read()}})};w9.prototype._read=function(){var $=this;if(!$.entries)return $._getEntries();if($._paused||$._currentEntry||$._aborted)return;if($._index++,$._index>=$.entries.length){if(!$._ended)$._ended=!0,$.emit("end"),$.emit("close");return}var Y=LZ.resolve($._path,$.entries[$._index]);FO0(Y!==$._path),FO0($.entries[$._index]),$._currentEntry=Y,wO0[$.props.follow?"stat":"lstat"](Y,function(U,z){if(U)return $.error(U);var Q=$._proxy||$;z.path=Y,z.basename=LZ.basename(Y),z.dirname=LZ.dirname(Y);var J=$.getChildProps.call(Q,z);J.path=Y,J.basename=LZ.basename(Y),J.dirname=LZ.dirname(Y);var I=ac(J,z);$._currentEntry=I,I.on("pause",function(H){if(!$._paused&&!I._disowned)$.pause(H)}),I.on("resume",function(H){if($._paused&&!I._disowned)$.resume(H)}),I.on("stat",function(H){if($.emit("_entryStat",I,H),I._aborted)return;if(I._paused)I.once("resume",function(){$.emit("entryStat",I,H)});else $.emit("entryStat",I,H)}),I.on("ready",function H(){if($._paused)return I.pause($),$.once("resume",H);if(I.type==="Socket")$.emit("socket",I);else $.emitEntry(I)});var K=!1;I.on("close",G),I.on("disown",G);function G(){if(K)return;if(K=!0,$.emit("childEnd",I),$.emit("entryEnd",I),$._currentEntry=null,!$._paused)$._read()}I.on("error",function(H){if(I._swallowErrors)$.warn(H),I.emit("end"),I.emit("close");else $.emit("error",H)}),["child","childEnd","warn"].forEach(function(H){I.on(H,$.emit.bind($,H))})})};w9.prototype.disown=function($){if($.emit("beforeDisown"),$._disowned=!0,$.parent=$.root=null,$===this._currentEntry)this._currentEntry=null;$.emit("disown")};w9.prototype.getChildProps=function(){return{depth:this.depth+1,root:this.root||this,parent:this,follow:this.follow,filter:this.filter,sort:this.props.sort,hardlinks:this.props.hardlinks}};w9.prototype.pause=function($){var Y=this;if(Y._paused)return;if($=$||Y,Y._paused=!0,Y._currentEntry&&Y._currentEntry.pause)Y._currentEntry.pause($);Y.emit("pause",$)};w9.prototype.resume=function($){var Y=this;if(!Y._paused)return;if($=$||Y,Y._paused=!1,Y.emit("resume",$),Y._paused)return;if(Y._currentEntry){if(Y._currentEntry.resume)Y._currentEntry.resume($)}else Y._read()};w9.prototype.emitEntry=function($){this.emit("entry",$),this.emit("child",$)}});var ec=E((dt1,AO0)=>{AO0.exports=zz;var Mw1=l8(),Ow1=X1(),OO0=Uz(),NO0={EOF:!0},DO0={CLOSE:!0};Ow1(zz,OO0);function zz($){var Y=this;if(!(Y instanceof zz))throw Error("FileReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="File"&&$.File))throw Error("Non-file type "+$.type);Y._buffer=[],Y._bytesEmitted=0,OO0.call(Y,$)}zz.prototype._getStream=function(){var $=this,Y=$._stream=Mw1.createReadStream($._path,$.props);if($.props.blksize)Y.bufferSize=$.props.blksize;Y.on("open",$.emit.bind($,"open")),Y.on("data",function(U){if($._bytesEmitted+=U.length,!U.length)return;else if($._paused||$._buffer.length)$._buffer.push(U),$._read();else $.emit("data",U)}),Y.on("end",function(){if($._paused||$._buffer.length)$._buffer.push(NO0),$._read();else $.emit("end");if($._bytesEmitted!==$.props.size)$.error(`Didn't get expected byte count +`));else U.emit("warn",z)};_2.prototype.info=function($,Y){this.emit("info",$,Y)};_2.prototype.error=function($,Y,U){var z=ZO0($,Y,this);if(U)throw z;else this.emit("error",z)};function ZO0($,Y,U){if(!($ instanceof Error))$=Error($);if($.code=$.code||Y,$.path=$.path||U.path,$.fstream_type=$.fstream_type||U.type,$.fstream_path=$.fstream_path||U.path,U._path!==U.path)$.fstream_unc_path=$.fstream_unc_path||U._path;if(U.linkpath)$.fstream_linkpath=$.fstream_linkpath||U.linkpath;return $.fstream_class=$.fstream_class||U.constructor.name,$.fstream_stack=$.fstream_stack||Error().stack.split(/\n/).slice(3).map(function(z){return z.replace(/^ {4}at /,"")}),$}});var qZ=E((ct1,VO0)=>{VO0.exports=Vw1;function Vw1($){var Y=["Directory","File","SymbolicLink","Link","BlockDevice","CharacterDevice","FIFO","Socket"],U;if($.type&&Y.indexOf($.type)!==-1)return $[$.type]=!0,$.type;for(var z=0,Q=Y.length;z{LO0.exports=VZ;var Lw1=l8(),Fw1=X1(),rc=Uz();Fw1(VZ,rc);function VZ($){var Y=this;if(!(Y instanceof VZ))throw Error("LinkReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);rc.call(Y,$)}VZ.prototype._stat=function($){var Y=this;Lw1.readlink(Y._path,function(U,z){if(U)return Y.error(U);Y.linkpath=Y.props.linkpath=z,Y.emit("linkpath",z),rc.prototype._stat.call(Y,$)})};VZ.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var tc=E((pt1,MO0)=>{MO0.exports=M9;var wO0=l8(),ww1=X1(),LZ=I0("path"),ac=Uz(),FO0=I0("assert").ok;ww1(M9,ac);function M9($){var Y=this;if(!(Y instanceof M9))throw Error("DirReader must be called as constructor.");if($.type!=="Directory"||!$.Directory)throw Error("Non-directory type "+$.type);if(Y.entries=null,Y._index=-1,Y._paused=!1,Y._length=-1,$.sort)this.sort=$.sort;ac.call(this,$)}M9.prototype._getEntries=function(){var $=this;if($._gotEntries)return;$._gotEntries=!0,wO0.readdir($._path,function(Y,U){if(Y)return $.error(Y);if($.entries=U,$.emit("entries",U),$._paused)$.once("resume",z);else z();function z(){if($._length=$.entries.length,typeof $.sort==="function")$.entries=$.entries.sort($.sort.bind($));$._read()}})};M9.prototype._read=function(){var $=this;if(!$.entries)return $._getEntries();if($._paused||$._currentEntry||$._aborted)return;if($._index++,$._index>=$.entries.length){if(!$._ended)$._ended=!0,$.emit("end"),$.emit("close");return}var Y=LZ.resolve($._path,$.entries[$._index]);FO0(Y!==$._path),FO0($.entries[$._index]),$._currentEntry=Y,wO0[$.props.follow?"stat":"lstat"](Y,function(U,z){if(U)return $.error(U);var Q=$._proxy||$;z.path=Y,z.basename=LZ.basename(Y),z.dirname=LZ.dirname(Y);var J=$.getChildProps.call(Q,z);J.path=Y,J.basename=LZ.basename(Y),J.dirname=LZ.dirname(Y);var I=ac(J,z);$._currentEntry=I,I.on("pause",function(H){if(!$._paused&&!I._disowned)$.pause(H)}),I.on("resume",function(H){if($._paused&&!I._disowned)$.resume(H)}),I.on("stat",function(H){if($.emit("_entryStat",I,H),I._aborted)return;if(I._paused)I.once("resume",function(){$.emit("entryStat",I,H)});else $.emit("entryStat",I,H)}),I.on("ready",function H(){if($._paused)return I.pause($),$.once("resume",H);if(I.type==="Socket")$.emit("socket",I);else $.emitEntry(I)});var K=!1;I.on("close",G),I.on("disown",G);function G(){if(K)return;if(K=!0,$.emit("childEnd",I),$.emit("entryEnd",I),$._currentEntry=null,!$._paused)$._read()}I.on("error",function(H){if(I._swallowErrors)$.warn(H),I.emit("end"),I.emit("close");else $.emit("error",H)}),["child","childEnd","warn"].forEach(function(H){I.on(H,$.emit.bind($,H))})})};M9.prototype.disown=function($){if($.emit("beforeDisown"),$._disowned=!0,$.parent=$.root=null,$===this._currentEntry)this._currentEntry=null;$.emit("disown")};M9.prototype.getChildProps=function(){return{depth:this.depth+1,root:this.root||this,parent:this,follow:this.follow,filter:this.filter,sort:this.props.sort,hardlinks:this.props.hardlinks}};M9.prototype.pause=function($){var Y=this;if(Y._paused)return;if($=$||Y,Y._paused=!0,Y._currentEntry&&Y._currentEntry.pause)Y._currentEntry.pause($);Y.emit("pause",$)};M9.prototype.resume=function($){var Y=this;if(!Y._paused)return;if($=$||Y,Y._paused=!1,Y.emit("resume",$),Y._paused)return;if(Y._currentEntry){if(Y._currentEntry.resume)Y._currentEntry.resume($)}else Y._read()};M9.prototype.emitEntry=function($){this.emit("entry",$),this.emit("child",$)}});var ec=E((dt1,AO0)=>{AO0.exports=zz;var Mw1=l8(),Ow1=X1(),OO0=Uz(),NO0={EOF:!0},DO0={CLOSE:!0};Ow1(zz,OO0);function zz($){var Y=this;if(!(Y instanceof zz))throw Error("FileReader must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="File"&&$.File))throw Error("Non-file type "+$.type);Y._buffer=[],Y._bytesEmitted=0,OO0.call(Y,$)}zz.prototype._getStream=function(){var $=this,Y=$._stream=Mw1.createReadStream($._path,$.props);if($.props.blksize)Y.bufferSize=$.props.blksize;Y.on("open",$.emit.bind($,"open")),Y.on("data",function(U){if($._bytesEmitted+=U.length,!U.length)return;else if($._paused||$._buffer.length)$._buffer.push(U),$._read();else $.emit("data",U)}),Y.on("end",function(){if($._paused||$._buffer.length)$._buffer.push(NO0),$._read();else $.emit("end");if($._bytesEmitted!==$.props.size)$.error(`Didn't get expected byte count expect: `+$.props.size+` actual: `+$._bytesEmitted)}),Y.on("close",function(){if($._paused||$._buffer.length)$._buffer.push(DO0),$._read();else $.emit("close")}),Y.on("error",function(U){$.emit("error",U)}),$._read()};zz.prototype._read=function(){var $=this;if($._paused)return;if(!$._stream)return $._getStream();if($._buffer.length){var Y=$._buffer;for(var U=0,z=Y.length;U{PO0.exports=JB;var Nw1=X1(),BO0=Uz();Nw1(JB,BO0);function JB($){var Y=this;if(!(Y instanceof JB))throw Error("SocketReader must be called as constructor.");if(!($.type==="Socket"&&$.Socket))throw Error("Non-socket type "+$.type);BO0.call(Y,$)}JB.prototype._read=function(){var $=this;if($._paused)return;if(!$._ended)$.emit("end"),$.emit("close"),$._ended=!0}});var Yn=E((lt1,jO0)=>{jO0.exports=Qz;var $n=Uz(),Dw1=qZ(),Aw1=X1(),Bw1=l8();Aw1(Qz,$n);function Qz($){var Y=this;if(!(Y instanceof Qz))throw Error("ProxyReader must be called as constructor.");Y.props=$,Y._buffer=[],Y.ready=!1,$n.call(Y,$)}Qz.prototype._stat=function(){var $=this,Y=$.props,U=Y.follow?"stat":"lstat";Bw1[U](Y.path,function(z,Q){var J;if(z||!Q)J="File";else J=Dw1(Q);Y[J]=!0,Y.type=$.type=J,$._old=Q,$._addProxy($n(Y,Q))})};Qz.prototype._addProxy=function($){var Y=this;if(Y._proxyTarget)return Y.error("proxy already set");Y._proxyTarget=$,$._proxy=Y,["error","data","end","close","linkpath","entry","entryEnd","child","childEnd","warn","stat"].forEach(function(z){$.on(z,Y.emit.bind(Y,z))}),Y.emit("proxy",$),$.on("ready",function(){Y.ready=!0,Y.emit("ready")});var U=Y._buffer;Y._buffer.length=0,U.forEach(function(z){$[z[0]].apply($,z[1])})};Qz.prototype.pause=function(){return this._proxyTarget?this._proxyTarget.pause():!1};Qz.prototype.resume=function(){return this._proxyTarget?this._proxyTarget.resume():!1}});var Uz=E((ot1,RO0)=>{RO0.exports=O5;var Pw1=l8(),Tw1=I0("stream").Stream,jw1=X1(),Un=I0("path"),zn=qZ(),IB=O5.hardLinks={},EO0=QB();jw1(O5,EO0);var CO0=sc();function O5($,Y){var U=this;if(!(U instanceof O5))return new O5($,Y);if(typeof $==="string")$={path:$};var z,Q;if($.type&&typeof $.type==="function")z=$.type,Q=z;else z=zn($),Q=O5;if(Y&&!z)z=zn(Y),$[z]=!0,$.type=z;switch(z){case"Directory":Q=tc();break;case"Link":case"File":Q=ec();break;case"SymbolicLink":Q=CO0;break;case"Socket":Q=TO0();break;case null:Q=Yn();break}if(!(U instanceof Q))return new Q($);if(EO0.call(U),!$.path)U.error("Must provide a path",null,!0);if(U.readable=!0,U.writable=!1,U.type=z,U.props=$,U.depth=$.depth=$.depth||0,U.parent=$.parent||null,U.root=$.root||$.parent&&$.parent.root||U,U._path=U.path=Un.resolve($.path),process.platform==="win32"){if(U.path=U._path=U.path.replace(/\?/g,"_"),U._path.length>=260)U._swallowErrors=!0,U._path="\\\\?\\"+U.path.replace(/\//g,"\\")}if(U.basename=$.basename=Un.basename(U.path),U.dirname=$.dirname=Un.dirname(U.path),$.parent=$.root=null,U.size=$.size,U.filter=typeof $.filter==="function"?$.filter:null,$.sort==="alpha")$.sort=Ew1;U._stat(Y)}function Ew1($,Y){return $===Y?0:$.toLowerCase()>Y.toLowerCase()?1:$.toLowerCase()Y?1:-1}O5.prototype._stat=function($){var Y=this,U=Y.props,z=U.follow?"stat":"lstat";if($)process.nextTick(Q.bind(null,null,$));else Pw1[z](Y._path,Q);function Q(J,I){if(J)return Y.error(J);if(Object.keys(I).forEach(function(q){U[q]=I[q]}),Y.size!==void 0&&U.size!==Y.size)return Y.error("incorrect size");Y.size=U.size;var K=zn(U),G=U.hardlinks!==!1;if(G&&K!=="Directory"&&U.nlink&&U.nlink>1){var H=U.dev+":"+U.ino;if(IB[H]===Y._path||!IB[H])IB[H]=Y._path;else K=Y.type=Y.props.type="Link",Y.Link=Y.props.Link=!0,Y.linkpath=Y.props.linkpath=IB[H],Y._stat=Y._read=CO0.prototype._read}if(Y.type&&Y.type!==K)Y.error("Unexpected type: "+K);if(Y.filter){var W=Y._proxy||Y;if(!Y.filter.call(W,W,U)){if(!Y._disowned)Y.abort(),Y.emit("end"),Y.emit("close");return}}var X=["_stat","stat","ready"],Z=0;(function q(){if(Y._aborted){Y.emit("end"),Y.emit("close");return}if(Y._paused&&Y.type!=="Directory"){Y.once("resume",q);return}var V=X[Z++];if(!V)return Y._read();Y.emit(V,U),q()})()}};O5.prototype.pipe=function($){var Y=this;if(typeof $.add==="function")Y.on("entry",function(U){var z=$.add(U);if(z===!1)Y.pause()});return Tw1.prototype.pipe.apply(this,arguments)};O5.prototype.pause=function($){if(this._paused=!0,$=$||this,this.emit("pause",$),this._stream)this._stream.pause($)};O5.prototype.resume=function($){if(this._paused=!1,$=$||this,this.emit("resume",$),this._stream)this._stream.resume($);this._read()};O5.prototype._read=function(){this.error("Cannot read unknown type: "+this.type)}});var Kn=E((rt1,xO0)=>{xO0.exports=In;In.sync=kO0;var z4=I0("assert"),SO0=I0("path"),_O0=I0("fs"),nI=void 0;try{nI=AX()}catch($){}var gO0=parseInt("666",8),Cw1={nosort:!0,silent:!0},Qn=0,FZ=process.platform==="win32";function yO0($){var Y=["unlink","chmod","stat","lstat","rmdir","readdir"];if(Y.forEach(function(U){$[U]=$[U]||_O0[U],U=U+"Sync",$[U]=$[U]||_O0[U]}),$.maxBusyTries=$.maxBusyTries||3,$.emfileWait=$.emfileWait||1000,$.glob===!1)$.disableGlob=!0;if($.disableGlob!==!0&&nI===void 0)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");$.disableGlob=$.disableGlob||!1,$.glob=$.glob||Cw1}function In($,Y,U){if(typeof Y==="function")U=Y,Y={};z4($,"rimraf: missing path"),z4.equal(typeof $,"string","rimraf: path should be a string"),z4.equal(typeof U,"function","rimraf: callback function required"),z4(Y,"rimraf: invalid options argument provided"),z4.equal(typeof Y,"object","rimraf: options should be object"),yO0(Y);var z=0,Q=null,J=0;if(Y.disableGlob||!nI.hasMagic($))return K(null,[$]);Y.lstat($,function(G,H){if(!G)return K(null,[$]);nI($,Y.glob,K)});function I(G){if(Q=Q||G,--J===0)U(Q)}function K(G,H){if(G)return U(G);if(J=H.length,J===0)return U();H.forEach(function(W){Jn(W,Y,function X(Z){if(Z){if((Z.code==="EBUSY"||Z.code==="ENOTEMPTY"||Z.code==="EPERM")&&z{Object.defineProperty(fO0,"__esModule",{value:!0});fO0.optsArg=void 0;var HB=I0("fs"),vw1=($)=>{if(!$)$={mode:511};else if(typeof $==="object")$={mode:511,...$};else if(typeof $==="number")$={mode:$};else if(typeof $==="string")$={mode:parseInt($,8)};else throw TypeError("invalid options argument");let Y=$,U=$.fs||{};return $.mkdir=$.mkdir||U.mkdir||HB.mkdir,$.mkdirAsync=$.mkdirAsync?$.mkdirAsync:async(z,Q)=>{return new Promise((J,I)=>Y.mkdir(z,Q,(K,G)=>K?I(K):J(G)))},$.stat=$.stat||U.stat||HB.stat,$.statAsync=$.statAsync?$.statAsync:async(z)=>new Promise((Q,J)=>Y.stat(z,(I,K)=>I?J(I):Q(K))),$.statSync=$.statSync||U.statSync||HB.statSync,$.mkdirSync=$.mkdirSync||U.mkdirSync||HB.mkdirSync,Y};fO0.optsArg=vw1});var ZB=E((cO0)=>{Object.defineProperty(cO0,"__esModule",{value:!0});cO0.mkdirpManual=cO0.mkdirpManualSync=void 0;var bO0=I0("path"),iO0=wZ(),hw1=($,Y,U)=>{let z=(0,bO0.dirname)($),Q={...(0,iO0.optsArg)(Y),recursive:!1};if(z===$)try{return Q.mkdirSync($,Q)}catch(J){let I=J;if(I&&I.code!=="EISDIR")throw J;return}try{return Q.mkdirSync($,Q),U||$}catch(J){let I=J;if(I&&I.code==="ENOENT")return cO0.mkdirpManualSync($,Q,cO0.mkdirpManualSync(z,Q,U));if(I&&I.code!=="EEXIST"&&I&&I.code!=="EROFS")throw J;try{if(!Q.statSync($).isDirectory())throw J}catch(K){throw J}}};cO0.mkdirpManualSync=hw1;cO0.mkdirpManual=Object.assign(async($,Y,U)=>{let z=(0,iO0.optsArg)(Y);z.recursive=!1;let Q=(0,bO0.dirname)($);if(Q===$)return z.mkdirAsync($,z).catch((J)=>{let I=J;if(I&&I.code!=="EISDIR")throw J});return z.mkdirAsync($,z).then(()=>U||$,async(J)=>{let I=J;if(I&&I.code==="ENOENT")return cO0.mkdirpManual(Q,z).then((K)=>cO0.mkdirpManual($,z,K));if(I&&I.code!=="EEXIST"&&I.code!=="EROFS")throw J;return z.statAsync($).then((K)=>{if(K.isDirectory())return U;else throw J},()=>{throw J})})},{sync:cO0.mkdirpManualSync})});var mO0=E((pO0)=>{Object.defineProperty(pO0,"__esModule",{value:!0});pO0.findMadeSync=pO0.findMade=void 0;var nO0=I0("path"),Sw1=async($,Y,U)=>{if(U===Y)return;return $.statAsync(Y).then((z)=>z.isDirectory()?U:void 0,(z)=>{let Q=z;return Q&&Q.code==="ENOENT"?pO0.findMade($,(0,nO0.dirname)(Y),Y):void 0})};pO0.findMade=Sw1;var gw1=($,Y,U)=>{if(U===Y)return;try{return $.statSync(Y).isDirectory()?U:void 0}catch(z){let Q=z;return Q&&Q.code==="ENOENT"?pO0.findMadeSync($,(0,nO0.dirname)(Y),Y):void 0}};pO0.findMadeSync=gw1});var Hn=E((aO0)=>{Object.defineProperty(aO0,"__esModule",{value:!0});aO0.mkdirpNative=aO0.mkdirpNativeSync=void 0;var lO0=I0("path"),oO0=mO0(),rO0=ZB(),sO0=wZ(),yw1=($,Y)=>{let U=(0,sO0.optsArg)(Y);if(U.recursive=!0,(0,lO0.dirname)($)===$)return U.mkdirSync($,U);let Q=(0,oO0.findMadeSync)(U,$);try{return U.mkdirSync($,U),Q}catch(J){let I=J;if(I&&I.code==="ENOENT")return(0,rO0.mkdirpManualSync)($,U);else throw J}};aO0.mkdirpNativeSync=yw1;aO0.mkdirpNative=Object.assign(async($,Y)=>{let U={...(0,sO0.optsArg)(Y),recursive:!0};if((0,lO0.dirname)($)===$)return await U.mkdirAsync($,U);return(0,oO0.findMade)(U,$).then((Q)=>U.mkdirAsync($,U).then((J)=>Q||J).catch((J)=>{let I=J;if(I&&I.code==="ENOENT")return(0,rO0.mkdirpManual)($,U);else throw J}))},{sync:aO0.mkdirpNativeSync})});var zN0=E((YN0)=>{Object.defineProperty(YN0,"__esModule",{value:!0});YN0.pathArg=void 0;var kw1=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,$N0=I0("path"),xw1=($)=>{if(/\0/.test($))throw Object.assign(TypeError("path must be a string without null bytes"),{path:$,code:"ERR_INVALID_ARG_VALUE"});if($=(0,$N0.resolve)($),kw1==="win32"){let Y=/[*|"<>?:]/,{root:U}=(0,$N0.parse)($);if(Y.test($.substring(U.length)))throw Object.assign(Error("Illegal characters in path."),{path:$,code:"EINVAL"})}return $};YN0.pathArg=xw1});var Xn=E((KN0)=>{Object.defineProperty(KN0,"__esModule",{value:!0});KN0.useNative=KN0.useNativeSync=void 0;var QN0=I0("fs"),JN0=wZ(),fw1=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,Wn=fw1.replace(/^v/,"").split("."),IN0=+Wn[0]>10||+Wn[0]===10&&+Wn[1]>=12;KN0.useNativeSync=!IN0?()=>!1:($)=>(0,JN0.optsArg)($).mkdirSync===QN0.mkdirSync;KN0.useNative=Object.assign(!IN0?()=>!1:($)=>(0,JN0.optsArg)($).mkdir===QN0.mkdir,{sync:KN0.useNativeSync})});var Zn=E((S2)=>{Object.defineProperty(S2,"__esModule",{value:!0});S2.mkdirp=S2.nativeSync=S2.native=S2.manualSync=S2.manual=S2.sync=S2.mkdirpSync=S2.useNativeSync=S2.useNative=S2.mkdirpNativeSync=S2.mkdirpNative=S2.mkdirpManualSync=S2.mkdirpManual=void 0;var v2=ZB(),h2=Hn(),WN0=wZ(),XN0=zN0(),qB=Xn(),ZN0=ZB();Object.defineProperty(S2,"mkdirpManual",{enumerable:!0,get:function(){return ZN0.mkdirpManual}});Object.defineProperty(S2,"mkdirpManualSync",{enumerable:!0,get:function(){return ZN0.mkdirpManualSync}});var qN0=Hn();Object.defineProperty(S2,"mkdirpNative",{enumerable:!0,get:function(){return qN0.mkdirpNative}});Object.defineProperty(S2,"mkdirpNativeSync",{enumerable:!0,get:function(){return qN0.mkdirpNativeSync}});var VN0=Xn();Object.defineProperty(S2,"useNative",{enumerable:!0,get:function(){return VN0.useNative}});Object.defineProperty(S2,"useNativeSync",{enumerable:!0,get:function(){return VN0.useNativeSync}});var uw1=($,Y)=>{$=(0,XN0.pathArg)($);let U=(0,WN0.optsArg)(Y);return(0,qB.useNativeSync)(U)?(0,h2.mkdirpNativeSync)($,U):(0,v2.mkdirpManualSync)($,U)};S2.mkdirpSync=uw1;S2.sync=S2.mkdirpSync;S2.manual=v2.mkdirpManual;S2.manualSync=v2.mkdirpManualSync;S2.native=h2.mkdirpNative;S2.nativeSync=h2.mkdirpNativeSync;S2.mkdirp=Object.assign(async($,Y)=>{$=(0,XN0.pathArg)($);let U=(0,WN0.optsArg)(Y);return(0,qB.useNative)(U)?(0,h2.mkdirpNative)($,U):(0,v2.mkdirpManual)($,U)},{mkdirpSync:S2.mkdirpSync,mkdirpNative:h2.mkdirpNative,mkdirpNativeSync:h2.mkdirpNativeSync,mkdirpManual:v2.mkdirpManual,mkdirpManualSync:v2.mkdirpManualSync,sync:S2.mkdirpSync,native:h2.mkdirpNative,nativeSync:h2.mkdirpNativeSync,manual:v2.mkdirpManual,manualSync:v2.mkdirpManualSync,useNative:qB.useNative,useNativeSync:qB.useNativeSync})});var LB=E((He1,FN0)=>{FN0.exports=qn;function qn($){if($._collected)return;if($._paused)return $.on("resume",qn.bind(null,$));$._collected=!0,$.pause(),$.on("data",U),$.on("end",U);var Y=[];function U(I){if(typeof I==="string")I=new Buffer(I);if(Buffer.isBuffer(I)&&!I.length)return;Y.push(I)}$.on("entry",Q);var z=[];function Q(I){qn(I),z.push(I)}$.on("proxy",J);function J(I){I.pause()}$.pipe=function(I){return function(K){var G=0;(function W(){var X=z[G++];if(!X)return H();if(X.on("end",W),K)K.add(X);else $.emit("entry",X)})();function H(){if($.removeListener("entry",Q),$.removeListener("data",U),$.removeListener("end",U),$.pipe=I,K)$.pipe(K);Y.forEach(function(W){if(W)$.emit("data",W);else $.emit("end")}),$.resume()}return K}}($.pipe)}});var Vn=E((We1,MN0)=>{MN0.exports=g2;var FB=pI(),dw1=X1(),mw1=Zn(),wN0=I0("path"),lw1=LB();dw1(g2,FB);function g2($){var Y=this;if(!(Y instanceof g2))Y.error("DirWriter must be called as constructor.",null,!0);if($.type!=="Directory"||!$.Directory)Y.error("Non-directory type "+$.type+" "+JSON.stringify($),null,!0);FB.call(this,$)}g2.prototype._create=function(){var $=this;mw1($._path,FB.dirmode,function(Y){if(Y)return $.error(Y);$.ready=!0,$.emit("ready"),$._process()})};g2.prototype.write=function(){return!0};g2.prototype.end=function(){this._ended=!0,this._process()};g2.prototype.add=function($){var Y=this;if(lw1($),!Y.ready||Y._currentEntry)return Y._buffer.push($),!1;if(Y._ended)return Y.error("add after end");return Y._buffer.push($),Y._process(),this._buffer.length===0};g2.prototype._process=function(){var $=this;if($._processing)return;var Y=$._buffer.shift();if(!Y){if($.emit("drain"),$._ended)$._finish();return}$._processing=!0,$.emit("entry",Y);var U=Y,z;do{if(z=U._path||U.path,z===$.root._path||z===$._path||z&&z.indexOf($._path)===0){if($._processing=!1,Y._collected)Y.pipe();return $._process()}U=U.parent}while(U);var Q={parent:$,root:$.root||$,type:Y.type,depth:$.depth+1};if(z=Y._path||Y.path||Y.props.path,Y.parent)z=z.substr(Y.parent._path.length+1);Q.path=wN0.join($.path,wN0.join("/",z)),Q.filter=$.filter,Object.keys(Y.props).forEach(function(G){if(!Q.hasOwnProperty(G))Q[G]=Y.props[G]});var J=$._currentChild=new FB(Q);J.on("ready",function(){Y.pipe(J),Y.resume()}),J.on("error",function(G){if(J._swallowErrors)$.warn(G),J.emit("end"),J.emit("close");else $.emit("error",G)}),J.on("close",K);var I=!1;function K(){if(I)return;I=!0,$._currentChild=null,$._processing=!1,$._process()}}});var Ln=E((Xe1,BN0)=>{BN0.exports=MZ;var NN0=l8(),DN0=pI(),ow1=X1(),rw1=I0("path"),sw1=Kn();ow1(MZ,DN0);function MZ($){var Y=this;if(!(Y instanceof MZ))throw Error("LinkWriter must be called as constructor.");if(!($.type==="Link"&&$.Link||$.type==="SymbolicLink"&&$.SymbolicLink))throw Error("Non-link type "+$.type);if($.linkpath==="")$.linkpath=".";if(!$.linkpath)Y.error("Need linkpath property to create "+$.type);DN0.call(this,$)}MZ.prototype._create=function(){var $=this,Y=$.type==="Link"||process.platform==="win32",U=Y?"link":"symlink",z=Y?rw1.resolve($.dirname,$.linkpath):$.linkpath;if(Y)return ON0($,z,U);NN0.readlink($._path,function(Q,J){if(J&&J===z)return AN0($);ON0($,z,U)})};function ON0($,Y,U){sw1($._path,function(z){if(z)return $.error(z);aw1($,Y,U)})}function aw1($,Y,U){NN0[U](Y,$._path,function(z){if(z)if((z.code==="ENOENT"||z.code==="EACCES"||z.code==="EPERM")&&process.platform==="win32")$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};else return $.error(z);AN0($)})}function AN0($){if($.ready=!0,$.emit("ready"),$._ended&&!$._finished)$._finish()}MZ.prototype.end=function(){if(this._ended=!0,this.ready)this._finished=!0,this._finish()}});var Fn=E((Ze1,TN0)=>{TN0.exports=Jz;var tw1=l8(),wB=pI(),ew1=X1(),PN0={};ew1(Jz,wB);function Jz($){var Y=this;if(!(Y instanceof Jz))throw Error("FileWriter must be called as constructor.");if($.type!=="File"||!$.File)throw Error("Non-file type "+$.type);Y._buffer=[],Y._bytesWritten=0,wB.call(this,$)}Jz.prototype._create=function(){var $=this;if($._stream)return;var Y={};if($.props.flags)Y.flags=$.props.flags;if(Y.mode=wB.filemode,$._old&&$._old.blksize)Y.bufferSize=$._old.blksize;$._stream=tw1.createWriteStream($._path,Y),$._stream.on("open",function(){$.ready=!0,$._buffer.forEach(function(U){if(U===PN0)$._stream.end();else $._stream.write(U)}),$.emit("ready"),$.emit("drain")}),$._stream.on("error",function(U){$.emit("error",U)}),$._stream.on("drain",function(){$.emit("drain")}),$._stream.on("close",function(){$._finish()})};Jz.prototype.write=function($){var Y=this;if(Y._bytesWritten+=$.length,!Y.ready){if(!Buffer.isBuffer($)&&typeof $!=="string")throw Error("invalid write data");return Y._buffer.push($),!1}var U=Y._stream.write($);if(U===!1&&Y._stream._queue)return Y._stream._queue.length<=2;else return U};Jz.prototype.end=function($){var Y=this;if($)Y.write($);if(!Y.ready)return Y._buffer.push(PN0),!1;return Y._stream.end()};Jz.prototype._finish=function(){var $=this;if(typeof $.size==="number"&&$._bytesWritten!==$.size)$.error(`Did not get expected byte count. expect: `+$.size+` actual: `+$._bytesWritten);wB.prototype._finish.call($)}});var Mn=E((qe1,jN0)=>{jN0.exports=y2;var wn=pI(),$M1=qZ(),YM1=X1(),UM1=LB(),zM1=I0("fs");YM1(y2,wn);function y2($){var Y=this;if(!(Y instanceof y2))throw Error("ProxyWriter must be called as constructor.");Y.props=$,Y._needDrain=!1,wn.call(Y,$)}y2.prototype._stat=function(){var $=this,Y=$.props,U=Y.follow?"stat":"lstat";zM1[U](Y.path,function(z,Q){var J;if(z||!Q)J="File";else J=$M1(Q);Y[J]=!0,Y.type=$.type=J,$._old=Q,$._addProxy(wn(Y,Q))})};y2.prototype._addProxy=function($){var Y=this;if(Y._proxy)return Y.error("proxy already set");Y._proxy=$,["ready","error","close","pipe","drain","warn"].forEach(function(z){$.on(z,Y.emit.bind(Y,z))}),Y.emit("proxy",$);var U=Y._buffer;if(U.forEach(function(z){$[z[0]].apply($,z[1])}),Y._buffer.length=0,Y._needsDrain)Y.emit("drain")};y2.prototype.add=function($){if(UM1($),!this._proxy)return this._buffer.push(["add",[$]]),this._needDrain=!0,!1;return this._proxy.add($)};y2.prototype.write=function($){if(!this._proxy)return this._buffer.push(["write",[$]]),this._needDrain=!0,!1;return this._proxy.write($)};y2.prototype.end=function($){if(!this._proxy)return this._buffer.push(["end",[$]]),!1;return this._proxy.end($)}});var pI=E((Ve1,yN0)=>{yN0.exports=f$;var x$=l8(),QM1=X1(),JM1=Kn(),IM1=Zn(),OZ=I0("path"),CN0=process.platform==="win32"?0:process.umask(),RN0=qZ(),_N0=QB();QM1(f$,_N0);f$.dirmode=parseInt("0777",8)&~CN0;f$.filemode=parseInt("0666",8)&~CN0;var KM1=Vn(),GM1=Ln(),HM1=Fn(),WM1=Mn();function f$($,Y){var U=this;if(typeof $==="string")$={path:$};var z=RN0($),Q=f$;switch(z){case"Directory":Q=KM1;break;case"File":Q=HM1;break;case"Link":case"SymbolicLink":Q=GM1;break;case null:default:Q=WM1;break}if(!(U instanceof Q))return new Q($);if(_N0.call(U),!$.path)U.error("Must provide a path",null,!0);if(U.type=$.type,U.props=$,U.depth=$.depth||0,U.clobber=$.clobber===!1?$.clobber:!0,U.parent=$.parent||null,U.root=$.root||$.parent&&$.parent.root||U,U._path=U.path=OZ.resolve($.path),process.platform==="win32"){if(U.path=U._path=U.path.replace(/\?/g,"_"),U._path.length>=260)U._swallowErrors=!0,U._path="\\\\?\\"+U.path.replace(/\//g,"\\")}if(U.basename=OZ.basename($.path),U.dirname=OZ.dirname($.path),U.linkpath=$.linkpath||null,$.parent=$.root=null,U.size=$.size,typeof $.mode==="string")$.mode=parseInt($.mode,8);U.readable=!1,U.writable=!0,U._buffer=[],U.ready=!1,U.filter=typeof $.filter==="function"?$.filter:null,U._stat(Y)}f$.prototype._create=function(){var $=this;x$[$.props.follow?"stat":"lstat"]($._path,function(Y){if(Y)return $.warn("Cannot create "+$._path+` -Unsupported type: `+$.type,"ENOTSUP");$._finish()})};f$.prototype._stat=function($){var Y=this,U=Y.props,z=U.follow?"stat":"lstat",Q=Y._proxy||Y;if($)J(null,$);else x$[z](Y._path,J);function J(I,K){if(Y.filter&&!Y.filter.call(Q,Q,K)){Y._aborted=!0,Y.emit("end"),Y.emit("close");return}if(I||!K)return On(Y);Y._old=K;var G=RN0(K);if(G!==Y.type||Y.type==="File"&&K.nlink>1)return JM1(Y._path,function(H){if(H)return Y.error(H);Y._old=null,On(Y)});On(Y)}};function On($){IM1(OZ.dirname($._path),f$.dirmode,function(Y,U){if(Y)return $.error(Y);return $._madeDir=U,$._create()})}function vN0($,Y,U,z,Q){var J=Y.mode,I=Y.follow||$.type!=="SymbolicLink"?"chmod":"lchmod";if(!x$[I])return Q();if(typeof J!=="number")return Q();var K=U.mode&parseInt("0777",8);if(J=J&parseInt("0777",8),J===K)return Q();x$[I](z,J,Q)}function hN0($,Y,U,z,Q){if(process.platform==="win32")return Q();if(!process.getuid||process.getuid()!==0)return Q();if(typeof Y.uid!=="number"&&typeof Y.gid!=="number")return Q();if(U.uid===Y.uid&&U.gid===Y.gid)return Q();var J=$.props.follow||$.type!=="SymbolicLink"?"chown":"lchown";if(!x$[J])return Q();if(typeof Y.uid!=="number")Y.uid=U.uid;if(typeof Y.gid!=="number")Y.gid=U.gid;x$[J](z,Y.uid,Y.gid,Q)}function SN0($,Y,U,z,Q){if(!x$.utimes||process.platform==="win32")return Q();var J=Y.follow||$.type!=="SymbolicLink"?"utimes":"lutimes";if(J==="lutimes"&&!x$[J])J="utimes";if(!x$[J])return Q();var{atime:I,mtime:K}=U,G=Y.atime,H=Y.mtime;if(G===void 0)G=I;if(H===void 0)H=K;if(!EN0(G))G=new Date(G);if(!EN0(H))G=new Date(H);if(G.getTime()===I.getTime()&&H.getTime()===K.getTime())return Q();x$[J](z,G,H,Q)}f$.prototype._finish=function(){var $=this;if($._finishing)return;$._finishing=!0;var Y=0,U=null,z=!1;if($._old)$._old.atime=new Date(0),$._old.mtime=new Date(0),J($._old);else{var Q=$.props.follow?"stat":"lstat";x$[Q]($._path,function(K,G){if(K)if(K.code==="ENOENT"&&($.type==="Link"||$.type==="SymbolicLink")&&process.platform==="win32"){$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};return}else return $.error(K);J($._old=G)})}return;function J(K){Y+=3,vN0($,$.props,K,$._path,I("chmod")),hN0($,$.props,K,$._path,I("chown")),SN0($,$.props,K,$._path,I("utimes"))}function I(K){return function(G){if(U)return;if(G)return G.fstream_finish_call=K,$.error(U=G);if(--Y>0)return;if(z)return;if(z=!0,!$._madeDir)return H();else gN0($,$._path,H);function H(W){if(W)return W.fstream_finish_call="setupMadeDir",$.error(W);$.emit("end"),$.emit("close")}}}};function gN0($,Y,U){var z=$._madeDir,Q=OZ.dirname(Y);XM1($,Q,function(J){if(J)return U(J);if(Q===z)return U();gN0($,Q,U)})}function XM1($,Y,U){var z={};Object.keys($.props).forEach(function(K){if(z[K]=$.props[K],K==="mode"&&$.type!=="Directory")z[K]=z[K]|parseInt("0111",8)});var Q=3,J=null;x$.stat(Y,function(K,G){if(K)return U(J=K);vN0($,z,G,Y,I),hN0($,z,G,Y,I),SN0($,z,G,Y,I)});function I(K){if(J)return;if(K)return U(J=K);if(--Q===0)return U()}}f$.prototype.pipe=function(){this.error("Can't pipe from writable stream")};f$.prototype.add=function(){this.error("Can't add to non-Directory type")};f$.prototype.write=function(){return!0};function ZM1($){return Object.prototype.toString.call($)}function EN0($){return typeof $==="object"&&ZM1($)==="[object Date]"}});var Pn=E((qM1)=>{qM1.Abstract=QB();qM1.Reader=Uz();qM1.Writer=pI();qM1.File={Reader:ec(),Writer:Fn()};qM1.Dir={Reader:tc(),Writer:Vn()};qM1.Link={Reader:sc(),Writer:Ln()};qM1.Proxy={Reader:Yn(),Writer:Mn()};qM1.Reader.Dir=qM1.DirReader=qM1.Dir.Reader;qM1.Reader.File=qM1.FileReader=qM1.File.Reader;qM1.Reader.Link=qM1.LinkReader=qM1.Link.Reader;qM1.Reader.Proxy=qM1.ProxyReader=qM1.Proxy.Reader;qM1.Writer.Dir=qM1.DirWriter=qM1.Dir.Writer;qM1.Writer.File=qM1.FileWriter=qM1.File.Writer;qM1.Writer.Link=qM1.LinkWriter=qM1.Link.Writer;qM1.Writer.Proxy=qM1.ProxyWriter=qM1.Proxy.Writer;qM1.collect=LB()});var xN0=E((Pe1,kN0)=>{kN0.exports=DM1;var FM1=rA(),wM1=Pn().Writer,Tn=I0("path"),MM1=I0("stream"),OM1=lc(),NM1=C2();function DM1($){$.path=Tn.resolve(Tn.normalize($.path));var Y=new FM1($),U=new MM1.Writable({objectMode:!0});U._write=function(Q,J,I){if(Q.type=="Directory")return I();var K=Tn.join($.path,Q.path);if(K.indexOf($.path)!=0)return I();let G=$.getWriter?$.getWriter({path:K}):wM1({path:K});Q.pipe(G).on("error",I).on("close",I)};var z=OM1(Y,U);return Y.once("crx-header",function(Q){z.crxHeader=Q}),Y.pipe(U).on("finish",function(){z.emit("close")}),z.promise=function(){return new NM1(function(Q,J){z.on("close",Q),z.on("error",J)})},z}});var fN0=E((Te1,MB)=>{var j6=function($){var Y=1e7,U=7,z=9007199254740992,Q=Z(z),J="0123456789abcdefghijklmnopqrstuvwxyz",I=typeof BigInt==="function";function K(B,v,u,r){if(typeof B>"u")return K[0];if(typeof v<"u")return+v===10&&!u?A0(B):f0(B,v,u,r);return A0(B)}function G(B,v){this.value=B,this.sign=v,this.isSmall=!1}G.prototype=Object.create(K.prototype);function H(B){this.value=B,this.sign=B<0,this.isSmall=!0}H.prototype=Object.create(K.prototype);function W(B){this.value=B}W.prototype=Object.create(K.prototype);function X(B){return-z0)return Math.floor(B);return Math.ceil(B)}function w(B,v){var u=B.length,r=v.length,X0=Array(u),J0=0,q0=Y,M0,B0;for(B0=0;B0=q0?1:0,X0[B0]=M0-J0*q0;while(B00)X0.push(J0);return X0}function N(B,v){if(B.length>=v.length)return w(B,v);return w(v,B)}function O(B,v){var u=B.length,r=Array(u),X0=Y,J0,q0;for(q0=0;q00)r[q0++]=v%X0,v=Math.floor(v/X0);return r}G.prototype.add=function(B){var v=A0(B);if(this.sign!==v.sign)return this.subtract(v.negate());var u=this.value,r=v.value;if(v.isSmall)return new G(O(u,Math.abs(r)),this.sign);return new G(N(u,r),this.sign)},G.prototype.plus=G.prototype.add,H.prototype.add=function(B){var v=A0(B),u=this.value;if(u<0!==v.sign)return this.subtract(v.negate());var r=v.value;if(v.isSmall){if(X(u+r))return new H(u+r);r=Z(Math.abs(r))}return new G(O(r,Math.abs(u)),u<0)},H.prototype.plus=H.prototype.add,W.prototype.add=function(B){return new W(this.value+A0(B).value)},W.prototype.plus=W.prototype.add;function D(B,v){var u=B.length,r=v.length,X0=Array(u),J0=0,q0=Y,M0,B0;for(M0=0;M0=0)r=D(B,v);else r=D(v,B),u=!u;if(r=q(r),typeof r==="number"){if(u)r=-r;return new H(r)}return new G(r,u)}function T(B,v,u){var r=B.length,X0=Array(r),J0=-v,q0=Y,M0,B0;for(M0=0;M0=0)},H.prototype.minus=H.prototype.subtract,W.prototype.subtract=function(B){return new W(this.value-A0(B).value)},W.prototype.minus=W.prototype.subtract,G.prototype.negate=function(){return new G(this.value,!this.sign)},H.prototype.negate=function(){var B=this.sign,v=new H(-this.value);return v.sign=!B,v},W.prototype.negate=function(){return new W(-this.value)},G.prototype.abs=function(){return new G(this.value,!1)},H.prototype.abs=function(){return new H(Math.abs(this.value))},W.prototype.abs=function(){return new W(this.value>=0?this.value:-this.value)};function A(B,v){var u=B.length,r=v.length,X0=u+r,J0=F(X0),q0=Y,M0,B0,r0,I1,z1;for(r0=0;r00)r[M0++]=J0%X0,J0=Math.floor(J0/X0);return r}function C(B,v){var u=[];while(v-- >0)u.push(0);return u.concat(B)}function b(B,v){var u=Math.max(B.length,v.length);if(u<=30)return A(B,v);u=Math.ceil(u/2);var r=B.slice(u),X0=B.slice(0,u),J0=v.slice(u),q0=v.slice(0,u),M0=b(X0,q0),B0=b(r,J0),r0=b(N(X0,r),N(q0,J0)),I1=N(N(M0,C(D(D(r0,M0),B0),u)),C(B0,2*u));return V(I1),I1}function x(B,v){return-0.012*B-0.012*v+0.000015*B*v>0}G.prototype.multiply=function(B){var v=A0(B),u=this.value,r=v.value,X0=this.sign!==v.sign,J0;if(v.isSmall){if(r===0)return K[0];if(r===1)return this;if(r===-1)return this.negate();if(J0=Math.abs(r),J0=0;z1--){if(I1=X0-1,B0[z1+r]!==q0)I1=Math.floor((B0[z1+r]*X0+B0[z1+r-1])/q0);N1=0,S1=0,N8=r0.length;for(u4=0;u4r)r0=(r0+1)*q0;M0=Math.ceil(r0/I1);do{if(z1=j(v,M0),t(z1,J0)<=0)break;M0--}while(M0);X0.push(M0),J0=D(J0,z1)}return X0.reverse(),[q(X0),q(J0)]}function k(B,v){var u=B.length,r=F(u),X0=Y,J0,q0,M0,B0;M0=0;for(J0=u-1;J0>=0;--J0)B0=M0*X0+B[J0],q0=M(B0/v),M0=B0-q0*v,r[J0]=q0|0;return[r,M0|0]}function d(B,v){var u,r=A0(v);if(I)return[new W(B.value/r.value),new W(B.value%r.value)];var X0=B.value,J0=r.value,q0;if(J0===0)throw Error("Cannot divide by zero");if(B.isSmall){if(r.isSmall)return[new H(M(X0/J0)),new H(X0%J0)];return[K[0],B]}if(r.isSmall){if(J0===1)return[B,K[0]];if(J0==-1)return[B.negate(),K[0]];var M0=Math.abs(J0);if(M0v.length?1:-1;for(var u=B.length-1;u>=0;u--)if(B[u]!==v[u])return B[u]>v[u]?1:-1;return 0}G.prototype.compareAbs=function(B){var v=A0(B),u=this.value,r=v.value;if(v.isSmall)return 1;return t(u,r)},H.prototype.compareAbs=function(B){var v=A0(B),u=Math.abs(this.value),r=v.value;if(v.isSmall)return r=Math.abs(r),u===r?0:u>r?1:-1;return-1},W.prototype.compareAbs=function(B){var v=this.value,u=A0(B).value;return v=v>=0?v:-v,u=u>=0?u:-u,v===u?0:v>u?1:-1},G.prototype.compare=function(B){if(B===1/0)return-1;if(B===-1/0)return 1;var v=A0(B),u=this.value,r=v.value;if(this.sign!==v.sign)return v.sign?1:-1;if(v.isSmall)return this.sign?-1:1;return t(u,r)*(this.sign?-1:1)},G.prototype.compareTo=G.prototype.compare,H.prototype.compare=function(B){if(B===1/0)return-1;if(B===-1/0)return 1;var v=A0(B),u=this.value,r=v.value;if(v.isSmall)return u==r?0:u>r?1:-1;if(u<0!==v.sign)return u<0?-1:1;return u<0?1:-1},H.prototype.compareTo=H.prototype.compare,W.prototype.compare=function(B){if(B===1/0)return-1;if(B===-1/0)return 1;var v=this.value,u=A0(B).value;return v===u?0:v>u?1:-1},W.prototype.compareTo=W.prototype.compare,G.prototype.equals=function(B){return this.compare(B)===0},W.prototype.eq=W.prototype.equals=H.prototype.eq=H.prototype.equals=G.prototype.eq=G.prototype.equals,G.prototype.notEquals=function(B){return this.compare(B)!==0},W.prototype.neq=W.prototype.notEquals=H.prototype.neq=H.prototype.notEquals=G.prototype.neq=G.prototype.notEquals,G.prototype.greater=function(B){return this.compare(B)>0},W.prototype.gt=W.prototype.greater=H.prototype.gt=H.prototype.greater=G.prototype.gt=G.prototype.greater,G.prototype.lesser=function(B){return this.compare(B)<0},W.prototype.lt=W.prototype.lesser=H.prototype.lt=H.prototype.lesser=G.prototype.lt=G.prototype.lesser,G.prototype.greaterOrEquals=function(B){return this.compare(B)>=0},W.prototype.geq=W.prototype.greaterOrEquals=H.prototype.geq=H.prototype.greaterOrEquals=G.prototype.geq=G.prototype.greaterOrEquals,G.prototype.lesserOrEquals=function(B){return this.compare(B)<=0},W.prototype.leq=W.prototype.lesserOrEquals=H.prototype.leq=H.prototype.lesserOrEquals=G.prototype.leq=G.prototype.lesserOrEquals,G.prototype.isEven=function(){return(this.value[0]&1)===0},H.prototype.isEven=function(){return(this.value&1)===0},W.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},G.prototype.isOdd=function(){return(this.value[0]&1)===1},H.prototype.isOdd=function(){return(this.value&1)===1},W.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},G.prototype.isPositive=function(){return!this.sign},H.prototype.isPositive=function(){return this.value>0},W.prototype.isPositive=H.prototype.isPositive,G.prototype.isNegative=function(){return this.sign},H.prototype.isNegative=function(){return this.value<0},W.prototype.isNegative=H.prototype.isNegative,G.prototype.isUnit=function(){return!1},H.prototype.isUnit=function(){return Math.abs(this.value)===1},W.prototype.isUnit=function(){return this.abs().value===BigInt(1)},G.prototype.isZero=function(){return!1},H.prototype.isZero=function(){return this.value===0},W.prototype.isZero=function(){return this.value===BigInt(0)},G.prototype.isDivisibleBy=function(B){var v=A0(B);if(v.isZero())return!1;if(v.isUnit())return!0;if(v.compareAbs(2)===0)return this.isEven();return this.mod(v).isZero()},W.prototype.isDivisibleBy=H.prototype.isDivisibleBy=G.prototype.isDivisibleBy;function $0(B){var v=B.abs();if(v.isUnit())return!1;if(v.equals(2)||v.equals(3)||v.equals(5))return!0;if(v.isEven()||v.isDivisibleBy(3)||v.isDivisibleBy(5))return!1;if(v.lesser(49))return!0}function g(B,v){var u=B.prev(),r=u,X0=0,J0,q0,M0,B0;while(r.isEven())r=r.divide(2),X0++;$:for(M0=0;M0-z)return new H(B-1);return new G(Q,!0)},W.prototype.prev=function(){return new W(this.value-BigInt(1))};var p=[1];while(2*p[p.length-1]<=Y)p.push(2*p[p.length-1]);var e=p.length,y=p[e-1];function s(B){return Math.abs(B)<=Y}G.prototype.shiftLeft=function(B){var v=A0(B).toJSNumber();if(!s(v))throw Error(String(v)+" is too large for shifting.");if(v<0)return this.shiftRight(-v);var u=this;if(u.isZero())return u;while(v>=e)u=u.multiply(y),v-=e-1;return u.multiply(p[v])},W.prototype.shiftLeft=H.prototype.shiftLeft=G.prototype.shiftLeft,G.prototype.shiftRight=function(B){var v,u=A0(B).toJSNumber();if(!s(u))throw Error(String(u)+" is too large for shifting.");if(u<0)return this.shiftLeft(-u);var r=this;while(u>=e){if(r.isZero()||r.isNegative()&&r.isUnit())return r;v=d(r,y),r=v[1].isNegative()?v[0].prev():v[0],u-=e-1}return v=d(r,p[u]),v[1].isNegative()?v[0].prev():v[0]},W.prototype.shiftRight=H.prototype.shiftRight=G.prototype.shiftRight;function Y0(B,v,u){v=A0(v);var r=B.isNegative(),X0=v.isNegative(),J0=r?B.not():B,q0=X0?v.not():v,M0=0,B0=0,r0=null,I1=null,z1=[];while(!J0.isZero()||!q0.isZero()){if(r0=d(J0,y),M0=r0[1].toJSNumber(),r)M0=y-1-M0;if(I1=d(q0,y),B0=I1[1].toJSNumber(),X0)B0=y-1-B0;J0=r0[0],q0=I1[0],z1.push(u(M0,B0))}var N1=u(r?1:0,X0?1:0)!==0?j6(-1):j6(0);for(var S1=z1.length-1;S1>=0;S1-=1)N1=N1.multiply(y).add(j6(z1[S1]));return N1}G.prototype.not=function(){return this.negate().prev()},W.prototype.not=H.prototype.not=G.prototype.not,G.prototype.and=function(B){return Y0(this,B,function(v,u){return v&u})},W.prototype.and=H.prototype.and=G.prototype.and,G.prototype.or=function(B){return Y0(this,B,function(v,u){return v|u})},W.prototype.or=H.prototype.or=G.prototype.or,G.prototype.xor=function(B){return Y0(this,B,function(v,u){return v^u})},W.prototype.xor=H.prototype.xor=G.prototype.xor;var N0=1073741824,E0=(Y&-Y)*(Y&-Y)|N0;function G0(B){var v=B.value,u=typeof v==="number"?v|N0:typeof v==="bigint"?v|BigInt(N0):v[0]+v[1]*Y|E0;return u&-u}function T0(B,v){if(v.compareTo(B)<=0){var u=T0(B,v.square(v)),r=u.p,X0=u.e,J0=r.multiply(v);return J0.compareTo(B)<=0?{p:J0,e:X0*2+1}:{p:r,e:X0*2}}return{p:j6(1),e:0}}G.prototype.bitLength=function(){var B=this;if(B.compareTo(j6(0))<0)B=B.negate().subtract(j6(1));if(B.compareTo(j6(0))===0)return j6(0);return j6(T0(B,j6(2)).e).add(j6(1))},W.prototype.bitLength=H.prototype.bitLength=G.prototype.bitLength;function i0(B,v){return B=A0(B),v=A0(v),B.greater(v)?B:v}function Y1(B,v){return B=A0(B),v=A0(v),B.lesser(v)?B:v}function a(B,v){if(B=A0(B).abs(),v=A0(v).abs(),B.equals(v))return B;if(B.isZero())return v;if(v.isZero())return B;var u=K[1],r,X0;while(B.isEven()&&v.isEven())r=Y1(G0(B),G0(v)),B=B.divide(r),v=v.divide(r),u=u.multiply(r);while(B.isEven())B=B.divide(G0(B));do{while(v.isEven())v=v.divide(G0(v));if(B.greater(v))X0=v,v=B,B=X0;v=v.subtract(B)}while(!v.isZero());return u.isUnit()?B:B.multiply(u)}function W0(B,v){return B=A0(B).abs(),v=A0(v).abs(),B.divide(a(B,v)).multiply(v)}function F0(B,v,u){B=A0(B),v=A0(v);var r=u||Math.random,X0=Y1(B,v),J0=i0(B,v),q0=J0.subtract(X0).add(1);if(q0.isSmall)return X0.add(Math.floor(r()*q0));var M0=D1(q0,Y).value,B0=[],r0=!0;for(var I1=0;I1=q0){if(B0==="1"&&q0===1)continue;throw Error(B0+" is not a valid digit in base "+v+".")}}}v=A0(v);var r0=[],I1=B[0]==="-";for(J0=I1?1:0;J0"&&J0=0;J0--)r=r.add(B[J0].times(X0)),X0=X0.times(v);return u?r.negate():r}function c0(B,v){if(v=v||J,B"}function D1(B,v){if(v=j6(v),v.isZero()){if(B.isZero())return{value:[0],isNegative:!1};throw Error("Cannot convert nonzero numbers to base 0.")}if(v.equals(-1)){if(B.isZero())return{value:[0],isNegative:!1};if(B.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-B.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var u=Array.apply(null,Array(B.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return u.unshift([1]),{value:[].concat.apply([],u),isNegative:!1}}var r=!1;if(B.isNegative()&&v.isPositive())r=!0,B=B.abs();if(v.isUnit()){if(B.isZero())return{value:[0],isNegative:!1};return{value:Array.apply(null,Array(B.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:r}}var X0=[],J0=B,q0;while(J0.isNegative()||J0.compareAbs(v)>=0){q0=J0.divmod(v),J0=q0.quotient;var M0=q0.remainder;if(M0.isNegative())M0=v.minus(M0).abs(),J0=J0.next();X0.push(M0.toJSNumber())}return X0.push(J0.toJSNumber()),{value:X0.reverse(),isNegative:r}}function k1(B,v,u){var r=D1(B,v);return(r.isNegative?"-":"")+r.value.map(function(X0){return c0(X0,u)}).join("")}G.prototype.toArray=function(B){return D1(this,B)},H.prototype.toArray=function(B){return D1(this,B)},W.prototype.toArray=function(B){return D1(this,B)},G.prototype.toString=function(B,v){if(B===$)B=10;if(B!==10||v)return k1(this,B,v);var u=this.value,r=u.length,X0=String(u[--r]),J0="0000000",q0;while(--r>=0)q0=String(u[r]),X0+=J0.slice(q0.length)+q0;var M0=this.sign?"-":"";return M0+X0},H.prototype.toString=function(B,v){if(B===$)B=10;if(B!=10||v)return k1(this,B,v);return String(this.value)},W.prototype.toString=H.prototype.toString,W.prototype.toJSON=G.prototype.toJSON=H.prototype.toJSON=function(){return this.toString()},G.prototype.valueOf=function(){return parseInt(this.toString(),10)},G.prototype.toJSNumber=G.prototype.valueOf,H.prototype.valueOf=function(){return this.value},H.prototype.toJSNumber=H.prototype.valueOf,W.prototype.valueOf=W.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function u1(B){if(X(+B)){var v=+B;if(v===M(v))return I?new W(BigInt(v)):new H(v);throw Error("Invalid integer: "+B)}var u=B[0]==="-";if(u)B=B.slice(1);var r=B.split(/e/i);if(r.length>2)throw Error("Invalid integer: "+r.join("e"));if(r.length===2){var X0=r[1];if(X0[0]==="+")X0=X0.slice(1);if(X0=+X0,X0!==M(X0)||!X(X0))throw Error("Invalid integer: "+X0+" is not a valid exponent.");var J0=r[0],q0=J0.indexOf(".");if(q0>=0)X0-=J0.length-q0-1,J0=J0.slice(0,q0)+J0.slice(q0+1);if(X0<0)throw Error("Cannot include negative exponent part for integers");J0+=Array(X0+1).join("0"),B=J0}var M0=/^([0-9][0-9]*)$/.test(B);if(!M0)throw Error("Invalid integer: "+B);if(I)return new W(BigInt(u?"-"+B:B));var B0=[],r0=B.length,I1=U,z1=r0-I1;while(r0>0){if(B0.push(+B.slice(z1,r0)),z1-=I1,z1<0)z1=0;r0-=I1}return V(B0),new G(B0,u)}function b1(B){if(I)return new W(BigInt(B));if(X(B)){if(B!==M(B))throw Error(B+" is not an integer.");return new H(B)}return u1(B.toString())}function A0(B){if(typeof B==="number")return b1(B);if(typeof B==="string")return u1(B);if(typeof B==="bigint")return new W(B);return B}for(var Q0=0;Q0<1000;Q0++)if(K[Q0]=A0(Q0),Q0>0)K[-Q0]=A0(-Q0);return K.one=K[1],K.zero=K[0],K.minusOne=K[-1],K.max=i0,K.min=Y1,K.gcd=a,K.lcm=W0,K.isInstance=function(B){return B instanceof G||B instanceof H||B instanceof W},K.randBetween=F0,K.fromArray=function(B,v,u){return u0(B.map(A0),A0(v||10),u)},K}();if(typeof MB<"u"&&MB.hasOwnProperty("exports"))MB.exports=j6;if(typeof define==="function"&&define.amd)define(function(){return j6})});var iN0=E((je1,bN0)=>{var k2=fN0(),OB=I0("stream");if(!OB.Writable||!OB.Writable.prototype.destroy)OB=R3();var NB;function AM1(){var $=3988292384,Y,U,z;NB=[];for(U=0;U<256;U++){Y=U;for(z=0;z<8;z++)Y=Y&1?$^Y>>>1:Y=Y>>>1;NB[U]=Y>>>0}}function uN0($,Y){if(!NB)AM1();if($.charCodeAt)$=$.charCodeAt(0);return k2(Y).shiftRight(8).and(16777215).xor(NB[k2(Y).xor($).and(255)]).value}function dI(){if(!(this instanceof dI))return new dI;this.key0=305419896,this.key1=591751049,this.key2=878082192}dI.prototype.update=function($){this.key0=uN0($,this.key0),this.key1=k2(this.key0).and(255).and(4294967295).add(this.key1),this.key1=k2(this.key1).multiply(134775813).add(1).and(4294967295).value,this.key2=uN0(k2(this.key1).shiftRight(24).and(255),this.key2)};dI.prototype.decryptByte=function($){var Y=k2(this.key2).or(2);return $=$^k2(Y).multiply(k2(Y^1)).shiftRight(8).and(255),this.update($),$};dI.prototype.stream=function(){var $=OB.Transform(),Y=this;return $._transform=function(U,z,Q){for(var J=0;J{var BM1=C2(),PM1=iN0(),TM1=pA(),AZ=I0("stream"),jM1=cX(),EM1=I0("zlib"),CM1=lA(),RM1=gI(),_M1=oA();if(!AZ.Writable||!AZ.Writable.prototype.destroy)AZ=R3();cN0.exports=function(Y,U,z,Q){var J=TM1(),I=AZ.PassThrough(),K=Y.stream(U);return K.pipe(J).on("error",function(G){I.emit("error",G)}),I.vars=J.pull(30).then(function(G){var H=jM1.parse(G).word32lu("signature").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return H.lastModifiedDateTime=_M1(H.lastModifiedDate,H.lastModifiedTime),J.pull(H.fileNameLength).then(function(W){return H.fileName=W.toString("utf8"),J.pull(H.extraFieldLength)}).then(function(W){var X;if(H.extra=CM1(W,H),Q&&Q.compressedSize)H=Q;if(H.flags&1)X=J.pull(12).then(function(Z){if(!z)throw Error("MISSING_PASSWORD");var q=PM1();String(z).split("").forEach(function(M){q.update(M)});for(var V=0;V>8&255:H.crc32>>24&255;if(Z[11]!==F)throw Error("BAD_PASSWORD");return H});return BM1.resolve(X).then(function(){return I.emit("vars",H),H})})}),I.vars.then(function(G){var H=!(G.flags&8)||G.compressedSize>0,W,X=G.compressionMethod?EM1.createInflateRaw():AZ.PassThrough();if(H)I.size=G.uncompressedSize,W=G.compressedSize;else W=RM1.alloc(4),W.writeUInt32LE(134695760,0);var Z=J.stream(W);if(G.decrypt)Z=Z.pipe(G.decrypt.stream());Z.pipe(X).on("error",function(q){I.emit("error",q)}).pipe(I).on("finish",function(){if(K.destroy)K.destroy();else if(K.abort)K.abort();else if(K.close)K.close();else if(K.push)K.push();else console.log("warning - unable to close stream")})}).catch(function(G){I.emit("error",G)}),I}});var mN0=E((Ce1,dN0)=>{var TZ=cX(),PZ=pA(),vM1=nN0(),BZ=C2(),hM1=mA(),SM1=lA(),gM1=gI(),jn=I0("path"),yM1=Pn().Writer,kM1=oA(),pN0=gM1.alloc(4);pN0.writeUInt32LE(101010256,0);function xM1($){var Y=$.stream(0).pipe(PZ());return Y.pull(4).then(function(U){var z=U.readUInt32LE(0);if(z===875721283){var Q;return Y.pull(12).then(function(J){Q=TZ.parse(J).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars}).then(function(){return Y.pull(Q.pubKeyLength+Q.signatureLength)}).then(function(J){return Q.publicKey=J.slice(0,Q.pubKeyLength),Q.signature=J.slice(Q.pubKeyLength),Q.size=16+Q.pubKeyLength+Q.signatureLength,Q})}})}function fM1($,Y){var U=TZ.parse(Y).word32lu("signature").word32lu("diskNumber").word64lu("offsetToStartOfCentralDirectory").word32lu("numberOfDisks").vars;if(U.signature!=117853008)throw Error("invalid zip64 end of central dir locator signature (0x07064b50): 0x"+U.signature.toString(16));var z=PZ();return $.stream(U.offsetToStartOfCentralDirectory).pipe(z),z.pull(56)}function uM1($){var Y=TZ.parse($).word32lu("signature").word64lu("sizeOfCentralDirectory").word16lu("version").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskStart").word64lu("numberOfRecordsOnDisk").word64lu("numberOfRecords").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;if(Y.signature!=101075792)throw Error("invalid zip64 end of central dir locator signature (0x06064b50): 0x0"+Y.signature.toString(16));return Y}dN0.exports=function(Y,U){var z=PZ(),Q=PZ(),J=U&&U.tailSize||80,I,K,G,H;if(U&&U.crx)K=xM1(Y);return Y.size().then(function(W){return I=W,Y.stream(Math.max(0,W-J)).on("error",function(X){z.emit("error",X)}).pipe(z),z.pull(pN0)}).then(function(){return BZ.props({directory:z.pull(22),crxHeader:K})}).then(function(W){var X=W.directory;if(G=W.crxHeader&&W.crxHeader.size||0,H=TZ.parse(X).word32lu("signature").word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars,H.numberOfRecords==65535||H.numberOfRecords==65535||H.offsetToStartOfCentralDirectory==4294967295){let q=I-(J-z.match+20),V=PZ();return Y.stream(q).pipe(V),V.pull(20).then(function(F){return fM1(Y,F)}).then(function(F){H=uM1(F)})}else H.offsetToStartOfCentralDirectory+=G}).then(function(){if(H.commentLength)return z.pull(H.commentLength).then(function(W){H.comment=W.toString("utf8")})}).then(function(){return Y.stream(H.offsetToStartOfCentralDirectory).pipe(Q),H.extract=function(W){if(!W||!W.path)throw Error("PATH_MISSING");return W.path=jn.resolve(jn.normalize(W.path)),H.files.then(function(X){return BZ.map(X,function(Z){if(Z.type=="Directory")return;var q=jn.join(W.path,Z.path);if(q.indexOf(W.path)!=0)return;var V=W.getWriter?W.getWriter({path:q}):yM1({path:q});return new BZ(function(F,M){Z.stream(W.password).on("error",M).pipe(V).on("close",F).on("error",M)})},{concurrency:W.concurrency>1?W.concurrency:1})})},H.files=BZ.mapSeries(Array(H.numberOfRecords),function(){return Q.pull(46).then(function(W){var X=TZ.parse(W).word32lu("signature").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return X.offsetToLocalFileHeader+=G,X.lastModifiedDateTime=kM1(X.lastModifiedDate,X.lastModifiedTime),Q.pull(X.fileNameLength).then(function(Z){return X.pathBuffer=Z,X.path=Z.toString("utf8"),X.isUnicode=(X.flags&2048)!=0,Q.pull(X.extraFieldLength)}).then(function(Z){return X.extra=SM1(Z,X),Q.pull(X.fileCommentLength)}).then(function(Z){return X.comment=Z,X.type=X.uncompressedSize===0&&/[\/\\]$/.test(X.path)?"Directory":"File",X.stream=function(q){return vM1(Y,X.offsetToLocalFileHeader,q,X)},X.buffer=function(q){return hM1(X.stream(q))},X})})}),BZ.props(H)})}});var rN0=E((Re1,oN0)=>{var lN0=l8(),DB=C2(),jZ=mN0(),AB=I0("stream");if(!AB.Writable||!AB.Writable.prototype.destroy)AB=R3();oN0.exports={buffer:function($,Y){var U={stream:function(z,Q){var J=AB.PassThrough();return J.end($.slice(z,Q)),J},size:function(){return DB.resolve($.length)}};return jZ(U,Y)},file:function($,Y){var U={stream:function(z,Q){return lN0.createReadStream($,{start:z,end:Q&&z+Q})},size:function(){return new DB(function(z,Q){lN0.stat($,function(J,I){if(J)Q(J);else z(I.size)})})}};return jZ(U,Y)},url:function($,Y,U){if(typeof Y==="string")Y={url:Y};if(!Y.url)throw"URL missing";Y.headers=Y.headers||{};var z={stream:function(Q,J){var I=Object.create(Y);return I.headers=Object.create(Y.headers),I.headers.range="bytes="+Q+"-"+(J?J:""),$(I)},size:function(){return new DB(function(Q,J){var I=$(Y);I.on("response",function(K){if(I.abort(),!K.headers["content-length"])J(Error("Missing content length header"));else Q(K.headers["content-length"])}).on("error",J)})}};return jZ(z,U)},s3:function($,Y,U){var z={size:function(){return new DB(function(Q,J){$.headObject(Y,function(I,K){if(I)J(I);else Q(K.ContentLength)})})},stream:function(Q,J){var I={};for(var K in Y)I[K]=Y[K];return I.Range="bytes="+Q+"-"+(J?J:""),$.getObject(I).createReadStream()}};return jZ(z,U)},custom:function($,Y){return jZ($,Y)}}});var sN0=E((bM1)=>{dL0();rL0();ug();bM1.Parse=rA();bM1.ParseOne=XO0();bM1.Extract=xN0();bM1.Open=rN0()});var XD0=E((HO1,h3)=>{/*! +Unsupported type: `+$.type,"ENOTSUP");$._finish()})};f$.prototype._stat=function($){var Y=this,U=Y.props,z=U.follow?"stat":"lstat",Q=Y._proxy||Y;if($)J(null,$);else x$[z](Y._path,J);function J(I,K){if(Y.filter&&!Y.filter.call(Q,Q,K)){Y._aborted=!0,Y.emit("end"),Y.emit("close");return}if(I||!K)return On(Y);Y._old=K;var G=RN0(K);if(G!==Y.type||Y.type==="File"&&K.nlink>1)return JM1(Y._path,function(H){if(H)return Y.error(H);Y._old=null,On(Y)});On(Y)}};function On($){IM1(OZ.dirname($._path),f$.dirmode,function(Y,U){if(Y)return $.error(Y);return $._madeDir=U,$._create()})}function vN0($,Y,U,z,Q){var J=Y.mode,I=Y.follow||$.type!=="SymbolicLink"?"chmod":"lchmod";if(!x$[I])return Q();if(typeof J!=="number")return Q();var K=U.mode&parseInt("0777",8);if(J=J&parseInt("0777",8),J===K)return Q();x$[I](z,J,Q)}function hN0($,Y,U,z,Q){if(process.platform==="win32")return Q();if(!process.getuid||process.getuid()!==0)return Q();if(typeof Y.uid!=="number"&&typeof Y.gid!=="number")return Q();if(U.uid===Y.uid&&U.gid===Y.gid)return Q();var J=$.props.follow||$.type!=="SymbolicLink"?"chown":"lchown";if(!x$[J])return Q();if(typeof Y.uid!=="number")Y.uid=U.uid;if(typeof Y.gid!=="number")Y.gid=U.gid;x$[J](z,Y.uid,Y.gid,Q)}function SN0($,Y,U,z,Q){if(!x$.utimes||process.platform==="win32")return Q();var J=Y.follow||$.type!=="SymbolicLink"?"utimes":"lutimes";if(J==="lutimes"&&!x$[J])J="utimes";if(!x$[J])return Q();var{atime:I,mtime:K}=U,G=Y.atime,H=Y.mtime;if(G===void 0)G=I;if(H===void 0)H=K;if(!EN0(G))G=new Date(G);if(!EN0(H))G=new Date(H);if(G.getTime()===I.getTime()&&H.getTime()===K.getTime())return Q();x$[J](z,G,H,Q)}f$.prototype._finish=function(){var $=this;if($._finishing)return;$._finishing=!0;var Y=0,U=null,z=!1;if($._old)$._old.atime=new Date(0),$._old.mtime=new Date(0),J($._old);else{var Q=$.props.follow?"stat":"lstat";x$[Q]($._path,function(K,G){if(K)if(K.code==="ENOENT"&&($.type==="Link"||$.type==="SymbolicLink")&&process.platform==="win32"){$.ready=!0,$.emit("ready"),$.emit("end"),$.emit("close"),$.end=$._finish=function(){};return}else return $.error(K);J($._old=G)})}return;function J(K){Y+=3,vN0($,$.props,K,$._path,I("chmod")),hN0($,$.props,K,$._path,I("chown")),SN0($,$.props,K,$._path,I("utimes"))}function I(K){return function(G){if(U)return;if(G)return G.fstream_finish_call=K,$.error(U=G);if(--Y>0)return;if(z)return;if(z=!0,!$._madeDir)return H();else gN0($,$._path,H);function H(W){if(W)return W.fstream_finish_call="setupMadeDir",$.error(W);$.emit("end"),$.emit("close")}}}};function gN0($,Y,U){var z=$._madeDir,Q=OZ.dirname(Y);XM1($,Q,function(J){if(J)return U(J);if(Q===z)return U();gN0($,Q,U)})}function XM1($,Y,U){var z={};Object.keys($.props).forEach(function(K){if(z[K]=$.props[K],K==="mode"&&$.type!=="Directory")z[K]=z[K]|parseInt("0111",8)});var Q=3,J=null;x$.stat(Y,function(K,G){if(K)return U(J=K);vN0($,z,G,Y,I),hN0($,z,G,Y,I),SN0($,z,G,Y,I)});function I(K){if(J)return;if(K)return U(J=K);if(--Q===0)return U()}}f$.prototype.pipe=function(){this.error("Can't pipe from writable stream")};f$.prototype.add=function(){this.error("Can't add to non-Directory type")};f$.prototype.write=function(){return!0};function ZM1($){return Object.prototype.toString.call($)}function EN0($){return typeof $==="object"&&ZM1($)==="[object Date]"}});var Pn=E((qM1)=>{qM1.Abstract=QB();qM1.Reader=Uz();qM1.Writer=pI();qM1.File={Reader:ec(),Writer:Fn()};qM1.Dir={Reader:tc(),Writer:Vn()};qM1.Link={Reader:sc(),Writer:Ln()};qM1.Proxy={Reader:Yn(),Writer:Mn()};qM1.Reader.Dir=qM1.DirReader=qM1.Dir.Reader;qM1.Reader.File=qM1.FileReader=qM1.File.Reader;qM1.Reader.Link=qM1.LinkReader=qM1.Link.Reader;qM1.Reader.Proxy=qM1.ProxyReader=qM1.Proxy.Reader;qM1.Writer.Dir=qM1.DirWriter=qM1.Dir.Writer;qM1.Writer.File=qM1.FileWriter=qM1.File.Writer;qM1.Writer.Link=qM1.LinkWriter=qM1.Link.Writer;qM1.Writer.Proxy=qM1.ProxyWriter=qM1.Proxy.Writer;qM1.collect=LB()});var xN0=E((Pe1,kN0)=>{kN0.exports=DM1;var FM1=rA(),wM1=Pn().Writer,Tn=I0("path"),MM1=I0("stream"),OM1=lc(),NM1=C2();function DM1($){$.path=Tn.resolve(Tn.normalize($.path));var Y=new FM1($),U=new MM1.Writable({objectMode:!0});U._write=function(Q,J,I){if(Q.type=="Directory")return I();var K=Tn.join($.path,Q.path);if(K.indexOf($.path)!=0)return I();let G=$.getWriter?$.getWriter({path:K}):wM1({path:K});Q.pipe(G).on("error",I).on("close",I)};var z=OM1(Y,U);return Y.once("crx-header",function(Q){z.crxHeader=Q}),Y.pipe(U).on("finish",function(){z.emit("close")}),z.promise=function(){return new NM1(function(Q,J){z.on("close",Q),z.on("error",J)})},z}});var fN0=E((Te1,MB)=>{var j6=function($){var Y=1e7,U=7,z=9007199254740992,Q=Z(z),J="0123456789abcdefghijklmnopqrstuvwxyz",I=typeof BigInt==="function";function K(B,v,u,r){if(typeof B>"u")return K[0];if(typeof v<"u")return+v===10&&!u?A0(B):u0(B,v,u,r);return A0(B)}function G(B,v){this.value=B,this.sign=v,this.isSmall=!1}G.prototype=Object.create(K.prototype);function H(B){this.value=B,this.sign=B<0,this.isSmall=!0}H.prototype=Object.create(K.prototype);function W(B){this.value=B}W.prototype=Object.create(K.prototype);function X(B){return-z0)return Math.floor(B);return Math.ceil(B)}function w(B,v){var u=B.length,r=v.length,X0=Array(u),J0=0,q0=Y,M0,B0;for(B0=0;B0=q0?1:0,X0[B0]=M0-J0*q0;while(B00)X0.push(J0);return X0}function N(B,v){if(B.length>=v.length)return w(B,v);return w(v,B)}function O(B,v){var u=B.length,r=Array(u),X0=Y,J0,q0;for(q0=0;q00)r[q0++]=v%X0,v=Math.floor(v/X0);return r}G.prototype.add=function(B){var v=A0(B);if(this.sign!==v.sign)return this.subtract(v.negate());var u=this.value,r=v.value;if(v.isSmall)return new G(O(u,Math.abs(r)),this.sign);return new G(N(u,r),this.sign)},G.prototype.plus=G.prototype.add,H.prototype.add=function(B){var v=A0(B),u=this.value;if(u<0!==v.sign)return this.subtract(v.negate());var r=v.value;if(v.isSmall){if(X(u+r))return new H(u+r);r=Z(Math.abs(r))}return new G(O(r,Math.abs(u)),u<0)},H.prototype.plus=H.prototype.add,W.prototype.add=function(B){return new W(this.value+A0(B).value)},W.prototype.plus=W.prototype.add;function D(B,v){var u=B.length,r=v.length,X0=Array(u),J0=0,q0=Y,M0,B0;for(M0=0;M0=0)r=D(B,v);else r=D(v,B),u=!u;if(r=q(r),typeof r==="number"){if(u)r=-r;return new H(r)}return new G(r,u)}function T(B,v,u){var r=B.length,X0=Array(r),J0=-v,q0=Y,M0,B0;for(M0=0;M0=0)},H.prototype.minus=H.prototype.subtract,W.prototype.subtract=function(B){return new W(this.value-A0(B).value)},W.prototype.minus=W.prototype.subtract,G.prototype.negate=function(){return new G(this.value,!this.sign)},H.prototype.negate=function(){var B=this.sign,v=new H(-this.value);return v.sign=!B,v},W.prototype.negate=function(){return new W(-this.value)},G.prototype.abs=function(){return new G(this.value,!1)},H.prototype.abs=function(){return new H(Math.abs(this.value))},W.prototype.abs=function(){return new W(this.value>=0?this.value:-this.value)};function A(B,v){var u=B.length,r=v.length,X0=u+r,J0=F(X0),q0=Y,M0,B0,r0,I1,z1;for(r0=0;r00)r[M0++]=J0%X0,J0=Math.floor(J0/X0);return r}function C(B,v){var u=[];while(v-- >0)u.push(0);return u.concat(B)}function b(B,v){var u=Math.max(B.length,v.length);if(u<=30)return A(B,v);u=Math.ceil(u/2);var r=B.slice(u),X0=B.slice(0,u),J0=v.slice(u),q0=v.slice(0,u),M0=b(X0,q0),B0=b(r,J0),r0=b(N(X0,r),N(q0,J0)),I1=N(N(M0,C(D(D(r0,M0),B0),u)),C(B0,2*u));return V(I1),I1}function x(B,v){return-0.012*B-0.012*v+0.000015*B*v>0}G.prototype.multiply=function(B){var v=A0(B),u=this.value,r=v.value,X0=this.sign!==v.sign,J0;if(v.isSmall){if(r===0)return K[0];if(r===1)return this;if(r===-1)return this.negate();if(J0=Math.abs(r),J0=0;z1--){if(I1=X0-1,B0[z1+r]!==q0)I1=Math.floor((B0[z1+r]*X0+B0[z1+r-1])/q0);N1=0,S1=0,N8=r0.length;for(u4=0;u4r)r0=(r0+1)*q0;M0=Math.ceil(r0/I1);do{if(z1=j(v,M0),t(z1,J0)<=0)break;M0--}while(M0);X0.push(M0),J0=D(J0,z1)}return X0.reverse(),[q(X0),q(J0)]}function k(B,v){var u=B.length,r=F(u),X0=Y,J0,q0,M0,B0;M0=0;for(J0=u-1;J0>=0;--J0)B0=M0*X0+B[J0],q0=M(B0/v),M0=B0-q0*v,r[J0]=q0|0;return[r,M0|0]}function d(B,v){var u,r=A0(v);if(I)return[new W(B.value/r.value),new W(B.value%r.value)];var X0=B.value,J0=r.value,q0;if(J0===0)throw Error("Cannot divide by zero");if(B.isSmall){if(r.isSmall)return[new H(M(X0/J0)),new H(X0%J0)];return[K[0],B]}if(r.isSmall){if(J0===1)return[B,K[0]];if(J0==-1)return[B.negate(),K[0]];var M0=Math.abs(J0);if(M0v.length?1:-1;for(var u=B.length-1;u>=0;u--)if(B[u]!==v[u])return B[u]>v[u]?1:-1;return 0}G.prototype.compareAbs=function(B){var v=A0(B),u=this.value,r=v.value;if(v.isSmall)return 1;return t(u,r)},H.prototype.compareAbs=function(B){var v=A0(B),u=Math.abs(this.value),r=v.value;if(v.isSmall)return r=Math.abs(r),u===r?0:u>r?1:-1;return-1},W.prototype.compareAbs=function(B){var v=this.value,u=A0(B).value;return v=v>=0?v:-v,u=u>=0?u:-u,v===u?0:v>u?1:-1},G.prototype.compare=function(B){if(B===1/0)return-1;if(B===-1/0)return 1;var v=A0(B),u=this.value,r=v.value;if(this.sign!==v.sign)return v.sign?1:-1;if(v.isSmall)return this.sign?-1:1;return t(u,r)*(this.sign?-1:1)},G.prototype.compareTo=G.prototype.compare,H.prototype.compare=function(B){if(B===1/0)return-1;if(B===-1/0)return 1;var v=A0(B),u=this.value,r=v.value;if(v.isSmall)return u==r?0:u>r?1:-1;if(u<0!==v.sign)return u<0?-1:1;return u<0?1:-1},H.prototype.compareTo=H.prototype.compare,W.prototype.compare=function(B){if(B===1/0)return-1;if(B===-1/0)return 1;var v=this.value,u=A0(B).value;return v===u?0:v>u?1:-1},W.prototype.compareTo=W.prototype.compare,G.prototype.equals=function(B){return this.compare(B)===0},W.prototype.eq=W.prototype.equals=H.prototype.eq=H.prototype.equals=G.prototype.eq=G.prototype.equals,G.prototype.notEquals=function(B){return this.compare(B)!==0},W.prototype.neq=W.prototype.notEquals=H.prototype.neq=H.prototype.notEquals=G.prototype.neq=G.prototype.notEquals,G.prototype.greater=function(B){return this.compare(B)>0},W.prototype.gt=W.prototype.greater=H.prototype.gt=H.prototype.greater=G.prototype.gt=G.prototype.greater,G.prototype.lesser=function(B){return this.compare(B)<0},W.prototype.lt=W.prototype.lesser=H.prototype.lt=H.prototype.lesser=G.prototype.lt=G.prototype.lesser,G.prototype.greaterOrEquals=function(B){return this.compare(B)>=0},W.prototype.geq=W.prototype.greaterOrEquals=H.prototype.geq=H.prototype.greaterOrEquals=G.prototype.geq=G.prototype.greaterOrEquals,G.prototype.lesserOrEquals=function(B){return this.compare(B)<=0},W.prototype.leq=W.prototype.lesserOrEquals=H.prototype.leq=H.prototype.lesserOrEquals=G.prototype.leq=G.prototype.lesserOrEquals,G.prototype.isEven=function(){return(this.value[0]&1)===0},H.prototype.isEven=function(){return(this.value&1)===0},W.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},G.prototype.isOdd=function(){return(this.value[0]&1)===1},H.prototype.isOdd=function(){return(this.value&1)===1},W.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},G.prototype.isPositive=function(){return!this.sign},H.prototype.isPositive=function(){return this.value>0},W.prototype.isPositive=H.prototype.isPositive,G.prototype.isNegative=function(){return this.sign},H.prototype.isNegative=function(){return this.value<0},W.prototype.isNegative=H.prototype.isNegative,G.prototype.isUnit=function(){return!1},H.prototype.isUnit=function(){return Math.abs(this.value)===1},W.prototype.isUnit=function(){return this.abs().value===BigInt(1)},G.prototype.isZero=function(){return!1},H.prototype.isZero=function(){return this.value===0},W.prototype.isZero=function(){return this.value===BigInt(0)},G.prototype.isDivisibleBy=function(B){var v=A0(B);if(v.isZero())return!1;if(v.isUnit())return!0;if(v.compareAbs(2)===0)return this.isEven();return this.mod(v).isZero()},W.prototype.isDivisibleBy=H.prototype.isDivisibleBy=G.prototype.isDivisibleBy;function $0(B){var v=B.abs();if(v.isUnit())return!1;if(v.equals(2)||v.equals(3)||v.equals(5))return!0;if(v.isEven()||v.isDivisibleBy(3)||v.isDivisibleBy(5))return!1;if(v.lesser(49))return!0}function g(B,v){var u=B.prev(),r=u,X0=0,J0,q0,M0,B0;while(r.isEven())r=r.divide(2),X0++;$:for(M0=0;M0-z)return new H(B-1);return new G(Q,!0)},W.prototype.prev=function(){return new W(this.value-BigInt(1))};var p=[1];while(2*p[p.length-1]<=Y)p.push(2*p[p.length-1]);var e=p.length,y=p[e-1];function s(B){return Math.abs(B)<=Y}G.prototype.shiftLeft=function(B){var v=A0(B).toJSNumber();if(!s(v))throw Error(String(v)+" is too large for shifting.");if(v<0)return this.shiftRight(-v);var u=this;if(u.isZero())return u;while(v>=e)u=u.multiply(y),v-=e-1;return u.multiply(p[v])},W.prototype.shiftLeft=H.prototype.shiftLeft=G.prototype.shiftLeft,G.prototype.shiftRight=function(B){var v,u=A0(B).toJSNumber();if(!s(u))throw Error(String(u)+" is too large for shifting.");if(u<0)return this.shiftLeft(-u);var r=this;while(u>=e){if(r.isZero()||r.isNegative()&&r.isUnit())return r;v=d(r,y),r=v[1].isNegative()?v[0].prev():v[0],u-=e-1}return v=d(r,p[u]),v[1].isNegative()?v[0].prev():v[0]},W.prototype.shiftRight=H.prototype.shiftRight=G.prototype.shiftRight;function Y0(B,v,u){v=A0(v);var r=B.isNegative(),X0=v.isNegative(),J0=r?B.not():B,q0=X0?v.not():v,M0=0,B0=0,r0=null,I1=null,z1=[];while(!J0.isZero()||!q0.isZero()){if(r0=d(J0,y),M0=r0[1].toJSNumber(),r)M0=y-1-M0;if(I1=d(q0,y),B0=I1[1].toJSNumber(),X0)B0=y-1-B0;J0=r0[0],q0=I1[0],z1.push(u(M0,B0))}var N1=u(r?1:0,X0?1:0)!==0?j6(-1):j6(0);for(var S1=z1.length-1;S1>=0;S1-=1)N1=N1.multiply(y).add(j6(z1[S1]));return N1}G.prototype.not=function(){return this.negate().prev()},W.prototype.not=H.prototype.not=G.prototype.not,G.prototype.and=function(B){return Y0(this,B,function(v,u){return v&u})},W.prototype.and=H.prototype.and=G.prototype.and,G.prototype.or=function(B){return Y0(this,B,function(v,u){return v|u})},W.prototype.or=H.prototype.or=G.prototype.or,G.prototype.xor=function(B){return Y0(this,B,function(v,u){return v^u})},W.prototype.xor=H.prototype.xor=G.prototype.xor;var N0=1073741824,E0=(Y&-Y)*(Y&-Y)|N0;function G0(B){var v=B.value,u=typeof v==="number"?v|N0:typeof v==="bigint"?v|BigInt(N0):v[0]+v[1]*Y|E0;return u&-u}function T0(B,v){if(v.compareTo(B)<=0){var u=T0(B,v.square(v)),r=u.p,X0=u.e,J0=r.multiply(v);return J0.compareTo(B)<=0?{p:J0,e:X0*2+1}:{p:r,e:X0*2}}return{p:j6(1),e:0}}G.prototype.bitLength=function(){var B=this;if(B.compareTo(j6(0))<0)B=B.negate().subtract(j6(1));if(B.compareTo(j6(0))===0)return j6(0);return j6(T0(B,j6(2)).e).add(j6(1))},W.prototype.bitLength=H.prototype.bitLength=G.prototype.bitLength;function i0(B,v){return B=A0(B),v=A0(v),B.greater(v)?B:v}function Y1(B,v){return B=A0(B),v=A0(v),B.lesser(v)?B:v}function a(B,v){if(B=A0(B).abs(),v=A0(v).abs(),B.equals(v))return B;if(B.isZero())return v;if(v.isZero())return B;var u=K[1],r,X0;while(B.isEven()&&v.isEven())r=Y1(G0(B),G0(v)),B=B.divide(r),v=v.divide(r),u=u.multiply(r);while(B.isEven())B=B.divide(G0(B));do{while(v.isEven())v=v.divide(G0(v));if(B.greater(v))X0=v,v=B,B=X0;v=v.subtract(B)}while(!v.isZero());return u.isUnit()?B:B.multiply(u)}function W0(B,v){return B=A0(B).abs(),v=A0(v).abs(),B.divide(a(B,v)).multiply(v)}function F0(B,v,u){B=A0(B),v=A0(v);var r=u||Math.random,X0=Y1(B,v),J0=i0(B,v),q0=J0.subtract(X0).add(1);if(q0.isSmall)return X0.add(Math.floor(r()*q0));var M0=D1(q0,Y).value,B0=[],r0=!0;for(var I1=0;I1=q0){if(B0==="1"&&q0===1)continue;throw Error(B0+" is not a valid digit in base "+v+".")}}}v=A0(v);var r0=[],I1=B[0]==="-";for(J0=I1?1:0;J0"&&J0=0;J0--)r=r.add(B[J0].times(X0)),X0=X0.times(v);return u?r.negate():r}function c0(B,v){if(v=v||J,B"}function D1(B,v){if(v=j6(v),v.isZero()){if(B.isZero())return{value:[0],isNegative:!1};throw Error("Cannot convert nonzero numbers to base 0.")}if(v.equals(-1)){if(B.isZero())return{value:[0],isNegative:!1};if(B.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-B.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var u=Array.apply(null,Array(B.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return u.unshift([1]),{value:[].concat.apply([],u),isNegative:!1}}var r=!1;if(B.isNegative()&&v.isPositive())r=!0,B=B.abs();if(v.isUnit()){if(B.isZero())return{value:[0],isNegative:!1};return{value:Array.apply(null,Array(B.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:r}}var X0=[],J0=B,q0;while(J0.isNegative()||J0.compareAbs(v)>=0){q0=J0.divmod(v),J0=q0.quotient;var M0=q0.remainder;if(M0.isNegative())M0=v.minus(M0).abs(),J0=J0.next();X0.push(M0.toJSNumber())}return X0.push(J0.toJSNumber()),{value:X0.reverse(),isNegative:r}}function k1(B,v,u){var r=D1(B,v);return(r.isNegative?"-":"")+r.value.map(function(X0){return c0(X0,u)}).join("")}G.prototype.toArray=function(B){return D1(this,B)},H.prototype.toArray=function(B){return D1(this,B)},W.prototype.toArray=function(B){return D1(this,B)},G.prototype.toString=function(B,v){if(B===$)B=10;if(B!==10||v)return k1(this,B,v);var u=this.value,r=u.length,X0=String(u[--r]),J0="0000000",q0;while(--r>=0)q0=String(u[r]),X0+=J0.slice(q0.length)+q0;var M0=this.sign?"-":"";return M0+X0},H.prototype.toString=function(B,v){if(B===$)B=10;if(B!=10||v)return k1(this,B,v);return String(this.value)},W.prototype.toString=H.prototype.toString,W.prototype.toJSON=G.prototype.toJSON=H.prototype.toJSON=function(){return this.toString()},G.prototype.valueOf=function(){return parseInt(this.toString(),10)},G.prototype.toJSNumber=G.prototype.valueOf,H.prototype.valueOf=function(){return this.value},H.prototype.toJSNumber=H.prototype.valueOf,W.prototype.valueOf=W.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function u1(B){if(X(+B)){var v=+B;if(v===M(v))return I?new W(BigInt(v)):new H(v);throw Error("Invalid integer: "+B)}var u=B[0]==="-";if(u)B=B.slice(1);var r=B.split(/e/i);if(r.length>2)throw Error("Invalid integer: "+r.join("e"));if(r.length===2){var X0=r[1];if(X0[0]==="+")X0=X0.slice(1);if(X0=+X0,X0!==M(X0)||!X(X0))throw Error("Invalid integer: "+X0+" is not a valid exponent.");var J0=r[0],q0=J0.indexOf(".");if(q0>=0)X0-=J0.length-q0-1,J0=J0.slice(0,q0)+J0.slice(q0+1);if(X0<0)throw Error("Cannot include negative exponent part for integers");J0+=Array(X0+1).join("0"),B=J0}var M0=/^([0-9][0-9]*)$/.test(B);if(!M0)throw Error("Invalid integer: "+B);if(I)return new W(BigInt(u?"-"+B:B));var B0=[],r0=B.length,I1=U,z1=r0-I1;while(r0>0){if(B0.push(+B.slice(z1,r0)),z1-=I1,z1<0)z1=0;r0-=I1}return V(B0),new G(B0,u)}function b1(B){if(I)return new W(BigInt(B));if(X(B)){if(B!==M(B))throw Error(B+" is not an integer.");return new H(B)}return u1(B.toString())}function A0(B){if(typeof B==="number")return b1(B);if(typeof B==="string")return u1(B);if(typeof B==="bigint")return new W(B);return B}for(var Q0=0;Q0<1000;Q0++)if(K[Q0]=A0(Q0),Q0>0)K[-Q0]=A0(-Q0);return K.one=K[1],K.zero=K[0],K.minusOne=K[-1],K.max=i0,K.min=Y1,K.gcd=a,K.lcm=W0,K.isInstance=function(B){return B instanceof G||B instanceof H||B instanceof W},K.randBetween=F0,K.fromArray=function(B,v,u){return b0(B.map(A0),A0(v||10),u)},K}();if(typeof MB<"u"&&MB.hasOwnProperty("exports"))MB.exports=j6;if(typeof define==="function"&&define.amd)define(function(){return j6})});var iN0=E((je1,bN0)=>{var k2=fN0(),OB=I0("stream");if(!OB.Writable||!OB.Writable.prototype.destroy)OB=R3();var NB;function AM1(){var $=3988292384,Y,U,z;NB=[];for(U=0;U<256;U++){Y=U;for(z=0;z<8;z++)Y=Y&1?$^Y>>>1:Y=Y>>>1;NB[U]=Y>>>0}}function uN0($,Y){if(!NB)AM1();if($.charCodeAt)$=$.charCodeAt(0);return k2(Y).shiftRight(8).and(16777215).xor(NB[k2(Y).xor($).and(255)]).value}function dI(){if(!(this instanceof dI))return new dI;this.key0=305419896,this.key1=591751049,this.key2=878082192}dI.prototype.update=function($){this.key0=uN0($,this.key0),this.key1=k2(this.key0).and(255).and(4294967295).add(this.key1),this.key1=k2(this.key1).multiply(134775813).add(1).and(4294967295).value,this.key2=uN0(k2(this.key1).shiftRight(24).and(255),this.key2)};dI.prototype.decryptByte=function($){var Y=k2(this.key2).or(2);return $=$^k2(Y).multiply(k2(Y^1)).shiftRight(8).and(255),this.update($),$};dI.prototype.stream=function(){var $=OB.Transform(),Y=this;return $._transform=function(U,z,Q){for(var J=0;J{var BM1=C2(),PM1=iN0(),TM1=pA(),AZ=I0("stream"),jM1=cX(),EM1=I0("zlib"),CM1=lA(),RM1=gI(),_M1=oA();if(!AZ.Writable||!AZ.Writable.prototype.destroy)AZ=R3();cN0.exports=function(Y,U,z,Q){var J=TM1(),I=AZ.PassThrough(),K=Y.stream(U);return K.pipe(J).on("error",function(G){I.emit("error",G)}),I.vars=J.pull(30).then(function(G){var H=jM1.parse(G).word32lu("signature").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return H.lastModifiedDateTime=_M1(H.lastModifiedDate,H.lastModifiedTime),J.pull(H.fileNameLength).then(function(W){return H.fileName=W.toString("utf8"),J.pull(H.extraFieldLength)}).then(function(W){var X;if(H.extra=CM1(W,H),Q&&Q.compressedSize)H=Q;if(H.flags&1)X=J.pull(12).then(function(Z){if(!z)throw Error("MISSING_PASSWORD");var q=PM1();String(z).split("").forEach(function(M){q.update(M)});for(var V=0;V>8&255:H.crc32>>24&255;if(Z[11]!==F)throw Error("BAD_PASSWORD");return H});return BM1.resolve(X).then(function(){return I.emit("vars",H),H})})}),I.vars.then(function(G){var H=!(G.flags&8)||G.compressedSize>0,W,X=G.compressionMethod?EM1.createInflateRaw():AZ.PassThrough();if(H)I.size=G.uncompressedSize,W=G.compressedSize;else W=RM1.alloc(4),W.writeUInt32LE(134695760,0);var Z=J.stream(W);if(G.decrypt)Z=Z.pipe(G.decrypt.stream());Z.pipe(X).on("error",function(q){I.emit("error",q)}).pipe(I).on("finish",function(){if(K.destroy)K.destroy();else if(K.abort)K.abort();else if(K.close)K.close();else if(K.push)K.push();else console.log("warning - unable to close stream")})}).catch(function(G){I.emit("error",G)}),I}});var mN0=E((Ce1,dN0)=>{var TZ=cX(),PZ=pA(),vM1=nN0(),BZ=C2(),hM1=mA(),SM1=lA(),gM1=gI(),jn=I0("path"),yM1=Pn().Writer,kM1=oA(),pN0=gM1.alloc(4);pN0.writeUInt32LE(101010256,0);function xM1($){var Y=$.stream(0).pipe(PZ());return Y.pull(4).then(function(U){var z=U.readUInt32LE(0);if(z===875721283){var Q;return Y.pull(12).then(function(J){Q=TZ.parse(J).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars}).then(function(){return Y.pull(Q.pubKeyLength+Q.signatureLength)}).then(function(J){return Q.publicKey=J.slice(0,Q.pubKeyLength),Q.signature=J.slice(Q.pubKeyLength),Q.size=16+Q.pubKeyLength+Q.signatureLength,Q})}})}function fM1($,Y){var U=TZ.parse(Y).word32lu("signature").word32lu("diskNumber").word64lu("offsetToStartOfCentralDirectory").word32lu("numberOfDisks").vars;if(U.signature!=117853008)throw Error("invalid zip64 end of central dir locator signature (0x07064b50): 0x"+U.signature.toString(16));var z=PZ();return $.stream(U.offsetToStartOfCentralDirectory).pipe(z),z.pull(56)}function uM1($){var Y=TZ.parse($).word32lu("signature").word64lu("sizeOfCentralDirectory").word16lu("version").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskStart").word64lu("numberOfRecordsOnDisk").word64lu("numberOfRecords").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;if(Y.signature!=101075792)throw Error("invalid zip64 end of central dir locator signature (0x06064b50): 0x0"+Y.signature.toString(16));return Y}dN0.exports=function(Y,U){var z=PZ(),Q=PZ(),J=U&&U.tailSize||80,I,K,G,H;if(U&&U.crx)K=xM1(Y);return Y.size().then(function(W){return I=W,Y.stream(Math.max(0,W-J)).on("error",function(X){z.emit("error",X)}).pipe(z),z.pull(pN0)}).then(function(){return BZ.props({directory:z.pull(22),crxHeader:K})}).then(function(W){var X=W.directory;if(G=W.crxHeader&&W.crxHeader.size||0,H=TZ.parse(X).word32lu("signature").word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars,H.numberOfRecords==65535||H.numberOfRecords==65535||H.offsetToStartOfCentralDirectory==4294967295){let q=I-(J-z.match+20),V=PZ();return Y.stream(q).pipe(V),V.pull(20).then(function(F){return fM1(Y,F)}).then(function(F){H=uM1(F)})}else H.offsetToStartOfCentralDirectory+=G}).then(function(){if(H.commentLength)return z.pull(H.commentLength).then(function(W){H.comment=W.toString("utf8")})}).then(function(){return Y.stream(H.offsetToStartOfCentralDirectory).pipe(Q),H.extract=function(W){if(!W||!W.path)throw Error("PATH_MISSING");return W.path=jn.resolve(jn.normalize(W.path)),H.files.then(function(X){return BZ.map(X,function(Z){if(Z.type=="Directory")return;var q=jn.join(W.path,Z.path);if(q.indexOf(W.path)!=0)return;var V=W.getWriter?W.getWriter({path:q}):yM1({path:q});return new BZ(function(F,M){Z.stream(W.password).on("error",M).pipe(V).on("close",F).on("error",M)})},{concurrency:W.concurrency>1?W.concurrency:1})})},H.files=BZ.mapSeries(Array(H.numberOfRecords),function(){return Q.pull(46).then(function(W){var X=TZ.parse(W).word32lu("signature").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return X.offsetToLocalFileHeader+=G,X.lastModifiedDateTime=kM1(X.lastModifiedDate,X.lastModifiedTime),Q.pull(X.fileNameLength).then(function(Z){return X.pathBuffer=Z,X.path=Z.toString("utf8"),X.isUnicode=(X.flags&2048)!=0,Q.pull(X.extraFieldLength)}).then(function(Z){return X.extra=SM1(Z,X),Q.pull(X.fileCommentLength)}).then(function(Z){return X.comment=Z,X.type=X.uncompressedSize===0&&/[\/\\]$/.test(X.path)?"Directory":"File",X.stream=function(q){return vM1(Y,X.offsetToLocalFileHeader,q,X)},X.buffer=function(q){return hM1(X.stream(q))},X})})}),BZ.props(H)})}});var rN0=E((Re1,oN0)=>{var lN0=l8(),DB=C2(),jZ=mN0(),AB=I0("stream");if(!AB.Writable||!AB.Writable.prototype.destroy)AB=R3();oN0.exports={buffer:function($,Y){var U={stream:function(z,Q){var J=AB.PassThrough();return J.end($.slice(z,Q)),J},size:function(){return DB.resolve($.length)}};return jZ(U,Y)},file:function($,Y){var U={stream:function(z,Q){return lN0.createReadStream($,{start:z,end:Q&&z+Q})},size:function(){return new DB(function(z,Q){lN0.stat($,function(J,I){if(J)Q(J);else z(I.size)})})}};return jZ(U,Y)},url:function($,Y,U){if(typeof Y==="string")Y={url:Y};if(!Y.url)throw"URL missing";Y.headers=Y.headers||{};var z={stream:function(Q,J){var I=Object.create(Y);return I.headers=Object.create(Y.headers),I.headers.range="bytes="+Q+"-"+(J?J:""),$(I)},size:function(){return new DB(function(Q,J){var I=$(Y);I.on("response",function(K){if(I.abort(),!K.headers["content-length"])J(Error("Missing content length header"));else Q(K.headers["content-length"])}).on("error",J)})}};return jZ(z,U)},s3:function($,Y,U){var z={size:function(){return new DB(function(Q,J){$.headObject(Y,function(I,K){if(I)J(I);else Q(K.ContentLength)})})},stream:function(Q,J){var I={};for(var K in Y)I[K]=Y[K];return I.Range="bytes="+Q+"-"+(J?J:""),$.getObject(I).createReadStream()}};return jZ(z,U)},custom:function($,Y){return jZ($,Y)}}});var sN0=E((bM1)=>{dL0();rL0();ug();bM1.Parse=rA();bM1.ParseOne=XO0();bM1.Extract=xN0();bM1.Open=rN0()});var XD0=E((HO1,h3)=>{/*! * Tmp * * Copyright (c) 2011-2017 KARASZI Istvan * * MIT Licensed - */var V4=I0("fs"),PB=I0("os"),E6=I0("path"),aN0=I0("crypto"),M9={fs:V4.constants,os:PB.constants},YD0=/XXXXXX/,UD0=(M9.O_CREAT||M9.fs.O_CREAT)|(M9.O_EXCL||M9.fs.O_EXCL)|(M9.O_RDWR||M9.fs.O_RDWR),dM1=PB.platform()==="win32",mM1=M9.EBADF||M9.os.errno.EBADF,lM1=M9.ENOENT||M9.os.errno.ENOENT,mI=[],zD0=V4.rmdirSync.bind(V4),QD0=!1;function oM1($,Y){return V4.rm($,{recursive:!0},Y)}function JD0($){return V4.rmSync($,{recursive:!0})}function _n($,Y){let U=lI($,Y),z=U[0],Q=U[1];QO1(z,function(J,I){if(J)return Q(J);let K=I.tries;(function G(){try{let H=KD0(I);V4.stat(H,function(W){if(!W){if(K-- >0)return G();return Q(Error("Could not get a unique tmp filename, max tries reached "+H))}Q(null,H)})}catch(H){Q(H)}})()})}function vn($){let Y=lI($),U=Y[0],z=JO1(U),Q=z.tries;do{let J=KD0(z);try{V4.statSync(J)}catch(I){return J}}while(Q-- >0);throw Error("Could not get a unique tmp filename, max tries reached")}function rM1($,Y){let U=lI($,Y),z=U[0],Q=U[1];_n(z,function(I,K){if(I)return Q(I);V4.open(K,UD0,z.mode||384,function(H,W){if(H)return Q(H);if(z.discardDescriptor)return V4.close(W,function(Z){return Q(Z,K,void 0,Cn(K,-1,z,!1))});else{let X=z.discardDescriptor||z.detachDescriptor;Q(null,K,W,Cn(K,X?-1:W,z,!1))}})})}function sM1($){let Y=lI($),U=Y[0],z=U.discardDescriptor||U.detachDescriptor,Q=vn(U),J=V4.openSync(Q,UD0,U.mode||384);if(U.discardDescriptor)V4.closeSync(J),J=void 0;return{name:Q,fd:J,removeCallback:Cn(Q,z?-1:J,U,!0)}}function aM1($,Y){let U=lI($,Y),z=U[0],Q=U[1];_n(z,function(I,K){if(I)return Q(I);V4.mkdir(K,z.mode||448,function(H){if(H)return Q(H);Q(null,K,ID0(K,z,!1))})})}function tM1($){let Y=lI($),U=Y[0],z=vn(U);return V4.mkdirSync(z,U.mode||448),{name:z,removeCallback:ID0(z,U,!0)}}function eM1($,Y){let U=function(z){if(z&&!Rn(z))return Y(z);Y()};if(0<=$[0])V4.close($[0],function(){V4.unlink($[1],U)});else V4.unlink($[1],U)}function $O1($){let Y=null;try{if(0<=$[0])V4.closeSync($[0])}catch(U){if(!IO1(U)&&!Rn(U))throw U}finally{try{V4.unlinkSync($[1])}catch(U){if(!Rn(U))Y=U}}if(Y!==null)throw Y}function Cn($,Y,U,z){let Q=BB($O1,[Y,$],z),J=BB(eM1,[Y,$],z,Q);if(!U.keep)mI.unshift(Q);return z?Q:J}function ID0($,Y,U){let z=Y.unsafeCleanup?oM1:V4.rmdir.bind(V4),Q=Y.unsafeCleanup?JD0:zD0,J=BB(Q,$,U),I=BB(z,$,U,J);if(!Y.keep)mI.unshift(J);return U?J:I}function BB($,Y,U,z){let Q=!1;return function J(I){if(!Q){let K=z||J,G=mI.indexOf(K);if(G>=0)mI.splice(G,1);if(Q=!0,U||$===zD0||$===JD0)return $(Y);else return $(Y,I||function(){})}}}function YO1(){if(!QD0)return;while(mI.length)try{mI[0]()}catch($){}}function tN0($){let Y=[],U=null;try{U=aN0.randomBytes($)}catch(z){U=aN0.pseudoRandomBytes($)}for(let z=0;z<$;z++)Y.push("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"[U[z]%62]);return Y.join("")}function r8($){return typeof $>"u"}function lI($,Y){if(typeof $==="function")return[{},$];if(r8($))return[{},Y];let U={};for(let z of Object.getOwnPropertyNames($))U[z]=$[z];return[U,Y]}function UO1($,Y,U){let z=E6.isAbsolute($)?$:E6.join(Y,$);V4.stat(z,function(Q){if(Q)V4.realpath(E6.dirname(z),function(J,I){if(J)return U(J);U(null,E6.join(I,E6.basename(z)))});else V4.realpath(z,U)})}function zO1($,Y){let U=E6.isAbsolute($)?$:E6.join(Y,$);try{return V4.statSync(U),V4.realpathSync(U)}catch(z){let Q=V4.realpathSync(E6.dirname(U));return E6.join(Q,E6.basename(U))}}function KD0($){let Y=$.tmpdir;if(!r8($.name))return E6.join(Y,$.dir,$.name);if(!r8($.template))return E6.join(Y,$.dir,$.template).replace(YD0,tN0(6));let U=[$.prefix?$.prefix:"tmp","-",process.pid,"-",tN0(12),$.postfix?"-"+$.postfix:""].join("");return E6.join(Y,$.dir,U)}function En($,Y){if(typeof Y!=="string")throw Error(`${$} option must be a string, got "${typeof Y}".`);if(Y.includes(".."))throw Error("Relative value not allowed");return Y}function GD0($){if(!r8($.name)){let Y=$.name;if(E6.isAbsolute(Y))throw Error(`name option must not contain an absolute path, found "${Y}".`);let U=E6.basename(Y);if(U===".."||U==="."||U!==Y)throw Error(`name option must not contain a path, found "${Y}".`)}if(!r8($.template)){if(typeof $.template!=="string")throw Error(`template option must be a string, got "${typeof $.template}".`);if(!$.template.match(YD0))throw Error(`Invalid template, found "${$.template}".`)}if(!r8($.tries)&&isNaN($.tries)||$.tries<0)throw Error(`Invalid tries, found "${$.tries}".`);$.tries=r8($.name)?$.tries||3:1,$.keep=!!$.keep,$.detachDescriptor=!!$.detachDescriptor,$.discardDescriptor=!!$.discardDescriptor,$.unsafeCleanup=!!$.unsafeCleanup,$.prefix=r8($.prefix)?"":En("prefix",$.prefix),$.postfix=r8($.postfix)?"":En("postfix",$.postfix),$.template=r8($.template)?void 0:En("template",$.template)}function eN0($,Y,U,z){if(r8(Y))return z(null);UO1(Y,U,function(Q,J){if(Q)return z(Q);let I=E6.relative(U,J);if(I.startsWith("..")||E6.isAbsolute(I))return z(Error(`${$} option must be relative to "${U}", found "${I}".`));z(null,I)})}function $D0($,Y,U){if(r8(Y))return;let z=zO1(Y,U),Q=E6.relative(U,z);if(Q.startsWith("..")||E6.isAbsolute(Q))throw Error(`${$} option must be relative to "${U}", found "${Q}".`);return Q}function QO1($,Y){GO1($,function(U,z){if(U)return Y(U);$.tmpdir=z;try{GD0($,z)}catch(Q){return Y(Q)}eN0("dir",$.dir,z,function(Q,J){if(Q)return Y(Q);$.dir=r8(J)?"":J,eN0("template",$.template,z,function(I,K){if(I)return Y(I);$.template=K,Y(null,$)})})})}function JO1($){let Y=$.tmpdir=WD0($);GD0($,Y);let U=$D0("dir",$.dir,Y);return $.dir=r8(U)?"":U,$.template=$D0("template",$.template,Y),$}function IO1($){return HD0($,-mM1,"EBADF")}function Rn($){return HD0($,-lM1,"ENOENT")}function HD0($,Y,U){return dM1?$.code===U:$.code===U&&$.errno===Y}function KO1(){QD0=!0}function GO1($,Y){return V4.realpath($&&$.tmpdir||PB.tmpdir(),Y)}function WD0($){return V4.realpathSync($&&$.tmpdir||PB.tmpdir())}process.addListener("exit",YO1);Object.defineProperty(HO1,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return WD0()}});HO1.dir=aM1;HO1.dirSync=tM1;HO1.file=rM1;HO1.fileSync=sM1;HO1.tmpName=_n;HO1.tmpNameSync=vn;HO1.setGracefulCleanup=KO1});var qD0=E((ve1,ZD0)=>{ZD0.exports=async function*(Y){let U=[];Y.on("data",(K)=>U.push(K));let z,Q=new Promise((K)=>z=K),J=!1;Y.on("end",()=>{J=!0,z()});let I=!1;Y.on("error",(K)=>{I=K,z()});while(!J||U.length>0){if(U.length===0)Y.resume(),await Promise.race([wO1(Y,"data"),Q]);else Y.pause(),yield U.shift();if(I)throw I}z()};function wO1($,Y){return new Promise((U)=>{let z=!1,Q=()=>{if(!z)z=!0,$.removeListener(Y,Q),U()};$.addListener(Y,Q)})}});var MD0=E((he1,wD0)=>{var{EventEmitter:MO1}=I0("events"),OO1=gW(),NO1=Y6(),TB=Z8(),VD0=c4(),DO1=Y3(),AO1=jM(),LD0=CM();class FD0 extends MO1{constructor({workbook:$,id:Y,iterator:U,options:z}){super();this.workbook=$,this.id=Y,this.iterator=U,this.options=z||{},this.name=`Sheet${this.id}`,this._columns=null,this._keys={},this._dimensions=new DO1}destroy(){throw Error("Invalid Operation: destroy")}get dimensions(){return this._dimensions}get columns(){return this._columns}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=VD0.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new LD0(this,Y++))}return this._columns[$-1]}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){NO1.each(this._keys,$)}async read(){try{for await(let $ of this.parse())for(let{eventType:Y,value:U}of $)this.emit(Y,U);this.emit("finished")}catch($){this.emit("error",$)}}async*[Symbol.asyncIterator](){for await(let $ of this.parse())for(let{eventType:Y,value:U}of $)if(Y==="row")yield U}async*parse(){let{iterator:$,options:Y}=this,U=!1,z=!1,Q=null;switch(Y.worksheets){case"emit":U=!0;break;case"prep":break;default:break}switch(Y.hyperlinks){case"emit":z=!0;break;case"cache":this.hyperlinks=Q={};break;default:break}if(!U&&!z&&!Q)return;let{sharedStrings:J,styles:I,properties:K}=this.workbook,G=!1,H=!1,W=!1,X=null,Z=null,q=null,V=null;for await(let F of OO1($)){let M=[];for(let{eventType:w,value:N}of F)if(w==="opentag"){let O=N;if(U)switch(O.name){case"cols":G=!0,X=[];break;case"sheetData":H=!0;break;case"col":if(G)X.push({min:parseInt(O.attributes.min,10),max:parseInt(O.attributes.max,10),width:parseFloat(O.attributes.width),styleId:parseInt(O.attributes.style||"0",10)});break;case"row":if(H){let D=parseInt(O.attributes.r,10);if(Z=new AO1(this,D),O.attributes.ht)Z.height=parseFloat(O.attributes.ht);if(O.attributes.s){let P=parseInt(O.attributes.s,10),T=I.getStyleModel(P);if(T)Z.style=T}}break;case"c":if(Z)q={ref:O.attributes.r,s:parseInt(O.attributes.s,10),t:O.attributes.t};break;case"f":if(q)V=q.f={text:""};break;case"v":if(q)V=q.v={text:""};break;case"is":case"t":if(q)V=q.v={text:""};break;case"mergeCell":break;default:break}if(z||Q)switch(O.name){case"hyperlinks":W=!0;break;case"hyperlink":if(W){let D={ref:O.attributes.ref,rId:O.attributes["r:id"]};if(z)M.push({eventType:"hyperlink",value:D});else Q[D.ref]=D}break;default:break}}else if(w==="text"){if(U){if(V)V.text+=N}}else if(w==="closetag"){let O=N;if(U)switch(O.name){case"cols":G=!1,this._columns=LD0.fromModel(X);break;case"sheetData":H=!1;break;case"row":this._dimensions.expandRow(Z),M.push({eventType:"row",value:Z}),Z=null;break;case"c":if(Z&&q){let D=VD0.decodeAddress(q.ref),P=Z.getCell(D.col);if(q.s){let T=I.getStyleModel(q.s);if(T)P.style=T}if(q.f){let T={formula:q.f.text};if(q.v)if(q.t==="str")T.result=TB.xmlDecode(q.v.text);else T.result=parseFloat(q.v.text);P.value=T}else if(q.v)switch(q.t){case"s":{let T=parseInt(q.v.text,10);if(J)P.value=J[T];else P.value={sharedString:T};break}case"inlineStr":case"str":P.value=TB.xmlDecode(q.v.text);break;case"e":P.value={error:q.v.text};break;case"b":P.value=parseInt(q.v.text,10)!==0;break;default:if(TB.isDateFmt(P.numFmt))P.value=TB.excelToDate(parseFloat(q.v.text),K.model&&K.model.date1904);else P.value=parseFloat(q.v.text);break}if(Q){let T=Q[q.ref];if(T)P.text=P.value,P.value=void 0,P.hyperlink=T}q=null}break;default:break}if(z||Q)switch(O.name){case"hyperlinks":W=!1;break;default:break}}if(M.length>0)yield M}}}wD0.exports=FD0});var DD0=E((Se1,ND0)=>{var{EventEmitter:BO1}=I0("events"),PO1=gW(),TO1=G5(),jO1=Y2();class OD0 extends BO1{constructor({workbook:$,id:Y,iterator:U,options:z}){super();this.workbook=$,this.id=Y,this.iterator=U,this.options=z}get count(){return this.hyperlinks&&this.hyperlinks.length||0}each($){return this.hyperlinks.forEach($)}async read(){let{iterator:$,options:Y}=this,U=!1,z=null;switch(Y.hyperlinks){case"emit":U=!0;break;case"cache":this.hyperlinks=z={};break;default:break}if(!U&&!z){this.emit("finished");return}try{for await(let Q of PO1($))for(let{eventType:J,value:I}of Q)if(J==="opentag"){let K=I;if(K.name==="Relationship"){let G=K.attributes.Id;switch(K.attributes.Type){case jO1.Hyperlink:{let H={type:TO1.RelationshipType.Styles,rId:G,target:K.attributes.Target,targetMode:K.attributes.TargetMode};if(U)this.emit("hyperlink",H);else z[H.rId]=H}break;default:break}}}this.emit("finished")}catch(Q){this.emit("error",Q)}}}ND0.exports=OD0});var TD0=E((ge1,PD0)=>{var hn=I0("fs"),{EventEmitter:EO1}=I0("events"),{PassThrough:CO1,Readable:RO1}=E8(),_O1=I0("stream"),vO1=sN0(),BD0=XD0(),Iz=qD0(),hO1=gW(),AD0=JN(),SO1=XN(),gO1=HN(),yO1=MD0(),kO1=DD0();BD0.setGracefulCleanup();class Sn extends EO1{constructor($,Y={}){super();this.input=$,this.options={worksheets:"emit",sharedStrings:"cache",hyperlinks:"ignore",styles:"ignore",entries:"ignore",...Y},this.styles=new AD0,this.styles.init()}_getStream($){if($ instanceof _O1.Readable||$ instanceof RO1)return $;if(typeof $==="string")return hn.createReadStream($);throw Error(`Could not recognise input: ${$}`)}async read($,Y){try{for await(let{eventType:U,value:z}of this.parse($,Y))switch(U){case"shared-strings":this.emit(U,z);break;case"worksheet":this.emit(U,z),await z.read();break;case"hyperlinks":this.emit(U,z);break}this.emit("end"),this.emit("finished")}catch(U){this.emit("error",U)}}async*[Symbol.asyncIterator](){for await(let{eventType:$,value:Y}of this.parse())if($==="worksheet")yield Y}async*parse($,Y){if(Y)this.options=Y;let U=this.stream=this._getStream($||this.input),z=vO1.Parse({forceStream:!0});U.pipe(z);let Q=[];for await(let J of Iz(z)){let I,K;switch(J.path){case"_rels/.rels":break;case"xl/_rels/workbook.xml.rels":await this._parseRels(J);break;case"xl/workbook.xml":await this._parseWorkbook(J);break;case"xl/sharedStrings.xml":yield*this._parseSharedStrings(J);break;case"xl/styles.xml":await this._parseStyles(J);break;default:if(J.path.match(/xl\/worksheets\/sheet\d+[.]xml/))if(I=J.path.match(/xl\/worksheets\/sheet(\d+)[.]xml/),K=I[1],this.sharedStrings&&this.workbookRels)yield*this._parseWorksheet(Iz(J),K);else await new Promise((G,H)=>{BD0.file((W,X,Z,q)=>{if(W)return H(W);Q.push({sheetNo:K,path:X,tempFileCleanupCallback:q});let V=hn.createWriteStream(X);return V.on("error",H),J.pipe(V),V.on("finish",()=>{return G()})})});else if(J.path.match(/xl\/worksheets\/_rels\/sheet\d+[.]xml.rels/))I=J.path.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),K=I[1],yield*this._parseHyperlinks(Iz(J),K);break}J.autodrain()}for(let{sheetNo:J,path:I,tempFileCleanupCallback:K}of Q){let G=hn.createReadStream(I);if(!G[Symbol.asyncIterator])G=G.pipe(new CO1);yield*this._parseWorksheet(G,J),K()}}_emitEntry($){if(this.options.entries==="emit")this.emit("entry",$)}async _parseRels($){let Y=new gO1;this.workbookRels=await Y.parseStream(Iz($))}async _parseWorkbook($){this._emitEntry({type:"workbook"});let Y=new SO1;await Y.parseStream(Iz($)),this.properties=Y.map.workbookPr,this.model=Y.model}async*_parseSharedStrings($){switch(this._emitEntry({type:"shared-strings"}),this.options.sharedStrings){case"cache":this.sharedStrings=[];break;case"emit":break;default:return}let Y=null,U=[],z=0,Q=null;for await(let J of hO1(Iz($)))for(let{eventType:I,value:K}of J)if(I==="opentag"){let G=K;switch(G.name){case"b":Q=Q||{},Q.bold=!0;break;case"charset":Q=Q||{},Q.charset=parseInt(G.attributes.charset,10);break;case"color":if(Q=Q||{},Q.color={},G.attributes.rgb)Q.color.argb=G.attributes.argb;if(G.attributes.val)Q.color.argb=G.attributes.val;if(G.attributes.theme)Q.color.theme=G.attributes.theme;break;case"family":Q=Q||{},Q.family=parseInt(G.attributes.val,10);break;case"i":Q=Q||{},Q.italic=!0;break;case"outline":Q=Q||{},Q.outline=!0;break;case"rFont":Q=Q||{},Q.name=G.value;break;case"si":Q=null,U=[],Y=null;break;case"sz":Q=Q||{},Q.size=parseInt(G.attributes.val,10);break;case"strike":break;case"t":Y=null;break;case"u":Q=Q||{},Q.underline=!0;break;case"vertAlign":Q=Q||{},Q.vertAlign=G.attributes.val;break}}else if(I==="text")Y=Y?Y+K:K;else if(I==="closetag")switch(K.name){case"r":U.push({font:Q,text:Y}),Q=null,Y=null;break;case"si":if(this.options.sharedStrings==="cache")this.sharedStrings.push(U.length?{richText:U}:Y);else if(this.options.sharedStrings==="emit")yield{index:z++,text:U.length?{richText:U}:Y};U=[],Q=null,Y=null;break}}async _parseStyles($){if(this._emitEntry({type:"styles"}),this.options.styles==="cache")this.styles=new AD0,await this.styles.parseStream(Iz($))}*_parseWorksheet($,Y){this._emitEntry({type:"worksheet",id:Y});let U=new yO1({workbook:this,id:Y,iterator:$,options:this.options}),z=(this.workbookRels||[]).find((J)=>J.Target===`worksheets/sheet${Y}.xml`),Q=z&&(this.model.sheets||[]).find((J)=>J.rId===z.Id);if(Q)U.id=Q.id,U.name=Q.name,U.state=Q.state;if(this.options.worksheets==="emit")yield{eventType:"worksheet",value:U}}*_parseHyperlinks($,Y){this._emitEntry({type:"hyperlinks",id:Y});let U=new kO1({workbook:this,id:Y,iterator:$,options:this.options});if(this.options.hyperlinks==="emit")yield{eventType:"hyperlinks",value:U}}}Sn.Options={worksheets:["emit","ignore"],sharedStrings:["cache","emit","ignore"],hyperlinks:["cache","emit","ignore"],styles:["cache","ignore"],entries:["emit","ignore"]};PD0.exports=Sn});var CD0=E((ye1,ED0)=>{var jD0={Workbook:eG0(),ModelContainer:UH0(),stream:{xlsx:{WorkbookWriter:nL0(),WorkbookReader:TD0()}}};Object.assign(jD0,G5());ED0.exports=jD0});var EZ=E((ke1,RD0)=>{if(parseInt(process.versions.node.split(".")[0],10)<10)throw Error("For node versions older than 10, please use the ES5 Import: https://github.com/exceljs/exceljs#es5-imports");RD0.exports=CD0()});var _D0,vD0,N5,xO1,fO1,uO1,bO1,iO1,fe1,ue1,be1,ie1,ce1;var gn=m(()=>{A$();_D0={"freeflow.submit":"提交送审","freeflow.agree":"审批同意","freeflow.autoAgree":"自动同意","freeflow.reject":"审批驳回","freeflow.back":"审批退回","freeflow.print":"打印单据","freeflow.retract":"单据撤回","freeflow.addnode":"加签/转交","freeflow.comment":"发表评论","freeflow.pay":"支付成功","freeflow.paying":"发起支付","freeflow.carbonCopy":"抄送单据","freeflow.cc":"抄送单据"},vD0={APPROVING:"审批中",APPROVED:"审批通过",REJECTED:"审批驳回",REVOKED:"已撤回",CANCELED:"已取消",CANCELLED:"已取消",SKIPPED:"已跳过",SUBMITTED:"已提交",PENDING:"待审批",WAITING:"待处理",COMPLETED:"已完成",DRAFT:"草稿",PAID:"已支付",PAYING:"支付中"},N5=L.object({id:L.string().optional(),name:L.string().optional(),code:L.string().optional()}),xO1=L.object({id:L.string().optional(),nodeId:L.string().optional(),time:L.number().optional(),durationMs:L.number().optional(),state:L.string().optional(),rawState:L.string().optional(),action:L.string().optional(),rawAction:L.string().optional(),nodeName:L.string().optional(),comment:L.string().optional(),rawComment:L.string().optional(),automatic:L.boolean().default(!1),isEbot:L.boolean().default(!1),skipped:L.boolean().default(!1),operator:N5.optional(),nextOperators:L.array(N5).default([]),rejectTargetNodeName:L.string().optional(),rejectTargetOperator:N5.optional(),resubmitRuleText:L.string().optional(),isModification:L.boolean().default(!1)}),fO1=L.object({id:L.string().optional(),name:L.string().optional(),type:L.string().optional(),state:L.enum(["当前","后续","已完成"]).default("后续"),isCurrent:L.boolean().default(!1),approver:N5.optional(),approvers:L.array(N5).default([])}),uO1=L.object({rejectionNum:L.number().int().nonnegative().default(0),submitCount:L.number().int().positive().default(1),sourceFlowVersion:L.union([L.string(),L.number()]).optional(),isModifiedAfterReject:L.boolean().default(!1),retractCount:L.number().int().nonnegative().default(0),isResubmittedAfterRetract:L.boolean().default(!1)}),bO1=L.object({nodeName:L.string().optional(),operator:N5.optional(),action:L.string().optional(),rawAction:L.string().optional(),time:L.number().optional(),comment:L.string(),isEbot:L.boolean().default(!1)}),iO1=L.object({time:L.number().optional(),nodeName:L.string().optional(),operator:N5.optional(),isEbot:L.boolean().default(!1),reason:L.string(),rawComment:L.string().optional(),fromNodeName:L.string().optional(),targetNodeName:L.string().optional(),targetOperator:N5.optional(),resubmitRuleText:L.string().optional()}),fe1=L.object({backlogId:L.string(),flowId:L.string().optional(),billCode:L.string().optional(),title:L.string().optional(),state:L.string().optional(),rawState:L.string().optional(),currentNode:L.string().optional(),specification:L.object({id:L.string().optional(),name:L.string().optional(),code:L.string().optional()}).optional(),submitter:N5.optional(),owner:N5.optional(),submitDate:L.number().optional(),updateTime:L.number().optional(),history:L.array(xO1),pending:L.array(fO1),metrics:uO1,staffOpinions:L.array(bO1),rejections:L.array(iO1),raw:L.record(L.string(),L.unknown()).optional()}),ue1=L.object({id:L.string(),state:L.string().optional(),nodeName:L.string().optional(),flowId:L.record(L.string(),L.unknown()).optional(),nodeState:L.record(L.string(),L.unknown()).optional()}).passthrough(),be1=L.object({count:L.number().optional(),items:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),ie1=L.object({value:L.record(L.string(),L.unknown()).optional(),items:L.array(L.record(L.string(),L.unknown())).optional()}).passthrough(),ce1=L.object({recordId:L.string(),sourceDocumentSN:L.string().optional(),taskMode:L.string().optional(),aiDecision:L.string().optional(),aiAction:L.string().optional(),eHumanAction:L.string(),eHumanComment:L.string(),auditDrift:L.boolean().default(!1),auditDriftReason:L.string().optional(),operator:N5.optional()})});function hD0($,Y){let U=B$($.domain||"https://app.ekuaibao.com");return K5.create({prefix:U,timeout:30000,searchParams:{accessToken:$.accessToken},headers:{...Y},hooks:{beforeError:[async({error:z})=>{let Q=z instanceof D6?await z.response.text().catch(()=>""):"";return z.message=`${z.message}${Q?`: ${Q}`:""}`,z}]}})}async function oI($,Y){if($.source.type!=="hose")throw Error(`Unsupported Hose source type: ${$.source.type}. Expected 'hose'.`);let U=await nQ($);return hD0({domain:$.source.domain,accessToken:U},Y)}var jB=m(()=>{iQ();t9()});var EB=m(()=>{t9()});var SD0=m(()=>{jB();EB();jB();EB()});var g1,O9,u$,pO1,gD0,yD0,dO1,kD0,mO1,xD0,lO1,fD0,oO1,yn;var kn=m(()=>{A$();g1=L.preprocess(($)=>$===null?void 0:$,L.string().optional()),O9=L.preprocess(($)=>$===null?void 0:$,L.boolean().optional()),u$=L.preprocess(($)=>$===null?void 0:$,L.number().optional()),pO1=L.object({nodeId:g1,nodeName:g1,nextId:g1,nextName:g1,comment:g1,isUrgent:O9,isEbotNode:O9,isAuto:O9,isSkip:O9,skipped:O9,counterSign:O9,nextCounterSign:O9,complete:O9}).passthrough(),gD0=L.object({id:g1,action:g1,state:g1,operatorId:g1,nextOperatorId:g1,nextOperatorIds:L.preprocess(($)=>Array.isArray($)?$:[],L.array(L.string())).default([]),time:u$,attributes:L.preprocess(($)=>$===null?void 0:$,pO1.optional())}).passthrough(),yD0=L.object({code:g1,title:g1,submitterId:g1,submitDate:u$,expenseDate:u$,rejectionNum:L.preprocess(($)=>$===null?void 0:$,L.union([L.number(),L.string()]).optional()),reviewStatus:g1,specificationId:g1,payMoney:L.preprocess(($)=>$===null?void 0:$,L.record(L.string(),L.unknown()).optional()),expenseMoney:L.preprocess(($)=>$===null?void 0:$,L.record(L.string(),L.unknown()).optional()),details:L.preprocess(($)=>$===null?void 0:$,L.array(L.record(L.string(),L.unknown())).optional())}).passthrough(),dO1=L.object({id:L.string(),version:u$,state:g1,flowType:g1,formType:g1,ownerId:g1,createTime:u$,updateTime:u$,form:L.preprocess(($)=>$===null?void 0:$,yD0.optional()),logs:L.preprocess(($)=>Array.isArray($)?$:[],L.array(gD0)).default([]),actions:L.preprocess(($)=>$===null?void 0:$,L.record(L.string(),L.array(L.string())).optional())}).passthrough(),kD0=L.object({value:L.preprocess(($)=>$===null?void 0:$,dO1.optional())}).passthrough(),mO1=L.object({id:L.string(),flowId:g1,nodeId:g1,nodeName:g1,ownerId:g1,state:g1,logId:u$,action:g1,createTime:u$,updateTime:u$,isUrgent:O9}).passthrough(),xD0=L.object({count:L.preprocess(($)=>typeof $==="number"?$:0,L.number()).default(0),items:L.preprocess(($)=>Array.isArray($)?$:[],L.array(mO1)).default([])}).passthrough(),lO1=L.object({id:g1,flowId:g1,version:u$,state:g1,createTime:u$,updateTime:u$,form:L.preprocess(($)=>$===null?void 0:$,yD0.optional()),logs:L.preprocess(($)=>Array.isArray($)?$:[],L.array(gD0)).default([]),modifyFlowLog:L.preprocess(($)=>Array.isArray($)?$:void 0,L.array(L.record(L.string(),L.unknown())).optional())}).passthrough(),fD0=L.object({count:L.preprocess(($)=>typeof $==="number"?$:0,L.number()).default(0),items:L.preprocess(($)=>Array.isArray($)?$:[],L.array(lO1)).default([])}).passthrough(),oO1=L.object({id:L.string(),name:g1,enName:g1,nickName:g1,code:g1,cellphone:g1,email:g1,active:O9,userId:g1,defaultDepartment:g1}).passthrough(),yn=L.object({items:L.preprocess(($)=>Array.isArray($)?$:[],L.array(oO1)).default([])}).passthrough()});async function uD0($,Y){try{let U=await $.get("api/openapi/v1.1/flowDetails",{searchParams:{flowId:Y}}).json();return kD0.parse(U).value}catch(U){if(U instanceof D6&&(U.response.status===404||U.response.status===412))return;throw U}}async function bD0($,Y){try{let U=await $.get("api/openapi/v1.1/flowDetails/allLogs",{searchParams:{flowId:Y}}).json();return xD0.parse(U).items}catch(U){if(U instanceof D6&&(U.response.status===404||U.response.status===412))return[];throw U}}async function iD0($,Y,U){try{let z=await $.get("api/openapi/v1/flow/versioned",{searchParams:{flow_id:Y,pageNum:U?.pageNum??1,pageSize:U?.pageSize??20,convertFeeType:U?.convertFeeType??!0}}).json();return fD0.parse(z).items}catch(z){if(z instanceof D6&&(z.response.status===404||z.response.status===412))return[];throw z}}async function rO1($,Y){if(!Y.conditionIds||Y.conditionIds.length===0)return[];try{let U=await $.post("api/openapi/v1/staffs/getStaffIds",{json:{type:Y.type,conditionIds:Y.conditionIds.slice(0,100)}}).json();return yn.parse(U).items}catch(U){if(Y.conditionIds.length>1){let z=[];for(let Q of Y.conditionIds)try{let J=await $.post("api/openapi/v1/staffs/getStaffIds",{json:{type:Y.type,conditionIds:[Q]}}).json(),I=yn.parse(J);z.push(...I.items)}catch{}return z}return[]}}async function xn($,Y,U){let[z,Q,J]=await Promise.all([uD0($,Y),bD0($,Y).catch(()=>[]),iD0($,Y).catch(()=>[])]),I=U??new Map,K=[],G=(W)=>{if(W&&typeof W==="string"&&W!=="ebot"&&!I.has(W))K.push(W)};for(let W of Q)G(W.ownerId);for(let W of z?.logs||[])G(W.operatorId),G(W.nextOperatorId);let H=[...new Set(K)];if(H.length>0)try{let W=await rO1($,{type:"STAFFID",conditionIds:H});for(let X of W){if(X.id)I.set(X.id,X);if(X.cellphone)I.set(X.cellphone,X)}}catch{}return{flowDetails:z,allLogs:Q,versions:J,staffMap:I}}var fn=m(()=>{iQ();kn()});var sO1,H04,W04;var un=m(()=>{A$();sO1=L.object({id:L.string(),state:L.string().optional(),nodeName:L.string().optional(),flowId:L.record(L.string(),L.unknown()).optional(),nodeState:L.record(L.string(),L.unknown()).optional()}).passthrough(),H04=L.object({count:L.number().optional(),items:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),W04=L.object({value:L.record(L.string(),L.unknown()).optional(),items:L.array(L.record(L.string(),L.unknown())).optional()}).passthrough()});var CB=m(()=>{un()});var nD0=m(()=>{fn();CB();CB()});var bn=m(()=>{kn();jB();fn()});var cn=m(()=>{un();EB();CB()});function JN1($){if(!$||typeof $!=="string")return;let Y=$.replace(/<[^>]*>/g,"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/ /g," ").trim();return Y.length>0?Y:void 0}function IN1($){if(!$)return;return _D0[$]||$}function mD0($){if(!$)return;return vD0[$.toUpperCase()]||$}function CZ($){if(typeof $==="string"){let J=$.trim();return J?{id:J}:void 0}if(!$||typeof $!=="object")return;let Y=$;if(Y.signerId&&typeof Y.signerId==="object")Y=Y.signerId;let U=typeof Y.id==="string"?Y.id.trim():void 0,z=typeof Y.name==="string"&&Y.name.trim()?Y.name.trim():typeof Y.nickName==="string"&&Y.nickName.trim()?Y.nickName.trim():void 0,Q=typeof Y.code==="string"&&Y.code.trim()?Y.code.trim():void 0;if(!U&&!z&&!Q)return;return{id:U,name:z,code:Q}}function KN1($,Y){if(Y?.isEbotNode===!0)return!0;if(`${$?.id||""} ${$?.name||""}`.toLowerCase().includes("ebot"))return!0;if($?.name?.includes("智能审批")||$?.name?.includes("AI审批"))return!0;if(typeof Y?.nodeName==="string"&&(Y.nodeName.toLowerCase().includes("ebot")||Y.nodeName.includes("智能审批")))return!0;return!1}function GN1($,Y=!1,U=!1){if(U)return{id:$?.id||"ebot",name:"Ebot (智能审批)",code:$?.code};if(!$&&Y)return{id:"system",name:"系统自动"};return $}function HN1($,Y,U,z){let J=[...Array.isArray($)?$.filter((G)=>Boolean(G&&typeof G==="object")):[]].sort((G,H)=>(Number(G.time)||0)-(Number(H.time)||0)),I=(G)=>{if(!G)return;let H=CZ(G);if(!H)return;if(!H.name&&Y&&H.id){let W=H.id.split(":"),X=Y.get(H.id)||(W.length>1&&W[1]?Y.get(W[1]):void 0);if(X?.name)return{...H,name:X.name,code:X.code||H.code}}return H},K=[];for(let G=0;Gg&&typeof g==="object"&&g.ownerId===k&&typeof g.nodeName==="string");if($0?.nodeName)t=String($0.nodeName).trim()}K.push({id:typeof c.flowVersionedId==="string"?`modify-${c.flowVersionedId}`:void 0,time:z0,state:"审批中",rawState:"MODIFY",action:"修改了单据",rawAction:"flow.modify",nodeName:t,comment:"修改了单据",rawComment:"修改了单据",automatic:!1,isEbot:!1,skipped:!1,isModification:!0,operator:d,nextOperators:[]})}}let Z=CZ(H.operatorId),q=KN1(Z,W),V=Boolean(W.isEbotNode===!0||W.isAuto===!0||H.action==="freeflow.autoAgree"||!H.operatorId||q),F=GN1(Z,V,q);if(F&&!F.name&&Y&&F.id){let c=I(F.id);if(c?.name)F=c}let M=typeof H.action==="string"?H.action:void 0,w=IN1(M),N=typeof H.state==="string"?H.state:void 0,O=mD0(N),D,P,T,A;if(M==="freeflow.reject"){let c;if(Array.isArray(U)){let t=U.find(($0)=>$0&&typeof $0==="object"&&$0.action==="freeflow.reject"&&($0.ownerId===H.operatorId||Math.abs((Number($0.updateTime)||0)-(X||0))<2000));if(t&&typeof t.nodeName==="string")c=t.nodeName.trim()}if(!c&&W.nodeId){let t=J.find(($0)=>$0&&typeof $0==="object"&&$0.attributes?.nodeId===W.nodeId&&$0.action!=="freeflow.reject"&&$0.attributes?.nodeName);if(t)c=String(t.attributes.nodeName).trim()}if(!c){let t=typeof H.operatorId==="object"?H.operatorId?.id:H.operatorId,$0=J.find((g)=>{return(typeof g.operatorId==="object"?g.operatorId?.id:g.operatorId)===t&&g.action!=="freeflow.reject"&&g.attributes?.nodeName});if($0)c=String($0.attributes.nodeName).trim();else if(W.nodeName&&W.nodeName!=="提交人")c=String(W.nodeName).trim()}D=c||"审批节点",P=typeof W.nodeName==="string"&&W.nodeName?W.nodeName.trim():typeof W.nextName==="string"&&W.nextName?W.nextName.trim():"提交人";let z0=typeof H.nextOperatorId==="string"?H.nextOperatorId:void 0;if(z0)T=I(z0);if((!T||!T.name)&&(P==="提交人"||P.includes("提交"))&&z)T=I(z);let k=String(W.resubmitMethod||"").toUpperCase(),d=F?.name||"原审批人";if(k==="TO_REJECTOR")A=`重新提交后由${d}继续审批`;else if(k==="START_OVER"||k==="TO_START"||k==="ALL"||k==="RE_START")A="重新提交后重新全流程审批";else if(k==="NEXT_NODE")A="重新提交后流转至下一节点";else A=`重新提交后由${d}继续审批`}else D=typeof W.nodeName==="string"&&W.nodeName?W.nodeName:typeof W.nextName==="string"&&W.nextName?W.nextName:w==="打印单据"?"打印提醒":void 0;let j=typeof W.comment==="string"?W.comment:void 0,C=JN1(j),b=Boolean(W.isSkip===!0||W.skipped===!0||N==="SKIPPED"),S=(Array.isArray(H.nextOperatorIds)?H.nextOperatorIds:H.nextOperatorId?[H.nextOperatorId]:[]).map(I).filter((c)=>Boolean(c)),i=typeof W.nodeId==="string"&&W.nodeId?W.nodeId:typeof H.nodeId==="string"&&H.nodeId?H.nodeId:void 0;K.push({id:typeof H.id==="string"?H.id:void 0,nodeId:i,time:X,state:O,rawState:N,action:w,rawAction:M,nodeName:D,comment:C,rawComment:j,automatic:V,isEbot:q,skipped:b,operator:F,nextOperators:S,rejectTargetNodeName:P,rejectTargetOperator:T,resubmitRuleText:A,isModification:!1})}K.sort((G,H)=>(Number(G.time)||0)-(Number(H.time)||0));for(let G=0;G=H.time)H.durationMs=W.time-H.time}return K}function WN1($,Y){return $.filter((z)=>{let Q=String(z.state||"").toUpperCase();if(Q==="CANCELED"||Q==="CANCELLED"||Q==="PROCESSED"||Q==="COMPLETED"||Q==="PAID")return!1;return z.logId===-1||Q==="APPROVING"||Q==="PROCESSING"||Q==="PAYING"}).map((z,Q)=>{let J=CZ(z.ownerId);if(J&&!J.name&&Y&&z.ownerId){let I=z.ownerId.split(":"),K=Y.get(z.ownerId)||(I.length>1&&I[1]?Y.get(I[1]):void 0);if(K?.name)J={...J,name:K.name,code:K.code||J.code}}return{id:z.nodeId||z.id,name:z.nodeName,type:z.state,state:Q===0?"当前":"后续",isCurrent:Q===0,approver:J,approvers:J?[J]:[]}})}function XN1($,Y,U,z){let Q=$.form&&typeof $.form==="object"?$.form:{},J=Y.filter((w)=>w.rawAction==="freeflow.reject"||w.rawState==="REJECTED"||w.action==="审批驳回"),I=typeof Q.rejectionNum==="number"?Q.rejectionNum:typeof Q.rejectionNum==="string"?parseInt(Q.rejectionNum,10)||void 0:void 0,K=I!==void 0?I:J.length,G=Y.filter((w)=>w.rawAction==="freeflow.submit"||w.rawState==="SUBMITTED"||w.action==="提交送审"),H=typeof Q.submitCount==="number"?Q.submitCount:void 0,W=z&&z.length>0?z.length:void 0,X=H!==void 0?H:W!==void 0?Math.max(W,G.length,1):Math.max(1,G.length),Z=Y.filter((w)=>w.rawAction==="freeflow.retract"||w.rawState==="REVOKED"||w.action==="单据撤回"),q=Z.length,V=Q.sourceFlowVersion??$.sourceFlowVersion??Q.version??$.version,F=!1;if(K>0||J.length>0){let w=Math.max(...J.map((j)=>j.time??0),0),N=Y.some((j)=>(j.time??0)>w&&(j.rawAction==="freeflow.submit"||j.rawState==="SUBMITTED"||j.action==="提交送审")),O=Y.some((j)=>(j.time??0)>w&&j.rawAction!=="freeflow.reject"&&j.rawAction!=="freeflow.print"),P=String(U?.state??$.state??"").toUpperCase()==="REJECTED"||J.length>0&&Y.at(-1)?.rawAction==="freeflow.reject",T=typeof Q.submitDate==="number"?Q.submitDate:0,A=typeof Q.updateTime==="number"?Q.updateTime:typeof $.updateTime==="number"?$.updateTime:0;F=N||!P&&(O||T>w||A>w||X>K)}let M=!1;if(q>0){let w=Math.max(...Z.map((T)=>T.time??0),0),N=Y.some((T)=>(T.time??0)>w&&(T.rawAction==="freeflow.submit"||T.rawState==="SUBMITTED"||T.action==="提交送审")),D=String(U?.state??$.state??"").toUpperCase()==="REVOKED"||Z.length>0&&Y.at(-1)?.rawAction==="freeflow.retract",P=typeof Q.updateTime==="number"?Q.updateTime:typeof $.updateTime==="number"?$.updateTime:0;M=N||!D&&(X>1||P>w)}return{rejectionNum:K,submitCount:X,sourceFlowVersion:typeof V==="string"||typeof V==="number"?V:void 0,isModifiedAfterReject:F,retractCount:q,isResubmittedAfterRetract:M}}function ZN1($){return $.filter((Y)=>Boolean(Y.comment&&Y.comment.trim())).map((Y)=>({nodeName:Y.nodeName,operator:Y.operator,action:Y.action,rawAction:Y.rawAction,time:Y.time,comment:Y.comment,isEbot:Y.isEbot}))}function qN1($){return $.filter((Y)=>Y.rawAction==="freeflow.reject"||Y.rawState==="REJECTED"||Y.action==="审批驳回").map((Y)=>({time:Y.time,nodeName:Y.nodeName,operator:Y.operator,isEbot:Y.isEbot,reason:Y.comment||"未填写驳回原因",rawComment:Y.rawComment,fromNodeName:Y.nodeName,targetNodeName:Y.rejectTargetNodeName,targetOperator:Y.rejectTargetOperator,resubmitRuleText:Y.resubmitRuleText}))}function VN1($,Y){let{flowDetails:U,allLogs:z,versions:Q,staffMap:J}=$;if(!U)return;let I=U.form||{},K=typeof I.submitterId==="string"?I.submitterId:typeof U.ownerId==="string"?U.ownerId:void 0,G=HN1(U.logs||[],J,z,K),H=U.state,W=mD0(H),X=String(H||"").toUpperCase(),q=["COMPLETED","APPROVED","PAID","REVOKED","CANCELED","CANCELLED","REJECTED"].includes(X)?[]:WN1(z,J),V=q.find((O)=>O.isCurrent)?.name,F=XN1(U,G,void 0,Q),M=ZN1(G),w=qN1(G),N;if(I.specificationId&&typeof I.specificationId==="object"){let O=I.specificationId;N={id:typeof O.id==="string"?O.id:void 0,name:typeof O.name==="string"?O.name:void 0,code:typeof O.code==="string"?O.code:void 0}}else if(typeof I.specificationId==="string")N={id:I.specificationId};return{backlogId:U.id||Y||"",flowId:U.id,billCode:typeof I.code==="string"?I.code:void 0,title:typeof I.title==="string"?I.title:void 0,state:W,rawState:H,currentNode:V,specification:N,submitter:CZ(I.submitterId),owner:CZ(U.ownerId||I.ownerId),submitDate:typeof I.submitDate==="number"?I.submitDate:void 0,updateTime:typeof I.updateTime==="number"?I.updateTime:typeof U.updateTime==="number"?U.updateTime:void 0,history:G,pending:q,metrics:F,staffOpinions:M,rejections:w,raw:U}}async function RB($,Y,U){let z=await xn($,Y,U);return VN1(z,Y)}function pD0($){if(!$)return"-";let Y=$.toUpperCase();if(Y==="APPROVE"||Y==="通过")return"通过";if(Y==="EXEMPT_APPROVE"||Y==="免审通过"||Y==="备注通过")return"备注通过";if(Y==="REVIEW"||Y==="转交复核")return"转交复核";if(Y==="REJECT"||Y==="驳回")return"驳回";if(Y==="ERROR"||Y==="错误")return"错误";return $}function rI($){let Y=[];for(let U of $){if(U.rawAction==="freeflow.carbonCopy"||U.rawAction==="freeflow.cc"||U.action==="抄送单据"||U.action==="抄送通知")continue;if((U.rawAction==="freeflow.print"||U.action==="打印提醒"||U.action==="打印单据")&&!U.comment)continue;let z=U.operator?.name||U.operator?.id||"未知",Q=U.rawAction==="freeflow.retract"||U.action==="单据撤回",J=U.nodeName?.trim()?`${U.nodeName.trim()}(${z})`:Q?`提交人(${z})`:z,I=U.comment;if(!I)if(U.rawAction==="flow.modify"||U.action==="修改了单据"||U.isModification)I="修改了单据";else if(U.rawAction==="freeflow.agree"||U.action==="审批同意")I="同意";else if(U.rawAction==="freeflow.autoAgree")I="自动同意";else if(U.rawAction==="freeflow.pay"||U.action==="支付成功"||U.action==="支付完成")I="支付成功";else if(U.rawAction==="freeflow.paying"||U.action==="发起支付"||U.action==="支付中")I="发起支付";else if(U.rawAction==="freeflow.reject"||U.action==="审批驳回")I="驳回";else if(U.rawAction==="freeflow.back"||U.action==="审批退回")I="退回修改";else if(U.rawAction==="freeflow.retract"||U.action==="单据撤回")I="单据撤回";else I=U.action||"-";let K="";if(U.rawAction==="flow.modify"||U.action==="修改了单据"||U.isModification||I==="修改了单据")K="✏️";else if(U.rawAction==="freeflow.autoAgree"||U.action==="自动同意"||I==="自动同意"||U.automatic)K="\uD83E\uDD16";else if(U.rawAction==="freeflow.retract"||U.action==="单据撤回"||I==="单据撤回")K="↩️";else if(U.rawAction==="freeflow.reject"||U.action==="审批驳回"||U.rawAction==="freeflow.back"||U.action==="审批退回"||I==="驳回"||I==="退回修改")K="❌";else if((U.rawAction==="freeflow.pay"||U.action==="支付成功"||U.action==="支付完成")&&(I==="支付成功"||I==="支付完成"||!I))K="\uD83D\uDCB0";else if(U.rawAction==="freeflow.addnode"||U.action?.includes("加签")||U.action?.includes("转交")||U.action?.includes("转办")||I?.includes("转交")||I?.includes("加签"))K="\uD83D\uDD00";else if(U.rawAction==="freeflow.paying"||U.rawAction==="freeflow.comment"||U.action==="发表评论"||U.action==="添加评论"||U.rawAction==="freeflow.pay"&&I!=="支付成功")K="\uD83D\uDCAC";let G=K?` ${K}`:"",H=`${J}${G}: ${I}`;if(Y.length===0||Y[Y.length-1]!==H)Y.push(H)}return Y}function sI($,Y=[],U="forward"){if($.length===0&&Y.length===0)return"-";if(U==="forward"){let J=[...$,...Y].map((G,H)=>`${H+1}. ${G}`),I=J.filter((G)=>G.includes("修改了单据")),K=J.filter((G)=>!G.includes("修改了单据"));return[...I,...K].join(` + */var V4=I0("fs"),PB=I0("os"),E6=I0("path"),aN0=I0("crypto"),O9={fs:V4.constants,os:PB.constants},YD0=/XXXXXX/,UD0=(O9.O_CREAT||O9.fs.O_CREAT)|(O9.O_EXCL||O9.fs.O_EXCL)|(O9.O_RDWR||O9.fs.O_RDWR),dM1=PB.platform()==="win32",mM1=O9.EBADF||O9.os.errno.EBADF,lM1=O9.ENOENT||O9.os.errno.ENOENT,mI=[],zD0=V4.rmdirSync.bind(V4),QD0=!1;function oM1($,Y){return V4.rm($,{recursive:!0},Y)}function JD0($){return V4.rmSync($,{recursive:!0})}function _n($,Y){let U=lI($,Y),z=U[0],Q=U[1];QO1(z,function(J,I){if(J)return Q(J);let K=I.tries;(function G(){try{let H=KD0(I);V4.stat(H,function(W){if(!W){if(K-- >0)return G();return Q(Error("Could not get a unique tmp filename, max tries reached "+H))}Q(null,H)})}catch(H){Q(H)}})()})}function vn($){let Y=lI($),U=Y[0],z=JO1(U),Q=z.tries;do{let J=KD0(z);try{V4.statSync(J)}catch(I){return J}}while(Q-- >0);throw Error("Could not get a unique tmp filename, max tries reached")}function rM1($,Y){let U=lI($,Y),z=U[0],Q=U[1];_n(z,function(I,K){if(I)return Q(I);V4.open(K,UD0,z.mode||384,function(H,W){if(H)return Q(H);if(z.discardDescriptor)return V4.close(W,function(Z){return Q(Z,K,void 0,Cn(K,-1,z,!1))});else{let X=z.discardDescriptor||z.detachDescriptor;Q(null,K,W,Cn(K,X?-1:W,z,!1))}})})}function sM1($){let Y=lI($),U=Y[0],z=U.discardDescriptor||U.detachDescriptor,Q=vn(U),J=V4.openSync(Q,UD0,U.mode||384);if(U.discardDescriptor)V4.closeSync(J),J=void 0;return{name:Q,fd:J,removeCallback:Cn(Q,z?-1:J,U,!0)}}function aM1($,Y){let U=lI($,Y),z=U[0],Q=U[1];_n(z,function(I,K){if(I)return Q(I);V4.mkdir(K,z.mode||448,function(H){if(H)return Q(H);Q(null,K,ID0(K,z,!1))})})}function tM1($){let Y=lI($),U=Y[0],z=vn(U);return V4.mkdirSync(z,U.mode||448),{name:z,removeCallback:ID0(z,U,!0)}}function eM1($,Y){let U=function(z){if(z&&!Rn(z))return Y(z);Y()};if(0<=$[0])V4.close($[0],function(){V4.unlink($[1],U)});else V4.unlink($[1],U)}function $O1($){let Y=null;try{if(0<=$[0])V4.closeSync($[0])}catch(U){if(!IO1(U)&&!Rn(U))throw U}finally{try{V4.unlinkSync($[1])}catch(U){if(!Rn(U))Y=U}}if(Y!==null)throw Y}function Cn($,Y,U,z){let Q=BB($O1,[Y,$],z),J=BB(eM1,[Y,$],z,Q);if(!U.keep)mI.unshift(Q);return z?Q:J}function ID0($,Y,U){let z=Y.unsafeCleanup?oM1:V4.rmdir.bind(V4),Q=Y.unsafeCleanup?JD0:zD0,J=BB(Q,$,U),I=BB(z,$,U,J);if(!Y.keep)mI.unshift(J);return U?J:I}function BB($,Y,U,z){let Q=!1;return function J(I){if(!Q){let K=z||J,G=mI.indexOf(K);if(G>=0)mI.splice(G,1);if(Q=!0,U||$===zD0||$===JD0)return $(Y);else return $(Y,I||function(){})}}}function YO1(){if(!QD0)return;while(mI.length)try{mI[0]()}catch($){}}function tN0($){let Y=[],U=null;try{U=aN0.randomBytes($)}catch(z){U=aN0.pseudoRandomBytes($)}for(let z=0;z<$;z++)Y.push("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"[U[z]%62]);return Y.join("")}function r8($){return typeof $>"u"}function lI($,Y){if(typeof $==="function")return[{},$];if(r8($))return[{},Y];let U={};for(let z of Object.getOwnPropertyNames($))U[z]=$[z];return[U,Y]}function UO1($,Y,U){let z=E6.isAbsolute($)?$:E6.join(Y,$);V4.stat(z,function(Q){if(Q)V4.realpath(E6.dirname(z),function(J,I){if(J)return U(J);U(null,E6.join(I,E6.basename(z)))});else V4.realpath(z,U)})}function zO1($,Y){let U=E6.isAbsolute($)?$:E6.join(Y,$);try{return V4.statSync(U),V4.realpathSync(U)}catch(z){let Q=V4.realpathSync(E6.dirname(U));return E6.join(Q,E6.basename(U))}}function KD0($){let Y=$.tmpdir;if(!r8($.name))return E6.join(Y,$.dir,$.name);if(!r8($.template))return E6.join(Y,$.dir,$.template).replace(YD0,tN0(6));let U=[$.prefix?$.prefix:"tmp","-",process.pid,"-",tN0(12),$.postfix?"-"+$.postfix:""].join("");return E6.join(Y,$.dir,U)}function En($,Y){if(typeof Y!=="string")throw Error(`${$} option must be a string, got "${typeof Y}".`);if(Y.includes(".."))throw Error("Relative value not allowed");return Y}function GD0($){if(!r8($.name)){let Y=$.name;if(E6.isAbsolute(Y))throw Error(`name option must not contain an absolute path, found "${Y}".`);let U=E6.basename(Y);if(U===".."||U==="."||U!==Y)throw Error(`name option must not contain a path, found "${Y}".`)}if(!r8($.template)){if(typeof $.template!=="string")throw Error(`template option must be a string, got "${typeof $.template}".`);if(!$.template.match(YD0))throw Error(`Invalid template, found "${$.template}".`)}if(!r8($.tries)&&isNaN($.tries)||$.tries<0)throw Error(`Invalid tries, found "${$.tries}".`);$.tries=r8($.name)?$.tries||3:1,$.keep=!!$.keep,$.detachDescriptor=!!$.detachDescriptor,$.discardDescriptor=!!$.discardDescriptor,$.unsafeCleanup=!!$.unsafeCleanup,$.prefix=r8($.prefix)?"":En("prefix",$.prefix),$.postfix=r8($.postfix)?"":En("postfix",$.postfix),$.template=r8($.template)?void 0:En("template",$.template)}function eN0($,Y,U,z){if(r8(Y))return z(null);UO1(Y,U,function(Q,J){if(Q)return z(Q);let I=E6.relative(U,J);if(I.startsWith("..")||E6.isAbsolute(I))return z(Error(`${$} option must be relative to "${U}", found "${I}".`));z(null,I)})}function $D0($,Y,U){if(r8(Y))return;let z=zO1(Y,U),Q=E6.relative(U,z);if(Q.startsWith("..")||E6.isAbsolute(Q))throw Error(`${$} option must be relative to "${U}", found "${Q}".`);return Q}function QO1($,Y){GO1($,function(U,z){if(U)return Y(U);$.tmpdir=z;try{GD0($,z)}catch(Q){return Y(Q)}eN0("dir",$.dir,z,function(Q,J){if(Q)return Y(Q);$.dir=r8(J)?"":J,eN0("template",$.template,z,function(I,K){if(I)return Y(I);$.template=K,Y(null,$)})})})}function JO1($){let Y=$.tmpdir=WD0($);GD0($,Y);let U=$D0("dir",$.dir,Y);return $.dir=r8(U)?"":U,$.template=$D0("template",$.template,Y),$}function IO1($){return HD0($,-mM1,"EBADF")}function Rn($){return HD0($,-lM1,"ENOENT")}function HD0($,Y,U){return dM1?$.code===U:$.code===U&&$.errno===Y}function KO1(){QD0=!0}function GO1($,Y){return V4.realpath($&&$.tmpdir||PB.tmpdir(),Y)}function WD0($){return V4.realpathSync($&&$.tmpdir||PB.tmpdir())}process.addListener("exit",YO1);Object.defineProperty(HO1,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return WD0()}});HO1.dir=aM1;HO1.dirSync=tM1;HO1.file=rM1;HO1.fileSync=sM1;HO1.tmpName=_n;HO1.tmpNameSync=vn;HO1.setGracefulCleanup=KO1});var qD0=E((ve1,ZD0)=>{ZD0.exports=async function*(Y){let U=[];Y.on("data",(K)=>U.push(K));let z,Q=new Promise((K)=>z=K),J=!1;Y.on("end",()=>{J=!0,z()});let I=!1;Y.on("error",(K)=>{I=K,z()});while(!J||U.length>0){if(U.length===0)Y.resume(),await Promise.race([wO1(Y,"data"),Q]);else Y.pause(),yield U.shift();if(I)throw I}z()};function wO1($,Y){return new Promise((U)=>{let z=!1,Q=()=>{if(!z)z=!0,$.removeListener(Y,Q),U()};$.addListener(Y,Q)})}});var MD0=E((he1,wD0)=>{var{EventEmitter:MO1}=I0("events"),OO1=gW(),NO1=Y6(),TB=Z8(),VD0=c4(),DO1=Y3(),AO1=jM(),LD0=CM();class FD0 extends MO1{constructor({workbook:$,id:Y,iterator:U,options:z}){super();this.workbook=$,this.id=Y,this.iterator=U,this.options=z||{},this.name=`Sheet${this.id}`,this._columns=null,this._keys={},this._dimensions=new DO1}destroy(){throw Error("Invalid Operation: destroy")}get dimensions(){return this._dimensions}get columns(){return this._columns}getColumn($){if(typeof $==="string"){let Y=this._keys[$];if(Y)return Y;$=VD0.l2n($)}if(!this._columns)this._columns=[];if($>this._columns.length){let Y=this._columns.length+1;while(Y<=$)this._columns.push(new LD0(this,Y++))}return this._columns[$-1]}getColumnKey($){return this._keys[$]}setColumnKey($,Y){this._keys[$]=Y}deleteColumnKey($){delete this._keys[$]}eachColumnKey($){NO1.each(this._keys,$)}async read(){try{for await(let $ of this.parse())for(let{eventType:Y,value:U}of $)this.emit(Y,U);this.emit("finished")}catch($){this.emit("error",$)}}async*[Symbol.asyncIterator](){for await(let $ of this.parse())for(let{eventType:Y,value:U}of $)if(Y==="row")yield U}async*parse(){let{iterator:$,options:Y}=this,U=!1,z=!1,Q=null;switch(Y.worksheets){case"emit":U=!0;break;case"prep":break;default:break}switch(Y.hyperlinks){case"emit":z=!0;break;case"cache":this.hyperlinks=Q={};break;default:break}if(!U&&!z&&!Q)return;let{sharedStrings:J,styles:I,properties:K}=this.workbook,G=!1,H=!1,W=!1,X=null,Z=null,q=null,V=null;for await(let F of OO1($)){let M=[];for(let{eventType:w,value:N}of F)if(w==="opentag"){let O=N;if(U)switch(O.name){case"cols":G=!0,X=[];break;case"sheetData":H=!0;break;case"col":if(G)X.push({min:parseInt(O.attributes.min,10),max:parseInt(O.attributes.max,10),width:parseFloat(O.attributes.width),styleId:parseInt(O.attributes.style||"0",10)});break;case"row":if(H){let D=parseInt(O.attributes.r,10);if(Z=new AO1(this,D),O.attributes.ht)Z.height=parseFloat(O.attributes.ht);if(O.attributes.s){let P=parseInt(O.attributes.s,10),T=I.getStyleModel(P);if(T)Z.style=T}}break;case"c":if(Z)q={ref:O.attributes.r,s:parseInt(O.attributes.s,10),t:O.attributes.t};break;case"f":if(q)V=q.f={text:""};break;case"v":if(q)V=q.v={text:""};break;case"is":case"t":if(q)V=q.v={text:""};break;case"mergeCell":break;default:break}if(z||Q)switch(O.name){case"hyperlinks":W=!0;break;case"hyperlink":if(W){let D={ref:O.attributes.ref,rId:O.attributes["r:id"]};if(z)M.push({eventType:"hyperlink",value:D});else Q[D.ref]=D}break;default:break}}else if(w==="text"){if(U){if(V)V.text+=N}}else if(w==="closetag"){let O=N;if(U)switch(O.name){case"cols":G=!1,this._columns=LD0.fromModel(X);break;case"sheetData":H=!1;break;case"row":this._dimensions.expandRow(Z),M.push({eventType:"row",value:Z}),Z=null;break;case"c":if(Z&&q){let D=VD0.decodeAddress(q.ref),P=Z.getCell(D.col);if(q.s){let T=I.getStyleModel(q.s);if(T)P.style=T}if(q.f){let T={formula:q.f.text};if(q.v)if(q.t==="str")T.result=TB.xmlDecode(q.v.text);else T.result=parseFloat(q.v.text);P.value=T}else if(q.v)switch(q.t){case"s":{let T=parseInt(q.v.text,10);if(J)P.value=J[T];else P.value={sharedString:T};break}case"inlineStr":case"str":P.value=TB.xmlDecode(q.v.text);break;case"e":P.value={error:q.v.text};break;case"b":P.value=parseInt(q.v.text,10)!==0;break;default:if(TB.isDateFmt(P.numFmt))P.value=TB.excelToDate(parseFloat(q.v.text),K.model&&K.model.date1904);else P.value=parseFloat(q.v.text);break}if(Q){let T=Q[q.ref];if(T)P.text=P.value,P.value=void 0,P.hyperlink=T}q=null}break;default:break}if(z||Q)switch(O.name){case"hyperlinks":W=!1;break;default:break}}if(M.length>0)yield M}}}wD0.exports=FD0});var DD0=E((Se1,ND0)=>{var{EventEmitter:BO1}=I0("events"),PO1=gW(),TO1=G5(),jO1=Y2();class OD0 extends BO1{constructor({workbook:$,id:Y,iterator:U,options:z}){super();this.workbook=$,this.id=Y,this.iterator=U,this.options=z}get count(){return this.hyperlinks&&this.hyperlinks.length||0}each($){return this.hyperlinks.forEach($)}async read(){let{iterator:$,options:Y}=this,U=!1,z=null;switch(Y.hyperlinks){case"emit":U=!0;break;case"cache":this.hyperlinks=z={};break;default:break}if(!U&&!z){this.emit("finished");return}try{for await(let Q of PO1($))for(let{eventType:J,value:I}of Q)if(J==="opentag"){let K=I;if(K.name==="Relationship"){let G=K.attributes.Id;switch(K.attributes.Type){case jO1.Hyperlink:{let H={type:TO1.RelationshipType.Styles,rId:G,target:K.attributes.Target,targetMode:K.attributes.TargetMode};if(U)this.emit("hyperlink",H);else z[H.rId]=H}break;default:break}}}this.emit("finished")}catch(Q){this.emit("error",Q)}}}ND0.exports=OD0});var TD0=E((ge1,PD0)=>{var hn=I0("fs"),{EventEmitter:EO1}=I0("events"),{PassThrough:CO1,Readable:RO1}=E8(),_O1=I0("stream"),vO1=sN0(),BD0=XD0(),Iz=qD0(),hO1=gW(),AD0=JN(),SO1=XN(),gO1=HN(),yO1=MD0(),kO1=DD0();BD0.setGracefulCleanup();class Sn extends EO1{constructor($,Y={}){super();this.input=$,this.options={worksheets:"emit",sharedStrings:"cache",hyperlinks:"ignore",styles:"ignore",entries:"ignore",...Y},this.styles=new AD0,this.styles.init()}_getStream($){if($ instanceof _O1.Readable||$ instanceof RO1)return $;if(typeof $==="string")return hn.createReadStream($);throw Error(`Could not recognise input: ${$}`)}async read($,Y){try{for await(let{eventType:U,value:z}of this.parse($,Y))switch(U){case"shared-strings":this.emit(U,z);break;case"worksheet":this.emit(U,z),await z.read();break;case"hyperlinks":this.emit(U,z);break}this.emit("end"),this.emit("finished")}catch(U){this.emit("error",U)}}async*[Symbol.asyncIterator](){for await(let{eventType:$,value:Y}of this.parse())if($==="worksheet")yield Y}async*parse($,Y){if(Y)this.options=Y;let U=this.stream=this._getStream($||this.input),z=vO1.Parse({forceStream:!0});U.pipe(z);let Q=[];for await(let J of Iz(z)){let I,K;switch(J.path){case"_rels/.rels":break;case"xl/_rels/workbook.xml.rels":await this._parseRels(J);break;case"xl/workbook.xml":await this._parseWorkbook(J);break;case"xl/sharedStrings.xml":yield*this._parseSharedStrings(J);break;case"xl/styles.xml":await this._parseStyles(J);break;default:if(J.path.match(/xl\/worksheets\/sheet\d+[.]xml/))if(I=J.path.match(/xl\/worksheets\/sheet(\d+)[.]xml/),K=I[1],this.sharedStrings&&this.workbookRels)yield*this._parseWorksheet(Iz(J),K);else await new Promise((G,H)=>{BD0.file((W,X,Z,q)=>{if(W)return H(W);Q.push({sheetNo:K,path:X,tempFileCleanupCallback:q});let V=hn.createWriteStream(X);return V.on("error",H),J.pipe(V),V.on("finish",()=>{return G()})})});else if(J.path.match(/xl\/worksheets\/_rels\/sheet\d+[.]xml.rels/))I=J.path.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),K=I[1],yield*this._parseHyperlinks(Iz(J),K);break}J.autodrain()}for(let{sheetNo:J,path:I,tempFileCleanupCallback:K}of Q){let G=hn.createReadStream(I);if(!G[Symbol.asyncIterator])G=G.pipe(new CO1);yield*this._parseWorksheet(G,J),K()}}_emitEntry($){if(this.options.entries==="emit")this.emit("entry",$)}async _parseRels($){let Y=new gO1;this.workbookRels=await Y.parseStream(Iz($))}async _parseWorkbook($){this._emitEntry({type:"workbook"});let Y=new SO1;await Y.parseStream(Iz($)),this.properties=Y.map.workbookPr,this.model=Y.model}async*_parseSharedStrings($){switch(this._emitEntry({type:"shared-strings"}),this.options.sharedStrings){case"cache":this.sharedStrings=[];break;case"emit":break;default:return}let Y=null,U=[],z=0,Q=null;for await(let J of hO1(Iz($)))for(let{eventType:I,value:K}of J)if(I==="opentag"){let G=K;switch(G.name){case"b":Q=Q||{},Q.bold=!0;break;case"charset":Q=Q||{},Q.charset=parseInt(G.attributes.charset,10);break;case"color":if(Q=Q||{},Q.color={},G.attributes.rgb)Q.color.argb=G.attributes.argb;if(G.attributes.val)Q.color.argb=G.attributes.val;if(G.attributes.theme)Q.color.theme=G.attributes.theme;break;case"family":Q=Q||{},Q.family=parseInt(G.attributes.val,10);break;case"i":Q=Q||{},Q.italic=!0;break;case"outline":Q=Q||{},Q.outline=!0;break;case"rFont":Q=Q||{},Q.name=G.value;break;case"si":Q=null,U=[],Y=null;break;case"sz":Q=Q||{},Q.size=parseInt(G.attributes.val,10);break;case"strike":break;case"t":Y=null;break;case"u":Q=Q||{},Q.underline=!0;break;case"vertAlign":Q=Q||{},Q.vertAlign=G.attributes.val;break}}else if(I==="text")Y=Y?Y+K:K;else if(I==="closetag")switch(K.name){case"r":U.push({font:Q,text:Y}),Q=null,Y=null;break;case"si":if(this.options.sharedStrings==="cache")this.sharedStrings.push(U.length?{richText:U}:Y);else if(this.options.sharedStrings==="emit")yield{index:z++,text:U.length?{richText:U}:Y};U=[],Q=null,Y=null;break}}async _parseStyles($){if(this._emitEntry({type:"styles"}),this.options.styles==="cache")this.styles=new AD0,await this.styles.parseStream(Iz($))}*_parseWorksheet($,Y){this._emitEntry({type:"worksheet",id:Y});let U=new yO1({workbook:this,id:Y,iterator:$,options:this.options}),z=(this.workbookRels||[]).find((J)=>J.Target===`worksheets/sheet${Y}.xml`),Q=z&&(this.model.sheets||[]).find((J)=>J.rId===z.Id);if(Q)U.id=Q.id,U.name=Q.name,U.state=Q.state;if(this.options.worksheets==="emit")yield{eventType:"worksheet",value:U}}*_parseHyperlinks($,Y){this._emitEntry({type:"hyperlinks",id:Y});let U=new kO1({workbook:this,id:Y,iterator:$,options:this.options});if(this.options.hyperlinks==="emit")yield{eventType:"hyperlinks",value:U}}}Sn.Options={worksheets:["emit","ignore"],sharedStrings:["cache","emit","ignore"],hyperlinks:["cache","emit","ignore"],styles:["cache","ignore"],entries:["emit","ignore"]};PD0.exports=Sn});var CD0=E((ye1,ED0)=>{var jD0={Workbook:eG0(),ModelContainer:UH0(),stream:{xlsx:{WorkbookWriter:nL0(),WorkbookReader:TD0()}}};Object.assign(jD0,G5());ED0.exports=jD0});var EZ=E((ke1,RD0)=>{if(parseInt(process.versions.node.split(".")[0],10)<10)throw Error("For node versions older than 10, please use the ES5 Import: https://github.com/exceljs/exceljs#es5-imports");RD0.exports=CD0()});var _D0,vD0,N5,xO1,fO1,uO1,bO1,iO1,fe1,ue1,be1,ie1,ce1;var gn=m(()=>{A$();_D0={"freeflow.submit":"提交送审","freeflow.agree":"审批同意","freeflow.autoAgree":"自动同意","freeflow.reject":"审批驳回","freeflow.back":"审批退回","freeflow.print":"打印单据","freeflow.retract":"单据撤回","freeflow.addnode":"加签/转交","freeflow.comment":"发表评论","freeflow.pay":"支付成功","freeflow.paying":"发起支付","freeflow.carbonCopy":"抄送单据","freeflow.cc":"抄送单据"},vD0={APPROVING:"审批中",APPROVED:"审批通过",REJECTED:"审批驳回",REVOKED:"已撤回",CANCELED:"已取消",CANCELLED:"已取消",SKIPPED:"已跳过",SUBMITTED:"已提交",PENDING:"待审批",WAITING:"待处理",COMPLETED:"已完成",DRAFT:"草稿",PAID:"已支付",PAYING:"支付中"},N5=L.object({id:L.string().optional(),name:L.string().optional(),code:L.string().optional()}),xO1=L.object({id:L.string().optional(),nodeId:L.string().optional(),time:L.number().optional(),durationMs:L.number().optional(),state:L.string().optional(),rawState:L.string().optional(),action:L.string().optional(),rawAction:L.string().optional(),nodeName:L.string().optional(),comment:L.string().optional(),rawComment:L.string().optional(),automatic:L.boolean().default(!1),isEbot:L.boolean().default(!1),skipped:L.boolean().default(!1),operator:N5.optional(),nextOperators:L.array(N5).default([]),rejectTargetNodeName:L.string().optional(),rejectTargetOperator:N5.optional(),resubmitRuleText:L.string().optional(),isModification:L.boolean().default(!1)}),fO1=L.object({id:L.string().optional(),name:L.string().optional(),type:L.string().optional(),state:L.enum(["当前","后续","已完成"]).default("后续"),isCurrent:L.boolean().default(!1),approver:N5.optional(),approvers:L.array(N5).default([])}),uO1=L.object({rejectionNum:L.number().int().nonnegative().default(0),submitCount:L.number().int().positive().default(1),sourceFlowVersion:L.union([L.string(),L.number()]).optional(),isModifiedAfterReject:L.boolean().default(!1),retractCount:L.number().int().nonnegative().default(0),isResubmittedAfterRetract:L.boolean().default(!1)}),bO1=L.object({nodeName:L.string().optional(),operator:N5.optional(),action:L.string().optional(),rawAction:L.string().optional(),time:L.number().optional(),comment:L.string(),isEbot:L.boolean().default(!1)}),iO1=L.object({time:L.number().optional(),nodeName:L.string().optional(),operator:N5.optional(),isEbot:L.boolean().default(!1),reason:L.string(),rawComment:L.string().optional(),fromNodeName:L.string().optional(),targetNodeName:L.string().optional(),targetOperator:N5.optional(),resubmitRuleText:L.string().optional()}),fe1=L.object({backlogId:L.string(),flowId:L.string().optional(),billCode:L.string().optional(),title:L.string().optional(),state:L.string().optional(),rawState:L.string().optional(),currentNode:L.string().optional(),specification:L.object({id:L.string().optional(),name:L.string().optional(),code:L.string().optional()}).optional(),submitter:N5.optional(),owner:N5.optional(),submitDate:L.number().optional(),updateTime:L.number().optional(),history:L.array(xO1),pending:L.array(fO1),metrics:uO1,staffOpinions:L.array(bO1),rejections:L.array(iO1),raw:L.record(L.string(),L.unknown()).optional()}),ue1=L.object({id:L.string(),state:L.string().optional(),nodeName:L.string().optional(),flowId:L.record(L.string(),L.unknown()).optional(),nodeState:L.record(L.string(),L.unknown()).optional()}).passthrough(),be1=L.object({count:L.number().optional(),items:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),ie1=L.object({value:L.record(L.string(),L.unknown()).optional(),items:L.array(L.record(L.string(),L.unknown())).optional()}).passthrough(),ce1=L.object({recordId:L.string(),sourceDocumentSN:L.string().optional(),taskMode:L.string().optional(),aiDecision:L.string().optional(),aiAction:L.string().optional(),eHumanAction:L.string(),eHumanComment:L.string(),auditDrift:L.boolean().default(!1),auditDriftReason:L.string().optional(),operator:N5.optional()})});function hD0($,Y){let U=B$($.domain||"https://app.ekuaibao.com");return K5.create({prefix:U,timeout:30000,searchParams:{accessToken:$.accessToken},headers:{...Y},hooks:{beforeError:[async({error:z})=>{let Q=z instanceof D6?await z.response.text().catch(()=>""):"";return z.message=`${z.message}${Q?`: ${Q}`:""}`,z}]}})}async function oI($,Y){if($.source.type!=="hose")throw Error(`Unsupported Hose source type: ${$.source.type}. Expected 'hose'.`);let U=await nQ($);return hD0({domain:$.source.domain,accessToken:U},Y)}var jB=m(()=>{iQ();t9()});var EB=m(()=>{t9()});var SD0=m(()=>{jB();EB();jB();EB()});var g1,N9,u$,pO1,gD0,yD0,dO1,kD0,mO1,xD0,lO1,fD0,oO1,yn;var kn=m(()=>{A$();g1=L.preprocess(($)=>$===null?void 0:$,L.string().optional()),N9=L.preprocess(($)=>$===null?void 0:$,L.boolean().optional()),u$=L.preprocess(($)=>$===null?void 0:$,L.number().optional()),pO1=L.object({nodeId:g1,nodeName:g1,nextId:g1,nextName:g1,comment:g1,isUrgent:N9,isEbotNode:N9,isAuto:N9,isSkip:N9,skipped:N9,counterSign:N9,nextCounterSign:N9,complete:N9}).passthrough(),gD0=L.object({id:g1,action:g1,state:g1,operatorId:g1,nextOperatorId:g1,nextOperatorIds:L.preprocess(($)=>Array.isArray($)?$:[],L.array(L.string())).default([]),time:u$,attributes:L.preprocess(($)=>$===null?void 0:$,pO1.optional())}).passthrough(),yD0=L.object({code:g1,title:g1,submitterId:g1,submitDate:u$,expenseDate:u$,rejectionNum:L.preprocess(($)=>$===null?void 0:$,L.union([L.number(),L.string()]).optional()),reviewStatus:g1,specificationId:g1,payMoney:L.preprocess(($)=>$===null?void 0:$,L.record(L.string(),L.unknown()).optional()),expenseMoney:L.preprocess(($)=>$===null?void 0:$,L.record(L.string(),L.unknown()).optional()),details:L.preprocess(($)=>$===null?void 0:$,L.array(L.record(L.string(),L.unknown())).optional())}).passthrough(),dO1=L.object({id:L.string(),version:u$,state:g1,flowType:g1,formType:g1,ownerId:g1,createTime:u$,updateTime:u$,form:L.preprocess(($)=>$===null?void 0:$,yD0.optional()),logs:L.preprocess(($)=>Array.isArray($)?$:[],L.array(gD0)).default([]),actions:L.preprocess(($)=>$===null?void 0:$,L.record(L.string(),L.array(L.string())).optional())}).passthrough(),kD0=L.object({value:L.preprocess(($)=>$===null?void 0:$,dO1.optional())}).passthrough(),mO1=L.object({id:L.string(),flowId:g1,nodeId:g1,nodeName:g1,ownerId:g1,state:g1,logId:u$,action:g1,createTime:u$,updateTime:u$,isUrgent:N9}).passthrough(),xD0=L.object({count:L.preprocess(($)=>typeof $==="number"?$:0,L.number()).default(0),items:L.preprocess(($)=>Array.isArray($)?$:[],L.array(mO1)).default([])}).passthrough(),lO1=L.object({id:g1,flowId:g1,version:u$,state:g1,createTime:u$,updateTime:u$,form:L.preprocess(($)=>$===null?void 0:$,yD0.optional()),logs:L.preprocess(($)=>Array.isArray($)?$:[],L.array(gD0)).default([]),modifyFlowLog:L.preprocess(($)=>Array.isArray($)?$:void 0,L.array(L.record(L.string(),L.unknown())).optional())}).passthrough(),fD0=L.object({count:L.preprocess(($)=>typeof $==="number"?$:0,L.number()).default(0),items:L.preprocess(($)=>Array.isArray($)?$:[],L.array(lO1)).default([])}).passthrough(),oO1=L.object({id:L.string(),name:g1,enName:g1,nickName:g1,code:g1,cellphone:g1,email:g1,active:N9,userId:g1,defaultDepartment:g1}).passthrough(),yn=L.object({items:L.preprocess(($)=>Array.isArray($)?$:[],L.array(oO1)).default([])}).passthrough()});async function uD0($,Y){try{let U=await $.get("api/openapi/v1.1/flowDetails",{searchParams:{flowId:Y}}).json();return kD0.parse(U).value}catch(U){if(U instanceof D6&&(U.response.status===404||U.response.status===412))return;throw U}}async function bD0($,Y){try{let U=await $.get("api/openapi/v1.1/flowDetails/allLogs",{searchParams:{flowId:Y}}).json();return xD0.parse(U).items}catch(U){if(U instanceof D6&&(U.response.status===404||U.response.status===412))return[];throw U}}async function iD0($,Y,U){try{let z=await $.get("api/openapi/v1/flow/versioned",{searchParams:{flow_id:Y,pageNum:U?.pageNum??1,pageSize:U?.pageSize??20,convertFeeType:U?.convertFeeType??!0}}).json();return fD0.parse(z).items}catch(z){if(z instanceof D6&&(z.response.status===404||z.response.status===412))return[];throw z}}async function rO1($,Y){if(!Y.conditionIds||Y.conditionIds.length===0)return[];try{let U=await $.post("api/openapi/v1/staffs/getStaffIds",{json:{type:Y.type,conditionIds:Y.conditionIds.slice(0,100)}}).json();return yn.parse(U).items}catch(U){if(Y.conditionIds.length>1){let z=[];for(let Q of Y.conditionIds)try{let J=await $.post("api/openapi/v1/staffs/getStaffIds",{json:{type:Y.type,conditionIds:[Q]}}).json(),I=yn.parse(J);z.push(...I.items)}catch{}return z}return[]}}async function xn($,Y,U){let[z,Q,J]=await Promise.all([uD0($,Y),bD0($,Y).catch(()=>[]),iD0($,Y).catch(()=>[])]),I=U??new Map,K=[],G=(W)=>{if(W&&typeof W==="string"&&W!=="ebot"&&!I.has(W))K.push(W)};for(let W of Q)G(W.ownerId);for(let W of z?.logs||[])G(W.operatorId),G(W.nextOperatorId);let H=[...new Set(K)];if(H.length>0)try{let W=await rO1($,{type:"STAFFID",conditionIds:H});for(let X of W){if(X.id)I.set(X.id,X);if(X.cellphone)I.set(X.cellphone,X)}}catch{}return{flowDetails:z,allLogs:Q,versions:J,staffMap:I}}var fn=m(()=>{iQ();kn()});var sO1,H04,W04;var un=m(()=>{A$();sO1=L.object({id:L.string(),state:L.string().optional(),nodeName:L.string().optional(),flowId:L.record(L.string(),L.unknown()).optional(),nodeState:L.record(L.string(),L.unknown()).optional()}).passthrough(),H04=L.object({count:L.number().optional(),items:L.array(L.record(L.string(),L.unknown())).default([])}).passthrough(),W04=L.object({value:L.record(L.string(),L.unknown()).optional(),items:L.array(L.record(L.string(),L.unknown())).optional()}).passthrough()});var CB=m(()=>{un()});var nD0=m(()=>{fn();CB();CB()});var bn=m(()=>{kn();jB();fn()});var cn=m(()=>{un();EB();CB()});function JN1($){if(!$||typeof $!=="string")return;let Y=$.replace(/<[^>]*>/g,"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/ /g," ").trim();return Y.length>0?Y:void 0}function IN1($){if(!$)return;return _D0[$]||$}function mD0($){if(!$)return;return vD0[$.toUpperCase()]||$}function CZ($){if(typeof $==="string"){let J=$.trim();return J?{id:J}:void 0}if(!$||typeof $!=="object")return;let Y=$;if(Y.signerId&&typeof Y.signerId==="object")Y=Y.signerId;let U=typeof Y.id==="string"?Y.id.trim():void 0,z=typeof Y.name==="string"&&Y.name.trim()?Y.name.trim():typeof Y.nickName==="string"&&Y.nickName.trim()?Y.nickName.trim():void 0,Q=typeof Y.code==="string"&&Y.code.trim()?Y.code.trim():void 0;if(!U&&!z&&!Q)return;return{id:U,name:z,code:Q}}function KN1($,Y){if(Y?.isEbotNode===!0)return!0;if(`${$?.id||""} ${$?.name||""}`.toLowerCase().includes("ebot"))return!0;if($?.name?.includes("智能审批")||$?.name?.includes("AI审批"))return!0;if(typeof Y?.nodeName==="string"&&(Y.nodeName.toLowerCase().includes("ebot")||Y.nodeName.includes("智能审批")))return!0;return!1}function GN1($,Y=!1,U=!1){if(U)return{id:$?.id||"ebot",name:"Ebot (智能审批)",code:$?.code};if(!$&&Y)return{id:"system",name:"系统自动"};return $}function HN1($,Y,U,z){let J=[...Array.isArray($)?$.filter((G)=>Boolean(G&&typeof G==="object")):[]].sort((G,H)=>(Number(G.time)||0)-(Number(H.time)||0)),I=(G)=>{if(!G)return;let H=CZ(G);if(!H)return;if(!H.name&&Y&&H.id){let W=H.id.split(":"),X=Y.get(H.id)||(W.length>1&&W[1]?Y.get(W[1]):void 0);if(X?.name)return{...H,name:X.name,code:X.code||H.code}}return H},K=[];for(let G=0;Gg&&typeof g==="object"&&g.ownerId===k&&typeof g.nodeName==="string");if($0?.nodeName)t=String($0.nodeName).trim()}K.push({id:typeof c.flowVersionedId==="string"?`modify-${c.flowVersionedId}`:void 0,time:z0,state:"审批中",rawState:"MODIFY",action:"修改了单据",rawAction:"flow.modify",nodeName:t,comment:"修改了单据",rawComment:"修改了单据",automatic:!1,isEbot:!1,skipped:!1,isModification:!0,operator:d,nextOperators:[]})}}let Z=CZ(H.operatorId),q=KN1(Z,W),V=Boolean(W.isEbotNode===!0||W.isAuto===!0||H.action==="freeflow.autoAgree"||!H.operatorId||q),F=GN1(Z,V,q);if(F&&!F.name&&Y&&F.id){let c=I(F.id);if(c?.name)F=c}let M=typeof H.action==="string"?H.action:void 0,w=IN1(M),N=typeof H.state==="string"?H.state:void 0,O=mD0(N),D,P,T,A;if(M==="freeflow.reject"){let c;if(Array.isArray(U)){let t=U.find(($0)=>$0&&typeof $0==="object"&&$0.action==="freeflow.reject"&&($0.ownerId===H.operatorId||Math.abs((Number($0.updateTime)||0)-(X||0))<2000));if(t&&typeof t.nodeName==="string")c=t.nodeName.trim()}if(!c&&W.nodeId){let t=J.find(($0)=>$0&&typeof $0==="object"&&$0.attributes?.nodeId===W.nodeId&&$0.action!=="freeflow.reject"&&$0.attributes?.nodeName);if(t)c=String(t.attributes.nodeName).trim()}if(!c){let t=typeof H.operatorId==="object"?H.operatorId?.id:H.operatorId,$0=J.find((g)=>{return(typeof g.operatorId==="object"?g.operatorId?.id:g.operatorId)===t&&g.action!=="freeflow.reject"&&g.attributes?.nodeName});if($0)c=String($0.attributes.nodeName).trim();else if(W.nodeName&&W.nodeName!=="提交人")c=String(W.nodeName).trim()}D=c||"审批节点",P=typeof W.nodeName==="string"&&W.nodeName?W.nodeName.trim():typeof W.nextName==="string"&&W.nextName?W.nextName.trim():"提交人";let z0=typeof H.nextOperatorId==="string"?H.nextOperatorId:void 0;if(z0)T=I(z0);if((!T||!T.name)&&(P==="提交人"||P.includes("提交"))&&z)T=I(z);let k=String(W.resubmitMethod||"").toUpperCase(),d=F?.name||"原审批人";if(k==="TO_REJECTOR")A=`重新提交后由${d}继续审批`;else if(k==="START_OVER"||k==="TO_START"||k==="ALL"||k==="RE_START")A="重新提交后重新全流程审批";else if(k==="NEXT_NODE")A="重新提交后流转至下一节点";else A=`重新提交后由${d}继续审批`}else D=typeof W.nodeName==="string"&&W.nodeName?W.nodeName:typeof W.nextName==="string"&&W.nextName?W.nextName:w==="打印单据"?"打印提醒":void 0;let j=typeof W.comment==="string"?W.comment:void 0,C=JN1(j),b=Boolean(W.isSkip===!0||W.skipped===!0||N==="SKIPPED"),S=(Array.isArray(H.nextOperatorIds)?H.nextOperatorIds:H.nextOperatorId?[H.nextOperatorId]:[]).map(I).filter((c)=>Boolean(c)),i=typeof W.nodeId==="string"&&W.nodeId?W.nodeId:typeof H.nodeId==="string"&&H.nodeId?H.nodeId:void 0;K.push({id:typeof H.id==="string"?H.id:void 0,nodeId:i,time:X,state:O,rawState:N,action:w,rawAction:M,nodeName:D,comment:C,rawComment:j,automatic:V,isEbot:q,skipped:b,operator:F,nextOperators:S,rejectTargetNodeName:P,rejectTargetOperator:T,resubmitRuleText:A,isModification:!1})}K.sort((G,H)=>(Number(G.time)||0)-(Number(H.time)||0));for(let G=0;G=H.time)H.durationMs=W.time-H.time}return K}function WN1($,Y){return $.filter((z)=>{let Q=String(z.state||"").toUpperCase();if(Q==="CANCELED"||Q==="CANCELLED"||Q==="PROCESSED"||Q==="COMPLETED"||Q==="PAID")return!1;return z.logId===-1||Q==="APPROVING"||Q==="PROCESSING"||Q==="PAYING"}).map((z,Q)=>{let J=CZ(z.ownerId);if(J&&!J.name&&Y&&z.ownerId){let I=z.ownerId.split(":"),K=Y.get(z.ownerId)||(I.length>1&&I[1]?Y.get(I[1]):void 0);if(K?.name)J={...J,name:K.name,code:K.code||J.code}}return{id:z.nodeId||z.id,name:z.nodeName,type:z.state,state:Q===0?"当前":"后续",isCurrent:Q===0,approver:J,approvers:J?[J]:[]}})}function XN1($,Y,U,z){let Q=$.form&&typeof $.form==="object"?$.form:{},J=Y.filter((w)=>w.rawAction==="freeflow.reject"||w.rawState==="REJECTED"||w.action==="审批驳回"),I=typeof Q.rejectionNum==="number"?Q.rejectionNum:typeof Q.rejectionNum==="string"?parseInt(Q.rejectionNum,10)||void 0:void 0,K=I!==void 0?I:J.length,G=Y.filter((w)=>w.rawAction==="freeflow.submit"||w.rawState==="SUBMITTED"||w.action==="提交送审"),H=typeof Q.submitCount==="number"?Q.submitCount:void 0,W=z&&z.length>0?z.length:void 0,X=H!==void 0?H:W!==void 0?Math.max(W,G.length,1):Math.max(1,G.length),Z=Y.filter((w)=>w.rawAction==="freeflow.retract"||w.rawState==="REVOKED"||w.action==="单据撤回"),q=Z.length,V=Q.sourceFlowVersion??$.sourceFlowVersion??Q.version??$.version,F=!1;if(K>0||J.length>0){let w=Math.max(...J.map((j)=>j.time??0),0),N=Y.some((j)=>(j.time??0)>w&&(j.rawAction==="freeflow.submit"||j.rawState==="SUBMITTED"||j.action==="提交送审")),O=Y.some((j)=>(j.time??0)>w&&j.rawAction!=="freeflow.reject"&&j.rawAction!=="freeflow.print"),P=String(U?.state??$.state??"").toUpperCase()==="REJECTED"||J.length>0&&Y.at(-1)?.rawAction==="freeflow.reject",T=typeof Q.submitDate==="number"?Q.submitDate:0,A=typeof Q.updateTime==="number"?Q.updateTime:typeof $.updateTime==="number"?$.updateTime:0;F=N||!P&&(O||T>w||A>w||X>K)}let M=!1;if(q>0){let w=Math.max(...Z.map((T)=>T.time??0),0),N=Y.some((T)=>(T.time??0)>w&&(T.rawAction==="freeflow.submit"||T.rawState==="SUBMITTED"||T.action==="提交送审")),D=String(U?.state??$.state??"").toUpperCase()==="REVOKED"||Z.length>0&&Y.at(-1)?.rawAction==="freeflow.retract",P=typeof Q.updateTime==="number"?Q.updateTime:typeof $.updateTime==="number"?$.updateTime:0;M=N||!D&&(X>1||P>w)}return{rejectionNum:K,submitCount:X,sourceFlowVersion:typeof V==="string"||typeof V==="number"?V:void 0,isModifiedAfterReject:F,retractCount:q,isResubmittedAfterRetract:M}}function ZN1($){return $.filter((Y)=>Boolean(Y.comment&&Y.comment.trim())).map((Y)=>({nodeName:Y.nodeName,operator:Y.operator,action:Y.action,rawAction:Y.rawAction,time:Y.time,comment:Y.comment,isEbot:Y.isEbot}))}function qN1($){return $.filter((Y)=>Y.rawAction==="freeflow.reject"||Y.rawState==="REJECTED"||Y.action==="审批驳回").map((Y)=>({time:Y.time,nodeName:Y.nodeName,operator:Y.operator,isEbot:Y.isEbot,reason:Y.comment||"未填写驳回原因",rawComment:Y.rawComment,fromNodeName:Y.nodeName,targetNodeName:Y.rejectTargetNodeName,targetOperator:Y.rejectTargetOperator,resubmitRuleText:Y.resubmitRuleText}))}function VN1($,Y){let{flowDetails:U,allLogs:z,versions:Q,staffMap:J}=$;if(!U)return;let I=U.form||{},K=typeof I.submitterId==="string"?I.submitterId:typeof U.ownerId==="string"?U.ownerId:void 0,G=HN1(U.logs||[],J,z,K),H=U.state,W=mD0(H),X=String(H||"").toUpperCase(),q=["COMPLETED","APPROVED","PAID","REVOKED","CANCELED","CANCELLED","REJECTED"].includes(X)?[]:WN1(z,J),V=q.find((O)=>O.isCurrent)?.name,F=XN1(U,G,void 0,Q),M=ZN1(G),w=qN1(G),N;if(I.specificationId&&typeof I.specificationId==="object"){let O=I.specificationId;N={id:typeof O.id==="string"?O.id:void 0,name:typeof O.name==="string"?O.name:void 0,code:typeof O.code==="string"?O.code:void 0}}else if(typeof I.specificationId==="string")N={id:I.specificationId};return{backlogId:U.id||Y||"",flowId:U.id,billCode:typeof I.code==="string"?I.code:void 0,title:typeof I.title==="string"?I.title:void 0,state:W,rawState:H,currentNode:V,specification:N,submitter:CZ(I.submitterId),owner:CZ(U.ownerId||I.ownerId),submitDate:typeof I.submitDate==="number"?I.submitDate:void 0,updateTime:typeof I.updateTime==="number"?I.updateTime:typeof U.updateTime==="number"?U.updateTime:void 0,history:G,pending:q,metrics:F,staffOpinions:M,rejections:w,raw:U}}async function RB($,Y,U){let z=await xn($,Y,U);return VN1(z,Y)}function pD0($){if(!$)return"-";let Y=$.toUpperCase();if(Y==="APPROVE"||Y==="通过")return"通过";if(Y==="EXEMPT_APPROVE"||Y==="免审通过"||Y==="备注通过")return"备注通过";if(Y==="REVIEW"||Y==="转交复核")return"转交复核";if(Y==="REJECT"||Y==="驳回")return"驳回";if(Y==="ERROR"||Y==="错误")return"错误";return $}function rI($){let Y=[];for(let U of $){if(U.rawAction==="freeflow.carbonCopy"||U.rawAction==="freeflow.cc"||U.action==="抄送单据"||U.action==="抄送通知")continue;if((U.rawAction==="freeflow.print"||U.action==="打印提醒"||U.action==="打印单据")&&!U.comment)continue;let z=U.operator?.name||U.operator?.id||"未知",Q=U.rawAction==="freeflow.retract"||U.action==="单据撤回",J=U.nodeName?.trim()?`${U.nodeName.trim()}(${z})`:Q?`提交人(${z})`:z,I=U.comment;if(!I)if(U.rawAction==="flow.modify"||U.action==="修改了单据"||U.isModification)I="修改了单据";else if(U.rawAction==="freeflow.agree"||U.action==="审批同意")I="同意";else if(U.rawAction==="freeflow.autoAgree")I="自动同意";else if(U.rawAction==="freeflow.pay"||U.action==="支付成功"||U.action==="支付完成")I="支付成功";else if(U.rawAction==="freeflow.paying"||U.action==="发起支付"||U.action==="支付中")I="发起支付";else if(U.rawAction==="freeflow.reject"||U.action==="审批驳回")I="驳回";else if(U.rawAction==="freeflow.back"||U.action==="审批退回")I="退回修改";else if(U.rawAction==="freeflow.retract"||U.action==="单据撤回")I="单据撤回";else I=U.action||"-";let K="";if(U.rawAction==="flow.modify"||U.action==="修改了单据"||U.isModification||I==="修改了单据")K="✏️";else if(U.rawAction==="freeflow.autoAgree"||U.action==="自动同意"||I==="自动同意"||U.automatic)K="\uD83E\uDD16";else if(U.rawAction==="freeflow.retract"||U.action==="单据撤回"||I==="单据撤回")K="↩️";else if(U.rawAction==="freeflow.reject"||U.action==="审批驳回"||U.rawAction==="freeflow.back"||U.action==="审批退回"||I==="驳回"||I==="退回修改")K="❌";else if((U.rawAction==="freeflow.pay"||U.action==="支付成功"||U.action==="支付完成")&&(I==="支付成功"||I==="支付完成"||!I))K="\uD83D\uDCB0";else if(U.rawAction==="freeflow.addnode"||U.action?.includes("加签")||U.action?.includes("转交")||U.action?.includes("转办")||I?.includes("转交")||I?.includes("加签"))K="\uD83D\uDD00";else if(U.rawAction==="freeflow.paying"||U.rawAction==="freeflow.comment"||U.action==="发表评论"||U.action==="添加评论"||U.rawAction==="freeflow.pay"&&I!=="支付成功")K="\uD83D\uDCAC";let G=K?` ${K}`:"",H=`${J}${G}: ${I}`;if(Y.length===0||Y[Y.length-1]!==H)Y.push(H)}return Y}function sI($,Y=[],U="forward"){if($.length===0&&Y.length===0)return"-";if(U==="forward"){let J=[...$,...Y].map((G,H)=>`${H+1}. ${G}`),I=J.filter((G)=>G.includes("修改了单据")),K=J.filter((G)=>!G.includes("修改了单据"));return[...I,...K].join(` `)}let z=[];Y.forEach((Q,J)=>{let I=$.length+J+1,K=J===0?"⏳ ":"";z.push(`${K}${I}. ${Q}`)});for(let Q=$.length-1;Q>=0;Q--){let J=Q+1;z.push(`${J}. ${$[Q]}`)}return z.join(` `)}function nn($,Y,U,z,Q){let J=$?.operator||Y?.operator||U?.operator,I=J?.name||J?.id||U?.operatorName||"",K=($?.nodeName||Y?.fromNodeName||Y?.nodeName||U?.nodeName||"").trim();if(K==="合思审批节点"||K==="外部审批节点"||K.includes("合思审批")||K.includes("外部审批"))K="";if((!K||K==="提交人"||K==="审批节点")&&I&&z){let M=z.find((w)=>w.operator?.name===I&&w.nodeName&&w.nodeName.trim()!=="提交人"&&!w.isEbot&&w.rawAction!=="freeflow.reject");if(M?.nodeName)K=M.nodeName.trim()}let H=$?.comment||Y?.reason||U?.rejectComment||"修改";if(H.includes(":")){let M=H.split(":");if(M.length>1)H=M.slice(1).join(":").trim()}let W=H;if(K&&I)W=`${K}(${I}) ❌: ${H}`;else if(I)W=`${I} ❌: ${H}`;else if(K)W=`${K} ❌: ${H}`;else W=H;let X=$?.rejectTargetNodeName||Y?.targetNodeName||"提交人",Z=$?.rejectTargetOperator?.name||Y?.targetOperator?.name||Q?.submitter?.name,q=Z?`${X}(${Z})`:X,V=$?.resubmitRuleText||Y?.resubmitRuleText||(I?`重新提交后由${I}继续审批`:"重新提交后继续审批");return{comment:`${W} ↳ 驳回至: ${q} -↳ ${V}`,operator:J}}function dD0($){if(!$)return[];let Y=$.pending||[],U=String($.rawState||"").toUpperCase(),z=String($.state||"").toUpperCase(),Q=[];if(Y.length>0)for(let J of Y){let I=J.approver?.name||J.approver?.id||"待定",K=(J.name||$.currentNode||"").trim(),G=K?`${K}(${I})`:I,W=J.type?.toUpperCase()==="PAYING"||K.includes("支付")||U==="PAYING"||z==="支付中"?"待支付":"待审批";Q.push(`${G}: ${W}`)}else if($.currentNode?.trim()){let I=$.currentNode.includes("支付")||U==="PAYING"||z==="支付中"?"待支付":"待审批";Q.push(`${$.currentNode.trim()}: ${I}`)}return Q}function Kz($,Y){let U=new Map;if(!$||$.length===0)return U;if(!Y){for(let q of $){let F=(q.result||{}).decision||q.aiDecision||"-";U.set(q.id,{recordId:q.id,sourceDocumentSN:q.sourceDocumentSN,taskMode:q.taskMode,aiDecision:pD0(typeof F==="string"?F:"-"),aiAction:"-",eHumanAction:"-",eHumanComment:"-",auditDrift:!1})}return U}let z=[...$].sort((q,V)=>(Number(q.createdAt)||0)-(Number(V.createdAt)||0)),Q=Y.history||[],J=String(Y.rawState||"").toUpperCase(),I=String(Y.state||"").toUpperCase(),K=J==="DRAFT"||J==="REVOKED"||J==="CANCELED"||J==="CANCELLED"||I==="草稿"||I==="已撤回"||I==="已取消",G=J==="REJECTED"||J==="TERMINATED"||I==="审批驳回"||I==="已驳回",H=!K&&!G&&(J==="PAID"||I==="已支付"||Q.some((q)=>!q.isEbot&&(q.rawAction==="freeflow.pay"||q.action==="支付成功"||q.action==="支付完成"))),W=!K&&!G&&!H&&(J==="PAYING"||I==="支付中"||(Y.pending||[]).some((q)=>q.isCurrent&&(q.type?.toUpperCase()==="PAYING"||q.name?.includes("支付")))||Y.currentNode?.includes("支付")===!0),Z=H||!K&&!G&&!W&&(J==="COMPLETED"||J==="APPROVED"||I==="已完成"||I==="审批通过");for(let q=0;qA0.nodeId&&(A0.nodeId===P||P.includes(A0.nodeId))):void 0,A=T?.time??F,j=z[q+1],C=j?Number(j.createdAt)||1/0:1/0,b=q===z.length-1,x=Q.find((A0)=>(A0.time??0)>A+5000&&A0.isEbot&&(A0.nodeName?.includes("智能")||A0.nodeName?.includes("AI")||A0.action?.includes("智能")||A0.comment?.includes("AI")||A0.comment?.includes("approval-result"))&&!A0.nodeName?.includes("费用标准检查")&&!A0.nodeName?.includes("标准检查")&&!A0.nodeName?.includes("预算"));if(x){if(b=!1,(x.time??1/0){let Q0=A0.time??0;return Q0>=A-Y1&&Q0(A0.time??0)>A+5000),u1=k1.some((A0)=>A0.rawAction==="freeflow.retract"||A0.action==="单据撤回"),b1=k1.some((A0)=>A0.rawAction==="freeflow.submit"||A0.action==="提交送审");if(D1&&b&&(u1||b1))f0=!0,u0="AI通过后单据发生撤回/修改重提,后续未经AI复审";if(p&&k)W0="无操作",F0="-";else{let A0=a.filter((v)=>(v.time??0)>=A-1000&&!v.isEbot&&v.rawAction!=="freeflow.submit"&&v.action!=="提交送审"&&!((v.rawAction==="freeflow.comment"||v.action==="发表评论")&&!v.comment)&&!((v.rawAction==="freeflow.print"||v.action==="打印提醒")&&!v.comment)&&!(v.rawAction==="freeflow.carbonCopy"||v.rawAction==="freeflow.cc"||v.action==="抄送通知")),Q0=A0.find((v)=>v.rawAction==="freeflow.retract"||v.action==="单据撤回"),B=A0.find((v)=>v.rawAction==="freeflow.reject"||v.action==="审批驳回");if(!b)if(B||!Y&&i0){W0="审批驳回",f0=!1,u0=void 0;let v=nn(B,void 0,w,Q,Y);F0=v.comment,c0=v.operator}else if(Q0||E0||!B&&s.includes("单据撤回")){W0="已撤回",c0=Q0?.operator;let v=Q0?A0.filter((r)=>(r.time??0)<=(Q0.time??1/0)):A0,u=rI(v);for(let r of v)if(!c0&&r.operator)c0=r.operator;if(Q0&&!u.some((r)=>r.includes("单据撤回")))u.push(`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`);F0=u.length>1?sI(u,[],"forward"):u.length===1?u[0]:Q0?`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`:"单据已撤回"}else{W0="已修改重提";let v=rI(A0);for(let u of A0)if(!c0&&u.operator)c0=u.operator;F0=v.length>1?sI(v,[],"forward"):v.length===1?v[0]:"-"}else if(B){W0="审批驳回",f0=!1,u0=void 0;let v=nn(B,void 0,w,Q,Y);F0=v.comment,c0=v.operator}else if(Z||!Y&&G0){let v=a.some((r)=>r.rawAction==="flow.modify"||r.isModification||r.action==="修改了单据");W0=H?v?"已支付 (中途修改)":"已支付":v?"审批通过 (中途修改)":"审批通过";let u=rI(A0);for(let r of A0)if(!c0&&r.operator)c0=r.operator;if(u.length>0)F0=sI(u,[],"forward");else{let r=[...a].reverse().find((X0)=>!X0.isEbot&&(X0.rawAction==="freeflow.agree"||X0.action==="审批同意"||X0.rawAction==="freeflow.pay"));if(F0=r?.comment?`1. ${r.comment}`:"-",!c0)c0=r?.operator}}else if(W){W0="⏳ 支付中";let v=rI(A0);for(let r of A0)if(!c0&&r.operator)c0=r.operator;let u=dD0(Y);F0=sI(v,u,"reverse")}else if(K||Q0&&!b1||E0){W0="已撤回",c0=Q0?.operator;let v=rI(A0);for(let u of A0)if(!c0&&u.operator)c0=u.operator;if(Q0&&!v.some((u)=>u.includes("单据撤回")))v.push(`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`);F0=v.length>1?sI(v,[],"forward"):v.length===1?v[0]:Q0?`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`:"单据已撤回"}else if(G||!Y&&i0){W0="审批驳回",f0=!1,u0=void 0;let v=nn(void 0,Y?.rejections?.[0],w,Q,Y);F0=v.comment,c0=v.operator}else{W0="⏳ 审批中";let v=rI(A0);for(let r of A0)if(!c0&&r.operator)c0=r.operator;let u=dD0(Y);F0=sI(v,u,"reverse")}}U.set(V.id,{recordId:V.id,sourceDocumentSN:V.sourceDocumentSN,taskMode:V.taskMode,aiDecision:pD0(c),aiAction:e,eHumanAction:W0,eHumanComment:F0,auditDrift:f0,auditDriftReason:u0,operator:c0})}return U}var lD0=m(()=>{bn();cn();gn()});var pn=m(()=>{bn();cn();gn();SD0();nD0();lD0()});import{existsSync as oD0,mkdirSync as rD0,statSync as LN1}from"node:fs";import{homedir as FN1}from"node:os";import{dirname as wN1,extname as MN1,resolve as _B}from"node:path";function x2($,Y=!1){if($===void 0||$===null||$==="")return;if(typeof $==="number")return String($);let U=String($).trim();if(!U)return;if(/^\d{10,13}$/.test(U))return U.length===10?`${U}000`:U;if(/^\d{4}-\d{2}-\d{2}$/.test(U)){let J=new Date(`${U}${Y?"T23:59:59.999+08:00":"T00:00:00.000+08:00"}`).getTime();if(!Number.isNaN(J))return String(J)}let z=new Date(U).getTime();if(!Number.isNaN(z))return String(z);return U}function mn($){if($===void 0||$===null||$==="")return;if($ instanceof Date)return Number.isNaN($.getTime())?void 0:$.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"});let Y=String($).trim();if(!Y)return;if(/^\d{4}-\d{2}-\d{2}/.test(Y))return Y.slice(0,10);if(/^\d{10}$/.test(Y)){let z=new Date(Number(Y)*1000);return Number.isNaN(z.getTime())?void 0:z.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}if(/^\d{13}$/.test(Y)||/^\d+$/.test(Y)){let z=new Date(Number(Y));return Number.isNaN(z.getTime())?void 0:z.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}let U=new Date(Y);return Number.isNaN(U.getTime())?void 0:U.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function dn($=0,Y=new Date){return new Date(Y.getTime()+$*86400000).toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function ON1($,Y=0){let U=new Date(`${$}T00:00:00+08:00`);return U.setDate(U.getDate()+Y),U.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function ln($={}){let Y=$.maxSpanDays??180,U=$.startDate!==void 0&&$.startDate!==null&&String($.startDate).trim()!=="",z=$.endDate!==void 0&&$.endDate!==null&&String($.endDate).trim()!=="",Q="",J="";if(U){let Z=mn($.startDate);if(!Z)throw Error(`无效的起始时间参数: "${String($.startDate)}"。请使用 YYYY-MM-DD 或有效时间戳。`);Q=Z}if(z){let Z=mn($.endDate);if(!Z)throw Error(`无效的结束时间参数: "${String($.endDate)}"。请使用 YYYY-MM-DD 或有效时间戳。`);J=Z}if(!U&&!z){if(Q=dn(-1),J=dn(0),!$.silent)console.error(`ℹ️ 未指定导出起止时间,已自动采用默认区间: ${Q}至${J}(昨天至今天)。`)}else if(U&&!z){if(J=dn(0),!$.silent)console.error(`ℹ️ 未指定导出结束时间,已自动补齐截至今天: ${Q}至${J}。`)}else if(!U&&z){if(Q=ON1(J,-30),!$.silent)console.error(`ℹ️ 未指定导出起始时间,已自动向前回溯 30 天: ${Q}至${J}。`)}let I=x2(Q,!1),K=x2(J,!0);if(Number(I)>Number(K))throw Error(`起始时间 (${Q}) 不能晚于结束时间 (${J})。`);let G=new Date(`${Q}T00:00:00+08:00`).getTime(),H=new Date(`${J}T00:00:00+08:00`).getTime(),W=Math.round((H-G)/86400000);if(W>Y){if(!$.force)throw Error(`时间跨度超过 ${Y} 天(当前为 ${W} 天),大范围导出耗时较长且占用系统资源。如确认需要导出,请添加 --force 参数强制执行。`);if(!$.silent)console.error(`⚠️ 时间跨度超过 ${Y} 天(当前为 ${W} 天),已按 --force 强制执行大范围导出。`)}let X=`${Q}至${J}`;return{startDateStr:Q,endDateStr:J,startDateTs:I,endDateTs:K,dateTag:X,spanDays:W}}function NN1($){if(!$)return;let Y=Array.isArray($)?$:[$],U=[];for(let z of Y){let Q=z.trim().toUpperCase();if(["APPROVED","已通过","已完成","已支付","已支付/审批完成"].includes(Q))U.push("APPROVED");else if(["TERMINATED","REJECTED","REJECT","驳回","被驳回","已驳回"].includes(Q))U.push("TERMINATED");else if(["PROCESSING","审批中","处理中"].includes(Q))U.push("PROCESSING");else if(["CANCELLED","CANCELED","已撤回","已撤销"].includes(Q))U.push("CANCELLED");else if(Q)U.push(Q)}return U.length>0?U:void 0}function DN1($,Y,U){if(!Y)return U?`${$} (${U})`:$;return(Y.split(/[。\n\r;;!!]/)[0]?.trim()||Y.trim()).replace(/[*#`_]/g,"").trim().slice(0,22)}function AN1($=new Date){let Y=new Intl.DateTimeFormat("en-CA",{timeZone:"Asia/Shanghai",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1}).formatToParts($),U=(G)=>Y.find((H)=>H.type===G)?.value||"",z=U("year"),Q=U("month"),J=U("day"),I=U("hour"),K=U("minute");return`${z}${Q}${J}_${I}${K}`}function BN1($){if($.outputFile){let K=_B($.outputFile),G=MN1(K).toLowerCase();if(G&&G!==".xlsx")throw Error(`导出路径错误: 本命令仅支持导出 Excel 工作簿,文件扩展名必须为 .xlsx(当前指定为 "${G}")。请使用 .xlsx 后缀,例如: ${K.slice(0,-G.length)}.xlsx`);if(!G)K=`${K}.xlsx`;let H=wN1(K);if(!oD0(H))rD0(H,{recursive:!0});return K}let Y=$.corpName.replace(/[/\\?%*:|"<>]/g,"_").trim()||"审批记录",U=$.dateTag||new Date().toISOString().slice(0,10),z=$.recordCount>0?`${$.recordCount}条`:"空数据",Q=AN1($.exportTime||new Date),J=`${Y}_审核记录_${U}_${z}_${Q}.xlsx`,I;if($.toDownloads)I=_B(FN1(),"Downloads");else I=_B(process.cwd(),"exports");if(!oD0(I))rD0(I,{recursive:!0});return _B(I,J)}async function vB($,Y,U={}){let z=Y.name||Y.id,Q=U.pageSize??100,J=U.pageDelayMs??250,I=U.limit??1e5,K=Boolean(U.startDate||U.endDate),G=Array.isArray(U.sns)?U.sns.map((g)=>g.trim()).filter(Boolean):[],H=G.length>0,W=new Set(G),X=ln({startDate:U.startDate,endDate:U.endDate,force:U.force,silent:!K&&H}),{startDateTs:Z,endDateTs:q}=X,V=X.dateTag,F=NN1(U.manualApprovalStatus);console.error(`正在加载企业「${z}」审核规则集...`);let M=new Map;try{(await p6($)).rules.forEach((p,e)=>{let y=`rule-${p.code??e}`,s=DN1(y,p.description,p.scope);M.set(y,{id:y,code:String(p.code??e),title:`[${y}] ${s}`,desc:p.description})})}catch(g){console.error(`⚠️ 加载规则字典失败: ${g.message},将仅导出基础信息列。`)}let w=Array.from(M.keys()).sort((g,p)=>{let e=parseInt(g.replace(/\D/g,""),10)||0,y=parseInt(p.replace(/\D/g,""),10)||0;return e-y});if(console.error(`已就绪 ${w.length} 个规则列。开始拉取单据...`),U.withFlow===!0&&Y.source.type==="hose")if(H)console.error(`\uD83C\uDFAF [单据筛选] 已指定定向筛选单号: [${G.join(", ")}] (共 ${G.length} 个)。`);else try{let g=await i4($,{limit:1,startDate:Z,endDate:q,status:U.status,sourceSystem:U.sourceSystem,taskMode:U.taskMode,manualApprovalStatus:F}),p=g.total??g.records?.length??0,e=Math.max(1,Math.min(U.flowConcurrency??3,5)),y=Math.max(1,Math.ceil(p/e*0.4));if(p>50)console.error(`⚠️ [审批流对齐提示] 目标区间内单据规模约为 ${p} 笔。系统已启用合思 Open API 保护限流(并发 ${e}),预计审批流拉取耗时约 ${y} 秒。`)}catch{}let N=[],O=0,D=0;if(H&&G.length<=50){console.error(`正在定向检索 ${G.length} 个指定单号...`);for(let g of G){try{let e=((await i4($,{search:g,limit:50,startDate:K?Z:void 0,endDate:K?q:void 0,status:U.status,sourceSystem:U.sourceSystem,taskMode:U.taskMode,manualApprovalStatus:F})).records||[]).filter((y)=>y.sourceDocumentSN===g);for(let y of e){if(!(U.taskMode==="simulation"||U.includeSimulation===!0||Y.environment==="test")&&y.taskMode==="simulation"){O++;continue}if(U.taskMode&&y.taskMode!==U.taskMode)continue;if(Y.source.type==="hose"&&y.sourceSystem&&!["hose","hosecloud"].includes(y.sourceSystem)){D++;continue}if(U.includeCompletedOnly&&y.status!=="completed")continue;if(y.status==="completed"&&(!y.result||!y.result.rulesResult))try{let Y0=await H4($,y.id);N.push(Y0)}catch{N.push(y)}else N.push(y);if(N.length>=I)break}}catch(p){console.error(`⚠️ 定向检索单号 [${g}] 失败: ${p.message}`)}if(N.length>=I)break}console.error(`定向检索完成,成功匹配 ${N.length} 条记录。`)}else{let g=0,p=0;while(N.length0)try{e=await i4($,{limit:Q,offset:g,startDate:Z,endDate:q,status:U.status,sourceSystem:U.sourceSystem,taskMode:U.taskMode,manualApprovalStatus:F});break}catch(Y0){if(y--,console.error(`分页拉取失败 (offset=${g}): ${Y0.message},剩余重试 ${y} 次...`),y===0)throw Y0;await new Promise((N0)=>setTimeout(N0,1000))}if(!e||!e.records||e.records.length===0)break;p=e.total??p;for(let Y0 of e.records){if(H&&(!Y0.sourceDocumentSN||!W.has(Y0.sourceDocumentSN)))continue;if(!(U.taskMode==="simulation"||U.includeSimulation===!0||Y.environment==="test")&&Y0.taskMode==="simulation"){O++;continue}if(U.taskMode&&Y0.taskMode!==U.taskMode)continue;if(Y.source.type==="hose"&&Y0.sourceSystem&&!["hose","hosecloud"].includes(Y0.sourceSystem)){D++;continue}if(U.includeCompletedOnly&&Y0.status!=="completed")continue;if(Y0.status==="completed"&&(!Y0.result||!Y0.result.rulesResult))try{let E0=await H4($,Y0.id);N.push(E0)}catch{N.push(Y0)}else N.push(Y0);if(N.length>=I)break}g+=e.records.length;let s=p>0?(g/p*100).toFixed(1):"-";if(g%500===0||g>=p||N.length>=I)console.error(`[进度] 已读取单据: ${g}/${p} (${s}%),有效加入: ${N.length} 条`);if(e.records.length=p)break;if(J>0)await new Promise((Y0)=>setTimeout(Y0,J))}}if(O>0)console.error(`ℹ️ 已自动排除 ${O} 条模拟测试任务 (taskMode="simulation"),仅保留真实审批任务。`);if(D>0)console.error(`ℹ️ 已自动排除 ${D} 条非合思来源单据,仅保留合思业务单据。`);if(!K&&H&&N.length>0){let g=N.map((p)=>mn(p.createdAt||p.updatedAt)).filter(Boolean);if(g.length>0){g.sort();let p=g[0],e=g[g.length-1];V=p===e?p:`${p}至${e}`}}console.error(`成功拉取 ${N.length} 条单据数据,正在生成高保真 Excel...`);let P=new sD0.default.Workbook;P.creator="Seal AI (seal-use)",P.created=new Date;let T=P.addWorksheet("审核记录明细",{views:[{state:"frozen",ySplit:1,xSplit:2}]}),A=U.withFlow===!0&&Y.source.type==="hose",j=[{header:"单据编号",key:"sn",width:16},{header:"单据模板名称",key:"templateName",width:26},{header:"来源系统",key:"sourceSystem",width:12},{header:"任务模式",key:"taskMode",width:12},{header:"状态",key:"status",width:12},{header:"AI行为",key:"aiAction",width:14},{header:"AI决策",key:"aiDecision",width:14},{header:"思考深度",key:"thinkingDepth",width:12},{header:"人工审核",key:"manualStatus",width:16},{header:"人工驳回原因",key:"humanRejectReason",width:36},...A?[{header:"E人工行为",key:"eHumanAction",width:18},{header:"E人工意见",key:"eHumanComment",width:36}]:[],{header:"创建时间",key:"createdAt",width:20},{header:"任务耗时",key:"duration",width:12},{header:"关联规则数",key:"hitRuleCount",width:12},{header:"关联规则汇总",key:"hitRulesSummary",width:30},{header:"AI审核结论摘要",key:"aiSummary",width:45}],C=w.map((g)=>{return{header:M.get(g).title,key:`rule_${g}`,width:22}});T.columns=[...j,...C];let b=T.getRow(1);b.height=32,b.eachCell((g,p)=>{let e=p<=j.length;g.font={name:"Microsoft YaHei",bold:!0,color:{argb:"FFFFFFFF"},size:11},g.fill={type:"pattern",pattern:"solid",fgColor:{argb:e?"FF1E3A8A":"FF334155"}},g.alignment={vertical:"middle",horizontal:e&&p<=2?"left":"center",wrapText:!1}});let x={},S=0,i=new Map,c=new Set,z0=U.excludeDeleted??!0;if(U.withFlow===!0&&Y.source.type==="hose"){try{let g=new Map;for(let e of N){let y=e.sourceDocumentId||e.sourceDocumentSN;if(y){let s=g.get(y)||[];s.push(e),g.set(y,s)}}let p=Array.from(g.keys());if(p.length>0){let e=Math.max(1,Math.min(U.flowConcurrency??3,5)),y=U.flowBatchDelayMs??150,s=Math.max(1,Math.ceil(p.length/e*(0.25+y/1000)));console.error(`正在拉取合思原生审批流以对齐人工行为与意见 (共 ${p.length} 个单据,并发限制: ${e},批次间隔: ${y}ms,预计耗时约 ${s}s)...`);let Y0=await oI(Y),N0=new Map;for(let E0=0;E0{let i0=g.get(T0),Y1=i0[0]?.sourceDocumentSN||T0;try{let a=await RB(Y0,T0,N0);if(!a){c.add(Y1);let F0=Kz(i0,void 0);for(let[f0,u0]of F0.entries())u0.eHumanAction="单据已删除",u0.eHumanComment="合思系统中未找到该单据流转记录(可能已在合思端删除或作废)",i.set(f0,u0);return}let W0=Kz(i0,a);for(let[F0,f0]of W0.entries())i.set(F0,f0)}catch(a){console.error(`⚠️ 拉取单据 ${Y1} 审批流失败: ${a.message},使用降级对齐。`);let W0=Kz(i0,void 0);for(let[F0,f0]of W0.entries())i.set(F0,f0)}})),y>0&&E0+esetTimeout(T0,y));if((E0+e)%20=p.length){let T0=Math.min(E0+G0.length,p.length),i0=Math.round(T0/p.length*100);console.error(`[审批流进度] 已对齐: ${T0}/${p.length} (${i0}%)...`)}}}}catch(g){console.error(`⚠️ 对齐合思审批流失败: ${g.message},E人工行为与意见将使用默认值。`)}if(c.size>0)console.error(`ℹ️ 检测到 ${c.size} 个单据在合思端已删除或不存在(如: ${Array.from(c).slice(0,3).join(", ")}...)${z0?",已按要求自动排除。":",已在报表中标记为「单据已删除」。"}`)}let k=0,d=0;for(let g of N){let p=g.sourceDocumentSN||g.sourceDocumentId;if(z0&&p&&c.has(p)){d++;continue}k++;let e=g.result||{},y=g.document||{},s="未知模板";if(Array.isArray(y.fields)){let B=y.fields.find((v)=>v.label==="单据模板"||v.label==="流程名称"||v.key==="templateName"||v.key==="specificationId"||v.key==="formName");if(B?.value)s=String(B.value)}if(s==="未知模板"&&(y.name||y.title))s=y.name||y.title;let Y0=g.taskMode||"-";if(Y0==="assisted")Y0="辅助审核";else if(Y0==="simulation")Y0="测试任务";else if(Y0==="automatic")Y0="自动审批";let N0=g.status||"-";if(N0==="completed")N0="已完成";else if(N0==="processing")N0="处理中";else if(N0==="failed")N0="失败";let E0=e.decision||g.aiDecision||"-",G0=String(E0).toUpperCase(),T0=String(E0),i0="-";if(G0==="APPROVE"||G0==="通过")T0="通过",i0="添加评论";else if(G0==="EXEMPT_APPROVE"||G0==="免审通过"||G0==="备注通过")T0="备注通过",i0="添加评论";else if(G0==="REVIEW"||G0==="转交复核")T0="转交复核",i0="转交复核";else if(G0==="REJECT"||G0==="驳回")T0="驳回",i0="驳回";else if(G0==="ERROR"||G0==="错误")T0="错误",i0="-";let Y1="-";if(g.createdAt&&g.updatedAt&&g.status==="completed"){let B=Math.round((Number(g.updatedAt)-Number(g.createdAt))/1000);if(B>=60)Y1=`${Math.floor(B/60)}分${B%60}秒`;else if(B>0)Y1=`${B}秒`}let a=g.manualApprovalRecord||{},W0=String(a.status?.sourceStatus||""),F0="-";if(a.status?.label)F0=String(a.status.label);else if(a.status?.type){let B=String(a.status.type);if(B==="APPROVED")F0="已通过";else if(B==="TERMINATED")F0="被驳回";else if(B==="PROCESSING")F0="处理中";else if(B==="CANCELLED")F0="已撤回";else F0=B}x[F0]=(x[F0]||0)+1;let f0=a.rejectComment?String(a.rejectComment).trim():"-";if(f0!=="-")S++;let u0=new Map,c0=[];if(Array.isArray(e.rulesResult)){for(let B of e.rulesResult)if(B.id)u0.set(B.id,B.checkResult||"PASS"),c0.push(B.id)}if(Array.isArray(e.hitRules)){for(let B of e.hitRules)if(B.id&&!u0.has(B.id))u0.set(B.id,"TRIGGERED"),c0.push(B.id)}let D1="-";if(g.createdAt)D1=new Date(Number(g.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1});let k1=i.get(g.id),u1=k1?k1.eHumanAction:"-",b1=k1?k1.eHumanComment:"-",A0={sn:g.sourceDocumentSN||g.sourceDocumentId||"-",templateName:s,sourceSystem:g.sourceSystem||"合思",taskMode:Y0,status:N0,aiAction:i0,aiDecision:T0,thinkingDepth:"标准",manualStatus:F0,humanRejectReason:f0,...A?{eHumanAction:u1,eHumanComment:b1}:{},createdAt:D1,duration:Y1,hitRuleCount:c0.length,hitRulesSummary:c0.join(", ")||"-",aiSummary:e.summary||"-"};for(let B of w){let v=u0.get(B);if(v)if(v==="PASS")A0[`rule_${B}`]="关联 (通过)";else if(v==="FAIL")A0[`rule_${B}`]="关联 (不通过)";else if(v==="UNKNOWN")A0[`rule_${B}`]="关联 (待复核)";else A0[`rule_${B}`]="已关联";else A0[`rule_${B}`]="未关联"}let Q0=T.addRow(A0);Q0.height=24,Q0.eachCell((B,v)=>{let u=String(B.value||"");if(B.font={name:"Microsoft YaHei",size:10},B.border={top:{style:"thin",color:{argb:"FFE2E8F0"}},bottom:{style:"thin",color:{argb:"FFE2E8F0"}},left:{style:"thin",color:{argb:"FFE2E8F0"}},right:{style:"thin",color:{argb:"FFE2E8F0"}}},v<=j.length){let X0=j[v-1]?.key||"",J0=["sn","templateName","humanRejectReason","eHumanComment","hitRulesSummary","aiSummary"].includes(X0),q0=["humanRejectReason","eHumanComment","hitRulesSummary","aiSummary"].includes(X0);if(B.alignment={vertical:"middle",horizontal:J0?"left":"center",wrapText:q0},X0==="aiDecision"){if(u==="通过"||u==="备注通过")B.font={color:{argb:"FF16A34A"},bold:!0};else if(u==="转交复核")B.font={color:{argb:"FFD97706"},bold:!0};else if(u==="驳回")B.font={color:{argb:"FFDC2626"},bold:!0};else if(u==="错误"||u==="ERROR")B.font={color:{argb:"FFDC2626"},bold:!0}}if(X0==="manualStatus"){if(u.includes("驳回"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FFDC2626"},bold:!0},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else if(u.includes("通过")||u.includes("支付")||u.includes("完成"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF16A34A"},bold:!0},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}};else if(u.includes("处理中")||u.includes("审批中"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF2563EB"}},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFEFF6FF"}};else if(u.includes("取消")||u.includes("撤回"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF64748B"}},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFF1F5F9"}}}if(X0==="humanRejectReason"&&u!=="-")B.font={name:"Microsoft YaHei",size:9,color:{argb:"FF991B1B"}};if(X0==="eHumanAction"){if(u.includes("⚠️")||u.includes("修改"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FFD97706"},bold:!0},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}};else if(u.includes("驳回")||u.includes("退回"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FFDC2626"},bold:!0},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else if(u.includes("通过")||u.includes("已支付")||u.includes("已完成"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF16A34A"},bold:!0},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}};else if(u.includes("待处理")||u.includes("处理中")||u.includes("审核中")||u.includes("审批中")||u.includes("支付中"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF2563EB"},bold:!0},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFEFF6FF"}};else if(u.includes("撤回")||u.includes("取消"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF64748B"}},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFF1F5F9"}};else if(u==="无操作")B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF94A3B8"}}}if(X0==="eHumanComment"&&u!=="-")B.font={name:"Microsoft YaHei",size:9,color:{argb:"FF334155"}}}else if(B.alignment={vertical:"middle",horizontal:"center"},u.includes("不通过"))B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}},B.font={color:{argb:"FF991B1B"},bold:!0};else if(u.includes("通过"))B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}},B.font={color:{argb:"FF166534"},bold:!0};else if(u.includes("待复核")||u.includes("已关联"))B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}},B.font={color:{argb:"FF92400E"}};else B.font={color:{argb:"FF94A3B8"}}})}let t=BN1({outputFile:U.outputFile,toDownloads:U.toDownloads,corpName:z,dateTag:V,recordCount:k,exportTime:U.exportTime});await P.xlsx.writeFile(t),console.error(`Excel 文件已成功落地: ${t}`);let $0=LN1(t);return{filePath:t,corpId:Y.id,corpName:z,recordCount:k,ruleColumnCount:w.length,statusCounts:x,rejectReasonCount:S,fileSizeBytes:$0.size,exportedAt:new Date().toISOString(),excludedDeletedCount:d,excludedSimulationCount:O}}var sD0;var hB=m(()=>{X6();pn();sD0=J6(EZ(),1)});import aD0 from"node:fs";import tD0 from"node:path";function PN1($){try{let Y=new URL($);if(Y.search)return`${Y.origin}${Y.pathname}?[MASKED]`;return $}catch{return $.replace(/\?.*$/,"?[MASKED]")}}function sn($){return $.replace(/[/\\?%*:|"<>]/g,"_").trim()||"attachment"}function eD0($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}function TN1($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function Q4($){return typeof $==="string"&&$.trim()?$.trim():void 0}function on($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function jN1($){if(!$)return;if(typeof $==="string")try{let Y=JSON.parse($);if(Y&&typeof Y==="object")return Y}catch{return}if(typeof $==="object"&&!Array.isArray($))return $;return}function EN1($,Y,U){if(U?.fieldType?.toUpperCase()==="ATTACHMENT"){if(Boolean($.fileName||$.filename||$.name||$.originalName||$.fileId||$.ossPath||$.url||$.ossSignedUrl||$.signedUrl||$.token))return!0}if($.ossSignedUrl||$.signedUrl)return!0;let z=$.fileName??$.filename??$.name??$.originalName,Q=$.fileId??$.id??$.attachmentId,J=$.ossPath??$.ossKey,I=$.url??$.downloadUrl??$.previewUrl,K=$.mimeType??$.mimetype??$.contentType,G=$.ossFileSize??$.fileSize??$.size;if(z&&(I||J||Q||G))return!0;if(Q&&(K||G||J||I))return!0;let H=Object.keys($).map((Z)=>Z.toLowerCase());return(/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(Y)||Boolean(U?.fieldKey&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(U.fieldKey))||Boolean(U?.fieldLabel&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(U.fieldLabel)))&&["filename","filename","mimetype","contenttype","fileid","osspath","signedurl","downloadurl","previewurl","attachmentid","ossfilesize","osssignedurl"].some((Z)=>H.includes(Z))}function CN1($,Y,U){let z=`${$} ${U?.fieldLabel??""} ${U?.fieldKey??""} ${Q4(Y.type)??""} ${Q4(Y.category)??""}`.toLowerCase();if(z.includes("invoice")||z.includes("发票"))return"invoice";if(z.includes("receipt"))return"receipt";let Q=(Q4(Y.fileName)??Q4(Y.name)??"").toLowerCase();if(Q.includes("发票")||Q.includes("invoice"))return"invoice";return"attachment"}function rn($,Y,U,z,Q){if(Array.isArray($)){$.forEach((H,W)=>rn(H,`${Y}.${W}`,U,z,Q));return}let J=TN1($);if(!J)return;let I=J.type&&typeof J.type==="string"||"label"in J&&"value"in J||"key"in J&&"value"in J,K=Q;if(I)K={fieldLabel:Q4(J.label)??Q?.fieldLabel,fieldKey:Q4(J.key)??Q?.fieldKey,fieldType:Q4(J.type)??Q?.fieldType};if(!(Array.isArray(J.value)&&!J.url&&!J.ossSignedUrl&&!J.fileId)&&EN1(J,Y,Q)){let H=jN1(J.token),W=Q4(H?.key),X=Q4(H?.fileId),Z=eD0({path:Y,fieldPath:Y,kind:CN1(Y,J,Q),fileName:Q4(J.fileName)??Q4(J.filename)??Q4(J.name)??Q4(J.originalName),mimeType:Q4(J.mimeType)??Q4(J.mimetype)??Q4(J.contentType),fileId:Q4(J.fileId)??Q4(J.id)??Q4(J.attachmentId)??X,ossPath:Q4(J.ossPath)??Q4(J.ossKey)??W,url:Q4(J.url)??Q4(J.signedUrl)??Q4(J.downloadUrl)??Q4(J.previewUrl),ossSignedUrl:Q4(J.ossSignedUrl)??Q4(J.signedUrl),token:J.token,tokenKey:W,category:Q4(J.category),ossFileSize:on(J.ossFileSize)??on(J.fileSize)??on(J.size),invoiceId:Q4(J.invoiceId),sourceField:Q4(J.fieldName)??Q4(J.label)??Q?.fieldLabel??Q?.fieldKey}),q=JSON.stringify(Z);if(!z.has(q))z.add(q),U.push(Z)}for(let[H,W]of Object.entries(J))rn(W,`${Y}.${H}`,U,z,K)}function f2($,Y={}){let U=[["document",$.document],["result",$.result],["pipelineData",$.pipelineData],["sourceExtendData",$.sourceExtendData]],z=[],Q=new Set;for(let[J,I]of U)rn(I,J,z,Q);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,count:z.length,attachments:Y.summary?z.map((J)=>eD0({path:J.path,kind:J.kind,fileName:J.fileName,mimeType:J.mimeType,fileId:J.fileId,sourceField:J.sourceField,ossFileSize:J.ossFileSize,hasSignedUrl:Boolean(J.ossSignedUrl)})):z}}async function SB($){let{record:Y,fetchFn:U=globalThis.fetch}=$,Q=f2(Y,{summary:!1}).attachments,J=tD0.resolve($.outDir??"./attachments");if(Q.length===0)return{recordId:Y.id,outDir:J,total:0,downloaded:0,failed:0,files:[]};let I=[];if($.name){let X=$.name.toLowerCase();if(I=Q.filter((Z)=>{let q=Z.fileName?.toLowerCase()??"",V=Z.fileId?.toLowerCase()??"",F=Z.tokenKey?.toLowerCase()??"";return q.includes(X)||V===X||F.includes(X)}),I.length===0){let Z=Q.map((q)=>q.fileName??q.fileId).filter(Boolean).join(", ");throw Error(`未找到匹配 "${$.name}" 的附件。可选附件: ${Z||"无"}`)}}else if(!$.all){if(Q.length>1){let X=Q.map((Z)=>Z.fileName??Z.fileId).filter(Boolean).join(", ");throw Error(`共发现 ${Q.length} 个附件。请使用 --all 下载全部附件,或使用 --name <名称|fileId> 指定下载项。可选附件: ${X}`)}I=Q}else I=Q;await aD0.promises.mkdir(J,{recursive:!0});let K=[],G=new Set;for(let X of I){let Z=X.fileName??X.fileId??"attachment",q=sn(Z),V=q,F=q.lastIndexOf("."),M=F>0?q.slice(0,F):q,w=F>0?q.slice(F):"",N=1;while(G.has(V.toLowerCase()))V=`${M}_${N}${w}`,N++;G.add(V.toLowerCase());let O=X.ossSignedUrl??X.url;if(!O){console.error(`⚠️ [跳过] 附件 "${Z}": 记录中无下载直链 (ossSignedUrl/url)`),K.push({name:V,fileId:X.fileId,status:"failed",error:"缺少可用的下载直链 (ossSignedUrl/url)。",sourceField:X.sourceField,tokenKey:X.tokenKey});continue}let D=PN1(O);try{let P=await U(O,{signal:AbortSignal.timeout(60000)});if(!P.ok){let C=P.status===403?"HTTP 403 Forbidden: 签名直链可能已过期":`HTTP ${P.status} ${P.statusText}`;throw Error(C)}let T=await P.arrayBuffer(),A=Buffer.from(T);if(X.ossFileSize!==void 0&&A.length!==X.ossFileSize)console.error(`⚠️ [校验] 附件 "${V}" 实际大小 (${A.length} 字节) 与 ossFileSize (${X.ossFileSize} 字节) 不一致`);let j=tD0.join(J,V);await aD0.promises.writeFile(j,A),console.error(`✓ 已下载: ${V} (${A.length} 字节)`),K.push({name:V,fileId:X.fileId,path:j,size:A.length,expectedSize:X.ossFileSize,status:"success",sourceField:X.sourceField,tokenKey:X.tokenKey})}catch(P){let T=P.message??String(P);console.error(`⚠️ [失败] 附件 "${Z}" 下载失败: ${T} [${D}]`),K.push({name:V,fileId:X.fileId,status:"failed",error:T,sourceField:X.sourceField,tokenKey:X.tokenKey})}}let H=K.filter((X)=>X.status==="success").length,W=K.filter((X)=>X.status==="failed").length;return{recordId:Y.id,outDir:J,total:I.length,downloaded:H,failed:W,files:K}}var gB=()=>{};var RN1,_N1,vN1,hN1,$A0,an,tn,SN1,gN1,yN1,en,kN1,yB;var $p=m(()=>{A$();RN1=L.object({type:L.literal("hose"),domain:L.string().url().default("https://app.ekuaibao.com"),appKey:L.string().optional(),appSecurity:L.string().optional(),key:L.string().optional(),password:L.string().optional(),staffId:L.string(),corpId:L.string(),sealUrl:L.string().url().optional()}).superRefine(($,Y)=>{if(!$.appKey&&!$.key)Y.addIssue({code:"custom",path:["appKey"],message:"Hose source requires appKey or key"});if(!$.appSecurity&&!$.password)Y.addIssue({code:"custom",path:["appSecurity"],message:"Hose source requires appSecurity or password"})}),_N1=L.object({type:L.literal("direct"),token:L.string(),sealUrl:L.string().url(),expiresIn:L.number().int().positive().default(3600),staffId:L.string().default("direct"),corpId:L.string().optional()}),vN1=L.object({type:L.literal("seal"),token:L.string(),sealUrl:L.string().url(),expiresIn:L.number().int().positive().default(3600),staffId:L.string().default("seal"),corpId:L.string().optional(),tenantId:L.string().optional(),tenantSlug:L.string().optional(),tenantName:L.string().optional(),providerUserId:L.string().optional(),provider:L.string().optional(),providerName:L.string().optional()}),hN1=L.discriminatedUnion("type",[RN1,_N1,vN1]),$A0=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,an=L.record(L.string().regex($A0,"Invalid HTTP header name"),L.string()).superRefine(($,Y)=>{for(let U of Object.keys($))if(U.toLowerCase()==="authorization")Y.addIssue({code:"custom",path:[U],message:"seal.headers cannot set Authorization; the Seal session supplies the bearer token"})}).optional(),tn=L.record(L.string().regex($A0,"Invalid cookie name"),L.string().refine(($)=>!/[\u0000-\u001f\u007f;]/.test($),{message:"Cookie value cannot contain control characters or semicolons"})).optional(),SN1=L.object({url:L.string().url().optional(),tenantSlug:L.string().optional(),headers:an,cookies:tn,endpoints:L.object({approvalStylePreferences:L.string().default("api/v1/agent/ai-approval/config")}).default({approvalStylePreferences:"api/v1/agent/ai-approval/config"})}).default({endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}}),gN1=L.object({refreshTtl:L.number().int().positive().default(300)}).default({refreshTtl:300}),yN1=L.enum(["production","test"]).default("production"),en=L.object({id:L.string(),name:L.string(),seal:SN1,source:hN1,auth:gN1,environment:yN1,testCorpId:L.string().optional(),prodCorpId:L.string().optional()}),kN1=L.object({enabled:L.boolean().default(!1),activeLinter:L.string().default("builtin"),minScore:L.number().min(0).max(100).default(0)}).default({enabled:!1,activeLinter:"builtin",minScore:0}),yB=L.object({stateful:L.boolean().default(!1),defaultCorpId:L.string().min(1).optional(),testEnterprisesDir:L.string().min(1).optional(),lint:kN1})});import{copyFileSync as YA0,existsSync as V$,mkdirSync as zA0,readFileSync as uB,readdirSync as xB,rmSync as xN1,statSync as RZ,writeFileSync as QA0}from"node:fs";import{homedir as bB}from"node:os";import{dirname as fN1,join as N9}from"node:path";function uN1($=aI,Y=fB){if(!V$(Y))return{copied:[],deletedLegacyDir:!1};zA0($,{recursive:!0,mode:448});let U=[],z=[];try{z=xB(Y).filter((X)=>X.endsWith(".json"))}catch{return{copied:[],deletedLegacyDir:!1}}for(let X of z){let Z=N9(Y,X),q=N9($,X);if(!V$(q))YA0(Z,q),U.push(X);else{let V=RZ(Z).mtimeMs,F=RZ(q).mtimeMs;if(V>F)YA0(Z,q),U.push(X)}}let Q=604800000,J=Date.now(),I=!1,K=!1;for(let X of xB(Y)){let Z=N9(Y,X),q=N9($,X),V=RZ(Z);if(J-V.mtimeMsRZ(q).mtimeMs)I=!0}}let G=RZ(Y),H=J-G.mtimeMsQ.endsWith(".json")).filter((Q)=>!Q.startsWith("example."))){let Q=uB(N9(U,z),"utf-8"),J=en.parse(JSON.parse(Q));Y.set(J.id,J)}return Array.from(Y.values())}function WA0(){let $=(process.env[Yp]??process.env[JA0])?.trim();if($)return V$($)?[$]:[];let Y=(process.env[IA0]??process.env[KA0])?.trim(),U;if(Y)U=V$(Y)?[Y]:[];else{try{uN1()}catch{}U=V$(aI)?[aI]:V$(fB)?[fB]:[aI]}let Q=_4().testEnterprisesDir?.trim(),J=Q?[Q,...U]:U,I=[];for(let K of J)if(V$(K)&&!I.includes(K))I.push(K);return I}function Up(){let $=(process.env[Yp]??process.env[JA0])?.trim();if($)return $;let Y=(process.env[IA0]??process.env[KA0])?.trim();if(Y)return Y;let U=_4().testEnterprisesDir?.trim();if(U&&V$(U))return U;return aI}function S3(){let $=_4().testEnterprisesDir?.trim();return[`${Yp}=`,...$?[`testEnterprisesDir: ${$}`]:[],aI,fB]}function Gz(){let $=(process.env[GA0]??process.env[HA0])?.trim();if($)return $;if(V$(kB))return kB;if(V$(UA0))return UA0;return kB}function _4(){let $=Gz();if(!V$($))return yB.parse({});return yB.parse(JSON.parse(uB($,"utf-8")))}function Hz($){let Y=yB.parse($),z=(process.env[GA0]??process.env[HA0])?.trim()||kB;return zA0(fN1(z),{recursive:!0,mode:448}),QA0(z,`${JSON.stringify(Y,null,2)} -`,{mode:384}),Y}function zp($){let Y=WA0();for(let U of Y){if(!V$(U))continue;for(let z of xB(U).filter((Q)=>Q.endsWith(".json")).filter((Q)=>!Q.startsWith("example."))){let Q=N9(U,z);try{let J=uB(Q,"utf-8"),I=JSON.parse(J);if(I&&typeof I==="object"&&I.id===$)return Q}catch{}}}return}function g3($,Y){let U=zp($);if(!U)throw Error(`Enterprise config not found: ${$}`);let Q={...JSON.parse(uB(U,"utf-8")),...Y};for(let I of Object.keys(Y))if(Y[I]===void 0)delete Q[I];let J=en.parse(Q);return QA0(U,`${JSON.stringify(J,null,2)} -`,"utf-8"),J}var Yp="SEAL_USE_ENTERPRISES_DIR",JA0="SEAL_HOME_ENTERPRISES_DIR",IA0="SEAL_USE_USER_ENTERPRISES_DIR",KA0="SEAL_HOME_USER_ENTERPRISES_DIR",GA0="SEAL_USE_CONFIG_FILE",HA0="SEAL_HOME_CONFIG_FILE",aI,fB,kB,UA0;var y3=m(()=>{$p();aI=N9(bB(),".config","seal-use","enterprises"),fB=N9(bB(),".config","seal-home","enterprises"),kB=N9(bB(),".config","seal-use","config.json"),UA0=N9(bB(),".config","seal-home","config.json")});function u2($,Y,U=[]){let z=Y.corpId?.trim()||void 0,Q=Y.stateful?Y.defaultCorpId?.trim()||void 0:void 0,J=z??Q;if(J){let K=$.find((W)=>W.id===J);if(K)return K;let G=$.find((W)=>W.id.toLowerCase()===J.toLowerCase());if(G)return G;let H=$.find((W)=>W.name.toLowerCase()===J.toLowerCase());if(H)return H;throw Error(`No enterprise config found for ${J}`)}if(!Y.stateful)throw Error("Stateless mode is enabled. Every enterprise command requires --corp . Use `seal-home config mode stateful` to enable a default enterprise.");let I=$[0];if(I)return I;throw Error("No enterprise config found. Add a non-example JSON file under one of: "+(U.length?U.join(", "):"the configured enterprise directories"))}import{existsSync as Qp,mkdirSync as bN1,readFileSync as iN1,renameSync as cN1,unlinkSync as nN1,writeFileSync as pN1}from"node:fs";import{homedir as dN1}from"node:os";import{dirname as mN1,join as lN1}from"node:path";function _Z(){let $=process.env[oN1]?.trim();if($)return $;return rN1}function XA0($=new Date){return $.toISOString().slice(0,10)}function ZA0($=Jp,Y=new Date){let U=Y.getTime()-Math.max(0,$-1)*86400000;return new Date(U).toISOString().slice(0,10)}function qA0($=_Z()){if(!Qp($))return{};try{let Y=iN1($,"utf-8"),U=JSON.parse(Y);if(U&&typeof U==="object"&&!Array.isArray(U))return U;return{}}catch{return{}}}function sN1($,Y){let U={};for(let[z,Q]of Object.entries($)){if(!Q||typeof Q!=="object")continue;let J={},I=!1;for(let[K,G]of Object.entries(Q))if(typeof G==="number"&&G>0&&K>=Y)J[K]=G,I=!0;if(I)U[z]=J}return U}function aN1($,Y=_Z()){let U=mN1(Y);if(!Qp(U))bN1(U,{recursive:!0,mode:448});let z=`${Y}.${process.pid}.${Date.now()}.${Math.random().toString(16).slice(2,8)}.tmp`;try{pN1(z,JSON.stringify($,null,2),{encoding:"utf-8",mode:384}),cN1(z,Y)}catch(Q){try{if(Qp(z))nN1(z)}catch{}throw Q}}function VA0($,Y=new Date){if(!$||typeof $!=="string")return;try{let U=_Z(),z=qA0(U),Q=XA0(Y),J=ZA0(Jp,Y),I=sN1(z,J);I[$]=I[$]||{},I[$][Q]=(I[$][Q]??0)+1,aN1(I,U)}catch{}}function tN1($,Y=Jp,U=new Date){let z=new Map;try{let Q=qA0(),J=ZA0(Y,U),I=XA0(U),K=$??Object.keys(Q);for(let G of K){let H=Q[G];if(!H){z.set(G,0);continue}let W=0;for(let[X,Z]of Object.entries(H))if(X>=J&&X<=I&&typeof Z==="number")W+=Z;z.set(G,W)}}catch{if($)for(let Q of $)z.set(Q,0)}return z}function LA0($,Y,U){let z=U??tN1($.map((Q)=>Q.id));return[...$].sort((Q,J)=>{if(Y){if(Q.id===Y&&J.id!==Y)return-1;if(J.id===Y&&Q.id!==Y)return 1}let I=z.get(Q.id)??0,K=z.get(J.id)??0;if(I!==K)return K-I;let G=Q.name??Q.id,H=J.name??J.id,W=G.localeCompare(H,"zh-CN");if(W!==0)return W;return Q.id.localeCompare(J.id)})}var oN1="SEAL_USE_USAGE_FILE",rN1,Jp=7;var iB=m(()=>{rN1=lN1(dN1(),".config","seal-use","usage.json")});function eN1($,Y){return $.map((U)=>U.trim()).filter(Boolean).map((U)=>Y?U:U.toLowerCase())}function $D1($,Y){return Y?$:$.toLowerCase()}function YD1($,Y,U,z){let Q=$D1($,z),J=Y.filter((I)=>Q.includes(I));if(U==="all"&&J.length!==Y.length)return[];return J}function UD1($){if(typeof $==="string")return $.split(/\r?\n/);return JSON.stringify($,null,2).split(/\r?\n/)}function zD1($,Y){if(Y.fields&&!Y.fields.has($.field))return[];let U=UD1($.value),z=[];return U.forEach((Q,J)=>{let I=YD1(Q,Y.keywords,Y.matchMode,Y.caseSensitive);if(I.length===0)return;let K=Math.max(0,J-Y.contextLines),G=Math.min(U.length,J+Y.contextLines+1),H={area:$.area,entityType:$.entityType,entityId:$.entityId,title:$.title,field:$.field,lineNumber:J+1,matchedKeywords:I,matchedText:cB(Q,Y.maxChars),context:{before:Y.snippetOnly?[]:U.slice(K,J).map((W)=>cB(W,Y.maxChars)),line:cB(Q,Y.maxChars),after:Y.snippetOnly?[]:U.slice(J+1,G).map((W)=>cB(W,Y.maxChars))},metadata:$.metadata};if(Y.snippetOnly)H.context={before:[],line:H.context.line,after:[]};z.push(H)}),z}function cB($,Y){if(!Y||$.length<=Y)return $;return`${$.slice(0,Math.max(0,Y))}...`}function QD1($){return[{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"description",value:$.description,metadata:{scope:$.scope,strictness:$.strictness,status:$.status}},{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"scope",value:$.scope,metadata:{strictness:$.strictness,status:$.status}}]}function wA0($){return $.rules.flatMap((Y,U)=>{let z=`${$.id}:${Y.description.slice(0,32)}`,Q={versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedByName:$.publishedByName,publishedAt:$.publishedAt,scope:Y.scope,strictness:Y.strictness,code:"code"in Y?Y.code:void 0,index:U};return[{area:"rules",entityType:"rule",entityId:z,title:`${$.versionName} / ${Y.scope}`,field:"history.description",value:Y.description,metadata:Q},{area:"rules",entityType:"rule",entityId:z,title:`${$.versionName} / ${Y.scope}`,field:"history.scope",value:Y.scope,metadata:Q}]})}function JD1($){return[{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"title",value:$.title,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"purpose",value:$.purpose,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"content",value:$.content,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}}]}function ID1($){let Y=[];if($.decisionPreferences)for(let[U,z]of Object.entries($.decisionPreferences))Y.push({area:"preferences",entityType:"preference",field:`decisionPreferences.${U}`,value:z,metadata:{integrationSystem:$.integrationSystem}});return $.integrations.forEach((U,z)=>{Y.push({area:"preferences",entityType:"integration",title:U.outboundName,field:`integrations[${z}]`,value:U,metadata:{type:U.type,outboundName:U.outboundName,mode:U.mode,corporationId:U.corporationId}})}),Y}async function KD1($,Y,U){let z=U.ruleVersionScope??"current",Q=[Y.id,`ruleVersionScope=${z}`,`ruleVersionId=${U.ruleVersionId??""}`,`ruleVersionNumber=${U.ruleVersionNumber??""}`,`latestRuleVersion=${U.latestRuleVersion??!1}`,`documentLimit=${U.documentLimit??100}`].join("|"),J=FA0.get(Q);if(!U.refresh&&J&&Date.now()Q.versionNumber===Y.versionNumber):U[0];if(!z)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return z}async function OA0($,Y,U){let z=U.matchMode??"any",Q=U.caseSensitive??!1,J=U.contextLines??3,I=new Set(U.areas??["rules","documents","preferences"]),K=U.maxResults??50,G=U.ruleVersionScope??"current",H=eN1(U.keywords,Q),W=U.fields?.length?new Set(U.fields):void 0;if(H.length===0)throw Error("keywords must contain at least one non-empty string");let X=await KD1($,Y,{documentLimit:U.documentLimit,refresh:U.refresh,ruleVersionScope:G,ruleVersionId:U.ruleVersionId,ruleVersionNumber:U.ruleVersionNumber,latestRuleVersion:U.latestRuleVersion}),Z=X.entries.filter((q)=>I.has(q.area)).flatMap((q)=>zD1(q,{keywords:H,matchMode:z,caseSensitive:Q,contextLines:J,snippetOnly:U.snippetOnly,maxChars:U.maxChars,fields:W}));return{query:{keywords:U.keywords,matchMode:z,areas:Array.from(I),caseSensitive:Q,contextLines:J,refresh:U.refresh??!1,ruleVersionScope:G,ruleVersionId:U.ruleVersionId,ruleVersionNumber:U.ruleVersionNumber,latestRuleVersion:U.latestRuleVersion??!1,snippetOnly:U.snippetOnly??!1,maxChars:U.maxChars,fields:U.fields},cache:{fetchedAt:new Date(X.fetchedAt).toISOString(),expiresAt:new Date(X.expiresAt).toISOString(),ttlMs:MA0},total:Z.length,returned:Math.min(Z.length,K),results:Z.slice(0,K)}}var MA0=300000,FA0;var NA0=m(()=>{X6();FA0=new Map});import{createHmac as WD1,randomBytes as XD1}from"node:crypto";function ZD1($,Y,U,z){return WD1("sha256",z).update(`${$}.${Y}.${JSON.stringify(U)}`).digest("hex")}function vZ($,Y){let U=Math.floor(Date.now()/1000),z=XD1(16).toString("hex");return{Authorization:`Bearer ${Y}`,"x-webhook-signature":ZD1(U,z,$,Y),"x-webhook-timestamp":String(U),"x-webhook-nonce":z}}var nB=()=>{};function m4($,Y){return new w4($,2,Y)}function D9($,Y){return new w4($,10,Y)}function hZ($){if($ instanceof w4)return{exitCode:$.exitCode,nextAction:$.nextAction};let Y=$ instanceof Error?$.message:String($),U=qD1($);if(U===401||U===403||/(?:^|\s)(?:token|bearer|session) (?:expired|missing|invalid)/i.test(Y))return{exitCode:11};if(/^(?:Usage:|Unknown (?:[a-z0-9_-]+ )?command|Invalid (?:number|boolean|command)|--json must|Missing required JSON field)/i.test(Y))return{exitCode:2};if(/^Refusing to (?:clear|delete)|without --yes|without confirm=true/i.test(Y))return{exitCode:10};return{exitCode:1}}function qD1($){if(!$||typeof $!=="object")return;let Y=$.response;if(!Y||typeof Y!=="object")return;let U=Y.status;return typeof U==="number"?U:void 0}var w4,pB;var L$=m(()=>{w4=class w4 extends Error{exitCode;nextAction;constructor($,Y,U){super($);this.name="CliError",this.exitCode=Y,this.nextAction=U}};pB=class pB extends w4{constructor($,Y){super($,12,Y);this.name="PayloadTooLargeError"}}});function DA0($,Y){let U=$&&typeof $==="object"?$:{},z=typeof U.type==="string"?U.type.toUpperCase().trim():"",Q=typeof U.key==="string"&&U.key.trim()?U.key.trim():typeof U.label==="string"&&U.label.trim()?U.label.trim():`field_${Y}`,J=typeof U.label==="string"&&U.label.trim()?U.label.trim():Q,I=U.value!==void 0?U.value:null;if(z==="LIST"&&Array.isArray(I))I=I.map((G)=>{if(Array.isArray(G))return G.map((H,W)=>DA0(H,W));return G});let K=z;if(!VD1.has(K))if(Array.isArray(I))K="LIST";else if(I&&typeof I==="object")K="OBJECT";else if(typeof I==="number")K="NUMBER";else K="TEXT";return{key:Q,label:J,type:K,value:I}}function Ip($,Y={}){let U=$.document,z=$.sourceDocumentSN??(typeof U?.sn==="string"?U.sn:void 0)??(typeof U?.sourceDocumentSN==="string"?U.sourceDocumentSN:void 0)??$.id,Q=$.sourceDocumentId??(typeof U?.id==="string"?U.id:void 0)??(typeof U?.sourceDocumentId==="string"?U.sourceDocumentId:void 0)??$.documentId??$.id,J=Y.snPrefix??"",I=Y.snSuffix??"",K=Y.docIdPrefix??J,G=Y.docIdSuffix??I,H=`${J}${z}${I}`,W=`${K}${Q}${G}`,X=typeof U?.sourceStartTime==="number"?U.sourceStartTime:typeof $.createdAt==="number"?Math.floor($.createdAt/1000):null,q=(Array.isArray(U?.fields)?U.fields:[]).map((V,F)=>DA0(V,F));return{type:"document",documentId:W,documentSN:H,startTime:X,fields:q}}function LD1($){let Y=new URL($),U=Y.pathname.match(/\/webhook\/([^/]+)/);if(!U)throw Error(`Webhook URL 必须包含 /webhook/{webhookId}/document,收到: ${$}`);let z=U[1],Q=`${Y.protocol}//${Y.host}`,J=`${Q}/api/v1/integrations/webhook/${encodeURIComponent(z)}/document`;return{baseUrl:Q,webhookId:z,documentEndpoint:J}}async function Kp($,Y,U,z=fetch,Q={}){let{webhookId:J,documentEndpoint:I}=LD1($),K={...Q,"Content-Type":"application/json",...vZ({webhookId:J,...U},Y)},G=await z(I,{method:"POST",headers:K,body:JSON.stringify(U)});if(!G.ok){let H=await G.text();throw Error(`Webhook 单据推送失败 (${G.status}): ${H}`)}return G.json()}function AA0($,Y,U){if(Y){let z=Y.trim().toLowerCase(),Q=$.find((J)=>J.id.toLowerCase()===z||J.name.toLowerCase()===z||J.incomingDocumentWebhook.id.toLowerCase()===z);if(!Q){let J=$.map((I)=>`"${I.name}" (${I.id})`).join(", ");throw Error(`未找到匹配 "${Y}" 的 Webhook 集成通道。可用通道: [${J}]`)}return Q}if($.length===1)return $[0];if($.length>1){let z=$.find((J)=>J.name.includes("回放")||J.name.toLowerCase().includes("replay"));if(z)return z;let Q=$.map((J)=>`"${J.name}" (${J.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${Q}],请通过 --webhook 指定目标通道。`)}throw new w4("当前租户未配置任何 Webhook 集成通道。",1,`seal-use webhook add --name --result-url ${U?` --corp ${U}`:""}`)}function dB($,Y){let U,z,{sourceCorpId:Q,targetCorpId:J,activeCorp:I,force:K}=$;if(Q&&J)U=Y(Q),z=Y(J);else if(Q&&!J)if(U=Y(Q),U.testCorpId)z=Y(U.testCorpId);else if(I.id!==U.id&&I.environment==="test")z=I;else z=I;else if(!Q&&J)if(z=Y(J),z.prodCorpId)U=Y(z.prodCorpId);else if(I.id!==z.id)U=I;else U=I;else if(I.environment==="test")if(z=I,I.prodCorpId)U=Y(I.prodCorpId);else U=I;else if(I.environment==="production")if(U=I,I.testCorpId)z=Y(I.testCorpId);else z=I;else U=I,z=I;if(z.environment==="production"&&!K)throw new w4(`目标企业「${z.name}」(${z.id}) 标记为生产正式环境 (production)。 +↳ ${V}`,operator:J}}function dD0($){if(!$)return[];let Y=$.pending||[],U=String($.rawState||"").toUpperCase(),z=String($.state||"").toUpperCase(),Q=[];if(Y.length>0)for(let J of Y){let I=J.approver?.name||J.approver?.id||"待定",K=(J.name||$.currentNode||"").trim(),G=K?`${K}(${I})`:I,W=J.type?.toUpperCase()==="PAYING"||K.includes("支付")||U==="PAYING"||z==="支付中"?"待支付":"待审批";Q.push(`${G}: ${W}`)}else if($.currentNode?.trim()){let I=$.currentNode.includes("支付")||U==="PAYING"||z==="支付中"?"待支付":"待审批";Q.push(`${$.currentNode.trim()}: ${I}`)}return Q}function Kz($,Y){let U=new Map;if(!$||$.length===0)return U;if(!Y){for(let q of $){let F=(q.result||{}).decision||q.aiDecision||"-";U.set(q.id,{recordId:q.id,sourceDocumentSN:q.sourceDocumentSN,taskMode:q.taskMode,aiDecision:pD0(typeof F==="string"?F:"-"),aiAction:"-",eHumanAction:"-",eHumanComment:"-",auditDrift:!1})}return U}let z=[...$].sort((q,V)=>(Number(q.createdAt)||0)-(Number(V.createdAt)||0)),Q=Y.history||[],J=String(Y.rawState||"").toUpperCase(),I=String(Y.state||"").toUpperCase(),K=J==="DRAFT"||J==="REVOKED"||J==="CANCELED"||J==="CANCELLED"||I==="草稿"||I==="已撤回"||I==="已取消",G=J==="REJECTED"||J==="TERMINATED"||I==="审批驳回"||I==="已驳回",H=!K&&!G&&(J==="PAID"||I==="已支付"||Q.some((q)=>!q.isEbot&&(q.rawAction==="freeflow.pay"||q.action==="支付成功"||q.action==="支付完成"))),W=!K&&!G&&!H&&(J==="PAYING"||I==="支付中"||(Y.pending||[]).some((q)=>q.isCurrent&&(q.type?.toUpperCase()==="PAYING"||q.name?.includes("支付")))||Y.currentNode?.includes("支付")===!0),Z=H||!K&&!G&&!W&&(J==="COMPLETED"||J==="APPROVED"||I==="已完成"||I==="审批通过");for(let q=0;qA0.nodeId&&(A0.nodeId===P||P.includes(A0.nodeId))):void 0,A=T?.time??F,j=z[q+1],C=j?Number(j.createdAt)||1/0:1/0,b=q===z.length-1,x=Q.find((A0)=>(A0.time??0)>A+5000&&A0.isEbot&&(A0.nodeName?.includes("智能")||A0.nodeName?.includes("AI")||A0.action?.includes("智能")||A0.comment?.includes("AI")||A0.comment?.includes("approval-result"))&&!A0.nodeName?.includes("费用标准检查")&&!A0.nodeName?.includes("标准检查")&&!A0.nodeName?.includes("预算"));if(x){if(b=!1,(x.time??1/0){let Q0=A0.time??0;return Q0>=A-Y1&&Q0(A0.time??0)>A+5000),u1=k1.some((A0)=>A0.rawAction==="freeflow.retract"||A0.action==="单据撤回"),b1=k1.some((A0)=>A0.rawAction==="freeflow.submit"||A0.action==="提交送审");if(D1&&b&&(u1||b1))u0=!0,b0="AI通过后单据发生撤回/修改重提,后续未经AI复审";if(p&&k)W0="无操作",F0="-";else{let A0=a.filter((v)=>(v.time??0)>=A-1000&&!v.isEbot&&v.rawAction!=="freeflow.submit"&&v.action!=="提交送审"&&!((v.rawAction==="freeflow.comment"||v.action==="发表评论")&&!v.comment)&&!((v.rawAction==="freeflow.print"||v.action==="打印提醒")&&!v.comment)&&!(v.rawAction==="freeflow.carbonCopy"||v.rawAction==="freeflow.cc"||v.action==="抄送通知")),Q0=A0.find((v)=>v.rawAction==="freeflow.retract"||v.action==="单据撤回"),B=A0.find((v)=>v.rawAction==="freeflow.reject"||v.action==="审批驳回");if(!b)if(B||!Y&&i0){W0="审批驳回",u0=!1,b0=void 0;let v=nn(B,void 0,w,Q,Y);F0=v.comment,c0=v.operator}else if(Q0||E0||!B&&s.includes("单据撤回")){W0="已撤回",c0=Q0?.operator;let v=Q0?A0.filter((r)=>(r.time??0)<=(Q0.time??1/0)):A0,u=rI(v);for(let r of v)if(!c0&&r.operator)c0=r.operator;if(Q0&&!u.some((r)=>r.includes("单据撤回")))u.push(`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`);F0=u.length>1?sI(u,[],"forward"):u.length===1?u[0]:Q0?`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`:"单据已撤回"}else{W0="已修改重提";let v=rI(A0);for(let u of A0)if(!c0&&u.operator)c0=u.operator;F0=v.length>1?sI(v,[],"forward"):v.length===1?v[0]:"-"}else if(B){W0="审批驳回",u0=!1,b0=void 0;let v=nn(B,void 0,w,Q,Y);F0=v.comment,c0=v.operator}else if(Z||!Y&&G0){let v=a.some((r)=>r.rawAction==="flow.modify"||r.isModification||r.action==="修改了单据");W0=H?v?"已支付 (中途修改)":"已支付":v?"审批通过 (中途修改)":"审批通过";let u=rI(A0);for(let r of A0)if(!c0&&r.operator)c0=r.operator;if(u.length>0)F0=sI(u,[],"forward");else{let r=[...a].reverse().find((X0)=>!X0.isEbot&&(X0.rawAction==="freeflow.agree"||X0.action==="审批同意"||X0.rawAction==="freeflow.pay"));if(F0=r?.comment?`1. ${r.comment}`:"-",!c0)c0=r?.operator}}else if(W){W0="⏳ 支付中";let v=rI(A0);for(let r of A0)if(!c0&&r.operator)c0=r.operator;let u=dD0(Y);F0=sI(v,u,"reverse")}else if(K||Q0&&!b1||E0){W0="已撤回",c0=Q0?.operator;let v=rI(A0);for(let u of A0)if(!c0&&u.operator)c0=u.operator;if(Q0&&!v.some((u)=>u.includes("单据撤回")))v.push(`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`);F0=v.length>1?sI(v,[],"forward"):v.length===1?v[0]:Q0?`提交人(${Q0.operator?.name||"提交人"}) ↩️: 单据撤回`:"单据已撤回"}else if(G||!Y&&i0){W0="审批驳回",u0=!1,b0=void 0;let v=nn(void 0,Y?.rejections?.[0],w,Q,Y);F0=v.comment,c0=v.operator}else{W0="⏳ 审批中";let v=rI(A0);for(let r of A0)if(!c0&&r.operator)c0=r.operator;let u=dD0(Y);F0=sI(v,u,"reverse")}}U.set(V.id,{recordId:V.id,sourceDocumentSN:V.sourceDocumentSN,taskMode:V.taskMode,aiDecision:pD0(c),aiAction:e,eHumanAction:W0,eHumanComment:F0,auditDrift:u0,auditDriftReason:b0,operator:c0})}return U}var lD0=m(()=>{bn();cn();gn()});var pn=m(()=>{bn();cn();gn();SD0();nD0();lD0()});import{existsSync as oD0,mkdirSync as rD0,statSync as LN1}from"node:fs";import{homedir as FN1}from"node:os";import{dirname as wN1,extname as MN1,resolve as _B}from"node:path";function x2($,Y=!1){if($===void 0||$===null||$==="")return;if(typeof $==="number")return String($);let U=String($).trim();if(!U)return;if(/^\d{10,13}$/.test(U))return U.length===10?`${U}000`:U;if(/^\d{4}-\d{2}-\d{2}$/.test(U)){let J=new Date(`${U}${Y?"T23:59:59.999+08:00":"T00:00:00.000+08:00"}`).getTime();if(!Number.isNaN(J))return String(J)}let z=new Date(U).getTime();if(!Number.isNaN(z))return String(z);return U}function mn($){if($===void 0||$===null||$==="")return;if($ instanceof Date)return Number.isNaN($.getTime())?void 0:$.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"});let Y=String($).trim();if(!Y)return;if(/^\d{4}-\d{2}-\d{2}/.test(Y))return Y.slice(0,10);if(/^\d{10}$/.test(Y)){let z=new Date(Number(Y)*1000);return Number.isNaN(z.getTime())?void 0:z.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}if(/^\d{13}$/.test(Y)||/^\d+$/.test(Y)){let z=new Date(Number(Y));return Number.isNaN(z.getTime())?void 0:z.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}let U=new Date(Y);return Number.isNaN(U.getTime())?void 0:U.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function dn($=0,Y=new Date){return new Date(Y.getTime()+$*86400000).toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function ON1($,Y=0){let U=new Date(`${$}T00:00:00+08:00`);return U.setDate(U.getDate()+Y),U.toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"})}function ln($={}){let Y=$.maxSpanDays??180,U=$.startDate!==void 0&&$.startDate!==null&&String($.startDate).trim()!=="",z=$.endDate!==void 0&&$.endDate!==null&&String($.endDate).trim()!=="",Q="",J="";if(U){let Z=mn($.startDate);if(!Z)throw Error(`无效的起始时间参数: "${String($.startDate)}"。请使用 YYYY-MM-DD 或有效时间戳。`);Q=Z}if(z){let Z=mn($.endDate);if(!Z)throw Error(`无效的结束时间参数: "${String($.endDate)}"。请使用 YYYY-MM-DD 或有效时间戳。`);J=Z}if(!U&&!z){if(Q=dn(-1),J=dn(0),!$.silent)console.error(`ℹ️ 未指定导出起止时间,已自动采用默认区间: ${Q}至${J}(昨天至今天)。`)}else if(U&&!z){if(J=dn(0),!$.silent)console.error(`ℹ️ 未指定导出结束时间,已自动补齐截至今天: ${Q}至${J}。`)}else if(!U&&z){if(Q=ON1(J,-30),!$.silent)console.error(`ℹ️ 未指定导出起始时间,已自动向前回溯 30 天: ${Q}至${J}。`)}let I=x2(Q,!1),K=x2(J,!0);if(Number(I)>Number(K))throw Error(`起始时间 (${Q}) 不能晚于结束时间 (${J})。`);let G=new Date(`${Q}T00:00:00+08:00`).getTime(),H=new Date(`${J}T00:00:00+08:00`).getTime(),W=Math.round((H-G)/86400000);if(W>Y){if(!$.force)throw Error(`时间跨度超过 ${Y} 天(当前为 ${W} 天),大范围导出耗时较长且占用系统资源。如确认需要导出,请添加 --force 参数强制执行。`);if(!$.silent)console.error(`⚠️ 时间跨度超过 ${Y} 天(当前为 ${W} 天),已按 --force 强制执行大范围导出。`)}let X=`${Q}至${J}`;return{startDateStr:Q,endDateStr:J,startDateTs:I,endDateTs:K,dateTag:X,spanDays:W}}function NN1($){if(!$)return;let Y=Array.isArray($)?$:[$],U=[];for(let z of Y){let Q=z.trim().toUpperCase();if(["APPROVED","已通过","已完成","已支付","已支付/审批完成"].includes(Q))U.push("APPROVED");else if(["TERMINATED","REJECTED","REJECT","驳回","被驳回","已驳回"].includes(Q))U.push("TERMINATED");else if(["PROCESSING","审批中","处理中"].includes(Q))U.push("PROCESSING");else if(["CANCELLED","CANCELED","已撤回","已撤销"].includes(Q))U.push("CANCELLED");else if(Q)U.push(Q)}return U.length>0?U:void 0}function DN1($,Y,U){if(!Y)return U?`${$} (${U})`:$;return(Y.split(/[。\n\r;;!!]/)[0]?.trim()||Y.trim()).replace(/[*#`_]/g,"").trim().slice(0,22)}function AN1($=new Date){let Y=new Intl.DateTimeFormat("en-CA",{timeZone:"Asia/Shanghai",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1}).formatToParts($),U=(G)=>Y.find((H)=>H.type===G)?.value||"",z=U("year"),Q=U("month"),J=U("day"),I=U("hour"),K=U("minute");return`${z}${Q}${J}_${I}${K}`}function BN1($){if($.outputFile){let K=_B($.outputFile),G=MN1(K).toLowerCase();if(G&&G!==".xlsx")throw Error(`导出路径错误: 本命令仅支持导出 Excel 工作簿,文件扩展名必须为 .xlsx(当前指定为 "${G}")。请使用 .xlsx 后缀,例如: ${K.slice(0,-G.length)}.xlsx`);if(!G)K=`${K}.xlsx`;let H=wN1(K);if(!oD0(H))rD0(H,{recursive:!0});return K}let Y=$.corpName.replace(/[/\\?%*:|"<>]/g,"_").trim()||"审批记录",U=$.dateTag||new Date().toISOString().slice(0,10),z=$.recordCount>0?`${$.recordCount}条`:"空数据",Q=AN1($.exportTime||new Date),J=`${Y}_审核记录_${U}_${z}_${Q}.xlsx`,I;if($.toDownloads)I=_B(FN1(),"Downloads");else I=_B(process.cwd(),"exports");if(!oD0(I))rD0(I,{recursive:!0});return _B(I,J)}async function vB($,Y,U={}){let z=Y.name||Y.id,Q=U.pageSize??100,J=U.pageDelayMs??250,I=U.limit??1e5,K=Boolean(U.startDate||U.endDate),G=Array.isArray(U.sns)?U.sns.map((g)=>g.trim()).filter(Boolean):[],H=G.length>0,W=new Set(G),X=ln({startDate:U.startDate,endDate:U.endDate,force:U.force,silent:!K&&H}),{startDateTs:Z,endDateTs:q}=X,V=X.dateTag,F=NN1(U.manualApprovalStatus);console.error(`正在加载企业「${z}」审核规则集...`);let M=new Map;try{(await p6($)).rules.forEach((p,e)=>{let y=`rule-${p.code??e}`,s=DN1(y,p.description,p.scope);M.set(y,{id:y,code:String(p.code??e),title:`[${y}] ${s}`,desc:p.description})})}catch(g){console.error(`⚠️ 加载规则字典失败: ${g.message},将仅导出基础信息列。`)}let w=Array.from(M.keys()).sort((g,p)=>{let e=parseInt(g.replace(/\D/g,""),10)||0,y=parseInt(p.replace(/\D/g,""),10)||0;return e-y});if(console.error(`已就绪 ${w.length} 个规则列。开始拉取单据...`),U.withFlow===!0&&Y.source.type==="hose")if(H)console.error(`\uD83C\uDFAF [单据筛选] 已指定定向筛选单号: [${G.join(", ")}] (共 ${G.length} 个)。`);else try{let g=await i4($,{limit:1,startDate:Z,endDate:q,status:U.status,sourceSystem:U.sourceSystem,taskMode:U.taskMode,manualApprovalStatus:F}),p=g.total??g.records?.length??0,e=Math.max(1,Math.min(U.flowConcurrency??3,5)),y=Math.max(1,Math.ceil(p/e*0.4));if(p>50)console.error(`⚠️ [审批流对齐提示] 目标区间内单据规模约为 ${p} 笔。系统已启用合思 Open API 保护限流(并发 ${e}),预计审批流拉取耗时约 ${y} 秒。`)}catch{}let N=[],O=0,D=0;if(H&&G.length<=50){console.error(`正在定向检索 ${G.length} 个指定单号...`);for(let g of G){try{let e=((await i4($,{search:g,limit:50,startDate:K?Z:void 0,endDate:K?q:void 0,status:U.status,sourceSystem:U.sourceSystem,taskMode:U.taskMode,manualApprovalStatus:F})).records||[]).filter((y)=>y.sourceDocumentSN===g);for(let y of e){if(!(U.taskMode==="simulation"||U.includeSimulation===!0||Y.environment==="test")&&y.taskMode==="simulation"){O++;continue}if(U.taskMode&&y.taskMode!==U.taskMode)continue;if(Y.source.type==="hose"&&y.sourceSystem&&!["hose","hosecloud"].includes(y.sourceSystem)){D++;continue}if(U.includeCompletedOnly&&y.status!=="completed")continue;if(y.status==="completed"&&(!y.result||!y.result.rulesResult))try{let Y0=await H4($,y.id);N.push(Y0)}catch{N.push(y)}else N.push(y);if(N.length>=I)break}}catch(p){console.error(`⚠️ 定向检索单号 [${g}] 失败: ${p.message}`)}if(N.length>=I)break}console.error(`定向检索完成,成功匹配 ${N.length} 条记录。`)}else{let g=0,p=0;while(N.length0)try{e=await i4($,{limit:Q,offset:g,startDate:Z,endDate:q,status:U.status,sourceSystem:U.sourceSystem,taskMode:U.taskMode,manualApprovalStatus:F});break}catch(Y0){if(y--,console.error(`分页拉取失败 (offset=${g}): ${Y0.message},剩余重试 ${y} 次...`),y===0)throw Y0;await new Promise((N0)=>setTimeout(N0,1000))}if(!e||!e.records||e.records.length===0)break;p=e.total??p;for(let Y0 of e.records){if(H&&(!Y0.sourceDocumentSN||!W.has(Y0.sourceDocumentSN)))continue;if(!(U.taskMode==="simulation"||U.includeSimulation===!0||Y.environment==="test")&&Y0.taskMode==="simulation"){O++;continue}if(U.taskMode&&Y0.taskMode!==U.taskMode)continue;if(Y.source.type==="hose"&&Y0.sourceSystem&&!["hose","hosecloud"].includes(Y0.sourceSystem)){D++;continue}if(U.includeCompletedOnly&&Y0.status!=="completed")continue;if(Y0.status==="completed"&&(!Y0.result||!Y0.result.rulesResult))try{let E0=await H4($,Y0.id);N.push(E0)}catch{N.push(Y0)}else N.push(Y0);if(N.length>=I)break}g+=e.records.length;let s=p>0?(g/p*100).toFixed(1):"-";if(g%500===0||g>=p||N.length>=I)console.error(`[进度] 已读取单据: ${g}/${p} (${s}%),有效加入: ${N.length} 条`);if(e.records.length=p)break;if(J>0)await new Promise((Y0)=>setTimeout(Y0,J))}}if(O>0)console.error(`ℹ️ 已自动排除 ${O} 条模拟测试任务 (taskMode="simulation"),仅保留真实审批任务。`);if(D>0)console.error(`ℹ️ 已自动排除 ${D} 条非合思来源单据,仅保留合思业务单据。`);if(!K&&H&&N.length>0){let g=N.map((p)=>mn(p.createdAt||p.updatedAt)).filter(Boolean);if(g.length>0){g.sort();let p=g[0],e=g[g.length-1];V=p===e?p:`${p}至${e}`}}console.error(`成功拉取 ${N.length} 条单据数据,正在生成高保真 Excel...`);let P=new sD0.default.Workbook;P.creator="Seal AI (seal-use)",P.created=new Date;let T=P.addWorksheet("审核记录明细",{views:[{state:"frozen",ySplit:1,xSplit:2}]}),A=U.withFlow===!0&&Y.source.type==="hose",j=[{header:"单据编号",key:"sn",width:16},{header:"单据模板名称",key:"templateName",width:26},{header:"来源系统",key:"sourceSystem",width:12},{header:"任务模式",key:"taskMode",width:12},{header:"状态",key:"status",width:12},{header:"AI行为",key:"aiAction",width:14},{header:"AI决策",key:"aiDecision",width:14},{header:"思考深度",key:"thinkingDepth",width:12},{header:"人工审核",key:"manualStatus",width:16},{header:"人工驳回原因",key:"humanRejectReason",width:36},...A?[{header:"E人工行为",key:"eHumanAction",width:18},{header:"E人工意见",key:"eHumanComment",width:36}]:[],{header:"创建时间",key:"createdAt",width:20},{header:"任务耗时",key:"duration",width:12},{header:"关联规则数",key:"hitRuleCount",width:12},{header:"关联规则汇总",key:"hitRulesSummary",width:30},{header:"AI审核结论摘要",key:"aiSummary",width:45}],C=w.map((g)=>{return{header:M.get(g).title,key:`rule_${g}`,width:22}});T.columns=[...j,...C];let b=T.getRow(1);b.height=32,b.eachCell((g,p)=>{let e=p<=j.length;g.font={name:"Microsoft YaHei",bold:!0,color:{argb:"FFFFFFFF"},size:11},g.fill={type:"pattern",pattern:"solid",fgColor:{argb:e?"FF1E3A8A":"FF334155"}},g.alignment={vertical:"middle",horizontal:e&&p<=2?"left":"center",wrapText:!1}});let x={},S=0,i=new Map,c=new Set,z0=U.excludeDeleted??!0;if(U.withFlow===!0&&Y.source.type==="hose"){try{let g=new Map;for(let e of N){let y=e.sourceDocumentId||e.sourceDocumentSN;if(y){let s=g.get(y)||[];s.push(e),g.set(y,s)}}let p=Array.from(g.keys());if(p.length>0){let e=Math.max(1,Math.min(U.flowConcurrency??3,5)),y=U.flowBatchDelayMs??150,s=Math.max(1,Math.ceil(p.length/e*(0.25+y/1000)));console.error(`正在拉取合思原生审批流以对齐人工行为与意见 (共 ${p.length} 个单据,并发限制: ${e},批次间隔: ${y}ms,预计耗时约 ${s}s)...`);let Y0=await oI(Y),N0=new Map;for(let E0=0;E0{let i0=g.get(T0),Y1=i0[0]?.sourceDocumentSN||T0;try{let a=await RB(Y0,T0,N0);if(!a){c.add(Y1);let F0=Kz(i0,void 0);for(let[u0,b0]of F0.entries())b0.eHumanAction="单据已删除",b0.eHumanComment="合思系统中未找到该单据流转记录(可能已在合思端删除或作废)",i.set(u0,b0);return}let W0=Kz(i0,a);for(let[F0,u0]of W0.entries())i.set(F0,u0)}catch(a){console.error(`⚠️ 拉取单据 ${Y1} 审批流失败: ${a.message},使用降级对齐。`);let W0=Kz(i0,void 0);for(let[F0,u0]of W0.entries())i.set(F0,u0)}})),y>0&&E0+esetTimeout(T0,y));if((E0+e)%20=p.length){let T0=Math.min(E0+G0.length,p.length),i0=Math.round(T0/p.length*100);console.error(`[审批流进度] 已对齐: ${T0}/${p.length} (${i0}%)...`)}}}}catch(g){console.error(`⚠️ 对齐合思审批流失败: ${g.message},E人工行为与意见将使用默认值。`)}if(c.size>0)console.error(`ℹ️ 检测到 ${c.size} 个单据在合思端已删除或不存在(如: ${Array.from(c).slice(0,3).join(", ")}...)${z0?",已按要求自动排除。":",已在报表中标记为「单据已删除」。"}`)}let k=0,d=0;for(let g of N){let p=g.sourceDocumentSN||g.sourceDocumentId;if(z0&&p&&c.has(p)){d++;continue}k++;let e=g.result||{},y=g.document||{},s="未知模板";if(Array.isArray(y.fields)){let B=y.fields.find((v)=>v.label==="单据模板"||v.label==="流程名称"||v.key==="templateName"||v.key==="specificationId"||v.key==="formName");if(B?.value)s=String(B.value)}if(s==="未知模板"&&(y.name||y.title))s=y.name||y.title;let Y0=g.taskMode||"-";if(Y0==="assisted")Y0="辅助审核";else if(Y0==="simulation")Y0="测试任务";else if(Y0==="automatic")Y0="自动审批";let N0=g.status||"-";if(N0==="completed")N0="已完成";else if(N0==="processing")N0="处理中";else if(N0==="failed")N0="失败";let E0=e.decision||g.aiDecision||"-",G0=String(E0).toUpperCase(),T0=String(E0),i0="-";if(G0==="APPROVE"||G0==="通过")T0="通过",i0="添加评论";else if(G0==="EXEMPT_APPROVE"||G0==="免审通过"||G0==="备注通过")T0="备注通过",i0="添加评论";else if(G0==="REVIEW"||G0==="转交复核")T0="转交复核",i0="转交复核";else if(G0==="REJECT"||G0==="驳回")T0="驳回",i0="驳回";else if(G0==="ERROR"||G0==="错误")T0="错误",i0="-";let Y1="-";if(g.createdAt&&g.updatedAt&&g.status==="completed"){let B=Math.round((Number(g.updatedAt)-Number(g.createdAt))/1000);if(B>=60)Y1=`${Math.floor(B/60)}分${B%60}秒`;else if(B>0)Y1=`${B}秒`}let a=g.manualApprovalRecord||{},W0=String(a.status?.sourceStatus||""),F0="-";if(a.status?.label)F0=String(a.status.label);else if(a.status?.type){let B=String(a.status.type);if(B==="APPROVED")F0="已通过";else if(B==="TERMINATED")F0="被驳回";else if(B==="PROCESSING")F0="处理中";else if(B==="CANCELLED")F0="已撤回";else F0=B}x[F0]=(x[F0]||0)+1;let u0=a.rejectComment?String(a.rejectComment).trim():"-";if(u0!=="-")S++;let b0=new Map,c0=[];if(Array.isArray(e.rulesResult)){for(let B of e.rulesResult)if(B.id)b0.set(B.id,B.checkResult||"PASS"),c0.push(B.id)}if(Array.isArray(e.hitRules)){for(let B of e.hitRules)if(B.id&&!b0.has(B.id))b0.set(B.id,"TRIGGERED"),c0.push(B.id)}let D1="-";if(g.createdAt)D1=new Date(Number(g.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1});let k1=i.get(g.id),u1=k1?k1.eHumanAction:"-",b1=k1?k1.eHumanComment:"-",A0={sn:g.sourceDocumentSN||g.sourceDocumentId||"-",templateName:s,sourceSystem:g.sourceSystem||"合思",taskMode:Y0,status:N0,aiAction:i0,aiDecision:T0,thinkingDepth:"标准",manualStatus:F0,humanRejectReason:u0,...A?{eHumanAction:u1,eHumanComment:b1}:{},createdAt:D1,duration:Y1,hitRuleCount:c0.length,hitRulesSummary:c0.join(", ")||"-",aiSummary:e.summary||"-"};for(let B of w){let v=b0.get(B);if(v)if(v==="PASS")A0[`rule_${B}`]="关联 (通过)";else if(v==="FAIL")A0[`rule_${B}`]="关联 (不通过)";else if(v==="UNKNOWN")A0[`rule_${B}`]="关联 (待复核)";else A0[`rule_${B}`]="已关联";else A0[`rule_${B}`]="未关联"}let Q0=T.addRow(A0);Q0.height=24,Q0.eachCell((B,v)=>{let u=String(B.value||"");if(B.font={name:"Microsoft YaHei",size:10},B.border={top:{style:"thin",color:{argb:"FFE2E8F0"}},bottom:{style:"thin",color:{argb:"FFE2E8F0"}},left:{style:"thin",color:{argb:"FFE2E8F0"}},right:{style:"thin",color:{argb:"FFE2E8F0"}}},v<=j.length){let X0=j[v-1]?.key||"",J0=["sn","templateName","humanRejectReason","eHumanComment","hitRulesSummary","aiSummary"].includes(X0),q0=["humanRejectReason","eHumanComment","hitRulesSummary","aiSummary"].includes(X0);if(B.alignment={vertical:"middle",horizontal:J0?"left":"center",wrapText:q0},X0==="aiDecision"){if(u==="通过"||u==="备注通过")B.font={color:{argb:"FF16A34A"},bold:!0};else if(u==="转交复核")B.font={color:{argb:"FFD97706"},bold:!0};else if(u==="驳回")B.font={color:{argb:"FFDC2626"},bold:!0};else if(u==="错误"||u==="ERROR")B.font={color:{argb:"FFDC2626"},bold:!0}}if(X0==="manualStatus"){if(u.includes("驳回"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FFDC2626"},bold:!0},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else if(u.includes("通过")||u.includes("支付")||u.includes("完成"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF16A34A"},bold:!0},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}};else if(u.includes("处理中")||u.includes("审批中"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF2563EB"}},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFEFF6FF"}};else if(u.includes("取消")||u.includes("撤回"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF64748B"}},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFF1F5F9"}}}if(X0==="humanRejectReason"&&u!=="-")B.font={name:"Microsoft YaHei",size:9,color:{argb:"FF991B1B"}};if(X0==="eHumanAction"){if(u.includes("⚠️")||u.includes("修改"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FFD97706"},bold:!0},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}};else if(u.includes("驳回")||u.includes("退回"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FFDC2626"},bold:!0},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else if(u.includes("通过")||u.includes("已支付")||u.includes("已完成"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF16A34A"},bold:!0},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}};else if(u.includes("待处理")||u.includes("处理中")||u.includes("审核中")||u.includes("审批中")||u.includes("支付中"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF2563EB"},bold:!0},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFEFF6FF"}};else if(u.includes("撤回")||u.includes("取消"))B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF64748B"}},B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFF1F5F9"}};else if(u==="无操作")B.font={name:"Microsoft YaHei",size:10,color:{argb:"FF94A3B8"}}}if(X0==="eHumanComment"&&u!=="-")B.font={name:"Microsoft YaHei",size:9,color:{argb:"FF334155"}}}else if(B.alignment={vertical:"middle",horizontal:"center"},u.includes("不通过"))B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}},B.font={color:{argb:"FF991B1B"},bold:!0};else if(u.includes("通过"))B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFDCFCE7"}},B.font={color:{argb:"FF166534"},bold:!0};else if(u.includes("待复核")||u.includes("已关联"))B.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}},B.font={color:{argb:"FF92400E"}};else B.font={color:{argb:"FF94A3B8"}}})}let t=BN1({outputFile:U.outputFile,toDownloads:U.toDownloads,corpName:z,dateTag:V,recordCount:k,exportTime:U.exportTime});await P.xlsx.writeFile(t),console.error(`Excel 文件已成功落地: ${t}`);let $0=LN1(t);return{filePath:t,corpId:Y.id,corpName:z,recordCount:k,ruleColumnCount:w.length,statusCounts:x,rejectReasonCount:S,fileSizeBytes:$0.size,exportedAt:new Date().toISOString(),excludedDeletedCount:d,excludedSimulationCount:O}}var sD0;var hB=m(()=>{X6();pn();sD0=J6(EZ(),1)});import aD0 from"node:fs";import tD0 from"node:path";function PN1($){try{let Y=new URL($);if(Y.search)return`${Y.origin}${Y.pathname}?[MASKED]`;return $}catch{return $.replace(/\?.*$/,"?[MASKED]")}}function sn($){return $.replace(/[/\\?%*:|"<>]/g,"_").trim()||"attachment"}function eD0($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}function TN1($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function Q4($){return typeof $==="string"&&$.trim()?$.trim():void 0}function on($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function jN1($){if(!$)return;if(typeof $==="string")try{let Y=JSON.parse($);if(Y&&typeof Y==="object")return Y}catch{return}if(typeof $==="object"&&!Array.isArray($))return $;return}function EN1($,Y,U){if(U?.fieldType?.toUpperCase()==="ATTACHMENT"){if(Boolean($.fileName||$.filename||$.name||$.originalName||$.fileId||$.ossPath||$.url||$.ossSignedUrl||$.signedUrl||$.token))return!0}if($.ossSignedUrl||$.signedUrl)return!0;let z=$.fileName??$.filename??$.name??$.originalName,Q=$.fileId??$.id??$.attachmentId,J=$.ossPath??$.ossKey,I=$.url??$.downloadUrl??$.previewUrl,K=$.mimeType??$.mimetype??$.contentType,G=$.ossFileSize??$.fileSize??$.size;if(z&&(I||J||Q||G))return!0;if(Q&&(K||G||J||I))return!0;let H=Object.keys($).map((Z)=>Z.toLowerCase());return(/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(Y)||Boolean(U?.fieldKey&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(U.fieldKey))||Boolean(U?.fieldLabel&&/(attachment|attachments|invoice|receipt|file|files|附件|发票)/i.test(U.fieldLabel)))&&["filename","filename","mimetype","contenttype","fileid","osspath","signedurl","downloadurl","previewurl","attachmentid","ossfilesize","osssignedurl"].some((Z)=>H.includes(Z))}function CN1($,Y,U){let z=`${$} ${U?.fieldLabel??""} ${U?.fieldKey??""} ${Q4(Y.type)??""} ${Q4(Y.category)??""}`.toLowerCase();if(z.includes("invoice")||z.includes("发票"))return"invoice";if(z.includes("receipt"))return"receipt";let Q=(Q4(Y.fileName)??Q4(Y.name)??"").toLowerCase();if(Q.includes("发票")||Q.includes("invoice"))return"invoice";return"attachment"}function rn($,Y,U,z,Q){if(Array.isArray($)){$.forEach((H,W)=>rn(H,`${Y}.${W}`,U,z,Q));return}let J=TN1($);if(!J)return;let I=J.type&&typeof J.type==="string"||"label"in J&&"value"in J||"key"in J&&"value"in J,K=Q;if(I)K={fieldLabel:Q4(J.label)??Q?.fieldLabel,fieldKey:Q4(J.key)??Q?.fieldKey,fieldType:Q4(J.type)??Q?.fieldType};if(!(Array.isArray(J.value)&&!J.url&&!J.ossSignedUrl&&!J.fileId)&&EN1(J,Y,Q)){let H=jN1(J.token),W=Q4(H?.key),X=Q4(H?.fileId),Z=eD0({path:Y,fieldPath:Y,kind:CN1(Y,J,Q),fileName:Q4(J.fileName)??Q4(J.filename)??Q4(J.name)??Q4(J.originalName),mimeType:Q4(J.mimeType)??Q4(J.mimetype)??Q4(J.contentType),fileId:Q4(J.fileId)??Q4(J.id)??Q4(J.attachmentId)??X,ossPath:Q4(J.ossPath)??Q4(J.ossKey)??W,url:Q4(J.url)??Q4(J.signedUrl)??Q4(J.downloadUrl)??Q4(J.previewUrl),ossSignedUrl:Q4(J.ossSignedUrl)??Q4(J.signedUrl),token:J.token,tokenKey:W,category:Q4(J.category),ossFileSize:on(J.ossFileSize)??on(J.fileSize)??on(J.size),invoiceId:Q4(J.invoiceId),sourceField:Q4(J.fieldName)??Q4(J.label)??Q?.fieldLabel??Q?.fieldKey}),q=JSON.stringify(Z);if(!z.has(q))z.add(q),U.push(Z)}for(let[H,W]of Object.entries(J))rn(W,`${Y}.${H}`,U,z,K)}function f2($,Y={}){let U=[["document",$.document],["result",$.result],["pipelineData",$.pipelineData],["sourceExtendData",$.sourceExtendData]],z=[],Q=new Set;for(let[J,I]of U)rn(I,J,z,Q);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,count:z.length,attachments:Y.summary?z.map((J)=>eD0({path:J.path,kind:J.kind,fileName:J.fileName,mimeType:J.mimeType,fileId:J.fileId,sourceField:J.sourceField,ossFileSize:J.ossFileSize,hasSignedUrl:Boolean(J.ossSignedUrl)})):z}}async function SB($){let{record:Y,fetchFn:U=globalThis.fetch}=$,Q=f2(Y,{summary:!1}).attachments,J=tD0.resolve($.outDir??"./attachments");if(Q.length===0)return{recordId:Y.id,outDir:J,total:0,downloaded:0,failed:0,files:[]};let I=[];if($.name){let X=$.name.toLowerCase();if(I=Q.filter((Z)=>{let q=Z.fileName?.toLowerCase()??"",V=Z.fileId?.toLowerCase()??"",F=Z.tokenKey?.toLowerCase()??"";return q.includes(X)||V===X||F.includes(X)}),I.length===0){let Z=Q.map((q)=>q.fileName??q.fileId).filter(Boolean).join(", ");throw Error(`未找到匹配 "${$.name}" 的附件。可选附件: ${Z||"无"}`)}}else if(!$.all){if(Q.length>1){let X=Q.map((Z)=>Z.fileName??Z.fileId).filter(Boolean).join(", ");throw Error(`共发现 ${Q.length} 个附件。请使用 --all 下载全部附件,或使用 --name <名称|fileId> 指定下载项。可选附件: ${X}`)}I=Q}else I=Q;await aD0.promises.mkdir(J,{recursive:!0});let K=[],G=new Set;for(let X of I){let Z=X.fileName??X.fileId??"attachment",q=sn(Z),V=q,F=q.lastIndexOf("."),M=F>0?q.slice(0,F):q,w=F>0?q.slice(F):"",N=1;while(G.has(V.toLowerCase()))V=`${M}_${N}${w}`,N++;G.add(V.toLowerCase());let O=X.ossSignedUrl??X.url;if(!O){console.error(`⚠️ [跳过] 附件 "${Z}": 记录中无下载直链 (ossSignedUrl/url)`),K.push({name:V,fileId:X.fileId,status:"failed",error:"缺少可用的下载直链 (ossSignedUrl/url)。",sourceField:X.sourceField,tokenKey:X.tokenKey});continue}let D=PN1(O);try{let P=await U(O,{signal:AbortSignal.timeout(60000)});if(!P.ok){let C=P.status===403?"HTTP 403 Forbidden: 签名直链可能已过期":`HTTP ${P.status} ${P.statusText}`;throw Error(C)}let T=await P.arrayBuffer(),A=Buffer.from(T);if(X.ossFileSize!==void 0&&A.length!==X.ossFileSize)console.error(`⚠️ [校验] 附件 "${V}" 实际大小 (${A.length} 字节) 与 ossFileSize (${X.ossFileSize} 字节) 不一致`);let j=tD0.join(J,V);await aD0.promises.writeFile(j,A),console.error(`✓ 已下载: ${V} (${A.length} 字节)`),K.push({name:V,fileId:X.fileId,path:j,size:A.length,expectedSize:X.ossFileSize,status:"success",sourceField:X.sourceField,tokenKey:X.tokenKey})}catch(P){let T=P.message??String(P);console.error(`⚠️ [失败] 附件 "${Z}" 下载失败: ${T} [${D}]`),K.push({name:V,fileId:X.fileId,status:"failed",error:T,sourceField:X.sourceField,tokenKey:X.tokenKey})}}let H=K.filter((X)=>X.status==="success").length,W=K.filter((X)=>X.status==="failed").length;return{recordId:Y.id,outDir:J,total:I.length,downloaded:H,failed:W,files:K}}var gB=()=>{};var RN1,_N1,vN1,hN1,$A0,an,tn,SN1,gN1,yN1,en,kN1,yB;var $p=m(()=>{A$();RN1=L.object({type:L.literal("hose"),domain:L.string().url().default("https://app.ekuaibao.com"),appKey:L.string().optional(),appSecurity:L.string().optional(),key:L.string().optional(),password:L.string().optional(),staffId:L.string(),corpId:L.string(),sealUrl:L.string().url().optional()}).superRefine(($,Y)=>{if(!$.appKey&&!$.key)Y.addIssue({code:"custom",path:["appKey"],message:"Hose source requires appKey or key"});if(!$.appSecurity&&!$.password)Y.addIssue({code:"custom",path:["appSecurity"],message:"Hose source requires appSecurity or password"})}),_N1=L.object({type:L.literal("direct"),token:L.string(),sealUrl:L.string().url(),expiresIn:L.number().int().positive().default(3600),staffId:L.string().default("direct"),corpId:L.string().optional()}),vN1=L.object({type:L.literal("seal"),token:L.string(),sealUrl:L.string().url(),expiresIn:L.number().int().positive().default(3600),staffId:L.string().default("seal"),corpId:L.string().optional(),tenantId:L.string().optional(),tenantSlug:L.string().optional(),tenantName:L.string().optional(),providerUserId:L.string().optional(),provider:L.string().optional(),providerName:L.string().optional()}),hN1=L.discriminatedUnion("type",[RN1,_N1,vN1]),$A0=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,an=L.record(L.string().regex($A0,"Invalid HTTP header name"),L.string()).superRefine(($,Y)=>{for(let U of Object.keys($))if(U.toLowerCase()==="authorization")Y.addIssue({code:"custom",path:[U],message:"seal.headers cannot set Authorization; the Seal session supplies the bearer token"})}).optional(),tn=L.record(L.string().regex($A0,"Invalid cookie name"),L.string().refine(($)=>!/[\u0000-\u001f\u007f;]/.test($),{message:"Cookie value cannot contain control characters or semicolons"})).optional(),SN1=L.object({url:L.string().url().optional(),tenantSlug:L.string().optional(),headers:an,cookies:tn,endpoints:L.object({approvalStylePreferences:L.string().default("api/v1/agent/ai-approval/config")}).default({approvalStylePreferences:"api/v1/agent/ai-approval/config"})}).default({endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}}),gN1=L.object({refreshTtl:L.number().int().positive().default(300)}).default({refreshTtl:300}),yN1=L.enum(["production","test"]).default("production"),en=L.object({id:L.string(),name:L.string(),seal:SN1,source:hN1,auth:gN1,environment:yN1,testCorpId:L.string().optional(),prodCorpId:L.string().optional()}),kN1=L.object({enabled:L.boolean().default(!1),activeLinter:L.string().default("builtin"),minScore:L.number().min(0).max(100).default(0)}).default({enabled:!1,activeLinter:"builtin",minScore:0}),yB=L.object({stateful:L.boolean().default(!1),defaultCorpId:L.string().min(1).optional(),testEnterprisesDir:L.string().min(1).optional(),lint:kN1})});import{copyFileSync as YA0,existsSync as V$,mkdirSync as zA0,readFileSync as uB,readdirSync as xB,rmSync as xN1,statSync as RZ,writeFileSync as QA0}from"node:fs";import{homedir as bB}from"node:os";import{dirname as fN1,join as D9}from"node:path";function uN1($=aI,Y=fB){if(!V$(Y))return{copied:[],deletedLegacyDir:!1};zA0($,{recursive:!0,mode:448});let U=[],z=[];try{z=xB(Y).filter((X)=>X.endsWith(".json"))}catch{return{copied:[],deletedLegacyDir:!1}}for(let X of z){let Z=D9(Y,X),q=D9($,X);if(!V$(q))YA0(Z,q),U.push(X);else{let V=RZ(Z).mtimeMs,F=RZ(q).mtimeMs;if(V>F)YA0(Z,q),U.push(X)}}let Q=604800000,J=Date.now(),I=!1,K=!1;for(let X of xB(Y)){let Z=D9(Y,X),q=D9($,X),V=RZ(Z);if(J-V.mtimeMsRZ(q).mtimeMs)I=!0}}let G=RZ(Y),H=J-G.mtimeMsQ.endsWith(".json")).filter((Q)=>!Q.startsWith("example."))){let Q=uB(D9(U,z),"utf-8"),J=en.parse(JSON.parse(Q));Y.set(J.id,J)}return Array.from(Y.values())}function WA0(){let $=(process.env[Yp]??process.env[JA0])?.trim();if($)return V$($)?[$]:[];let Y=(process.env[IA0]??process.env[KA0])?.trim(),U;if(Y)U=V$(Y)?[Y]:[];else{try{uN1()}catch{}U=V$(aI)?[aI]:V$(fB)?[fB]:[aI]}let Q=_4().testEnterprisesDir?.trim(),J=Q?[Q,...U]:U,I=[];for(let K of J)if(V$(K)&&!I.includes(K))I.push(K);return I}function Up(){let $=(process.env[Yp]??process.env[JA0])?.trim();if($)return $;let Y=(process.env[IA0]??process.env[KA0])?.trim();if(Y)return Y;let U=_4().testEnterprisesDir?.trim();if(U&&V$(U))return U;return aI}function S3(){let $=_4().testEnterprisesDir?.trim();return[`${Yp}=`,...$?[`testEnterprisesDir: ${$}`]:[],aI,fB]}function Gz(){let $=(process.env[GA0]??process.env[HA0])?.trim();if($)return $;if(V$(kB))return kB;if(V$(UA0))return UA0;return kB}function _4(){let $=Gz();if(!V$($))return yB.parse({});return yB.parse(JSON.parse(uB($,"utf-8")))}function Hz($){let Y=yB.parse($),z=(process.env[GA0]??process.env[HA0])?.trim()||kB;return zA0(fN1(z),{recursive:!0,mode:448}),QA0(z,`${JSON.stringify(Y,null,2)} +`,{mode:384}),Y}function zp($){let Y=WA0();for(let U of Y){if(!V$(U))continue;for(let z of xB(U).filter((Q)=>Q.endsWith(".json")).filter((Q)=>!Q.startsWith("example."))){let Q=D9(U,z);try{let J=uB(Q,"utf-8"),I=JSON.parse(J);if(I&&typeof I==="object"&&I.id===$)return Q}catch{}}}return}function g3($,Y){let U=zp($);if(!U)throw Error(`Enterprise config not found: ${$}`);let Q={...JSON.parse(uB(U,"utf-8")),...Y};for(let I of Object.keys(Y))if(Y[I]===void 0)delete Q[I];let J=en.parse(Q);return QA0(U,`${JSON.stringify(J,null,2)} +`,"utf-8"),J}var Yp="SEAL_USE_ENTERPRISES_DIR",JA0="SEAL_HOME_ENTERPRISES_DIR",IA0="SEAL_USE_USER_ENTERPRISES_DIR",KA0="SEAL_HOME_USER_ENTERPRISES_DIR",GA0="SEAL_USE_CONFIG_FILE",HA0="SEAL_HOME_CONFIG_FILE",aI,fB,kB,UA0;var y3=m(()=>{$p();aI=D9(bB(),".config","seal-use","enterprises"),fB=D9(bB(),".config","seal-home","enterprises"),kB=D9(bB(),".config","seal-use","config.json"),UA0=D9(bB(),".config","seal-home","config.json")});function u2($,Y,U=[]){let z=Y.corpId?.trim()||void 0,Q=Y.stateful?Y.defaultCorpId?.trim()||void 0:void 0,J=z??Q;if(J){let K=$.find((W)=>W.id===J);if(K)return K;let G=$.find((W)=>W.id.toLowerCase()===J.toLowerCase());if(G)return G;let H=$.find((W)=>W.name.toLowerCase()===J.toLowerCase());if(H)return H;throw Error(`No enterprise config found for ${J}`)}if(!Y.stateful)throw Error("Stateless mode is enabled. Every enterprise command requires --corp . Use `seal-home config mode stateful` to enable a default enterprise.");let I=$[0];if(I)return I;throw Error("No enterprise config found. Add a non-example JSON file under one of: "+(U.length?U.join(", "):"the configured enterprise directories"))}import{existsSync as Qp,mkdirSync as bN1,readFileSync as iN1,renameSync as cN1,unlinkSync as nN1,writeFileSync as pN1}from"node:fs";import{homedir as dN1}from"node:os";import{dirname as mN1,join as lN1}from"node:path";function _Z(){let $=process.env[oN1]?.trim();if($)return $;return rN1}function XA0($=new Date){return $.toISOString().slice(0,10)}function ZA0($=Jp,Y=new Date){let U=Y.getTime()-Math.max(0,$-1)*86400000;return new Date(U).toISOString().slice(0,10)}function qA0($=_Z()){if(!Qp($))return{};try{let Y=iN1($,"utf-8"),U=JSON.parse(Y);if(U&&typeof U==="object"&&!Array.isArray(U))return U;return{}}catch{return{}}}function sN1($,Y){let U={};for(let[z,Q]of Object.entries($)){if(!Q||typeof Q!=="object")continue;let J={},I=!1;for(let[K,G]of Object.entries(Q))if(typeof G==="number"&&G>0&&K>=Y)J[K]=G,I=!0;if(I)U[z]=J}return U}function aN1($,Y=_Z()){let U=mN1(Y);if(!Qp(U))bN1(U,{recursive:!0,mode:448});let z=`${Y}.${process.pid}.${Date.now()}.${Math.random().toString(16).slice(2,8)}.tmp`;try{pN1(z,JSON.stringify($,null,2),{encoding:"utf-8",mode:384}),cN1(z,Y)}catch(Q){try{if(Qp(z))nN1(z)}catch{}throw Q}}function VA0($,Y=new Date){if(!$||typeof $!=="string")return;try{let U=_Z(),z=qA0(U),Q=XA0(Y),J=ZA0(Jp,Y),I=sN1(z,J);I[$]=I[$]||{},I[$][Q]=(I[$][Q]??0)+1,aN1(I,U)}catch{}}function tN1($,Y=Jp,U=new Date){let z=new Map;try{let Q=qA0(),J=ZA0(Y,U),I=XA0(U),K=$??Object.keys(Q);for(let G of K){let H=Q[G];if(!H){z.set(G,0);continue}let W=0;for(let[X,Z]of Object.entries(H))if(X>=J&&X<=I&&typeof Z==="number")W+=Z;z.set(G,W)}}catch{if($)for(let Q of $)z.set(Q,0)}return z}function LA0($,Y,U){let z=U??tN1($.map((Q)=>Q.id));return[...$].sort((Q,J)=>{if(Y){if(Q.id===Y&&J.id!==Y)return-1;if(J.id===Y&&Q.id!==Y)return 1}let I=z.get(Q.id)??0,K=z.get(J.id)??0;if(I!==K)return K-I;let G=Q.name??Q.id,H=J.name??J.id,W=G.localeCompare(H,"zh-CN");if(W!==0)return W;return Q.id.localeCompare(J.id)})}var oN1="SEAL_USE_USAGE_FILE",rN1,Jp=7;var iB=m(()=>{rN1=lN1(dN1(),".config","seal-use","usage.json")});function eN1($,Y){return $.map((U)=>U.trim()).filter(Boolean).map((U)=>Y?U:U.toLowerCase())}function $D1($,Y){return Y?$:$.toLowerCase()}function YD1($,Y,U,z){let Q=$D1($,z),J=Y.filter((I)=>Q.includes(I));if(U==="all"&&J.length!==Y.length)return[];return J}function UD1($){if(typeof $==="string")return $.split(/\r?\n/);return JSON.stringify($,null,2).split(/\r?\n/)}function zD1($,Y){if(Y.fields&&!Y.fields.has($.field))return[];let U=UD1($.value),z=[];return U.forEach((Q,J)=>{let I=YD1(Q,Y.keywords,Y.matchMode,Y.caseSensitive);if(I.length===0)return;let K=Math.max(0,J-Y.contextLines),G=Math.min(U.length,J+Y.contextLines+1),H={area:$.area,entityType:$.entityType,entityId:$.entityId,title:$.title,field:$.field,lineNumber:J+1,matchedKeywords:I,matchedText:cB(Q,Y.maxChars),context:{before:Y.snippetOnly?[]:U.slice(K,J).map((W)=>cB(W,Y.maxChars)),line:cB(Q,Y.maxChars),after:Y.snippetOnly?[]:U.slice(J+1,G).map((W)=>cB(W,Y.maxChars))},metadata:$.metadata};if(Y.snippetOnly)H.context={before:[],line:H.context.line,after:[]};z.push(H)}),z}function cB($,Y){if(!Y||$.length<=Y)return $;return`${$.slice(0,Math.max(0,Y))}...`}function QD1($){return[{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"description",value:$.description,metadata:{scope:$.scope,strictness:$.strictness,status:$.status}},{area:"rules",entityType:"rule",entityId:$.id,title:$.scope,field:"scope",value:$.scope,metadata:{strictness:$.strictness,status:$.status}}]}function wA0($){return $.rules.flatMap((Y,U)=>{let z=`${$.id}:${Y.description.slice(0,32)}`,Q={versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedByName:$.publishedByName,publishedAt:$.publishedAt,scope:Y.scope,strictness:Y.strictness,code:"code"in Y?Y.code:void 0,index:U};return[{area:"rules",entityType:"rule",entityId:z,title:`${$.versionName} / ${Y.scope}`,field:"history.description",value:Y.description,metadata:Q},{area:"rules",entityType:"rule",entityId:z,title:`${$.versionName} / ${Y.scope}`,field:"history.scope",value:Y.scope,metadata:Q}]})}function JD1($){return[{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"title",value:$.title,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"purpose",value:$.purpose,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}},{area:"documents",entityType:"document",entityId:$.id,title:$.title,field:"content",value:$.content,metadata:{status:$.status,scenarios:$.scenarios,tags:$.tags}}]}function ID1($){let Y=[];if($.decisionPreferences)for(let[U,z]of Object.entries($.decisionPreferences))Y.push({area:"preferences",entityType:"preference",field:`decisionPreferences.${U}`,value:z,metadata:{integrationSystem:$.integrationSystem}});return $.integrations.forEach((U,z)=>{Y.push({area:"preferences",entityType:"integration",title:U.outboundName,field:`integrations[${z}]`,value:U,metadata:{type:U.type,outboundName:U.outboundName,mode:U.mode,corporationId:U.corporationId}})}),Y}async function KD1($,Y,U){let z=U.ruleVersionScope??"current",Q=[Y.id,`ruleVersionScope=${z}`,`ruleVersionId=${U.ruleVersionId??""}`,`ruleVersionNumber=${U.ruleVersionNumber??""}`,`latestRuleVersion=${U.latestRuleVersion??!1}`,`documentLimit=${U.documentLimit??100}`].join("|"),J=FA0.get(Q);if(!U.refresh&&J&&Date.now()Q.versionNumber===Y.versionNumber):U[0];if(!z)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return z}async function OA0($,Y,U){let z=U.matchMode??"any",Q=U.caseSensitive??!1,J=U.contextLines??3,I=new Set(U.areas??["rules","documents","preferences"]),K=U.maxResults??50,G=U.ruleVersionScope??"current",H=eN1(U.keywords,Q),W=U.fields?.length?new Set(U.fields):void 0;if(H.length===0)throw Error("keywords must contain at least one non-empty string");let X=await KD1($,Y,{documentLimit:U.documentLimit,refresh:U.refresh,ruleVersionScope:G,ruleVersionId:U.ruleVersionId,ruleVersionNumber:U.ruleVersionNumber,latestRuleVersion:U.latestRuleVersion}),Z=X.entries.filter((q)=>I.has(q.area)).flatMap((q)=>zD1(q,{keywords:H,matchMode:z,caseSensitive:Q,contextLines:J,snippetOnly:U.snippetOnly,maxChars:U.maxChars,fields:W}));return{query:{keywords:U.keywords,matchMode:z,areas:Array.from(I),caseSensitive:Q,contextLines:J,refresh:U.refresh??!1,ruleVersionScope:G,ruleVersionId:U.ruleVersionId,ruleVersionNumber:U.ruleVersionNumber,latestRuleVersion:U.latestRuleVersion??!1,snippetOnly:U.snippetOnly??!1,maxChars:U.maxChars,fields:U.fields},cache:{fetchedAt:new Date(X.fetchedAt).toISOString(),expiresAt:new Date(X.expiresAt).toISOString(),ttlMs:MA0},total:Z.length,returned:Math.min(Z.length,K),results:Z.slice(0,K)}}var MA0=300000,FA0;var NA0=m(()=>{X6();FA0=new Map});import{createHmac as WD1,randomBytes as XD1}from"node:crypto";function ZD1($,Y,U,z){return WD1("sha256",z).update(`${$}.${Y}.${JSON.stringify(U)}`).digest("hex")}function vZ($,Y){let U=Math.floor(Date.now()/1000),z=XD1(16).toString("hex");return{Authorization:`Bearer ${Y}`,"x-webhook-signature":ZD1(U,z,$,Y),"x-webhook-timestamp":String(U),"x-webhook-nonce":z}}var nB=()=>{};function m4($,Y){return new w4($,2,Y)}function A9($,Y){return new w4($,10,Y)}function hZ($){if($ instanceof w4)return{exitCode:$.exitCode,nextAction:$.nextAction};let Y=$ instanceof Error?$.message:String($),U=qD1($);if(U===401||U===403||/(?:^|\s)(?:token|bearer|session) (?:expired|missing|invalid)/i.test(Y))return{exitCode:11};if(/^(?:Usage:|Unknown (?:[a-z0-9_-]+ )?command|Invalid (?:number|boolean|command)|--json must|Missing required JSON field)/i.test(Y))return{exitCode:2};if(/^Refusing to (?:clear|delete)|without --yes|without confirm=true/i.test(Y))return{exitCode:10};return{exitCode:1}}function qD1($){if(!$||typeof $!=="object")return;let Y=$.response;if(!Y||typeof Y!=="object")return;let U=Y.status;return typeof U==="number"?U:void 0}var w4,pB;var L$=m(()=>{w4=class w4 extends Error{exitCode;nextAction;constructor($,Y,U){super($);this.name="CliError",this.exitCode=Y,this.nextAction=U}};pB=class pB extends w4{constructor($,Y){super($,12,Y);this.name="PayloadTooLargeError"}}});function DA0($,Y){let U=$&&typeof $==="object"?$:{},z=typeof U.type==="string"?U.type.toUpperCase().trim():"",Q=typeof U.key==="string"&&U.key.trim()?U.key.trim():typeof U.label==="string"&&U.label.trim()?U.label.trim():`field_${Y}`,J=typeof U.label==="string"&&U.label.trim()?U.label.trim():Q,I=U.value!==void 0?U.value:null;if(z==="LIST"&&Array.isArray(I))I=I.map((G)=>{if(Array.isArray(G))return G.map((H,W)=>DA0(H,W));return G});let K=z;if(!VD1.has(K))if(Array.isArray(I))K="LIST";else if(I&&typeof I==="object")K="OBJECT";else if(typeof I==="number")K="NUMBER";else K="TEXT";return{key:Q,label:J,type:K,value:I}}function Ip($,Y={}){let U=$.document,z=$.sourceDocumentSN??(typeof U?.sn==="string"?U.sn:void 0)??(typeof U?.sourceDocumentSN==="string"?U.sourceDocumentSN:void 0)??$.id,Q=$.sourceDocumentId??(typeof U?.id==="string"?U.id:void 0)??(typeof U?.sourceDocumentId==="string"?U.sourceDocumentId:void 0)??$.documentId??$.id,J=Y.snPrefix??"",I=Y.snSuffix??"",K=Y.docIdPrefix??J,G=Y.docIdSuffix??I,H=`${J}${z}${I}`,W=`${K}${Q}${G}`,X=typeof U?.sourceStartTime==="number"?U.sourceStartTime:typeof $.createdAt==="number"?Math.floor($.createdAt/1000):null,q=(Array.isArray(U?.fields)?U.fields:[]).map((V,F)=>DA0(V,F));return{type:"document",documentId:W,documentSN:H,startTime:X,fields:q}}function LD1($){let Y=new URL($),U=Y.pathname.match(/\/webhook\/([^/]+)/);if(!U)throw Error(`Webhook URL 必须包含 /webhook/{webhookId}/document,收到: ${$}`);let z=U[1],Q=`${Y.protocol}//${Y.host}`,J=`${Q}/api/v1/integrations/webhook/${encodeURIComponent(z)}/document`;return{baseUrl:Q,webhookId:z,documentEndpoint:J}}async function Kp($,Y,U,z=fetch,Q={}){let{webhookId:J,documentEndpoint:I}=LD1($),K={...Q,"Content-Type":"application/json",...vZ({webhookId:J,...U},Y)},G=await z(I,{method:"POST",headers:K,body:JSON.stringify(U)});if(!G.ok){let H=await G.text();throw Error(`Webhook 单据推送失败 (${G.status}): ${H}`)}return G.json()}function AA0($,Y,U){if(Y){let z=Y.trim().toLowerCase(),Q=$.find((J)=>J.id.toLowerCase()===z||J.name.toLowerCase()===z||J.incomingDocumentWebhook.id.toLowerCase()===z);if(!Q){let J=$.map((I)=>`"${I.name}" (${I.id})`).join(", ");throw Error(`未找到匹配 "${Y}" 的 Webhook 集成通道。可用通道: [${J}]`)}return Q}if($.length===1)return $[0];if($.length>1){let z=$.find((J)=>J.name.includes("回放")||J.name.toLowerCase().includes("replay"));if(z)return z;let Q=$.map((J)=>`"${J.name}" (${J.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${Q}],请通过 --webhook 指定目标通道。`)}throw new w4("当前租户未配置任何 Webhook 集成通道。",1,`seal-use webhook add --name --result-url ${U?` --corp ${U}`:""}`)}function dB($,Y){let U,z,{sourceCorpId:Q,targetCorpId:J,activeCorp:I,force:K}=$;if(Q&&J)U=Y(Q),z=Y(J);else if(Q&&!J)if(U=Y(Q),U.testCorpId)z=Y(U.testCorpId);else if(I.id!==U.id&&I.environment==="test")z=I;else z=I;else if(!Q&&J)if(z=Y(J),z.prodCorpId)U=Y(z.prodCorpId);else if(I.id!==z.id)U=I;else U=I;else if(I.environment==="test")if(z=I,I.prodCorpId)U=Y(I.prodCorpId);else U=I;else if(I.environment==="production")if(U=I,I.testCorpId)z=Y(I.testCorpId);else z=I;else U=I,z=I;if(z.environment==="production"&&!K)throw new w4(`目标企业「${z.name}」(${z.id}) 标记为生产正式环境 (production)。 `+"为防止测试单据污染生产审批流,禁止向生产环境重放单据。请指定测试企业 (--target-corp ),或在确有需要时添加 --force。",1,`seal-use webhook replay --target-corp ${U.id!==z.id?` --source-corp ${U.id}`:""}`);return{sourceCorp:U,targetCorp:z}}async function Gp($,Y,U){let z=Y.seal?.endpoints?.approvalStylePreferences??"api/v1/agent/ai-approval/config",Q=await J$($,z);if(U||Q.length>0)return AA0(Q,U,Y.id);if(Y.environment==="test"||Y.id.toLowerCase().includes("test")){console.error(`[webhook-replay] 测试企业「${Y.name}」未配置 Webhook 通道,正在自动创建「(Seal测-回放通道)」...`);let J=(Y.seal.url??Y.source?.sealUrl??`https://${Y.id.toLowerCase()}.sealai.cc`).replace(/\/+$/,"");return await FM($,J,{name:"(Seal测-回放通道)",mode:"assisted",outgoingResultWebhook:`${J}/api/v1/integrations/webhook/replay-mock-callback`},Y.seal.endpoints.approvalStylePreferences)}throw new w4(`当前租户「${Y.name}」未配置任何 Webhook 集成通道。`,1,`seal-use webhook add --name --result-url --corp ${Y.id}`)}async function tI($){let{query:Y,sourceClient:U,targetClient:z,sourceCorp:Q,targetCorp:J,webhookSelector:I,snPrefix:K,snSuffix:G,docIdPrefix:H,docIdSuffix:W,dryRun:X,fetchFn:Z=fetch}=$,q=[];if(Y.recordId){let P=await H4(U,Y.recordId);q.push(P)}else if(Y.recordIds&&Y.recordIds.length>0)for(let P of Y.recordIds)q.push(await H4(U,P));else if(Y.sn){let T=(await i4(U,{search:Y.sn,sourceDocumentSN:Y.sn,limit:20})).records.find((A)=>A.sourceDocumentSN===Y.sn||A.sourceDocumentId===Y.sn||A.document?.sourceDocumentSN===Y.sn||A.document?.sn===Y.sn);if(!T)throw Error(`在企业「${Q.name}」中未找到单据编号为「${Y.sn}」的审批记录。`);q.push(T)}else if(Y.sns&&Y.sns.length>0)for(let P of Y.sns){let A=(await i4(U,{search:P,sourceDocumentSN:P,limit:20})).records.find((j)=>j.sourceDocumentSN===P||j.sourceDocumentId===P||j.document?.sourceDocumentSN===P||j.document?.sn===P);if(!A)throw Error(`在企业「${Q.name}」中未找到单据编号为「${P}」的审批记录。`);q.push(A)}else if(Y.limit!==void 0){let P=await i4(U,{limit:Y.limit,status:Y.status,startDate:Y.startDate,endDate:Y.endDate});if(!P.records.length)throw Error(`在企业「${Q.name}」中未检索到符合条件的审批记录。`);q=P.records}else throw Error("Usage: seal-use webhook replay [--sn ] [--limit ] [--webhook ] [--source-corp ] [--target-corp ] [--dry-run]");let V=q.map((P)=>({run:P,doc:Ip(P,{snPrefix:K,snSuffix:G,docIdPrefix:H,docIdSuffix:W})}));if(X){let P={id:"preview-webhook",name:I??"预览目标通道",mode:"assisted",incomingDocumentWebhookUrl:`${J.seal.url}/api/v1/integrations/webhook/preview`};try{let j=await J$(z,J.seal.endpoints.approvalStylePreferences);if(j.length>0){let C=AA0(j,I,J.id);P={id:C.id,name:C.name,mode:C.mode,incomingDocumentWebhookUrl:C.incomingDocumentWebhook.url}}}catch{}let T=V.map(({run:j,doc:C})=>({originalRecord:{id:j.id,sourceSystem:j.sourceSystem,sourceDocumentSN:j.sourceDocumentSN,sourceDocumentId:j.sourceDocumentId},document:C,success:!0})),A=T.length===1;return{dryRun:!0,success:!0,sourceCorp:{id:Q.id,name:Q.name,environment:Q.environment},targetCorp:{id:J.id,name:J.name,environment:J.environment},targetWebhook:P,totalCount:T.length,successCount:T.length,failureCount:0,originalRecord:A?T[0].originalRecord:void 0,document:A?T[0].document:void 0,records:T}}let F=await Gp(z,J,I),M={id:F.id,name:F.name,mode:F.mode,incomingDocumentWebhookUrl:F.incomingDocumentWebhook.url},w=[],N=0,O=0;for(let{run:P,doc:T}of V){console.error(`[webhook-replay] 正在向 Webhook 通道「${F.name}」推送单据: ${T.documentSN}...`);try{let A=await Kp(F.incomingDocumentWebhook.url,F.secret,T,Z,A6(J.seal));w.push({originalRecord:{id:P.id,sourceSystem:P.sourceSystem,sourceDocumentSN:P.sourceDocumentSN,sourceDocumentId:P.sourceDocumentId},replayedDocument:{documentSN:T.documentSN,documentId:T.documentId,fieldCount:T.fields.length},pushResult:A,success:!0}),N+=1}catch(A){let j=A instanceof Error?A.message:String(A);w.push({originalRecord:{id:P.id,sourceSystem:P.sourceSystem,sourceDocumentSN:P.sourceDocumentSN,sourceDocumentId:P.sourceDocumentId},replayedDocument:{documentSN:T.documentSN,documentId:T.documentId,fieldCount:T.fields.length},error:j,success:!1}),O+=1}}let D=w.length===1;return{success:O===0,dryRun:!1,sourceCorp:{id:Q.id,name:Q.name,environment:Q.environment},targetCorp:{id:J.id,name:J.name,environment:J.environment},targetWebhook:M,totalCount:w.length,successCount:N,failureCount:O,originalRecord:D?w[0].originalRecord:void 0,replayedDocument:D?w[0].replayedDocument:void 0,pushResult:D?w[0].pushResult:void 0,records:w}}var VD1;var SZ=m(()=>{nB();L$();X6();VD1=new Set(["TEXT","NUMBER","DATE","AMOUNT","PERSON","ATTACHMENT","DATE_RANGE","DEPARTMENT","LIST","CITY","OBJECT"])});var BA0,Z14,FD1,q14;var PA0=m(()=>{A$();BA0=L.object({level:L.enum(["error","warning","info"]),code:L.string(),message:L.string(),snippet:L.string().optional(),suggestion:L.string().optional()}),Z14=L.object({score:L.number().min(0).max(100),passed:L.boolean(),issues:L.array(BA0)}),FD1=L.object({ruleId:L.string().optional(),ruleCode:L.string().optional(),ruleName:L.string().optional(),score:L.number().min(0).max(100),passed:L.boolean(),issues:L.array(BA0),description:L.string().optional()}),q14=L.object({linter:L.string(),linterType:L.enum(["builtin","official","custom"]),totalRules:L.number(),healthyCount:L.number(),issueCount:L.number(),overallScore:L.number().min(0).max(100),passed:L.boolean(),issues:L.array(FD1)})});function eI($){let Y=($.description||"").trim(),U=[];if(Y.length<5)U.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 5 个字),大模型难以形成明确的判定逻辑",suggestion:"请补充具体的费用类型、核验条件与限制标准"});for(let G of wD1)if(Y.includes(G))U.push({level:"error",code:"VAGUE_WORD",snippet:G,message:`包含主观模糊词 "${G}",容易导致大模型判定标准产生波动与幻觉`,suggestion:`建议移除 "${G}",改为具体的金额上限、枚举范围或刚性判定条件`});let z=MD1.find((G)=>Y.includes(G)),Q=OD1.some((G)=>Y.includes(G));if(z&&!Q)U.push({level:"warning",code:"HANGING_EXCEPTION",snippet:z,message:`包含例外条款 "${z}",但未指定 AI 从何处核验该例外成立的依据`,suggestion:'建议补充明确的凭据来源(例如:"需在【单据备注】中说明原因" 或 "需在【附件】中上传审批截图")'});let J=U.filter((G)=>G.level==="error").length,I=U.filter((G)=>G.level==="warning").length;return{score:Math.max(0,100-J*25-I*10),passed:J===0,issues:U}}var wD1,MD1,OD1;var Hp=m(()=>{wD1=["原则上","尽量","适当","酌情","一般情况下","尽可能","合理控制","视情况","视具体情况"],MD1=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],OD1=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票"]});function TA0($){let Y=($.description||"").trim(),U=[];if(Y.length<5)U.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 5 个字),大模型难以形成明确的判定逻辑",suggestion:"请补充具体的费用类型、核验条件与限制标准"});else if(Y.length<10)U.push({level:"warning",code:"SHORT_DESCRIPTION",message:"规则描述偏短(少于 10 个字),可能缺少适用的单据范围或执行细节",suggestion:"建议扩充核验场景、限制标准或异常处理方式"});for(let Z of ND1)if(Y.includes(Z))U.push({level:"error",code:"VAGUE_WORD",snippet:Z,message:`包含主观模糊词 "${Z}",在严格风控模式下容易引起审核判定分歧`,suggestion:`请移除 "${Z}",明确量化标准或枚举具体允许的情形`});let z=DD1.find((Z)=>Y.includes(Z)),Q=AD1.some((Z)=>Y.includes(Z));if(z&&!Q)U.push({level:"error",code:"HANGING_EXCEPTION",snippet:z,message:`包含例外条款 "${z}",但未指定 AI 从何处核验该例外成立的凭证依据`,suggestion:'严格模式要求必须补充明确的核验来源(如:"需在【单据备注】中说明原因" 或 "需在【附件】中提供审批截图")'});let J=/\d+/.test(Y),I=BD1.some((Z)=>Y.includes(Z));if(!J&&!I)U.push({level:"warning",code:"LACKS_EXPLICIT_CONSTRAINT",message:"规则缺乏明确的定量标准(如金额、天数、频次)或绝对刚性边界词(如不得、禁止、仅限)",suggestion:"建议设定具体数值阈值或明确的禁止/准入条件,以便大模型精确判定"});let K=/经(批准|审批|领导同意|领导签字)|审批通过/.test(Y),G=PD1.some((Z)=>Y.includes(Z));if(K&&!G)U.push({level:"warning",code:"AMBIGUOUS_APPROVER",message:"规则提及审批例外,但未明确指定具体的审批角色(如部门总监、直接上级、财务负责人)",suggestion:"建议明确审批人角色(例如:经【部门总监】批准,经【直接上级】邮件确认)"});let H=U.filter((Z)=>Z.level==="error").length,W=U.filter((Z)=>Z.level==="warning").length;return{score:Math.max(0,100-H*30-W*15),passed:H===0,issues:U}}var ND1,DD1,AD1,BD1,PD1;var Wp=m(()=>{ND1=["原则上","尽量","适当","酌情","一般情况下","尽可能","合理控制","视情况","视具体情况","必要时","及时","适量","差不多","相关部门"],DD1=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],AD1=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票"],BD1=["¥","$","€","元","不得超过","不超过","超过","低于","不低于","最高","封顶","限额","禁止","严禁","必须","不予","仅限","每人","每日","每月","每年","每次","单笔"],PD1=["总监","VP","总经理","直接上级","部门负责人","项目经理","财务","分管领导","HR","CEO"]});function jA0($){let Y=($.description||"").trim(),U=($.scope||"").trim(),z=[];if(Y.length<10)z.push({level:"error",code:"TOO_SHORT",message:"规则描述过于简短(少于 10 个字),无法承载 HLab 结构化规范所要求的判定逻辑",suggestion:"请按照 HLab 工业化规范补充【检查方法】与【判定标准】"});else if(Y.length<30&&!Y.includes("**")&&!Y.includes("检查方法"))z.push({level:"warning",code:"SHORT_DESCRIPTION",message:"规则正文偏短且缺少结构化要素,可能缺少执行细节或证据边界",suggestion:"建议扩充核验场景、限制标准或异常处理方式"});if(!/\*\*检查方法\*\*|检查方法[::]/.test(Y))z.push({level:"error",code:"MISSING_CHECK_METHOD",message:"规则正文缺少【检查方法】结构块,大模型难以确定数据提取来源与对齐逻辑",suggestion:"建议在正文前部增加 **检查方法**:明确 SealAI 应读取的凭证类型、字段名称、归一化方式或前置规则依赖"});if(!/\*\*判定标准\*\*|判定标准[::]/.test(Y))z.push({level:"error",code:"MISSING_EVAL_STANDARD",message:"规则正文缺少【判定标准】结构块,缺乏标准化判定边界",suggestion:"建议在正文后部增加 **判定标准**:包含清晰的 PASS、FAIL 以及证据不足分支"});let I=/[-*•]?\s*PASS[::]/i.test(Y),K=/[-*•]?\s*FAIL[::]/i.test(Y),G=/[-*•]?\s*证据不足[::]/.test(Y);if(!I||!K||!G){let V=[];if(!I)V.push("PASS");if(!K)V.push("FAIL");if(!G)V.push("证据不足");z.push({level:"error",code:"INCOMPLETE_TERNARY_BRANCH",message:`判定标准未形成三元闭环,缺少分支:${V.join("、")}`,suggestion:"HLab 规范要求必须提供完整的三元分支:- PASS(充分合规条件)、- FAIL(明确违规条件)、- 证据不足(容错与复核条件)"})}if(G){let V=Y.split("证据不足")?.[1]?.slice(0,100)||"";if(!/人工复核|人工核对|人工审核|转人工/.test(V))z.push({level:"warning",code:"INSUFFICIENT_WITHOUT_MANUAL_REVIEW",message:"【证据不足】分支未明确指定转【人工复核】兜底,大模型在材料模糊或冲突时可能失控",suggestion:"建议在【证据不足】分支末尾补充标准处置话术:'转人工复核',确保容错降级路径统一"})}for(let V of TD1)if(Y.includes(V)){z.push({level:"warning",code:"DISPOSAL_ACTION_LEAK",snippet:V,message:`规则正文包含整单处置动作话术 "${V}",违反 HLab 规则事实判定与处置动作解耦规范`,suggestion:`请移除正文中的 "${V}";单据处置动作(驳回/提醒)应交由平台严格程度(必须遵守/仅建议)或业务工作流定义`});break}if(U){for(let V of jD1)if(U.includes(V)){z.push({level:"warning",code:"SCOPE_FALSE_SKIP_PRONE",snippet:V,message:`适用场景包含材料上传前置判断 "${V}",当材料未上传时可能导致该规则被静默跳过(SKIP)而非报违规(FAIL)`,suggestion:"建议适用场景仅保留业务与单据触发条件(如单据模板、费用类型);材料缺失的检查应显式置于【判定标准】的 FAIL 分支中"});break}}for(let V of ED1)if(Y.includes(V)){z.push({level:"error",code:"RISK_SUPPRESSION",snippet:V,message:`规则正文包含消极风险压制话术 "${V}",可能破坏模型正常审计底线或压制有效违规`,suggestion:"请移除该规则或改写为正向合规要求;若需豁免特定场景,请在 **例外** 结构块中封闭说明豁免条件与凭证依据"});break}let H=CD1.find((V)=>Y.includes(V)),W=RD1.some((V)=>Y.includes(V));if(H&&!W)z.push({level:"error",code:"HANGING_EXCEPTION",snippet:H,message:`包含例外条款 "${H}",但未指定 AI 从何处核验该例外成立的凭据来源`,suggestion:"HLab 规范要求例外条款必须明确凭据载体(如:在【**例外**】块中注明需提供专项 OA 审批 PDF 附件或商家盖章证明)"});let X=z.filter((V)=>V.level==="error").length,Z=z.filter((V)=>V.level==="warning").length;return{score:Math.max(0,100-X*25-Z*10),passed:X===0,issues:z}}var TD1,jD1,ED1,CD1,RD1;var Xp=m(()=>{TD1=["驳回单据","直接驳回","整单退回","退回单据","退单处理","进行提醒","请进行提醒","予以驳回","直接退回","无需人工关注","无需展示在最后的审核结论中"],jD1=["若上传了","如上传了","若提供了","如提供了","附件需上传","上传了发票","提供了支付截图","提供了行程单","上传了行程单"],ED1=["忽略行程冲突","忽略重复报销","忽略跨城一致性","不识别为风险","不作为风险事项","无需作为风险"],CD1=["除非","特殊情况","特殊原因","经批准","经审批","经领导同意","除外","例外"],RD1=["备注","说明","附件","证明","邮件","截图","凭证","审批","单据","发票","流程"]});var Zp;var qp=m(()=>{Zp={"builtin.ts":`/** * ============================================================================== * Seal 官方标准规则校验器 (Official Standard Rule Linter) @@ -878,13 +878,13 @@ export function lintRule(rule: RuleLintTarget): RuleLintResult { export default lintRule; `}});import{existsSync as Wz,mkdirSync as _D1,readFileSync as vD1,readdirSync as RA0,rmSync as hD1,unlinkSync as SD1,writeFileSync as gD1}from"node:fs";import{homedir as yD1}from"node:os";import{isAbsolute as kD1,join as f6,resolve as xD1}from"node:path";import{pathToFileURL as EA0}from"node:url";function _A0($=i$){let Y=[],U=[];try{if(!Wz($))_D1($,{recursive:!0});let z=Object.keys(Zp);for(let[J,I]of Object.entries(Zp)){let K=f6($,J),G=!0;if(Wz(K))try{if(vD1(K,"utf8")===I)G=!1}catch{G=!0}if(G)gD1(K,I,"utf8");Y.push(J)}let Q=RA0($,{withFileTypes:!0});for(let J of Q)if(!z.includes(J.name)){let I=f6($,J.name);try{if(J.isDirectory())hD1(I,{recursive:!0,force:!0});else SD1(I);U.push(J.name)}catch{}}}catch{}return{synced:Y,pruned:U}}function vA0($={syncOfficial:!0}){if($.syncOfficial!==!1)_A0();let Y=[{name:"builtin",type:"builtin",path:f6(i$,"builtin.ts"),description:"Seal 官方标准校验器 (拦截过短描述、主观模糊词与悬空例外条款)"},{name:"strict",type:"official",path:f6(i$,"strict.ts"),description:"Seal 官方严格风控校验器 (强校验字数、刚性定量约束、凭证依据与具体审批人角色)"},{name:"hlab",type:"official",path:f6(i$,"hlab.ts"),description:"合思实验室 (HLab) 结构化规则校验器 (SOP 四段论结构、三元闭环判定、剥离处置动作与防漏判)"}],U=[b$,mB];for(let z of U)if(Wz(z))try{let Q=RA0(z,{withFileTypes:!0});for(let J of Q){if(J.isDirectory())continue;let I=J.name;if(I.endsWith(".ts")||I.endsWith(".js")||I.endsWith(".mjs")){let K=I.replace(/\.(ts|js|mjs)$/,"");if(!Y.some((G)=>G.name===K))Y.push({name:K,type:"custom",path:f6(z,I),description:`用户自定义规则校验器 (${I})`})}}}catch{}return Y}function uD1($){let Y=($||"").trim();if(!Y||Y==="builtin"||Y==="default"||Y==="official/builtin"||Y==="official/builtin.ts")return{path:f6(i$,"builtin.ts"),isOfficial:!0,officialKind:"builtin"};if(Y==="strict"||Y==="official/strict"||Y==="official/strict.ts")return{path:f6(i$,"strict.ts"),isOfficial:!0,officialKind:"strict"};if(Y==="hlab"||Y==="hlab-sop"||Y==="hlab-rules"||Y==="hlab-standard"||Y==="official/hlab"||Y==="official/hlab.ts")return{path:f6(i$,"hlab.ts"),isOfficial:!0,officialKind:"hlab"};if(kD1(Y)||Y.startsWith("./")||Y.startsWith("../")){let z=xD1(Y);if(Wz(z))return{path:z};for(let Q of[".ts",".js",".mjs"])if(Wz(`${z}${Q}`))return{path:`${z}${Q}`}}let U=[f6(b$,`${Y}.ts`),f6(b$,`${Y}.js`),f6(b$,`${Y}.mjs`),f6(mB,`${Y}.ts`),f6(mB,`${Y}.js`),f6(mB,`${Y}.mjs`)];for(let z of U)if(Wz(z))return{path:z};return{}}async function Vp($){_A0();let Y=uD1($??"builtin");if(Y.isOfficial){let z=Y.officialKind==="strict"?TA0:Y.officialKind==="hlab"?jA0:eI,Q=Y.officialKind==="builtin"?"builtin":"official",J=Y.path;if(J&&Wz(J))try{let K=await import(EA0(J).href),G=K.default??K.lintRule??K.linter??K.lint;if(typeof G==="function")return{name:Y.officialKind??"builtin",type:Q,filePath:J,linter:CA0(G,z)}}catch{}return{name:Y.officialKind??"builtin",type:Q,filePath:J,linter:z}}let U=Y.path;if(!U)return console.error(`⚠️ [linter] 未找到自定义校验器 "${$}",已自动安全降级至内置标准校验器。`),{name:"builtin",type:"builtin",linter:eI};try{let Q=await import(EA0(U).href),J=Q.default??Q.lintRule??Q.linter??Q.lint;if(typeof J!=="function")return console.error(`⚠️ [linter] 自定义校验器 "${U}" 未导出标准函数 (default / lintRule),已安全降级至内置标准校验器。`),{name:"builtin",type:"builtin",linter:eI};return{name:$??"custom",type:"custom",filePath:U,linter:CA0(J,eI)}}catch(z){return console.error(`⚠️ [linter] 加载自定义校验器脚本 "${U}" 失败(语法错误或依赖缺失: ${z?.message??z}),已自动安全降级至内置标准校验器。`),{name:"builtin",type:"builtin",linter:eI}}}function CA0($,Y){return async(U,z)=>{try{let Q=await $(U,z);if(Q&&typeof Q==="object"&&typeof Q.score==="number"&&Array.isArray(Q.issues))return Q;return console.error("⚠️ [linter] 自定义校验器返回值格式不符合 RuleLintResult 契约,已回退至内置结果。"),Y(U,z)}catch(Q){return console.error("⚠️ [linter] 自定义校验器执行异常:",Q),Y(U,z)}}}var b$,fD1="official",i$,mB;var Lp=m(()=>{Hp();Xp();qp();Wp();b$=f6(yD1(),".config","seal-use","linters"),i$=f6(b$,fD1),mB=f6(process.cwd(),"linters")});async function Fp($,Y,U){let z=await Y.linter($,U);return{ruleId:$.id,ruleCode:$.code,ruleName:$.name,score:z.score,passed:z.passed,issues:z.issues,description:$.description}}async function hA0($,Y,U,z){let Q=z?.minScore??0,J=z?.level??"all",I=[],K=0;for(let q of $){let V=await Fp(q,Y,U);K+=V.score;let F=V.issues;if(J==="error")F=V.issues.filter((w)=>w.level==="error");else if(J==="warning")F=V.issues.filter((w)=>w.level==="warning"||w.level==="error");let M=F.every((w)=>w.level!=="error");if(z?.summary){if(F.length>0)I.push({...V,passed:M,issues:F})}else I.push({...V,passed:M,issues:F})}let G=$.length,H=G===0?100:Math.round(K/G),W=I.filter((q)=>q.issues.length>0).length,X=G-W,Z=H>=Q&&I.every((q)=>q.passed);return{linter:Y.name,linterType:Y.type,totalRules:G,healthyCount:X,issueCount:W,overallScore:H,passed:Z,issues:I}}var wp=m(()=>{PA0();Hp();Wp();Xp();qp();Lp()});import{existsSync as bD1,readFileSync as iD1,writeFileSync as cD1,mkdirSync as nD1}from"node:fs";import{dirname as pD1,resolve as gA0}from"node:path";function dD1($){let Y;try{Y=JSON.parse($)}catch(U){throw Error(`本地规则文件 JSON 解析失败: ${U instanceof Error?U.message:String(U)}`)}if(Array.isArray(Y))return{rules:SA0(Y),meta:{rulesCount:Y.length}};if(Y&&typeof Y==="object"){let U=Y,z=Array.isArray(U.rules)?U.rules:void 0;if(!z)throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象");return{rules:SA0(z),meta:{corpId:typeof U.corpId==="string"?U.corpId:void 0,source:typeof U.source==="string"?U.source:void 0,versionNumber:typeof U.versionNumber==="number"?U.versionNumber:void 0,exportedAt:typeof U.exportedAt==="string"?U.exportedAt:void 0,rulesCount:z.length}}}throw Error("本地规则文件格式错误: 顶层必须为规则数组或包含 'rules' 数组的对象")}function SA0($){return $.map((Y,U)=>{if(!Y||typeof Y!=="object")throw Error(`第 ${U+1} 条规则格式错误: 必须为对象`);let z=Y,Q=typeof z.description==="string"?z.description.trim():"";if(!Q)throw Error(`第 ${U+1} 条规则缺少有效的 'description' (规则描述) 字段`);let J=typeof z.code==="number"||typeof z.code==="string"?z.code:U+1;return{...z,code:J,description:Q,scope:typeof z.scope==="string"?z.scope:"ALL",strictness:typeof z.strictness==="string"?z.strictness:"MUST_FOLLOW"}})}function Mp($){let Y=gA0($);if(!bD1(Y))throw Error(`未找到本地规则文件: ${$} (${Y})`);let U=iD1(Y,"utf8");return{...dD1(U),resolvedPath:Y}}function yA0($,Y){let U=gA0($);return nD1(pD1(U),{recursive:!0}),cD1(U,`${JSON.stringify(Y,null,2)} `,"utf8"),U}function kA0($){return $.map((Y,U)=>{let z;if(typeof Y.code==="number")z=`#${String(Y.code).padStart(4,"0")}`;else if(typeof Y.code==="string")z=Y.code.startsWith("#")?Y.code:`#${Y.code}`;else z=`#${String(U+1).padStart(4,"0")}`;return{id:Y.id,code:z,name:Y.name,description:Y.description,scope:Y.scope,strictness:Y.strictness}})}var xA0=()=>{};var fA0,D5;var $K=m(()=>{fA0=class fA0 extends Error{errors;warnings;constructor($,Y=[]){super([`webhook 资源包校验失败:${$.length} 个错误`,...$.map((U)=>`- ${U}`)].join(` -`));this.errors=$;this.warnings=Y;this.name="ResourcePackValidationError"}};D5=fA0});var cA0=E((i14,iA0)=>{iA0.exports=lB;function lB(){this.pending=0,this.max=1/0,this.listeners=[],this.waiting=[],this.error=null}lB.prototype.go=function($){if(this.pending0&&$.pending<$.max)bA0($,$.waiting.shift());else if($.pending===0){var J=$.listeners;$.listeners=[],J.forEach(z)}}function z(Q){Q($.error)}}function bA0($,Y){Y(uA0($))}});var dA0=E((oD1)=>{var Op=I0("fs"),Np=I0("util"),nA0=I0("stream"),pA0=nA0.Readable,mD1=nA0.PassThrough,lD1=cA0(),oB=I0("events").EventEmitter;oD1.BufferSlicer=UK;oD1.FdSlicer=YK;Np.inherits(YK,oB);function YK($){oB.call(this),this.fd=$,this.pend=new lD1,this.pend.max=1,this.refCount=0}YK.prototype.read=function($,Y,U,z,Q){var J=this;J.pend.go(function(I){Op.read(J.fd,$,Y,U,z,function(K,G,H){I(),Q(K,G,H)})})};YK.prototype.createReadStream=function($){return new gZ(this,$)};YK.prototype.ref=function(){this.refCount+=1};YK.prototype.unref=function(){var $=this;if($.refCount-=1,$.refCount<0)throw Error("invalid unref");if($.refCount>0)return;Op.close($.fd,Y);function Y(U){if(U)$.emit("error",U);else $.emit("close")}};Np.inherits(gZ,pA0);function gZ($,Y){Y=Y||{},pA0.call(this,Y),this.context=$,this.context.ref(),this.start=Y.start||0,this.endOffset=Y.end,this.pos=this.start}gZ.prototype._read=function($){var Y=this,U=Math.min(Y._readableState.highWaterMark,$);if(Y.endOffset!=null)U=Math.min(U,Y.endOffset-Y.pos);if(U<=0){Y.push(null),this._cleanup();return}Y.context.pend.go(function(z){var Q=Buffer.allocUnsafe(U);Op.read(Y.context.fd,Q,0,U,Y.pos,function(J,I){if(J)Y.destroy(J);else if(I===0)Y.push(null),Y._cleanup();else Y.pos+=I,Y.push(Q.slice(0,I));z()})})};gZ.prototype._destroy=function($,Y){this._cleanup(),Y($)};gZ.prototype._cleanup=function(){if(this.context!=null)this.context.unref(),this.context=null};Np.inherits(UK,oB);function UK($){oB.call(this),this.refCount=0,this.buffer=$}UK.prototype.read=function($,Y,U,z,Q){if(!(0<=Y&&Y<=$.length))throw RangeError("offset outside buffer: 0 <= "+Y+" <= "+$.length);if(z<0)throw RangeError("position is negative: "+z);if(Y+U>$.length)U=$.length-Y;if(z+U>this.buffer.length)U=this.buffer.length-z;if(U<=0){setImmediate(function(){Q(null,0)});return}this.buffer.copy($,Y,z,z+U),setImmediate(function(){Q(null,U)})};UK.prototype.createReadStream=function($){$=$||{};var Y=new mD1($);Y.start=$.start||0,Y.endOffset=$.end,Y.pos=Y.endOffset||this.buffer.length;var U=this.buffer.slice(Y.start,Y.pos),z=65536,Q=0;while(!0){var J=Q+z;if(J>=U.length){if(Q{var aD1=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function tD1($){let Y=-1;for(let U of $)Y=aD1[(Y^U)&255]^Y>>>8;return(Y^-1)>>>0}mA0.exports=tD1});var QB0=E((IA1)=>{var Dp=I0("fs"),Ap=I0("zlib"),oA0=dA0(),aB=I0("util"),tB=I0("events").EventEmitter,rA0=I0("stream").Transform,Pp=I0("stream").PassThrough,eD1=I0("stream").Writable,$A1=typeof Ap.crc32==="function"?Ap.crc32:lA0();IA1.open=sA0;IA1.fromFd=Tp;IA1.fromBuffer=aA0;IA1.fromRandomAccessReader=eB;IA1.openPromise=YA1;IA1.fromFdPromise=UA1;IA1.fromBufferPromise=zA1;IA1.fromRandomAccessReaderPromise=QA1;IA1.dosDateTimeToDate=$B0;IA1.getFileNameLowLevel=YB0;IA1.validateFileName=UB0;IA1.parseExtraFields=zB0;IA1.ZipFile=a8;IA1.Entry=JK;IA1.LocalFileHeader=eA0;IA1.RandomAccessReader=b2;function YA1($,Y){return new Promise((U,z)=>{sA0($,{...Y,lazyEntries:!0},function(Q,J){if(Q)return z(Q);U(J)})})}function UA1($,Y){return new Promise((U,z)=>{Tp($,{...Y,lazyEntries:!0},function(Q,J){if(Q)return z(Q);U(J)})})}function zA1($,Y){return new Promise((U,z)=>{aA0($,{...Y,lazyEntries:!0},function(Q,J){if(Q)return z(Q);U(J)})})}function QA1($,Y,U){return new Promise((z,Q)=>{eB($,Y,{...U,lazyEntries:!0},function(J,I){if(J)return Q(J);z(I)})})}function sA0($,Y,U){if(typeof Y==="function")U=Y,Y=null;if(Y==null)Y={};if(Y.autoClose==null)Y.autoClose=!0;if(Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;if(U==null)U=sB;Dp.open($,"r",function(z,Q){if(z)return U(z);Tp(Q,Y,function(J,I){if(J)Dp.close(Q,sB);U(J,I)})})}function Tp($,Y,U){if(typeof Y==="function")U=Y,Y=null;if(Y==null)Y={};if(Y.autoClose==null)Y.autoClose=!1;if(Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;if(U==null)U=sB;Dp.fstat($,function(z,Q){if(z)return U(z);var J=new oA0.FdSlicer($);eB(J,Q.size,Y,U)})}function aA0($,Y,U){if(typeof Y==="function")U=Y,Y=null;if(Y==null)Y={};if(Y.autoClose=!1,Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;var z=new oA0.BufferSlicer($);eB(z,$.length,Y,U)}function eB($,Y,U,z){if(typeof U==="function")z=U,U=null;if(U==null)U={};if(U.autoClose==null)U.autoClose=!0;if(U.lazyEntries==null)U.lazyEntries=!1;if(U.decodeStrings==null)U.decodeStrings=!0;var Q=!!U.decodeStrings;if(U.validateEntrySizes==null)U.validateEntrySizes=!0;if(U.strictFileNames==null)U.strictFileNames=!1;if(z==null)z=sB;if(typeof Y!=="number")throw Error("expected totalSize parameter to be a number");if(Y>Number.MAX_SAFE_INTEGER)throw Error("zip file too large. only file sizes up to 2^52 are supported due to JavaScript's Number type being an IEEE 754 double.");$.ref();var J=22,I=20,K=65535,G=Math.min(I+J+K,Y),H=k3(G),W=Y-H.length;QK($,H,0,G,W,function(X){if(X)return z(X);for(var Z=G-J;Z>=0;Z-=1){if(H.readUInt32LE(Z)!==101010256)continue;var q=H.subarray(Z),V=q.readUInt16LE(4),F=q.readUInt16LE(10),M=q.readUInt32LE(16),w=q.readUInt16LE(20),N=q.length-J;if(w!==N)return z(Error("Invalid comment length. Expected: "+N+". Found: "+w+". Are there extra bytes at the end of the file? Or is the end of central dir signature `PK☺☻` in the comment?"));var O=Q?rB(q.subarray(22),!1):q.subarray(22);if(Z-I>=0&&H.readUInt32LE(Z-I)===117853008){var D=H.subarray(Z-I,Z-I+I),P=zK(D,8),T=k3(56);return QK($,T,0,T.length,P,function(A){if(A)return z(A);if(T.readUInt32LE(0)!==101075792)return z(Error("invalid zip64 end of central directory record signature"));if(V=T.readUInt32LE(16),V!==0)return z(Error("multi-disk zip files are not supported: found disk number: "+V));return F=zK(T,32),M=zK(T,48),z(null,new a8($,M,Y,F,O,U.autoClose,U.lazyEntries,Q,U.validateEntrySizes,U.strictFileNames))})}if(V!==0)return z(Error("multi-disk zip files are not supported: found disk number: "+V));return z(null,new a8($,M,Y,F,O,U.autoClose,U.lazyEntries,Q,U.validateEntrySizes,U.strictFileNames))}z(Error("End of central directory record signature not found. Either not a zip file, or file is truncated."))})}aB.inherits(a8,tB);function a8($,Y,U,z,Q,J,I,K,G,H){var W=this;if(tB.call(W),W.reader=$,W.reader.on("error",function(X){tA0(W,X)}),W.reader.once("close",function(){W.emit("close")}),W.readEntryCursor=Y,W.fileSize=U,W.entryCount=z,W.comment=Q,W.entriesRead=0,W.autoClose=!!J,W.lazyEntries=!!I,W.decodeStrings=!!K,W.validateEntrySizes=!!G,W.strictFileNames=!!H,W.isOpen=!0,W.emittedError=!1,W.hasEachEntryBeenCalled=!1,!W.lazyEntries)W._readEntry()}a8.prototype.close=function(){if(!this.isOpen)return;this.isOpen=!1,this.reader.unref()};function A9($,Y){if($.autoClose)$.close();tA0($,Y)}function tA0($,Y){if($.emittedError)return;$.emittedError=!0,$.emit("error",Y)}a8.prototype.readEntry=function(){if(!this.lazyEntries)throw Error("readEntry() called without lazyEntries:true");this._readEntry()};a8.prototype._readEntry=function(){var $=this;if($.entryCount===$.entriesRead){setImmediate(function(){if($.autoClose)$.close();if($.emittedError)return;$.emit("end")});return}if($.emittedError)return;var Y=k3(46);QK($.reader,Y,0,Y.length,$.readEntryCursor,function(U){if(U)return A9($,U);if($.emittedError)return;var z=new JK,Q=Y.readUInt32LE(0);if(Q!==33639248)return A9($,Error("invalid central directory file header signature: 0x"+Q.toString(16)));if(z.versionMadeBy=Y.readUInt16LE(4),z.versionNeededToExtract=Y.readUInt16LE(6),z.generalPurposeBitFlag=Y.readUInt16LE(8),z.compressionMethod=Y.readUInt16LE(10),z.lastModFileTime=Y.readUInt16LE(12),z.lastModFileDate=Y.readUInt16LE(14),z.crc32=Y.readUInt32LE(16),z.compressedSize=Y.readUInt32LE(20),z.uncompressedSize=Y.readUInt32LE(24),z.fileNameLength=Y.readUInt16LE(28),z.extraFieldLength=Y.readUInt16LE(30),z.fileCommentLength=Y.readUInt16LE(32),z.internalFileAttributes=Y.readUInt16LE(36),z.externalFileAttributes=Y.readUInt32LE(38),z.relativeOffsetOfLocalHeader=Y.readUInt32LE(42),z.generalPurposeBitFlag&64)return A9($,Error("strong encryption is not supported"));$.readEntryCursor+=46,Y=k3(z.fileNameLength+z.extraFieldLength+z.fileCommentLength),QK($.reader,Y,0,Y.length,$.readEntryCursor,function(J){if(J)return A9($,J);if($.emittedError)return;z.fileNameRaw=Y.subarray(0,z.fileNameLength);var I=z.fileNameLength+z.extraFieldLength;z.extraFieldRaw=Y.subarray(z.fileNameLength,I),z.fileCommentRaw=Y.subarray(I,I+z.fileCommentLength);try{z.extraFields=zB0(z.extraFieldRaw)}catch(F){return A9($,F)}if($.decodeStrings){var K=(z.generalPurposeBitFlag&2048)!==0;z.fileComment=rB(z.fileCommentRaw,K),z.fileName=YB0(z.generalPurposeBitFlag,z.fileNameRaw,z.extraFields,$.strictFileNames);var G=UB0(z.fileName);if(G!=null)return A9($,Error(G))}else z.fileComment=z.fileCommentRaw,z.fileName=z.fileNameRaw;z.comment=z.fileComment,$.readEntryCursor+=Y.length,$.entriesRead+=1;for(var H=0;HX.length)return A9($,Error("zip64 extended information extra field does not include uncompressed size"));z.uncompressedSize=zK(X,Z),Z+=8}if(z.compressedSize===4294967295){if(Z+8>X.length)return A9($,Error("zip64 extended information extra field does not include compressed size"));z.compressedSize=zK(X,Z),Z+=8}if(z.relativeOffsetOfLocalHeader===4294967295){if(Z+8>X.length)return A9($,Error("zip64 extended information extra field does not include relative header offset"));z.relativeOffsetOfLocalHeader=zK(X,Z),Z+=8}break}if($.validateEntrySizes&&z.compressionMethod===0){var q=z.uncompressedSize;if(z.isEncrypted())q+=12;if(z.compressedSize!==q){var V="compressed/uncompressed size mismatch for stored file: "+z.compressedSize+" != "+z.uncompressedSize;return A9($,Error(V))}}if($.emit("entry",z),!$.lazyEntries)$._readEntry()})})};a8.prototype.eachEntry=function(){let $=this;if(!$.lazyEntries)throw Error("eachEntry() requires lazyEntries: true");if($.hasEachEntryBeenCalled)throw Error("eachEntry() must only be called once per ZipFile");$.hasEachEntryBeenCalled=!0;let Y=null;$.on("entry",z),$.on("end",Q),$.on("error",J);function U(){if($.removeListener("entry",z),$.removeListener("end",Q),$.removeListener("error",J),$.autoClose)$.close()}function z(I){let{resolve:K}=Y;Y=null,K({value:I})}function Q(){let{resolve:I}=Y;Y=null,U(),I({done:!0})}function J(I){let{reject:K}=Y;Y=null,U(),K(I)}return{[Symbol.asyncIterator](){return this},next(){let I=new Promise((K,G)=>{if(Y!=null)throw Error("next() called before previous Promise was resolved.");Y={resolve:K,reject:G}});return $.readEntry(),I},return(I){return U(),Promise.resolve({done:!0,value:I})},throw(I){return U(),Promise.reject(I)}}};a8.prototype.openReadStream=function($,Y,U){var z=this,Q=0,J=$.compressedSize;if(U==null)U=Y,Y=null;if(Y==null)Y={};else{if(Y.decodeFileData===!1){if(Y.decrypt!=null)throw Error("cannot use options.decrypt when options.decodeFileData === false");if(Y.decompress!=null)throw Error("cannot use options.decompress when options.decodeFileData === false")}else{if(Y.decrypt!=null){if(!$.isEncrypted())throw Error("options.decrypt can only be specified for encrypted entries. See also option decodeFileData.");if(Y.decrypt!==!1)throw Error("invalid options.decrypt value: "+Y.decrypt);if($.isCompressed()){if(Y.decompress!==!1)throw Error("entry is encrypted and compressed, and options.decompress !== false. See also option decodeFileData.")}}if(Y.decompress!=null){if(!$.isCompressed())throw Error("options.decompress can only be specified for compressed entries. See also option decodeFileData.");if(!(Y.decompress===!1||Y.decompress===!0))throw Error("invalid options.decompress value: "+Y.decompress);K=Y.decompress}}if(Y.start!=null){if(Q=Y.start,Q<0)throw Error("options.start < 0");if(Q>$.compressedSize)throw Error("options.start > entry.compressedSize")}if(Y.end!=null){if(J=Y.end,J<0)throw Error("options.end < 0");if(J>$.compressedSize)throw Error("options.end > entry.compressedSize");if(Jz.fileSize)return U(Error("file data overflows file bounds: "+H+" + "+$.compressedSize+" > "+z.fileSize));if(Y.minimal)return U(null,{fileDataStart:H});var W=new eA0;W.fileDataStart=H,W.versionNeededToExtract=Q.readUInt16LE(4),W.generalPurposeBitFlag=Q.readUInt16LE(6),W.compressionMethod=Q.readUInt16LE(8),W.lastModFileTime=Q.readUInt16LE(10),W.lastModFileDate=Q.readUInt16LE(12),W.crc32=Q.readUInt32LE(14),W.compressedSize=Q.readUInt32LE(18),W.uncompressedSize=Q.readUInt32LE(22),W.fileNameLength=K,W.extraFieldLength=G,Q=k3(K+G),z.reader.ref(),QK(z.reader,Q,0,Q.length,$.relativeOffsetOfLocalHeader+30,function(X){try{if(X)return U(X);return W.fileName=Q.subarray(0,K),W.extraField=Q.subarray(K),U(null,W)}finally{z.reader.unref()}})}finally{z.reader.unref()}})};a8.prototype.openReadStreamPromise=function($,Y){return new Promise((U,z)=>{this.openReadStream($,Y,function(Q,J){if(Q)return z(Q);U(J)})})};a8.prototype.openReadStreamLowLevelPromise=function($,Y,U,z,Q,J){return new Promise((I,K)=>{this.openReadStream($,Y,U,z,Q,J,function(G,H){if(G)return K(G);I(H)})})};a8.prototype.readLocalFileHeaderPromise=function($,Y){return new Promise((U,z)=>{this.readLocalFileHeader($,Y,function(Q,J){if(Q)return z(Q);U(J)})})};function JK(){}JK.prototype.getLastModDate=function($){if($==null)$={};if(!$.forceDosFormat)for(var Y=0;Y>5&15)-1,J=($>>9&127)+1980,I=0,K=(Y&31)*2,G=Y>>5&63,H=Y>>11&31;if(U==null||U==="local")return new Date(J,Q,z,H,G,K,I);else if(U==="UTC")return new Date(Date.UTC(J,Q,z,H,G,K,I));else throw Error("unrecognized options.timezone: "+options.timezone)}function YB0($,Y,U,z){var Q=null;for(var J=0;J$.length)throw Error("extra field length exceeds extra field buffer size");var K=$.subarray(J,I);Y.push({id:z,data:K}),U=I}return Y}function QK($,Y,U,z,Q,J){if(z===0)return setImmediate(function(){J(null,k3(0))});$.read(Y,U,z,Q,function(I,K){if(I)return J(I);if(Kthis.expectedByteCount){var z="too many bytes in the stream. expected "+this.expectedByteCount+". got at least "+this.actualByteCount;return U(Error(z))}U(null,$)};yZ.prototype._flush=function($){if(this.actualByteCount0)return;if($.refCount<0)throw Error("invalid unref");$.close(Y);function Y(U){if(U)return $.emit("error",U);$.emit("close")}};b2.prototype.createReadStream=function($){if($==null)$={};var{start:Y,end:U}=$;if(Y===U){var z=new Pp;return setImmediate(function(){z.end()}),z}var Q=this._readStreamForRange(Y,U),J=!1,I=new $P(this);Q.on("error",function(G){setImmediate(function(){if(!J)I.emit("error",G)})}),Bp(I,function(){Q.unpipe(I),I.unref(),Q.destroy()});var K=new yZ(U-Y);return I.on("error",function(G){setImmediate(function(){if(!J)K.emit("error",G)})}),Bp(K,function(){J=!0,I.unpipe(K),I.destroy()}),Q.pipe(I).pipe(K)};b2.prototype._readStreamForRange=function($,Y){throw Error("not implemented")};b2.prototype.read=function($,Y,U,z,Q){var J=this.createReadStream({start:z,end:z+U}),I=new eD1,K=0;I._write=function(G,H,W){G.copy($,Y+K,0,G.length),K+=G.length,W()},I.on("finish",Q),J.on("error",function(G){Q(G)}),J.pipe(I)};b2.prototype.close=function($){setImmediate($)};aB.inherits($P,Pp);function $P($){Pp.call(this),this.context=$,this.context.ref(),this.unreffedYet=!1}$P.prototype._flush=function($){this.unref(),$()};$P.prototype.unref=function($){if(this.unreffedYet)return;this.unreffedYet=!0,this.context.unref()};var JA1="\x00☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ";function rB($,Y){if(Y)return $.toString("utf8");else{var U="";for(var z=0;z<$.length;z++)U+=JA1[$[z]];return U}}function zK($,Y){var U=$.readUInt32LE(Y),z=$.readUInt32LE(Y+4);return z*4294967296+U}var k3;if(typeof Buffer.allocUnsafe==="function")k3=function($){return Buffer.allocUnsafe($)};else k3=function($){return new Buffer($)};function Bp($,Y){if(typeof $.destroy==="function")$._destroy=function(U,z){if(Y(),z!=null)z(U)};else $.destroy=Y}function sB($){if($)throw $}});var x3=E((d14,JB0)=>{var YP=I0("buffer"),IK=YP.Buffer,c$={},n$;for(n$ in YP){if(!YP.hasOwnProperty(n$))continue;if(n$==="SlowBuffer"||n$==="Buffer")continue;c$[n$]=YP[n$]}var KK=c$.Buffer={};for(n$ in IK){if(!IK.hasOwnProperty(n$))continue;if(n$==="allocUnsafe"||n$==="allocUnsafeSlow")continue;KK[n$]=IK[n$]}c$.Buffer.prototype=IK.prototype;if(!KK.from||KK.from===Uint8Array.from)KK.from=function($,Y,U){if(typeof $==="number")throw TypeError('The "value" argument must not be of type number. Received type '+typeof $);if($&&typeof $.length>"u")throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $);return IK($,Y,U)};if(!KK.alloc)KK.alloc=function($,Y,U){if(typeof $!=="number")throw TypeError('The "size" argument must be of type number. Received type '+typeof $);if($<0||$>=2147483648)throw RangeError('The value "'+$+'" is invalid for option "size"');var z=IK($);if(!Y||Y.length===0)z.fill(0);else if(typeof U==="string")z.fill(Y,U);else z.fill(Y);return z};if(!c$.kStringMaxLength)try{c$.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch($){}if(!c$.constants){if(c$.constants={MAX_LENGTH:c$.kMaxLength},c$.kStringMaxLength)c$.constants.MAX_STRING_LENGTH=c$.kStringMaxLength}JB0.exports=c$});var KB0=E((BA1)=>{var IB0="\uFEFF";BA1.PrependBOM=jp;function jp($,Y){this.encoder=$,this.addBOM=!0}jp.prototype.write=function($){if(this.addBOM)$=IB0+$,this.addBOM=!1;return this.encoder.write($)};jp.prototype.end=function(){return this.encoder.end()};BA1.StripBOM=Ep;function Ep($,Y){this.decoder=$,this.pass=!1,this.options=Y||{}}Ep.prototype.write=function($){var Y=this.decoder.write($);if(this.pass||!Y)return Y;if(Y[0]===IB0){if(Y=Y.slice(1),typeof this.options.stripBOM==="function")this.options.stripBOM()}return this.pass=!0,Y};Ep.prototype.end=function(){return this.decoder.end()}});var Cp=E((l14,GB0)=>{var jA1=typeof Object.hasOwn>"u"?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;function EA1($,Y){for(var U in Y)if(jA1(Y,U))$[U]=Y[U]}GB0.exports=EA1});var WB0=E((o14,HB0)=>{var f3=x3().Buffer;HB0.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:Rp};function Rp($,Y){if(this.enc=$.encodingName,this.bomAware=$.bomAware,this.enc==="base64")this.encoder=hp;else if(this.enc==="utf8")this.encoder=yp;else if(this.enc==="cesu8"){if(this.enc="utf8",this.encoder=Sp,f3.from("eda0bdedb2a9","hex").toString()!=="\uD83D\uDCA9")this.decoder=gp,this.defaultCharUnicode=Y.defaultCharUnicode}}Rp.prototype.encoder=vp;Rp.prototype.decoder=_p;var CA1=I0("string_decoder").StringDecoder;function _p($,Y){this.decoder=new CA1(Y.enc)}_p.prototype.write=function($){if(!f3.isBuffer($))$=f3.from($);return this.decoder.write($)};_p.prototype.end=function(){return this.decoder.end()};function vp($,Y){this.enc=Y.enc}vp.prototype.write=function($){return f3.from($,this.enc)};vp.prototype.end=function(){};function hp($,Y){this.prevStr=""}hp.prototype.write=function($){$=this.prevStr+$;var Y=$.length-$.length%4;return this.prevStr=$.slice(Y),$=$.slice(0,Y),f3.from($,"base64")};hp.prototype.end=function(){return f3.from(this.prevStr,"base64")};function Sp($,Y){}Sp.prototype.write=function($){var Y=f3.alloc($.length*3),U=0;for(var z=0;z<$.length;z++){var Q=$.charCodeAt(z);if(Q<128)Y[U++]=Q;else if(Q<2048)Y[U++]=192+(Q>>>6),Y[U++]=128+(Q&63);else Y[U++]=224+(Q>>>12),Y[U++]=128+(Q>>>6&63),Y[U++]=128+(Q&63)}return Y.slice(0,U)};Sp.prototype.end=function(){};function gp($,Y){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=Y.defaultCharUnicode}gp.prototype.write=function($){var Y=this.acc,U=this.contBytes,z=this.accBytes,Q="";for(var J=0;J<$.length;J++){var I=$[J];if((I&192)!==128){if(U>0)Q+=this.defaultCharUnicode,U=0;if(I<128)Q+=String.fromCharCode(I);else if(I<224)Y=I&31,U=1,z=1;else if(I<240)Y=I&15,U=2,z=1;else Q+=this.defaultCharUnicode}else if(U>0){if(Y=Y<<6|I&63,U--,z++,U===0)if(z===2&&Y<128&&Y>0)Q+=this.defaultCharUnicode;else if(z===3&&Y<2048)Q+=this.defaultCharUnicode;else Q+=String.fromCharCode(Y)}else Q+=this.defaultCharUnicode}return this.acc=Y,this.contBytes=U,this.accBytes=z,Q};gp.prototype.end=function(){var $=0;if(this.contBytes>0)$+=this.defaultCharUnicode;return $};function yp($,Y){this.highSurrogate=""}yp.prototype.write=function($){if(this.highSurrogate)$=this.highSurrogate+$,this.highSurrogate="";if($.length>0){var Y=$.charCodeAt($.length-1);if(Y>=55296&&Y<56320)this.highSurrogate=$[$.length-1],$=$.slice(0,$.length-1)}return f3.from($,this.enc)};yp.prototype.end=function(){if(this.highSurrogate){var $=this.highSurrogate;return this.highSurrogate="",f3.from($,this.enc)}}});var qB0=E((RA1)=>{var UP=x3().Buffer;RA1._utf32=kp;function kp($,Y){this.iconv=Y,this.bomAware=!0,this.isLE=$.isLE}RA1.utf32le={type:"_utf32",isLE:!0};RA1.utf32be={type:"_utf32",isLE:!1};RA1.ucs4le="utf32le";RA1.ucs4be="utf32be";kp.prototype.encoder=xp;kp.prototype.decoder=fp;function xp($,Y){this.isLE=Y.isLE,this.highSurrogate=0}xp.prototype.write=function($){var Y=UP.from($,"ucs2"),U=UP.alloc(Y.length*2+4),z=this.isLE?U.writeUInt32LE:U.writeUInt32BE,Q=0;for(var J=0;J=55296&&I<56320,G=I>=56320&&I<57344;if(this.highSurrogate)if(K||!G)z.call(U,this.highSurrogate,Q),Q+=4;else{var H=(this.highSurrogate-55296<<10|I-56320)+65536;z.call(U,H,Q),Q+=4,this.highSurrogate=0;continue}if(K)this.highSurrogate=I;else z.call(U,I,Q),Q+=4,this.highSurrogate=0}if(Q0){for(;Y<$.length&&I.length<4;Y++)I.push($[Y]);if(I.length===4){if(J)U=I[0]|I[1]<<8|I[2]<<16|I[3]<<24;else U=I[3]|I[2]<<8|I[1]<<16|I[0]<<24;I.length=0,Q=XB0(z,Q,U,K)}}for(;Y<$.length-3;Y+=4){if(J)U=$[Y]|$[Y+1]<<8|$[Y+2]<<16|$[Y+3]<<24;else U=$[Y+3]|$[Y+2]<<8|$[Y+1]<<16|$[Y]<<24;Q=XB0(z,Q,U,K)}for(;Y<$.length;Y++)I.push($[Y]);return z.slice(0,Q).toString("ucs2")};function XB0($,Y,U,z){if(U<0||U>1114111)U=z;if(U>=65536){U-=65536;var Q=55296|U>>10;$[Y++]=Q&255,$[Y++]=Q>>8;var U=56320|U&1023}return $[Y++]=U&255,$[Y++]=U>>8,Y}fp.prototype.end=function(){if(this.overflow.length===0)return;return this.overflow.length=0,String.fromCharCode(this.badChar)};RA1.utf32=up;RA1.ucs4="utf32";function up($,Y){this.iconv=Y}up.prototype.encoder=bp;up.prototype.decoder=ip;function bp($,Y){if($=$||{},$.addBOM===void 0)$.addBOM=!0;this.encoder=Y.iconv.getEncoder($.defaultEncoding||"utf-32le",$)}bp.prototype.write=function($){return this.encoder.write($)};bp.prototype.end=function(){return this.encoder.end()};function ip($,Y){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=$||{},this.iconv=Y.iconv}ip.prototype.write=function($){if(!this.decoder){if(this.initialBufs.push($),this.initialBufsLen+=$.length,this.initialBufsLen<32)return"";var Y=ZB0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(Y,this.options);var U="";for(var z=0;z16)J++;if(U[3]!==0||U[2]>16)Q++;if(U[0]===0&&U[1]===0&&(U[2]!==0||U[3]!==0))K++;if((U[0]!==0||U[1]!==0)&&U[2]===0&&U[3]===0)I++;if(U.length=0,z++,z>=100)break $}}if(K-J>I-Q)return"utf-32be";if(K-J{var VB0=x3().Buffer;xA1.utf16be=zP;function zP(){}zP.prototype.encoder=cp;zP.prototype.decoder=np;zP.prototype.bomAware=!0;function cp(){}cp.prototype.write=function($){var Y=VB0.from($,"ucs2");for(var U=0;U=100)break $}}if(J>Q)return"utf-16be";if(J{var B9=x3().Buffer;nA1.utf7=QP;nA1.unicode11utf7="utf7";function QP($,Y){this.iconv=Y}QP.prototype.encoder=op;QP.prototype.decoder=rp;QP.prototype.bomAware=!0;var bA1=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function op($,Y){this.iconv=Y.iconv}op.prototype.write=function($){return B9.from($.replace(bA1,function(Y){return"+"+(Y==="+"?"":this.iconv.encode(Y,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};op.prototype.end=function(){};function rp($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=""}var iA1=/[A-Za-z0-9\/+]/,sp=[];for(GK=0;GK<256;GK++)sp[GK]=iA1.test(String.fromCharCode(GK));var GK,cA1=43,Xz=45,lp=38;rp.prototype.write=function($){var Y="",U=0,z=this.inBase64,Q=this.base64Accum;for(var J=0;J<$.length;J++)if(!z){if($[J]==cA1)Y+=this.iconv.decode($.slice(U,J),"ascii"),U=J+1,z=!0}else if(!sp[$[J]]){if(J==U&&$[J]==Xz)Y+="+";else{var I=Q+this.iconv.decode($.slice(U,J),"ascii");Y+=this.iconv.decode(B9.from(I,"base64"),"utf16-be")}if($[J]!=Xz)J--;U=J+1,z=!1,Q=""}if(!z)Y+=this.iconv.decode($.slice(U),"ascii");else{var I=Q+this.iconv.decode($.slice(U),"ascii"),K=I.length-I.length%8;Q=I.slice(K),I=I.slice(0,K),Y+=this.iconv.decode(B9.from(I,"base64"),"utf16-be")}return this.inBase64=z,this.base64Accum=Q,Y};rp.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(B9.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$};nA1.utf7imap=JP;function JP($,Y){this.iconv=Y}JP.prototype.encoder=ap;JP.prototype.decoder=tp;JP.prototype.bomAware=!0;function ap($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=B9.alloc(6),this.base64AccumIdx=0}ap.prototype.write=function($){var Y=this.inBase64,U=this.base64Accum,z=this.base64AccumIdx,Q=B9.alloc($.length*5+10),J=0;for(var I=0;I<$.length;I++){var K=$.charCodeAt(I);if(K>=32&&K<=126){if(Y){if(z>0)J+=Q.write(U.slice(0,z).toString("base64").replace(/\//g,",").replace(/=+$/,""),J),z=0;Q[J++]=Xz,Y=!1}if(!Y){if(Q[J++]=K,K===lp)Q[J++]=Xz}}else{if(!Y)Q[J++]=lp,Y=!0;if(Y){if(U[z++]=K>>8,U[z++]=K&255,z==U.length)J+=Q.write(U.toString("base64").replace(/\//g,","),J),z=0}}}return this.inBase64=Y,this.base64AccumIdx=z,Q.slice(0,J)};ap.prototype.end=function(){var $=B9.alloc(10),Y=0;if(this.inBase64){if(this.base64AccumIdx>0)Y+=$.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),Y),this.base64AccumIdx=0;$[Y++]=Xz,this.inBase64=!1}return $.slice(0,Y)};function tp($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=""}var wB0=sp.slice();wB0[44]=!0;tp.prototype.write=function($){var Y="",U=0,z=this.inBase64,Q=this.base64Accum;for(var J=0;J<$.length;J++)if(!z){if($[J]==lp)Y+=this.iconv.decode($.slice(U,J),"ascii"),U=J+1,z=!0}else if(!wB0[$[J]]){if(J==U&&$[J]==Xz)Y+="&";else{var I=Q+this.iconv.decode($.slice(U,J),"ascii").replace(/,/g,"/");Y+=this.iconv.decode(B9.from(I,"base64"),"utf16-be")}if($[J]!=Xz)J--;U=J+1,z=!1,Q=""}if(!z)Y+=this.iconv.decode($.slice(U),"ascii");else{var I=Q+this.iconv.decode($.slice(U),"ascii").replace(/,/g,"/"),K=I.length-I.length%8;Q=I.slice(K),I=I.slice(0,K),Y+=this.iconv.decode(B9.from(I,"base64"),"utf16-be")}return this.inBase64=z,this.base64Accum=Q,Y};tp.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(B9.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$}});var OB0=E((lA1)=>{var IP=x3().Buffer;lA1._sbcs=ep;function ep($,Y){if(!$)throw Error("SBCS codec is called without the data.");if(!$.chars||$.chars.length!==128&&$.chars.length!==256)throw Error("Encoding '"+$.type+"' has incorrect 'chars' (must be of len 128 or 256)");if($.chars.length===128){var U="";for(var z=0;z<128;z++)U+=String.fromCharCode(z);$.chars=U+$.chars}this.decodeBuf=IP.from($.chars,"ucs2");var Q=IP.alloc(65536,Y.defaultCharSingleByte.charCodeAt(0));for(var z=0;z<$.chars.length;z++)Q[$.chars.charCodeAt(z)]=z;this.encodeBuf=Q}ep.prototype.encoder=$d;ep.prototype.decoder=Yd;function $d($,Y){this.encodeBuf=Y.encodeBuf}$d.prototype.write=function($){var Y=IP.alloc($.length);for(var U=0;U<$.length;U++)Y[U]=this.encodeBuf[$.charCodeAt(U)];return Y};$d.prototype.end=function(){};function Yd($,Y){this.decodeBuf=Y.decodeBuf}Yd.prototype.write=function($){var Y=this.decodeBuf,U=IP.alloc($.length*2),z=0,Q=0;for(var J=0;J<$.length;J++)z=$[J]*2,Q=J*2,U[Q]=Y[z],U[Q+1]=Y[z+1];return U.toString("ucs2")};Yd.prototype.end=function(){}});var DB0=E((e14,NB0)=>{NB0.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"€éâ„à†çêëèïّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",iso88598i:"iso88598",iso88598e:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}});var BB0=E(($44,AB0)=>{AB0.exports={"437":"cp437","737":"cp737","775":"cp775","850":"cp850","852":"cp852","855":"cp855","856":"cp856","857":"cp857","858":"cp858","860":"cp860","861":"cp861","862":"cp862","863":"cp863","864":"cp864","865":"cp865","866":"cp866","869":"cp869","874":"windows874","922":"cp922","1046":"cp1046","1124":"cp1124","1125":"cp1125","1129":"cp1129","1133":"cp1133","1161":"cp1161","1162":"cp1162","1163":"cp1163","1250":"windows1250","1251":"windows1251","1252":"windows1252","1253":"windows1253","1254":"windows1254","1255":"windows1255","1256":"windows1256","1257":"windows1257","1258":"windows1258","28591":"iso88591","28592":"iso88592","28593":"iso88593","28594":"iso88594","28595":"iso88595","28596":"iso88596","28597":"iso88597","28598":"iso88598","28599":"iso88599","28600":"iso885910","28601":"iso885911","28603":"iso885913","28604":"iso885914","28605":"iso885915","28606":"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b +`));this.errors=$;this.warnings=Y;this.name="ResourcePackValidationError"}};D5=fA0});var cA0=E((i14,iA0)=>{iA0.exports=lB;function lB(){this.pending=0,this.max=1/0,this.listeners=[],this.waiting=[],this.error=null}lB.prototype.go=function($){if(this.pending0&&$.pending<$.max)bA0($,$.waiting.shift());else if($.pending===0){var J=$.listeners;$.listeners=[],J.forEach(z)}}function z(Q){Q($.error)}}function bA0($,Y){Y(uA0($))}});var dA0=E((oD1)=>{var Op=I0("fs"),Np=I0("util"),nA0=I0("stream"),pA0=nA0.Readable,mD1=nA0.PassThrough,lD1=cA0(),oB=I0("events").EventEmitter;oD1.BufferSlicer=UK;oD1.FdSlicer=YK;Np.inherits(YK,oB);function YK($){oB.call(this),this.fd=$,this.pend=new lD1,this.pend.max=1,this.refCount=0}YK.prototype.read=function($,Y,U,z,Q){var J=this;J.pend.go(function(I){Op.read(J.fd,$,Y,U,z,function(K,G,H){I(),Q(K,G,H)})})};YK.prototype.createReadStream=function($){return new gZ(this,$)};YK.prototype.ref=function(){this.refCount+=1};YK.prototype.unref=function(){var $=this;if($.refCount-=1,$.refCount<0)throw Error("invalid unref");if($.refCount>0)return;Op.close($.fd,Y);function Y(U){if(U)$.emit("error",U);else $.emit("close")}};Np.inherits(gZ,pA0);function gZ($,Y){Y=Y||{},pA0.call(this,Y),this.context=$,this.context.ref(),this.start=Y.start||0,this.endOffset=Y.end,this.pos=this.start}gZ.prototype._read=function($){var Y=this,U=Math.min(Y._readableState.highWaterMark,$);if(Y.endOffset!=null)U=Math.min(U,Y.endOffset-Y.pos);if(U<=0){Y.push(null),this._cleanup();return}Y.context.pend.go(function(z){var Q=Buffer.allocUnsafe(U);Op.read(Y.context.fd,Q,0,U,Y.pos,function(J,I){if(J)Y.destroy(J);else if(I===0)Y.push(null),Y._cleanup();else Y.pos+=I,Y.push(Q.slice(0,I));z()})})};gZ.prototype._destroy=function($,Y){this._cleanup(),Y($)};gZ.prototype._cleanup=function(){if(this.context!=null)this.context.unref(),this.context=null};Np.inherits(UK,oB);function UK($){oB.call(this),this.refCount=0,this.buffer=$}UK.prototype.read=function($,Y,U,z,Q){if(!(0<=Y&&Y<=$.length))throw RangeError("offset outside buffer: 0 <= "+Y+" <= "+$.length);if(z<0)throw RangeError("position is negative: "+z);if(Y+U>$.length)U=$.length-Y;if(z+U>this.buffer.length)U=this.buffer.length-z;if(U<=0){setImmediate(function(){Q(null,0)});return}this.buffer.copy($,Y,z,z+U),setImmediate(function(){Q(null,U)})};UK.prototype.createReadStream=function($){$=$||{};var Y=new mD1($);Y.start=$.start||0,Y.endOffset=$.end,Y.pos=Y.endOffset||this.buffer.length;var U=this.buffer.slice(Y.start,Y.pos),z=65536,Q=0;while(!0){var J=Q+z;if(J>=U.length){if(Q{var aD1=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function tD1($){let Y=-1;for(let U of $)Y=aD1[(Y^U)&255]^Y>>>8;return(Y^-1)>>>0}mA0.exports=tD1});var QB0=E((IA1)=>{var Dp=I0("fs"),Ap=I0("zlib"),oA0=dA0(),aB=I0("util"),tB=I0("events").EventEmitter,rA0=I0("stream").Transform,Pp=I0("stream").PassThrough,eD1=I0("stream").Writable,$A1=typeof Ap.crc32==="function"?Ap.crc32:lA0();IA1.open=sA0;IA1.fromFd=Tp;IA1.fromBuffer=aA0;IA1.fromRandomAccessReader=eB;IA1.openPromise=YA1;IA1.fromFdPromise=UA1;IA1.fromBufferPromise=zA1;IA1.fromRandomAccessReaderPromise=QA1;IA1.dosDateTimeToDate=$B0;IA1.getFileNameLowLevel=YB0;IA1.validateFileName=UB0;IA1.parseExtraFields=zB0;IA1.ZipFile=a8;IA1.Entry=JK;IA1.LocalFileHeader=eA0;IA1.RandomAccessReader=b2;function YA1($,Y){return new Promise((U,z)=>{sA0($,{...Y,lazyEntries:!0},function(Q,J){if(Q)return z(Q);U(J)})})}function UA1($,Y){return new Promise((U,z)=>{Tp($,{...Y,lazyEntries:!0},function(Q,J){if(Q)return z(Q);U(J)})})}function zA1($,Y){return new Promise((U,z)=>{aA0($,{...Y,lazyEntries:!0},function(Q,J){if(Q)return z(Q);U(J)})})}function QA1($,Y,U){return new Promise((z,Q)=>{eB($,Y,{...U,lazyEntries:!0},function(J,I){if(J)return Q(J);z(I)})})}function sA0($,Y,U){if(typeof Y==="function")U=Y,Y=null;if(Y==null)Y={};if(Y.autoClose==null)Y.autoClose=!0;if(Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;if(U==null)U=sB;Dp.open($,"r",function(z,Q){if(z)return U(z);Tp(Q,Y,function(J,I){if(J)Dp.close(Q,sB);U(J,I)})})}function Tp($,Y,U){if(typeof Y==="function")U=Y,Y=null;if(Y==null)Y={};if(Y.autoClose==null)Y.autoClose=!1;if(Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;if(U==null)U=sB;Dp.fstat($,function(z,Q){if(z)return U(z);var J=new oA0.FdSlicer($);eB(J,Q.size,Y,U)})}function aA0($,Y,U){if(typeof Y==="function")U=Y,Y=null;if(Y==null)Y={};if(Y.autoClose=!1,Y.lazyEntries==null)Y.lazyEntries=!1;if(Y.decodeStrings==null)Y.decodeStrings=!0;if(Y.validateEntrySizes==null)Y.validateEntrySizes=!0;if(Y.strictFileNames==null)Y.strictFileNames=!1;var z=new oA0.BufferSlicer($);eB(z,$.length,Y,U)}function eB($,Y,U,z){if(typeof U==="function")z=U,U=null;if(U==null)U={};if(U.autoClose==null)U.autoClose=!0;if(U.lazyEntries==null)U.lazyEntries=!1;if(U.decodeStrings==null)U.decodeStrings=!0;var Q=!!U.decodeStrings;if(U.validateEntrySizes==null)U.validateEntrySizes=!0;if(U.strictFileNames==null)U.strictFileNames=!1;if(z==null)z=sB;if(typeof Y!=="number")throw Error("expected totalSize parameter to be a number");if(Y>Number.MAX_SAFE_INTEGER)throw Error("zip file too large. only file sizes up to 2^52 are supported due to JavaScript's Number type being an IEEE 754 double.");$.ref();var J=22,I=20,K=65535,G=Math.min(I+J+K,Y),H=k3(G),W=Y-H.length;QK($,H,0,G,W,function(X){if(X)return z(X);for(var Z=G-J;Z>=0;Z-=1){if(H.readUInt32LE(Z)!==101010256)continue;var q=H.subarray(Z),V=q.readUInt16LE(4),F=q.readUInt16LE(10),M=q.readUInt32LE(16),w=q.readUInt16LE(20),N=q.length-J;if(w!==N)return z(Error("Invalid comment length. Expected: "+N+". Found: "+w+". Are there extra bytes at the end of the file? Or is the end of central dir signature `PK☺☻` in the comment?"));var O=Q?rB(q.subarray(22),!1):q.subarray(22);if(Z-I>=0&&H.readUInt32LE(Z-I)===117853008){var D=H.subarray(Z-I,Z-I+I),P=zK(D,8),T=k3(56);return QK($,T,0,T.length,P,function(A){if(A)return z(A);if(T.readUInt32LE(0)!==101075792)return z(Error("invalid zip64 end of central directory record signature"));if(V=T.readUInt32LE(16),V!==0)return z(Error("multi-disk zip files are not supported: found disk number: "+V));return F=zK(T,32),M=zK(T,48),z(null,new a8($,M,Y,F,O,U.autoClose,U.lazyEntries,Q,U.validateEntrySizes,U.strictFileNames))})}if(V!==0)return z(Error("multi-disk zip files are not supported: found disk number: "+V));return z(null,new a8($,M,Y,F,O,U.autoClose,U.lazyEntries,Q,U.validateEntrySizes,U.strictFileNames))}z(Error("End of central directory record signature not found. Either not a zip file, or file is truncated."))})}aB.inherits(a8,tB);function a8($,Y,U,z,Q,J,I,K,G,H){var W=this;if(tB.call(W),W.reader=$,W.reader.on("error",function(X){tA0(W,X)}),W.reader.once("close",function(){W.emit("close")}),W.readEntryCursor=Y,W.fileSize=U,W.entryCount=z,W.comment=Q,W.entriesRead=0,W.autoClose=!!J,W.lazyEntries=!!I,W.decodeStrings=!!K,W.validateEntrySizes=!!G,W.strictFileNames=!!H,W.isOpen=!0,W.emittedError=!1,W.hasEachEntryBeenCalled=!1,!W.lazyEntries)W._readEntry()}a8.prototype.close=function(){if(!this.isOpen)return;this.isOpen=!1,this.reader.unref()};function B9($,Y){if($.autoClose)$.close();tA0($,Y)}function tA0($,Y){if($.emittedError)return;$.emittedError=!0,$.emit("error",Y)}a8.prototype.readEntry=function(){if(!this.lazyEntries)throw Error("readEntry() called without lazyEntries:true");this._readEntry()};a8.prototype._readEntry=function(){var $=this;if($.entryCount===$.entriesRead){setImmediate(function(){if($.autoClose)$.close();if($.emittedError)return;$.emit("end")});return}if($.emittedError)return;var Y=k3(46);QK($.reader,Y,0,Y.length,$.readEntryCursor,function(U){if(U)return B9($,U);if($.emittedError)return;var z=new JK,Q=Y.readUInt32LE(0);if(Q!==33639248)return B9($,Error("invalid central directory file header signature: 0x"+Q.toString(16)));if(z.versionMadeBy=Y.readUInt16LE(4),z.versionNeededToExtract=Y.readUInt16LE(6),z.generalPurposeBitFlag=Y.readUInt16LE(8),z.compressionMethod=Y.readUInt16LE(10),z.lastModFileTime=Y.readUInt16LE(12),z.lastModFileDate=Y.readUInt16LE(14),z.crc32=Y.readUInt32LE(16),z.compressedSize=Y.readUInt32LE(20),z.uncompressedSize=Y.readUInt32LE(24),z.fileNameLength=Y.readUInt16LE(28),z.extraFieldLength=Y.readUInt16LE(30),z.fileCommentLength=Y.readUInt16LE(32),z.internalFileAttributes=Y.readUInt16LE(36),z.externalFileAttributes=Y.readUInt32LE(38),z.relativeOffsetOfLocalHeader=Y.readUInt32LE(42),z.generalPurposeBitFlag&64)return B9($,Error("strong encryption is not supported"));$.readEntryCursor+=46,Y=k3(z.fileNameLength+z.extraFieldLength+z.fileCommentLength),QK($.reader,Y,0,Y.length,$.readEntryCursor,function(J){if(J)return B9($,J);if($.emittedError)return;z.fileNameRaw=Y.subarray(0,z.fileNameLength);var I=z.fileNameLength+z.extraFieldLength;z.extraFieldRaw=Y.subarray(z.fileNameLength,I),z.fileCommentRaw=Y.subarray(I,I+z.fileCommentLength);try{z.extraFields=zB0(z.extraFieldRaw)}catch(F){return B9($,F)}if($.decodeStrings){var K=(z.generalPurposeBitFlag&2048)!==0;z.fileComment=rB(z.fileCommentRaw,K),z.fileName=YB0(z.generalPurposeBitFlag,z.fileNameRaw,z.extraFields,$.strictFileNames);var G=UB0(z.fileName);if(G!=null)return B9($,Error(G))}else z.fileComment=z.fileCommentRaw,z.fileName=z.fileNameRaw;z.comment=z.fileComment,$.readEntryCursor+=Y.length,$.entriesRead+=1;for(var H=0;HX.length)return B9($,Error("zip64 extended information extra field does not include uncompressed size"));z.uncompressedSize=zK(X,Z),Z+=8}if(z.compressedSize===4294967295){if(Z+8>X.length)return B9($,Error("zip64 extended information extra field does not include compressed size"));z.compressedSize=zK(X,Z),Z+=8}if(z.relativeOffsetOfLocalHeader===4294967295){if(Z+8>X.length)return B9($,Error("zip64 extended information extra field does not include relative header offset"));z.relativeOffsetOfLocalHeader=zK(X,Z),Z+=8}break}if($.validateEntrySizes&&z.compressionMethod===0){var q=z.uncompressedSize;if(z.isEncrypted())q+=12;if(z.compressedSize!==q){var V="compressed/uncompressed size mismatch for stored file: "+z.compressedSize+" != "+z.uncompressedSize;return B9($,Error(V))}}if($.emit("entry",z),!$.lazyEntries)$._readEntry()})})};a8.prototype.eachEntry=function(){let $=this;if(!$.lazyEntries)throw Error("eachEntry() requires lazyEntries: true");if($.hasEachEntryBeenCalled)throw Error("eachEntry() must only be called once per ZipFile");$.hasEachEntryBeenCalled=!0;let Y=null;$.on("entry",z),$.on("end",Q),$.on("error",J);function U(){if($.removeListener("entry",z),$.removeListener("end",Q),$.removeListener("error",J),$.autoClose)$.close()}function z(I){let{resolve:K}=Y;Y=null,K({value:I})}function Q(){let{resolve:I}=Y;Y=null,U(),I({done:!0})}function J(I){let{reject:K}=Y;Y=null,U(),K(I)}return{[Symbol.asyncIterator](){return this},next(){let I=new Promise((K,G)=>{if(Y!=null)throw Error("next() called before previous Promise was resolved.");Y={resolve:K,reject:G}});return $.readEntry(),I},return(I){return U(),Promise.resolve({done:!0,value:I})},throw(I){return U(),Promise.reject(I)}}};a8.prototype.openReadStream=function($,Y,U){var z=this,Q=0,J=$.compressedSize;if(U==null)U=Y,Y=null;if(Y==null)Y={};else{if(Y.decodeFileData===!1){if(Y.decrypt!=null)throw Error("cannot use options.decrypt when options.decodeFileData === false");if(Y.decompress!=null)throw Error("cannot use options.decompress when options.decodeFileData === false")}else{if(Y.decrypt!=null){if(!$.isEncrypted())throw Error("options.decrypt can only be specified for encrypted entries. See also option decodeFileData.");if(Y.decrypt!==!1)throw Error("invalid options.decrypt value: "+Y.decrypt);if($.isCompressed()){if(Y.decompress!==!1)throw Error("entry is encrypted and compressed, and options.decompress !== false. See also option decodeFileData.")}}if(Y.decompress!=null){if(!$.isCompressed())throw Error("options.decompress can only be specified for compressed entries. See also option decodeFileData.");if(!(Y.decompress===!1||Y.decompress===!0))throw Error("invalid options.decompress value: "+Y.decompress);K=Y.decompress}}if(Y.start!=null){if(Q=Y.start,Q<0)throw Error("options.start < 0");if(Q>$.compressedSize)throw Error("options.start > entry.compressedSize")}if(Y.end!=null){if(J=Y.end,J<0)throw Error("options.end < 0");if(J>$.compressedSize)throw Error("options.end > entry.compressedSize");if(Jz.fileSize)return U(Error("file data overflows file bounds: "+H+" + "+$.compressedSize+" > "+z.fileSize));if(Y.minimal)return U(null,{fileDataStart:H});var W=new eA0;W.fileDataStart=H,W.versionNeededToExtract=Q.readUInt16LE(4),W.generalPurposeBitFlag=Q.readUInt16LE(6),W.compressionMethod=Q.readUInt16LE(8),W.lastModFileTime=Q.readUInt16LE(10),W.lastModFileDate=Q.readUInt16LE(12),W.crc32=Q.readUInt32LE(14),W.compressedSize=Q.readUInt32LE(18),W.uncompressedSize=Q.readUInt32LE(22),W.fileNameLength=K,W.extraFieldLength=G,Q=k3(K+G),z.reader.ref(),QK(z.reader,Q,0,Q.length,$.relativeOffsetOfLocalHeader+30,function(X){try{if(X)return U(X);return W.fileName=Q.subarray(0,K),W.extraField=Q.subarray(K),U(null,W)}finally{z.reader.unref()}})}finally{z.reader.unref()}})};a8.prototype.openReadStreamPromise=function($,Y){return new Promise((U,z)=>{this.openReadStream($,Y,function(Q,J){if(Q)return z(Q);U(J)})})};a8.prototype.openReadStreamLowLevelPromise=function($,Y,U,z,Q,J){return new Promise((I,K)=>{this.openReadStream($,Y,U,z,Q,J,function(G,H){if(G)return K(G);I(H)})})};a8.prototype.readLocalFileHeaderPromise=function($,Y){return new Promise((U,z)=>{this.readLocalFileHeader($,Y,function(Q,J){if(Q)return z(Q);U(J)})})};function JK(){}JK.prototype.getLastModDate=function($){if($==null)$={};if(!$.forceDosFormat)for(var Y=0;Y>5&15)-1,J=($>>9&127)+1980,I=0,K=(Y&31)*2,G=Y>>5&63,H=Y>>11&31;if(U==null||U==="local")return new Date(J,Q,z,H,G,K,I);else if(U==="UTC")return new Date(Date.UTC(J,Q,z,H,G,K,I));else throw Error("unrecognized options.timezone: "+options.timezone)}function YB0($,Y,U,z){var Q=null;for(var J=0;J$.length)throw Error("extra field length exceeds extra field buffer size");var K=$.subarray(J,I);Y.push({id:z,data:K}),U=I}return Y}function QK($,Y,U,z,Q,J){if(z===0)return setImmediate(function(){J(null,k3(0))});$.read(Y,U,z,Q,function(I,K){if(I)return J(I);if(Kthis.expectedByteCount){var z="too many bytes in the stream. expected "+this.expectedByteCount+". got at least "+this.actualByteCount;return U(Error(z))}U(null,$)};yZ.prototype._flush=function($){if(this.actualByteCount0)return;if($.refCount<0)throw Error("invalid unref");$.close(Y);function Y(U){if(U)return $.emit("error",U);$.emit("close")}};b2.prototype.createReadStream=function($){if($==null)$={};var{start:Y,end:U}=$;if(Y===U){var z=new Pp;return setImmediate(function(){z.end()}),z}var Q=this._readStreamForRange(Y,U),J=!1,I=new $P(this);Q.on("error",function(G){setImmediate(function(){if(!J)I.emit("error",G)})}),Bp(I,function(){Q.unpipe(I),I.unref(),Q.destroy()});var K=new yZ(U-Y);return I.on("error",function(G){setImmediate(function(){if(!J)K.emit("error",G)})}),Bp(K,function(){J=!0,I.unpipe(K),I.destroy()}),Q.pipe(I).pipe(K)};b2.prototype._readStreamForRange=function($,Y){throw Error("not implemented")};b2.prototype.read=function($,Y,U,z,Q){var J=this.createReadStream({start:z,end:z+U}),I=new eD1,K=0;I._write=function(G,H,W){G.copy($,Y+K,0,G.length),K+=G.length,W()},I.on("finish",Q),J.on("error",function(G){Q(G)}),J.pipe(I)};b2.prototype.close=function($){setImmediate($)};aB.inherits($P,Pp);function $P($){Pp.call(this),this.context=$,this.context.ref(),this.unreffedYet=!1}$P.prototype._flush=function($){this.unref(),$()};$P.prototype.unref=function($){if(this.unreffedYet)return;this.unreffedYet=!0,this.context.unref()};var JA1="\x00☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ";function rB($,Y){if(Y)return $.toString("utf8");else{var U="";for(var z=0;z<$.length;z++)U+=JA1[$[z]];return U}}function zK($,Y){var U=$.readUInt32LE(Y),z=$.readUInt32LE(Y+4);return z*4294967296+U}var k3;if(typeof Buffer.allocUnsafe==="function")k3=function($){return Buffer.allocUnsafe($)};else k3=function($){return new Buffer($)};function Bp($,Y){if(typeof $.destroy==="function")$._destroy=function(U,z){if(Y(),z!=null)z(U)};else $.destroy=Y}function sB($){if($)throw $}});var x3=E((d14,JB0)=>{var YP=I0("buffer"),IK=YP.Buffer,c$={},n$;for(n$ in YP){if(!YP.hasOwnProperty(n$))continue;if(n$==="SlowBuffer"||n$==="Buffer")continue;c$[n$]=YP[n$]}var KK=c$.Buffer={};for(n$ in IK){if(!IK.hasOwnProperty(n$))continue;if(n$==="allocUnsafe"||n$==="allocUnsafeSlow")continue;KK[n$]=IK[n$]}c$.Buffer.prototype=IK.prototype;if(!KK.from||KK.from===Uint8Array.from)KK.from=function($,Y,U){if(typeof $==="number")throw TypeError('The "value" argument must not be of type number. Received type '+typeof $);if($&&typeof $.length>"u")throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $);return IK($,Y,U)};if(!KK.alloc)KK.alloc=function($,Y,U){if(typeof $!=="number")throw TypeError('The "size" argument must be of type number. Received type '+typeof $);if($<0||$>=2147483648)throw RangeError('The value "'+$+'" is invalid for option "size"');var z=IK($);if(!Y||Y.length===0)z.fill(0);else if(typeof U==="string")z.fill(Y,U);else z.fill(Y);return z};if(!c$.kStringMaxLength)try{c$.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch($){}if(!c$.constants){if(c$.constants={MAX_LENGTH:c$.kMaxLength},c$.kStringMaxLength)c$.constants.MAX_STRING_LENGTH=c$.kStringMaxLength}JB0.exports=c$});var KB0=E((BA1)=>{var IB0="\uFEFF";BA1.PrependBOM=jp;function jp($,Y){this.encoder=$,this.addBOM=!0}jp.prototype.write=function($){if(this.addBOM)$=IB0+$,this.addBOM=!1;return this.encoder.write($)};jp.prototype.end=function(){return this.encoder.end()};BA1.StripBOM=Ep;function Ep($,Y){this.decoder=$,this.pass=!1,this.options=Y||{}}Ep.prototype.write=function($){var Y=this.decoder.write($);if(this.pass||!Y)return Y;if(Y[0]===IB0){if(Y=Y.slice(1),typeof this.options.stripBOM==="function")this.options.stripBOM()}return this.pass=!0,Y};Ep.prototype.end=function(){return this.decoder.end()}});var Cp=E((l14,GB0)=>{var jA1=typeof Object.hasOwn>"u"?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;function EA1($,Y){for(var U in Y)if(jA1(Y,U))$[U]=Y[U]}GB0.exports=EA1});var WB0=E((o14,HB0)=>{var f3=x3().Buffer;HB0.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:Rp};function Rp($,Y){if(this.enc=$.encodingName,this.bomAware=$.bomAware,this.enc==="base64")this.encoder=hp;else if(this.enc==="utf8")this.encoder=yp;else if(this.enc==="cesu8"){if(this.enc="utf8",this.encoder=Sp,f3.from("eda0bdedb2a9","hex").toString()!=="\uD83D\uDCA9")this.decoder=gp,this.defaultCharUnicode=Y.defaultCharUnicode}}Rp.prototype.encoder=vp;Rp.prototype.decoder=_p;var CA1=I0("string_decoder").StringDecoder;function _p($,Y){this.decoder=new CA1(Y.enc)}_p.prototype.write=function($){if(!f3.isBuffer($))$=f3.from($);return this.decoder.write($)};_p.prototype.end=function(){return this.decoder.end()};function vp($,Y){this.enc=Y.enc}vp.prototype.write=function($){return f3.from($,this.enc)};vp.prototype.end=function(){};function hp($,Y){this.prevStr=""}hp.prototype.write=function($){$=this.prevStr+$;var Y=$.length-$.length%4;return this.prevStr=$.slice(Y),$=$.slice(0,Y),f3.from($,"base64")};hp.prototype.end=function(){return f3.from(this.prevStr,"base64")};function Sp($,Y){}Sp.prototype.write=function($){var Y=f3.alloc($.length*3),U=0;for(var z=0;z<$.length;z++){var Q=$.charCodeAt(z);if(Q<128)Y[U++]=Q;else if(Q<2048)Y[U++]=192+(Q>>>6),Y[U++]=128+(Q&63);else Y[U++]=224+(Q>>>12),Y[U++]=128+(Q>>>6&63),Y[U++]=128+(Q&63)}return Y.slice(0,U)};Sp.prototype.end=function(){};function gp($,Y){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=Y.defaultCharUnicode}gp.prototype.write=function($){var Y=this.acc,U=this.contBytes,z=this.accBytes,Q="";for(var J=0;J<$.length;J++){var I=$[J];if((I&192)!==128){if(U>0)Q+=this.defaultCharUnicode,U=0;if(I<128)Q+=String.fromCharCode(I);else if(I<224)Y=I&31,U=1,z=1;else if(I<240)Y=I&15,U=2,z=1;else Q+=this.defaultCharUnicode}else if(U>0){if(Y=Y<<6|I&63,U--,z++,U===0)if(z===2&&Y<128&&Y>0)Q+=this.defaultCharUnicode;else if(z===3&&Y<2048)Q+=this.defaultCharUnicode;else Q+=String.fromCharCode(Y)}else Q+=this.defaultCharUnicode}return this.acc=Y,this.contBytes=U,this.accBytes=z,Q};gp.prototype.end=function(){var $=0;if(this.contBytes>0)$+=this.defaultCharUnicode;return $};function yp($,Y){this.highSurrogate=""}yp.prototype.write=function($){if(this.highSurrogate)$=this.highSurrogate+$,this.highSurrogate="";if($.length>0){var Y=$.charCodeAt($.length-1);if(Y>=55296&&Y<56320)this.highSurrogate=$[$.length-1],$=$.slice(0,$.length-1)}return f3.from($,this.enc)};yp.prototype.end=function(){if(this.highSurrogate){var $=this.highSurrogate;return this.highSurrogate="",f3.from($,this.enc)}}});var qB0=E((RA1)=>{var UP=x3().Buffer;RA1._utf32=kp;function kp($,Y){this.iconv=Y,this.bomAware=!0,this.isLE=$.isLE}RA1.utf32le={type:"_utf32",isLE:!0};RA1.utf32be={type:"_utf32",isLE:!1};RA1.ucs4le="utf32le";RA1.ucs4be="utf32be";kp.prototype.encoder=xp;kp.prototype.decoder=fp;function xp($,Y){this.isLE=Y.isLE,this.highSurrogate=0}xp.prototype.write=function($){var Y=UP.from($,"ucs2"),U=UP.alloc(Y.length*2+4),z=this.isLE?U.writeUInt32LE:U.writeUInt32BE,Q=0;for(var J=0;J=55296&&I<56320,G=I>=56320&&I<57344;if(this.highSurrogate)if(K||!G)z.call(U,this.highSurrogate,Q),Q+=4;else{var H=(this.highSurrogate-55296<<10|I-56320)+65536;z.call(U,H,Q),Q+=4,this.highSurrogate=0;continue}if(K)this.highSurrogate=I;else z.call(U,I,Q),Q+=4,this.highSurrogate=0}if(Q0){for(;Y<$.length&&I.length<4;Y++)I.push($[Y]);if(I.length===4){if(J)U=I[0]|I[1]<<8|I[2]<<16|I[3]<<24;else U=I[3]|I[2]<<8|I[1]<<16|I[0]<<24;I.length=0,Q=XB0(z,Q,U,K)}}for(;Y<$.length-3;Y+=4){if(J)U=$[Y]|$[Y+1]<<8|$[Y+2]<<16|$[Y+3]<<24;else U=$[Y+3]|$[Y+2]<<8|$[Y+1]<<16|$[Y]<<24;Q=XB0(z,Q,U,K)}for(;Y<$.length;Y++)I.push($[Y]);return z.slice(0,Q).toString("ucs2")};function XB0($,Y,U,z){if(U<0||U>1114111)U=z;if(U>=65536){U-=65536;var Q=55296|U>>10;$[Y++]=Q&255,$[Y++]=Q>>8;var U=56320|U&1023}return $[Y++]=U&255,$[Y++]=U>>8,Y}fp.prototype.end=function(){if(this.overflow.length===0)return;return this.overflow.length=0,String.fromCharCode(this.badChar)};RA1.utf32=up;RA1.ucs4="utf32";function up($,Y){this.iconv=Y}up.prototype.encoder=bp;up.prototype.decoder=ip;function bp($,Y){if($=$||{},$.addBOM===void 0)$.addBOM=!0;this.encoder=Y.iconv.getEncoder($.defaultEncoding||"utf-32le",$)}bp.prototype.write=function($){return this.encoder.write($)};bp.prototype.end=function(){return this.encoder.end()};function ip($,Y){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=$||{},this.iconv=Y.iconv}ip.prototype.write=function($){if(!this.decoder){if(this.initialBufs.push($),this.initialBufsLen+=$.length,this.initialBufsLen<32)return"";var Y=ZB0(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(Y,this.options);var U="";for(var z=0;z16)J++;if(U[3]!==0||U[2]>16)Q++;if(U[0]===0&&U[1]===0&&(U[2]!==0||U[3]!==0))K++;if((U[0]!==0||U[1]!==0)&&U[2]===0&&U[3]===0)I++;if(U.length=0,z++,z>=100)break $}}if(K-J>I-Q)return"utf-32be";if(K-J{var VB0=x3().Buffer;xA1.utf16be=zP;function zP(){}zP.prototype.encoder=cp;zP.prototype.decoder=np;zP.prototype.bomAware=!0;function cp(){}cp.prototype.write=function($){var Y=VB0.from($,"ucs2");for(var U=0;U=100)break $}}if(J>Q)return"utf-16be";if(J{var P9=x3().Buffer;nA1.utf7=QP;nA1.unicode11utf7="utf7";function QP($,Y){this.iconv=Y}QP.prototype.encoder=op;QP.prototype.decoder=rp;QP.prototype.bomAware=!0;var bA1=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function op($,Y){this.iconv=Y.iconv}op.prototype.write=function($){return P9.from($.replace(bA1,function(Y){return"+"+(Y==="+"?"":this.iconv.encode(Y,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};op.prototype.end=function(){};function rp($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=""}var iA1=/[A-Za-z0-9\/+]/,sp=[];for(GK=0;GK<256;GK++)sp[GK]=iA1.test(String.fromCharCode(GK));var GK,cA1=43,Xz=45,lp=38;rp.prototype.write=function($){var Y="",U=0,z=this.inBase64,Q=this.base64Accum;for(var J=0;J<$.length;J++)if(!z){if($[J]==cA1)Y+=this.iconv.decode($.slice(U,J),"ascii"),U=J+1,z=!0}else if(!sp[$[J]]){if(J==U&&$[J]==Xz)Y+="+";else{var I=Q+this.iconv.decode($.slice(U,J),"ascii");Y+=this.iconv.decode(P9.from(I,"base64"),"utf16-be")}if($[J]!=Xz)J--;U=J+1,z=!1,Q=""}if(!z)Y+=this.iconv.decode($.slice(U),"ascii");else{var I=Q+this.iconv.decode($.slice(U),"ascii"),K=I.length-I.length%8;Q=I.slice(K),I=I.slice(0,K),Y+=this.iconv.decode(P9.from(I,"base64"),"utf16-be")}return this.inBase64=z,this.base64Accum=Q,Y};rp.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(P9.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$};nA1.utf7imap=JP;function JP($,Y){this.iconv=Y}JP.prototype.encoder=ap;JP.prototype.decoder=tp;JP.prototype.bomAware=!0;function ap($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=P9.alloc(6),this.base64AccumIdx=0}ap.prototype.write=function($){var Y=this.inBase64,U=this.base64Accum,z=this.base64AccumIdx,Q=P9.alloc($.length*5+10),J=0;for(var I=0;I<$.length;I++){var K=$.charCodeAt(I);if(K>=32&&K<=126){if(Y){if(z>0)J+=Q.write(U.slice(0,z).toString("base64").replace(/\//g,",").replace(/=+$/,""),J),z=0;Q[J++]=Xz,Y=!1}if(!Y){if(Q[J++]=K,K===lp)Q[J++]=Xz}}else{if(!Y)Q[J++]=lp,Y=!0;if(Y){if(U[z++]=K>>8,U[z++]=K&255,z==U.length)J+=Q.write(U.toString("base64").replace(/\//g,","),J),z=0}}}return this.inBase64=Y,this.base64AccumIdx=z,Q.slice(0,J)};ap.prototype.end=function(){var $=P9.alloc(10),Y=0;if(this.inBase64){if(this.base64AccumIdx>0)Y+=$.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),Y),this.base64AccumIdx=0;$[Y++]=Xz,this.inBase64=!1}return $.slice(0,Y)};function tp($,Y){this.iconv=Y.iconv,this.inBase64=!1,this.base64Accum=""}var wB0=sp.slice();wB0[44]=!0;tp.prototype.write=function($){var Y="",U=0,z=this.inBase64,Q=this.base64Accum;for(var J=0;J<$.length;J++)if(!z){if($[J]==lp)Y+=this.iconv.decode($.slice(U,J),"ascii"),U=J+1,z=!0}else if(!wB0[$[J]]){if(J==U&&$[J]==Xz)Y+="&";else{var I=Q+this.iconv.decode($.slice(U,J),"ascii").replace(/,/g,"/");Y+=this.iconv.decode(P9.from(I,"base64"),"utf16-be")}if($[J]!=Xz)J--;U=J+1,z=!1,Q=""}if(!z)Y+=this.iconv.decode($.slice(U),"ascii");else{var I=Q+this.iconv.decode($.slice(U),"ascii").replace(/,/g,"/"),K=I.length-I.length%8;Q=I.slice(K),I=I.slice(0,K),Y+=this.iconv.decode(P9.from(I,"base64"),"utf16-be")}return this.inBase64=z,this.base64Accum=Q,Y};tp.prototype.end=function(){var $="";if(this.inBase64&&this.base64Accum.length>0)$=this.iconv.decode(P9.from(this.base64Accum,"base64"),"utf16-be");return this.inBase64=!1,this.base64Accum="",$}});var OB0=E((lA1)=>{var IP=x3().Buffer;lA1._sbcs=ep;function ep($,Y){if(!$)throw Error("SBCS codec is called without the data.");if(!$.chars||$.chars.length!==128&&$.chars.length!==256)throw Error("Encoding '"+$.type+"' has incorrect 'chars' (must be of len 128 or 256)");if($.chars.length===128){var U="";for(var z=0;z<128;z++)U+=String.fromCharCode(z);$.chars=U+$.chars}this.decodeBuf=IP.from($.chars,"ucs2");var Q=IP.alloc(65536,Y.defaultCharSingleByte.charCodeAt(0));for(var z=0;z<$.chars.length;z++)Q[$.chars.charCodeAt(z)]=z;this.encodeBuf=Q}ep.prototype.encoder=$d;ep.prototype.decoder=Yd;function $d($,Y){this.encodeBuf=Y.encodeBuf}$d.prototype.write=function($){var Y=IP.alloc($.length);for(var U=0;U<$.length;U++)Y[U]=this.encodeBuf[$.charCodeAt(U)];return Y};$d.prototype.end=function(){};function Yd($,Y){this.decodeBuf=Y.decodeBuf}Yd.prototype.write=function($){var Y=this.decodeBuf,U=IP.alloc($.length*2),z=0,Q=0;for(var J=0;J<$.length;J++)z=$[J]*2,Q=J*2,U[Q]=Y[z],U[Q+1]=Y[z+1];return U.toString("ucs2")};Yd.prototype.end=function(){}});var DB0=E((e14,NB0)=>{NB0.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"€éâ„à†çêëèïّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",iso88598i:"iso88598",iso88598e:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}});var BB0=E(($44,AB0)=>{AB0.exports={"437":"cp437","737":"cp737","775":"cp775","850":"cp850","852":"cp852","855":"cp855","856":"cp856","857":"cp857","858":"cp858","860":"cp860","861":"cp861","862":"cp862","863":"cp863","864":"cp864","865":"cp865","866":"cp866","869":"cp869","874":"windows874","922":"cp922","1046":"cp1046","1124":"cp1124","1125":"cp1125","1129":"cp1129","1133":"cp1133","1161":"cp1161","1162":"cp1162","1163":"cp1163","1250":"windows1250","1251":"windows1251","1252":"windows1252","1253":"windows1253","1254":"windows1254","1255":"windows1255","1256":"windows1256","1257":"windows1257","1258":"windows1258","28591":"iso88591","28592":"iso88592","28593":"iso88593","28594":"iso88594","28595":"iso88595","28596":"iso88596","28597":"iso88597","28598":"iso88598","28599":"iso88599","28600":"iso885910","28601":"iso885911","28603":"iso885913","28604":"iso885914","28605":"iso885915","28606":"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b \v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�`},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\uFEFF​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:`\x00ÚỤ\x03ỪỬỮ\x07\b \v\f\r\x0E\x0F\x10ỨỰỲỶỸÝỴ\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ`},georgianacademy:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:`\x00\x01Ẳ\x03\x04ẴẪ\x07\b \v\f\r\x0E\x0F\x10\x11\x12\x13Ỷ\x15\x16\x17\x18Ỹ\x1A\x1B\x1C\x1DỴ\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ`},iso646cn:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b \v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`},iso646jp:{type:"_sbcs",chars:`\x00\x01\x02\x03\x04\x05\x06\x07\b \v\f\r\x0E\x0F\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_\`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������`},hproman8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}});var TB0=E((rA1)=>{var Ud=x3().Buffer;rA1._dbcs=u3;var U8=-1,PB0=-2,p$=-10,h8=-1000,HK=Array(256),xZ=-1;for(kZ=0;kZ<256;kZ++)HK[kZ]=U8;var kZ;function u3($,Y){if(this.encodingName=$.encodingName,!$)throw Error("DBCS codec is called without the data.");if(!$.table)throw Error("Encoding '"+this.encodingName+"' has no data.");var U=$.table();this.decodeTables=[],this.decodeTables[0]=HK.slice(0),this.decodeTableSeq=[];for(var z=0;zh8)throw Error("gb18030 decode tables conflict at byte 2");var H=this.decodeTables[h8-K[G]];for(var W=129;W<=254;W++){if(H[W]===U8)H[W]=h8-J;else if(H[W]===h8-J)continue;else if(H[W]>h8)throw Error("gb18030 decode tables conflict at byte 3");var X=this.decodeTables[h8-H[W]];for(var Z=48;Z<=57;Z++)if(X[Z]===U8)X[Z]=PB0}}}}this.defaultCharUnicode=Y.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var q={};if($.encodeSkipVals)for(var z=0;z<$.encodeSkipVals.length;z++){var V=$.encodeSkipVals[z];if(typeof V==="number")q[V]=!0;else for(var G=V.from;G<=V.to;G++)q[G]=!0}if(this._fillEncodeTable(0,0,q),$.encodeAdd){for(var F in $.encodeAdd)if(Object.prototype.hasOwnProperty.call($.encodeAdd,F))this._setEncodeChar(F.charCodeAt(0),$.encodeAdd[F])}if(this.defCharSB=this.encodeTable[0][Y.defaultCharSingleByte.charCodeAt(0)],this.defCharSB===U8)this.defCharSB=this.encodeTable[0]["?"];if(this.defCharSB===U8)this.defCharSB=63}u3.prototype.encoder=KP;u3.prototype.decoder=zd;u3.prototype._getDecodeTrieNode=function($){var Y=[];for(;$>0;$>>>=8)Y.push($&255);if(Y.length==0)Y.push(0);var U=this.decodeTables[0];for(var z=Y.length-1;z>0;z--){var Q=U[Y[z]];if(Q==U8)U[Y[z]]=h8-this.decodeTables.length,this.decodeTables.push(U=HK.slice(0));else if(Q<=h8)U=this.decodeTables[h8-Q];else throw Error("Overwrite byte in "+this.encodingName+", addr: "+$.toString(16))}return U};u3.prototype._addDecodeChunk=function($){var Y=parseInt($[0],16),U=this._getDecodeTrieNode(Y);Y=Y&255;for(var z=1;z<$.length;z++){var Q=$[z];if(typeof Q==="string")for(var J=0;J=55296&&I<56320){var K=Q.charCodeAt(J++);if(K>=56320&&K<57344)U[Y++]=65536+(I-55296)*1024+(K-56320);else throw Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+$[0])}else if(I>4080&&I<=4095){var G=4095-I+2,H=[];for(var W=0;W255)throw Error("Incorrect chunk in "+this.encodingName+" at addr "+$[0]+": too long"+Y)};u3.prototype._getEncodeBucket=function($){var Y=$>>8;if(this.encodeTable[Y]===void 0)this.encodeTable[Y]=HK.slice(0);return this.encodeTable[Y]};u3.prototype._setEncodeChar=function($,Y){var U=this._getEncodeBucket($),z=$&255;if(U[z]<=p$)this.encodeTableSeq[p$-U[z]][xZ]=Y;else if(U[z]==U8)U[z]=Y};u3.prototype._setEncodeSequence=function($,Y){var U=$[0],z=this._getEncodeBucket(U),Q=U&255,J;if(z[Q]<=p$)J=this.encodeTableSeq[p$-z[Q]];else{if(J={},z[Q]!==U8)J[xZ]=z[Q];z[Q]=p$-this.encodeTableSeq.length,this.encodeTableSeq.push(J)}for(var I=1;I<$.length-1;I++){var K=J[U];if(typeof K==="object")J=K;else if(J=J[U]={},K!==void 0)J[xZ]=K}U=$[$.length-1],J[U]=Y};u3.prototype._fillEncodeTable=function($,Y,U){var z=this.decodeTables[$],Q=!1,J={};for(var I=0;I<256;I++){var K=z[I],G=Y+I;if(U[G])continue;if(K>=0)this._setEncodeChar(K,G),Q=!0;else if(K<=h8){var H=h8-K;if(!J[H]){var W=G<<8>>>0;if(this._fillEncodeTable(H,W,U))Q=!0;else J[H]=!0}}else if(K<=p$)this._setEncodeSequence(this.decodeTableSeq[p$-K],G),Q=!0}return Q};function KP($,Y){this.leadSurrogate=-1,this.seqObj=void 0,this.encodeTable=Y.encodeTable,this.encodeTableSeq=Y.encodeTableSeq,this.defaultCharSingleByte=Y.defCharSB,this.gb18030=Y.gb18030}KP.prototype.write=function($){var Y=Ud.alloc($.length*(this.gb18030?4:3)),U=this.leadSurrogate,z=this.seqObj,Q=-1,J=0,I=0;while(!0){if(Q===-1){if(J==$.length)break;var K=$.charCodeAt(J++)}else{var K=Q;Q=-1}if(K>=55296&&K<57344)if(K<56320)if(U===-1){U=K;continue}else U=K,K=U8;else if(U!==-1)K=65536+(U-55296)*1024+(K-56320),U=-1;else K=U8;else if(U!==-1)Q=K,K=U8,U=-1;var G=U8;if(z!==void 0&&K!=U8){var H=z[K];if(typeof H==="object"){z=H;continue}else if(typeof H==="number")G=H;else if(H==null){if(H=z[xZ],H!==void 0)G=H,Q=K}z=void 0}else if(K>=0){var W=this.encodeTable[K>>8];if(W!==void 0)G=W[K&255];if(G<=p$){z=this.encodeTableSeq[p$-G];continue}if(G==U8&&this.gb18030){var X=Qd(this.gb18030.uChars,K);if(X!=-1){var G=this.gb18030.gbChars[X]+(K-this.gb18030.uChars[X]);Y[I++]=129+Math.floor(G/12600),G=G%12600,Y[I++]=48+Math.floor(G/1260),G=G%1260,Y[I++]=129+Math.floor(G/10),G=G%10,Y[I++]=48+G;continue}}}if(G===U8)G=this.defaultCharSingleByte;if(G<256)Y[I++]=G;else if(G<65536)Y[I++]=G>>8,Y[I++]=G&255;else if(G<16777216)Y[I++]=G>>16,Y[I++]=G>>8&255,Y[I++]=G&255;else Y[I++]=G>>>24,Y[I++]=G>>>16&255,Y[I++]=G>>>8&255,Y[I++]=G&255}return this.seqObj=z,this.leadSurrogate=U,Y.slice(0,I)};KP.prototype.end=function(){if(this.leadSurrogate===-1&&this.seqObj===void 0)return;var $=Ud.alloc(10),Y=0;if(this.seqObj){var U=this.seqObj[xZ];if(U!==void 0)if(U<256)$[Y++]=U;else $[Y++]=U>>8,$[Y++]=U&255;this.seqObj=void 0}if(this.leadSurrogate!==-1)$[Y++]=this.defaultCharSingleByte,this.leadSurrogate=-1;return $.slice(0,Y)};KP.prototype.findIdx=Qd;function zd($,Y){this.nodeIdx=0,this.prevBytes=[],this.decodeTables=Y.decodeTables,this.decodeTableSeq=Y.decodeTableSeq,this.defaultCharUnicode=Y.defaultCharUnicode,this.gb18030=Y.gb18030}zd.prototype.write=function($){var Y=Ud.alloc($.length*2),U=this.nodeIdx,z=this.prevBytes,Q=this.prevBytes.length,J=-this.prevBytes.length,I;for(var K=0,G=0;K<$.length;K++){var H=K>=0?$[K]:z[K+Q],I=this.decodeTables[U][H];if(I>=0);else if(I===U8)I=this.defaultCharUnicode.charCodeAt(0),K=J;else if(I===PB0){if(K>=3)var W=($[K-3]-129)*12600+($[K-2]-48)*1260+($[K-1]-129)*10+(H-48);else var W=(z[K-3+Q]-129)*12600+((K-2>=0?$[K-2]:z[K-2+Q])-48)*1260+((K-1>=0?$[K-1]:z[K-1+Q])-129)*10+(H-48);var X=Qd(this.gb18030.gbChars,W);I=this.gb18030.uChars[X]+W-this.gb18030.gbChars[X]}else if(I<=h8){U=h8-I;continue}else if(I<=p$){var Z=this.decodeTableSeq[p$-I];for(var q=0;q>8;I=Z[Z.length-1]}else throw Error("iconv-lite internal error: invalid decoding table value "+I+" at "+U+"/"+H);if(I>=65536){I-=65536;var V=55296|I>>10;Y[G++]=V&255,Y[G++]=V>>8,I=56320|I&1023}Y[G++]=I&255,Y[G++]=I>>8,U=0,J=K+1}return this.nodeIdx=U,this.prevBytes=J>=0?Array.prototype.slice.call($,J):z.slice(J+Q).concat(Array.prototype.slice.call($)),Y.slice(0,G).toString("ucs2")};zd.prototype.end=function(){var $="";while(this.prevBytes.length>0){$+=this.defaultCharUnicode;var Y=this.prevBytes.slice(1);if(this.prevBytes=[],this.nodeIdx=0,Y.length>0)$+=this.write(Y)}return this.prevBytes=[],this.nodeIdx=0,$};function Qd($,Y){if($[0]>Y)return-1;var U=0,z=$.length;while(U>1);if($[Q]<=Y)U=Q;else z=Q}return U}});var jB0=E((U44,aA1)=>{aA1.exports=[["0","\x00",128],["a1","。",62],["8140"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×"],["8180","÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓"],["81b8","∈∋⊆⊇⊂⊃∪∩"],["81c8","∧∨¬⇒⇔∀∃"],["81da","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["81f0","ʼn♯♭♪†‡¶"],["81fc","◯"],["824f","0",9],["8260","A",25],["8281","a",25],["829f","ぁ",82],["8340","ァ",62],["8380","ム",22],["839f","Α",16,"Σ",6],["83bf","α",16,"σ",6],["8440","А",5,"ЁЖ",25],["8470","а",5,"ёж",7],["8480","о",17],["849f","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["8740","①",19,"Ⅰ",9],["875f","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["877e","㍻"],["8780","〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["889f","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["8940","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円"],["8980","園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["8a40","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫"],["8a80","橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["8b40","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救"],["8b80","朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["8c40","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨"],["8c80","劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["8d40","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降"],["8d80","項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["8e40","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止"],["8e80","死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["8f40","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳"],["8f80","準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["9040","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨"],["9080","逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["9140","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻"],["9180","操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["9240","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄"],["9280","逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["9340","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬"],["9380","凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["9440","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅"],["9480","楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["9540","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷"],["9580","斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["9640","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆"],["9680","摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["9740","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲"],["9780","沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["9840","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["989f","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["9940","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭"],["9980","凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["9a40","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸"],["9a80","噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["9b40","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀"],["9b80","它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["9c40","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠"],["9c80","怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["9d40","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫"],["9d80","捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["9e40","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎"],["9e80","梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["9f40","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯"],["9f80","麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["e040","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝"],["e080","烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e140","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿"],["e180","痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e240","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰"],["e280","窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e340","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷"],["e380","縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e440","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤"],["e480","艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e540","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬"],["e580","蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["e640","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧"],["e680","諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["e740","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜"],["e780","轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["e840","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙"],["e880","閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["e940","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃"],["e980","騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["ea40","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯"],["ea80","黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙"],["ed40","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏"],["ed80","塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["ee40","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙"],["ee80","蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["eeef","ⅰ",9,"¬¦'""],["f040","",62],["f080","",124],["f140","",62],["f180","",124],["f240","",62],["f280","",124],["f340","",62],["f380","",124],["f440","",62],["f480","",124],["f540","",62],["f580","",124],["f640","",62],["f680","",124],["f740","",62],["f780","",124],["f840","",62],["f880","",124],["f940",""],["fa40","ⅰ",9,"Ⅰ",9,"¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊"],["fa80","兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯"],["fb40","涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神"],["fb80","祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙"],["fc40","髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"]]});var EB0=E((z44,tA1)=>{tA1.exports=[["0","\x00",127],["8ea1","。",62],["a1a1"," 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈",9,"+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇"],["a2a1","◆□■△▲▽▼※〒→←↑↓〓"],["a2ba","∈∋⊆⊇⊂⊃∪∩"],["a2ca","∧∨¬⇒⇔∀∃"],["a2dc","∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬"],["a2f2","ʼn♯♭♪†‡¶"],["a2fe","◯"],["a3b0","0",9],["a3c1","A",25],["a3e1","a",25],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a8a1","─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂"],["ada1","①",19,"Ⅰ",9],["adc0","㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡"],["addf","㍻〝〟№㏍℡㊤",4,"㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪"],["b0a1","亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭"],["b1a1","院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応"],["b2a1","押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改"],["b3a1","魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱"],["b4a1","粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄"],["b5a1","機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京"],["b6a1","供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈"],["b7a1","掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲"],["b8a1","検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向"],["b9a1","后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込"],["baa1","此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷"],["bba1","察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時"],["bca1","次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周"],["bda1","宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償"],["bea1","勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾"],["bfa1","拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾"],["c0a1","澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線"],["c1a1","繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎"],["c2a1","臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只"],["c3a1","叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵"],["c4a1","帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓"],["c5a1","邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到"],["c6a1","董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入"],["c7a1","如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦"],["c8a1","函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美"],["c9a1","鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服"],["caa1","福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋"],["cba1","法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満"],["cca1","漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒"],["cda1","諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃"],["cea1","痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯"],["cfa1","蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕"],["d0a1","弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲"],["d1a1","僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨"],["d2a1","辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨"],["d3a1","咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉"],["d4a1","圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩"],["d5a1","奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓"],["d6a1","屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏"],["d7a1","廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚"],["d8a1","悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛"],["d9a1","戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼"],["daa1","據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼"],["dba1","曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍"],["dca1","棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣"],["dda1","檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾"],["dea1","沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌"],["dfa1","漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼"],["e0a1","燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱"],["e1a1","瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰"],["e2a1","癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬"],["e3a1","磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐"],["e4a1","筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆"],["e5a1","紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺"],["e6a1","罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋"],["e7a1","隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙"],["e8a1","茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈"],["e9a1","蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙"],["eaa1","蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞"],["eba1","襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫"],["eca1","譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊"],["eda1","蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸"],["eea1","遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮"],["efa1","錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞"],["f0a1","陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰"],["f1a1","顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷"],["f2a1","髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈"],["f3a1","鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠"],["f4a1","堯槇遙瑤凜熙"],["f9a1","纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德"],["faa1","忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱"],["fba1","犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚"],["fca1","釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑"],["fcf1","ⅰ",9,"¬¦'""],["8fa2af","˘ˇ¸˙˝¯˛˚~΄΅"],["8fa2c2","¡¦¿"],["8fa2eb","ºª©®™¤№"],["8fa6e1","ΆΈΉΊΪ"],["8fa6e7","Ό"],["8fa6e9","ΎΫ"],["8fa6ec","Ώ"],["8fa6f1","άέήίϊΐόςύϋΰώ"],["8fa7c2","Ђ",10,"ЎЏ"],["8fa7f2","ђ",10,"ўџ"],["8fa9a1","ÆĐ"],["8fa9a4","Ħ"],["8fa9a6","IJ"],["8fa9a8","ŁĿ"],["8fa9ab","ŊØŒ"],["8fa9af","ŦÞ"],["8fa9c1","æđðħıijĸłŀʼnŋøœßŧþ"],["8faaa1","ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ"],["8faaba","ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ"],["8faba1","áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ"],["8fabbd","ġĥíìïîǐ"],["8fabc5","īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż"],["8fb0a1","丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄"],["8fb1a1","侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐"],["8fb2a1","傒傓傔傖傛傜傞",4,"傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂"],["8fb3a1","凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋"],["8fb4a1","匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿"],["8fb5a1","咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒"],["8fb6a1","嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍",5,"嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤",4,"囱囫园"],["8fb7a1","囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭",4,"坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡"],["8fb8a1","堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭"],["8fb9a1","奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿"],["8fbaa1","嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖",4,"寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩"],["8fbba1","屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤"],["8fbca1","巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪",4,"幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧"],["8fbda1","彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐",4,"忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷"],["8fbea1","悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐",4,"愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥"],["8fbfa1","懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵"],["8fc0a1","捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿"],["8fc1a1","擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝"],["8fc2a1","昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝"],["8fc3a1","杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮",4,"桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏"],["8fc4a1","棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲"],["8fc5a1","樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽"],["8fc6a1","歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖"],["8fc7a1","泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞"],["8fc8a1","湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊"],["8fc9a1","濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔",4,"炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃",4,"焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠"],["8fcaa1","煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻"],["8fcba1","狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽"],["8fcca1","珿琀琁琄琇琊琑琚琛琤琦琨",9,"琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆"],["8fcda1","甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹",5,"疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹"],["8fcea1","瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢",6,"皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢"],["8fcfa1","睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳"],["8fd0a1","碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞"],["8fd1a1","秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰"],["8fd2a1","笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙",5],["8fd3a1","籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝"],["8fd4a1","綞綦綧綪綳綶綷綹緂",4,"緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭"],["8fd5a1","罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮"],["8fd6a1","胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆"],["8fd7a1","艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸"],["8fd8a1","荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓"],["8fd9a1","蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏",4,"蕖蕙蕜",6,"蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼"],["8fdaa1","藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠",4,"虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣"],["8fdba1","蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃",6,"螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵"],["8fdca1","蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊",4,"裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺"],["8fdda1","襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔",4,"觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳"],["8fdea1","誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂",4,"譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆"],["8fdfa1","貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢"],["8fe0a1","踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁"],["8fe1a1","轃轇轏轑",4,"轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃"],["8fe2a1","郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿"],["8fe3a1","釂釃釅釓釔釗釙釚釞釤釥釩釪釬",5,"釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵",4,"鉻鉼鉽鉿銈銉銊銍銎銒銗"],["8fe4a1","銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿",4,"鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶"],["8fe5a1","鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉",4,"鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹"],["8fe6a1","镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂"],["8fe7a1","霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦"],["8fe8a1","頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱",4,"餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵"],["8fe9a1","馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿",4],["8feaa1","鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪",4,"魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸"],["8feba1","鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦",4,"鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻"],["8feca1","鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵"],["8feda1","黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃",4,"齓齕齖齗齘齚齝齞齨齩齭",4,"齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥"]]});var GP=E((Q44,eA1)=>{eA1.exports=[["0","\x00",127,"€"],["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],["9980","檧檨檪檭",114,"欥欦欨",6],["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],["a2a1","ⅰ",9],["a2b1","⒈",19,"⑴",19,"①",9],["a2e5","㈠",9],["a2f1","Ⅰ",11],["a3a1","!"#¥%",88," ̄"],["a4a1","ぁ",82],["a5a1","ァ",85],["a6a1","Α",16,"Σ",6],["a6c1","α",16,"σ",6],["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],["a6ee","︻︼︷︸︱"],["a6f4","︳︴"],["a7a1","А",5,"ЁЖ",25],["a7d1","а",5,"ёж",25],["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],["a8bd","ńň"],["a8c0","ɡ"],["a8c5","ㄅ",36],["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"],["a959","℡㈱"],["a95c","‐"],["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],["a980","﹢",4,"﹨﹩﹪﹫"],["a996","〇"],["a9a4","─",75],["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],["bb40","籃",9,"籎",36,"籵",5,"籾",9],["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],["bd40","紷",54,"絯",7],["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],["be40","継",12,"綧",6,"綯",42],["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],["bf40","緻",62],["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],["c040","繞",35,"纃",23,"纜纝纞"],["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],["d440","訞",31,"訿",8,"詉",21],["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],["d540","誁",7,"誋",7,"誔",46],["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],["d640","諤",34,"謈",27],["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],["d740","譆",31,"譧",4,"譭",25],["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],["d940","貮",62],["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],["dd40","軥",62],["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],["e240","釦",62],["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],["e340","鉆",45,"鉵",16],["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],["e440","銨",5,"銯",24,"鋉",31],["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],["e540","錊",51,"錿",10],["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],["e640","鍬",34,"鎐",27],["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],["e740","鏎",7,"鏗",54],["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],["ee40","頏",62],["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],["f040","餈",4,"餎餏餑",28,"餯",26],["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],["f140","馌馎馚",10,"馦馧馩",47],["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],["f240","駺",62],["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],["f540","魼",62],["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],["f640","鯜",62],["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],["f740","鰼",62],["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],["f840","鳣",62],["f880","鴢",32],["f940","鵃",62],["f980","鶂",32],["fa40","鶣",62],["fa80","鷢",32],["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]]});var Jd=E((J44,$B1)=>{$B1.exports=[["a140","",62],["a180","",32],["a240","",62],["a280","",32],["a2ab","",5],["a2e3","€"],["a2ef",""],["a2fd",""],["a340","",62],["a380","",31," "],["a440","",62],["a480","",32],["a4f4","",10],["a540","",62],["a580","",32],["a5f7","",7],["a640","",62],["a680","",32],["a6b9","",7],["a6d9","",6],["a6ec",""],["a6f3",""],["a6f6","",8],["a740","",62],["a780","",32],["a7c2","",14],["a7f2","",12],["a896","",10],["a8bc","ḿ"],["a8bf","ǹ"],["a8c1",""],["a8ea","",20],["a958",""],["a95b",""],["a95d",""],["a989","〾⿰",11],["a997","",12],["a9f0","",14],["aaa1","",93],["aba1","",93],["aca1","",93],["ada1","",93],["aea1","",93],["afa1","",93],["d7fa","",4],["f8a1","",93],["f9a1","",93],["faa1","",93],["fba1","",93],["fca1","",93],["fda1","",93],["fe50","⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌"],["fe80","䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓",6,"䶮",93],["8135f437",""]]});var CB0=E((I44,YB1)=>{YB1.exports={uChars:[128,165,169,178,184,216,226,235,238,244,248,251,253,258,276,284,300,325,329,334,364,463,465,467,469,471,473,475,477,506,594,610,712,716,730,930,938,962,970,1026,1104,1106,8209,8215,8218,8222,8231,8241,8244,8246,8252,8365,8452,8454,8458,8471,8482,8556,8570,8596,8602,8713,8720,8722,8726,8731,8737,8740,8742,8748,8751,8760,8766,8777,8781,8787,8802,8808,8816,8854,8858,8870,8896,8979,9322,9372,9548,9588,9616,9622,9634,9652,9662,9672,9676,9680,9702,9735,9738,9793,9795,11906,11909,11913,11917,11928,11944,11947,11951,11956,11960,11964,11979,12284,12292,12312,12319,12330,12351,12436,12447,12535,12543,12586,12842,12850,12964,13200,13215,13218,13253,13263,13267,13270,13384,13428,13727,13839,13851,14617,14703,14801,14816,14964,15183,15471,15585,16471,16736,17208,17325,17330,17374,17623,17997,18018,18212,18218,18301,18318,18760,18811,18814,18820,18823,18844,18848,18872,19576,19620,19738,19887,40870,59244,59336,59367,59413,59417,59423,59431,59437,59443,59452,59460,59478,59493,63789,63866,63894,63976,63986,64016,64018,64021,64025,64034,64037,64042,65074,65093,65107,65112,65127,65132,65375,65510,65536],gbChars:[0,36,38,45,50,81,89,95,96,100,103,104,105,109,126,133,148,172,175,179,208,306,307,308,309,310,311,312,313,341,428,443,544,545,558,741,742,749,750,805,819,820,7922,7924,7925,7927,7934,7943,7944,7945,7950,8062,8148,8149,8152,8164,8174,8236,8240,8262,8264,8374,8380,8381,8384,8388,8390,8392,8393,8394,8396,8401,8406,8416,8419,8424,8437,8439,8445,8482,8485,8496,8521,8603,8936,8946,9046,9050,9063,9066,9076,9092,9100,9108,9111,9113,9131,9162,9164,9218,9219,11329,11331,11334,11336,11346,11361,11363,11366,11370,11372,11375,11389,11682,11686,11687,11692,11694,11714,11716,11723,11725,11730,11736,11982,11989,12102,12336,12348,12350,12384,12393,12395,12397,12510,12553,12851,12962,12973,13738,13823,13919,13933,14080,14298,14585,14698,15583,15847,16318,16434,16438,16481,16729,17102,17122,17315,17320,17402,17418,17859,17909,17911,17915,17916,17936,17939,17961,18664,18703,18814,18962,19043,33469,33470,33471,33484,33485,33490,33497,33501,33505,33513,33520,33536,33550,37845,37921,37948,38029,38038,38064,38065,38066,38069,38075,38076,38078,39108,39109,39113,39114,39115,39116,39265,39394,189000]}});var RB0=E((K44,UB1)=>{UB1.exports=[["0","\x00",127],["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],["8361","긝",18,"긲긳긵긶긹긻긼"],["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],["8741","놞",9,"놩",15],["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],["8a61","둧",4,"둭",18,"뒁뒂"],["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],["8c41","똀",15,"똒똓똕똖똗똙",4],["8c61","똞",6,"똦",5,"똭",6,"똵",5],["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],["8d41","뛃",16,"뛕",8],["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],["8e61","럂",4,"럈럊",19],["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],["8f41","뢅",7,"뢎",17],["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],["9061","륾",5,"릆릈릋릌릏",15],["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],["9461","봞",5,"봥",6,"봭",12],["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],["9641","뺸",23,"뻒뻓"],["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],["9741","뾃",16,"뾕",8],["9761","뾞",17,"뾱",7],["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],["9841","쁀",16,"쁒",5,"쁙쁚쁛"],["9861","쁝쁞쁟쁡",6,"쁪",15],["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],["9a41","숤숥숦숧숪숬숮숰숳숵",16],["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],["9b61","쌳",17,"썆",7],["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],["9c61","쏿",8,"쐉",6,"쐑",9],["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],["9d41","쒪",13,"쒹쒺쒻쒽",8],["9d61","쓆",25],["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],["a141","좥좦좧좩",18,"좾좿죀죁"],["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"],["a241","줐줒",5,"줙",18],["a261","줭",6,"줵",18],["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],["a361","즑",6,"즚즜즞",16],["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"],["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],["a481","쨦쨧쨨쨪",28,"ㄱ",93],["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],["a561","쩫",17,"쩾",5,"쪅쪆"],["a581","쪇",16,"쪙",14,"ⅰ",9],["a5b0","Ⅰ",9],["a5c1","Α",16,"Σ",6],["a5e1","α",16,"σ",6],["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],["a761","쬪",22,"쭂쭃쭄"],["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],["a841","쭭",10,"쭺",14],["a861","쮉",18,"쮝",6],["a881","쮤",19,"쮹",11,"ÆÐªĦ"],["a8a6","IJ"],["a8a8","ĿŁØŒºÞŦŊ"],["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],["a941","쯅",14,"쯕",10],["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],["aa81","챳챴챶",29,"ぁ",82],["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],["acd1","а",5,"ёж",25],["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],["ae41","췆",5,"췍췎췏췑",16],["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],["af41","츬츭츮츯츲츴츶",19],["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],["b041","캚",5,"캢캦",5,"캮",12],["b061","캻",5,"컂",19],["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],["b161","켥",6,"켮켲",5,"켹",11],["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],["b261","쾎",18,"쾢",5,"쾩"],["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],["b541","킕",14,"킦킧킩킪킫킭",5],["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],["b641","턅",7,"턎",17],["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],["b741","텮",13,"텽",6,"톅톆톇톉톊"],["b761","톋",20,"톢톣톥톦톧"],["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],["b841","퇐",7,"퇙",17],["b861","퇫",8,"퇵퇶퇷퇹",13],["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],["be41","퐸",7,"푁푂푃푅",14],["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],["bf41","풞",10,"풪",14],["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],["c061","픞",25],["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],["c161","햌햍햎햏햑",19,"햦햧"],["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],["c361","홢",4,"홨홪",5,"홲홳홵",11],["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],["c641","힍힎힏힑",6,"힚힜힞",5],["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]]});var Id=E((G44,zB1)=>{zB1.exports=[["0","\x00",127],["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"],["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21],["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],["a3a1","ㄐ",25,"˙ˉˊˇˋ"],["a3e1","€"],["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]]});var _B0=E((H44,QB1)=>{QB1.exports=[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","■"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]});var hB0=E((W44,vB0)=>{vB0.exports={shiftjis:{type:"_dbcs",table:function(){return jB0()},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return EB0()},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return GP()}},gbk:{type:"_dbcs",table:function(){return GP().concat(Jd())}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return GP().concat(Jd())},gb18030:function(){return CB0()},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return RB0()}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return Id()}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return Id().concat(_B0())},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}});var yB0=E((gB0,uZ)=>{var JB1=Cp(),SB0=[WB0(),qB0(),FB0(),MB0(),OB0(),DB0(),BB0(),TB0(),hB0()];for(fZ=0;fZ{var kB0=x3().Buffer;xB0.exports=function($){var Y=$.Transform;function U(Q,J){this.conv=Q,J=J||{},J.decodeStrings=!1,Y.call(this,J)}U.prototype=Object.create(Y.prototype,{constructor:{value:U}}),U.prototype._transform=function(Q,J,I){if(typeof Q!=="string")return I(Error("Iconv encoding stream needs strings as its input."));try{var K=this.conv.write(Q);if(K&&K.length)this.push(K);I()}catch(G){I(G)}},U.prototype._flush=function(Q){try{var J=this.conv.end();if(J&&J.length)this.push(J);Q()}catch(I){Q(I)}},U.prototype.collect=function(Q){var J=[];return this.on("error",Q),this.on("data",function(I){J.push(I)}),this.on("end",function(){Q(null,kB0.concat(J))}),this};function z(Q,J){this.conv=Q,J=J||{},J.encoding=this.encoding="utf8",Y.call(this,J)}return z.prototype=Object.create(Y.prototype,{constructor:{value:z}}),z.prototype._transform=function(Q,J,I){if(!kB0.isBuffer(Q)&&!(Q instanceof Uint8Array))return I(Error("Iconv decoding stream needs buffers as its input."));try{var K=this.conv.write(Q);if(K&&K.length)this.push(K,this.encoding);I()}catch(G){I(G)}},z.prototype._flush=function(Q){try{var J=this.conv.end();if(J&&J.length)this.push(J,this.encoding);Q()}catch(I){Q(I)}},z.prototype.collect=function(Q){var J="";return this.on("error",Q),this.on("data",function(I){J+=I}),this.on("end",function(){Q(null,J)}),this},{IconvLiteEncoderStream:U,IconvLiteDecoderStream:z}}});var mB0=E((XB1,F1)=>{var uB0=x3().Buffer,bB0=KB0(),WB1=Cp();XB1.encodings=null;XB1.defaultCharUnicode="�";XB1.defaultCharSingleByte="?";XB1.encode=function(Y,U,z){Y=""+(Y||"");var Q=XB1.getEncoder(U,z),J=Q.write(Y),I=Q.end();return I&&I.length>0?uB0.concat([J,I]):J};XB1.decode=function(Y,U,z){if(typeof Y==="string"){if(!XB1.skipDecodeWarning)console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),XB1.skipDecodeWarning=!0;Y=uB0.from(""+(Y||""),"binary")}var Q=XB1.getDecoder(U,z),J=Q.write(Y),I=Q.end();return I?J+I:J};XB1.encodingExists=function(Y){try{return XB1.getCodec(Y),!0}catch(U){return!1}};XB1.toEncoding=XB1.encode;XB1.fromEncoding=XB1.decode;XB1._codecDataCache={__proto__:null};XB1.getCodec=function(Y){if(!XB1.encodings){var U=yB0();XB1.encodings={__proto__:null},WB1(XB1.encodings,U)}var z=XB1._canonicalizeEncoding(Y),Q={};while(!0){var J=XB1._codecDataCache[z];if(J)return J;var I=XB1.encodings[z];switch(typeof I){case"string":z=I;break;case"object":for(var K in I)Q[K]=I[K];if(!Q.encodingName)Q.encodingName=z;z=I.type;break;case"function":if(!Q.encodingName)Q.encodingName=z;return J=new I(Q,XB1),XB1._codecDataCache[Q.encodingName]=J,J;default:throw Error("Encoding not recognized: '"+Y+"' (searched as: '"+z+"')")}}};XB1._canonicalizeEncoding=function($){return(""+$).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};XB1.getEncoder=function(Y,U){var z=XB1.getCodec(Y),Q=new z.encoder(U,z);if(z.bomAware&&U&&U.addBOM)Q=new bB0.PrependBOM(Q,U);return Q};XB1.getDecoder=function(Y,U){var z=XB1.getCodec(Y),Q=new z.decoder(U,z);if(z.bomAware&&!(U&&U.stripBOM===!1))Q=new bB0.StripBOM(Q,U);return Q};XB1.enableStreamingAPI=function(Y){if(XB1.supportsStreams)return;var U=fB0()(Y);XB1.IconvLiteEncoderStream=U.IconvLiteEncoderStream,XB1.IconvLiteDecoderStream=U.IconvLiteDecoderStream,XB1.encodeStream=function(Q,J){return new XB1.IconvLiteEncoderStream(XB1.getEncoder(Q,J),J)},XB1.decodeStream=function(Q,J){return new XB1.IconvLiteDecoderStream(XB1.getDecoder(Q,J),J)},XB1.supportsStreams=!0};var HP;try{HP=I0("stream")}catch($){}if(HP&&HP.Transform)XB1.enableStreamingAPI(HP);else XB1.encodeStream=XB1.decodeStream=function(){throw Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}});async function oB0($){return new Promise((Y,U)=>{Gd.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(z,Q)=>{if(z||!Q)return U(z??Error("无法打开 ZIP"));let J=[];Q.readEntry(),Q.on("entry",(I)=>{let K=rB0(I);if(!K.endsWith("/")&&!NB1(K))J.push({fileName:K,uncompressedSize:I.uncompressedSize,compressedSize:I.compressedSize,raw:I});Q.readEntry()}),Q.on("end",()=>Y(J)),Q.on("error",U)})})}function rB0($){let Y=Buffer.isBuffer($.fileName)?$.fileName:Buffer.from(String($.fileName),"binary"),U=Y.toString("utf8");if(!U.includes("�"))return U;let z=lB0.default.decode(Y,"gbk");if(!z.includes("�"))return z;return U}function NB1($){let Y=$.split("/").pop()??"";return $.split("/").includes("__MACOSX")||Y===".DS_Store"||Y.startsWith("._")||Y.startsWith(".~")||Y.startsWith("~$")}function sB0($,Y){let U=[],z=dQ(Y);if($.length>XP.maxEntries)U.push(`文件数超过 ${XP.maxEntries}`);if($.reduce((I,K)=>I+K.uncompressedSize,0)>XP.maxTotalSize)U.push("解压后总大小超过 500MB");for(let I of $){if(I.fileName.startsWith("/")||I.fileName.split("/").includes(".."))U.push(`存在不安全路径: ${I.fileName}`);if(I.compressedSize>0&&I.uncompressedSize/I.compressedSize>XP.maxCompressionRatio)U.push(`压缩比超过 150: ${I.fileName}`);if(I.fileName==="信息表.xlsx")continue;DB1(I,z,U)}if(!$.find((I)=>I.fileName==="信息表.xlsx"))U.push("ZIP 根目录缺少精确名为「信息表.xlsx」的文件");if($.some((I)=>I.fileName.toLowerCase().endsWith(".zip")))U.push("不允许嵌套 ZIP");if(U.length)throw new D5(U)}function DB1($,Y,U){let z=AB1($.fileName);if(!z||!Y.allowedExtensions.includes(z))U.push(`附件后缀不在白名单中: ${$.fileName}(允许: ${Y.allowedExtensions.join(", ")})`);if($.uncompressedSizeY.maxFileSizeBytes)U.push(`附件文件过大: ${$.fileName}(${$.uncompressedSize} B,大于最大值 ${Y.maxFileSizeBytes} B)`)}function AB1($){let Y=$.split("/").pop()??$,U=Y.lastIndexOf(".");return U>0?Y.slice(U).toLowerCase():""}function Hd($,Y){return new Promise((U,z)=>{Gd.default.fromBuffer(Buffer.from($),{lazyEntries:!0,autoClose:!0,decodeStrings:!1},(Q,J)=>{if(Q||!J)return z(Q??Error("无法打开 ZIP"));J.readEntry(),J.on("entry",(I)=>{if(rB0(I)!==Y.fileName)return J.readEntry();J.openReadStream(I,(K,G)=>{if(K||!G)return z(K??Error(`无法读取 ${Y.fileName}`));let H=[];G.on("data",(W)=>H.push(W)),G.on("end",()=>U(Buffer.concat(H))),G.on("error",z)})}),J.on("error",z)})})}var Gd,lB0,XP;var Wd=m(()=>{$K();mQ();Gd=J6(QB0(),1),lB0=J6(mB0(),1),XP={maxEntries:1000,maxTotalSize:524288000,maxCompressionRatio:150}});function eB0($){return $.startsWith("[附件]")}function $P0($){return $.startsWith("[附件]")?$.slice(4):$}function BB1($){return $P0($).toLowerCase().replace(/\s+/g,"_")||"attachment"}function PB1($){if($==null||$==="")return[];return String($).split(/[\n,;,;]/).map((Y)=>Y.trim()).filter(Boolean)}function Xd($,Y){let U=[];for(let[z,Q]of Y.entries()){if(!eB0(z))continue;let J=$.getCell(Q).value,I=PB1(J);if(!I.length)continue;U.push({key:BB1(z),label:$P0(z),paths:I})}return U}function Zd($){let Y=new Map;return $.map((U)=>{let z=(Y.get(U.key)??0)+1;return Y.set(U.key,z),z===1?U:{...U,key:`${U.key}-${z}`}})}function WK($,Y,U,z){return{key:$,label:Y,type:U,value:z}}function qd($,Y,U){return WK($,Y,"TEXT",U==null?"":String(U))}function YP0($,Y,U){return WK($,Y,"AMOUNT",typeof U==="number"?{amount:U,currency:"CNY"}:null)}function UP0($){if($ instanceof Date)return $.toISOString();if(typeof $==="string"&&$.trim())return $.trim();return null}function TB1($){if($ instanceof Date)return Math.floor($.getTime()/1000);if(typeof $==="string"&&$.trim()){let Y=Date.parse($.trim().replace(" ","T"));if(Number.isFinite(Y))return Math.floor(Y/1000)}return null}function iZ($){let Y=new Map;return $.getRow(1).eachCell((U,z)=>Y.set(String(U.value??"").trim(),z)),Y}function Zz($,Y,U){let z=Y.get(U);return z?$.getCell(z).value:void 0}function jB1($,Y){let U=[["会议编号","meeting_id","TEXT"],["会议名称","meeting_name","TEXT"],["状态","status","TEXT"],["总金额","total_amount","AMOUNT"],["税前劳务总额","pretax_labor_total","AMOUNT"],["报销事由","reimbursement_reason","TEXT"],["po码","po_code","TEXT"],["快递单号","tracking_number","TEXT"],["申请日期","application_date","DATE"],["更新日期","updated_date","DATE"]],z=new Set(U.map(([J])=>J)),Q=U.flatMap(([J,I,K])=>{let G=Zz($,Y,J);if(G==null||G==="")return[];return[K==="TEXT"?qd(I,J,G):K==="AMOUNT"?YP0(I,J,G):WK(I,J,K,UP0(G))]});for(let[J,I]of Y.entries()){if(z.has(J)||eB0(J))continue;let K=$.getCell(I).value;if(K==null||K==="")continue;let G=J.toLowerCase().replace(/\s+/g,"_");if(typeof K==="number")Q.push(WK(G,J,"NUMBER",K));else if(K instanceof Date)Q.push(WK(G,J,"DATE",K.toISOString()));else Q.push(qd(G,J,String(K)))}return Q}function aB0($,Y,U){return U.flatMap(([z,Q,J])=>{let I=Zz($,Y,z);if(I==null||I==="")return[];return[J==="TEXT"?qd(Q,z,I):J==="AMOUNT"?YP0(Q,z,I):WK(Q,z,J,UP0(I))]})}async function zP0($){let Y=new tB0.default.Workbook;if(await Y.xlsx.load(Buffer.from($)),!Y.worksheets.length)throw new D5(["信息表没有任何 Sheet"]);let U=Y.worksheets,z=U[0],Q=iZ(z),J=Q.get("会议编号")??1,I=(z.getRows(2,z.rowCount)??[]).filter((q)=>q.getCell(J).value!=null&&q.getCell(J).value!==""),K=new Set,G=U.find((q,V)=>V>0&&iZ(q).has("姓名")),H=U.find((q,V)=>V>0&&iZ(q).has("报销金额")),W=G?iZ(G):void 0,X=H?iZ(H):void 0;return I.map((q)=>{let V=String(q.getCell(J).value).trim();if(!V)throw new D5(["主表会议编号不能为空"]);if(K.has(V))throw new D5([`主表会议编号重复: ${V}`]);K.add(V);let F=Zz(q,Q,"申请日期"),M=(G?.getRows(2,G.rowCount)??[]).filter((A)=>String(Zz(A,W,"会议编号")??"").trim()===V),w=(H?.getRows(2,H.rowCount)??[]).filter((A)=>String(Zz(A,X,"会议编号")??"").trim()===V),N=M.map((A)=>String(Zz(A,W,"姓名")??"").trim()).filter(Boolean),O=Zd(Xd(q,Q)),D={};w.forEach((A,j)=>{let C=Zd(Xd(A,X));if(C.length)D[j]=C});let P={};M.forEach((A)=>{let j=String(Zz(A,W,"姓名")??"").trim();if(!j)return;let C=Zd(Xd(A,W));if(C.length)P[j]=C});let T=jB1(q,Q);if(M.length)T.push({key:"daoshi_list",label:"导师列表",type:"LIST",value:M.map((A)=>aB0(A,W,EB1))});if(w.length)T.push({key:"mingxi_list",label:"明细列表",type:"LIST",value:w.map((A)=>aB0(A,X,CB1))});return{laborNames:N,documentAttachments:O,expenseAttachments:D,personAttachments:P,document:{type:"document",documentId:V,documentSN:V,startTime:TB1(F),fields:T}}})}var tB0,EB1,CB1;var Vd=m(()=>{$K();tB0=J6(EZ(),1);EB1=[["姓名","name","TEXT"],["身份证号码","id_number","TEXT"],["手机号","phone","TEXT"],["劳务费用","labor_fee","AMOUNT"],["税前费用","pretax_fee","AMOUNT"],["开户行","bank","TEXT"],["支行名称","branch_name","TEXT"],["联行号","bank_code","TEXT"],["银行卡号","bank_card_number","TEXT"]],CB1=[["报销金额","reimbursement_amount","AMOUNT"],["费用类型","expense_type","TEXT"],["发生时间","occurrence_time","DATE"],["收款人","payee","TEXT"],["开户行","bank","TEXT"],["支行名称","branch_name","TEXT"],["支行行号","branch_code","TEXT"],["银行卡号","bank_card_number","TEXT"],["费用说明","expense_description","TEXT"]]});function QP0($,Y){let U=[],z=new Map,Q=Y.map((I)=>{let{documentAttachments:K,expenseAttachments:G,personAttachments:H}=I,W=I.document.documentId,X=(Z,q)=>{let V=Z.split("/")[0],F=V.indexOf("@");if((F>=0?V.slice(0,F):V)!==W)U.push(`单据「${W}」声明了跨单据或非本单据目录的附件路径: ${Z}。附件必须位于该单据自己的根目录「${W}/」或「${W}@备注/」下。`);let w=z.get(Z);if(w)w.push({documentId:W,location:q});else z.set(Z,[{documentId:W,location:q}])};for(let Z of K)Z.paths.forEach((q)=>X(q,`主表 [附件]${Z.label}`));for(let[Z,q]of Object.entries(G)){let V=Number(Z)+1;for(let F of q)F.paths.forEach((M)=>X(M,`费用明细行 ${V} [附件]${F.label}`))}for(let[Z,q]of Object.entries(H))for(let V of q)V.paths.forEach((F)=>X(F,`劳务人员「${Z}」[附件]${V.label}`));return{documentId:W,categoryFields:K,expenseAttachments:G,personAttachments:H}});for(let[I,K]of z.entries())if(K.length>1){let G=K.map((H)=>`单据「${H.documentId}」的 ${H.location}`).join("、");U.push(`附件路径「${I}」被重复声明了 ${K.length} 次(出现在 ${G})。禁止复用同一路径,若需在不同单据或不同字段使用,请分别放置到独立的附件文件路径。`)}if(!$.length){if(U.length)throw new D5(U);return Q}let J=new Set($.map((I)=>I.fileName));for(let I of z.keys())if(!J.has(I))U.push(`Excel 声明的附件路径在 ZIP 中不存在: ${I}`);for(let I of $){if(I.fileName==="信息表.xlsx")continue;if(!z.has(I.fileName))U.push(`ZIP 中的文件未在 Excel 任何 [附件] 列中声明: ${I.fileName}`)}if(U.length)throw new D5(U);return Q}function Ld($,Y,U){let z=structuredClone($),Q=(K)=>{if(U.has(K))return U.get(K);return[{path:K,fileName:K.split("/").pop()??K}]};for(let K of Y.categoryFields){let G=K.paths.flatMap(Q);z.fields.push({key:K.key,label:K.label,type:"ATTACHMENT",value:G})}let J=z.fields.find((K)=>K.key==="daoshi_list"&&K.type==="LIST");if(J&&Array.isArray(J.value))for(let K of J.value){let G=K.find((H)=>H.key==="name")?.value;for(let H of Y.personAttachments[String(G)]??[])K.push({key:H.key,label:H.label,type:"ATTACHMENT",value:H.paths.flatMap(Q)})}let I=z.fields.find((K)=>K.key==="mingxi_list"&&K.type==="LIST");if(I&&Array.isArray(I.value))for(let K=0;K{$K()});function i2($,{checkOpen:Y=!0}={}){return $!==null&&typeof $==="object"&&($.writable||$.readable||!Y||$.writable===void 0&&$.readable===void 0)&&typeof $.pipe==="function"}var wd=($,Y,U)=>{let z=$ instanceof RegExp?JP0($,U):$,Q=Y instanceof RegExp?JP0(Y,U):Y,J=z!==null&&Q!=null&&RB1(z,Q,U);return J&&{start:J[0],end:J[1],pre:U.slice(0,J[0]),body:U.slice(J[0]+z.length,J[1]),post:U.slice(J[1]+Q.length)}},JP0=($,Y)=>{let U=Y.match($);return U?U[0]:null},RB1=($,Y,U)=>{let z,Q,J,I=void 0,K,G=U.indexOf($),H=U.indexOf(Y,G+1),W=G;if(G>=0&&H>0){if($===Y)return[G,H];z=[],J=U.length;while(W>=0&&!K){if(W===G)z.push(W),G=U.indexOf($,W+1);else if(z.length===1){let X=z.pop();if(X!==void 0)K=[X,H]}else{if(Q=z.pop(),Q!==void 0&&Q=0?G:H}if(z.length&&I!==void 0)K=[J,I]}return K};function Md($){return!isNaN($)?parseInt($,10):$.charCodeAt(0)}function cB1($){return $.replace(yB1,IP0).replace(kB1,KP0).replace(xB1,Nd).replace(fB1,GP0).replace(uB1,HP0)}function nB1($){return $.replace(_B1,"\\").replace(vB1,"{").replace(hB1,"}").replace(SB1,",").replace(gB1,".")}function WP0($){if(!$)return[""];let Y=[],U=wd("{","}",$);if(!U)return $.split(",");let{pre:z,body:Q,post:J}=U,I=z.split(",");I[I.length-1]+="{"+Q+"}";let K=WP0(J);if(J.length)I[I.length-1]+=K.shift(),I.push.apply(I,K);return Y.push.apply(Y,I),Y}function XP0($,Y={}){if(!$)return[];let{max:U=bB1,maxLength:z=iB1}=Y;if($.slice(0,2)==="{}")$="\\{\\}"+$.slice(2);return Od(cB1($),U,z,!0).map(nB1)}function pB1($){return"{"+$+"}"}function dB1($){return/^-?0\d/.test($)}function mB1($,Y){return $<=Y}function lB1($,Y){return $>=Y}function cZ($,Y,U,z,Q,J){let I=[],K=0;for(let G=0;G<$.length;G++)for(let H=0;H=z)return I;let W=$[G]+Y+U[H];if(J&&!W)continue;if(K+W.length>Q)return I;I.push(W),K+=W.length}return I}function oB1($,Y,U,z){let Q=$.split(/\.\./),J=[];if(Q[0]===void 0||Q[1]===void 0)return J;let I=Md(Q[0]),K=Md(Q[1]),G=Math.max(Q[0].length,Q[1].length),H=Q.length===3&&Q[2]!==void 0?Math.max(Math.abs(Md(Q[2])),1):1,W=mB1;if(K0){let w=Array(M+1).join("0");if(V<0)F="-"+w+F.slice(1);else F=w+F}}if(q+F.length>z)break;J.push(F),q+=F.length}return J}function Od($,Y,U,z){let Q=[""],J=!1,I=!0;for(;;){let K=wd("{","}",$);if(!K)return cZ(Q,$,[""],Y,U,J);let G=K.pre;if(/\$$/.test(G)){if(Q=cZ(Q,G+"{"+K.body+"}",[""],Y,U,J&&!K.post.length),I=!1,!K.post.length)break;$=K.post;continue}let H=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(K.body),W=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(K.body),X=H||W,Z=K.body.indexOf(",")>=0;if(!X&&!Z){if(K.post.match(/,(?!,).*\}/)){$=K.pre+"{"+K.body+Nd+K.post,z=!0;continue}return cZ(Q,G+"{"+K.body+"}"+K.post,[""],Y,U,J)}if(I)J=z&&!X,I=!1;let q;if(X)q=oB1(K.body,W,Y,U);else{let V=WP0(K.body);if(V.length===1&&V[0]!==void 0){if(V=Od(V[0],Y,U,!1).map(pB1),V.length===1){if(Q=cZ(Q,G+V[0],[""],Y,U,J&&!K.post.length),!K.post.length)break;$=K.post;continue}}let F=J&&!K.post.length&&!G;for(let w=0;F&&w=Y||M+D.length>U)break $;q.push(D),M+=D.length}}}if(Q=cZ(Q,G,q,Y,U,J&&!K.post.length),!K.post.length)break;$=K.post}return Q}var IP0,KP0,Nd,GP0,HP0,_B1,vB1,hB1,SB1,gB1,yB1,kB1,xB1,fB1,uB1,bB1=1e5,iB1=4000000;var ZP0=m(()=>{IP0="\x00SLASH"+Math.random()+"\x00",KP0="\x00OPEN"+Math.random()+"\x00",Nd="\x00CLOSE"+Math.random()+"\x00",GP0="\x00COMMA"+Math.random()+"\x00",HP0="\x00PERIOD"+Math.random()+"\x00",_B1=new RegExp(IP0,"g"),vB1=new RegExp(KP0,"g"),hB1=new RegExp(Nd,"g"),SB1=new RegExp(GP0,"g"),gB1=new RegExp(HP0,"g"),yB1=/\\\\/g,kB1=/\\{/g,xB1=/\\}/g,fB1=/\\,/g,uB1=/\\\./g});var nZ=($)=>{if(typeof $!=="string")throw TypeError("invalid pattern");if($.length>65536)throw TypeError("pattern is too long")};var rB1,pZ=($)=>$.replace(/[[\]\\-]/g,"\\$&"),sB1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),qP0=($)=>$.join(""),VP0=($,Y)=>{let U=Y;if($.charAt(U)!=="[")throw Error("not in a brace expression");let z=[],Q=[],J=U+1,I=!1,K=!1,G=!1,H=!1,W=U,X="";$:while(J<$.length){let F=$.charAt(J);if((F==="!"||F==="^")&&J===U+1){H=!0,J++;continue}if(F==="]"&&I&&!G){W=J+1;break}if(I=!0,F==="\\"){if(!G){G=!0,J++;continue}}if(F==="["&&!G){for(let[M,[w,N,O]]of Object.entries(rB1))if($.startsWith(M,J)){if(X)return["$.",!1,$.length-U,!0];if(J+=M.length,O)Q.push(w);else z.push(w);K=K||N;continue $}}if(G=!1,X){if(F>X)z.push(pZ(X)+"-"+pZ(F));else if(F===X)z.push(pZ(F));X="",J++;continue}if($.startsWith("-]",J+1)){z.push(pZ(F+"-")),J+=2;continue}if($.startsWith("-",J+1)){X=F,J+=2;continue}z.push(pZ(F)),J++}if(W{rB1={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]}});var c2=($,{windowsPathsNoEscape:Y=!1,magicalBraces:U=!0}={})=>{if(U)return Y?$.replace(/\[([^/\\])\]/g,"$1"):$.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1");return Y?$.replace(/\[([^/\\{}])\]/g,"$1"):$.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1")};var t8,aB1,Dd=($)=>aB1.has($),FP0=($)=>Dd($.type),tB1,eB1,$P1,wP0,YP1="(?!(?:^|/)\\.\\.?(?:$|/))",ZP="(?!\\.)",UP1,zP1,QP1,JP1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Ad="[^/]",MP0,OP0,IP1=0,XK;var Bd=m(()=>{LP0();aB1=new Set(["!","?","+","*","@"]),tB1=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),eB1=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),$P1=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),wP0=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),UP1=new Set(["[","."]),zP1=new Set(["..","."]),QP1=new Set("().*{}+?[]^$\\!"),MP0=Ad+"*?",OP0=Ad+"+?";XK=class XK{type;#z;#U;#Q=!1;#Y=[];#$;#W;#H;#X=!1;#J;#I;#Z=!1;id=++IP1;get depth(){return(this.#$?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#z.id,parent:this.#$?.id,depth:this.depth,partsLength:this.#Y.length,parts:this.#Y}}constructor($,Y,U={}){if(this.type=$,$)this.#U=!0;if(this.#$=Y,this.#z=this.#$?this.#$.#z:this,this.#J=this.#z===this?U:this.#z.#J,this.#H=this.#z===this?[]:this.#z.#H,$==="!"&&!this.#z.#X)this.#H.push(this);this.#W=this.#$?this.#$.#Y.length:0}get hasMagic(){if(this.#U!==void 0)return this.#U;for(let $ of this.#Y){if(typeof $==="string")continue;if($.type||$.hasMagic)return this.#U=!0}return this.#U}toString(){return this.#I!==void 0?this.#I:!this.type?this.#I=this.#Y.map(($)=>String($)).join(""):this.#I=this.type+"("+this.#Y.map(($)=>String($)).join("|")+")"}#N(){if(this!==this.#z)throw Error("should only call on root");if(this.#X)return this;this.toString(),this.#X=!0;let $;while($=this.#H.pop()){if($.type!=="!")continue;let Y=$,U=Y.#$;while(U){for(let z=Y.#W+1;!U.type&&ztypeof Y==="string"?Y:Y.toJSON()):[this.type,...this.#Y.map((Y)=>Y.toJSON())];if(this.isStart()&&!this.type)$.unshift([]);if(this.isEnd()&&(this===this.#z||this.#z.#X&&this.#$?.type==="!"))$.push({});return $}isStart(){if(this.#z===this)return!0;if(!this.#$?.isStart())return!1;if(this.#W===0)return!0;let $=this.#$;for(let Y=0;Ytypeof Z!=="string"),G=this.#Y.map((Z)=>{let[q,V,F,M]=typeof Z==="string"?t8.#q(Z,this.#U,K):Z.toRegExpSource($);return this.#U=this.#U||F,this.#Q=this.#Q||M,q}).join(""),H="";if(this.isStart()){if(typeof this.#Y[0]==="string"){if(!(this.#Y.length===1&&zP1.has(this.#Y[0]))){let q=UP1,V=Y&&q.has(G.charAt(0))||G.startsWith("\\.")&&q.has(G.charAt(2))||G.startsWith("\\.\\.")&&q.has(G.charAt(4)),F=!Y&&!$&&q.has(G.charAt(0));H=V?YP1:F?ZP:""}}}let W="";if(this.isEnd()&&this.#z.#X&&this.#$?.type==="!")W="(?:$|\\/)";return[H+G+W,c2(G),this.#U=!!this.#U,this.#Q]}let U=this.type==="*"||this.type==="+",z=this.type==="!"?"(?:(?!(?:":"(?:",Q=this.#w(Y);if(this.isStart()&&this.isEnd()&&!Q&&this.type!=="!"){let K=this.toString(),G=this;return G.#Y=[K],G.type=null,G.#U=void 0,[K,c2(this.toString()),!1,!1]}let J=!U||$||Y||!ZP?"":this.#w(!0);if(J===Q)J="";if(J)Q=`(?:${Q})(?:${J})*?`;let I="";if(this.type==="!"&&this.#Z)I=(this.isStart()&&!Y?ZP:"")+OP0;else{let K=this.type==="!"?"))"+(this.isStart()&&!Y&&!$?ZP:"")+MP0+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&J?")":this.type==="*"&&J?")?":`)${this.type}`;I=z+Q+K}return[I,c2(Q),this.#U=!!this.#U,this.#Q]}#K(){if(!FP0(this)){for(let $ of this.#Y)if(typeof $==="object")$.#K()}else{let $=0,Y=!1;do{Y=!0;for(let U=0;U{if(typeof Y==="string")throw Error("string type in extglob ast??");let[U,z,Q,J]=Y.toRegExpSource($);return this.#Q=this.#Q||J,U}).filter((Y)=>!(this.isStart()&&this.isEnd())||!!Y).join("|")}static#q($,Y,U=!1){let z=!1,Q="",J=!1,I=!1;for(let K=0;K<$.length;K++){let G=$.charAt(K);if(z){z=!1,Q+=(QP1.has(G)?"\\":"")+G;continue}if(G==="*"){if(I)continue;I=!0,Q+=U&&/^[*]+$/.test($)?OP0:MP0,Y=!0;continue}else I=!1;if(G==="\\"){if(K===$.length-1)Q+="\\\\";else z=!0;continue}if(G==="["){let[H,W,X,Z]=VP0($,K);if(X){Q+=H,J=J||W,K+=X-1,Y=Y||Z;continue}}if(G==="?"){Q+=Ad,Y=!0;continue}Q+=JP1(G)}return[Q,c2($),!!Y,J]}};t8=XK});var Pd=($,{windowsPathsNoEscape:Y=!1,magicalBraces:U=!1}={})=>{if(U)return Y?$.replace(/[?*()[\]{}]/g,"[$&]"):$.replace(/[?*()[\]\\{}]/g,"\\$&");return Y?$.replace(/[?*()[\]]/g,"[$&]"):$.replace(/[?*()[\]\\]/g,"\\$&")};class b3{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor($,Y={}){nZ($),Y=Y||{},this.options=Y,this.maxGlobstarRecursion=Y.maxGlobstarRecursion??200,this.pattern=$,this.platform=Y.platform||PP0,this.isWindows=this.platform==="win32";let U="allowWindowsEscape";if(this.windowsPathsNoEscape=!!Y.windowsPathsNoEscape||Y[U]===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.preserveMultipleSlashes=!!Y.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!Y.nonegate,this.comment=!1,this.empty=!1,this.partial=!!Y.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=Y.windowsNoMagicRoot!==void 0?Y.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let $ of this.set)for(let Y of $)if(typeof Y!=="string")return!0;return!1}debug(...$){}make(){let $=this.pattern,Y=this.options;if(!Y.nocomment&&$.charAt(0)==="#"){this.comment=!0;return}if(!$){this.empty=!0;return}if(this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],Y.debug)this.debug=(...Q)=>console.error(...Q);this.debug(this.pattern,this.globSet);let U=this.globSet.map((Q)=>this.slashSplit(Q));this.globParts=this.preprocess(U),this.debug(this.pattern,this.globParts);let z=this.globParts.map((Q,J,I)=>{if(this.isWindows&&this.windowsNoMagicRoot){let K=Q[0]===""&&Q[1]===""&&(Q[2]==="?"||!DP0.test(Q[2]))&&!DP0.test(Q[3]),G=/^[a-z]:/i.test(Q[0]);if(K)return[...Q.slice(0,4),...Q.slice(4).map((H)=>this.parse(H))];else if(G)return[Q[0],...Q.slice(1).map((H)=>this.parse(H))]}return Q.map((K)=>this.parse(K))});if(this.debug(this.pattern,z),this.set=z.filter((Q)=>Q.indexOf(!1)===-1),this.isWindows)for(let Q=0;Q=2)$=this.firstPhasePreProcess($),$=this.secondPhasePreProcess($);else if(Y>=1)$=this.levelOneOptimize($);else $=this.adjascentGlobstarOptimize($);return $}adjascentGlobstarOptimize($){return $.map((Y)=>{let U=-1;while((U=Y.indexOf("**",U+1))!==-1){let z=U;while(Y[z+1]==="**")z++;if(z!==U)Y.splice(U,z-U)}return Y})}levelOneOptimize($){return $.map((Y)=>{return Y=Y.reduce((U,z)=>{let Q=U[U.length-1];if(z==="**"&&Q==="**")return U;if(z===".."){if(Q&&Q!==".."&&Q!=="."&&Q!=="**")return U.pop(),U}return U.push(z),U},[]),Y.length===0?[""]:Y})}levelTwoFileOptimize($){if(!Array.isArray($))$=this.slashSplit($);let Y=!1;do{if(Y=!1,!this.preserveMultipleSlashes){for(let z=1;z<$.length-1;z++){let Q=$[z];if(z===1&&Q===""&&$[0]==="")continue;if(Q==="."||Q==="")Y=!0,$.splice(z,1),z--}if($[0]==="."&&$.length===2&&($[1]==="."||$[1]===""))Y=!0,$.pop()}let U=0;while((U=$.indexOf("..",U+1))!==-1){let z=$[U-1];if(z&&z!=="."&&z!==".."&&z!=="**"&&!(this.isWindows&&/^[a-z]:$/i.test(z)))Y=!0,$.splice(U-1,2),U-=2}}while(Y);return $.length===0?[""]:$}firstPhasePreProcess($){let Y=!1;do{Y=!1;for(let U of $){let z=-1;while((z=U.indexOf("**",z+1))!==-1){let J=z;while(U[J+1]==="**")J++;if(J>z)U.splice(z+1,J-z);let I=U[z+1],K=U[z+2],G=U[z+3];if(I!=="..")continue;if(!K||K==="."||K===".."||!G||G==="."||G==="..")continue;Y=!0,U.splice(z,1);let H=U.slice(0);H[z]="**",$.push(H),z--}if(!this.preserveMultipleSlashes){for(let J=1;JY.length)}partsMatch($,Y,U=!1){let z=0,Q=0,J=[],I="";while(z<$.length&&Q=2)$=this.levelTwoFileOptimize($);if(Y.includes(w8))return this.#z($,Y,U,z,Q);return this.#Q($,Y,U,z,Q)}#z($,Y,U,z,Q){let J=Y.indexOf(w8,Q),I=Y.lastIndexOf(w8),[K,G,H]=U?[Y.slice(Q,J),Y.slice(J+1),[]]:[Y.slice(Q,J),Y.slice(J+1,I),Y.slice(I+1)];if(K.length){let w=$.slice(z,z+K.length);if(!this.#Q(w,K,U,0,0))return!1;z+=K.length,Q+=K.length}let W=0;if(H.length){if(H.length+z>$.length)return!1;let w=$.length-H.length;if(this.#Q($,H,U,w,0))W=H.length;else{if($[$.length-1]!==""||z+H.length===$.length)return!1;if(w--,!this.#Q($,H,U,w,0))return!1;W=H.length+1}}if(!G.length){let w=!!W;for(let N=z;N<$.length-W;N++){let O=String($[N]);if(w=!0,O==="."||O===".."||!this.options.dot&&O.startsWith("."))return!1}return U||w}let X=[[[],0]],Z=X[0],q=0,V=[0];for(let w of G)if(w===w8)V.push(q),Z=[[],0],X.push(Z);else Z[0].push(w),q++;let F=X.length-1,M=$.length-W;for(let w of X)w[1]=M-(V[F--]+w[0].length);return!!this.#U($,X,z,0,U,0,!!W)}#U($,Y,U,z,Q,J,I){let K=Y[z];if(!K){for(let W=U;W<$.length;W++){I=!0;let X=$[W];if(X==="."||X===".."||!this.options.dot&&X.startsWith("."))return!1}return I}let[G,H]=K;while(U<=H){if(this.#Q($.slice(0,U+G.length),G,Q,U,0)&&J{let G=K.map((W)=>{if(W instanceof RegExp)for(let X of W.flags.split(""))z.add(X);return typeof W==="string"?gP1(W):W===w8?w8:W._src});G.forEach((W,X)=>{let Z=G[X+1],q=G[X-1];if(W!==w8||q===w8)return;if(q===void 0)if(Z!==void 0&&Z!==w8)G[X+1]="(?:\\/|"+U+"\\/)?"+Z;else G[X]=U;else if(Z===void 0)G[X-1]=q+"(?:\\/|\\/"+U+")?";else if(Z!==w8)G[X-1]=q+"(?:\\/|\\/"+U+"\\/)"+Z,G[X+1]=w8});let H=G.filter((W)=>W!==w8);if(this.partial&&H.length>=1){let W=[];for(let X=1;X<=H.length;X++)W.push(H.slice(0,X).join("/"));return"(?:"+W.join("|")+")"}return H.join("/")}).join("|"),[J,I]=$.length>1?["(?:",")"]:["",""];if(Q="^"+J+Q+I+"$",this.partial)Q="^(?:\\/|"+J+Q.slice(1,-1)+I+")$";if(this.negate)Q="^(?!"+Q+").+$";try{this.regexp=new RegExp(Q,[...z].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit($){if(this.preserveMultipleSlashes)return $.split("/");else if(this.isWindows&&/^\/\/[^/]+/.test($))return["",...$.split(/\/+/)];else return $.split(/\/+/)}match($,Y=this.partial){if(this.debug("match",$,this.pattern),this.comment)return!1;if(this.empty)return $==="";if($==="/"&&Y)return!0;let U=this.options;if(this.isWindows)$=$.split("\\").join("/");let z=this.slashSplit($);this.debug(this.pattern,"split",z);let Q=this.set;this.debug(this.pattern,"set",Q);let J=z[z.length-1];if(!J)for(let I=z.length-2;!J&&I>=0;I--)J=z[I];for(let I of Q){let K=z;if(U.matchBase&&I.length===1)K=[J];if(this.matchOne(K,I,Y)){if(U.flipNegate)return!0;return!this.negate}}if(U.flipNegate)return!1;return this.negate}static defaults($){return S8.defaults($).Minimatch}}var S8=($,Y,U={})=>{if(nZ(Y),!U.nocomment&&Y.charAt(0)==="#")return!1;return new b3(Y,U).match($)},KP1,GP1=($)=>(Y)=>!Y.startsWith(".")&&Y.endsWith($),HP1=($)=>(Y)=>Y.endsWith($),WP1=($)=>{return $=$.toLowerCase(),(Y)=>!Y.startsWith(".")&&Y.toLowerCase().endsWith($)},XP1=($)=>{return $=$.toLowerCase(),(Y)=>Y.toLowerCase().endsWith($)},ZP1,qP1=($)=>!$.startsWith(".")&&$.includes("."),VP1=($)=>$!=="."&&$!==".."&&$.includes("."),LP1,FP1=($)=>$!=="."&&$!==".."&&$.startsWith("."),wP1,MP1=($)=>$.length!==0&&!$.startsWith("."),OP1=($)=>$.length!==0&&$!=="."&&$!=="..",NP1,DP1=([$,Y=""])=>{let U=AP0([$]);if(!Y)return U;return Y=Y.toLowerCase(),(z)=>U(z)&&z.toLowerCase().endsWith(Y)},AP1=([$,Y=""])=>{let U=BP0([$]);if(!Y)return U;return Y=Y.toLowerCase(),(z)=>U(z)&&z.toLowerCase().endsWith(Y)},BP1=([$,Y=""])=>{let U=BP0([$]);return!Y?U:(z)=>U(z)&&z.endsWith(Y)},PP1=([$,Y=""])=>{let U=AP0([$]);return!Y?U:(z)=>U(z)&&z.endsWith(Y)},AP0=([$])=>{let Y=$.length;return(U)=>U.length===Y&&!U.startsWith(".")},BP0=([$])=>{let Y=$.length;return(U)=>U.length===Y&&U!=="."&&U!==".."},PP0,NP0,TP1,w8,jP1="[^/]",EP1,CP1="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",RP1="(?:(?!(?:\\/|^)\\.).)*?",_P1=($,Y={})=>(U)=>S8(U,$,Y),d$=($,Y={})=>Object.assign({},$,Y),vP1=($)=>{if(!$||typeof $!=="object"||!Object.keys($).length)return S8;let Y=S8;return Object.assign((z,Q,J={})=>Y(z,Q,d$($,J)),{Minimatch:class extends Y.Minimatch{constructor(Q,J={}){super(Q,d$($,J))}static defaults(Q){return Y.defaults(d$($,Q)).Minimatch}},AST:class extends Y.AST{constructor(Q,J,I={}){super(Q,J,d$($,I))}static fromGlob(Q,J={}){return Y.AST.fromGlob(Q,d$($,J))}},unescape:(z,Q={})=>Y.unescape(z,d$($,Q)),escape:(z,Q={})=>Y.escape(z,d$($,Q)),filter:(z,Q={})=>Y.filter(z,d$($,Q)),defaults:(z)=>Y.defaults(d$($,z)),makeRe:(z,Q={})=>Y.makeRe(z,d$($,Q)),braceExpand:(z,Q={})=>Y.braceExpand(z,d$($,Q)),match:(z,Q,J={})=>Y.match(z,Q,d$($,J)),sep:Y.sep,GLOBSTAR:w8})},TP0=($,Y={})=>{if(nZ($),Y.nobrace||!/\{(?:(?!\{).)*\}/.test($))return[$];return XP0($,{max:Y.braceExpandMax})},hP1=($,Y={})=>new b3($,Y).makeRe(),SP1=($,Y,U={})=>{let z=new b3(Y,U);if($=$.filter((Q)=>z.match(Q)),z.options.nonull&&!$.length)$.push(Y);return $},DP0,gP1=($)=>$.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");var jP0=m(()=>{ZP0();Bd();Bd();KP1=/^\*+([^+@!?*[(]*)$/,ZP1=/^\*+\.\*+$/,LP1=/^\.\*+$/,wP1=/^\*+$/,NP1=/^\?+([^+@!?*[(]*)?$/,PP0=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",NP0={win32:{sep:"\\"},posix:{sep:"/"}},TP1=PP0==="win32"?NP0.win32.sep:NP0.posix.sep;S8.sep=TP1;w8=Symbol("globstar **");S8.GLOBSTAR=w8;EP1=jP1+"*?";S8.filter=_P1;S8.defaults=vP1;S8.braceExpand=TP0;S8.makeRe=hP1;S8.match=SP1;DP0=/[?*]|[+@!]\(.*?\)|\[|\]/;S8.AST=XK;S8.Minimatch=b3;S8.escape=Pd;S8.unescape=c2});import*as ZK from"fs";import{EventEmitter as yP1}from"events";import{resolve as kP1}from"path";function xP1($,Y){return new Promise((U,z)=>{ZK.readdir($,{withFileTypes:!0},(Q,J)=>{if(Q)switch(Q.code){case"ENOTDIR":if(Y)z(Q);else U([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":U([]);break;case"ELOOP":default:z(Q);break}else U(J)})})}function EP0($,Y){return new Promise((U)=>{(Y?ZK.stat:ZK.lstat)($,(Q,J)=>{if(Q)switch(Q.code){case"ENOENT":if(Y)U(EP0($,!1));else U(null);break;default:U(null);break}else U(J)})})}async function*CP0($,Y,U,z,Q,J){let I=await xP1(Y+$,J);for(let K of I){let G=K.name,H=$+"/"+G,W=H.slice(1),X=Y+"/"+W,Z=K;if(z||U)Z=await EP0(X,U)??Z;if(Z.isDirectory()){if(!Q(W))yield{relative:W,absolute:X,stat:Z},yield*CP0(H,Y,U,z,Q,!1)}else yield{relative:W,absolute:X,stat:Z}}}async function*fP1($,Y,U,z){yield*CP0("",$,Y,U,z,!0)}function uP1($){return{pattern:$.pattern,dot:!!$.dot,noglobstar:!!$.noglobstar,matchBase:!!$.matchBase,nocase:!!$.nocase,ignore:$.ignore,skip:$.skip,follow:!!$.follow,stat:!!$.stat,nodir:!!$.nodir,mark:!!$.mark,silent:!!$.silent,absolute:!!$.absolute}}var RP0,_P0=($,Y,U)=>new RP0($,Y,U),Td;var vP0=m(()=>{jP0();RP0=class extends yP1{options;matchers;ignoreMatchers;skipMatchers;paused;aborted;inactive;iterator;constructor($,Y,U){super();if(typeof Y==="function")U=Y,Y=void 0;if(this.options=uP1(Y||{}),this.matchers=[],this.options.pattern){let z=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=z.map((Q)=>new b3(Q,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase}))}if(this.ignoreMatchers=[],this.options.ignore){let z=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=z.map((Q)=>new b3(Q,{dot:!0}))}if(this.skipMatchers=[],this.options.skip){let z=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=z.map((Q)=>new b3(Q,{dot:!0}))}if(this.iterator=fP1(kP1($||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,U){let z=U,Q=[];this.on("match",(J)=>Q.push(this.options.absolute?J.absolute:J.relative)),this.on("error",(J)=>z(J)),this.on("end",()=>z(null,Q))}setTimeout(()=>this._next())}_shouldSkipDirectory($){return this.skipMatchers.some((Y)=>Y.match($))}_fileMatches($,Y){let U=$+(Y?"/":"");return(this.matchers.length===0||this.matchers.some((z)=>z.match(U)))&&!this.ignoreMatchers.some((z)=>z.match(U))&&(!this.options.nodir||!Y)}_next(){if(!this.paused&&!this.aborted)this.iterator.next().then(($)=>{if(!$.done){let Y=$.value.stat.isDirectory();if(this._fileMatches($.value.relative,Y)){let U=$.value.relative,z=$.value.absolute;if(this.options.mark&&Y)U+="/",z+="/";if(this.options.stat)this.emit("match",{relative:U,absolute:z,stat:$.value.stat});else this.emit("match",{relative:U,absolute:z})}this._next()}else this.emit("end")}).catch(($)=>{if(this.abort(),this.emit("error",$),!$.code&&!this.options.silent)console.error($)});else this.inactive=!0}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){if(this.paused=!1,this.inactive)this.inactive=!1,this._next()}};_P0.ReaddirGlob=RP0;Td=_P0});import bP1 from"util";function H6($,Y){Error.captureStackTrace(this,this.constructor),this.message=iP1[$]||$,this.code=$,this.data=Y}var iP1;var hP0=m(()=>{iP1={ABORTED:"archive was aborted",DIRECTORYDIRPATHREQUIRED:"diretory dirpath argument must be a non-empty string value",DIRECTORYFUNCTIONINVALIDDATA:"invalid data returned by directory custom data function",ENTRYNAMEREQUIRED:"entry name must be a non-empty string value",FILEFILEPATHREQUIRED:"file filepath argument must be a non-empty string value",FINALIZING:"archive already finalizing",QUEUECLOSED:"queue closed",NOENDMETHOD:"no suitable finalize/end method defined by module",DIRECTORYNOTSUPPORTED:"support for directory entries not defined by module",FORMATSET:"archive format already set",INPUTSTEAMBUFFERREQUIRED:"input source must be valid Stream or Buffer instance",MODULESET:"module already set",SYMLINKNOTSUPPORTED:"support for symlink entries not defined by module",SYMLINKFILEPATHREQUIRED:"symlink filepath argument must be a non-empty string value",SYMLINKTARGETREQUIRED:"symlink target argument must be a non-empty string value",ENTRYNOTSUPPORTED:"entry not supported"};bP1.inherits(H6,Error)});var x4=E((m44,gP0)=>{class SP0 extends Error{constructor($){if(!Array.isArray($))throw TypeError(`Expected input to be an Array, got ${typeof $}`);let Y="";for(let U=0;U<$.length;U++)Y+=` ${$[U].stack} -`;super(Y);this.name="AggregateError",this.errors=$}}gP0.exports={AggregateError:SP0,ArrayIsArray($){return Array.isArray($)},ArrayPrototypeIncludes($,Y){return $.includes(Y)},ArrayPrototypeIndexOf($,Y){return $.indexOf(Y)},ArrayPrototypeJoin($,Y){return $.join(Y)},ArrayPrototypeMap($,Y){return $.map(Y)},ArrayPrototypePop($,Y){return $.pop(Y)},ArrayPrototypePush($,Y){return $.push(Y)},ArrayPrototypeSlice($,Y,U){return $.slice(Y,U)},Error,FunctionPrototypeCall($,Y,...U){return $.call(Y,...U)},FunctionPrototypeSymbolHasInstance($,Y){return Function.prototype[Symbol.hasInstance].call($,Y)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties($,Y){return Object.defineProperties($,Y)},ObjectDefineProperty($,Y,U){return Object.defineProperty($,Y,U)},ObjectGetOwnPropertyDescriptor($,Y){return Object.getOwnPropertyDescriptor($,Y)},ObjectKeys($){return Object.keys($)},ObjectSetPrototypeOf($,Y){return Object.setPrototypeOf($,Y)},Promise,PromisePrototypeCatch($,Y){return $.catch(Y)},PromisePrototypeThen($,Y,U){return $.then(Y,U)},PromiseReject($){return Promise.reject($)},PromiseResolve($){return Promise.resolve($)},ReflectApply:Reflect.apply,RegExpPrototypeTest($,Y){return $.test(Y)},SafeSet:Set,String,StringPrototypeSlice($,Y,U){return $.slice(Y,U)},StringPrototypeToLowerCase($){return $.toLowerCase()},StringPrototypeToUpperCase($){return $.toUpperCase()},StringPrototypeTrim($){return $.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet($,Y,U){return $.set(Y,U)},Boolean,Uint8Array}});var jd=E((l44,yP0)=>{yP0.exports={format($,...Y){return $.replace(/%([sdifj])/g,function(...[U,z]){let Q=Y.shift();if(z==="f")return Q.toFixed(6);else if(z==="j")return JSON.stringify(Q);else if(z==="s"&&typeof Q==="object")return`${Q.constructor!==Object?Q.constructor.name:""} {}`.trim();else return Q.toString()})},inspect($){switch(typeof $){case"string":if($.includes("'")){if(!$.includes('"'))return`"${$}"`;else if(!$.includes("`")&&!$.includes("${"))return`\`${$}\``}return`'${$}'`;case"number":if(isNaN($))return"NaN";else if(Object.is($,-0))return String($);return $;case"bigint":return`${String($)}n`;case"boolean":case"undefined":return String($);case"object":return"{}"}}}});var M8=E((o44,uP0)=>{var{format:cP1,inspect:qP}=jd(),{AggregateError:nP1}=x4(),pP1=globalThis.AggregateError||nP1,dP1=Symbol("kIsNodeError"),mP1=["string","function","number","object","Function","Object","boolean","bigint","symbol"],lP1=/^([A-Z][a-z0-9]*)+$/,VP={};function qz($,Y){if(!$)throw new VP.ERR_INTERNAL_ASSERTION(Y)}function kP0($){let Y="",U=$.length,z=$[0]==="-"?1:0;for(;U>=z+4;U-=3)Y=`_${$.slice(U-3,U)}${Y}`;return`${$.slice(0,U)}${Y}`}function oP1($,Y,U){if(typeof Y==="function")return qz(Y.length<=U.length,`Code: ${$}; The provided arguments length (${U.length}) does not match the required ones (${Y.length}).`),Y(...U);let z=(Y.match(/%[dfijoOs]/g)||[]).length;if(qz(z===U.length,`Code: ${$}; The provided arguments length (${U.length}) does not match the required ones (${z}).`),U.length===0)return Y;return cP1(Y,...U)}function z8($,Y,U){if(!U)U=Error;class z extends U{constructor(...Q){super(oP1($,Y,Q))}toString(){return`${this.name} [${$}]: ${this.message}`}}Object.defineProperties(z.prototype,{name:{value:U.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${$}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),z.prototype.code=$,z.prototype[dP1]=!0,VP[$]=z}function xP0($){let Y="__node_internal_"+$.name;return Object.defineProperty($,"name",{value:Y}),$}function rP1($,Y){if($&&Y&&$!==Y){if(Array.isArray(Y.errors))return Y.errors.push($),Y;let U=new pP1([Y,$],Y.message);return U.code=Y.code,U}return $||Y}class fP0 extends Error{constructor($="The operation was aborted",Y=void 0){if(Y!==void 0&&typeof Y!=="object")throw new VP.ERR_INVALID_ARG_TYPE("options","Object",Y);super($,Y);this.code="ABORT_ERR",this.name="AbortError"}}z8("ERR_ASSERTION","%s",Error);z8("ERR_INVALID_ARG_TYPE",($,Y,U)=>{if(qz(typeof $==="string","'name' must be a string"),!Array.isArray(Y))Y=[Y];let z="The ";if($.endsWith(" argument"))z+=`${$} `;else z+=`"${$}" ${$.includes(".")?"property":"argument"} `;z+="must be ";let Q=[],J=[],I=[];for(let G of Y)if(qz(typeof G==="string","All expected entries have to be of type string"),mP1.includes(G))Q.push(G.toLowerCase());else if(lP1.test(G))J.push(G);else qz(G!=="object",'The value "object" should be written as "Object"'),I.push(G);if(J.length>0){let G=Q.indexOf("object");if(G!==-1)Q.splice(Q,G,1),J.push("Object")}if(Q.length>0){switch(Q.length){case 1:z+=`of type ${Q[0]}`;break;case 2:z+=`one of type ${Q[0]} or ${Q[1]}`;break;default:{let G=Q.pop();z+=`one of type ${Q.join(", ")}, or ${G}`}}if(J.length>0||I.length>0)z+=" or "}if(J.length>0){switch(J.length){case 1:z+=`an instance of ${J[0]}`;break;case 2:z+=`an instance of ${J[0]} or ${J[1]}`;break;default:{let G=J.pop();z+=`an instance of ${J.join(", ")}, or ${G}`}}if(I.length>0)z+=" or "}switch(I.length){case 0:break;case 1:if(I[0].toLowerCase()!==I[0])z+="an ";z+=`${I[0]}`;break;case 2:z+=`one of ${I[0]} or ${I[1]}`;break;default:{let G=I.pop();z+=`one of ${I.join(", ")}, or ${G}`}}if(U==null)z+=`. Received ${U}`;else if(typeof U==="function"&&U.name)z+=`. Received function ${U.name}`;else if(typeof U==="object"){var K;if((K=U.constructor)!==null&&K!==void 0&&K.name)z+=`. Received an instance of ${U.constructor.name}`;else{let G=qP(U,{depth:-1});z+=`. Received ${G}`}}else{let G=qP(U,{colors:!1});if(G.length>25)G=`${G.slice(0,25)}...`;z+=`. Received type ${typeof U} (${G})`}return z},TypeError);z8("ERR_INVALID_ARG_VALUE",($,Y,U="is invalid")=>{let z=qP(Y);if(z.length>128)z=z.slice(0,128)+"...";return`The ${$.includes(".")?"property":"argument"} '${$}' ${U}. Received ${z}`},TypeError);z8("ERR_INVALID_RETURN_VALUE",($,Y,U)=>{var z;let Q=U!==null&&U!==void 0&&(z=U.constructor)!==null&&z!==void 0&&z.name?`instance of ${U.constructor.name}`:`type ${typeof U}`;return`Expected ${$} to be returned from the "${Y}" function but got ${Q}.`},TypeError);z8("ERR_MISSING_ARGS",(...$)=>{qz($.length>0,"At least one arg needs to be specified");let Y,U=$.length;switch($=(Array.isArray($)?$:[$]).map((z)=>`"${z}"`).join(" or "),U){case 1:Y+=`The ${$[0]} argument`;break;case 2:Y+=`The ${$[0]} and ${$[1]} arguments`;break;default:{let z=$.pop();Y+=`The ${$.join(", ")}, and ${z} arguments`}break}return`${Y} must be specified`},TypeError);z8("ERR_OUT_OF_RANGE",($,Y,U)=>{qz(Y,'Missing "range" argument');let z;if(Number.isInteger(U)&&Math.abs(U)>4294967296)z=kP0(String(U));else if(typeof U==="bigint"){z=String(U);let Q=BigInt(2)**BigInt(32);if(U>Q||U<-Q)z=kP0(z);z+="n"}else z=qP(U);return`The value of "${$}" is out of range. It must be ${Y}. Received ${z}`},RangeError);z8("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);z8("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);z8("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);z8("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);z8("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);z8("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);z8("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);z8("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);z8("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);z8("ERR_STREAM_WRITE_AFTER_END","write after end",Error);z8("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);uP0.exports={AbortError:fP0,aggregateTwoErrors:xP0(rP1),hideStackFrames:xP0,codes:VP}});var sP0=E((rP0,mZ)=>{Object.defineProperty(rP0,"__esModule",{value:!0});var dP0=new WeakMap,Ed=new WeakMap;function v4($){let Y=dP0.get($);return console.assert(Y!=null,"'this' is expected an Event object, but got",$),Y}function bP0($){if($.passiveListener!=null){if(typeof console<"u"&&typeof console.error==="function")console.error("Unable to preventDefault inside passive event listener invocation.",$.passiveListener);return}if(!$.event.cancelable)return;if($.canceled=!0,typeof $.event.preventDefault==="function")$.event.preventDefault()}function qK($,Y){dP0.set(this,{eventTarget:$,event:Y,eventPhase:2,currentTarget:$,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:Y.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let U=Object.keys(Y);for(let z=0;z0){let $=Array(arguments.length);for(let Y=0;Y{Object.defineProperty(eP0,"__esModule",{value:!0});var Rd=sP0();class Vz extends Rd.EventTarget{constructor(){super();throw TypeError("AbortSignal cannot be constructed directly")}get aborted(){let $=wP.get(this);if(typeof $!=="boolean")throw TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return $}}Rd.defineEventAttribute(Vz.prototype,"abort");function IT1(){let $=Object.create(Vz.prototype);return Rd.EventTarget.call($),wP.set($,!1),$}function KT1($){if(wP.get($)!==!1)return;wP.set($,!0),$.dispatchEvent({type:"abort"})}var wP=new WeakMap;Object.defineProperties(Vz.prototype,{aborted:{enumerable:!0}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(Vz.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class Lz{constructor(){tP0.set(this,IT1())}get signal(){return aP0(this)}abort(){KT1(aP0(this))}}var tP0=new WeakMap;function aP0($){let Y=tP0.get($);if(Y==null)throw TypeError(`Expected 'this' to be an 'AbortController' object, but got ${$===null?"null":typeof $}`);return Y}Object.defineProperties(Lz.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(Lz.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});eP0.AbortController=Lz;eP0.AbortSignal=Vz;eP0.default=Lz;lZ.exports=Lz;lZ.exports.AbortController=lZ.exports.default=Lz;lZ.exports.AbortSignal=Vz});var g8=E((r44,vd)=>{var XT1=I0("buffer"),{format:ZT1,inspect:qT1}=jd(),{codes:{ERR_INVALID_ARG_TYPE:_d}}=M8(),{kResistStopPropagation:VT1,AggregateError:LT1,SymbolDispose:FT1}=x4(),wT1=globalThis.AbortSignal||VK().AbortSignal,MT1=globalThis.AbortController||VK().AbortController,OT1=Object.getPrototypeOf(async function(){}).constructor,$T0=globalThis.Blob||XT1.Blob,NT1=typeof $T0<"u"?function(Y){return Y instanceof $T0}:function(Y){return!1},YT0=($,Y)=>{if($!==void 0&&($===null||typeof $!=="object"||!("aborted"in $)))throw new _d(Y,"AbortSignal",$)},DT1=($,Y)=>{if(typeof $!=="function")throw new _d(Y,"Function",$)};vd.exports={AggregateError:LT1,kEmptyObject:Object.freeze({}),once($){let Y=!1;return function(...U){if(Y)return;Y=!0,$.apply(this,U)}},createDeferredPromise:function(){let $,Y;return{promise:new Promise((z,Q)=>{$=z,Y=Q}),resolve:$,reject:Y}},promisify($){return new Promise((Y,U)=>{$((z,...Q)=>{if(z)return U(z);return Y(...Q)})})},debuglog(){return function(){}},format:ZT1,inspect:qT1,types:{isAsyncFunction($){return $ instanceof OT1},isArrayBufferView($){return ArrayBuffer.isView($)}},isBlob:NT1,deprecate($,Y){return $},addAbortListener:I0("events").addAbortListener||function(Y,U){if(Y===void 0)throw new _d("signal","AbortSignal",Y);YT0(Y,"signal"),DT1(U,"listener");let z;if(Y.aborted)queueMicrotask(()=>U());else Y.addEventListener("abort",U,{__proto__:null,once:!0,[VT1]:!0}),z=()=>{Y.removeEventListener("abort",U)};return{__proto__:null,[FT1](){var Q;(Q=z)===null||Q===void 0||Q()}}},AbortSignalAny:wT1.any||function(Y){if(Y.length===1)return Y[0];let U=new MT1,z=()=>U.abort();return Y.forEach((Q)=>{YT0(Q,"signals"),Q.addEventListener("abort",z,{once:!0})}),U.signal.addEventListener("abort",()=>{Y.forEach((Q)=>Q.removeEventListener("abort",z))},{once:!0}),U.signal}};vd.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")});var FK=E((s44,XT0)=>{var{ArrayIsArray:Sd,ArrayPrototypeIncludes:JT0,ArrayPrototypeJoin:IT0,ArrayPrototypeMap:AT1,NumberIsInteger:gd,NumberIsNaN:BT1,NumberMAX_SAFE_INTEGER:PT1,NumberMIN_SAFE_INTEGER:TT1,NumberParseInt:jT1,ObjectPrototypeHasOwnProperty:ET1,RegExpPrototypeExec:KT0,String:CT1,StringPrototypeToUpperCase:RT1,StringPrototypeTrim:_T1}=x4(),{hideStackFrames:m$,codes:{ERR_SOCKET_BAD_PORT:vT1,ERR_INVALID_ARG_TYPE:O8,ERR_INVALID_ARG_VALUE:LK,ERR_OUT_OF_RANGE:Fz,ERR_UNKNOWN_SIGNAL:UT0}}=M8(),{normalizeEncoding:hT1}=g8(),{isAsyncFunction:ST1,isArrayBufferView:gT1}=g8().types,zT0={};function yT1($){return $===($|0)}function kT1($){return $===$>>>0}var xT1=/^[0-7]+$/,fT1="must be a 32-bit unsigned integer or an octal string";function uT1($,Y,U){if(typeof $>"u")$=U;if(typeof $==="string"){if(KT0(xT1,$)===null)throw new LK(Y,$,fT1);$=jT1($,8)}return GT0($,Y),$}var bT1=m$(($,Y,U=TT1,z=PT1)=>{if(typeof $!=="number")throw new O8(Y,"number",$);if(!gd($))throw new Fz(Y,"an integer",$);if($z)throw new Fz(Y,`>= ${U} && <= ${z}`,$)}),iT1=m$(($,Y,U=-2147483648,z=2147483647)=>{if(typeof $!=="number")throw new O8(Y,"number",$);if(!gd($))throw new Fz(Y,"an integer",$);if($z)throw new Fz(Y,`>= ${U} && <= ${z}`,$)}),GT0=m$(($,Y,U=!1)=>{if(typeof $!=="number")throw new O8(Y,"number",$);if(!gd($))throw new Fz(Y,"an integer",$);let z=U?1:0,Q=4294967295;if($Q)throw new Fz(Y,`>= ${z} && <= ${Q}`,$)});function yd($,Y){if(typeof $!=="string")throw new O8(Y,"string",$)}function cT1($,Y,U=void 0,z){if(typeof $!=="number")throw new O8(Y,"number",$);if(U!=null&&$z||(U!=null||z!=null)&&BT1($))throw new Fz(Y,`${U!=null?`>= ${U}`:""}${U!=null&&z!=null?" && ":""}${z!=null?`<= ${z}`:""}`,$)}var nT1=m$(($,Y,U)=>{if(!JT0(U,$)){let Q="must be one of: "+IT0(AT1(U,(J)=>typeof J==="string"?`'${J}'`:CT1(J)),", ");throw new LK(Y,$,Q)}});function HT0($,Y){if(typeof $!=="boolean")throw new O8(Y,"boolean",$)}function hd($,Y,U){return $==null||!ET1($,Y)?U:$[Y]}var pT1=m$(($,Y,U=null)=>{let z=hd(U,"allowArray",!1),Q=hd(U,"allowFunction",!1);if(!hd(U,"nullable",!1)&&$===null||!z&&Sd($)||typeof $!=="object"&&(!Q||typeof $!=="function"))throw new O8(Y,"Object",$)}),dT1=m$(($,Y)=>{if($!=null&&typeof $!=="object"&&typeof $!=="function")throw new O8(Y,"a dictionary",$)}),MP=m$(($,Y,U=0)=>{if(!Sd($))throw new O8(Y,"Array",$);if($.length{if(!gT1($))throw new O8(Y,["Buffer","TypedArray","DataView"],$)});function aT1($,Y){let U=hT1(Y),z=$.length;if(U==="hex"&&z%2!==0)throw new LK("encoding",Y,`is invalid for data of length ${z}`)}function tT1($,Y="Port",U=!0){if(typeof $!=="number"&&typeof $!=="string"||typeof $==="string"&&_T1($).length===0||+$!==+$>>>0||$>65535||$===0&&!U)throw new vT1(Y,$,U);return $|0}var WT0=m$(($,Y)=>{if($!==void 0&&($===null||typeof $!=="object"||!("aborted"in $)))throw new O8(Y,"AbortSignal",$)}),eT1=m$(($,Y)=>{if(typeof $!=="function")throw new O8(Y,"Function",$)}),$j1=m$(($,Y)=>{if(typeof $!=="function"||ST1($))throw new O8(Y,"Function",$)}),Yj1=m$(($,Y)=>{if($!==void 0)throw new O8(Y,"undefined",$)});function Uj1($,Y,U){if(!JT0(U,$))throw new O8(Y,`('${IT0(U,"|")}')`,$)}var zj1=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function QT0($,Y){if(typeof $>"u"||!KT0(zj1,$))throw new LK(Y,$,'must be an array or string of format "; rel=preload; as=style"')}function Qj1($){if(typeof $==="string")return QT0($,"hints"),$;else if(Sd($)){let Y=$.length,U="";if(Y===0)return U;for(let z=0;z; rel=preload; as=style"')}XT0.exports={isInt32:yT1,isUint32:kT1,parseFileMode:uT1,validateArray:MP,validateStringArray:mT1,validateBooleanArray:lT1,validateAbortSignalArray:oT1,validateBoolean:HT0,validateBuffer:sT1,validateDictionary:dT1,validateEncoding:aT1,validateFunction:eT1,validateInt32:iT1,validateInteger:bT1,validateNumber:cT1,validateObject:pT1,validateOneOf:nT1,validatePlainFunction:$j1,validatePort:tT1,validateSignalName:rT1,validateString:yd,validateUint32:GT0,validateUndefined:Yj1,validateUnion:Uj1,validateAbortSignal:WT0,validateLinkHeaderValue:Qj1}});var n2=E((a44,ZT0)=>{ZT0.exports=global.process});var T9=E((t44,ET0)=>{var{SymbolAsyncIterator:qT0,SymbolIterator:VT0,SymbolFor:wz}=x4(),LT0=wz("nodejs.stream.destroyed"),FT0=wz("nodejs.stream.errored"),kd=wz("nodejs.stream.readable"),xd=wz("nodejs.stream.writable"),wT0=wz("nodejs.stream.disturbed"),Jj1=wz("nodejs.webstream.isClosedPromise"),Ij1=wz("nodejs.webstream.controllerErrorFunction");function OP($,Y=!1){var U;return!!($&&typeof $.pipe==="function"&&typeof $.on==="function"&&(!Y||typeof $.pause==="function"&&typeof $.resume==="function")&&(!$._writableState||((U=$._readableState)===null||U===void 0?void 0:U.readable)!==!1)&&(!$._writableState||$._readableState))}function NP($){var Y;return!!($&&typeof $.write==="function"&&typeof $.on==="function"&&(!$._readableState||((Y=$._writableState)===null||Y===void 0?void 0:Y.writable)!==!1))}function Kj1($){return!!($&&typeof $.pipe==="function"&&$._readableState&&typeof $.on==="function"&&typeof $.write==="function")}function P9($){return $&&($._readableState||$._writableState||typeof $.write==="function"&&typeof $.on==="function"||typeof $.pipe==="function"&&typeof $.on==="function")}function MT0($){return!!($&&!P9($)&&typeof $.pipeThrough==="function"&&typeof $.getReader==="function"&&typeof $.cancel==="function")}function OT0($){return!!($&&!P9($)&&typeof $.getWriter==="function"&&typeof $.abort==="function")}function NT0($){return!!($&&!P9($)&&typeof $.readable==="object"&&typeof $.writable==="object")}function Gj1($){return MT0($)||OT0($)||NT0($)}function Hj1($,Y){if($==null)return!1;if(Y===!0)return typeof $[qT0]==="function";if(Y===!1)return typeof $[VT0]==="function";return typeof $[qT0]==="function"||typeof $[VT0]==="function"}function DP($){if(!P9($))return null;let{_writableState:Y,_readableState:U}=$,z=Y||U;return!!($.destroyed||$[LT0]||z!==null&&z!==void 0&&z.destroyed)}function DT0($){if(!NP($))return null;if($.writableEnded===!0)return!0;let Y=$._writableState;if(Y!==null&&Y!==void 0&&Y.errored)return!1;if(typeof(Y===null||Y===void 0?void 0:Y.ended)!=="boolean")return null;return Y.ended}function Wj1($,Y){if(!NP($))return null;if($.writableFinished===!0)return!0;let U=$._writableState;if(U!==null&&U!==void 0&&U.errored)return!1;if(typeof(U===null||U===void 0?void 0:U.finished)!=="boolean")return null;return!!(U.finished||Y===!1&&U.ended===!0&&U.length===0)}function Xj1($){if(!OP($))return null;if($.readableEnded===!0)return!0;let Y=$._readableState;if(!Y||Y.errored)return!1;if(typeof(Y===null||Y===void 0?void 0:Y.ended)!=="boolean")return null;return Y.ended}function AT0($,Y){if(!OP($))return null;let U=$._readableState;if(U!==null&&U!==void 0&&U.errored)return!1;if(typeof(U===null||U===void 0?void 0:U.endEmitted)!=="boolean")return null;return!!(U.endEmitted||Y===!1&&U.ended===!0&&U.length===0)}function BT0($){if($&&$[kd]!=null)return $[kd];if(typeof($===null||$===void 0?void 0:$.readable)!=="boolean")return null;if(DP($))return!1;return OP($)&&$.readable&&!AT0($)}function PT0($){if($&&$[xd]!=null)return $[xd];if(typeof($===null||$===void 0?void 0:$.writable)!=="boolean")return null;if(DP($))return!1;return NP($)&&$.writable&&!DT0($)}function Zj1($,Y){if(!P9($))return null;if(DP($))return!0;if((Y===null||Y===void 0?void 0:Y.readable)!==!1&&BT0($))return!1;if((Y===null||Y===void 0?void 0:Y.writable)!==!1&&PT0($))return!1;return!0}function qj1($){var Y,U;if(!P9($))return null;if($.writableErrored)return $.writableErrored;return(Y=(U=$._writableState)===null||U===void 0?void 0:U.errored)!==null&&Y!==void 0?Y:null}function Vj1($){var Y,U;if(!P9($))return null;if($.readableErrored)return $.readableErrored;return(Y=(U=$._readableState)===null||U===void 0?void 0:U.errored)!==null&&Y!==void 0?Y:null}function Lj1($){if(!P9($))return null;if(typeof $.closed==="boolean")return $.closed;let{_writableState:Y,_readableState:U}=$;if(typeof(Y===null||Y===void 0?void 0:Y.closed)==="boolean"||typeof(U===null||U===void 0?void 0:U.closed)==="boolean")return(Y===null||Y===void 0?void 0:Y.closed)||(U===null||U===void 0?void 0:U.closed);if(typeof $._closed==="boolean"&&TT0($))return $._closed;return null}function TT0($){return typeof $._closed==="boolean"&&typeof $._defaultKeepAlive==="boolean"&&typeof $._removedConnection==="boolean"&&typeof $._removedContLen==="boolean"}function jT0($){return typeof $._sent100==="boolean"&&TT0($)}function Fj1($){var Y;return typeof $._consuming==="boolean"&&typeof $._dumped==="boolean"&&((Y=$.req)===null||Y===void 0?void 0:Y.upgradeOrConnect)===void 0}function wj1($){if(!P9($))return null;let{_writableState:Y,_readableState:U}=$,z=Y||U;return!z&&jT0($)||!!(z&&z.autoDestroy&&z.emitClose&&z.closed===!1)}function Mj1($){var Y;return!!($&&((Y=$[wT0])!==null&&Y!==void 0?Y:$.readableDidRead||$.readableAborted))}function Oj1($){var Y,U,z,Q,J,I,K,G,H,W;return!!($&&((Y=(U=(z=(Q=(J=(I=$[FT0])!==null&&I!==void 0?I:$.readableErrored)!==null&&J!==void 0?J:$.writableErrored)!==null&&Q!==void 0?Q:(K=$._readableState)===null||K===void 0?void 0:K.errorEmitted)!==null&&z!==void 0?z:(G=$._writableState)===null||G===void 0?void 0:G.errorEmitted)!==null&&U!==void 0?U:(H=$._readableState)===null||H===void 0?void 0:H.errored)!==null&&Y!==void 0?Y:(W=$._writableState)===null||W===void 0?void 0:W.errored))}ET0.exports={isDestroyed:DP,kIsDestroyed:LT0,isDisturbed:Mj1,kIsDisturbed:wT0,isErrored:Oj1,kIsErrored:FT0,isReadable:BT0,kIsReadable:kd,kIsClosedPromise:Jj1,kControllerErrorFunction:Ij1,kIsWritable:xd,isClosed:Lj1,isDuplexNodeStream:Kj1,isFinished:Zj1,isIterable:Hj1,isReadableNodeStream:OP,isReadableStream:MT0,isReadableEnded:Xj1,isReadableFinished:AT0,isReadableErrored:Vj1,isNodeStream:P9,isWebStream:Gj1,isWritable:PT0,isWritableNodeStream:NP,isWritableStream:OT0,isWritableEnded:DT0,isWritableFinished:Wj1,isWritableErrored:qj1,isServerRequest:Fj1,isServerResponse:jT0,willEmitClose:wj1,isTransformStream:NT0}});var i3=E((e44,cd)=>{var p2=n2(),{AbortError:kT0,codes:Nj1}=M8(),{ERR_INVALID_ARG_TYPE:Dj1,ERR_STREAM_PREMATURE_CLOSE:CT0}=Nj1,{kEmptyObject:ud,once:bd}=g8(),{validateAbortSignal:Aj1,validateFunction:Bj1,validateObject:Pj1,validateBoolean:Tj1}=FK(),{Promise:jj1,PromisePrototypeThen:Ej1,SymbolDispose:xT0}=x4(),{isClosed:Cj1,isReadable:RT0,isReadableNodeStream:fd,isReadableStream:Rj1,isReadableFinished:_T0,isReadableErrored:vT0,isWritable:hT0,isWritableNodeStream:ST0,isWritableStream:_j1,isWritableFinished:gT0,isWritableErrored:yT0,isNodeStream:vj1,willEmitClose:hj1,kIsClosedPromise:Sj1}=T9(),wK;function gj1($){return $.setHeader&&typeof $.abort==="function"}var id=()=>{};function fT0($,Y,U){var z,Q;if(arguments.length===2)U=Y,Y=ud;else if(Y==null)Y=ud;else Pj1(Y,"options");if(Bj1(U,"callback"),Aj1(Y.signal,"options.signal"),U=bd(U),Rj1($)||_j1($))return yj1($,Y,U);if(!vj1($))throw new Dj1("stream",["ReadableStream","WritableStream","Stream"],$);let J=(z=Y.readable)!==null&&z!==void 0?z:fd($),I=(Q=Y.writable)!==null&&Q!==void 0?Q:ST0($),K=$._writableState,G=$._readableState,H=()=>{if(!$.writable)Z()},W=hj1($)&&fd($)===J&&ST0($)===I,X=gT0($,!1),Z=()=>{if(X=!0,$.destroyed)W=!1;if(W&&(!$.readable||J))return;if(!J||q)U.call($)},q=_T0($,!1),V=()=>{if(q=!0,$.destroyed)W=!1;if(W&&(!$.writable||I))return;if(!I||X)U.call($)},F=(P)=>{U.call($,P)},M=Cj1($),w=()=>{M=!0;let P=yT0($)||vT0($);if(P&&typeof P!=="boolean")return U.call($,P);if(J&&!q&&fd($,!0)){if(!_T0($,!1))return U.call($,new CT0)}if(I&&!X){if(!gT0($,!1))return U.call($,new CT0)}U.call($)},N=()=>{M=!0;let P=yT0($)||vT0($);if(P&&typeof P!=="boolean")return U.call($,P);U.call($)},O=()=>{$.req.on("finish",Z)};if(gj1($)){if($.on("complete",Z),!W)$.on("abort",w);if($.req)O();else $.on("request",O)}else if(I&&!K)$.on("end",H),$.on("close",H);if(!W&&typeof $.aborted==="boolean")$.on("aborted",w);if($.on("end",V),$.on("finish",Z),Y.error!==!1)$.on("error",F);if($.on("close",w),M)p2.nextTick(w);else if(K!==null&&K!==void 0&&K.errorEmitted||G!==null&&G!==void 0&&G.errorEmitted){if(!W)p2.nextTick(N)}else if(!J&&(!W||RT0($))&&(X||hT0($)===!1))p2.nextTick(N);else if(!I&&(!W||hT0($))&&(q||RT0($)===!1))p2.nextTick(N);else if(G&&$.req&&$.aborted)p2.nextTick(N);let D=()=>{if(U=id,$.removeListener("aborted",w),$.removeListener("complete",Z),$.removeListener("abort",w),$.removeListener("request",O),$.req)$.req.removeListener("finish",Z);$.removeListener("end",H),$.removeListener("close",H),$.removeListener("finish",Z),$.removeListener("end",V),$.removeListener("error",F),$.removeListener("close",w)};if(Y.signal&&!M){let P=()=>{let T=U;D(),T.call($,new kT0(void 0,{cause:Y.signal.reason}))};if(Y.signal.aborted)p2.nextTick(P);else{wK=wK||g8().addAbortListener;let T=wK(Y.signal,P),A=U;U=bd((...j)=>{T[xT0](),A.apply($,j)})}}return D}function yj1($,Y,U){let z=!1,Q=id;if(Y.signal)if(Q=()=>{z=!0,U.call($,new kT0(void 0,{cause:Y.signal.reason}))},Y.signal.aborted)p2.nextTick(Q);else{wK=wK||g8().addAbortListener;let I=wK(Y.signal,Q),K=U;U=bd((...G)=>{I[xT0](),K.apply($,G)})}let J=(...I)=>{if(!z)p2.nextTick(()=>U.apply($,I))};return Ej1($[Sj1].promise,J,J),id}function kj1($,Y){var U;let z=!1;if(Y===null)Y=ud;if((U=Y)!==null&&U!==void 0&&U.cleanup)Tj1(Y.cleanup,"cleanup"),z=Y.cleanup;return new jj1((Q,J)=>{let I=fT0($,Y,(K)=>{if(z)I();if(K)J(K);else Q()})})}cd.exports=fT0;cd.exports.finished=kj1});var Mz=E(($64,mT0)=>{var j9=n2(),{aggregateTwoErrors:xj1,codes:{ERR_MULTIPLE_CALLBACK:fj1},AbortError:uj1}=M8(),{Symbol:iT0}=x4(),{kIsDestroyed:bj1,isDestroyed:ij1,isFinished:cj1,isServerRequest:nj1}=T9(),cT0=iT0("kDestroy"),nd=iT0("kConstruct");function nT0($,Y,U){if($){if($.stack,Y&&!Y.errored)Y.errored=$;if(U&&!U.errored)U.errored=$}}function pj1($,Y){let U=this._readableState,z=this._writableState,Q=z||U;if(z!==null&&z!==void 0&&z.destroyed||U!==null&&U!==void 0&&U.destroyed){if(typeof Y==="function")Y();return this}if(nT0($,z,U),z)z.destroyed=!0;if(U)U.destroyed=!0;if(!Q.constructed)this.once(cT0,function(J){uT0(this,xj1(J,$),Y)});else uT0(this,$,Y);return this}function uT0($,Y,U){let z=!1;function Q(J){if(z)return;z=!0;let{_readableState:I,_writableState:K}=$;if(nT0(J,K,I),K)K.closed=!0;if(I)I.closed=!0;if(typeof U==="function")U(J);if(J)j9.nextTick(dj1,$,J);else j9.nextTick(pT0,$)}try{$._destroy(Y||null,Q)}catch(J){Q(J)}}function dj1($,Y){pd($,Y),pT0($)}function pT0($){let{_readableState:Y,_writableState:U}=$;if(U)U.closeEmitted=!0;if(Y)Y.closeEmitted=!0;if(U!==null&&U!==void 0&&U.emitClose||Y!==null&&Y!==void 0&&Y.emitClose)$.emit("close")}function pd($,Y){let{_readableState:U,_writableState:z}=$;if(z!==null&&z!==void 0&&z.errorEmitted||U!==null&&U!==void 0&&U.errorEmitted)return;if(z)z.errorEmitted=!0;if(U)U.errorEmitted=!0;$.emit("error",Y)}function mj1(){let $=this._readableState,Y=this._writableState;if($)$.constructed=!0,$.closed=!1,$.closeEmitted=!1,$.destroyed=!1,$.errored=null,$.errorEmitted=!1,$.reading=!1,$.ended=$.readable===!1,$.endEmitted=$.readable===!1;if(Y)Y.constructed=!0,Y.destroyed=!1,Y.closed=!1,Y.closeEmitted=!1,Y.errored=null,Y.errorEmitted=!1,Y.finalCalled=!1,Y.prefinished=!1,Y.ended=Y.writable===!1,Y.ending=Y.writable===!1,Y.finished=Y.writable===!1}function dd($,Y,U){let{_readableState:z,_writableState:Q}=$;if(Q!==null&&Q!==void 0&&Q.destroyed||z!==null&&z!==void 0&&z.destroyed)return this;if(z!==null&&z!==void 0&&z.autoDestroy||Q!==null&&Q!==void 0&&Q.autoDestroy)$.destroy(Y);else if(Y){if(Y.stack,Q&&!Q.errored)Q.errored=Y;if(z&&!z.errored)z.errored=Y;if(U)j9.nextTick(pd,$,Y);else pd($,Y)}}function lj1($,Y){if(typeof $._construct!=="function")return;let{_readableState:U,_writableState:z}=$;if(U)U.constructed=!1;if(z)z.constructed=!1;if($.once(nd,Y),$.listenerCount(nd)>1)return;j9.nextTick(oj1,$)}function oj1($){let Y=!1;function U(z){if(Y){dd($,z!==null&&z!==void 0?z:new fj1);return}Y=!0;let{_readableState:Q,_writableState:J}=$,I=J||Q;if(Q)Q.constructed=!0;if(J)J.constructed=!0;if(I.destroyed)$.emit(cT0,z);else if(z)dd($,z,!0);else j9.nextTick(rj1,$)}try{$._construct((z)=>{j9.nextTick(U,z)})}catch(z){j9.nextTick(U,z)}}function rj1($){$.emit(nd)}function bT0($){return($===null||$===void 0?void 0:$.setHeader)&&typeof $.abort==="function"}function dT0($){$.emit("close")}function sj1($,Y){$.emit("error",Y),j9.nextTick(dT0,$)}function aj1($,Y){if(!$||ij1($))return;if(!Y&&!cj1($))Y=new uj1;if(nj1($))$.socket=null,$.destroy(Y);else if(bT0($))$.abort();else if(bT0($.req))$.req.abort();else if(typeof $.destroy==="function")$.destroy(Y);else if(typeof $.close==="function")$.close();else if(Y)j9.nextTick(sj1,$,Y);else j9.nextTick(dT0,$);if(!$.destroyed)$[bj1]=!0}mT0.exports={construct:lj1,destroyer:aj1,destroy:pj1,undestroy:mj1,errorOrDestroy:dd}});var PP=E((Y64,oT0)=>{var{ArrayIsArray:tj1,ObjectSetPrototypeOf:lT0}=x4(),{EventEmitter:AP}=I0("events");function BP($){AP.call(this,$)}lT0(BP.prototype,AP.prototype);lT0(BP,AP);BP.prototype.pipe=function($,Y){let U=this;function z(W){if($.writable&&$.write(W)===!1&&U.pause)U.pause()}U.on("data",z);function Q(){if(U.readable&&U.resume)U.resume()}if($.on("drain",Q),!$._isStdio&&(!Y||Y.end!==!1))U.on("end",I),U.on("close",K);let J=!1;function I(){if(J)return;J=!0,$.end()}function K(){if(J)return;if(J=!0,typeof $.destroy==="function")$.destroy()}function G(W){if(H(),AP.listenerCount(this,"error")===0)this.emit("error",W)}md(U,"error",G),md($,"error",G);function H(){U.removeListener("data",z),$.removeListener("drain",Q),U.removeListener("end",I),U.removeListener("close",K),U.removeListener("error",G),$.removeListener("error",G),U.removeListener("end",H),U.removeListener("close",H),$.removeListener("close",H)}return U.on("end",H),U.on("close",H),$.on("close",H),$.emit("pipe",U),$};function md($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(tj1($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}oT0.exports={Stream:BP,prependListener:md}});var oZ=E((JE1,TP)=>{var{SymbolDispose:ej1}=x4(),{AbortError:rT0,codes:$E1}=M8(),{isNodeStream:sT0,isWebStream:YE1,kControllerErrorFunction:UE1}=T9(),zE1=i3(),{ERR_INVALID_ARG_TYPE:aT0}=$E1,ld,QE1=($,Y)=>{if(typeof $!=="object"||!("aborted"in $))throw new aT0(Y,"AbortSignal",$)};JE1.addAbortSignal=function(Y,U){if(QE1(Y,"signal"),!sT0(U)&&!YE1(U))throw new aT0("stream",["ReadableStream","WritableStream","Stream"],U);return JE1.addAbortSignalNoValidate(Y,U)};JE1.addAbortSignalNoValidate=function($,Y){if(typeof $!=="object"||!("aborted"in $))return Y;let U=sT0(Y)?()=>{Y.destroy(new rT0(void 0,{cause:$.reason}))}:()=>{Y[UE1](new rT0(void 0,{cause:$.reason}))};if($.aborted)U();else{ld=ld||g8().addAbortListener;let z=ld($,U);zE1(Y,z[ej1])}return Y}});var $j0=E((U64,eT0)=>{var{StringPrototypeSlice:tT0,SymbolIterator:GE1,TypedArrayPrototypeSet:jP,Uint8Array:HE1}=x4(),{Buffer:od}=I0("buffer"),{inspect:WE1}=g8();eT0.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(Y){let U={data:Y,next:null};if(this.length>0)this.tail.next=U;else this.head=U;this.tail=U,++this.length}unshift(Y){let U={data:Y,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length}shift(){if(this.length===0)return;let Y=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,Y}clear(){this.head=this.tail=null,this.length=0}join(Y){if(this.length===0)return"";let U=this.head,z=""+U.data;while((U=U.next)!==null)z+=Y+U.data;return z}concat(Y){if(this.length===0)return od.alloc(0);let U=od.allocUnsafe(Y>>>0),z=this.head,Q=0;while(z)jP(U,z.data,Q),Q+=z.data.length,z=z.next;return U}consume(Y,U){let z=this.head.data;if(YJ.length)U+=J,Y-=J.length;else{if(Y===J.length)if(U+=J,++Q,z.next)this.head=z.next;else this.head=this.tail=null;else U+=tT0(J,0,Y),this.head=z,z.data=tT0(J,Y);break}++Q}while((z=z.next)!==null);return this.length-=Q,U}_getBuffer(Y){let U=od.allocUnsafe(Y),z=Y,Q=this.head,J=0;do{let I=Q.data;if(Y>I.length)jP(U,I,z-Y),Y-=I.length;else{if(Y===I.length)if(jP(U,I,z-Y),++J,Q.next)this.head=Q.next;else this.head=this.tail=null;else jP(U,new HE1(I.buffer,I.byteOffset,Y),z-Y),this.head=Q,Q.data=I.slice(Y);break}++J}while((Q=Q.next)!==null);return this.length-=J,U}[Symbol.for("nodejs.util.inspect.custom")](Y,U){return WE1(this,{...U,depth:0,customInspect:!1})}}});var rZ=E((z64,Qj0)=>{var{MathFloor:XE1,NumberIsInteger:ZE1}=x4(),{validateInteger:qE1}=FK(),{ERR_INVALID_ARG_VALUE:VE1}=M8().codes,Yj0=16384,Uj0=16;function LE1($,Y,U){return $.highWaterMark!=null?$.highWaterMark:Y?$[U]:null}function zj0($){return $?Uj0:Yj0}function FE1($,Y){if(qE1(Y,"value",0),$)Uj0=Y;else Yj0=Y}function wE1($,Y,U,z){let Q=LE1(Y,z,U);if(Q!=null){if(!ZE1(Q)||Q<0){let J=z?`options.${U}`:"options.highWaterMark";throw new VE1(J,Q)}return XE1(Q)}return zj0($.objectMode)}Qj0.exports={getHighWaterMark:wE1,getDefaultHighWaterMark:zj0,setDefaultHighWaterMark:FE1}});var rd=E((Q64,Gj0)=>{var Jj0=n2(),{PromisePrototypeThen:ME1,SymbolAsyncIterator:Ij0,SymbolIterator:Kj0}=x4(),{Buffer:OE1}=I0("buffer"),{ERR_INVALID_ARG_TYPE:NE1,ERR_STREAM_NULL_VALUES:DE1}=M8().codes;function AE1($,Y,U){let z;if(typeof Y==="string"||Y instanceof OE1)return new $({objectMode:!0,...U,read(){this.push(Y),this.push(null)}});let Q;if(Y&&Y[Ij0])Q=!0,z=Y[Ij0]();else if(Y&&Y[Kj0])Q=!1,z=Y[Kj0]();else throw new NE1("iterable",["Iterable"],Y);let J=new $({objectMode:!0,highWaterMark:1,...U}),I=!1;J._read=function(){if(!I)I=!0,G()},J._destroy=function(H,W){ME1(K(H),()=>Jj0.nextTick(W,H),(X)=>Jj0.nextTick(W,X||H))};async function K(H){let W=H!==void 0&&H!==null,X=typeof z.throw==="function";if(W&&X){let{value:Z,done:q}=await z.throw(H);if(await Z,q)return}if(typeof z.return==="function"){let{value:Z}=await z.return();await Z}}async function G(){for(;;){try{let{value:H,done:W}=Q?await z.next():z.next();if(W)J.push(null);else{let X=H&&typeof H.then==="function"?await H:H;if(X===null)throw I=!1,new DE1;else if(J.push(X))continue;else I=!1}}catch(H){J.destroy(H)}break}}return J}Gj0.exports=AE1});var aZ=E((J64,jj0)=>{var B5=n2(),{ArrayPrototypeIndexOf:BE1,NumberIsInteger:PE1,NumberIsNaN:TE1,NumberParseInt:jE1,ObjectDefineProperties:zm,ObjectKeys:EE1,ObjectSetPrototypeOf:Xj0,Promise:Zj0,SafeSet:CE1,SymbolAsyncDispose:RE1,SymbolAsyncIterator:_E1,Symbol:vE1}=x4();jj0.exports=T1;T1.ReadableState=_P;var{EventEmitter:hE1}=I0("events"),{Stream:d2,prependListener:SE1}=PP(),{Buffer:sd}=I0("buffer"),{addAbortSignal:gE1}=oZ(),qj0=i3(),y1=g8().debuglog("stream",($)=>{y1=$}),yE1=$j0(),NK=Mz(),{getHighWaterMark:kE1,getDefaultHighWaterMark:xE1}=rZ(),{aggregateTwoErrors:Hj0,codes:{ERR_INVALID_ARG_TYPE:fE1,ERR_METHOD_NOT_IMPLEMENTED:uE1,ERR_OUT_OF_RANGE:bE1,ERR_STREAM_PUSH_AFTER_EOF:iE1,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:cE1},AbortError:nE1}=M8(),{validateObject:pE1}=FK(),Oz=vE1("kPaused"),{StringDecoder:Vj0}=AJ(),dE1=rd();Xj0(T1.prototype,d2.prototype);Xj0(T1,d2);var ad=()=>{},{errorOrDestroy:MK}=NK,OK=1,mE1=2,Lj0=4,sZ=8,Fj0=16,EP=32,CP=64,wj0=128,lE1=256,oE1=512,rE1=1024,Ym=2048,Um=4096,sE1=8192,aE1=16384,tE1=32768,Mj0=65536,eE1=131072,$C1=262144;function C6($){return{enumerable:!1,get(){return(this.state&$)!==0},set(Y){if(Y)this.state|=$;else this.state&=~$}}}zm(_P.prototype,{objectMode:C6(OK),ended:C6(mE1),endEmitted:C6(Lj0),reading:C6(sZ),constructed:C6(Fj0),sync:C6(EP),needReadable:C6(CP),emittedReadable:C6(wj0),readableListening:C6(lE1),resumeScheduled:C6(oE1),errorEmitted:C6(rE1),emitClose:C6(Ym),autoDestroy:C6(Um),destroyed:C6(sE1),closed:C6(aE1),closeEmitted:C6(tE1),multiAwaitDrain:C6(Mj0),readingMore:C6(eE1),dataEmitted:C6($C1)});function _P($,Y,U){if(typeof U!=="boolean")U=Y instanceof E9();if(this.state=Ym|Um|Fj0|EP,$&&$.objectMode)this.state|=OK;if(U&&$&&$.readableObjectMode)this.state|=OK;if(this.highWaterMark=$?kE1(this,$,"readableHighWaterMark",U):xE1(!1),this.buffer=new yE1,this.length=0,this.pipes=[],this.flowing=null,this[Oz]=null,$&&$.emitClose===!1)this.state&=~Ym;if($&&$.autoDestroy===!1)this.state&=~Um;if(this.errored=null,this.defaultEncoding=$&&$.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,$&&$.encoding)this.decoder=new Vj0($.encoding),this.encoding=$.encoding}function T1($){if(!(this instanceof T1))return new T1($);let Y=this instanceof E9();if(this._readableState=new _P($,this,Y),$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.construct==="function")this._construct=$.construct;if($.signal&&!Y)gE1($.signal,this)}d2.call(this,$),NK.construct(this,()=>{if(this._readableState.needReadable)RP(this,this._readableState)})}T1.prototype.destroy=NK.destroy;T1.prototype._undestroy=NK.undestroy;T1.prototype._destroy=function($,Y){Y($)};T1.prototype[hE1.captureRejectionSymbol]=function($){this.destroy($)};T1.prototype[RE1]=function(){let $;if(!this.destroyed)$=this.readableEnded?null:new nE1,this.destroy($);return new Zj0((Y,U)=>qj0(this,(z)=>z&&z!==$?U(z):Y(null)))};T1.prototype.push=function($,Y){return Oj0(this,$,Y,!1)};T1.prototype.unshift=function($,Y){return Oj0(this,$,Y,!0)};function Oj0($,Y,U,z){y1("readableAddChunk",Y);let Q=$._readableState,J;if((Q.state&OK)===0){if(typeof Y==="string"){if(U=U||Q.defaultEncoding,Q.encoding!==U)if(z&&Q.encoding)Y=sd.from(Y,U).toString(Q.encoding);else Y=sd.from(Y,U),U=""}else if(Y instanceof sd)U="";else if(d2._isUint8Array(Y))Y=d2._uint8ArrayToBuffer(Y),U="";else if(Y!=null)J=new fE1("chunk",["string","Buffer","Uint8Array"],Y)}if(J)MK($,J);else if(Y===null)Q.state&=~sZ,zC1($,Q);else if((Q.state&OK)!==0||Y&&Y.length>0)if(z)if((Q.state&Lj0)!==0)MK($,new cE1);else if(Q.destroyed||Q.errored)return!1;else td($,Q,Y,!0);else if(Q.ended)MK($,new iE1);else if(Q.destroyed||Q.errored)return!1;else if(Q.state&=~sZ,Q.decoder&&!U)if(Y=Q.decoder.write(Y),Q.objectMode||Y.length!==0)td($,Q,Y,!1);else RP($,Q);else td($,Q,Y,!1);else if(!z)Q.state&=~sZ,RP($,Q);return!Q.ended&&(Q.length0){if((Y.state&Mj0)!==0)Y.awaitDrainWriters.clear();else Y.awaitDrainWriters=null;Y.dataEmitted=!0,$.emit("data",U)}else{if(Y.length+=Y.objectMode?1:U.length,z)Y.buffer.unshift(U);else Y.buffer.push(U);if((Y.state&CP)!==0)vP($)}RP($,Y)}T1.prototype.isPaused=function(){let $=this._readableState;return $[Oz]===!0||$.flowing===!1};T1.prototype.setEncoding=function($){let Y=new Vj0($);this._readableState.decoder=Y,this._readableState.encoding=this._readableState.decoder.encoding;let U=this._readableState.buffer,z="";for(let Q of U)z+=Y.write(Q);if(U.clear(),z!=="")U.push(z);return this._readableState.length=z.length,this};var YC1=1073741824;function UC1($){if($>YC1)throw new bE1("size","<= 1GiB",$);else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function Wj0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if((Y.state&OK)!==0)return 1;if(TE1($)){if(Y.flowing&&Y.length)return Y.buffer.first().length;return Y.length}if($<=Y.length)return $;return Y.ended?Y.length:0}T1.prototype.read=function($){if(y1("read",$),$===void 0)$=NaN;else if(!PE1($))$=jE1($,10);let Y=this._readableState,U=$;if($>Y.highWaterMark)Y.highWaterMark=UC1($);if($!==0)Y.state&=~wj0;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(y1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)ed(this);else vP(this);return null}if($=Wj0($,Y),$===0&&Y.ended){if(Y.length===0)ed(this);return null}let z=(Y.state&CP)!==0;if(y1("need readable",z),Y.length===0||Y.length-$0)Q=Pj0($,Y);else Q=null;if(Q===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else if(Y.length-=$,Y.multiAwaitDrain)Y.awaitDrainWriters.clear();else Y.awaitDrainWriters=null;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)ed(this)}if(Q!==null&&!Y.errorEmitted&&!Y.closeEmitted)Y.dataEmitted=!0,this.emit("data",Q);return Q};function zC1($,Y){if(y1("onEofChunk"),Y.ended)return;if(Y.decoder){let U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}if(Y.ended=!0,Y.sync)vP($);else Y.needReadable=!1,Y.emittedReadable=!0,Nj0($)}function vP($){let Y=$._readableState;if(y1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)y1("emitReadable",Y.flowing),Y.emittedReadable=!0,B5.nextTick(Nj0,$)}function Nj0($){let Y=$._readableState;if(y1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&!Y.errored&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,Aj0($)}function RP($,Y){if(!Y.readingMore&&Y.constructed)Y.readingMore=!0,B5.nextTick(QC1,$,Y)}function QC1($,Y){while(!Y.reading&&!Y.ended&&(Y.length1&&z.pipes.includes($))y1("false write response, pause",z.awaitDrainWriters.size),z.awaitDrainWriters.add($);U.pause()}if(!G)G=JC1(U,$),$.on("drain",G)}U.on("data",Z);function Z(w){y1("ondata");let N=$.write(w);if(y1("dest.write",N),N===!1)X()}function q(w){if(y1("onerror",w),M(),$.removeListener("error",q),$.listenerCount("error")===0){let N=$._writableState||$._readableState;if(N&&!N.errorEmitted)MK($,w);else $.emit("error",w)}}SE1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){y1("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){y1("unpipe"),U.unpipe($)}if($.emit("pipe",U),$.writableNeedDrain===!0)X();else if(!z.flowing)y1("pipe resume"),U.resume();return $};function JC1($,Y){return function(){let z=$._readableState;if(z.awaitDrainWriters===Y)y1("pipeOnDrain",1),z.awaitDrainWriters=null;else if(z.multiAwaitDrain)y1("pipeOnDrain",z.awaitDrainWriters.size),z.awaitDrainWriters.delete(Y);if((!z.awaitDrainWriters||z.awaitDrainWriters.size===0)&&$.listenerCount("data"))$.resume()}}T1.prototype.unpipe=function($){let Y=this._readableState,U={hasUnpiped:!1};if(Y.pipes.length===0)return this;if(!$){let Q=Y.pipes;Y.pipes=[],this.pause();for(let J=0;J0,z.flowing!==!1)this.resume()}else if($==="readable"){if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.flowing=!1,z.emittedReadable=!1,y1("on readable",z.length,z.reading),z.length)vP(this);else if(!z.reading)B5.nextTick(IC1,this)}}return U};T1.prototype.addListener=T1.prototype.on;T1.prototype.removeListener=function($,Y){let U=d2.prototype.removeListener.call(this,$,Y);if($==="readable")B5.nextTick(Dj0,this);return U};T1.prototype.off=T1.prototype.removeListener;T1.prototype.removeAllListeners=function($){let Y=d2.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)B5.nextTick(Dj0,this);return Y};function Dj0($){let Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&Y[Oz]===!1)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume();else if(!Y.readableListening)Y.flowing=null}function IC1($){y1("readable nexttick read 0"),$.read(0)}T1.prototype.resume=function(){let $=this._readableState;if(!$.flowing)y1("resume"),$.flowing=!$.readableListening,KC1(this,$);return $[Oz]=!1,this};function KC1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,B5.nextTick(GC1,$,Y)}function GC1($,Y){if(y1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),Aj0($),Y.flowing&&!Y.reading)$.read(0)}T1.prototype.pause=function(){if(y1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)y1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState[Oz]=!0,this};function Aj0($){let Y=$._readableState;y1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}T1.prototype.wrap=function($){let Y=!1;$.on("data",(z)=>{if(!this.push(z)&&$.pause)Y=!0,$.pause()}),$.on("end",()=>{this.push(null)}),$.on("error",(z)=>{MK(this,z)}),$.on("close",()=>{this.destroy()}),$.on("destroy",()=>{this.destroy()}),this._read=()=>{if(Y&&$.resume)Y=!1,$.resume()};let U=EE1($);for(let z=1;z{Q=I?Hj0(Q,I):null,U(),U=ad});try{while(!0){let I=$.destroyed?null:$.read();if(I!==null)yield I;else if(Q)throw Q;else if(Q===null)return;else await new Zj0(z)}}catch(I){throw Q=Hj0(Q,I),Q}finally{if((Q||(Y===null||Y===void 0?void 0:Y.destroyOnReturn)!==!1)&&(Q===void 0||$._readableState.autoDestroy))NK.destroyer($,null);else $.off("readable",z),J()}}zm(T1.prototype,{readable:{__proto__:null,get(){let $=this._readableState;return!!$&&$.readable!==!1&&!$.destroyed&&!$.errorEmitted&&!$.endEmitted},set($){if(this._readableState)this._readableState.readable=!!$}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function($){if(this._readableState)this._readableState.flowing=$}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set($){if(!this._readableState)return;this._readableState.destroyed=$}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}});zm(_P.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[Oz]!==!1},set($){this[Oz]=!!$}}});T1._fromList=Pj0;function Pj0($,Y){if(Y.length===0)return null;let U;if(Y.objectMode)U=Y.buffer.shift();else if(!$||$>=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.first();else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=Y.buffer.consume($,Y.decoder);return U}function ed($){let Y=$._readableState;if(y1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,B5.nextTick(WC1,Y,$)}function WC1($,Y){if(y1("endReadableNT",$.endEmitted,$.length),!$.errored&&!$.closeEmitted&&!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.emit("end"),Y.writable&&Y.allowHalfOpen===!1)B5.nextTick(XC1,Y);else if($.autoDestroy){let U=Y._writableState;if(!U||U.autoDestroy&&(U.finished||U.writable===!1))Y.destroy()}}}function XC1($){if($.writable&&!$.writableEnded&&!$.destroyed)$.end()}T1.from=function($,Y){return dE1(T1,$,Y)};var $m;function Tj0(){if($m===void 0)$m={};return $m}T1.fromWeb=function($,Y){return Tj0().newStreamReadableFromReadableStream($,Y)};T1.toWeb=function($,Y){return Tj0().newReadableStreamFromStreamReadable($,Y)};T1.wrap=function($,Y){var U,z;return new T1({objectMode:(U=(z=$.readableObjectMode)!==null&&z!==void 0?z:$.objectMode)!==null&&U!==void 0?U:!0,...Y,destroy(Q,J){NK.destroyer($,Q),J(Q)}}).wrap($)}});var kP=E((I64,fj0)=>{var Nz=n2(),{ArrayPrototypeSlice:Rj0,Error:ZC1,FunctionPrototypeSymbolHasInstance:_j0,ObjectDefineProperty:vj0,ObjectDefineProperties:qC1,ObjectSetPrototypeOf:hj0,StringPrototypeToLowerCase:VC1,Symbol:LC1,SymbolHasInstance:FC1}=x4();fj0.exports=l4;l4.WritableState=$q;var{EventEmitter:wC1}=I0("events"),tZ=PP().Stream,{Buffer:hP}=I0("buffer"),yP=Mz(),{addAbortSignal:MC1}=oZ(),{getHighWaterMark:OC1,getDefaultHighWaterMark:NC1}=rZ(),{ERR_INVALID_ARG_TYPE:DC1,ERR_METHOD_NOT_IMPLEMENTED:AC1,ERR_MULTIPLE_CALLBACK:Sj0,ERR_STREAM_CANNOT_PIPE:BC1,ERR_STREAM_DESTROYED:eZ,ERR_STREAM_ALREADY_FINISHED:PC1,ERR_STREAM_NULL_VALUES:TC1,ERR_STREAM_WRITE_AFTER_END:jC1,ERR_UNKNOWN_ENCODING:gj0}=M8().codes,{errorOrDestroy:DK}=yP;hj0(l4.prototype,tZ.prototype);hj0(l4,tZ);function Im(){}var AK=LC1("kOnFinished");function $q($,Y,U){if(typeof U!=="boolean")U=Y instanceof E9();if(this.objectMode=!!($&&$.objectMode),U)this.objectMode=this.objectMode||!!($&&$.writableObjectMode);this.highWaterMark=$?OC1(this,$,"writableHighWaterMark",U):NC1(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let z=!!($&&$.decodeStrings===!1);this.decodeStrings=!z,this.defaultEncoding=$&&$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=CC1.bind(void 0,Y),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,gP(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!$||$.emitClose!==!1,this.autoDestroy=!$||$.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[AK]=[]}function gP($){$.buffered=[],$.bufferedIndex=0,$.allBuffers=!0,$.allNoop=!0}$q.prototype.getBuffer=function(){return Rj0(this.buffered,this.bufferedIndex)};vj0($q.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function l4($){let Y=this instanceof E9();if(!Y&&!_j0(l4,this))return new l4($);if(this._writableState=new $q($,this,Y),$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final;if(typeof $.construct==="function")this._construct=$.construct;if($.signal)MC1($.signal,this)}tZ.call(this,$),yP.construct(this,()=>{let U=this._writableState;if(!U.writing)Gm(this,U);Hm(this,U)})}vj0(l4,FC1,{__proto__:null,value:function($){if(_j0(this,$))return!0;if(this!==l4)return!1;return $&&$._writableState instanceof $q}});l4.prototype.pipe=function(){DK(this,new BC1)};function yj0($,Y,U,z){let Q=$._writableState;if(typeof U==="function")z=U,U=Q.defaultEncoding;else{if(!U)U=Q.defaultEncoding;else if(U!=="buffer"&&!hP.isEncoding(U))throw new gj0(U);if(typeof z!=="function")z=Im}if(Y===null)throw new TC1;else if(!Q.objectMode)if(typeof Y==="string"){if(Q.decodeStrings!==!1)Y=hP.from(Y,U),U="buffer"}else if(Y instanceof hP)U="buffer";else if(tZ._isUint8Array(Y))Y=tZ._uint8ArrayToBuffer(Y),U="buffer";else throw new DC1("chunk",["string","Buffer","Uint8Array"],Y);let J;if(Q.ending)J=new jC1;else if(Q.destroyed)J=new eZ("write");if(J)return Nz.nextTick(z,J),DK($,J,!0),J;return Q.pendingcb++,EC1($,Q,Y,U,z)}l4.prototype.write=function($,Y,U){return yj0(this,$,Y,U)===!0};l4.prototype.cork=function(){this._writableState.corked++};l4.prototype.uncork=function(){let $=this._writableState;if($.corked){if($.corked--,!$.writing)Gm(this,$)}};l4.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=VC1(Y);if(!hP.isEncoding(Y))throw new gj0(Y);return this._writableState.defaultEncoding=Y,this};function EC1($,Y,U,z,Q){let J=Y.objectMode?1:U.length;Y.length+=J;let I=Y.lengthU.bufferedIndex)Gm($,U);if(z)if(U.afterWriteTickInfo!==null&&U.afterWriteTickInfo.cb===Q)U.afterWriteTickInfo.count++;else U.afterWriteTickInfo={count:1,cb:Q,stream:$,state:U},Nz.nextTick(RC1,U.afterWriteTickInfo);else kj0($,U,1,Q)}}function RC1({stream:$,state:Y,count:U,cb:z}){return Y.afterWriteTickInfo=null,kj0($,Y,U,z)}function kj0($,Y,U,z){if(!Y.ending&&!$.destroyed&&Y.length===0&&Y.needDrain)Y.needDrain=!1,$.emit("drain");while(U-- >0)Y.pendingcb--,z();if(Y.destroyed)Km(Y);Hm($,Y)}function Km($){if($.writing)return;for(let Q=$.bufferedIndex;Q<$.buffered.length;++Q){var Y;let{chunk:J,callback:I}=$.buffered[Q],K=$.objectMode?1:J.length;$.length-=K,I((Y=$.errored)!==null&&Y!==void 0?Y:new eZ("write"))}let U=$[AK].splice(0);for(let Q=0;Q1&&$._writev){Y.pendingcb-=J-1;let K=Y.allNoop?Im:(H)=>{for(let W=I;W256)U.splice(0,I),Y.bufferedIndex=0;else Y.bufferedIndex=I}Y.bufferProcessing=!1}l4.prototype._write=function($,Y,U){if(this._writev)this._writev([{chunk:$,encoding:Y}],U);else throw new AC1("_write()")};l4.prototype._writev=null;l4.prototype.end=function($,Y,U){let z=this._writableState;if(typeof $==="function")U=$,$=null,Y=null;else if(typeof Y==="function")U=Y,Y=null;let Q;if($!==null&&$!==void 0){let J=yj0(this,$,Y);if(J instanceof ZC1)Q=J}if(z.corked)z.corked=1,this.uncork();if(Q);else if(!z.errored&&!z.ending)z.ending=!0,Hm(this,z,!0),z.ended=!0;else if(z.finished)Q=new PC1("end");else if(z.destroyed)Q=new eZ("end");if(typeof U==="function")if(Q||z.finished)Nz.nextTick(U,Q);else z[AK].push(U);return this};function SP($){return $.ending&&!$.destroyed&&$.constructed&&$.length===0&&!$.errored&&$.buffered.length===0&&!$.finished&&!$.writing&&!$.errorEmitted&&!$.closeEmitted}function _C1($,Y){let U=!1;function z(Q){if(U){DK($,Q!==null&&Q!==void 0?Q:Sj0());return}if(U=!0,Y.pendingcb--,Q){let J=Y[AK].splice(0);for(let I=0;I{if(SP(Q))Jm(z,Q);else Q.pendingcb--},$,Y);else if(SP(Y))Y.pendingcb++,Jm($,Y)}}}function Jm($,Y){Y.pendingcb--,Y.finished=!0;let U=Y[AK].splice(0);for(let z=0;z{var Wm=n2(),SC1=I0("buffer"),{isReadable:gC1,isWritable:yC1,isIterable:uj0,isNodeStream:kC1,isReadableNodeStream:bj0,isWritableNodeStream:ij0,isDuplexNodeStream:xC1,isReadableStream:cj0,isWritableStream:nj0}=T9(),pj0=i3(),{AbortError:sj0,codes:{ERR_INVALID_ARG_TYPE:fC1,ERR_INVALID_RETURN_VALUE:dj0}}=M8(),{destroyer:PK}=Mz(),uC1=E9(),aj0=aZ(),bC1=kP(),{createDeferredPromise:mj0}=g8(),lj0=rd(),oj0=globalThis.Blob||SC1.Blob,iC1=typeof oj0<"u"?function(Y){return Y instanceof oj0}:function(Y){return!1},cC1=globalThis.AbortController||VK().AbortController,{FunctionPrototypeCall:rj0}=x4();class Dz extends uC1{constructor($){super($);if(($===null||$===void 0?void 0:$.readable)===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(($===null||$===void 0?void 0:$.writable)===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}}tj0.exports=function $(Y,U){if(xC1(Y))return Y;if(bj0(Y))return BK({readable:Y});if(ij0(Y))return BK({writable:Y});if(kC1(Y))return BK({writable:!1,readable:!1});if(cj0(Y))return BK({readable:aj0.fromWeb(Y)});if(nj0(Y))return BK({writable:bC1.fromWeb(Y)});if(typeof Y==="function"){let{value:Q,write:J,final:I,destroy:K}=nC1(Y);if(uj0(Q))return lj0(Dz,Q,{objectMode:!0,write:J,final:I,destroy:K});let G=Q===null||Q===void 0?void 0:Q.then;if(typeof G==="function"){let H,W=rj0(G,Q,(X)=>{if(X!=null)throw new dj0("nully","body",X)},(X)=>{PK(H,X)});return H=new Dz({objectMode:!0,readable:!1,write:J,final(X){I(async()=>{try{await W,Wm.nextTick(X,null)}catch(Z){Wm.nextTick(X,Z)}})},destroy:K})}throw new dj0("Iterable, AsyncIterable or AsyncFunction",U,Q)}if(iC1(Y))return $(Y.arrayBuffer());if(uj0(Y))return lj0(Dz,Y,{objectMode:!0,writable:!1});if(cj0(Y===null||Y===void 0?void 0:Y.readable)&&nj0(Y===null||Y===void 0?void 0:Y.writable))return Dz.fromWeb(Y);if(typeof(Y===null||Y===void 0?void 0:Y.writable)==="object"||typeof(Y===null||Y===void 0?void 0:Y.readable)==="object"){let Q=Y!==null&&Y!==void 0&&Y.readable?bj0(Y===null||Y===void 0?void 0:Y.readable)?Y===null||Y===void 0?void 0:Y.readable:$(Y.readable):void 0,J=Y!==null&&Y!==void 0&&Y.writable?ij0(Y===null||Y===void 0?void 0:Y.writable)?Y===null||Y===void 0?void 0:Y.writable:$(Y.writable):void 0;return BK({readable:Q,writable:J})}let z=Y===null||Y===void 0?void 0:Y.then;if(typeof z==="function"){let Q;return rj0(z,Y,(J)=>{if(J!=null)Q.push(J);Q.push(null)},(J)=>{PK(Q,J)}),Q=new Dz({objectMode:!0,writable:!1,read(){}})}throw new fC1(U,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],Y)};function nC1($){let{promise:Y,resolve:U}=mj0(),z=new cC1,Q=z.signal;return{value:$(async function*(){while(!0){let I=Y;Y=null;let{chunk:K,done:G,cb:H}=await I;if(Wm.nextTick(H),G)return;if(Q.aborted)throw new sj0(void 0,{cause:Q.reason});({promise:Y,resolve:U}=mj0()),yield K}}(),{signal:Q}),write(I,K,G){let H=U;U=null,H({chunk:I,done:!1,cb:G})},final(I){let K=U;U=null,K({done:!0,cb:I})},destroy(I,K){z.abort(),K(I)}}}function BK($){let Y=$.readable&&typeof $.readable.read!=="function"?aj0.wrap($.readable):$.readable,U=$.writable,z=!!gC1(Y),Q=!!yC1(U),J,I,K,G,H;function W(X){let Z=G;if(G=null,Z)Z(X);else if(X)H.destroy(X)}if(H=new Dz({readableObjectMode:!!(Y!==null&&Y!==void 0&&Y.readableObjectMode),writableObjectMode:!!(U!==null&&U!==void 0&&U.writableObjectMode),readable:z,writable:Q}),Q)pj0(U,(X)=>{if(Q=!1,X)PK(Y,X);W(X)}),H._write=function(X,Z,q){if(U.write(X,Z))q();else J=q},H._final=function(X){U.end(),I=X},U.on("drain",function(){if(J){let X=J;J=null,X()}}),U.on("finish",function(){if(I){let X=I;I=null,X()}});if(z)pj0(Y,(X)=>{if(z=!1,X)PK(Y,X);W(X)}),Y.on("readable",function(){if(K){let X=K;K=null,X()}}),Y.on("end",function(){H.push(null)}),H._read=function(){while(!0){let X=Y.read();if(X===null){K=H._read;return}if(!H.push(X))return}};return H._destroy=function(X,Z){if(!X&&G!==null)X=new sj0;if(K=null,J=null,I=null,G===null)Z(X);else G=Z,PK(U,X),PK(Y,X)},H}});var E9=E((G64,UE0)=>{var{ObjectDefineProperties:pC1,ObjectGetOwnPropertyDescriptor:c3,ObjectKeys:dC1,ObjectSetPrototypeOf:$E0}=x4();UE0.exports=P5;var qm=aZ(),l$=kP();$E0(P5.prototype,qm.prototype);$E0(P5,qm);{let $=dC1(l$.prototype);for(let Y=0;Y<$.length;Y++){let U=$[Y];if(!P5.prototype[U])P5.prototype[U]=l$.prototype[U]}}function P5($){if(!(this instanceof P5))return new P5($);if(qm.call(this,$),l$.call(this,$),$){if(this.allowHalfOpen=$.allowHalfOpen!==!1,$.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if($.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}pC1(P5.prototype,{writable:{__proto__:null,...c3(l$.prototype,"writable")},writableHighWaterMark:{__proto__:null,...c3(l$.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...c3(l$.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...c3(l$.prototype,"writableBuffer")},writableLength:{__proto__:null,...c3(l$.prototype,"writableLength")},writableFinished:{__proto__:null,...c3(l$.prototype,"writableFinished")},writableCorked:{__proto__:null,...c3(l$.prototype,"writableCorked")},writableEnded:{__proto__:null,...c3(l$.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...c3(l$.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set($){if(this._readableState&&this._writableState)this._readableState.destroyed=$,this._writableState.destroyed=$}}});var Xm;function YE0(){if(Xm===void 0)Xm={};return Xm}P5.fromWeb=function($,Y){return YE0().newStreamDuplexFromReadableWritablePair($,Y)};P5.toWeb=function($){return YE0().newReadableWritablePairFromDuplex($)};var Zm;P5.from=function($){if(!Zm)Zm=ej0();return Zm($,"body")}});var Fm=E((H64,QE0)=>{var{ObjectSetPrototypeOf:zE0,Symbol:mC1}=x4();QE0.exports=n3;var{ERR_METHOD_NOT_IMPLEMENTED:lC1}=M8().codes,Lm=E9(),{getHighWaterMark:oC1}=rZ();zE0(n3.prototype,Lm.prototype);zE0(n3,Lm);var Yq=mC1("kCallback");function n3($){if(!(this instanceof n3))return new n3($);let Y=$?oC1(this,$,"readableHighWaterMark",!0):null;if(Y===0)$={...$,highWaterMark:null,readableHighWaterMark:Y,writableHighWaterMark:$.writableHighWaterMark||0};if(Lm.call(this,$),this._readableState.sync=!1,this[Yq]=null,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",rC1)}function Vm($){if(typeof this._flush==="function"&&!this.destroyed)this._flush((Y,U)=>{if(Y){if($)$(Y);else this.destroy(Y);return}if(U!=null)this.push(U);if(this.push(null),$)$()});else if(this.push(null),$)$()}function rC1(){if(this._final!==Vm)Vm.call(this)}n3.prototype._final=Vm;n3.prototype._transform=function($,Y,U){throw new lC1("_transform()")};n3.prototype._write=function($,Y,U){let z=this._readableState,Q=this._writableState,J=z.length;this._transform($,Y,(I,K)=>{if(I){U(I);return}if(K!=null)this.push(K);if(Q.ended||J===z.length||z.length{var{ObjectSetPrototypeOf:JE0}=x4();IE0.exports=TK;var wm=Fm();JE0(TK.prototype,wm.prototype);JE0(TK,wm);function TK($){if(!(this instanceof TK))return new TK($);wm.call(this,$)}TK.prototype._transform=function($,Y,U){U(null,$)}});var bP=E((X64,XE0)=>{var Uq=n2(),{ArrayIsArray:sC1,Promise:aC1,SymbolAsyncIterator:tC1,SymbolDispose:eC1}=x4(),uP=i3(),{once:$R1}=g8(),YR1=Mz(),KE0=E9(),{aggregateTwoErrors:UR1,codes:{ERR_INVALID_ARG_TYPE:Em,ERR_INVALID_RETURN_VALUE:Om,ERR_MISSING_ARGS:zR1,ERR_STREAM_DESTROYED:QR1,ERR_STREAM_PREMATURE_CLOSE:JR1},AbortError:IR1}=M8(),{validateFunction:KR1,validateAbortSignal:GR1}=FK(),{isIterable:Az,isReadable:Nm,isReadableNodeStream:fP,isNodeStream:GE0,isTransformStream:jK,isWebStream:HR1,isReadableStream:Dm,isReadableFinished:WR1}=T9(),XR1=globalThis.AbortController||VK().AbortController,Am,Bm,Pm;function HE0($,Y,U){let z=!1;$.on("close",()=>{z=!0});let Q=uP($,{readable:Y,writable:U},(J)=>{z=!J});return{destroy:(J)=>{if(z)return;z=!0,YR1.destroyer($,J||new QR1("pipe"))},cleanup:Q}}function ZR1($){return KR1($[$.length-1],"streams[stream.length - 1]"),$.pop()}function Tm($){if(Az($))return $;else if(fP($))return qR1($);throw new Em("val",["Readable","Iterable","AsyncIterable"],$)}async function*qR1($){if(!Bm)Bm=aZ();yield*Bm.prototype[tC1].call($)}async function xP($,Y,U,{end:z}){let Q,J=null,I=(H)=>{if(H)Q=H;if(J){let W=J;J=null,W()}},K=()=>new aC1((H,W)=>{if(Q)W(Q);else J=()=>{if(Q)W(Q);else H()}});Y.on("drain",I);let G=uP(Y,{readable:!1},I);try{if(Y.writableNeedDrain)await K();for await(let H of $)if(!Y.write(H))await K();if(z)Y.end(),await K();U()}catch(H){U(Q!==H?UR1(Q,H):H)}finally{G(),Y.off("drain",I)}}async function jm($,Y,U,{end:z}){if(jK(Y))Y=Y.writable;let Q=Y.getWriter();try{for await(let J of $)await Q.ready,Q.write(J).catch(()=>{});if(await Q.ready,z)await Q.close();U()}catch(J){try{await Q.abort(J),U(J)}catch(I){U(I)}}}function VR1(...$){return WE0($,$R1(ZR1($)))}function WE0($,Y,U){if($.length===1&&sC1($[0]))$=$[0];if($.length<2)throw new zR1("streams");let z=new XR1,Q=z.signal,J=U===null||U===void 0?void 0:U.signal,I=[];GR1(J,"options.signal");function K(){V(new IR1)}Pm=Pm||g8().addAbortListener;let G;if(J)G=Pm(J,K);let H,W,X=[],Z=0;function q(O){V(O,--Z===0)}function V(O,D){var P;if(O&&(!H||H.code==="ERR_STREAM_PREMATURE_CLOSE"))H=O;if(!H&&!D)return;while(X.length)X.shift()(H);if((P=G)===null||P===void 0||P[eC1](),z.abort(),D){if(!H)I.forEach((T)=>T());Uq.nextTick(Y,H,W)}}let F;for(let O=0;O<$.length;O++){let D=$[O],P=O<$.length-1,T=O>0,A=P||(U===null||U===void 0?void 0:U.end)!==!1,j=O===$.length-1;if(GE0(D)){let C=function(b){if(b&&b.name!=="AbortError"&&b.code!=="ERR_STREAM_PREMATURE_CLOSE")q(b)};var N=C;if(A){let{destroy:b,cleanup:x}=HE0(D,P,T);if(X.push(b),Nm(D)&&j)I.push(x)}if(D.on("error",C),Nm(D)&&j)I.push(()=>{D.removeListener("error",C)})}if(O===0)if(typeof D==="function"){if(F=D({signal:Q}),!Az(F))throw new Om("Iterable, AsyncIterable or Stream","source",F)}else if(Az(D)||fP(D)||jK(D))F=D;else F=KE0.from(D);else if(typeof D==="function"){if(jK(F)){var M;F=Tm((M=F)===null||M===void 0?void 0:M.readable)}else F=Tm(F);if(F=D(F,{signal:Q}),P){if(!Az(F,!0))throw new Om("AsyncIterable",`transform[${O-1}]`,F)}else{var w;if(!Am)Am=Mm();let C=new Am({objectMode:!0}),b=(w=F)===null||w===void 0?void 0:w.then;if(typeof b==="function")Z++,b.call(F,(i)=>{if(W=i,i!=null)C.write(i);if(A)C.end();Uq.nextTick(q)},(i)=>{C.destroy(i),Uq.nextTick(q,i)});else if(Az(F,!0))Z++,xP(F,C,q,{end:A});else if(Dm(F)||jK(F)){let i=F.readable||F;Z++,xP(i,C,q,{end:A})}else throw new Om("AsyncIterable or Promise","destination",F);F=C;let{destroy:x,cleanup:S}=HE0(F,!1,!0);if(X.push(x),j)I.push(S)}}else if(GE0(D)){if(fP(F)){Z+=2;let C=LR1(F,D,q,{end:A});if(Nm(D)&&j)I.push(C)}else if(jK(F)||Dm(F)){let C=F.readable||F;Z++,xP(C,D,q,{end:A})}else if(Az(F))Z++,xP(F,D,q,{end:A});else throw new Em("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],F);F=D}else if(HR1(D)){if(fP(F))Z++,jm(Tm(F),D,q,{end:A});else if(Dm(F)||Az(F))Z++,jm(F,D,q,{end:A});else if(jK(F))Z++,jm(F.readable,D,q,{end:A});else throw new Em("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],F);F=D}else F=KE0.from(D)}if(Q!==null&&Q!==void 0&&Q.aborted||J!==null&&J!==void 0&&J.aborted)Uq.nextTick(K);return F}function LR1($,Y,U,{end:z}){let Q=!1;if(Y.on("close",()=>{if(!Q)U(new JR1)}),$.pipe(Y,{end:!1}),z){let I=function(){Q=!0,Y.end()};var J=I;if(WR1($))Uq.nextTick(I);else $.once("end",I)}else U();return uP($,{readable:!0,writable:!1},(I)=>{let K=$._readableState;if(I&&I.code==="ERR_STREAM_PREMATURE_CLOSE"&&K&&K.ended&&!K.errored&&!K.errorEmitted)$.once("end",U).once("error",U);else U(I)}),uP(Y,{readable:!1,writable:!0},U)}XE0.exports={pipelineImpl:WE0,pipeline:VR1}});var Rm=E((Z64,wE0)=>{var{pipeline:FR1}=bP(),iP=E9(),{destroyer:wR1}=Mz(),{isNodeStream:cP,isReadable:ZE0,isWritable:qE0,isWebStream:Cm,isTransformStream:Bz,isWritableStream:VE0,isReadableStream:LE0}=T9(),{AbortError:MR1,codes:{ERR_INVALID_ARG_VALUE:FE0,ERR_MISSING_ARGS:OR1}}=M8(),NR1=i3();wE0.exports=function(...Y){if(Y.length===0)throw new OR1("streams");if(Y.length===1)return iP.from(Y[0]);let U=[...Y];if(typeof Y[0]==="function")Y[0]=iP.from(Y[0]);if(typeof Y[Y.length-1]==="function"){let q=Y.length-1;Y[q]=iP.from(Y[q])}for(let q=0;q0&&!(qE0(Y[q])||VE0(Y[q])||Bz(Y[q])))throw new FE0(`streams[${q}]`,U[q],"must be writable")}let z,Q,J,I,K;function G(q){let V=I;if(I=null,V)V(q);else if(q)K.destroy(q);else if(!Z&&!X)K.destroy()}let H=Y[0],W=FR1(Y,G),X=!!(qE0(H)||VE0(H)||Bz(H)),Z=!!(ZE0(W)||LE0(W)||Bz(W));if(K=new iP({writableObjectMode:!!(H!==null&&H!==void 0&&H.writableObjectMode),readableObjectMode:!!(W!==null&&W!==void 0&&W.readableObjectMode),writable:X,readable:Z}),X){if(cP(H))K._write=function(V,F,M){if(H.write(V,F))M();else z=M},K._final=function(V){H.end(),Q=V},H.on("drain",function(){if(z){let V=z;z=null,V()}});else if(Cm(H)){let F=(Bz(H)?H.writable:H).getWriter();K._write=async function(M,w,N){try{await F.ready,F.write(M).catch(()=>{}),N()}catch(O){N(O)}},K._final=async function(M){try{await F.ready,F.close().catch(()=>{}),Q=M}catch(w){M(w)}}}let q=Bz(W)?W.readable:W;NR1(q,()=>{if(Q){let V=Q;Q=null,V()}})}if(Z){if(cP(W))W.on("readable",function(){if(J){let q=J;J=null,q()}}),W.on("end",function(){K.push(null)}),K._read=function(){while(!0){let q=W.read();if(q===null){J=K._read;return}if(!K.push(q))return}};else if(Cm(W)){let V=(Bz(W)?W.readable:W).getReader();K._read=async function(){while(!0)try{let{value:F,done:M}=await V.read();if(!K.push(F))return;if(M){K.push(null);return}}catch{return}}}}return K._destroy=function(q,V){if(!q&&I!==null)q=new MR1;if(J=null,z=null,Q=null,I===null)V(q);else if(I=V,cP(W))wR1(W,q)},K}});var CE0=E((oR1,vm)=>{var DR1=globalThis.AbortController||VK().AbortController,{codes:{ERR_INVALID_ARG_VALUE:AR1,ERR_INVALID_ARG_TYPE:zq,ERR_MISSING_ARGS:BR1,ERR_OUT_OF_RANGE:PR1},AbortError:C9}=M8(),{validateAbortSignal:Pz,validateInteger:ME0,validateObject:Tz}=FK(),TR1=x4().Symbol("kWeak"),jR1=x4().Symbol("kResistStopPropagation"),{finished:ER1}=i3(),CR1=Rm(),{addAbortSignalNoValidate:RR1}=oZ(),{isWritable:_R1,isNodeStream:vR1}=T9(),{deprecate:hR1}=g8(),{ArrayPrototypePush:SR1,Boolean:gR1,MathFloor:OE0,Number:yR1,NumberIsNaN:kR1,Promise:NE0,PromiseReject:DE0,PromiseResolve:xR1,PromisePrototypeThen:AE0,Symbol:PE0}=x4(),nP=PE0("kEmpty"),BE0=PE0("kEof");function fR1($,Y){if(Y!=null)Tz(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)Pz(Y.signal,"options.signal");if(vR1($)&&!_R1($))throw new AR1("stream",$,"must be writable");let U=CR1(this,$);if(Y!==null&&Y!==void 0&&Y.signal)RR1(Y.signal,U);return U}function pP($,Y){if(typeof $!=="function")throw new zq("fn",["Function","AsyncFunction"],$);if(Y!=null)Tz(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)Pz(Y.signal,"options.signal");let U=1;if((Y===null||Y===void 0?void 0:Y.concurrency)!=null)U=OE0(Y.concurrency);let z=U-1;if((Y===null||Y===void 0?void 0:Y.highWaterMark)!=null)z=OE0(Y.highWaterMark);return ME0(U,"options.concurrency",1),ME0(z,"options.highWaterMark",0),z+=U,async function*(){let J=g8().AbortSignalAny([Y===null||Y===void 0?void 0:Y.signal].filter(gR1)),I=this,K=[],G={signal:J},H,W,X=!1,Z=0;function q(){X=!0,V()}function V(){Z-=1,F()}function F(){if(W&&!X&&Z=z||Z>=U))await new NE0((N)=>{W=N})}K.push(BE0)}catch(w){let N=DE0(w);AE0(N,V,q),K.push(N)}finally{if(X=!0,H)H(),H=null}}M();try{while(!0){while(K.length>0){let w=await K[0];if(w===BE0)return;if(J.aborted)throw new C9;if(w!==nP)yield w;K.shift(),F()}await new NE0((w)=>{H=w})}}finally{if(X=!0,W)W(),W=null}}.call(this)}function uR1($=void 0){if($!=null)Tz($,"options");if(($===null||$===void 0?void 0:$.signal)!=null)Pz($.signal,"options.signal");return async function*(){let U=0;for await(let Q of this){var z;if($!==null&&$!==void 0&&(z=$.signal)!==null&&z!==void 0&&z.aborted)throw new C9({cause:$.signal.reason});yield[U++,Q]}}.call(this)}async function TE0($,Y=void 0){for await(let U of _m.call(this,$,Y))return!0;return!1}async function bR1($,Y=void 0){if(typeof $!=="function")throw new zq("fn",["Function","AsyncFunction"],$);return!await TE0.call(this,async(...U)=>{return!await $(...U)},Y)}async function iR1($,Y){for await(let U of _m.call(this,$,Y))return U;return}async function cR1($,Y){if(typeof $!=="function")throw new zq("fn",["Function","AsyncFunction"],$);async function U(z,Q){return await $(z,Q),nP}for await(let z of pP.call(this,U,Y));}function _m($,Y){if(typeof $!=="function")throw new zq("fn",["Function","AsyncFunction"],$);async function U(z,Q){if(await $(z,Q))return z;return nP}return pP.call(this,U,Y)}class jE0 extends BR1{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function nR1($,Y,U){var z;if(typeof $!=="function")throw new zq("reducer",["Function","AsyncFunction"],$);if(U!=null)Tz(U,"options");if((U===null||U===void 0?void 0:U.signal)!=null)Pz(U.signal,"options.signal");let Q=arguments.length>1;if(U!==null&&U!==void 0&&(z=U.signal)!==null&&z!==void 0&&z.aborted){let H=new C9(void 0,{cause:U.signal.reason});throw this.once("error",()=>{}),await ER1(this.destroy(H)),H}let J=new DR1,I=J.signal;if(U!==null&&U!==void 0&&U.signal){let H={once:!0,[TR1]:this,[jR1]:!0};U.signal.addEventListener("abort",()=>J.abort(),H)}let K=!1;try{for await(let H of this){var G;if(K=!0,U!==null&&U!==void 0&&(G=U.signal)!==null&&G!==void 0&&G.aborted)throw new C9;if(!Q)Y=H,Q=!0;else Y=await $(Y,H,{signal:I})}if(!K&&!Q)throw new jE0}finally{J.abort()}return Y}async function pR1($){if($!=null)Tz($,"options");if(($===null||$===void 0?void 0:$.signal)!=null)Pz($.signal,"options.signal");let Y=[];for await(let z of this){var U;if($!==null&&$!==void 0&&(U=$.signal)!==null&&U!==void 0&&U.aborted)throw new C9(void 0,{cause:$.signal.reason});SR1(Y,z)}return Y}function dR1($,Y){let U=pP.call(this,$,Y);return async function*(){for await(let Q of U)yield*Q}.call(this)}function EE0($){if($=yR1($),kR1($))return 0;if($<0)throw new PR1("number",">= 0",$);return $}function mR1($,Y=void 0){if(Y!=null)Tz(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)Pz(Y.signal,"options.signal");return $=EE0($),async function*(){var z;if(Y!==null&&Y!==void 0&&(z=Y.signal)!==null&&z!==void 0&&z.aborted)throw new C9;for await(let J of this){var Q;if(Y!==null&&Y!==void 0&&(Q=Y.signal)!==null&&Q!==void 0&&Q.aborted)throw new C9;if($--<=0)yield J}}.call(this)}function lR1($,Y=void 0){if(Y!=null)Tz(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)Pz(Y.signal,"options.signal");return $=EE0($),async function*(){var z;if(Y!==null&&Y!==void 0&&(z=Y.signal)!==null&&z!==void 0&&z.aborted)throw new C9;for await(let J of this){var Q;if(Y!==null&&Y!==void 0&&(Q=Y.signal)!==null&&Q!==void 0&&Q.aborted)throw new C9;if($-- >0)yield J;if($<=0)return}}.call(this)}oR1.streamReturningOperators={asIndexedPairs:hR1(uR1,"readable.asIndexedPairs will be removed in a future version."),drop:mR1,filter:_m,flatMap:dR1,map:pP,take:lR1,compose:fR1};oR1.promiseReturningOperators={every:bR1,forEach:cR1,reduce:nR1,toArray:pR1,some:TE0,find:iR1}});var hm=E((q64,RE0)=>{var{ArrayPrototypePop:aR1,Promise:tR1}=x4(),{isIterable:eR1,isNodeStream:$_1,isWebStream:Y_1}=T9(),{pipelineImpl:U_1}=bP(),{finished:z_1}=i3();Sm();function Q_1(...$){return new tR1((Y,U)=>{let z,Q,J=$[$.length-1];if(J&&typeof J==="object"&&!$_1(J)&&!eR1(J)&&!Y_1(J)){let I=aR1($);z=I.signal,Q=I.end}U_1($,(I,K)=>{if(I)U(I);else Y(K)},{signal:z,end:Q})})}RE0.exports={finished:z_1,pipeline:Q_1}});var Sm=E((V64,fE0)=>{var{Buffer:J_1}=I0("buffer"),{ObjectDefineProperty:p3,ObjectKeys:hE0,ReflectApply:SE0}=x4(),{promisify:{custom:gE0}}=g8(),{streamReturningOperators:_E0,promiseReturningOperators:vE0}=CE0(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:yE0}}=M8(),I_1=Rm(),{setDefaultHighWaterMark:K_1,getDefaultHighWaterMark:G_1}=rZ(),{pipeline:kE0}=bP(),{destroyer:H_1}=Mz(),xE0=i3(),gm=hm(),Qq=T9(),h4=fE0.exports=PP().Stream;h4.isDestroyed=Qq.isDestroyed;h4.isDisturbed=Qq.isDisturbed;h4.isErrored=Qq.isErrored;h4.isReadable=Qq.isReadable;h4.isWritable=Qq.isWritable;h4.Readable=aZ();for(let $ of hE0(_E0)){let U=function(...z){if(new.target)throw yE0();return h4.Readable.from(SE0(Y,this,z))},Y=_E0[$];p3(U,"name",{__proto__:null,value:Y.name}),p3(U,"length",{__proto__:null,value:Y.length}),p3(h4.Readable.prototype,$,{__proto__:null,value:U,enumerable:!1,configurable:!0,writable:!0})}for(let $ of hE0(vE0)){let U=function(...z){if(new.target)throw yE0();return SE0(Y,this,z)},Y=vE0[$];p3(U,"name",{__proto__:null,value:Y.name}),p3(U,"length",{__proto__:null,value:Y.length}),p3(h4.Readable.prototype,$,{__proto__:null,value:U,enumerable:!1,configurable:!0,writable:!0})}h4.Writable=kP();h4.Duplex=E9();h4.Transform=Fm();h4.PassThrough=Mm();h4.pipeline=kE0;var{addAbortSignal:W_1}=oZ();h4.addAbortSignal=W_1;h4.finished=xE0;h4.destroy=H_1;h4.compose=I_1;h4.setDefaultHighWaterMark=K_1;h4.getDefaultHighWaterMark=G_1;p3(h4,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return gm}});p3(kE0,gE0,{__proto__:null,enumerable:!0,get(){return gm.pipeline}});p3(xE0,gE0,{__proto__:null,enumerable:!0,get(){return gm.finished}});h4.Stream=h4;h4._isUint8Array=function(Y){return Y instanceof Uint8Array};h4._uint8ArrayToBuffer=function(Y){return J_1.from(Y.buffer,Y.byteOffset,Y.byteLength)}});var jz=E((L64,h1)=>{var R6=I0("stream");if(R6&&process.env.READABLE_STREAM==="disable"){let $=R6.promises;h1.exports._uint8ArrayToBuffer=R6._uint8ArrayToBuffer,h1.exports._isUint8Array=R6._isUint8Array,h1.exports.isDisturbed=R6.isDisturbed,h1.exports.isErrored=R6.isErrored,h1.exports.isReadable=R6.isReadable,h1.exports.Readable=R6.Readable,h1.exports.Writable=R6.Writable,h1.exports.Duplex=R6.Duplex,h1.exports.Transform=R6.Transform,h1.exports.PassThrough=R6.PassThrough,h1.exports.addAbortSignal=R6.addAbortSignal,h1.exports.finished=R6.finished,h1.exports.destroy=R6.destroy,h1.exports.pipeline=R6.pipeline,h1.exports.compose=R6.compose,Object.defineProperty(R6,"promises",{configurable:!0,enumerable:!0,get(){return $}}),h1.exports.Stream=R6.Stream}else{let $=Sm(),Y=hm(),U=$.Readable.destroy;h1.exports=$.Readable,h1.exports._uint8ArrayToBuffer=$._uint8ArrayToBuffer,h1.exports._isUint8Array=$._isUint8Array,h1.exports.isDisturbed=$.isDisturbed,h1.exports.isErrored=$.isErrored,h1.exports.isReadable=$.isReadable,h1.exports.Readable=$.Readable,h1.exports.Writable=$.Writable,h1.exports.Duplex=$.Duplex,h1.exports.Transform=$.Transform,h1.exports.PassThrough=$.PassThrough,h1.exports.addAbortSignal=$.addAbortSignal,h1.exports.finished=$.finished,h1.exports.destroy=$.destroy,h1.exports.destroy=U,h1.exports.pipeline=$.pipeline,h1.exports.compose=$.compose,Object.defineProperty($,"promises",{configurable:!0,enumerable:!0,get(){return Y}}),h1.exports.Stream=$.Stream}h1.exports.default=h1.exports});function iE0($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $}function cE0($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(i2($))return $.pipe(new bE0.PassThrough);return $}function nE0($){return uE0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")}function ym($){return $.slice(-1)!=="/"?$+"/":$}var uE0,bE0;var dP=m(()=>{uE0=J6(RU(),1),bE0=J6(jz(),1)});import{createReadStream as X_1,lstat as Z_1,readlinkSync as q_1,Stats as V_1}from"fs";import{dirname as L_1,relative as F_1,resolve as w_1}from"path";var pE0,xm,dE0,M_1,km,mP;var mE0=m(()=>{vP0();hP0();dP();pE0=J6(hD(),1),xm=J6(Lu(),1),dE0=J6(jz(),1),{ReaddirGlob:M_1}=Td,km=process.platform==="win32";mP=class mP extends dE0.Transform{_supportsDirectory=!1;_supportsSymlink=!1;constructor($){$={highWaterMark:1048576,statConcurrency:4,...$};super($);this.options=$,this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=xm.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=xm.queue(this._onStatQueueTask.bind(this),$.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]}_abort(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()}_append($,Y){Y=Y||{};let U={source:null,filepath:$};if(!Y.name)Y.name=$;if(Y.sourcePath=$,U.data=Y,this._entriesCount++,Y.stats&&Y.stats instanceof V_1){if(U=this._updateQueueTaskWithStats(U,Y.stats),U){if(Y.stats.size)this._fsEntriesTotalBytes+=Y.stats.size;this._queue.push(U)}}else this._statQueue.push(U)}_finalize(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0}_maybeFinalize(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return!1;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())return this._finalize(),!0;return!1}_moduleAppend($,Y,U){if(this._state.aborted){U();return}this._module.append($,Y,function(z){if(this._task=null,this._state.aborted){this._shutdown();return}if(z){this.emit("error",z),setImmediate(U);return}if(this.emit("entry",Y),this._entriesProcessedCount++,Y.stats&&Y.stats.size)this._fsEntriesProcessedBytes+=Y.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(U)}.bind(this))}_moduleFinalize(){if(typeof this._module.finalize==="function")this._module.finalize();else if(typeof this._module.end==="function")this._module.end();else this.emit("error",new H6("NOENDMETHOD"))}_modulePipe(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0}_moduleUnpipe(){this._module.unpipe(this),this._state.modulePiped=!1}_normalizeEntryData($,Y){if($={type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1,...$},Y&&$.stats===!1)$.stats=Y;let U=$.type==="directory";if($.name){if(typeof $.prefix==="string"&&$.prefix!=="")$.name=$.prefix+"/"+$.name,$.prefix=null;if($.name=nE0($.name),$.type!=="symlink"&&$.name.slice(-1)==="/")U=!0,$.type="directory";else if(U)$.name+="/"}if(typeof $.mode==="number")if(km)$.mode&=511;else $.mode&=4095;else if($.stats&&$.mode===null){if(km)$.mode=$.stats.mode&511;else $.mode=$.stats.mode&4095;if(km&&U)$.mode=493}else if($.mode===null)$.mode=U?493:420;if($.stats&&$.date===null)$.date=$.stats.mtime;else $.date=iE0($.date);return $}_onModuleError($){this.emit("error",$)}_onQueueDrain(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize()}_onQueueTask($,Y){let U=()=>{if($.data.callback)$.data.callback();Y()};if(this._state.finalizing||this._state.finalized||this._state.aborted){U();return}this._task=$,this._moduleAppend($.source,$.data,U)}_onStatQueueTask($,Y){if(this._state.finalizing||this._state.finalized||this._state.aborted){Y();return}Z_1($.filepath,function(U,z){if(this._state.aborted){setImmediate(Y);return}if(U){this._entriesCount--,this.emit("warning",U),setImmediate(Y);return}if($=this._updateQueueTaskWithStats($,z),$){if(z.size)this._fsEntriesTotalBytes+=z.size;this._queue.push($)}setImmediate(Y)}.bind(this))}_shutdown(){this._moduleUnpipe(),this.end()}_transform($,Y,U){if($)this._pointer+=$.length;U(null,$)}_updateQueueTaskWithStats($,Y){if(Y.isFile())$.data.type="file",$.data.sourceType="stream",$.source=new pE0.Readable(function(){return X_1($.filepath)});else if(Y.isDirectory()&&this._supportsDirectory)$.data.name=ym($.data.name),$.data.type="directory",$.data.sourcePath=ym($.filepath),$.data.sourceType="buffer",$.source=Buffer.concat([]);else if(Y.isSymbolicLink()&&this._supportsSymlink){let U=q_1($.filepath),z=L_1($.filepath);$.data.type="symlink",$.data.linkname=F_1(z,w_1(z,U)),$.data.sourceType="buffer",$.source=Buffer.concat([])}else{if(Y.isDirectory())this.emit("warning",new H6("DIRECTORYNOTSUPPORTED",$.data));else if(Y.isSymbolicLink())this.emit("warning",new H6("SYMLINKNOTSUPPORTED",$.data));else this.emit("warning",new H6("ENTRYNOTSUPPORTED",$.data));return null}return $.data=this._normalizeEntryData($.data,Y),$}abort(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this}append($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new H6("QUEUECLOSED")),this;if(Y=this._normalizeEntryData(Y),typeof Y.name!=="string"||Y.name.length===0)return this.emit("error",new H6("ENTRYNAMEREQUIRED")),this;if(Y.type==="directory"&&!this._supportsDirectory)return this.emit("error",new H6("DIRECTORYNOTSUPPORTED",{name:Y.name})),this;if($=cE0($),Buffer.isBuffer($))Y.sourceType="buffer";else if(i2($))Y.sourceType="stream";else return this.emit("error",new H6("INPUTSTEAMBUFFERREQUIRED",{name:Y.name})),this;return this._entriesCount++,this._queue.push({data:Y,source:$}),this}directory($,Y,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new H6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new H6("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,Y===!1)Y="";else if(typeof Y!=="string")Y=$;var z=!1;if(typeof U==="function")z=U,U={};else if(typeof U!=="object")U={};var Q={stat:!0,dot:!0};function J(){this._pending--,this._maybeFinalize()}function I(H){this.emit("error",H)}function K(H){G.pause();let W=!1,X=Object.assign({},U);X.name=H.relative,X.prefix=Y,X.stats=H.stat,X.callback=G.resume.bind(G);try{if(z){if(X=z(X),X===!1)W=!0;else if(typeof X!=="object")throw new H6("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:$})}}catch(Z){this.emit("error",Z);return}if(W){G.resume();return}this._append(H.absolute,X)}let G=Td($,Q);return G.on("error",I.bind(this)),G.on("match",K.bind(this)),G.on("end",J.bind(this)),this}file($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new H6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new H6("FILEFILEPATHREQUIRED")),this;return this._append($,Y),this}glob($,Y,U){this._pending++,Y={stat:!0,pattern:$,...Y};function z(){this._pending--,this._maybeFinalize()}function Q(K){this.emit("error",K)}function J(K){I.pause();let G=Object.assign({},U);G.callback=I.resume.bind(I),G.stats=K.stat,G.name=K.relative,this._append(K.absolute,G)}let I=new M_1(Y.cwd||".",Y);return I.on("error",Q.bind(this)),I.on("match",J.bind(this)),I.on("end",z.bind(this)),this}finalize(){if(this._state.aborted){var $=new H6("ABORTED");return this.emit("error",$),Promise.reject($)}if(this._state.finalize){var Y=new H6("FINALIZING");return this.emit("error",Y),Promise.reject(Y)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var U=this;return new Promise(function(z,Q){var J;U._module.on("end",function(){if(!J)z()}),U._module.on("error",function(I){J=!0,Q(I)})})}symlink($,Y,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new H6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new H6("SYMLINKFILEPATHREQUIRED")),this;if(typeof Y!=="string"||Y.length===0)return this.emit("error",new H6("SYMLINKTARGETREQUIRED",{filepath:$})),this;if(!this._supportsSymlink)return this.emit("error",new H6("SYMLINKNOTSUPPORTED",{filepath:$})),this;var z={};if(z.type="symlink",z.name=$.replace(/\\/g,"/"),z.linkname=Y.replace(/\\/g,"/"),z.sourceType="buffer",typeof U==="number")z.mode=U;return this._entriesCount++,this._queue.push({data:z,source:Buffer.concat([])}),this}pointer(){return this._pointer}}});class Ez{getName(){}getSize(){}getLastModifiedDate(){}isDirectory(){}}function lE0($,Y){Y=Y||!1;var U=Y?$.getFullYear():$.getUTCFullYear();if(U<1980)return 2162688;else if(U>=2044)return 2141175677;var z={year:U,month:Y?$.getMonth():$.getUTCMonth(),date:Y?$.getDate():$.getUTCDate(),hours:Y?$.getHours():$.getUTCHours(),minutes:Y?$.getMinutes():$.getUTCMinutes(),seconds:Y?$.getSeconds():$.getUTCSeconds()};return z.year-1980<<25|z.month+1<<21|z.date<<16|z.hours<<11|z.minutes<<5|z.seconds/2}function oE0($){return new Date(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1)}function o$($){var Y=Buffer.alloc(8);return Y.writeUInt32LE($%4294967296,0),Y.writeUInt32LE($/4294967296|0,4),Y}function W6($){var Y=Buffer.alloc(2);return Y.writeUInt16LE(($&65535)>>>0,0),Y}function rE0($,Y){return $.readUInt16LE(Y)}function o4($){var Y=Buffer.alloc(4);return Y.writeUInt32LE(($&4294967295)>>>0,0),Y}var lP=()=>{};class Cz{constructor(){return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this}encode(){return W6((this.descriptor?sE0:0)|(this.utf8?eE0:0)|(this.encryption?aE0:0)|(this.strongEncryption?tE0:0))}static parse($,Y){var U=rE0($,Y),z=new Cz;return z.useDataDescriptor((U&sE0)!==0),z.useUTF8ForNames((U&eE0)!==0),z.useStrongEncryption((U&tE0)!==0),z.useEncryption((U&aE0)!==0),z.setSlidingDictionarySize((U&N_1)!==0?8192:4096),z.setNumberOfShannonFanoTrees((U&O_1)!==0?3:2),z}setNumberOfShannonFanoTrees($){this.numberOfShannonFanoTrees=$}getNumberOfShannonFanoTrees(){return this.numberOfShannonFanoTrees}setSlidingDictionarySize($){this.slidingDictionarySize=$}getSlidingDictionarySize(){return this.slidingDictionarySize}useDataDescriptor($){this.descriptor=$}usesDataDescriptor(){return this.descriptor}useEncryption($){this.encryption=$}usesEncryption(){return this.encryption}useStrongEncryption($){this.strongEncryption=$}usesStrongEncryption(){return this.strongEncryption}useUTF8ForNames($){this.utf8=$}usesUTF8ForNames(){return this.utf8}}var sE0=8,aE0=1,O_1=4,N_1=2,tE0=64,eE0=2048;var fm=m(()=>{lP()});var um;var $C0=m(()=>{um={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var YC0,UC0=65535,bm=16,oP,Rz,zC0=10,im=20,Jq=45,QC0=45,rP=0,Iq=8,cm=3,JC0=0,IC0=67324752,KC0=134695760,GC0=33639248,HC0=101010256,WC0=101075792,XC0=117853008,nm=65535,r$=4294967295,ZC0=1,qC0=1,VC0=4095,LC0=16384,FC0=32768,wC0=32,MC0=16;var pm=m(()=>{YC0=Buffer.alloc(0),oP=Buffer.from(Array(2)),Rz=Buffer.from(Array(4))});var OC0,EK;var dm=m(()=>{fm();$C0();pm();lP();OC0=J6(RU(),1);EK=class EK extends Ez{constructor($){super();if(this.platform=JC0,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new Cz,this.crc=0,this.time=-1,this.minver=zC0,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,$)this.setName($)}getCentralDirectoryExtra(){return this.getExtra()}getComment(){return this.comment!==null?this.comment:""}getCompressedSize(){return this.csize}getCrc(){return this.crc}getExternalAttributes=function(){return this.exattr};getExtra(){return this.extra!==null?this.extra:YC0}getGeneralPurposeBit(){return this.gpb}getInternalAttributes(){return this.inattr}getLastModifiedDate(){return this.getTime()}getLocalFileDataExtra(){return this.getExtra()}getMethod(){return this.method}getName(){return this.name}getPlatform(){return this.platform}getSize(){return this.size}getTime(){return this.time!==-1?oE0(this.time):-1}getTimeDos(){return this.time!==-1?this.time:0}getUnixMode(){return this.platform!==cm?0:this.getExternalAttributes()>>bm&UC0}getVersionNeededToExtract(){return this.minver}setComment($){if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=$}setCompressedSize($){if($<0)throw Error("invalid entry compressed size");this.csize=$}setCrc($){if($<0)throw Error("invalid entry crc32");this.crc=$}setExternalAttributes($){this.exattr=$>>>0}setExtra($){this.extra=$}setGeneralPurposeBit($){if(!($ instanceof Cz))throw Error("invalid entry GeneralPurposeBit");this.gpb=$}setInternalAttributes($){this.inattr=$}setMethod($){if($<0)throw Error("invalid entry compression method");this.method=$}setName($,Y=!1){if($=OC0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),Y)$=`/${$}`;if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=$}setPlatform($){this.platform=$}setSize($){if($<0)throw Error("invalid entry size");this.size=$}setTime($,Y){if(!($ instanceof Date))throw Error("invalid entry time");this.time=lE0($,Y)}setUnixMode($){$|=this.isDirectory()?LC0:FC0;var Y=0;Y|=$<r$||this.size>r$}}});function DC0($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(i2($)&&!$._readableState){var Y=new NC0.PassThrough;return $.pipe(Y),Y}return $}var NC0;var AC0=m(()=>{NC0=J6(jz(),1)});var BC0,Kq;var mm=m(()=>{AC0();BC0=J6(jz(),1);Kq=class Kq extends BC0.Transform{constructor($){super($);this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}}_appendBuffer($,Y,U){}_appendStream($,Y,U){}_emitErrorCallback=function($){if($)this.emit("error",$)};_finish($){}_normalizeEntry($){}_transform($,Y,U){U(null,$)}entry($,Y,U){if(Y=Y||null,typeof U!=="function")U=this._emitErrorCallback.bind(this);if(!($ instanceof Ez)){U(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){U(Error("unacceptable entry after finish"));return}if(this._archive.processing){U(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry($),this._entry=$,Y=DC0(Y),Buffer.isBuffer(Y))this._appendBuffer($,Y,U);else if(i2(Y))this._appendStream($,Y,U);else{this._archive.processing=!1,U(Error("input source must be valid Stream or Buffer instance"));return}return this}finish(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()}getBytesWritten(){return this.offset}write($,Y){if($)this.offset+=$.length;return super.write($,Y)}}});var PC0,TC0,Gq;var jC0=m(()=>{PC0=J6(jz(),1),TC0=J6(OI(),1);Gq=class Gq extends PC0.Transform{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform($,Y,U){if($)this.checksum=TC0.default.buf($,this.checksum)>>>0,this.rawSize+=$.length;U(null,$)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}});import{DeflateRaw as D_1}from"zlib";var EC0,Hq;var CC0=m(()=>{EC0=J6(OI(),1);Hq=class Hq extends D_1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push($,Y){if($)this.compressedSize+=$.length;return super.push($,Y)}_transform($,Y,U){if($)this.checksum=EC0.default.buf($,this.checksum)>>>0,this.rawSize+=$.length;super._transform($,Y,U)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size($=!1){if($)return this.compressedSize;else return this.rawSize}}});var RC0=m(()=>{jC0();CC0()});function A_1($){if(typeof $!=="object")$={};if(typeof $.zlib!=="object")$.zlib={};if(typeof $.zlib.level!=="number")$.zlib.level=qC0;return $.forceZip64=!!$.forceZip64,$.forceLocalTime=!!$.forceLocalTime,$}var _C0,Wq;var vC0=m(()=>{RC0();mm();dm();fm();pm();lP();_C0=J6(OI(),1);Wq=class Wq extends Kq{constructor($){let Y=A_1($);super(Y);this.options=Y,this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:Y.forceZip64,forceLocalTime:Y.forceLocalTime}}_afterAppend($){if(this._entries.push($),$.getGeneralPurposeBit().usesDataDescriptor())this._writeDataDescriptor($);if(this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished)this._finish()}_appendBuffer($,Y,U){if(Y.length===0)$.setMethod(rP);var z=$.getMethod();if(z===rP)$.setSize(Y.length),$.setCompressedSize(Y.length),$.setCrc(_C0.default.buf(Y)>>>0);if(this._writeLocalFileHeader($),z===rP){this.write(Y),this._afterAppend($),U(null,$);return}else if(z===Iq){this._smartStream($,U).end(Y);return}else{U(Error("compression method "+z+" not implemented"));return}}_appendStream($,Y,U){$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(im),this._writeLocalFileHeader($);var z=this._smartStream($,U);Y.once("error",function(Q){z.emit("error",Q),z.end()}),Y.pipe(z)}_finish(){if(this._archive.centralOffset=this.offset,this._entries.forEach(function($){this._writeCentralFileHeader($)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64())this._writeCentralDirectoryZip64();this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()}_normalizeEntry($){if($.getMethod()===-1)$.setMethod(Iq);if($.getMethod()===Iq)$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(im);if($.getTime()===-1)$.setTime(new Date,this._archive.forceLocalTime);$._offsets={file:0,data:0,contents:0}}_smartStream($,Y){var U=$.getMethod()===Iq,z=U?new Hq(this.options.zlib):new Gq,Q=null;function J(){var I=z.digest().readUInt32BE(0);$.setCrc(I),$.setSize(z.size()),$.setCompressedSize(z.size(!0)),this._afterAppend($),Y(Q,$)}return z.once("end",J.bind(this)),z.once("error",function(I){Q=I}),z.pipe(this,{end:!1}),z}_writeCentralDirectoryEnd(){var $=this._entries.length,Y=this._archive.centralLength,U=this._archive.centralOffset;if(this.isZip64())$=nm,Y=r$,U=r$;this.write(o4(HC0)),this.write(oP),this.write(oP),this.write(W6($)),this.write(W6($)),this.write(o4(Y)),this.write(o4(U));var z=this.getComment(),Q=Buffer.byteLength(z);this.write(W6(Q)),this.write(z)}_writeCentralDirectoryZip64(){this.write(o4(WC0)),this.write(o$(44)),this.write(W6(Jq)),this.write(W6(Jq)),this.write(Rz),this.write(Rz),this.write(o$(this._entries.length)),this.write(o$(this._entries.length)),this.write(o$(this._archive.centralLength)),this.write(o$(this._archive.centralOffset)),this.write(o4(XC0)),this.write(Rz),this.write(o$(this._archive.centralOffset+this._archive.centralLength)),this.write(o4(1))}_writeCentralFileHeader($){var Y=$.getGeneralPurposeBit(),U=$.getMethod(),z=$._offsets.file,Q=$.getSize(),J=$.getCompressedSize();if($.isZip64()||z>r$){Q=r$,J=r$,z=r$,$.setVersionNeededToExtract(Jq);var I=Buffer.concat([W6(ZC0),W6(24),o$($.getSize()),o$($.getCompressedSize()),o$($._offsets.file)],28);$.setExtra(I)}this.write(o4(GC0)),this.write(W6($.getPlatform()<<8|QC0)),this.write(W6($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(W6(U)),this.write(o4($.getTimeDos())),this.write(o4($.getCrc())),this.write(o4(J)),this.write(o4(Q));var K=$.getName(),G=$.getComment(),H=$.getCentralDirectoryExtra();if(Y.usesUTF8ForNames())K=Buffer.from(K),G=Buffer.from(G);this.write(W6(K.length)),this.write(W6(H.length)),this.write(W6(G.length)),this.write(oP),this.write(W6($.getInternalAttributes())),this.write(o4($.getExternalAttributes())),this.write(o4(z)),this.write(K),this.write(H),this.write(G)}_writeDataDescriptor($){if(this.write(o4(KC0)),this.write(o4($.getCrc())),$.isZip64())this.write(o$($.getCompressedSize())),this.write(o$($.getSize()));else this.write(o4($.getCompressedSize())),this.write(o4($.getSize()))}_writeLocalFileHeader($){var Y=$.getGeneralPurposeBit(),U=$.getMethod(),z=$.getName(),Q=$.getLocalFileDataExtra();if($.isZip64())Y.useDataDescriptor(!0),$.setVersionNeededToExtract(Jq);if(Y.usesUTF8ForNames())z=Buffer.from(z);if($._offsets.file=this.offset,this.write(o4(IC0)),this.write(W6($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(W6(U)),this.write(o4($.getTimeDos())),$._offsets.data=this.offset,Y.usesDataDescriptor())this.write(Rz),this.write(Rz),this.write(Rz);else this.write(o4($.getCrc())),this.write(o4($.getCompressedSize())),this.write(o4($.getSize()));this.write(W6(z.length)),this.write(W6(Q.length)),this.write(z),this.write(Q),$._offsets.contents=this.offset}getComment($){return this._archive.comment!==null?this._archive.comment:""}isZip64(){return this._archive.forceZip64||this._entries.length>nm||this._archive.centralLength>r$||this._archive.centralOffset>r$}setComment($){this._archive.comment=$}}});var hC0=m(()=>{dm();mm();vC0()});function gC0($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $}function yC0($){return SC0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")}var SC0;var kC0=m(()=>{SC0=J6(RU(),1)});var sP;var xC0=m(()=>{hC0();kC0();sP=class sP extends Wq{constructor($){if($=$||{},$.zlib=$.zlib||{},typeof $.level==="number"&&$.level>=0)$.zlib.level=$.level,delete $.level;if(!$.forceZip64&&typeof $.zlib.level==="number"&&$.zlib.level===0)$.store=!0;$.namePrependSlash=$.namePrependSlash||!1;super($);if($.comment&&$.comment.length>0)this.setComment($.comment)}_normalizeFileData($){$={type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:"",...$};let Y=$.type==="directory",U=$.type==="symlink";if($.name){if($.name=yC0($.name),!U&&$.name.slice(-1)==="/")Y=!0,$.type="directory";else if(Y)$.name+="/"}if(Y||U)$.store=!0;return $.date=gC0($.date),$}entry($,Y,U){if(typeof U!=="function")U=this._emitErrorCallback.bind(this);if(Y=this._normalizeFileData(Y),Y.type!=="file"&&Y.type!=="directory"&&Y.type!=="symlink"){U(Error(Y.type+" entries not currently supported"));return}if(typeof Y.name!=="string"||Y.name.length===0){U(Error("entry name must be a non-empty string value"));return}if(Y.type==="symlink"&&typeof Y.linkname!=="string"){U(Error("entry linkname must be a non-empty string value when type equals symlink"));return}let z=new EK(Y.name);if(z.setTime(Y.date,this.options.forceLocalTime),Y.namePrependSlash)z.setName(Y.name,!0);if(Y.store)z.setMethod(0);if(Y.comment.length>0)z.setComment(Y.comment);if(Y.type==="symlink"&&typeof Y.mode!=="number")Y.mode=40960;if(typeof Y.mode==="number"){if(Y.type==="symlink")Y.mode|=40960;z.setUnixMode(Y.mode)}if(Y.type==="symlink"&&typeof Y.linkname==="string")$=Buffer.from(Y.linkname);return super.entry(z,$,U)}finalize(){this.finish()}}});class aP{constructor($){$=this.options={comment:"",forceUTC:!1,namePrependSlash:!1,store:!1,...$},this.engine=new sP($)}append($,Y,U){this.engine.entry($,Y,U)}finalize(){this.engine.finalize()}on(){return this.engine.on.apply(this.engine,arguments)}pipe(){return this.engine.pipe.apply(this.engine,arguments)}unpipe(){return this.engine.unpipe.apply(this.engine,arguments)}}var fC0=m(()=>{xC0()});var bC0=E((R84,uC0)=>{uC0.exports=class{constructor(Y){if(!(Y>0)||(Y-1&Y)!==0)throw Error("Max size for a FixedFIFO should be a power of two");this.buffer=Array(Y),this.mask=Y-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(Y){if(this.buffer[this.top]!==void 0)return!1;return this.buffer[this.top]=Y,this.top=this.top+1&this.mask,!0}shift(){let Y=this.buffer[this.btm];if(Y===void 0)return;return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,Y}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===void 0}}});var lm=E((_84,cC0)=>{var iC0=bC0();cC0.exports=class{constructor(Y){this.hwm=Y||16,this.head=new iC0(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(Y){if(this.length++,!this.head.push(Y)){let U=this.head;this.head=U.next=new iC0(2*this.head.buffer.length),this.head.push(Y)}}shift(){if(this.length!==0)this.length--;let Y=this.tail.shift();if(Y===void 0&&this.tail.next){let U=this.tail.next;return this.tail.next=null,this.tail=U,this.tail.shift()}return Y}peek(){let Y=this.tail.peek();if(Y===void 0&&this.tail.next)return this.tail.next.peek();return Y}isEmpty(){return this.length===0}}});var CK=E((v84,nC0)=>{function B_1($){return Buffer.isBuffer($)||$ instanceof Uint8Array}function P_1($){return Buffer.isEncoding($)}function T_1($,Y,U){return Buffer.alloc($,Y,U)}function j_1($){return Buffer.allocUnsafe($)}function E_1($){return Buffer.allocUnsafeSlow($)}function C_1($,Y){return Buffer.byteLength($,Y)}function R_1($,Y){return Buffer.compare($,Y)}function __1($,Y){return Buffer.concat($,Y)}function v_1($,Y,U,z,Q){return W4($).copy(Y,U,z,Q)}function h_1($,Y){return W4($).equals(Y)}function S_1($,Y,U,z,Q){return W4($).fill(Y,U,z,Q)}function g_1($,Y,U){return Buffer.from($,Y,U)}function y_1($,Y,U,z){return W4($).includes(Y,U,z)}function k_1($,Y,U,z){return W4($).indexOf(Y,U,z)}function x_1($,Y,U,z){return W4($).lastIndexOf(Y,U,z)}function f_1($){return W4($).swap16()}function u_1($){return W4($).swap32()}function b_1($){return W4($).swap64()}function W4($){if(Buffer.isBuffer($))return $;return Buffer.from($.buffer,$.byteOffset,$.byteLength)}function i_1($,Y,U,z){return W4($).toString(Y,U,z)}function c_1($,Y,U){return W4($).toString("hex",Y,U)}function n_1($,Y,U,z,Q){return W4($).write(Y,U,z,Q)}function p_1($,Y){return W4($).readDoubleBE(Y)}function d_1($,Y){return W4($).readDoubleLE(Y)}function m_1($,Y){return W4($).readFloatBE(Y)}function l_1($,Y){return W4($).readFloatLE(Y)}function o_1($,Y){return W4($).readInt32BE(Y)}function r_1($,Y){return W4($).readInt32LE(Y)}function s_1($,Y){return W4($).readUInt32BE(Y)}function a_1($,Y){return W4($).readUInt32LE(Y)}function t_1($,Y,U){return W4($).writeDoubleBE(Y,U)}function e_1($,Y,U){return W4($).writeDoubleLE(Y,U)}function $v1($,Y,U){return W4($).writeFloatBE(Y,U)}function Yv1($,Y,U){return W4($).writeFloatLE(Y,U)}function Uv1($,Y,U){return W4($).writeInt32BE(Y,U)}function zv1($,Y,U){return W4($).writeInt32LE(Y,U)}function Qv1($,Y,U){return W4($).writeUInt32BE(Y,U)}function Jv1($,Y,U){return W4($).writeUInt32LE(Y,U)}nC0.exports={isBuffer:B_1,isEncoding:P_1,alloc:T_1,allocUnsafe:j_1,allocUnsafeSlow:E_1,byteLength:C_1,compare:R_1,concat:__1,copy:v_1,equals:h_1,fill:S_1,from:g_1,includes:y_1,indexOf:k_1,lastIndexOf:x_1,swap16:f_1,swap32:u_1,swap64:b_1,toBuffer:W4,toString:i_1,toHex:c_1,write:n_1,readDoubleBE:p_1,readDoubleLE:d_1,readFloatBE:m_1,readFloatLE:l_1,readInt32BE:o_1,readInt32LE:r_1,readUInt32BE:s_1,readUInt32LE:a_1,writeDoubleBE:t_1,writeDoubleLE:e_1,writeFloatBE:$v1,writeFloatLE:Yv1,writeInt32BE:Uv1,writeInt32LE:zv1,writeUInt32BE:Qv1,writeUInt32LE:Jv1}});var dC0=E((h84,pC0)=>{var Iv1=CK();pC0.exports=class{constructor(Y){this.encoding=Y}get remaining(){return 0}decode(Y){return Iv1.toString(Y,this.encoding)}flush(){return""}}});var rC0=E((S84,oC0)=>{var mC0=CK();oC0.exports=class{constructor(){this._reset()}get remaining(){return this.bytesSeen}decode(Y){if(Y.byteLength===0)return"";if(this.bytesNeeded===0&&lC0(Y,0)===0)return this.bytesSeen=Kv1(Y),mC0.toString(Y,"utf8");let U="",z=0;if(this.bytesNeeded>0){while(zthis.upperBoundary){U+="�",this._reset();break}if(this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|I&63,this.bytesSeen++,z++,this.bytesSeen===this.bytesNeeded){U+=String.fromCodePoint(this.codePoint),this._reset();break}}if(this.bytesNeeded>0)return U}let Q=lC0(Y,z),J=Y.byteLength-Q;if(J>z)U+=mC0.toString(Y,"utf8",z,J);for(let I=J;I=194&&K<=223)this.bytesNeeded=2,this.bytesSeen=1,this.codePoint=K&31;else if(K>=224&&K<=239){if(K===224)this.lowerBoundary=160;else if(K===237)this.upperBoundary=159;this.bytesNeeded=3,this.bytesSeen=1,this.codePoint=K&15}else if(K>=240&&K<=244){if(K===240)this.lowerBoundary=144;else if(K===244)this.upperBoundary=143;this.bytesNeeded=4,this.bytesSeen=1,this.codePoint=K&7}else this.bytesSeen=1,U+="�";continue}if(Kthis.upperBoundary){U+="�",I--,this._reset();continue}if(this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|K&63,this.bytesSeen++,this.bytesSeen===this.bytesNeeded)U+=String.fromCodePoint(this.codePoint),this._reset()}return U}flush(){let Y=this.bytesNeeded>0?"�":"";return this._reset(),Y}_reset(){this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0,this.lowerBoundary=128,this.upperBoundary=191}};function lC0($,Y){let U=$.byteLength;if(U<=Y)return 0;let z=Math.max(Y,U-4),Q=U-1;while(Q>z&&($[Q]&192)===128)Q--;if(Q=194&&J<=223)I=2;else if(J>=224&&J<=239)I=3;else if(J>=240&&J<=244)I=4;else return 0;let K=U-Q;return K=z&&($[Q]&192)===128)Q--;if(Q<0)return 1;let J=$[Q],I;if(J>=194&&J<=223)I=2;else if(J>=224&&J<=239)I=3;else if(J>=240&&J<=244)I=4;else return 1;if(Y-Q!==I)return 1;if(I>=3){let K=$[Q+1];if(J===224&&K<160)return 1;if(J===237&&K>159)return 1;if(J===240&&K<144)return 1;if(J===244&&K>143)return 1}return 0}});var aC0=E((g84,sC0)=>{var Gv1=dC0(),Hv1=rC0();sC0.exports=class{constructor(Y="utf8"){switch(this.encoding=Wv1(Y),this.encoding){case"utf8":this.decoder=new Hv1;break;case"utf16le":case"base64":throw Error("Unsupported encoding: "+this.encoding);default:this.decoder=new Gv1(this.encoding)}}get remaining(){return this.decoder.remaining}push(Y){if(typeof Y==="string")return Y;return this.decoder.decode(Y)}write(Y){return this.push(Y)}end(Y){let U="";if(Y)U=this.push(Y);return U+=this.decoder.flush(),U}};function Wv1($){switch($=$.toLowerCase(),$){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:throw Error("Unknown encoding: "+$)}}});var eC0=E((y84,tC0)=>{tC0.exports=class $ extends Error{constructor(Y,U,z=$){super(Y);if(this.code=U,Error.captureStackTrace)Error.captureStackTrace(this,z)}static isStreamDestroyed(Y){return Y&&Y.code==="STREAM_DESTROYED"}static isPrematureClose(Y){return Y&&Y.code==="PREMATURE_CLOSE"}static isAborted(Y){return Y&&Y.code==="ABORTED"}static isBadArgument(Y){return Y&&Y.code==="BAD_ARGUMENT"}get name(){return"StreamError"}static STREAM_DESTROYED(){return new $("Stream was destroyed","STREAM_DESTROYED",$.STREAM_DESTROYED)}static PREMATURE_CLOSE(Y="Premature close"){return new $(Y,"PREMATURE_CLOSE",$.PREMATURE_CLOSE)}static ABORTED(){return new $("Stream aborted","ABORTED",$.ABORTED)}static BAD_ARGUMENT(Y="Bad argument"){return new $(Y,"BAD_ARGUMENT",$.BAD_ARGUMENT)}}});var Yl=E((k84,GR0)=>{var{EventEmitter:Xv1}=I0("events"),$R0=lm(),Zv1=aC0(),s$=eC0(),om=typeof queueMicrotask>"u"?($)=>global.process.nextTick($):queueMicrotask,tP=Symbol.asyncIterator||Symbol("asyncIterator");class sm{constructor($,{highWaterMark:Y=16384,map:U=null,mapWritable:z,byteLength:Q,byteLengthWritable:J}={}){this.stream=$,this.queue=new $R0,this.highWaterMark=Y,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=J||Q||KR0,this.map=z||U,this.afterWrite=Lv1.bind(this),this.afterUpdateNextTick=Mv1.bind(this)}get ending(){return(this.stream._duplexState&134217728)!==0}get ended(){return(this.stream._duplexState&8388608)!==0}push($){if((this.stream._duplexState&142606350)!==0)return!1;if(this.map!==null)$=this.map($);if(this.buffered+=this.byteLength($),this.queue.push($),this.buffered0,this.error=null,this.pipeline=null,this.byteLength=J||Q||KR0,this.map=z||U,this.pipeTo=null,this.afterRead=Fv1.bind(this),this.afterUpdateNextTick=wv1.bind(this)}get ending(){return(this.stream._duplexState&1024)!==0}get ended(){return(this.stream._duplexState&16384)!==0}pipe($,Y){if(this.pipeTo!==null)throw s$.BAD_ARGUMENT("Can only pipe to one destination");if(typeof Y!=="function")Y=null;if(this.stream._duplexState|=512,this.pipeTo=$,this.pipeline=new zR0(this.stream,$,Y),Y)this.stream.on("error",rm);if(Zq($)){if($._writableState.pipeline=this.pipeline,Y)$.on("error",rm);$.on("finish",this.pipeline.finished.bind(this.pipeline))}else{let U=this.pipeline.done.bind(this.pipeline,$),z=this.pipeline.done.bind(this.pipeline,$,null);$.on("error",U),$.on("close",z),$.on("finish",this.pipeline.finished.bind(this.pipeline))}$.on("drain",qv1.bind(this)),this.stream.emit("piping",$),$.emit("pipe",this.stream)}push($){let Y=this.stream;if($===null)return this.highWaterMark=0,Y._duplexState=(Y._duplexState|1024)&536805311,!1;if(this.map!==null){if($=this.map($),$===null)return Y._duplexState&=536805375,this.buffered0)Y.push(this.shift());for(let U=0;U0)z.drains.shift().resolve(!1);if(z.pipeline!==null)z.pipeline.done(Y,$)}}function Lv1($){let Y=this.stream;if($)Y.destroy($);if(Y._duplexState&=469499903,this.drains!==null)Ov1(this.drains);if((Y._duplexState&6553615)===4194304){if(Y._duplexState&=532676607,(Y._duplexState&16777216)===16777216)Y.emit("drain")}this.updateCallback()}function Fv1($){if($)this.stream.destroy($);if(this.stream._duplexState&=536870895,this.readAhead===!1&&(this.stream._duplexState&256)===0)this.stream._duplexState&=536739839;this.updateCallback()}function wv1(){if((this.stream._duplexState&32)===0)this.stream._duplexState&=536838143,this.update()}function Mv1(){if((this.stream._duplexState&524288)===0)this.stream._duplexState&=503316479,this.update()}function Ov1($){for(let Y=0;Y<$.length;Y++)if(--$[Y].writes===0)$.shift().resolve(!0),Y--}function JR0($){let Y=this.stream;if($)Y.destroy($);if((Y._duplexState&4)===0){if((Y._duplexState&17423)===0)Y._duplexState|=64;if((Y._duplexState&142606351)===0)Y._duplexState|=1048576;Y.emit("open")}if(Y._duplexState&=536608751,Y._writableState!==null)Y._writableState.updateCallback();if(Y._readableState!==null)Y._readableState.updateCallback()}function Nv1($,Y){if(Y!==void 0&&Y!==null)this.push(Y);this._writableState.afterWrite($)}function Dv1($){if(this._readableState!==null){if($==="data")this._duplexState|=133376,this._readableState.updateNextTick();if($==="readable")this._duplexState|=4096,this._readableState.updateNextTick()}if(this._writableState!==null){if($==="drain")this._duplexState|=16777216,this._writableState.updateNextTick()}}class eP extends Xv1{constructor($){super();if(this._duplexState=0,this._readableState=null,this._writableState=null,$){if($.open)this._open=$.open;if($.destroy)this._destroy=$.destroy;if($.predestroy)this._predestroy=$.predestroy;if($.signal)$.signal.addEventListener("abort",Sv1.bind(this))}this.on("newListener",Dv1)}_open($){$(null)}_destroy($){$(null)}_predestroy(){}get readable(){return this._readableState!==null?!0:void 0}get writable(){return this._writableState!==null?!0:void 0}get destroyed(){return(this._duplexState&8)!==0}get destroying(){return(this._duplexState&14)!==0}destroy($){if((this._duplexState&14)===0){if(!$)$=s$.STREAM_DESTROYED();if(this._duplexState=(this._duplexState|4)&535822271,this._readableState!==null)this._readableState.highWaterMark=0,this._readableState.error=$;if(this._writableState!==null)this._writableState.highWaterMark=0,this._writableState.error=$;if(this._duplexState|=2,this._predestroy(),this._duplexState&=536870909,this._readableState!==null)this._readableState.updateNextTick();if(this._writableState!==null)this._writableState.updateNextTick()}}}class Xq extends eP{constructor($){super($);if(this._duplexState|=8519681,this._readableState=new YR0(this,$),$){if(this._readableState.readAhead===!1)this._duplexState&=536739839;if($.read)this._read=$.read;if($.eagerOpen)this._readableState.updateNextTick();if($.encoding)this.setEncoding($.encoding)}}static deferred($,Y){let U=new em(Y);return $().then((z)=>{if(z===null)return U.end();if(U.destroying)return;$l(z,U,rm)}).catch((z)=>U.destroy(z)),U}setEncoding($){let Y=new Zv1($),U=this._readableState.map||Pv1;return this._readableState.map=z,this;function z(Q){let J=Y.push(Q);return J===""&&(Q.byteLength!==0||Y.remaining>0)?null:U(J)}}_read($){$(null)}pipe($,Y){return this._readableState.updateNextTick(),this._readableState.pipe($,Y),$}read(){return this._readableState.updateNextTick(),this._readableState.read()}push($){return this._readableState.updateNextTickIfOpen(),this._readableState.push($)}unshift($){return this._readableState.updateNextTickIfOpen(),this._readableState.unshift($)}resume(){return this._duplexState|=131328,this._readableState.updateNextTick(),this}pause(){return this._duplexState&=this._readableState.readAhead===!1?536739583:536870655,this}static _fromAsyncIterator($,Y){let U,z=new Xq({...Y,read(J){$.next().then(Q).then(J.bind(null,null)).catch(J)},predestroy(){U=$.return()},destroy(J){if(!U)return J(null);U.then(J.bind(null,null)).catch(J)}});return z;function Q(J){if(J.done)z.push(null);else z.push(J.value)}}static from($,Y){if(_v1($))return $;if($[tP])return this._fromAsyncIterator($[tP](),Y);if(!Array.isArray($))$=$===void 0?[]:[$];let U=0;return new Xq({...Y,read(z){this.push(U===$.length?null:$[U++]),z(null)}})}static isBackpressured($){return($._duplexState&17422)!==0||$._readableState.buffered>=$._readableState.highWaterMark}static isPaused($){return($._duplexState&256)===0}[tP](){let $=this,Y=null,U=null,z=null;return this.on("error",(G)=>{Y=G}),this.on("readable",Q),this.on("close",J),{[tP](){return this},next(){return new Promise(function(G,H){U=G,z=H;let W=$.read();if(W!==null)I(W);else if(($._duplexState&8)!==0)I(null)})},return(){return K(null)},throw(G){return K(G)}};function Q(){if(U!==null)I($.read())}function J(){if(U!==null)I(null)}function I(G){if(z===null)return;if(Y)z(Y);else if(G===null&&($._duplexState&16384)===0)z(s$.STREAM_DESTROYED());else U({value:G,done:G===null});z=U=null}function K(G){return $.destroy(G),new Promise((H,W)=>{if($._duplexState&8)return H({value:void 0,done:!0});$.once("close",function(){if(G)W(G);else H({value:void 0,done:!0})})})}}}class am extends eP{constructor($){super($);if(this._duplexState|=16385,this._writableState=new sm(this,$),$){if($.writev)this._writev=$.writev;if($.write)this._write=$.write;if($.final)this._final=$.final;if($.eagerOpen)this._writableState.updateNextTick()}}cork(){this._duplexState|=268435456}uncork(){this._duplexState&=268435455,this._writableState.updateNextTick()}_writev($,Y){Y(null)}_write($,Y){this._writableState.autoBatch($,Y)}_final($){$(null)}static isBackpressured($){return($._duplexState&146800654)!==0}static drained($){if($.destroyed)return Promise.resolve(!1);let Y=$._writableState,z=(gv1($)?Math.min(1,Y.queue.length):Y.queue.length)+($._duplexState&67108864?1:0);if(z===0)return Promise.resolve(!0);if(Y.drains===null)Y.drains=[];return new Promise((Q)=>{Y.drains.push({writes:z,resolve:Q})})}write($){return this._writableState.updateNextTick(),this._writableState.push($)}end($){return this._writableState.updateNextTick(),this._writableState.end($),this}}class $T extends Xq{constructor($){super($);if(this._duplexState=1|this._duplexState&131072,this._writableState=new sm(this,$),$){if($.writev)this._writev=$.writev;if($.write)this._write=$.write;if($.final)this._final=$.final}}cork(){this._duplexState|=268435456}uncork(){this._duplexState&=268435455,this._writableState.updateNextTick()}_writev($,Y){Y(null)}_write($,Y){this._writableState.autoBatch($,Y)}_final($){$(null)}write($){return this._writableState.updateNextTick(),this._writableState.push($)}end($){return this._writableState.updateNextTick(),this._writableState.end($),this}}class tm extends $T{constructor($){super($);if(this._transformState=new UR0(this),$){if($.transform)this._transform=$.transform;if($.flush)this._flush=$.flush}}_write($,Y){if(this._readableState.buffered>=this._readableState.highWaterMark)this._transformState.data=$;else this._transform($,this._transformState.afterTransform)}_read($){if(this._transformState.data!==null){let Y=this._transformState.data;this._transformState.data=null,$(null),this._transform(Y,this._transformState.afterTransform)}else $(null)}destroy($){if(super.destroy($),this._transformState.data!==null)this._transformState.data=null,this._transformState.afterTransform()}_transform($,Y){Y(null,$)}_flush($){$(null)}_final($){this._transformState.afterFinal=$,this._flush(Av1.bind(this))}}class em extends tm{}function Av1($,Y){let U=this._transformState.afterFinal;if($)return U($);if(Y!==null&&Y!==void 0)this.push(Y);this.push(null),U(null)}function Bv1(...$){return new Promise((Y,U)=>{return $l(...$,(z)=>{if(z)return U(z);Y()})})}function $l($,...Y){let U=Array.isArray($)?[...$,...Y]:[$,...Y],z=U.length&&typeof U[U.length-1]==="function"?U.pop():null;if(U.length<2)throw s$.BAD_ARGUMENT("Pipeline requires at least 2 streams");let Q=U[0],J=null,I=null;for(let H=1;H1,G),Q.pipe(J);Q=J}if(z){let H=!1,W=Zq(J)||!!(J._writableState&&J._writableState.autoDestroy);if(J.on("error",(X)=>{if(I===null)I=X}),J.on("finish",()=>{if(H=!0,!W)z(I)}),W)J.on("close",()=>z(I||(H?null:s$.PREMATURE_CLOSE())))}return J;function K(H,W,X,Z){H.on("error",Z),H.on("close",q);function q(){if(W&&H._readableState&&!H._readableState.ended)return Z(s$.PREMATURE_CLOSE());if(X&&H._writableState&&!H._writableState.ended)return Z(s$.PREMATURE_CLOSE())}}function G(H){if(!H||I)return;I=H;for(let W of U)W.destroy(H)}}function Pv1($){return $}function IR0($){return!!$._readableState||!!$._writableState}function Zq($){return typeof $._duplexState==="number"&&IR0($)}function Tv1($){return!!$._readableState&&$._readableState.ending}function jv1($){return!!$._readableState&&$._readableState.ended}function Ev1($){return!!$._writableState&&$._writableState.ending}function Cv1($){return!!$._writableState&&$._writableState.ended}function Rv1($,Y={}){let U=$._readableState&&$._readableState.error||$._writableState&&$._writableState.error;return!Y.all&&s$.isStreamDestroyed(U)?null:U}function _v1($){return Zq($)&&$.readable}function vv1($){return($._duplexState&1)!==1||($._duplexState&4)===4||($._duplexState&33587200)!==0}function hv1($){return typeof $==="object"&&$!==null&&typeof $.byteLength==="number"}function KR0($){return hv1($)?$.byteLength:1024}function rm(){}function Sv1(){this.destroy(s$.ABORTED())}function gv1($){return $._writev!==am.prototype._writev&&$._writev!==$T.prototype._writev}GR0.exports={pipeline:$l,pipelinePromise:Bv1,isStream:IR0,isStreamx:Zq,isEnding:Tv1,isEnded:jv1,isFinishing:Ev1,isFinished:Cv1,isDisturbed:vv1,getStreamError:Rv1,Stream:eP,Writable:am,Readable:Xq,Duplex:$T,Transform:tm,PassThrough:em}});var zl=E((mv1)=>{var n1=CK(),HR0=n1.from([117,115,116,97,114,0]),yv1=n1.from([48,48]),kv1=n1.from([117,115,116,97,114,32]),xv1=n1.from([32,0]);mv1.decodeLongPath=function(Y,U){return RK(Y,0,Y.length,U)};mv1.encodePax=function(Y){let U="";if(Y.name)U+=Ul(" path="+Y.name+` +`;super(Y);this.name="AggregateError",this.errors=$}}gP0.exports={AggregateError:SP0,ArrayIsArray($){return Array.isArray($)},ArrayPrototypeIncludes($,Y){return $.includes(Y)},ArrayPrototypeIndexOf($,Y){return $.indexOf(Y)},ArrayPrototypeJoin($,Y){return $.join(Y)},ArrayPrototypeMap($,Y){return $.map(Y)},ArrayPrototypePop($,Y){return $.pop(Y)},ArrayPrototypePush($,Y){return $.push(Y)},ArrayPrototypeSlice($,Y,U){return $.slice(Y,U)},Error,FunctionPrototypeCall($,Y,...U){return $.call(Y,...U)},FunctionPrototypeSymbolHasInstance($,Y){return Function.prototype[Symbol.hasInstance].call($,Y)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties($,Y){return Object.defineProperties($,Y)},ObjectDefineProperty($,Y,U){return Object.defineProperty($,Y,U)},ObjectGetOwnPropertyDescriptor($,Y){return Object.getOwnPropertyDescriptor($,Y)},ObjectKeys($){return Object.keys($)},ObjectSetPrototypeOf($,Y){return Object.setPrototypeOf($,Y)},Promise,PromisePrototypeCatch($,Y){return $.catch(Y)},PromisePrototypeThen($,Y,U){return $.then(Y,U)},PromiseReject($){return Promise.reject($)},PromiseResolve($){return Promise.resolve($)},ReflectApply:Reflect.apply,RegExpPrototypeTest($,Y){return $.test(Y)},SafeSet:Set,String,StringPrototypeSlice($,Y,U){return $.slice(Y,U)},StringPrototypeToLowerCase($){return $.toLowerCase()},StringPrototypeToUpperCase($){return $.toUpperCase()},StringPrototypeTrim($){return $.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet($,Y,U){return $.set(Y,U)},Boolean,Uint8Array}});var jd=E((l44,yP0)=>{yP0.exports={format($,...Y){return $.replace(/%([sdifj])/g,function(...[U,z]){let Q=Y.shift();if(z==="f")return Q.toFixed(6);else if(z==="j")return JSON.stringify(Q);else if(z==="s"&&typeof Q==="object")return`${Q.constructor!==Object?Q.constructor.name:""} {}`.trim();else return Q.toString()})},inspect($){switch(typeof $){case"string":if($.includes("'")){if(!$.includes('"'))return`"${$}"`;else if(!$.includes("`")&&!$.includes("${"))return`\`${$}\``}return`'${$}'`;case"number":if(isNaN($))return"NaN";else if(Object.is($,-0))return String($);return $;case"bigint":return`${String($)}n`;case"boolean":case"undefined":return String($);case"object":return"{}"}}}});var M8=E((o44,uP0)=>{var{format:cP1,inspect:qP}=jd(),{AggregateError:nP1}=x4(),pP1=globalThis.AggregateError||nP1,dP1=Symbol("kIsNodeError"),mP1=["string","function","number","object","Function","Object","boolean","bigint","symbol"],lP1=/^([A-Z][a-z0-9]*)+$/,VP={};function qz($,Y){if(!$)throw new VP.ERR_INTERNAL_ASSERTION(Y)}function kP0($){let Y="",U=$.length,z=$[0]==="-"?1:0;for(;U>=z+4;U-=3)Y=`_${$.slice(U-3,U)}${Y}`;return`${$.slice(0,U)}${Y}`}function oP1($,Y,U){if(typeof Y==="function")return qz(Y.length<=U.length,`Code: ${$}; The provided arguments length (${U.length}) does not match the required ones (${Y.length}).`),Y(...U);let z=(Y.match(/%[dfijoOs]/g)||[]).length;if(qz(z===U.length,`Code: ${$}; The provided arguments length (${U.length}) does not match the required ones (${z}).`),U.length===0)return Y;return cP1(Y,...U)}function z8($,Y,U){if(!U)U=Error;class z extends U{constructor(...Q){super(oP1($,Y,Q))}toString(){return`${this.name} [${$}]: ${this.message}`}}Object.defineProperties(z.prototype,{name:{value:U.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${$}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),z.prototype.code=$,z.prototype[dP1]=!0,VP[$]=z}function xP0($){let Y="__node_internal_"+$.name;return Object.defineProperty($,"name",{value:Y}),$}function rP1($,Y){if($&&Y&&$!==Y){if(Array.isArray(Y.errors))return Y.errors.push($),Y;let U=new pP1([Y,$],Y.message);return U.code=Y.code,U}return $||Y}class fP0 extends Error{constructor($="The operation was aborted",Y=void 0){if(Y!==void 0&&typeof Y!=="object")throw new VP.ERR_INVALID_ARG_TYPE("options","Object",Y);super($,Y);this.code="ABORT_ERR",this.name="AbortError"}}z8("ERR_ASSERTION","%s",Error);z8("ERR_INVALID_ARG_TYPE",($,Y,U)=>{if(qz(typeof $==="string","'name' must be a string"),!Array.isArray(Y))Y=[Y];let z="The ";if($.endsWith(" argument"))z+=`${$} `;else z+=`"${$}" ${$.includes(".")?"property":"argument"} `;z+="must be ";let Q=[],J=[],I=[];for(let G of Y)if(qz(typeof G==="string","All expected entries have to be of type string"),mP1.includes(G))Q.push(G.toLowerCase());else if(lP1.test(G))J.push(G);else qz(G!=="object",'The value "object" should be written as "Object"'),I.push(G);if(J.length>0){let G=Q.indexOf("object");if(G!==-1)Q.splice(Q,G,1),J.push("Object")}if(Q.length>0){switch(Q.length){case 1:z+=`of type ${Q[0]}`;break;case 2:z+=`one of type ${Q[0]} or ${Q[1]}`;break;default:{let G=Q.pop();z+=`one of type ${Q.join(", ")}, or ${G}`}}if(J.length>0||I.length>0)z+=" or "}if(J.length>0){switch(J.length){case 1:z+=`an instance of ${J[0]}`;break;case 2:z+=`an instance of ${J[0]} or ${J[1]}`;break;default:{let G=J.pop();z+=`an instance of ${J.join(", ")}, or ${G}`}}if(I.length>0)z+=" or "}switch(I.length){case 0:break;case 1:if(I[0].toLowerCase()!==I[0])z+="an ";z+=`${I[0]}`;break;case 2:z+=`one of ${I[0]} or ${I[1]}`;break;default:{let G=I.pop();z+=`one of ${I.join(", ")}, or ${G}`}}if(U==null)z+=`. Received ${U}`;else if(typeof U==="function"&&U.name)z+=`. Received function ${U.name}`;else if(typeof U==="object"){var K;if((K=U.constructor)!==null&&K!==void 0&&K.name)z+=`. Received an instance of ${U.constructor.name}`;else{let G=qP(U,{depth:-1});z+=`. Received ${G}`}}else{let G=qP(U,{colors:!1});if(G.length>25)G=`${G.slice(0,25)}...`;z+=`. Received type ${typeof U} (${G})`}return z},TypeError);z8("ERR_INVALID_ARG_VALUE",($,Y,U="is invalid")=>{let z=qP(Y);if(z.length>128)z=z.slice(0,128)+"...";return`The ${$.includes(".")?"property":"argument"} '${$}' ${U}. Received ${z}`},TypeError);z8("ERR_INVALID_RETURN_VALUE",($,Y,U)=>{var z;let Q=U!==null&&U!==void 0&&(z=U.constructor)!==null&&z!==void 0&&z.name?`instance of ${U.constructor.name}`:`type ${typeof U}`;return`Expected ${$} to be returned from the "${Y}" function but got ${Q}.`},TypeError);z8("ERR_MISSING_ARGS",(...$)=>{qz($.length>0,"At least one arg needs to be specified");let Y,U=$.length;switch($=(Array.isArray($)?$:[$]).map((z)=>`"${z}"`).join(" or "),U){case 1:Y+=`The ${$[0]} argument`;break;case 2:Y+=`The ${$[0]} and ${$[1]} arguments`;break;default:{let z=$.pop();Y+=`The ${$.join(", ")}, and ${z} arguments`}break}return`${Y} must be specified`},TypeError);z8("ERR_OUT_OF_RANGE",($,Y,U)=>{qz(Y,'Missing "range" argument');let z;if(Number.isInteger(U)&&Math.abs(U)>4294967296)z=kP0(String(U));else if(typeof U==="bigint"){z=String(U);let Q=BigInt(2)**BigInt(32);if(U>Q||U<-Q)z=kP0(z);z+="n"}else z=qP(U);return`The value of "${$}" is out of range. It must be ${Y}. Received ${z}`},RangeError);z8("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);z8("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);z8("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);z8("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);z8("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);z8("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);z8("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);z8("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);z8("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);z8("ERR_STREAM_WRITE_AFTER_END","write after end",Error);z8("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);uP0.exports={AbortError:fP0,aggregateTwoErrors:xP0(rP1),hideStackFrames:xP0,codes:VP}});var sP0=E((rP0,mZ)=>{Object.defineProperty(rP0,"__esModule",{value:!0});var dP0=new WeakMap,Ed=new WeakMap;function v4($){let Y=dP0.get($);return console.assert(Y!=null,"'this' is expected an Event object, but got",$),Y}function bP0($){if($.passiveListener!=null){if(typeof console<"u"&&typeof console.error==="function")console.error("Unable to preventDefault inside passive event listener invocation.",$.passiveListener);return}if(!$.event.cancelable)return;if($.canceled=!0,typeof $.event.preventDefault==="function")$.event.preventDefault()}function qK($,Y){dP0.set(this,{eventTarget:$,event:Y,eventPhase:2,currentTarget:$,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:Y.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let U=Object.keys(Y);for(let z=0;z0){let $=Array(arguments.length);for(let Y=0;Y{Object.defineProperty(eP0,"__esModule",{value:!0});var Rd=sP0();class Vz extends Rd.EventTarget{constructor(){super();throw TypeError("AbortSignal cannot be constructed directly")}get aborted(){let $=wP.get(this);if(typeof $!=="boolean")throw TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return $}}Rd.defineEventAttribute(Vz.prototype,"abort");function IT1(){let $=Object.create(Vz.prototype);return Rd.EventTarget.call($),wP.set($,!1),$}function KT1($){if(wP.get($)!==!1)return;wP.set($,!0),$.dispatchEvent({type:"abort"})}var wP=new WeakMap;Object.defineProperties(Vz.prototype,{aborted:{enumerable:!0}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(Vz.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class Lz{constructor(){tP0.set(this,IT1())}get signal(){return aP0(this)}abort(){KT1(aP0(this))}}var tP0=new WeakMap;function aP0($){let Y=tP0.get($);if(Y==null)throw TypeError(`Expected 'this' to be an 'AbortController' object, but got ${$===null?"null":typeof $}`);return Y}Object.defineProperties(Lz.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(Lz.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});eP0.AbortController=Lz;eP0.AbortSignal=Vz;eP0.default=Lz;lZ.exports=Lz;lZ.exports.AbortController=lZ.exports.default=Lz;lZ.exports.AbortSignal=Vz});var g8=E((r44,vd)=>{var XT1=I0("buffer"),{format:ZT1,inspect:qT1}=jd(),{codes:{ERR_INVALID_ARG_TYPE:_d}}=M8(),{kResistStopPropagation:VT1,AggregateError:LT1,SymbolDispose:FT1}=x4(),wT1=globalThis.AbortSignal||VK().AbortSignal,MT1=globalThis.AbortController||VK().AbortController,OT1=Object.getPrototypeOf(async function(){}).constructor,$T0=globalThis.Blob||XT1.Blob,NT1=typeof $T0<"u"?function(Y){return Y instanceof $T0}:function(Y){return!1},YT0=($,Y)=>{if($!==void 0&&($===null||typeof $!=="object"||!("aborted"in $)))throw new _d(Y,"AbortSignal",$)},DT1=($,Y)=>{if(typeof $!=="function")throw new _d(Y,"Function",$)};vd.exports={AggregateError:LT1,kEmptyObject:Object.freeze({}),once($){let Y=!1;return function(...U){if(Y)return;Y=!0,$.apply(this,U)}},createDeferredPromise:function(){let $,Y;return{promise:new Promise((z,Q)=>{$=z,Y=Q}),resolve:$,reject:Y}},promisify($){return new Promise((Y,U)=>{$((z,...Q)=>{if(z)return U(z);return Y(...Q)})})},debuglog(){return function(){}},format:ZT1,inspect:qT1,types:{isAsyncFunction($){return $ instanceof OT1},isArrayBufferView($){return ArrayBuffer.isView($)}},isBlob:NT1,deprecate($,Y){return $},addAbortListener:I0("events").addAbortListener||function(Y,U){if(Y===void 0)throw new _d("signal","AbortSignal",Y);YT0(Y,"signal"),DT1(U,"listener");let z;if(Y.aborted)queueMicrotask(()=>U());else Y.addEventListener("abort",U,{__proto__:null,once:!0,[VT1]:!0}),z=()=>{Y.removeEventListener("abort",U)};return{__proto__:null,[FT1](){var Q;(Q=z)===null||Q===void 0||Q()}}},AbortSignalAny:wT1.any||function(Y){if(Y.length===1)return Y[0];let U=new MT1,z=()=>U.abort();return Y.forEach((Q)=>{YT0(Q,"signals"),Q.addEventListener("abort",z,{once:!0})}),U.signal.addEventListener("abort",()=>{Y.forEach((Q)=>Q.removeEventListener("abort",z))},{once:!0}),U.signal}};vd.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")});var FK=E((s44,XT0)=>{var{ArrayIsArray:Sd,ArrayPrototypeIncludes:JT0,ArrayPrototypeJoin:IT0,ArrayPrototypeMap:AT1,NumberIsInteger:gd,NumberIsNaN:BT1,NumberMAX_SAFE_INTEGER:PT1,NumberMIN_SAFE_INTEGER:TT1,NumberParseInt:jT1,ObjectPrototypeHasOwnProperty:ET1,RegExpPrototypeExec:KT0,String:CT1,StringPrototypeToUpperCase:RT1,StringPrototypeTrim:_T1}=x4(),{hideStackFrames:m$,codes:{ERR_SOCKET_BAD_PORT:vT1,ERR_INVALID_ARG_TYPE:O8,ERR_INVALID_ARG_VALUE:LK,ERR_OUT_OF_RANGE:Fz,ERR_UNKNOWN_SIGNAL:UT0}}=M8(),{normalizeEncoding:hT1}=g8(),{isAsyncFunction:ST1,isArrayBufferView:gT1}=g8().types,zT0={};function yT1($){return $===($|0)}function kT1($){return $===$>>>0}var xT1=/^[0-7]+$/,fT1="must be a 32-bit unsigned integer or an octal string";function uT1($,Y,U){if(typeof $>"u")$=U;if(typeof $==="string"){if(KT0(xT1,$)===null)throw new LK(Y,$,fT1);$=jT1($,8)}return GT0($,Y),$}var bT1=m$(($,Y,U=TT1,z=PT1)=>{if(typeof $!=="number")throw new O8(Y,"number",$);if(!gd($))throw new Fz(Y,"an integer",$);if($z)throw new Fz(Y,`>= ${U} && <= ${z}`,$)}),iT1=m$(($,Y,U=-2147483648,z=2147483647)=>{if(typeof $!=="number")throw new O8(Y,"number",$);if(!gd($))throw new Fz(Y,"an integer",$);if($z)throw new Fz(Y,`>= ${U} && <= ${z}`,$)}),GT0=m$(($,Y,U=!1)=>{if(typeof $!=="number")throw new O8(Y,"number",$);if(!gd($))throw new Fz(Y,"an integer",$);let z=U?1:0,Q=4294967295;if($Q)throw new Fz(Y,`>= ${z} && <= ${Q}`,$)});function yd($,Y){if(typeof $!=="string")throw new O8(Y,"string",$)}function cT1($,Y,U=void 0,z){if(typeof $!=="number")throw new O8(Y,"number",$);if(U!=null&&$z||(U!=null||z!=null)&&BT1($))throw new Fz(Y,`${U!=null?`>= ${U}`:""}${U!=null&&z!=null?" && ":""}${z!=null?`<= ${z}`:""}`,$)}var nT1=m$(($,Y,U)=>{if(!JT0(U,$)){let Q="must be one of: "+IT0(AT1(U,(J)=>typeof J==="string"?`'${J}'`:CT1(J)),", ");throw new LK(Y,$,Q)}});function HT0($,Y){if(typeof $!=="boolean")throw new O8(Y,"boolean",$)}function hd($,Y,U){return $==null||!ET1($,Y)?U:$[Y]}var pT1=m$(($,Y,U=null)=>{let z=hd(U,"allowArray",!1),Q=hd(U,"allowFunction",!1);if(!hd(U,"nullable",!1)&&$===null||!z&&Sd($)||typeof $!=="object"&&(!Q||typeof $!=="function"))throw new O8(Y,"Object",$)}),dT1=m$(($,Y)=>{if($!=null&&typeof $!=="object"&&typeof $!=="function")throw new O8(Y,"a dictionary",$)}),MP=m$(($,Y,U=0)=>{if(!Sd($))throw new O8(Y,"Array",$);if($.length{if(!gT1($))throw new O8(Y,["Buffer","TypedArray","DataView"],$)});function aT1($,Y){let U=hT1(Y),z=$.length;if(U==="hex"&&z%2!==0)throw new LK("encoding",Y,`is invalid for data of length ${z}`)}function tT1($,Y="Port",U=!0){if(typeof $!=="number"&&typeof $!=="string"||typeof $==="string"&&_T1($).length===0||+$!==+$>>>0||$>65535||$===0&&!U)throw new vT1(Y,$,U);return $|0}var WT0=m$(($,Y)=>{if($!==void 0&&($===null||typeof $!=="object"||!("aborted"in $)))throw new O8(Y,"AbortSignal",$)}),eT1=m$(($,Y)=>{if(typeof $!=="function")throw new O8(Y,"Function",$)}),$j1=m$(($,Y)=>{if(typeof $!=="function"||ST1($))throw new O8(Y,"Function",$)}),Yj1=m$(($,Y)=>{if($!==void 0)throw new O8(Y,"undefined",$)});function Uj1($,Y,U){if(!JT0(U,$))throw new O8(Y,`('${IT0(U,"|")}')`,$)}var zj1=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function QT0($,Y){if(typeof $>"u"||!KT0(zj1,$))throw new LK(Y,$,'must be an array or string of format "; rel=preload; as=style"')}function Qj1($){if(typeof $==="string")return QT0($,"hints"),$;else if(Sd($)){let Y=$.length,U="";if(Y===0)return U;for(let z=0;z; rel=preload; as=style"')}XT0.exports={isInt32:yT1,isUint32:kT1,parseFileMode:uT1,validateArray:MP,validateStringArray:mT1,validateBooleanArray:lT1,validateAbortSignalArray:oT1,validateBoolean:HT0,validateBuffer:sT1,validateDictionary:dT1,validateEncoding:aT1,validateFunction:eT1,validateInt32:iT1,validateInteger:bT1,validateNumber:cT1,validateObject:pT1,validateOneOf:nT1,validatePlainFunction:$j1,validatePort:tT1,validateSignalName:rT1,validateString:yd,validateUint32:GT0,validateUndefined:Yj1,validateUnion:Uj1,validateAbortSignal:WT0,validateLinkHeaderValue:Qj1}});var n2=E((a44,ZT0)=>{ZT0.exports=global.process});var j9=E((t44,ET0)=>{var{SymbolAsyncIterator:qT0,SymbolIterator:VT0,SymbolFor:wz}=x4(),LT0=wz("nodejs.stream.destroyed"),FT0=wz("nodejs.stream.errored"),kd=wz("nodejs.stream.readable"),xd=wz("nodejs.stream.writable"),wT0=wz("nodejs.stream.disturbed"),Jj1=wz("nodejs.webstream.isClosedPromise"),Ij1=wz("nodejs.webstream.controllerErrorFunction");function OP($,Y=!1){var U;return!!($&&typeof $.pipe==="function"&&typeof $.on==="function"&&(!Y||typeof $.pause==="function"&&typeof $.resume==="function")&&(!$._writableState||((U=$._readableState)===null||U===void 0?void 0:U.readable)!==!1)&&(!$._writableState||$._readableState))}function NP($){var Y;return!!($&&typeof $.write==="function"&&typeof $.on==="function"&&(!$._readableState||((Y=$._writableState)===null||Y===void 0?void 0:Y.writable)!==!1))}function Kj1($){return!!($&&typeof $.pipe==="function"&&$._readableState&&typeof $.on==="function"&&typeof $.write==="function")}function T9($){return $&&($._readableState||$._writableState||typeof $.write==="function"&&typeof $.on==="function"||typeof $.pipe==="function"&&typeof $.on==="function")}function MT0($){return!!($&&!T9($)&&typeof $.pipeThrough==="function"&&typeof $.getReader==="function"&&typeof $.cancel==="function")}function OT0($){return!!($&&!T9($)&&typeof $.getWriter==="function"&&typeof $.abort==="function")}function NT0($){return!!($&&!T9($)&&typeof $.readable==="object"&&typeof $.writable==="object")}function Gj1($){return MT0($)||OT0($)||NT0($)}function Hj1($,Y){if($==null)return!1;if(Y===!0)return typeof $[qT0]==="function";if(Y===!1)return typeof $[VT0]==="function";return typeof $[qT0]==="function"||typeof $[VT0]==="function"}function DP($){if(!T9($))return null;let{_writableState:Y,_readableState:U}=$,z=Y||U;return!!($.destroyed||$[LT0]||z!==null&&z!==void 0&&z.destroyed)}function DT0($){if(!NP($))return null;if($.writableEnded===!0)return!0;let Y=$._writableState;if(Y!==null&&Y!==void 0&&Y.errored)return!1;if(typeof(Y===null||Y===void 0?void 0:Y.ended)!=="boolean")return null;return Y.ended}function Wj1($,Y){if(!NP($))return null;if($.writableFinished===!0)return!0;let U=$._writableState;if(U!==null&&U!==void 0&&U.errored)return!1;if(typeof(U===null||U===void 0?void 0:U.finished)!=="boolean")return null;return!!(U.finished||Y===!1&&U.ended===!0&&U.length===0)}function Xj1($){if(!OP($))return null;if($.readableEnded===!0)return!0;let Y=$._readableState;if(!Y||Y.errored)return!1;if(typeof(Y===null||Y===void 0?void 0:Y.ended)!=="boolean")return null;return Y.ended}function AT0($,Y){if(!OP($))return null;let U=$._readableState;if(U!==null&&U!==void 0&&U.errored)return!1;if(typeof(U===null||U===void 0?void 0:U.endEmitted)!=="boolean")return null;return!!(U.endEmitted||Y===!1&&U.ended===!0&&U.length===0)}function BT0($){if($&&$[kd]!=null)return $[kd];if(typeof($===null||$===void 0?void 0:$.readable)!=="boolean")return null;if(DP($))return!1;return OP($)&&$.readable&&!AT0($)}function PT0($){if($&&$[xd]!=null)return $[xd];if(typeof($===null||$===void 0?void 0:$.writable)!=="boolean")return null;if(DP($))return!1;return NP($)&&$.writable&&!DT0($)}function Zj1($,Y){if(!T9($))return null;if(DP($))return!0;if((Y===null||Y===void 0?void 0:Y.readable)!==!1&&BT0($))return!1;if((Y===null||Y===void 0?void 0:Y.writable)!==!1&&PT0($))return!1;return!0}function qj1($){var Y,U;if(!T9($))return null;if($.writableErrored)return $.writableErrored;return(Y=(U=$._writableState)===null||U===void 0?void 0:U.errored)!==null&&Y!==void 0?Y:null}function Vj1($){var Y,U;if(!T9($))return null;if($.readableErrored)return $.readableErrored;return(Y=(U=$._readableState)===null||U===void 0?void 0:U.errored)!==null&&Y!==void 0?Y:null}function Lj1($){if(!T9($))return null;if(typeof $.closed==="boolean")return $.closed;let{_writableState:Y,_readableState:U}=$;if(typeof(Y===null||Y===void 0?void 0:Y.closed)==="boolean"||typeof(U===null||U===void 0?void 0:U.closed)==="boolean")return(Y===null||Y===void 0?void 0:Y.closed)||(U===null||U===void 0?void 0:U.closed);if(typeof $._closed==="boolean"&&TT0($))return $._closed;return null}function TT0($){return typeof $._closed==="boolean"&&typeof $._defaultKeepAlive==="boolean"&&typeof $._removedConnection==="boolean"&&typeof $._removedContLen==="boolean"}function jT0($){return typeof $._sent100==="boolean"&&TT0($)}function Fj1($){var Y;return typeof $._consuming==="boolean"&&typeof $._dumped==="boolean"&&((Y=$.req)===null||Y===void 0?void 0:Y.upgradeOrConnect)===void 0}function wj1($){if(!T9($))return null;let{_writableState:Y,_readableState:U}=$,z=Y||U;return!z&&jT0($)||!!(z&&z.autoDestroy&&z.emitClose&&z.closed===!1)}function Mj1($){var Y;return!!($&&((Y=$[wT0])!==null&&Y!==void 0?Y:$.readableDidRead||$.readableAborted))}function Oj1($){var Y,U,z,Q,J,I,K,G,H,W;return!!($&&((Y=(U=(z=(Q=(J=(I=$[FT0])!==null&&I!==void 0?I:$.readableErrored)!==null&&J!==void 0?J:$.writableErrored)!==null&&Q!==void 0?Q:(K=$._readableState)===null||K===void 0?void 0:K.errorEmitted)!==null&&z!==void 0?z:(G=$._writableState)===null||G===void 0?void 0:G.errorEmitted)!==null&&U!==void 0?U:(H=$._readableState)===null||H===void 0?void 0:H.errored)!==null&&Y!==void 0?Y:(W=$._writableState)===null||W===void 0?void 0:W.errored))}ET0.exports={isDestroyed:DP,kIsDestroyed:LT0,isDisturbed:Mj1,kIsDisturbed:wT0,isErrored:Oj1,kIsErrored:FT0,isReadable:BT0,kIsReadable:kd,kIsClosedPromise:Jj1,kControllerErrorFunction:Ij1,kIsWritable:xd,isClosed:Lj1,isDuplexNodeStream:Kj1,isFinished:Zj1,isIterable:Hj1,isReadableNodeStream:OP,isReadableStream:MT0,isReadableEnded:Xj1,isReadableFinished:AT0,isReadableErrored:Vj1,isNodeStream:T9,isWebStream:Gj1,isWritable:PT0,isWritableNodeStream:NP,isWritableStream:OT0,isWritableEnded:DT0,isWritableFinished:Wj1,isWritableErrored:qj1,isServerRequest:Fj1,isServerResponse:jT0,willEmitClose:wj1,isTransformStream:NT0}});var i3=E((e44,cd)=>{var p2=n2(),{AbortError:kT0,codes:Nj1}=M8(),{ERR_INVALID_ARG_TYPE:Dj1,ERR_STREAM_PREMATURE_CLOSE:CT0}=Nj1,{kEmptyObject:ud,once:bd}=g8(),{validateAbortSignal:Aj1,validateFunction:Bj1,validateObject:Pj1,validateBoolean:Tj1}=FK(),{Promise:jj1,PromisePrototypeThen:Ej1,SymbolDispose:xT0}=x4(),{isClosed:Cj1,isReadable:RT0,isReadableNodeStream:fd,isReadableStream:Rj1,isReadableFinished:_T0,isReadableErrored:vT0,isWritable:hT0,isWritableNodeStream:ST0,isWritableStream:_j1,isWritableFinished:gT0,isWritableErrored:yT0,isNodeStream:vj1,willEmitClose:hj1,kIsClosedPromise:Sj1}=j9(),wK;function gj1($){return $.setHeader&&typeof $.abort==="function"}var id=()=>{};function fT0($,Y,U){var z,Q;if(arguments.length===2)U=Y,Y=ud;else if(Y==null)Y=ud;else Pj1(Y,"options");if(Bj1(U,"callback"),Aj1(Y.signal,"options.signal"),U=bd(U),Rj1($)||_j1($))return yj1($,Y,U);if(!vj1($))throw new Dj1("stream",["ReadableStream","WritableStream","Stream"],$);let J=(z=Y.readable)!==null&&z!==void 0?z:fd($),I=(Q=Y.writable)!==null&&Q!==void 0?Q:ST0($),K=$._writableState,G=$._readableState,H=()=>{if(!$.writable)Z()},W=hj1($)&&fd($)===J&&ST0($)===I,X=gT0($,!1),Z=()=>{if(X=!0,$.destroyed)W=!1;if(W&&(!$.readable||J))return;if(!J||q)U.call($)},q=_T0($,!1),V=()=>{if(q=!0,$.destroyed)W=!1;if(W&&(!$.writable||I))return;if(!I||X)U.call($)},F=(P)=>{U.call($,P)},M=Cj1($),w=()=>{M=!0;let P=yT0($)||vT0($);if(P&&typeof P!=="boolean")return U.call($,P);if(J&&!q&&fd($,!0)){if(!_T0($,!1))return U.call($,new CT0)}if(I&&!X){if(!gT0($,!1))return U.call($,new CT0)}U.call($)},N=()=>{M=!0;let P=yT0($)||vT0($);if(P&&typeof P!=="boolean")return U.call($,P);U.call($)},O=()=>{$.req.on("finish",Z)};if(gj1($)){if($.on("complete",Z),!W)$.on("abort",w);if($.req)O();else $.on("request",O)}else if(I&&!K)$.on("end",H),$.on("close",H);if(!W&&typeof $.aborted==="boolean")$.on("aborted",w);if($.on("end",V),$.on("finish",Z),Y.error!==!1)$.on("error",F);if($.on("close",w),M)p2.nextTick(w);else if(K!==null&&K!==void 0&&K.errorEmitted||G!==null&&G!==void 0&&G.errorEmitted){if(!W)p2.nextTick(N)}else if(!J&&(!W||RT0($))&&(X||hT0($)===!1))p2.nextTick(N);else if(!I&&(!W||hT0($))&&(q||RT0($)===!1))p2.nextTick(N);else if(G&&$.req&&$.aborted)p2.nextTick(N);let D=()=>{if(U=id,$.removeListener("aborted",w),$.removeListener("complete",Z),$.removeListener("abort",w),$.removeListener("request",O),$.req)$.req.removeListener("finish",Z);$.removeListener("end",H),$.removeListener("close",H),$.removeListener("finish",Z),$.removeListener("end",V),$.removeListener("error",F),$.removeListener("close",w)};if(Y.signal&&!M){let P=()=>{let T=U;D(),T.call($,new kT0(void 0,{cause:Y.signal.reason}))};if(Y.signal.aborted)p2.nextTick(P);else{wK=wK||g8().addAbortListener;let T=wK(Y.signal,P),A=U;U=bd((...j)=>{T[xT0](),A.apply($,j)})}}return D}function yj1($,Y,U){let z=!1,Q=id;if(Y.signal)if(Q=()=>{z=!0,U.call($,new kT0(void 0,{cause:Y.signal.reason}))},Y.signal.aborted)p2.nextTick(Q);else{wK=wK||g8().addAbortListener;let I=wK(Y.signal,Q),K=U;U=bd((...G)=>{I[xT0](),K.apply($,G)})}let J=(...I)=>{if(!z)p2.nextTick(()=>U.apply($,I))};return Ej1($[Sj1].promise,J,J),id}function kj1($,Y){var U;let z=!1;if(Y===null)Y=ud;if((U=Y)!==null&&U!==void 0&&U.cleanup)Tj1(Y.cleanup,"cleanup"),z=Y.cleanup;return new jj1((Q,J)=>{let I=fT0($,Y,(K)=>{if(z)I();if(K)J(K);else Q()})})}cd.exports=fT0;cd.exports.finished=kj1});var Mz=E(($64,mT0)=>{var E9=n2(),{aggregateTwoErrors:xj1,codes:{ERR_MULTIPLE_CALLBACK:fj1},AbortError:uj1}=M8(),{Symbol:iT0}=x4(),{kIsDestroyed:bj1,isDestroyed:ij1,isFinished:cj1,isServerRequest:nj1}=j9(),cT0=iT0("kDestroy"),nd=iT0("kConstruct");function nT0($,Y,U){if($){if($.stack,Y&&!Y.errored)Y.errored=$;if(U&&!U.errored)U.errored=$}}function pj1($,Y){let U=this._readableState,z=this._writableState,Q=z||U;if(z!==null&&z!==void 0&&z.destroyed||U!==null&&U!==void 0&&U.destroyed){if(typeof Y==="function")Y();return this}if(nT0($,z,U),z)z.destroyed=!0;if(U)U.destroyed=!0;if(!Q.constructed)this.once(cT0,function(J){uT0(this,xj1(J,$),Y)});else uT0(this,$,Y);return this}function uT0($,Y,U){let z=!1;function Q(J){if(z)return;z=!0;let{_readableState:I,_writableState:K}=$;if(nT0(J,K,I),K)K.closed=!0;if(I)I.closed=!0;if(typeof U==="function")U(J);if(J)E9.nextTick(dj1,$,J);else E9.nextTick(pT0,$)}try{$._destroy(Y||null,Q)}catch(J){Q(J)}}function dj1($,Y){pd($,Y),pT0($)}function pT0($){let{_readableState:Y,_writableState:U}=$;if(U)U.closeEmitted=!0;if(Y)Y.closeEmitted=!0;if(U!==null&&U!==void 0&&U.emitClose||Y!==null&&Y!==void 0&&Y.emitClose)$.emit("close")}function pd($,Y){let{_readableState:U,_writableState:z}=$;if(z!==null&&z!==void 0&&z.errorEmitted||U!==null&&U!==void 0&&U.errorEmitted)return;if(z)z.errorEmitted=!0;if(U)U.errorEmitted=!0;$.emit("error",Y)}function mj1(){let $=this._readableState,Y=this._writableState;if($)$.constructed=!0,$.closed=!1,$.closeEmitted=!1,$.destroyed=!1,$.errored=null,$.errorEmitted=!1,$.reading=!1,$.ended=$.readable===!1,$.endEmitted=$.readable===!1;if(Y)Y.constructed=!0,Y.destroyed=!1,Y.closed=!1,Y.closeEmitted=!1,Y.errored=null,Y.errorEmitted=!1,Y.finalCalled=!1,Y.prefinished=!1,Y.ended=Y.writable===!1,Y.ending=Y.writable===!1,Y.finished=Y.writable===!1}function dd($,Y,U){let{_readableState:z,_writableState:Q}=$;if(Q!==null&&Q!==void 0&&Q.destroyed||z!==null&&z!==void 0&&z.destroyed)return this;if(z!==null&&z!==void 0&&z.autoDestroy||Q!==null&&Q!==void 0&&Q.autoDestroy)$.destroy(Y);else if(Y){if(Y.stack,Q&&!Q.errored)Q.errored=Y;if(z&&!z.errored)z.errored=Y;if(U)E9.nextTick(pd,$,Y);else pd($,Y)}}function lj1($,Y){if(typeof $._construct!=="function")return;let{_readableState:U,_writableState:z}=$;if(U)U.constructed=!1;if(z)z.constructed=!1;if($.once(nd,Y),$.listenerCount(nd)>1)return;E9.nextTick(oj1,$)}function oj1($){let Y=!1;function U(z){if(Y){dd($,z!==null&&z!==void 0?z:new fj1);return}Y=!0;let{_readableState:Q,_writableState:J}=$,I=J||Q;if(Q)Q.constructed=!0;if(J)J.constructed=!0;if(I.destroyed)$.emit(cT0,z);else if(z)dd($,z,!0);else E9.nextTick(rj1,$)}try{$._construct((z)=>{E9.nextTick(U,z)})}catch(z){E9.nextTick(U,z)}}function rj1($){$.emit(nd)}function bT0($){return($===null||$===void 0?void 0:$.setHeader)&&typeof $.abort==="function"}function dT0($){$.emit("close")}function sj1($,Y){$.emit("error",Y),E9.nextTick(dT0,$)}function aj1($,Y){if(!$||ij1($))return;if(!Y&&!cj1($))Y=new uj1;if(nj1($))$.socket=null,$.destroy(Y);else if(bT0($))$.abort();else if(bT0($.req))$.req.abort();else if(typeof $.destroy==="function")$.destroy(Y);else if(typeof $.close==="function")$.close();else if(Y)E9.nextTick(sj1,$,Y);else E9.nextTick(dT0,$);if(!$.destroyed)$[bj1]=!0}mT0.exports={construct:lj1,destroyer:aj1,destroy:pj1,undestroy:mj1,errorOrDestroy:dd}});var PP=E((Y64,oT0)=>{var{ArrayIsArray:tj1,ObjectSetPrototypeOf:lT0}=x4(),{EventEmitter:AP}=I0("events");function BP($){AP.call(this,$)}lT0(BP.prototype,AP.prototype);lT0(BP,AP);BP.prototype.pipe=function($,Y){let U=this;function z(W){if($.writable&&$.write(W)===!1&&U.pause)U.pause()}U.on("data",z);function Q(){if(U.readable&&U.resume)U.resume()}if($.on("drain",Q),!$._isStdio&&(!Y||Y.end!==!1))U.on("end",I),U.on("close",K);let J=!1;function I(){if(J)return;J=!0,$.end()}function K(){if(J)return;if(J=!0,typeof $.destroy==="function")$.destroy()}function G(W){if(H(),AP.listenerCount(this,"error")===0)this.emit("error",W)}md(U,"error",G),md($,"error",G);function H(){U.removeListener("data",z),$.removeListener("drain",Q),U.removeListener("end",I),U.removeListener("close",K),U.removeListener("error",G),$.removeListener("error",G),U.removeListener("end",H),U.removeListener("close",H),$.removeListener("close",H)}return U.on("end",H),U.on("close",H),$.on("close",H),$.emit("pipe",U),$};function md($,Y,U){if(typeof $.prependListener==="function")return $.prependListener(Y,U);if(!$._events||!$._events[Y])$.on(Y,U);else if(tj1($._events[Y]))$._events[Y].unshift(U);else $._events[Y]=[U,$._events[Y]]}oT0.exports={Stream:BP,prependListener:md}});var oZ=E((JE1,TP)=>{var{SymbolDispose:ej1}=x4(),{AbortError:rT0,codes:$E1}=M8(),{isNodeStream:sT0,isWebStream:YE1,kControllerErrorFunction:UE1}=j9(),zE1=i3(),{ERR_INVALID_ARG_TYPE:aT0}=$E1,ld,QE1=($,Y)=>{if(typeof $!=="object"||!("aborted"in $))throw new aT0(Y,"AbortSignal",$)};JE1.addAbortSignal=function(Y,U){if(QE1(Y,"signal"),!sT0(U)&&!YE1(U))throw new aT0("stream",["ReadableStream","WritableStream","Stream"],U);return JE1.addAbortSignalNoValidate(Y,U)};JE1.addAbortSignalNoValidate=function($,Y){if(typeof $!=="object"||!("aborted"in $))return Y;let U=sT0(Y)?()=>{Y.destroy(new rT0(void 0,{cause:$.reason}))}:()=>{Y[UE1](new rT0(void 0,{cause:$.reason}))};if($.aborted)U();else{ld=ld||g8().addAbortListener;let z=ld($,U);zE1(Y,z[ej1])}return Y}});var $j0=E((U64,eT0)=>{var{StringPrototypeSlice:tT0,SymbolIterator:GE1,TypedArrayPrototypeSet:jP,Uint8Array:HE1}=x4(),{Buffer:od}=I0("buffer"),{inspect:WE1}=g8();eT0.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(Y){let U={data:Y,next:null};if(this.length>0)this.tail.next=U;else this.head=U;this.tail=U,++this.length}unshift(Y){let U={data:Y,next:this.head};if(this.length===0)this.tail=U;this.head=U,++this.length}shift(){if(this.length===0)return;let Y=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;return--this.length,Y}clear(){this.head=this.tail=null,this.length=0}join(Y){if(this.length===0)return"";let U=this.head,z=""+U.data;while((U=U.next)!==null)z+=Y+U.data;return z}concat(Y){if(this.length===0)return od.alloc(0);let U=od.allocUnsafe(Y>>>0),z=this.head,Q=0;while(z)jP(U,z.data,Q),Q+=z.data.length,z=z.next;return U}consume(Y,U){let z=this.head.data;if(YJ.length)U+=J,Y-=J.length;else{if(Y===J.length)if(U+=J,++Q,z.next)this.head=z.next;else this.head=this.tail=null;else U+=tT0(J,0,Y),this.head=z,z.data=tT0(J,Y);break}++Q}while((z=z.next)!==null);return this.length-=Q,U}_getBuffer(Y){let U=od.allocUnsafe(Y),z=Y,Q=this.head,J=0;do{let I=Q.data;if(Y>I.length)jP(U,I,z-Y),Y-=I.length;else{if(Y===I.length)if(jP(U,I,z-Y),++J,Q.next)this.head=Q.next;else this.head=this.tail=null;else jP(U,new HE1(I.buffer,I.byteOffset,Y),z-Y),this.head=Q,Q.data=I.slice(Y);break}++J}while((Q=Q.next)!==null);return this.length-=J,U}[Symbol.for("nodejs.util.inspect.custom")](Y,U){return WE1(this,{...U,depth:0,customInspect:!1})}}});var rZ=E((z64,Qj0)=>{var{MathFloor:XE1,NumberIsInteger:ZE1}=x4(),{validateInteger:qE1}=FK(),{ERR_INVALID_ARG_VALUE:VE1}=M8().codes,Yj0=16384,Uj0=16;function LE1($,Y,U){return $.highWaterMark!=null?$.highWaterMark:Y?$[U]:null}function zj0($){return $?Uj0:Yj0}function FE1($,Y){if(qE1(Y,"value",0),$)Uj0=Y;else Yj0=Y}function wE1($,Y,U,z){let Q=LE1(Y,z,U);if(Q!=null){if(!ZE1(Q)||Q<0){let J=z?`options.${U}`:"options.highWaterMark";throw new VE1(J,Q)}return XE1(Q)}return zj0($.objectMode)}Qj0.exports={getHighWaterMark:wE1,getDefaultHighWaterMark:zj0,setDefaultHighWaterMark:FE1}});var rd=E((Q64,Gj0)=>{var Jj0=n2(),{PromisePrototypeThen:ME1,SymbolAsyncIterator:Ij0,SymbolIterator:Kj0}=x4(),{Buffer:OE1}=I0("buffer"),{ERR_INVALID_ARG_TYPE:NE1,ERR_STREAM_NULL_VALUES:DE1}=M8().codes;function AE1($,Y,U){let z;if(typeof Y==="string"||Y instanceof OE1)return new $({objectMode:!0,...U,read(){this.push(Y),this.push(null)}});let Q;if(Y&&Y[Ij0])Q=!0,z=Y[Ij0]();else if(Y&&Y[Kj0])Q=!1,z=Y[Kj0]();else throw new NE1("iterable",["Iterable"],Y);let J=new $({objectMode:!0,highWaterMark:1,...U}),I=!1;J._read=function(){if(!I)I=!0,G()},J._destroy=function(H,W){ME1(K(H),()=>Jj0.nextTick(W,H),(X)=>Jj0.nextTick(W,X||H))};async function K(H){let W=H!==void 0&&H!==null,X=typeof z.throw==="function";if(W&&X){let{value:Z,done:q}=await z.throw(H);if(await Z,q)return}if(typeof z.return==="function"){let{value:Z}=await z.return();await Z}}async function G(){for(;;){try{let{value:H,done:W}=Q?await z.next():z.next();if(W)J.push(null);else{let X=H&&typeof H.then==="function"?await H:H;if(X===null)throw I=!1,new DE1;else if(J.push(X))continue;else I=!1}}catch(H){J.destroy(H)}break}}return J}Gj0.exports=AE1});var aZ=E((J64,jj0)=>{var B5=n2(),{ArrayPrototypeIndexOf:BE1,NumberIsInteger:PE1,NumberIsNaN:TE1,NumberParseInt:jE1,ObjectDefineProperties:zm,ObjectKeys:EE1,ObjectSetPrototypeOf:Xj0,Promise:Zj0,SafeSet:CE1,SymbolAsyncDispose:RE1,SymbolAsyncIterator:_E1,Symbol:vE1}=x4();jj0.exports=T1;T1.ReadableState=_P;var{EventEmitter:hE1}=I0("events"),{Stream:d2,prependListener:SE1}=PP(),{Buffer:sd}=I0("buffer"),{addAbortSignal:gE1}=oZ(),qj0=i3(),y1=g8().debuglog("stream",($)=>{y1=$}),yE1=$j0(),NK=Mz(),{getHighWaterMark:kE1,getDefaultHighWaterMark:xE1}=rZ(),{aggregateTwoErrors:Hj0,codes:{ERR_INVALID_ARG_TYPE:fE1,ERR_METHOD_NOT_IMPLEMENTED:uE1,ERR_OUT_OF_RANGE:bE1,ERR_STREAM_PUSH_AFTER_EOF:iE1,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:cE1},AbortError:nE1}=M8(),{validateObject:pE1}=FK(),Oz=vE1("kPaused"),{StringDecoder:Vj0}=AJ(),dE1=rd();Xj0(T1.prototype,d2.prototype);Xj0(T1,d2);var ad=()=>{},{errorOrDestroy:MK}=NK,OK=1,mE1=2,Lj0=4,sZ=8,Fj0=16,EP=32,CP=64,wj0=128,lE1=256,oE1=512,rE1=1024,Ym=2048,Um=4096,sE1=8192,aE1=16384,tE1=32768,Mj0=65536,eE1=131072,$C1=262144;function C6($){return{enumerable:!1,get(){return(this.state&$)!==0},set(Y){if(Y)this.state|=$;else this.state&=~$}}}zm(_P.prototype,{objectMode:C6(OK),ended:C6(mE1),endEmitted:C6(Lj0),reading:C6(sZ),constructed:C6(Fj0),sync:C6(EP),needReadable:C6(CP),emittedReadable:C6(wj0),readableListening:C6(lE1),resumeScheduled:C6(oE1),errorEmitted:C6(rE1),emitClose:C6(Ym),autoDestroy:C6(Um),destroyed:C6(sE1),closed:C6(aE1),closeEmitted:C6(tE1),multiAwaitDrain:C6(Mj0),readingMore:C6(eE1),dataEmitted:C6($C1)});function _P($,Y,U){if(typeof U!=="boolean")U=Y instanceof C9();if(this.state=Ym|Um|Fj0|EP,$&&$.objectMode)this.state|=OK;if(U&&$&&$.readableObjectMode)this.state|=OK;if(this.highWaterMark=$?kE1(this,$,"readableHighWaterMark",U):xE1(!1),this.buffer=new yE1,this.length=0,this.pipes=[],this.flowing=null,this[Oz]=null,$&&$.emitClose===!1)this.state&=~Ym;if($&&$.autoDestroy===!1)this.state&=~Um;if(this.errored=null,this.defaultEncoding=$&&$.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.decoder=null,this.encoding=null,$&&$.encoding)this.decoder=new Vj0($.encoding),this.encoding=$.encoding}function T1($){if(!(this instanceof T1))return new T1($);let Y=this instanceof C9();if(this._readableState=new _P($,this,Y),$){if(typeof $.read==="function")this._read=$.read;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.construct==="function")this._construct=$.construct;if($.signal&&!Y)gE1($.signal,this)}d2.call(this,$),NK.construct(this,()=>{if(this._readableState.needReadable)RP(this,this._readableState)})}T1.prototype.destroy=NK.destroy;T1.prototype._undestroy=NK.undestroy;T1.prototype._destroy=function($,Y){Y($)};T1.prototype[hE1.captureRejectionSymbol]=function($){this.destroy($)};T1.prototype[RE1]=function(){let $;if(!this.destroyed)$=this.readableEnded?null:new nE1,this.destroy($);return new Zj0((Y,U)=>qj0(this,(z)=>z&&z!==$?U(z):Y(null)))};T1.prototype.push=function($,Y){return Oj0(this,$,Y,!1)};T1.prototype.unshift=function($,Y){return Oj0(this,$,Y,!0)};function Oj0($,Y,U,z){y1("readableAddChunk",Y);let Q=$._readableState,J;if((Q.state&OK)===0){if(typeof Y==="string"){if(U=U||Q.defaultEncoding,Q.encoding!==U)if(z&&Q.encoding)Y=sd.from(Y,U).toString(Q.encoding);else Y=sd.from(Y,U),U=""}else if(Y instanceof sd)U="";else if(d2._isUint8Array(Y))Y=d2._uint8ArrayToBuffer(Y),U="";else if(Y!=null)J=new fE1("chunk",["string","Buffer","Uint8Array"],Y)}if(J)MK($,J);else if(Y===null)Q.state&=~sZ,zC1($,Q);else if((Q.state&OK)!==0||Y&&Y.length>0)if(z)if((Q.state&Lj0)!==0)MK($,new cE1);else if(Q.destroyed||Q.errored)return!1;else td($,Q,Y,!0);else if(Q.ended)MK($,new iE1);else if(Q.destroyed||Q.errored)return!1;else if(Q.state&=~sZ,Q.decoder&&!U)if(Y=Q.decoder.write(Y),Q.objectMode||Y.length!==0)td($,Q,Y,!1);else RP($,Q);else td($,Q,Y,!1);else if(!z)Q.state&=~sZ,RP($,Q);return!Q.ended&&(Q.length0){if((Y.state&Mj0)!==0)Y.awaitDrainWriters.clear();else Y.awaitDrainWriters=null;Y.dataEmitted=!0,$.emit("data",U)}else{if(Y.length+=Y.objectMode?1:U.length,z)Y.buffer.unshift(U);else Y.buffer.push(U);if((Y.state&CP)!==0)vP($)}RP($,Y)}T1.prototype.isPaused=function(){let $=this._readableState;return $[Oz]===!0||$.flowing===!1};T1.prototype.setEncoding=function($){let Y=new Vj0($);this._readableState.decoder=Y,this._readableState.encoding=this._readableState.decoder.encoding;let U=this._readableState.buffer,z="";for(let Q of U)z+=Y.write(Q);if(U.clear(),z!=="")U.push(z);return this._readableState.length=z.length,this};var YC1=1073741824;function UC1($){if($>YC1)throw new bE1("size","<= 1GiB",$);else $--,$|=$>>>1,$|=$>>>2,$|=$>>>4,$|=$>>>8,$|=$>>>16,$++;return $}function Wj0($,Y){if($<=0||Y.length===0&&Y.ended)return 0;if((Y.state&OK)!==0)return 1;if(TE1($)){if(Y.flowing&&Y.length)return Y.buffer.first().length;return Y.length}if($<=Y.length)return $;return Y.ended?Y.length:0}T1.prototype.read=function($){if(y1("read",$),$===void 0)$=NaN;else if(!PE1($))$=jE1($,10);let Y=this._readableState,U=$;if($>Y.highWaterMark)Y.highWaterMark=UC1($);if($!==0)Y.state&=~wj0;if($===0&&Y.needReadable&&((Y.highWaterMark!==0?Y.length>=Y.highWaterMark:Y.length>0)||Y.ended)){if(y1("read: emitReadable",Y.length,Y.ended),Y.length===0&&Y.ended)ed(this);else vP(this);return null}if($=Wj0($,Y),$===0&&Y.ended){if(Y.length===0)ed(this);return null}let z=(Y.state&CP)!==0;if(y1("need readable",z),Y.length===0||Y.length-$0)Q=Pj0($,Y);else Q=null;if(Q===null)Y.needReadable=Y.length<=Y.highWaterMark,$=0;else if(Y.length-=$,Y.multiAwaitDrain)Y.awaitDrainWriters.clear();else Y.awaitDrainWriters=null;if(Y.length===0){if(!Y.ended)Y.needReadable=!0;if(U!==$&&Y.ended)ed(this)}if(Q!==null&&!Y.errorEmitted&&!Y.closeEmitted)Y.dataEmitted=!0,this.emit("data",Q);return Q};function zC1($,Y){if(y1("onEofChunk"),Y.ended)return;if(Y.decoder){let U=Y.decoder.end();if(U&&U.length)Y.buffer.push(U),Y.length+=Y.objectMode?1:U.length}if(Y.ended=!0,Y.sync)vP($);else Y.needReadable=!1,Y.emittedReadable=!0,Nj0($)}function vP($){let Y=$._readableState;if(y1("emitReadable",Y.needReadable,Y.emittedReadable),Y.needReadable=!1,!Y.emittedReadable)y1("emitReadable",Y.flowing),Y.emittedReadable=!0,B5.nextTick(Nj0,$)}function Nj0($){let Y=$._readableState;if(y1("emitReadable_",Y.destroyed,Y.length,Y.ended),!Y.destroyed&&!Y.errored&&(Y.length||Y.ended))$.emit("readable"),Y.emittedReadable=!1;Y.needReadable=!Y.flowing&&!Y.ended&&Y.length<=Y.highWaterMark,Aj0($)}function RP($,Y){if(!Y.readingMore&&Y.constructed)Y.readingMore=!0,B5.nextTick(QC1,$,Y)}function QC1($,Y){while(!Y.reading&&!Y.ended&&(Y.length1&&z.pipes.includes($))y1("false write response, pause",z.awaitDrainWriters.size),z.awaitDrainWriters.add($);U.pause()}if(!G)G=JC1(U,$),$.on("drain",G)}U.on("data",Z);function Z(w){y1("ondata");let N=$.write(w);if(y1("dest.write",N),N===!1)X()}function q(w){if(y1("onerror",w),M(),$.removeListener("error",q),$.listenerCount("error")===0){let N=$._writableState||$._readableState;if(N&&!N.errorEmitted)MK($,w);else $.emit("error",w)}}SE1($,"error",q);function V(){$.removeListener("finish",F),M()}$.once("close",V);function F(){y1("onfinish"),$.removeListener("close",V),M()}$.once("finish",F);function M(){y1("unpipe"),U.unpipe($)}if($.emit("pipe",U),$.writableNeedDrain===!0)X();else if(!z.flowing)y1("pipe resume"),U.resume();return $};function JC1($,Y){return function(){let z=$._readableState;if(z.awaitDrainWriters===Y)y1("pipeOnDrain",1),z.awaitDrainWriters=null;else if(z.multiAwaitDrain)y1("pipeOnDrain",z.awaitDrainWriters.size),z.awaitDrainWriters.delete(Y);if((!z.awaitDrainWriters||z.awaitDrainWriters.size===0)&&$.listenerCount("data"))$.resume()}}T1.prototype.unpipe=function($){let Y=this._readableState,U={hasUnpiped:!1};if(Y.pipes.length===0)return this;if(!$){let Q=Y.pipes;Y.pipes=[],this.pause();for(let J=0;J0,z.flowing!==!1)this.resume()}else if($==="readable"){if(!z.endEmitted&&!z.readableListening){if(z.readableListening=z.needReadable=!0,z.flowing=!1,z.emittedReadable=!1,y1("on readable",z.length,z.reading),z.length)vP(this);else if(!z.reading)B5.nextTick(IC1,this)}}return U};T1.prototype.addListener=T1.prototype.on;T1.prototype.removeListener=function($,Y){let U=d2.prototype.removeListener.call(this,$,Y);if($==="readable")B5.nextTick(Dj0,this);return U};T1.prototype.off=T1.prototype.removeListener;T1.prototype.removeAllListeners=function($){let Y=d2.prototype.removeAllListeners.apply(this,arguments);if($==="readable"||$===void 0)B5.nextTick(Dj0,this);return Y};function Dj0($){let Y=$._readableState;if(Y.readableListening=$.listenerCount("readable")>0,Y.resumeScheduled&&Y[Oz]===!1)Y.flowing=!0;else if($.listenerCount("data")>0)$.resume();else if(!Y.readableListening)Y.flowing=null}function IC1($){y1("readable nexttick read 0"),$.read(0)}T1.prototype.resume=function(){let $=this._readableState;if(!$.flowing)y1("resume"),$.flowing=!$.readableListening,KC1(this,$);return $[Oz]=!1,this};function KC1($,Y){if(!Y.resumeScheduled)Y.resumeScheduled=!0,B5.nextTick(GC1,$,Y)}function GC1($,Y){if(y1("resume",Y.reading),!Y.reading)$.read(0);if(Y.resumeScheduled=!1,$.emit("resume"),Aj0($),Y.flowing&&!Y.reading)$.read(0)}T1.prototype.pause=function(){if(y1("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1)y1("pause"),this._readableState.flowing=!1,this.emit("pause");return this._readableState[Oz]=!0,this};function Aj0($){let Y=$._readableState;y1("flow",Y.flowing);while(Y.flowing&&$.read()!==null);}T1.prototype.wrap=function($){let Y=!1;$.on("data",(z)=>{if(!this.push(z)&&$.pause)Y=!0,$.pause()}),$.on("end",()=>{this.push(null)}),$.on("error",(z)=>{MK(this,z)}),$.on("close",()=>{this.destroy()}),$.on("destroy",()=>{this.destroy()}),this._read=()=>{if(Y&&$.resume)Y=!1,$.resume()};let U=EE1($);for(let z=1;z{Q=I?Hj0(Q,I):null,U(),U=ad});try{while(!0){let I=$.destroyed?null:$.read();if(I!==null)yield I;else if(Q)throw Q;else if(Q===null)return;else await new Zj0(z)}}catch(I){throw Q=Hj0(Q,I),Q}finally{if((Q||(Y===null||Y===void 0?void 0:Y.destroyOnReturn)!==!1)&&(Q===void 0||$._readableState.autoDestroy))NK.destroyer($,null);else $.off("readable",z),J()}}zm(T1.prototype,{readable:{__proto__:null,get(){let $=this._readableState;return!!$&&$.readable!==!1&&!$.destroyed&&!$.errorEmitted&&!$.endEmitted},set($){if(this._readableState)this._readableState.readable=!!$}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function($){if(this._readableState)this._readableState.flowing=$}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set($){if(!this._readableState)return;this._readableState.destroyed=$}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}});zm(_P.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[Oz]!==!1},set($){this[Oz]=!!$}}});T1._fromList=Pj0;function Pj0($,Y){if(Y.length===0)return null;let U;if(Y.objectMode)U=Y.buffer.shift();else if(!$||$>=Y.length){if(Y.decoder)U=Y.buffer.join("");else if(Y.buffer.length===1)U=Y.buffer.first();else U=Y.buffer.concat(Y.length);Y.buffer.clear()}else U=Y.buffer.consume($,Y.decoder);return U}function ed($){let Y=$._readableState;if(y1("endReadable",Y.endEmitted),!Y.endEmitted)Y.ended=!0,B5.nextTick(WC1,Y,$)}function WC1($,Y){if(y1("endReadableNT",$.endEmitted,$.length),!$.errored&&!$.closeEmitted&&!$.endEmitted&&$.length===0){if($.endEmitted=!0,Y.emit("end"),Y.writable&&Y.allowHalfOpen===!1)B5.nextTick(XC1,Y);else if($.autoDestroy){let U=Y._writableState;if(!U||U.autoDestroy&&(U.finished||U.writable===!1))Y.destroy()}}}function XC1($){if($.writable&&!$.writableEnded&&!$.destroyed)$.end()}T1.from=function($,Y){return dE1(T1,$,Y)};var $m;function Tj0(){if($m===void 0)$m={};return $m}T1.fromWeb=function($,Y){return Tj0().newStreamReadableFromReadableStream($,Y)};T1.toWeb=function($,Y){return Tj0().newReadableStreamFromStreamReadable($,Y)};T1.wrap=function($,Y){var U,z;return new T1({objectMode:(U=(z=$.readableObjectMode)!==null&&z!==void 0?z:$.objectMode)!==null&&U!==void 0?U:!0,...Y,destroy(Q,J){NK.destroyer($,Q),J(Q)}}).wrap($)}});var kP=E((I64,fj0)=>{var Nz=n2(),{ArrayPrototypeSlice:Rj0,Error:ZC1,FunctionPrototypeSymbolHasInstance:_j0,ObjectDefineProperty:vj0,ObjectDefineProperties:qC1,ObjectSetPrototypeOf:hj0,StringPrototypeToLowerCase:VC1,Symbol:LC1,SymbolHasInstance:FC1}=x4();fj0.exports=l4;l4.WritableState=$q;var{EventEmitter:wC1}=I0("events"),tZ=PP().Stream,{Buffer:hP}=I0("buffer"),yP=Mz(),{addAbortSignal:MC1}=oZ(),{getHighWaterMark:OC1,getDefaultHighWaterMark:NC1}=rZ(),{ERR_INVALID_ARG_TYPE:DC1,ERR_METHOD_NOT_IMPLEMENTED:AC1,ERR_MULTIPLE_CALLBACK:Sj0,ERR_STREAM_CANNOT_PIPE:BC1,ERR_STREAM_DESTROYED:eZ,ERR_STREAM_ALREADY_FINISHED:PC1,ERR_STREAM_NULL_VALUES:TC1,ERR_STREAM_WRITE_AFTER_END:jC1,ERR_UNKNOWN_ENCODING:gj0}=M8().codes,{errorOrDestroy:DK}=yP;hj0(l4.prototype,tZ.prototype);hj0(l4,tZ);function Im(){}var AK=LC1("kOnFinished");function $q($,Y,U){if(typeof U!=="boolean")U=Y instanceof C9();if(this.objectMode=!!($&&$.objectMode),U)this.objectMode=this.objectMode||!!($&&$.writableObjectMode);this.highWaterMark=$?OC1(this,$,"writableHighWaterMark",U):NC1(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let z=!!($&&$.decodeStrings===!1);this.decodeStrings=!z,this.defaultEncoding=$&&$.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=CC1.bind(void 0,Y),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,gP(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!$||$.emitClose!==!1,this.autoDestroy=!$||$.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[AK]=[]}function gP($){$.buffered=[],$.bufferedIndex=0,$.allBuffers=!0,$.allNoop=!0}$q.prototype.getBuffer=function(){return Rj0(this.buffered,this.bufferedIndex)};vj0($q.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function l4($){let Y=this instanceof C9();if(!Y&&!_j0(l4,this))return new l4($);if(this._writableState=new $q($,this,Y),$){if(typeof $.write==="function")this._write=$.write;if(typeof $.writev==="function")this._writev=$.writev;if(typeof $.destroy==="function")this._destroy=$.destroy;if(typeof $.final==="function")this._final=$.final;if(typeof $.construct==="function")this._construct=$.construct;if($.signal)MC1($.signal,this)}tZ.call(this,$),yP.construct(this,()=>{let U=this._writableState;if(!U.writing)Gm(this,U);Hm(this,U)})}vj0(l4,FC1,{__proto__:null,value:function($){if(_j0(this,$))return!0;if(this!==l4)return!1;return $&&$._writableState instanceof $q}});l4.prototype.pipe=function(){DK(this,new BC1)};function yj0($,Y,U,z){let Q=$._writableState;if(typeof U==="function")z=U,U=Q.defaultEncoding;else{if(!U)U=Q.defaultEncoding;else if(U!=="buffer"&&!hP.isEncoding(U))throw new gj0(U);if(typeof z!=="function")z=Im}if(Y===null)throw new TC1;else if(!Q.objectMode)if(typeof Y==="string"){if(Q.decodeStrings!==!1)Y=hP.from(Y,U),U="buffer"}else if(Y instanceof hP)U="buffer";else if(tZ._isUint8Array(Y))Y=tZ._uint8ArrayToBuffer(Y),U="buffer";else throw new DC1("chunk",["string","Buffer","Uint8Array"],Y);let J;if(Q.ending)J=new jC1;else if(Q.destroyed)J=new eZ("write");if(J)return Nz.nextTick(z,J),DK($,J,!0),J;return Q.pendingcb++,EC1($,Q,Y,U,z)}l4.prototype.write=function($,Y,U){return yj0(this,$,Y,U)===!0};l4.prototype.cork=function(){this._writableState.corked++};l4.prototype.uncork=function(){let $=this._writableState;if($.corked){if($.corked--,!$.writing)Gm(this,$)}};l4.prototype.setDefaultEncoding=function(Y){if(typeof Y==="string")Y=VC1(Y);if(!hP.isEncoding(Y))throw new gj0(Y);return this._writableState.defaultEncoding=Y,this};function EC1($,Y,U,z,Q){let J=Y.objectMode?1:U.length;Y.length+=J;let I=Y.lengthU.bufferedIndex)Gm($,U);if(z)if(U.afterWriteTickInfo!==null&&U.afterWriteTickInfo.cb===Q)U.afterWriteTickInfo.count++;else U.afterWriteTickInfo={count:1,cb:Q,stream:$,state:U},Nz.nextTick(RC1,U.afterWriteTickInfo);else kj0($,U,1,Q)}}function RC1({stream:$,state:Y,count:U,cb:z}){return Y.afterWriteTickInfo=null,kj0($,Y,U,z)}function kj0($,Y,U,z){if(!Y.ending&&!$.destroyed&&Y.length===0&&Y.needDrain)Y.needDrain=!1,$.emit("drain");while(U-- >0)Y.pendingcb--,z();if(Y.destroyed)Km(Y);Hm($,Y)}function Km($){if($.writing)return;for(let Q=$.bufferedIndex;Q<$.buffered.length;++Q){var Y;let{chunk:J,callback:I}=$.buffered[Q],K=$.objectMode?1:J.length;$.length-=K,I((Y=$.errored)!==null&&Y!==void 0?Y:new eZ("write"))}let U=$[AK].splice(0);for(let Q=0;Q1&&$._writev){Y.pendingcb-=J-1;let K=Y.allNoop?Im:(H)=>{for(let W=I;W256)U.splice(0,I),Y.bufferedIndex=0;else Y.bufferedIndex=I}Y.bufferProcessing=!1}l4.prototype._write=function($,Y,U){if(this._writev)this._writev([{chunk:$,encoding:Y}],U);else throw new AC1("_write()")};l4.prototype._writev=null;l4.prototype.end=function($,Y,U){let z=this._writableState;if(typeof $==="function")U=$,$=null,Y=null;else if(typeof Y==="function")U=Y,Y=null;let Q;if($!==null&&$!==void 0){let J=yj0(this,$,Y);if(J instanceof ZC1)Q=J}if(z.corked)z.corked=1,this.uncork();if(Q);else if(!z.errored&&!z.ending)z.ending=!0,Hm(this,z,!0),z.ended=!0;else if(z.finished)Q=new PC1("end");else if(z.destroyed)Q=new eZ("end");if(typeof U==="function")if(Q||z.finished)Nz.nextTick(U,Q);else z[AK].push(U);return this};function SP($){return $.ending&&!$.destroyed&&$.constructed&&$.length===0&&!$.errored&&$.buffered.length===0&&!$.finished&&!$.writing&&!$.errorEmitted&&!$.closeEmitted}function _C1($,Y){let U=!1;function z(Q){if(U){DK($,Q!==null&&Q!==void 0?Q:Sj0());return}if(U=!0,Y.pendingcb--,Q){let J=Y[AK].splice(0);for(let I=0;I{if(SP(Q))Jm(z,Q);else Q.pendingcb--},$,Y);else if(SP(Y))Y.pendingcb++,Jm($,Y)}}}function Jm($,Y){Y.pendingcb--,Y.finished=!0;let U=Y[AK].splice(0);for(let z=0;z{var Wm=n2(),SC1=I0("buffer"),{isReadable:gC1,isWritable:yC1,isIterable:uj0,isNodeStream:kC1,isReadableNodeStream:bj0,isWritableNodeStream:ij0,isDuplexNodeStream:xC1,isReadableStream:cj0,isWritableStream:nj0}=j9(),pj0=i3(),{AbortError:sj0,codes:{ERR_INVALID_ARG_TYPE:fC1,ERR_INVALID_RETURN_VALUE:dj0}}=M8(),{destroyer:PK}=Mz(),uC1=C9(),aj0=aZ(),bC1=kP(),{createDeferredPromise:mj0}=g8(),lj0=rd(),oj0=globalThis.Blob||SC1.Blob,iC1=typeof oj0<"u"?function(Y){return Y instanceof oj0}:function(Y){return!1},cC1=globalThis.AbortController||VK().AbortController,{FunctionPrototypeCall:rj0}=x4();class Dz extends uC1{constructor($){super($);if(($===null||$===void 0?void 0:$.readable)===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(($===null||$===void 0?void 0:$.writable)===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}}tj0.exports=function $(Y,U){if(xC1(Y))return Y;if(bj0(Y))return BK({readable:Y});if(ij0(Y))return BK({writable:Y});if(kC1(Y))return BK({writable:!1,readable:!1});if(cj0(Y))return BK({readable:aj0.fromWeb(Y)});if(nj0(Y))return BK({writable:bC1.fromWeb(Y)});if(typeof Y==="function"){let{value:Q,write:J,final:I,destroy:K}=nC1(Y);if(uj0(Q))return lj0(Dz,Q,{objectMode:!0,write:J,final:I,destroy:K});let G=Q===null||Q===void 0?void 0:Q.then;if(typeof G==="function"){let H,W=rj0(G,Q,(X)=>{if(X!=null)throw new dj0("nully","body",X)},(X)=>{PK(H,X)});return H=new Dz({objectMode:!0,readable:!1,write:J,final(X){I(async()=>{try{await W,Wm.nextTick(X,null)}catch(Z){Wm.nextTick(X,Z)}})},destroy:K})}throw new dj0("Iterable, AsyncIterable or AsyncFunction",U,Q)}if(iC1(Y))return $(Y.arrayBuffer());if(uj0(Y))return lj0(Dz,Y,{objectMode:!0,writable:!1});if(cj0(Y===null||Y===void 0?void 0:Y.readable)&&nj0(Y===null||Y===void 0?void 0:Y.writable))return Dz.fromWeb(Y);if(typeof(Y===null||Y===void 0?void 0:Y.writable)==="object"||typeof(Y===null||Y===void 0?void 0:Y.readable)==="object"){let Q=Y!==null&&Y!==void 0&&Y.readable?bj0(Y===null||Y===void 0?void 0:Y.readable)?Y===null||Y===void 0?void 0:Y.readable:$(Y.readable):void 0,J=Y!==null&&Y!==void 0&&Y.writable?ij0(Y===null||Y===void 0?void 0:Y.writable)?Y===null||Y===void 0?void 0:Y.writable:$(Y.writable):void 0;return BK({readable:Q,writable:J})}let z=Y===null||Y===void 0?void 0:Y.then;if(typeof z==="function"){let Q;return rj0(z,Y,(J)=>{if(J!=null)Q.push(J);Q.push(null)},(J)=>{PK(Q,J)}),Q=new Dz({objectMode:!0,writable:!1,read(){}})}throw new fC1(U,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],Y)};function nC1($){let{promise:Y,resolve:U}=mj0(),z=new cC1,Q=z.signal;return{value:$(async function*(){while(!0){let I=Y;Y=null;let{chunk:K,done:G,cb:H}=await I;if(Wm.nextTick(H),G)return;if(Q.aborted)throw new sj0(void 0,{cause:Q.reason});({promise:Y,resolve:U}=mj0()),yield K}}(),{signal:Q}),write(I,K,G){let H=U;U=null,H({chunk:I,done:!1,cb:G})},final(I){let K=U;U=null,K({done:!0,cb:I})},destroy(I,K){z.abort(),K(I)}}}function BK($){let Y=$.readable&&typeof $.readable.read!=="function"?aj0.wrap($.readable):$.readable,U=$.writable,z=!!gC1(Y),Q=!!yC1(U),J,I,K,G,H;function W(X){let Z=G;if(G=null,Z)Z(X);else if(X)H.destroy(X)}if(H=new Dz({readableObjectMode:!!(Y!==null&&Y!==void 0&&Y.readableObjectMode),writableObjectMode:!!(U!==null&&U!==void 0&&U.writableObjectMode),readable:z,writable:Q}),Q)pj0(U,(X)=>{if(Q=!1,X)PK(Y,X);W(X)}),H._write=function(X,Z,q){if(U.write(X,Z))q();else J=q},H._final=function(X){U.end(),I=X},U.on("drain",function(){if(J){let X=J;J=null,X()}}),U.on("finish",function(){if(I){let X=I;I=null,X()}});if(z)pj0(Y,(X)=>{if(z=!1,X)PK(Y,X);W(X)}),Y.on("readable",function(){if(K){let X=K;K=null,X()}}),Y.on("end",function(){H.push(null)}),H._read=function(){while(!0){let X=Y.read();if(X===null){K=H._read;return}if(!H.push(X))return}};return H._destroy=function(X,Z){if(!X&&G!==null)X=new sj0;if(K=null,J=null,I=null,G===null)Z(X);else G=Z,PK(U,X),PK(Y,X)},H}});var C9=E((G64,UE0)=>{var{ObjectDefineProperties:pC1,ObjectGetOwnPropertyDescriptor:c3,ObjectKeys:dC1,ObjectSetPrototypeOf:$E0}=x4();UE0.exports=P5;var qm=aZ(),l$=kP();$E0(P5.prototype,qm.prototype);$E0(P5,qm);{let $=dC1(l$.prototype);for(let Y=0;Y<$.length;Y++){let U=$[Y];if(!P5.prototype[U])P5.prototype[U]=l$.prototype[U]}}function P5($){if(!(this instanceof P5))return new P5($);if(qm.call(this,$),l$.call(this,$),$){if(this.allowHalfOpen=$.allowHalfOpen!==!1,$.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if($.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}pC1(P5.prototype,{writable:{__proto__:null,...c3(l$.prototype,"writable")},writableHighWaterMark:{__proto__:null,...c3(l$.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...c3(l$.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...c3(l$.prototype,"writableBuffer")},writableLength:{__proto__:null,...c3(l$.prototype,"writableLength")},writableFinished:{__proto__:null,...c3(l$.prototype,"writableFinished")},writableCorked:{__proto__:null,...c3(l$.prototype,"writableCorked")},writableEnded:{__proto__:null,...c3(l$.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...c3(l$.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set($){if(this._readableState&&this._writableState)this._readableState.destroyed=$,this._writableState.destroyed=$}}});var Xm;function YE0(){if(Xm===void 0)Xm={};return Xm}P5.fromWeb=function($,Y){return YE0().newStreamDuplexFromReadableWritablePair($,Y)};P5.toWeb=function($){return YE0().newReadableWritablePairFromDuplex($)};var Zm;P5.from=function($){if(!Zm)Zm=ej0();return Zm($,"body")}});var Fm=E((H64,QE0)=>{var{ObjectSetPrototypeOf:zE0,Symbol:mC1}=x4();QE0.exports=n3;var{ERR_METHOD_NOT_IMPLEMENTED:lC1}=M8().codes,Lm=C9(),{getHighWaterMark:oC1}=rZ();zE0(n3.prototype,Lm.prototype);zE0(n3,Lm);var Yq=mC1("kCallback");function n3($){if(!(this instanceof n3))return new n3($);let Y=$?oC1(this,$,"readableHighWaterMark",!0):null;if(Y===0)$={...$,highWaterMark:null,readableHighWaterMark:Y,writableHighWaterMark:$.writableHighWaterMark||0};if(Lm.call(this,$),this._readableState.sync=!1,this[Yq]=null,$){if(typeof $.transform==="function")this._transform=$.transform;if(typeof $.flush==="function")this._flush=$.flush}this.on("prefinish",rC1)}function Vm($){if(typeof this._flush==="function"&&!this.destroyed)this._flush((Y,U)=>{if(Y){if($)$(Y);else this.destroy(Y);return}if(U!=null)this.push(U);if(this.push(null),$)$()});else if(this.push(null),$)$()}function rC1(){if(this._final!==Vm)Vm.call(this)}n3.prototype._final=Vm;n3.prototype._transform=function($,Y,U){throw new lC1("_transform()")};n3.prototype._write=function($,Y,U){let z=this._readableState,Q=this._writableState,J=z.length;this._transform($,Y,(I,K)=>{if(I){U(I);return}if(K!=null)this.push(K);if(Q.ended||J===z.length||z.length{var{ObjectSetPrototypeOf:JE0}=x4();IE0.exports=TK;var wm=Fm();JE0(TK.prototype,wm.prototype);JE0(TK,wm);function TK($){if(!(this instanceof TK))return new TK($);wm.call(this,$)}TK.prototype._transform=function($,Y,U){U(null,$)}});var bP=E((X64,XE0)=>{var Uq=n2(),{ArrayIsArray:sC1,Promise:aC1,SymbolAsyncIterator:tC1,SymbolDispose:eC1}=x4(),uP=i3(),{once:$R1}=g8(),YR1=Mz(),KE0=C9(),{aggregateTwoErrors:UR1,codes:{ERR_INVALID_ARG_TYPE:Em,ERR_INVALID_RETURN_VALUE:Om,ERR_MISSING_ARGS:zR1,ERR_STREAM_DESTROYED:QR1,ERR_STREAM_PREMATURE_CLOSE:JR1},AbortError:IR1}=M8(),{validateFunction:KR1,validateAbortSignal:GR1}=FK(),{isIterable:Az,isReadable:Nm,isReadableNodeStream:fP,isNodeStream:GE0,isTransformStream:jK,isWebStream:HR1,isReadableStream:Dm,isReadableFinished:WR1}=j9(),XR1=globalThis.AbortController||VK().AbortController,Am,Bm,Pm;function HE0($,Y,U){let z=!1;$.on("close",()=>{z=!0});let Q=uP($,{readable:Y,writable:U},(J)=>{z=!J});return{destroy:(J)=>{if(z)return;z=!0,YR1.destroyer($,J||new QR1("pipe"))},cleanup:Q}}function ZR1($){return KR1($[$.length-1],"streams[stream.length - 1]"),$.pop()}function Tm($){if(Az($))return $;else if(fP($))return qR1($);throw new Em("val",["Readable","Iterable","AsyncIterable"],$)}async function*qR1($){if(!Bm)Bm=aZ();yield*Bm.prototype[tC1].call($)}async function xP($,Y,U,{end:z}){let Q,J=null,I=(H)=>{if(H)Q=H;if(J){let W=J;J=null,W()}},K=()=>new aC1((H,W)=>{if(Q)W(Q);else J=()=>{if(Q)W(Q);else H()}});Y.on("drain",I);let G=uP(Y,{readable:!1},I);try{if(Y.writableNeedDrain)await K();for await(let H of $)if(!Y.write(H))await K();if(z)Y.end(),await K();U()}catch(H){U(Q!==H?UR1(Q,H):H)}finally{G(),Y.off("drain",I)}}async function jm($,Y,U,{end:z}){if(jK(Y))Y=Y.writable;let Q=Y.getWriter();try{for await(let J of $)await Q.ready,Q.write(J).catch(()=>{});if(await Q.ready,z)await Q.close();U()}catch(J){try{await Q.abort(J),U(J)}catch(I){U(I)}}}function VR1(...$){return WE0($,$R1(ZR1($)))}function WE0($,Y,U){if($.length===1&&sC1($[0]))$=$[0];if($.length<2)throw new zR1("streams");let z=new XR1,Q=z.signal,J=U===null||U===void 0?void 0:U.signal,I=[];GR1(J,"options.signal");function K(){V(new IR1)}Pm=Pm||g8().addAbortListener;let G;if(J)G=Pm(J,K);let H,W,X=[],Z=0;function q(O){V(O,--Z===0)}function V(O,D){var P;if(O&&(!H||H.code==="ERR_STREAM_PREMATURE_CLOSE"))H=O;if(!H&&!D)return;while(X.length)X.shift()(H);if((P=G)===null||P===void 0||P[eC1](),z.abort(),D){if(!H)I.forEach((T)=>T());Uq.nextTick(Y,H,W)}}let F;for(let O=0;O<$.length;O++){let D=$[O],P=O<$.length-1,T=O>0,A=P||(U===null||U===void 0?void 0:U.end)!==!1,j=O===$.length-1;if(GE0(D)){let C=function(b){if(b&&b.name!=="AbortError"&&b.code!=="ERR_STREAM_PREMATURE_CLOSE")q(b)};var N=C;if(A){let{destroy:b,cleanup:x}=HE0(D,P,T);if(X.push(b),Nm(D)&&j)I.push(x)}if(D.on("error",C),Nm(D)&&j)I.push(()=>{D.removeListener("error",C)})}if(O===0)if(typeof D==="function"){if(F=D({signal:Q}),!Az(F))throw new Om("Iterable, AsyncIterable or Stream","source",F)}else if(Az(D)||fP(D)||jK(D))F=D;else F=KE0.from(D);else if(typeof D==="function"){if(jK(F)){var M;F=Tm((M=F)===null||M===void 0?void 0:M.readable)}else F=Tm(F);if(F=D(F,{signal:Q}),P){if(!Az(F,!0))throw new Om("AsyncIterable",`transform[${O-1}]`,F)}else{var w;if(!Am)Am=Mm();let C=new Am({objectMode:!0}),b=(w=F)===null||w===void 0?void 0:w.then;if(typeof b==="function")Z++,b.call(F,(i)=>{if(W=i,i!=null)C.write(i);if(A)C.end();Uq.nextTick(q)},(i)=>{C.destroy(i),Uq.nextTick(q,i)});else if(Az(F,!0))Z++,xP(F,C,q,{end:A});else if(Dm(F)||jK(F)){let i=F.readable||F;Z++,xP(i,C,q,{end:A})}else throw new Om("AsyncIterable or Promise","destination",F);F=C;let{destroy:x,cleanup:S}=HE0(F,!1,!0);if(X.push(x),j)I.push(S)}}else if(GE0(D)){if(fP(F)){Z+=2;let C=LR1(F,D,q,{end:A});if(Nm(D)&&j)I.push(C)}else if(jK(F)||Dm(F)){let C=F.readable||F;Z++,xP(C,D,q,{end:A})}else if(Az(F))Z++,xP(F,D,q,{end:A});else throw new Em("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],F);F=D}else if(HR1(D)){if(fP(F))Z++,jm(Tm(F),D,q,{end:A});else if(Dm(F)||Az(F))Z++,jm(F,D,q,{end:A});else if(jK(F))Z++,jm(F.readable,D,q,{end:A});else throw new Em("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],F);F=D}else F=KE0.from(D)}if(Q!==null&&Q!==void 0&&Q.aborted||J!==null&&J!==void 0&&J.aborted)Uq.nextTick(K);return F}function LR1($,Y,U,{end:z}){let Q=!1;if(Y.on("close",()=>{if(!Q)U(new JR1)}),$.pipe(Y,{end:!1}),z){let I=function(){Q=!0,Y.end()};var J=I;if(WR1($))Uq.nextTick(I);else $.once("end",I)}else U();return uP($,{readable:!0,writable:!1},(I)=>{let K=$._readableState;if(I&&I.code==="ERR_STREAM_PREMATURE_CLOSE"&&K&&K.ended&&!K.errored&&!K.errorEmitted)$.once("end",U).once("error",U);else U(I)}),uP(Y,{readable:!1,writable:!0},U)}XE0.exports={pipelineImpl:WE0,pipeline:VR1}});var Rm=E((Z64,wE0)=>{var{pipeline:FR1}=bP(),iP=C9(),{destroyer:wR1}=Mz(),{isNodeStream:cP,isReadable:ZE0,isWritable:qE0,isWebStream:Cm,isTransformStream:Bz,isWritableStream:VE0,isReadableStream:LE0}=j9(),{AbortError:MR1,codes:{ERR_INVALID_ARG_VALUE:FE0,ERR_MISSING_ARGS:OR1}}=M8(),NR1=i3();wE0.exports=function(...Y){if(Y.length===0)throw new OR1("streams");if(Y.length===1)return iP.from(Y[0]);let U=[...Y];if(typeof Y[0]==="function")Y[0]=iP.from(Y[0]);if(typeof Y[Y.length-1]==="function"){let q=Y.length-1;Y[q]=iP.from(Y[q])}for(let q=0;q0&&!(qE0(Y[q])||VE0(Y[q])||Bz(Y[q])))throw new FE0(`streams[${q}]`,U[q],"must be writable")}let z,Q,J,I,K;function G(q){let V=I;if(I=null,V)V(q);else if(q)K.destroy(q);else if(!Z&&!X)K.destroy()}let H=Y[0],W=FR1(Y,G),X=!!(qE0(H)||VE0(H)||Bz(H)),Z=!!(ZE0(W)||LE0(W)||Bz(W));if(K=new iP({writableObjectMode:!!(H!==null&&H!==void 0&&H.writableObjectMode),readableObjectMode:!!(W!==null&&W!==void 0&&W.readableObjectMode),writable:X,readable:Z}),X){if(cP(H))K._write=function(V,F,M){if(H.write(V,F))M();else z=M},K._final=function(V){H.end(),Q=V},H.on("drain",function(){if(z){let V=z;z=null,V()}});else if(Cm(H)){let F=(Bz(H)?H.writable:H).getWriter();K._write=async function(M,w,N){try{await F.ready,F.write(M).catch(()=>{}),N()}catch(O){N(O)}},K._final=async function(M){try{await F.ready,F.close().catch(()=>{}),Q=M}catch(w){M(w)}}}let q=Bz(W)?W.readable:W;NR1(q,()=>{if(Q){let V=Q;Q=null,V()}})}if(Z){if(cP(W))W.on("readable",function(){if(J){let q=J;J=null,q()}}),W.on("end",function(){K.push(null)}),K._read=function(){while(!0){let q=W.read();if(q===null){J=K._read;return}if(!K.push(q))return}};else if(Cm(W)){let V=(Bz(W)?W.readable:W).getReader();K._read=async function(){while(!0)try{let{value:F,done:M}=await V.read();if(!K.push(F))return;if(M){K.push(null);return}}catch{return}}}}return K._destroy=function(q,V){if(!q&&I!==null)q=new MR1;if(J=null,z=null,Q=null,I===null)V(q);else if(I=V,cP(W))wR1(W,q)},K}});var CE0=E((oR1,vm)=>{var DR1=globalThis.AbortController||VK().AbortController,{codes:{ERR_INVALID_ARG_VALUE:AR1,ERR_INVALID_ARG_TYPE:zq,ERR_MISSING_ARGS:BR1,ERR_OUT_OF_RANGE:PR1},AbortError:R9}=M8(),{validateAbortSignal:Pz,validateInteger:ME0,validateObject:Tz}=FK(),TR1=x4().Symbol("kWeak"),jR1=x4().Symbol("kResistStopPropagation"),{finished:ER1}=i3(),CR1=Rm(),{addAbortSignalNoValidate:RR1}=oZ(),{isWritable:_R1,isNodeStream:vR1}=j9(),{deprecate:hR1}=g8(),{ArrayPrototypePush:SR1,Boolean:gR1,MathFloor:OE0,Number:yR1,NumberIsNaN:kR1,Promise:NE0,PromiseReject:DE0,PromiseResolve:xR1,PromisePrototypeThen:AE0,Symbol:PE0}=x4(),nP=PE0("kEmpty"),BE0=PE0("kEof");function fR1($,Y){if(Y!=null)Tz(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)Pz(Y.signal,"options.signal");if(vR1($)&&!_R1($))throw new AR1("stream",$,"must be writable");let U=CR1(this,$);if(Y!==null&&Y!==void 0&&Y.signal)RR1(Y.signal,U);return U}function pP($,Y){if(typeof $!=="function")throw new zq("fn",["Function","AsyncFunction"],$);if(Y!=null)Tz(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)Pz(Y.signal,"options.signal");let U=1;if((Y===null||Y===void 0?void 0:Y.concurrency)!=null)U=OE0(Y.concurrency);let z=U-1;if((Y===null||Y===void 0?void 0:Y.highWaterMark)!=null)z=OE0(Y.highWaterMark);return ME0(U,"options.concurrency",1),ME0(z,"options.highWaterMark",0),z+=U,async function*(){let J=g8().AbortSignalAny([Y===null||Y===void 0?void 0:Y.signal].filter(gR1)),I=this,K=[],G={signal:J},H,W,X=!1,Z=0;function q(){X=!0,V()}function V(){Z-=1,F()}function F(){if(W&&!X&&Z=z||Z>=U))await new NE0((N)=>{W=N})}K.push(BE0)}catch(w){let N=DE0(w);AE0(N,V,q),K.push(N)}finally{if(X=!0,H)H(),H=null}}M();try{while(!0){while(K.length>0){let w=await K[0];if(w===BE0)return;if(J.aborted)throw new R9;if(w!==nP)yield w;K.shift(),F()}await new NE0((w)=>{H=w})}}finally{if(X=!0,W)W(),W=null}}.call(this)}function uR1($=void 0){if($!=null)Tz($,"options");if(($===null||$===void 0?void 0:$.signal)!=null)Pz($.signal,"options.signal");return async function*(){let U=0;for await(let Q of this){var z;if($!==null&&$!==void 0&&(z=$.signal)!==null&&z!==void 0&&z.aborted)throw new R9({cause:$.signal.reason});yield[U++,Q]}}.call(this)}async function TE0($,Y=void 0){for await(let U of _m.call(this,$,Y))return!0;return!1}async function bR1($,Y=void 0){if(typeof $!=="function")throw new zq("fn",["Function","AsyncFunction"],$);return!await TE0.call(this,async(...U)=>{return!await $(...U)},Y)}async function iR1($,Y){for await(let U of _m.call(this,$,Y))return U;return}async function cR1($,Y){if(typeof $!=="function")throw new zq("fn",["Function","AsyncFunction"],$);async function U(z,Q){return await $(z,Q),nP}for await(let z of pP.call(this,U,Y));}function _m($,Y){if(typeof $!=="function")throw new zq("fn",["Function","AsyncFunction"],$);async function U(z,Q){if(await $(z,Q))return z;return nP}return pP.call(this,U,Y)}class jE0 extends BR1{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function nR1($,Y,U){var z;if(typeof $!=="function")throw new zq("reducer",["Function","AsyncFunction"],$);if(U!=null)Tz(U,"options");if((U===null||U===void 0?void 0:U.signal)!=null)Pz(U.signal,"options.signal");let Q=arguments.length>1;if(U!==null&&U!==void 0&&(z=U.signal)!==null&&z!==void 0&&z.aborted){let H=new R9(void 0,{cause:U.signal.reason});throw this.once("error",()=>{}),await ER1(this.destroy(H)),H}let J=new DR1,I=J.signal;if(U!==null&&U!==void 0&&U.signal){let H={once:!0,[TR1]:this,[jR1]:!0};U.signal.addEventListener("abort",()=>J.abort(),H)}let K=!1;try{for await(let H of this){var G;if(K=!0,U!==null&&U!==void 0&&(G=U.signal)!==null&&G!==void 0&&G.aborted)throw new R9;if(!Q)Y=H,Q=!0;else Y=await $(Y,H,{signal:I})}if(!K&&!Q)throw new jE0}finally{J.abort()}return Y}async function pR1($){if($!=null)Tz($,"options");if(($===null||$===void 0?void 0:$.signal)!=null)Pz($.signal,"options.signal");let Y=[];for await(let z of this){var U;if($!==null&&$!==void 0&&(U=$.signal)!==null&&U!==void 0&&U.aborted)throw new R9(void 0,{cause:$.signal.reason});SR1(Y,z)}return Y}function dR1($,Y){let U=pP.call(this,$,Y);return async function*(){for await(let Q of U)yield*Q}.call(this)}function EE0($){if($=yR1($),kR1($))return 0;if($<0)throw new PR1("number",">= 0",$);return $}function mR1($,Y=void 0){if(Y!=null)Tz(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)Pz(Y.signal,"options.signal");return $=EE0($),async function*(){var z;if(Y!==null&&Y!==void 0&&(z=Y.signal)!==null&&z!==void 0&&z.aborted)throw new R9;for await(let J of this){var Q;if(Y!==null&&Y!==void 0&&(Q=Y.signal)!==null&&Q!==void 0&&Q.aborted)throw new R9;if($--<=0)yield J}}.call(this)}function lR1($,Y=void 0){if(Y!=null)Tz(Y,"options");if((Y===null||Y===void 0?void 0:Y.signal)!=null)Pz(Y.signal,"options.signal");return $=EE0($),async function*(){var z;if(Y!==null&&Y!==void 0&&(z=Y.signal)!==null&&z!==void 0&&z.aborted)throw new R9;for await(let J of this){var Q;if(Y!==null&&Y!==void 0&&(Q=Y.signal)!==null&&Q!==void 0&&Q.aborted)throw new R9;if($-- >0)yield J;if($<=0)return}}.call(this)}oR1.streamReturningOperators={asIndexedPairs:hR1(uR1,"readable.asIndexedPairs will be removed in a future version."),drop:mR1,filter:_m,flatMap:dR1,map:pP,take:lR1,compose:fR1};oR1.promiseReturningOperators={every:bR1,forEach:cR1,reduce:nR1,toArray:pR1,some:TE0,find:iR1}});var hm=E((q64,RE0)=>{var{ArrayPrototypePop:aR1,Promise:tR1}=x4(),{isIterable:eR1,isNodeStream:$_1,isWebStream:Y_1}=j9(),{pipelineImpl:U_1}=bP(),{finished:z_1}=i3();Sm();function Q_1(...$){return new tR1((Y,U)=>{let z,Q,J=$[$.length-1];if(J&&typeof J==="object"&&!$_1(J)&&!eR1(J)&&!Y_1(J)){let I=aR1($);z=I.signal,Q=I.end}U_1($,(I,K)=>{if(I)U(I);else Y(K)},{signal:z,end:Q})})}RE0.exports={finished:z_1,pipeline:Q_1}});var Sm=E((V64,fE0)=>{var{Buffer:J_1}=I0("buffer"),{ObjectDefineProperty:p3,ObjectKeys:hE0,ReflectApply:SE0}=x4(),{promisify:{custom:gE0}}=g8(),{streamReturningOperators:_E0,promiseReturningOperators:vE0}=CE0(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:yE0}}=M8(),I_1=Rm(),{setDefaultHighWaterMark:K_1,getDefaultHighWaterMark:G_1}=rZ(),{pipeline:kE0}=bP(),{destroyer:H_1}=Mz(),xE0=i3(),gm=hm(),Qq=j9(),h4=fE0.exports=PP().Stream;h4.isDestroyed=Qq.isDestroyed;h4.isDisturbed=Qq.isDisturbed;h4.isErrored=Qq.isErrored;h4.isReadable=Qq.isReadable;h4.isWritable=Qq.isWritable;h4.Readable=aZ();for(let $ of hE0(_E0)){let U=function(...z){if(new.target)throw yE0();return h4.Readable.from(SE0(Y,this,z))},Y=_E0[$];p3(U,"name",{__proto__:null,value:Y.name}),p3(U,"length",{__proto__:null,value:Y.length}),p3(h4.Readable.prototype,$,{__proto__:null,value:U,enumerable:!1,configurable:!0,writable:!0})}for(let $ of hE0(vE0)){let U=function(...z){if(new.target)throw yE0();return SE0(Y,this,z)},Y=vE0[$];p3(U,"name",{__proto__:null,value:Y.name}),p3(U,"length",{__proto__:null,value:Y.length}),p3(h4.Readable.prototype,$,{__proto__:null,value:U,enumerable:!1,configurable:!0,writable:!0})}h4.Writable=kP();h4.Duplex=C9();h4.Transform=Fm();h4.PassThrough=Mm();h4.pipeline=kE0;var{addAbortSignal:W_1}=oZ();h4.addAbortSignal=W_1;h4.finished=xE0;h4.destroy=H_1;h4.compose=I_1;h4.setDefaultHighWaterMark=K_1;h4.getDefaultHighWaterMark=G_1;p3(h4,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return gm}});p3(kE0,gE0,{__proto__:null,enumerable:!0,get(){return gm.pipeline}});p3(xE0,gE0,{__proto__:null,enumerable:!0,get(){return gm.finished}});h4.Stream=h4;h4._isUint8Array=function(Y){return Y instanceof Uint8Array};h4._uint8ArrayToBuffer=function(Y){return J_1.from(Y.buffer,Y.byteOffset,Y.byteLength)}});var jz=E((L64,h1)=>{var R6=I0("stream");if(R6&&process.env.READABLE_STREAM==="disable"){let $=R6.promises;h1.exports._uint8ArrayToBuffer=R6._uint8ArrayToBuffer,h1.exports._isUint8Array=R6._isUint8Array,h1.exports.isDisturbed=R6.isDisturbed,h1.exports.isErrored=R6.isErrored,h1.exports.isReadable=R6.isReadable,h1.exports.Readable=R6.Readable,h1.exports.Writable=R6.Writable,h1.exports.Duplex=R6.Duplex,h1.exports.Transform=R6.Transform,h1.exports.PassThrough=R6.PassThrough,h1.exports.addAbortSignal=R6.addAbortSignal,h1.exports.finished=R6.finished,h1.exports.destroy=R6.destroy,h1.exports.pipeline=R6.pipeline,h1.exports.compose=R6.compose,Object.defineProperty(R6,"promises",{configurable:!0,enumerable:!0,get(){return $}}),h1.exports.Stream=R6.Stream}else{let $=Sm(),Y=hm(),U=$.Readable.destroy;h1.exports=$.Readable,h1.exports._uint8ArrayToBuffer=$._uint8ArrayToBuffer,h1.exports._isUint8Array=$._isUint8Array,h1.exports.isDisturbed=$.isDisturbed,h1.exports.isErrored=$.isErrored,h1.exports.isReadable=$.isReadable,h1.exports.Readable=$.Readable,h1.exports.Writable=$.Writable,h1.exports.Duplex=$.Duplex,h1.exports.Transform=$.Transform,h1.exports.PassThrough=$.PassThrough,h1.exports.addAbortSignal=$.addAbortSignal,h1.exports.finished=$.finished,h1.exports.destroy=$.destroy,h1.exports.destroy=U,h1.exports.pipeline=$.pipeline,h1.exports.compose=$.compose,Object.defineProperty($,"promises",{configurable:!0,enumerable:!0,get(){return Y}}),h1.exports.Stream=$.Stream}h1.exports.default=h1.exports});function iE0($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $}function cE0($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(i2($))return $.pipe(new bE0.PassThrough);return $}function nE0($){return uE0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")}function ym($){return $.slice(-1)!=="/"?$+"/":$}var uE0,bE0;var dP=m(()=>{uE0=J6(RU(),1),bE0=J6(jz(),1)});import{createReadStream as X_1,lstat as Z_1,readlinkSync as q_1,Stats as V_1}from"fs";import{dirname as L_1,relative as F_1,resolve as w_1}from"path";var pE0,xm,dE0,M_1,km,mP;var mE0=m(()=>{vP0();hP0();dP();pE0=J6(hD(),1),xm=J6(Lu(),1),dE0=J6(jz(),1),{ReaddirGlob:M_1}=Td,km=process.platform==="win32";mP=class mP extends dE0.Transform{_supportsDirectory=!1;_supportsSymlink=!1;constructor($){$={highWaterMark:1048576,statConcurrency:4,...$};super($);this.options=$,this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=xm.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=xm.queue(this._onStatQueueTask.bind(this),$.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]}_abort(){if(this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle())this._shutdown()}_append($,Y){Y=Y||{};let U={source:null,filepath:$};if(!Y.name)Y.name=$;if(Y.sourcePath=$,U.data=Y,this._entriesCount++,Y.stats&&Y.stats instanceof V_1){if(U=this._updateQueueTaskWithStats(U,Y.stats),U){if(Y.stats.size)this._fsEntriesTotalBytes+=Y.stats.size;this._queue.push(U)}}else this._statQueue.push(U)}_finalize(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0}_maybeFinalize(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return!1;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())return this._finalize(),!0;return!1}_moduleAppend($,Y,U){if(this._state.aborted){U();return}this._module.append($,Y,function(z){if(this._task=null,this._state.aborted){this._shutdown();return}if(z){this.emit("error",z),setImmediate(U);return}if(this.emit("entry",Y),this._entriesProcessedCount++,Y.stats&&Y.stats.size)this._fsEntriesProcessedBytes+=Y.stats.size;this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(U)}.bind(this))}_moduleFinalize(){if(typeof this._module.finalize==="function")this._module.finalize();else if(typeof this._module.end==="function")this._module.end();else this.emit("error",new H6("NOENDMETHOD"))}_modulePipe(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0}_moduleUnpipe(){this._module.unpipe(this),this._state.modulePiped=!1}_normalizeEntryData($,Y){if($={type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1,...$},Y&&$.stats===!1)$.stats=Y;let U=$.type==="directory";if($.name){if(typeof $.prefix==="string"&&$.prefix!=="")$.name=$.prefix+"/"+$.name,$.prefix=null;if($.name=nE0($.name),$.type!=="symlink"&&$.name.slice(-1)==="/")U=!0,$.type="directory";else if(U)$.name+="/"}if(typeof $.mode==="number")if(km)$.mode&=511;else $.mode&=4095;else if($.stats&&$.mode===null){if(km)$.mode=$.stats.mode&511;else $.mode=$.stats.mode&4095;if(km&&U)$.mode=493}else if($.mode===null)$.mode=U?493:420;if($.stats&&$.date===null)$.date=$.stats.mtime;else $.date=iE0($.date);return $}_onModuleError($){this.emit("error",$)}_onQueueDrain(){if(this._state.finalizing||this._state.finalized||this._state.aborted)return;if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize()}_onQueueTask($,Y){let U=()=>{if($.data.callback)$.data.callback();Y()};if(this._state.finalizing||this._state.finalized||this._state.aborted){U();return}this._task=$,this._moduleAppend($.source,$.data,U)}_onStatQueueTask($,Y){if(this._state.finalizing||this._state.finalized||this._state.aborted){Y();return}Z_1($.filepath,function(U,z){if(this._state.aborted){setImmediate(Y);return}if(U){this._entriesCount--,this.emit("warning",U),setImmediate(Y);return}if($=this._updateQueueTaskWithStats($,z),$){if(z.size)this._fsEntriesTotalBytes+=z.size;this._queue.push($)}setImmediate(Y)}.bind(this))}_shutdown(){this._moduleUnpipe(),this.end()}_transform($,Y,U){if($)this._pointer+=$.length;U(null,$)}_updateQueueTaskWithStats($,Y){if(Y.isFile())$.data.type="file",$.data.sourceType="stream",$.source=new pE0.Readable(function(){return X_1($.filepath)});else if(Y.isDirectory()&&this._supportsDirectory)$.data.name=ym($.data.name),$.data.type="directory",$.data.sourcePath=ym($.filepath),$.data.sourceType="buffer",$.source=Buffer.concat([]);else if(Y.isSymbolicLink()&&this._supportsSymlink){let U=q_1($.filepath),z=L_1($.filepath);$.data.type="symlink",$.data.linkname=F_1(z,w_1(z,U)),$.data.sourceType="buffer",$.source=Buffer.concat([])}else{if(Y.isDirectory())this.emit("warning",new H6("DIRECTORYNOTSUPPORTED",$.data));else if(Y.isSymbolicLink())this.emit("warning",new H6("SYMLINKNOTSUPPORTED",$.data));else this.emit("warning",new H6("ENTRYNOTSUPPORTED",$.data));return null}return $.data=this._normalizeEntryData($.data,Y),$}abort(){if(this._state.aborted||this._state.finalized)return this;return this._abort(),this}append($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new H6("QUEUECLOSED")),this;if(Y=this._normalizeEntryData(Y),typeof Y.name!=="string"||Y.name.length===0)return this.emit("error",new H6("ENTRYNAMEREQUIRED")),this;if(Y.type==="directory"&&!this._supportsDirectory)return this.emit("error",new H6("DIRECTORYNOTSUPPORTED",{name:Y.name})),this;if($=cE0($),Buffer.isBuffer($))Y.sourceType="buffer";else if(i2($))Y.sourceType="stream";else return this.emit("error",new H6("INPUTSTEAMBUFFERREQUIRED",{name:Y.name})),this;return this._entriesCount++,this._queue.push({data:Y,source:$}),this}directory($,Y,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new H6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new H6("DIRECTORYDIRPATHREQUIRED")),this;if(this._pending++,Y===!1)Y="";else if(typeof Y!=="string")Y=$;var z=!1;if(typeof U==="function")z=U,U={};else if(typeof U!=="object")U={};var Q={stat:!0,dot:!0};function J(){this._pending--,this._maybeFinalize()}function I(H){this.emit("error",H)}function K(H){G.pause();let W=!1,X=Object.assign({},U);X.name=H.relative,X.prefix=Y,X.stats=H.stat,X.callback=G.resume.bind(G);try{if(z){if(X=z(X),X===!1)W=!0;else if(typeof X!=="object")throw new H6("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:$})}}catch(Z){this.emit("error",Z);return}if(W){G.resume();return}this._append(H.absolute,X)}let G=Td($,Q);return G.on("error",I.bind(this)),G.on("match",K.bind(this)),G.on("end",J.bind(this)),this}file($,Y){if(this._state.finalize||this._state.aborted)return this.emit("error",new H6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new H6("FILEFILEPATHREQUIRED")),this;return this._append($,Y),this}glob($,Y,U){this._pending++,Y={stat:!0,pattern:$,...Y};function z(){this._pending--,this._maybeFinalize()}function Q(K){this.emit("error",K)}function J(K){I.pause();let G=Object.assign({},U);G.callback=I.resume.bind(I),G.stats=K.stat,G.name=K.relative,this._append(K.absolute,G)}let I=new M_1(Y.cwd||".",Y);return I.on("error",Q.bind(this)),I.on("match",J.bind(this)),I.on("end",z.bind(this)),this}finalize(){if(this._state.aborted){var $=new H6("ABORTED");return this.emit("error",$),Promise.reject($)}if(this._state.finalize){var Y=new H6("FINALIZING");return this.emit("error",Y),Promise.reject(Y)}if(this._state.finalize=!0,this._pending===0&&this._queue.idle()&&this._statQueue.idle())this._finalize();var U=this;return new Promise(function(z,Q){var J;U._module.on("end",function(){if(!J)z()}),U._module.on("error",function(I){J=!0,Q(I)})})}symlink($,Y,U){if(this._state.finalize||this._state.aborted)return this.emit("error",new H6("QUEUECLOSED")),this;if(typeof $!=="string"||$.length===0)return this.emit("error",new H6("SYMLINKFILEPATHREQUIRED")),this;if(typeof Y!=="string"||Y.length===0)return this.emit("error",new H6("SYMLINKTARGETREQUIRED",{filepath:$})),this;if(!this._supportsSymlink)return this.emit("error",new H6("SYMLINKNOTSUPPORTED",{filepath:$})),this;var z={};if(z.type="symlink",z.name=$.replace(/\\/g,"/"),z.linkname=Y.replace(/\\/g,"/"),z.sourceType="buffer",typeof U==="number")z.mode=U;return this._entriesCount++,this._queue.push({data:z,source:Buffer.concat([])}),this}pointer(){return this._pointer}}});class Ez{getName(){}getSize(){}getLastModifiedDate(){}isDirectory(){}}function lE0($,Y){Y=Y||!1;var U=Y?$.getFullYear():$.getUTCFullYear();if(U<1980)return 2162688;else if(U>=2044)return 2141175677;var z={year:U,month:Y?$.getMonth():$.getUTCMonth(),date:Y?$.getDate():$.getUTCDate(),hours:Y?$.getHours():$.getUTCHours(),minutes:Y?$.getMinutes():$.getUTCMinutes(),seconds:Y?$.getSeconds():$.getUTCSeconds()};return z.year-1980<<25|z.month+1<<21|z.date<<16|z.hours<<11|z.minutes<<5|z.seconds/2}function oE0($){return new Date(($>>25&127)+1980,($>>21&15)-1,$>>16&31,$>>11&31,$>>5&63,($&31)<<1)}function o$($){var Y=Buffer.alloc(8);return Y.writeUInt32LE($%4294967296,0),Y.writeUInt32LE($/4294967296|0,4),Y}function W6($){var Y=Buffer.alloc(2);return Y.writeUInt16LE(($&65535)>>>0,0),Y}function rE0($,Y){return $.readUInt16LE(Y)}function o4($){var Y=Buffer.alloc(4);return Y.writeUInt32LE(($&4294967295)>>>0,0),Y}var lP=()=>{};class Cz{constructor(){return this.descriptor=!1,this.encryption=!1,this.utf8=!1,this.numberOfShannonFanoTrees=0,this.strongEncryption=!1,this.slidingDictionarySize=0,this}encode(){return W6((this.descriptor?sE0:0)|(this.utf8?eE0:0)|(this.encryption?aE0:0)|(this.strongEncryption?tE0:0))}static parse($,Y){var U=rE0($,Y),z=new Cz;return z.useDataDescriptor((U&sE0)!==0),z.useUTF8ForNames((U&eE0)!==0),z.useStrongEncryption((U&tE0)!==0),z.useEncryption((U&aE0)!==0),z.setSlidingDictionarySize((U&N_1)!==0?8192:4096),z.setNumberOfShannonFanoTrees((U&O_1)!==0?3:2),z}setNumberOfShannonFanoTrees($){this.numberOfShannonFanoTrees=$}getNumberOfShannonFanoTrees(){return this.numberOfShannonFanoTrees}setSlidingDictionarySize($){this.slidingDictionarySize=$}getSlidingDictionarySize(){return this.slidingDictionarySize}useDataDescriptor($){this.descriptor=$}usesDataDescriptor(){return this.descriptor}useEncryption($){this.encryption=$}usesEncryption(){return this.encryption}useStrongEncryption($){this.strongEncryption=$}usesStrongEncryption(){return this.strongEncryption}useUTF8ForNames($){this.utf8=$}usesUTF8ForNames(){return this.utf8}}var sE0=8,aE0=1,O_1=4,N_1=2,tE0=64,eE0=2048;var fm=m(()=>{lP()});var um;var $C0=m(()=>{um={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}});var YC0,UC0=65535,bm=16,oP,Rz,zC0=10,im=20,Jq=45,QC0=45,rP=0,Iq=8,cm=3,JC0=0,IC0=67324752,KC0=134695760,GC0=33639248,HC0=101010256,WC0=101075792,XC0=117853008,nm=65535,r$=4294967295,ZC0=1,qC0=1,VC0=4095,LC0=16384,FC0=32768,wC0=32,MC0=16;var pm=m(()=>{YC0=Buffer.alloc(0),oP=Buffer.from(Array(2)),Rz=Buffer.from(Array(4))});var OC0,EK;var dm=m(()=>{fm();$C0();pm();lP();OC0=J6(RU(),1);EK=class EK extends Ez{constructor($){super();if(this.platform=JC0,this.method=-1,this.name=null,this.size=0,this.csize=0,this.gpb=new Cz,this.crc=0,this.time=-1,this.minver=zC0,this.mode=-1,this.extra=null,this.exattr=0,this.inattr=0,this.comment=null,$)this.setName($)}getCentralDirectoryExtra(){return this.getExtra()}getComment(){return this.comment!==null?this.comment:""}getCompressedSize(){return this.csize}getCrc(){return this.crc}getExternalAttributes=function(){return this.exattr};getExtra(){return this.extra!==null?this.extra:YC0}getGeneralPurposeBit(){return this.gpb}getInternalAttributes(){return this.inattr}getLastModifiedDate(){return this.getTime()}getLocalFileDataExtra(){return this.getExtra()}getMethod(){return this.method}getName(){return this.name}getPlatform(){return this.platform}getSize(){return this.size}getTime(){return this.time!==-1?oE0(this.time):-1}getTimeDos(){return this.time!==-1?this.time:0}getUnixMode(){return this.platform!==cm?0:this.getExternalAttributes()>>bm&UC0}getVersionNeededToExtract(){return this.minver}setComment($){if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.comment=$}setCompressedSize($){if($<0)throw Error("invalid entry compressed size");this.csize=$}setCrc($){if($<0)throw Error("invalid entry crc32");this.crc=$}setExternalAttributes($){this.exattr=$>>>0}setExtra($){this.extra=$}setGeneralPurposeBit($){if(!($ instanceof Cz))throw Error("invalid entry GeneralPurposeBit");this.gpb=$}setInternalAttributes($){this.inattr=$}setMethod($){if($<0)throw Error("invalid entry compression method");this.method=$}setName($,Y=!1){if($=OC0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,""),Y)$=`/${$}`;if(Buffer.byteLength($)!==$.length)this.getGeneralPurposeBit().useUTF8ForNames(!0);this.name=$}setPlatform($){this.platform=$}setSize($){if($<0)throw Error("invalid entry size");this.size=$}setTime($,Y){if(!($ instanceof Date))throw Error("invalid entry time");this.time=lE0($,Y)}setUnixMode($){$|=this.isDirectory()?LC0:FC0;var Y=0;Y|=$<r$||this.size>r$}}});function DC0($){if($===null)return Buffer.alloc(0);else if(typeof $==="string")return Buffer.from($);else if(i2($)&&!$._readableState){var Y=new NC0.PassThrough;return $.pipe(Y),Y}return $}var NC0;var AC0=m(()=>{NC0=J6(jz(),1)});var BC0,Kq;var mm=m(()=>{AC0();BC0=J6(jz(),1);Kq=class Kq extends BC0.Transform{constructor($){super($);this.offset=0,this._archive={finish:!1,finished:!1,processing:!1}}_appendBuffer($,Y,U){}_appendStream($,Y,U){}_emitErrorCallback=function($){if($)this.emit("error",$)};_finish($){}_normalizeEntry($){}_transform($,Y,U){U(null,$)}entry($,Y,U){if(Y=Y||null,typeof U!=="function")U=this._emitErrorCallback.bind(this);if(!($ instanceof Ez)){U(Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){U(Error("unacceptable entry after finish"));return}if(this._archive.processing){U(Error("already processing an entry"));return}if(this._archive.processing=!0,this._normalizeEntry($),this._entry=$,Y=DC0(Y),Buffer.isBuffer(Y))this._appendBuffer($,Y,U);else if(i2(Y))this._appendStream($,Y,U);else{this._archive.processing=!1,U(Error("input source must be valid Stream or Buffer instance"));return}return this}finish(){if(this._archive.processing){this._archive.finish=!0;return}this._finish()}getBytesWritten(){return this.offset}write($,Y){if($)this.offset+=$.length;return super.write($,Y)}}});var PC0,TC0,Gq;var jC0=m(()=>{PC0=J6(jz(),1),TC0=J6(OI(),1);Gq=class Gq extends PC0.Transform{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0}_transform($,Y,U){if($)this.checksum=TC0.default.buf($,this.checksum)>>>0,this.rawSize+=$.length;U(null,$)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}});import{DeflateRaw as D_1}from"zlib";var EC0,Hq;var CC0=m(()=>{EC0=J6(OI(),1);Hq=class Hq extends D_1{constructor($){super($);this.checksum=Buffer.allocUnsafe(4),this.checksum.writeInt32BE(0,0),this.rawSize=0,this.compressedSize=0}push($,Y){if($)this.compressedSize+=$.length;return super.push($,Y)}_transform($,Y,U){if($)this.checksum=EC0.default.buf($,this.checksum)>>>0,this.rawSize+=$.length;super._transform($,Y,U)}digest($){let Y=Buffer.allocUnsafe(4);return Y.writeUInt32BE(this.checksum>>>0,0),$?Y.toString($):Y}hex(){return this.digest("hex").toUpperCase()}size($=!1){if($)return this.compressedSize;else return this.rawSize}}});var RC0=m(()=>{jC0();CC0()});function A_1($){if(typeof $!=="object")$={};if(typeof $.zlib!=="object")$.zlib={};if(typeof $.zlib.level!=="number")$.zlib.level=qC0;return $.forceZip64=!!$.forceZip64,$.forceLocalTime=!!$.forceLocalTime,$}var _C0,Wq;var vC0=m(()=>{RC0();mm();dm();fm();pm();lP();_C0=J6(OI(),1);Wq=class Wq extends Kq{constructor($){let Y=A_1($);super(Y);this.options=Y,this._entry=null,this._entries=[],this._archive={centralLength:0,centralOffset:0,comment:"",finish:!1,finished:!1,processing:!1,forceZip64:Y.forceZip64,forceLocalTime:Y.forceLocalTime}}_afterAppend($){if(this._entries.push($),$.getGeneralPurposeBit().usesDataDescriptor())this._writeDataDescriptor($);if(this._archive.processing=!1,this._entry=null,this._archive.finish&&!this._archive.finished)this._finish()}_appendBuffer($,Y,U){if(Y.length===0)$.setMethod(rP);var z=$.getMethod();if(z===rP)$.setSize(Y.length),$.setCompressedSize(Y.length),$.setCrc(_C0.default.buf(Y)>>>0);if(this._writeLocalFileHeader($),z===rP){this.write(Y),this._afterAppend($),U(null,$);return}else if(z===Iq){this._smartStream($,U).end(Y);return}else{U(Error("compression method "+z+" not implemented"));return}}_appendStream($,Y,U){$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(im),this._writeLocalFileHeader($);var z=this._smartStream($,U);Y.once("error",function(Q){z.emit("error",Q),z.end()}),Y.pipe(z)}_finish(){if(this._archive.centralOffset=this.offset,this._entries.forEach(function($){this._writeCentralFileHeader($)}.bind(this)),this._archive.centralLength=this.offset-this._archive.centralOffset,this.isZip64())this._writeCentralDirectoryZip64();this._writeCentralDirectoryEnd(),this._archive.processing=!1,this._archive.finish=!0,this._archive.finished=!0,this.end()}_normalizeEntry($){if($.getMethod()===-1)$.setMethod(Iq);if($.getMethod()===Iq)$.getGeneralPurposeBit().useDataDescriptor(!0),$.setVersionNeededToExtract(im);if($.getTime()===-1)$.setTime(new Date,this._archive.forceLocalTime);$._offsets={file:0,data:0,contents:0}}_smartStream($,Y){var U=$.getMethod()===Iq,z=U?new Hq(this.options.zlib):new Gq,Q=null;function J(){var I=z.digest().readUInt32BE(0);$.setCrc(I),$.setSize(z.size()),$.setCompressedSize(z.size(!0)),this._afterAppend($),Y(Q,$)}return z.once("end",J.bind(this)),z.once("error",function(I){Q=I}),z.pipe(this,{end:!1}),z}_writeCentralDirectoryEnd(){var $=this._entries.length,Y=this._archive.centralLength,U=this._archive.centralOffset;if(this.isZip64())$=nm,Y=r$,U=r$;this.write(o4(HC0)),this.write(oP),this.write(oP),this.write(W6($)),this.write(W6($)),this.write(o4(Y)),this.write(o4(U));var z=this.getComment(),Q=Buffer.byteLength(z);this.write(W6(Q)),this.write(z)}_writeCentralDirectoryZip64(){this.write(o4(WC0)),this.write(o$(44)),this.write(W6(Jq)),this.write(W6(Jq)),this.write(Rz),this.write(Rz),this.write(o$(this._entries.length)),this.write(o$(this._entries.length)),this.write(o$(this._archive.centralLength)),this.write(o$(this._archive.centralOffset)),this.write(o4(XC0)),this.write(Rz),this.write(o$(this._archive.centralOffset+this._archive.centralLength)),this.write(o4(1))}_writeCentralFileHeader($){var Y=$.getGeneralPurposeBit(),U=$.getMethod(),z=$._offsets.file,Q=$.getSize(),J=$.getCompressedSize();if($.isZip64()||z>r$){Q=r$,J=r$,z=r$,$.setVersionNeededToExtract(Jq);var I=Buffer.concat([W6(ZC0),W6(24),o$($.getSize()),o$($.getCompressedSize()),o$($._offsets.file)],28);$.setExtra(I)}this.write(o4(GC0)),this.write(W6($.getPlatform()<<8|QC0)),this.write(W6($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(W6(U)),this.write(o4($.getTimeDos())),this.write(o4($.getCrc())),this.write(o4(J)),this.write(o4(Q));var K=$.getName(),G=$.getComment(),H=$.getCentralDirectoryExtra();if(Y.usesUTF8ForNames())K=Buffer.from(K),G=Buffer.from(G);this.write(W6(K.length)),this.write(W6(H.length)),this.write(W6(G.length)),this.write(oP),this.write(W6($.getInternalAttributes())),this.write(o4($.getExternalAttributes())),this.write(o4(z)),this.write(K),this.write(H),this.write(G)}_writeDataDescriptor($){if(this.write(o4(KC0)),this.write(o4($.getCrc())),$.isZip64())this.write(o$($.getCompressedSize())),this.write(o$($.getSize()));else this.write(o4($.getCompressedSize())),this.write(o4($.getSize()))}_writeLocalFileHeader($){var Y=$.getGeneralPurposeBit(),U=$.getMethod(),z=$.getName(),Q=$.getLocalFileDataExtra();if($.isZip64())Y.useDataDescriptor(!0),$.setVersionNeededToExtract(Jq);if(Y.usesUTF8ForNames())z=Buffer.from(z);if($._offsets.file=this.offset,this.write(o4(IC0)),this.write(W6($.getVersionNeededToExtract())),this.write(Y.encode()),this.write(W6(U)),this.write(o4($.getTimeDos())),$._offsets.data=this.offset,Y.usesDataDescriptor())this.write(Rz),this.write(Rz),this.write(Rz);else this.write(o4($.getCrc())),this.write(o4($.getCompressedSize())),this.write(o4($.getSize()));this.write(W6(z.length)),this.write(W6(Q.length)),this.write(z),this.write(Q),$._offsets.contents=this.offset}getComment($){return this._archive.comment!==null?this._archive.comment:""}isZip64(){return this._archive.forceZip64||this._entries.length>nm||this._archive.centralLength>r$||this._archive.centralOffset>r$}setComment($){this._archive.comment=$}}});var hC0=m(()=>{dm();mm();vC0()});function gC0($){if($=$||new Date,$ instanceof Date)$=$;else if(typeof $==="string")$=new Date($);else $=new Date;return $}function yC0($){return SC0.default($,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")}var SC0;var kC0=m(()=>{SC0=J6(RU(),1)});var sP;var xC0=m(()=>{hC0();kC0();sP=class sP extends Wq{constructor($){if($=$||{},$.zlib=$.zlib||{},typeof $.level==="number"&&$.level>=0)$.zlib.level=$.level,delete $.level;if(!$.forceZip64&&typeof $.zlib.level==="number"&&$.zlib.level===0)$.store=!0;$.namePrependSlash=$.namePrependSlash||!1;super($);if($.comment&&$.comment.length>0)this.setComment($.comment)}_normalizeFileData($){$={type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:"",...$};let Y=$.type==="directory",U=$.type==="symlink";if($.name){if($.name=yC0($.name),!U&&$.name.slice(-1)==="/")Y=!0,$.type="directory";else if(Y)$.name+="/"}if(Y||U)$.store=!0;return $.date=gC0($.date),$}entry($,Y,U){if(typeof U!=="function")U=this._emitErrorCallback.bind(this);if(Y=this._normalizeFileData(Y),Y.type!=="file"&&Y.type!=="directory"&&Y.type!=="symlink"){U(Error(Y.type+" entries not currently supported"));return}if(typeof Y.name!=="string"||Y.name.length===0){U(Error("entry name must be a non-empty string value"));return}if(Y.type==="symlink"&&typeof Y.linkname!=="string"){U(Error("entry linkname must be a non-empty string value when type equals symlink"));return}let z=new EK(Y.name);if(z.setTime(Y.date,this.options.forceLocalTime),Y.namePrependSlash)z.setName(Y.name,!0);if(Y.store)z.setMethod(0);if(Y.comment.length>0)z.setComment(Y.comment);if(Y.type==="symlink"&&typeof Y.mode!=="number")Y.mode=40960;if(typeof Y.mode==="number"){if(Y.type==="symlink")Y.mode|=40960;z.setUnixMode(Y.mode)}if(Y.type==="symlink"&&typeof Y.linkname==="string")$=Buffer.from(Y.linkname);return super.entry(z,$,U)}finalize(){this.finish()}}});class aP{constructor($){$=this.options={comment:"",forceUTC:!1,namePrependSlash:!1,store:!1,...$},this.engine=new sP($)}append($,Y,U){this.engine.entry($,Y,U)}finalize(){this.engine.finalize()}on(){return this.engine.on.apply(this.engine,arguments)}pipe(){return this.engine.pipe.apply(this.engine,arguments)}unpipe(){return this.engine.unpipe.apply(this.engine,arguments)}}var fC0=m(()=>{xC0()});var bC0=E((R84,uC0)=>{uC0.exports=class{constructor(Y){if(!(Y>0)||(Y-1&Y)!==0)throw Error("Max size for a FixedFIFO should be a power of two");this.buffer=Array(Y),this.mask=Y-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(Y){if(this.buffer[this.top]!==void 0)return!1;return this.buffer[this.top]=Y,this.top=this.top+1&this.mask,!0}shift(){let Y=this.buffer[this.btm];if(Y===void 0)return;return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,Y}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===void 0}}});var lm=E((_84,cC0)=>{var iC0=bC0();cC0.exports=class{constructor(Y){this.hwm=Y||16,this.head=new iC0(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(Y){if(this.length++,!this.head.push(Y)){let U=this.head;this.head=U.next=new iC0(2*this.head.buffer.length),this.head.push(Y)}}shift(){if(this.length!==0)this.length--;let Y=this.tail.shift();if(Y===void 0&&this.tail.next){let U=this.tail.next;return this.tail.next=null,this.tail=U,this.tail.shift()}return Y}peek(){let Y=this.tail.peek();if(Y===void 0&&this.tail.next)return this.tail.next.peek();return Y}isEmpty(){return this.length===0}}});var CK=E((v84,nC0)=>{function B_1($){return Buffer.isBuffer($)||$ instanceof Uint8Array}function P_1($){return Buffer.isEncoding($)}function T_1($,Y,U){return Buffer.alloc($,Y,U)}function j_1($){return Buffer.allocUnsafe($)}function E_1($){return Buffer.allocUnsafeSlow($)}function C_1($,Y){return Buffer.byteLength($,Y)}function R_1($,Y){return Buffer.compare($,Y)}function __1($,Y){return Buffer.concat($,Y)}function v_1($,Y,U,z,Q){return W4($).copy(Y,U,z,Q)}function h_1($,Y){return W4($).equals(Y)}function S_1($,Y,U,z,Q){return W4($).fill(Y,U,z,Q)}function g_1($,Y,U){return Buffer.from($,Y,U)}function y_1($,Y,U,z){return W4($).includes(Y,U,z)}function k_1($,Y,U,z){return W4($).indexOf(Y,U,z)}function x_1($,Y,U,z){return W4($).lastIndexOf(Y,U,z)}function f_1($){return W4($).swap16()}function u_1($){return W4($).swap32()}function b_1($){return W4($).swap64()}function W4($){if(Buffer.isBuffer($))return $;return Buffer.from($.buffer,$.byteOffset,$.byteLength)}function i_1($,Y,U,z){return W4($).toString(Y,U,z)}function c_1($,Y,U){return W4($).toString("hex",Y,U)}function n_1($,Y,U,z,Q){return W4($).write(Y,U,z,Q)}function p_1($,Y){return W4($).readDoubleBE(Y)}function d_1($,Y){return W4($).readDoubleLE(Y)}function m_1($,Y){return W4($).readFloatBE(Y)}function l_1($,Y){return W4($).readFloatLE(Y)}function o_1($,Y){return W4($).readInt32BE(Y)}function r_1($,Y){return W4($).readInt32LE(Y)}function s_1($,Y){return W4($).readUInt32BE(Y)}function a_1($,Y){return W4($).readUInt32LE(Y)}function t_1($,Y,U){return W4($).writeDoubleBE(Y,U)}function e_1($,Y,U){return W4($).writeDoubleLE(Y,U)}function $v1($,Y,U){return W4($).writeFloatBE(Y,U)}function Yv1($,Y,U){return W4($).writeFloatLE(Y,U)}function Uv1($,Y,U){return W4($).writeInt32BE(Y,U)}function zv1($,Y,U){return W4($).writeInt32LE(Y,U)}function Qv1($,Y,U){return W4($).writeUInt32BE(Y,U)}function Jv1($,Y,U){return W4($).writeUInt32LE(Y,U)}nC0.exports={isBuffer:B_1,isEncoding:P_1,alloc:T_1,allocUnsafe:j_1,allocUnsafeSlow:E_1,byteLength:C_1,compare:R_1,concat:__1,copy:v_1,equals:h_1,fill:S_1,from:g_1,includes:y_1,indexOf:k_1,lastIndexOf:x_1,swap16:f_1,swap32:u_1,swap64:b_1,toBuffer:W4,toString:i_1,toHex:c_1,write:n_1,readDoubleBE:p_1,readDoubleLE:d_1,readFloatBE:m_1,readFloatLE:l_1,readInt32BE:o_1,readInt32LE:r_1,readUInt32BE:s_1,readUInt32LE:a_1,writeDoubleBE:t_1,writeDoubleLE:e_1,writeFloatBE:$v1,writeFloatLE:Yv1,writeInt32BE:Uv1,writeInt32LE:zv1,writeUInt32BE:Qv1,writeUInt32LE:Jv1}});var dC0=E((h84,pC0)=>{var Iv1=CK();pC0.exports=class{constructor(Y){this.encoding=Y}get remaining(){return 0}decode(Y){return Iv1.toString(Y,this.encoding)}flush(){return""}}});var rC0=E((S84,oC0)=>{var mC0=CK();oC0.exports=class{constructor(){this._reset()}get remaining(){return this.bytesSeen}decode(Y){if(Y.byteLength===0)return"";if(this.bytesNeeded===0&&lC0(Y,0)===0)return this.bytesSeen=Kv1(Y),mC0.toString(Y,"utf8");let U="",z=0;if(this.bytesNeeded>0){while(zthis.upperBoundary){U+="�",this._reset();break}if(this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|I&63,this.bytesSeen++,z++,this.bytesSeen===this.bytesNeeded){U+=String.fromCodePoint(this.codePoint),this._reset();break}}if(this.bytesNeeded>0)return U}let Q=lC0(Y,z),J=Y.byteLength-Q;if(J>z)U+=mC0.toString(Y,"utf8",z,J);for(let I=J;I=194&&K<=223)this.bytesNeeded=2,this.bytesSeen=1,this.codePoint=K&31;else if(K>=224&&K<=239){if(K===224)this.lowerBoundary=160;else if(K===237)this.upperBoundary=159;this.bytesNeeded=3,this.bytesSeen=1,this.codePoint=K&15}else if(K>=240&&K<=244){if(K===240)this.lowerBoundary=144;else if(K===244)this.upperBoundary=143;this.bytesNeeded=4,this.bytesSeen=1,this.codePoint=K&7}else this.bytesSeen=1,U+="�";continue}if(Kthis.upperBoundary){U+="�",I--,this._reset();continue}if(this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|K&63,this.bytesSeen++,this.bytesSeen===this.bytesNeeded)U+=String.fromCodePoint(this.codePoint),this._reset()}return U}flush(){let Y=this.bytesNeeded>0?"�":"";return this._reset(),Y}_reset(){this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0,this.lowerBoundary=128,this.upperBoundary=191}};function lC0($,Y){let U=$.byteLength;if(U<=Y)return 0;let z=Math.max(Y,U-4),Q=U-1;while(Q>z&&($[Q]&192)===128)Q--;if(Q=194&&J<=223)I=2;else if(J>=224&&J<=239)I=3;else if(J>=240&&J<=244)I=4;else return 0;let K=U-Q;return K=z&&($[Q]&192)===128)Q--;if(Q<0)return 1;let J=$[Q],I;if(J>=194&&J<=223)I=2;else if(J>=224&&J<=239)I=3;else if(J>=240&&J<=244)I=4;else return 1;if(Y-Q!==I)return 1;if(I>=3){let K=$[Q+1];if(J===224&&K<160)return 1;if(J===237&&K>159)return 1;if(J===240&&K<144)return 1;if(J===244&&K>143)return 1}return 0}});var aC0=E((g84,sC0)=>{var Gv1=dC0(),Hv1=rC0();sC0.exports=class{constructor(Y="utf8"){switch(this.encoding=Wv1(Y),this.encoding){case"utf8":this.decoder=new Hv1;break;case"utf16le":case"base64":throw Error("Unsupported encoding: "+this.encoding);default:this.decoder=new Gv1(this.encoding)}}get remaining(){return this.decoder.remaining}push(Y){if(typeof Y==="string")return Y;return this.decoder.decode(Y)}write(Y){return this.push(Y)}end(Y){let U="";if(Y)U=this.push(Y);return U+=this.decoder.flush(),U}};function Wv1($){switch($=$.toLowerCase(),$){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:throw Error("Unknown encoding: "+$)}}});var eC0=E((y84,tC0)=>{tC0.exports=class $ extends Error{constructor(Y,U,z=$){super(Y);if(this.code=U,Error.captureStackTrace)Error.captureStackTrace(this,z)}static isStreamDestroyed(Y){return Y&&Y.code==="STREAM_DESTROYED"}static isPrematureClose(Y){return Y&&Y.code==="PREMATURE_CLOSE"}static isAborted(Y){return Y&&Y.code==="ABORTED"}static isBadArgument(Y){return Y&&Y.code==="BAD_ARGUMENT"}get name(){return"StreamError"}static STREAM_DESTROYED(){return new $("Stream was destroyed","STREAM_DESTROYED",$.STREAM_DESTROYED)}static PREMATURE_CLOSE(Y="Premature close"){return new $(Y,"PREMATURE_CLOSE",$.PREMATURE_CLOSE)}static ABORTED(){return new $("Stream aborted","ABORTED",$.ABORTED)}static BAD_ARGUMENT(Y="Bad argument"){return new $(Y,"BAD_ARGUMENT",$.BAD_ARGUMENT)}}});var Yl=E((k84,GR0)=>{var{EventEmitter:Xv1}=I0("events"),$R0=lm(),Zv1=aC0(),s$=eC0(),om=typeof queueMicrotask>"u"?($)=>global.process.nextTick($):queueMicrotask,tP=Symbol.asyncIterator||Symbol("asyncIterator");class sm{constructor($,{highWaterMark:Y=16384,map:U=null,mapWritable:z,byteLength:Q,byteLengthWritable:J}={}){this.stream=$,this.queue=new $R0,this.highWaterMark=Y,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=J||Q||KR0,this.map=z||U,this.afterWrite=Lv1.bind(this),this.afterUpdateNextTick=Mv1.bind(this)}get ending(){return(this.stream._duplexState&134217728)!==0}get ended(){return(this.stream._duplexState&8388608)!==0}push($){if((this.stream._duplexState&142606350)!==0)return!1;if(this.map!==null)$=this.map($);if(this.buffered+=this.byteLength($),this.queue.push($),this.buffered0,this.error=null,this.pipeline=null,this.byteLength=J||Q||KR0,this.map=z||U,this.pipeTo=null,this.afterRead=Fv1.bind(this),this.afterUpdateNextTick=wv1.bind(this)}get ending(){return(this.stream._duplexState&1024)!==0}get ended(){return(this.stream._duplexState&16384)!==0}pipe($,Y){if(this.pipeTo!==null)throw s$.BAD_ARGUMENT("Can only pipe to one destination");if(typeof Y!=="function")Y=null;if(this.stream._duplexState|=512,this.pipeTo=$,this.pipeline=new zR0(this.stream,$,Y),Y)this.stream.on("error",rm);if(Zq($)){if($._writableState.pipeline=this.pipeline,Y)$.on("error",rm);$.on("finish",this.pipeline.finished.bind(this.pipeline))}else{let U=this.pipeline.done.bind(this.pipeline,$),z=this.pipeline.done.bind(this.pipeline,$,null);$.on("error",U),$.on("close",z),$.on("finish",this.pipeline.finished.bind(this.pipeline))}$.on("drain",qv1.bind(this)),this.stream.emit("piping",$),$.emit("pipe",this.stream)}push($){let Y=this.stream;if($===null)return this.highWaterMark=0,Y._duplexState=(Y._duplexState|1024)&536805311,!1;if(this.map!==null){if($=this.map($),$===null)return Y._duplexState&=536805375,this.buffered0)Y.push(this.shift());for(let U=0;U0)z.drains.shift().resolve(!1);if(z.pipeline!==null)z.pipeline.done(Y,$)}}function Lv1($){let Y=this.stream;if($)Y.destroy($);if(Y._duplexState&=469499903,this.drains!==null)Ov1(this.drains);if((Y._duplexState&6553615)===4194304){if(Y._duplexState&=532676607,(Y._duplexState&16777216)===16777216)Y.emit("drain")}this.updateCallback()}function Fv1($){if($)this.stream.destroy($);if(this.stream._duplexState&=536870895,this.readAhead===!1&&(this.stream._duplexState&256)===0)this.stream._duplexState&=536739839;this.updateCallback()}function wv1(){if((this.stream._duplexState&32)===0)this.stream._duplexState&=536838143,this.update()}function Mv1(){if((this.stream._duplexState&524288)===0)this.stream._duplexState&=503316479,this.update()}function Ov1($){for(let Y=0;Y<$.length;Y++)if(--$[Y].writes===0)$.shift().resolve(!0),Y--}function JR0($){let Y=this.stream;if($)Y.destroy($);if((Y._duplexState&4)===0){if((Y._duplexState&17423)===0)Y._duplexState|=64;if((Y._duplexState&142606351)===0)Y._duplexState|=1048576;Y.emit("open")}if(Y._duplexState&=536608751,Y._writableState!==null)Y._writableState.updateCallback();if(Y._readableState!==null)Y._readableState.updateCallback()}function Nv1($,Y){if(Y!==void 0&&Y!==null)this.push(Y);this._writableState.afterWrite($)}function Dv1($){if(this._readableState!==null){if($==="data")this._duplexState|=133376,this._readableState.updateNextTick();if($==="readable")this._duplexState|=4096,this._readableState.updateNextTick()}if(this._writableState!==null){if($==="drain")this._duplexState|=16777216,this._writableState.updateNextTick()}}class eP extends Xv1{constructor($){super();if(this._duplexState=0,this._readableState=null,this._writableState=null,$){if($.open)this._open=$.open;if($.destroy)this._destroy=$.destroy;if($.predestroy)this._predestroy=$.predestroy;if($.signal)$.signal.addEventListener("abort",Sv1.bind(this))}this.on("newListener",Dv1)}_open($){$(null)}_destroy($){$(null)}_predestroy(){}get readable(){return this._readableState!==null?!0:void 0}get writable(){return this._writableState!==null?!0:void 0}get destroyed(){return(this._duplexState&8)!==0}get destroying(){return(this._duplexState&14)!==0}destroy($){if((this._duplexState&14)===0){if(!$)$=s$.STREAM_DESTROYED();if(this._duplexState=(this._duplexState|4)&535822271,this._readableState!==null)this._readableState.highWaterMark=0,this._readableState.error=$;if(this._writableState!==null)this._writableState.highWaterMark=0,this._writableState.error=$;if(this._duplexState|=2,this._predestroy(),this._duplexState&=536870909,this._readableState!==null)this._readableState.updateNextTick();if(this._writableState!==null)this._writableState.updateNextTick()}}}class Xq extends eP{constructor($){super($);if(this._duplexState|=8519681,this._readableState=new YR0(this,$),$){if(this._readableState.readAhead===!1)this._duplexState&=536739839;if($.read)this._read=$.read;if($.eagerOpen)this._readableState.updateNextTick();if($.encoding)this.setEncoding($.encoding)}}static deferred($,Y){let U=new em(Y);return $().then((z)=>{if(z===null)return U.end();if(U.destroying)return;$l(z,U,rm)}).catch((z)=>U.destroy(z)),U}setEncoding($){let Y=new Zv1($),U=this._readableState.map||Pv1;return this._readableState.map=z,this;function z(Q){let J=Y.push(Q);return J===""&&(Q.byteLength!==0||Y.remaining>0)?null:U(J)}}_read($){$(null)}pipe($,Y){return this._readableState.updateNextTick(),this._readableState.pipe($,Y),$}read(){return this._readableState.updateNextTick(),this._readableState.read()}push($){return this._readableState.updateNextTickIfOpen(),this._readableState.push($)}unshift($){return this._readableState.updateNextTickIfOpen(),this._readableState.unshift($)}resume(){return this._duplexState|=131328,this._readableState.updateNextTick(),this}pause(){return this._duplexState&=this._readableState.readAhead===!1?536739583:536870655,this}static _fromAsyncIterator($,Y){let U,z=new Xq({...Y,read(J){$.next().then(Q).then(J.bind(null,null)).catch(J)},predestroy(){U=$.return()},destroy(J){if(!U)return J(null);U.then(J.bind(null,null)).catch(J)}});return z;function Q(J){if(J.done)z.push(null);else z.push(J.value)}}static from($,Y){if(_v1($))return $;if($[tP])return this._fromAsyncIterator($[tP](),Y);if(!Array.isArray($))$=$===void 0?[]:[$];let U=0;return new Xq({...Y,read(z){this.push(U===$.length?null:$[U++]),z(null)}})}static isBackpressured($){return($._duplexState&17422)!==0||$._readableState.buffered>=$._readableState.highWaterMark}static isPaused($){return($._duplexState&256)===0}[tP](){let $=this,Y=null,U=null,z=null;return this.on("error",(G)=>{Y=G}),this.on("readable",Q),this.on("close",J),{[tP](){return this},next(){return new Promise(function(G,H){U=G,z=H;let W=$.read();if(W!==null)I(W);else if(($._duplexState&8)!==0)I(null)})},return(){return K(null)},throw(G){return K(G)}};function Q(){if(U!==null)I($.read())}function J(){if(U!==null)I(null)}function I(G){if(z===null)return;if(Y)z(Y);else if(G===null&&($._duplexState&16384)===0)z(s$.STREAM_DESTROYED());else U({value:G,done:G===null});z=U=null}function K(G){return $.destroy(G),new Promise((H,W)=>{if($._duplexState&8)return H({value:void 0,done:!0});$.once("close",function(){if(G)W(G);else H({value:void 0,done:!0})})})}}}class am extends eP{constructor($){super($);if(this._duplexState|=16385,this._writableState=new sm(this,$),$){if($.writev)this._writev=$.writev;if($.write)this._write=$.write;if($.final)this._final=$.final;if($.eagerOpen)this._writableState.updateNextTick()}}cork(){this._duplexState|=268435456}uncork(){this._duplexState&=268435455,this._writableState.updateNextTick()}_writev($,Y){Y(null)}_write($,Y){this._writableState.autoBatch($,Y)}_final($){$(null)}static isBackpressured($){return($._duplexState&146800654)!==0}static drained($){if($.destroyed)return Promise.resolve(!1);let Y=$._writableState,z=(gv1($)?Math.min(1,Y.queue.length):Y.queue.length)+($._duplexState&67108864?1:0);if(z===0)return Promise.resolve(!0);if(Y.drains===null)Y.drains=[];return new Promise((Q)=>{Y.drains.push({writes:z,resolve:Q})})}write($){return this._writableState.updateNextTick(),this._writableState.push($)}end($){return this._writableState.updateNextTick(),this._writableState.end($),this}}class $T extends Xq{constructor($){super($);if(this._duplexState=1|this._duplexState&131072,this._writableState=new sm(this,$),$){if($.writev)this._writev=$.writev;if($.write)this._write=$.write;if($.final)this._final=$.final}}cork(){this._duplexState|=268435456}uncork(){this._duplexState&=268435455,this._writableState.updateNextTick()}_writev($,Y){Y(null)}_write($,Y){this._writableState.autoBatch($,Y)}_final($){$(null)}write($){return this._writableState.updateNextTick(),this._writableState.push($)}end($){return this._writableState.updateNextTick(),this._writableState.end($),this}}class tm extends $T{constructor($){super($);if(this._transformState=new UR0(this),$){if($.transform)this._transform=$.transform;if($.flush)this._flush=$.flush}}_write($,Y){if(this._readableState.buffered>=this._readableState.highWaterMark)this._transformState.data=$;else this._transform($,this._transformState.afterTransform)}_read($){if(this._transformState.data!==null){let Y=this._transformState.data;this._transformState.data=null,$(null),this._transform(Y,this._transformState.afterTransform)}else $(null)}destroy($){if(super.destroy($),this._transformState.data!==null)this._transformState.data=null,this._transformState.afterTransform()}_transform($,Y){Y(null,$)}_flush($){$(null)}_final($){this._transformState.afterFinal=$,this._flush(Av1.bind(this))}}class em extends tm{}function Av1($,Y){let U=this._transformState.afterFinal;if($)return U($);if(Y!==null&&Y!==void 0)this.push(Y);this.push(null),U(null)}function Bv1(...$){return new Promise((Y,U)=>{return $l(...$,(z)=>{if(z)return U(z);Y()})})}function $l($,...Y){let U=Array.isArray($)?[...$,...Y]:[$,...Y],z=U.length&&typeof U[U.length-1]==="function"?U.pop():null;if(U.length<2)throw s$.BAD_ARGUMENT("Pipeline requires at least 2 streams");let Q=U[0],J=null,I=null;for(let H=1;H1,G),Q.pipe(J);Q=J}if(z){let H=!1,W=Zq(J)||!!(J._writableState&&J._writableState.autoDestroy);if(J.on("error",(X)=>{if(I===null)I=X}),J.on("finish",()=>{if(H=!0,!W)z(I)}),W)J.on("close",()=>z(I||(H?null:s$.PREMATURE_CLOSE())))}return J;function K(H,W,X,Z){H.on("error",Z),H.on("close",q);function q(){if(W&&H._readableState&&!H._readableState.ended)return Z(s$.PREMATURE_CLOSE());if(X&&H._writableState&&!H._writableState.ended)return Z(s$.PREMATURE_CLOSE())}}function G(H){if(!H||I)return;I=H;for(let W of U)W.destroy(H)}}function Pv1($){return $}function IR0($){return!!$._readableState||!!$._writableState}function Zq($){return typeof $._duplexState==="number"&&IR0($)}function Tv1($){return!!$._readableState&&$._readableState.ending}function jv1($){return!!$._readableState&&$._readableState.ended}function Ev1($){return!!$._writableState&&$._writableState.ending}function Cv1($){return!!$._writableState&&$._writableState.ended}function Rv1($,Y={}){let U=$._readableState&&$._readableState.error||$._writableState&&$._writableState.error;return!Y.all&&s$.isStreamDestroyed(U)?null:U}function _v1($){return Zq($)&&$.readable}function vv1($){return($._duplexState&1)!==1||($._duplexState&4)===4||($._duplexState&33587200)!==0}function hv1($){return typeof $==="object"&&$!==null&&typeof $.byteLength==="number"}function KR0($){return hv1($)?$.byteLength:1024}function rm(){}function Sv1(){this.destroy(s$.ABORTED())}function gv1($){return $._writev!==am.prototype._writev&&$._writev!==$T.prototype._writev}GR0.exports={pipeline:$l,pipelinePromise:Bv1,isStream:IR0,isStreamx:Zq,isEnding:Tv1,isEnded:jv1,isFinishing:Ev1,isFinished:Cv1,isDisturbed:vv1,getStreamError:Rv1,Stream:eP,Writable:am,Readable:Xq,Duplex:$T,Transform:tm,PassThrough:em}});var zl=E((mv1)=>{var n1=CK(),HR0=n1.from([117,115,116,97,114,0]),yv1=n1.from([48,48]),kv1=n1.from([117,115,116,97,114,32]),xv1=n1.from([32,0]);mv1.decodeLongPath=function(Y,U){return RK(Y,0,Y.length,U)};mv1.encodePax=function(Y){let U="";if(Y.name)U+=Ul(" path="+Y.name+` `);if(Y.linkname)U+=Ul(" linkpath="+Y.linkname+` `);let z=Y.pax;if(z)for(let Q in z)U+=Ul(" "+Q+"="+z[Q]+` `);return n1.from(U)};mv1.decodePax=function(Y){let U={};while(Y.length){let z=0;while(z100){let J=z.indexOf("/");if(J===-1)return null;Q+=Q?"/"+z.slice(0,J):z.slice(0,J),z=z.slice(J+1)}if(n1.byteLength(z)>100||n1.byteLength(Q)>155)return null;if(Y.linkname&&n1.byteLength(Y.linkname)>100)return null;if(n1.write(U,z),n1.write(U,l2(Y.mode&4095,6),100),n1.write(U,l2(Y.uid,6),108),n1.write(U,l2(Y.gid,6),116),pv1(Y.size,U,124),n1.write(U,l2(Y.mtime.getTime()/1000|0,11),136),U[156]=48+cv1(Y.type),Y.linkname)n1.write(U,Y.linkname,157);if(n1.copy(HR0,U,257),n1.copy(yv1,U,263),Y.uname)n1.write(U,Y.uname,265);if(Y.gname)n1.write(U,Y.gname,297);if(n1.write(U,l2(Y.devmajor||0,6),329),n1.write(U,l2(Y.devminor||0,6),337),Q)n1.write(U,Q,345);return n1.write(U,l2(XR0(U),6),148),U};mv1.decode=function(Y,U,z){let Q=Y[156]===0?0:Y[156]-48,J=RK(Y,0,100,U),I=m2(Y,100,8),K=m2(Y,108,8),G=m2(Y,116,8),H=m2(Y,124,12),W=m2(Y,136,12),X=iv1(Q),Z=Y[157]===0?null:RK(Y,157,100,U),q=RK(Y,265,32),V=RK(Y,297,32),F=m2(Y,329,8),M=m2(Y,337,8),w=XR0(Y);if(w===256)return null;if(w!==m2(Y,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(fv1(Y)){if(Y[345])J=RK(Y,345,155,U)+"/"+J}else if(uv1(Y));else if(!z)throw Error("Invalid tar header: unknown format.");if(Q===0&&J&&J[J.length-1]==="/")Q=5;return{name:J,mode:I,uid:K,gid:G,size:H,byteOffset:0,mtime:new Date(1000*W),type:X,linkname:Z,uname:q,gname:V,devmajor:F,devminor:M,pax:null}};function fv1($){return n1.equals(HR0,$.subarray(257,263))}function uv1($){return n1.equals(kv1,$.subarray(257,263))&&n1.equals(xv1,$.subarray(263,265))}function bv1($,Y,U){if(typeof $!=="number")return U;if($=~~$,$>=Y)return Y;if($>=0)return $;if($+=Y,$>=0)return $;return 0}function iv1($){switch($){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}function cv1($){switch($){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}function WR0($,Y,U,z){for(;UY)return"7777777777777777777".slice(0,Y)+" ";return"0000000000000000000".slice(0,Y-$.length)+$+" "}function nv1($,Y,U){Y[U]=128;for(let z=11;z>0;z--)Y[U+z]=$&255,$=Math.floor($/256)}function pv1($,Y,U){if($.toString(8).length>11)nv1($,Y,U);else n1.write(Y,l2($,11),U)}function dv1($){let Y;if($[0]===128)Y=!0;else if($[0]===255)Y=!1;else return null;let U=[],z;for(z=$.length-1;z>0;z--){let I=$[z];if(Y)U.push(I);else U.push(255-I)}let Q=0,J=U.length;for(z=0;z=Math.pow(10,U))U++;return Y+U+$}});var OR0=E((f84,MR0)=>{var{Writable:tv1,Readable:ev1,getStreamError:ZR0}=Yl(),$h1=lm(),qR0=CK(),_K=zl(),Yh1=qR0.alloc(0);class VR0{constructor(){this.buffered=0,this.shifted=0,this.queue=new $h1,this._offset=0}push($){this.buffered+=$.byteLength,this.queue.push($)}shiftFirst($){return this.buffered===0?null:this._next($)}shift($){if($>this.buffered)return null;if($===0)return Yh1;let Y=this._next($);if($===Y.byteLength)return Y;let U=[Y];while(($-=Y.byteLength)>0)Y=this._next($),U.push(Y);return qR0.concat(U)}_next($){let Y=this.queue.peek(),U=Y.byteLength-this._offset;if($>=U){let z=this._offset?Y.subarray(this._offset,Y.byteLength):Y;return this.queue.shift(),this._offset=0,this.buffered-=U,this.shifted+=U,z}return this.buffered-=$,this.shifted+=$,Y.subarray(this._offset,this._offset+=$)}}class LR0 extends ev1{constructor($,Y,U){super();this.header=Y,this.offset=U,this._parent=$}_read($){if(this.header.size===0)this.push(null);if(this._parent._stream===this)this._parent._update();$(null)}_predestroy(){this._parent.destroy(ZR0(this))}_detach(){if(this._parent._stream===this)this._parent._stream=null,this._parent._missing=wR0(this.header.size),this._parent._update()}_destroy($){this._detach(),$(null)}}class FR0 extends tv1{constructor($){super($);if(!$)$={};this._buffer=new VR0,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=Ql,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=$.filenameEncoding||"utf-8",this._allowUnknownFormat=!!$.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock($){if(this._locked=!1,$){this.destroy($),this._continueWrite($);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=_K.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch($){return this._continueWrite($),!1}if(!this._header)return!0;switch(this._header.byteOffset=this._buffer.shifted,this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":if(this._longHeader=!0,this._missing=this._header.size,this._missing>4194304)return this._continueWrite(Error("Header exceeds max size")),!1;return!0}if(this._locked=!0,this._applyLongHeaders(),!(this._header.size>=0))return this._continueWrite(Error("Invalid header")),!1;if(this._header.size===0||this._header.type==="directory")return this.emit("entry",this._header,this._createStream(),this._unlockBound),!0;return this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound),!0}_applyLongHeaders(){if(this._gnuLongPath)this._header.name=this._gnuLongPath,this._gnuLongPath=null;if(this._gnuLongLinkPath)this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null;if(this._pax){if(this._pax.path)this._header.name=this._pax.path;if(this._pax.linkpath)this._header.linkname=this._pax.linkpath;if(this._pax.size)this._header.size=parseInt(this._pax.size,10);this._header.pax=this._pax,this._pax=null}}_decodeLongHeader($){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=_K.decodeLongPath($,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=_K.decodeLongPath($,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=_K.decodePax($);break;case"pax-header":this._pax=this._paxGlobal===null?_K.decodePax($):Object.assign({},this._paxGlobal,_K.decodePax($));break}}_consumeLongHeader(){this._longHeader=!1,this._missing=wR0(this._header.size);let $=this._buffer.shift(this._header.size);try{this._decodeLongHeader($)}catch(Y){return this._continueWrite(Y),!1}return!0}_consumeStream(){let $=this._buffer.shiftFirst(this._missing);if($===null)return!1;this._missing-=$.byteLength;let Y=this._stream.push($);if(this._missing===0){if(this._stream.push(null),Y)this._stream._detach();return Y&&this._locked===!1}return Y}_createStream(){return new LR0(this,this._header,this._offset)}_update(){while(this._buffer.buffered>0&&!this.destroying){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===!1)return;continue}if(this._longHeader===!0){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===!1)return!1;continue}let $=this._buffer.shiftFirst(this._missing);if($!==null)this._missing-=$.byteLength;continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===!1)return}this._continueWrite(null)}_continueWrite($){let Y=this._callback;this._callback=Ql,Y($)}_write($,Y){this._callback=Y,this._buffer.push($),this._update()}_final($){this._finished=this._missing===0&&this._buffer.buffered===0,$(this._finished?null:Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy($){if(this._stream)this._stream.destroy(ZR0(this));$(null)}[Symbol.asyncIterator](){let $=null,Y=null,U=null,z=null,Q=null,J=this;return this.on("entry",G),this.on("error",(X)=>{$=X}),this.on("close",H),{[Symbol.asyncIterator](){return this},next(){return new Promise(K)},return(){return W(null)},throw(X){return W(X)}};function I(X){if(!Q)return;let Z=Q;Q=null,Z(X)}function K(X,Z){if($)return Z($);if(z){X({value:z,done:!1}),z=null;return}if(Y=X,U=Z,I(null),J._finished&&Y)Y({value:void 0,done:!0}),Y=U=null}function G(X,Z,q){if(Q=q,Z.on("error",Ql),Y)Y({value:Z,done:!1}),Y=U=null;else z=Z}function H(){if(I($),!Y)return;if($)U($);else Y({value:void 0,done:!0});Y=U=null}function W(X){return J.destroy(X),I(X),new Promise((Z,q)=>{if(J.destroyed)return Z({value:void 0,done:!0});J.once("close",function(){if(X)q(X);else Z({value:void 0,done:!0})})})}}}MR0.exports=function(Y){return new FR0(Y)};function Ql(){}function wR0($){return $&=511,$&&512-$}});var DR0=E((u84,Jl)=>{var NR0={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{Jl.exports=I0("fs").constants||NR0}catch{Jl.exports=NR0}});var CR0=E((b84,ER0)=>{var{Readable:Uh1,Writable:zh1,getStreamError:AR0}=Yl(),_z=CK(),vK=DR0(),YT=zl(),BR0=_z.alloc(1024);class PR0 extends zh1{constructor($,Y,U){super({mapWritable:Jh1,eagerOpen:!0});if(this.written=0,this.header=Y,this._callback=U,this._linkname=null,this._isLinkname=Y.type==="symlink"&&!Y.linkname,this._isVoid=Y.type!=="file"&&Y.type!=="contiguous-file",this._finished=!1,this._pack=$,this._openCallback=null,this._pack._stream===null)this._pack._stream=this;else this._pack._pending.push(this)}_open($){if(this._openCallback=$,this._pack._stream===this)this._continueOpen()}_continuePack($){if(this._callback===null)return;let Y=this._callback;this._callback=null,Y($)}_continueOpen(){if(this._pack._stream===null)this._pack._stream=this;let $=this._openCallback;if(this._openCallback=null,$===null)return;if(this._pack.destroying)return $(Error("pack stream destroyed"));if(this._pack._finalized)return $(Error("pack stream is already finalized"));if(this._pack._stream=this,!this._isLinkname)this._pack._encode(this.header);if(this._isVoid)this._finish(),this._continuePack(null);$(null)}_write($,Y){if(this._isLinkname)return this._linkname=this._linkname?_z.concat([this._linkname,$]):$,Y(null);if(this._isVoid){if($.byteLength>0)return Y(Error("No body allowed for this entry"));return Y()}if(this.written+=$.byteLength,this._pack.push($))return Y();this._pack._drain=Y}_finish(){if(this._finished)return;if(this._finished=!0,this._isLinkname)this.header.linkname=this._linkname?_z.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header);jR0(this._pack,this.header.size),this._pack._done(this)}_final($){if(this.written!==this.header.size)return $(Error("Size mismatch"));this._finish(),$(null)}_getError(){return AR0(this)||Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy($){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),$()}}class TR0 extends Uh1{constructor($){super($);this._drain=Il,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry($,Y,U){if(this._finalized||this.destroying)throw Error("already finalized or destroyed");if(typeof Y==="function")U=Y,Y=null;if(!U)U=Il;if(!$.size||$.type==="symlink")$.size=0;if(!$.type)$.type=Qh1($.mode);if(!$.mode)$.mode=$.type==="directory"?493:420;if(!$.uid)$.uid=0;if(!$.gid)$.gid=0;if(!$.mtime)$.mtime=new Date;if(typeof Y==="string")Y=_z.from(Y);let z=new PR0(this,$,U);if(_z.isBuffer(Y))return $.size=Y.byteLength,z.write(Y),z.end(),z;if(z._isVoid)return z;return z}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}if(this._finalized)return;this._finalized=!0,this.push(BR0),this.push(null)}_done($){if($!==this._stream)return;if(this._stream=null,this._finalizing)this.finalize();if(this._pending.length)this._pending.shift()._continueOpen()}_encode($){if(!$.pax){let Y=YT.encode($);if(Y){this.push(Y);return}}this._encodePax($)}_encodePax($){let Y=YT.encodePax({name:$.name,linkname:$.linkname,pax:$.pax}),U={name:"PaxHeader",mode:$.mode,uid:$.uid,gid:$.gid,size:Y.byteLength,mtime:$.mtime,type:"pax-header",linkname:$.linkname&&"PaxHeader",uname:$.uname,gname:$.gname,devmajor:$.devmajor,devminor:$.devminor};this.push(YT.encode(U)),this.push(Y),jR0(this,Y.byteLength),U.size=$.size,U.type=$.type,this.push(YT.encode(U))}_doDrain(){let $=this._drain;this._drain=Il,$()}_predestroy(){let $=AR0(this);if(this._stream)this._stream.destroy($);while(this._pending.length){let Y=this._pending.shift();Y.destroy($),Y._continueOpen()}this._doDrain()}_read($){this._doDrain(),$()}}ER0.exports=function(Y){return new TR0(Y)};function Qh1($){switch($&vK.S_IFMT){case vK.S_IFBLK:return"block-device";case vK.S_IFCHR:return"character-device";case vK.S_IFDIR:return"directory";case vK.S_IFIFO:return"fifo";case vK.S_IFLNK:return"symlink"}return"file"}function Il(){}function jR0($,Y){if(Y&=511,Y)$.push(BR0.subarray(0,512-Y))}function Jh1($){return _z.isBuffer($)?$:_z.from($)}});var RR0=E((Ih1)=>{Ih1.extract=OR0();Ih1.pack=CR0()});var Wh1;var _R0=m(()=>{dP();Wh1=J6(RR0(),1)});function vR0($){if(Buffer.isBuffer($))return $;if(typeof $==="number")return Buffer.alloc($);else if(typeof $==="string")return Buffer.from($);else throw Error("input must be buffer, number, or string, received "+typeof $)}function Zh1($){let Y=vR0(4);return Y.writeInt32BE($,0),Y}function Kl($,Y){if($=vR0($),Buffer.isBuffer(Y))Y=Y.readUInt32BE(0);let U=~~Y^-1;for(var z=0;z<$.length;z++)U=Xh1[(U^$[z])&255]^U>>>8;return U^-1}function hR0(){return Zh1(Kl.apply(null,arguments))}var Xh1;var SR0=m(()=>{Xh1=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);hR0.signed=function(){return Kl.apply(null,arguments)};hR0.unsigned=function(){return Kl.apply(null,arguments)>>>0}});var qh1;var gR0=m(()=>{SR0();dP();qh1=J6(jz(),1)});var Gl;var yR0=m(()=>{mE0();fC0();_R0();gR0();Gl=class Gl extends mP{constructor($){super($);this._format="zip",this._module=new aP($),this._supportsDirectory=!0,this._supportsSymlink=!0,this._modulePipe()}}});import{createWriteStream as Vh1,mkdirSync as Lh1,statSync as Fh1}from"node:fs";import{homedir as wh1}from"node:os";import{dirname as Mh1,join as Oh1,resolve as kR0}from"node:path";function Nh1($,Y){if($.outputFile)return kR0($.outputFile);let U=new Date().toLocaleDateString("en-CA",{timeZone:"Asia/Shanghai"}),z=`webhook-resource-pack-${Y.id}-${U}.zip`;if($.toDownloads)return Oh1(wh1(),"Downloads",z);return kR0(z)}async function UT($,Y,U={}){let z=[];if(U.recordId)process.stderr.write(`\uD83D\uDD0D 查询单据记录: ${U.recordId}... @@ -899,24 +899,24 @@ export default lintRule; `);let w=new FormData,N=await Hd(z.fileBuffer,M),O=F.split("/").pop()??F;w.append("files",new File([new Uint8Array(N)],O));let D=await fetch(`${Q}/api/v1/integrations/webhook/${encodeURIComponent(J)}/attachments`,{method:"POST",headers:{...U.customHeaders??{},...vZ({},U.secret)},body:w});if(!D.ok)throw Error(`附件上传失败 ${D.status}: ${await D.text()}`);let P=await D.json();W.set(F,P.attachments?.map((T)=>T.data)??(P.data===void 0?[]:[P.data])),process.stderr.write(`✓ 附件上传成功: ${F} `)}process.stderr.write(`\uD83D\uDCE4 推送单据: ${G.document.documentId} `);let Z=Ld(G.document,H,W),q=await fetch(`${Q}/api/v1/integrations/webhook/${encodeURIComponent(J)}/document`,{method:"POST",headers:{...U.customHeaders??{},"Content-Type":"application/json",...vZ({webhookId:J,...Z},U.secret)},body:JSON.stringify(Z)});if(!q.ok)throw Error(`Webhook 单据推送失败 ${q.status}: ${await q.text()}`);I.push({documentId:Z.documentId,document:Z,pushResult:await q.json()}),process.stderr.write(`✓ 单据推送成功: ${Z.documentId} -`)}return{warnings:[],results:I}}function hz($){return{fileBuffer:Dh1($),fileName:$.split(/[\\\/]/).pop()??"material-pack.zip"}}var Wl=m(()=>{nB();Fd();Vd();Wd();$K();Hl()});import{existsSync as Th1}from"node:fs";async function QT($,Y,U={}){let Q=_4().stateful?"stateful":"stateless",J="ok",I,K,G;try{let D=await W8($);G={id:D.user.id,name:D.user.name,isAdmin:D.user.isAdmin},K={id:D.tenant.id,name:D.tenant.name,tenantSlug:D.tenant.tenantSlug,corporationName:D.tenant.hoseCorpConfig?.corporationName}}catch(D){J="error",I=D instanceof Error?D.message:String(D)}let H=[];if(J==="ok")try{H=await J$($,Y.seal.endpoints.approvalStylePreferences)}catch(D){J="error",I=`读取 Webhook 配置失败: ${D instanceof Error?D.message:String(D)}`}let W=H.length===1,X=H.map((D)=>({id:D.id,name:D.name,mode:D.mode,incomingDocumentWebhookUrl:D.incomingDocumentWebhook.url,outgoingResultWebhookUrl:D.outgoingResultWebhook,autoApprovalRate:D.autoApprovalRate,...W?{isDefault:!0}:{}})),Z=W?{id:H[0].id,name:H[0].name,mode:H[0].mode}:null,q=U.webhook?S7(H,U.webhook):W?H[0]:void 0,V;if(U.filePath)if(!Th1(U.filePath))V={valid:!1,filePath:U.filePath,fileName:U.filePath.split(/[\\/]/).pop()??U.filePath,documentCount:0,errors:[`文件不存在: ${U.filePath}`]};else try{let D=hz(U.filePath),P=await vz(D.fileBuffer,D.fileName,q?.materialPackFilePolicy);V={valid:!0,filePath:U.filePath,fileName:D.fileName,documentCount:P.documents.length,warnings:P.warnings}}catch(D){V={valid:!1,filePath:U.filePath,fileName:U.filePath.split(/[\\/]/).pop()??U.filePath,documentCount:0,errors:[D instanceof Error?D.message:String(D)]}}let F=V?V.valid:!0,M=J==="ok"&&X.length>0&&F,w=Q==="stateful"?"":` --corp ${Y.id}`,N="",O="";if(J!=="ok")O=`凭证鉴权异常: ${I}`,N=`seal-use auth diagnose${w}`;else if(X.length===0)O="当前企业尚未配置任何 Webhook 集成通道",N=`seal-use webhook add --name "默认入站通道" --result-url "https://your-domain.com/callback"${w}`;else if(V&&!V.valid)O=`资源包预检失败: ${V.errors?.join("; ")}`,N=`seal-use webhook resource-pack preview ${V.filePath}${w}`;else{O=W?"所有通道正常,已自动锁定唯一 Webhook 通道,等待载入":`所有通道正常,检测到 ${X.length} 个 Webhook 通道,等待载入`;let D=V?.filePath??"<资源包.zip>",P=W?"":` --webhook ${Z?Z.id:""}`;N=`seal-use webhook resource-pack push ${D}${P}${w}`}return{ready:M,corp:{id:Y.id,name:Y.name,sourceType:Y.source.type,tenant:K,user:G},stateMode:Q,authStatus:J,authError:I,activeWebhooks:X,defaultWebhook:Z,resourcePack:V,materialPack:V,statusMessage:O,nextAction:N}}var uR0=m(()=>{y3();X6();Wl()});var Xl=m(()=>{$K();mQ();nB();Wd();Vd();Fd();Wl();uR0();Hl()});import{existsSync as bR0,mkdirSync as iR0,statSync as jh1}from"node:fs";import{homedir as Eh1}from"node:os";import{dirname as Ch1,resolve as JT}from"node:path";function Rh1($){if($.outputFile){let I=JT($.outputFile),K=Ch1(I);if(!bR0(K))iR0(K,{recursive:!0});return I}let U=($.corpName||$.corpId||"企业").replace(/[/\\?%*:|"<>]/g,"_").trim()||"企业",z=$.dateTag||new Date().toISOString().slice(0,10),Q=`${U}_智能洞察报告_${z}.xlsx`,J;if($.toDownloads)J=JT(Eh1(),"Downloads");else J=JT(process.cwd(),"exports");if(!bR0(J))iR0(J,{recursive:!0});return JT(J,Q)}async function IT($,Y,U={}){let z=Y.name||Y.id,Q=ln({startDate:U.startDate,endDate:U.endDate,force:U.force}),J=new Date().toISOString(),[I,K]=await Promise.all([DM($,{startDate:Q.startDateStr,endDate:Q.endDateStr,limit:U.limit??100}),BM($,{startDate:Q.startDateStr,endDate:Q.endDateStr}).catch(()=>({metrics:{},sankeyData:{nodes:[],links:[]}}))]),G=I.tagStats||[],H=[],W=Math.min(G.length,U.limit??50);for(let C=0;C{x.border=V,x.font={name:"Microsoft YaHei",size:10},x.alignment={vertical:"middle"}})}let N=K.sankeyData?.links||[];if(N.length>0){F.addRow({});let C=F.addRow(["决策流向","流向阶段 (起点)","走向阶段 (终点)","流转单据数","占比/流向说明"]);C.height=24,C.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FF0F172A"}},C.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFE2E8F0"}},C.eachCell((b)=>{b.border=V,b.alignment={vertical:"middle",horizontal:"center"}});for(let b of N){let x=F.addRow({category:"决策流向",name:b.source,val:b.target,trend:b.value,desc:"流向连接"});x.height=20,x.eachCell((S)=>{S.border=V,S.font={name:"Microsoft YaHei",size:9},S.alignment={vertical:"middle"}})}}let O=X.addWorksheet("Top 风险标签分析",{views:[{showGridLines:!0}]});O.columns=[{header:"标签编号",key:"tagId",width:14},{header:"风险标签名称",key:"tagName",width:26},{header:"风险分类路径",key:"tagPath",width:44},{header:"风险出现次数",key:"count",width:16},{header:"严重错误数 (Error)",key:"errorCount",width:20},{header:"合规预警数 (Warning)",key:"warningCount",width:22},{header:"平均置信度",key:"avgConfidence",width:16}],O.getRow(1).height=28,O.getRow(1).font=q,O.getRow(1).fill=Z,O.getRow(1).alignment={vertical:"middle",horizontal:"center"};for(let C of G){let b=O.addRow({tagId:C.tagId||"-",tagName:C.tagName||"-",tagPath:C.tagPath||"-",count:C.count??0,errorCount:C.errorCount??0,warningCount:C.warningCount??0,avgConfidence:C.avgConfidence?`${Math.round(C.avgConfidence*100)}%`:"-"});b.height=22,b.eachCell((x,S)=>{if(x.border=V,x.font={name:"Microsoft YaHei",size:10},x.alignment={vertical:"middle",horizontal:[1,4,5,6,7].includes(S)?"center":"left"},S===5&&(C.errorCount??0)>0)x.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FFDC2626"}},x.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};if(S===6&&(C.warningCount??0)>0)x.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FFD97706"}},x.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}}})}let D=X.addWorksheet("风险单据穿透明细",{views:[{showGridLines:!0}]});D.columns=[{header:"序号",key:"idx",width:8},{header:"风险标签",key:"tag",width:24},{header:"关联单据流水号",key:"documentSN",width:20},{header:"单据类型",key:"documentType",width:16},{header:"风险等级",key:"riskLevel",width:14},{header:"置信度",key:"confidence",width:12},{header:"风险具体描述",key:"riskDetails",width:48},{header:"AI 审核判断依据",key:"reasoning",width:48},{header:"单据链接",key:"sourceDocumentURL",width:30},{header:"发现时间",key:"createdAt",width:22}],D.getRow(1).height=28,D.getRow(1).font=q,D.getRow(1).fill=Z,D.getRow(1).alignment={vertical:"middle",horizontal:"center"};let P=1;for(let C of H){let b="-";if(C.createdAt){let S=new Date(C.createdAt);if(!isNaN(S.getTime()))b=S.toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1})}let x=D.addRow({idx:P++,tag:`${C.tagName} (${C.tagId})`,documentSN:C.documentSN,documentType:C.documentType,riskLevel:C.riskLevel==="error"?"严重错误":"合规预警",confidence:`${Math.round(C.confidence*100)}%`,riskDetails:C.riskDetails,reasoning:C.reasoning,sourceDocumentURL:C.sourceDocumentURL||"-",createdAt:b});x.height=36,x.eachCell((S,i)=>{if(S.border=V,S.font={name:"Microsoft YaHei",size:9},S.alignment={vertical:"middle",horizontal:[1,3,4,5,6,10].includes(i)?"center":"left",wrapText:[7,8].includes(i)},i===5)if(C.riskLevel==="error")S.font={name:"Microsoft YaHei",size:9,bold:!0,color:{argb:"FFDC2626"}},S.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else S.font={name:"Microsoft YaHei",size:9,bold:!0,color:{argb:"FFD97706"}},S.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}}})}let T=Q.dateTag,A=Rh1({outputFile:U.outputFile,toDownloads:U.toDownloads,corpName:z,dateTag:T});await X.xlsx.writeFile(A),console.error(`智能洞察 Excel 报告已成功保存至: ${A}`);let j=jh1(A);return{filePath:A,corpId:Y.id,corpName:z,totalRisks:I.totalRisks??0,tagCount:G.length,riskDetailCount:H.length,fileSizeBytes:j.size,exportedAt:J}}var cR0;var Zl=m(()=>{X6();hB();cR0=J6(EZ(),1)});import{readFileSync as _h1}from"node:fs";import{randomBytes as vh1}from"node:crypto";function eR0($){return hh1.has($)}function M6($){return Sh1.get($)}function qq($,Y){return Y?$:{...$,secret:""}}function $_0($){if($.seal.url)return $.seal.url;if($.source.type==="hose")return v7($,$.source);return $.source.sealUrl}function gh1($,Y){let U=$.rules.length;if(Y.countOnly||Y.limit===0)return{count:U};let z=Y.offset??0,Q=$.rules.slice(z,Y.limit===void 0?void 0:z+Y.limit),J=Y.fields;return{count:U,hasPendingDeletes:$.hasPendingDeletes,rules:J?Q.map((I)=>yh1(I,J)):Q}}function yh1($,Y){let U={};for(let z of Y)if($[z]!==void 0)if(z==="code"){let Q=$.code;if(typeof Q==="number")U.code=Vq(Q);else if(typeof Q==="string"){let J=Q.match(/\d+/)?.[0];U.code=J?Vq(Number(J)):Q}else U.code=Q}else U[z]=$[z];return U}function kh1($,Y){let U=new Map($.map((K)=>[K.id,K])),z=new Set,Q=[],J=[],I=[];for(let K of Y){let G;if(K.id){if(G=U.get(K.id),!G)throw Error(`本地规则 ${K.id} 不存在于当前草稿。请先用 rules pull 获取当前草稿,再重新应用修改。`);if(z.has(K.id))throw Error(`本地规则文件包含重复的规则 ID:${K.id}`)}else{let W=$.filter((X)=>!z.has(X.id)&&xh1(X,K));if(W.length>1)throw Error(`本地规则“${K.description}”无法唯一匹配远端草稿,请在规则文件中补充稳定的 id。`);G=W[0]}if(!G){Q.push(K);continue}z.add(G.id);let H=fh1(G,K);if(H.length)J.push({id:G.id,rule:K,changedFields:H});else I.push({id:G.id})}return{created:Q,updated:J,deleted:$.filter((K)=>!z.has(K.id)),unchanged:I}}function xh1($,Y){return $.description===Y.description.trim()&&$.scope===(Y.scope??"ALL")&&$.strictness===WT(Y.strictness)}function fh1($,Y){let U=[];if($.description!==Y.description.trim())U.push("description");if($.scope!==(Y.scope??"ALL"))U.push("scope");if($.strictness!==WT(Y.strictness))U.push("strictness");return U}function WT($){let Y=$?.toUpperCase()??"MUST_FOLLOW";if(Y.includes("SHOULD"))return"SHOULD_FOLLOW";if(Y.includes("SUGGEST"))return"SUGGESTION";return"MUST_FOLLOW"}function nR0($){let Y=$.match(/^(\d+(?:\.\d+)?)\s*(ms|s|m|h|d)?$/i);if(!Y||!Y[1])return 600000;let U=parseFloat(Y[1]);switch((Y[2]??"s").toLowerCase()){case"ms":return U;case"s":return U*1000;case"m":return U*60*1000;case"h":return U*3600*1000;case"d":return U*86400*1000;default:return U*1000}}function KT($){return Object.fromEntries(Object.entries($).map(([Y,U])=>[Y,["apiKey","apiSecret","secret"].includes(Y)&&typeof U==="string"?"***":U]))}function R9($,Y,U,z,Q){return{preview:!0,targetUrl:`${$_0($.corp).replace(/\/+$/,"")}/${Y.replace(/^\/+/,"")}`,changesDiff:{before:XT(U),after:XT(z)},impactCount:Q}}function XT($){if(Array.isArray($))return $.map(XT);if(!$||typeof $!=="object")return $;return Object.fromEntries(Object.entries($).map(([Y,U])=>[Y,["apiKey","apiSecret","secret","token","password"].includes(Y)&&typeof U==="string"?"***":XT(U)]))}function uh1($){let Y=$.sourceSystem??$.mode??"hosecloud",U={skipInvoiceGeneration:$.skipInvoiceGeneration??!0,skipExpenseExtraction:$.skipExpenseExtraction??!0,thinkingDepthOverride:$.thinkingDepthOverride??"default",disableAttachmentCache:$.disableAttachmentCache??!1},z=$.flowIds??(typeof $.documentSn==="string"?$.documentSn.split(",").map((Q)=>Q.trim()).filter(Boolean):$.documentSn);if(Y==="hosecloud"){if(!z?.length&&$.startTime===void 0)throw Error("hosecloud 模式需要提供 flowIds(单号列表)");if(Object.assign(U,{dataCollectionMode:"2",rejectNodeName:$.rejectNodeName??null,sourceSystem:"hosecloud"}),z?.length)U.flowIds=z;if($.signKey)U.signKey=$.signKey;if($.startTime!==void 0)U.startTime=$.startTime;if($.endTime!==void 0)U.endTime=$.endTime;if($.status)U.status=$.status;if($.limit)U.limit=$.limit}else if(Y==="material_pack"||Y==="material-pack"){let Q=$.packageIds??($.packageId?[$.packageId]:void 0);if(!Q?.length)throw Error("material_pack 模式需要提供 packageIds(材料包 id)");let J=$.templateId??$.schemaConfig?.id;if(!J)throw Error("material_pack 模式需要提供 templateId(或 schemaConfig.id)");if(Object.assign(U,{templateId:J,packageIds:Q,approvalCode:$.approvalCode??"material_pack",nodeId:$.nodeId??"material_pack",runMode:$.runMode??"import_and_simulate"}),$.schemaConfig!==void 0)U.schemaConfig=$.schemaConfig}else if(Y==="weaver")Object.assign(U,{sourceSystem:"weaver",workflowTypeId:$.workflowTypeId,requestIds:$.requestIds,flowStatusList:$.flowStatusList,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,rejectNodeName:$.rejectNodeName??null});else if(Y==="helios")Object.assign(U,{sourceSystem:"helios",documentType:$.documentType,businessCodes:$.businessCodes,rejectNodeName:$.rejectNodeName??null});else if(Y==="maycur"||Y==="maycur-standard")Object.assign(U,{sourceSystem:Y,formCodes:$.formCodes??z,createdAtStart:$.startTime,createdAtEnd:$.endTime,formSubTypeBizCode:$.formSubTypeBizCode,formStatus:$.formStatus,pageNo:$.pageNo??1,pageSize:$.pageSize??100,signKey:$.signKey});else if(Y==="feishu")Object.assign(U,{sourceSystem:"feishu",approvalCode:$.approvalCode,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,signKey:$.signKey});else Object.assign(U,{sourceSystem:Y});if($.rawParams)Object.assign(U,$.rawParams);return U}function bh1($){return{id:$.id,status:$.status,approvalCode:$.approvalCode,sourceSystem:$.sourceSystem,totalCount:$.totalCount,processedCount:$.processedCount,successCount:$.successCount,failedCount:$.failedCount,createdCount:$.createdCount,createFailedCount:$.createFailedCount,requestSummary:$.requestSummary,resultSummary:$.resultSummary,createdAt:$.createdAt}}function Sz($){let Y=$.sourceDocumentSN,U=gz($),z=VT($);return{id:$.id,tenantId:$.tenantId,agentId:$.agentId,status:$.status,taskMode:$.taskMode,finalExecutionMode:$.finalExecutionMode,sourceSystem:$.sourceSystem,sourceDocumentSN:Y,sourceDocumentId:$.sourceDocumentId,documentId:$.documentId,simulationBatchId:$.sourceExtendData?.simulation_batch_id,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,langfuseSessionFallback:Y?`hosecloud-${Y}`:void 0,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName,humanResult:U?.value,humanResultPath:U?.path,aiDecision:z.decision,aiSummary:z.summary,createdAt:$.createdAt,updatedAt:$.updatedAt}}function ih1($,Y){return{date:Y.date,timezone:Y.timezone,fetched:Y.fetched,matched:$.length,total:Y.total,statusCounts:sR0($,(U)=>U.status??"unknown"),taskModeCounts:sR0($,(U)=>U.taskMode??"unknown"),records:$.map((U)=>{let z=Sz(U);return{createdAt:tR0(z.createdAt,Y.timezone),sourceDocumentSN:z.sourceDocumentSN,sourceDocumentId:z.sourceDocumentId,status:z.status,taskMode:z.taskMode,finalExecutionMode:z.finalExecutionMode,simulationBatchId:z.simulationBatchId,langfuseTraceId:z.langfuseTraceId,langfuseSessionFallback:z.langfuseSessionFallback,ruleSetVersionNumber:z.ruleSetVersionNumber,ruleSetPublishedAt:tR0(z.ruleSetPublishedAt,Y.timezone),ruleSetPublishedByName:z.ruleSetPublishedByName,humanResult:z.humanResult,humanResultPath:z.humanResultPath,recordId:z.id}})}}function pR0($){if(!$)return[];return(Array.isArray($)?$:$.split(",")).map((U)=>U.trim()).filter(Boolean)}function Y_0($,Y){let U={};for(let z of Y){if(z==="metadata"){U.metadata=U_0($);continue}let Q=d3($,z);if(Q!==void 0)ph1(U,z,Q)}return U}function U_0($){let Y=Sz($);return{recordId:Y.id,tenantId:Y.tenantId,agentId:Y.agentId,sourceSystem:Y.sourceSystem,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId,documentId:Y.documentId,status:Y.status,taskMode:Y.taskMode,finalExecutionMode:Y.finalExecutionMode,simulationBatchId:Y.simulationBatchId,langfuseTraceId:Y.langfuseTraceId,langfuseSessionFallback:Y.langfuseSessionFallback,ruleSetVersionNumber:Y.ruleSetVersionNumber,ruleSetPublishedAt:Y.ruleSetPublishedAt,ruleSetPublishedByName:Y.ruleSetPublishedByName,createdAt:Y.createdAt,updatedAt:Y.updatedAt}}function ch1($){return{metadata:U_0($),document:z_0($).document,aiResult:VT($),manualResult:gz($)?.value,manualResultPath:gz($)?.path,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName}}function VT($){let Y=Fq($.result);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,traceId:$.sourceExtendData?._langfuseTraceId,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,decision:ZT(Y,["decision","manualApproval.decision","manualApproval.result","review.decision","finalDecision"]),summary:ZT(Y,["summary","result.summary","review.summary","conclusion"]),riskPointCount:dR0(Y,["riskPoints","risks","risk_points","review.riskPoints"]),matchedRuleCount:dR0(Y,["matchedRules","hitRules","ruleResults","rules","review.matchedRules"])}}function z_0($){let Y=Fq($.document),U=mh1($.document),z=U.map((Q)=>`${Q.label??Q.path??""}:${Q.value??""}`).join(` -`);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,document:hK({id:Y?.id,sn:Y?.sn??Y?.sourceDocumentSN??$.sourceDocumentSN,title:Y?.title??Y?.name,template:ZT(Y,["template.name","templateName","form.name","formName","formTitle"]),amount:GT(U,["金额","报销金额","付款金额","合计","价税合计"])??ZT(Y,["amount","totalAmount","expenseAmount"]),expenseType:GT(U,["费用类型","费用类别","报销类型"]),costCompany:GT(U,["费用承担公司","承担公司","成本中心","费用归属"]),payee:GT(U,["收款方","收款账户","收款信息","开户名","银行账号"]),keyFields:U.slice(0,30)}),invoices:lh1($),attachments:f2($,{summary:!0}).attachments,aiResult:VT($),manualResult:gz($)?.value,hints:hK({amountMentions:mR0(z,["金额","合计","税率"],8),partyMentions:mR0(z,["买方","卖方","甲方","乙方","收款"],8)})}}function nh1($){let Y=[["result.citedRules",d3($,"result.citedRules")],["result.matchedRules",d3($,"result.matchedRules")],["result.ruleResults",d3($,"result.ruleResults")],["result.rules",d3($,"result.rules")],["pipelineData.citedRules",d3($,"pipelineData.citedRules")],["pipelineData.matchedRules",d3($,"pipelineData.matchedRules")]],U=[],z=new Set;for(let[Q,J]of Y)(Array.isArray(J)?J:J&&typeof J==="object"?Object.values(J):[]).forEach((K,G)=>{let H=Fq(K);if(!H)return;let W=S4(H.runtimeRuleId)??S4(H.runtimeId)??S4(H.id)??S4(H.ruleId),X=S4(H.ruleCode)??S4(H.code)??(W?sh1(W):void 0),Z=hK({runtimeRuleId:W,ruleCode:X,versionNumber:dh1(H.versionNumber)??$.ruleSetVersionNumber,scope:S4(H.scope),strictness:S4(H.strictness),appliedAnalysis:H.appliedAnalysis??H.analysis??H.reasoning,checkResult:H.checkResult??H.result??H.decision,findings:H.findings??H.riskPoints??H.evidence,sourcePath:`${Q}.${G}`}),q=JSON.stringify(Z);if(!z.has(q))z.add(q),U.push(Z)});return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,ruleSetVersionNumber:$.ruleSetVersionNumber,count:U.length,rules:U}}function ZT($,Y){if(!$)return;for(let U of Y){let z=d3($,U);if(z!==void 0)return z}return}function dR0($,Y){if(!$)return 0;for(let U of Y){let z=d3($,U);if(Array.isArray(z))return z.length;if(z&&typeof z==="object")return Object.keys(z).length;if(typeof z==="number")return z}return 0}function d3($,Y){return Y.split(".").reduce((U,z)=>{if(U===void 0||U===null)return;if(Array.isArray(U)){let Q=Number(z);return Number.isInteger(Q)?U[Q]:void 0}if(typeof U==="object")return U[z];return},$)}function ph1($,Y,U){let z=Y.split("."),Q=$;for(let J of z.slice(0,-1)){let I=Q[J];if(!I||typeof I!=="object"||Array.isArray(I))Q[J]={};Q=Q[J]}Q[z[z.length-1]??Y]=U}function hK($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}function Fq($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function dh1($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function mh1($){let Y=[];return Ll($,"document",Y),Y}function Ll($,Y,U){if(Array.isArray($)){$.forEach((I,K)=>Ll(I,`${Y}.${K}`,U));return}let z=Fq($);if(!z)return;let Q=S4(z.label)??S4(z.name)??S4(z.title)??S4(z.fieldName),J=z.value??z.displayValue??z.text??z.content;if(Q&&J!==void 0&&typeof J!=="object")U.push(hK({path:Y,label:Q,value:J,type:S4(z.type)??S4(z.fieldType)}));for(let[I,K]of Object.entries(z)){if(I==="attachments")continue;Ll(K,`${Y}.${I}`,U)}}function GT($,Y){return $.find((z)=>{let Q=S4(z.label)??"";return Y.some((J)=>Q.includes(J))})?.value}function lh1($){let Y=[];return qT($.result,"result",Y),qT($.document,"document",Y),Y.slice(0,20)}function qT($,Y,U){if(Array.isArray($)){$.forEach((Q,J)=>qT(Q,`${Y}.${J}`,U));return}let z=Fq($);if(!z)return;if(/invoice|发票/i.test(Y))U.push(hK({path:Y,fileName:S4(z.fileName)??S4(z.filename)??S4(z.name),buyer:z.buyer??z.buyerName??z.purchaserName,seller:z.seller??z.sellerName,amount:z.amount??z.totalAmount??z.total,taxRate:z.taxRate,category:z.category??z.type}));for(let[Q,J]of Object.entries(z))qT(J,`${Y}.${Q}`,U)}function mR0($,Y,U){return $.split(/\r?\n/).filter((z)=>Y.some((Q)=>z.includes(Q))).slice(0,U)}function HT($){return $.map((Y)=>{let U=Sz(Y);return{recordId:U.id,tenantId:U.tenantId,agentId:U.agentId,sourceDocumentSN:U.sourceDocumentSN,sourceDocumentId:U.sourceDocumentId,simulationBatchId:U.simulationBatchId,langfuseTraceId:U.langfuseTraceId,langfuseSessionFallback:U.langfuseSessionFallback,ruleSetVersionNumber:U.ruleSetVersionNumber,ruleSetPublishedAt:U.ruleSetPublishedAt,ruleSetPublishedByName:U.ruleSetPublishedByName,resolution:U.langfuseTraceId?"trace":U.langfuseSessionFallback?"session-fallback":"unresolved"}})}function ql($){return{id:$.id,tenantId:$.tenantId,versionNumber:$.versionNumber,versionName:$.versionName,publishedBy:$.publishedBy,publishedByName:$.publishedByName,rulesCount:$.rules.length,publishedAt:$.publishedAt,createdAt:$.createdAt}}async function oh1($,Y){if(Y.recordId&&!Y.versionId&&!Y.versionNumber&&!Y.latest){let U=await H4($,Y.recordId);if(!U.ruleSetVersionNumber)throw Error(`Approval run ${Y.recordId} has no ruleSetVersionNumber`);return Fl($,{versionNumber:U.ruleSetVersionNumber})}return Fl($,Y)}function rh1($,Y){let U=Vl(Y.code),z=Q_0(Y.runtimeId),Q=U?Number(U.slice(1)):z;if(!Q||Q<1)throw Error("Pass --code '#0038' or --runtime-id rule-205");let J=$.rules.find((G,H)=>{let W=G;return Vl(S4(W.code)??S4(W.ruleCode))===U||H+1===Q});if(!J)return;let I=J,K=$.rules.indexOf(J)+1;return hK({runtimeRuleId:S4(I.runtimeRuleId)??`rule-${K}`,ruleCode:Vl(S4(I.code)??S4(I.ruleCode))??Vq(K),versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedAt:$.publishedAt,publishedByName:$.publishedByName,description:J.description,scope:J.scope,strictness:J.strictness,status:S4(I.status)})}function Vl($){if(!$)return;let Y=$.match(/\d+/)?.[0];return Y?Vq(Number(Y)):$}function Q_0($){if(!$)return;let Y=$.match(/(\d+)$/);return Y?Number(Y[1]):void 0}function sh1($){let Y=Q_0($);return Y?Vq(Y):void 0}function Vq($){return`#${String($).padStart(4,"0")}`}function ah1($,Y){let U=Sz($),z={recordId:U.id,sourceDocumentSN:U.sourceDocumentSN,sourceDocumentId:U.sourceDocumentId,simulationBatchId:U.simulationBatchId,status:U.status,taskMode:U.taskMode,ruleSetVersionNumber:U.ruleSetVersionNumber,langfuseTraceId:U.langfuseTraceId,manualResult:U.humanResult,aiDecision:U.aiDecision,aiSummary:U.aiSummary,createdAt:U.createdAt};if(Y.length===0)return z;return Y_0(z,Y)}async function th1($,Y){if(Y.recordId)return H4($,Y.recordId);let z=(await i4($,{limit:1,search:Y.sourceDocumentSN??Y.sourceDocumentId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId})).records[0];if(!z){let Q=Y.sourceDocumentSN?`sourceDocumentSN ${Y.sourceDocumentSN}`:`sourceDocumentId ${Y.sourceDocumentId}`;throw Error(`Approval run not found for ${Q}`)}return H4($,z.id)}function eh1($){if($.seal?.url)return $.seal.url.replace(/\/+$/,"");if($.source.type==="hose")return v7($,$.source).replace(/\/+$/,"");if("sealUrl"in $.source&&typeof $.source.sealUrl==="string"&&$.source.sealUrl)return $.source.sealUrl.replace(/\/+$/,"");return`https://${$.id.toLowerCase()}.sealai.cc`}function $S1($){return $.replace(/\/+$/,"")}function S4($){return typeof $==="string"&&$.trim()?$:void 0}async function YS1($,Y){let U=Math.min(100,Math.max(Y.limit,20)),z=[],Q,J=0;while(J!Y.sn||G.sourceDocumentSN===Y.sn).filter((G)=>!Y.batchId||G.sourceExtendData?.simulation_batch_id===Y.batchId);if(z.push(...K),I.records.length===0||Q!==void 0&&J>=Q)break}return z.sort((I,K)=>lR0(K.createdAt)-lR0(I.createdAt)),{total:Q,scanned:J,records:z.slice(0,Y.latest?1:Y.limit)}}function lR0($){if(typeof $==="number")return $;if(typeof $==="string"){let Y=Date.parse($);return Number.isFinite(Y)?Y:0}return 0}async function Fl($,Y){if(Y.versionId)return SH($,Y.versionId);let U=await P$($),z=Y.versionNumber?U.find((Q)=>Q.versionNumber===Y.versionNumber):U[0];if(!z)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return z}function Nl($,Y){let U=Y?.trim().toLowerCase();if(!U)return $;return $.filter((z)=>{return[z.id,z.sourceDocumentSN,z.sourceDocumentId,z.documentId,z.sourceExtendData?._langfuseTraceId,z.sourceExtendData?.simulation_batch_id,z.status,z.taskMode,z.finalExecutionMode,z.sourceSystem,z.ruleSetVersionNumber,z.ruleSetPublishedByName].some((J)=>wl(J,U))||Ml(z,U)})}function wl($,Y){if($===null||$===void 0)return!1;if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return String($).toLowerCase().includes(Y);return!1}function Ml($,Y,U=0){if(U>6)return!1;if(wl($,Y))return!0;if(!$||typeof $!=="object")return!1;if(Array.isArray($))return $.some((z)=>Ml(z,Y,U+1));return Object.entries($).some(([z,Q])=>wl(z,Y)||Ml(Q,Y,U+1))}function US1($,Y){let U=Y?.trim().toLowerCase();if(!U)return $;return $.filter((z)=>gz(z)?.value.toLowerCase().includes(U))}function zS1($){return{...$,manualApprovalStatus:J_0($.manualApprovalStatus,$.humanResult)}}function J_0($,Y){if($)return $;let U=Y?.trim().toLowerCase();if(!U)return;if(["驳回","已驳回","拒绝","不通过","terminated","reject","rejected","denied"].includes(U))return"TERMINATED";return}async function oR0($,Y,U){let z=Nl(Y,U.query);if(!U.humanResult?.trim())return z;let Q=await Promise.all(z.map(async(J)=>{if(gz(J))return J;try{return await H4($,J.id)}catch{return J}}));return US1(Q,U.humanResult)}function QS1($){return{originalDocumentData:{path:"document",frontendLabel:"单据原始数据",description:"前端详情页展示的单据原始数据对象",id:$.document?.id??$.documentId,sourceDocumentSN:$.document?.sourceDocumentSN??$.sourceDocumentSN,sourceDocumentId:$.document?.sourceDocumentId??$.sourceDocumentId},aiDocumentFields:{path:"document.fields",frontendLabel:"AI 看的单据",description:"AI 审核实际读取的字段数组,即单据原始数据中的 fields",fieldCount:$.document?.fields?.length},aiDocument:{path:"document.fields",frontendLabel:"AI 看的单据",description:"兼容别名,等同于 aiDocumentFields",aliasOf:"aiDocumentFields",fieldCount:$.document?.fields?.length},sourceDocument:{path:"sourceExtendData.hosecloudViewUrl",description:"合思原始单据入口;详情响应中只有入口和源单据 ID,不包含完整原始单据 JSON",sourceSystem:$.sourceSystem,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,originalDocumentId:$.sourceExtendData?.original_document_id,viewUrl:$.sourceExtendData?.hosecloudViewUrl},aiResult:{path:"result",description:"AI 最终审核结构化结果"},aiAuditLog:{path:"pipelineData.logs",description:"AI 审核过程日志"},manualApproval:{path:"manualApprovalRecord",description:"人工审核结果、节点和驳回原因"}}}function gz($){let Y=[["result",$.result],["pipelineData",$.pipelineData]];for(let[U,z]of Y){let Q=Ol(z,U);if(Q)return Q}return}function Ol($,Y,U=0){if(U>8||$===null||$===void 0)return;if(Array.isArray($)){for(let z=0;z<$.length;z+=1){let Q=Ol($[z],`${Y}[${z}]`,U+1);if(Q)return Q}return}if(typeof $!=="object")return;for(let[z,Q]of Object.entries($)){let J=`${Y}.${z}`,I=Ol(Q,J,U+1);if(I)return I;if(rR0(z)||rR0(J)){let K=I_0(Q);if(K)return{value:K,path:J}}}return}function rR0($){let Y=$.toLowerCase(),U=Y.includes("human")||Y.includes("manual")||Y.includes("reviewer")||Y.includes("operator")||$.includes("人工")||$.includes("人工审批")||$.includes("人工审核"),z=Y.includes("result")||Y.includes("decision")||Y.includes("outcome")||Y.includes("conclusion")||Y.includes("action")||$.includes("结果")||$.includes("结论")||$.includes("动作");return U&&z}function I_0($){if(typeof $==="string")return $.trim()||void 0;if(typeof $==="number"||typeof $==="boolean")return String($);if(!$||typeof $!=="object")return;let Y=$;for(let U of["label","name","text","value","result","decision","outcome","status","action"]){let z=I_0(Y[U]);if(z)return z}return}function JS1($,Y){if(Y.recordId&&$.id!==Y.recordId)return!1;if(Y.sourceDocumentSN&&$.sourceDocumentSN!==Y.sourceDocumentSN)return!1;if(Y.sourceDocumentId&&$.sourceDocumentId!==Y.sourceDocumentId)return!1;return!0}function sR0($,Y){return $.reduce((U,z)=>{let Q=Y(z);return U[Q]=(U[Q]??0)+1,U},{})}function aR0($,Y){let U=K_0($);if(!U)return;let z=G_0(U,Y),Q=z.year,J=(z.month??"01").padStart(2,"0"),I=(z.day??"01").padStart(2,"0");return`${Q}-${J}-${I}`}function tR0($,Y){let U=K_0($);if(!U)return;let z=G_0(U,Y),Q=(z.month??"01").padStart(2,"0"),J=(z.day??"01").padStart(2,"0"),I=(z.hour??"00").padStart(2,"0"),K=(z.minute??"00").padStart(2,"0"),G=(z.second??"00").padStart(2,"0");return`${z.year??"0000"}-${Q}-${J} ${I}:${K}:${G}`}function K_0($){if($===void 0)return null;let Y=new Date($);return Number.isNaN(Y.getTime())?null:Y}function G_0($,Y){return Object.fromEntries(new Intl.DateTimeFormat("en-CA",{timeZone:Y,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts($).filter((U)=>U.type!=="literal").map((U)=>[U.type,U.value]))}var Lq,hh1,Sh1;var wq=m(()=>{A$();X6();t9();y3();i8();NA0();SZ();wp();xA0();Xl();mQ();gB();hB();pn();Zl();rS();Lq=[{name:"seal_whoami",description:"查询当前 Seal 用户身份及租户信息",parameters:L.object({}),handler:async($)=>W8($)},{name:"seal_session_get",description:"查询当前 Seal Bearer session、用户和过期时间",parameters:L.object({}),handler:async($)=>O10($)},{name:"seal_delegation_list",description:"查询当前 Seal 租户下的授权链接 (Delegation) 列表",parameters:L.object({}),handler:async($)=>i10($)},{name:"seal_delegation_create",description:"创建新的 Seal 授权链接 (Delegation)",parameters:L.object({note:L.string().optional().describe("授权链接的备注或说明信息")}),handler:async($,Y)=>lQ($,Y)},{name:"seal_delegation_revoke",description:"撤销/废除指定的 Seal 授权链接 (Delegation)",parameters:L.object({tokenId:L.string().describe("授权链接 ID (delegation record ID)")}),handler:async($,Y)=>c10($,Y.tokenId)},{name:"seal_user_create",description:"创建本地 Seal 用户,生成并返回初始随机密码",parameters:L.object({name:L.string().describe("用户姓名"),phone:L.string().describe("手机号码 (例如 13300001111 或 +8613300001111)"),permissions:L.array(L.string()).optional().describe("权限列表,默认为 []"),departmentIds:L.array(L.string()).optional().describe("关联部门 ID 数组")}),handler:async($,Y)=>n10($,Y)},{name:"seal_user_reset_password",description:"重置指定 Seal 用户的默认/随机密码,并返回生成的新密码",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>Ug($,Y.userId)},{name:"seal_user_get",description:"获取指定 Seal 用户的详细信息",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>HM($,Y.userId)},{name:"seal_user_search",description:"按姓名、手机号或邮箱搜索 Seal 成员用户列表",parameters:L.object({keyword:L.string().optional().describe("搜索关键词(姓名、手机号、邮箱等),不传或传空字符串可列出租户成员")}),handler:async($,Y)=>WM($,Y.keyword??"")},{name:"seal_user_delete",description:"删除指定 Seal 本地用户",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>$40($,Y.userId)},{name:"seal_user_activate",description:"启用/激活已离职的 Seal 用户账号",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>Qg($,Y.userId)},{name:"seal_user_delegation_create",description:"为指定 Seal 用户(按用户ID、手机号或姓名)重置密码登录并生成其专属授权链接 (Delegation)",parameters:L.object({userIdOrPhone:L.string().describe("目标用户 ID、手机号或姓名"),note:L.string().optional().describe("授权链接备注信息")}),handler:async($,Y,U)=>Y40($,Y,(z)=>fS(U.corp,z),U.corp)},{name:"seal_contacts_departments_root_list",description:"列出当前 Seal 租户通讯录的顶级部门",parameters:L.object({}),handler:async($)=>p10($)},{name:"seal_contacts_department_get",description:"获取指定通讯录部门的详细信息",parameters:L.object({departmentId:L.string().describe("部门 ID")}),handler:async($,Y)=>d10($,Y.departmentId)},{name:"seal_contacts_department_children_list",description:"列出指定通讯录部门的直接子部门",parameters:L.object({departmentId:L.string().describe("部门 ID")}),handler:async($,Y)=>m10($,Y.departmentId)},{name:"seal_contacts_department_users_list",description:"列出指定通讯录部门下的用户",parameters:L.object({departmentId:L.string().describe("部门 ID")}),handler:async($,Y)=>l10($,Y.departmentId)},{name:"seal_contacts_last_sync_time_get",description:"查询通讯录最后同步时间",parameters:L.object({}),handler:async($)=>o10($)},{name:"seal_insight_stats_get",description:"查询智能洞察风险标签统计及分析状态",parameters:L.object({startDate:L.string().optional().describe("统计开始时间(ISO 8601)"),endDate:L.string().optional().describe("统计结束时间(ISO 8601)"),limit:L.number().int().positive().max(100).optional().describe("最多返回的风险标签数量")}),handler:async($,Y)=>DM($,Y)},{name:"seal_insight_risks_by_tag_get",description:"按风险标签查询智能洞察风险单据明细及 AI 分析依据",parameters:L.object({tagId:L.string().describe("风险标签 ID(如 B.1.1、B.1.6)"),startDate:L.string().optional().describe("统计开始时间(ISO 8601)"),endDate:L.string().optional().describe("统计结束时间(ISO 8601)")}),handler:async($,Y)=>AM($,Y)},{name:"seal_insight_performance_get",description:"查询智能洞察审核效能指标(自动化率、准确率等)及决策流向桑基图",parameters:L.object({startDate:L.union([L.string(),L.number()]).optional().describe("统计开始时间(ISO 8601 或毫秒时间戳)"),endDate:L.union([L.string(),L.number()]).optional().describe("统计结束时间(ISO 8601 或毫秒时间戳)")}),handler:async($,Y)=>BM($,Y)},{name:"seal_insight_record_analyze",description:"对指定的审批单运行记录按需触发智能洞察风险分析",parameters:L.object({recordId:L.string().describe("审批单运行记录 ID (recordId)")}),handler:async($,Y)=>r10($,Y.recordId)},{name:"seal_insight_export",description:"导出智能洞察风险研报为高保真 Excel 文件(含效能概览、Top风险标签、风险单据穿透明细)",parameters:L.object({startDate:L.string().optional().describe("统计开始时间(ISO 8601 或时间戳)"),endDate:L.string().optional().describe("统计结束时间(ISO 8601 或时间戳)"),limit:L.number().int().positive().optional().describe("最多下钻分析的风险标签数量"),outputFile:L.string().optional().describe("自定义 Excel 保存路径"),toDownloads:L.boolean().optional().describe("是否直接保存到用户的系统下载目录"),force:L.boolean().optional().describe("时间跨度超过 180 天时是否强制导出")}),handler:async($,Y,U)=>IT($,U.corp,Y)},{name:"seal_expenses_list",description:"分页查询费用明细",parameters:L.object({offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),startDate:L.string().optional().describe("开始时间"),endDate:L.string().optional().describe("结束时间"),search:L.string().optional().describe("搜索费用类型、描述或金额")}),handler:async($,Y)=>a10($,Y)},{name:"seal_invoices_list",description:"分页查询进项发票",parameters:L.object({offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),startDate:L.string().optional().describe("开始时间"),endDate:L.string().optional().describe("结束时间"),search:L.string().optional().describe("搜索发票号码或销售方")}),handler:async($,Y)=>t10($,Y)},{name:"seal_simulation_feishu_approval_definitions_list",description:"列出飞书模拟测试可用的审批定义,便于选择 approvalCode",parameters:L.object({}),handler:async($)=>{let Y=await e10($);return{count:Y.length,approvalDefinitions:Y}}},{name:"seal_llm_config_get",description:"查询当前 Seal 租户的大模型 (LLM) 配置",parameters:L.object({}),handler:async($)=>U40($)},{name:"seal_llm_providers_list",description:"查询支持的大模型 (LLM) 供应商与配置属性字段",parameters:L.object({}),handler:async($)=>z40($)},{name:"seal_permissions_available_list",description:"查询系统可选权限清单(如超级管理员、智能审核管理、数据管理等)",parameters:L.object({}),handler:async($)=>Q40($)},{name:"seal_permissions_configs_list",description:"查询当前租户已绑定的权限配置",parameters:L.object({}),handler:async($)=>J40($)},{name:"seal_billing_status_get",description:"查询当前 Seal 租户的订阅状态与各功能额度(AI审批、审核规则、知识文档等)",parameters:L.object({}),handler:async($)=>nY($)},{name:"seal_billing_plans_list",description:"查询系统支持的订阅套餐列表",parameters:L.object({}),handler:async($)=>I40($)},{name:"seal_billing_features_list",description:"查询系统支持的功能特性定义列表",parameters:L.object({}),handler:async($)=>K40($)},{name:"seal_approval_rules_list",description:"列出 Seal 当前草稿审批规则;返回的 code 属于草稿编号体系,发布版本可能重新编码;支持 countOnly、fields、limit 以避免返回规则正文",parameters:L.object({countOnly:L.boolean().optional().describe("只返回规则数量,不返回规则列表"),fields:L.array(L.enum(["id","code","tenantId","status","strictness","scope","createdAt","updatedAt","description"])).optional().describe("只返回指定字段;不传则返回完整规则"),limit:L.number().int().nonnegative().optional().describe("最多返回多少条规则;0 可配合 fields 或 countOnly 只取数量"),offset:L.number().int().nonnegative().optional().describe("跳过前多少条规则")}),handler:async($,Y)=>{let U=await p6($);return gh1(U,Y)}},{name:"seal_approval_rules_clear",description:"清空 Seal 当前草稿审批规则;用于测试环境导入规则前重置草稿规则集",parameters:L.object({dryRun:L.boolean().optional().describe("只预览将删除的规则数量,不执行删除"),recode:L.boolean().optional().describe("删除后尝试重新编排规则编号;失败会作为 warning 返回")}),handler:async($,Y,U)=>{let z=await p6($);if(Y.dryRun)return{...R9(U,"api/v1/rules",z.rules,[],z.rules.length),corpId:U.corp.id,corpName:U.corp.name,dryRun:!0,beforeCount:z.rules.length,deleted:0,afterCount:z.rules.length,hasPendingDeletes:z.hasPendingDeletes};let Q=[],J=0;for(let H of z.rules)try{await oQ($,H.id),J+=1}catch(W){Q.push({ruleId:H.id,error:W instanceof Error?W.message:String(W)})}let I=[],K;if(J>0&&Y.recode!==!1){if(K=await ZM($),K&&typeof K==="object"&&"ok"in K&&K.ok!==!0)I.push("batch-recode did not complete; current rules were still deleted")}let G=await p6($);return{corpId:U.corp.id,corpName:U.corp.name,dryRun:!1,beforeCount:z.rules.length,deleted:J,failed:Q,afterCount:G.rules.length,hasPendingDeletes:G.hasPendingDeletes,warnings:I,recode:K}}},{name:"seal_approval_rule_create",description:"新建 Seal 草稿审批规则",parameters:L.object({description:L.string().describe("规则描述"),scope:L.string().describe("适用场景"),strictness:L.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).describe("严格程度")}),handler:async($,Y)=>hH($,Y)},{name:"seal_approval_rule_update",description:"更新 Seal 草稿审批规则",parameters:L.object({ruleId:L.string().describe("规则 ID"),description:L.string().optional(),scope:L.string().optional(),strictness:L.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).optional()}),handler:async($,Y)=>{let{ruleId:U,...z}=Y,Q=await sS($,U,z);if(Y.description)try{let J=_4();if(J.lint?.enabled){let I=await Vp(J.lint.activeLinter),K=await Fp({id:U,description:Y.description},I);if(K.issues.length>0){console.error(`⚠️ [Linter 质检提醒] 规则质量评分: ${K.score}/100 (发现 ${K.issues.length} 处潜在风险):`);for(let G of K.issues)if(console.error(` • [${G.level.toUpperCase()}] ${G.message}${G.snippet?` ("${G.snippet}")`:""}`),G.suggestion)console.error(` \uD83D\uDC49 建议: ${G.suggestion}`)}}}catch{}return Q}},{name:"seal_approval_rule_delete",description:"删除 Seal 草稿审批规则",parameters:L.object({ruleId:L.string().describe("规则 ID")}),handler:async($,Y)=>{return await oQ($,Y.ruleId),{success:!0}}},{name:"seal_approval_rule_versions_list",description:"列出 Seal 已发布审批规则版本摘要,不展开每个版本的规则快照",parameters:L.object({}),handler:async($)=>{let Y=await P$($);return{count:Y.length,latest:Y[0]?ql(Y[0]):void 0,versions:Y.map(ql)}}},{name:"seal_approval_rule_version_get",description:"获取指定 Seal 已发布审批规则版本详情,包含该版本的规则快照",parameters:L.object({versionId:L.string().optional().describe("规则版本 ID"),versionNumber:L.number().int().positive().optional().describe("规则版本号"),latest:L.boolean().optional().describe("为 true 时获取最新版本")}),handler:async($,Y)=>{if(Y.versionId)return SH($,Y.versionId);let U=await P$($),z=Y.versionNumber?U.find((Q)=>Q.versionNumber===Y.versionNumber):U[0];if(!z)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return z}},{name:"seal_approval_rule_version_publish",description:"发布 Seal 草稿审批规则为新版本",parameters:L.object({versionName:L.string().describe("版本名称")}),handler:async($,Y)=>gH($,Y.versionName)},{name:"seal_approval_rule_get",description:"按版本号/code/runtime-id/record-id 定位单条规则;code 只在选定的版本编号体系内有效,避免拉取整版规则快照",parameters:L.object({versionId:L.string().optional().describe("规则版本 ID"),versionNumber:L.number().int().positive().optional().describe("规则版本号"),latest:L.boolean().optional().describe("为 true 时取最新版本"),code:L.string().optional().describe("规则展示编号,如 #0038;没有后端 code 时按版本内序号匹配"),runtimeId:L.string().optional().describe("运行时规则 ID,如 rule-205;按版本内序号匹配"),recordId:L.string().optional().describe("从运行记录推断 ruleSetVersionNumber")}),handler:async($,Y)=>{let U=await oh1($,Y),z=rh1(U,{code:Y.code,runtimeId:Y.runtimeId});if(!z)throw Error(`Rule not found in version ${U.versionNumber}`);return z}},{name:"seal_approval_rules_lint",description:"对 Seal 本地规则文件、草稿审批规则或指定发布版本规则进行质量与可执行性检查(模糊词、悬空例外检测)",parameters:L.object({file:L.string().optional().describe("指定本地规则文件路径进行离线质检(支持 .json),0网络请求、不污染远端草稿"),linter:L.string().optional().describe("指定使用的校验器名称或脚本路径(如 builtin、strict、./my-linter.ts)"),version:L.string().optional().describe("指定要质检的历史发布版本号或 ID(如 16 或 latest),不传默认质检当前草稿"),code:L.string().optional().describe("按规则展示编号过滤(如 #0038)"),ruleId:L.string().optional().describe("按规则 ID 过滤"),minScore:L.number().optional().describe("最低合格质量分阈值(0~100),低于该分值抛出错误以返回非零退出码"),level:L.enum(["all","error","warning"]).default("all").describe("问题报告等级过滤"),summary:L.boolean().optional().describe("为 true 时仅返回存在瑕疵/扣分的规则")}),handler:async($,Y,U)=>{let z=[],Q;if(Y.file){let H=Mp(Y.file);z=kA0(H.rules),Q=H.meta.versionNumber}else if(Y.version){let H=await P$($),W=Number(Y.version),X=isNaN(W)?Y.version==="latest"?H[0]:H.find((Z)=>Z.id===Y.version):H.find((Z)=>Z.versionNumber===W);if(!X)throw Error(`未找到指定的规则版本: ${Y.version}`);Q=X.versionNumber,z=(X.rules??[]).map((Z,q)=>({id:Z.id??Z.runtimeId,code:Z.code??`#${String(q+1).padStart(4,"0")}`,name:Z.name??Z.title,description:Z.description??"",scope:Z.scope,strictness:Z.strictness}))}else z=((await p6($)).rules??[]).map((W,X)=>({id:W.id,code:W.code??`#${String(X+1).padStart(4,"0")}`,name:W.name??W.title,description:W.description??"",scope:W.scope,strictness:W.strictness}));if(Y.code)z=z.filter((H)=>H.code===Y.code||H.code?.replace(/[#\s]/g,"")===Y.code?.replace(/[#\s]/g,""));if(Y.ruleId)z=z.filter((H)=>H.id===Y.ruleId||H.code===Y.ruleId);let J=_4(),I=Y.linter??J.lint?.activeLinter??"builtin",K=await Vp(I),G=await hA0(z,K,{corpId:U?.corp?.id,versionNumber:Q,allRules:z},{minScore:Y.minScore,level:Y.level,summary:Y.summary});if(Y.minScore&&G.overallScore{let z=Y.out??"./rules.local.json",Q=[],J="draft",I;if(Y.version){let G=await P$($),H=Number(Y.version),W=isNaN(H)?Y.version==="latest"?G[0]:G.find((X)=>X.id===Y.version):G.find((X)=>X.versionNumber===H);if(!W)throw Error(`未找到指定的规则版本: ${Y.version}`);I=W.versionNumber,J=`version:${I}`,Q=(W.rules??[]).map((X,Z)=>({code:X.code?Number(String(X.code).replace(/^#/,""))||Z+1:Z+1,name:X.name??X.title,description:X.description??"",scope:X.scope??"ALL",strictness:X.strictness??"MUST_FOLLOW"}))}else Q=((await p6($)).rules??[]).map((H,W)=>({id:H.id,code:H.code??W+1,name:H.name??H.title,description:H.description??"",scope:H.scope??"ALL",strictness:H.strictness??"MUST_FOLLOW",status:H.status}));return{saved:!0,path:yA0(z,{corpId:U.corp.id,source:J,versionNumber:I,exportedAt:new Date().toISOString(),rulesCount:Q.length,rules:Q}),rulesCount:Q.length,corpId:U.corp.id,source:J,versionNumber:I}}},{name:"seal_approval_rules_push",description:"将本地规则文件增量同步到远端草稿;按规则 ID 更新/删除并保留未变更规则,支持直接发布为正式版本",parameters:L.object({file:L.string().optional().describe("要推送的本地规则文件路径,默认为 ./rules.local.json"),dryRun:L.boolean().optional().describe("是否仅预览变更而不实际写入远端(默认 true,传 --yes 或 confirm: true 执行写入)"),confirm:L.boolean().optional().describe("确认覆盖写入远端草稿"),publish:L.boolean().optional().describe("写入草稿后是否直接发布为一个正式版本"),versionName:L.string().optional().describe("发布版本的名称(仅在 publish=true 时有效)")}),handler:async($,Y,U)=>{let z=Y.file??"./rules.local.json",Q=Mp(z),J=Y.confirm===!0,I=Y.dryRun??!J,K=await p6($),G=kh1(K.rules,Q.rules);if(I)return{...R9(U,"api/v1/rules",K.rules,Q.rules.map((Z)=>({description:Z.description,scope:Z.scope??"ALL",strictness:Z.strictness??"MUST_FOLLOW"})),K.rules.length+Q.rules.length),corpId:U.corp.id,dryRun:!0,localFile:Q.resolvedPath,localRulesCount:Q.rules.length,remoteDraftCount:K.rules.length,changes:G,impactCount:G.created.length+G.updated.length+G.deleted.length,preservedRuleIds:[...G.updated.map((Z)=>Z.id),...G.unchanged.map((Z)=>Z.id)],warning:"Incremental mode preserves matched rule IDs and does not recode the draft rule set.",willPublish:Boolean(Y.publish),message:"Preview mode. Use --yes or confirm=true to apply the listed incremental changes to the remote draft."};for(let Z of G.deleted)await oQ($,Z.id);let H=[];for(let Z of G.created){let q=await hH($,{description:Z.description,scope:Z.scope??"ALL",strictness:WT(Z.strictness)});H.push({id:q.id,description:q.description,code:q.code})}let W=[];for(let Z of G.updated)await sS($,Z.id,{description:Z.rule.description,scope:Z.rule.scope??"ALL",strictness:WT(Z.rule.strictness)}),W.push(Z.id);let X=void 0;if(Y.publish){let Z=new Date().toISOString().slice(0,10).replace(/-/g,""),q=Y.versionName||`v-local-${Z}-${Date.now().toString().slice(-4)}`;X=await gH($,q)}return{corpId:U.corp.id,dryRun:!1,localFile:Q.resolvedPath,deletedRules:G.deleted.length,createdRules:H.length,updatedRules:W.length,unchangedRules:G.unchanged.length,preservedRuleIds:[...W,...G.unchanged.map((Z)=>Z.id)],recoded:!1,published:X??!1}}},{name:"seal_approval_documents_list",description:"列出 Seal 审批知识文档",parameters:L.object({scenarios:L.array(L.string()).optional().describe("场景过滤"),offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().optional()}),handler:async($,Y)=>h7($,Y)},{name:"seal_approval_document_get",description:"获取 Seal 审批知识文档详情",parameters:L.object({documentId:L.string().describe("文档 ID")}),handler:async($,Y)=>N10($,Y.documentId)},{name:"seal_approval_document_create",description:"新建 Seal 审批知识文档",parameters:L.object({title:L.string(),purpose:L.string(),content:L.string().describe("正文,通常为 Markdown"),contentType:L.string().optional(),status:L.string().optional(),enabled:L.boolean().optional(),scenarios:L.array(L.string()).optional(),tags:L.array(L.string()).optional()}),handler:async($,Y)=>qM($,Y)},{name:"seal_approval_document_update",description:"更新 Seal 审批知识文档",parameters:L.object({documentId:L.string(),title:L.string().optional(),purpose:L.string().optional(),content:L.string().optional(),contentType:L.string().optional(),status:L.string().optional(),enabled:L.boolean().optional(),scenarios:L.array(L.string()).optional(),tags:L.array(L.string()).optional()}),handler:async($,Y)=>{let{documentId:U,...z}=Y;return VM($,U,z)}},{name:"seal_approval_delete_document",description:"删除 Seal 审批知识文档",parameters:L.object({documentId:L.string().describe("知识文档 ID")}),handler:($,Y)=>LM($,Y.documentId)},{name:"seal_approval_search",description:"按关键词组检索 Seal 审批规则、审批文档和审批偏好配置,返回命中位置、字段、行号和前后三行上下文",parameters:L.object({keywords:L.array(L.string()).min(1).describe("关键词组"),matchMode:L.enum(["any","all"]).optional().describe("any 命中任一关键词,all 要求同一行命中全部关键词"),areas:L.array(L.enum(["rules","documents","preferences"])).optional().describe("检索范围"),caseSensitive:L.boolean().optional().describe("是否大小写敏感"),contextLines:L.number().int().nonnegative().optional().describe("返回命中行前后几行,默认 3"),documentLimit:L.number().int().positive().optional().describe("缓存刷新时最多拉取文档数,默认 100"),maxResults:L.number().int().positive().optional().describe("最多返回命中数,默认 50"),refresh:L.boolean().optional().describe("是否跳过 5 分钟内存缓存并强制刷新"),ruleVersionScope:L.enum(["current","all","version"]).optional().describe("规则检索范围,默认 current;all 会检索所有已发布历史版本"),ruleVersionId:L.string().optional().describe("ruleVersionScope=version 时指定版本 ID"),ruleVersionNumber:L.number().int().positive().optional().describe("ruleVersionScope=version 时指定版本号"),latestRuleVersion:L.boolean().optional().describe("ruleVersionScope=version 时取最新已发布版本"),snippetOnly:L.boolean().optional().describe("只返回命中行,不返回前后文"),maxChars:L.number().int().positive().optional().describe("每个文本片段最多返回字符数"),fields:L.array(L.string()).optional().describe("只搜索指定字段,如 history.description、description、scope")}),handler:async($,Y,U)=>OA0($,U.corp,Y)},{name:"seal_approval_context_get",description:"聚合获取 Seal 现有审批规则、审批文档和审批风格偏好",parameters:L.object({documentLimit:L.number().int().positive().optional().describe("最多返回的审批文档数量"),ruleVersionId:L.string().optional().describe("指定已发布规则版本 ID;指定后 rules 返回该版本快照"),ruleVersionNumber:L.number().int().positive().optional().describe("指定已发布规则版本号;指定后 rules 返回该版本快照"),latestRuleVersion:L.boolean().optional().describe("为 true 时 rules 返回最新已发布版本快照")}),handler:async($,Y,U)=>{let z=await OM($,{documentLimit:Y.documentLimit,stylePreferencesEndpoint:U.corp.seal.endpoints.approvalStylePreferences});if(!Y.ruleVersionId&&!Y.ruleVersionNumber&&!Y.latestRuleVersion)return z;let Q=await Fl($,Y);return{...z,rules:{version:ql(Q),rules:Q.rules}}}},{name:"seal_approval_style_preferences_get",description:"获取 Seal 审批风格偏好配置",parameters:L.object({}),handler:async($,Y,U)=>o1($,U.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_approval_style_preferences_update",description:"更新 Seal 审批风格偏好配置",parameters:L.object({tone:L.string().optional(),language:L.string().optional(),detailLevel:L.string().optional(),outputFormat:L.string().optional(),examples:L.array(L.string()).optional(),prohibitedPhrases:L.array(L.string()).optional(),customInstructions:L.string().optional()}),handler:async($,Y,U)=>m5($,Y,U.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_webhook_list",description:"列出当前 Seal 租户的 Webhook 集成,可按 ID、名称或 URL 查找",parameters:L.object({query:L.string().optional().describe("按集成 ID、名称或 URL 做本地包含匹配"),includeSecret:L.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,Y,U)=>{let z=j10(await J$($,U.corp.seal.endpoints.approvalStylePreferences),Y.query);return{count:z.length,integrations:z.map((Q)=>qq(Q,Y.includeSecret===!0))}}},{name:"seal_webhook_get",description:"按 Webhook 集成 ID 或名称精确查找一条集成",parameters:L.object({selector:L.string().min(1).describe("Webhook 集成 ID 或名称"),includeSecret:L.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,Y,U)=>{let z=S7(await J$($,U.corp.seal.endpoints.approvalStylePreferences),Y.selector);return qq(z,Y.includeSecret===!0)}},{name:"seal_webhook_add",description:"新增 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:L.object({name:L.string().min(1).describe("集成名称"),mode:L.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:L.string().url().describe("Seal 完成 AI 审核后回调的外部地址"),autoApprovalRate:L.number().int().min(0).max(100).optional(),secret:L.string().min(1).optional().describe("可选;不传则生成 32 位十六进制 secret"),materialPackFilePolicy:cS.describe("材料包附件文件策略:大小和后缀白名单"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{let z=$_0(U.corp),Q=Y.dryRun?await D10($,z,Y,U.corp.seal.endpoints.approvalStylePreferences):void 0,J=Q?.integration??await FM($,z,Y,U.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return R9(U,U.corp.seal.endpoints.approvalStylePreferences,Q.before,Q.after,1);return{saved:!0,integration:qq(J,!0)}}},{name:"seal_webhook_update",description:"更新现有 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:L.object({selector:L.string().min(1).describe("Webhook 集成 ID 或名称"),name:L.string().min(1).optional(),mode:L.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:L.string().url().optional(),autoApprovalRate:L.number().int().min(0).max(100).optional(),secret:L.string().min(1).optional(),rotateSecret:L.boolean().optional().describe("生成新 secret;与 secret 二选一"),materialPackFilePolicy:cS.describe("材料包附件文件策略:大小和后缀白名单"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{if(Y.secret!==void 0&&Y.rotateSecret)throw Error("Webhook secret and rotateSecret cannot be used together");let z=Y.dryRun?await B10($,Y.selector,Y,U.corp.seal.endpoints.approvalStylePreferences):void 0,Q=z?.integration??await A10($,Y.selector,Y,U.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return R9(U,U.corp.seal.endpoints.approvalStylePreferences,z.before,z.after,1);return{saved:!0,integration:qq(Q,Y.secret!==void 0||Y.rotateSecret===!0)}}},{name:"seal_webhook_delete",description:"删除指定 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:L.object({selector:L.string().min(1).describe("Webhook 集成 ID 或名称"),confirm:L.boolean().optional().describe("执行删除时必须明确传 true;dryRun 可省略"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行删除")}),handler:async($,Y,U)=>{if(!Y.confirm&&!Y.dryRun)throw Error("Refusing to delete Webhook integration without confirm=true");let z=Y.dryRun?await T10($,Y.selector,U.corp.seal.endpoints.approvalStylePreferences):void 0,Q=z?.integration??await P10($,Y.selector,U.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return R9(U,U.corp.seal.endpoints.approvalStylePreferences,z.before,z.after,1);return{deleted:!0,integration:qq(Q,!1)}}},{name:"seal_webhook_replay",description:"将正式(生产)企业或指定企业的审批记录通过 Webhook 渠道重放到测试企业进行规则回归与模拟验证",parameters:L.object({recordId:L.string().optional().describe("待重放的单条审批记录 ID"),sn:L.string().optional().describe("待重放的单据编号 (sourceDocumentSN)"),sourceCorpId:L.string().optional().describe("单据来源企业 ID (若省略,基于绑定关系自动解析为正式企业)"),targetCorpId:L.string().optional().describe("重放目标企业 ID (若省略,基于绑定关系自动解析为测试企业)"),webhook:L.string().optional().describe("目标 Webhook 通道 ID 或名称"),limit:L.number().optional().describe("批量重放单据数量 (默认 1)"),status:L.string().optional().describe("单据状态过滤 (例如 completed, failed 等)"),snPrefix:L.string().optional().describe("重放单号前缀"),snSuffix:L.string().optional().describe("重放单号后缀"),dryRun:L.boolean().optional().describe("是否仅执行预检转换而不实际推送 (默认 false)"),force:L.boolean().optional().describe("若目标为生产环境,强制执行重放")}),handler:async($,Y,U)=>{let z=(G)=>{let H=s8(),W=_4();return u2(H,{stateful:W.stateful,defaultCorpId:W.defaultCorpId,corpId:G},S3())},{sourceCorp:Q,targetCorp:J}=dB({sourceCorpId:Y.sourceCorpId,targetCorpId:Y.targetCorpId,activeCorp:U.corp,force:Y.force},z),I=Q.id===U.corp.id?$:await B1(Q),K=J.id===U.corp.id?$:await B1(J);return tI({query:{recordId:Y.recordId,sn:Y.sn,limit:Y.limit,status:Y.status},sourceClient:I,targetClient:K,sourceCorp:Q,targetCorp:J,webhookSelector:Y.webhook,snPrefix:Y.snPrefix,snSuffix:Y.snSuffix,dryRun:Y.dryRun})}},{name:"seal_approval_runs_search",description:"查询 Seal 审批/审核运行记录总表,并整理合思单据到 Langfuse trace/session 的桥接字段",parameters:L.object({offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),fromTimestamp:L.string().optional(),toTimestamp:L.string().optional(),startDate:L.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:L.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:L.string().optional(),taskMode:L.string().optional(),manualApprovalStatus:L.union([L.string(),L.array(L.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),humanResult:L.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:L.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配"),includeBridge:L.boolean().optional().describe("是否返回完整 bridge 数组;默认 false,避免长输出")}),handler:async($,Y)=>{let U=Y.query?.trim(),z=await i4($,zS1({...Y,search:U})),Q=await oR0($,z.records,{humanResult:Y.humanResult});return{...z,records:Q.map(Sz),...Y.includeBridge?{bridge:HT(Q)}:{}}}},{name:"seal_approval_runs_summary",description:"按本地日期/时区汇总 Seal 审批运行记录,返回状态、模式统计和精简记录,避免长 JSON 输出",parameters:L.object({date:L.string().optional().describe("本地日期,格式 YYYY-MM-DD;默认使用 timezone 下的今天"),timezone:L.string().optional().describe("IANA 时区,默认 Asia/Shanghai"),offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),startDate:L.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:L.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:L.string().optional(),taskMode:L.string().optional(),manualApprovalStatus:L.union([L.string(),L.array(L.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),humanResult:L.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:L.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,Y)=>{let U=Y.timezone??"Asia/Shanghai",z=Y.date??aR0(Date.now(),U)??"",Q=await i4($,{offset:Y.offset,limit:Y.limit??100,startDate:Y.startDate,endDate:Y.endDate,status:Y.status,taskMode:Y.taskMode,manualApprovalStatus:J_0(Y.manualApprovalStatus,Y.humanResult),sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId}),J=(await oR0($,Q.records,{query:Y.query,humanResult:Y.humanResult})).filter((I)=>aR0(I.createdAt,U)===z);return ih1(J,{date:z,timezone:U,fetched:Q.records.length,total:Q.total})}},{name:"seal_approval_runs_export",description:"将企业的审批审核记录导出为高保真 Excel 报表(包含单据模板、AI决策、人工审核结论、驳回原因及企业规则列细分结果)",parameters:L.object({startDate:L.string().optional().describe("起始时间,支持 YYYY-MM-DD 或毫秒时间戳"),endDate:L.string().optional().describe("截止时间,支持 YYYY-MM-DD 或毫秒时间戳"),limit:L.number().int().positive().optional().describe("最大拉取记录条数"),status:L.string().optional().describe("单据状态过滤,如 completed, processing, failed"),manualApprovalStatus:L.union([L.string(),L.array(L.string())]).optional().describe("人工审核状态过滤,如 APPROVED, TERMINATED, PROCESSING"),includeCompletedOnly:L.boolean().optional().describe("是否仅导出已完成单据"),outputFile:L.string().optional().describe("输出 Excel 文件的自定义绝对或相对路径"),toDownloads:L.boolean().optional().describe("是否直接保存到用户的系统下载目录")}),handler:async($,Y,U)=>vB($,U.corp,Y)},{name:"seal_approval_run_get",description:"获取 Seal 单条审批/审核运行记录详情;可用 fields 只取 metadata、document.fields、result.summary 等局部字段",parameters:L.object({recordId:L.string().describe("Seal approval run record ID"),fields:L.union([L.string(),L.array(L.string())]).optional().describe("逗号分隔或数组形式的字段路径,如 metadata、document.fields、result.summary"),summary:L.boolean().optional().describe("返回单据摘要、AI 结果、人工结果和版本号")}),handler:async($,Y)=>{let U=await H4($,Y.recordId);if(Y.summary)return ch1(U);let z={...U,aliases:QS1(U),humanResult:gz(U)},Q=pR0(Y.fields);return Q.length>0?Y_0(z,Q):z}},{name:"seal_approval_run_flow_get",description:"获取合思原生审批流流转时间线、待办节点、员工意见、驳回原因及版本变更指标,并对齐 AI 运行记录与人工行为",parameters:L.object({target:L.string().optional().describe("合思单号 (sourceDocumentSN) 或 Seal 运行记录 ID (recordId)"),recordId:L.string().optional().describe("Seal 运行记录 ID"),sourceDocumentSN:L.string().optional().describe("合思单号 (sourceDocumentSN)")}),handler:async($,Y,U)=>{let z=U.corp;if(z.source.type!=="hose")throw Error(`企业「${z.name||z.id}」非合思(hose)租户(来源类型: ${z.source.type}),暂不支持合思原生审批流分析。`);let Q=(Y.target||Y.sourceDocumentSN||Y.recordId)?.trim();if(!Q)throw Error("必须提供 target、recordId 或 sourceDocumentSN 参数。");let J=Q,I;try{if(I=await H4($,Q),I?.sourceDocumentSN||I?.sourceDocumentId)J=I.sourceDocumentSN||I.sourceDocumentId}catch{}let K=[];try{K=((await i4($,{search:J,sourceDocumentSN:J,limit:100})).records||[]).filter((F)=>F.sourceDocumentSN===J||F.sourceDocumentId===J||F.id===Q)}catch{}if(K.length===0&&I)K=[I];let G=I?.sourceDocumentId||K[0]?.sourceDocumentId||J,H=await oI(z),W=await RB(H,G);if(!W){console.error(`⚠️ 单据「${J}」在合思系统中未找到审批流数据(可能已在合思端删除或作废)。`);let V=Kz(K,void 0),F=K.map((M)=>{let w=V.get(M.id);return{recordId:M.id,createdAt:M.createdAt,createdAtFormatted:M.createdAt?new Date(Number(M.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai"}):void 0,taskMode:M.taskMode,status:M.status,aiDecision:w?.aiDecision||"-",aiAction:w?.aiAction||"-",eHumanAction:"单据已删除",eHumanComment:"合思系统中未找到该单据流转记录(已在合思端删除或作废)",auditDrift:!1,auditDriftReason:void 0,operator:void 0}});return{sourceDocumentSN:J,corpId:z.id,corpName:z.name,sourceSystem:z.source.type,found:!1,deleted:!0,message:`单据「${J}」在合思系统中未找到审批流数据(可能已在合思端删除或作废)。`,flow:void 0,runsCount:K.length,runs:F,auditDrift:!1}}let X=Kz(K,W),Z=K.map((V)=>{let F=X.get(V.id);return{recordId:V.id,createdAt:V.createdAt,createdAtFormatted:V.createdAt?new Date(Number(V.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai"}):void 0,taskMode:V.taskMode,status:V.status,aiDecision:F?.aiDecision||"-",aiAction:F?.aiAction||"-",eHumanAction:F?.eHumanAction||"-",eHumanComment:F?.eHumanComment||"-",auditDrift:F?.auditDrift??!1,auditDriftReason:F?.auditDriftReason,operator:F?.operator}}),q=Z.some((V)=>V.auditDrift);return{sourceDocumentSN:J,corpId:z.id,corpName:z.name,sourceSystem:z.source.type,flow:{backlogId:W.backlogId,flowId:W.flowId,billCode:W.billCode,title:W.title,state:W.state,rawState:W.rawState,currentNode:W.currentNode,specification:W.specification,submitter:W.submitter,owner:W.owner,metrics:W.metrics,rejections:W.rejections,staffOpinions:W.staffOpinions,timelineCount:W.history.length,pendingCount:W.pending.length,timeline:W.history,pending:W.pending},runsCount:K.length,runs:Z,auditDrift:q}}},{name:"seal_approval_run_cited_rules_get",description:"从审批运行结果中抽取 AI 引用或命中的规则及应用分析",parameters:L.object({recordId:L.string().describe("Seal approval run record ID")}),handler:async($,Y)=>{let U=await H4($,Y.recordId);return nh1(U)}},{name:"seal_approval_run_document_summary_get",description:"返回单据关键字段、附件摘要、AI/人工结果,避免拉取完整原始单据",parameters:L.object({recordId:L.string().describe("Seal approval run record ID")}),handler:async($,Y)=>{let U=await H4($,Y.recordId);return z_0(U)}},{name:"seal_approval_run_attachments_get",description:"从审批运行记录中抽取附件、发票附件和字段位置,不返回完整单据正文和规则结果",parameters:L.object({recordId:L.string().describe("Seal approval run record ID"),summary:L.boolean().optional().describe("只返回附件列表摘要")}),handler:async($,Y)=>{let U=await H4($,Y.recordId);return f2(U,{summary:Y.summary})}},{name:"seal_approval_run_result_get",description:"返回审批运行结果摘要;summary=true 时只返回 decision、summary、风险点数量、命中规则数量、traceId 等",parameters:L.object({recordId:L.string().describe("Seal approval run record ID"),summary:L.boolean().optional()}),handler:async($,Y)=>{let U=await H4($,Y.recordId);if(Y.summary)return VT(U);return{recordId:U.id,result:U.result}}},{name:"seal_approval_run_url_get",description:"获取审批单的 Web 链接(支持 seal-result 审核页与 hose-document 原单据页,支持 --auto-login 免密直达)",parameters:L.object({recordId:L.string().optional().describe("Seal approval run record ID"),sourceDocumentSN:L.string().optional().describe("合思/易快报单号"),sourceDocumentId:L.string().optional().describe("合思/易快报源单据 ID"),type:L.string().optional().describe("链接类型:'seal-result' (Seal AI 审核页,默认) 或 'hose-document' (合思原单据页)"),autoLogin:L.boolean().optional().describe("是否生成带临时认证凭证的免密直达链接"),sso:L.boolean().optional().describe("是否生成带临时认证凭证的免密直达链接 (兼容别名)"),hoseSso:L.boolean().optional().describe("通过合思 OEM 换票生成直达该单据审核详情的免密直达链接 (兼容别名)"),expiresIn:L.number().optional().describe("免密凭证有效秒数,默认 7200 (2小时)")}),handler:async($,Y,U)=>{if(!Boolean(Y.recordId||Y.sourceDocumentSN||Y.sourceDocumentId))throw Error("recordId, sourceDocumentSN, or sourceDocumentId is required to generate approval run link");let Q=await th1($,Y),J=U.corp.source,I=S4(Q?.sourceExtendData?.hosecloudViewUrl),K=eh1(U.corp),G=`${K}/approval-result/${Q.id}`,H=(Y.type??"seal-result").toLowerCase().replace(/_/g,"-"),W=H==="hose-document"||H==="source-document"||H==="hose",X=W?"hose_document":"seal_result",Z=Boolean(Y.autoLogin??Y.hoseSso??Y.sso),q=Y.expiresIn??7200,V,F,M;if(Z){if(W)throw Error("Auto-login (--auto-login) is only supported for Seal AI audit link (type: seal-result)");if(J.type!=="hose")throw Error(`Auto-login direct links currently support Hose-integrated enterprises (corp '${U.corp.id}' uses '${J.type}'). For Seal-native enterprises, use 'seal-use auth link' for authorized access.`);let D=(await YM(U.corp)).token;if(!D)throw Error("Failed to obtain Hose provisional authentication token");let P=`/approval-result/${Q.id}`;V=`${K}/api/auth/oauth2/session/oem-hosecloud?token=${encodeURIComponent(D)}&path=${encodeURIComponent(P)}`;try{let j=await W8($);F={name:j.user.name,staffId:J.staffId,isAdmin:j.user.isAdmin,providerUserId:j.user.providerUserId}}catch{F={staffId:J.staffId}}let T=F.name??"企业成员",A=F.isAdmin?" (管理员)":"";M=`⚠️ 安全警示:该链接使用 [${T}${A}] 身份签发,在 Seal AI 拥有全站操作权限。链接具备 ${Math.round(q/3600*10)/10} 小时时效,仅供受信任人员排查使用,请勿在外部公开分享。`,console.error(`⚠️ 安全警示 (免密直达链接): +`)}return{warnings:[],results:I}}function hz($){return{fileBuffer:Dh1($),fileName:$.split(/[\\\/]/).pop()??"material-pack.zip"}}var Wl=m(()=>{nB();Fd();Vd();Wd();$K();Hl()});import{existsSync as Th1}from"node:fs";async function QT($,Y,U={}){let Q=_4().stateful?"stateful":"stateless",J="ok",I,K,G;try{let D=await W8($);G={id:D.user.id,name:D.user.name,isAdmin:D.user.isAdmin},K={id:D.tenant.id,name:D.tenant.name,tenantSlug:D.tenant.tenantSlug,corporationName:D.tenant.hoseCorpConfig?.corporationName}}catch(D){J="error",I=D instanceof Error?D.message:String(D)}let H=[];if(J==="ok")try{H=await J$($,Y.seal.endpoints.approvalStylePreferences)}catch(D){J="error",I=`读取 Webhook 配置失败: ${D instanceof Error?D.message:String(D)}`}let W=H.length===1,X=H.map((D)=>({id:D.id,name:D.name,mode:D.mode,incomingDocumentWebhookUrl:D.incomingDocumentWebhook.url,outgoingResultWebhookUrl:D.outgoingResultWebhook,autoApprovalRate:D.autoApprovalRate,...W?{isDefault:!0}:{}})),Z=W?{id:H[0].id,name:H[0].name,mode:H[0].mode}:null,q=U.webhook?S7(H,U.webhook):W?H[0]:void 0,V;if(U.filePath)if(!Th1(U.filePath))V={valid:!1,filePath:U.filePath,fileName:U.filePath.split(/[\\/]/).pop()??U.filePath,documentCount:0,errors:[`文件不存在: ${U.filePath}`]};else try{let D=hz(U.filePath),P=await vz(D.fileBuffer,D.fileName,q?.materialPackFilePolicy);V={valid:!0,filePath:U.filePath,fileName:D.fileName,documentCount:P.documents.length,warnings:P.warnings}}catch(D){V={valid:!1,filePath:U.filePath,fileName:U.filePath.split(/[\\/]/).pop()??U.filePath,documentCount:0,errors:[D instanceof Error?D.message:String(D)]}}let F=V?V.valid:!0,M=J==="ok"&&X.length>0&&F,w=Q==="stateful"?"":` --corp ${Y.id}`,N="",O="";if(J!=="ok")O=`凭证鉴权异常: ${I}`,N=`seal-use auth diagnose${w}`;else if(X.length===0)O="当前企业尚未配置任何 Webhook 集成通道",N=`seal-use webhook add --name "默认入站通道" --result-url "https://your-domain.com/callback"${w}`;else if(V&&!V.valid)O=`资源包预检失败: ${V.errors?.join("; ")}`,N=`seal-use webhook resource-pack preview ${V.filePath}${w}`;else{O=W?"所有通道正常,已自动锁定唯一 Webhook 通道,等待载入":`所有通道正常,检测到 ${X.length} 个 Webhook 通道,等待载入`;let D=V?.filePath??"<资源包.zip>",P=W?"":` --webhook ${Z?Z.id:""}`;N=`seal-use webhook resource-pack push ${D}${P}${w}`}return{ready:M,corp:{id:Y.id,name:Y.name,sourceType:Y.source.type,tenant:K,user:G},stateMode:Q,authStatus:J,authError:I,activeWebhooks:X,defaultWebhook:Z,resourcePack:V,materialPack:V,statusMessage:O,nextAction:N}}var uR0=m(()=>{y3();X6();Wl()});var Xl=m(()=>{$K();mQ();nB();Wd();Vd();Fd();Wl();uR0();Hl()});import{existsSync as bR0,mkdirSync as iR0,statSync as jh1}from"node:fs";import{homedir as Eh1}from"node:os";import{dirname as Ch1,resolve as JT}from"node:path";function Rh1($){if($.outputFile){let I=JT($.outputFile),K=Ch1(I);if(!bR0(K))iR0(K,{recursive:!0});return I}let U=($.corpName||$.corpId||"企业").replace(/[/\\?%*:|"<>]/g,"_").trim()||"企业",z=$.dateTag||new Date().toISOString().slice(0,10),Q=`${U}_智能洞察报告_${z}.xlsx`,J;if($.toDownloads)J=JT(Eh1(),"Downloads");else J=JT(process.cwd(),"exports");if(!bR0(J))iR0(J,{recursive:!0});return JT(J,Q)}async function IT($,Y,U={}){let z=Y.name||Y.id,Q=ln({startDate:U.startDate,endDate:U.endDate,force:U.force}),J=new Date().toISOString(),[I,K]=await Promise.all([DM($,{startDate:Q.startDateStr,endDate:Q.endDateStr,limit:U.limit??100}),BM($,{startDate:Q.startDateStr,endDate:Q.endDateStr}).catch(()=>({metrics:{},sankeyData:{nodes:[],links:[]}}))]),G=I.tagStats||[],H=[],W=Math.min(G.length,U.limit??50);for(let C=0;C{x.border=V,x.font={name:"Microsoft YaHei",size:10},x.alignment={vertical:"middle"}})}let N=K.sankeyData?.links||[];if(N.length>0){F.addRow({});let C=F.addRow(["决策流向","流向阶段 (起点)","走向阶段 (终点)","流转单据数","占比/流向说明"]);C.height=24,C.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FF0F172A"}},C.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFE2E8F0"}},C.eachCell((b)=>{b.border=V,b.alignment={vertical:"middle",horizontal:"center"}});for(let b of N){let x=F.addRow({category:"决策流向",name:b.source,val:b.target,trend:b.value,desc:"流向连接"});x.height=20,x.eachCell((S)=>{S.border=V,S.font={name:"Microsoft YaHei",size:9},S.alignment={vertical:"middle"}})}}let O=X.addWorksheet("Top 风险标签分析",{views:[{showGridLines:!0}]});O.columns=[{header:"标签编号",key:"tagId",width:14},{header:"风险标签名称",key:"tagName",width:26},{header:"风险分类路径",key:"tagPath",width:44},{header:"风险出现次数",key:"count",width:16},{header:"严重错误数 (Error)",key:"errorCount",width:20},{header:"合规预警数 (Warning)",key:"warningCount",width:22},{header:"平均置信度",key:"avgConfidence",width:16}],O.getRow(1).height=28,O.getRow(1).font=q,O.getRow(1).fill=Z,O.getRow(1).alignment={vertical:"middle",horizontal:"center"};for(let C of G){let b=O.addRow({tagId:C.tagId||"-",tagName:C.tagName||"-",tagPath:C.tagPath||"-",count:C.count??0,errorCount:C.errorCount??0,warningCount:C.warningCount??0,avgConfidence:C.avgConfidence?`${Math.round(C.avgConfidence*100)}%`:"-"});b.height=22,b.eachCell((x,S)=>{if(x.border=V,x.font={name:"Microsoft YaHei",size:10},x.alignment={vertical:"middle",horizontal:[1,4,5,6,7].includes(S)?"center":"left"},S===5&&(C.errorCount??0)>0)x.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FFDC2626"}},x.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};if(S===6&&(C.warningCount??0)>0)x.font={name:"Microsoft YaHei",size:10,bold:!0,color:{argb:"FFD97706"}},x.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}}})}let D=X.addWorksheet("风险单据穿透明细",{views:[{showGridLines:!0}]});D.columns=[{header:"序号",key:"idx",width:8},{header:"风险标签",key:"tag",width:24},{header:"关联单据流水号",key:"documentSN",width:20},{header:"单据类型",key:"documentType",width:16},{header:"风险等级",key:"riskLevel",width:14},{header:"置信度",key:"confidence",width:12},{header:"风险具体描述",key:"riskDetails",width:48},{header:"AI 审核判断依据",key:"reasoning",width:48},{header:"单据链接",key:"sourceDocumentURL",width:30},{header:"发现时间",key:"createdAt",width:22}],D.getRow(1).height=28,D.getRow(1).font=q,D.getRow(1).fill=Z,D.getRow(1).alignment={vertical:"middle",horizontal:"center"};let P=1;for(let C of H){let b="-";if(C.createdAt){let S=new Date(C.createdAt);if(!isNaN(S.getTime()))b=S.toLocaleString("zh-CN",{timeZone:"Asia/Shanghai",hour12:!1})}let x=D.addRow({idx:P++,tag:`${C.tagName} (${C.tagId})`,documentSN:C.documentSN,documentType:C.documentType,riskLevel:C.riskLevel==="error"?"严重错误":"合规预警",confidence:`${Math.round(C.confidence*100)}%`,riskDetails:C.riskDetails,reasoning:C.reasoning,sourceDocumentURL:C.sourceDocumentURL||"-",createdAt:b});x.height=36,x.eachCell((S,i)=>{if(S.border=V,S.font={name:"Microsoft YaHei",size:9},S.alignment={vertical:"middle",horizontal:[1,3,4,5,6,10].includes(i)?"center":"left",wrapText:[7,8].includes(i)},i===5)if(C.riskLevel==="error")S.font={name:"Microsoft YaHei",size:9,bold:!0,color:{argb:"FFDC2626"}},S.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEE2E2"}};else S.font={name:"Microsoft YaHei",size:9,bold:!0,color:{argb:"FFD97706"}},S.fill={type:"pattern",pattern:"solid",fgColor:{argb:"FFFEF3C7"}}})}let T=Q.dateTag,A=Rh1({outputFile:U.outputFile,toDownloads:U.toDownloads,corpName:z,dateTag:T});await X.xlsx.writeFile(A),console.error(`智能洞察 Excel 报告已成功保存至: ${A}`);let j=jh1(A);return{filePath:A,corpId:Y.id,corpName:z,totalRisks:I.totalRisks??0,tagCount:G.length,riskDetailCount:H.length,fileSizeBytes:j.size,exportedAt:J}}var cR0;var Zl=m(()=>{X6();hB();cR0=J6(EZ(),1)});import{readFileSync as _h1}from"node:fs";import{randomBytes as vh1}from"node:crypto";function eR0($){return hh1.has($)}function M6($){return Sh1.get($)}function qq($,Y){return Y?$:{...$,secret:""}}function $_0($){if($.seal.url)return $.seal.url;if($.source.type==="hose")return v7($,$.source);return $.source.sealUrl}function gh1($,Y){let U=$.rules.length;if(Y.countOnly||Y.limit===0)return{count:U};let z=Y.offset??0,Q=$.rules.slice(z,Y.limit===void 0?void 0:z+Y.limit),J=Y.fields;return{count:U,hasPendingDeletes:$.hasPendingDeletes,rules:J?Q.map((I)=>yh1(I,J)):Q}}function yh1($,Y){let U={};for(let z of Y)if($[z]!==void 0)if(z==="code"){let Q=$.code;if(typeof Q==="number")U.code=Vq(Q);else if(typeof Q==="string"){let J=Q.match(/\d+/)?.[0];U.code=J?Vq(Number(J)):Q}else U.code=Q}else U[z]=$[z];return U}function kh1($,Y){let U=new Map($.map((K)=>[K.id,K])),z=new Set,Q=[],J=[],I=[];for(let K of Y){let G;if(K.id){if(G=U.get(K.id),!G)throw Error(`本地规则 ${K.id} 不存在于当前草稿。请先用 rules pull 获取当前草稿,再重新应用修改。`);if(z.has(K.id))throw Error(`本地规则文件包含重复的规则 ID:${K.id}`)}else{let W=$.filter((X)=>!z.has(X.id)&&xh1(X,K));if(W.length>1)throw Error(`本地规则“${K.description}”无法唯一匹配远端草稿,请在规则文件中补充稳定的 id。`);G=W[0]}if(!G){Q.push(K);continue}z.add(G.id);let H=fh1(G,K);if(H.length)J.push({id:G.id,rule:K,changedFields:H});else I.push({id:G.id})}return{created:Q,updated:J,deleted:$.filter((K)=>!z.has(K.id)),unchanged:I}}function xh1($,Y){return $.description===Y.description.trim()&&$.scope===(Y.scope??"ALL")&&$.strictness===WT(Y.strictness)}function fh1($,Y){let U=[];if($.description!==Y.description.trim())U.push("description");if($.scope!==(Y.scope??"ALL"))U.push("scope");if($.strictness!==WT(Y.strictness))U.push("strictness");return U}function WT($){let Y=$?.toUpperCase()??"MUST_FOLLOW";if(Y.includes("SHOULD"))return"SHOULD_FOLLOW";if(Y.includes("SUGGEST"))return"SUGGESTION";return"MUST_FOLLOW"}function nR0($){let Y=$.match(/^(\d+(?:\.\d+)?)\s*(ms|s|m|h|d)?$/i);if(!Y||!Y[1])return 600000;let U=parseFloat(Y[1]);switch((Y[2]??"s").toLowerCase()){case"ms":return U;case"s":return U*1000;case"m":return U*60*1000;case"h":return U*3600*1000;case"d":return U*86400*1000;default:return U*1000}}function KT($){return Object.fromEntries(Object.entries($).map(([Y,U])=>[Y,["apiKey","apiSecret","secret"].includes(Y)&&typeof U==="string"?"***":U]))}function _9($,Y,U,z,Q){return{preview:!0,targetUrl:`${$_0($.corp).replace(/\/+$/,"")}/${Y.replace(/^\/+/,"")}`,changesDiff:{before:XT(U),after:XT(z)},impactCount:Q}}function XT($){if(Array.isArray($))return $.map(XT);if(!$||typeof $!=="object")return $;return Object.fromEntries(Object.entries($).map(([Y,U])=>[Y,["apiKey","apiSecret","secret","token","password"].includes(Y)&&typeof U==="string"?"***":XT(U)]))}function uh1($){let Y=$.sourceSystem??$.mode??"hosecloud",U={skipInvoiceGeneration:$.skipInvoiceGeneration??!0,skipExpenseExtraction:$.skipExpenseExtraction??!0,thinkingDepthOverride:$.thinkingDepthOverride??"default",disableAttachmentCache:$.disableAttachmentCache??!1},z=$.flowIds??(typeof $.documentSn==="string"?$.documentSn.split(",").map((Q)=>Q.trim()).filter(Boolean):$.documentSn);if(Y==="hosecloud"){if(!z?.length&&$.startTime===void 0)throw Error("hosecloud 模式需要提供 flowIds(单号列表)");if(Object.assign(U,{dataCollectionMode:"2",rejectNodeName:$.rejectNodeName??null,sourceSystem:"hosecloud"}),z?.length)U.flowIds=z;if($.signKey)U.signKey=$.signKey;if($.startTime!==void 0)U.startTime=$.startTime;if($.endTime!==void 0)U.endTime=$.endTime;if($.status)U.status=$.status;if($.limit)U.limit=$.limit}else if(Y==="material_pack"||Y==="material-pack"){let Q=$.packageIds??($.packageId?[$.packageId]:void 0);if(!Q?.length)throw Error("material_pack 模式需要提供 packageIds(材料包 id)");let J=$.templateId??$.schemaConfig?.id;if(!J)throw Error("material_pack 模式需要提供 templateId(或 schemaConfig.id)");if(Object.assign(U,{templateId:J,packageIds:Q,approvalCode:$.approvalCode??"material_pack",nodeId:$.nodeId??"material_pack",runMode:$.runMode??"import_and_simulate"}),$.schemaConfig!==void 0)U.schemaConfig=$.schemaConfig}else if(Y==="weaver")Object.assign(U,{sourceSystem:"weaver",workflowTypeId:$.workflowTypeId,requestIds:$.requestIds,flowStatusList:$.flowStatusList,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,rejectNodeName:$.rejectNodeName??null});else if(Y==="helios")Object.assign(U,{sourceSystem:"helios",documentType:$.documentType,businessCodes:$.businessCodes,rejectNodeName:$.rejectNodeName??null});else if(Y==="maycur"||Y==="maycur-standard")Object.assign(U,{sourceSystem:Y,formCodes:$.formCodes??z,createdAtStart:$.startTime,createdAtEnd:$.endTime,formSubTypeBizCode:$.formSubTypeBizCode,formStatus:$.formStatus,pageNo:$.pageNo??1,pageSize:$.pageSize??100,signKey:$.signKey});else if(Y==="feishu")Object.assign(U,{sourceSystem:"feishu",approvalCode:$.approvalCode,nodeId:$.nodeId,startTime:$.startTime,endTime:$.endTime,status:$.status,limit:$.limit??100,signKey:$.signKey});else Object.assign(U,{sourceSystem:Y});if($.rawParams)Object.assign(U,$.rawParams);return U}function bh1($){return{id:$.id,status:$.status,approvalCode:$.approvalCode,sourceSystem:$.sourceSystem,totalCount:$.totalCount,processedCount:$.processedCount,successCount:$.successCount,failedCount:$.failedCount,createdCount:$.createdCount,createFailedCount:$.createFailedCount,requestSummary:$.requestSummary,resultSummary:$.resultSummary,createdAt:$.createdAt}}function Sz($){let Y=$.sourceDocumentSN,U=gz($),z=VT($);return{id:$.id,tenantId:$.tenantId,agentId:$.agentId,status:$.status,taskMode:$.taskMode,finalExecutionMode:$.finalExecutionMode,sourceSystem:$.sourceSystem,sourceDocumentSN:Y,sourceDocumentId:$.sourceDocumentId,documentId:$.documentId,simulationBatchId:$.sourceExtendData?.simulation_batch_id,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,langfuseSessionFallback:Y?`hosecloud-${Y}`:void 0,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName,humanResult:U?.value,humanResultPath:U?.path,aiDecision:z.decision,aiSummary:z.summary,createdAt:$.createdAt,updatedAt:$.updatedAt}}function ih1($,Y){return{date:Y.date,timezone:Y.timezone,fetched:Y.fetched,matched:$.length,total:Y.total,statusCounts:sR0($,(U)=>U.status??"unknown"),taskModeCounts:sR0($,(U)=>U.taskMode??"unknown"),records:$.map((U)=>{let z=Sz(U);return{createdAt:tR0(z.createdAt,Y.timezone),sourceDocumentSN:z.sourceDocumentSN,sourceDocumentId:z.sourceDocumentId,status:z.status,taskMode:z.taskMode,finalExecutionMode:z.finalExecutionMode,simulationBatchId:z.simulationBatchId,langfuseTraceId:z.langfuseTraceId,langfuseSessionFallback:z.langfuseSessionFallback,ruleSetVersionNumber:z.ruleSetVersionNumber,ruleSetPublishedAt:tR0(z.ruleSetPublishedAt,Y.timezone),ruleSetPublishedByName:z.ruleSetPublishedByName,humanResult:z.humanResult,humanResultPath:z.humanResultPath,recordId:z.id}})}}function pR0($){if(!$)return[];return(Array.isArray($)?$:$.split(",")).map((U)=>U.trim()).filter(Boolean)}function Y_0($,Y){let U={};for(let z of Y){if(z==="metadata"){U.metadata=U_0($);continue}let Q=d3($,z);if(Q!==void 0)ph1(U,z,Q)}return U}function U_0($){let Y=Sz($);return{recordId:Y.id,tenantId:Y.tenantId,agentId:Y.agentId,sourceSystem:Y.sourceSystem,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId,documentId:Y.documentId,status:Y.status,taskMode:Y.taskMode,finalExecutionMode:Y.finalExecutionMode,simulationBatchId:Y.simulationBatchId,langfuseTraceId:Y.langfuseTraceId,langfuseSessionFallback:Y.langfuseSessionFallback,ruleSetVersionNumber:Y.ruleSetVersionNumber,ruleSetPublishedAt:Y.ruleSetPublishedAt,ruleSetPublishedByName:Y.ruleSetPublishedByName,createdAt:Y.createdAt,updatedAt:Y.updatedAt}}function ch1($){return{metadata:U_0($),document:z_0($).document,aiResult:VT($),manualResult:gz($)?.value,manualResultPath:gz($)?.path,ruleSetVersionNumber:$.ruleSetVersionNumber,ruleSetPublishedAt:$.ruleSetPublishedAt,ruleSetPublishedByName:$.ruleSetPublishedByName}}function VT($){let Y=Fq($.result);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,traceId:$.sourceExtendData?._langfuseTraceId,langfuseTraceId:$.sourceExtendData?._langfuseTraceId,decision:ZT(Y,["decision","manualApproval.decision","manualApproval.result","review.decision","finalDecision"]),summary:ZT(Y,["summary","result.summary","review.summary","conclusion"]),riskPointCount:dR0(Y,["riskPoints","risks","risk_points","review.riskPoints"]),matchedRuleCount:dR0(Y,["matchedRules","hitRules","ruleResults","rules","review.matchedRules"])}}function z_0($){let Y=Fq($.document),U=mh1($.document),z=U.map((Q)=>`${Q.label??Q.path??""}:${Q.value??""}`).join(` +`);return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,document:hK({id:Y?.id,sn:Y?.sn??Y?.sourceDocumentSN??$.sourceDocumentSN,title:Y?.title??Y?.name,template:ZT(Y,["template.name","templateName","form.name","formName","formTitle"]),amount:GT(U,["金额","报销金额","付款金额","合计","价税合计"])??ZT(Y,["amount","totalAmount","expenseAmount"]),expenseType:GT(U,["费用类型","费用类别","报销类型"]),costCompany:GT(U,["费用承担公司","承担公司","成本中心","费用归属"]),payee:GT(U,["收款方","收款账户","收款信息","开户名","银行账号"]),keyFields:U.slice(0,30)}),invoices:lh1($),attachments:f2($,{summary:!0}).attachments,aiResult:VT($),manualResult:gz($)?.value,hints:hK({amountMentions:mR0(z,["金额","合计","税率"],8),partyMentions:mR0(z,["买方","卖方","甲方","乙方","收款"],8)})}}function nh1($){let Y=[["result.citedRules",d3($,"result.citedRules")],["result.matchedRules",d3($,"result.matchedRules")],["result.ruleResults",d3($,"result.ruleResults")],["result.rules",d3($,"result.rules")],["pipelineData.citedRules",d3($,"pipelineData.citedRules")],["pipelineData.matchedRules",d3($,"pipelineData.matchedRules")]],U=[],z=new Set;for(let[Q,J]of Y)(Array.isArray(J)?J:J&&typeof J==="object"?Object.values(J):[]).forEach((K,G)=>{let H=Fq(K);if(!H)return;let W=S4(H.runtimeRuleId)??S4(H.runtimeId)??S4(H.id)??S4(H.ruleId),X=S4(H.ruleCode)??S4(H.code)??(W?sh1(W):void 0),Z=hK({runtimeRuleId:W,ruleCode:X,versionNumber:dh1(H.versionNumber)??$.ruleSetVersionNumber,scope:S4(H.scope),strictness:S4(H.strictness),appliedAnalysis:H.appliedAnalysis??H.analysis??H.reasoning,checkResult:H.checkResult??H.result??H.decision,findings:H.findings??H.riskPoints??H.evidence,sourcePath:`${Q}.${G}`}),q=JSON.stringify(Z);if(!z.has(q))z.add(q),U.push(Z)});return{recordId:$.id,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,ruleSetVersionNumber:$.ruleSetVersionNumber,count:U.length,rules:U}}function ZT($,Y){if(!$)return;for(let U of Y){let z=d3($,U);if(z!==void 0)return z}return}function dR0($,Y){if(!$)return 0;for(let U of Y){let z=d3($,U);if(Array.isArray(z))return z.length;if(z&&typeof z==="object")return Object.keys(z).length;if(typeof z==="number")return z}return 0}function d3($,Y){return Y.split(".").reduce((U,z)=>{if(U===void 0||U===null)return;if(Array.isArray(U)){let Q=Number(z);return Number.isInteger(Q)?U[Q]:void 0}if(typeof U==="object")return U[z];return},$)}function ph1($,Y,U){let z=Y.split("."),Q=$;for(let J of z.slice(0,-1)){let I=Q[J];if(!I||typeof I!=="object"||Array.isArray(I))Q[J]={};Q=Q[J]}Q[z[z.length-1]??Y]=U}function hK($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}function Fq($){return $&&typeof $==="object"&&!Array.isArray($)?$:void 0}function dh1($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function mh1($){let Y=[];return Ll($,"document",Y),Y}function Ll($,Y,U){if(Array.isArray($)){$.forEach((I,K)=>Ll(I,`${Y}.${K}`,U));return}let z=Fq($);if(!z)return;let Q=S4(z.label)??S4(z.name)??S4(z.title)??S4(z.fieldName),J=z.value??z.displayValue??z.text??z.content;if(Q&&J!==void 0&&typeof J!=="object")U.push(hK({path:Y,label:Q,value:J,type:S4(z.type)??S4(z.fieldType)}));for(let[I,K]of Object.entries(z)){if(I==="attachments")continue;Ll(K,`${Y}.${I}`,U)}}function GT($,Y){return $.find((z)=>{let Q=S4(z.label)??"";return Y.some((J)=>Q.includes(J))})?.value}function lh1($){let Y=[];return qT($.result,"result",Y),qT($.document,"document",Y),Y.slice(0,20)}function qT($,Y,U){if(Array.isArray($)){$.forEach((Q,J)=>qT(Q,`${Y}.${J}`,U));return}let z=Fq($);if(!z)return;if(/invoice|发票/i.test(Y))U.push(hK({path:Y,fileName:S4(z.fileName)??S4(z.filename)??S4(z.name),buyer:z.buyer??z.buyerName??z.purchaserName,seller:z.seller??z.sellerName,amount:z.amount??z.totalAmount??z.total,taxRate:z.taxRate,category:z.category??z.type}));for(let[Q,J]of Object.entries(z))qT(J,`${Y}.${Q}`,U)}function mR0($,Y,U){return $.split(/\r?\n/).filter((z)=>Y.some((Q)=>z.includes(Q))).slice(0,U)}function HT($){return $.map((Y)=>{let U=Sz(Y);return{recordId:U.id,tenantId:U.tenantId,agentId:U.agentId,sourceDocumentSN:U.sourceDocumentSN,sourceDocumentId:U.sourceDocumentId,simulationBatchId:U.simulationBatchId,langfuseTraceId:U.langfuseTraceId,langfuseSessionFallback:U.langfuseSessionFallback,ruleSetVersionNumber:U.ruleSetVersionNumber,ruleSetPublishedAt:U.ruleSetPublishedAt,ruleSetPublishedByName:U.ruleSetPublishedByName,resolution:U.langfuseTraceId?"trace":U.langfuseSessionFallback?"session-fallback":"unresolved"}})}function ql($){return{id:$.id,tenantId:$.tenantId,versionNumber:$.versionNumber,versionName:$.versionName,publishedBy:$.publishedBy,publishedByName:$.publishedByName,rulesCount:$.rules.length,publishedAt:$.publishedAt,createdAt:$.createdAt}}async function oh1($,Y){if(Y.recordId&&!Y.versionId&&!Y.versionNumber&&!Y.latest){let U=await H4($,Y.recordId);if(!U.ruleSetVersionNumber)throw Error(`Approval run ${Y.recordId} has no ruleSetVersionNumber`);return Fl($,{versionNumber:U.ruleSetVersionNumber})}return Fl($,Y)}function rh1($,Y){let U=Vl(Y.code),z=Q_0(Y.runtimeId),Q=U?Number(U.slice(1)):z;if(!Q||Q<1)throw Error("Pass --code '#0038' or --runtime-id rule-205");let J=$.rules.find((G,H)=>{let W=G;return Vl(S4(W.code)??S4(W.ruleCode))===U||H+1===Q});if(!J)return;let I=J,K=$.rules.indexOf(J)+1;return hK({runtimeRuleId:S4(I.runtimeRuleId)??`rule-${K}`,ruleCode:Vl(S4(I.code)??S4(I.ruleCode))??Vq(K),versionId:$.id,versionNumber:$.versionNumber,versionName:$.versionName,publishedAt:$.publishedAt,publishedByName:$.publishedByName,description:J.description,scope:J.scope,strictness:J.strictness,status:S4(I.status)})}function Vl($){if(!$)return;let Y=$.match(/\d+/)?.[0];return Y?Vq(Number(Y)):$}function Q_0($){if(!$)return;let Y=$.match(/(\d+)$/);return Y?Number(Y[1]):void 0}function sh1($){let Y=Q_0($);return Y?Vq(Y):void 0}function Vq($){return`#${String($).padStart(4,"0")}`}function ah1($,Y){let U=Sz($),z={recordId:U.id,sourceDocumentSN:U.sourceDocumentSN,sourceDocumentId:U.sourceDocumentId,simulationBatchId:U.simulationBatchId,status:U.status,taskMode:U.taskMode,ruleSetVersionNumber:U.ruleSetVersionNumber,langfuseTraceId:U.langfuseTraceId,manualResult:U.humanResult,aiDecision:U.aiDecision,aiSummary:U.aiSummary,createdAt:U.createdAt};if(Y.length===0)return z;return Y_0(z,Y)}async function th1($,Y){if(Y.recordId)return H4($,Y.recordId);let z=(await i4($,{limit:1,search:Y.sourceDocumentSN??Y.sourceDocumentId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId})).records[0];if(!z){let Q=Y.sourceDocumentSN?`sourceDocumentSN ${Y.sourceDocumentSN}`:`sourceDocumentId ${Y.sourceDocumentId}`;throw Error(`Approval run not found for ${Q}`)}return H4($,z.id)}function eh1($){if($.seal?.url)return $.seal.url.replace(/\/+$/,"");if($.source.type==="hose")return v7($,$.source).replace(/\/+$/,"");if("sealUrl"in $.source&&typeof $.source.sealUrl==="string"&&$.source.sealUrl)return $.source.sealUrl.replace(/\/+$/,"");return`https://${$.id.toLowerCase()}.sealai.cc`}function $S1($){return $.replace(/\/+$/,"")}function S4($){return typeof $==="string"&&$.trim()?$:void 0}async function YS1($,Y){let U=Math.min(100,Math.max(Y.limit,20)),z=[],Q,J=0;while(J!Y.sn||G.sourceDocumentSN===Y.sn).filter((G)=>!Y.batchId||G.sourceExtendData?.simulation_batch_id===Y.batchId);if(z.push(...K),I.records.length===0||Q!==void 0&&J>=Q)break}return z.sort((I,K)=>lR0(K.createdAt)-lR0(I.createdAt)),{total:Q,scanned:J,records:z.slice(0,Y.latest?1:Y.limit)}}function lR0($){if(typeof $==="number")return $;if(typeof $==="string"){let Y=Date.parse($);return Number.isFinite(Y)?Y:0}return 0}async function Fl($,Y){if(Y.versionId)return SH($,Y.versionId);let U=await P$($),z=Y.versionNumber?U.find((Q)=>Q.versionNumber===Y.versionNumber):U[0];if(!z)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return z}function Nl($,Y){let U=Y?.trim().toLowerCase();if(!U)return $;return $.filter((z)=>{return[z.id,z.sourceDocumentSN,z.sourceDocumentId,z.documentId,z.sourceExtendData?._langfuseTraceId,z.sourceExtendData?.simulation_batch_id,z.status,z.taskMode,z.finalExecutionMode,z.sourceSystem,z.ruleSetVersionNumber,z.ruleSetPublishedByName].some((J)=>wl(J,U))||Ml(z,U)})}function wl($,Y){if($===null||$===void 0)return!1;if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return String($).toLowerCase().includes(Y);return!1}function Ml($,Y,U=0){if(U>6)return!1;if(wl($,Y))return!0;if(!$||typeof $!=="object")return!1;if(Array.isArray($))return $.some((z)=>Ml(z,Y,U+1));return Object.entries($).some(([z,Q])=>wl(z,Y)||Ml(Q,Y,U+1))}function US1($,Y){let U=Y?.trim().toLowerCase();if(!U)return $;return $.filter((z)=>gz(z)?.value.toLowerCase().includes(U))}function zS1($){return{...$,manualApprovalStatus:J_0($.manualApprovalStatus,$.humanResult)}}function J_0($,Y){if($)return $;let U=Y?.trim().toLowerCase();if(!U)return;if(["驳回","已驳回","拒绝","不通过","terminated","reject","rejected","denied"].includes(U))return"TERMINATED";return}async function oR0($,Y,U){let z=Nl(Y,U.query);if(!U.humanResult?.trim())return z;let Q=await Promise.all(z.map(async(J)=>{if(gz(J))return J;try{return await H4($,J.id)}catch{return J}}));return US1(Q,U.humanResult)}function QS1($){return{originalDocumentData:{path:"document",frontendLabel:"单据原始数据",description:"前端详情页展示的单据原始数据对象",id:$.document?.id??$.documentId,sourceDocumentSN:$.document?.sourceDocumentSN??$.sourceDocumentSN,sourceDocumentId:$.document?.sourceDocumentId??$.sourceDocumentId},aiDocumentFields:{path:"document.fields",frontendLabel:"AI 看的单据",description:"AI 审核实际读取的字段数组,即单据原始数据中的 fields",fieldCount:$.document?.fields?.length},aiDocument:{path:"document.fields",frontendLabel:"AI 看的单据",description:"兼容别名,等同于 aiDocumentFields",aliasOf:"aiDocumentFields",fieldCount:$.document?.fields?.length},sourceDocument:{path:"sourceExtendData.hosecloudViewUrl",description:"合思原始单据入口;详情响应中只有入口和源单据 ID,不包含完整原始单据 JSON",sourceSystem:$.sourceSystem,sourceDocumentSN:$.sourceDocumentSN,sourceDocumentId:$.sourceDocumentId,originalDocumentId:$.sourceExtendData?.original_document_id,viewUrl:$.sourceExtendData?.hosecloudViewUrl},aiResult:{path:"result",description:"AI 最终审核结构化结果"},aiAuditLog:{path:"pipelineData.logs",description:"AI 审核过程日志"},manualApproval:{path:"manualApprovalRecord",description:"人工审核结果、节点和驳回原因"}}}function gz($){let Y=[["result",$.result],["pipelineData",$.pipelineData]];for(let[U,z]of Y){let Q=Ol(z,U);if(Q)return Q}return}function Ol($,Y,U=0){if(U>8||$===null||$===void 0)return;if(Array.isArray($)){for(let z=0;z<$.length;z+=1){let Q=Ol($[z],`${Y}[${z}]`,U+1);if(Q)return Q}return}if(typeof $!=="object")return;for(let[z,Q]of Object.entries($)){let J=`${Y}.${z}`,I=Ol(Q,J,U+1);if(I)return I;if(rR0(z)||rR0(J)){let K=I_0(Q);if(K)return{value:K,path:J}}}return}function rR0($){let Y=$.toLowerCase(),U=Y.includes("human")||Y.includes("manual")||Y.includes("reviewer")||Y.includes("operator")||$.includes("人工")||$.includes("人工审批")||$.includes("人工审核"),z=Y.includes("result")||Y.includes("decision")||Y.includes("outcome")||Y.includes("conclusion")||Y.includes("action")||$.includes("结果")||$.includes("结论")||$.includes("动作");return U&&z}function I_0($){if(typeof $==="string")return $.trim()||void 0;if(typeof $==="number"||typeof $==="boolean")return String($);if(!$||typeof $!=="object")return;let Y=$;for(let U of["label","name","text","value","result","decision","outcome","status","action"]){let z=I_0(Y[U]);if(z)return z}return}function JS1($,Y){if(Y.recordId&&$.id!==Y.recordId)return!1;if(Y.sourceDocumentSN&&$.sourceDocumentSN!==Y.sourceDocumentSN)return!1;if(Y.sourceDocumentId&&$.sourceDocumentId!==Y.sourceDocumentId)return!1;return!0}function sR0($,Y){return $.reduce((U,z)=>{let Q=Y(z);return U[Q]=(U[Q]??0)+1,U},{})}function aR0($,Y){let U=K_0($);if(!U)return;let z=G_0(U,Y),Q=z.year,J=(z.month??"01").padStart(2,"0"),I=(z.day??"01").padStart(2,"0");return`${Q}-${J}-${I}`}function tR0($,Y){let U=K_0($);if(!U)return;let z=G_0(U,Y),Q=(z.month??"01").padStart(2,"0"),J=(z.day??"01").padStart(2,"0"),I=(z.hour??"00").padStart(2,"0"),K=(z.minute??"00").padStart(2,"0"),G=(z.second??"00").padStart(2,"0");return`${z.year??"0000"}-${Q}-${J} ${I}:${K}:${G}`}function K_0($){if($===void 0)return null;let Y=new Date($);return Number.isNaN(Y.getTime())?null:Y}function G_0($,Y){return Object.fromEntries(new Intl.DateTimeFormat("en-CA",{timeZone:Y,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts($).filter((U)=>U.type!=="literal").map((U)=>[U.type,U.value]))}var Lq,hh1,Sh1;var wq=m(()=>{A$();X6();t9();y3();i8();NA0();SZ();wp();xA0();Xl();mQ();gB();hB();pn();Zl();rS();Lq=[{name:"seal_whoami",description:"查询当前 Seal 用户身份及租户信息",parameters:L.object({}),handler:async($)=>W8($)},{name:"seal_session_get",description:"查询当前 Seal Bearer session、用户和过期时间",parameters:L.object({}),handler:async($)=>O10($)},{name:"seal_delegation_list",description:"查询当前 Seal 租户下的授权链接 (Delegation) 列表",parameters:L.object({}),handler:async($)=>i10($)},{name:"seal_delegation_create",description:"创建新的 Seal 授权链接 (Delegation)",parameters:L.object({note:L.string().optional().describe("授权链接的备注或说明信息")}),handler:async($,Y)=>lQ($,Y)},{name:"seal_delegation_revoke",description:"撤销/废除指定的 Seal 授权链接 (Delegation)",parameters:L.object({tokenId:L.string().describe("授权链接 ID (delegation record ID)")}),handler:async($,Y)=>c10($,Y.tokenId)},{name:"seal_user_create",description:"创建本地 Seal 用户,生成并返回初始随机密码",parameters:L.object({name:L.string().describe("用户姓名"),phone:L.string().describe("手机号码 (例如 13300001111 或 +8613300001111)"),permissions:L.array(L.string()).optional().describe("权限列表,默认为 []"),departmentIds:L.array(L.string()).optional().describe("关联部门 ID 数组")}),handler:async($,Y)=>n10($,Y)},{name:"seal_user_reset_password",description:"重置指定 Seal 用户的默认/随机密码,并返回生成的新密码",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>Ug($,Y.userId)},{name:"seal_user_get",description:"获取指定 Seal 用户的详细信息",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>HM($,Y.userId)},{name:"seal_user_search",description:"按姓名、手机号或邮箱搜索 Seal 成员用户列表",parameters:L.object({keyword:L.string().optional().describe("搜索关键词(姓名、手机号、邮箱等),不传或传空字符串可列出租户成员")}),handler:async($,Y)=>WM($,Y.keyword??"")},{name:"seal_user_delete",description:"删除指定 Seal 本地用户",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>$40($,Y.userId)},{name:"seal_user_activate",description:"启用/激活已离职的 Seal 用户账号",parameters:L.object({userId:L.string().describe("用户 ID (_id)")}),handler:async($,Y)=>Qg($,Y.userId)},{name:"seal_user_delegation_create",description:"为指定 Seal 用户(按用户ID、手机号或姓名)重置密码登录并生成其专属授权链接 (Delegation)",parameters:L.object({userIdOrPhone:L.string().describe("目标用户 ID、手机号或姓名"),note:L.string().optional().describe("授权链接备注信息")}),handler:async($,Y,U)=>Y40($,Y,(z)=>fS(U.corp,z),U.corp)},{name:"seal_contacts_departments_root_list",description:"列出当前 Seal 租户通讯录的顶级部门",parameters:L.object({}),handler:async($)=>p10($)},{name:"seal_contacts_department_get",description:"获取指定通讯录部门的详细信息",parameters:L.object({departmentId:L.string().describe("部门 ID")}),handler:async($,Y)=>d10($,Y.departmentId)},{name:"seal_contacts_department_children_list",description:"列出指定通讯录部门的直接子部门",parameters:L.object({departmentId:L.string().describe("部门 ID")}),handler:async($,Y)=>m10($,Y.departmentId)},{name:"seal_contacts_department_users_list",description:"列出指定通讯录部门下的用户",parameters:L.object({departmentId:L.string().describe("部门 ID")}),handler:async($,Y)=>l10($,Y.departmentId)},{name:"seal_contacts_last_sync_time_get",description:"查询通讯录最后同步时间",parameters:L.object({}),handler:async($)=>o10($)},{name:"seal_insight_stats_get",description:"查询智能洞察风险标签统计及分析状态",parameters:L.object({startDate:L.string().optional().describe("统计开始时间(ISO 8601)"),endDate:L.string().optional().describe("统计结束时间(ISO 8601)"),limit:L.number().int().positive().max(100).optional().describe("最多返回的风险标签数量")}),handler:async($,Y)=>DM($,Y)},{name:"seal_insight_risks_by_tag_get",description:"按风险标签查询智能洞察风险单据明细及 AI 分析依据",parameters:L.object({tagId:L.string().describe("风险标签 ID(如 B.1.1、B.1.6)"),startDate:L.string().optional().describe("统计开始时间(ISO 8601)"),endDate:L.string().optional().describe("统计结束时间(ISO 8601)")}),handler:async($,Y)=>AM($,Y)},{name:"seal_insight_performance_get",description:"查询智能洞察审核效能指标(自动化率、准确率等)及决策流向桑基图",parameters:L.object({startDate:L.union([L.string(),L.number()]).optional().describe("统计开始时间(ISO 8601 或毫秒时间戳)"),endDate:L.union([L.string(),L.number()]).optional().describe("统计结束时间(ISO 8601 或毫秒时间戳)")}),handler:async($,Y)=>BM($,Y)},{name:"seal_insight_record_analyze",description:"对指定的审批单运行记录按需触发智能洞察风险分析",parameters:L.object({recordId:L.string().describe("审批单运行记录 ID (recordId)")}),handler:async($,Y)=>r10($,Y.recordId)},{name:"seal_insight_export",description:"导出智能洞察风险研报为高保真 Excel 文件(含效能概览、Top风险标签、风险单据穿透明细)",parameters:L.object({startDate:L.string().optional().describe("统计开始时间(ISO 8601 或时间戳)"),endDate:L.string().optional().describe("统计结束时间(ISO 8601 或时间戳)"),limit:L.number().int().positive().optional().describe("最多下钻分析的风险标签数量"),outputFile:L.string().optional().describe("自定义 Excel 保存路径"),toDownloads:L.boolean().optional().describe("是否直接保存到用户的系统下载目录"),force:L.boolean().optional().describe("时间跨度超过 180 天时是否强制导出")}),handler:async($,Y,U)=>IT($,U.corp,Y)},{name:"seal_expenses_list",description:"分页查询费用明细",parameters:L.object({offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),startDate:L.string().optional().describe("开始时间"),endDate:L.string().optional().describe("结束时间"),search:L.string().optional().describe("搜索费用类型、描述或金额")}),handler:async($,Y)=>a10($,Y)},{name:"seal_invoices_list",description:"分页查询进项发票",parameters:L.object({offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),startDate:L.string().optional().describe("开始时间"),endDate:L.string().optional().describe("结束时间"),search:L.string().optional().describe("搜索发票号码或销售方")}),handler:async($,Y)=>t10($,Y)},{name:"seal_simulation_feishu_approval_definitions_list",description:"列出飞书模拟测试可用的审批定义,便于选择 approvalCode",parameters:L.object({}),handler:async($)=>{let Y=await e10($);return{count:Y.length,approvalDefinitions:Y}}},{name:"seal_llm_config_get",description:"查询当前 Seal 租户的大模型 (LLM) 配置",parameters:L.object({}),handler:async($)=>U40($)},{name:"seal_llm_providers_list",description:"查询支持的大模型 (LLM) 供应商与配置属性字段",parameters:L.object({}),handler:async($)=>z40($)},{name:"seal_permissions_available_list",description:"查询系统可选权限清单(如超级管理员、智能审核管理、数据管理等)",parameters:L.object({}),handler:async($)=>Q40($)},{name:"seal_permissions_configs_list",description:"查询当前租户已绑定的权限配置",parameters:L.object({}),handler:async($)=>J40($)},{name:"seal_billing_status_get",description:"查询当前 Seal 租户的订阅状态与各功能额度(AI审批、审核规则、知识文档等)",parameters:L.object({}),handler:async($)=>nY($)},{name:"seal_billing_plans_list",description:"查询系统支持的订阅套餐列表",parameters:L.object({}),handler:async($)=>I40($)},{name:"seal_billing_features_list",description:"查询系统支持的功能特性定义列表",parameters:L.object({}),handler:async($)=>K40($)},{name:"seal_approval_rules_list",description:"列出 Seal 当前草稿审批规则;返回的 code 属于草稿编号体系,发布版本可能重新编码;支持 countOnly、fields、limit 以避免返回规则正文",parameters:L.object({countOnly:L.boolean().optional().describe("只返回规则数量,不返回规则列表"),fields:L.array(L.enum(["id","code","tenantId","status","strictness","scope","createdAt","updatedAt","description"])).optional().describe("只返回指定字段;不传则返回完整规则"),limit:L.number().int().nonnegative().optional().describe("最多返回多少条规则;0 可配合 fields 或 countOnly 只取数量"),offset:L.number().int().nonnegative().optional().describe("跳过前多少条规则")}),handler:async($,Y)=>{let U=await p6($);return gh1(U,Y)}},{name:"seal_approval_rules_clear",description:"清空 Seal 当前草稿审批规则;用于测试环境导入规则前重置草稿规则集",parameters:L.object({dryRun:L.boolean().optional().describe("只预览将删除的规则数量,不执行删除"),recode:L.boolean().optional().describe("删除后尝试重新编排规则编号;失败会作为 warning 返回")}),handler:async($,Y,U)=>{let z=await p6($);if(Y.dryRun)return{..._9(U,"api/v1/rules",z.rules,[],z.rules.length),corpId:U.corp.id,corpName:U.corp.name,dryRun:!0,beforeCount:z.rules.length,deleted:0,afterCount:z.rules.length,hasPendingDeletes:z.hasPendingDeletes};let Q=[],J=0;for(let H of z.rules)try{await oQ($,H.id),J+=1}catch(W){Q.push({ruleId:H.id,error:W instanceof Error?W.message:String(W)})}let I=[],K;if(J>0&&Y.recode!==!1){if(K=await ZM($),K&&typeof K==="object"&&"ok"in K&&K.ok!==!0)I.push("batch-recode did not complete; current rules were still deleted")}let G=await p6($);return{corpId:U.corp.id,corpName:U.corp.name,dryRun:!1,beforeCount:z.rules.length,deleted:J,failed:Q,afterCount:G.rules.length,hasPendingDeletes:G.hasPendingDeletes,warnings:I,recode:K}}},{name:"seal_approval_rule_create",description:"新建 Seal 草稿审批规则",parameters:L.object({description:L.string().describe("规则描述"),scope:L.string().describe("适用场景"),strictness:L.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).describe("严格程度")}),handler:async($,Y)=>hH($,Y)},{name:"seal_approval_rule_update",description:"更新 Seal 草稿审批规则",parameters:L.object({ruleId:L.string().describe("规则 ID"),description:L.string().optional(),scope:L.string().optional(),strictness:L.enum(["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]).optional()}),handler:async($,Y)=>{let{ruleId:U,...z}=Y,Q=await sS($,U,z);if(Y.description)try{let J=_4();if(J.lint?.enabled){let I=await Vp(J.lint.activeLinter),K=await Fp({id:U,description:Y.description},I);if(K.issues.length>0){console.error(`⚠️ [Linter 质检提醒] 规则质量评分: ${K.score}/100 (发现 ${K.issues.length} 处潜在风险):`);for(let G of K.issues)if(console.error(` • [${G.level.toUpperCase()}] ${G.message}${G.snippet?` ("${G.snippet}")`:""}`),G.suggestion)console.error(` \uD83D\uDC49 建议: ${G.suggestion}`)}}}catch{}return Q}},{name:"seal_approval_rule_delete",description:"删除 Seal 草稿审批规则",parameters:L.object({ruleId:L.string().describe("规则 ID")}),handler:async($,Y)=>{return await oQ($,Y.ruleId),{success:!0}}},{name:"seal_approval_rule_versions_list",description:"列出 Seal 已发布审批规则版本摘要,不展开每个版本的规则快照",parameters:L.object({}),handler:async($)=>{let Y=await P$($);return{count:Y.length,latest:Y[0]?ql(Y[0]):void 0,versions:Y.map(ql)}}},{name:"seal_approval_rule_version_get",description:"获取指定 Seal 已发布审批规则版本详情,包含该版本的规则快照",parameters:L.object({versionId:L.string().optional().describe("规则版本 ID"),versionNumber:L.number().int().positive().optional().describe("规则版本号"),latest:L.boolean().optional().describe("为 true 时获取最新版本")}),handler:async($,Y)=>{if(Y.versionId)return SH($,Y.versionId);let U=await P$($),z=Y.versionNumber?U.find((Q)=>Q.versionNumber===Y.versionNumber):U[0];if(!z)throw Error(Y.versionNumber?`Rule version not found: ${Y.versionNumber}`:"No rule versions found");return z}},{name:"seal_approval_rule_version_publish",description:"发布 Seal 草稿审批规则为新版本",parameters:L.object({versionName:L.string().describe("版本名称")}),handler:async($,Y)=>gH($,Y.versionName)},{name:"seal_approval_rule_get",description:"按版本号/code/runtime-id/record-id 定位单条规则;code 只在选定的版本编号体系内有效,避免拉取整版规则快照",parameters:L.object({versionId:L.string().optional().describe("规则版本 ID"),versionNumber:L.number().int().positive().optional().describe("规则版本号"),latest:L.boolean().optional().describe("为 true 时取最新版本"),code:L.string().optional().describe("规则展示编号,如 #0038;没有后端 code 时按版本内序号匹配"),runtimeId:L.string().optional().describe("运行时规则 ID,如 rule-205;按版本内序号匹配"),recordId:L.string().optional().describe("从运行记录推断 ruleSetVersionNumber")}),handler:async($,Y)=>{let U=await oh1($,Y),z=rh1(U,{code:Y.code,runtimeId:Y.runtimeId});if(!z)throw Error(`Rule not found in version ${U.versionNumber}`);return z}},{name:"seal_approval_rules_lint",description:"对 Seal 本地规则文件、草稿审批规则或指定发布版本规则进行质量与可执行性检查(模糊词、悬空例外检测)",parameters:L.object({file:L.string().optional().describe("指定本地规则文件路径进行离线质检(支持 .json),0网络请求、不污染远端草稿"),linter:L.string().optional().describe("指定使用的校验器名称或脚本路径(如 builtin、strict、./my-linter.ts)"),version:L.string().optional().describe("指定要质检的历史发布版本号或 ID(如 16 或 latest),不传默认质检当前草稿"),code:L.string().optional().describe("按规则展示编号过滤(如 #0038)"),ruleId:L.string().optional().describe("按规则 ID 过滤"),minScore:L.number().optional().describe("最低合格质量分阈值(0~100),低于该分值抛出错误以返回非零退出码"),level:L.enum(["all","error","warning"]).default("all").describe("问题报告等级过滤"),summary:L.boolean().optional().describe("为 true 时仅返回存在瑕疵/扣分的规则")}),handler:async($,Y,U)=>{let z=[],Q;if(Y.file){let H=Mp(Y.file);z=kA0(H.rules),Q=H.meta.versionNumber}else if(Y.version){let H=await P$($),W=Number(Y.version),X=isNaN(W)?Y.version==="latest"?H[0]:H.find((Z)=>Z.id===Y.version):H.find((Z)=>Z.versionNumber===W);if(!X)throw Error(`未找到指定的规则版本: ${Y.version}`);Q=X.versionNumber,z=(X.rules??[]).map((Z,q)=>({id:Z.id??Z.runtimeId,code:Z.code??`#${String(q+1).padStart(4,"0")}`,name:Z.name??Z.title,description:Z.description??"",scope:Z.scope,strictness:Z.strictness}))}else z=((await p6($)).rules??[]).map((W,X)=>({id:W.id,code:W.code??`#${String(X+1).padStart(4,"0")}`,name:W.name??W.title,description:W.description??"",scope:W.scope,strictness:W.strictness}));if(Y.code)z=z.filter((H)=>H.code===Y.code||H.code?.replace(/[#\s]/g,"")===Y.code?.replace(/[#\s]/g,""));if(Y.ruleId)z=z.filter((H)=>H.id===Y.ruleId||H.code===Y.ruleId);let J=_4(),I=Y.linter??J.lint?.activeLinter??"builtin",K=await Vp(I),G=await hA0(z,K,{corpId:U?.corp?.id,versionNumber:Q,allRules:z},{minScore:Y.minScore,level:Y.level,summary:Y.summary});if(Y.minScore&&G.overallScore{let z=Y.out??"./rules.local.json",Q=[],J="draft",I;if(Y.version){let G=await P$($),H=Number(Y.version),W=isNaN(H)?Y.version==="latest"?G[0]:G.find((X)=>X.id===Y.version):G.find((X)=>X.versionNumber===H);if(!W)throw Error(`未找到指定的规则版本: ${Y.version}`);I=W.versionNumber,J=`version:${I}`,Q=(W.rules??[]).map((X,Z)=>({code:X.code?Number(String(X.code).replace(/^#/,""))||Z+1:Z+1,name:X.name??X.title,description:X.description??"",scope:X.scope??"ALL",strictness:X.strictness??"MUST_FOLLOW"}))}else Q=((await p6($)).rules??[]).map((H,W)=>({id:H.id,code:H.code??W+1,name:H.name??H.title,description:H.description??"",scope:H.scope??"ALL",strictness:H.strictness??"MUST_FOLLOW",status:H.status}));return{saved:!0,path:yA0(z,{corpId:U.corp.id,source:J,versionNumber:I,exportedAt:new Date().toISOString(),rulesCount:Q.length,rules:Q}),rulesCount:Q.length,corpId:U.corp.id,source:J,versionNumber:I}}},{name:"seal_approval_rules_push",description:"将本地规则文件增量同步到远端草稿;按规则 ID 更新/删除并保留未变更规则,支持直接发布为正式版本",parameters:L.object({file:L.string().optional().describe("要推送的本地规则文件路径,默认为 ./rules.local.json"),dryRun:L.boolean().optional().describe("是否仅预览变更而不实际写入远端(默认 true,传 --yes 或 confirm: true 执行写入)"),confirm:L.boolean().optional().describe("确认覆盖写入远端草稿"),publish:L.boolean().optional().describe("写入草稿后是否直接发布为一个正式版本"),versionName:L.string().optional().describe("发布版本的名称(仅在 publish=true 时有效)")}),handler:async($,Y,U)=>{let z=Y.file??"./rules.local.json",Q=Mp(z),J=Y.confirm===!0,I=Y.dryRun??!J,K=await p6($),G=kh1(K.rules,Q.rules);if(I)return{..._9(U,"api/v1/rules",K.rules,Q.rules.map((Z)=>({description:Z.description,scope:Z.scope??"ALL",strictness:Z.strictness??"MUST_FOLLOW"})),K.rules.length+Q.rules.length),corpId:U.corp.id,dryRun:!0,localFile:Q.resolvedPath,localRulesCount:Q.rules.length,remoteDraftCount:K.rules.length,changes:G,impactCount:G.created.length+G.updated.length+G.deleted.length,preservedRuleIds:[...G.updated.map((Z)=>Z.id),...G.unchanged.map((Z)=>Z.id)],warning:"Incremental mode preserves matched rule IDs and does not recode the draft rule set.",willPublish:Boolean(Y.publish),message:"Preview mode. Use --yes or confirm=true to apply the listed incremental changes to the remote draft."};for(let Z of G.deleted)await oQ($,Z.id);let H=[];for(let Z of G.created){let q=await hH($,{description:Z.description,scope:Z.scope??"ALL",strictness:WT(Z.strictness)});H.push({id:q.id,description:q.description,code:q.code})}let W=[];for(let Z of G.updated)await sS($,Z.id,{description:Z.rule.description,scope:Z.rule.scope??"ALL",strictness:WT(Z.rule.strictness)}),W.push(Z.id);let X=void 0;if(Y.publish){let Z=new Date().toISOString().slice(0,10).replace(/-/g,""),q=Y.versionName||`v-local-${Z}-${Date.now().toString().slice(-4)}`;X=await gH($,q)}return{corpId:U.corp.id,dryRun:!1,localFile:Q.resolvedPath,deletedRules:G.deleted.length,createdRules:H.length,updatedRules:W.length,unchangedRules:G.unchanged.length,preservedRuleIds:[...W,...G.unchanged.map((Z)=>Z.id)],recoded:!1,published:X??!1}}},{name:"seal_approval_documents_list",description:"列出 Seal 审批知识文档",parameters:L.object({scenarios:L.array(L.string()).optional().describe("场景过滤"),offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().optional()}),handler:async($,Y)=>h7($,Y)},{name:"seal_approval_document_get",description:"获取 Seal 审批知识文档详情",parameters:L.object({documentId:L.string().describe("文档 ID")}),handler:async($,Y)=>N10($,Y.documentId)},{name:"seal_approval_document_create",description:"新建 Seal 审批知识文档",parameters:L.object({title:L.string(),purpose:L.string(),content:L.string().describe("正文,通常为 Markdown"),contentType:L.string().optional(),status:L.string().optional(),enabled:L.boolean().optional(),scenarios:L.array(L.string()).optional(),tags:L.array(L.string()).optional()}),handler:async($,Y)=>qM($,Y)},{name:"seal_approval_document_update",description:"更新 Seal 审批知识文档",parameters:L.object({documentId:L.string(),title:L.string().optional(),purpose:L.string().optional(),content:L.string().optional(),contentType:L.string().optional(),status:L.string().optional(),enabled:L.boolean().optional(),scenarios:L.array(L.string()).optional(),tags:L.array(L.string()).optional()}),handler:async($,Y)=>{let{documentId:U,...z}=Y;return VM($,U,z)}},{name:"seal_approval_delete_document",description:"删除 Seal 审批知识文档",parameters:L.object({documentId:L.string().describe("知识文档 ID")}),handler:($,Y)=>LM($,Y.documentId)},{name:"seal_approval_search",description:"按关键词组检索 Seal 审批规则、审批文档和审批偏好配置,返回命中位置、字段、行号和前后三行上下文",parameters:L.object({keywords:L.array(L.string()).min(1).describe("关键词组"),matchMode:L.enum(["any","all"]).optional().describe("any 命中任一关键词,all 要求同一行命中全部关键词"),areas:L.array(L.enum(["rules","documents","preferences"])).optional().describe("检索范围"),caseSensitive:L.boolean().optional().describe("是否大小写敏感"),contextLines:L.number().int().nonnegative().optional().describe("返回命中行前后几行,默认 3"),documentLimit:L.number().int().positive().optional().describe("缓存刷新时最多拉取文档数,默认 100"),maxResults:L.number().int().positive().optional().describe("最多返回命中数,默认 50"),refresh:L.boolean().optional().describe("是否跳过 5 分钟内存缓存并强制刷新"),ruleVersionScope:L.enum(["current","all","version"]).optional().describe("规则检索范围,默认 current;all 会检索所有已发布历史版本"),ruleVersionId:L.string().optional().describe("ruleVersionScope=version 时指定版本 ID"),ruleVersionNumber:L.number().int().positive().optional().describe("ruleVersionScope=version 时指定版本号"),latestRuleVersion:L.boolean().optional().describe("ruleVersionScope=version 时取最新已发布版本"),snippetOnly:L.boolean().optional().describe("只返回命中行,不返回前后文"),maxChars:L.number().int().positive().optional().describe("每个文本片段最多返回字符数"),fields:L.array(L.string()).optional().describe("只搜索指定字段,如 history.description、description、scope")}),handler:async($,Y,U)=>OA0($,U.corp,Y)},{name:"seal_approval_context_get",description:"聚合获取 Seal 现有审批规则、审批文档和审批风格偏好",parameters:L.object({documentLimit:L.number().int().positive().optional().describe("最多返回的审批文档数量"),ruleVersionId:L.string().optional().describe("指定已发布规则版本 ID;指定后 rules 返回该版本快照"),ruleVersionNumber:L.number().int().positive().optional().describe("指定已发布规则版本号;指定后 rules 返回该版本快照"),latestRuleVersion:L.boolean().optional().describe("为 true 时 rules 返回最新已发布版本快照")}),handler:async($,Y,U)=>{let z=await OM($,{documentLimit:Y.documentLimit,stylePreferencesEndpoint:U.corp.seal.endpoints.approvalStylePreferences});if(!Y.ruleVersionId&&!Y.ruleVersionNumber&&!Y.latestRuleVersion)return z;let Q=await Fl($,Y);return{...z,rules:{version:ql(Q),rules:Q.rules}}}},{name:"seal_approval_style_preferences_get",description:"获取 Seal 审批风格偏好配置",parameters:L.object({}),handler:async($,Y,U)=>o1($,U.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_approval_style_preferences_update",description:"更新 Seal 审批风格偏好配置",parameters:L.object({tone:L.string().optional(),language:L.string().optional(),detailLevel:L.string().optional(),outputFormat:L.string().optional(),examples:L.array(L.string()).optional(),prohibitedPhrases:L.array(L.string()).optional(),customInstructions:L.string().optional()}),handler:async($,Y,U)=>l5($,Y,U.corp.seal.endpoints.approvalStylePreferences)},{name:"seal_webhook_list",description:"列出当前 Seal 租户的 Webhook 集成,可按 ID、名称或 URL 查找",parameters:L.object({query:L.string().optional().describe("按集成 ID、名称或 URL 做本地包含匹配"),includeSecret:L.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,Y,U)=>{let z=j10(await J$($,U.corp.seal.endpoints.approvalStylePreferences),Y.query);return{count:z.length,integrations:z.map((Q)=>qq(Q,Y.includeSecret===!0))}}},{name:"seal_webhook_get",description:"按 Webhook 集成 ID 或名称精确查找一条集成",parameters:L.object({selector:L.string().min(1).describe("Webhook 集成 ID 或名称"),includeSecret:L.boolean().optional().describe("是否返回 Webhook secret;默认遮罩")}),handler:async($,Y,U)=>{let z=S7(await J$($,U.corp.seal.endpoints.approvalStylePreferences),Y.selector);return qq(z,Y.includeSecret===!0)}},{name:"seal_webhook_add",description:"新增 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:L.object({name:L.string().min(1).describe("集成名称"),mode:L.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:L.string().url().describe("Seal 完成 AI 审核后回调的外部地址"),autoApprovalRate:L.number().int().min(0).max(100).optional(),secret:L.string().min(1).optional().describe("可选;不传则生成 32 位十六进制 secret"),materialPackFilePolicy:cS.describe("材料包附件文件策略:大小和后缀白名单"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{let z=$_0(U.corp),Q=Y.dryRun?await D10($,z,Y,U.corp.seal.endpoints.approvalStylePreferences):void 0,J=Q?.integration??await FM($,z,Y,U.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return _9(U,U.corp.seal.endpoints.approvalStylePreferences,Q.before,Q.after,1);return{saved:!0,integration:qq(J,!0)}}},{name:"seal_webhook_update",description:"更新现有 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:L.object({selector:L.string().min(1).describe("Webhook 集成 ID 或名称"),name:L.string().min(1).optional(),mode:L.enum(["assisted","semi_automatic","fully_automatic"]).optional(),outgoingResultWebhook:L.string().url().optional(),autoApprovalRate:L.number().int().min(0).max(100).optional(),secret:L.string().min(1).optional(),rotateSecret:L.boolean().optional().describe("生成新 secret;与 secret 二选一"),materialPackFilePolicy:cS.describe("材料包附件文件策略:大小和后缀白名单"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{if(Y.secret!==void 0&&Y.rotateSecret)throw Error("Webhook secret and rotateSecret cannot be used together");let z=Y.dryRun?await B10($,Y.selector,Y,U.corp.seal.endpoints.approvalStylePreferences):void 0,Q=z?.integration??await A10($,Y.selector,Y,U.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return _9(U,U.corp.seal.endpoints.approvalStylePreferences,z.before,z.after,1);return{saved:!0,integration:qq(Q,Y.secret!==void 0||Y.rotateSecret===!0)}}},{name:"seal_webhook_delete",description:"删除指定 Webhook 集成;使用 dryRun=true 可只预览请求而不持久化",parameters:L.object({selector:L.string().min(1).describe("Webhook 集成 ID 或名称"),confirm:L.boolean().optional().describe("执行删除时必须明确传 true;dryRun 可省略"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行删除")}),handler:async($,Y,U)=>{if(!Y.confirm&&!Y.dryRun)throw Error("Refusing to delete Webhook integration without confirm=true");let z=Y.dryRun?await T10($,Y.selector,U.corp.seal.endpoints.approvalStylePreferences):void 0,Q=z?.integration??await P10($,Y.selector,U.corp.seal.endpoints.approvalStylePreferences);if(Y.dryRun)return _9(U,U.corp.seal.endpoints.approvalStylePreferences,z.before,z.after,1);return{deleted:!0,integration:qq(Q,!1)}}},{name:"seal_webhook_replay",description:"将正式(生产)企业或指定企业的审批记录通过 Webhook 渠道重放到测试企业进行规则回归与模拟验证",parameters:L.object({recordId:L.string().optional().describe("待重放的单条审批记录 ID"),sn:L.string().optional().describe("待重放的单据编号 (sourceDocumentSN)"),sourceCorpId:L.string().optional().describe("单据来源企业 ID (若省略,基于绑定关系自动解析为正式企业)"),targetCorpId:L.string().optional().describe("重放目标企业 ID (若省略,基于绑定关系自动解析为测试企业)"),webhook:L.string().optional().describe("目标 Webhook 通道 ID 或名称"),limit:L.number().optional().describe("批量重放单据数量 (默认 1)"),status:L.string().optional().describe("单据状态过滤 (例如 completed, failed 等)"),snPrefix:L.string().optional().describe("重放单号前缀"),snSuffix:L.string().optional().describe("重放单号后缀"),dryRun:L.boolean().optional().describe("是否仅执行预检转换而不实际推送 (默认 false)"),force:L.boolean().optional().describe("若目标为生产环境,强制执行重放")}),handler:async($,Y,U)=>{let z=(G)=>{let H=s8(),W=_4();return u2(H,{stateful:W.stateful,defaultCorpId:W.defaultCorpId,corpId:G},S3())},{sourceCorp:Q,targetCorp:J}=dB({sourceCorpId:Y.sourceCorpId,targetCorpId:Y.targetCorpId,activeCorp:U.corp,force:Y.force},z),I=Q.id===U.corp.id?$:await B1(Q),K=J.id===U.corp.id?$:await B1(J);return tI({query:{recordId:Y.recordId,sn:Y.sn,limit:Y.limit,status:Y.status},sourceClient:I,targetClient:K,sourceCorp:Q,targetCorp:J,webhookSelector:Y.webhook,snPrefix:Y.snPrefix,snSuffix:Y.snSuffix,dryRun:Y.dryRun})}},{name:"seal_approval_runs_search",description:"查询 Seal 审批/审核运行记录总表,并整理合思单据到 Langfuse trace/session 的桥接字段",parameters:L.object({offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),fromTimestamp:L.string().optional(),toTimestamp:L.string().optional(),startDate:L.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:L.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:L.string().optional(),taskMode:L.string().optional(),manualApprovalStatus:L.union([L.string(),L.array(L.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),humanResult:L.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:L.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配"),includeBridge:L.boolean().optional().describe("是否返回完整 bridge 数组;默认 false,避免长输出")}),handler:async($,Y)=>{let U=Y.query?.trim(),z=await i4($,zS1({...Y,search:U})),Q=await oR0($,z.records,{humanResult:Y.humanResult});return{...z,records:Q.map(Sz),...Y.includeBridge?{bridge:HT(Q)}:{}}}},{name:"seal_approval_runs_summary",description:"按本地日期/时区汇总 Seal 审批运行记录,返回状态、模式统计和精简记录,避免长 JSON 输出",parameters:L.object({date:L.string().optional().describe("本地日期,格式 YYYY-MM-DD;默认使用 timezone 下的今天"),timezone:L.string().optional().describe("IANA 时区,默认 Asia/Shanghai"),offset:L.number().int().nonnegative().optional(),limit:L.number().int().positive().max(100).optional(),startDate:L.string().optional().describe("运行记录创建开始时间戳(毫秒),对应前端 startDate"),endDate:L.string().optional().describe("运行记录创建结束时间戳(毫秒),对应前端 endDate"),status:L.string().optional(),taskMode:L.string().optional(),manualApprovalStatus:L.union([L.string(),L.array(L.string())]).optional().describe("人工审核状态,如 TERMINATED 对应已驳回"),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),humanResult:L.string().optional().describe("按人工审批结果做本地包含匹配,如 驳回、通过、reject"),query:L.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,Y)=>{let U=Y.timezone??"Asia/Shanghai",z=Y.date??aR0(Date.now(),U)??"",Q=await i4($,{offset:Y.offset,limit:Y.limit??100,startDate:Y.startDate,endDate:Y.endDate,status:Y.status,taskMode:Y.taskMode,manualApprovalStatus:J_0(Y.manualApprovalStatus,Y.humanResult),sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId}),J=(await oR0($,Q.records,{query:Y.query,humanResult:Y.humanResult})).filter((I)=>aR0(I.createdAt,U)===z);return ih1(J,{date:z,timezone:U,fetched:Q.records.length,total:Q.total})}},{name:"seal_approval_runs_export",description:"将企业的审批审核记录导出为高保真 Excel 报表(包含单据模板、AI决策、人工审核结论、驳回原因及企业规则列细分结果)",parameters:L.object({startDate:L.string().optional().describe("起始时间,支持 YYYY-MM-DD 或毫秒时间戳"),endDate:L.string().optional().describe("截止时间,支持 YYYY-MM-DD 或毫秒时间戳"),limit:L.number().int().positive().optional().describe("最大拉取记录条数"),status:L.string().optional().describe("单据状态过滤,如 completed, processing, failed"),manualApprovalStatus:L.union([L.string(),L.array(L.string())]).optional().describe("人工审核状态过滤,如 APPROVED, TERMINATED, PROCESSING"),includeCompletedOnly:L.boolean().optional().describe("是否仅导出已完成单据"),outputFile:L.string().optional().describe("输出 Excel 文件的自定义绝对或相对路径"),toDownloads:L.boolean().optional().describe("是否直接保存到用户的系统下载目录")}),handler:async($,Y,U)=>vB($,U.corp,Y)},{name:"seal_approval_run_get",description:"获取 Seal 单条审批/审核运行记录详情;可用 fields 只取 metadata、document.fields、result.summary 等局部字段",parameters:L.object({recordId:L.string().describe("Seal approval run record ID"),fields:L.union([L.string(),L.array(L.string())]).optional().describe("逗号分隔或数组形式的字段路径,如 metadata、document.fields、result.summary"),summary:L.boolean().optional().describe("返回单据摘要、AI 结果、人工结果和版本号")}),handler:async($,Y)=>{let U=await H4($,Y.recordId);if(Y.summary)return ch1(U);let z={...U,aliases:QS1(U),humanResult:gz(U)},Q=pR0(Y.fields);return Q.length>0?Y_0(z,Q):z}},{name:"seal_approval_run_flow_get",description:"获取合思原生审批流流转时间线、待办节点、员工意见、驳回原因及版本变更指标,并对齐 AI 运行记录与人工行为",parameters:L.object({target:L.string().optional().describe("合思单号 (sourceDocumentSN) 或 Seal 运行记录 ID (recordId)"),recordId:L.string().optional().describe("Seal 运行记录 ID"),sourceDocumentSN:L.string().optional().describe("合思单号 (sourceDocumentSN)")}),handler:async($,Y,U)=>{let z=U.corp;if(z.source.type!=="hose")throw Error(`企业「${z.name||z.id}」非合思(hose)租户(来源类型: ${z.source.type}),暂不支持合思原生审批流分析。`);let Q=(Y.target||Y.sourceDocumentSN||Y.recordId)?.trim();if(!Q)throw Error("必须提供 target、recordId 或 sourceDocumentSN 参数。");let J=Q,I;try{if(I=await H4($,Q),I?.sourceDocumentSN||I?.sourceDocumentId)J=I.sourceDocumentSN||I.sourceDocumentId}catch{}let K=[];try{K=((await i4($,{search:J,sourceDocumentSN:J,limit:100})).records||[]).filter((F)=>F.sourceDocumentSN===J||F.sourceDocumentId===J||F.id===Q)}catch{}if(K.length===0&&I)K=[I];let G=I?.sourceDocumentId||K[0]?.sourceDocumentId||J,H=await oI(z),W=await RB(H,G);if(!W){console.error(`⚠️ 单据「${J}」在合思系统中未找到审批流数据(可能已在合思端删除或作废)。`);let V=Kz(K,void 0),F=K.map((M)=>{let w=V.get(M.id);return{recordId:M.id,createdAt:M.createdAt,createdAtFormatted:M.createdAt?new Date(Number(M.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai"}):void 0,taskMode:M.taskMode,status:M.status,aiDecision:w?.aiDecision||"-",aiAction:w?.aiAction||"-",eHumanAction:"单据已删除",eHumanComment:"合思系统中未找到该单据流转记录(已在合思端删除或作废)",auditDrift:!1,auditDriftReason:void 0,operator:void 0}});return{sourceDocumentSN:J,corpId:z.id,corpName:z.name,sourceSystem:z.source.type,found:!1,deleted:!0,message:`单据「${J}」在合思系统中未找到审批流数据(可能已在合思端删除或作废)。`,flow:void 0,runsCount:K.length,runs:F,auditDrift:!1}}let X=Kz(K,W),Z=K.map((V)=>{let F=X.get(V.id);return{recordId:V.id,createdAt:V.createdAt,createdAtFormatted:V.createdAt?new Date(Number(V.createdAt)).toLocaleString("zh-CN",{timeZone:"Asia/Shanghai"}):void 0,taskMode:V.taskMode,status:V.status,aiDecision:F?.aiDecision||"-",aiAction:F?.aiAction||"-",eHumanAction:F?.eHumanAction||"-",eHumanComment:F?.eHumanComment||"-",auditDrift:F?.auditDrift??!1,auditDriftReason:F?.auditDriftReason,operator:F?.operator}}),q=Z.some((V)=>V.auditDrift);return{sourceDocumentSN:J,corpId:z.id,corpName:z.name,sourceSystem:z.source.type,flow:{backlogId:W.backlogId,flowId:W.flowId,billCode:W.billCode,title:W.title,state:W.state,rawState:W.rawState,currentNode:W.currentNode,specification:W.specification,submitter:W.submitter,owner:W.owner,metrics:W.metrics,rejections:W.rejections,staffOpinions:W.staffOpinions,timelineCount:W.history.length,pendingCount:W.pending.length,timeline:W.history,pending:W.pending},runsCount:K.length,runs:Z,auditDrift:q}}},{name:"seal_approval_run_cited_rules_get",description:"从审批运行结果中抽取 AI 引用或命中的规则及应用分析",parameters:L.object({recordId:L.string().describe("Seal approval run record ID")}),handler:async($,Y)=>{let U=await H4($,Y.recordId);return nh1(U)}},{name:"seal_approval_run_document_summary_get",description:"返回单据关键字段、附件摘要、AI/人工结果,避免拉取完整原始单据",parameters:L.object({recordId:L.string().describe("Seal approval run record ID")}),handler:async($,Y)=>{let U=await H4($,Y.recordId);return z_0(U)}},{name:"seal_approval_run_attachments_get",description:"从审批运行记录中抽取附件、发票附件和字段位置,不返回完整单据正文和规则结果",parameters:L.object({recordId:L.string().describe("Seal approval run record ID"),summary:L.boolean().optional().describe("只返回附件列表摘要")}),handler:async($,Y)=>{let U=await H4($,Y.recordId);return f2(U,{summary:Y.summary})}},{name:"seal_approval_run_result_get",description:"返回审批运行结果摘要;summary=true 时只返回 decision、summary、风险点数量、命中规则数量、traceId 等",parameters:L.object({recordId:L.string().describe("Seal approval run record ID"),summary:L.boolean().optional()}),handler:async($,Y)=>{let U=await H4($,Y.recordId);if(Y.summary)return VT(U);return{recordId:U.id,result:U.result}}},{name:"seal_approval_run_url_get",description:"获取审批单的 Web 链接(支持 seal-result 审核页与 hose-document 原单据页,支持 --auto-login 免密直达)",parameters:L.object({recordId:L.string().optional().describe("Seal approval run record ID"),sourceDocumentSN:L.string().optional().describe("合思/易快报单号"),sourceDocumentId:L.string().optional().describe("合思/易快报源单据 ID"),type:L.string().optional().describe("链接类型:'seal-result' (Seal AI 审核页,默认) 或 'hose-document' (合思原单据页)"),autoLogin:L.boolean().optional().describe("是否生成带临时认证凭证的免密直达链接"),sso:L.boolean().optional().describe("是否生成带临时认证凭证的免密直达链接 (兼容别名)"),hoseSso:L.boolean().optional().describe("通过合思 OEM 换票生成直达该单据审核详情的免密直达链接 (兼容别名)"),expiresIn:L.number().optional().describe("免密凭证有效秒数,默认 7200 (2小时)")}),handler:async($,Y,U)=>{if(!Boolean(Y.recordId||Y.sourceDocumentSN||Y.sourceDocumentId))throw Error("recordId, sourceDocumentSN, or sourceDocumentId is required to generate approval run link");let Q=await th1($,Y),J=U.corp.source,I=S4(Q?.sourceExtendData?.hosecloudViewUrl),K=eh1(U.corp),G=`${K}/approval-result/${Q.id}`,H=(Y.type??"seal-result").toLowerCase().replace(/_/g,"-"),W=H==="hose-document"||H==="source-document"||H==="hose",X=W?"hose_document":"seal_result",Z=Boolean(Y.autoLogin??Y.hoseSso??Y.sso),q=Y.expiresIn??7200,V,F,M;if(Z){if(W)throw Error("Auto-login (--auto-login) is only supported for Seal AI audit link (type: seal-result)");if(J.type!=="hose")throw Error(`Auto-login direct links currently support Hose-integrated enterprises (corp '${U.corp.id}' uses '${J.type}'). For Seal-native enterprises, use 'seal-use auth link' for authorized access.`);let D=(await YM(U.corp)).token;if(!D)throw Error("Failed to obtain Hose provisional authentication token");let P=`/approval-result/${Q.id}`;V=`${K}/api/auth/oauth2/session/oem-hosecloud?token=${encodeURIComponent(D)}&path=${encodeURIComponent(P)}`;try{let j=await W8($);F={name:j.user.name,staffId:J.staffId,isAdmin:j.user.isAdmin,providerUserId:j.user.providerUserId}}catch{F={staffId:J.staffId}}let T=F.name??"企业成员",A=F.isAdmin?" (管理员)":"";M=`⚠️ 安全警示:该链接使用 [${T}${A}] 身份签发,在 Seal AI 拥有全站操作权限。链接具备 ${Math.round(q/3600*10)/10} 小时时效,仅供受信任人员排查使用,请勿在外部公开分享。`,console.error(`⚠️ 安全警示 (免密直达链接): `+`• 身份主体:${T}${A} `+`• 权限范围:持有该链接者在 Seal AI 中拥有该用户的完整操作权限(含系统设置与规则编辑) `+`• 时效性:换票凭证有效时间 ${q} 秒(${Math.round(q/60)} 分钟),在浏览器打开后将保留 30 天会话 -`+"• 安全边界:该凭证绝不包含且无法访问合思 (Hose) 主系统;仅限内部排查,严禁在外部公开分享!")}return{url:W?I:Z?V:G,type:X,mode:Z?"auto_login":"direct",sealResultUrl:G,hoseDocumentUrl:I,documentUrl:I,ssoUrl:V,expiresIn:Z?q:void 0,identity:F,warning:M,hoseDomain:J.type==="hose"?$S1(J.domain):void 0,recordId:Q.id,sourceDocumentSN:Q.sourceDocumentSN,sourceDocumentId:Q.sourceDocumentId,sourceSystem:Q.sourceSystem,missing:{hoseDocumentUrl:!I?"sourceExtendData.hosecloudViewUrl is absent from the approval run detail.":void 0}}}},{name:"seal_approval_run_pick",description:"按合思单号或关键字查询运行记录,返回候选记录及其当时使用的规则版本,便于再取详情或查版本规则",parameters:L.object({query:L.string().optional().describe("合思单号、源单据 ID、运行记录 ID 或 trace 关键字"),sn:L.string().optional().describe("合思/易快报单号;优先作为精确 sourceDocumentSN 查询"),batchId:L.string().optional().describe("模拟批次 ID"),latest:L.boolean().optional().describe("只返回最新一条匹配记录"),fields:L.union([L.string(),L.array(L.string())]).optional().describe("限制返回字段"),limit:L.number().int().positive().max(100).optional(),maxScan:L.number().int().positive().max(5000).optional().describe("最多扫描多少条运行记录用于本地匹配,默认 1000"),includeBridge:L.boolean().optional()}),handler:async($,Y)=>{let U=Y.sn??Y.query;if(!U)throw Error("query or sn is required");let z=await YS1($,{query:U,sn:Y.sn,batchId:Y.batchId,latest:Y.latest,limit:Y.latest?1:Y.limit??20,maxScan:Y.maxScan??1000}),Q=await Promise.all(z.records.map((K)=>H4($,K.id))),J=pR0(Y.fields),I=Q.map((K)=>ah1(K,J));return{query:U,sourceDocumentSN:Y.sn,simulationBatchId:Y.batchId,latest:Y.latest??!1,total:z.total,scanned:z.scanned,matched:I.length,records:I,next:{getSummary:"seal-home approval-runs get --summary",getRuleVersion:"seal-home rules version ",searchRuleVersion:`seal-home tool seal_approval_search --json '{"keywords":["关键词"],"areas":["rules"],"ruleVersionScope":"version","ruleVersionNumber":14}'`,getVersionContext:`seal-home tool seal_approval_context_get --json '{"ruleVersionNumber":14}'`},...Y.includeBridge?{bridge:HT(Q)}:{}}}},{name:"seal_simulation_batch_records_get",description:"获取某一次 Seal 模拟批次的运行记录,并整理对应 Langfuse trace/session 桥接字段",parameters:L.object({batchId:L.string().describe("simulation batch ID"),query:L.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,Y)=>{let U=Nl(await eS($,Y.batchId),Y.query);return{batchId:Y.batchId,count:U.length,records:U.map(Sz),bridge:HT(U)}}},{name:"seal_simulation_batch_create",description:"创建 Seal 模拟测试批次。支持合思指定单号(hosecloud)与材料包导入(material_pack)两种模式;其他取数模式通过 rawParams 预留透传。",parameters:L.object({mode:L.enum(["hosecloud","material_pack"]).default("hosecloud").describe("来源模式: hosecloud=合思指定单号; material_pack=材料包导入"),flowIds:L.array(L.string()).max(100).optional().describe("合思模式: 单据流水号列表"),rejectNodeName:L.string().nullable().optional().describe("仅关注特定节点: 节点名称, 不设为 null 表示不限制"),thinkingDepthOverride:L.enum(["default","medium","high"]).optional().describe("思考深度: default=按偏好设置, medium=标准, high=深度推理"),skipInvoiceGeneration:L.boolean().optional().describe("跳过发票生成, 默认 true"),skipExpenseExtraction:L.boolean().optional().describe("跳过费用提取, 默认 true"),disableAttachmentCache:L.boolean().optional().describe("不使用附件缓存, 默认 false"),signKey:L.string().optional().describe("合思集成标识; 缺省时自动取第一个合思集成"),packageIds:L.array(L.string()).optional().describe("材料包模式: 材料包 id 列表(来自 material-packages upload 响应)"),templateId:L.string().optional().describe("材料包模板 id, 例如 conference_reimbursement_v1; 缺省取 schemaConfig.id"),schemaConfig:L.record(L.string(),L.unknown()).optional().describe("材料包字段映射(确认参数), 建议使用 material-packages upload 返回的 schemaConfig"),noWait:L.boolean().optional().describe("创建后立即返回异步票据,不等待批次完成"),rawParams:L.record(L.string(),L.unknown()).optional().describe("预留: 其他取数模式(如时间范围 startTime/endTime)透传参数, 覆盖上述构建结果")}),handler:async($,Y)=>{let U=Y.mode??"hosecloud",z=Y.signKey;if(U==="hosecloud"&&!z){if(z=(await Yg($)).find((K)=>K.signKey)?.signKey,!z)throw Error("未找到合思集成 signKey, 请通过 signKey 参数提供")}let Q=uh1({mode:U,flowIds:Y.flowIds,rejectNodeName:Y.rejectNodeName,thinkingDepthOverride:Y.thinkingDepthOverride,skipInvoiceGeneration:Y.skipInvoiceGeneration,skipExpenseExtraction:Y.skipExpenseExtraction,disableAttachmentCache:Y.disableAttachmentCache,signKey:z,packageIds:Y.packageIds,templateId:Y.templateId,schemaConfig:Y.schemaConfig,rawParams:Y.rawParams}),J=U==="material_pack"?await S10($,Q):await h10($,Q);return{...J,created:!0,noWait:Y.noWait??!0,asyncTicket:J.batchId,next:{status:`seal-use simulation status ${J.batchId}`,wait:`seal-use simulation wait ${J.batchId}`,getBatch:`seal-use simulation get ${J.batchId}`,getRecords:`seal-use simulation batch-records ${J.batchId}`,listBatches:"seal-use simulation list"}}}},{name:"seal_simulation_batches_list",description:"列出 Seal 模拟测试批次摘要(含状态、统计计数与展示摘要)",parameters:L.object({limit:L.number().int().positive().max(100).optional().describe("最多返回批次数量, 默认 50")}),handler:async($,Y)=>{let U=await g10($,{limit:Y.limit??50});return{count:U.length,batches:U.map(bh1),next:{getBatch:"seal-home simulation get ",getRecords:"seal-home simulation batch-records "}}}},{name:"seal_simulation_batch_get",description:"获取某一次 Seal 模拟测试批次的详情,包含服务端回显的创建参数、展示摘要和任务统计",parameters:L.object({batchId:L.string().describe("simulation batch ID")}),handler:async($,Y)=>{return{batch:await NM($,Y.batchId),next:{getRecords:"seal-home simulation batch-records "}}}},{name:"seal_simulation_batch_status",description:"单次读取 Seal 模拟批次状态,不阻塞等待;适合根据异步票据轮询",parameters:L.object({batchId:L.string().describe("simulation batch ID")}),handler:async($,Y)=>{let U=await NM($,Y.batchId),z=String(U.status??"UNKNOWN").toUpperCase(),Q=["COMPLETED","FAILED","CANCELLED","CANCELED"].includes(z);return{batchId:Y.batchId,status:z,terminal:Q,totalCount:U.totalCount,processedCount:U.processedCount,successCount:U.successCount,failedCount:U.failedCount,createdAt:U.createdAt,updatedAt:U.updatedAt,next:Q?{getRecords:`seal-use simulation batch-records ${Y.batchId}`}:{status:`seal-use simulation status ${Y.batchId}`,wait:`seal-use simulation wait ${Y.batchId}`}}}},{name:"seal_simulation_templates_get",description:"列出 Seal 模拟测试模板(我的模板,保存常用配置快速复用)",parameters:L.object({}),handler:async($)=>{let Y=await y10($);return{count:Y.length,templates:Y.map((U)=>({id:U.id,name:U.name,description:U.description,approvalSystem:U.approvalSystem,hosecloudConfig:U.hosecloudConfig,updatedAt:U.updatedAt})),next:{createBatch:"seal-home simulation create --mode hosecloud --flow-ids ..."}}}},{name:"seal_simulation_integrations_get",description:"查询模拟测试可用的来源集成状态与合思集成选项(signKey 等)",parameters:L.object({}),handler:async($)=>{let[Y,U]=await Promise.all([$g($),Yg($)]);return{status:Y,hosecloudIntegrations:U}}},{name:"seal_simulation_material_package_upload",description:"上传材料包 ZIP 到 Seal 模拟测试;服务端解析 Excel/AI 推断配置并返回材料包 id 与 schemaConfig(字段映射确认后用于创建模拟批次)",parameters:L.object({filePath:L.string().describe("材料包 ZIP 文件路径(含 信息表.xlsx 与附件)")}),handler:async($,Y)=>{if(!Y.filePath)throw Error("filePath is required");let U=_h1(Y.filePath),z=Y.filePath.split(/[\\/]/).pop()??"material-pack.zip",Q=await b10($,{fileName:z,fileBuffer:U});return{materialPackage:Q,next:{createBatch:`seal-home simulation create --mode material_pack --package-ids ${Q.id} --schema-config schema.json`}}}},{name:"seal_webhook_ready",description:"检查当前企业的 Webhook 就绪状态看板(包括企业环境、租户身份、凭证连通性、已激活 Webhook 通道及材料包预检)",parameters:L.object({filePath:L.string().optional().describe("可选的材料包路径(ZIP 或 信息表.xlsx),用于同步做本地预检")}),handler:async($,Y,U)=>{return QT($,U.corp,{filePath:Y.filePath})}},{name:"seal_webhook_material_pack",description:"将官方材料包格式本地校验、解析并通过 Seal 入站 Webhook 触发 AI 审批;preview 模式不联网,push 模式单通道自动选择",parameters:L.object({filePath:L.string().describe("材料包 ZIP 或 信息表.xlsx 文件路径"),mode:L.enum(["preview","push"]).default("preview"),webhook:L.string().optional().describe("Webhook ID 或名称;当租户仅配置 1 个通道时可省略")}),handler:async($,Y,U)=>{let z=hz(Y.filePath);if(Y.mode!=="push")return vz(z.fileBuffer,z.fileName);let Q=await J$($),J;if(Y.webhook)J=S7(Q,Y.webhook);else if(Q.length===1)J=Q[0];else if(Q.length>1){let I=Q.map((K)=>`"${K.name}" (${K.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${I}],请通过 webhook 参数指定目标通道。`)}else throw Error("当前租户未配置任何 Webhook 集成通道。");return zT(z.fileBuffer,z.fileName,{webhookUrl:J.incomingDocumentWebhook.url,secret:J.secret,materialPackFilePolicy:J.materialPackFilePolicy,customHeaders:A6(U.corp.seal)})}},{name:"seal_approval_run_langfuse_bridge_get",description:"从 Seal approval run 中抽取 Langfuse 定位信息;优先返回 _langfuseTraceId,没有时给出 hosecloud-{sourceDocumentSN} session 回退",parameters:L.object({recordId:L.string().optional(),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),simulationBatchId:L.string().optional(),limit:L.number().int().positive().max(100).optional()}),handler:async($,Y)=>{let z=(Y.simulationBatchId?await eS($,Y.simulationBatchId):(await i4($,{limit:Y.limit??50,search:Y.sourceDocumentSN??Y.sourceDocumentId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId})).records).filter((Q)=>JS1(Q,{recordId:Y.recordId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId}));return{count:z.length,records:z.map(Sz),bridge:HT(z)}}},{name:"seal_simulation_batch_wait",description:"等待 Seal 模拟测试批次完成(轮询状态直到 completed/failed/canceled 或超时)",parameters:L.object({batchId:L.string().describe("模拟批次 ID"),timeout:L.string().default("10m").describe("最长等待时间, 默认 10m"),pollInterval:L.string().default("2s").describe("轮询间隔, 默认 2s")}),handler:async($,Y)=>{let U=nR0(Y.timeout??"10m"),z=nR0(Y.pollInterval??"2s"),Q=Date.now();while(!0){let J=await NM($,Y.batchId),I=(J.status??"").toLowerCase();if(["completed","failed","cancelled","canceled"].includes(I))return{batch:J,completed:!0,status:I,elapsedMs:Date.now()-Q,next:{getRecords:`seal-home simulation batch-records ${Y.batchId}`}};if(Date.now()-Q>=U)throw Error(`等待模拟批次 ${Y.batchId} 超时(已等待 ${(Date.now()-Q)/1000}s)。可稍后执行 seal-home simulation get ${Y.batchId} 查看状态`);await new Promise((K)=>setTimeout(K,z))}}},{name:"seal_simulation_batch_clean",description:"删除模拟测试批次产生的测试数据",parameters:L.object({batchId:L.string().describe("模拟批次 ID")}),handler:async($,Y)=>{let U=await k10($,Y.batchId);return{batchId:Y.batchId,cleaned:!0,result:U}}},{name:"seal_simulation_specifications_list",description:"列出指定合思集成可用的单据模板列表",parameters:L.object({signKey:L.string().optional().describe("合思集成 sign-key")}),handler:async($,Y)=>{let U=await x10($,Y.signKey);return{count:U.length,specifications:U}}},{name:"seal_deploy_hosecloud_requirements",description:"获取 Seal AI 审批发布到合思费控所需配置字段与说明",parameters:L.object({}),handler:async()=>{return{input:`JSON via --json '{"apiKey":"...","apiSecret":"...","mode":"assisted"}'`,questions:[{field:"apiOrigin",prompt:"使用哪一种合思版本或 API 环境?(production/custom,未指定时自动探测)",required:!1,default:"production"},{field:"customApiUrl",prompt:"自定义环境的 API 地址是什么?(如专属私有云域名)",requiredWhen:"apiOrigin=custom"},{field:"apiKey",prompt:"合思 API Key(appKey)是什么?",required:!0,secret:!0},{field:"apiSecret",prompt:"合思 API Secret(appSecurity)是什么?",required:!0,secret:!0},{field:"mode",prompt:"使用全自动、半自动还是辅助审核?(fully_automatic/semi_automatic/assisted)",required:!0,default:"assisted"},{field:"autoApprovalRate",prompt:"自动审批比例是多少?(0-100)",requiredWhen:"mode!=assisted"},{field:"rejectResubmitMethod",prompt:"驳回重提后从哪个节点继续?(node_default/to_ebot/from_start)"},{field:"autoApproveNodeNames",prompt:"哪些节点允许自动审批?(string[])"},{field:"outboundName",prompt:"合思审批流节点消息名称是什么?",default:"SealAI 审批"}]}}},{name:"seal_deploy_hosecloud_list",description:"列出当前企业【Seal AI 审批发布到合思费控】的集成配置列表",parameters:L.object({}),handler:async($)=>{let U=((await o1($)).integrations??[]).filter((z)=>z.type==="hosecloud");return{count:U.length,integrations:U.map(KT)}}},{name:"seal_deploy_hosecloud_get",description:"查询【Seal AI 审批发布到合思费控】的单项配置详情",parameters:L.object({signKey:L.string().describe("合思集成 sign-key")}),handler:async($,Y)=>{let z=((await o1($)).integrations??[]).find((Q)=>Q.type==="hosecloud"&&Q.signKey===Y.signKey);if(!z)throw Error(`未找到合思配置:${Y.signKey}`);return KT(z)}},{name:"seal_deploy_hosecloud_status",description:"检查【Seal AI 审批发布到合思费控】与多平台集成状态",parameters:L.object({}),handler:async($)=>{let Y=await $g($),z=((await o1($)).integrations??[]).filter((Q)=>Q.type==="hosecloud");return{status:Y,integrations:z.map(KT)}}},{name:"seal_deploy_hosecloud_configure",description:"自动探测平台并保存【Seal AI 审批发布到合思费控】集成配置",parameters:L.object({apiKey:L.string().describe("合思 API Key (appKey)"),apiSecret:L.string().describe("合思 API Secret (appSecurity)"),signKey:L.string().optional().describe("集成 signKey,不提供则自动生成"),outboundName:L.string().optional().describe("出站消息名称(合思审批流节点中显示)"),specificationId:L.string().optional(),specificationName:L.string().optional(),mode:L.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:L.number().min(0).max(100).optional(),rejectResubmitMethod:L.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:L.array(L.string()).optional(),apiOrigin:L.string().default("production"),customApiUrl:L.string().optional(),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{let{dryRun:z,...Q}=Y,J=Q.apiKey??Q.appKey,I=Q.apiSecret??Q.appSecurity;if(!J||!I)throw Error("缺少合思凭证:apiKey (或 appKey) 与 apiSecret (或 appSecurity) 为必填项");let K={...Q,apiKey:J,apiSecret:I},G=K.apiOrigin??"production",H=K.customApiUrl;if(!H&&G!=="custom")try{let M=await pQ(K.apiKey,K.apiSecret);if(M?.domain)if(M.domain==="https://app.ekuaibao.com")G="production",H=void 0;else G="custom",H=M.domain}catch{}if(G==="custom"&&!H)throw Error("自定义合思环境必须提供 customApiUrl");let W=await f10($,{apiKey:K.apiKey,apiSecret:K.apiSecret,apiOrigin:G,customApiUrl:H}),X=await o1($),Z=K.signKey??vh1(6).toString("hex"),q={type:"hosecloud",...K,apiOrigin:G,...H?{customApiUrl:H}:{},signKey:Z,corporationId:W.corporationId},V=(X.integrations??[]).filter((M)=>M.type!=="hosecloud"||M.signKey!==Z);V.push(q);let F={...X,integrationSystem:"hosecloud",integrations:V};if(z)return R9(U,U.corp.seal.endpoints.approvalStylePreferences,X,F,1);return await m5($,F,U.corp.seal.endpoints.approvalStylePreferences),console.error(`✓ 配置已保存 (signKey: ${Z})`),console.error(`\uD83D\uDC49 Next action: seal-use deploy hosecloud sync ${Z} --corp ${U.corp.id}`),{integration:KT(q)}}},{name:"seal_deploy_hosecloud_sync",description:"一键将 Seal AI 审核配置同步发布到合思费控审批流",parameters:L.object({signKey:L.string().describe("合思集成 sign-key")}),handler:async($,Y,U)=>{let Q=((await o1($)).integrations??[]).find((G)=>G.type==="hosecloud"&&G.signKey===Y.signKey);if(!Q)throw Error(`未找到合思配置:${Y.signKey}`);let J=(U.corp.seal.url??`https://${U.corp.id.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),I=Q.outboundName??"SealAI 审批",K=await u10($,{signKey:Y.signKey,webhookUrl:`${J}/api/hosecloud/outbound?config_id=${encodeURIComponent(Y.signKey)}`,completionWebhookUrl:`${J}/api/hosecloud/flow/completion?config_id=${encodeURIComponent(Y.signKey)}`,messageName:I,mode:Q.mode??"assisted"});return console.error(`✓ 同步成功!出站消息已在合思开放平台创建/更新: "${I}"`),console.error(`\uD83D\uDC49 发布完成:请登录合思后台在审批流中添加【EBot】节点并选择 "${I}"。`),{signKey:Y.signKey,synced:!0,result:K}}},{name:"seal_preference_get",description:"获取当前决策偏好、思考深度偏好与绑定的规则版本",parameters:L.object({}),handler:async($)=>{let Y=await o1($);return{decisionPreferences:Y.decisionPreferences,thinkingDepthPreference:Y.thinkingDepthPreference,ruleSetVersionId:Y.ruleSetVersionId}}},{name:"seal_preference_decision_update",description:"修改审核决策偏好(立即影响当前运行中的审核智能体及后续决策)",parameters:L.object({explicitApprove:L.string().optional(),explicitReject:L.string().optional(),exemptApprove:L.string().optional(),review:L.string().optional(),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{let z=await o1($,U.corp.seal.endpoints.approvalStylePreferences),{dryRun:Q,...J}=Y,I={...z,decisionPreferences:{...z.decisionPreferences,...J}};if(Q)return R9(U,U.corp.seal.endpoints.approvalStylePreferences,z,I,1);return await m5($,I,U.corp.seal.endpoints.approvalStylePreferences),{decisionPreferences:I.decisionPreferences}}},{name:"seal_preference_thinking_depth_set",description:"修改默认思考深度(medium 或 high)",parameters:L.object({defaultLevel:L.enum(["medium","high"]).describe("默认思考深度"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{let z=await o1($,U.corp.seal.endpoints.approvalStylePreferences),Q={...z,thinkingDepthPreference:{defaultLevel:Y.defaultLevel,routingPolicies:z.thinkingDepthPreference?.routingPolicies??[]}};if(Y.dryRun)return R9(U,U.corp.seal.endpoints.approvalStylePreferences,z,Q,1);return await m5($,Q,U.corp.seal.endpoints.approvalStylePreferences),{thinkingDepthPreference:Q.thinkingDepthPreference}}},{name:"seal_preference_thinking_depth_policies_list",description:"列出思考深度路由策略列表",parameters:L.object({}),handler:async($)=>{return{policies:(await o1($)).thinkingDepthPreference?.routingPolicies??[]}}},{name:"seal_preference_thinking_depth_policies_upsert",description:"新增或修改思考深度路由策略",parameters:oS.extend({dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{let z=await o1($,U.corp.seal.endpoints.approvalStylePreferences),{dryRun:Q,...J}=Y,K=(z.thinkingDepthPreference?.routingPolicies??[]).filter((H)=>H.id!==J.id);K.push(J);let G={...z,thinkingDepthPreference:{defaultLevel:z.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:K}};if(Q)return R9(U,U.corp.seal.endpoints.approvalStylePreferences,z,G,1);return await m5($,G,U.corp.seal.endpoints.approvalStylePreferences),{policy:J,policies:K}}},{name:"seal_preference_thinking_depth_policies_remove",description:"删除一条思考深度路由策略",parameters:L.object({policyId:L.string().describe("路由策略 ID"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{let z=await o1($,U.corp.seal.endpoints.approvalStylePreferences),Q=z.thinkingDepthPreference?.routingPolicies??[],J=Q.filter((K)=>K.id!==Y.policyId);if(J.length===Q.length)throw Error(`未找到路由策略:${Y.policyId}`);let I={...z,thinkingDepthPreference:{defaultLevel:z.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:J}};if(Y.dryRun)return R9(U,U.corp.seal.endpoints.approvalStylePreferences,z,I,1);return await m5($,I,U.corp.seal.endpoints.approvalStylePreferences),{removedId:Y.policyId,policies:J}}},{name:"seal_approval_runs_stats",description:"统计审核记录状态分布、来源系统分布及按单号/ID去重统计",parameters:L.object({since:L.string().optional().describe("时间范围,如 3months, 7days, 24hours"),dedupeBy:L.enum(["sourceDocumentSN","sourceDocumentId","id"]).default("sourceDocumentSN").describe("去重字段"),status:L.string().optional(),sourceSystem:L.string().optional(),taskMode:L.string().optional()}),handler:async($,Y)=>{let U=await i4($,{limit:1000,status:Y.status,sourceSystem:Y.sourceSystem,taskMode:Y.taskMode}),z=Y.dedupeBy??"sourceDocumentSN",Q=U.records,J={},I={},K=new Set;for(let G of Q){let H=G.status??"unknown";J[H]=(J[H]??0)+1;let W=G.sourceSystem??"unknown";I[W]=(I[W]??0)+1;let X=G[z];if(X)K.add(String(X))}return{total:Q.length,dedupeBy:z,unique:K.size,byStatus:J,bySourceSystem:I}}},{name:"seal_approval_runs_count",description:"统计符合条件的审核记录总数",parameters:L.object({status:L.string().optional(),sourceSystem:L.string().optional(),taskMode:L.string().optional(),search:L.string().optional(),startDate:L.string().optional().describe("起始时间戳(毫秒)或日期字符串"),endDate:L.string().optional().describe("结束时间戳(毫秒)或日期字符串")}),handler:async($,Y)=>{let U=await i4($,{limit:1,status:Y.status,sourceSystem:Y.sourceSystem,taskMode:Y.taskMode,search:Y.search,startDate:x2(Y.startDate,!1),endDate:x2(Y.endDate,!0)});return{total:U.total??U.records.length}}}],hh1=new Set(["seal_approval_context_get","seal_approval_document_get","seal_approval_documents_list","seal_approval_rule_get","seal_approval_rule_version_get","seal_approval_rule_versions_list","seal_approval_rules_lint","seal_approval_rules_list","seal_approval_rules_pull","seal_approval_run_attachments_get","seal_approval_run_cited_rules_get","seal_approval_run_document_summary_get","seal_approval_run_flow_get","seal_approval_run_get","seal_approval_run_langfuse_bridge_get","seal_approval_run_pick","seal_approval_run_result_get","seal_approval_run_url_get","seal_approval_runs_count","seal_approval_runs_export","seal_approval_runs_search","seal_approval_runs_stats","seal_approval_runs_summary","seal_approval_search","seal_approval_style_preferences_get","seal_billing_features_list","seal_billing_plans_list","seal_billing_status_get","seal_contacts_department_children_list","seal_contacts_department_get","seal_contacts_department_users_list","seal_contacts_departments_root_list","seal_contacts_last_sync_time_get","seal_delegation_list","seal_deploy_hosecloud_get","seal_deploy_hosecloud_list","seal_deploy_hosecloud_requirements","seal_deploy_hosecloud_status","seal_expenses_list","seal_insight_export","seal_insight_performance_get","seal_insight_risks_by_tag_get","seal_insight_stats_get","seal_invoices_list","seal_llm_config_get","seal_llm_providers_list","seal_permissions_available_list","seal_permissions_configs_list","seal_preference_get","seal_preference_thinking_depth_policies_list","seal_session_get","seal_simulation_batch_get","seal_simulation_batch_records_get","seal_simulation_batch_status","seal_simulation_batch_wait","seal_simulation_batches_list","seal_simulation_feishu_approval_definitions_list","seal_simulation_integrations_get","seal_simulation_specifications_list","seal_simulation_templates_get","seal_user_get","seal_user_search","seal_webhook_get","seal_webhook_list","seal_webhook_ready","seal_whoami"]);Sh1=new Map(Lq.map(($)=>[$.name,$]))});var H_0={};x8(H_0,{webhookShowSecretOption:()=>MT,webhookRateOption:()=>wT,stringOption:()=>h,splitOption:()=>u6,safeFileName:()=>LT,ruleVersionSearchOptions:()=>Bl,ruleVersionGetOptions:()=>Tl,ruleVersionContextOptions:()=>Pl,requiredStringAlias:()=>IS1,requiredString:()=>m3,parseWebhookMode:()=>FT,parseStateMode:()=>Al,parseRuleVersionSelector:()=>SK,parseArgs:()=>Mq,optionalString:()=>X4,optionalNumber:()=>Dl,numberOption:()=>s0,materialPackFilePolicyOptions:()=>gK,jsonObject:()=>y8,inferCorpIdFromStaffId:()=>KS1,booleanOption:()=>Z0});function Mq($){let Y=[],U={},z;for(let Q=0;Q<$.length;Q+=1){let J=$[Q];if(!J)continue;if(J==="--json"){let I=$[Q+1];if(!I)throw m4("--json requires a JSON object argument");try{z=JSON.parse(I)}catch(K){throw m4(`Invalid JSON: ${K instanceof Error?K.message:String(K)}`)}Q+=1;continue}if(J.startsWith("-")){let I=J.replace(/^-+/,"");if(I.includes("=")){let G=I.indexOf("="),H=I.slice(0,G),W=I.slice(G+1);U[H]=W;continue}let K=$[Q+1];if(!K||K.startsWith("-"))U[I]=!0;else U[I]=K,Q+=1;continue}Y.push(J)}return{command:Y,options:U,json:z}}function y8($){if($===void 0)return{};if(!$||typeof $!=="object"||Array.isArray($))throw m4("--json must be an object");return $}function h($){return typeof $==="string"?$:void 0}function s0($){if(typeof $!=="string")return;let Y=Number($);if(!Number.isFinite(Y))throw m4(`Invalid number: ${$}`);return Y}function u6($){if(typeof $!=="string")return;let Y=$.split(",").map((U)=>U.trim()).filter(Boolean);return Y.length?Y:void 0}function Z0($){if($===void 0)return;if(typeof $==="boolean")return $;if($==="true")return!0;if($==="false")return!1;throw m4(`Invalid boolean: ${$}`)}function m3($,Y){let U=X4($,Y);if(!U)throw Error(`Missing required JSON field: ${Y}`);return U}function IS1($,Y){for(let U of Y){let z=X4($,U);if(z)return z}throw Error(`Missing required JSON field: ${Y.join(" or ")}`)}function X4($,Y){let U=$[Y];return typeof U==="string"&&U.trim()?U.trim():void 0}function Dl($,Y){let U=$[Y];return typeof U==="number"&&Number.isFinite(U)?U:void 0}function KS1($){let[Y]=$.split(":",1);return Y||void 0}function LT($){return $.replace(/[^a-zA-Z0-9._-]/g,"_")}function Al($){let Y=$.trim().toLowerCase();if(["stateful","state","有状态"].includes(Y))return!0;if(["stateless","无状态"].includes(Y))return!1;throw Error("Invalid config mode. Use stateful or stateless.")}function SK($){if($==="latest")return{latest:!0};let Y=Number($);if(Number.isInteger(Y)&&Y>0)return{versionNumber:Y};return{versionId:$}}function Bl($){if(!$)return{};let Y=SK($);if("latest"in Y)return{ruleVersionScope:"version",latestRuleVersion:!0};if("versionNumber"in Y)return{ruleVersionScope:"version",ruleVersionNumber:Y.versionNumber};return{ruleVersionScope:"version",ruleVersionId:Y.versionId}}function Pl($){if(!$)return{};let Y=SK($);if("latest"in Y)return{latestRuleVersion:!0};if("versionNumber"in Y)return{ruleVersionNumber:Y.versionNumber};return{ruleVersionId:Y.versionId}}function Tl($){if(!$)return{};let Y=SK($);if("latest"in Y)return{latest:!0};if("versionNumber"in Y)return{versionNumber:Y.versionNumber};return{versionId:Y.versionId}}function FT($){if(!$)return;let Y=$.trim().toLowerCase().replace(/[\s-]+/g,"_"),z={assisted:"assisted",辅助:"assisted",semi_automatic:"semi_automatic",半自动:"semi_automatic",fully_automatic:"fully_automatic",全自动:"fully_automatic"}[Y];if(!z)throw Error("Invalid Webhook mode. Use assisted, semi_automatic, or fully_automatic");return z}function wT($){let Y=s0($.autoApprovalRate??$["auto-approval-rate"]??$["approval-rate"]);if(Y!==void 0&&(!Number.isInteger(Y)||Y<0||Y>100))throw Error("Webhook auto approval rate must be an integer between 0 and 100");return Y}function MT($){return Z0($.showSecret)??Z0($["show-secret"])}function gK($){let Y=Z0($.clearMaxFileSize??$["clear-max-file-size"])===!0,U=s0($.minFileSizeBytes??$["min-file-size-bytes"]??$.minFileSize??$["min-file-size"]),z=s0($.maxFileSizeBytes??$["max-file-size-bytes"]??$.maxFileSize??$["max-file-size"]),Q=u6($.allowedExtensions??$["allowed-extensions"]??$.extensions);if(U===void 0&&z===void 0&&Q===void 0&&!Y)return;return{minFileSizeBytes:U,maxFileSizeBytes:Y?null:z,allowedExtensions:Q}}var D4=m(()=>{L$()});function Z_0($){let Y=Boolean($.options.help||$.options.h);if(!$.command.length)return{isHelp:!0,target:[]};if($.command[0]==="help")return{isHelp:!0,target:$.command.slice(1)};let U=$.command.indexOf("help");if(U!==-1)return{isHelp:!0,target:$.command.filter((Q,J)=>J!==U)};if(Y)return{isHelp:!0,target:[...$.command]};return{isHelp:!1,target:[]}}function q_0($=[]){if(!$.length)return W_0();let Y=$[0];if(!Y)return W_0();let U=$.slice(1),z=GS1(Y),Q=X_0.find((K)=>K.area===z);if(!Q)throw m4(`Unknown command: ${$.join(" ")}. Run 'seal-use help' for available commands.`);if(!U.length)return XS1(Q);let J=U.join(" ").toLowerCase(),I=HS1(Q,J,U);if(!I)throw m4(`Unknown ${Q.area} command: ${U.join(" ")}. Run 'seal-use ${Q.area} --help' for available commands.`);return WS1(Q,I)}function GS1($){let Y=$.toLowerCase();if(Y==="corp")return"corps";if(Y==="webhooks")return"webhook";if(Y==="preferences")return"preference";if(Y==="changelog")return"update";if(Y==="serve")return"http";if(Y==="mcp-config")return"mcp";if(Y==="server")return"mcp";return Y}function HS1($,Y,U){let z=$.commands.find((I)=>{if(!I.name)return!1;if(I.name.toLowerCase()===Y)return!0;if(I.aliases?.some((K)=>K.toLowerCase()===Y))return!0;return!1});if(z)return z;let Q=U[0]?.toLowerCase();if(!Q)return;return $.commands.find((I)=>{if(!I.name)return!1;if(I.name.toLowerCase()===Q)return!0;if(I.aliases?.some((K)=>K.toLowerCase()===Q))return!0;return!1})}function WS1($,Y){let U=[],z=Y.name?`seal-use ${$.area} ${Y.name}`:`seal-use ${$.area}`,Q=Y.summary?`${z} - ${Y.summary}`:z;U.push(Q),U.push(""),U.push("Usage:");for(let J of Y.usage)U.push(` ${J}`);if(Y.options&&Y.options.length>0){U.push(""),U.push("Options:");let J=Math.max(...Y.options.map((I)=>I.flag.length));for(let I of Y.options)U.push(` ${I.flag.padEnd(J+2)} ${I.description}`)}if(Y.description)U.push(""),U.push("Description:"),U.push(` ${Y.description}`);return U.join(` +`+"• 安全边界:该凭证绝不包含且无法访问合思 (Hose) 主系统;仅限内部排查,严禁在外部公开分享!")}return{url:W?I:Z?V:G,type:X,mode:Z?"auto_login":"direct",sealResultUrl:G,hoseDocumentUrl:I,documentUrl:I,ssoUrl:V,expiresIn:Z?q:void 0,identity:F,warning:M,hoseDomain:J.type==="hose"?$S1(J.domain):void 0,recordId:Q.id,sourceDocumentSN:Q.sourceDocumentSN,sourceDocumentId:Q.sourceDocumentId,sourceSystem:Q.sourceSystem,missing:{hoseDocumentUrl:!I?"sourceExtendData.hosecloudViewUrl is absent from the approval run detail.":void 0}}}},{name:"seal_approval_run_pick",description:"按合思单号或关键字查询运行记录,返回候选记录及其当时使用的规则版本,便于再取详情或查版本规则",parameters:L.object({query:L.string().optional().describe("合思单号、源单据 ID、运行记录 ID 或 trace 关键字"),sn:L.string().optional().describe("合思/易快报单号;优先作为精确 sourceDocumentSN 查询"),batchId:L.string().optional().describe("模拟批次 ID"),latest:L.boolean().optional().describe("只返回最新一条匹配记录"),fields:L.union([L.string(),L.array(L.string())]).optional().describe("限制返回字段"),limit:L.number().int().positive().max(100).optional(),maxScan:L.number().int().positive().max(5000).optional().describe("最多扫描多少条运行记录用于本地匹配,默认 1000"),includeBridge:L.boolean().optional()}),handler:async($,Y)=>{let U=Y.sn??Y.query;if(!U)throw Error("query or sn is required");let z=await YS1($,{query:U,sn:Y.sn,batchId:Y.batchId,latest:Y.latest,limit:Y.latest?1:Y.limit??20,maxScan:Y.maxScan??1000}),Q=await Promise.all(z.records.map((K)=>H4($,K.id))),J=pR0(Y.fields),I=Q.map((K)=>ah1(K,J));return{query:U,sourceDocumentSN:Y.sn,simulationBatchId:Y.batchId,latest:Y.latest??!1,total:z.total,scanned:z.scanned,matched:I.length,records:I,next:{getSummary:"seal-home approval-runs get --summary",getRuleVersion:"seal-home rules version ",searchRuleVersion:`seal-home tool seal_approval_search --json '{"keywords":["关键词"],"areas":["rules"],"ruleVersionScope":"version","ruleVersionNumber":14}'`,getVersionContext:`seal-home tool seal_approval_context_get --json '{"ruleVersionNumber":14}'`},...Y.includeBridge?{bridge:HT(Q)}:{}}}},{name:"seal_simulation_batch_records_get",description:"获取某一次 Seal 模拟批次的运行记录,并整理对应 Langfuse trace/session 桥接字段",parameters:L.object({batchId:L.string().describe("simulation batch ID"),query:L.string().optional().describe("在 id、sourceDocumentSN、sourceDocumentId、documentId、Langfuse traceId 中做本地包含匹配")}),handler:async($,Y)=>{let U=Nl(await eS($,Y.batchId),Y.query);return{batchId:Y.batchId,count:U.length,records:U.map(Sz),bridge:HT(U)}}},{name:"seal_simulation_batch_create",description:"创建 Seal 模拟测试批次。支持合思指定单号(hosecloud)与材料包导入(material_pack)两种模式;其他取数模式通过 rawParams 预留透传。",parameters:L.object({mode:L.enum(["hosecloud","material_pack"]).default("hosecloud").describe("来源模式: hosecloud=合思指定单号; material_pack=材料包导入"),flowIds:L.array(L.string()).max(100).optional().describe("合思模式: 单据流水号列表"),rejectNodeName:L.string().nullable().optional().describe("仅关注特定节点: 节点名称, 不设为 null 表示不限制"),thinkingDepthOverride:L.enum(["default","medium","high"]).optional().describe("思考深度: default=按偏好设置, medium=标准, high=深度推理"),skipInvoiceGeneration:L.boolean().optional().describe("跳过发票生成, 默认 true"),skipExpenseExtraction:L.boolean().optional().describe("跳过费用提取, 默认 true"),disableAttachmentCache:L.boolean().optional().describe("不使用附件缓存, 默认 false"),signKey:L.string().optional().describe("合思集成标识; 缺省时自动取第一个合思集成"),packageIds:L.array(L.string()).optional().describe("材料包模式: 材料包 id 列表(来自 material-packages upload 响应)"),templateId:L.string().optional().describe("材料包模板 id, 例如 conference_reimbursement_v1; 缺省取 schemaConfig.id"),schemaConfig:L.record(L.string(),L.unknown()).optional().describe("材料包字段映射(确认参数), 建议使用 material-packages upload 返回的 schemaConfig"),noWait:L.boolean().optional().describe("创建后立即返回异步票据,不等待批次完成"),rawParams:L.record(L.string(),L.unknown()).optional().describe("预留: 其他取数模式(如时间范围 startTime/endTime)透传参数, 覆盖上述构建结果")}),handler:async($,Y)=>{let U=Y.mode??"hosecloud",z=Y.signKey;if(U==="hosecloud"&&!z){if(z=(await Yg($)).find((K)=>K.signKey)?.signKey,!z)throw Error("未找到合思集成 signKey, 请通过 signKey 参数提供")}let Q=uh1({mode:U,flowIds:Y.flowIds,rejectNodeName:Y.rejectNodeName,thinkingDepthOverride:Y.thinkingDepthOverride,skipInvoiceGeneration:Y.skipInvoiceGeneration,skipExpenseExtraction:Y.skipExpenseExtraction,disableAttachmentCache:Y.disableAttachmentCache,signKey:z,packageIds:Y.packageIds,templateId:Y.templateId,schemaConfig:Y.schemaConfig,rawParams:Y.rawParams}),J=U==="material_pack"?await S10($,Q):await h10($,Q);return{...J,created:!0,noWait:Y.noWait??!0,asyncTicket:J.batchId,next:{status:`seal-use simulation status ${J.batchId}`,wait:`seal-use simulation wait ${J.batchId}`,getBatch:`seal-use simulation get ${J.batchId}`,getRecords:`seal-use simulation batch-records ${J.batchId}`,listBatches:"seal-use simulation list"}}}},{name:"seal_simulation_batches_list",description:"列出 Seal 模拟测试批次摘要(含状态、统计计数与展示摘要)",parameters:L.object({limit:L.number().int().positive().max(100).optional().describe("最多返回批次数量, 默认 50")}),handler:async($,Y)=>{let U=await g10($,{limit:Y.limit??50});return{count:U.length,batches:U.map(bh1),next:{getBatch:"seal-home simulation get ",getRecords:"seal-home simulation batch-records "}}}},{name:"seal_simulation_batch_get",description:"获取某一次 Seal 模拟测试批次的详情,包含服务端回显的创建参数、展示摘要和任务统计",parameters:L.object({batchId:L.string().describe("simulation batch ID")}),handler:async($,Y)=>{return{batch:await NM($,Y.batchId),next:{getRecords:"seal-home simulation batch-records "}}}},{name:"seal_simulation_batch_status",description:"单次读取 Seal 模拟批次状态,不阻塞等待;适合根据异步票据轮询",parameters:L.object({batchId:L.string().describe("simulation batch ID")}),handler:async($,Y)=>{let U=await NM($,Y.batchId),z=String(U.status??"UNKNOWN").toUpperCase(),Q=["COMPLETED","FAILED","CANCELLED","CANCELED"].includes(z);return{batchId:Y.batchId,status:z,terminal:Q,totalCount:U.totalCount,processedCount:U.processedCount,successCount:U.successCount,failedCount:U.failedCount,createdAt:U.createdAt,updatedAt:U.updatedAt,next:Q?{getRecords:`seal-use simulation batch-records ${Y.batchId}`}:{status:`seal-use simulation status ${Y.batchId}`,wait:`seal-use simulation wait ${Y.batchId}`}}}},{name:"seal_simulation_templates_get",description:"列出 Seal 模拟测试模板(我的模板,保存常用配置快速复用)",parameters:L.object({}),handler:async($)=>{let Y=await y10($);return{count:Y.length,templates:Y.map((U)=>({id:U.id,name:U.name,description:U.description,approvalSystem:U.approvalSystem,hosecloudConfig:U.hosecloudConfig,updatedAt:U.updatedAt})),next:{createBatch:"seal-home simulation create --mode hosecloud --flow-ids ..."}}}},{name:"seal_simulation_integrations_get",description:"查询模拟测试可用的来源集成状态与合思集成选项(signKey 等)",parameters:L.object({}),handler:async($)=>{let[Y,U]=await Promise.all([$g($),Yg($)]);return{status:Y,hosecloudIntegrations:U}}},{name:"seal_simulation_material_package_upload",description:"上传材料包 ZIP 到 Seal 模拟测试;服务端解析 Excel/AI 推断配置并返回材料包 id 与 schemaConfig(字段映射确认后用于创建模拟批次)",parameters:L.object({filePath:L.string().describe("材料包 ZIP 文件路径(含 信息表.xlsx 与附件)")}),handler:async($,Y)=>{if(!Y.filePath)throw Error("filePath is required");let U=_h1(Y.filePath),z=Y.filePath.split(/[\\/]/).pop()??"material-pack.zip",Q=await b10($,{fileName:z,fileBuffer:U});return{materialPackage:Q,next:{createBatch:`seal-home simulation create --mode material_pack --package-ids ${Q.id} --schema-config schema.json`}}}},{name:"seal_webhook_ready",description:"检查当前企业的 Webhook 就绪状态看板(包括企业环境、租户身份、凭证连通性、已激活 Webhook 通道及材料包预检)",parameters:L.object({filePath:L.string().optional().describe("可选的材料包路径(ZIP 或 信息表.xlsx),用于同步做本地预检")}),handler:async($,Y,U)=>{return QT($,U.corp,{filePath:Y.filePath})}},{name:"seal_webhook_material_pack",description:"将官方材料包格式本地校验、解析并通过 Seal 入站 Webhook 触发 AI 审批;preview 模式不联网,push 模式单通道自动选择",parameters:L.object({filePath:L.string().describe("材料包 ZIP 或 信息表.xlsx 文件路径"),mode:L.enum(["preview","push"]).default("preview"),webhook:L.string().optional().describe("Webhook ID 或名称;当租户仅配置 1 个通道时可省略")}),handler:async($,Y,U)=>{let z=hz(Y.filePath);if(Y.mode!=="push")return vz(z.fileBuffer,z.fileName);let Q=await J$($),J;if(Y.webhook)J=S7(Q,Y.webhook);else if(Q.length===1)J=Q[0];else if(Q.length>1){let I=Q.map((K)=>`"${K.name}" (${K.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${I}],请通过 webhook 参数指定目标通道。`)}else throw Error("当前租户未配置任何 Webhook 集成通道。");return zT(z.fileBuffer,z.fileName,{webhookUrl:J.incomingDocumentWebhook.url,secret:J.secret,materialPackFilePolicy:J.materialPackFilePolicy,customHeaders:A6(U.corp.seal)})}},{name:"seal_approval_run_langfuse_bridge_get",description:"从 Seal approval run 中抽取 Langfuse 定位信息;优先返回 _langfuseTraceId,没有时给出 hosecloud-{sourceDocumentSN} session 回退",parameters:L.object({recordId:L.string().optional(),sourceDocumentSN:L.string().optional(),sourceDocumentId:L.string().optional(),simulationBatchId:L.string().optional(),limit:L.number().int().positive().max(100).optional()}),handler:async($,Y)=>{let z=(Y.simulationBatchId?await eS($,Y.simulationBatchId):(await i4($,{limit:Y.limit??50,search:Y.sourceDocumentSN??Y.sourceDocumentId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId})).records).filter((Q)=>JS1(Q,{recordId:Y.recordId,sourceDocumentSN:Y.sourceDocumentSN,sourceDocumentId:Y.sourceDocumentId}));return{count:z.length,records:z.map(Sz),bridge:HT(z)}}},{name:"seal_simulation_batch_wait",description:"等待 Seal 模拟测试批次完成(轮询状态直到 completed/failed/canceled 或超时)",parameters:L.object({batchId:L.string().describe("模拟批次 ID"),timeout:L.string().default("10m").describe("最长等待时间, 默认 10m"),pollInterval:L.string().default("2s").describe("轮询间隔, 默认 2s")}),handler:async($,Y)=>{let U=nR0(Y.timeout??"10m"),z=nR0(Y.pollInterval??"2s"),Q=Date.now();while(!0){let J=await NM($,Y.batchId),I=(J.status??"").toLowerCase();if(["completed","failed","cancelled","canceled"].includes(I))return{batch:J,completed:!0,status:I,elapsedMs:Date.now()-Q,next:{getRecords:`seal-home simulation batch-records ${Y.batchId}`}};if(Date.now()-Q>=U)throw Error(`等待模拟批次 ${Y.batchId} 超时(已等待 ${(Date.now()-Q)/1000}s)。可稍后执行 seal-home simulation get ${Y.batchId} 查看状态`);await new Promise((K)=>setTimeout(K,z))}}},{name:"seal_simulation_batch_clean",description:"删除模拟测试批次产生的测试数据",parameters:L.object({batchId:L.string().describe("模拟批次 ID")}),handler:async($,Y)=>{let U=await k10($,Y.batchId);return{batchId:Y.batchId,cleaned:!0,result:U}}},{name:"seal_simulation_specifications_list",description:"列出指定合思集成可用的单据模板列表",parameters:L.object({signKey:L.string().optional().describe("合思集成 sign-key")}),handler:async($,Y)=>{let U=await x10($,Y.signKey);return{count:U.length,specifications:U}}},{name:"seal_deploy_hosecloud_requirements",description:"获取 Seal AI 审批发布到合思费控所需配置字段与说明",parameters:L.object({}),handler:async()=>{return{input:`JSON via --json '{"apiKey":"...","apiSecret":"...","mode":"assisted"}'`,questions:[{field:"apiOrigin",prompt:"使用哪一种合思版本或 API 环境?(production/custom,未指定时自动探测)",required:!1,default:"production"},{field:"customApiUrl",prompt:"自定义环境的 API 地址是什么?(如专属私有云域名)",requiredWhen:"apiOrigin=custom"},{field:"apiKey",prompt:"合思 API Key(appKey)是什么?",required:!0,secret:!0},{field:"apiSecret",prompt:"合思 API Secret(appSecurity)是什么?",required:!0,secret:!0},{field:"mode",prompt:"使用全自动、半自动还是辅助审核?(fully_automatic/semi_automatic/assisted)",required:!0,default:"assisted"},{field:"autoApprovalRate",prompt:"自动审批比例是多少?(0-100)",requiredWhen:"mode!=assisted"},{field:"rejectResubmitMethod",prompt:"驳回重提后从哪个节点继续?(node_default/to_ebot/from_start)"},{field:"autoApproveNodeNames",prompt:"哪些节点允许自动审批?(string[])"},{field:"outboundName",prompt:"合思审批流节点消息名称是什么?",default:"SealAI 审批"}]}}},{name:"seal_deploy_hosecloud_list",description:"列出当前企业【Seal AI 审批发布到合思费控】的集成配置列表",parameters:L.object({}),handler:async($)=>{let U=((await o1($)).integrations??[]).filter((z)=>z.type==="hosecloud");return{count:U.length,integrations:U.map(KT)}}},{name:"seal_deploy_hosecloud_get",description:"查询【Seal AI 审批发布到合思费控】的单项配置详情",parameters:L.object({signKey:L.string().describe("合思集成 sign-key")}),handler:async($,Y)=>{let z=((await o1($)).integrations??[]).find((Q)=>Q.type==="hosecloud"&&Q.signKey===Y.signKey);if(!z)throw Error(`未找到合思配置:${Y.signKey}`);return KT(z)}},{name:"seal_deploy_hosecloud_status",description:"检查【Seal AI 审批发布到合思费控】与多平台集成状态",parameters:L.object({}),handler:async($)=>{let Y=await $g($),z=((await o1($)).integrations??[]).filter((Q)=>Q.type==="hosecloud");return{status:Y,integrations:z.map(KT)}}},{name:"seal_deploy_hosecloud_configure",description:"自动探测平台并保存【Seal AI 审批发布到合思费控】集成配置",parameters:L.object({apiKey:L.string().describe("合思 API Key (appKey)"),apiSecret:L.string().describe("合思 API Secret (appSecurity)"),signKey:L.string().optional().describe("集成 signKey,不提供则自动生成"),outboundName:L.string().optional().describe("出站消息名称(合思审批流节点中显示)"),specificationId:L.string().optional(),specificationName:L.string().optional(),mode:L.enum(["fully_automatic","semi_automatic","assisted"]).default("assisted"),autoApprovalRate:L.number().min(0).max(100).optional(),rejectResubmitMethod:L.enum(["node_default","to_ebot","from_start"]).optional(),autoApproveNodeNames:L.array(L.string()).optional(),apiOrigin:L.string().default("production"),customApiUrl:L.string().optional(),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{let{dryRun:z,...Q}=Y,J=Q.apiKey??Q.appKey,I=Q.apiSecret??Q.appSecurity;if(!J||!I)throw Error("缺少合思凭证:apiKey (或 appKey) 与 apiSecret (或 appSecurity) 为必填项");let K={...Q,apiKey:J,apiSecret:I},G=K.apiOrigin??"production",H=K.customApiUrl;if(!H&&G!=="custom")try{let M=await pQ(K.apiKey,K.apiSecret);if(M?.domain)if(M.domain==="https://app.ekuaibao.com")G="production",H=void 0;else G="custom",H=M.domain}catch{}if(G==="custom"&&!H)throw Error("自定义合思环境必须提供 customApiUrl");let W=await f10($,{apiKey:K.apiKey,apiSecret:K.apiSecret,apiOrigin:G,customApiUrl:H}),X=await o1($),Z=K.signKey??vh1(6).toString("hex"),q={type:"hosecloud",...K,apiOrigin:G,...H?{customApiUrl:H}:{},signKey:Z,corporationId:W.corporationId},V=(X.integrations??[]).filter((M)=>M.type!=="hosecloud"||M.signKey!==Z);V.push(q);let F={...X,integrationSystem:"hosecloud",integrations:V};if(z)return _9(U,U.corp.seal.endpoints.approvalStylePreferences,X,F,1);return await l5($,F,U.corp.seal.endpoints.approvalStylePreferences),console.error(`✓ 配置已保存 (signKey: ${Z})`),console.error(`\uD83D\uDC49 Next action: seal-use deploy hosecloud sync ${Z} --corp ${U.corp.id}`),{integration:KT(q)}}},{name:"seal_deploy_hosecloud_sync",description:"一键将 Seal AI 审核配置同步发布到合思费控审批流",parameters:L.object({signKey:L.string().describe("合思集成 sign-key")}),handler:async($,Y,U)=>{let Q=((await o1($)).integrations??[]).find((G)=>G.type==="hosecloud"&&G.signKey===Y.signKey);if(!Q)throw Error(`未找到合思配置:${Y.signKey}`);let J=(U.corp.seal.url??`https://${U.corp.id.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),I=Q.outboundName??"SealAI 审批",K=await u10($,{signKey:Y.signKey,webhookUrl:`${J}/api/hosecloud/outbound?config_id=${encodeURIComponent(Y.signKey)}`,completionWebhookUrl:`${J}/api/hosecloud/flow/completion?config_id=${encodeURIComponent(Y.signKey)}`,messageName:I,mode:Q.mode??"assisted"});return console.error(`✓ 同步成功!出站消息已在合思开放平台创建/更新: "${I}"`),console.error(`\uD83D\uDC49 发布完成:请登录合思后台在审批流中添加【EBot】节点并选择 "${I}"。`),{signKey:Y.signKey,synced:!0,result:K}}},{name:"seal_preference_get",description:"获取当前决策偏好、思考深度偏好与绑定的规则版本",parameters:L.object({}),handler:async($)=>{let Y=await o1($);return{decisionPreferences:Y.decisionPreferences,thinkingDepthPreference:Y.thinkingDepthPreference,ruleSetVersionId:Y.ruleSetVersionId}}},{name:"seal_preference_decision_update",description:"修改审核决策偏好(立即影响当前运行中的审核智能体及后续决策)",parameters:L.object({explicitApprove:L.string().optional(),explicitReject:L.string().optional(),exemptApprove:L.string().optional(),review:L.string().optional(),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{let z=await o1($,U.corp.seal.endpoints.approvalStylePreferences),{dryRun:Q,...J}=Y,I={...z,decisionPreferences:{...z.decisionPreferences,...J}};if(Q)return _9(U,U.corp.seal.endpoints.approvalStylePreferences,z,I,1);return await l5($,I,U.corp.seal.endpoints.approvalStylePreferences),{decisionPreferences:I.decisionPreferences}}},{name:"seal_preference_thinking_depth_set",description:"修改默认思考深度(medium 或 high)",parameters:L.object({defaultLevel:L.enum(["medium","high"]).describe("默认思考深度"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{let z=await o1($,U.corp.seal.endpoints.approvalStylePreferences),Q={...z,thinkingDepthPreference:{defaultLevel:Y.defaultLevel,routingPolicies:z.thinkingDepthPreference?.routingPolicies??[]}};if(Y.dryRun)return _9(U,U.corp.seal.endpoints.approvalStylePreferences,z,Q,1);return await l5($,Q,U.corp.seal.endpoints.approvalStylePreferences),{thinkingDepthPreference:Q.thinkingDepthPreference}}},{name:"seal_preference_thinking_depth_policies_list",description:"列出思考深度路由策略列表",parameters:L.object({}),handler:async($)=>{return{policies:(await o1($)).thinkingDepthPreference?.routingPolicies??[]}}},{name:"seal_preference_thinking_depth_policies_upsert",description:"新增或修改思考深度路由策略",parameters:oS.extend({dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{let z=await o1($,U.corp.seal.endpoints.approvalStylePreferences),{dryRun:Q,...J}=Y,K=(z.thinkingDepthPreference?.routingPolicies??[]).filter((H)=>H.id!==J.id);K.push(J);let G={...z,thinkingDepthPreference:{defaultLevel:z.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:K}};if(Q)return _9(U,U.corp.seal.endpoints.approvalStylePreferences,z,G,1);return await l5($,G,U.corp.seal.endpoints.approvalStylePreferences),{policy:J,policies:K}}},{name:"seal_preference_thinking_depth_policies_remove",description:"删除一条思考深度路由策略",parameters:L.object({policyId:L.string().describe("路由策略 ID"),dryRun:L.boolean().optional().describe("只返回前后配置 Diff,不执行写入")}),handler:async($,Y,U)=>{let z=await o1($,U.corp.seal.endpoints.approvalStylePreferences),Q=z.thinkingDepthPreference?.routingPolicies??[],J=Q.filter((K)=>K.id!==Y.policyId);if(J.length===Q.length)throw Error(`未找到路由策略:${Y.policyId}`);let I={...z,thinkingDepthPreference:{defaultLevel:z.thinkingDepthPreference?.defaultLevel??"medium",routingPolicies:J}};if(Y.dryRun)return _9(U,U.corp.seal.endpoints.approvalStylePreferences,z,I,1);return await l5($,I,U.corp.seal.endpoints.approvalStylePreferences),{removedId:Y.policyId,policies:J}}},{name:"seal_approval_runs_stats",description:"统计审核记录状态分布、来源系统分布及按单号/ID去重统计",parameters:L.object({since:L.string().optional().describe("时间范围,如 3months, 7days, 24hours"),dedupeBy:L.enum(["sourceDocumentSN","sourceDocumentId","id"]).default("sourceDocumentSN").describe("去重字段"),status:L.string().optional(),sourceSystem:L.string().optional(),taskMode:L.string().optional()}),handler:async($,Y)=>{let U=await i4($,{limit:1000,status:Y.status,sourceSystem:Y.sourceSystem,taskMode:Y.taskMode}),z=Y.dedupeBy??"sourceDocumentSN",Q=U.records,J={},I={},K=new Set;for(let H of Q){let W=H.status??"unknown";J[W]=(J[W]??0)+1;let X=H.sourceSystem??"unknown";I[X]=(I[X]??0)+1;let Z=H[z];if(Z)K.add(String(Z))}let G=Math.max(0,Q.length-K.size);return{total:Q.length,dedupeBy:z,unique:K.size,duplicateRuns:G,dedupeNote:G>0?`存在 ${G} 笔重复运行记录 (同一单据重跑或修改重推)`:"全部单据唯一,无重复记录",byStatus:J,bySourceSystem:I}}},{name:"seal_approval_runs_count",description:"统计符合条件的审核记录总数",parameters:L.object({status:L.string().optional(),sourceSystem:L.string().optional(),taskMode:L.string().optional(),search:L.string().optional(),startDate:L.string().optional().describe("起始时间戳(毫秒)或日期字符串"),endDate:L.string().optional().describe("结束时间戳(毫秒)或日期字符串")}),handler:async($,Y)=>{let U=await i4($,{limit:1,status:Y.status,sourceSystem:Y.sourceSystem,taskMode:Y.taskMode,search:Y.search,startDate:x2(Y.startDate,!1),endDate:x2(Y.endDate,!0)});return{total:U.total??U.records.length}}}],hh1=new Set(["seal_approval_context_get","seal_approval_document_get","seal_approval_documents_list","seal_approval_rule_get","seal_approval_rule_version_get","seal_approval_rule_versions_list","seal_approval_rules_lint","seal_approval_rules_list","seal_approval_rules_pull","seal_approval_run_attachments_get","seal_approval_run_cited_rules_get","seal_approval_run_document_summary_get","seal_approval_run_flow_get","seal_approval_run_get","seal_approval_run_langfuse_bridge_get","seal_approval_run_pick","seal_approval_run_result_get","seal_approval_run_url_get","seal_approval_runs_count","seal_approval_runs_export","seal_approval_runs_search","seal_approval_runs_stats","seal_approval_runs_summary","seal_approval_search","seal_approval_style_preferences_get","seal_billing_features_list","seal_billing_plans_list","seal_billing_status_get","seal_contacts_department_children_list","seal_contacts_department_get","seal_contacts_department_users_list","seal_contacts_departments_root_list","seal_contacts_last_sync_time_get","seal_delegation_list","seal_deploy_hosecloud_get","seal_deploy_hosecloud_list","seal_deploy_hosecloud_requirements","seal_deploy_hosecloud_status","seal_expenses_list","seal_insight_export","seal_insight_performance_get","seal_insight_risks_by_tag_get","seal_insight_stats_get","seal_invoices_list","seal_llm_config_get","seal_llm_providers_list","seal_permissions_available_list","seal_permissions_configs_list","seal_preference_get","seal_preference_thinking_depth_policies_list","seal_session_get","seal_simulation_batch_get","seal_simulation_batch_records_get","seal_simulation_batch_status","seal_simulation_batch_wait","seal_simulation_batches_list","seal_simulation_feishu_approval_definitions_list","seal_simulation_integrations_get","seal_simulation_specifications_list","seal_simulation_templates_get","seal_user_get","seal_user_search","seal_webhook_get","seal_webhook_list","seal_webhook_ready","seal_whoami"]);Sh1=new Map(Lq.map(($)=>[$.name,$]))});var H_0={};x8(H_0,{webhookShowSecretOption:()=>MT,webhookRateOption:()=>wT,stringOption:()=>h,splitOption:()=>u6,safeFileName:()=>LT,ruleVersionSearchOptions:()=>Bl,ruleVersionGetOptions:()=>Tl,ruleVersionContextOptions:()=>Pl,requiredStringAlias:()=>IS1,requiredString:()=>m3,parseWebhookMode:()=>FT,parseStateMode:()=>Al,parseRuleVersionSelector:()=>SK,parseArgs:()=>Mq,optionalString:()=>X4,optionalNumber:()=>Dl,numberOption:()=>s0,materialPackFilePolicyOptions:()=>gK,jsonObject:()=>y8,inferCorpIdFromStaffId:()=>KS1,booleanOption:()=>Z0});function Mq($){let Y=[],U={},z;for(let Q=0;Q<$.length;Q+=1){let J=$[Q];if(!J)continue;if(J==="--json"){let I=$[Q+1];if(!I)throw m4("--json requires a JSON object argument");try{z=JSON.parse(I)}catch(K){throw m4(`Invalid JSON: ${K instanceof Error?K.message:String(K)}`)}Q+=1;continue}if(J.startsWith("-")){let I=J.replace(/^-+/,"");if(I.includes("=")){let G=I.indexOf("="),H=I.slice(0,G),W=I.slice(G+1);U[H]=W;continue}let K=$[Q+1];if(!K||K.startsWith("-"))U[I]=!0;else U[I]=K,Q+=1;continue}Y.push(J)}return{command:Y,options:U,json:z}}function y8($){if($===void 0)return{};if(!$||typeof $!=="object"||Array.isArray($))throw m4("--json must be an object");return $}function h($){return typeof $==="string"?$:void 0}function s0($){if(typeof $!=="string")return;let Y=Number($);if(!Number.isFinite(Y))throw m4(`Invalid number: ${$}`);return Y}function u6($){if(typeof $!=="string")return;let Y=$.split(",").map((U)=>U.trim()).filter(Boolean);return Y.length?Y:void 0}function Z0($){if($===void 0)return;if(typeof $==="boolean")return $;if($==="true")return!0;if($==="false")return!1;throw m4(`Invalid boolean: ${$}`)}function m3($,Y){let U=X4($,Y);if(!U)throw Error(`Missing required JSON field: ${Y}`);return U}function IS1($,Y){for(let U of Y){let z=X4($,U);if(z)return z}throw Error(`Missing required JSON field: ${Y.join(" or ")}`)}function X4($,Y){let U=$[Y];return typeof U==="string"&&U.trim()?U.trim():void 0}function Dl($,Y){let U=$[Y];return typeof U==="number"&&Number.isFinite(U)?U:void 0}function KS1($){let[Y]=$.split(":",1);return Y||void 0}function LT($){return $.replace(/[^a-zA-Z0-9._-]/g,"_")}function Al($){let Y=$.trim().toLowerCase();if(["stateful","state","有状态"].includes(Y))return!0;if(["stateless","无状态"].includes(Y))return!1;throw Error("Invalid config mode. Use stateful or stateless.")}function SK($){if($==="latest")return{latest:!0};let Y=Number($);if(Number.isInteger(Y)&&Y>0)return{versionNumber:Y};return{versionId:$}}function Bl($){if(!$)return{};let Y=SK($);if("latest"in Y)return{ruleVersionScope:"version",latestRuleVersion:!0};if("versionNumber"in Y)return{ruleVersionScope:"version",ruleVersionNumber:Y.versionNumber};return{ruleVersionScope:"version",ruleVersionId:Y.versionId}}function Pl($){if(!$)return{};let Y=SK($);if("latest"in Y)return{latestRuleVersion:!0};if("versionNumber"in Y)return{ruleVersionNumber:Y.versionNumber};return{ruleVersionId:Y.versionId}}function Tl($){if(!$)return{};let Y=SK($);if("latest"in Y)return{latest:!0};if("versionNumber"in Y)return{versionNumber:Y.versionNumber};return{versionId:Y.versionId}}function FT($){if(!$)return;let Y=$.trim().toLowerCase().replace(/[\s-]+/g,"_"),z={assisted:"assisted",辅助:"assisted",semi_automatic:"semi_automatic",半自动:"semi_automatic",fully_automatic:"fully_automatic",全自动:"fully_automatic"}[Y];if(!z)throw Error("Invalid Webhook mode. Use assisted, semi_automatic, or fully_automatic");return z}function wT($){let Y=s0($.autoApprovalRate??$["auto-approval-rate"]??$["approval-rate"]);if(Y!==void 0&&(!Number.isInteger(Y)||Y<0||Y>100))throw Error("Webhook auto approval rate must be an integer between 0 and 100");return Y}function MT($){return Z0($.showSecret)??Z0($["show-secret"])}function gK($){let Y=Z0($.clearMaxFileSize??$["clear-max-file-size"])===!0,U=s0($.minFileSizeBytes??$["min-file-size-bytes"]??$.minFileSize??$["min-file-size"]),z=s0($.maxFileSizeBytes??$["max-file-size-bytes"]??$.maxFileSize??$["max-file-size"]),Q=u6($.allowedExtensions??$["allowed-extensions"]??$.extensions);if(U===void 0&&z===void 0&&Q===void 0&&!Y)return;return{minFileSizeBytes:U,maxFileSizeBytes:Y?null:z,allowedExtensions:Q}}var D4=m(()=>{L$()});function Z_0($){let Y=Boolean($.options.help||$.options.h);if(!$.command.length)return{isHelp:!0,target:[]};if($.command[0]==="help")return{isHelp:!0,target:$.command.slice(1)};let U=$.command.indexOf("help");if(U!==-1)return{isHelp:!0,target:$.command.filter((Q,J)=>J!==U)};if(Y)return{isHelp:!0,target:[...$.command]};return{isHelp:!1,target:[]}}function q_0($=[]){if(!$.length)return W_0();let Y=$[0];if(!Y)return W_0();let U=$.slice(1),z=GS1(Y),Q=X_0.find((K)=>K.area===z);if(!Q)throw m4(`Unknown command: ${$.join(" ")}. Run 'seal-use help' for available commands.`);if(!U.length)return XS1(Q);let J=U.join(" ").toLowerCase(),I=HS1(Q,J,U);if(!I)throw m4(`Unknown ${Q.area} command: ${U.join(" ")}. Run 'seal-use ${Q.area} --help' for available commands.`);return WS1(Q,I)}function GS1($){let Y=$.toLowerCase();if(Y==="corp")return"corps";if(Y==="webhooks")return"webhook";if(Y==="preferences")return"preference";if(Y==="changelog")return"update";if(Y==="serve")return"http";if(Y==="mcp-config")return"mcp";if(Y==="server")return"mcp";return Y}function HS1($,Y,U){let z=$.commands.find((I)=>{if(!I.name)return!1;if(I.name.toLowerCase()===Y)return!0;if(I.aliases?.some((K)=>K.toLowerCase()===Y))return!0;return!1});if(z)return z;let Q=U[0]?.toLowerCase();if(!Q)return;return $.commands.find((I)=>{if(!I.name)return!1;if(I.name.toLowerCase()===Q)return!0;if(I.aliases?.some((K)=>K.toLowerCase()===Q))return!0;return!1})}function WS1($,Y){let U=[],z=Y.name?`seal-use ${$.area} ${Y.name}`:`seal-use ${$.area}`,Q=Y.summary?`${z} - ${Y.summary}`:z;U.push(Q),U.push(""),U.push("Usage:");for(let J of Y.usage)U.push(` ${J}`);if(Y.options&&Y.options.length>0){U.push(""),U.push("Options:");let J=Math.max(...Y.options.map((I)=>I.flag.length));for(let I of Y.options)U.push(` ${I.flag.padEnd(J+2)} ${I.description}`)}if(Y.description)U.push(""),U.push("Description:"),U.push(` ${Y.description}`);return U.join(` `)}function XS1($){let Y=[];if(Y.push(`seal-use ${$.area} - ${$.title}`),$.description)Y.push($.description);Y.push(""),Y.push("Usage:");for(let U of $.commands)for(let z of U.usage)Y.push(` ${z}`);if($.commands.some((U)=>U.name))Y.push(""),Y.push(`Run 'seal-use ${$.area} --help' for details on a specific command.`);return Y.join(` `)}function W_0(){let $=[];$.push("seal-use CLI"),$.push(""),$.push("Usage:"),$.push(" seal-use version");for(let Y of X_0)for(let U of Y.commands)for(let z of U.usage)$.push(` ${z}`);return $.push(""),$.push("Run 'seal-use --help' for details on a specific command."),$.join(` `)}var X_0;var jl=m(()=>{L$();X_0=[{area:"corps",title:"Enterprise and tenant management",description:"Manage enterprise configurations, environment modes, test bindings, and syncing.",commands:[{name:"list",summary:"List configured enterprises sorted by 7-day usage frequency",usage:["seal-use corps list [query] [--all] [--limit ] [--env ] [--strict] [--corp ]"],options:[{flag:"--all",description:"Display all configured enterprises without the default 10-item limit"},{flag:"--limit ",description:"Maximum number of enterprises to display (defaults to 10)"},{flag:"--env ",description:"Filter enterprises by environment ('production' or 'test')"},{flag:"--strict",description:"Use strict exact substring matching instead of default soft fuzzy search"}]},{name:"search",aliases:["find"],summary:"Search configured enterprises with intelligent soft fuzzy matching",usage:["seal-use corps search [--env ] [--strict]"],options:[{flag:"--env ",description:"Filter enterprises by environment ('production' or 'test')"},{flag:"--strict",description:"Use strict exact substring matching instead of default soft fuzzy search"}],description:"Searches enterprise ID, name, staff ID, domain, tenant slug, environment, or bindings. Uses soft search by default (case-insensitive, Chinese homophones, front/back nasal vowels, initials, typo/missing letter tolerance)."},{name:"get",aliases:["show"],summary:"Get rich details and configuration of an enterprise",usage:["seal-use corps get "],description:"Retrieves complete enterprise details (URLs, tenant slugs, custom headers/cookies, staff IDs, relations, config file path) with sensitive secrets safely redacted."},{name:"current",summary:"Show active enterprise in stateful mode",usage:["seal-use corps current [--corp ]"]},{name:"switch",summary:"Switch default active enterprise",usage:["seal-use corps switch "]},{name:"mark",summary:"Mark enterprise environment as production or test",usage:["seal-use corps mark --env [--confirm]"],options:[{flag:"--env ",description:"Target environment: 'production' or 'test' (required)"},{flag:"--confirm",description:"Confirm the environment update (required)"}],description:"Explicitly updates an enterprise's environment tag. Requires --confirm to prevent accidental changes."},{name:"rename",summary:"Rename an enterprise display name",usage:["seal-use corps rename --name "],options:[{flag:"--name ",description:"New human-readable enterprise name (required)"}],description:"Safely updates the display name of a configured enterprise without modifying underlying files manually."},{name:"bind-test",summary:"Bind a production enterprise to a test enterprise (1-to-1 association)",usage:["seal-use corps bind-test [--confirm] [--force]","seal-use corps bind-test --corp [--confirm] [--force]"],options:[{flag:"--confirm",description:"Explicitly confirm binding and tag test environment (required)"},{flag:"--force",description:"Force re-binding if the production enterprise is already bound"},{flag:"--corp ",description:"Specify production enterprise ID or name"}],description:"Establishes a strict 1-to-1 association between a production enterprise and a test enterprise. Automatically marks the test enterprise with environment 'test'."},{name:"unbind-test",summary:"Unbind a production and test enterprise association",usage:["seal-use corps unbind-test [] [--confirm]"],options:[{flag:"--confirm",description:"Explicitly confirm unbinding both sides (required)"},{flag:"--corp ",description:"Specify enterprise ID or name"}],description:"Removes the 1-to-1 test association from both the production enterprise and the test enterprise."},{name:"sync-test",summary:"Synchronize rules and preferences from production to test enterprise",usage:["seal-use corps sync-test [] [--dry-run] [--yes] [--version-name ]"],options:[{flag:"--dry-run",description:"Preview sync diff without making network mutations (default)"},{flag:"--yes",description:"Execute synchronization and publish new rule version on test enterprise"},{flag:"--version-name ",description:"Custom version name for published test rule version"},{flag:"--corp ",description:"Specify production enterprise ID or name"}],description:"Overwrites test enterprise decision preferences with production preferences, syncs production draft rules to test enterprise, and immediately publishes a new version on the test enterprise. Production rules remain safe in draft state."},{name:"replay-test",summary:"Replay approval records from production enterprise to bound test enterprise via Webhook",usage:["seal-use corps replay-test [] [--record-id ] [--sn ] [--limit ] [--webhook ] [--dry-run]"],options:[{flag:"",description:"Production enterprise ID (default: active enterprise)"},{flag:"--record-id ",description:"Replay a specific approval run ID"},{flag:"--sn ",description:"Replay a specific document SN"},{flag:"--limit ",description:"Batch replay latest N records from production (default: 1)"},{flag:"--status ",description:"Filter records by status (e.g. completed, failed, rejected)"},{flag:"--webhook ",description:"Target Webhook integration on test enterprise"},{flag:"--sn-suffix ",description:"Optional suffix appended to documentSN"},{flag:"--dry-run",description:"Preview payload without sending"}],description:"Pulls production approval records from the production enterprise and replays them into the bound test enterprise's Webhook channel for rule verification."},{name:"add-hose",summary:"Add a Hose/Ekuaibao enterprise configuration",usage:[`seal-use corps add-hose --json '{"name":"企业名称","domain":"https://app.ekuaibao.com","appKey":"...","appSecurity":"...","proxyStaffBizId":"corpId:staffId"}'`]},{name:"add-seal",summary:"Add a native Seal enterprise configuration",usage:[`seal-use corps add-seal --json '{"sealUrl":"https://tenant.sealai.cc","token":"seal-bearer-token"}'`]},{name:"add-link",summary:"Import enterprise configuration from a Hose assistance link",usage:["seal-use corps add-link [--name ] [--as-hose] [--app-key ] [--key-id ] [--overwrite]"],options:[{flag:"--name ",description:"Optional custom name for the enterprise"},{flag:"--as-hose",description:"【合思子域提权】从协助链接提取 OpenAPI 密钥并将临时会话升级为长期合思标准配置"},{flag:"--app-key ",description:"企业存在多套密钥时,指定使用的 appKey"},{flag:"--key-id ",description:"企业存在多套密钥时,指定使用的 keyId"},{flag:"--overwrite",description:"Overwrite existing enterprise config"}]},{name:"extract-keys",aliases:["extract-key"],summary:"【合思子域提权】从合思协助链接提取 OpenAPI 开发者密钥 (appKey/appSecurity)",usage:["seal-use corps extract-keys [--reveal] [--save] [--app-key ] [--key-id ] [--name ] [--overwrite]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"},{flag:"--save",description:"【提权升级】将提取到的合思 OpenAPI 密钥保存为长期标准配置"},{flag:"--app-key ",description:"存在多套密钥时指定使用的 appKey"},{flag:"--key-id ",description:"存在多套密钥时指定使用的 keyId"},{flag:"--name ",description:"Custom enterprise name when saving"},{flag:"--overwrite",description:"Overwrite existing enterprise config"}],description:"专属于合思 (Hose/合思云/易快报) 子域的能力。利用协助链接中的内部权限读取 OpenAPI 密钥,将临时会话提权为标准开发者凭据。非合思渠道企业不支持。"},{name:"keys",summary:"【合思子域】查看企业已配置的合思 OpenAPI 密钥,或从协助链接中提取",usage:["seal-use corps keys [ | ] [--reveal] [--save] [--app-key ]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"},{flag:"--save",description:"从协助链接提取并保存为标准配置"},{flag:"--app-key ",description:"多套密钥时指定目标 appKey"}]},{name:"regression",aliases:["test-regression"],summary:"Run automated rule regression test matrix against paired test enterprise",usage:["seal-use corps regression [--corp ] [--samples ] [--dry-run] [--fail-on-flips]"],options:[{flag:"--samples ",description:"Number of historical production runs to replay (default: 10)"},{flag:"--dry-run",description:"Preview sample documents and verify quota without executing replayed audits"},{flag:"--fail-on-flips",description:"Exit with non-zero code if any decision flip is detected"}]}]},{area:"rules",title:"Approval rules management",description:"Query, search, version, lint, import, and export approval audit rules.",commands:[{name:"count",summary:"Count total rules in current enterprise",usage:["seal-use rules count [--corp ]"]},{name:"list",summary:"List approval rules with optional pagination and summary",usage:["seal-use rules list [--summary] [--count] [--limit 20] [--offset 0] [--corp ]"],options:[{flag:"--summary",description:"Output compact summary fields (id, code, strictness, scope)"},{flag:"--limit ",description:"Number of rules to fetch (default: 20)"},{flag:"--offset ",description:"Offset index for pagination"},{flag:"--full",description:"Allow large payloads beyond standard size limits"}]},{name:"clear",summary:"Clear all draft rules from enterprise",usage:["seal-use rules clear [--corp ] [--dry-run|--yes]"]},{name:"versions",summary:"List published rule versions",usage:["seal-use rules versions [--corp ]"]},{name:"version",summary:"Inspect a specific rule version",usage:["seal-use rules version [--corp ]"]},{name:"get",summary:"Get single rule by code or record ID",usage:["seal-use rules get --corp --version --code '#0038'","seal-use rules get --corp --record-id --runtime-id rule-205"]},{name:"search",summary:"Search rules by keyword",usage:["seal-use rules search [--version ] [--maxResults 20] [--corp ]"]},{name:"lint",summary:"Lint rule text or rule file using builtin or custom linter",usage:["seal-use rules lint [--file ] [--linter ] [--min-score ] [--corp ]"]},{name:"linters",summary:"List available official and custom rule linters and directory locations",usage:["seal-use rules linters [--corp ]"]},{name:"pull",summary:"Export rules to local JSON file",usage:["seal-use rules pull [--out ] [--corp ]"]},{name:"push",summary:"Push rules from local JSON file to enterprise draft space",usage:["seal-use rules push --file [--mode replace|incremental] [--yes] [--corp ]"]}]},{area:"webhook",title:"Webhook integrations and material packs",description:"Manage incoming audit webhooks and upload offline simulation material packs.",commands:[{name:"ready",summary:"Check readiness of webhook integration and material pack",usage:["seal-use webhook ready [<材料包.zip>] [--webhook ] [--corp ]"]},{name:"status",summary:"Check status of webhook integration",usage:["seal-use webhook status [<材料包.zip>] [--corp ]"]},{name:"list",summary:"List registered webhook endpoints",usage:["seal-use webhook list [--query ] [--show-secret] [--corp ]"]},{name:"get",aliases:["find"],summary:"Get webhook endpoint details",usage:["seal-use webhook get|find [--show-secret] [--corp ]"]},{name:"add",summary:"Register a new webhook endpoint",usage:["seal-use webhook add --name --result-url [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret ] [--min-file-size 500] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--dry-run] [--corp ]"]},{name:"update",summary:"Update an existing webhook endpoint",usage:["seal-use webhook update [--name ] [--result-url ] [--mode assisted|semi_automatic|fully_automatic] [--auto-approval-rate 60] [--secret |--rotate-secret] [--min-file-size ] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--clear-max-file-size] [--dry-run] [--corp ]"]},{name:"delete",summary:"Delete a webhook endpoint",usage:["seal-use webhook delete [--yes|--dry-run] [--corp ]"]},{name:"resource-pack export",summary:"Export online approval records to a local Webhook resource pack ZIP (alias: pack export)",usage:["seal-use webhook resource-pack export [--limit ] [--status ] [--output ] [--to-downloads] [--corp ]","seal-use webhook resource-pack export [--output ] [--corp ]","seal-use webhook resource-pack export --record-ids [--corp ]"],options:[{flag:"",description:"Single approval run record ID to export"},{flag:"--record-ids ",description:"Comma-separated list of approval run record IDs"},{flag:"--limit ",description:"Limit number of records to export (default: 10)"},{flag:"--status ",description:"Filter records by status (e.g. completed, approved)"},{flag:"--start-date ",description:"Filter records starting from date"},{flag:"--end-date ",description:"Filter records up to date"},{flag:"--doc-id-prefix ",description:"Optional prefix prepended to exported documentId/meetingId"},{flag:"--doc-id-suffix ",description:"Optional suffix appended to exported documentId/meetingId"},{flag:"--no-attachments",description:"Skip downloading and packaging attachments"},{flag:"-o, --output ",description:"Target ZIP file path"},{flag:"--to-downloads",description:"Save directly to ~/Downloads"},{flag:"--corp ",description:"Source enterprise configuration ID"}]},{name:"resource-pack preview",summary:"Inspect and validate a Webhook resource pack ZIP or Excel sheet (alias: pack preview)",usage:["seal-use webhook resource-pack preview <资源包.zip|信息表.xlsx> [--min-file-size ] [--max-file-size ] [--allowed-extensions <.pdf,.xlsx,...>] [--corp ]"]},{name:"resource-pack push",summary:"Upload attachments and push documents from a resource pack ZIP to Webhook (alias: pack push)",usage:["seal-use webhook resource-pack push <资源包.zip|信息表.xlsx> [--webhook ] [--corp ]"]},{name:"replay",usage:["seal-use webhook replay [--webhook ] [--sn-suffix ] [--dry-run] [--corp ]","seal-use webhook replay --sn [--webhook ] [--source-corp ] [--target-corp ]","seal-use webhook replay --limit [--status ] [--source-corp ] [--target-corp ]"],options:[{flag:"",description:"Approval run record ID to replay"},{flag:"--sn ",description:"Lookup approval record by source document SN if recordId not given"},{flag:"--limit ",description:"Batch replay latest N records from source enterprise"},{flag:"--status ",description:"Filter records by status (e.g. completed, failed, rejected)"},{flag:"--webhook ",description:"Target Webhook integration (auto-locks if only one exists)"},{flag:"--source-corp ",description:"Source enterprise where records reside (alias: --prod-corp)"},{flag:"--target-corp ",description:"Target enterprise where records are pushed (alias: --test-corp)"},{flag:"--sn-suffix ",description:"Optional suffix appended to documentSN and documentId"},{flag:"--sn-prefix ",description:"Optional prefix prepended to documentSN and documentId"},{flag:"--dry-run",description:"Generate and output Webhook payload JSON without sending HTTP request"},{flag:"--force",description:"Allow replaying to a production enterprise"}],description:"Extracts structured form fields from historical approval records (Webhook or Hose source), sanitizes field types, and pushes documents to the target Webhook channel. Automatically infers 1-to-1 bound test/production enterprise pairs."}]},{area:"approval-runs",title:"Approval runs and audit execution records",description:"Inspect live and historical AI approval decisions, cited rules, and attachments.",commands:[{name:"summary",summary:"Daily summary of approval runs",usage:["seal-use approval-runs summary [--date YYYY-MM-DD] [--timezone Asia/Shanghai] [--corp ]"]},{name:"stats",summary:"Statistical aggregation of approval run metrics",usage:["seal-use approval-runs stats [--since 3months] [--dedupe-by sourceDocumentSN|sourceDocumentId|id] [--corp ]"]},{name:"count",summary:"Count approval runs filtered by status or time range",usage:["seal-use approval-runs count [--status APPROVED] [--start ] [--end ] [--corp ]"]},{name:"export",summary:"Export approval run audit records to Excel workbook. Add --with-flow to include E人工行为 / E人工意见 columns (requires Hose Open API; adds ~30s for large batches).",usage:["seal-use approval-runs export [--sn ] [--start ] [--end ] [--force] [--status ] [--manual-status ] [--completed-only] [--limit ] [--downloads|--to-downloads] [--with-flow] [--out ] [--corp ]"],options:[{flag:"--sn, --sns ",description:"Target specific document SNs (comma-separated, e.g. B26002307,B26002144); fast indexed search bypassing full pagination"},{flag:"--with-flow",description:"Enrich export with Hose human actions and opinions in E人工行为 / E人工意见 columns (rejection 2-B, mid-flow modifications, action emojis)"},{flag:"--start ",description:"Filter records by start date (YYYY-MM-DD or ms timestamp)"},{flag:"--end ",description:"Filter records by end date (YYYY-MM-DD or ms timestamp)"},{flag:"--force",description:"Force export when time range exceeds 180 days"},{flag:"--status ",description:"Filter by system status (e.g. completed, processing)"},{flag:"--manual-status ",description:"Filter by manual approval status (e.g. APPROVED, TERMINATED)"},{flag:"--completed-only",description:"Only export completed approval runs"},{flag:"--limit ",description:"Maximum number of records to export"},{flag:"--downloads, --to-downloads",description:"Save exported workbook directly to user's ~/Downloads directory"},{flag:"--out ",description:"Custom output file path"}]},{name:"flow",summary:"Get Hose approval flow timeline, staff opinions, and align with AI runs",usage:["seal-use approval-runs flow [--corp ]"]},{name:"list",aliases:["search"],summary:"Search approval records by keyword, dates, or decision status",usage:["seal-use approval-runs list|search [--query text] [--humanResult 驳回] [--manualApprovalStatus TERMINATED] [--startDate ms] [--endDate ms] [--limit 20] [--includeBridge true] [--corp ]"]},{name:"pick",summary:"Locate single approval run by document SN",usage:["seal-use approval-runs pick --sn [--batch ] [--latest] [--fields recordId,status,aiDecision] [--corp ]"]},{name:"get",summary:"Get detailed approval record payload",usage:["seal-use approval-runs get [--summary] [--fields metadata|document.fields,result.summary] [--full] [--output-file file.json] [--corp ]"]},{name:"cited-rules",summary:"Inspect rules cited by AI in an approval decision",usage:["seal-use approval-runs cited-rules [--corp ]"]},{name:"document-summary",summary:"Inspect parsed source document summary",usage:["seal-use approval-runs document-summary [--corp ]"]},{name:"attachments",summary:"Inspect and list attachments for approval run",usage:["seal-use approval-runs attachments [--summary] [--corp ]","seal-use approval-runs attachments download [--all] [--name ] [--out-dir ] [--corp ]"]},{name:"result",summary:"Get decision result for an approval run",usage:["seal-use approval-runs result [--summary] [--corp ]"]},{name:"link",aliases:["url"],summary:"Get web console link for an approval run (Seal AI audit result or Hose original document)",usage:["seal-use approval-runs link [--corp ]","seal-use approval-runs link --auto-login [--expire 7200] [--corp ]","seal-use approval-runs link --type hose-document [--corp ]","seal-use approval-runs link --sn [--auto-login] [--corp ]"],options:[{flag:"--type ",description:"Link type: 'seal-result' (Seal AI audit result page, default) or 'hose-document' (Hose original form)"},{flag:"--auto-login",description:"Generate auto-login ticketed link (for seal-result type, valid for --expire seconds)"},{flag:"--expire ",description:"Auto-login ticket expiration in seconds (default: 7200)"}]},{name:"bridge",summary:"Inspect browser bridge integration payload",usage:["seal-use approval-runs bridge [--sourceDocumentSN B26001887] [--corp ]"]},{name:"replay",summary:"Replay approval run record into a Webhook integration",usage:["seal-use approval-runs replay [--webhook ] [--sn-suffix ] [--dry-run] [--corp ]","seal-use approval-runs replay --sn [--webhook ] [--source-corp ] [--target-corp ]","seal-use approval-runs replay --limit [--status ] [--source-corp ] [--target-corp ]"],options:[{flag:"",description:"Approval run record ID"},{flag:"--sn ",description:"Lookup approval record by source document SN"},{flag:"--limit ",description:"Batch replay latest N records"},{flag:"--status ",description:"Filter records by status"},{flag:"--webhook ",description:"Target Webhook integration"},{flag:"--source-corp ",description:"Source enterprise where records reside"},{flag:"--target-corp ",description:"Target enterprise where records are pushed"},{flag:"--sn-suffix ",description:"Optional suffix appended to documentSN"},{flag:"--dry-run",description:"Preview payload without sending"}]}]},{area:"simulation",title:"Simulation testing engine",description:"Execute and analyze offline or HoseCloud batch simulations against approval rules.",commands:[{name:"batch-records",summary:"Fetch records for a simulation batch",usage:["seal-use simulation batch-records [--corp ]"]},{name:"create",summary:"Trigger a new simulation batch",usage:['seal-use simulation create --mode hosecloud --flow-ids "B26017701,B26022501" [--reject-node 财务] [--thinking-depth default|medium|high] [--skip-invoice-generation|--skip-invoice-generation false] [--no-wait] [--corp ]',"seal-use simulation create --mode material_pack --package-ids [--template-id conference_reimbursement_v1] [--schema-config file.json] [--corp ]",'seal-use simulation create --source-system weaver --request-ids "req-01,req-02" [--corp ]']},{name:"status",summary:"Check current progress of a simulation batch",usage:["seal-use simulation status [--corp ]"]},{name:"wait",summary:"Wait synchronously for simulation batch to finish",usage:["seal-use simulation wait [--timeout 10m] [--poll-interval 2s] [--corp ]"]},{name:"clean",summary:"Clean simulation batch records",usage:["seal-use simulation clean [--corp ]"]},{name:"specifications",summary:"Query simulation specifications",usage:["seal-use simulation specifications [--integration ] [--corp ]"]},{name:"approval-definitions",summary:"Query simulation approval definitions",usage:["seal-use simulation approval-definitions [--corp ]"]},{name:"list",summary:"List recent simulation batches",usage:["seal-use simulation list [--limit 50] [--corp ]"]},{name:"get",summary:"Get details for simulation batch",usage:["seal-use simulation get [--corp ]"]},{name:"templates",summary:"List available simulation templates",usage:["seal-use simulation templates [--corp ]"]},{name:"integrations",summary:"List available simulation integrations",usage:["seal-use simulation integrations [--corp ]"]},{name:"package-upload",summary:"Upload a simulation material package",usage:["seal-use simulation package-upload <材料包.zip> [--corp ]"]}]},{area:"deploy",title:"Deployment and cloud synchronization",description:"Manage HoseCloud integration configurations and synchronization.",commands:[{name:"hosecloud requirements",summary:"Check HoseCloud deployment requirements",usage:["seal-use deploy hosecloud requirements [--corp ]"]},{name:"hosecloud list",summary:"List HoseCloud deployment targets",usage:["seal-use deploy hosecloud list [--corp ]"]},{name:"hosecloud get",summary:"Get HoseCloud deployment details",usage:["seal-use deploy hosecloud get [--corp ]"]},{name:"hosecloud status",summary:"Check HoseCloud deployment status",usage:["seal-use deploy hosecloud status [--corp ]"]},{name:"hosecloud configure",summary:"Configure HoseCloud deployment settings",usage:["seal-use deploy hosecloud configure --json '{...}' [--dry-run] [--corp ]"]},{name:"hosecloud sync",summary:"Synchronize HoseCloud rules and definitions",usage:["seal-use deploy hosecloud sync [--corp ]"]}]},{area:"preference",title:"Audit preferences and thinking depth",description:"Manage AI decision preferences, strictness, and thinking depth policies.",commands:[{name:"get",summary:"Get current decision preference configuration",usage:["seal-use preference get [--corp ]"]},{name:"decision update",summary:"Update decision preference rules",usage:[`seal-use preference decision update --json '{"explicitApprove":"..."}' [--dry-run] [--corp ]`]},{name:"thinking-depth set",summary:"Set default thinking depth",usage:["seal-use preference thinking-depth set --default [--dry-run] [--corp ]"]},{name:"thinking-depth policies list",summary:"List thinking depth policies",usage:["seal-use preference thinking-depth policies list [--corp ]"]},{name:"thinking-depth policies upsert",summary:"Upsert a thinking depth policy",usage:["seal-use preference thinking-depth policies upsert --json '{...}' [--dry-run] [--corp ]"]},{name:"thinking-depth policies remove",summary:"Remove a thinking depth policy",usage:["seal-use preference thinking-depth policies remove [--dry-run] [--corp ]"]}]},{area:"config",title:"CLI and global workspace configuration",description:"Manage configuration paths, stateful/stateless mode, test directory, and rule linter.",commands:[{name:"paths",summary:"Display active configuration file and directory paths",usage:["seal-use config paths"]},{name:"get",aliases:["status"],summary:"Display current global configuration",usage:["seal-use config get"]},{name:"mode",summary:"Configure stateful or stateless CLI operating mode",usage:["seal-use config mode [--corp ]"]},{name:"test-dir",aliases:["test-enterprises-dir"],summary:"Set or clear global test enterprises directory",usage:["seal-use config test-dir [|--clear]"]},{name:"lint",summary:"Configure automatic rule linter status and thresholds",usage:["seal-use config lint [status|enable|disable] [--linter ] [--min-score ]"]}]},{area:"auth",title:"Authentication and session diagnostics",description:"Diagnose upstream token status and generate provisional assistance links.",commands:[{name:"diagnose",summary:"Diagnose auth session and platform connectivity",usage:["seal-use auth diagnose [--corp ]"]},{name:"link",aliases:["seal-link"],summary:"【Seal 审核后台】生成免密登录/委托访问直达链接",usage:["seal-use auth link [--note ] [--corp ]"],options:[{flag:"--note ",description:"委托授权备注说明(如:演示测试、外部审计)"}],description:"生成访问当前企业 Seal AI 智能审核后台 (https://.sealai.cc/delegate) 的免密直达链接。主体作用于 Seal 审核台,等价于快捷生成 delegation 委托访问链接。"},{name:"hose-link",summary:"【合思外部主站】生成免密登录/第三方协助入口链接",usage:["seal-use auth hose-link [--corp ] [--expire 7200] [--force]"],options:[{flag:"--expire ",description:"链接有效时间(秒),默认 7200,支持如 86400(1天)"},{flag:"--force, --refresh, -f",description:"强制向合思 OpenAPI 申请全新临时凭证"}],description:"专用于合思 (Hose) 来源企业。向合思申请临时 ticket,生成直达外部合思/易快报主站 (https://app.ekuaibao.com/web/thirdparty.html) 的免密登录链接。若需生成 Seal 自身的审核后台访问链接,请使用 'seal-use auth link'。"},{name:"extract-keys",summary:"【合思子域提权】从合思协助链接提取 OpenAPI 开发者密钥并可选升级配置",usage:["seal-use auth extract-keys [--reveal] [--save] [--app-key ] [--key-id ] [--name ] [--overwrite]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"},{flag:"--save",description:"【提权升级】直接将提取到的合思 OpenAPI 密钥持久化为标准企业配置"},{flag:"--app-key ",description:"存在多套密钥时指定使用的 appKey"},{flag:"--key-id ",description:"存在多套密钥时指定使用的 keyId"}],description:"专属于合思 (Hose/合思云/易快报) 子域的能力。非合思渠道企业不支持。"},{name:"keys",summary:"【合思子域】查看当前企业已配置的合思 OpenAPI 开发者密钥",usage:["seal-use auth keys [--corp ] [--reveal]"],options:[{flag:"--reveal, -r",description:"显式揭示完整 appSecurity 明文(默认脱敏保护)"}],description:"专属于合思 (Hose) 来源企业。原生 Seal 企业不包含 OpenAPI 密钥,不支持此命令。"}]},{area:"delegation",title:"【Seal 审核后台】用户委托授权与协助链接",description:"管理 Seal AI 智能审核后台 (https://.sealai.cc/delegate) 的用户委托授权令牌与协助凭据。注意:此处仅管理 Seal 审核台的委托授权,不包含合思主站的免密登录链接 (seal-use auth hose-link)。",commands:[{name:"list",summary:"列出当前 Seal 租户已生效的委托授权令牌 (Delegation Tokens)",usage:["seal-use delegation list [--corp ]"],description:"查询已在 Seal 平台签发的委托授权记录。若返回 [] 表示当前租户暂无有效委托。注意:合思主站免密链接不在此列表中。"},{name:"create",summary:"创建新的 Seal 审核后台委托授权链接",usage:["seal-use delegation create [--note ] [--from-link ] [--corp ]"],description:"生成访问 Seal AI 智能审核台的委托授权链接。有效期由 Seal 服务端策略统一管理。"},{name:"revoke",summary:"撤销指定的 Seal 委托授权令牌",usage:["seal-use delegation revoke [--corp ]"]}]},{area:"users",title:"User administration",description:"Manage tenant users, phone credentials, and passwords.",commands:[{name:"create",summary:"Create a new tenant user",usage:["seal-use users create --name --phone [--dept ] [--corp ]"]},{name:"search",summary:"Search tenant users by name or phone",usage:["seal-use users search [--corp ]"]},{name:"delegation",summary:"Create delegation token for a specific user",usage:["seal-use users delegation [--note ] [--corp ]"]},{name:"reset-password",summary:"Reset user password",usage:["seal-use users reset-password [--corp ]"]},{name:"get",summary:"Get user details",usage:["seal-use users get [--corp ]"]},{name:"delete",summary:"Delete user",usage:["seal-use users delete [--corp ]"]}]},{area:"contacts",title:"Contacts directory",description:"Query organizational departments, child hierarchies, and user mappings.",commands:[{name:"departments",summary:"List organizational departments",usage:["seal-use contacts departments [] [--corp ]"]},{name:"children",summary:"List child departments",usage:["seal-use contacts children [--corp ]"]},{name:"users",summary:"List users in department",usage:["seal-use contacts users [--corp ]"]},{name:"sync-time",summary:"Get latest contacts synchronization time",usage:["seal-use contacts sync-time [--corp ]"]}]},{area:"data",title:"Expense and invoice data records",description:"Search raw historical expense and invoice data entries.",commands:[{name:"expenses",summary:"Search raw expense items",usage:["seal-use data expenses [--search ] [--start-date ] [--end-date ] [--offset ] [--limit ] [--corp ]"]},{name:"invoices",summary:"Search raw invoice records",usage:["seal-use data invoices [--search ] [--start-date ] [--end-date ] [--offset ] [--limit ] [--corp ]"]}]},{area:"llm",title:"LLM configuration",description:"Query LLM providers and configuration settings.",commands:[{name:"config",summary:"Get active LLM configuration",usage:["seal-use llm config [--corp ]"]},{name:"providers",summary:"List available LLM providers",usage:["seal-use llm providers [--corp ]"]}]},{area:"permissions",title:"Tenant permissions",description:"Inspect available and configured permissions.",commands:[{name:"available",summary:"List available permissions",usage:["seal-use permissions available [--corp ]"]},{name:"configs",summary:"List active permission configurations",usage:["seal-use permissions configs [--corp ]"]}]},{area:"billing",title:"Subscription and billing plans",description:"Query billing status, feature entitlements, and plan limits.",commands:[{name:"status",summary:"Query current billing and subscription status",usage:["seal-use billing status [--corp ]"]},{name:"plans",summary:"Query available billing plans",usage:["seal-use billing plans [--corp ]"]},{name:"features",summary:"Query billing feature toggles",usage:["seal-use billing features [--corp ]"]}]},{area:"analytics",title:"Audit analytics and insights",description:"Query high-level audit analytics and insights.",commands:[{name:"insight",aliases:["insight-stats","stats"],summary:"Query AI audit insights risk-tag statistics and analysis status",usage:["seal-use analytics insight [--start-date ] [--end-date ] [--limit ] [--corp ]"]},{name:"risks",aliases:["risks-by-tag","tag-risks"],summary:"Query detailed risks and document citations under a specific risk tag",usage:["seal-use analytics risks [--start-date ] [--end-date ] [--corp ]"]},{name:"performance",aliases:["perf"],summary:"Query audit performance metrics (accuracy, automation rate) and Sankey flow",usage:["seal-use analytics performance [--start-date ] [--end-date ] [--corp ]"]},{name:"analyze",aliases:["reanalyze"],summary:"Trigger on-demand smart insight risk analysis for an approval record",usage:["seal-use analytics analyze [--corp ]"]},{name:"export",aliases:["report","download"],summary:"Export smart insights risk report to high-fidelity Excel workbook",usage:["seal-use analytics export [--downloads] [--out ] [--start-date ] [--end-date ] [--force] [--limit ] [--corp ]"],options:[{flag:"--downloads",description:"Save directly to the user's Downloads directory"},{flag:"--out ",description:"Custom destination file path"},{flag:"--start-date ",description:"Filter beginning time range"},{flag:"--end-date ",description:"Filter ending time range"},{flag:"--force",description:"Force export when time range exceeds 180 days"},{flag:"--limit ",description:"Maximum risk tags to drill down into"}]}]},{area:"context",title:"Knowledge context and documents",description:"Query uploaded knowledge context and documents.",commands:[{name:"",summary:"Inspect knowledge context documents",usage:["seal-use context [--ruleVersion ] [--documentLimit 50] [--corp ]"]}]},{area:"source",title:"Data source configurations",description:"Inspect enterprise source system configuration.",commands:[{name:"config",summary:"Inspect source configuration",usage:["seal-use source config [--corp ]"]}]},{area:"tool",title:"Direct low-level tool invocation",description:"Execute individual Seal tools directly.",commands:[{name:"",summary:"Invoke a tool directly",usage:[`seal-use tool [--corp ] [--json '{"key":"value"}']`]}]},{area:"tools",title:"Available tools listing",description:"List all executable domain tools.",commands:[{name:"list",summary:"List all available domain tools",usage:["seal-use tools list"]}]},{area:"update",title:"CLI self-update and release changelogs",description:"Check for new releases, perform self-updates, and view changelogs.",commands:[{name:"",summary:"Update seal-use to latest or target version",usage:["seal-use update [--check] [--force] [--version ]","seal-use update check","seal-use update changelog [--limit ]","seal-use changelog [--limit ]"]}]},{area:"probe",title:"Enterprise connectivity probe",description:"Probe upstream Hose and Seal HTTP connectivity and token validity.",commands:[{name:"",summary:"Run connectivity probe",usage:["seal-use probe []"]}]},{area:"mcp",title:"Model Context Protocol (MCP) server",description:"Run standalone or stdio MCP server for agent harnesses.",commands:[{name:"",summary:"Run MCP server or output MCP config",usage:["seal-use mcp","seal-use mcp config","seal-use mcp-config"]}]},{area:"skill",title:"Agent skill management",description:"Install, dump, or inspect agent skills.",commands:[{name:"dump",summary:"Dump embedded skill markdown",usage:["seal-use skill dump"]},{name:"install",summary:"Install skill to active workspace",usage:["seal-use skill install [--dir |--local]"]},{name:"status",summary:"Check skill installation status",usage:["seal-use skill status"]}]},{area:"http",title:"HTTP server",description:"Run interactive HTTP server.",commands:[{name:"",summary:"Start HTTP daemon",usage:["seal-use http [--port 8787] [--host 127.0.0.1]","seal-use serve [--port 8787]"]}]},{area:"service",title:"Background HTTP service lifecycle",description:"Start, stop, restart, inspect, and read logs from the standalone seal-use HTTP service daemon.",commands:[{name:"start",summary:"Start the background service daemon",usage:["seal-use service start [--port 8787] [--host 127.0.0.1]"]},{name:"stop",summary:"Stop the background service daemon",usage:["seal-use service stop"]},{name:"restart",summary:"Restart the background service daemon",usage:["seal-use service restart [--port 8787] [--host 127.0.0.1]"]},{name:"status",summary:"Show service daemon status",usage:["seal-use service status"]},{name:"logs",summary:"Print recent service daemon logs",usage:["seal-use service logs [--lines 50]"]},{name:"run",summary:"Run the service in the foreground",usage:["seal-use service run [--port 8787] [--host 127.0.0.1]"]}]},{area:"stop",title:"Stop the background service",description:"Shortcut for stopping the background seal-use HTTP service daemon.",commands:[{name:"",summary:"Stop the background service daemon",usage:["seal-use stop"]}]},{area:"openapi",title:"OpenAPI specification",description:"Output embedded OpenAPI JSON specification.",commands:[{name:"",summary:"Print OpenAPI schema",usage:["seal-use openapi"]}]},{area:"doctor",title:"System diagnostic and environment health check",description:"Inspects runtime executable, filesystem paths, enterprise assets, and embedded specifications without modifying any files.",commands:[{name:"",summary:"Run complete system diagnostic health check",usage:["seal-use doctor [--quiet]"],options:[{flag:"--quiet",description:"Suppress formatted human dashboard on stderr"}]},{name:"guide",aliases:["doc","knowledge"],summary:"Read embedded system architecture & directory specification whitepaper",usage:["seal-use doctor guide"]},{name:"paths",aliases:["dirs"],summary:"Inspect core filesystem paths and directory health",usage:["seal-use doctor paths"]},{name:"tenant",aliases:["corp","enterprise"],summary:"Inspect tenant-level health contract, auth permissions, AI approval quota, and rules state",usage:["seal-use doctor tenant [--corp ] [--quiet]"],options:[{flag:"--corp ",description:"Enterprise ID or selector to diagnose"},{flag:"--quiet",description:"Suppress formatted dashboard on stderr"}]}]},{area:"test",title:"Automated test harnesses and rule regression matrix",description:"Run automated regression tests and decision comparison matrix across paired production and test environments.",commands:[{name:"regression",aliases:["regress","matrix"],summary:"Run automated rule regression test matrix against paired test enterprise",usage:["seal-use test regression [--corp ] [--samples ] [--dry-run] [--fail-on-flips]"],options:[{flag:"--corp ",description:"Target test enterprise or production parent (must be paired)"},{flag:"--samples ",description:"Number of historical production runs to replay (default: 10)"},{flag:"--dry-run",description:"Preview sample documents and verify quota without executing replayed audits"},{flag:"--fail-on-flips",description:"Exit with non-zero code if any decision flip is detected"},{flag:"--prod-corp ",description:"Explicit production enterprise source for sample documents"},{flag:"--test-corp ",description:"Explicit test enterprise target for replay"},{flag:"--quiet",description:"Suppress formatted summary dashboard on stderr"}]}]}]});import{writeFileSync as ZS1}from"node:fs";function El($){return $.map((Y)=>typeof Y==="string"?Y:String(Y)).join(" ")}function Oq($){if(!$.length)return"";return`${$.join(` `)} -`}function Nq($){return $.replace(/([?&](?:accessToken|token|returnToken)=)[^&\s]+/gi,"$1").replace(/(Bearer\s+)[A-Za-z0-9._~+/=-]+/gi,"$1")}function b0($,Y={}){FS1($,Y);let U=`${JSON.stringify($,null,2)} -`;if(Y.outputFile){ZS1(Y.outputFile,U),console.log(JSON.stringify({outputFile:Y.outputFile,bytes:Buffer.byteLength(U,"utf-8")},null,2));return}console.log(U.trimEnd())}function FS1($,Y={}){if(Y.allowFull||Y.outputFile)return;let U=Buffer.byteLength(JSON.stringify($),"utf-8");if(U>LS1)throw new pB(`Output is large (${U} bytes). Use --summary, --fields, --count, or --output-file; pass --full only when you really need the full response.`)}function L_0($,Y){if(Y)return;let U=$&&typeof $==="object"?$:{},z=typeof U.count==="number"?U.count:void 0,Q=Array.isArray(U.rules)?U.rules.length:void 0,J=Buffer.byteLength(JSON.stringify($),"utf-8"),I=z??Q??0;if(I>qS1||J>VS1)throw new pB(`Rule list is large (${I} rules, ${J} bytes). Use "seal-use rules list --summary" or "seal-use rules count"; pass --full only when you really need full descriptions.`,"seal-use rules list --summary")}function C0($){return{allowFull:Z0($.full)===!0,outputFile:h($.outputFile)??h($["output-file"])}}function F_0($=[]){console.log(q_0($))}var qS1=100,VS1=120000,V_0,LS1=200000;var J4=m(()=>{D4();L$();jl();V_0=["code","status","strictness","scope","updatedAt"]});var w_0={};x8(w_0,{selectCorp:()=>j1,runToolResult:()=>_9,runTool:()=>k0,globalConfigSummary:()=>o2});function j1($){let Y=s8(),U=_4(),z=u2(Y,{stateful:U.stateful,defaultCorpId:U.defaultCorpId,corpId:$},S3());return VA0(z.id),z}function o2($=_4()){return{mode:$.stateful?"stateful":"stateless",stateful:$.stateful,...$.stateful&&$.defaultCorpId?{defaultCorpId:$.defaultCorpId}:{},...$.testEnterprisesDir?{testEnterprisesDir:$.testEnterprisesDir}:{},lint:$.lint,configFile:Gz()}}async function k0($,Y,U,z,Q={}){b0(await _9($,Y,U,z),Q)}async function _9($,Y,U,z){let Q=Lq.find((K)=>K.name===$);if(!Q)throw Error(`Unknown Seal tool: ${$}`);let J=Object.fromEntries(Object.entries(z).filter(([,K])=>K!==void 0)),I=Q.handler;return I(Y,J,{corp:U})}var f4=m(()=>{y3();iB();wq();J4()});import{existsSync as M_0}from"node:fs";async function O_0($,Y){if(!M_0($))throw Error(`File not found: ${$}`);let U=hz($);console.log(JSON.stringify(await vz(U.fileBuffer,U.fileName,Y),null,2))}async function OT($,Y,U,z,Q){if($==="ready"||$==="status"){let J=Y??h(Q.options.file)??h(Q.options.input),I=await QT(U,z,{filePath:J,webhook:h(Q.options.webhook)??h(Q.options.selector)});if(console.error(`[webhook-ready] 企业环境: ${I.corp.name} (${I.corp.id}) [${I.stateMode}]`),I.corp.tenant?.name)console.error(`[webhook-ready] 租户信息: ${I.corp.tenant.name} (${I.corp.tenant.id})`);console.error(`[webhook-ready] 凭证状态: ${I.authStatus==="ok"?"OK":`异常 (${I.authError})`}`),console.error(`[webhook-ready] Webhook 通道: ${I.activeWebhooks.length} 个可用`);for(let K of I.activeWebhooks){let G=K.isDefault?" [默认通道]":"";console.error(` - ${K.name} (${K.id}) mode=${K.mode}${G}`)}if(I.materialPack)console.error(`[webhook-ready] 材料包预检: ${I.materialPack.valid?`通过 (${I.materialPack.documentCount} 单)`:`失败 (${I.materialPack.errors?.join("; ")})`}`);if(I.ready)console.error(`\uD83D\uDFE2 ${I.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${I.nextAction}`);else console.error(`\uD83D\uDD34 准备阶段未通过: ${I.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${I.nextAction}`);console.log(JSON.stringify(I,null,2));return}if($==="replay"){let J=Y??h(Q.options.recordId)??h(Q.options["record-id"])??h(Q.options.id),I=h(Q.options.recordIds)??h(Q.options["record-ids"]),K=I?I.split(",").map((c)=>c.trim()).filter(Boolean):void 0,G=h(Q.options.sn)??h(Q.options.documentSn)??h(Q.options["document-sn"]),H=h(Q.options.sns)??h(Q.options["document-sns"]),W=H?H.split(",").map((c)=>c.trim()).filter(Boolean):void 0,X=s0(Q.options.limit),Z=h(Q.options.status),q=h(Q.options.startDate)??h(Q.options["start-date"]),V=h(Q.options.endDate)??h(Q.options["end-date"]);if(!J&&!K&&!G&&!W&&X===void 0)throw Error("Usage: seal-use webhook replay [--sn ] [--limit ] [--status ] [--webhook ] [--source-corp ] [--target-corp ] [--dry-run]");let F=h(Q.options.sourceCorp)??h(Q.options["source-corp"])??h(Q.options.prodCorp)??h(Q.options["prod-corp"]),M=h(Q.options.targetCorp)??h(Q.options["target-corp"])??h(Q.options.testCorp)??h(Q.options["test-corp"]),w=Z0(Q.options.force)===!0,{sourceCorp:N,targetCorp:O}=dB({sourceCorpId:F,targetCorpId:M,activeCorp:z,force:w},j1),D=N.id===z.id?U:await B1(N),P=O.id===z.id?U:await B1(O),T=h(Q.options.webhook)??h(Q.options.selector),A=h(Q.options.snSuffix)??h(Q.options["sn-suffix"]),j=h(Q.options.snPrefix)??h(Q.options["sn-prefix"]),C=h(Q.options.docIdSuffix)??h(Q.options["doc-id-suffix"]),b=h(Q.options.docIdPrefix)??h(Q.options["doc-id-prefix"]),x=Z0(Q.options.dryRun)??Z0(Q.options["dry-run"]),i=await tI({query:{recordId:J,recordIds:K,sn:G,sns:W,limit:X,status:Z,startDate:q,endDate:V},sourceClient:D,targetClient:P,sourceCorp:N,targetCorp:O,webhookSelector:T,snPrefix:j,snSuffix:A,docIdPrefix:b,docIdSuffix:C,dryRun:x});if(x){console.error(`[webhook-replay] 预览模式:已成功从 ${N.name} 提取单据并转换为 Webhook Payload(未实际推送)。`),console.log(JSON.stringify(i,null,2));return}if(i.success)if(i.totalCount===1&&i.replayedDocument)console.error(`\uD83D\uDFE2 成功重放单据「${i.replayedDocument.documentSN}」至 ${O.name} (${i.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDFE2 成功重放 ${i.successCount} 条单据(来自「${N.name}」)至「${O.name}」(${i.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDD34 单据重放部分或全部失败(成功 ${i.successCount} 条,失败 ${i.failureCount} 条)至「${O.name}」`);if(console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${O.id} --limit ${i.totalCount}`),console.log(JSON.stringify(i,null,2)),!i.success)process.exitCode=1;return}if($==="resource-pack"||$==="pack"||$==="material-pack"||$==="material-pack-push"||$==="resource-pack-push"){let J=$==="material-pack-push"||$==="resource-pack-push"?"push":Y;if(J==="export"||J==="pull"){let Z=h(Q.options.recordId)??h(Q.options["record-id"])??h(Q.options.id)??(Q.command[3]&&!Q.command[3].endsWith(".zip")&&!Q.command[3].startsWith("-")?Q.command[3]:void 0),q=h(Q.options.recordIds)??h(Q.options["record-ids"]),V=q?q.split(",").map((C)=>C.trim()).filter(Boolean):void 0,F=s0(Q.options.limit)??(Z||V?void 0:10),M=h(Q.options.status),w=h(Q.options.startDate)??h(Q.options["start-date"]),N=h(Q.options.endDate)??h(Q.options["end-date"]),O=h(Q.options.docIdPrefix)??h(Q.options["doc-id-prefix"]),D=h(Q.options.docIdSuffix)??h(Q.options["doc-id-suffix"]),P=Z0(Q.options["no-attachments"])===!0?!1:Z0(Q.options.attachments)!==!1,T=h(Q.options.output)??h(Q.options.outputFile)??h(Q.options["output-file"])??h(Q.options.o)??h(Q.options.file)??(Q.command[3]?.endsWith(".zip")?Q.command[3]:void 0),A=Z0(Q.options.toDownloads)??Z0(Q.options["to-downloads"])??!1,j=await UT(U,z,{recordId:Z,recordIds:V,limit:F,status:M,startDate:w,endDate:N,docIdPrefix:O,docIdSuffix:D,includeAttachments:P,outputFile:T,toDownloads:A});console.error(`\uD83D\uDFE2 成功导出 Webhook 资源包: ${j.filePath} (共 ${j.recordCount} 条单据,${j.attachmentCount} 个附件,${(j.fileSizeBytes/1024).toFixed(1)} KB)`),console.error(`\uD83D\uDC49 Next action: ${j.nextAction}`),console.log(JSON.stringify(j,null,2));return}let I=$==="material-pack-push"||$==="resource-pack-push"?h(Q.options.file)??h(Q.options.input):Q.command[3]??h(Q.options.file)??h(Q.options.input);if(!I)throw Error("Usage: seal-use webhook resource-pack [options]");if(!M_0(I))throw Error(`File not found: ${I}`);let K=hz(I);if(J==="preview"){console.log(JSON.stringify(await vz(K.fileBuffer,K.fileName),null,2));return}if(J!=="push")throw Error("Usage: seal-use webhook resource-pack [options]");let G=h(Q.options.webhook)??h(Q.options.selector),H=await J$(U,z.seal.endpoints.approvalStylePreferences),W;if(G)W=S7(H,G);else if(H.length===1)W=H[0],console.error(`\uD83D\uDC49 自动锁定唯一可用 Webhook 通道: ${W.name} (${W.id})`);else if(H.length>1){let Z=H.map((q)=>`"${q.name}" (${q.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${Z}],请通过 --webhook 指定目标通道。`)}else throw new w4("当前租户未配置任何 Webhook 集成通道。",1,`seal-use webhook add --name --result-url --corp ${z.id}`);let X=await zT(K.fileBuffer,K.fileName,{webhookUrl:W.incomingDocumentWebhook.url,secret:W.secret,materialPackFilePolicy:W.materialPackFilePolicy,customHeaders:A6(z.seal)});console.error(`\uD83D\uDFE2 Webhook 资源包推送完成 (成功 ${X.results.length} 条单据)`),console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${z.id} --limit ${X.results.length}`),console.log(JSON.stringify(X,null,2));return}if($==="list"){await k0("seal_webhook_list",U,z,{query:h(Q.options.query)??h(Q.options.keyword),includeSecret:MT(Q.options)},C0(Q.options));return}if($==="get"||$==="find"){let J=Y??h(Q.options.selector)??h(Q.options.id);if(!J)throw Error("Usage: seal-use webhook get [--show-secret]");await k0("seal_webhook_get",U,z,{selector:J,includeSecret:MT(Q.options)},C0(Q.options));return}if($==="add"||$==="create"){let J=h(Q.options.name)??Y,I=h(Q.options.resultUrl)??h(Q.options["result-url"])??h(Q.options.outgoingResultWebhook)??h(Q.options["outgoing-result-webhook"]);if(!J||!I)throw Error("Usage: seal-use webhook add --name --result-url [--mode assisted|semi_automatic|fully_automatic]");let K=wT(Q.options),G=gK(Q.options),H=Z0(Q.options.dryRun)??Z0(Q.options["dry-run"]);await k0("seal_webhook_add",U,z,{name:J,mode:FT(h(Q.options.mode)),outgoingResultWebhook:I,autoApprovalRate:K,secret:h(Q.options.secret),materialPackFilePolicy:G,dryRun:H},C0(Q.options));return}if($==="update"){let J=Y??h(Q.options.selector)??h(Q.options.id);if(!J)throw Error("Usage: seal-use webhook update [options]");let I=h(Q.options.secret),K=Z0(Q.options.rotateSecret)??Z0(Q.options["rotate-secret"]);if(I!==void 0&&K)throw m4("Use either --secret or --rotate-secret, not both");let G=h(Q.options.name),H=FT(h(Q.options.mode)),W=h(Q.options.resultUrl)??h(Q.options["result-url"])??h(Q.options.outgoingResultWebhook)??h(Q.options["outgoing-result-webhook"]),X=wT(Q.options),Z=gK(Q.options),q=Z0(Q.options.dryRun)??Z0(Q.options["dry-run"]);if(G===void 0&&H===void 0&&W===void 0&&X===void 0&&I===void 0&&!K&&Z===void 0&&!q)throw m4("Webhook update requires at least one field option");await k0("seal_webhook_update",U,z,{selector:J,name:G,mode:H,outgoingResultWebhook:W,autoApprovalRate:X,secret:I,rotateSecret:K,materialPackFilePolicy:Z,dryRun:q},C0(Q.options));return}if($==="delete"){let J=Y??h(Q.options.selector)??h(Q.options.id),I=Z0(Q.options.dryRun)??Z0(Q.options["dry-run"]);if(!J)throw Error("Usage: seal-use webhook delete [--yes|--dry-run]");if(Z0(Q.options.yes)!==!0&&!I)throw D9("Refusing to delete Webhook integration without --yes",`seal-use webhook delete ${J} --corp ${z.id} --yes`);await k0("seal_webhook_delete",U,z,{selector:J,confirm:!0,dryRun:I},C0(Q.options));return}throw Error(`Unknown webhook command: ${$??""}. Run 'seal-use help' for available commands.`)}var Cl=m(()=>{i8();f4();X6();X6();SZ();Xl();D4();J4();L$()});async function N_0($,Y,U,z,Q){if($==="replay"){await OT("replay",Y,U,z,Q);return}if($==="summary"){let J=await _9("seal_approval_runs_summary",U,z,{date:h(Q.options.date),timezone:h(Q.options.timezone),limit:s0(Q.options.limit),startDate:h(Q.options.startDate),endDate:h(Q.options.endDate),status:h(Q.options.status),taskMode:h(Q.options.taskMode),manualApprovalStatus:h(Q.options.manualApprovalStatus),sourceDocumentSN:h(Q.options.sourceDocumentSN),sourceDocumentId:h(Q.options.sourceDocumentId),humanResult:h(Q.options.humanResult),query:h(Q.options.query)});if(J?.matched===0&&J?.total>0)console.error(`提示:在 ${J.date} 未匹配到记录(该企业共有 ${J.total} 条历史记录)。可使用 --date YYYY-MM-DD 指定日期,或运行 seal-use approval-runs list --limit 10 查看最近记录。`);b0(J,C0(Q.options));return}if($==="stats"){await k0("seal_approval_runs_stats",U,z,{since:h(Q.options.since),dedupeBy:h(Q.options.dedupeBy)??h(Q.options["dedupe-by"]),status:h(Q.options.status),sourceSystem:h(Q.options.sourceSystem)??h(Q.options["source-system"]),taskMode:h(Q.options.taskMode)??h(Q.options["task-mode"])},C0(Q.options));return}if($==="count"){let J=h(Q.options.start)??h(Q.options.startDate)??h(Q.options.since),I=h(Q.options.end)??h(Q.options.endDate);await k0("seal_approval_runs_count",U,z,{status:h(Q.options.status),sourceSystem:h(Q.options.sourceSystem)??h(Q.options["source-system"]),taskMode:h(Q.options.taskMode)??h(Q.options["task-mode"]),search:h(Q.options.search)??h(Q.options.query),startDate:J?x2(J,!1):void 0,endDate:I?x2(I,!0):void 0},C0(Q.options));return}if($==="search"||$==="list"){await k0("seal_approval_runs_search",U,z,{limit:s0(Q.options.limit),offset:s0(Q.options.offset),startDate:h(Q.options.startDate)??h(Q.options.start)??h(Q.options.since),endDate:h(Q.options.endDate)??h(Q.options.end),status:h(Q.options.status),taskMode:h(Q.options.taskMode),manualApprovalStatus:h(Q.options.manualApprovalStatus),sourceDocumentSN:h(Q.options.sourceDocumentSN),sourceDocumentId:h(Q.options.sourceDocumentId),humanResult:h(Q.options.humanResult),query:h(Q.options.query),includeBridge:Z0(Q.options.includeBridge)},C0(Q.options));return}if($==="bridge"){await k0("seal_approval_run_langfuse_bridge_get",U,z,{recordId:h(Q.options.recordId),sourceDocumentSN:h(Q.options.sourceDocumentSN),sourceDocumentId:h(Q.options.sourceDocumentId),simulationBatchId:h(Q.options.simulationBatchId),limit:s0(Q.options.limit)},C0(Q.options));return}if($==="pick"){let J=Y??h(Q.options.query)??h(Q.options.sn);if(!J)throw Error("Usage: seal-use approval-runs pick --sn ");await k0("seal_approval_run_pick",U,z,{query:J,sn:h(Q.options.sn),batchId:h(Q.options.batch)??h(Q.options.batchId),latest:Z0(Q.options.latest),fields:h(Q.options.fields),limit:s0(Q.options.limit),includeBridge:Z0(Q.options.includeBridge)},C0(Q.options));return}if($==="get"){let J=Q.command[2];if(!J)throw Error("Missing approval run recordId");if(Z0(Q.options.flow)){await k0("seal_approval_run_flow_get",U,z,{recordId:J},C0(Q.options));return}await k0("seal_approval_run_get",U,z,{recordId:J,fields:h(Q.options.fields),summary:Z0(Q.options.summary)},C0(Q.options));return}if($==="cited-rules"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs cited-rules ");await k0("seal_approval_run_cited_rules_get",U,z,{recordId:J},C0(Q.options));return}if($==="document-summary"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs document-summary ");await k0("seal_approval_run_document_summary_get",U,z,{recordId:J},C0(Q.options));return}if($==="attachments"){if(Q.command[2]==="download"){let H=Q.command[3];if(!H)throw Error("Usage: seal-use approval-runs attachments download [--all] [--name ] [--out-dir ]");let W=await H4(U,H),X=await SB({record:W,all:Z0(Q.options.all),name:h(Q.options.name),outDir:h(Q.options["out-dir"])??h(Q.options.outDir)??h(Q.options.dir)});if(b0(X,C0(Q.options)),X.total>0&&X.downloaded===0)throw Error(`所有 ${X.total} 个附件下载均失败。`);return}let I=Q.command[2];if(!I)throw Error("Usage: seal-use approval-runs attachments | seal-use approval-runs attachments download ");if(Z0(Q.options.download)){let H=await H4(U,I),W=await SB({record:H,all:Z0(Q.options.all)??!0,name:h(Q.options.name),outDir:h(Q.options["out-dir"])??h(Q.options.outDir)??h(Q.options.dir)});if(b0(W,C0(Q.options)),W.total>0&&W.downloaded===0)throw Error(`所有 ${W.total} 个附件下载均失败。`);return}let K=await H4(U,I),G=f2(K,{summary:Z0(Q.options.summary)});b0(G,C0(Q.options));return}if($==="download"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs download [--all] [--name ] [--out-dir ]");let I=await H4(U,J),K=await SB({record:I,all:Z0(Q.options.all),name:h(Q.options.name),outDir:h(Q.options["out-dir"])??h(Q.options.outDir)??h(Q.options.dir)});if(b0(K,C0(Q.options)),K.total>0&&K.downloaded===0)throw Error(`所有 ${K.total} 个附件下载均失败。`);return}if($==="result"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs result [--summary]");await k0("seal_approval_run_result_get",U,z,{recordId:J,summary:Z0(Q.options.summary)},C0(Q.options));return}if($==="link"||$==="url"){let J=Z0(Q.options["auto-login"])??Z0(Q.options.autoLogin)??Z0(Q.options["hose-sso"])??Z0(Q.options.hoseSso)??Z0(Q.options.sso)??!1,I=h(Q.options.type),K=s0(Q.options.expire)??s0(Q.options.expiresIn)??7200,G=Y??h(Q.options.id)??h(Q.options.recordId),H=h(Q.options.sn)??h(Q.options.sourceDocumentSN),W=h(Q.options.sourceDocumentId);if(!G&&!H&&!W)throw Error("Usage: seal-use approval-runs link [--sn ] [--type seal-result|hose-document] [--auto-login] [--corp ]");await k0("seal_approval_run_url_get",U,z,{recordId:G,sourceDocumentSN:H,sourceDocumentId:W,type:I,autoLogin:J,sso:J,expiresIn:K},C0(Q.options));return}if($==="flow"){let J=Y??Q.command[2]??h(Q.options.sn)??h(Q.options.id)??h(Q.options.recordId);if(!J)throw Error("Usage: seal-use approval-runs flow ");await k0("seal_approval_run_flow_get",U,z,{target:J},C0(Q.options));return}if($==="export"){let J=h(Q.options.sn)??h(Q.options.sns)??h(Q.options.sourceDocumentSN),I=J?J.split(/[,;\s]+/).map((G)=>G.trim()).filter(Boolean):void 0,K=await vB(U,z,{sns:I,limit:s0(Q.options.limit),startDate:h(Q.options["start-date"])??h(Q.options.startDate)??h(Q.options.start)??h(Q.options.since),endDate:h(Q.options["end-date"])??h(Q.options.endDate)??h(Q.options.end)??h(Q.options.until),status:h(Q.options.status),manualApprovalStatus:h(Q.options["manual-status"])??h(Q.options.manualStatus)??h(Q.options.manualApprovalStatus),includeCompletedOnly:Z0(Q.options["completed-only"])??Z0(Q.options.completedOnly),outputFile:h(Q.options.out)??h(Q.options.output)??h(Q.options.file),toDownloads:Z0(Q.options["to-downloads"])??Z0(Q.options.downloads)??Z0(Q.options.download),force:Z0(Q.options.force),withFlow:Z0(Q.options["with-flow"])??(Z0(Q.options["no-flow"])?!1:void 0),flowConcurrency:s0(Q.options["flow-concurrency"])??s0(Q.options.concurrency),excludeDeleted:Z0(Q.options["exclude-deleted"])??(Z0(Q.options["include-deleted"])?!1:void 0),taskMode:h(Q.options.taskMode)??h(Q.options["task-mode"]),sourceSystem:h(Q.options.sourceSystem)??h(Q.options["source-system"]),includeSimulation:Z0(Q.options["include-simulation"])??Z0(Q.options.includeSimulation)??Z0(Q.options.simulation)});if(console.error(`\uD83D\uDC49 查看导出文件: open "${K.filePath}"`),!Q.options["with-flow"]&&z.source.type==="hose")console.error("\uD83D\uDC49 提示: 追加 --with-flow 可额外拉取合思原生审批流,输出 E人工行为 / E人工意见。");b0(K,C0(Q.options));return}throw Error(`Unknown approval-runs command: ${$??""}. Run 'seal-use help' for available commands.`)}var D_0=m(()=>{X6();hB();gB();f4();D4();J4();Cl()});async function A_0($,Y,U,z,Q){if($==="insight"||$==="insight-stats"||$==="stats"){await k0("seal_insight_stats_get",U,z,{startDate:h(Q.options.startDate)??h(Q.options["start-date"]),endDate:h(Q.options.endDate)??h(Q.options["end-date"]),limit:s0(Q.options.limit)},C0(Q.options));return}if($==="risks"||$==="risks-by-tag"||$==="tag-risks"){let J=Y??h(Q.options.tagId)??h(Q.options["tag-id"]);if(!J)throw Error("Usage: seal-use analytics risks [--start-date ] [--end-date ] [--corp ]");await k0("seal_insight_risks_by_tag_get",U,z,{tagId:J,startDate:h(Q.options.startDate)??h(Q.options["start-date"]),endDate:h(Q.options.endDate)??h(Q.options["end-date"])},C0(Q.options));return}if($==="performance"||$==="perf"){await k0("seal_insight_performance_get",U,z,{startDate:h(Q.options.startDate)??h(Q.options["start-date"])??s0(Q.options.startDate)??s0(Q.options["start-date"]),endDate:h(Q.options.endDate)??h(Q.options["end-date"])??s0(Q.options.endDate)??s0(Q.options["end-date"])},C0(Q.options));return}if($==="analyze"||$==="reanalyze"){let J=Y??h(Q.options.recordId)??h(Q.options["record-id"]);if(!J)throw Error("Usage: seal-use analytics analyze [--corp ]");await k0("seal_insight_record_analyze",U,z,{recordId:J},C0(Q.options));return}if($==="export"||$==="report"||$==="download"){let J=await IT(U,z,{startDate:h(Q.options.startDate)??h(Q.options["start-date"]),endDate:h(Q.options.endDate)??h(Q.options["end-date"]),limit:s0(Q.options.limit),outputFile:h(Q.options.out)??h(Q.options["output-file"])??h(Q.options.outputFile),toDownloads:Z0(Q.options.downloads)??Z0(Q.options["to-downloads"]),force:Z0(Q.options.force)});b0(J);return}throw Error(`Unknown analytics command: ${$??""}. Run 'seal-use help' for available commands.`)}var B_0=m(()=>{Zl();f4();D4();J4()});var T_0,j_0,NT,P_0,r4;var a$=m(()=>{T_0=/^[\uD800-\uDBFF]$/,j_0=/^[\uDC00-\uDFFF]$/,NT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;(function($){$[$.Unknown=0.0000000000001]="Unknown",$[$.Rule=0.000000000001]="Rule",$[$.DICT=0.00000002]="DICT",$[$.Surname=1]="Surname",$[$.Custom=1]="Custom"})(P_0||(P_0={}));r4={Normal:1,Surname:10,Custom:100}});function r2($){var Y;return $.length-(((Y=$.match(NT))===null||Y===void 0?void 0:Y.length)||0)}function F$($){if(NT.lastIndex=0,!NT.test($))return $.split("");let Y=[],U=0;while(U<$.length){let z=$[U];if(T_0.test(z)&&j_0.test($[U+1]))Y.push($.substring(U,U+2)),U+=2;else Y.push(z),U+=1}return Y}class yK{constructor(){this.NumberDICT=[],this.StringDICT=new Map}get($){if($.length>1)return this.StringDICT.get($);else{let Y=$.charCodeAt(0);return this.NumberDICT[Y]}}set($,Y){if($.length>1)this.StringDICT.set($,Y);else{let U=$.charCodeAt(0);this.NumberDICT[U]=Y}}clear(){this.NumberDICT=[],this.StringDICT.clear()}}var v9=m(()=>{a$()});function wS1(){let $={零一:"líng yī",〇一:"líng yī",十一:"shí yī",一十:"yī shí",第一:"dì yī",一十一:"yī shí yī"};for(let Y in E_0)for(let U in C_0){let z=`${Y}${U}`,Q=`${E_0[Y]} ${C_0[U]}`;$[z]=Q}return $}var __0,v_0,h_0,S_0,g_0,E_0,C_0,R_0,y_0,Rl,k_0,x_0;var _l=m(()=>{a$();v9();__0=["zh","ch","sh","z","c","s","b","p","m","f","d","t","n","l","g","k","h","j","q","x","r","y","w",""],v_0=["j","q","x"],h_0=["uān","uán","uǎn","uàn","uan","uē","ué","uě","uè","ue","ūn","ún","ǔn","ùn","un","ū","ú","ǔ","ù","u"],S_0={uān:"üān",uán:"üán",uǎn:"üǎn",uàn:"üàn",uan:"üan",uē:"üē",ué:"üé",uě:"üě",uè:"üè",ue:"üe",ūn:"ǖn",ún:"ǘn",ǔn:"ǚn",ùn:"ǜn",un:"ün",ū:"ǖ",ú:"ǘ",ǔ:"ǚ",ù:"ǜ",u:"ü"},g_0=["ia","ian","iang","iao","ie","iu","iong","ua","uai","uan","uang","ue","ui","uo","üan","üe","van","ve"],E_0={一:"yì",二:"èr",三:"sān",四:"sì",五:"wǔ",六:"liù",七:"qī",八:"bā",九:"jiǔ",十:"shí",百:"bǎi",千:"qiān",万:"wàn",亿:"yì",单:"dān",两:"liǎng",双:"shuāng",多:"duō",几:"jǐ",十一:"shí yī",零一:"líng yī",第一:"dì yī",一十:"yī shí",一十一:"yī shí yī"},C_0={重:"chóng",行:"háng",斗:"dǒu",更:"gēng"};R_0=wS1(),y_0=Object.keys(R_0).map(($)=>({zh:$,pinyin:R_0[$],probability:0.000000000001,length:r2($),priority:r4.Normal,dict:Symbol("rule")})),Rl={不:{bú:[4]},一:{yí:[4],yì:[1,2,3]}},k_0={不:["的","而","之","后","也","还","地"],一:["的","而","之","后","也","还","是"]},x_0=Object.keys(Rl)});var f_0,T5;var DT=m(()=>{v9();f_0={"bǎng páng pāng":["膀"],líng:["〇","伶","凌","刢","囹","坽","夌","姈","婈","孁","岺","彾","掕","昤","朎","柃","棂","櫺","欞","泠","淩","澪","灵","燯","爧","狑","玲","琌","瓴","皊","砱","祾","秢","竛","笭","紷","綾","绫","羐","羚","翎","聆","舲","苓","菱","蓤","蔆","蕶","蛉","衑","裬","詅","跉","軨","輘","酃","醽","鈴","錂","铃","閝","陵","零","霊","霗","霛","霝","靈","駖","魿","鯪","鲮","鴒","鸰","鹷","麢","齡","齢","龄","龗","㥄"],yī:["一","乊","伊","依","医","吚","咿","噫","壱","壹","夁","嫛","嬄","弌","揖","撎","檹","毉","洢","渏","漪","瑿","畩","祎","禕","稦","繄","蛜","衤","譩","辷","郼","醫","銥","铱","鷖","鹥","黟","黳"],"dīng zhēng":["丁"],"kǎo qiǎo yú":["丂"],qī:["七","倛","僛","凄","嘁","墄","娸","悽","慼","慽","戚","捿","柒","桤","桼","棲","榿","欺","沏","淒","漆","紪","緀","萋","褄","諆","迉","郪","鏚","霋","魌","鶈"],shàng:["丄","尙","尚","恦","緔","绱"],xià:["丅","下","乤","圷","夏","夓","懗","梺","疜","睱","罅","鎼","鏬"],hǎn:["丆","喊","浫","罕","豃","㘎"],"wàn mò":["万"],zhàng:["丈","仗","墇","嶂","帐","帳","幛","扙","杖","涱","痮","瘬","瘴","瞕","粀","胀","脹","賬","账","障"],sān:["三","厁","叁","弎","毵","毶","毿","犙","鬖"],"shàng shǎng shang":["上"],"qí jī":["丌","其","奇"],"bù fǒu":["不"],"yǔ yù yú":["与"],miǎn:["丏","偭","免","冕","勉","勔","喕","娩","愐","汅","沔","湎","睌","緬","缅","腼","葂","靦","鮸","\uD867\uDF83"],gài:["丐","乢","匃","匄","戤","概","槩","槪","溉","漑","瓂","葢","鈣","钙","\uD872\uDFBF"],chǒu:["丑","丒","侴","吜","杽","瞅","矁","醜","魗"],zhuān:["专","叀","嫥","専","專","瑼","甎","砖","磗","磚","蟤","諯","鄟","顓","颛","鱄","䏝"],"qiě jū":["且"],pī:["丕","伓","伾","噼","坯","岯","憵","批","披","炋","狉","狓","砒","磇","礔","礕","秛","秠","耚","豾","邳","鈚","鉟","銔","錃","錍","霹","駓","髬","魾","\uD873\uDCF5"],shì:["世","丗","亊","事","仕","侍","冟","势","勢","卋","呩","嗜","噬","士","奭","嬕","室","市","式","弑","弒","恀","恃","戺","拭","揓","是","昰","枾","柿","栻","澨","烒","煶","眂","眎","眡","睗","示","礻","筮","簭","舐","舓","襫","視","视","觢","試","誓","諡","謚","试","谥","貰","贳","軾","轼","逝","遾","釈","释","釋","鈰","鉃","鉽","铈","飾","餙","餝","饰","鰘","䏡","\uD872\uDD0A"],qiū:["丘","丠","坵","媝","恘","恷","楸","秋","秌","穐","篍","緧","萩","蘒","蚯","蝵","蟗","蠤","趥","邱","鞦","鞧","鰌","鰍","鳅","鶖","鹙","龝"],bǐng:["丙","屛","怲","抦","昞","昺","柄","棅","炳","禀","秉","稟","苪","蛃","邴","鈵","陃","鞆","餅","餠","饼"],yè:["业","亱","僷","墷","夜","嶪","嶫","抴","捙","擛","擪","擫","晔","曄","曅","曗","曳","曵","枼","枽","業","洂","液","澲","烨","燁","爗","璍","皣","瞱","瞸","礏","腋","葉","謁","谒","邺","鄴","鍱","鐷","靥","靨","頁","页","餣","饁","馌","驜","鵺","鸈"],cóng:["丛","从","叢","婃","孮","従","徔","徖","悰","樷","欉","淙","灇","爜","琮","藂","誴","賨","賩","錝"],dōng:["东","倲","冬","咚","埬","岽","崬","徚","昸","東","氡","氭","涷","笗","苳","菄","蝀","鮗","鯟","鶇","鶫","鸫","鼕","\uD871\uDFFD"],sī:["丝","俬","凘","厮","司","咝","嘶","噝","媤","廝","恖","撕","斯","楒","泀","澌","燍","禗","禠","私","糹","絲","緦","纟","缌","罳","蕬","虒","蛳","蜤","螄","蟖","蟴","鉰","銯","鍶","鐁","锶","颸","飔","騦","鷥","鸶","鼶","㟃"],chéng:["丞","呈","城","埕","堘","塍","塖","宬","峸","惩","懲","成","承","挰","掁","揨","枨","棖","橙","檙","洆","溗","澂","珵","珹","畻","程","窚","筬","絾","脭","荿","誠","诚","郕","酲","鋮","铖","騬","鯎"],diū:["丟","丢","銩","铥"],liǎng:["両","两","兩","唡","啢","掚","緉","脼","蜽","裲","魉","魎","\uD871\uDF2F"],yǒu:["丣","卣","友","梄","湵","牖","禉","羑","聈","苃","莠","蜏","酉","銪","铕","黝"],yán:["严","厳","啱","喦","嚴","塩","壛","壧","妍","姸","娫","娮","岩","嵒","嵓","巌","巖","巗","延","揅","昖","楌","檐","櫩","欕","沿","炎","炏","狿","琂","盐","碞","筵","簷","莚","蔅","虤","蜒","言","訁","訮","詽","讠","郔","閆","閻","闫","阎","顏","顔","颜","鹽","麣","\uD86C\uDD27"],bìng:["並","併","倂","傡","垪","摒","栤","病","窉","竝","誁","靐","鮩"],"sàng sāng":["丧"],gǔn:["丨","惃","滚","滾","磙","緄","绲","蓘","蔉","衮","袞","輥","辊","鮌","鯀","鲧"],jiū:["丩","勼","啾","揪","揫","朻","究","糾","纠","萛","赳","阄","鬏","鬮","鳩","鸠"],"gè gě":["个","個","各"],yā:["丫","圧","孲","庘","押","枒","桠","椏","錏","鐚","鴉","鴨","鵶","鸦","鸭"],pán:["丬","媻","幋","槃","洀","瀊","爿","盘","盤","磐","縏","蒰","蟠","蹒","蹣","鎜","鞶"],"zhōng zhòng":["中"],jǐ:["丮","妀","己","戟","挤","掎","撠","擠","橶","泲","犱","脊","虮","蟣","魢","鱾","麂"],jiè:["丯","介","借","唶","堺","屆","届","岕","庎","徣","戒","楐","犗","玠","琾","界","畍","疥","砎","蚧","蛶","衸","褯","誡","诫","鎅","骱","魪"],fēng:["丰","仹","偑","僼","凨","凬","凮","妦","寷","封","峯","峰","崶","枫","楓","檒","沣","沨","渢","灃","烽","犎","猦","琒","疯","瘋","盽","砜","碸","篈","蘴","蜂","蠭","豐","鄷","酆","鋒","鎽","鏠","锋","霻","靊","飌","麷"],"guàn kuàng":["丱"],chuàn:["串","汌","玔","賗","釧","钏"],chǎn:["丳","产","冁","剷","囅","嵼","旵","浐","滻","灛","產","産","簅","蒇","蕆","諂","譂","讇","谄","鏟","铲","閳","闡","阐","骣","\uD870\uDEA4"],lín:["临","冧","壣","崊","嶙","斴","晽","暽","林","潾","瀶","燐","琳","璘","瞵","碄","磷","粦","粼","繗","翷","臨","轔","辚","遴","邻","鄰","鏻","阾","隣","霖","驎","鱗","鳞","麐","麟","\uD873\uDD0A","\uD872\uDF78"],zhuó:["丵","劅","卓","啄","圴","妰","娺","撯","擆","擢","斫","斮","斱","斲","斵","晫","椓","浊","浞","濁","灼","烵","琸","硺","禚","窡","籗","籱","罬","茁","蠗","蠿","諁","諑","謶","诼","酌","鐲","镯","鵫","鷟","䓬","\uD873\uDE26"],zhǔ:["丶","主","劯","嘱","囑","宔","帾","拄","渚","濐","煑","煮","燝","瞩","矚","罜","詝","陼","鸀","麈","\uD872\uDCDE"],bā:["丷","仈","八","叭","哵","夿","岜","巴","捌","朳","玐","疤","笆","粑","羓","芭","蚆","豝","釟"],wán:["丸","刓","完","岏","抏","捖","汍","烷","玩","琓","笂","紈","纨","翫","芄","貦","頑","顽"],dān:["丹","勯","匰","単","妉","媅","殚","殫","甔","眈","砃","箪","簞","耼","耽","聃","聸","褝","襌","躭","郸","鄲","酖","頕"],"wèi wéi":["为"],"jǐng dǎn":["丼"],"lì lí":["丽"],jǔ:["举","弆","挙","擧","椇","榉","榘","櫸","欅","矩","筥","聥","舉","莒","蒟","襷","踽","齟","龃"],piě:["丿","苤","鐅","\uD872\uDF6F"],fú:["乀","伏","俘","凫","刜","匐","咈","哹","垘","孚","岪","巿","帗","幅","幞","弗","彿","怫","扶","柫","栿","桴","氟","泭","浮","涪","澓","炥","玸","甶","畉","癁","祓","福","稪","符","箙","紱","紼","絥","綍","绂","绋","罘","罦","翇","艀","芙","芣","苻","茀","茯","菔","葍","虙","蚨","蜉","蝠","袚","袱","襆","襥","諨","豧","踾","輻","辐","郛","鉘","鉜","韍","韨","颫","髴","鮄","鮲","鳧","鳬","鴔","鵩","黻"],"yí jí":["乁"],yì:["乂","义","亄","亦","亿","伇","伿","佾","俋","億","兿","刈","劓","劮","勚","勩","匇","呓","呭","呹","唈","囈","圛","坄","垼","埸","奕","嫕","嬑","寱","屹","峄","嶧","帟","帠","幆","廙","异","弈","弋","役","忆","怈","怿","悒","意","憶","懌","懿","抑","挹","敡","易","晹","曀","曎","杙","枍","棭","榏","槸","檍","歝","殔","殪","殹","毅","浂","浥","浳","湙","溢","潩","澺","瀷","炈","焲","熠","熤","熼","燚","燡","燱","獈","玴","異","疫","痬","瘗","瘞","瘱","癔","益","瞖","穓","竩","篒","縊","繶","繹","绎","缢","義","羿","翊","翌","翳","翼","耴","肄","肊","膉","臆","艗","艺","芅","苅","萟","蓺","薏","藙","藝","蘙","虉","蜴","螠","衪","袣","裔","裛","褹","襼","訲","訳","詍","詣","誼","譯","議","讛","议","译","诣","谊","豙","豛","豷","貖","贀","跇","轶","逸","邑","鄓","醷","釴","鈠","鎰","鐿","镒","镱","阣","隿","霬","饐","駅","驛","驿","骮","鮨","鶂","鶃","鶍","鷁","鷊","鷧","鷾","鸃","鹝","鹢","黓","齸","\uD872\uDF29","㑊","\uD86C\uDD37","\uD871\uDFC1"],nǎi:["乃","倷","奶","嬭","廼","氖","疓","艿","迺","釢"],wǔ:["乄","五","仵","伍","侮","倵","儛","午","啎","妩","娬","嫵","庑","廡","忤","怃","憮","摀","武","潕","熓","牾","玝","珷","瑦","甒","碔","舞","躌","迕","逜","陚","鵡","鹉","\uD84F\uDC98"],jiǔ:["久","乆","九","乣","奺","杦","汣","灸","玖","紤","舏","酒","镹","韭","韮"],"tuō zhé":["乇","杔","馲"],"me mó ma yāo":["么"],zhī:["之","倁","卮","巵","搘","支","栀","梔","椥","榰","汁","泜","疷","祗","祬","秓","稙","綕","肢","胑","胝","脂","芝","蘵","蜘","衼","隻","鳷","鴲","鼅","\uD85A\uDF5C"],"wū wù":["乌"],zhà:["乍","咤","宱","搾","榨","溠","痄","蚱","詐","诈","醡","霅","䃎"],hū:["乎","乯","匢","匫","呼","唿","嘑","垀","寣","幠","忽","惚","昒","歑","泘","淴","滹","烀","苸","虍","虖","謼","軤","轷","雐"],fá:["乏","伐","傠","坺","垡","墢","姂","栰","浌","瞂","笩","筏","罚","罰","罸","藅","閥","阀"],"lè yuè yào lào":["乐","樂"],yín:["乑","吟","噖","嚚","圁","垠","夤","婬","寅","峾","崟","崯","檭","殥","泿","淫","滛","烎","犾","狺","璌","硍","碒","荶","蔩","訔","訚","訡","誾","鄞","鈝","銀","银","霪","鷣","齦"],pīng:["乒","俜","娉","涄","甹","砯","聠","艵","頩"],pāng:["乓","滂","胮","膖","雱","霶"],qiáo:["乔","侨","僑","嫶","憔","桥","槗","樵","橋","櫵","犞","瞧","硚","礄","荍","荞","蕎","藮","譙","趫","鐈","鞒","鞽","顦"],hǔ:["乕","琥","萀","虎","虝","錿","鯱"],guāi:["乖"],"chéng shèng":["乗","乘","娍"],yǐ:["乙","乛","以","倚","偯","嬟","崺","已","庡","扆","攺","敼","旑","旖","檥","矣","礒","笖","舣","艤","苡","苢","蚁","螘","蟻","裿","踦","輢","轙","逘","酏","釔","鈘","鉯","钇","顗","鳦","齮","\uD86D\uDDAE","\uD873\uDE88"],"háo yǐ":["乚"],"niè miē":["乜"],qǐ:["乞","企","启","唘","啓","啔","啟","婍","屺","杞","棨","玘","盀","綺","绮","芑","諬","起","邔","闙"],yě:["也","冶","嘢","埜","壄","漜","野"],xí:["习","喺","媳","嶍","席","椺","檄","漝","習","蓆","袭","襲","覡","觋","謵","趘","郋","鎴","隰","霫","飁","騱","騽","驨","鰼","鳛","\uD840\uDD64","\uD86D\uDE2C"],xiāng:["乡","厢","廂","忀","楿","欀","湘","瓖","稥","箱","緗","缃","膷","芗","萫","葙","薌","襄","郷","鄉","鄊","鄕","鑲","镶","香","驤","骧","鱜","麘","\uD871\uDE4B"],shū:["书","倏","倐","儵","叔","姝","尗","抒","掓","摅","攄","書","枢","梳","樞","殊","殳","毹","毺","淑","瀭","焂","疎","疏","紓","綀","纾","舒","菽","蔬","踈","軗","輸","输","鄃","陎","鮛","鵨"],dǒu:["乧","抖","枓","蚪","鈄","阧","陡"],shǐ:["乨","使","兘","史","始","宩","屎","榁","矢","笶","豕","鉂","駛","驶"],jī:["乩","僟","击","刉","刏","剞","叽","唧","喞","嗘","嘰","圾","基","墼","姬","屐","嵆","嵇","撃","擊","朞","机","枅","樭","機","毄","激","犄","玑","璣","畸","畿","癪","矶","磯","积","積","笄","筓","箕","簊","緁","羁","羇","羈","耭","肌","芨","虀","覉","覊","譏","譤","讥","賫","賷","赍","跻","踑","躋","躸","銈","錤","鐖","鑇","鑙","隮","雞","鞿","韲","飢","饑","饥","魕","鳮","鶏","鶺","鷄","鸄","鸡","齎","齏","齑","\uD872\uDFC0","\uD86D\uDCEF","\uD86D\uDCF9","\uD86C\uDF00"],náng:["乪","嚢","欜","蠰","饢"],jiā:["乫","佳","傢","加","嘉","抸","枷","梜","毠","泇","浃","浹","犌","猳","珈","痂","笳","糘","耞","腵","葭","袈","豭","貑","跏","迦","鉫","鎵","镓","鴐","麚","\uD870\uDCA9"],jù:["乬","倨","倶","具","剧","劇","勮","埧","埾","壉","姖","屦","屨","岠","巨","巪","怇","惧","愳","懅","懼","拒","拠","昛","歫","洰","澽","炬","烥","犋","秬","窭","窶","簴","粔","耟","聚","虡","蚷","詎","讵","豦","距","踞","躆","遽","邭","醵","鉅","鐻","钜","颶","飓","駏","鮔"],shí:["乭","十","埘","塒","姼","实","実","寔","實","峕","嵵","时","旹","時","榯","湜","溡","炻","祏","竍","蚀","蝕","辻","遈","鉐","飠","饣","鮖","鰣","鲥","鼫","鼭"],mǎo:["乮","冇","卯","峁","戼","昴","泖","笷","蓩","鉚","铆"],mǎi:["买","嘪","荬","蕒","買","鷶"],luàn:["乱","亂","釠"],rǔ:["乳","擩","汝","肗","辱","鄏"],xué:["乴","学","學","峃","嶨","斈","泶","澩","燢","穴","茓","袕","踅","鷽","鸴"],yǎn:["䶮","乵","俨","偃","儼","兖","兗","厣","厴","噞","孍","嵃","巘","巚","弇","愝","戭","扊","抁","掩","揜","曮","椼","檿","沇","渷","演","琰","甗","眼","罨","萒","蝘","衍","褗","躽","遃","郾","隒","顩","魇","魘","鰋","鶠","黡","黤","黬","黭","黶","鼴","鼹","齴","龑","\uD873\uDE18","\uD871\uDE42","\uD86A\uDE58"],fǔ:["乶","俌","俛","俯","府","弣","抚","拊","撫","斧","椨","滏","焤","甫","盙","簠","腐","腑","蜅","輔","辅","郙","釜","釡","阝","頫","鬴","黼","㕮","\uD86D\uDDAF"],shā:["乷","唦","杀","桬","殺","毮","猀","痧","砂","硰","紗","繺","纱","蔱","裟","鎩","铩","閷","髿","魦","鯊","鯋","鲨"],nǎ:["乸","雫"],qián:["乹","亁","仱","偂","前","墘","媊","岒","拑","掮","榩","橬","歬","潛","潜","濳","灊","箝","葥","虔","軡","鈐","鉗","銭","錢","鎆","钤","钱","钳","靬","騚","騝","鰬","黔","黚"],suǒ:["乺","唢","嗩","所","暛","溑","溹","琐","琑","瑣","索","褨","鎖","鎻","鏁","锁"],yú:["乻","于","亐","伃","余","堣","堬","妤","娛","娯","娱","嬩","崳","嵎","嵛","愚","扵","揄","旟","楡","楰","榆","欤","歈","歟","歶","渔","渝","湡","漁","澞","牏","狳","玗","玙","瑜","璵","盂","睮","窬","竽","籅","羭","腴","臾","舁","舆","艅","茰","萮","萸","蕍","蘛","虞","虶","蝓","螸","衧","褕","覦","觎","諛","謣","谀","踰","輿","轝","逾","邘","酑","鍝","隅","雓","雩","餘","馀","騟","骬","髃","魚","魣","鮽","鯲","鰅","鱼","鷠","鸆","齵"],zhù:["乼","伫","佇","住","坾","墸","壴","嵀","拀","杼","柱","樦","殶","注","炷","疰","眝","祝","祩","竚","筯","箸","篫","簗","紵","紸","纻","羜","翥","苎","莇","蛀","註","貯","贮","跓","軴","鉒","鋳","鑄","铸","馵","駐","驻"],zhě:["乽","者","褶","襵","赭","踷","鍺","锗"],"qián gān":["乾"],"zhì luàn":["乿"],guī:["亀","圭","妫","媯","嫢","嬀","帰","归","摫","椝","槻","槼","櫷","歸","珪","瑰","璝","瓌","皈","瞡","硅","茥","蘬","規","规","邽","郌","閨","闺","騩","鬶","鬹"],"lǐn lìn":["亃"],jué:["亅","决","刔","劂","匷","厥","噊","孒","孓","崛","崫","嶥","彏","憠","憰","戄","抉","挗","掘","攫","桷","橛","橜","欮","氒","決","灍","焳","熦","爑","爴","爵","獗","玃","玦","玨","珏","瑴","瘚","矍","矡","砄","絕","絶","绝","臄","芵","蕝","蕨","虳","蟨","蟩","觖","觮","觼","訣","譎","诀","谲","貜","赽","趉","蹷","躩","鈌","鐍","鐝","钁","镢","鴂","鴃","鷢","\uD86D\uDE1D","㵐","\uD86D\uDD0E"],"le liǎo":["了"],"gè mā":["亇"],"yǔ yú":["予","懙"],zhēng:["争","佂","凧","姃","媜","峥","崝","崢","征","徰","炡","烝","爭","狰","猙","癥","眐","睁","睜","筝","箏","篜","聇","脀","蒸","踭","鉦","錚","鏳","鬇"],èr:["二","刵","咡","弍","弐","樲","誀","貮","貳","贰","髶"],chù:["亍","傗","儊","怵","憷","搐","斶","歜","珿","琡","矗","竌","絀","绌","臅","触","觸","豖","鄐","閦","黜"],kuī:["亏","刲","岿","巋","盔","窥","窺","聧","虧","闚","顝"],yún:["云","伝","勻","匀","囩","妘","愪","抣","昀","橒","沄","涢","溳","澐","熉","畇","秐","筼","篔","紜","縜","纭","耘","芸","蒷","蕓","郧","鄖","鋆","雲"],hù:["互","冱","嗀","嚛","婟","嫭","嫮","岵","帍","弖","怙","戶","户","戸","戽","扈","护","昈","槴","沍","沪","滬","熩","瓠","祜","笏","簄","粐","綔","蔰","護","豰","鄠","鍙","頀","鱯","鳠","鳸","鸌","鹱"],qí:["亓","剘","埼","岐","岓","崎","嵜","愭","掑","斉","斊","旂","旗","棊","棋","檱","櫀","歧","淇","濝","猉","玂","琦","琪","璂","畦","疧","碁","碕","祁","祈","祺","禥","竒","簯","簱","籏","粸","綥","綦","肵","脐","臍","艩","芪","萁","萕","蕲","藄","蘄","蚑","蚚","蛴","蜝","蜞","螧","蠐","褀","軝","鄿","釮","錡","锜","陭","頎","颀","騎","騏","騹","骐","骑","鬐","鬿","鯕","鰭","鲯","鳍","鵸","鶀","麒","麡","\uD861\uDE78","\uD872\uDE02","䓫"],jǐng:["井","儆","刭","剄","坓","宑","幜","憬","暻","殌","汫","汬","澋","璄","璟","璥","穽","肼","蟼","警","阱","頚","頸"],sì:["亖","佀","価","儩","兕","嗣","四","姒","娰","孠","寺","巳","柶","榹","汜","泗","泤","洍","洠","涘","瀃","牭","祀","禩","竢","笥","耜","肂","肆","蕼","覗","貄","釲","鈶","鈻","飤","飼","饲","駟","騃","驷"],suì:["亗","嬘","岁","嵗","旞","檖","歲","歳","澻","煫","燧","璲","砕","碎","祟","禭","穂","穗","穟","繀","繐","繸","襚","誶","譢","谇","賥","邃","鐆","鐩","隧","韢","\uD86D\uDFE6","\uD872\uDF7C"],gèn:["亘","亙","揯","搄","茛"],yà:["亚","亜","俹","冴","劜","圔","圠","埡","娅","婭","揠","氩","氬","犽","砑","稏","聐","襾","覀","訝","讶","迓","齾"],"xiē suò":["些"],"qí zhāi":["亝","齊"],"yā yà":["亞","压","垭","壓","铔"],"jí qì":["亟","焏"],tóu:["亠","投","頭","骰"],"wáng wú":["亡"],"kàng háng gāng":["亢"],dà:["亣","眔"],jiāo:["交","僬","娇","嬌","峧","嶕","嶣","憍","椒","浇","澆","焦","礁","穚","簥","胶","膠","膲","茭","茮","蕉","虠","蛟","蟭","跤","轇","郊","鐎","驕","骄","鮫","鲛","鵁","鷦","鷮","鹪","䴔"],hài:["亥","嗐","害","氦","餀","饚","駭","駴","骇"],"hēng pēng":["亨"],mǔ:["亩","姆","峔","拇","母","牡","牳","畂","畆","畒","畝","畞","畮","砪","胟","踇","鉧","\uD872\uDF41","\uD85F\uDFF9"],ye:["亪"],xiǎng:["享","亯","响","想","晑","蚃","蠁","響","飨","餉","饗","饷","鮝","鯗","鱶","鲞"],jīng:["京","亰","兢","坕","坙","婛","惊","旌","旍","晶","橸","泾","涇","猄","睛","秔","稉","粳","精","経","經","綡","聙","腈","茎","荆","荊","菁","葏","驚","鯨","鲸","鶁","鶄","麖","麠","鼱","䴖"],tíng:["亭","停","婷","嵉","庭","廷","楟","榳","筳","聤","莛","葶","蜓","蝏","諪","邒","霆","鼮","䗴"],liàng:["亮","喨","悢","晾","湸","諒","谅","輌","輛","辆","鍄"],"qīn qìng":["亲","親"],bó:["亳","仢","侼","僰","博","帛","愽","懪","挬","搏","欂","浡","淿","渤","煿","牔","狛","瓝","礴","秡","箔","簙","糪","胉","脖","膊","舶","艊","萡","葧","袯","襏","襮","謈","踣","郣","鈸","鉑","鋍","鎛","鑮","钹","铂","镈","餺","馎","馛","馞","駁","駮","驳","髆","鵓","鹁"],yòu:["亴","佑","佦","侑","又","右","哊","唀","囿","姷","宥","峟","幼","狖","祐","蚴","誘","诱","貁","迶","酭","釉","鼬"],xiè:["亵","伳","偞","偰","僁","卨","卸","噧","塮","夑","媟","屑","屧","廨","徢","懈","暬","械","榍","榭","泻","洩","渫","澥","瀉","瀣","灺","炧","炨","燮","爕","獬","祄","禼","糏","紲","絏","絬","繲","纈","绁","缷","薢","薤","蟹","蠏","褉","褻","謝","谢","躞","邂","靾","韰","齂","齘","齛","齥","\uD873\uDE7C","\uD852\uDEC9"],"dǎn dàn":["亶","馾"],lián:["亷","劆","匲","匳","嗹","噒","奁","奩","嫾","帘","廉","怜","憐","涟","漣","濂","濓","瀮","熑","燫","簾","籢","籨","縺","翴","联","聨","聫","聮","聯","臁","莲","蓮","薕","螊","蠊","裢","褳","覝","謰","蹥","连","連","鎌","鐮","镰","鬑","鰱","鲢"],duǒ:["亸","哚","嚲","埵","崜","朵","朶","綞","缍","趓","躱","躲","軃"],"wěi mén":["亹","斖"],rén:["人","亻","仁","壬","忈","忎","朲","秂","芢","魜","鵀"],jí:["亼","亽","伋","佶","偮","卙","即","卽","及","叝","吉","堲","塉","姞","嫉","岌","嵴","嶯","彶","忣","急","愱","戢","揤","极","棘","楫","極","槉","檝","殛","汲","湒","潗","疾","瘠","皍","笈","箿","籍","級","级","膌","艥","蒺","蕀","蕺","蝍","螏","襋","觙","谻","踖","蹐","躤","輯","轚","辑","郆","銡","鍓","鏶","集","雧","霵","鹡","㴔"],wáng:["亾","仼","兦","莣","蚟"],"shén shí":["什"],lè:["仂","叻","忇","氻","泐","玏","砳","簕","艻","阞","韷","餎","鰳","鱳","鳓"],dīng:["仃","叮","帄","玎","疔","盯","耵","虰","靪"],zè:["仄","崱","庂","捑","昃","昗","汄"],"jǐn jìn":["仅","僅","嫤"],"pú pū":["仆"],"chóu qiú":["仇"],zhǎng:["仉","幥","掌","礃"],jīn:["今","堻","巾","惍","斤","津","珒","琻","璡","砛","筋","荕","衿","襟","觔","金","釒","釿","钅","鹶","黅","\uD872\uDF31"],bīng:["仌","仒","兵","冫","冰","掤","氷","鋲"],réng:["仍","礽","芿","辸","陾"],fó:["仏","坲","梻"],"jīn sǎn":["仐"],lún:["仑","伦","侖","倫","囵","圇","婨","崘","崙","棆","沦","淪","磮","腀","菕","蜦","踚","輪","轮","錀","陯","鯩","\uD872\uDF2D"],cāng:["仓","仺","倉","凔","嵢","沧","滄","濸","獊","舱","艙","苍","蒼","螥","鸧"],"zǎi zǐ zī":["仔"],tā:["他","塌","它","榙","溻","牠","祂","褟","趿","遢","闧"],fù:["付","偩","傅","冨","副","咐","坿","复","妇","婦","媍","嬔","富","復","椱","祔","禣","竎","緮","縛","缚","腹","萯","蕧","蚹","蛗","蝜","蝮","袝","複","覄","覆","訃","詂","讣","負","賦","賻","负","赋","赙","赴","輹","鍑","鍢","阜","附","馥","駙","驸","鮒","鰒","鲋","鳆","㳇"],xiān:["仙","仚","佡","僊","僲","先","嘕","奾","屳","廯","忺","憸","掀","暹","杴","氙","珗","祆","秈","籼","繊","纎","纖","苮","褼","襳","跹","蹮","躚","酰","鍁","锨","韯","韱","馦","鱻","鶱","\uD873\uDE23"],"tuō chà duó":["仛"],hóng:["仜","吰","垬","妅","娂","宏","宖","弘","彋","汯","泓","洪","浤","渱","潂","玒","玜","竑","竤","篊","粠","紘","紭","綋","纮","翃","翝","耾","苰","荭","葒","葓","谹","谼","鈜","鉷","鋐","閎","闳","霐","霟","鞃","魟","鴻","鸿","黉","黌","\uD86D\uDFF9","\uD872\uDF4E"],tóng:["仝","佟","哃","峂","峝","庝","彤","晍","曈","桐","氃","浵","潼","犝","獞","眮","瞳","砼","秱","童","粡","膧","茼","蚒","詷","赨","酮","鉖","鉵","銅","铜","餇","鮦","鲖","\uD86C\uDF63","\uD859\uDC8D"],rèn:["仞","仭","刃","刄","妊","姙","屻","岃","扨","牣","祍","紉","紝","絍","纫","纴","肕","腍","衽","袵","訒","認","认","讱","軔","轫","鈓","靭","靱","韌","韧","飪","餁","饪"],qiān:["仟","佥","僉","千","圲","奷","孯","岍","悭","愆","慳","扦","拪","搴","撁","攐","攑","攓","杄","櫏","汘","汧","牵","牽","竏","签","簽","籖","籤","粁","芊","茾","蚈","褰","諐","謙","谦","谸","迁","遷","釺","鈆","鉛","鏲","钎","阡","韆","顅","騫","骞","鬜","鬝","鵮","鹐"],"gǎn hàn":["仠"],"yì gē":["仡"],dài:["代","侢","叇","垈","埭","岱","帒","带","帯","帶","廗","怠","戴","曃","柋","殆","瀻","玳","瑇","甙","簤","紿","緿","绐","艜","蝳","袋","襶","貣","贷","蹛","軑","軚","軩","轪","迨","霴","靆","鴏","黛","黱"],"lìng líng lǐng":["令"],chào:["仦","耖","觘"],"cháng zhǎng":["仧","兏","長","长"],sā:["仨"],cháng:["仩","偿","償","嘗","嚐","嫦","尝","常","徜","瑺","瓺","甞","肠","腸","膓","苌","萇","镸","鱨","鲿"],yí:["仪","侇","儀","冝","匜","咦","圯","夷","姨","宐","宜","宧","寲","峓","嶬","嶷","巸","彛","彜","彝","彞","怡","恞","扅","暆","栘","椬","椸","沂","洟","熪","瓵","痍","移","簃","籎","羠","胰","萓","蛦","螔","觺","謻","貽","贻","跠","迻","遺","鏔","頉","頤","頥","顊","颐","饴","鮧","鴺"],mù:["仫","凩","募","墓","幕","幙","慔","慕","暮","暯","木","楘","毣","沐","炑","牧","狇","目","睦","穆","艒","苜","莯","蚞","鉬","钼","雮","霂"],"men mén":["们"],fǎn:["仮","反","橎","返"],"chào miǎo":["仯"],"yǎng áng":["仰"],zhòng:["仲","众","堹","妕","媑","狆","眾","祌","筗","茽","蚛","衆","衶","諥"],"pǐ pí":["仳"],wò:["仴","偓","卧","媉","幄","握","楃","沃","渥","濣","瓁","瞃","硪","肟","腛","臥","齷","龌"],jiàn:["件","俴","健","僭","剑","剣","剱","劍","劎","劒","劔","墹","寋","建","徤","擶","旔","楗","毽","洊","涧","澗","牮","珔","瞷","磵","礀","箭","糋","繝","腱","臶","舰","艦","荐","薦","覸","諓","諫","譛","谏","賎","賤","贱","趝","践","踐","踺","轞","鉴","鍳","鍵","鐱","鑑","鑒","鑬","鑳","键","間","餞","饯","\uD872\uDCE1"],"jià jiè jie":["价"],"yǎo fó":["仸"],"rèn rén":["任"],"fèn bīn":["份"],dī:["仾","低","啲","埞","堤","岻","彽","樀","滴","磾","秪","羝","袛","趆","隄","鞮","䃅"],fǎng:["仿","倣","旊","昉","昘","瓬","眆","紡","纺","舫","訪","访","髣","鶭"],zhōng:["伀","刣","妐","幒","彸","忠","柊","汷","泈","炂","盅","籦","終","终","舯","蔠","蜙","螤","螽","衳","衷","蹱","鈡","鍾","鐘","钟","锺","鴤","鼨"],pèi:["伂","佩","姵","帔","斾","旆","沛","浿","珮","蓜","轡","辔","配","霈","馷"],diào:["伄","吊","弔","掉","瘹","盄","窎","窵","竨","訋","釣","鈟","銱","鋽","鑃","钓","铞","雿","魡"],dùn:["伅","潡","炖","燉","盾","砘","碷","踲","逇","遁","遯","鈍","钝"],wěn:["伆","刎","吻","呅","抆","桽","稳","穏","穩","紊","肳","脗"],xǐn:["伈"],kàng:["伉","匟","囥","抗","炕","鈧","钪"],ài:["伌","僾","塧","壒","嫒","嬡","愛","懓","暧","曖","爱","瑷","璦","皧","瞹","砹","硋","碍","礙","薆","譺","賹","鑀","隘","靉","餲","馤","鱫","鴱"],"jì qí":["伎","薺"],"xiū xǔ":["休"],"jìn yín":["伒"],dǎn:["伔","刐","撢","玬","瓭","紞","胆","膽","衴","賧","赕","黕","\uD871\uDE18"],fū:["伕","呋","娐","孵","尃","怤","懯","敷","旉","玞","砆","稃","筟","糐","綒","肤","膚","荂","荴","衭","趺","跗","邞","鄜","酜","鈇","麩","麬","麱","麸","\uD86D\uDCE7"],tǎng:["伖","傥","儻","埫","戃","曭","爣","矘","躺","鎲","钂","镋"],yōu:["优","優","呦","嚘","峳","幽","忧","悠","憂","攸","櫌","滺","瀀","纋","羪","耰","逌","鄾","麀"],huǒ:["伙","夥","火","煷","邩","鈥","钬"],"huì kuài":["会","會","浍","璯"],yǔ:["伛","俁","俣","偊","傴","匬","噳","圄","圉","宇","寙","屿","嶼","庾","挧","敔","斞","楀","瑀","瘐","祤","禹","穥","窳","羽","與","萭","貐","鄅","頨","麌","齬","龉","㺄"],cuì:["伜","啛","忰","悴","毳","淬","焠","疩","瘁","竁","粋","粹","紣","綷","翆","翠","脃","脆","脺","膬","膵","臎","萃","襊","顇"],sǎn:["伞","傘","糤","繖","饊","馓"],wěi:["伟","伪","偉","偽","僞","儰","娓","寪","屗","崣","嶉","徫","愇","捤","暐","梶","洧","浘","渨","炜","煒","猥","玮","瑋","痿","緯","纬","腲","艉","芛","苇","荱","萎","葦","蒍","蔿","蜼","諉","诿","踓","鍡","韑","韙","韡","韪","頠","颹","骩","骪","骫","鮪","鲔","\uD86C\uDDED","\uD870\uDC29","\uD873\uDC5F"],"chuán zhuàn":["传","傳"],"chē jū":["伡","俥","车"],"jū chē":["車"],yá:["伢","厑","厓","堐","岈","崕","崖","涯","漄","牙","玡","琊","睚","笌","芽","蚜","衙","齖"],qiàn:["伣","俔","倩","儙","刋","壍","嬱","悓","棈","椠","槧","欠","歉","皘","篏","篟","縴","芡","蒨","蔳","輤","\uD871\uDE2C"],shāng:["伤","傷","商","墒","慯","殇","殤","滳","漡","熵","蔏","螪","觞","觴","謪","鬺"],chāng:["伥","倀","娼","昌","椙","淐","猖","琩","菖","裮","錩","锠","閶","阊","鯧","鲳","鼚"],"chen cāng":["伧"],xùn:["伨","侚","卂","噀","巺","巽","徇","愻","殉","殾","汛","潠","狥","蕈","訊","訓","訙","训","讯","迅","迿","逊","遜","鑂","顨","馴","驯"],xìn:["伩","囟","孞","脪","舋","衅","訫","釁","阠","顖"],chǐ:["伬","侈","卶","叺","呎","垑","恥","歯","耻","肔","胣","蚇","裭","褫","豉","鉹","齒","齿"],"xián xuán":["伭"],"nú nǔ":["伮"],"bó bǎi":["伯"],"gū gù":["估"],nǐ:["伱","你","儞","孴","拟","擬","旎","晲","狔","苨","薿","隬"],"nì ní":["伲"],bàn:["伴","办","半","姅","怑","扮","瓣","秚","絆","绊","辦","鉡","靽"],xù:["伵","侐","勖","勗","卹","叙","垿","壻","婿","序","恤","敍","敘","旭","昫","朂","槒","欰","殈","汿","沀","洫","溆","漵","潊","烅","烼","煦","獝","珬","盢","瞁","稸","絮","続","緒","緖","續","绪","续","聓","聟","蓄","藚","訹","賉","酗","頊","鱮","㳚"],zhòu:["伷","僽","冑","呪","咒","咮","宙","昼","晝","甃","皱","皺","籀","籒","籕","粙","紂","縐","纣","绉","胄","荮","葤","詋","酎","駎","驟","骤","㤘","㑇"],shēn:["伸","侁","兟","呻","堔","妽","娠","屾","峷","扟","敒","曑","柛","氠","深","燊","珅","甡","甧","申","眒","砷","穼","籶","籸","糂","紳","绅","罙","罧","葠","蓡","蔘","薓","裑","訷","詵","诜","身","駪","鯓","鯵","鰺","鲹","鵢","\uD873\uDCFD"],qū:["伹","佉","匤","呿","坥","屈","岖","岴","嶇","憈","抾","敺","浀","煀","祛","筁","粬","胠","蛆","蛐","袪","覻","詘","诎","趍","躯","軀","阹","駆","駈","驅","驱","髷","魼","鰸","鱋","鶌","麯","麴","麹","黢","㭕","\uD86A\uDE30","䓛"],"sì cì":["伺"],bēng:["伻","嘣","奟","崩","嵭","閍"],"sì shì":["似"],"jiā qié gā":["伽"],"yǐ chì":["佁"],"diàn tián":["佃","钿"],"hān gàn":["佄"],mài:["佅","劢","勱","卖","唛","売","脈","衇","賣","迈","邁","霡","霢","麥","麦","鿏"],dàn:["但","僤","啖","啗","啿","噉","嚪","帎","憺","旦","柦","氮","沊","泹","淡","狚","疍","癚","禫","窞","腅","萏","蓞","蛋","蜑","觛","訑","誕","诞","贉","霮","餤","饏","駳","髧","鴠","\uD86E\uDCB8"],bù:["佈","勏","吥","咘","埗","埠","布","廍","怖","悑","步","歨","歩","瓿","篰","荹","蔀","踄","部","郶","鈈","钚","餢"],bǐ:["佊","俾","匕","夶","妣","彼","朼","柀","比","毞","沘","疕","秕","笔","筆","粃","聛","舭","貏","鄙"],"zhāo shào":["佋"],cǐ:["佌","此","泚","皉","\uD86D\uDE96"],wèi:["位","卫","味","喂","墛","媦","慰","懀","未","渭","煟","熭","犚","猬","畏","緭","罻","胃","苿","菋","藯","蘶","蝟","螱","衛","衞","褽","謂","讆","讏","谓","躗","躛","軎","轊","鏏","霨","餧","餵","饖","魏","鮇","鳚"],zuǒ:["佐","左","繓"],yǎng:["佒","傟","养","坱","岟","慃","懩","攁","氧","氱","炴","痒","癢","礢","紻","蝆","軮","養","駚"],"tǐ tī":["体","體"],zhàn:["佔","偡","嶘","战","戦","戰","栈","桟","棧","湛","站","綻","绽","菚","蘸","虥","虦","譧","轏","驏"],"hé hē hè":["何"],bì:["佖","咇","哔","嗶","坒","堛","壁","奰","妼","婢","嬖","币","幣","幤","庇","庳","廦","弊","弻","弼","彃","必","怭","愊","愎","敝","斃","梐","毕","毖","毙","湢","滗","滭","潷","煏","熚","狴","獘","獙","珌","璧","畀","畢","疪","痹","痺","皕","睤","碧","筚","箅","箆","篦","篳","粊","綼","縪","繴","罼","腷","苾","荜","萆","萞","蓖","蓽","蔽","薜","蜌","袐","襅","襞","襣","觱","詖","诐","貱","贔","赑","跸","蹕","躃","躄","避","邲","鄨","鄪","鉍","鏎","鐴","铋","閇","閉","閟","闭","陛","韠","飶","饆","馝","駜","驆","髀","魓","鮅","鷝","鷩","鼊"],tuó:["佗","坨","堶","岮","槖","橐","沱","砣","砤","碢","紽","詑","跎","酡","阤","陀","陁","駝","駞","騨","驒","驝","驼","鮀","鴕","鸵","鼉","鼍","鼧","\uD873\uDD8D"],shé:["佘","舌","虵","蛥"],"yì dié":["佚","昳","泆","軼"],"fó fú bì bó":["佛"],"zuò zuō":["作"],gōu:["佝","沟","溝","痀","篝","簼","緱","缑","袧","褠","鈎","鉤","钩","鞲","韝"],nìng:["佞","侫","倿","寕","泞","澝","濘"],qú:["佢","劬","戵","斪","欋","欔","氍","淭","灈","爠","璖","璩","癯","磲","籧","絇","胊","臞","菃","葋","蕖","蘧","蟝","蠷","蠼","衐","衢","躣","軥","鑺","鴝","鸜","鸲","鼩"],"yōng yòng":["佣"],wǎ:["佤","咓","砙","邷"],kǎ:["佧","垰","胩","裃","鉲"],bāo:["佨","勹","包","孢","煲","笣","胞","苞","蕔","裦","褒","襃","闁","齙","龅"],"huái huí":["佪"],"gé hè":["佫"],lǎo:["佬","咾","恅","栳","狫","珯","硓","老","耂","荖","蛯","轑","銠","铑","鮱"],xiáng:["佭","庠","栙","祥","絴","翔","詳","跭"],gé:["佮","匌","呄","嗝","塥","愅","挌","搿","槅","櫊","滆","膈","臵","茖","觡","諽","輵","轕","閣","阁","隔","鞷","韐","韚","騔","骼","鮯"],yáng:["佯","劷","垟","崸","徉","扬","揚","敭","旸","昜","暘","杨","楊","洋","炀","珜","疡","瘍","眻","蛘","諹","輰","鍚","钖","阦","阳","陽","霷","颺","飏","鰑","鴹","鸉"],bǎi:["佰","捭","摆","擺","栢","百","竡","粨","襬"],fǎ:["佱","峜","法","灋","砝","鍅"],mǐng:["佲","凕","姳","慏","酩"],"èr nài":["佴"],hěn:["佷","很","狠","詪","\uD872\uDCF3"],huó:["佸","活"],guǐ:["佹","匦","匭","厬","垝","姽","宄","庋","庪","恑","晷","湀","癸","祪","簋","蛫","蟡","觤","詭","诡","軌","轨","陒","鬼"],quán:["佺","全","啳","埢","姾","峑","巏","拳","搼","权","楾","権","權","泉","洤","湶","牷","犈","瑔","痊","硂","筌","縓","荃","葲","蜷","蠸","觠","詮","诠","跧","踡","輇","辁","醛","銓","铨","闎","顴","颧","駩","騡","鬈","鰁","鳈","齤"],tiāo:["佻","庣","旫","祧","聎"],jiǎo:["佼","儌","孂","挢","搅","撟","撹","攪","敫","敽","敿","晈","暞","曒","灚","燞","狡","璬","皎","皦","絞","纐","绞","腳","臫","蟜","譑","賋","踋","鉸","铰","餃","饺","鱎","龣"],cì:["佽","刾","庛","朿","栨","次","絘","茦","莿","蛓","螆","賜","赐"],xíng:["侀","刑","哘","型","娙","形","洐","硎","蛵","邢","郉","鈃","鉶","銒","钘","铏","陉","陘","餳","\uD86F\uDC1B"],tuō:["侂","咃","咜","圫","托","拕","拖","汑","脫","脱","莌","袥","託","讬","飥","饦","魠","鮵"],kǎn:["侃","偘","冚","坎","惂","砍","莰","輡","轗","顑"],zhí:["侄","値","值","埴","執","姪","嬂","戠","执","摭","植","樴","淔","漐","直","禃","絷","縶","聀","职","職","膱","蟙","跖","踯","蹠","躑","軄","釞","馽"],gāi:["侅","垓","姟","峐","晐","畡","祴","荄","該","该","豥","賅","賌","赅","陔"],lái:["來","俫","倈","崃","崍","庲","来","梾","棶","涞","淶","猍","琜","筙","箂","莱","萊","逨","郲","錸","铼","騋","鯠","鶆","麳"],kuǎ:["侉","咵","垮","銙"],gōng:["侊","公","功","匑","匔","塨","宫","宮","工","幊","弓","恭","攻","杛","碽","糼","糿","肱","觥","觵","躬","躳","髸","龔","龚","䢼"],lì:["例","俐","俪","傈","儮","儷","凓","利","力","励","勵","历","厉","厤","厯","厲","叓","吏","呖","唎","唳","嚦","囇","坜","塛","壢","娳","婯","屴","岦","悧","悷","慄","戾","搮","暦","曆","曞","朸","枥","栃","栗","栛","檪","櫔","櫪","欐","歴","歷","沥","沴","涖","溧","濿","瀝","爏","犡","猁","珕","瑮","瓅","瓑","瓥","疬","痢","癧","盭","睙","砅","砺","砾","磿","礪","礫","礰","禲","秝","立","笠","篥","粒","粝","糲","脷","苈","茘","荔","莅","莉","蒚","蒞","藶","蚸","蛎","蛠","蜧","蝷","蠇","蠣","詈","讈","赲","轢","轣","轹","酈","鉝","隶","隷","雳","靂","靋","鬁","鳨","鴗","鷅","麜","\uD86F\uDD77","\uD870\uDF5B"],yīn:["侌","凐","喑","噾","囙","因","垔","堙","姻","婣","愔","慇","栶","氤","洇","溵","濦","瘖","禋","秵","筃","絪","緸","茵","蒑","蔭","裀","諲","銦","铟","闉","阥","阴","陰","陻","隂","霒","霠","鞇","音","韾","駰","骃","齗","\uD871\uDE21","\uD872\uDD07","\uD872\uDFB1"],mǐ:["侎","孊","弭","敉","洣","渳","灖","米","粎","羋","脒","芈","葞","蔝","銤"],zhū:["侏","株","槠","橥","櫧","櫫","洙","潴","瀦","猪","珠","硃","秼","絑","茱","蕏","蛛","蝫","蠩","袾","誅","諸","诛","诸","豬","跦","邾","銖","铢","駯","鮢","鯺","鴸","鼄"],ān:["侒","偣","媕","安","峖","庵","桉","氨","盦","盫","腤","菴","萻","葊","蓭","誝","諳","谙","鞌","鞍","韽","馣","鮟","鵪","鶕","鹌","\uD867\uDF7E"],lù:["侓","僇","勎","勠","圥","坴","塶","娽","峍","廘","彔","录","戮","摝","椂","樚","淕","淥","渌","漉","潞","琭","璐","甪","盝","睩","硉","祿","禄","稑","穋","箓","簏","簬","簵","簶","籙","粶","蔍","蕗","虂","螰","賂","赂","趢","路","踛","蹗","輅","轆","辂","辘","逯","醁","錄","録","錴","鏴","陸","騄","騼","鯥","鴼","鵦","鵱","鷺","鹭","鹿","麓","\uD86D\uDE27"],móu:["侔","劺","恈","眸","蛑","謀","谋","踎","鍪","鴾","麰"],ér:["侕","儿","児","兒","峏","栭","洏","粫","而","胹","荋","袻","輀","轜","陑","隭","髵","鮞","鲕","鴯","鸸"],"dòng tǒng tóng":["侗"],chà:["侘","奼","姹","岔","汊","詫","诧"],chì:["侙","傺","勅","勑","叱","啻","彳","恜","慗","憏","懘","抶","敕","斥","杘","湁","灻","炽","烾","熾","痓","痸","瘛","翄","翅","翤","翨","腟","赤","趩","遫","鉓","雴","飭","饬","鶒","鷘"],"gòng gōng":["供","共"],zhōu:["侜","周","喌","州","徟","洲","淍","炿","烐","珘","矪","舟","謅","譸","诌","賙","赒","輈","輖","辀","週","郮","銂","霌","駲","騆","鵃","鸼"],rú:["侞","儒","嚅","如","嬬","孺","帤","曘","桇","渪","濡","筎","茹","蕠","薷","蝡","蠕","袽","襦","邚","醹","銣","铷","顬","颥","鱬","鴑","鴽"],"jiàn cún":["侟"],xiá:["侠","俠","匣","峡","峽","敮","暇","柙","炠","烚","狎","狭","狹","珨","瑕","硖","硤","碬","祫","筪","縖","翈","舝","舺","蕸","赮","轄","辖","遐","鍜","鎋","陜","陿","霞","騢","魻","鶷","黠"],lǚ:["侣","侶","儢","吕","呂","屡","屢","履","挔","捛","旅","梠","焒","祣","稆","穭","絽","縷","缕","膂","膐","褛","褸","郘","鋁","铝"],ta:["侤"],"jiǎo yáo":["侥","僥","徺"],zhēn:["侦","偵","寊","帧","帪","幀","搸","斟","桢","楨","榛","樼","殝","浈","湞","潧","澵","獉","珍","珎","瑧","甄","眞","真","砧","碪","祯","禎","禛","箴","胗","臻","葴","蒖","蓁","薽","貞","贞","轃","遉","酙","針","鉁","錱","鍼","针","鱵"],"cè zè zhāi":["侧","側"],kuài:["侩","儈","凷","哙","噲","圦","块","塊","巜","廥","快","旝","欳","狯","獪","筷","糩","脍","膾","郐","鄶","鱠","鲙"],chái:["侪","儕","喍","柴","犲","祡","豺"],nóng:["侬","儂","农","哝","噥","檂","欁","浓","濃","燶","禯","秾","穠","脓","膿","蕽","襛","譨","農","辳","醲","鬞","\uD872\uDEA9"],jǐn:["侭","儘","卺","厪","巹","槿","漌","瑾","紧","緊","菫","蓳","謹","谨","錦","锦","饉","馑"],"hóu hòu":["侯","矦"],jiǒng:["侰","僒","冏","囧","泂","澃","炯","烱","煚","煛","熲","燛","窘","綗","褧","迥","逈","顈","颎","䌹"],"chěng tǐng":["侱"],"zhèn zhēn":["侲","揕"],zuò:["侳","做","唑","坐","岝","岞","座","祚","糳","胙","葃","葄","蓙","袏","阼"],qīn:["侵","兓","媇","嵚","嶔","欽","衾","誛","钦","顉","駸","骎","鮼"],jú:["侷","啹","婅","局","巈","椈","橘","泦","淗","湨","焗","犑","狊","粷","菊","蘜","趜","跼","蹫","輂","郹","閰","駶","驧","鵙","鵴","鶪","鼰","鼳","䴗"],"shù dōu":["侸"],tǐng:["侹","圢","娗","挺","涏","烶","珽","脡","艇","誔","頲","颋"],shèn:["侺","愼","慎","昚","涁","渗","滲","瘆","瘮","眘","祳","肾","胂","脤","腎","蜃","蜄","鋠"],"tuì tuó":["侻"],nán:["侽","喃","娚","抩","暔","枏","柟","楠","男","畘","莮","萳","遖"],xiāo:["侾","哓","嘵","嚻","囂","婋","宯","宵","庨","彇","揱","枭","枵","梟","櫹","歊","毊","消","潇","瀟","灱","灲","烋","焇","猇","獢","痚","痟","硝","硣","窙","箫","簘","簫","綃","绡","翛","膮","萧","蕭","虈","虓","蟂","蟏","蟰","蠨","踃","逍","銷","销","霄","颵","驍","骁","髇","髐","魈","鴞","鴵","鷍","鸮"],"biàn pián":["便","緶","缏"],tuǐ:["俀","腿","蹆","骽"],xì:["係","匸","卌","呬","墍","屃","屓","屭","忥","怬","恄","椞","潝","潟","澙","熂","犔","磶","禊","細","綌","縘","细","绤","舃","舄","蕮","虩","衋","覤","赩","趇","郤","釳","阋","隙","隟","霼","餼","饩","鬩","黖"],cù:["促","媨","憱","猝","瘄","瘯","簇","縬","脨","蔟","誎","趗","踧","踿","蹙","蹴","蹵","醋","顣","鼀"],é:["俄","囮","娥","峉","峨","峩","涐","珴","皒","睋","磀","莪","訛","誐","譌","讹","迗","鈋","鋨","锇","頟","額","额","魤","鵝","鵞","鹅"],qiú:["俅","叴","唒","囚","崷","巯","巰","扏","梂","殏","毬","求","汓","泅","浗","湭","煪","犰","玌","球","璆","皳","盚","紌","絿","肍","芁","莍","虬","虯","蛷","裘","觓","觩","訄","訅","賕","赇","逎","逑","遒","酋","釚","釻","銶","頄","鮂","鯄","鰽","鼽","\uD863\uDC47"],xú:["俆","徐","禑"],"guàng kuāng":["俇"],kù:["俈","喾","嚳","库","庫","廤","瘔","絝","绔","袴","裤","褲","酷"],wù:["俉","务","務","勿","卼","坞","塢","奦","婺","寤","屼","岉","嵨","忢","悞","悟","悮","戊","扤","晤","杌","溩","焐","熃","物","痦","矹","窹","粅","蘁","誤","误","鋈","阢","隖","雾","霚","霧","靰","騖","骛","鶩","鹜","鼿","齀"],jùn:["俊","儁","呁","埈","寯","峻","懏","捃","攟","晙","棞","燇","珺","畯","竣","箟","蜠","賐","郡","陖","餕","馂","駿","骏","鵔","鵕","鵘","䐃"],liáng:["俍","墚","梁","椋","樑","粮","粱","糧","良","輬","辌","\uD86D\uDFC5"],zǔ:["俎","唨","爼","祖","組","组","詛","诅","鎺","阻","靻"],"qiào xiào":["俏"],yǒng:["俑","勇","勈","咏","埇","塎","嵱","彮","怺","恿","悀","惥","愑","愹","慂","柡","栐","永","泳","湧","甬","蛹","詠","踊","踴","鯒","鲬"],hùn:["俒","倱","圂","尡","慁","掍","溷","焝","睴","觨","諢","诨"],jìng:["俓","傹","境","妌","婙","婧","弪","弳","径","徑","敬","曔","桱","梷","浄","瀞","獍","痉","痙","竞","竟","竫","競","竸","胫","脛","莖","誩","踁","迳","逕","鏡","镜","靖","静","靜","鵛"],sàn:["俕","閐"],pěi:["俖"],sú:["俗"],xī:["俙","僖","兮","凞","卥","厀","吸","唏","唽","嘻","噏","嚱","夕","奚","嬆","嬉","屖","嵠","巇","希","徆","徯","息","悉","悕","惁","惜","昔","晞","晰","晳","曦","析","桸","榽","樨","橀","欷","氥","汐","浠","淅","渓","溪","烯","焁","焈","焟","熄","熈","熙","熹","熺","熻","燨","爔","牺","犀","犠","犧","琋","瘜","皙","睎","瞦","矽","硒","磎","礂","稀","穸","窸","粞","糦","緆","繥","羲","翕","翖","肸","肹","膝","舾","莃","菥","蒠","蜥","螅","蟋","蠵","西","觹","觽","觿","譆","谿","豀","豨","豯","貕","赥","邜","鄎","酅","醯","釸","錫","鏭","鐊","鑴","锡","隵","餏","饎","饻","鯑","鵗","鸂","鼷"],lǐ:["俚","娌","峢","峲","李","欚","浬","澧","理","礼","禮","粴","裏","裡","豊","逦","邐","醴","鋰","锂","鯉","鱧","鱱","鲤","鳢"],bǎo:["保","堢","媬","宝","寚","寳","寶","珤","緥","葆","藵","褓","賲","靌","飹","飽","饱","駂","鳵","鴇","鸨"],"yú shù yù":["俞"],"sì qí":["俟"],"xìn shēn":["信"],xiū:["俢","修","咻","庥","樇","烌","羞","脙","脩","臹","貅","銝","鎀","飍","饈","馐","髤","髹","鮴","鱃","鵂","鸺","䗛"],dì:["俤","偙","僀","埊","墑","墬","娣","帝","怟","旳","梊","焍","玓","甋","眱","睇","碲","祶","禘","第","締","缔","腣","菂","蒂","蔕","蝃","蝭","螮","諦","谛","踶","递","逓","遞","遰","鉪","\uD852\uDDDB","䗖"],chóu:["俦","儔","嬦","惆","愁","懤","栦","燽","畴","疇","皗","稠","筹","籌","絒","綢","绸","菗","詶","讎","讐","踌","躊","酧","酬","醻","雔","雠","雦"],zhì:["俧","偫","儨","制","劕","垁","娡","寘","帙","帜","幟","庢","庤","廌","彘","徏","徝","志","忮","懥","懫","挃","挚","掷","摯","擲","旘","晊","智","栉","桎","梽","櫍","櫛","治","洷","滍","滞","滯","潌","瀄","炙","熫","狾","猘","璏","瓆","痔","痣","礩","祑","秩","秷","稚","稺","穉","窒","紩","緻","置","翐","膣","至","致","芖","蛭","袟","袠","製","覟","觗","觯","觶","誌","豑","豒","貭","質","贄","质","贽","跱","踬","躓","輊","轾","郅","銍","鋕","鑕","铚","锧","陟","隲","雉","駤","騭","騺","驇","骘","鯯","鴙","鷙","鸷","\uD870\uDCCA"],"liǎ liǎng":["俩"],jiǎn:["俭","倹","儉","减","剪","堿","弿","彅","戩","戬","拣","挸","捡","揀","撿","枧","柬","梘","检","検","檢","減","湕","瀽","瑐","睑","瞼","硷","碱","礆","笕","筧","简","簡","絸","繭","翦","茧","藆","蠒","裥","襇","襉","襺","詃","謇","謭","譾","谫","趼","蹇","鐗","鬋","鰎","鹸","鹻","鹼"],huò:["俰","咟","嚯","嚿","奯","彠","惑","或","擭","旤","曤","檴","沎","湱","瀖","獲","癨","眓","矐","祸","禍","穫","窢","耯","臛","艧","获","蒦","藿","蠖","謋","貨","货","鍃","鑊","镬","雘","霍","靃","韄","㸌"],"jù jū":["俱","据","鋸","锯"],xiào:["俲","傚","効","咲","哮","啸","嘋","嘨","嘯","孝","效","斅","斆","歗","涍","熽","笑","詨","誟"],pái:["俳","徘","牌","犤","猅","簰","簲","輫"],biào:["俵","鰾","鳔"],"chù tì":["俶"],fèi:["俷","剕","厞","吠","屝","废","廃","廢","昲","曊","櫠","沸","濷","狒","癈","肺","萉","費","费","鐨","镄","陫","靅","鼣"],fèng:["俸","凤","奉","湗","焨","煈","賵","赗","鳯","鳳","鴌"],ǎn:["俺","唵","埯","揞","罯","銨","铵"],bèi:["俻","倍","偝","偹","備","僃","备","悖","惫","愂","憊","昁","梖","焙","牬","犕","狈","狽","珼","琲","碚","禙","糒","苝","蓓","蛽","褙","貝","贝","軰","輩","辈","邶","郥","鄁","鋇","鐾","钡","鞁","鞴","\uD870\uDDD9"],yù:["俼","儥","喅","喩","喻","域","堉","妪","嫗","寓","峪","嶎","庽","彧","御","愈","慾","戫","昱","棛","棜","棫","櫲","欎","欝","欲","毓","浴","淯","滪","潏","澦","灪","焴","煜","燏","燠","爩","狱","獄","玉","琙","瘉","癒","砡","硢","硲","礇","礖","礜","禦","秗","稢","稶","篽","籞","籲","粖","緎","罭","聿","肀","艈","芋","芌","茟","蒮","蓣","蓹","蕷","蘌","蜟","蜮","袬","裕","誉","諭","譽","谕","豫","軉","輍","逳","遇","遹","郁","醧","鈺","鋊","錥","鐭","钰","閾","阈","雤","霱","預","预","飫","饇","饫","馭","驈","驭","鬰","鬱","鬻","魊","鱊","鳿","鴥","鴧","鴪","鵒","鷸","鸒","鹆","鹬"],xīn:["俽","噺","妡","嬜","廞","心","忄","忻","惞","新","昕","杺","欣","歆","炘","盺","薪","訢","辛","邤","鈊","鋅","鑫","锌","馨","馫","䜣","\uD86F\uDDF7"],"hǔ chí":["俿"],jiù:["倃","僦","匓","匛","匶","厩","咎","就","廄","廏","廐","慦","捄","救","旧","柩","柾","桕","欍","殧","疚","臼","舅","舊","鯦","鷲","鹫","麔","齨","㠇"],yáo:["倄","傜","嗂","垚","堯","姚","媱","尧","尭","峣","嶢","嶤","徭","揺","搖","摇","摿","暚","榣","烑","爻","猺","珧","瑤","瑶","磘","窑","窯","窰","肴","蘨","謠","謡","谣","軺","轺","遙","遥","邎","顤","颻","飖","餆","餚","鰩","鱙","鳐"],"cuì zú":["倅"],"liǎng liǎ":["倆"],wǎn:["倇","唍","婉","惋","挽","晚","晥","晩","晼","梚","椀","琬","畹","皖","盌","碗","綩","綰","绾","脘","萖","踠","輓","鋔"],zǒng:["倊","偬","傯","嵸","总","惣","捴","搃","摠","燪","総","緫","縂","總","蓗"],guān:["倌","关","官","棺","瘝","癏","窤","蒄","関","闗","關","鰥","鱞","鳏"],tiǎn:["倎","唺","忝","悿","晪","殄","淟","睓","腆","舔","覥","觍","賟","錪","餂"],mén:["們","扪","捫","璊","菛","虋","鍆","钔","門","閅","门","\uD86D\uDFA9"],"dǎo dào":["倒"],"tán tàn":["倓","埮"],"juè jué":["倔"],chuí:["倕","垂","埀","捶","搥","桘","棰","槌","箠","腄","菙","錘","鎚","锤","陲","顀"],xìng:["倖","姓","婞","嬹","幸","性","悻","杏","涬","緈","臖","荇","莕","葕"],péng:["倗","傰","塜","塳","弸","憉","捀","朋","棚","椖","樥","硼","稝","竼","篷","纄","膨","芃","蓬","蘕","蟚","蟛","袶","輣","錋","鑝","韸","韼","騯","髼","鬅","鬔","鵬","鹏"],"tǎng cháng":["倘"],hòu:["候","厚","后","垕","堠","後","洉","茩","豞","逅","郈","鮜","鱟","鲎","鲘"],tì:["倜","剃","嚏","嚔","屉","屜","悌","悐","惕","惖","戻","掦","替","朑","歒","殢","涕","瓋","笹","籊","薙","褅","逖","逷","髰","鬀","鬄"],gàn:["倝","凎","幹","榦","檊","淦","灨","盰","紺","绀","詌","贑","赣","骭","㽏"],"liàng jìng":["倞","靓"],suī:["倠","哸","夊","滖","濉","眭","睢","芕","荽","荾","虽","雖","鞖"],"chàng chāng":["倡"],jié:["倢","偼","傑","刦","刧","刼","劫","劼","卩","卪","婕","媫","孑","岊","崨","嵥","嶻","巀","幯","截","捷","掶","擮","昅","杢","杰","桀","桝","楬","楶","榤","洁","滐","潔","狤","睫","礍","竭","節","羯","莭","蓵","蛣","蜐","蠘","蠞","蠽","衱","袺","訐","詰","誱","讦","踕","迼","鉣","鍻","镼","頡","鮚","鲒","㛃"],"kǒng kōng":["倥"],juàn:["倦","劵","奆","慻","桊","淃","狷","獧","眷","睊","睠","絭","絹","绢","罥","羂","腃","蔨","鄄","餋"],zōng:["倧","堫","宗","嵏","嵕","惾","朡","棕","椶","熧","猣","磫","緃","翪","腙","葼","蝬","豵","踨","踪","蹤","鍐","鑁","騌","騣","骔","鬃","鬉","鬷","鯮","鯼"],ní:["倪","坭","埿","尼","屔","怩","淣","猊","籾","聣","蚭","蜺","觬","貎","跜","輗","郳","鈮","铌","霓","馜","鯢","鲵","麑","齯","\uD86D\uDC10","\uD86E\uDC1C"],zhuō:["倬","拙","捉","桌","梲","棁","棳","槕","涿","窧","鐯","䦃"],"wō wēi":["倭"],luǒ:["倮","剆","曪","瘰","癳","臝","蓏","蠃","裸","躶"],sōng:["倯","凇","娀","崧","嵩","庺","憽","松","枀","枩","柗","梥","檧","淞","濍","硹","菘","鬆"],lèng:["倰","堎","愣","睖","踜"],zì:["倳","剚","字","恣","渍","漬","牸","眥","眦","胔","胾","自","茡","荢"],bèn:["倴","坌","捹","撪","渀","笨","逩"],cǎi:["倸","啋","婇","彩","採","棌","毝","睬","綵","跴","踩"],zhài:["债","債","寨","瘵","砦"],yē:["倻","吔","噎","擨","暍","椰","歋","潱","蠮"],shà:["倽","唼","喢","歃","箑","翜","翣","萐","閯","霎"],qīng:["倾","傾","卿","圊","寈","氢","氫","淸","清","蜻","軽","輕","轻","郬","錆","鑋","靑","青","鯖"],yīng:["偀","嘤","噟","嚶","婴","媖","嫈","嬰","孆","孾","愥","撄","攖","朠","桜","樱","櫻","渶","煐","珱","瑛","璎","瓔","甇","甖","碤","礯","緓","纓","绬","缨","罂","罃","罌","膺","英","莺","蘡","蝧","蠳","褮","譻","賏","軈","鑍","锳","霙","韺","鴬","鶑","鶧","鶯","鷪","鷹","鸎","鸚","鹦","鹰","䓨"],"chēng chèn":["偁","爯"],ruǎn:["偄","朊","瑌","瓀","碝","礝","腝","軟","輭","软","阮"],"zhòng tóng":["偅"],chǔn:["偆","惷","睶","萶","蠢","賰"],"jiǎ jià":["假"],"jì jié":["偈"],"bǐng bìng":["偋"],ruò:["偌","叒","嵶","弱","楉","焫","爇","箬","篛","蒻","鄀","鰙","鰯","鶸"],tí:["偍","厗","啼","嗁","崹","漽","瑅","睼","禵","稊","緹","缇","罤","蕛","褆","謕","趧","蹄","蹏","醍","鍗","題","题","騠","鮷","鯷","鳀","鵜","鷤","鹈","\uD86D\uDE28"],wēi:["偎","危","喴","威","媙","嶶","巍","微","愄","揋","揻","椳","楲","溦","烓","煨","燰","癓","縅","葨","葳","薇","蜲","蝛","覣","詴","逶","隇","隈","霺","鰃","鰄","鳂"],piān:["偏","囨","媥","楄","犏","篇","翩","鍂"],yàn:["偐","厌","厭","唁","喭","嚈","嚥","堰","妟","姲","嬊","嬿","宴","彥","彦","敥","晏","暥","曕","曣","滟","灎","灔","灧","灩","焔","焰","焱","熖","燄","牪","猒","砚","硯","艳","艶","艷","覎","觃","觾","諺","讌","讞","谚","谳","豓","豔","贋","贗","赝","軅","酀","酽","醼","釅","雁","餍","饜","騐","験","騴","驗","驠","验","鬳","鳫","鴈","鴳","鷃","鷰","齞"],"tǎng dàng":["偒"],è:["偔","匎","卾","厄","呝","咢","噩","垩","堊","堮","岋","崿","廅","悪","愕","戹","扼","搤","搹","擜","櫮","歞","歺","湂","琧","砈","砐","硆","腭","苊","萼","蕚","蚅","蝁","覨","諤","讍","谔","豟","軛","軶","轭","遌","遏","遻","鄂","鈪","鍔","鑩","锷","阨","阸","頞","顎","颚","餓","餩","饿","鰐","鰪","鱷","鳄","鶚","鹗","齃","齶","\uD86E\uDEC7","\uD855\uDD32"],xié:["偕","勰","协","協","嗋","垥","奊","恊","愶","拹","携","撷","擕","擷","攜","斜","旪","熁","燲","綊","緳","縀","缬","翓","胁","脅","脇","脋","膎","蝢","衺","襭","諧","讗","谐","鞋","鞵","龤","㙦"],chě:["偖","扯","撦"],shěng:["偗","渻","眚"],chā:["偛","嗏","扠","挿","插","揷","疀","臿","艖","銟","鍤","锸","餷"],huáng:["偟","凰","喤","堭","墴","媓","崲","徨","惶","楻","湟","煌","獚","瑝","璜","癀","皇","磺","穔","篁","簧","艎","葟","蝗","蟥","諻","趪","遑","鍠","鐄","锽","隍","韹","餭","騜","鰉","鱑","鳇","鷬","黃","黄","\uD863\uDC51"],yǎo:["偠","咬","婹","宎","岆","杳","柼","榚","溔","狕","窅","窈","舀","苭","闄","騕","鷕","齩"],"chǒu qiào":["偢"],yóu:["偤","尤","庮","怣","沋","油","浟","游","犹","猶","猷","由","疣","秞","肬","莜","莸","蕕","蚰","蝣","訧","輏","輶","逰","遊","邮","郵","鈾","铀","駀","魷","鮋","鱿","鲉","\uD872\uDE0E"],xū:["偦","墟","媭","嬃","楈","欨","歔","燸","疞","盱","綇","縃","繻","胥","蕦","虗","虚","虛","蝑","裇","訏","許","諝","譃","谞","鑐","需","須","须","顼","驉","鬚","魆","魖","\uD872\uDCD9","\uD858\uDE21"],zhā:["偧","哳","抯","挓","揸","摣","樝","渣","皶","觰","譇","齄","齇"],cī:["偨","疵","蠀","趀","骴","髊","齹"],bī:["偪","屄","楅","毴","豍","逼","鰏","鲾","鵖"],xún:["偱","噚","寻","尋","峋","巡","廵","循","恂","揗","攳","旬","杊","栒","桪","樳","洵","浔","潯","燅","燖","珣","璕","畃","紃","荀","蟳","詢","询","鄩","鱏","鱘","鲟","\uD871\uDE13","\uD872\uDE7D","\uD870\uDF64","\uD870\uDE88"],"cāi sī":["偲"],duān:["偳","媏","端","褍","鍴"],ǒu:["偶","吘","嘔","耦","腢","蕅","藕","\uD870\uDE7C","\uD841\uDE76"],tōu:["偷","偸","鍮"],"zán zá zǎ":["偺"],"lǚ lóu":["偻","僂"],fèn:["偾","僨","奋","奮","弅","忿","愤","憤","瀵","瞓","秎","粪","糞","膹","鱝","鲼"],"kuǐ guī":["傀"],sǒu:["傁","叜","叟","嗾","櫢","瞍","薮","藪"],"zhì sī tí":["傂"],sù:["傃","僳","嗉","塐","塑","夙","嫊","愫","憟","榡","樎","樕","殐","泝","涑","溯","溸","潚","潥","玊","珟","璛","簌","粛","粟","素","縤","肃","肅","膆","蔌","藗","觫","訴","謖","诉","谡","趚","蹜","速","遡","遬","鋉","餗","驌","骕","鱐","鷫","鹔","\uD86D\uDDE7"],xiā:["傄","煆","瞎","虲","谺","颬","鰕"],"yuàn yuán":["傆","媛"],rǒng:["傇","冗","宂","氄","軵"],nù:["傉","怒"],yùn:["傊","孕","恽","惲","愠","慍","枟","腪","蕴","薀","藴","蘊","褞","貟","运","運","郓","鄆","酝","醖","醞","韗","韞","韵","韻","餫"],"gòu jiǎng":["傋"],mà:["傌","嘜","榪","睰","祃","禡","罵","閁","駡","骂","鬕"],bàng:["傍","塝","棒","玤","稖","艕","蒡","蜯","謗","谤","鎊","镑"],diān:["傎","厧","嵮","巅","巓","巔","掂","攧","敁","槇","滇","癫","癲","蹎","顚","顛","颠","齻"],táng:["傏","唐","啺","坣","堂","塘","搪","棠","榶","溏","漟","煻","瑭","磄","禟","篖","糃","糖","糛","膅","膛","蓎","螗","螳","赯","踼","鄌","醣","鎕","隚","餹","饄","鶶","䣘"],hào:["傐","哠","恏","昊","昦","晧","暠","暤","暭","曍","浩","淏","澔","灏","灝","皓","皜","皞","皡","皥","耗","聕","薃","號","鄗","顥","颢","鰝"],"xī xì":["傒"],shān:["傓","删","刪","剼","圸","山","挻","搧","柵","檆","潸","澘","煽","狦","珊","笘","縿","羴","羶","脠","舢","芟","衫","跚","軕","邖","閊","鯅"],"qiàn jiān":["傔"],"què jué":["傕","埆"],"cāng chen":["傖"],róng:["傛","媶","嫆","嬫","容","峵","嵘","嶸","戎","搈","曧","栄","榕","榮","榵","毧","溶","瀜","烿","熔","狨","瑢","穁","絨","绒","羢","肜","茙","茸","荣","蓉","蝾","融","螎","蠑","褣","鎔","镕","駥"],"tà tàn":["傝"],suō:["傞","唆","嗍","嗦","娑","摍","桫","梭","睃","簑","簔","羧","莏","蓑","趖","鮻"],dǎi:["傣","歹"],zài:["傤","儎","再","在","扗","洅","載","酨"],gǔ:["傦","古","啒","尳","愲","榖","榾","汩","淈","濲","瀔","牯","皷","皼","盬","瞽","穀","罟","羖","股","脵","臌","薣","蛊","蠱","詁","诂","轂","逧","鈷","钴","餶","馉","鼓","鼔","\uD859\uDE76"],bīn:["傧","宾","彬","斌","椕","滨","濒","濱","濵","瀕","繽","缤","虨","豩","豳","賓","賔","邠","鑌","镔","霦","顮"],chǔ:["储","儲","杵","椘","楚","楮","檚","濋","璴","础","礎","禇","處","齭","齼","\uD873\uDE93"],nuó:["傩","儺","挪","梛","橠"],"cān càn":["傪"],lěi:["傫","儡","厽","垒","塁","壘","壨","櫐","灅","癗","矋","磊","礨","耒","蕌","蕾","藟","蘽","蠝","誄","讄","诔","鑸","鸓"],cuī:["催","凗","墔","崔","嵟","慛","摧","榱","獕","磪","鏙"],yōng:["傭","嗈","墉","壅","嫞","庸","廱","慵","拥","擁","滽","灉","牅","痈","癕","癰","臃","邕","郺","鄘","鏞","镛","雍","雝","饔","鱅","鳙","鷛"],"zāo cáo":["傮"],sǒng:["傱","嵷","怂","悚","愯","慫","竦","耸","聳","駷","㧐"],ào:["傲","坳","垇","墺","奡","嫯","岙","岰","嶴","懊","擙","澳","鏊","驁","骜"],"qī còu":["傶"],chuǎng:["傸","磢","闖","闯"],shǎ:["傻","儍"],hàn:["傼","垾","悍","憾","扞","捍","撖","撼","旱","晘","暵","汉","涆","漢","瀚","焊","猂","皔","睅","翰","莟","菡","蛿","蜭","螒","譀","輚","釬","銲","鋎","雗","頷","顄","颔","駻","鶾"],zhāng:["傽","嫜","张","張","彰","慞","暲","樟","漳","獐","璋","章","粻","蔁","蟑","遧","鄣","鏱","餦","騿","鱆","麞"],"yān yàn":["傿","墕","嬮"],"piào biāo":["僄","骠"],liàn:["僆","堜","媡","恋","戀","楝","殓","殮","湅","潋","澰","瀲","炼","煉","瑓","練","纞","练","萰","錬","鍊","鏈","链","鰊","\uD873\uDDA0"],màn:["㵘","僈","墁","幔","慢","曼","漫","澷","熳","獌","縵","缦","蔄","蘰","鄤","鏝","镘","\uD871\uDF2C"],"tàn tǎn":["僋"],yíng:["僌","営","塋","嬴","攍","楹","櫿","溁","溋","滢","潆","濙","濚","濴","瀅","瀛","瀠","瀯","灐","灜","熒","營","瑩","盁","盈","禜","籝","籯","縈","茔","荧","莹","萤","营","萦","萾","蓥","藀","蛍","蝇","蝿","螢","蠅","謍","贏","赢","迎","鎣"],dòng:["働","冻","凍","动","動","姛","戙","挏","栋","棟","湩","硐","胨","胴","腖","迵","霘","駧"],zhuàn:["僎","啭","囀","堟","撰","灷","瑑","篆","腞","蒃","襈","譔","饌","馔"],xiàng:["像","勨","向","嚮","姠","嶑","曏","橡","珦","缿","蟓","衖","襐","象","鐌","項","项","鱌"],shàn:["僐","善","墠","墡","嬗","擅","敾","椫","樿","歚","汕","灗","疝","磰","繕","缮","膳","蟮","蟺","訕","謆","譱","讪","贍","赡","赸","鄯","鐥","饍","騸","骟","鱓","鱔","鳝","\uD86E\uDF83"],"tuí tuǐ":["僓"],zǔn:["僔","噂","撙","譐"],pú:["僕","匍","圤","墣","濮","獛","璞","瞨","穙","莆","菐","菩","葡","蒱","蒲","贌","酺","鏷","镤"],láo:["僗","劳","労","勞","哰","崂","嶗","憥","朥","浶","牢","痨","癆","窂","簩","醪","鐒","铹","顟","髝","\uD86E\uDF7C"],chǎng:["僘","厰","廠","敞","昶","氅","鋹","\uD872\uDF2E"],guāng:["僙","光","咣","垙","姯","洸","灮","炗","炚","炛","烡","珖","胱","茪","輄","銧","黆","\uD861\uDC08"],liáo:["僚","嘹","嫽","寥","寮","尞","屪","嵺","嶚","嶛","廫","憀","敹","暸","橑","獠","璙","疗","療","竂","簝","繚","缭","聊","膋","膫","藔","蟟","豂","賿","蹘","辽","遼","飉","髎","鷯","鹩"],dèng:["僜","凳","墱","嶝","櫈","瞪","磴","覴","邓","鄧","隥"],"chán zhàn zhuàn":["僝"],bō:["僠","嶓","拨","撥","播","波","溊","玻","癶","盋","砵","碆","礡","缽","菠","袰","蹳","鉢","钵","餑","饽","驋","鱍","\uD872\uDF5B"],huì:["僡","匯","卉","喙","嘒","嚖","圚","嬒","寭","屶","屷","彗","彙","彚","徻","恚","恵","惠","慧","憓","懳","晦","暳","槥","橞","檅","櫘","汇","泋","滙","潓","烩","燴","獩","璤","瞺","硊","秽","穢","篲","絵","繪","绘","翙","翽","荟","蔧","蕙","薈","薉","蟪","詯","誨","諱","譓","譿","讳","诲","賄","贿","鐬","闠","阓","靧","頮","顪","颒","餯","\uD872\uDD1D","\uD872\uDF6C"],chuǎn:["僢","喘","舛","荈","踳"],"tiě jiàn":["僣"],sēng:["僧","鬙"],xiàn:["僩","僴","哯","垷","塪","姭","娊","宪","岘","峴","憲","撊","晛","橌","橺","涀","瀗","献","獻","现","現","県","睍","粯","糮","絤","綫","線","线","缐","羡","羨","腺","臔","臽","苋","莧","誢","豏","鋧","錎","限","陥","陷","霰","餡","馅","麲","鼸","\uD870\uDC2A","\uD86B\uDFA2"],"yù jú":["僪"],"è wū":["僫"],"tóng zhuàng":["僮"],lǐn:["僯","凛","凜","廩","廪","懍","懔","撛","檁","檩","澟","癛","癝"],gù:["僱","凅","固","堌","崓","崮","故","梏","棝","牿","痼","祻","錮","锢","雇","顧","顾","鯝","鲴"],jiāng:["僵","壃","姜","橿","殭","江","畕","疅","礓","繮","缰","翞","茳","葁","薑","螀","螿","豇","韁","鱂","鳉"],mǐn:["僶","冺","刡","勄","悯","惽","愍","慜","憫","抿","敃","敏","敯","泯","潣","皿","笢","笽","簢","蠠","閔","閩","闵","闽","鰵","鳘","黽"],jìn:["僸","凚","噤","嚍","墐","壗","妗","嬧","搢","晉","晋","枃","殣","浕","浸","溍","濅","濜","烬","煡","燼","琎","瑨","璶","盡","祲","縉","缙","荩","藎","覲","觐","賮","贐","赆","近","进","進","靳","齽"],"jià jie":["價"],qiào:["僺","峭","帩","撬","殻","窍","竅","誚","诮","躈","陗","鞩","韒","髚"],pì:["僻","媲","嫓","屁","澼","甓","疈","譬","闢","鷿","鸊","䴙"],sài:["僿","簺","賽","赛"],"chán tǎn shàn":["儃"],"dāng dàng":["儅","当","闣"],xuān:["儇","喧","塇","媗","宣","愃","愋","揎","昍","暄","煊","煖","瑄","睻","矎","禤","箮","翧","翾","萱","萲","蓒","蕿","藼","蘐","蝖","蠉","諠","諼","譞","谖","軒","轩","鍹","駽","鰚","\uD86D\uDCF6","\uD86C\uDF7D"],"dān dàn":["儋","擔","瘅"],càn:["儏","澯","灿","燦","璨","粲","薒","謲"],"bīn bìn":["儐"],"án àn":["儑"],tái:["儓","坮","嬯","抬","擡","檯","炱","炲","籉","臺","薹","跆","邰","颱","鮐","鲐"],lán:["儖","兰","囒","婪","岚","嵐","幱","拦","攔","斓","斕","栏","欄","欗","澜","瀾","灆","灡","燣","燷","璼","篮","籃","籣","繿","葻","蓝","藍","蘫","蘭","褴","襕","襤","襴","襽","譋","讕","谰","躝","鑭","镧","闌","阑","韊","\uD871\uDC97"],"nǐ yì ài yí":["儗"],méng:["儚","幪","曚","朦","橗","檬","氋","溕","濛","甍","甿","盟","礞","艨","莔","萌","蕄","虻","蝱","鄳","鄸","霿","靀","顭","饛","鯍","鸏","鹲","\uD86D\uDC61","㠓"],níng:["儜","凝","咛","嚀","嬣","柠","橣","檸","狞","獰","聍","聹","薴","鑏","鬡","鸋"],qióng:["儝","卭","宆","惸","憌","桏","橩","焪","焭","煢","熍","琼","瓊","睘","穷","穹","窮","竆","笻","筇","舼","茕","藑","藭","蛩","蛬","赹","跫","邛","銎","䓖"],liè:["儠","冽","列","劣","劽","埒","埓","姴","峛","巤","挒","捩","栵","洌","浖","烈","烮","煭","犣","猎","猟","獵","聗","脟","茢","蛚","趔","躐","迾","颲","鬛","鬣","鮤","鱲","鴷","䴕","\uD86D\uDEAD"],kuǎng:["儣","夼","懭"],bào:["儤","勽","報","忁","报","抱","曓","爆","犦","菢","虣","蚫","豹","鉋","鑤","铇","骲","髱","鮑","鲍"],biāo:["儦","墂","幖","彪","标","標","滮","瀌","熛","爂","猋","瘭","磦","膘","臕","謤","贆","鏢","鑣","镖","镳","颮","颷","飆","飇","飈","飊","飑","飙","飚","驫","骉","髟"],zǎn:["儧","儹","噆","攅","昝","趱","趲"],háo:["儫","嗥","嘷","噑","嚎","壕","椃","毜","毫","濠","獆","獔","竓","籇","蚝","蠔","譹","豪"],qìng:["儬","凊","庆","慶","櫦","濪","碃","磬","罄","靘"],chèn:["儭","嚫","榇","櫬","疢","衬","襯","讖","谶","趁","趂","齓","齔","龀"],téng:["儯","幐","滕","漛","疼","籐","籘","縢","腾","藤","虅","螣","誊","謄","邆","駦","騰","驣","鰧","䲢"],"lǒng lóng lòng":["儱"],"chán chàn":["儳"],"ráng xiāng":["儴","勷"],"huì xié":["儶"],luó:["儸","攞","椤","欏","猡","玀","箩","籮","罗","羅","脶","腡","萝","蘿","螺","覼","逻","邏","鏍","鑼","锣","镙","饠","騾","驘","骡","鸁"],léi:["儽","嫘","檑","欙","瓃","畾","縲","纍","纝","缧","罍","羸","蔂","蘲","虆","轠","鐳","鑘","镭","雷","靁","鱩","鼺"],"nàng nāng":["儾"],"wù wū":["兀"],yǔn:["允","喗","夽","抎","殒","殞","狁","磒","荺","賱","鈗","阭","陨","隕","霣","馻","齫","齳"],zān:["兂","橵","簪","簮","糌","鐕","鐟","鵤"],yuán:["元","円","原","厡","厵","园","圆","圎","園","圓","垣","塬","媴","嫄","援","榞","榬","橼","櫞","沅","湲","源","溒","爰","猨","猿","笎","緣","縁","缘","羱","茒","薗","蝝","蝯","螈","袁","褤","謜","轅","辕","邍","邧","酛","鈨","鎱","騵","魭","鶢","鶰","黿","鼋","\uD86D\uDE2A"],xiōng:["兄","兇","凶","匂","匈","哅","忷","恟","汹","洶","胷","胸","芎","訩","詾","讻"],chōng:["充","嘃","忡","憃","憧","摏","沖","浺","珫","罿","翀","舂","艟","茺","衝","蹖","㳘"],zhào:["兆","垗","旐","曌","枛","櫂","照","燳","狣","瞾","笊","罀","罩","羄","肁","肇","肈","詔","诏","赵","趙","鮡","\uD873\uDD90"],"duì ruì yuè":["兊","兌","兑"],kè:["克","刻","勀","勊","堁","娔","客","恪","愙","氪","溘","碦","緙","缂","艐","衉","課","课","錁","锞","騍","骒"],tù:["兎","兔","堍","迌","鵵"],dǎng:["党","攩","欓","譡","讜","谠","黨","\uD84D\uDDCB"],dōu:["兜","兠","唗","橷","篼","蔸"],huǎng:["兤","奛","幌","怳","恍","晄","炾","熀","縨","詤","謊","谎"],rù:["入","嗕","媷","扖","杁","洳","溽","縟","缛","蓐","褥","鳰"],nèi:["內","氝","氞","錗"],"yú shù":["兪"],"liù lù":["六"],han:["兯","爳"],tiān:["兲","天","婖","添","酟","靔","靝","黇"],"xīng xìng":["兴"],diǎn:["典","嚸","奌","婰","敟","椣","点","碘","蒧","蕇","踮","點"],"zī cí":["兹"],jiān:["兼","冿","囏","坚","堅","奸","姦","姧","尖","幵","惤","戋","戔","搛","椾","樫","櫼","歼","殱","殲","湔","瀐","瀸","煎","熞","熸","牋","瑊","睷","礛","礷","笺","箋","緘","縑","缄","缣","肩","艰","艱","菅","菺","葌","蒹","蔪","蕑","蕳","虃","譼","豜","鑯","雃","鞯","韀","韉","餰","馢","鰔","鰜","鰹","鲣","鳒","鵑","鵳","鶼","鹣","麉"],shòu:["兽","受","售","壽","夀","寿","授","狩","獣","獸","痩","瘦","綬","绶","膄"],jì:["兾","冀","剂","剤","劑","勣","坖","垍","塈","妓","季","寂","寄","廭","彑","徛","忌","悸","惎","懻","技","旡","既","旣","暨","暩","曁","梞","檕","檵","洎","漃","漈","瀱","痵","癠","禝","稩","稷","穄","穊","穧","紀","継","績","繋","繼","继","绩","罽","臮","芰","茍","茤","葪","蓟","蔇","薊","蘎","蘮","蘻","裚","襀","覬","觊","計","記","誋","计","记","跡","跽","蹟","迹","际","際","霁","霽","驥","骥","髻","鬾","魝","魥","鯚","鯽","鰶","鰿","鱀","鱭","鲚","鲫","鵋","鷑","齌","\uD869\uDFDD","\uD873\uDDA8","\uD873\uDDAD"],jiōng:["冂","冋","坰","埛","扃","蘏","蘔","駉","駫","\uD873\uDCF6"],mào:["冃","冐","媢","帽","愗","懋","暓","柕","楙","毷","瑁","皃","眊","瞀","耄","茂","萺","蝐","袤","覒","貌","貿","贸","鄚","鄮"],rǎn:["冄","冉","姌","媣","染","珃","苒","蒅","䎃"],"nèi nà":["内"],gāng:["冈","冮","刚","剛","堈","堽","岡","掆","摃","棡","牨","犅","疘","綱","纲","缸","罁","罡","肛","釭","鎠","㭎"],cè:["冊","册","厕","厠","夨","廁","恻","惻","憡","敇","测","測","笧","策","筞","筴","箣","荝","萗","萴","蓛"],guǎ:["冎","剐","剮","叧","寡"],"mào mò":["冒"],gòu:["冓","啂","坸","垢","够","夠","媾","彀","搆","撀","构","構","煹","覯","觏","訽","詬","诟","購","购","遘","雊"],xǔ:["冔","喣","暊","栩","珝","盨","糈","詡","諿","诩","鄦","醑"],mì:["冖","冪","嘧","塓","宻","密","峚","幂","幎","幦","怽","榓","樒","櫁","汨","淧","滵","漞","濗","熐","羃","蔤","蜜","覓","覔","覛","觅","謐","谧","鼏"],"yóu yín":["冘"],xiě:["写","冩","藛"],jūn:["军","君","均","桾","汮","皲","皸","皹","碅","莙","蚐","袀","覠","軍","鈞","銁","銞","鍕","钧","頵","鮶","鲪","麏"],mí:["冞","擟","瀰","爢","猕","獼","祢","禰","縻","蒾","藌","蘪","蘼","袮","詸","謎","迷","醚","醾","醿","釄","镾","鸍","麊","麋","麛"],"guān guàn":["冠","覌","観","觀","观"],měng:["冡","勐","懵","掹","猛","獴","艋","蜢","蠓","錳","锰","鯭","鼆"],zhǒng:["冢","塚","尰","歱","煄","瘇","肿","腫","踵"],zuì:["冣","嶵","晬","最","栬","槜","檇","檌","祽","絊","罪","蕞","辠","酔","酻","醉","錊"],yuān:["冤","剈","囦","嬽","寃","棩","淵","渁","渆","渊","渕","灁","眢","肙","葾","蒬","蜎","蜵","駌","鳶","鴛","鵷","鸢","鸳","鹓","鼘","鼝"],míng:["冥","名","明","暝","朙","榠","洺","溟","猽","眀","眳","瞑","茗","螟","覭","詺","鄍","銘","铭","鳴","鸣"],kòu:["冦","叩","宼","寇","扣","敂","滱","窛","筘","簆","蔲","蔻","釦","鷇"],tài:["冭","太","夳","忲","态","態","汰","汱","泰","溙","肽","舦","酞","鈦","钛"],"féng píng":["冯","馮"],"chōng chòng":["冲"],kuàng:["况","圹","壙","岲","懬","旷","昿","曠","框","況","爌","眖","眶","矿","砿","礦","穬","絋","絖","纊","纩","貺","贶","軦","邝","鄺","鉱","鋛","鑛","黋"],lěng:["冷"],pàn:["冸","判","叛","沜","泮","溿","炍","牉","畔","盼","聁","袢","襻","詊","鋬","鑻","頖","鵥"],fā:["冹","彂","沷","発","發"],xiǎn:["冼","尟","尠","崄","嶮","幰","攇","显","櫶","毨","灦","烍","燹","狝","猃","獫","獮","玁","禒","筅","箲","藓","蘚","蚬","蜆","譣","赻","跣","鍌","险","険","險","韅","顕","顯","㬎"],qià:["冾","圶","帢","恰","殎","洽","硈","胢","髂"],"jìng chēng":["净","凈","淨"],sōu:["凁","嗖","廀","廋","捜","搜","摉","溲","獀","艘","蒐","螋","鄋","醙","鎪","锼","颼","飕","餿","馊","騪"],měi:["凂","媄","媺","嬍","嵄","挴","毎","每","浼","渼","燘","美","躾","鎂","镁","黣"],tú:["凃","図","图","圖","圗","塗","屠","峹","嵞","庩","廜","徒","悇","揬","涂","瘏","筡","腯","荼","蒤","跿","途","酴","鈯","鍎","馟","駼","鵌","鶟","鷋","鷵","\uD873\uDCFF"],zhǔn:["准","凖","埻","準","\uD871\uDE2F"],"liáng liàng":["凉","涼","量"],diāo:["凋","刁","刟","叼","奝","弴","彫","汈","琱","碉","簓","虭","蛁","貂","錭","雕","鮉","鯛","鲷","鵰","鼦"],còu:["凑","湊","腠","輳","辏"],ái:["凒","啀","嘊","捱","溰","癌","皑","皚"],duó:["凙","剫","夺","奪","痥","踱","鈬","鐸","铎"],dú:["凟","匵","嬻","椟","櫝","殰","涜","牍","牘","犊","犢","独","獨","瓄","皾","裻","読","讀","讟","豄","贕","錖","鑟","韇","韣","韥","騳","髑","黩","黷"],"jǐ jī":["几"],fán:["凡","凢","凣","匥","墦","杋","柉","棥","樊","瀿","烦","煩","燔","璠","矾","礬","笲","籵","緐","羳","舤","舧","薠","蘩","蠜","襎","蹯","釩","鐇","鐢","钒","鷭","\uD86D\uDD0D","\uD873\uDE2A"],jū:["凥","匊","娵","婮","居","崌","抅","挶","掬","梮","椐","檋","毩","毱","泃","涺","狙","琚","疽","砠","罝","腒","艍","蜛","裾","諊","跔","踘","躹","陱","雎","鞠","鞫","駒","驹","鮈","鴡","鶋","\uD873\uDD8B"],"chù chǔ":["処","处"],zhǐ:["凪","劧","咫","址","坧","帋","恉","扺","指","旨","枳","止","汦","沚","洔","淽","疻","砋","祉","秖","紙","纸","芷","藢","衹","襧","訨","趾","軹","轵","酯","阯","黹"],píng:["凭","凴","呯","坪","塀","岼","帡","帲","幈","平","慿","憑","枰","洴","焩","玶","瓶","甁","竮","箳","簈","缾","荓","萍","蓱","蚲","蛢","評","评","軿","輧","郱","鮃","鲆"],kǎi:["凯","凱","剀","剴","垲","塏","恺","愷","慨","暟","蒈","輆","鍇","鎧","铠","锴","闓","闿","颽"],gān:["凲","坩","尲","尴","尶","尷","柑","泔","漧","玕","甘","疳","矸","竿","筸","粓","肝","苷","迀","酐","魐"],"kǎn qiǎn":["凵"],tū:["凸","堗","嶀","捸","涋","湥","痜","禿","秃","突","葖","鋵","鵚","鼵","㻬"],"āo wā":["凹"],chū:["出","初","岀","摴","榋","樗","貙","齣","䢺","䝙"],dàng:["凼","圵","垱","壋","档","檔","氹","璗","瓽","盪","瞊","砀","碭","礑","簜","荡","菪","蕩","蘯","趤","逿","雼","\uD870\uDF61"],hán:["函","凾","含","圅","娢","寒","崡","晗","梒","浛","涵","澏","焓","琀","甝","筨","蜬","邗","邯","鋡","韓","韩"],záo:["凿","鑿"],dāo:["刀","刂","忉","氘","舠","螩","釖","魛","鱽"],chuāng:["刅","摐","牎","牕","疮","瘡","窓","窗","窻"],"fēn fèn":["分"],"qiè qiē":["切"],kān:["刊","勘","堪","戡","栞","龕","龛"],cǔn:["刌","忖"],chú:["刍","厨","幮","廚","橱","櫉","櫥","滁","犓","篨","耡","芻","蒢","蒭","蜍","蟵","豠","趎","蹰","躇","躕","鉏","鋤","锄","除","雏","雛","鶵"],"huà huá":["划"],lí:["刕","剓","剺","劙","厘","喱","嚟","囄","嫠","孷","廲","悡","梨","梸","棃","漓","灕","犁","犂","狸","琍","璃","瓈","盠","睝","离","穲","竰","筣","篱","籬","糎","縭","缡","罹","艃","荲","菞","蓠","蔾","藜","蘺","蜊","蟍","蟸","蠫","褵","謧","貍","醨","鋫","錅","鏫","鑗","離","驪","骊","鯏","鯬","鱺","鲡","鵹","鸝","鹂","黎","黧","㰀"],yuè:["刖","嬳","岄","岳","嶽","恱","悅","悦","戉","抈","捳","月","樾","瀹","爚","玥","礿","禴","篗","籆","籥","籰","粤","粵","蘥","蚎","蚏","説","越","跀","跃","躍","軏","鈅","鉞","鑰","钺","閱","閲","阅","鸑","鸙","黦","龠","\uD86D\uDC04","\uD873\uDE1A"],liú:["刘","劉","嚠","媹","嵧","旈","旒","榴","橊","流","浏","瀏","琉","瑠","瑬","璢","畄","留","畱","疁","瘤","癅","硫","蒥","蓅","蟉","裗","鎏","鏐","鐂","镠","飀","飅","飗","駠","駵","騮","驑","骝","鰡","鶹","鹠","麍"],zé:["则","則","啧","嘖","嫧","帻","幘","択","樍","歵","沢","泎","溭","皟","瞔","矠","礋","箦","簀","舴","蔶","蠌","襗","謮","賾","赜","迮","鸅","齚","齰"],"chuàng chuāng":["创","創"],qù:["刞","厺","去","閴","闃","阒","麮","鼁"],"bié biè":["別","别"],"páo bào":["刨"],"chǎn chàn":["刬","剗","幝"],guā:["刮","劀","桰","歄","煱","瓜","胍","踻","颪","颳","騧","鴰","鸹"],gēng:["刯","庚","椩","浭","焿","畊","絚","羮","羹","耕","菮","賡","赓","鶊","鹒"],dào:["到","噵","悼","椡","檤","燾","瓙","盗","盜","稲","稻","纛","翿","艔","菿","衜","衟","軇","道"],chuàng:["刱","剏","剙","怆","愴"],kū:["刳","哭","圐","堀","枯","桍","矻","窟","跍","郀","骷","鮬"],duò:["刴","剁","墯","尮","惰","憜","挅","桗","舵","跥","跺","陊","陏","飿","饳","鵽"],"shuā shuà":["刷"],"quàn xuàn":["券"],"chà shā":["刹","剎"],"cì cī":["刺"],guì:["刽","刿","劊","劌","撌","攰","昋","桂","椢","槶","樻","櫃","猤","禬","筀","蓕","襘","貴","贵","跪","鐀","鑎","鞼","鱖","鱥"],lóu:["剅","娄","婁","廔","楼","樓","溇","漊","熡","耧","耬","艛","蒌","蔞","蝼","螻","謱","軁","遱","鞻","髅","髏","\uD86A\uDCFB"],cuò:["剉","剒","厝","夎","挫","措","棤","莝","莡","蓌","逪","銼","錯","锉","错"],"xiāo xuē":["削"],"kēi kè":["剋","尅"],"là lá":["剌"],tī:["剔","梯","踢","銻","锑","鷈","鷉","䏲","䴘"],pōu:["剖"],wān:["剜","塆","壪","帵","弯","彎","湾","潫","灣","睕","蜿","豌"],"bāo bō":["剝","剥"],duō:["剟","咄","哆","嚉","多","夛","掇","毲","畓","裰","㙍"],qíng:["剠","勍","夝","情","擎","晴","暒","棾","樈","檠","氰","甠","硘","葝","黥"],"yǎn shàn":["剡"],"dū zhuó":["剢"],yān:["剦","嫣","崦","嶖","恹","懕","懨","樮","淊","淹","漹","烟","焉","焑","煙","珚","篶","胭","臙","菸","鄢","醃","閹","阉","黫"],huō:["剨","劐","吙","攉","秴","耠","锪","騞","\uD873\uDD03"],shèng:["剩","剰","勝","圣","墭","嵊","晠","榺","橳","琞","聖","蕂","貹","賸"],"duān zhì":["剬"],wū:["剭","呜","嗚","圬","屋","巫","弙","杇","歍","汙","汚","污","洿","烏","窏","箼","螐","誈","誣","诬","邬","鄔","鎢","钨","鰞","鴮"],gē:["割","哥","圪","彁","戈","戓","戨","歌","滒","犵","肐","袼","謌","鎶","鴚","鴿","鸽"],"dá zhá":["剳"],chuán:["剶","暷","椽","篅","舡","舩","船","輲","遄"],"tuán zhuān":["剸","漙","篿"],"lù jiū":["剹"],pēng:["剻","匉","嘭","怦","恲","抨","梈","烹","砰","軯","駍"],piāo:["剽","勡","慓","旚","犥","翲","螵","飃","飄","飘","魒"],kōu:["剾","彄","抠","摳","眍","瞘","芤","\uD86F\uDE29"],"jiǎo chāo":["剿","劋","勦","摷"],qiāo:["劁","勪","墝","幧","敲","橇","毃","燆","硗","磽","繑","趬","跷","踍","蹺","蹻","郻","鄡","鄥","鍫","鍬","鐰","锹","頝"],"huá huà":["劃"],"zhā zhá":["劄"],"pī pǐ":["劈","悂"],tāng:["劏","嘡","羰","薚","蝪","蹚","鞺","鼞"],chán:["劖","嚵","壥","婵","嬋","巉","廛","棎","毚","湹","潹","潺","澶","瀍","瀺","煘","獑","磛","緾","纏","纒","缠","艬","蝉","蟐","蟬","蟾","誗","讒","谗","躔","鄽","酁","鋋","鑱","镵","饞","馋"],zuān:["劗","躜","躦","鉆","鑚"],mó:["劘","嫫","嬤","嬷","尛","摹","擵","橅","糢","膜","藦","蘑","謨","謩","谟","饃","饝","馍","髍","魔","魹"],zhú:["劚","斸","曯","欘","灟","炢","烛","燭","爥","瘃","竹","笁","笜","舳","茿","蓫","蠋","蠾","躅","逐","逫","钃","鱁"],quàn:["劝","勧","勸","牶","韏"],"jìn jìng":["劤","劲","勁"],kēng:["劥","坑","牼","硁","硜","誙","銵","鍞","鏗","铿","阬"],"xié liè":["劦"],"zhù chú":["助"],nǔ:["努","弩","砮","胬"],shào:["劭","卲","哨","潲","紹","綤","绍","袑","邵"],miǎo:["劰","杪","淼","渺","眇","秒","篎","緲","缈","藐","邈"],kǒu:["劶","口"],wā:["劸","娲","媧","屲","挖","攨","洼","溛","漥","瓾","畖","穵","窊","窪","蛙","韈","鼃"],kuāng:["劻","匡","匩","哐","恇","洭","筐","筺","誆","诓","軭","邼"],hé:["劾","咊","啝","姀","峆","敆","曷","柇","楁","毼","河","涸","渮","澕","熆","皬","盇","盉","盍","盒","禾","篕","籺","粭","翮","菏","萂","覈","訸","詥","郃","釛","鉌","鑉","閡","闔","阂","阖","鞨","頜","餄","饸","魺","鹖","麧","齕","龁","龢","\uD870\uDF17"],gào:["勂","吿","告","峼","祮","祰","禞","筶","誥","诰","郜","鋯","锆"],"bó bèi":["勃"],láng:["勆","嫏","廊","斏","桹","榔","樃","欴","狼","琅","瑯","硠","稂","艆","蓈","蜋","螂","躴","郒","郞","鋃","鎯","锒"],xūn:["勋","勛","勲","勳","嚑","坃","埙","塤","壎","壦","曛","燻","獯","矄","纁","臐","薫","薰","蘍","醺","\uD86C\uDD38"],"juàn juān":["勌","瓹"],"lè lēi":["勒"],kài:["勓","炌","烗","鎎"],"wěng yǎng":["勜"],qín:["勤","嗪","噙","嶜","庈","懃","懄","捦","擒","斳","檎","澿","珡","琴","琹","瘽","禽","秦","耹","芩","芹","菦","螓","蠄","鈙","鈫","雂","靲","鳹","鵭"],jiàng:["勥","匞","匠","嵹","弜","弶","摾","櫤","洚","滰","犟","糡","糨","絳","绛","謽","酱","醤","醬"],fān:["勫","嬏","帆","幡","忛","憣","旙","旛","繙","翻","藩","轓","颿","飜","鱕"],juān:["勬","姢","娟","捐","涓","蠲","裐","鎸","鐫","镌","鹃"],"tóng dòng":["勭","烔","燑","狪"],lǜ:["勴","垏","嵂","律","慮","氯","滤","濾","爈","箻","綠","繂","膟","葎","虑","鑢"],chè:["勶","坼","彻","徹","掣","撤","澈","烢","爡","瞮","硩","聅","迠","頙","㬚"],sháo:["勺","玿","韶"],"gōu gòu":["勾"],cōng:["匆","囪","囱","忩","怱","悤","暰","樬","漗","瑽","璁","瞛","篵","繱","聡","聦","聪","聰","苁","茐","葱","蓯","蔥","蟌","鍯","鏓","鏦","騘","驄","骢"],"táo yáo":["匋","陶"],páo:["匏","咆","垉","庖","爮","狍","袍","褜","軳","鞄","麅"],dá:["匒","妲","怛","炟","燵","畣","笪","羍","荙","薘","蟽","詚","达","迏","迖","迚","逹","達","鐽","靼","鞑","韃","龖","龘","\uD86D\uDFFC"],"huà huā":["化"],"běi bèi":["北"],nǎo:["匘","垴","堖","嫐","恼","悩","惱","瑙","碯","脑","脳","腦"],"chí shi":["匙"],fāng:["匚","堏","方","淓","牥","芳","邡","鈁","錺","钫","鴋"],zā:["匝","咂","帀","沞","臜","臢","迊","鉔","魳"],qiè:["匧","厒","妾","怯","悏","惬","愜","挈","穕","窃","竊","笡","箧","篋","籡","踥","鍥","锲","鯜"],"zāng cáng":["匨"],fěi:["匪","奜","悱","棐","榧","篚","翡","蕜","誹","诽"],"kuì guì":["匮","匱"],suǎn:["匴"],pǐ:["匹","噽","嚭","圮","庀","痞","癖","脴","苉","銢","鴄"],"qū ōu":["区","區"],"kē qià":["匼"],"yǎn yàn":["匽","棪"],biǎn:["匾","惼","揙","碥","稨","窆","藊","褊","貶","贬","鴘"],nì:["匿","堄","嫟","嬺","惄","愵","昵","暱","氼","眤","睨","縌","胒","腻","膩","逆","\uD863\uDE99"],niàn:["卄","唸","埝","廿","念","惗","艌"],sà:["卅","櫒","脎","萨","蕯","薩","鈒","隡","颯","飒","馺"],zú:["卆","哫","崪","族","箤","足","踤","镞"],shēng:["升","呏","声","斘","昇","曻","枡","殅","泩","湦","焺","牲","珄","生","甥","竔","笙","聲","鉎","鍟","阩","陞","陹","鵿","鼪"],wàn:["卍","卐","忨","杤","瞣","脕","腕","萬","蟃","贎","輐","錽","\uD870\uDDD5"],"huá huà huā":["华","華"],bēi:["卑","悲","揹","杯","桮","盃","碑","藣","鵯","鹎"],"zú cù":["卒"],"dān shàn chán":["单","單"],"nán nā":["南"],"shuài lǜ":["卛"],"bǔ bo pú":["卜"],"kuàng guàn":["卝"],biàn:["卞","变","変","峅","弁","徧","忭","抃","昪","汳","汴","玣","艑","苄","覍","諚","變","辡","辧","辨","辩","辫","辮","辯","遍","釆","\uD861\uDE95"],bǔ:["卟","哺","捕","补","補","鸔","\uD873\uDDD5"],"zhàn zhān":["占","覱"],"kǎ qiǎ":["卡"],lú:["卢","嚧","垆","壚","庐","廬","曥","枦","栌","櫨","泸","瀘","炉","爐","獹","玈","瓐","盧","矑","籚","纑","罏","胪","臚","舮","舻","艫","芦","蘆","蠦","轤","轳","鈩","鑪","顱","颅","馿","髗","魲","鱸","鲈","鸕","鸬","黸","\uD872\uDF3B"],lǔ:["卤","塷","掳","擄","樐","橹","櫓","氌","滷","澛","瀂","硵","磠","穞","艣","艪","蓾","虏","虜","鏀","鐪","鑥","镥","魯","鲁","鹵"],guà:["卦","啩","挂","掛","罣","褂","詿","诖"],"áng yǎng":["卬"],yìn:["印","垽","堷","廕","慭","憖","憗","懚","洕","湚","猌","癊","胤","茚","酳","鮣","䲟"],què:["却","卻","塙","崅","悫","愨","慤","搉","榷","燩","琷","皵","确","確","礭","闋","阕","鵲","鹊","\uD871\uDC88"],luǎn:["卵"],"juàn juǎn":["卷","巻"],"chǎng ān hàn":["厂"],"wěi yán":["厃"],tīng:["厅","厛","听","庁","廰","廳","汀","烃","烴","綎","耓","聴","聼","聽","鞓","\uD871\uDE29"],"zhé zhái":["厇"],"hàn àn":["厈","屽"],yǎ:["厊","唖","庌","痖","瘂","蕥"],shè:["厍","厙","弽","慑","慴","懾","摂","欇","涉","涻","渉","滠","灄","社","舎","蔎","蠂","設","设","赦","騇","麝"],dǐ:["厎","呧","坘","弤","抵","拞","掋","牴","砥","菧","觝","詆","诋","軧","邸","阺","骶","鯳"],"zhǎ zhǎi":["厏"],páng:["厐","嫎","庞","徬","舽","螃","逄","鰟","鳑","龎","龐"],"zhì shī":["厔"],máng:["厖","吂","哤","娏","忙","恾","杗","杧","汒","浝","牻","痝","盲","硭","笀","芒","茫","蘉","邙","釯","鋩","铓","駹"],zuī:["厜","樶","纗","蟕"],"shà xià":["厦","廈"],áo:["厫","嗷","嗸","廒","敖","滶","獒","獓","璈","翱","翶","翺","聱","蔜","螯","謷","謸","遨","鏖","隞","鰲","鳌","鷔","鼇"],"lán qiān":["厱"],"sī mǒu":["厶"],"gōng hóng":["厷"],"lín miǎo":["厸"],"qiú róu":["厹"],dū:["厾","嘟","督","醏"],"xiàn xuán":["县","縣"],"cān shēn cēn sān":["参","參","叄","叅"],"ài yǐ":["叆"],"chā chà chǎ chá":["叉"],shuāng:["双","孀","孇","欆","礵","艭","雙","霜","騻","驦","骦","鷞","鸘","鹴"],shōu:["収","收"],guái:["叏"],bá:["叐","妭","抜","拔","炦","癹","胈","茇","菝","詙","跋","軷","魃","鼥"],"fā fà":["发"],"zhuó yǐ lì jué":["叕"],qǔ:["取","娶","竬","蝺","詓","齲","龋"],"jiǎ xiá":["叚","徦"],"wèi yù":["叞","尉","蔚"],dié:["叠","垤","堞","峌","幉","恎","惵","戜","曡","殜","氎","牃","牒","瓞","畳","疂","疉","疊","碟","絰","绖","耊","耋","胅","艓","苵","蜨","蝶","褋","詄","諜","谍","跮","蹀","迭","镻","鰈","鲽","鴩","\uD86F\uDD87"],ruì:["叡","枘","汭","瑞","睿","芮","蚋","蜹","銳","鋭","锐"],"jù gōu":["句"],lìng:["另","呤","炩","蘦"],"dāo dáo tāo":["叨"],"zhī zhǐ":["只"],jiào:["叫","呌","嘂","嘦","噍","嬓","斍","斠","滘","漖","獥","珓","皭","窖","藠","訆","譥","趭","較","轎","轿","较","酵","醮","釂"],"zhào shào":["召"],"kě kè":["可"],"tái tāi":["台","苔"],pǒ:["叵","尀","笸","箥","鉕","钷","駊"],"yè xié":["叶"],"hào háo":["号"],tàn:["叹","嘆","探","歎","湠","炭","碳","舕"],"hōng hóng":["叿"],miē:["吀","咩","哶","孭"],"xū yū yù":["吁"],chī:["吃","哧","喫","嗤","噄","妛","媸","彨","彲","摛","攡","殦","瓻","痴","癡","眵","瞝","笞","粚","胵","蚩","螭","訵","魑","鴟","鵄","鸱","黐","齝","\uD86C\uDD28"],"xuān sòng":["吅"],yāo:["吆","喓","夭","妖","幺","楆","殀","祅","腰","葽","訞","邀","鴁","鴢","㙘"],zǐ:["吇","姉","姊","子","杍","梓","榟","橴","滓","矷","秭","笫","籽","紫","耔","虸","訿","釨"],"hé gě":["合","鲄"],"cùn dòu":["吋"],"tóng tòng":["同"],"tǔ tù":["吐","唋"],"zhà zhā":["吒","奓"],"xià hè":["吓"],"ā yā":["吖"],"ma má mǎ":["吗"],lìn:["吝","恡","悋","橉","焛","甐","膦","蔺","藺","賃","赁","蹸","躏","躙","躪","轥","閵"],tūn:["吞","暾","朜","焞"],"bǐ pǐ":["吡"],qìn:["吢","吣","唚","抋","揿","搇","撳","沁","瀙","菣","藽"],"jiè gè":["吤"],"fǒu pǐ":["否"],"ba bā":["吧"],dūn:["吨","噸","墩","墪","惇","撉","撴","犜","獤","礅","蜳","蹾","驐"],fēn:["吩","帉","昐","朆","梤","棻","氛","竕","紛","纷","翂","芬","衯","訜","躮","酚","鈖","雰","餴","饙","馚"],"é huā":["吪"],"kēng háng":["吭","妔"],shǔn:["吮"],"zhī zī":["吱"],"yǐn shěn":["吲"],wú:["吳","吴","呉","墲","峿","梧","橆","毋","洖","浯","無","珸","璑","祦","芜","茣","莁","蕪","蜈","蟱","譕","郚","鋙","铻","鯃","鵐","鷡","鹀","鼯"],"chǎo chāo":["吵"],"nà nè":["吶"],"xuè chuò jué":["吷"],chuī:["吹","炊","龡"],"dōu rú":["吺"],hǒu:["吼","犼"],"hōng hǒu ōu":["吽"],"wú yù":["吾"],"ya yā":["呀"],"è e":["呃"],dāi:["呆","懛","獃"],"mèn qǐ":["呇"],hōng:["呍","嚝","揈","灴","烘","焢","硡","薨","訇","谾","軣","輷","轟","轰","鍧"],nà:["呐","捺","笝","納","纳","肭","蒳","衲","豽","貀","軜","郍","鈉","钠","靹","魶"],"tūn tiān":["呑"],"fǔ ḿ":["呒","嘸"],"dāi tǎi":["呔"],"ǒu ōu òu":["呕"],"bài bei":["呗"],"yuán yún yùn":["员","員"],guō:["呙","啯","嘓","埚","堝","墎","崞","彉","彍","懖","猓","瘑","聒","蝈","蟈","郭","鈛","鍋","锅"],"huá qì":["呚"],"qiàng qiāng":["呛","跄"],shī:["呞","失","尸","屍","师","師","施","浉","湤","湿","溮","溼","濕","狮","獅","瑡","絁","葹","蒒","蓍","虱","蝨","褷","襹","詩","诗","邿","釃","鉇","鍦","鯴","鰤","鲺","鳲","鳾","鶳","鸤","䴓","\uD86D\uDE95"],juǎn:["呟","埍","臇","菤","錈","锩"],pěn:["呠","翸"],"wěn mǐn":["呡"],"ne ní":["呢"],"ḿ m̀ móu":["呣"],rán:["呥","嘫","然","燃","繎","肰","蚦","蚺","衻","袇","袡","髥","髯"],"tiè chè":["呫"],"qì zhī":["呮"],"zǐ cī":["呰"],"guā gū guǎ":["呱"],"cī zī":["呲"],"hǒu xǔ gòu":["呴"],"hē ā á ǎ à a":["呵"],náo:["呶","夒","峱","嶩","巎","挠","撓","猱","硇","蛲","蟯","詉","譊","鐃","铙"],"xiā gā":["呷"],pēi:["呸","怌","肧","胚","衃","醅"],"háo xiāo":["呺"],mìng:["命","掵"],"dá dàn":["呾"],"zuǐ jǔ":["咀"],"xián gān":["咁"],pǒu:["咅","哣","犃"],"yǎng yāng":["咉"],"zǎ zé zhā":["咋"],"hé hè huó huò hú":["和"],hāi:["咍"],dā:["咑","哒","噠","墶","搭","撘","耷","褡","鎝","\uD863\uDC4F"],"kǎ kā":["咔"],gū:["咕","唂","唃","姑","嫴","孤","巬","巭","柧","橭","沽","泒","稒","笟","箍","箛","篐","罛","苽","菇","菰","蓇","觚","軱","軲","轱","辜","酤","鈲","鮕","鴣","鸪"],"kā gā":["咖"],zuo:["咗"],lóng:["咙","嚨","嶐","巃","巄","昽","曨","朧","栊","槞","櫳","湰","滝","漋","爖","珑","瓏","癃","眬","矓","砻","礱","礲","窿","竜","聋","聾","胧","茏","蘢","蠪","蠬","襱","豅","鏧","鑨","霳","靇","驡","鸗","龍","龒","龙"],"xiàn xián":["咞"],qì:["咠","唭","噐","器","夡","弃","憇","憩","暣","棄","欫","气","気","氣","汔","汽","泣","湆","湇","炁","甈","盵","矵","碛","碶","磜","磧","罊","芞","葺","藒","蟿","訖","讫","迄","鐑"],"xì dié":["咥"],"liē liě lié lie":["咧"],zī:["咨","嗞","姕","姿","孜","孳","孶","崰","嵫","栥","椔","淄","湽","滋","澬","玆","禌","秶","粢","紎","緇","緕","纃","缁","茊","茲","葘","諮","谘","貲","資","赀","资","赼","趑","趦","輜","輺","辎","鄑","鈭","錙","鍿","鎡","锱","镃","頾","頿","髭","鯔","鰦","鲻","鶅","鼒","齍","齜","龇"],mī:["咪"],"jī xī qià":["咭"],"gē luò kǎ lo":["咯"],"shù xún":["咰"],"zán zá zǎ zan":["咱"],"hāi ké":["咳"],huī:["咴","噅","噕","婎","媈","幑","徽","恢","拻","挥","揮","晖","暉","楎","洃","瀈","灰","灳","烣","睳","禈","翚","翬","蘳","袆","褘","詼","诙","豗","輝","辉","鰴","麾","㧑"],"huài shì":["咶"],táo:["咷","啕","桃","檮","洮","淘","祹","綯","绹","萄","蜪","裪","迯","逃","醄","鋾","鞀","鞉","饀","駣","騊","鼗","\uD86D\uDE26"],xián:["咸","啣","娴","娹","婱","嫌","嫺","嫻","弦","挦","撏","涎","湺","澖","甉","痫","癇","癎","絃","胘","舷","藖","蚿","蛝","衔","衘","誸","諴","賢","贒","贤","輱","醎","銜","鑦","閑","闲","鷳","鷴","鷼","鹇","鹹","麙","\uD86C\uDF6F"],"è àn":["咹"],"xuān xuǎn":["咺","烜"],"wāi hé wǒ guǎ guō":["咼"],"yàn yè yān":["咽"],āi:["哀","哎","埃","溾","銰","鎄","锿"],pǐn:["品","榀"],shěn:["哂","婶","嬸","审","宷","審","弞","曋","渖","瀋","瞫","矤","矧","覾","訠","諗","讅","谂","谉","邥","頣","魫"],"hǒng hōng hòng":["哄"],"wā wa":["哇"],"hā hǎ hà":["哈"],zāi:["哉","栽","渽","溨","災","灾","烖","睵","賳"],"dì diè":["哋"],pài:["哌","沠","派","渒","湃","蒎","鎃"],"gén hěn":["哏"],"yǎ yā":["哑","雅"],"yuě huì":["哕","噦"],nián:["哖","年","秊","秥","鮎","鯰","鲇","鲶","鵇","黏"],"huá huā":["哗","嘩"],"jì jiē zhāi":["哜","嚌"],mōu:["哞"],"yō yo":["哟","喲"],lòng:["哢","梇","贚"],"ò ó é":["哦"],"lī lǐ li":["哩"],"nǎ na nǎi né něi":["哪"],hè:["哬","垎","壑","寉","惒","焃","煂","燺","爀","癋","碋","翯","褐","謞","賀","贺","赫","靍","靎","靏","鶴","鸖","鹤"],"bō pò bā":["哱"],zhé:["哲","啠","喆","嚞","埑","悊","摺","晢","晣","歽","矺","砓","磔","籷","粍","虴","蛰","蟄","袩","詟","謫","謺","讁","讋","谪","輒","輙","轍","辄","辙","鮿"],"liàng láng":["哴"],"liè lǜ":["哷"],hān:["哻","憨","蚶","谽","酣","頇","顸","馠","魽","鼾"],"hēng hng":["哼"],gěng:["哽","埂","峺","挭","梗","綆","绠","耿","莄","郠","骾","鯁","鲠","\uD871\uDC94"],"chuò yuè":["哾"],"gě jiā":["哿"],"bei bài":["唄"],"hán hàn":["唅"],chún:["唇","浱","湻","滣","漘","犉","純","纯","脣","莼","蒓","蓴","醇","醕","錞","陙","鯙","鶉","鹑","\uD872\uDF5A"],"ài āi":["唉"],"jiá qiǎn":["唊"],"yán dàn xián":["唌"],chē:["唓","砗","硨","莗","蛼"],"wú ńg ń":["唔"],zào:["唕","唣","噪","慥","梍","灶","煰","燥","皁","皂","竃","竈","簉","艁","譟","趮","躁","造","\uD855\uDDA8"],dí:["唙","啇","嘀","嚁","嫡","廸","敌","敵","梑","涤","滌","狄","笛","籴","糴","苖","荻","蔋","蔐","藡","覿","觌","豴","迪","靮","頔","馰","髢","鸐","\uD873\uDC56"],"gòng hǒng gǒng":["唝","嗊"],dóu:["唞"],"lào láo":["唠","嘮","憦"],huàn:["唤","喚","奂","奐","宦","嵈","幻","患","愌","换","換","擐","攌","梙","槵","浣","涣","渙","漶","澣","烉","焕","煥","瑍","痪","瘓","睆","肒","藧","豢","轘","逭","鯇","鯶","鰀","鲩"],léng:["唥","塄","楞","碐","薐"],"wō wěi":["唩"],fěng:["唪","覂","諷","讽"],"yín jìn":["唫"],"hǔ xià":["唬"],wéi:["唯","围","圍","壝","峗","峞","嵬","帏","帷","幃","惟","桅","沩","洈","涠","湋","溈","潍","潙","潿","濰","犩","矀","維","维","蓶","覹","违","違","鄬","醀","鍏","闈","闱","韋","韦","鮠","\uD84F\uDC97","\uD873\uDD8F"],shuā:["唰"],chàng:["唱","怅","悵","暢","焻","畅","畼","誯","韔","鬯"],"ér wā":["唲"],qiàng:["唴","炝","熗","羻"],yō:["唷"],yū:["唹","淤","瘀","盓","箊","紆","纡","込","迂","迃","陓"],lài:["唻","濑","瀨","瀬","癞","癩","睐","睞","籁","籟","藾","賚","賴","赉","赖","頼","顂","鵣"],tuò:["唾","嶞","柝","毤","毻","箨","籜","萚","蘀","跅"],"zhōu zhāo tiào":["啁"],kěn:["啃","垦","墾","恳","懇","肎","肯","肻","豤","錹"],"zhuó zhào":["啅","濯"],"hēng hèng":["啈","悙"],"lín lán":["啉"],"a ā á ǎ à":["啊"],qiāng:["啌","嗴","嶈","戕","摤","斨","枪","槍","溬","牄","猐","獇","羌","羗","腔","蜣","謒","鏘","锖","锵"],"tūn zhūn xiāng duǐ":["啍"],wèn:["問","妏","揾","搵","璺","问","顐"],"cuì qi":["啐"],"dié shà jié tì":["啑"],"yuē wā":["啘"],"zǐ cǐ":["啙"],"bǐ tú":["啚"],"chuò chuài":["啜"],"yǎ yā è":["啞"],fēi:["啡","婓","婔","扉","暃","渄","猆","緋","绯","裶","霏","非","靟","飛","飝","飞","餥","馡","騑","騛","鯡","鲱","\uD873\uDD02"],pí:["啤","壀","枇","毗","毘","焷","琵","疲","皮","篺","罴","羆","脾","腗","膍","蚍","蚽","蜱","螷","蠯","豼","貔","郫","鈹","阰","陴","隦","魮","鮍","鲏","鵧","鼙"],shá:["啥"],"lā la":["啦"],"yīng qíng":["啨"],pā:["啪","妑","舥","葩","趴"],"zhě shì":["啫"],sè:["啬","嗇","懎","擌","栜","歮","涩","渋","澀","澁","濇","濏","瀒","瑟","璱","瘷","穑","穡","穯","繬","譅","轖","銫","鏼","铯","飋"],niè:["啮","嗫","噛","嚙","囁","囓","圼","孼","孽","嵲","嶭","巕","帇","敜","枿","槷","櫱","涅","湼","痆","篞","籋","糱","糵","聂","聶","臬","臲","蘖","蠥","讘","踂","踗","踙","蹑","躡","錜","鎳","鑈","鑷","钀","镊","镍","闑","陧","隉","顳","颞","齧","\uD86D\uDD36"],"luō luó luo":["啰","囉"],"tān chǎn tuō":["啴"],bo:["啵","蔔"],dìng:["啶","定","椗","矴","碇","碠","磸","聢","腚","萣","蝊","訂","订","錠","锭","顁","飣","饤"],lāng:["啷"],"án ān":["啽"],kā:["喀","擖"],"yóng yú":["喁"],"lā lá lǎ":["喇"],jiē:["喈","喼","嗟","堦","媘","接","掲","擑","湝","煯","疖","痎","癤","皆","秸","稭","脻","蝔","街","謯","阶","階","鞂","鶛"],hóu:["喉","帿","猴","瘊","睺","篌","糇","翭","葔","鄇","鍭","餱","骺","鯸","\uD872\uDF64"],"dié zhá":["喋"],wāi:["喎","歪","竵"],"nuò rě":["喏"],"xù huò guó":["喐"],zán:["喒"],"wō ō":["喔"],hú:["喖","嘝","囫","壶","壷","壺","媩","弧","搰","斛","楜","槲","湖","瀫","焀","煳","狐","猢","瑚","瓳","箶","絗","縠","胡","葫","蔛","蝴","螜","衚","觳","醐","鍸","頶","餬","鬍","魱","鰗","鵠","鶘","鶦","鹕"],"huàn yuán xuǎn hé":["喛"],xǐ:["喜","囍","壐","屣","徙","憙","枲","橲","歖","漇","玺","璽","矖","禧","縰","葈","葸","蓰","蟢","謑","蹝","躧","鈢","鉨","鉩","鱚","\uD872\uDF73","\uD873\uDDAE"],"hē hè yè":["喝"],kuì:["喟","嘳","媿","嬇","愦","愧","憒","篑","簣","籄","聩","聭","聵","膭","蕢","謉","餽","饋","馈"],"zhǒng chuáng":["喠"],"wéi wèi":["喡","為","爲"],"duó zhà":["喥"],"sāng sàng":["喪"],"qiáo jiāo":["喬"],"pèn bēn":["喯"],"cān sūn qī":["喰"],"zhā chā":["喳"],miāo:["喵"],"pēn pèn":["喷"],kuí:["喹","夔","奎","巙","戣","揆","晆","暌","楏","楑","櫆","犪","睽","葵","藈","蘷","虁","蝰","躨","逵","鄈","鍨","鍷","頯","馗","騤","骙","魁"],"lou lóu":["喽"],"zào qiāo":["喿"],"hè xiāo xiào hù":["嗃"],"á shà":["嗄"],xiù:["嗅","岫","峀","溴","珛","琇","璓","秀","綉","繍","繡","绣","螑","袖","褎","褏","銹","鏥","鏽","锈","齅"],"qiāng qiàng":["嗆","戗","戧","蹌","蹡"],"ài yì":["嗌","艾"],"má mǎ ma":["嗎"],"kè kē":["嗑"],"dā tà":["嗒","鎉"],sǎng:["嗓","搡","磉","褬","鎟","顙","颡"],chēn:["嗔","抻","琛","瞋","諃","謓","賝","郴","\uD871\uDE2D"],"wā gǔ":["嗗"],"pǎng bēng":["嗙"],"xián qiǎn qiān":["嗛"],lào:["嗠","嫪","橯","涝","澇","耢","耮","躼","軂","酪"],wēng:["嗡","翁","聬","螉","鎓","鶲","鹟","\uD872\uDF69"],wà:["嗢","腽","膃","袜","襪","韤"],"hēi hāi":["嗨"],hē:["嗬","欱","蠚","訶","诃"],zi:["嗭"],sǎi:["嗮"],"ǹg ńg ňg":["嗯"],gě:["嗰","舸"],ná:["嗱","拏","拿","鎿","镎"],diǎ:["嗲"],"ài ǎi āi":["嗳"],tōng:["嗵","樋","炵","蓪"],"zuī suī":["嗺"],"zhē zhè zhù zhe":["嗻"],mò:["嗼","圽","塻","墨","妺","嫼","寞","帞","昩","末","枺","歿","殁","沫","漠","爅","獏","瘼","皌","眽","眿","瞐","瞙","砞","礳","秣","絈","纆","耱","茉","莈","蓦","蛨","蟔","貃","貊","貘","銆","鏌","镆","陌","靺","驀","魩","默","黙","\uD871\uDE4A"],sòu:["嗽","瘶"],tǎn:["嗿","坦","忐","憳","憻","暺","毯","璮","菼","袒","襢","醓","鉭","钽"],"jiào dǎo":["嘄"],"kǎi gě":["嘅"],"shān càn":["嘇"],cáo:["嘈","嶆","曹","曺","槽","漕","艚","蓸","螬","褿","鏪","\uD855\uDD62"],piào:["嘌","徱","蔈","驃"],"lóu lou":["嘍"],gǎ:["尕","玍"],"gǔ jiǎ":["嘏"],"jiāo xiāo":["嘐"],"xū shī":["嘘","噓"],pó:["嘙","嚩","婆","櫇","皤","鄱"],"dē dēi":["嘚"],"ma má":["嘛"],"lē lei":["嘞"],"gā gá gǎ":["嘠"],sāi:["嘥","噻","毢","腮","顋","鰓"],"zuō chuài":["嘬"],"cháo zhāo":["嘲","朝","鼂"],zuǐ:["嘴","噿","嶊","璻"],"qiáo qiào":["嘺","翹","谯"],"chù xù shòu":["嘼"],"tān chǎn":["嘽"],"dàn tán":["嘾","弾","彈","惔","澹"],"hēi mò":["嘿"],ě:["噁","砨","頋","騀","鵈"],"fān bo":["噃"],chuáng:["噇","床","牀"],"cù zā hé":["噈"],"tūn kuò":["噋"],"cēng chēng":["噌"],dēng:["噔","嬁","灯","燈","璒","登","竳","簦","艠","豋"],pū:["噗","扑","撲","攴","攵","潽","炇","陠"],juē:["噘","屩","屫","撧"],lū:["噜","嚕","撸","擼","謢"],zhān:["噡","岾","惉","旃","旜","枬","栴","毡","氈","氊","沾","瞻","薝","蛅","詀","詹","譫","谵","趈","邅","閚","霑","飦","饘","驙","魙","鱣","鸇","鹯","\uD86D\uDDF4"],ō:["噢"],"zhòu zhuó":["噣"],"jiào qiào chī":["噭"],yuàn:["噮","妴","怨","愿","掾","瑗","禐","苑","衏","裫","褑","院","願"],"ǎi ài āi":["噯"],"yōng yǒng":["噰","澭"],"jué xué":["噱"],"pēn pèn fèn":["噴"],gá:["噶","尜","釓","錷","钆"],"xīn hěn hèn":["噷"],dāng:["噹","澢","珰","璫","筜","簹","艡","蟷","裆","襠"],làn:["嚂","滥","濫","烂","燗","爁","爛","爤","瓓","糷","钄"],tà:["嚃","嚺","崉","挞","搨","撻","榻","橽","毾","涾","澾","濌","禢","粏","誻","譶","蹋","蹹","躂","躢","遝","錔","闒","闥","闼","阘","鞜","鞳"],"huō huò ǒ":["嚄"],hāo:["嚆","茠","蒿","薅"],"hè xià":["嚇"],"xiù pì":["嚊"],"zhōu chóu":["嚋","盩","诪"],mē:["嚒"],"chā cā":["嚓"],"bó pào bào":["嚗"],"me mèi mò":["嚜"],"xié hái":["嚡"],"áo xiāo":["嚣"],mō:["嚤","摸"],pín:["嚬","娦","嫔","嬪","玭","矉","薲","蠙","貧","贫","顰","颦","\uD871\uDF9F"],mè:["嚰","濹"],"rǎng rāng":["嚷"],lá:["嚹","旯"],"jiáo jué jiào":["嚼"],chuò:["嚽","娖","擉","歠","涰","磭","踀","輟","辍","辵","辶","酫","鑡","餟","齪","龊"],"huān huàn":["嚾"],"zá cà":["囃"],chài:["囆","虿","蠆","袃","訍"],"náng nāng":["囊"],"zá zàn cān":["囋"],sū:["囌","櫯","甦","稣","穌","窣","蘇","蘓","酥","鯂"],zèng:["囎","熷","甑","贈","赠","鋥","锃"],"zá niè yàn":["囐"],nāng:["囔"],"luó luō luo":["囖"],"wéi guó":["囗"],huí:["囘","回","囬","廻","廽","恛","洄","痐","茴","蚘","蛔","蛕","蜖","迴","逥","鮰"],nín:["囜","您","脌"],"jiǎn nān":["囝"],nān:["囡"],tuán:["团","団","團","慱","抟","摶","檲","糰","鏄","鷒","鷻"],"tún dùn":["囤","坉"],guó:["囯","囶","囻","国","圀","國","帼","幗","慖","摑","漍","聝","腘","膕","蔮","虢","馘","\uD870\uDDF9"],kùn:["困","涃","睏"],"wéi tōng":["囲"],qūn:["囷","夋","逡"],rì:["囸","日","衵","鈤","馹","驲"],tāi:["囼","孡","胎"],pǔ:["圃","圑","擈","普","暜","樸","檏","氆","浦","溥","烳","諩","譜","谱","蹼","鐠","镨"],"quān juàn juān":["圈","圏"],"chuí chuán":["圌"],tuǎn:["圕","畽","疃"],lüè:["圙","掠","略","畧","稤","鋝","鋢","锊","䂮"],"huán yuán":["圜"],luán:["圝","圞","奱","娈","孌","孪","孿","峦","巒","挛","攣","曫","栾","欒","滦","灤","癴","癵","羉","脔","臠","虊","銮","鑾","鵉","鸞","鸾"],tǔ:["土","圡","釷","钍"],"xū wéi":["圩"],"dì de":["地","嶳"],"qiān sú":["圱"],zhèn:["圳","塦","挋","振","朕","栚","甽","眹","紖","絼","纼","誫","賑","赈","鋴","鎭","鎮","镇","阵","陣","震","鴆","鸩"],"chǎng cháng":["场","場","塲"],"qí yín":["圻"],jiá:["圿","忦","恝","戞","扴","脥","荚","莢","蛱","蛺","裌","跲","郏","郟","鋏","铗","頬","頰","颊","鴶","鵊"],"zhǐ zhì":["坁"],bǎn:["坂","岅","昄","板","版","瓪","粄","舨","蝂","鈑","钣","阪","魬"],qǐn:["坅","寑","寝","寢","昑","梫","笉","螼","赾","鋟","锓"],"méi fén":["坆"],"rǒng kēng":["坈"],"fāng fáng":["坊"],"fèn bèn":["坋"],tān:["坍","怹","摊","擹","攤","滩","灘","瘫","癱","舑","貪","贪"],"huài pēi pī péi":["坏"],"dì làn":["坔"],tán:["坛","墰","墵","壇","壜","婒","憛","昙","曇","榃","檀","潭","燂","痰","磹","罈","罎","藫","談","譚","譠","谈","谭","貚","郯","醰","錟","顃"],bà:["坝","垻","壩","弝","欛","灞","爸","矲","覇","霸","鮁","鲅"],fén:["坟","墳","妢","岎","幩","枌","棼","汾","焚","燌","燓","羒","羵","蒶","蕡","蚠","蚡","豮","豶","轒","鐼","隫","馩","魵","黂","鼖","鼢","\uD84F\uDE23"],zhuì:["坠","墜","惴","甀","畷","礈","綴","縋","缀","缒","腏","膇","諈","贅","赘","醊","錣","鑆"],pō:["坡","岥","泼","溌","潑","釙","鏺","钋","頗","颇","䥽"],"pǎn bàn":["坢"],kūn:["坤","堃","堒","崐","崑","昆","晜","潉","焜","熴","猑","琨","瑻","菎","蜫","裈","裩","褌","醌","錕","锟","騉","髠","髡","髨","鯤","鲲","鵾","鶤","鹍"],diàn:["坫","垫","墊","壂","奠","婝","店","惦","扂","橂","殿","淀","澱","玷","琔","电","癜","簟","蜔","鈿","電","靛","驔"],"mù mǔ":["坶"],"kē kě":["坷","軻"],xuè:["坹","岤","桖","瀥","狘","瞲","謔","谑","趐"],"dǐ chí":["坻","柢"],lā:["垃","柆","菈","邋"],lǒng:["垄","垅","壟","壠","拢","攏","竉","陇","隴","\uD871\uDD42"],mín:["垊","姄","岷","崏","捪","旻","旼","民","珉","琘","琝","瑉","痻","盿","砇","緍","緡","缗","罠","苠","鈱","錉","鍲","鴖"],"dòng tóng":["垌","峒","洞"],cí:["垐","嬨","慈","柌","濨","珁","瓷","甆","磁","礠","祠","糍","茨","詞","词","辝","辞","辤","辭","雌","飺","餈","鴜","鶿","鷀","鹚"],duī:["垖","堆","塠","痽","磓","鐓","鐜","鴭"],"duò duǒ":["垛"],"duǒ duò":["垜","挆"],chá:["垞","察","嵖","搽","槎","檫","猹","茬","茶","詧","靫","\uD857\uDED7"],shǎng:["垧","晌","樉","賞","贘","赏","鋿","鏛","鑜"],shǒu:["垨","守","手","扌","艏","首"],da:["垯","繨","跶"],háng:["垳","斻","杭","筕","絎","绗","航","苀","蚢","裄","貥","迒","頏","颃","魧"],"ān ǎn":["垵"],xīng:["垶","惺","星","曐","煋","猩","瑆","皨","篂","腥","興","觪","觲","謃","騂","骍","鮏","鯹"],"yuàn huán":["垸"],bāng:["垹","帮","幇","幚","幫","捠","梆","浜","邦","邫","鞤","\uD843\uDCD0"],"póu fú":["垺"],cén:["埁","岑","涔"],"běng fēng":["埄"],"dì fáng":["埅"],"xiá jiā":["埉"],"mái mán":["埋"],làng:["埌","崀","浪","蒗","閬","㫰"],"shān yán":["埏"],"qín jīn":["埐"],"pǔ bù":["埔"],huā:["埖","婲","椛","硴","糀","花","蒊","蘤","誮","錵"],"suì sù":["埣"],"pí pì":["埤"],"qīng zhēng":["埥","鲭"],"wǎn wān":["埦"],lǔn:["埨","稐","\uD86E\uDF62"],"zhēng chéng":["埩"],kōng:["埪","崆","箜","躻","錓","鵼"],"cǎi cài":["埰","寀","采"],"chù tòu":["埱"],běng:["埲","琫","菶","鞛"],"kǎn xiàn":["埳"],"yì shì":["埶","醳"],péi:["培","毰","裴","裵","賠","赔","錇","锫","阫","陪"],"sào sǎo":["埽"],"jǐn qīn jìn":["堇"],"péng bèng":["堋"],"qiàn zàn jiàn":["堑"],àn:["堓","屵","岸","按","暗","案","胺","荌","豻","貋","錌","闇","隌","黯"],"duò huī":["堕","墮"],huán:["堚","寏","寰","峘","桓","洹","澴","獂","环","環","糫","繯","缳","羦","荁","萈","萑","豲","鍰","鐶","锾","镮","闤","阛","雈","鬟","鹮","\uD871\uDE2B","\uD852\uDE7D"],"bǎo bǔ pù":["堡"],"máo móu wǔ":["堥"],ruán:["堧","壖","撋"],"ài è yè":["堨"],gèng:["堩","暅"],méi:["堳","塺","媒","嵋","徾","攗","枚","栂","梅","楣","楳","槑","湄","湈","煤","猸","玫","珻","瑂","眉","睂","禖","脄","脢","腜","苺","莓","葿","郿","酶","鎇","镅","霉","鶥","鹛","黴"],dǔ:["堵","琽","睹","笃","篤","覩","賭","赌"],féng:["堸","綘","艂","逢"],hèng:["堼"],chūn:["堾","媋","旾","春","暙","杶","椿","槆","橁","櫄","瑃","箺","萅","蝽","輴","鰆","鶞","䲠"],jiǎng:["塂","奖","奨","奬","桨","槳","獎","耩","膙","蒋","蔣","講","讲","顜"],huāng:["塃","巟","慌","肓","荒","衁"],duàn:["塅","断","斷","椴","段","毈","煅","瑖","碫","簖","籪","緞","缎","腶","葮","躖","鍛","锻"],tǎ:["塔","墖","獭","獺","鮙","鰨","鳎"],wěng:["塕","奣","嵡","攚","暡","瞈","蓊"],"sāi sài sè":["塞"],zàng:["塟","弉","臓","臟","葬","蔵","銺"],tián:["塡","屇","恬","沺","湉","璳","甛","甜","田","畋","畑","碵","磌","胋","闐","阗","鴫","鷆","鷏"],zhèng:["塣","幁","政","証","諍","證","证","诤","郑","鄭","靕","鴊"],"tián zhèn":["填"],wēn:["塭","昷","榲","殟","温","溫","瑥","瘟","蕰","豱","輼","轀","辒","鎾","饂","鰛","鰮","鳁"],liù:["塯","廇","磟","翏","雡","霤","餾","鬸","鷚","鹨"],hǎi:["塰","海","烸","酼","醢"],lǎng:["塱","朖","朗","朤","烺","蓢","㮾"],bèng:["塴","揼","泵","甏","綳","蹦","迸","逬","鏰","镚"],chén:["塵","宸","尘","忱","敐","敶","晨","曟","栕","樄","沉","煁","瘎","臣","茞","莀","莐","蔯","薼","螴","訦","諶","軙","辰","迧","鈂","陈","陳","霃","鷐","麎"],"ōu qiū":["塸"],"qiàn jiàn":["塹"],"zhuān tuán":["塼"],shuǎng:["塽","慡","漺","爽","縔","鏯"],shú:["塾","婌","孰","璹","秫","贖","赎"],lǒu:["塿","嵝","嶁","甊","篓","簍"],chí:["墀","弛","持","池","漦","竾","筂","箎","篪","茌","荎","蚳","謘","貾","赿","踟","迟","迡","遅","遟","遲","鍉","馳","驰"],shù:["墅","庶","庻","怷","恕","戍","束","树","樹","沭","漱","潄","濖","竖","竪","絉","腧","荗","蒁","虪","術","裋","豎","述","鉥","錰","鏣","霔","鶐","\uD872\uDF38"],"dì zhì":["墆","疐"],kàn:["墈","崁","瞰","矙","磡","衎","鬫"],chěn:["墋","夦","硶","碜","磣","贂","趻","踸","鍖"],"zhǐ zhuó":["墌"],qiǎng:["墏","繈","繦","羥","襁"],zēng:["増","增","憎","璔","矰","磳","罾","譄","鄫","鱛","䎖"],qiáng:["墙","墻","嫱","嬙","樯","檣","漒","牆","艢","蔃","蔷","蘠"],"kuài tuí":["墤"],"tuǎn dǒng":["墥"],"qiáo què":["墧"],"zūn dūn":["墫"],"qiāo áo":["墽"],"yì tú":["墿"],"xué bó jué":["壆"],lǎn:["壈","嬾","孄","孏","懒","懶","揽","擥","攬","榄","欖","浨","漤","灠","纜","缆","罱","覧","覽","览","醂","顲"],huài:["壊","壞","蘾"],rǎng:["壌","壤","攘","爙"],"làn xiàn":["壏"],dǎo:["壔","导","導","岛","島","嶋","嶌","嶹","捣","搗","擣","槝","祷","禂","禱","蹈","陦","隝","隯"],ruǐ:["壡","桵","橤","繠","蕊","蕋","蘂","蘃"],san:["壭"],zhuàng:["壮","壯","壵","撞","焋","状","狀"],"ké qiào":["壳","殼"],kǔn:["壸","壼","悃","捆","梱","硱","祵","稇","稛","綑","裍","閫","閸","阃"],mǎng:["壾","漭","茻","莽","莾","蠎"],cún:["壿","存"],"zhǐ zhōng":["夂"],"gǔ yíng":["夃"],"jiàng xiáng":["夅","降"],"páng féng fēng":["夆"],zhāi:["夈","捚","摘","斋","斎","榸","粂","齋"],"xuàn xiòng":["夐"],wài:["外","顡"],"wǎn yuàn wān yuān":["夗"],"mǎo wǎn":["夘"],mèng:["夢","夣","孟","梦","癦","霥"],"dà dài":["大"],"fū fú":["夫","姇","枎","粰"],guài:["夬","怪","恠"],yāng:["央","姎","抰","殃","泱","秧","胦","鉠","鍈","雵","鴦","鸯"],"hāng bèn":["夯"],gǎo:["夰","搞","杲","槀","槁","檺","稁","稾","稿","縞","缟","菒","藁","藳"],"tāo běn":["夲"],"tóu tou":["头"],"yǎn tāo":["夵"],"kuā kuà":["夸","誇"],"jiá jiā gā xiá":["夹"],huà:["夻","婳","嫿","嬅","崋","摦","杹","枠","桦","槬","樺","澅","画","畫","畵","繣","舙","話","諙","譮","话","黊"],"jiā jiá gā xiá":["夾"],ēn:["奀","恩","蒽"],"dī tì":["奃"],"yǎn yān":["奄","渰"],pào:["奅","疱","皰","砲","礟","礮","靤","麭"],nài:["奈","柰","渿","耐","萘","褦","錼","鼐"],"quān juàn":["奍","弮","棬"],zòu:["奏","揍"],"qì qiè xiè":["契"],kāi:["奒","开","揩","鐦","锎","開"],"bēn bèn":["奔","泍"],tào:["套"],"zàng zhuǎng":["奘"],běn:["奙","本","楍","畚","翉","苯"],"xùn zhuì":["奞"],shē:["奢","檨","猞","畭","畲","賒","賖","赊","輋","\uD86A\uDE36"],"hǎ pò tǎi":["奤"],"ào yù":["奥","奧","澚"],yūn:["奫","氲","氳","蒀","蒕","蝹","贇","赟","\uD86D\uDDB3"],"duǒ chě":["奲"],"nǚ rǔ":["女"],nú:["奴","孥","笯","駑","驽"],"dīng dǐng tiǎn":["奵"],"tā jiě":["她"],nuán:["奻"],"hǎo hào":["好"],fàn:["奿","嬎","梵","汎","泛","滼","瀪","犯","畈","盕","笵","範","范","訉","販","贩","軬","輽","飯","飰","饭"],shuò:["妁","搠","朔","槊","烁","爍","矟","蒴","鎙","鑠","铄"],"fēi pèi":["妃"],wàng:["妄","忘","旺","望","朢"],zhuāng:["妆","妝","娤","庄","庒","桩","梉","樁","粧","糚","荘","莊","装","裝"],mā:["妈","媽"],"fū yōu":["妋"],"hài jiè":["妎"],dù:["妒","妬","杜","殬","渡","秺","芏","荰","螙","蠧","蠹","鍍","镀","靯","\uD872\uDF4A"],miào:["妙","庙","庿","廟","玅","竗"],"fǒu pēi pī":["妚"],"yuè jué":["妜"],niū:["妞"],"nà nàn":["妠"],tuǒ:["妥","嫷","庹","椭","楕","橢","鬌","鰖","鵎"],"wàn yuán":["妧"],fáng:["妨","房","肪","防","魴","鲂"],nī:["妮"],zhóu:["妯","碡"],zhāo:["妱","巶","招","昭","釗","鉊","鍣","钊","駋","\uD872\uDF3F"],"nǎi nǐ":["妳"],tǒu:["妵","敨","紏","蘣","黈"],"xián xuán xù":["妶"],"zhí yì":["妷","秇"],ē:["妸","妿","婀","屙"],mèi:["妹","媚","寐","抺","旀","昧","沬","煝","痗","眛","睸","祙","篃","蝞","袂","跊","鬽","魅"],"qī qì":["妻"],"xū xǔ":["姁","稰"],"shān shàn":["姍","姗","苫","釤","钐"],mán:["姏","慲","樠","蛮","蠻","謾","饅","馒","鬗","鬘","鰻","鳗"],jiě:["姐","媎","檞","毑","飷"],"wěi wēi":["委"],pīn:["姘","拼","礗","穦","馪","驞"],"huá huó":["姡"],"jiāo xiáo":["姣"],"gòu dù":["姤"],"lǎo mǔ":["姥"],"nián niàn":["姩"],zhěn:["姫","屒","弫","抮","昣","枕","畛","疹","眕","稹","縝","縥","缜","聄","萙","袗","裖","覙","診","诊","軫","轸","辴","駗","鬒"],héng:["姮","恆","恒","烆","珩","胻","蘅","衡","鑅","鴴","鵆","鸻"],"jūn xún":["姰"],"kuā hù":["姱"],"è yà":["姶"],"xiān shēn":["姺"],wá:["娃"],"ráo rǎo":["娆","嬈"],"shào shāo":["娋"],xiē:["娎","揳","楔","歇","蝎","蠍"],"wǔ méi mǔ":["娒"],"chuò lài":["娕"],niáng:["娘","嬢","孃"],"nà nuó":["娜","\uD85B\uDC21"],"pōu bǐ":["娝"],"něi suī":["娞"],tuì:["娧","煺","蛻","蜕","退","駾"],mǎn:["娨","屘","満","满","滿","螨","蟎","襔","鏋"],"wú wù yú":["娪"],"xī āi":["娭"],"zhuì shuì":["娷"],"dōng dòng":["娻"],"ǎi ái è":["娾"],"ē ě":["娿"],mián:["婂","嬵","宀","杣","棉","檰","櫋","眠","矈","矊","矏","綿","緜","绵","芇","蝒"],"pǒu péi bù":["婄"],biǎo:["婊","脿","表","裱","褾","諘","錶"],"fù fàn":["婏"],wǒ:["婐","婑","我"],"ní nǐ":["婗","棿"],"quán juàn":["婘","惓"],hūn:["婚","昏","昬","棔","涽","睧","睯","碈","荤","葷","蔒","轋","閽","阍"],"qiān jǐn":["婜"],"wān wà":["婠"],"lái lài":["婡","徕","徠"],"zhōu chōu":["婤"],"chuò nào":["婥"],"nüè àn":["婩"],"hùn kūn":["婫"],"dàng yáng":["婸"],nàn:["婻"],"ruò chuò":["婼"],jiǎ:["婽","岬","斚","斝","榎","槚","檟","玾","甲","胛","鉀","钾"],"tōu yú":["婾","媮"],"yù yú":["媀"],"wéi wěi":["媁"],"dì tí":["媂","珶","苐"],róu:["媃","揉","柔","渘","煣","瑈","瓇","禸","粈","糅","脜","腬","葇","蝚","蹂","輮","鍒","鞣","騥","鰇","鶔","\uD86D\uDC13"],"ruǎn nèn":["媆"],miáo:["媌","嫹","描","瞄","苗","鶓","鹋"],"yí pèi":["媐"],"mián miǎn":["媔"],"tí shì":["媞","惿"],"duò tuó":["媠","沲"],ǎo:["媪","媼","艹","芺","袄","襖","镺"],"chú zòu":["媰"],yìng:["媵","映","暎","硬","膡","鱦"],"qín shēn":["嫀"],jià:["嫁","幏","架","榢","稼","駕","驾"],sǎo:["嫂"],"zhēn zhěn":["嫃"],"jiē suǒ":["嫅"],"míng mǐng":["嫇"],niǎo:["嫋","嬝","嬲","茑","蔦","袅","裊","褭","鸟"],tāo:["嫍","幍","弢","慆","掏","搯","槄","涛","滔","濤","瑫","絛","縚","縧","绦","詜","謟","轁","鞱","韜","韬","飸","饕"],biáo:["嫑"],"piáo piāo":["嫖","薸"],xuán:["嫙","悬","懸","暶","檈","漩","玄","璇","璿","痃","蜁","\uD86E\uDC0A"],"màn mān":["嫚"],kāng:["嫝","嵻","康","慷","槺","漮","砊","穅","糠","躿","鏮","鱇","\uD845\uDC13","\uD867\uDF8C"],"hān nǎn":["嫨"],nèn:["嫩","嫰"],zhē:["嫬","遮"],"mā má":["嫲"],piè:["嫳"],zhǎn:["嫸","展","搌","斩","斬","琖","盏","盞","輾","醆","颭","飐"],"xiān yǎn jìn":["嬐"],liǎn:["嬚","敛","斂","琏","璉","羷","脸","臉","蔹","蘝","蘞","裣","襝","鄻"],"qióng huán xuān":["嬛"],dǒng:["嬞","懂","箽","董","蕫","諌"],cān:["嬠","湌","爘","飡","餐","驂","骖"],tiǎo:["嬥","宨","晀","朓","窱","脁"],bí:["嬶","荸","鼻"],liǔ:["嬼","柳","栁","桞","桺","橮","熮","珋","綹","绺","罶","羀","鋶","锍"],"qiān xiān":["孅","欦"],"xié huī":["孈"],"huān quán":["孉"],"lí lì":["孋","麗"],"zhú chuò":["孎"],kǒng:["孔","恐"],"mā zī":["孖"],"sūn xùn":["孙","孫"],"bèi bó":["孛","誖"],"yòu niū":["孧"],zhuǎn:["孨","竱","轉"],hái:["孩","骸"],nāo:["孬"],"chán càn":["孱"],bò:["孹","檗","蘗","譒"],nái:["孻","腉"],"níng nìng":["宁","寍","寗","寜","寧","甯"],zhái:["宅"],"tū jiā":["宊"],sòng:["宋","訟","誦","讼","诵","送","鎹","頌","颂","餸"],ròu:["宍","肉","譳"],zhūn:["宒","窀","衠","諄","谆","迍"],"mì fú":["宓"],"dàng tàn":["宕"],"wǎn yuān":["宛"],chǒng:["宠","寵"],qún:["宭","峮","帬","羣","群","裙","裠"],zǎi:["宰","崽"],"bǎo shí":["宲"],"jiā jia jie":["家"],"huāng huǎng":["宺"],kuān:["宽","寛","寬","臗","鑧","髋","髖"],"sù xiǔ xiù":["宿"],"jié zǎn":["寁"],"bìng bǐng":["寎"],"jìn qǐn":["寖"],"lóu jù":["寠"],"xiě xiè":["寫"],"qīn qìn":["寴"],cùn:["寸","籿"],duì:["对","対","對","怼","憝","懟","濧","瀩","碓","祋","綐","薱","譈","譵","轛","队","陮"],"lüè luó":["寽"],"shè yè yì":["射"],"jiāng jiàng qiāng":["将"],"jiāng jiàng":["將","浆","漿","畺"],zūn:["尊","嶟","樽","罇","遵","鐏","鱒","鳟","鶎","鷷","\uD863\uDC54"],"shù zhù":["尌","澍"],xiǎo:["小","晓","暁","曉","皛","皢","筱","筿","篠","謏","\uD86C\uDF72"],"jié jí":["尐","诘","鞊"],"shǎo shào":["少"],ěr:["尒","尓","尔","栮","毦","洱","爾","珥","耳","薾","衈","趰","迩","邇","鉺","铒","餌","饵","駬"],"wāng yóu":["尢"],wāng:["尣","尩","尪","尫","汪"],liào:["尥","尦","廖","撂","料","炓","窷","鐐","镣","\uD86A\uDD17"],"méng máng lóng páng":["尨"],gà:["尬","魀"],"kuì kuǐ":["尯"],tuí:["尵","弚","穨","蘈","蹪","隤","頹","頺","頽","颓","魋","\uD872\uDFCE"],yǐn:["尹","嶾","引","朄","檃","檼","櫽","淾","濥","瘾","癮","粌","蘟","蚓","螾","讔","赺","趛","輑","鈏","靷"],"chǐ chě":["尺"],kāo:["尻","髛"],"jìn jǐn":["尽"],"wěi yǐ":["尾"],"niào suī":["尿"],céng:["层","層","嶒","驓"],diǎo:["屌"],"píng bǐng bīng":["屏"],lòu:["屚","漏","瘘","瘺","瘻","鏤","镂","陋"],"shǔ zhǔ":["属","屬"],"xiè tì":["屟"],"chè cǎo":["屮"],"tún zhūn":["屯"],"nì jǐ":["屰"],"hóng lóng":["屸"],"qǐ kǎi":["岂","豈"],áng:["岇","昂","昻"],"gǎng gāng":["岗","崗"],kě:["岢","敤","渇","渴","炣"],gǒu:["岣","狗","玽","笱","耇","耈","耉","苟","豿"],tiáo:["岧","岹","樤","祒","笤","芀","萔","蓚","蓨","蜩","迢","鋚","鎥","鞗","髫","鯈","鰷","鲦","齠","龆"],"qū jū":["岨"],lǐng:["岭","嶺","領","领"],pò:["岶","敀","洦","湐","烞","珀","破","砶","粕","蒪","魄"],"bā kè":["峇"],luò:["峈","摞","洛","洜","犖","珞","笿","纙","荦","詻","雒","駱","骆","鵅"],"fù niè":["峊"],ěn:["峎"],"zhì shì":["峙","崻"],qiǎ:["峠","跒","酠","鞐"],"qiáo jiào":["峤","癄"],"xié yé":["峫"],bū:["峬","庯","晡","誧","逋","鈽","錻","钸","餔","鵏"],chóng:["崇","崈","爞","虫","蝩","蟲","褈","隀"],"zú cuì":["崒","椊"],"líng léng":["崚"],"dòng dōng":["崠"],xiáo:["崤","洨","淆","訤","誵"],"pí bǐ":["崥","芘"],"zhǎn chán":["崭","嶃","嶄"],"wǎi wēi":["崴"],"yáng dàng":["崵"],"shì dié":["崼"],yào:["崾","曜","熎","燿","矅","穾","窔","筄","耀","艞","药","葯","薬","藥","袎","覞","詏","讑","靿","鷂","鹞","鼼"],"kān zhàn":["嵁"],"hán dǎng":["嵅"],"qiàn kàn":["嵌"],"wù máo":["嵍"],"kě jié":["嵑","嶱"],"wēi wěi":["嵔"],kē:["嵙","柯","棵","榼","樖","牁","牱","犐","珂","疴","瞌","磕","礚","科","稞","窠","萪","薖","蚵","蝌","趷","轲","醘","鈳","钶","頦","顆","颗","髁"],"dàng táng":["嵣"],"róng yíng":["嵤","爃"],"ái kǎi":["嵦"],"kāo qiāo":["嵪"],cuó:["嵯","嵳","痤","矬","蒫","蔖","虘","鹺","鹾"],"qiǎn qīn":["嵰"],"dì dié":["嵽"],cēn:["嵾"],dǐng:["嵿","艼","薡","鐤","頂","顶","鼎","鼑"],"áo ào":["嶅"],"pǐ pèi":["嶏"],"jiào qiáo":["嶠","潐"],"jué guì":["嶡","鳜"],"zhān shàn":["嶦","鳣"],"xiè jiè":["嶰"],"guī xī juàn":["嶲"],rū:["嶿"],"lì liè":["巁","棙","爄","綟"],"xī guī juàn":["巂"],"yíng hōng":["巆"],yǐng:["巊","廮","影","摬","梬","潁","瘿","癭","矨","穎","郢","鐛","頴","颍","颕","颖"],chǎo:["巐","炒","煼","眧","麨"],cuán:["巑","櫕","欑"],chuān:["巛","川","氚","瑏","穿"],"jīng xíng":["巠"],cháo:["巢","巣","晁","漅","潮","牊","窲","罺","謿","轈","鄛","鼌"],qiǎo:["巧","愀","髜"],gǒng:["巩","廾","拱","拲","栱","汞","珙","輁","鞏"],"chà chā chāi cī":["差"],"xiàng hàng":["巷"],shuài:["帅","帥","蟀"],pà:["帊","帕","怕","袙"],"tǎng nú":["帑"],"mò wà":["帓"],"tiē tiě tiè":["帖"],zhǒu:["帚","晭","疛","睭","箒","肘","菷","鯞"],"juǎn juàn":["帣"],shuì:["帨","涗","涚","睡","稅","税","裞"],"chóu dào":["帱","幬"],"jiǎn jiān sàn":["帴"],"shà qiè":["帹"],"qí jì":["帺","荠"],"shān qiāo shēn":["幓"],"zhuàng chuáng":["幢"],"chān chàn":["幨"],miè:["幭","懱","搣","滅","灭","烕","礣","篾","蔑","薎","蠛","衊","鑖","鱴","鴓"],"gān gàn":["干"],"bìng bīng":["并","幷"],"jī jǐ":["幾"],"guǎng ān":["广"],guǎng:["広","廣","犷","獷"],me:["庅"],"dùn tún":["庉"],"bài tīng":["庍"],"yìng yīng":["应"],"dǐ de":["底"],"dù duó":["度"],"máng méng páng":["庬"],"bìng píng":["庰"],chěng:["庱","悜","睈","逞","騁","骋"],"jī cuò":["庴"],qǐng:["庼","廎","檾","漀","苘","請","謦","请","頃","顷"],"guī wěi huì":["廆"],"jǐn qín":["廑"],kuò:["廓","扩","拡","擴","濶","筈","萿","葀","蛞","闊","阔","霩","鞟","鞹","韕","頢","鬠"],"qiáng sè":["廧","薔"],"yǐn yìn":["廴","隐","隠","隱","飮","飲","饮"],"pò pǎi":["廹","迫"],"nòng lòng":["弄"],"dì tì tuí":["弟"],"jué zhāng":["弡"],"mí mǐ":["弥","彌","靡"],chāo:["弨","怊","抄","欩","訬","超","鈔","钞"],yi:["弬"],shāo:["弰","旓","烧","焼","燒","筲","艄","萷","蕱","輎","髾","鮹"],"xuān yuān":["弲"],"qiáng qiǎng jiàng":["強","强"],"tán dàn":["弹","醈"],biè:["彆"],"qiáng jiàng qiǎng":["彊"],"jì xuě":["彐"],tuàn:["彖","褖"],yuē:["彟","曰","曱","矱"],"shān xiǎn":["彡"],wén:["彣","文","炆","珳","瘒","繧","聞","芠","蚉","蚊","螡","蟁","閺","閿","闅","闦","闻","阌","雯","馼","駇","魰","鳼","鴍","鼤","\uD86D\uDE1C"],"péng bāng":["彭"],"piāo piào":["彯"],"zhuó bó":["彴"],"tuǒ yí":["彵"],"páng fǎng":["彷"],wǎng:["彺","往","徃","惘","枉","棢","網","网","罒","罓","罔","罖","菵","蛧","蝄","誷","輞","辋","魍"],cú:["徂","殂"],"dài dāi":["待"],huái:["徊","怀","懐","懷","槐","淮","耲","蘹","褢","褱","踝"],"wā wàng jiā":["徍"],"chěng zhèng":["徎"],"dé děi de":["得"],"cóng zòng":["從"],"shì tǐ":["徥"],"tí chí":["徲","鶗","鶙"],dé:["徳","德","恴","悳","惪","淂","鍀","锝"],"zhǐ zhēng":["徴","徵"],bié:["徶","癿","莂","蛂","襒","蹩"],"chōng zhǒng":["徸"],"jiǎo jiào":["徼","笅","筊"],"lòng lǒng":["徿"],"qú jù":["忂","渠","瞿","螶"],"dìng tìng":["忊"],gǎi:["忋","改"],rěn:["忍","栠","栣","秹","稔","綛","荏","荵","躵"],chàn:["忏","懴","懺","硟","羼","韂","顫"],tè:["忑","慝","特","蟘","鋱","铽"],"tè tēi tuī":["忒"],"gān hàn":["忓","攼"],"yì qì":["忔"],"tài shì":["忕"],"xī liě":["忚"],"yīng yìng":["応","應","譍"],"mǐn wěn mín":["忞","忟"],"sōng zhōng":["忪"],"yù shū":["忬","悆"],"qí shì":["忯","耆"],"tún zhūn dùn":["忳"],"qián qín":["忴","扲"],hún:["忶","浑","渾","餛","馄","魂","鼲"],niǔ:["忸","扭","炄","狃","紐","纽","莥","鈕","钮","靵"],"kuáng wǎng":["忹"],"kāng hàng":["忼"],"kài xì":["忾","愾"],òu:["怄","慪"],"bǎo bào":["怉"],"mín mén":["怋"],"zuò zhà":["怍"],zěn:["怎"],yàng:["怏","恙","样","様","樣","漾","羕","詇"],"kòu jù":["怐"],"náo niú":["怓"],"zhēng zhèng":["怔","掙","钲","铮"],"tiē zhān":["怗"],"hù gù":["怘"],"cū jù zū":["怚"],"sī sāi":["思"],"yóu chóu":["怞"],"tū dié":["怢"],"yōu yào":["怮"],xuàn:["怰","昡","楦","泫","渲","炫","琄","眩","碹","絢","縼","繏","绚","蔙","衒","袨","贙","鉉","鏇","铉","镟","颴"],"xù xuè":["怴"],"bì pī":["怶"],"xī shù":["怸"],"nèn nín":["恁"],"tiāo yáo":["恌"],"xī qī xù":["恓"],"xiào jiǎo":["恔"],"hū kuā":["恗"],nǜ:["恧","朒","衂","衄"],hèn:["恨"],"dòng tōng":["恫"],"quán zhuān":["恮"],"è wù ě wū":["恶","惡"],tòng:["恸","慟","憅","痛","衕"],"yuān juàn":["悁"],"qiāo qiǎo":["悄"],"jiè kè":["悈"],"hào jiào":["悎"],huǐ:["悔","檓","毀","毁","毇","燬","譭"],"mán mèn":["悗","鞔"],"yī yì":["悘","衣"],quān:["悛","箞","鐉","\uD861\uDFE0"],"kuī lǐ":["悝"],"yì niàn":["悥"],"mèn mēn":["悶"],guàn:["悹","悺","惯","慣","掼","摜","樌","欟","泴","涫","潅","灌","爟","瓘","盥","礶","祼","罆","罐","貫","贯","躀","遦","鏆","鑵","鱹","鸛","鹳"],"kōng kǒng":["悾"],"lǔn lùn":["惀"],guǒ:["惈","果","椁","槨","粿","綶","菓","蜾","裹","褁","輠","餜","馃"],"yuān wǎn":["惌","箢"],"lán lín":["惏"],"yù xù":["惐","淢"],"chuò chuì":["惙"],"hūn mèn":["惛"],"chǎng tǎng":["惝"],"suǒ ruǐ":["惢"],cǎn:["惨","慘","憯","黪","黲","䅟"],cán:["惭","慙","慚","残","殘","蚕","蝅","蠶","蠺"],"dàn dá":["惮","憚"],rě:["惹"],"yú tōu":["愉"],"kài qì":["愒"],"dàng táng shāng yáng":["愓"],"chén xìn dān":["愖"],"kè qià":["愘"],nuò:["愞","懦","懧","掿","搦","榒","稬","穤","糑","糥","糯","諾","诺","蹃","逽","鍩","锘"],gǎn:["感","擀","敢","桿","橄","澉","澸","皯","秆","稈","笴","芉","衦","赶","趕","鱤","鳡"],"còng sōng":["愡"],"sāi sī sǐ":["愢"],"gōng gòng hǒng":["愩","慐"],"shuò sù":["愬","洬"],"yáo yào":["愮"],huàng:["愰","曂","榥","滉","皝","皩","鎤","㿠"],zhěng:["愸","抍","拯","整","晸"],cǎo:["愺","艸","草","騲"],"xì xié":["慀"],"cǎo sāo":["慅"],"xù chù":["慉"],"qiè qiàn":["慊"],"cáo cóng":["慒"],"ào áo":["慠"],"lián liǎn":["慩","梿","槤","櫣"],"jìn qín jǐn":["慬"],"dì chì":["慸"],"zhí zhé":["慹"],"lóu lǚ":["慺","鷜"],còng:["憁","謥"],"zhī zhì":["憄","知","織","织"],chēng:["憆","摚","撐","撑","晿","柽","棦","橕","檉","泟","浾","琤","瞠","碀","緽","罉","蛏","蟶","赪","赬","鏿","鐣","阷","靗","頳","饓"],biē:["憋","虌","鱉","鳖","鼈","龞"],"chéng dèng zhèng":["憕"],"xǐ xī":["憘"],"duì dùn tūn":["憞"],"xiāo jiāo":["憢"],"xián xiàn":["憪"],"liáo liǎo":["憭","燎","爎","爒"],shéng:["憴","縄","繉","繩","绳","譝"],"náo nǎo náng":["憹"],"jǐng jìng":["憼"],"jǐ jiǎo":["憿"],"xuān huān":["懁"],"cǎo sāo sào":["懆"],mèn:["懑","懣","暪","焖","燜"],"mèng méng měng":["懜"],"ài yì nǐ":["懝"],"méng měng":["懞","瞢","矒"],"qí jī jì":["懠"],mǒ:["懡"],"lán xiàn":["懢"],"yōu yǒu":["懮"],"liú liǔ":["懰","藰"],ràng:["懹","譲","讓","让"],huān:["懽","欢","歓","歡","獾","讙","貛","酄","驩","鴅","鵍"],nǎn:["戁","揇","湳","煵","腩","蝻","赧"],"mí mó":["戂"],"gàng zhuàng":["戅","戆"],"zhuàng gàng":["戇"],"xū qu":["戌"],"xì hū":["戏","戯","戲"],"jiá gā":["戛"],zéi:["戝","蠈","賊","贼","鰂","鱡","鲗"],děng:["戥","等"],"hū xì":["戱"],chuō:["戳","踔","逴"],"biǎn piān":["扁"],"shǎng jiōng":["扄"],"shàn shān":["扇"],cái:["才","材","纔","裁","財","财"],"zhā zā zhá":["扎"],"lè lì cái":["扐"],"bā pá":["扒"],"dǎ dá":["打"],rēng:["扔"],"fǎn fú":["払"],"diǎo dí yuē lì":["扚"],"káng gāng":["扛"],"yū wū":["扜"],"yū wū kū":["扝"],"tuō chǐ yǐ":["扡"],"gǔ jié xì gē":["扢"],dèn:["扥","扽"],"sǎo sào":["扫","掃"],rǎo:["扰","擾","隢"],"xī chā qì":["扱"],"bān pān":["扳"],"bā ào":["扷"],"xī zhé":["扸"],"zhì sǔn kǎn":["扻"],zhǎo:["找","沼","瑵"],"kuáng wǎng zài":["抂"],"hú gǔ":["抇","鹄","鹘"],"bǎ bà":["把"],"dǎn shěn":["抌"],"nè nì ruì nà":["抐"],zhuā:["抓","檛","簻","膼","髽"],póu:["抔","裒"],"zhé shé zhē":["折"],"póu pōu fū":["抙","捊"],pāo:["抛","拋","脬","萢"],"ǎo ào niù":["抝"],"lūn lún":["抡","掄"],"qiǎng qiāng chēng":["抢"],"zhǐ zhǎi":["抧"],"bù pū":["抪","柨"],"yǎo tāo":["抭"],"hē hè qiā":["抲"],"nǐ ní":["抳"],"pī pēi":["抷"],"mǒ mò mā":["抹"],chōu:["抽","犨","犫","瘳","篘"],"jiā yá":["拁"],"fú bì":["拂","畐","鶝"],zhǎ:["拃","眨","砟","鮺","鲝"],"dān dàn dǎn":["担"],"chāi cā":["拆"],niān:["拈","蔫"],"lā lá lǎ là":["拉"],"bàn pàn":["拌"],pāi:["拍"],līn:["拎"],guǎi:["拐","枴","柺"],"tuò tà zhí":["拓"],"ào ǎo niù":["拗"],"jū gōu":["拘"],"pīn pàn fān":["拚"],"bài bái":["拜"],bài:["拝","敗","稗","粺","薭","贁","败","韛"],qiá:["拤"],"nǐng níng nìng":["拧"],"zé zhái":["择","擇"],hén:["拫","痕","鞎"],"kuò guā":["括"],"jié jiá":["拮"],nǐn:["拰"],shuān:["拴","栓","閂","闩"],"cún zùn":["拵"],"zā zǎn":["拶","桚"],kǎo:["拷","攷","栲","烤","考"],"yí chǐ hài":["拸"],"cè sè chuò":["拺"],"zhuài zhuāi yè":["拽"],"shí shè":["拾"],bāi:["挀","掰"],"kuò guāng":["挄"],nòng:["挊","挵","齈"],"jiào jiāo":["挍","敎","教"],"kuà kū":["挎"],"ná rú":["挐"],"tiāo tiǎo":["挑"],"dié shè":["挕"],liě:["挘","毟"],"yà yǎ":["挜","掗"],"wō zhuā":["挝"],"xié jiā":["挟","挾"],"dǎng dàng":["挡","擋"],"zhèng zhēng":["挣","正","症"],"āi ái":["挨"],"tuō shuì":["挩","捝"],"tǐ tì":["挮"],"suō shā":["挱"],"sā shā suō":["挲"],"kēng qiān":["挳","摼"],"bàng péng":["挷"],"ruó ruá":["挼"],"jiǎo kù":["捁"],"wǔ wú":["捂"],tǒng:["捅","桶","筒","筩","統","綂","统","㛚"],"huò chì":["捇"],"tú shū chá":["捈"],"lǚ luō":["捋"],"shāo shào":["捎","稍"],niē:["捏","揑"],"shù sǒng sōu":["捒"],"yé yú":["捓"],"jué zhuó":["捔"],"bù pú zhì":["捗"],zùn:["捘","銌"],lāo:["捞","撈","粩"],sǔn:["损","損","榫","笋","筍","箰","鎨","隼"],"wàn wǎn wān yù":["捥"],pěng:["捧","淎","皏"],shě:["捨"],"fǔ fù bǔ":["捬"],dáo:["捯"],"luò luǒ wǒ":["捰"],"juǎn quán":["捲"],"chēn tiǎn":["捵"],"niǎn niē":["捻"],"ruó wěi ré":["捼"],zuó:["捽","昨","秨","稓","筰","莋","鈼"],"wò xiá":["捾"],"qìng qiàn":["掅"],"póu pǒu":["掊"],qiā:["掐","葜"],"pái pǎi":["排"],"qiān wàn":["掔"],"yè yē":["掖"],"niè nǐ yì":["掜"],"huò xù":["掝"],"yàn shàn yǎn":["掞"],"zhěng dìng":["掟"],kòng:["控","鞚"],tuī:["推","蓷","藬"],"zōu zhōu chōu":["掫"],tiàn:["掭","舚"],kèn:["掯","裉","褃"],pá:["掱","杷","潖","爬","琶","筢"],"guó guāi":["掴"],"dǎn shàn":["掸","撣"],"chān xiān càn shǎn":["掺"],sāo:["掻","搔","溞","繅","缫","螦","騒","騷","鰠","鱢","鳋"],pèng:["掽","椪","槰","碰","踫"],"zhēng kēng":["揁"],"jiū yóu":["揂"],"jiān jiǎn":["揃","籛"],"pì chè":["揊"],"sāi zǒng cāi":["揌"],"tí dī dǐ":["提"],"zǒng sōng":["揔"],"huáng yóng":["揘"],"zǎn zuàn":["揝"],"xū jū":["揟"],"ké qiā":["揢"],"chuāi chuǎi chuài tuán zhuī":["揣"],"dì tì":["揥"],"lá là":["揦"],là:["揧","楋","溂","瓎","瘌","翋","臘","蝋","蝲","蠟","辢","辣","鑞","镴","鬎","鯻","\uD873\uDD9F"],"jiē qì":["揭"],"chòng dǒng":["揰"],"dié shé yè":["揲"],"jiàn qián jiǎn":["揵"],yé:["揶","爷","爺","瑘","鋣","鎁","铘"],chān:["搀","摻","攙","裧","襜","覘","觇","辿","鋓"],"gē gé":["搁","擱"],"lǒu lōu":["搂","摟"],"chōu zǒu":["搊"],chuāi:["搋"],sūn:["搎","槂","狲","猻","荪","蓀","蕵","薞","飧","飱"],"róng náng nǎng":["搑"],"péng bàng":["搒"],cuō:["搓","瑳","磋","蹉","遳","醝"],"kē è":["搕"],"nù nuò nòu":["搙"],"lā xié xiàn":["搚"],qiǔ:["搝","糗"],"xiǎn xiān":["搟"],"jié zhé":["搩"],"pán bān pó":["搫"],bān:["搬","攽","斑","斒","班","瘢","癍","肦","螁","螌","褩","辬","頒","颁","\uD862\uDF49"],"zhì nái":["搱"],"wā wǎ wà":["搲"],huá:["搳","撶","滑","猾","蕐","螖","譁","鏵","铧","驊","骅","鷨"],"qiāng qiǎng chēng":["搶"],"tián shēn":["搷"],"ná nuò":["搻"],èn:["摁"],"shè niè":["摄","攝"],bìn:["摈","擯","殡","殯","膑","臏","髌","髕","髩","鬂","鬓","鬢"],"shā sà shǎi":["摋"],"chǎn sùn":["摌"],"jiū liú liáo jiǎo náo":["摎"],"féng pěng":["摓"],shuāi:["摔"],"dì tú zhí":["摕"],"qì jì chá":["摖"],"sōu sǒng":["摗"],"liǎn liàn":["摙"],"gài xì":["摡"],"hù chū":["摢"],tàng:["摥","烫","燙","鐋"],"nái zhì":["摨"],"mó mā":["摩"],"jiāng qiàng":["摪"],"áo qiáo":["摮"],"niè chè":["摰"],"mán màn":["摱"],"chàn cán":["摲"],"sè mí sù":["摵"],"biāo biào":["摽"],"juē jué":["撅"],piē:["撆","暼","氕","瞥"],"piě piē":["撇"],"zǎn zān zēn qián":["撍"],"sā sǎ":["撒"],hòng:["撔","訌","讧","闀","鬨"],"héng guàng":["撗"],niǎn:["撚","撵","攆","涊","焾","碾","簐","蹍","蹨","躎","輦","辇"],"chéng zhěng":["撜"],"huī wéi":["撝"],cāo:["撡","操","糙"],"xiāo sōu":["撨"],"liáo liāo":["撩"],"cuō zuǒ":["撮"],"wěi tuǒ":["撱"],cuān:["撺","攛","汆","蹿","躥","鑹","镩"],"qiào yāo jī":["撽"],"zhuā wō":["撾"],"lèi léi":["擂"],nǎng:["擃","攮","曩","灢"],"qíng jǐng":["擏"],kuǎi:["擓","蒯","㧟"],"pǐ bò":["擗"],"bò bāi":["擘"],"jù jǐ":["據"],mēng:["擝"],"sǒu sòu":["擞"],xǐng:["擤","箵","醒"],cā:["擦"],"níng nǐng nìng":["擰"],"zhì jié":["擳"],"là liè":["擸","爉"],"sòu sǒu":["擻"],"lì luò yuè":["擽"],"tī zhāi zhì":["擿"],pān:["攀","潘","眅","萠"],lèi:["攂","泪","涙","淚","禷","类","纇","蘱","酹","銇","錑","頛","頪","類","颣"],"cā sǎ":["攃"],"jùn pèi":["攈"],"lì luò":["攊","躒"],"là lài":["攋","櫴"],"lú luó":["攎"],"zǎn cuán":["攒"],"xiān jiān":["攕"],"mí mǐ mó":["攠"],"zǎn cuán zàn zuān":["攢"],zuàn:["攥"],"lì shài":["攦"],"lì luǒ":["攭"],"guǐ guì":["攱"],"jī qī yǐ":["攲"],fàng:["放"],"wù móu":["敄"],"chù shōu":["敊"],"gé guó è":["敋"],"duó duì":["敓","敚"],"duō què":["敠","敪"],"sàn sǎn":["散"],"dūn duì":["敦","镦"],"qī yǐ jī":["敧"],"xiào xué":["敩"],"shù shǔ shuò":["数","數"],"ái zhú":["敱","敳"],"xiòng xuàn":["敻"],"zhuó zhú":["斀"],"yì dù":["斁"],"lí tái":["斄"],"fěi fēi":["斐"],"yǔ zhōng":["斔"],"dòu dǒu":["斗"],"wò guǎn":["斡"],"tǒu tiǎo":["斢"],dòu:["斣","梪","浢","痘","窦","竇","脰","荳","豆","逗","郖","酘","閗","闘","餖","饾","鬥","鬦","鬪","鬬","鬭"],"yín zhì":["斦"],"chǎn jiè":["斺"],"wū yū yú":["於"],"yóu liú":["斿"],"páng bàng":["旁"],"máo mào":["旄"],"pī bì":["旇"],"xuán xuàn":["旋"],"wú mó":["无"],zǎo:["早","枣","栆","棗","澡","璪","薻","藻","蚤"],gā:["旮"],"gàn hàn":["旰"],"tái yīng":["旲"],"xū xù":["旴"],"tūn zhùn":["旽"],"wù wǔ":["旿"],"pò pèi":["昢"],zòng:["昮","猔","疭","瘲","粽","糉","糭","縦"],ǎi:["昹","毐","矮","蔼","藹","譪","躷","霭","靄"],"huàng huǎng":["晃"],xuǎn:["晅","癣","癬","选","選"],"xù kuā":["晇"],hǒng:["晎"],shài:["晒","曬"],"yūn yùn":["晕","煴"],"shèng chéng":["晟","椉","盛"],"jǐng yǐng":["景"],shǎn:["晱","熌","睒","覢","閃","闪","陕","陝"],"qǐ dù":["晵"],"ǎn àn yǎn":["晻"],"wǎng wàng":["暀"],zàn:["暂","暫","瓉","瓒","瓚","禶","襸","讃","讚","賛","贊","赞","蹔","鄼","錾","鏨","饡"],"yùn yūn":["暈"],"mín mǐn":["暋"],"dǔ shǔ":["暏"],shǔ:["暑","曙","潻","癙","糬","署","薥","薯","藷","蜀","蠴","襡","襩","鱪","鱰","黍","鼠","鼡"],"jiǎn lán":["暕"],nuǎn:["暖","煗","餪"],"bào pù":["暴"],"xī xǐ":["暿"],"pù bào":["曝","瀑"],"qū qǔ":["紶"],"qǔ qū":["曲"],"gèng gēng":["更"],"hū hù":["曶","雽"],"zēng céng":["曽","橧"],"céng zēng":["曾","竲"],"cǎn qián jiàn":["朁"],"qiè hé":["朅"],"bì pí":["朇","禆","笓","裨"],"yǒu yòu":["有"],"bān fén":["朌","鳻"],"fú fù":["服","洑"],"fěi kū":["朏","胐"],"qú xù chǔn":["朐"],"juān zuī":["朘"],"huāng máng wáng":["朚"],"qī jī":["期"],"tóng chuáng":["朣","橦"],zhá:["札","牐","箚","蚻","譗","鍘","铡","閘","闸"],"zhú shù shú":["朮"],"shù shú zhú":["术"],"zhū shú":["朱"],"pǔ pò pō piáo":["朴"],"dāo tiáo mù":["朷"],"guǐ qiú":["朹"],xiǔ:["朽","滫","潃","糔"],"chéng chēng":["朾"],zá:["杂","沯","砸","襍","雑","雜","雥","韴"],"yú wū":["杅"],"gān gǎn":["杆"],"chā chà":["杈"],"shān shā":["杉"],cūn:["村","皴","竴","膥","踆","邨"],"rèn ér":["杒","梕"],"sháo biāo":["杓"],"dì duò":["杕","枤"],"gū gài":["杚"],"yí zhì lí duò":["杝"],"gàng gāng":["杠"],"tiáo tiāo":["条","條"],"mà mǎ":["杩"],"sì zhǐ xǐ":["杫"],"yuán wán":["杬","蚖"],"bèi fèi":["杮"],"shū duì":["杸"],"niǔ chǒu":["杻"],"wò yuè":["枂","臒"],máo:["枆","毛","氂","渵","牦","矛","罞","茅","茆","蝥","蟊","軞","酕","鉾","錨","锚","髦","鶜"],"pī mì":["枈"],àng:["枊","盎","醠"],"fāng bìng":["枋"],"hù dǐ":["枑"],xín:["枔","襑","鐔","鬵"],"yāo yǎo":["枖"],"ě è":["枙"],"zhī qí":["枝"],"cōng zōng":["枞","樅"],"xiān zhēn":["枮"],"tái sì":["枱"],"gǒu jǔ gōu":["枸"],"bāo fú":["枹"],"yì xiè":["枻","栧"],"tuó duò":["柁","馱","駄","驮"],"yí duò lí":["柂"],"nǐ chì":["柅"],"pán bàn":["柈","跘"],"yǎng yàng yāng yīng":["柍"],"fù fū fǔ":["柎"],"bǎi bó bò":["柏"],mǒu:["某"],"sháo shào":["柖"],zhè:["柘","樜","浙","淛","蔗","蟅","這","鷓","鹧","䗪"],"yòu yóu":["柚","櫾"],"guì jǔ":["柜"],"zhà zuò":["柞"],"dié zhì":["柣","眰"],"zhā zǔ zū":["柤"],"chá zhā":["查","査"],"āo ào":["柪","軪"],"bā fú pèi bó biē":["柭"],"duò zuó wù":["柮"],"bì bié":["柲"],"zhù chù":["柷"],"bēi pēi":["柸"],"shì fèi":["柹"],"shān zhà shi cè":["栅"],"lì yuè":["栎","櫟"],"qì qiè":["栔","砌"],"qī xī":["栖","蹊"],"guā kuò":["栝"],"bīng bēn":["栟"],"xiào jiào":["校"],"jiàn zùn":["栫","袸"],"yǒu yù":["栯"],"hé hú":["核"],gēn:["根","跟"],"zhī yì":["栺"],"gé gē":["格"],"héng háng":["桁"],"guàng guāng":["桄"],"yí tí":["桋","荑"],sāng:["桑","桒","槡"],"jú jié":["桔"],"yú móu":["桙"],"ráo náo":["桡","橈"],"guì huì":["桧","檜"],"chén zhèn":["桭"],"tīng yíng":["桯"],"bó po":["桲"],"bèn fàn":["桳"],"fēng fèng":["桻","葑"],"sù yìn":["梀"],"tǐng tìng":["梃"],"xuān juān xié":["梋"],"tú chá":["梌"],"āo yòu":["梎"],kuǎn:["梡","欵","款","歀"],"shāo sào":["梢"],"qín chén cén":["梣"],"lí sì qǐ":["梩"],"chān yán":["梴"],"bīn bīng":["梹","槟","檳"],"táo chóu dào":["梼"],"cōng sōng":["棇"],"gùn hùn":["棍"],"dé zhé":["棏"],"pái bèi pèi":["棑"],"bàng pǒu bèi bēi":["棓"],"dì dài tì":["棣"],sēn:["森","椮","槮","襂"],"rěn shěn":["棯"],"léng lēng líng":["棱"],"fú sù":["棴"],"zōu sǒu":["棷"],zōu:["棸","箃","緅","諏","诹","邹","郰","鄒","鄹","陬","騶","驺","鯫","鲰","黀","齱","齺"],"zhào zhuō":["棹"],"chēn shēn":["棽"],"jiē qiè":["椄"],"yǐ yī":["椅"],"chóu zhòu diāo":["椆"],"qiāng kōng":["椌"],"zhuī chuí":["椎"],"bēi pí":["椑"],mēn:["椚"],"quān juàn quán":["椦"],"duǒ chuán":["椯"],"wěi huī":["椲"],"jiǎ jiā":["椵"],"hán jiān":["椷"],"shèn zhēn":["椹"],"yàn yà":["椻"],"zhā chá":["楂"],"guō kuǎ":["楇"],"jí zhì":["楖"],"kǔ hù":["楛"],"yóu yǒu":["楢"],"sǒng cōng":["楤"],"yuán xuàn":["楥"],"yǎng yàng yīng":["楧"],pián:["楩","胼","腁","賆","蹁","駢","騈","骈","骿","㛹"],"dié yè":["楪"],"dùn shǔn":["楯"],"còu zòu":["楱"],"dì dǐ shì":["楴"],"kǎi jiē":["楷"],"róu ròu":["楺"],"lè yuè":["楽"],"wēn yùn":["榅","鞰"],lǘ:["榈","櫚","氀","膢","藘","閭","闾","驢","驴"],shén:["榊","神","鉮","鰰","\uD872\uDF39"],"bī pi":["榌"],"zhǎn niǎn zhèn":["榐"],"fú fù bó":["榑"],"jiàn jìn":["榗"],"bǎng bàng":["榜"],"shā xiè":["榝","樧"],nòu:["槈","耨","鎒","鐞"],"qiǎn lián xiàn":["槏"],gàng:["槓","焵","焹","筻","鿍"],gāo:["槔","槹","橰","櫜","睾","篙","糕","羔","臯","韟","餻","高","髙","鷎","鷱","鼛"],"diān zhěn zhēn":["槙"],"kǎn jiàn":["槛"],"xí dié":["槢"],"jī guī":["槣"],"róng yōng":["槦"],"tuán shuàn quán":["槫"],"qì sè":["槭"],"cuī zhǐ":["槯"],"yǒu chǎo":["槱"],"màn wàn":["槾"],"lí chī":["樆"],"léi lěi":["樏","櫑","礌"],"cháo jiǎo chāo":["樔"],"chēng táng":["樘"],"jiū liáo":["樛"],"mó mú":["模"],"niǎo mù":["樢"],"héng hèng":["横","橫"],xuě:["樰","膤","艝","轌","雪","鱈","鳕"],"fá fèi":["橃"],rùn:["橍","润","潤","膶","閏","閠","闰"],"zhǎn jiǎn":["橏"],shùn:["橓","瞚","瞬","舜","蕣","順","顺","鬊"],"tuí dūn":["橔"],"táng chēng":["橖"],"sù qiū":["橚"],"tán diàn":["橝"],"fén fèn fèi":["橨"],"rǎn yān":["橪"],"cū chu":["橻"],"shū qiāo":["橾"],"píng bò":["檘"],"zhái shì tú":["檡"],"biǎo biāo":["檦"],"qiān lián":["檶"],"nǐ mí":["檷"],"jiàn kǎn":["檻"],"nòu ruǎn rú":["檽"],"jī jì":["櫅","禨"],"huǎng guǒ gǔ":["櫎"],"lǜ chū":["櫖"],"miè mèi":["櫗"],ōu:["櫙","欧","歐","殴","毆","瓯","甌","膒","藲","謳","讴","鏂","鴎","鷗","鸥"],"zhù zhuó":["櫡"],"jué jì":["櫭"],"huái guī":["櫰"],"chán zhàn":["欃"],"wéi zuì":["欈"],cáng:["欌","鑶"],"yù yì":["欥"],"chù qù xì":["欪"],"kài ài":["欬"],"yì yīn":["欭"],"xì kài":["欯"],"shuò sòu":["欶"],"ǎi ēi éi ěi èi ê̄ ế ê̌ ề":["欸"],"qī yī":["欹"],"chuā xū":["欻"],"chǐ chuài":["欼"],"kǎn qiàn":["欿"],"kǎn kè":["歁"],"chuǎn chuán":["歂"],"yīn yān":["歅"],"jìn qūn":["歏"],pēn:["歕"],"xū chuā":["歘"],"xī shè":["歙"],"liǎn hān":["歛"],"zhì chí":["歭"],"sè shà":["歰"],sǐ:["死"],"wěn mò":["歾"],piǎo:["殍","皫","瞟","醥","顠"],"qíng jìng":["殑"],"fǒu bó":["殕"],"zhí shi":["殖"],"yè yān yàn":["殗"],"hūn mèi":["殙"],chòu:["殠","臰","遚"],"kuì huì":["殨","溃","潰"],cuàn:["殩","熶","爨","窜","竄","篡","簒"],"yīn yān yǐn":["殷"],"qìng kēng shēng":["殸"],"yáo xiáo xiào":["殽"],"gū gǔ":["毂","蛄"],"guàn wān":["毌"],"dú dài":["毒"],"xún xùn":["毥"],mú:["毪","氁"],"dòu nuò":["毭"],"sāi suī":["毸"],lu:["氇"],sào:["氉","瘙","矂","髞"],"shì zhī":["氏"],"dī dǐ":["氐"],"máng méng":["氓"],"yáng rì":["氜"],shuǐ:["水","氵","氺","閖"],"zhěng chéng zhèng":["氶"],tǔn:["氽"],"fán fàn":["氾"],"guǐ jiǔ":["氿"],"bīn pà pā":["汃"],"zhuó què":["汋"],"dà tài":["汏"],pìn:["汖","牝","聘"],"hàn hán":["汗","馯"],tu:["汢"],"tāng shāng":["汤","湯"],"zhī jì":["汥"],"gàn hán cén":["汵"],"wèn mén":["汶"],"fāng pāng":["汸"],"hǔ huǎng":["汻"],"niú yóu":["汼"],hàng:["沆"],"shěn chén":["沈"],"dùn zhuàn":["沌"],"nǜ niǔ":["沑"],"méi mò":["沒","没"],"tà dá":["沓"],"mì wù":["沕"],"hóng pāng":["沗"],"shā shà":["沙"],"zhuǐ zǐ":["沝"],"ōu òu":["沤","漚"],"jǔ jù":["沮"],"tuō duó":["沰"],"mǐ lì":["沵"],"yí chí":["沶"],"xiè yì":["泄"],"bó pō":["泊"],"mì bì":["泌","秘"],"chù shè":["泏"],"yōu yòu āo":["泑"],"pēng píng":["泙","硑"],"pào pāo":["泡"],"ní nì":["泥","秜"],"yuè sà":["泧"],"jué xuè":["泬","疦"],"lóng shuāng":["泷","瀧"],"luò pō":["泺","濼"],"zé shì":["泽","澤"],"sǎ xǐ":["洒"],"sè qì zì":["洓"],"xǐ xiǎn":["洗"],"kǎo kào":["洘"],"àn yàn è":["洝"],"lěi lèi":["洡"],"qiè jié":["洯"],"qiǎn jiān":["浅"],"jì jǐ":["济","済","濟","纪"],"hǔ xǔ":["浒","滸"],"jùn xùn":["浚","濬"],"yǐng chéng yíng":["浧"],"liàn lì":["浰"],"féng hóng":["浲","溄"],"jiǒng jiōng":["浻"],"suī něi":["浽"],"yǒng chōng":["涌"],"tūn yūn":["涒"],"wō guō":["涡","渦"],hēng:["涥","脝"],"zhǎng zhàng":["涨","漲"],"shòu tāo":["涭"],shuàn:["涮","腨"],"kōng náng":["涳"],"wò wǎn yuān":["涴"],"tuō tuò":["涶"],wō:["涹","猧","窝","窩","莴","萵","蜗","蝸","踒"],"qiè jí":["淁"],"guǒ guàn":["淉"],"lín lìn":["淋","獜","疄"],"tǎng chǎng":["淌"],"nào chuò zhuō":["淖"],"péng píng":["淜"],féi:["淝","肥","腓","蜰"],"pì pèi":["淠"],"niǎn shěn":["淰"],"biāo hǔ":["淲"],"chún zhūn":["淳"],"hùn hún":["混"],qiǎn:["淺","繾","缱","肷","膁","蜸","譴","谴","遣","鑓"],"wèn mín":["渂"],"rè ruò luò":["渃"],"dú dòu":["渎","瀆","读"],"jiàn jiān":["渐","溅","漸","濺"],"miǎn shéng":["渑","澠"],"nuǎn nuán":["渜"],"qiú wù":["渞"],"tíng tīng":["渟"],"dì tí dī":["渧"],"gǎng jiǎng":["港"],"hōng qìng":["渹"],tuān:["湍","煓"],"huì mǐn xū":["湏"],"xǔ xù":["湑"],pén:["湓","瓫","盆","葐"],"mǐn hūn":["湣"],"tuàn nuǎn":["湪"],"qiū jiǎo":["湫","湬"],"yān yīn":["湮"],"bàn pán":["湴"],"zhuāng hún":["湷"],"yàn guì":["溎"],"lián liǎn nián xián xiàn":["溓"],"dá tǎ":["溚","鿎"],"liū liù":["溜","澑","蹓"],lùn:["溣"],mǎ:["溤","犸","獁","玛","瑪","码","碼","遤","鎷","馬","马","鰢","鷌"],"zhēn qín":["溱"],"nì niào":["溺"],"chù xù":["滀","畜"],"wěng wēng":["滃"],"hào xuè":["滈"],"qì xì xiē":["滊"],"xíng yíng":["滎"],"zé hào":["滜"],"piāo piào piǎo":["漂"],"cóng sǒng":["漎"],"féng péng":["漨"],"luò tà":["漯"],"pēng bēn":["漰"],"chóng shuāng":["漴"],"huǒ kuò huò":["漷"],"liáo liú":["漻"],"cuǐ cuī":["漼"],"cóng zǒng":["潀"],"cóng zōng":["潈"],"pì piē":["潎"],"dàng xiàng":["潒"],"huáng guāng":["潢"],"liáo lào lǎo":["潦"],"cōng zòng":["潨"],"zhí zhì":["潪"],"tān shàn":["潬"],"tú zhā":["潳"],"sàn sǎ":["潵"],hēi:["潶","黑","黒","\uD872\uDF76"],"chéng dèng":["澄","瀓"],"cūn cún":["澊"],"péng pēng":["澎"],"hòng gǒng":["澒","銾"],"wàn màn":["澫"],"kuài huì":["澮"],"guō wō":["濄"],"pēn fén":["濆"],"jí shà":["濈"],"huì huò":["濊"],"dǐng tìng":["濎"],"mǐ nǐ":["濔"],"bì pì":["濞"],"cuì zuǐ":["濢"],"hù huò":["濩"],"ǎi kài kè":["濭"],"wěi duì":["濻","瀢"],"zàn cuán":["濽","灒"],"yǎng yàng":["瀁"],"wǎng wāng":["瀇"],"mò miè":["瀎","眜"],suǐ:["瀡","膸","髓"],"huái wāi":["瀤"],"zùn jiàn":["瀳"],"yīng yǐng yìng":["瀴"],"ráng ràng":["瀼"],shuàng:["灀"],"zhuó jiào zé":["灂"],sǎ:["灑","訯","靸"],"luán luàn":["灓"],"dǎng tǎng":["灙"],"xún quán quàn":["灥"],"huǒ biāo":["灬"],"zhà yù":["灹"],"fén bèn":["炃"],"jiǒng guì":["炅"],"pàng fēng":["炐"],quē:["炔","缺","缼","蒛"],biān:["炞","煸","甂","砭","笾","箯","籩","編","编","蝙","邉","邊","鍽","鞭","鯾","鯿","鳊"],"zhāo zhào":["炤"],"zhuō chù":["炪"],"pào páo bāo":["炮"],"páo fǒu":["炰"],"shǎn qián shān":["炶"],"zhà zhá":["炸"],"jiǎo yào":["烄"],quǎn:["烇","犬","犭","畎","綣","绻","虇"],"yàng yáng":["烊"],"lào luò":["烙"],"huí huǐ":["烠"],rè:["热","熱"],"fú páo":["烰"],"xiè chè":["烲","焎"],"yàn shān":["烻"],"hūn xūn":["焄"],kào:["焅","犒","銬","铐","靠","鮳","鯌","鲓","㸆"],"juān yè":["焆"],"jùn qū":["焌"],"tāo dào":["焘"],"chǎo jù":["焣"],"wò ài":["焥"],"zǒng cōng":["焧"],"xī yì":["焬"],"xìn xīn":["焮"],"chāo zhuō":["焯"],"xiǒng yīng":["焸","焽"],kuǐ:["煃","跬","蹞","頍","\uD86E\uDC06"],"huī yùn xūn":["煇"],"jiǎo qiāo":["煍"],"qián shǎn shān":["煔"],"xī yí":["煕"],"shà shā":["煞"],"yè zhá":["煠"],"yáng yàng":["煬"],"ēn yūn":["煾"],"yūn yǔn":["熅"],"hè xiāo":["熇"],xióng:["熊","熋","雄"],"xūn xùn":["熏","爋"],gòng:["熕","貢","贡"],liū:["熘"],"cōng zǒng":["熜"],"lù āo":["熝"],"shú shóu":["熟"],"fēng péng":["熢"],"cuǐ suī":["熣"],tēng:["熥","膯","鼟"],"yùn yù":["熨"],"áo āo":["熬"],"hàn rǎn":["熯"],"ōu ǒu":["熰"],"huáng huǎng":["熿"],"chǎn dǎn chàn":["燀"],"jiāo zhuó qiáo jué":["燋"],"yàn yān":["燕"],"tài liè":["燤"],āo:["爊"],"yàn xún":["爓"],"jué jiào":["爝","覐","覚","覺","觉"],"lǎn làn":["爦"],"zhuǎ zhǎo":["爪"],"zhǎo zhuǎ":["爫"],"fù fǔ":["父"],diē:["爹","褺","跌"],zāng:["牂","羘","臧","賍","賘","贓","贜","赃","髒"],"piàn piān":["片"],"biān miàn":["牑"],bǎng:["牓","綁","绑"],"yǒu yōng":["牗"],"chēng chèng":["牚","竀"],niú:["牛","牜"],"jiū lè":["牞"],"mù móu":["牟"],māng:["牤"],"gē qiú":["牫"],"yòu chōu":["牰"],"tè zhí":["犆"],bēn:["犇","錛","锛"],"jiān qián":["犍","玪"],má:["犘","痲","蔴","蟇","麻"],"máo lí":["犛"],"bá quǎn":["犮"],"zhuó bào":["犳"],"àn hān":["犴"],"kàng gǎng":["犺"],"pèi fèi":["犻"],"fān huān":["犿"],kuáng:["狂","狅","誑","诳","軖","軠","鵟","\uD86D\uDEED"],"yí quán chí":["狋"],"xīng shēng":["狌"],"tuó yí":["狏"],kǔ:["狜","苦"],"huán huān":["狟"],"hé mò":["狢"],"tà shì":["狧"],"máng dòu":["狵"],"xī shǐ":["狶"],suān:["狻","痠","酸"],"bài pí":["猈"],"jiān yàn":["猏","豣"],"yī yǐ":["猗"],"yá wèi":["猚"],cāi:["猜"],"māo máo":["猫","貓"],"chuàn chuān":["猭"],"tuān tuàn":["猯","貒"],"yà jiá qiè":["猰"],"hè xiē gé hài":["猲"],"biān piàn":["猵","獱"],"bó pò":["猼"],"háo gāo":["獋"],"fén fèn":["獖"],"yào xiāo":["獟"],"shuò xī":["獡"],"gé liè xiē":["獦"],"nòu rú":["獳"],"náo nǎo yōu":["獶"],ráng:["獽","瓤","禳","穣","穰","蘘","躟","鬤"],"náo yōu":["獿"],"lǜ shuài":["率"],"wáng wàng":["王"],"yáng chàng":["玚"],"mín wén":["玟"],"bīn fēn":["玢"],"mén yǔn":["玧"],"qiāng cāng":["玱","瑲","篬"],"án gān":["玵"],"xuán xián":["玹"],"cī cǐ":["玼","跐"],"yí tāi":["珆"],"zǔ jù":["珇"],fà:["珐","琺","蕟","髪","髮"],"yín kèn":["珢"],"huī hún":["珲"],"xuán qióng":["琁"],"fú fū":["琈"],"bǐng pín":["琕"],"cuì sè":["琗"],"yù wéi":["琟"],"tiǎn tiàn":["琠"],"zhuó zuó":["琢"],"běng pěi":["琣"],guǎn:["琯","璭","痯","筦","管","舘","輨","錧","館","馆","鳤"],"hún huī":["琿"],"xié jiē":["瑎"],"chàng dàng yáng":["瑒"],"tiàn zhèn":["瑱"],"bīn pián":["瑸","璸"],"tú shū":["瑹"],cuǐ:["璀","皠","趡"],"zǎo suǒ":["璅"],"jué qióng":["璚"],"lú fū":["璷"],"jì zī":["璾"],suí:["瓍","綏","绥","遀","随","隨","髄"],"mí xǐ":["瓕"],"qióng wěi wèi":["瓗"],"huán yè yà":["瓛"],"bó páo":["瓟"],"zhí hú":["瓡"],piáo:["瓢","闝"],"wǎ wà":["瓦"],"xiáng hóng":["瓨"],wèng:["瓮","甕","罋","蕹","齆"],"shèn shén":["甚"],ruí:["甤","緌","蕤"],yòng:["用","砽","苚","蒏","醟","㶲"],shuǎi:["甩"],béng:["甭","甮"],"yóu zhá":["甴"],"diàn tián shèng":["甸"],"tǐng dīng":["町","甼"],"zāi zī":["甾"],"bì qí":["畁"],"dá fú":["畗"],"cè jì":["畟"],"zāi zī tián":["畠"],"zhì chóu shì":["畤"],"fān pān":["畨","番"],"shē yú":["畬"],"dāng dàng dǎng":["當"],"jiāng qiáng":["疆"],"pǐ yǎ shū":["疋"],"jié qiè":["疌"],"yí nǐ":["疑"],nè:["疒","眲","訥","讷"],"gē yì":["疙"],"nüè yào":["疟","瘧"],"lì lài":["疠","癘"],"yǎ xiā":["疨"],xuē:["疶","蒆","薛","辥","辪","靴","鞾"],"dǎn da":["疸"],"fá biǎn":["疺"],"fèi féi":["疿","痱"],"shān diàn":["痁"],"téng chóng":["痋"],"tōng tóng":["痌"],"wěi yòu yù":["痏"],"tān shǐ":["痑"],"pū pù":["痡","鋪"],"bēng péng":["痭"],"má lìn":["痳"],"tiǎn diàn":["痶"],"ān yè è":["痷"],"kē ē":["痾"],"zhì chì":["瘈"],"jiǎ xiá xiā":["瘕"],"lěi huì":["瘣"],"chài cuó":["瘥"],"diān chēn":["瘨"],"da dá":["瘩"],"biě biē":["瘪"],qué:["瘸"],"dàn dān":["癉"],"guì wēi":["癐"],"nòng nóng":["癑"],"biē biě":["癟"],"bō bǒ":["癷"],bái:["白"],"jí bī":["皀"],"de dì dí dī":["的"],"pā bà":["皅"],"gāo háo":["皋"],"gāo yáo":["皐"],"lì luò bō":["皪"],"zhā cǔ":["皻"],"zhāo zhǎn dǎn":["皽"],"jiān jiàn":["监","監","鋻","间","鞬"],"gài gě hé":["盖"],"máng wàng":["盳"],yuǎn:["盶","逺","遠"],"tián xián":["盷"],"xiāng xiàng":["相"],dǔn:["盹","趸","躉"],"xì pǎn":["盻"],"shěng xǐng":["省"],"yún hùn":["眃"],"miǎn miàn":["眄"],"kàn kān":["看"],"yìng yāng yǎng":["眏"],"yǎo āo ǎo":["眑"],"jū xū kōu":["眗"],"yí chì":["眙"],"dié tì":["眣"],"bǐng fǎng":["眪"],"pàng pán":["眫"],"mī mí":["眯","瞇"],"xuàn shùn xún":["眴"],tiào:["眺","粜","糶","覜","趒"],"zhe zhuó zháo zhāo":["着"],"qiáo shào xiāo":["睄"],"cuó zhuài":["睉"],gùn:["睔","謴"],"suì zuì":["睟"],"pì bì":["睥","稫","辟"],"yì zé gāo":["睪"],"xǐng xìng":["睲"],"guì wèi kuì":["瞆"],"kòu jì":["瞉"],"qióng huán":["瞏"],"mán mén":["瞒","瞞"],"diāo dōu":["瞗"],"lou lóu lǘ":["瞜"],"shùn rún":["瞤"],"liào liǎo":["瞭","钌"],"jiàn xián":["瞯"],"wǔ mí":["瞴"],"guì kuì":["瞶"],"nǐng chēng":["矃"],"huò yuè":["矆"],"mēng méng":["矇"],"kuàng guō":["矌"],"guàn quán":["矔"],"mǎn mán":["矕"],"jīn guān qín":["矜"],"jīn qín guān":["矝"],"yù xù jué":["矞"],"jiǎo jiáo":["矫","矯"],duǎn:["短"],"shí dàn":["石"],"gāng qiāng kòng":["矼"],"huā xū":["砉"],"pīn bīn fēn":["砏"],"yán yàn":["研","硏"],"luǒ kē":["砢"],"fú fèi":["砩","笰"],"zhǔ zhù":["砫"],"lá lì lā":["砬"],"kuāng guāng":["硄"],"gè luò":["硌"],"shuò shí":["硕","碩"],"wèi wéi ái":["硙"],"què kè kù":["硞"],"mǎng bàng":["硥"],"luò lòng":["硦"],"yǒng tóng":["硧"],nüè:["硸","虐"],"kēng kěng":["硻"],"yān yǎn":["硽"],"zhuì chuí duǒ":["硾"],"kōng kòng":["硿"],"zòng cóng":["碂"],"jiān zhàn":["碊"],"lù liù":["碌","陆"],"què xī":["碏"],"lún lǔn lùn":["碖"],"náo gāng":["碙"],"jié yà":["碣"],"wèi wěi":["碨"],"tí dī":["碮"],"chá chā":["碴"],"qiāo què":["碻"],"sù xiè":["碿"],"liú liù":["磂","遛","鎦","馏"],"sī tí":["磃"],"bàng páng":["磅"],"huá kě gū":["磆"],"wěi kuǐ":["磈"],"xiá qià yà":["磍"],"lián qiān":["磏"],"wèi ái gài":["磑"],"lá lā":["磖"],"áo qiāo":["磝"],"pēng pèng":["磞","閛"],"yīn yǐn":["磤"],"lěi léi":["磥"],"mó mò":["磨"],"qì zhú":["磩"],"láo luò":["磱"],"pán bō":["磻"],"jí shé":["磼"],"hé qiāo qiào":["礉"],"kè huò":["礊"],"què hú":["礐"],"è qì":["礘"],cǎ:["礤","礸"],"xián xín":["礥"],"léi lěi lèi":["礧"],"yán yǎn":["礹"],"qí zhǐ":["祇","蚔"],"bēng fāng":["祊"],"bì mì":["祕"],suàn:["祘","笇","筭","算","蒜"],"piào piāo":["票"],"jì zhài":["祭"],"shuì lèi":["祱"],"jìn jīn":["禁"],"chán shàn":["禅"],"yáng shāng":["禓"],"zhī zhǐ tí":["禔"],"shàn chán":["禪"],"yú yù ǒu":["禺"],"zǐ zì":["秄"],"chá ná":["秅"],"zhǒng zhòng chóng":["种"],"hào mào":["秏"],"kù kū":["秙"],zū:["租","葅"],chèng:["秤","穪"],"huó kuò":["秮","秳"],"chēng chèn chèng":["称","稱"],"shì zhì":["秲","銴"],"fù pū":["秿"],"xùn zè":["稄"],"tú shǔ":["稌"],"zhùn zhǔn":["稕"],"jī qí":["稘","綨","觭"],"léng líng":["稜"],"zuì zú sū":["稡"],"xì qiè":["稧","郄"],"zhǒng zhòng":["種"],"zōng zǒng":["稯"],"xián jiān liàn":["稴"],"zī jiū":["稵"],"jī qǐ":["稽"],ròng:["穃"],"shān cǎn cēn":["穇"],"mén méi":["穈"],"jǐ jì":["穖"],"xiāo rào":["穘"],"zhuō bó":["穛"],"tóng zhǒng zhòng":["穜"],zuō:["穝"],"biāo pāo":["穮","藨"],"zhuō jué":["穱"],"cuán zàn":["穳"],"kōng kòng kǒng":["空"],"yū yǔ":["穻"],zhǎi:["窄","鉙"],báo:["窇","雹"],"kū zhú":["窋"],"jiào liáo liù":["窌"],"wā guī":["窐"],"tiǎo yáo":["窕"],"xūn yìn":["窨"],"yà yē":["窫"],"tián diān yǎn":["窴"],"chāo kē":["窼"],"kuǎn cuàn":["窽","窾"],"chù qì":["竐"],"qǔ kǒu":["竘"],"jìng zhěn":["竧"],"kǎn kàn":["竷"],"zhú dǔ":["竺"],"lè jīn":["竻"],"zhuì ruì":["笍"],"háng hàng":["笐"],"cén jìn hán":["笒"],"dā xiá nà":["笚"],"zé zuó":["笮"],"lóng lǒng":["笼","篭","籠","躘","龓"],"zhù zhú":["筑","築"],"dá dā":["答","荅"],shāi:["筛","篩","簁","籭"],"yún jūn":["筠"],"láng làng":["筤","郎","阆"],"zhì zhǐ":["筫"],o:["筽"],"póu bù fú pú":["箁"],"pái bēi":["箄"],gè:["箇","虼","鉻","铬"],"tái chí":["箈"],"guǎi dài":["箉"],"zhào dào":["箌"],"jīng qìng":["箐"],"lín lǐn":["箖"],"jùn qūn":["箘"],"shī yí":["箷","釶"],"yuē yào chuò":["箹"],"xiāo shuò qiào":["箾"],"gōng gǎn lǒng":["篢"],"páng péng":["篣"],"zhuó huò":["篧"],"jiǎn jiān":["篯"],"dí zhú":["篴"],"zān cēn cǎn":["篸"],"zhuàn suǎn zuàn":["篹"],"piǎo biāo":["篻"],"guó guì":["簂"],"cè jí":["簎"],"mì miè":["簚"],"shāi sī":["簛"],"sǔn zhuàn":["簨"],"gàn gǎn":["簳"],"bò bǒ":["簸"],"bó bù":["簿"],shi:["籂"],"zhēn jiān":["籈"],"zhuàn zuǎn":["籑"],"fān pān biān":["籓"],"sǒu shǔ":["籔"],zuǎn:["籫","繤","纂","纉","纘","缵"],nǚ:["籹","釹","钕"],"shā chǎo":["粆"],"kāng jīng":["粇"],fěn:["粉","黺"],cū:["粗","觕","麁","麄","麤"],"nián zhān":["粘"],"cè sè":["粣"],"zhōu yù":["粥"],"shēn sǎn":["糁"],"biān biǎn":["糄","萹"],miàn:["糆","面","靣","麪","麫","麵","麺"],"hú hū hù":["糊"],"gǔ gòu":["糓"],"mí méi":["糜"],"sǎn shēn":["糝","糣"],zāo:["糟","蹧","遭","醩"],"mì sī":["糸"],"jiū jiǔ":["糺"],"xì jì":["系","繫"],"zhēng zhěng":["糽"],"chà chǎ":["紁","衩"],"yuē yāo":["約","约"],"hóng gōng":["紅","红"],"hé gē":["紇","纥"],"wén wèn":["紋","纹"],fóu:["紑"],"jì jié jiè":["紒"],"pī pí bǐ":["紕","纰"],"jīn jìn":["紟"],"zhā zā":["紥","紮"],hā:["紦"],"fū fù":["紨"],"chōu chóu":["紬"],"lèi léi lěi":["累"],"bō bì":["紴"],"tiǎn zhěn":["紾"],"jiōng jiǒng":["絅"],"jié jiē":["結","结","节"],"guà kuā":["絓"],"bǎi mò":["絔"],"gēng huán":["絙"],"jié xié":["絜"],"quán shuān":["絟"],"gǎi ǎi":["絠"],"luò lào":["絡","络"],"bīng bēng pēng":["絣"],"gěi jǐ":["給","给"],"tóng tōng dòng":["絧"],"tiào diào dào":["絩"],"lěi lèi léi":["絫"],"gāi hài":["絯"],"chī zhǐ":["絺"],"wèn miǎn mán wàn":["絻"],"huán huàn wàn":["綄"],"qīn xiān":["綅"],"tì tí":["綈"],"yán xiàn":["綖"],"zōng zèng zòng":["綜"],"chēn lín":["綝"],"zhǔn zhùn":["綧"],"qiàn qīng zhēng":["綪"],"qìng qǐ":["綮"],"lún guān":["綸","纶"],"chuò chāo":["綽","绰"],"tián tǎn chān":["緂"],"lǜ lù":["緑","绿"],"ruǎn ruàn":["緛"],"jí qī":["緝"],"zhòng chóng":["緟","重"],"miáo máo":["緢"],"xiè yè":["緤"],huǎn:["緩","缓","㬊"],"gēng gèng":["緪","縆"],"tōu xū shū":["緰"],"zōng zòng":["緵","繌"],"yùn gǔn":["緷"],"guā wō":["緺"],"yùn yūn wēn":["緼","縕"],"bāng bàng":["縍"],"gǔ hú":["縎","鶻"],"cī cuò suǒ":["縒"],"cuī shuāi":["縗"],"róng rǒng ròng":["縙"],"zài zēng":["縡"],cài:["縩","菜","蔡"],"féng fèng":["縫"],"suō sù":["縮","缩"],"yǎn yǐn":["縯","酓"],"zòng zǒng":["縱","纵"],"zhuàn juàn":["縳"],"mò mù":["縸","莫"],"piǎo piāo":["縹","缥"],"fán pó":["繁"],"bēng bèng":["繃"],"móu miù miào liǎo":["繆"],"yáo yóu zhòu":["繇"],"zēng zèng":["繒","缯"],"jú jué":["繘"],"chuō chuò":["繛"],"zūn zǔn":["繜"],rào:["繞","绕","遶"],"chǎn chán":["繟"],"huì huí":["繢","缋","藱"],"qiāo sāo zǎo":["繰"],"jiǎo zhuó":["繳","缴"],"dàn tán chán":["繵"],nǒng:["繷"],"pú fú":["纀"],"yào lì":["纅"],"rǎng xiāng":["纕"],"lí sǎ xǐ lǐ":["纚"],"xiān qiàn":["纤"],"jīng jìng":["经"],"tí tì":["绨"],"bēng běng bèng":["绷"],"zōng zèng":["综"],"jī qī":["缉"],"wēn yùn yūn":["缊"],"fèng féng":["缝"],"shuāi cuī suī":["缞"],"miù móu liáo miào mù":["缪"],"qiāo sāo":["缲"],fǒu:["缶","缹","缻","雬","鴀"],"bà ba pí":["罢","罷"],"guà guǎi":["罫"],"yáng xiáng":["羊","羏"],"měi gāo":["羙"],"yì xī":["羛"],"qiǎng qiān":["羟"],"qiāng kòng":["羫"],"qián xián yán":["羬"],nóu:["羺"],"hóng gòng":["羾"],"pī bì pō":["翍"],"qú yù":["翑"],ké:["翗"],"qiào qiáo":["翘"],"zhái dí":["翟"],"dào zhōu":["翢"],"hóu qú":["翵"],shuǎ:["耍"],"ruǎn nuò":["耎"],"ér nài":["耏"],"zhuān duān":["耑"],"pá bà":["耙"],"chí sì":["耛"],"qù chú":["耝"],"lún lǔn":["耣"],"jí jiè":["耤"],"tāng tǎng":["耥"],pǎng:["耪","覫"],"zhá zé":["耫"],"yē yé":["耶"],"yún yíng":["耺"],"wà tuǐ zhuó":["聉"],"ér nǜ":["聏"],"tiē zhé":["聑"],"dǐ zhì":["聜"],qié:["聺"],"nǐ jiàn":["聻"],"lèi lē":["肋"],cào:["肏","襙","鄵","鼜"],"bó dí":["肑"],"xiào xiāo":["肖"],"dù dǔ":["肚"],chāi:["肞","釵","钗"],"hán qín hàn":["肣"],"pàng pán pàn":["肨","胖"],"zhūn chún":["肫"],āng:["肮","骯"],"yù yō":["育"],"pí bǐ bì":["肶"],"fèi bì":["胇"],"bèi bēi":["背"],"fèi zǐ":["胏"],"píng pēng":["胓","苹"],"fū fú zhǒu":["胕"],"shèng shēng":["胜"],kuà:["胯","跨","骻"],"gǎi hǎi":["胲"],"gē gé gā":["胳"],"néng nài":["能"],"guī kuì":["胿"],"mài mò":["脉"],"zāng zàng":["脏"],"jiǎo jué":["脚","角"],cuǒ:["脞"],"de te":["脦"],"zuī juān":["脧"],něi:["脮","腇","餒","馁","鮾","鯘"],"pú fǔ":["脯"],niào:["脲"],shuí:["脽"],guò:["腂","過","鐹"],"là xī":["腊"],"yān ā":["腌"],"gāo gào":["膏"],"lù biāo":["膔"],chuái:["膗"],"zhuān chuán chún zhuǎn":["膞"],chuài:["膪","踹"],"fán pán":["膰"],"wǔ hū":["膴"],"shān dàn":["膻"],tún:["臀","臋","蛌","豘","豚","軘","霕","飩","饨","魨","鲀","黗"],"bì bei":["臂"],"là gé":["臈"],"sào sāo":["臊"],nào:["臑","閙","闹","鬧"],"ní luán":["臡"],"qiān xián":["臤"],"guàng jiǒng":["臦"],"guǎng jiǒng":["臩"],"chòu xiù":["臭"],"mián biān":["臱"],"dié zhí":["臷"],"zhī jìn":["臸"],"shè shě":["舍"],pù:["舖","舗"],"bān bō pán":["般"],kuā:["舿"],"gèn gěn":["艮"],"sè shǎi":["色"],"fú bó":["艴"],"jiāo qiú":["艽"],"chāi chā":["芆"],"sháo què":["芍"],"hù xià":["芐"],"zì zǐ":["芓"],"huì hū":["芔"],"tún chūn":["芚"],"jiè gài":["芥"],"xù zhù":["芧"],"yuán yán":["芫"],"xīn xìn":["芯"],"lún huā":["芲"],"wù hū":["芴"],"gōu gǒu":["芶"],"mào máo":["芼"],"fèi fú":["芾"],"chán yín":["苂"],qiē:["苆"],"sū sù":["苏"],"tiáo sháo":["苕"],"lì jī":["苙"],"kē hē":["苛"],"jù qǔ":["苣"],"ruò rě":["若"],"zhù níng":["苧"],"pā bó":["苩"],xiú:["苬"],"zhǎ zuó":["苲"],"jū chá":["苴"],nié:["苶"],"shēng ruí":["苼"],"qié jiā":["茄"],"zǐ cí":["茈"],"qiàn xī":["茜"],chǎi:["茝"],"fá pèi":["茷"],ráo:["荛","蕘","襓","饒","饶"],"yíng xíng":["荥"],"qián xún":["荨","蕁"],"yìn yīn":["荫"],"hé hè":["荷"],"shā suō":["莎"],"péng fēng":["莑"],"shēn xīn":["莘"],"wǎn guān guǎn":["莞"],"yóu sù":["莤"],"shāo xiāo":["莦","蛸"],"làng liáng":["莨"],"piǎo fú":["莩"],"wèn wǎn miǎn":["莬"],"shì shí":["莳","蒔"],"tù tú":["莵"],"xiān liǎn":["莶","薟"],"wǎn yù":["菀"],"zōu chù":["菆"],"lù lǜ":["菉"],"jūn jùn":["菌"],"niè rěn":["菍"],"zī zì zāi":["菑"],"tú tù":["菟"],"jiē shà":["菨"],"qiáo zhǎo":["菬"],"tái zhī chí":["菭"],"fēi fěi":["菲","蜚"],"qín qīn jīn":["菳"],"zū jù":["菹","蒩"],"lǐn má":["菻"],"tián tiàn":["菾"],tiē:["萜","貼","贴"],"luò là lào luō":["落"],"zhù zhuó zhe":["著"],"shèn rèn":["葚"],"gě gé":["葛"],"jùn suǒ":["葰"],"kuì kuài":["蒉"],"rú ná":["蒘"],"méng mēng měng":["蒙"],"yuán huán":["蒝"],"xú shú":["蒣"],"xí xì":["蒵"],"mì míng":["蓂"],"sōu sǒu":["蓃"],"gài gě hé hài":["蓋"],"yǎo zhuó":["蓔"],"diào tiáo dí":["蓧"],"xū qiū fū":["蓲"],"zí jú":["蓻"],"liǎo lù":["蓼"],xu:["蓿"],"hàn hǎn":["蔊"],"màn wàn mán":["蔓"],"pó bò":["蔢"],"fān fán bō":["蕃"],"hóng hòng":["蕻"],"yù ào":["薁","隩"],"xí xiào":["薂"],"báo bó bò":["薄"],"cí zī":["薋"],"wàn luàn":["薍"],"kǎo hāo":["薧"],"yuǎn wěi":["薳"],"zhòu chóu":["薵"],"wō mái":["薶"],"xiāo hào":["藃"],"yù xù xū":["藇"],"jiè jí":["藉"],"diào zhuó":["藋"],"cáng zàng":["藏"],lǎ:["藞"],"chú zhū":["藸"],"pín píng":["蘋"],"gān hán":["虷"],"hóng jiàng":["虹"],"huī huǐ":["虺"],"xiā há":["虾"],"mǎ mà mā":["蚂"],"fāng bàng":["蚄"],"bàng bèng":["蚌"],"jué quē":["蚗"],"qín qián":["蚙"],"gōng zhōng":["蚣"],"fǔ fù":["蚥"],"dài dé":["蚮"],"gǒu qú xù":["蚼"],"bǒ pí":["蚾"],"shé yí":["蛇"],tiě:["蛈","鉄","銕","鐡","鐵","铁","驖"],"gé luò":["蛒"],"máng bàng":["蛖"],"yì xǔ":["蛡"],"há gé":["蛤"],"qiè ní":["蛪"],"é yǐ":["蛾"],"zhē zhé":["蜇"],"là zhà":["蜡"],suò:["蜶","逤"],"yóu qiú":["蝤"],"xiā hā":["蝦"],"xī qī":["螇"],"bī pí":["螕"],"nài něng":["螚"],"hé xiá":["螛"],"guì huǐ":["螝"],"mǎ mā mà":["螞"],"shì zhē":["螫"],"zhì dié":["螲"],"jiàn chán":["螹"],"ma má mò":["蟆"],"mǎng měng":["蟒"],"biē bié":["蟞"],"bēn fèi":["蟦"],"láo liáo":["蟧"],"yín xún":["蟫"],"lí lǐ":["蠡"],"xuè xiě":["血"],"xíng háng hàng héng":["行"],"shuāi cuī":["衰"],"tuó tuō":["袉"],"lǐng líng":["袊"],"bào páo pào":["袌"],"jù jiē":["袓"],"hè kè":["袔"],"yí yì":["袘","貤"],"nà jué":["袦"],"bèi pī":["被"],"chǐ nuǒ":["袲"],"chǐ qǐ duǒ nuǒ":["袳"],"jiá qiā jié":["袷"],"bó mò":["袹"],"guī guà":["袿"],"liè liě":["裂"],"chéng chěng":["裎"],"jiē gé":["裓"],"dāo chóu":["裯"],"shang cháng":["裳"],"yuān gǔn":["裷"],"yǎn ān":["裺"],"tì xī":["裼"],"fù fú":["褔"],"chǔ zhǔ":["褚"],"tuì tùn":["褪"],lǎi:["襰"],"yào yāo":["要"],"qín tán":["覃"],"jiàn xiàn":["見","见"],piǎn:["覑","諞","谝","貵","\uD844\uDF9A"],"piē miè":["覕"],"yíng yǐng":["覮"],"qù qū":["覰","覷","觑"],"jiàn biǎn":["覵"],"luó luǎn":["覶"],"zī zuǐ":["觜"],"huà xiè":["觟"],"jiě jiè xiè":["解","觧"],"xué hù":["觷"],"lì lù":["觻"],tǎo:["討","讨"],zhùn:["訰"],"zī zǐ":["訾"],"yí dài":["詒","诒"],xiòng:["詗","诇"],"diào tiǎo":["誂"],"yí chǐ chì":["誃"],"lǎng làng":["誏"],"ēi éi ěi èi xī":["誒","诶"],shuà:["誜"],"yǔ yù":["語","语","雨"],"shuō shuì yuè":["說","说"],"shuí shéi":["誰","谁"],"qū juè":["誳"],"chī lài":["誺"],"nì ná":["誽"],"diào tiáo":["調"],"pǐ bēi":["諀"],"jì jī":["諅"],"zé zuò zhǎ cuò":["諎"],"chù jí":["諔"],"háo xià":["諕"],"lùn lún":["論","论"],"shì dì":["諟"],"huà guā":["諣"],"xǐ shāi āi":["諰"],"nán nàn":["諵","難"],miù:["謬","谬"],zèn:["譖","谮"],"shí zhì":["識","识"],"juàn xuān":["讂"],"yí tuī":["讉"],zhán:["讝"],"xǔ hǔ":["许"],"xiáng yáng":["详"],"tiáo diào zhōu":["调"],"chén shèn":["谌"],"mí mèi":["谜"],"màn mán":["谩"],"gǔ yù":["谷"],"huō huò huá":["豁"],"zhì zhài":["豸"],"huān huán":["貆"],"kěn kūn":["貇"],"mò hé":["貈"],"mò hé háo":["貉"],"jù lóu":["貗"],"zé zhài":["責","责"],"dài tè":["貸"],"bì bēn":["賁"],"jiǎ gǔ jià":["賈"],"xiōng mín":["賯"],càng:["賶"],"zhuàn zuàn":["賺","赚"],"wàn zhuàn":["贃"],"gàn gòng zhuàng":["贛"],"yuán yùn":["贠"],"bēn bì":["贲"],"jiǎ gǔ":["贾"],zǒu:["走","赱","鯐"],"dié tú":["趃"],"jū qiè":["趄"],"qū cù":["趋","趨"],"jí jié":["趌"],"guā huó":["趏"],"què qì jí":["趞"],"tàng tāng":["趟"],"chuō zhuó":["趠"],"qù cù":["趣"],"yuè tì":["趯"],"bō bào":["趵"],"kuà wù":["趶"],"guì jué":["趹"],"fāng fàng páng":["趽"],"páo bà":["跁"],"qí qǐ":["跂"],"jiàn chén":["跈"],"pǎo páo":["跑"],"diǎn diē tiē":["跕"],"jū jù qiè":["跙"],bǒ:["跛"],"luò lì":["跞"],"dài duò duō chí":["跢"],zhuǎi:["跩"],"bèng pián":["跰"],"tiào táo":["跳"],"shū chōu":["跾"],"liàng liáng":["踉"],"tà tā":["踏"],chǎ:["蹅","鑔","镲"],"dí zhí":["蹢"],"dēng dèng":["蹬","鐙","镫"],cèng:["蹭"],"dūn cún":["蹲"],"juě jué":["蹶"],liāo:["蹽"],"xiè sǎ":["躠"],tǐ:["躰","軆","骵"],"yà zhá gá":["轧","軋"],"xìn xiàn":["軐"],"fàn guǐ":["軓"],"zhuàn zhuǎn":["転"],"zhóu zhòu":["軸","轴"],bú:["轐","醭","鳪"],"zhuǎn zhuàn zhuǎi":["转"],"zǎi zài":["载"],"niǎn zhǎn":["辗"],"biān bian":["边"],"dào biān":["辺"],"yǐ yí":["迆","迤","迱"],"guò guo guō":["过"],"wàng kuāng":["迋"],"hái huán":["还"],"zhè zhèi":["这"],"yuǎn yuàn":["远"],"zhì lì":["迣"],"zhù wǎng":["迬"],"zhuī duī":["追"],"shì kuò":["适"],tòu:["透"],"tōng tòng":["通"],guàng:["逛"],"dǎi dài":["逮"],"suì suí":["遂"],"tí dì":["遆"],"yí wèi":["遗"],"shì dí zhé":["適"],cà:["遪"],"huán hái":["還"],"lí chí":["邌"],"kàng háng":["邟"],"nà nèi nā":["那"],"xié yá yé yú xú":["邪"],"gāi hái":["郂"],"huán xún":["郇"],"chī xī":["郗"],hǎo:["郝"],"lì zhí":["郦"],"xiáo ǎo":["郩"],"dōu dū":["都"],liǎo:["曢","鄝","镽"],"zàn cuán cuó":["酂","酇"],"dīng dǐng":["酊"],"cù zuò":["酢"],"fā pō":["酦"],"shāi shī":["酾"],niàng:["酿","醸"],"qiú chōu":["醔"],"pō fā":["醗","醱"],"chǎn chěn":["醦"],"yàn liǎn xiān":["醶"],"niàng niáng":["釀"],"lǐ li":["里"],"lí xǐ xī":["釐"],"liǎo liào":["釕"],"dīng dìng":["釘","钉"],"qiǎo jiǎo":["釥"],"yú huá":["釪"],"huá wū":["釫"],"rì rèn jiàn":["釰","釼"],"dì dài":["釱"],"pī zhāo":["釽"],"yá yé":["釾"],"bǎ pá":["鈀","钯"],"tā tuó":["鉈","铊"],běi:["鉳"],"bǐng píng":["鉼"],"hā kē":["鉿","铪"],chòng:["銃","铳"],"xiǎng jiōng":["銄"],"yù sì":["銉"],"xù huì":["銊"],"rén rěn":["銋"],"shàn shuò":["銏"],"chì lì":["銐"],"xiǎn xǐ":["銑","铣"],"hóu xiàng":["銗"],"diào tiáo yáo":["銚"],"xiān kuò tiǎn guā":["銛","銽","铦"],"zhé niè":["銸"],"zhōng yōng":["銿"],"tōu tù dòu":["鋀"],"méi méng":["鋂"],"wàn jiǎn":["鋄","鎫"],"tǐng dìng":["鋌","铤"],"juān jiān cuān":["鋑"],"sī tuó":["鋖"],"juān xuān juàn":["鋗"],"wú huá wū":["鋘"],"zhuó chuò":["鋜"],"xíng xìng jīng":["鋞"],"jū jú":["鋦","锔"],"zuì niè":["鋷"],"yuān yuǎn wǎn wān":["鋺"],"gāng gàng":["鋼","钢"],zhuī:["錐","锥","騅","骓","鵻"],ā:["錒","锕"],"cuō chā":["鎈"],"suǒ sè":["鎍"],"yáo zú":["鎐"],"yè tà gé":["鎑"],"qiāng chēng":["鎗"],"gé lì":["鎘","镉","鬲"],"bī pī bì":["鎞"],"gǎo hào":["鎬"],"zú chuò":["鏃"],"xiū xiù":["鏅"],"shòu sōu":["鏉"],"dí dī":["鏑","镝"],"qiāo sǎn càn":["鏒"],"lù áo":["鏕"],"tāng táng":["鏜"],"jiàn zàn":["鏩"],"huì suì ruì":["鏸"],"qiǎng qiāng":["鏹","镪"],"sǎn xiàn sà":["鏾"],"jiǎn jiàn":["鐧","锏"],"dāng chēng":["鐺","铛"],"zuān zuàn":["鑽"],"sà xì":["钑"],"yào yuè":["钥"],"tǒu dǒu":["钭"],"zuàn zuān":["钻"],"qiān yán":["铅"],"pí pī":["铍"],"yáo diào tiáo":["铫"],"tāng tàng":["铴"],"pù pū":["铺"],"tán xiān":["锬"],"liù liú":["镏"],"hào gǎo":["镐"],"táng tāng":["镗"],"tán chán xín":["镡"],"huò shǎn":["閄"],"hàn bì":["閈","闬"],"kāng kàng":["閌","闶"],"xián jiàn jiān jiǎn":["閒"],"xiā xiǎ":["閕"],"xiǎ kě":["閜"],"biàn guān":["閞"],"hé gé":["閤","颌"],"hòng xiàng":["閧"],"sē xī":["閪"],"tíng tǐng":["閮"],"è yān":["閼","阏"],"hòng juǎn xiàng":["闂"],"bǎn pàn":["闆"],"dū shé":["闍","阇"],"què quē":["闕"],"tāng táng chāng":["闛"],"kàn hǎn":["闞","阚"],"xì sè tà":["闟"],"mēn mèn":["闷"],"quē què":["阙"],"yán diàn":["阽"],"ā ē":["阿"],"bēi pō pí":["陂"],"yàn yǎn":["隁"],"yú yáo shù":["隃"],"lóng lōng":["隆"],"duì zhuì":["隊"],"suí duò":["隋"],"gāi qí ái":["隑"],"huī duò":["隓","隳"],"wěi kuí":["隗"],"lì dài":["隸"],"zhuī cuī wéi":["隹"],"hè hú":["隺","鶮"],"jùn juàn":["隽","雋"],"nán nàn nuó":["难"],"què qiāo qiǎo":["雀"],"guàn huán":["雚"],"guī xī":["雟"],"sè xí":["雭"],án:["雸"],"wù méng":["雺"],tèng:["霯"],"lù lòu":["露"],mái:["霾"],"jìng liàng":["靚"],"gé jí":["革"],bǎ:["靶"],"yāng yàng":["鞅"],"gé tà sǎ":["鞈"],"biān yìng":["鞕"],"qiào shāo":["鞘"],"juān xuān":["鞙"],"shàng zhǎng":["鞝"],"pí bǐng bì bēi":["鞞"],la:["鞡"],"xiè dié":["鞢"],ēng:["鞥"],"móu mù":["鞪"],"bì bǐng":["鞸"],"mèi wà":["韎"],rǒu:["韖"],"shè xiè":["韘"],"yùn wēn":["韫"],"dùn dú":["頓","顿"],duǐ:["頧"],luō:["頱"],"bīn pín":["頻"],yóng:["顒","颙","鰫"],mān:["顢","颟"],"jǐng gěng":["颈"],"jié xié jiá":["颉"],"kē ké":["颏"],"pín bīn":["频"],"chàn zhàn":["颤"],"fēng fěng":["風","风"],"biāo diū":["颩"],"bá fú":["颰"],"sāo sōu":["颾"],"liù liáo":["飂"],"shí sì yì":["食"],"yǎng juàn":["飬"],"zhù tǒu":["飳"],"yí sì":["飴"],"zuò zé zhā":["飵"],tiè:["飻","餮"],"xiǎng náng":["饟"],"táng xíng":["饧"],"gē le":["饹"],"chā zha":["馇"],"náng nǎng":["馕"],"yūn wò":["馧"],"zhī shì":["馶"],"xìn jìn":["馸"],"kuài jué":["駃"],zǎng:["駔","驵"],"tái dài":["駘"],"xún xuān":["駨"],"liáng láng":["駺"],piàn:["騗","騙","骗","魸"],"dài tái":["骀"],"sāo sǎo":["骚"],"gǔ gū":["骨"],"bèi mó":["骳"],"xiāo qiāo":["骹"],"bǎng pǎng":["髈"],"bó jué":["髉"],"bì pǒ":["髲"],"máo méng":["髳"],"kuò yuè":["髺"],"bā bà":["魞","鲃"],"jì cǐ":["鮆"],"bó bà":["鮊"],"zhǎ zhà":["鮓","鲊"],"chóu dài":["鮘"],"luò gé":["鮥"],"guī xié wā kuí":["鮭"],"xiān xiǎn":["鮮","鲜"],"pū bū":["鯆"],"yì sī":["鯣"],"bà bó":["鲌"],"guī xié":["鲑"],"sāi xǐ":["鳃"],"niǎo diǎo":["鳥"],"diāo zhāo":["鳭"],"gān hàn yàn":["鳱"],"fū guī":["鳺"],"jiān qiān zhān":["鳽"],"hé jiè":["鶡"],"piān biǎn":["鶣"],"chuàn zhì":["鶨"],"cāng qiāng":["鶬"],"sǔn xùn":["鶽"],"biāo páo":["麃"],"zhù cū":["麆"],"jūn qún":["麇","麕"],chi:["麶"],"mó me":["麼"],"mó me ma":["麽"],"mí mǒ":["麿"],"dàn shèn":["黮"],"zhěn yān":["黰"],"dǎn zhǎn":["黵"],"miǎn mǐn měng":["黾"],hōu:["齁"],nàng:["齉"],"qí jì zī zhāi":["齐"],"yín kěn yǎn":["龂"],"yín kěn":["龈"],"gōng wò":["龏"],"guī jūn qiū":["龜","龟"],"kuí wā":["䖯"],lōu:["䁖"],"ōu qū":["\uD86E\uDF5F"],"lóu lǘ":["\uD859\uDF7C"],"gǎ gā gá":["嘎"],"wā guà":["坬"],"zhǐ dǐ":["茋"],"gǒng hóng":["硔"],"yáo xiào":["滧"]},T5=new yK;Object.keys(f_0).forEach(($)=>{let Y=f_0[$];for(let U of Y)T5.set(U,$)})});var vl,r54;var u_0=m(()=>{v9();vl=new yK,r54=new yK});var AT,b_0;var hl=m(()=>{a$();v9();AT={南宫:"nán gōng",第五:"dì wǔ",万俟:"mò qí",司马:"sī mǎ",上官:"shàng guān",欧阳:"ōu yáng",夏侯:"xià hóu",诸葛:"zhū gě",闻人:"wén rén",东方:"dōng fāng",赫连:"hè lián",皇甫:"huáng fǔ",尉迟:"yù chí",公羊:"gōng yáng",澹台:"tán tái",公冶:"gōng yě",宗政:"zōng zhèng",濮阳:"pú yáng",淳于:"chún yú",太叔:"tài shū",申屠:"shēn tú",公孙:"gōng sūn",仲孙:"zhòng sūn",轩辕:"xuān yuán",令狐:"líng hú",钟离:"zhōng lí",宇文:"yǔ wén",长孙:"zhǎng sūn",慕容:"mù róng",鲜于:"xiān yú",闾丘:"lǘ qiū",司徒:"sī tú",司空:"sī kōng",亓官:"qí guān",司寇:"sī kòu",仉督:"zhǎng dū",子车:"zǐ jū",颛孙:"zhuān sūn",端木:"duān mù",巫马:"wū mǎ",公西:"gōng xī",漆雕:"qī diāo",乐正:"yuè zhèng",壤驷:"rǎng sì",公良:"gōng liáng",拓跋:"tuò bá",夹谷:"jiá gǔ",宰父:"zǎi fǔ",榖梁:"gǔ liáng",段干:"duàn gān",百里:"bǎi lǐ",东郭:"dōng guō",南门:"nán mén",呼延:"hū yán",羊舌:"yáng shé",梁丘:"liáng qiū",左丘:"zuǒ qiū",东门:"dōng mén",西门:"xī mén",句龙:"gōu lóng",毌丘:"guàn qiū",赵:"zhào",钱:"qián",孙:"sūn",李:"lǐ",周:"zhōu",吴:"wú",郑:"zhèng",王:"wáng",冯:"féng",陈:"chén",褚:"chǔ",卫:"wèi",蒋:"jiǎng",沈:"shěn",韩:"hán",杨:"yáng",朱:"zhū",秦:"qín",尤:"yóu",许:"xǔ",何:"hé",吕:"lǚ",施:"shī",张:"zhāng",孔:"kǒng",曹:"cáo",严:"yán",华:"huà",金:"jīn",魏:"wèi",陶:"táo",姜:"jiāng",戚:"qī",谢:"xiè",邹:"zōu",喻:"yù",柏:"bǎi",水:"shuǐ",窦:"dòu",章:"zhāng",云:"yún",苏:"sū",潘:"pān",葛:"gě",奚:"xī",范:"fàn",彭:"péng",郎:"láng",鲁:"lǔ",韦:"wéi",昌:"chāng",马:"mǎ",苗:"miáo",凤:"fèng",花:"huā",方:"fāng",俞:"yú",任:"rén",袁:"yuán",柳:"liǔ",酆:"fēng",鲍:"bào",史:"shǐ",唐:"táng",费:"fèi",廉:"lián",岑:"cén",薛:"xuē",雷:"léi",贺:"hè",倪:"ní",汤:"tāng",滕:"téng",殷:"yīn",罗:"luó",毕:"bì",郝:"hǎo",邬:"wū",安:"ān",常:"cháng",乐:"yuè",于:"yú",时:"shí",傅:"fù",皮:"pí",卞:"biàn",齐:"qí",康:"kāng",伍:"wǔ",余:"yú",元:"yuán",卜:"bǔ",顾:"gù",孟:"mèng",平:"píng",黄:"huáng",和:"hé",穆:"mù",萧:"xiāo",尹:"yǐn",姚:"yáo",邵:"shào",湛:"zhàn",汪:"wāng",祁:"qí",毛:"máo",禹:"yǔ",狄:"dí",米:"mǐ",贝:"bèi",明:"míng",臧:"zāng",计:"jì",伏:"fú",成:"chéng",戴:"dài",谈:"tán",宋:"sòng",茅:"máo",庞:"páng",熊:"xióng",纪:"jǐ",舒:"shū",屈:"qū",项:"xiàng",祝:"zhù",董:"dǒng",梁:"liáng",杜:"dù",阮:"ruǎn",蓝:"lán",闵:"mǐn",席:"xí",季:"jì",麻:"má",强:"qiáng",贾:"jiǎ",路:"lù",娄:"lóu",危:"wēi",江:"jiāng",童:"tóng",颜:"yán",郭:"guō",梅:"méi",盛:"shèng",林:"lín",刁:"diāo",钟:"zhōng",徐:"xú",邱:"qiū",骆:"luò",高:"gāo",夏:"xià",蔡:"cài",田:"tián",樊:"fán",胡:"hú",凌:"líng",霍:"huò",虞:"yú",万:"wàn",支:"zhī",柯:"kē",昝:"zǎn",管:"guǎn",卢:"lú",莫:"mò",经:"jīng",房:"fáng",裘:"qiú",缪:"miào",干:"gān",解:"xiè",应:"yīng",宗:"zōng",丁:"dīng",宣:"xuān",贲:"bēn",邓:"dèng",郁:"yù",单:"shàn",杭:"háng",洪:"hóng",包:"bāo",诸:"zhū",左:"zuǒ",石:"shí",崔:"cuī",吉:"jí",钮:"niǔ",龚:"gōng",程:"chéng",嵇:"jī",邢:"xíng",滑:"huá",裴:"péi",陆:"lù",荣:"róng",翁:"wēng",荀:"xún",羊:"yáng",於:"yū",惠:"huì",甄:"zhēn",曲:"qū",家:"jiā",封:"fēng",芮:"ruì",羿:"yì",储:"chǔ",靳:"jìn",汲:"jí",邴:"bǐng",糜:"mí",松:"sōng",井:"jǐng",段:"duàn",富:"fù",巫:"wū",乌:"wū",焦:"jiāo",巴:"bā",弓:"gōng",牧:"mù",隗:"wěi",山:"shān",谷:"gǔ",车:"chē",侯:"hóu",宓:"mì",蓬:"péng",全:"quán",郗:"xī",班:"bān",仰:"yǎng",秋:"qiū",仲:"zhòng",伊:"yī",宫:"gōng",宁:"nìng",仇:"qiú",栾:"luán",暴:"bào",甘:"gān",钭:"tǒu",厉:"lì",戎:"róng",祖:"zǔ",武:"wǔ",符:"fú",刘:"liú",景:"jǐng",詹:"zhān",束:"shù",龙:"lóng",叶:"yè",幸:"xìng",司:"sī",韶:"sháo",郜:"gào",黎:"lí",蓟:"jì",薄:"bó",印:"yìn",宿:"sù",白:"bái",怀:"huái",蒲:"pú",邰:"tái",从:"cóng",鄂:"è",索:"suǒ",咸:"xián",籍:"jí",赖:"lài",卓:"zhuó",蔺:"lìn",屠:"tú",蒙:"méng",池:"chí",乔:"qiáo",阴:"yīn",鬱:"yù",胥:"xū",能:"nài",苍:"cāng",双:"shuāng",闻:"wén",莘:"shēn",党:"dǎng",翟:"zhái",谭:"tán",贡:"gòng",劳:"láo",逄:"páng",姬:"jī",申:"shēn",扶:"fú",堵:"dǔ",冉:"rǎn",宰:"zǎi",郦:"lì",雍:"yōng",郤:"xì",璩:"qú",桑:"sāng",桂:"guì",濮:"pú",牛:"niú",寿:"shòu",通:"tōng",边:"biān",扈:"hù",燕:"yān",冀:"jì",郏:"jiá",浦:"pǔ",尚:"shàng",农:"nóng",温:"wēn",别:"bié",庄:"zhuāng",晏:"yàn",柴:"chái",瞿:"qú",阎:"yán",充:"chōng",慕:"mù",连:"lián",茹:"rú",习:"xí",宦:"huàn",艾:"ài",鱼:"yú",容:"róng",向:"xiàng",古:"gǔ",易:"yì",慎:"shèn",戈:"gē",廖:"liào",庾:"yǔ",终:"zhōng",暨:"jì",居:"jū",衡:"héng",步:"bù",都:"dū",耿:"gěng",满:"mǎn",弘:"hóng",匡:"kuāng",国:"guó",文:"wén",寇:"kòu",广:"guǎng",禄:"lù",阙:"quē",东:"dōng",欧:"ōu",殳:"shū",沃:"wò",利:"lì",蔚:"wèi",越:"yuè",夔:"kuí",隆:"lóng",师:"shī",巩:"gǒng",厍:"shè",聂:"niè",晁:"cháo",勾:"gōu",敖:"áo",融:"róng",冷:"lěng",訾:"zī",辛:"xīn",阚:"kàn",那:"nā",简:"jiǎn",饶:"ráo",空:"kōng",曾:"zēng",母:"mǔ",沙:"shā",乜:"niè",养:"yǎng",鞠:"jū",须:"xū",丰:"fēng",巢:"cháo",关:"guān",蒯:"kuǎi",相:"xiàng",查:"zhā",后:"hòu",荆:"jīng",红:"hóng",游:"yóu",竺:"zhú",权:"quán",逯:"lù",盖:"gě",益:"yì",桓:"huán",公:"gōng",牟:"móu",哈:"hǎ",言:"yán",福:"fú",肖:"xiāo",区:"ōu",覃:"qín",朴:"piáo",繁:"pó",员:"yùn",句:"gōu",要:"yāo",过:"guō",钻:"zuān",谌:"chén",折:"shé",召:"shào",郄:"qiè",撒:"sǎ",甯:"nìng",六:"lù",啜:"chuài",行:"xíng"},b_0=Object.keys(AT).map(($)=>({zh:$,pinyin:AT[$],probability:1+r2($),length:r2($),priority:r4.Surname,dict:Symbol("surname")}))});var kK=($,Y="off")=>{let U=T5.get($)?T5.get($).split(" "):[];if(vl.get($))U=vl.get($).split(" ");else if(Y!=="off"){let z=AT[$];if(z)U=[z].concat(U.filter((Q)=>Q!==z))}return U};var BT=m(()=>{DT();u_0();hl()});var i_0,c_0;var n_0=m(()=>{a$();i_0={这个:"zhè ge",成为:"chéng wéi",认为:"rèn wéi",作为:"zuò wéi",部分:"bù fen",要求:"yāo qiú",应该:"yīng gāi",增长:"zēng zhǎng",提供:"tí gōng",觉得:"jué de",任务:"rèn wu",那个:"nà ge",称为:"chēng wéi",为主:"wéi zhǔ",了解:"liǎo jiě",处理:"chǔ lǐ",皇上:"huáng shang",只要:"zhǐ yào",大量:"dà liàng",力量:"lì liàng",几乎:"jī hū",干部:"gàn bù",目的:"mù dì",行为:"xíng wéi",只见:"zhǐ jiàn",认识:"rèn shi",市长:"shì zhǎng",师父:"shī fu",调查:"diào chá",重新:"chóng xīn",分为:"fēn wéi",知识:"zhī shi",导弹:"dǎo dàn",质量:"zhì liàng",行款:"háng kuǎn",行列:"háng liè",行话:"háng huà",行业:"háng yè",隔行:"gé háng",在行:"zài háng",行家:"háng jia",内行:"nèi háng",外行:"wài háng",同行:"tóng háng",本行:"běn háng",行伍:"háng wǔ",洋行:"yáng háng",银行:"yín háng",商行:"shāng háng",支行:"zhī háng",总行:"zǒng háng",行情:"háng qíng",懂行:"dǒng háng",行规:"háng guī",行当:"háng dang",行货:"háng huò",太行:"tài háng",入行:"rù háng",中行:"zhōng háng",农行:"nóng háng",工行:"gōng háng",建行:"jiàn háng",各行:"gè háng",行号:"háng hào",行高:"háng gāo",行首:"háng shǒu",行尾:"háng wěi",行末:"háng mò",行长:"háng zhǎng",行距:"háng jù",换行:"huàn háng",行会:"háng huì",行辈:"háng bèi",行道:"háng dào",道行:"dào heng",参与:"cān yù",充分:"chōng fèn",尽管:"jǐn guǎn",生长:"shēng zhǎng",数量:"shù liàng",应当:"yīng dāng",院长:"yuàn zhǎng",强调:"qiáng diào",只能:"zhǐ néng",音乐:"yīn yuè",以为:"yǐ wéi",处于:"chǔ yú",部长:"bù zhǎng",蒙古:"měng gǔ",只有:"zhǐ yǒu",适当:"shì dàng",只好:"zhǐ hǎo",成长:"chéng zhǎng",高兴:"gāo xìng",不了:"bù liǎo",产量:"chǎn liàng",胖子:"pàng zi",显得:"xiǎn de",只是:"zhǐ shì",似的:"shì de",率领:"shuài lǐng",改为:"gǎi wéi",不禁:"bù jīn",成分:"chéng fèn",答应:"dā ying",少年:"shào nián",兴趣:"xìng qù",太监:"tài jian",休息:"xiū xi",校长:"xiào zhǎng",更新:"gēng xīn",合同:"hé tong",喝道:"hè dào",重庆:"chóng qìng",重建:"chóng jiàn",使得:"shǐ de",审查:"shěn chá",累计:"lěi jì",给予:"jǐ yǔ",极为:"jí wéi",冠军:"guàn jūn",仿佛:"fǎng fú",头发:"tóu fa",投降:"tóu xiáng",家长:"jiā zhǎng",仔细:"zǐ xì",要是:"yào shi",将领:"jiàng lǐng",含量:"hán liàng",更为:"gèng wéi",积累:"jī lěi",地处:"dì chǔ",县长:"xiàn zhǎng",少女:"shào nǚ",路上:"lù shang",只怕:"zhǐ pà",能量:"néng liàng",储量:"chǔ liàng",供应:"gōng yìng",挑战:"tiǎo zhàn",西藏:"xī zàng",记得:"jì de",总量:"zǒng liàng",当真:"dàng zhēn",将士:"jiàng shì",差别:"chā bié",较为:"jiào wéi",长老:"zhǎng lǎo",大夫:"dài fu",差异:"chā yì",懂得:"dǒng de",尽量:"jǐn liàng",模样:"mú yàng",的确:"dí què",为首:"wéi shǒu",便宜:"pián yi",更名:"gēng míng",石头:"shí tou",州长:"zhōu zhǎng",为止:"wéi zhǐ",漂亮:"piào liang",炮弹:"pào dàn",藏族:"zàng zú",角色:"jué sè",当作:"dàng zuò",尽快:"jǐn kuài",人为:"rén wéi",重复:"chóng fù",胡同:"hú tòng",差距:"chā jù",弟兄:"dì xiong",大将:"dà jiàng",睡觉:"shuì jiào",一觉:"yí jiào",团长:"tuán zhǎng",队长:"duì zhǎng",区长:"qū zhǎng",难得:"nán dé",丫头:"yā tou",会长:"huì zhǎng",弟弟:"dì di",王爷:"wáng ye",重量:"zhòng liàng",誉为:"yù wéi",家伙:"jiā huo",华山:"huà shān",椅子:"yǐ zi",流量:"liú liàng",长大:"zhǎng dà",勉强:"miǎn qiǎng",会计:"kuài jì",过分:"guò fèn",济南:"jǐ nán",调动:"diào dòng",燕京:"yān jīng",少将:"shào jiàng",中毒:"zhòng dú",晓得:"xiǎo de",变更:"biàn gēng",打更:"dǎ gēng",认得:"rèn de",苹果:"píng guǒ",念头:"niàn tou",挣扎:"zhēng zhá",三藏:"sān zàng",剥削:"bō xuē",丞相:"chéng xiàng",少量:"shǎo liàng",寻思:"xún si",夺得:"duó dé",干线:"gàn xiàn",呼吁:"hū yù",处罚:"chǔ fá",长官:"zhǎng guān",柏林:"bó lín",亲戚:"qīn qi",身分:"shēn fèn",胳膊:"gē bo",着手:"zhuó shǒu",炸弹:"zhà dàn",咳嗽:"ké sou",叶子:"yè zi",外长:"wài zhǎng",供给:"gōng jǐ",师长:"shī zhǎng",变量:"biàn liàng",应有:"yīng yǒu",下载:"xià zài",乐器:"yuè qì",间接:"jiàn jiē",底下:"dǐ xià",打扮:"dǎ bàn",子弹:"zǐ dàn",弹药:"dàn yào",热量:"rè liàng",削弱:"xuē ruò",骨干:"gǔ gàn",容量:"róng liàng",模糊:"mó hu",转动:"zhuàn dòng",称呼:"chēng hu",科长:"kē zhǎng",处置:"chǔ zhì",着重:"zhuó zhòng",着急:"zháo jí",强迫:"qiǎng pò",庭长:"tíng zhǎng",首相:"shǒu xiàng",喇嘛:"lǎ ma",镇长:"zhèn zhǎng",只管:"zhǐ guǎn",重重:"chóng chóng",免得:"miǎn de",着实:"zhuó shí",度假:"dù jià",真相:"zhēn xiàng",相貌:"xiàng mào",处分:"chǔ fèn",委屈:"wěi qu",为期:"wéi qī",伯伯:"bó bo",伯子:"bǎi zi",圈子:"quān zi",见识:"jiàn shi",笼罩:"lǒng zhào",与会:"yù huì",都督:"dū du",都市:"dū shì",成都:"chéng dū",首都:"shǒu dū",帝都:"dì dū",王都:"wáng dū",东都:"dōng dū",都护:"dū hù",都城:"dū chéng",建都:"jiàn dū",迁都:"qiān dū",故都:"gù dū",定都:"dìng dū",中都:"zhōng dū",六安:"lù ān",宰相:"zǎi xiàng",较量:"jiào liàng",对称:"duì chèn",总长:"zǒng zhǎng",相公:"xiàng gong",空白:"kòng bái",打量:"dǎ liang",水分:"shuǐ fèn",舌头:"shé tou",没收:"mò shōu",行李:"xíng li",判处:"pàn chǔ",散文:"sǎn wén",处境:"chǔ jìng",孙子:"sūn zi",拳头:"quán tou",打发:"dǎ fā",组长:"zǔ zhǎng",骨头:"gǔ tou",宁可:"nìng kě",更换:"gēng huàn",薄弱:"bó ruò",还原:"huán yuán",重修:"chóng xiū",重来:"chóng lái",只顾:"zhǐ gù",爱好:"ài hào",馒头:"mán tou",军长:"jūn zhǎng",首长:"shǒu zhǎng",厂长:"chǎng zhǎng",司长:"sī zhǎng",长子:"zhǎng zǐ",强劲:"qiáng jìng",恰当:"qià dàng",头儿:"tóu er",站长:"zhàn zhǎng",折腾:"zhē teng",相处:"xiāng chǔ",统率:"tǒng shuài",中将:"zhōng jiàng",命中:"mìng zhòng",名将:"míng jiàng",木头:"mù tou",动弹:"dòng tan",地壳:"dì qiào",干活:"gàn huó",少爷:"shào ye",水量:"shuǐ liàng",补给:"bǔ jǐ",尾巴:"wěi ba",来得:"lái de",好奇:"hào qí",钥匙:"yào shi",当做:"dàng zuò",沉着:"chén zhuó",哑巴:"yǎ ba",车子:"chē zi",上将:"shàng jiàng",恶心:"ě xīn",担子:"dàn zi",应届:"yīng jiè",主角:"zhǔ jué",运转:"yùn zhuǎn",兄长:"xiōng zhǎng",格式:"gé shì",正月:"zhēng yuè",营长:"yíng zhǎng",当成:"dàng chéng",女婿:"nǚ xu",咽喉:"yān hóu",重阳:"chóng yáng",化为:"huà wéi",吐蕃:"tǔ bō",钻进:"zuān jìn",乐队:"yuè duì",亮相:"liàng xiàng",被子:"bèi zi",舍得:"shě de",杉木:"shā mù",击中:"jī zhòng",排长:"pái zhǎng",假期:"jià qī",分量:"fèn liàng",数次:"shù cì",提防:"dī fáng",吆喝:"yāo he",查处:"chá chǔ",量子:"liàng zǐ",里头:"lǐ tou",调研:"diào yán",伺候:"cì hou",重申:"chóng shēn",枕头:"zhěn tou",拚命:"pīn mìng",社长:"shè zhǎng",归还:"guī huán",批量:"pī liàng",畜牧:"xù mù",点着:"diǎn zháo",甚为:"shèn wéi",小将:"xiǎo jiàng",着眼:"zhuó yǎn",处死:"chǔ sǐ",厌恶:"yàn wù",鼓乐:"gǔ yuè",树干:"shù gàn",秘鲁:"bì lǔ",大方:"dà fāng",外头:"wài tou",班长:"bān zhǎng",星宿:"xīng xiù",宁愿:"nìng yuàn",钦差:"qīn chāi",为数:"wéi shù",勾当:"gòu dàng",削减:"xuē jiǎn",间谍:"jiàn dié",埋怨:"mán yuàn",结实:"jiē shi",计量:"jì liáng",淹没:"yān mò",村长:"cūn zhǎng",连长:"lián zhǎng",自给:"zì jǐ",武将:"wǔ jiàng",温差:"wēn chā",直奔:"zhí bèn",供求:"gōng qiú",剂量:"jì liàng",道长:"dào zhǎng",泄露:"xiè lòu",王八:"wáng ba",切割:"qiē gē",间隔:"jiàn gé",一晃:"yì huǎng",长假:"cháng jià",令狐:"líng hú",为害:"wéi hài",句子:"jù zi",偿还:"cháng huán",疙瘩:"gē da",燕山:"yān shān",堵塞:"dǔ sè",夺冠:"duó guàn",扎实:"zhā shi",电荷:"diàn hè",看守:"kān shǒu",复辟:"fù bì",郁闷:"yù mèn",尽早:"jǐn zǎo",切断:"qiē duàn",指头:"zhǐ tou",为生:"wéi shēng",畜生:"chù sheng",切除:"qiē chú",着力:"zhuó lì",着想:"zhuó xiǎng",级差:"jí chā",投奔:"tóu bèn",棍子:"gùn zi",含糊:"hán hu",少妇:"shào fù",兴致:"xìng zhì",纳闷:"nà mèn",干流:"gàn liú",卷起:"juǎn qǐ",扇子:"shàn zi",更改:"gēng gǎi",笼络:"lǒng luò",喇叭:"lǎ ba",载荷:"zài hè",妥当:"tuǒ dàng",为难:"wéi nán",着陆:"zhuó lù",燕子:"yàn zi",干吗:"gàn má",白发:"bái fà",总得:"zǒng děi",夹击:"jiā jī",曝光:"bào guāng",曲调:"qǔ diào",相机:"xiàng jī",叫化:"jiào huà",角逐:"jué zhú",啊哟:"ā yō",载重:"zài zhòng",长辈:"zhǎng bèi",出差:"chū chāi",垛口:"duǒ kǒu",撇开:"piē kāi",厅长:"tīng zhǎng",组分:"zǔ fèn",误差:"wù chā",家当:"jiā dàng",传记:"zhuàn jì",个子:"gè zi",铺设:"pū shè",干事:"gàn shì",杆菌:"gǎn jūn",定量:"dìng liàng",运载:"yùn zài",会儿:"huì er",酋长:"qiú zhǎng",重返:"chóng fǎn",差额:"chā é",露面:"lòu miàn",钻研:"zuān yán",大城:"dài chéng",上当:"shàng dàng",销量:"xiāo liàng",作坊:"zuō fang",照相:"zhào xiàng",哎呀:"āi yā",调集:"diào jí",看中:"kàn zhòng",议长:"yì zhǎng",风筝:"fēng zheng",辟邪:"bì xié",空隙:"kòng xì",更迭:"gēng dié",偏差:"piān chā",声调:"shēng diào",适量:"shì liàng",屯子:"tún zi",无量:"wú liàng",空地:"kòng dì",调度:"diào dù",散射:"sǎn shè",创伤:"chuāng shāng",海参:"hǎi shēn",满载:"mǎn zài",重叠:"chóng dié",落差:"luò chā",单调:"dān diào",老将:"lǎo jiàng",人参:"rén shēn",间断:"jiàn duàn",重现:"chóng xiàn",夹杂:"jiā zá",调用:"diào yòng",萝卜:"luó bo",附着:"fù zhuó",应声:"yìng shēng",主将:"zhǔ jiàng",罪过:"zuì guo",咀嚼:"jǔ jué",为政:"wéi zhèng",过量:"guò liàng",乐曲:"yuè qǔ",负荷:"fù hè",枪弹:"qiāng dàn",悄然:"qiǎo rán",处方:"chǔ fāng",悄声:"qiǎo shēng",曲子:"qǔ zi",情调:"qíng diào",挑衅:"tiǎo xìn",代为:"dài wéi",了结:"liǎo jié",打中:"dǎ zhòng",酒吧:"jiǔ bā",懒得:"lǎn de",增量:"zēng liàng",衣着:"yī zhuó",部将:"bù jiàng",要塞:"yào sài",茶几:"chá jī",杠杆:"gàng gǎn",出没:"chū mò",鲜有:"xiǎn yǒu",间隙:"jiàn xì",重担:"zhòng dàn",重演:"chóng yǎn",重试:"chóng shì",应酬:"yìng chou",只当:"zhǐ dāng",毋宁:"wú nìng",包扎:"bāo zā",前头:"qián tou",卷烟:"juǎn yān",非得:"fēi děi",弹道:"dàn dào",杆子:"gān zi",门将:"mén jiàng",后头:"hòu tou",喝彩:"hè cǎi",暖和:"nuǎn huo",累积:"lěi jī",调遣:"diào qiǎn",倔强:"jué jiàng",宝藏:"bǎo zàng",丧事:"sāng shì",约莫:"yuē mo",纤夫:"qiàn fū",更替:"gēng tì",装载:"zhuāng zài",背包:"bēi bāo",帖子:"tiě zi",松散:"sōng sǎn",呼喝:"hū hè",可恶:"kě wù",自转:"zì zhuàn",供电:"gōng diàn",反省:"fǎn xǐng",坦率:"tǎn shuài",苏打:"sū dá",本分:"běn fèn",落得:"luò de",鄙薄:"bǐ bó",相间:"xiāng jiàn",单薄:"dān bó",混蛋:"hún dàn",贞观:"zhēn guān",附和:"fù hè",能耐:"néng nài",吓唬:"xià hu",未了:"wèi liǎo",引着:"yǐn zháo",抽调:"chōu diào",沙子:"shā zi",席卷:"xí juǎn",标的:"biāo dì",别扭:"biè niu",思量:"sī liang",喝采:"hè cǎi",论语:"lún yǔ",盖子:"gài zi",分外:"fèn wài",弄堂:"lòng táng",乐舞:"yuè wǔ",雨量:"yǔ liàng",毛发:"máo fà",差遣:"chāi qiǎn",背负:"bēi fù",转速:"zhuàn sù",声乐:"shēng yuè",夹攻:"jiā gōng",供水:"gōng shuǐ",主干:"zhǔ gàn",惩处:"chéng chǔ",长相:"zhǎng xiàng",公差:"gōng chāi",榴弹:"liú dàn",省得:"shěng de",条子:"tiáo zi",重围:"chóng wéi",阻塞:"zǔ sè",劲风:"jìng fēng",纠葛:"jiū gé",颠簸:"diān bǒ",点中:"diǎn zhòng",重创:"zhòng chuāng",姥姥:"lǎo lao",迷糊:"mí hu",公家:"gōng jia",几率:"jī lǜ",苦闷:"kǔ mèn",度量:"dù liàng",差错:"chā cuò",暑假:"shǔ jià",参差:"cēn cī",搭载:"dā zài",助长:"zhù zhǎng",相称:"xiāng chèn",红晕:"hóng yùn",舍命:"shě mìng",喜好:"xǐ hào",列传:"liè zhuàn",劲敌:"jìng dí",蛤蟆:"há ma",请假:"qǐng jià",钉子:"dīng zi",沉没:"chén mò",高丽:"gāo lí",休假:"xiū jià",无为:"wú wéi",巴结:"bā jie",了得:"liǎo dé",变相:"biàn xiàng",核弹:"hé dàn",亲家:"qìng jia",承载:"chéng zài",喝问:"hè wèn",还击:"huán jī",交还:"jiāo huán",将令:"jiàng lìng",单于:"chán yú",空缺:"kòng quē",绿林:"lù lín",胆量:"dǎn liàng",执着:"zhí zhuó",低调:"dī diào",闭塞:"bì sè",轻薄:"qīng bó",得当:"dé dàng",占卜:"zhān bǔ",扫帚:"sào zhou",龟兹:"qiū cí",年长:"nián zhǎng",外传:"wài zhuàn",头子:"tóu zi",裁缝:"cái feng",礼乐:"lǐ yuè",血泊:"xuè pō",散乱:"sǎn luàn",动量:"dòng liàng",倒腾:"dǎo teng",取舍:"qǔ shě",咱家:"zán jiā",长发:"cháng fà",爪哇:"zhǎo wā",弹壳:"dàn ké",省悟:"xǐng wù",嚷嚷:"rāng rang",连累:"lián lèi",应得:"yīng dé",族长:"zú zhǎng",柜子:"guì zi",擂鼓:"léi gǔ",眩晕:"xuàn yùn",调配:"tiáo pèi",躯干:"qū gàn",差役:"chāi yì",坎坷:"kǎn kě",少儿:"shào ér",乐团:"yuè tuán",养分:"yǎng fèn",退还:"tuì huán",格调:"gé diào",语调:"yǔ diào",音调:"yīn diào",乐府:"yuè fǔ",古朴:"gǔ pǔ",打点:"dǎ diǎn",差使:"chāi shǐ",匀称:"yún chèn",瘦削:"shòu xuē",膏药:"gāo yao",吞没:"tūn mò",调任:"diào rèn",散居:"sǎn jū",上头:"shàng tóu",风靡:"fēng mǐ",放假:"fàng jià",估量:"gū liang",失当:"shī dàng",中弹:"zhòng dàn",妄为:"wàng wéi",长者:"zhǎng zhě",起哄:"qǐ hòng",末了:"mò liǎo",相声:"xiàng sheng",校正:"jiào zhèng",劝降:"quàn xiáng",矢量:"shǐ liàng",沉闷:"chén mèn",给与:"jǐ yǔ",解法:"jiě fǎ",塞外:"sài wài",将校:"jiàng xiào",嗜好:"shì hào",没落:"mò luò",朴刀:"pō dāo",片子:"piān zi",切削:"qiē xiāo",弹丸:"dàn wán",稀薄:"xī bó",亏得:"kuī dé",间歇:"jiàn xiē",翘首:"qiáo shǒu",色调:"sè diào",处决:"chǔ jué",表率:"biǎo shuài",尺子:"chǐ zi",招降:"zhāo xiáng",称职:"chèn zhí",斗篷:"dǒu peng",铺子:"pù zi",底子:"dǐ zi",负载:"fù zài",干警:"gàn jǐng",倒数:"dào shǔ",将官:"jiàng guān",锄头:"chú tou",归降:"guī xiáng",疟疾:"nüè ji",唠叨:"láo dao",限量:"xiàn liàng",屏息:"bǐng xī",重逢:"chóng féng",器乐:"qì yuè",氢弹:"qīng dàn",脖颈:"bó gěng",妃子:"fēi zi",处事:"chǔ shì",参量:"cān liàng",轻率:"qīng shuài",缥缈:"piāo miǎo",中奖:"zhòng jiǎng",才干:"cái gàn",施舍:"shī shě",卷子:"juàn zi",游说:"yóu shuì",巷子:"xiàng zi",膀胱:"páng guāng",切勿:"qiè wù",看管:"kān guǎn",风头:"fēng tou",精干:"jīng gàn",高差:"gāo chā",恐吓:"kǒng hè",扁担:"biǎn dàn",给养:"jǐ yǎng",格子:"gé zi",供需:"gōng xū",反差:"fǎn chā",飞弹:"fēi dàn",微薄:"wēi bó",发型:"fà xíng",即兴:"jí xìng",攒动:"cuán dòng",间或:"jiàn huò",浅薄:"qiǎn bó",乐章:"yuè zhāng",顺差:"shùn chā",调子:"diào zi",相位:"xiàng wèi",转子:"zhuàn zǐ",劲旅:"jìng lǚ",咔嚓:"kā chā",了事:"liǎo shì",转悠:"zhuàn you",当铺:"dàng pù",爪子:"zhuǎ zi",单子:"dān zi",好战:"hào zhàn",燕麦:"yàn mài",只许:"zhǐ xǔ",干练:"gàn liàn",女将:"nǚ jiàng",酒量:"jiǔ liàng",划船:"huá chuán",伎俩:"jì liǎng",挑拨:"tiǎo bō",少校:"shào xiào",着落:"zhuó luò",憎恶:"zēng wù",刻薄:"kè bó",要挟:"yāo xié",用处:"yòng chu",还手:"huán shǒu",模具:"mú jù",执著:"zhí zhuó",喝令:"hè lìng",保长:"bǎo zhǎng",吸着:"xī zhe",症结:"zhēng jié",公转:"gōng zhuàn",校勘:"jiào kān",重提:"chóng tí",扫兴:"sǎo xìng",铺盖:"pū gài",长史:"zhǎng shǐ",差价:"chā jià",压根:"yà gēn",怔住:"zhèng zhù",应允:"yīng yǔn",切入:"qiē rù",战将:"zhàn jiàng",年少:"nián shào",舍身:"shě shēn",执拗:"zhí niù",处世:"chǔ shì",中风:"zhòng fēng",等量:"děng liàng",放量:"fàng liàng",腔调:"qiāng diào",老少:"lǎo shào",没入:"mò rù",瓜葛:"guā gé",将帅:"jiàng shuài",车载:"chē zài",窝囊:"wō nang",长进:"zhǎng jìn",可汗:"kè hán",并州:"bīng zhōu",供销:"gōng xiāo",切片:"qiē piàn",差事:"chāi shì",知会:"zhī hui",鹰爪:"yīng zhǎo",处女:"chǔ nǚ",切磋:"qiē cuō",日头:"rì tou",押解:"yā jiè",滋长:"zī zhǎng",道观:"dào guàn",脚色:"jué sè",当量:"dāng liàng",婆家:"pó jia",缘分:"yuán fèn",空闲:"kòng xián",好色:"hào sè",怒喝:"nù hè",笼统:"lǒng tǒng",边塞:"biān sài",何曾:"hé céng",重合:"chóng hé",零散:"líng sǎn",轰隆:"hōng lōng",化子:"huà zi",内蒙:"nèi měng",数落:"shǔ luò",逆差:"nì chā",牟利:"móu lì",栅栏:"zhà lan",中标:"zhòng biāo",调档:"diào dàng",佝偻:"gōu lóu",场子:"chǎng zi",甲壳:"jiǎ qiào",重温:"chóng wēn",炮制:"páo zhì",返还:"fǎn huán",自传:"zì zhuàn",高调:"gāo diào",殷红:"yān hóng",固着:"gù zhuó",强求:"qiǎng qiú",本相:"běn xiàng",骄横:"jiāo hèng",草率:"cǎo shuài",气闷:"qì mèn",着色:"zhuó sè",宁肯:"nìng kěn",兴头:"xìng tou",拘泥:"jū nì",夹角:"jiā jiǎo",发髻:"fà jì",猛将:"měng jiàng",约摸:"yuē mo",拖累:"tuō lěi",呢绒:"ní róng",钻探:"zuān tàn",夹层:"jiā céng",落魄:"luò pò",巷道:"hàng dào",运量:"yùn liàng",解闷:"jiě mèn",空儿:"kòng er",估摸:"gū mo",好客:"hào kè",钻孔:"zuān kǒng",糊弄:"hù nòng",荥阳:"xíng yáng",烦闷:"fán mèn",仓卒:"cāng cù",分叉:"fēn chà",厂子:"chǎng zi",小调:"xiǎo diào",少阳:"shào yáng",受降:"shòu xiáng",染坊:"rǎn fáng",胳臂:"gē bei",将门:"jiàng mén",模板:"mú bǎn",配给:"pèi jǐ",为伍:"wéi wǔ",跟头:"gēn tou",划算:"huá suàn",累赘:"léi zhui",哄笑:"hōng xiào",晕眩:"yūn xuàn",干掉:"gàn diào",缝制:"féng zhì",难处:"nán chù",着意:"zhuó yì",蛮横:"mán hèng",奇数:"jī shù",短发:"duǎn fà",生还:"shēng huán",还清:"huán qīng",看护:"kān hù",直率:"zhí shuài",奏乐:"zòu yuè",载客:"zài kè",专横:"zhuān hèng",湮没:"yān mò",空格:"kòng gé",铺垫:"pū diàn",良将:"liáng jiàng",哗啦:"huā lā",散漫:"sǎn màn",脱发:"tuō fà",送还:"sòng huán",埋没:"mái mò",累及:"lěi jí",薄雾:"bó wù",调离:"diào lí",舌苔:"shé tāi",机长:"jī zhǎng",栓塞:"shuān sè",配角:"pèi jué",切口:"qiē kǒu",创口:"chuāng kǒu",哈欠:"hā qian",实弹:"shí dàn",铺平:"pū píng",哈达:"hǎ dá",懒散:"lǎn sǎn",实干:"shí gàn",填空:"tián kòng",刁钻:"diāo zuān",乐师:"yuè shī",量变:"liàng biàn",诱降:"yòu xiáng",搪塞:"táng sè",征调:"zhēng diào",夹道:"jiā dào",干咳:"gān ké",止咳:"zhǐ ké",乐工:"yuè gōng",划过:"huá guò",着火:"zháo huǒ",更正:"gēng zhèng",给付:"jǐ fù",空子:"kòng zi",哪吒:"né zhā",正着:"zhèng zháo",刷子:"shuā zi",丧葬:"sāng zàng",夹带:"jiā dài",安分:"ān fèn",中意:"zhòng yì",长孙:"zhǎng sūn",校订:"jiào dìng",卷曲:"juǎn qū",载运:"zài yùn",投弹:"tóu dàn",柞蚕:"zuò cán",份量:"fèn liàng",调换:"diào huàn",了然:"liǎo rán",咧嘴:"liě zuǐ",典当:"diǎn dàng",寒假:"hán jià",长兄:"zhǎng xiōng",给水:"jǐ shuǐ",须发:"xū fà",枝干:"zhī gàn",属相:"shǔ xiàng",哄抢:"hōng qiǎng",刻划:"kè huà",塞子:"sāi zi",单干:"dān gàn",还乡:"huán xiāng",兆头:"zhào tou",寺观:"sì guàn",督率:"dū shuài",啊哈:"ā ha",割舍:"gē shě",抹布:"mā bù",好恶:"hào wù",下处:"xià chǔ",消长:"xiāo zhǎng",离间:"lí jiàn",准头:"zhǔn tou",校对:"jiào duì",什物:"shí wù",番禺:"pān yú",佛爷:"fó ye",吗啡:"mǎ fēi",盐分:"yán fèn",虎将:"hǔ jiàng",薄荷:"bò he",独处:"dú chǔ",空位:"kòng wèi",铺路:"pū lù",乌拉:"wū lā",调回:"diào huí",来头:"lái tou",闲散:"xián sǎn",胶卷:"jiāo juǎn",冒失:"mào shi",干劲:"gàn jìn",弦乐:"xián yuè",相国:"xiàng guó",丹参:"dān shēn",助兴:"zhù xìng",铺开:"pū kāi",次长:"cì zhǎng",发卡:"fà qiǎ",拮据:"jié jū",刹车:"shā chē",生发:"shēng fà",重播:"chóng bō",缝合:"féng hé",音量:"yīn liàng",少尉:"shào wèi",冲压:"chòng yā",苍劲:"cāng jìng",厚薄:"hòu báo",威吓:"wēi hè",外相:"wài xiàng",呼号:"hū háo",着迷:"zháo mí",挑担:"tiāo dàn",纹路:"wén lù",还俗:"huán sú",强横:"qiáng hèng",着数:"zhāo shù",降顺:"xiáng shùn",挑明:"tiǎo míng",眯缝:"mī feng",分内:"fèn nèi",更衣:"gēng yī",软和:"ruǎn huo",尽兴:"jìn xìng",号子:"hào zi",爪牙:"zhǎo yá",败将:"bài jiàng",猜中:"cāi zhòng",结扎:"jié zā",没空:"méi kòng",夹缝:"jiā fèng",拾掇:"shí duo",掺和:"chān huo",簸箕:"bò ji",电量:"diàn liàng",荷载:"hè zǎi",调式:"diào shì",处身:"chǔ shēn",打手:"dǎ shǒu",弹弓:"dàn gōng",横蛮:"hèng mán",能干:"néng gàn",校点:"jiào diǎn",加载:"jiā zài",干校:"gàn xiào",哄传:"hōng chuán",校注:"jiào zhù",淤塞:"yū sè",马扎:"mǎ zhá",月氏:"yuè zhī",高干:"gāo gàn",经传:"jīng zhuàn",曾孙:"zēng sūn",好斗:"hào dòu",关卡:"guān qiǎ",逃奔:"táo bèn",磨蹭:"mó ceng",牟取:"móu qǔ",颤栗:"zhàn lì",蚂蚱:"mà zha",撮合:"cuō he",趔趄:"liè qie",摔打:"shuāi dǎ",台子:"tái zi",分得:"fēn de",粘着:"nián zhuó",采邑:"cài yì",散装:"sǎn zhuāng",婀娜:"ē nuó",兴味:"xìng wèi",行头:"xíng tou",气量:"qì liàng",调运:"diào yùn",处治:"chǔ zhì",乐音:"yuè yīn",充塞:"chōng sè",恫吓:"dòng hè",论调:"lùn diào",相中:"xiāng zhòng",民乐:"mín yuè",炮仗:"pào zhang",丧服:"sāng fú",骁将:"xiāo jiàng",量刑:"liàng xíng",缝补:"féng bǔ",财会:"cái kuài",大干:"dà gàn",历数:"lì shǔ",校场:"jiào chǎng",塞北:"sài běi",识相:"shí xiàng",辱没:"rǔ mò",鲜亮:"xiān liàng",语塞:"yǔ sè",露脸:"lòu liǎn",凉快:"liáng kuai",腰杆:"yāo gǎn",溜达:"liū da",嘎嘎:"gā gā",公干:"gōng gàn",桔梗:"jié gěng",挑逗:"tiǎo dòu",看门:"kān mén",乐歌:"yuè gē",拓片:"tà piàn",挑动:"tiǎo dòng",准将:"zhǔn jiàng",遒劲:"qiú jìng",磨坊:"mò fáng",逶迤:"wēi yí",搅和:"jiǎo huo",摩挲:"mó suō",作弄:"zuò nòng",苗头:"miáo tou",打颤:"dǎ zhàn",大藏:"dà zàng",畜牲:"chù shēng",勾搭:"gōu da",树荫:"shù yīn",树杈:"shù chà",铁杆:"tiě gǎn",将相:"jiàng xiàng",份子:"fèn zi",视差:"shì chā",绿荫:"lǜ yīn",枪杆:"qiāng gǎn",缝纫:"féng rèn",愁闷:"chóu mèn",点将:"diǎn jiàng",华佗:"huà tuó",劲射:"jìng shè",箱笼:"xiāng lǒng",终了:"zhōng liǎo",鬓发:"bìn fà",结巴:"jiē ba",苦干:"kǔ gàn",看家:"kān jiā",正旦:"zhēng dàn",中肯:"zhòng kěn",厦门:"xià mén",东莞:"dōng guǎn",食量:"shí liàng",宫调:"gōng diào",间作:"jiàn zuò",弹片:"dàn piàn",差池:"chā chí",漂白:"piǎo bái",杠子:"gàng zi",调处:"tiáo chǔ",好动:"hào dòng",转炉:"zhuàn lú",屏气:"bǐng qì",夹板:"jiā bǎn",哀乐:"āi yuè",干道:"gàn dào",苦处:"kǔ chù",劈柴:"pǐ chái",长势:"zhǎng shì",天华:"tiān huá",共处:"gòng chǔ",校验:"jiào yàn",出塞:"chū sài",磨盘:"mò pán",萎靡:"wěi mǐ",奔丧:"bēn sāng",唱和:"chàng hè",大调:"dà diào",非分:"fēi fèn",钻营:"zuān yíng",夹子:"jiā zi",超载:"chāo zài",更始:"gēng shǐ",铃铛:"líng dang",披散:"pī sàn",发还:"fā huán",转轮:"zhuàn lún",横财:"hèng cái",泡桐:"pāo tóng",抛撒:"pāo sǎ",天呀:"tiān yā",糊糊:"hū hu",躯壳:"qū qiào",通量:"tōng liàng",奉还:"fèng huán",午觉:"wǔ jiào",闷棍:"mèn gùn",浪头:"làng tou",砚台:"yàn tái",油坊:"yóu fáng",学长:"xué zhǎng",过载:"guò zài",笔调:"bǐ diào",衣被:"yī bèi",畜产:"xù chǎn",调阅:"diào yuè",蛮干:"mán gàn",曾祖:"zēng zǔ",提干:"tí gàn",变调:"biàn diào",覆没:"fù mò",模子:"mú zi",乐律:"yuè lǜ",称心:"chèn xīn",木杆:"mù gān",重印:"chóng yìn",自省:"zì xǐng",提调:"tí diào",看相:"kàn xiàng",芋头:"yù tou",下切:"xià qiē",塞上:"sài shàng",铺张:"pū zhāng",藤蔓:"téng wàn",薄幸:"bó xìng",解数:"xiè shù",褪去:"tuì qù",霰弹:"xiàn dàn",柚木:"yóu mù",痕量:"hén liàng",雅乐:"yǎ yuè",号哭:"háo kū",诈降:"zhà xiáng",猪圈:"zhū juàn",咋舌:"zé shé",铣床:"xǐ chuáng",防弹:"fáng dàn",健将:"jiàn jiàng",丽水:"lí shuǐ",削发:"xuē fà",空当:"kòng dāng",多相:"duō xiàng",鲜见:"xiǎn jiàn",划桨:"huá jiǎng",载波:"zài bō",跳蚤:"tiào zao",俏皮:"qiào pí",吧嗒:"bā dā",结发:"jié fà",了断:"liǎo duàn",同调:"tóng diào",石磨:"shí mò",时差:"shí chā",鼻塞:"bí sè",挑子:"tiāo zi",推磨:"tuī mò",武侯:"wǔ hóu",抹煞:"mǒ shā",调转:"diào zhuǎn",籍没:"jí mò",还债:"huán zhài",调演:"diào yǎn",分划:"fēn huá",奇偶:"jī ǒu",断喝:"duàn hè",闷雷:"mèn léi",狼藉:"láng jí",饭量:"fàn liàng",还礼:"huán lǐ",转调:"zhuǎn diào",星相:"xīng xiàng",手相:"shǒu xiàng",配乐:"pèi yuè",盖头:"gài tou",连杆:"lián gǎn",簿记:"bù jì",刀把:"dāo bà",量词:"liàng cí",名角:"míng jué",步调:"bù diào",校本:"jiào běn",账簿:"zhàng bù",隽永:"juàn yǒng",稍为:"shāo wéi",易传:"yì zhuàn",乐谱:"yuè pǔ",牵累:"qiān lěi",答理:"dā li",喝斥:"hè chì",吟哦:"yín é",干渠:"gàn qú",海量:"hǎi liàng",精当:"jīng dàng",着床:"zhuó chuáng",月相:"yuè xiàng",庶几:"shù jī",宫观:"gōng guàn",论处:"lùn chǔ",征辟:"zhēng bì",厚朴:"hòu pò",介壳:"jiè qiào",吭哧:"kēng chī",咯血:"kǎ xiě",铺陈:"pū chén",重生:"chóng shēng",乐理:"yuè lǐ",哀号:"āi háo",藏历:"zàng lì",刚劲:"gāng jìng",削平:"xuē píng",浓荫:"nóng yīn",城垛:"chéng duǒ",当差:"dāng chāi",正传:"zhèng zhuàn",并处:"bìng chǔ",创面:"chuāng miàn",旦角:"dàn jué",薄礼:"bó lǐ",晃荡:"huàng dang",臊子:"sào zi",家什:"jiā shí",闷头:"mēn tóu",美发:"měi fà",度数:"dù shu",着凉:"zháo liáng",闯将:"chuǎng jiàng",几案:"jī àn",姘头:"pīn tou",差数:"chā shù",散碎:"sǎn suì",壅塞:"yōng sè",寒颤:"hán zhàn",牵强:"qiān qiǎng",无间:"wú jiàn",轮转:"lún zhuàn",号叫:"háo jiào",铺排:"pū pái",降伏:"xiáng fú",轧钢:"zhá gāng",东阿:"dōng ē",病假:"bìng jià",累加:"lěi jiā",梗塞:"gěng sè",弹夹:"dàn jiā",钻心:"zuān xīn",晃眼:"huǎng yǎn",魔爪:"mó zhǎo",标量:"biāo liàng",憋闷:"biē mèn",猜度:"cāi duó",处士:"chǔ shì",官差:"guān chāi",讨还:"tǎo huán",长门:"cháng mén",馏分:"liú fēn",里弄:"lǐ lòng",色相:"sè xiàng",雅兴:"yǎ xìng",角力:"jué lì",弹坑:"dàn kēng",枝杈:"zhī chà",夹具:"jiā jù",处刑:"chǔ xíng",悍将:"hàn jiàng",好学:"hào xué",好好:"hǎo hǎo",银发:"yín fà",扫把:"sào bǎ",法相:"fǎ xiàng",贵干:"guì gàn",供气:"gōng qì",空余:"kòng yú",捆扎:"kǔn zā",瘠薄:"jí bó",浆糊:"jiàng hu",嘎吱:"gā zhī",调令:"diào lìng",法帖:"fǎ tiè",淋病:"lìn bìng",调派:"diào pài",转盘:"zhuàn pán",供稿:"gōng gǎo",差官:"chāi guān",忧闷:"yōu mèn",教长:"jiào zhǎng",重唱:"chóng chàng",酒兴:"jiǔ xìng",乐坛:"yuè tán",花呢:"huā ní",叱喝:"chì hè",膀臂:"bǎng bì",得空:"dé kòng",转圈:"zhuàn quān",横暴:"hèng bào",哄抬:"hōng tái",引吭:"yǐn háng",载货:"zài huò",中计:"zhòng jì",官长:"guān zhǎng",相面:"xiàng miàn",看头:"kàn tou",盼头:"pàn tou",意兴:"yì xìng",军乐:"jūn yuè",累次:"lěi cì",骨嘟:"gǔ dū",燕赵:"yān zhào",报丧:"bào sāng",弥撒:"mí sa",挨斗:"ái dòu",扁舟:"piān zhōu",丑角:"chǒu jué",吊丧:"diào sāng",强将:"qiáng jiàng",重奏:"chóng zòu",发辫:"fà biàn",着魔:"zháo mó",着法:"zhāo fǎ",盛放:"shèng fàng",填塞:"tián sè",凶横:"xiōng hèng",稽首:"qǐ shǒu",碑帖:"bēi tiè",冲量:"chōng liàng",发菜:"fà cài",假发:"jiǎ fà",翻卷:"fān juǎn",小量:"xiǎo liàng",胶着:"jiāo zhuó",里子:"lǐ zi",调调:"diào diao",散兵:"sǎn bīng",高挑:"gāo tiǎo",播撒:"bō sǎ",夹心:"jiā xīn",扇动:"shān dòng",叨扰:"tāo rǎo",霓裳:"ní cháng",捻子:"niǎn zi",弥缝:"mí féng",撒布:"sǎ bù",场院:"cháng yuàn",省亲:"xǐng qīn",提拉:"tí lā",惯量:"guàn liàng",强逼:"qiáng bī",强征:"qiáng zhēng",晕车:"yùn chē",数道:"shù dào",带累:"dài lèi",拓本:"tà běn",嫌恶:"xián wù",宿将:"sù jiàng",龟裂:"jūn liè",缠夹:"chán jiā",发式:"fà shì",隔扇:"gé shàn",天分:"tiān fèn",癖好:"pǐ hào",四通:"sì tōng",白术:"bái zhú",划伤:"huá shāng",角斗:"jué dòu",听差:"tīng chāi",岁差:"suì chā",丧礼:"sāng lǐ",脉脉:"mò mò",削瘦:"xuē shòu",撒播:"sǎ bō",莎草:"suō cǎo",犍为:"qián wéi",调头:"diào tóu",龙卷:"lóng juǎn",外调:"wài diào",字帖:"zì tiè",卷发:"juǎn fà",揣度:"chuǎi duó",洋相:"yáng xiàng",散光:"sǎn guāng",骨碌:"gū lu",薄命:"bó mìng",笼头:"lóng tóu",咽炎:"yān yán",碌碡:"liù zhou",片儿:"piàn er",纤手:"qiàn shǒu",散体:"sǎn tǐ",内省:"nèi xǐng",强留:"qiáng liú",解送:"jiè sòng",反间:"fǎn jiàn",少壮:"shào zhuàng",留空:"liú kōng",告假:"gào jià",咳血:"ké xuè",薄暮:"bó mù",铺轨:"pū guǐ",磨削:"mó xuē",治丧:"zhì sāng",叉子:"chā zi",哄动:"hōng dòng",蛾子:"é zi",出落:"chū luò",股长:"gǔ zhǎng",贵处:"guì chù",还魂:"huán hún",例假:"lì jià",刹住:"shā zhù",身量:"shēn liàng",同好:"tóng hào",模量:"mó liàng",更生:"gēng shēng",服丧:"fú sāng",率直:"shuài zhí",字模:"zì mú",散架:"sǎn jià",答腔:"dā qiāng",交恶:"jiāo wù",薄情:"bó qíng",眼泡:"yǎn pāo",袅娜:"niǎo nuó",草垛:"cǎo duò",冲劲:"chòng jìn",呢喃:"ní nán",切中:"qiè zhòng",挑灯:"tiǎo dēng",还愿:"huán yuàn",激将:"jī jiàng",更鼓:"gēng gǔ",没药:"mò yào",败兴:"bài xìng",切面:"qiē miàn",散户:"sǎn hù",累进:"lěi jìn",背带:"bēi dài",秤杆:"chèng gǎn",碾坊:"niǎn fáng",簿子:"bù zi",扳手:"bān shǒu",铅山:"yán shān",儒将:"rú jiàng",重光:"chóng guāng",剪发:"jiǎn fà",长上:"zhǎng shàng",小传:"xiǎo zhuàn",压轴:"yā zhòu",弱冠:"ruò guàn",花卷:"huā juǎn",横祸:"hèng huò",夹克:"jiā kè",光晕:"guāng yùn",披靡:"pī mǐ",对调:"duì diào",夹持:"jiā chí",空额:"kòng é",平调:"píng diào",铺床:"pū chuáng",丧钟:"sāng zhōng",作乐:"zuò lè",少府:"shào fǔ",数数:"shuò shuò",奔头:"bèn tou",进给:"jìn jǐ",率性:"shuài xìng",乐子:"lè zi",绑扎:"bǎng zā",挑唆:"tiǎo suō",漂洗:"piǎo xǐ",夹墙:"jiā qiáng",咳喘:"ké chuǎn",乜斜:"miē xie",错处:"cuò chù",闷酒:"mèn jiǔ",时调:"shí diào",重孙:"chóng sūn",经幢:"jīng chuáng",圩场:"xū chǎng",调门:"diào mén",花头:"huā tóu",划拉:"huá la",套色:"tào shǎi",粗率:"cū shuài",相率:"xiāng shuài",款识:"kuǎn zhì",吁请:"yù qǐng",荫蔽:"yīn bì",文蛤:"wén gé",嘀嗒:"dī dā",调取:"diào qǔ",交差:"jiāo chāi",落子:"luò zǐ",相册:"xiàng cè",絮叨:"xù dao",落发:"luò fà",异相:"yì xiàng",浸没:"jìn mò",角抵:"jué dǐ",卸载:"xiè zài",春卷:"chūn juǎn",扎挣:"zhá zheng",畜养:"xù yǎng",吡咯:"bǐ luò",垛子:"duò zi",恶少:"è shào",发际:"fà jì",红苕:"hóng sháo",糨糊:"jiàng hu",哭丧:"kū sāng",稍息:"shào xī",晕船:"yùn chuán",校样:"jiào yàng",外差:"wài chā",脚爪:"jiǎo zhǎo",铺展:"pū zhǎn",芫荽:"yán sui",夹紧:"jiā jǐn",尿泡:"suī pào",丧乱:"sāng luàn",凶相:"xiōng xiàng",华发:"huá fà",打场:"dǎ cháng",云量:"yún liàng",正切:"zhèng qiē",划拳:"huá quán",划艇:"huá tǐng",评传:"píng zhuàn",拉纤:"lā qiàn",句读:"jù dòu",散剂:"sǎn jì",骨殖:"gǔ shi",塞音:"sè yīn",铺叙:"pū xù",阏氏:"yān zhī",冷颤:"lěng zhàn",煞住:"shā zhù",少男:"shào nán",管乐:"guǎn yuè",号啕:"háo táo",纳降:"nà xiáng",拥塞:"yōng sè",万乘:"wàn shèng",杆儿:"gǎn ér",葛藤:"gé téng",簿籍:"bù jí",皮夹:"pí jiā",校准:"jiào zhǔn",允当:"yǔn dàng",器量:"qì liàng",选调:"xuǎn diào",扮相:"bàn xiàng",干才:"gàn cái",基干:"jī gàn",割切:"gē qiē",国乐:"guó yuè",卡壳:"qiǎ ké",辟谷:"bì gǔ",磨房:"mò fáng",咿呀:"yī yā",芥末:"jiè mo",薄技:"bó jì",产假:"chǎn jià",诗兴:"shī xìng",重出:"chóng chū",转椅:"zhuàn yǐ",酌量:"zhuó liang",簿册:"bù cè",藏青:"zàng qīng",的士:"dī shì",调人:"diào rén",解元:"jiè yuán",茎干:"jīng gàn",巨量:"jù liàng",榔头:"láng tou",率真:"shuài zhēn",喷香:"pèn xiāng",锁钥:"suǒ yuè",虾蟆:"há má",相图:"xiàng tú",兴会:"xìng huì",灶头:"zào tóu",重婚:"chóng hūn",钻洞:"zuān dòng",忖度:"cǔn duó",党参:"dǎng shēn",调温:"diào wēn",杆塔:"gān tǎ",葛布:"gé bù",拱券:"gǒng xuàn",夹生:"jiā shēng",露馅:"lòu xiàn",恰切:"qià qiè",散见:"sǎn jiàn",哨卡:"shào qiǎ",烫发:"tàng fà",体量:"tǐ liàng",挺括:"tǐng kuò",系带:"jì dài",相士:"xiàng shì",羊圈:"yáng juàn",转矩:"zhuàn jǔ",吧台:"bā tái",苍术:"cāng zhú",菲薄:"fěi bó",蛤蚧:"gé jiè",蛤蜊:"gé lí",瓜蔓:"guā wàn",怪相:"guài xiàng",临帖:"lín tiè",女红:"nǚ gōng",刨床:"bào chuáng",翘楚:"qiáo chǔ",数九:"shǔ jiǔ",谈兴:"tán xìng",雄劲:"xióng jìng",扎染:"zā rǎn",遮荫:"zhē yīn",周正:"zhōu zhèng",赚头:"zhuàn tou",扒手:"pá shǒu",搀和:"chān huo",诚朴:"chéng pǔ",肚量:"dù liàng",干结:"gān jié",工尺:"gōng chě",家累:"jiā lěi",曲水:"qū shuǐ",沙参:"shā shēn",挑花:"tiǎo huā",阿门:"ā mén",背篓:"bēi lǒu",瘪三:"biē sān",裁处:"cái chǔ",创痛:"chuāng tòng",福相:"fú xiàng",更动:"gēng dòng",豪兴:"háo xìng",还阳:"huán yáng",还嘴:"huán zuǐ",借调:"jiè diào",卷云:"juǎn yún",流弹:"liú dàn",想头:"xiǎng tou",削价:"xuē jià",校阅:"jiào yuè",雅量:"yǎ liàng",别传:"bié zhuàn",薄酒:"bó jiǔ",春假:"chūn jià",发妻:"fà qī",哗哗:"huā huā",宽绰:"kuān chuo",了悟:"liǎo wù",切花:"qiē huā",审度:"shěn duó",应许:"yīng xǔ",转台:"zhuàn tái",仔猪:"zǐ zhū",裁量:"cái liáng",藏戏:"zàng xì",乘兴:"chéng xìng",绸缪:"chóu móu",摧折:"cuī zhé",调经:"tiáo jīng",调职:"diào zhí",缝缀:"féng zhuì",骨朵:"gū duǒ",核儿:"hú er",恒量:"héng liàng",还价:"huán jià",浑朴:"hún pǔ",苦差:"kǔ chāi",面糊:"miàn hù",煞车:"shā chē",省视:"xǐng shì",什锦:"shí jǐn",信差:"xìn chāi",余切:"yú qiē",攒眉:"cuán méi",炸糕:"zhá gāo",钻杆:"zuàn gǎn",扒灰:"pá huī",拌和:"bàn huò",长调:"cháng diào",大溜:"dà liù",抖搂:"dǒu lōu",飞转:"fēi zhuàn",干仗:"gàn zhàng",好胜:"hào shèng",画片:"huà piàn",搅混:"jiǎo hún",螺杆:"luó gǎn",木模:"mù mú",怒号:"nù háo",频数:"pín shù",无宁:"wú níng",遗少:"yí shào",邮差:"yóu chāi",占卦:"zhān guà",占星:"zhān xīng",重审:"chóng shěn",自量:"zì liàng",调防:"diào fáng",发廊:"fà láng",反调:"fǎn diào",缝子:"fèng zi",更夫:"gēng fū",骨子:"gǔ zi",光杆:"guāng gǎn",夹棍:"jiā gùn",居丧:"jū sāng",巨贾:"jù gǔ",看押:"kān yā",空转:"kōng zhuàn",量力:"liàng lì",炮烙:"páo luò",赔还:"péi huán",扑扇:"pū shān",散记:"sǎn jì",散件:"sǎn jiàn",删削:"shān xuē",射干:"shè gàn",条几:"tiáo jī",偷空:"tōu kòng",削壁:"xuē bì",校核:"jiào hé",阴干:"yīn gān",择菜:"zhái cài",重九:"chóng jiǔ",主调:"zhǔ diào",自禁:"zì jīn",吧唧:"bā jī",便溺:"biàn niào",词调:"cí diào",叨咕:"dáo gu",落枕:"lào zhěn",铺砌:"pū qì",刷白:"shuà bái",委靡:"wěi mǐ",系泊:"xì bó",相马:"xiàng mǎ",熨帖:"yù tiē",转筋:"zhuàn jīn",棒喝:"bàng hè",傧相:"bīn xiàng",镐头:"gǎo tóu",间苗:"jiàn miáo",乐池:"yuè chí",卖相:"mài xiàng",屏弃:"bǐng qì",铅弹:"qiān dàn",切变:"qiē biàn",请调:"qǐng diào",群氓:"qún méng",散板:"sǎn bǎn",省察:"xǐng chá",事假:"shì jià",纤绳:"qiàn shéng",重影:"chóng yǐng",耕种:"gēng zhòng",种地:"zhòng dì",种菜:"zhòng cài",栽种:"zāi zhòng",接种:"jiē zhòng",垦种:"kěn zhòng",种殖:"zhòng zhí",种瓜:"zhòng guā",种豆:"zhòng dòu",种树:"zhòng shù",睡着:"shuì zháo",笼子:"lóng zi",重启:"chóng qǐ",重整:"chóng zhěng",重弹:"chóng tán",重足:"chóng zú",重山:"chóng shān",重游:"chóng yóu",重峦:"chóng luán",爷爷:"yé ye",奶奶:"nǎi nai",姥爷:"lǎo ye",爸爸:"bà ba",妈妈:"mā ma",婶婶:"shěn shen",舅舅:"jiù jiu",姑姑:"gū gu",叔叔:"shū shu",姨夫:"yí fu",舅母:"jiù mu",姑父:"gū fu",姐夫:"jiě fu",婆婆:"pó po",公公:"gōng gong",舅子:"jiù zi",姐姐:"jiě jie",哥哥:"gē ge",妹妹:"mèi mei",妹夫:"mèi fu",姨子:"yí zi",宝宝:"bǎo bao",娃娃:"wá wa",孩子:"hái zi",日子:"rì zi",样子:"yàng zi",狮子:"shī zi",身子:"shēn zi",架子:"jià zi",嫂子:"sǎo zi",鼻子:"bí zi",亭子:"tíng zi",折子:"zhé zi",面子:"miàn zi",脖子:"bó zi",辈子:"bèi zi",帽子:"mào zi",拍子:"pāi zi",柱子:"zhù zi",辫子:"biàn zi",鸽子:"gē zi",房子:"fáng zi",丸子:"wán zi",摊子:"tān zi",牌子:"pái zi",胡子:"hú zi",鬼子:"guǐ zi",矮子:"ǎi zi",鸭子:"yā zi",小子:"xiǎo zi",影子:"yǐng zi",屋子:"wū zi",对子:"duì zi",点子:"diǎn zi",本子:"běn zi",种子:"zhǒng zi",儿子:"ér zi",兔子:"tù zi",骗子:"piàn zi",院子:"yuàn zi",猴子:"hóu zi",嗓子:"sǎng zi",侄子:"zhí zi",柿子:"shì zi",钳子:"qián zi",虱子:"shī zi",瓶子:"píng zi",豹子:"bào zi",筷子:"kuài zi",篮子:"lán zi",绳子:"shéng zi",嘴巴:"zuǐ ba",耳朵:"ěr duo",茄子:"qié zi",蚌埠:"bèng bù",崆峒:"kōng tóng",琵琶:"pí pa",蘑菇:"mó gu",葫芦:"hú lu",狐狸:"hú li",桔子:"jú zi",盒子:"hé zi",桌子:"zhuō zi",竹子:"zhú zi",师傅:"shī fu",衣服:"yī fu",袜子:"wà zi",杯子:"bēi zi",刺猬:"cì wei",麦子:"mài zi",队伍:"duì wu",知了:"zhī liǎo",鱼儿:"yú er",馄饨:"hún tun",灯笼:"dēng long",庄稼:"zhuāng jia",聪明:"cōng ming",镜子:"jìng zi",银子:"yín zi",盘子:"pán zi",了却:"liǎo què",力气:"lì qi",席子:"xí zi",林子:"lín zi",朝霞:"zhāo xiá",朝夕:"zhāo xī",朝气:"zhāo qì",翅膀:"chì bǎng",省长:"shěng zhǎng",臧否:"zāng pǐ",否泰:"pǐ tài",变得:"biàn de",丈夫:"zhàng fu",豆腐:"dòu fu",笔杆:"bǐ gǎn",枞阳:"zōng yáng",行人:"xíng rén",打着:"dǎ zhe",第一:"dì yī",万一:"wàn yī",之一:"zhī yī",得之:"dé zhī",统一:"tǒng yī",唯一:"wéi yī",专一:"zhuān yī",单一:"dān yī",如一:"rú yī",其一:"qí yī",合一:"hé yī",逐一:"zhú yī",周一:"zhōu yī",初一:"chū yī",研一:"yán yī",归一:"guī yī",假一:"jiǎ yī",闻一:"wén yī",了了:"liǎo liǎo",公了:"gōng liǎo",私了:"sī liǎo",一月:"yī yuè",一号:"yī hào",一级:"yī jí",一等:"yī děng",一哥:"yī gē",月一:"yuè yī",一一:"yī yī",二一:"èr yī",三一:"sān yī",四一:"sì yī",五一:"wǔ yī",六一:"liù yī",七一:"qī yī",八一:"bā yī",九一:"jiǔ yī",一〇:"yī líng",一零:"yī líng",一二:"yī èr",一三:"yī sān",一四:"yī sì",一五:"yī wǔ",一六:"yī liù",一七:"yī qī",一八:"yī bā",一九:"yī jiǔ",一又:"yī yòu",一饼:"yī bǐng",一楼:"yī lóu",为例:"wéi lì",为准:"wéi zhǔn",沧海:"cāng hǎi",难为:"nán wéi",责难:"zé nàn",患难:"huàn nàn",磨难:"mó nàn",大难:"dà nàn",刁难:"diāo nàn",殉难:"xùn nàn",落难:"luò nàn",罹难:"lí nàn",灾难:"zāi nàn",难民:"nàn mín",苦难:"kǔ nàn",危难:"wēi nàn",发难:"fā nàn",逃难:"táo nàn",避难:"bì nàn",遇难:"yù nàn",阻难:"zǔ nàn",厄难:"è nàn",徇难:"xùn nàn",空难:"kōng nàn",喜欢:"xǐ huan",朝朝:"zhāo zhāo",不行:"bù xíng",轧轧:"yà yà",弯曲:"wān qū",扭曲:"niǔ qū",曲直:"qū zhí",委曲:"wěi qū",酒曲:"jiǔ qū",曲径:"qū jìng",曲解:"qū jiě",歪曲:"wāi qū",曲线:"qū xiàn",曲阜:"qū fù",九曲:"jiǔ qū",曲折:"qū zhé",曲肱:"qū gōng",曲意:"qū yì",仡佬:"gē lǎo"},c_0=Object.keys(i_0).map(($)=>({zh:$,pinyin:i_0[$],probability:0.00000002,length:2,priority:r4.Normal,dict:Symbol("dict2")}))});var p_0,d_0;var m_0=m(()=>{a$();p_0={为什么:"wèi shén me",实际上:"shí jì shang",检察长:"jiǎn chá zhǎng",干什么:"gàn shén me",这会儿:"zhè huì er",尽可能:"jǐn kě néng",董事长:"dǒng shì zhǎng",了不起:"liǎo bù qǐ",参谋长:"cān móu zhǎng",朝鲜族:"cháo xiǎn zú",海内外:"hǎi nèi wài",禁不住:"jīn bú zhù",柏拉图:"bó lā tú",不在乎:"bú zài hu",洛杉矶:"luò shān jī",有点儿:"yǒu diǎn er",迫击炮:"pǎi jī pào",不得了:"bù dé liǎo",马尾松:"mǎ wěi sōng",运输量:"yùn shū liàng",发脾气:"fā pí qi",士大夫:"shì dà fū",鸭绿江:"yā lù jiāng",压根儿:"yà gēn er",对得起:"duì de qǐ",那会儿:"nà huì er",自个儿:"zì gě er",物理量:"wù lǐ liàng",怎么着:"zěn me zhāo",明晃晃:"míng huǎng huǎng",节假日:"jié jià rì",心里话:"xīn lǐ huà",发行量:"fā xíng liàng",兴冲冲:"xìng chōng chōng",分子量:"fēn zǐ liàng",国子监:"guó zǐ jiàn",老大难:"lǎo dà nán",党内外:"dǎng nèi wài",这么着:"zhè me zhāo",少奶奶:"shào nǎi nai",暗地里:"àn dì lǐ",更年期:"gēng nián qī",工作量:"gōng zuò liàng",背地里:"bèi dì lǐ",山里红:"shān li hóng",好好儿:"hǎo hāo er",交响乐:"jiāo xiǎng yuè",好意思:"hǎo yì si",吐谷浑:"tǔ yù hún",没意思:"méi yì si",理发师:"lǐ fà shī",塔什干:"tǎ shí gān",充其量:"chōng qí liàng",靠得住:"kào de zhù",车行道:"chē xíng dào",人行道:"rén xíng dào",中郎将:"zhōng láng jiàng",照明弹:"zhào míng dàn",烟幕弹:"yān mù dàn",没奈何:"mò nài hé",乱哄哄:"luàn hōng hōng",惠更斯:"huì gēng sī",载重量:"zài zhòng liàng",瞧得起:"qiáo de qǐ",纪传体:"jì zhuàn tǐ",阿房宫:"ē páng gōng",卷心菜:"juǎn xīn cài",戏班子:"xì bān zi",过得去:"guò de qù",花岗石:"huā gāng shí",外甥女:"wài sheng nǚ",团团转:"tuán tuán zhuàn",大堡礁:"dà bǎo jiāo",燃烧弹:"rán shāo dàn",劳什子:"láo shí zi",摇滚乐:"yáo gǔn yuè",夹竹桃:"jiā zhú táo",闹哄哄:"nào hōng hōng",三连冠:"sān lián guàn",重头戏:"zhòng tóu xì",二人转:"èr rén zhuàn",节骨眼:"jiē gǔ yǎn",知识面:"zhī shi miàn",护士长:"hù shi zhǎng",信号弹:"xìn hào dàn",干电池:"gān diàn chí",枪杆子:"qiāng gǎn zi",哭丧棒:"kū sāng bàng",鼻咽癌:"bí yān ái",瓦岗军:"wǎ gāng jūn",买得起:"mǎi de qǐ",癞蛤蟆:"lài há ma",脊梁骨:"jǐ liang gǔ",子母弹:"zǐ mǔ dàn",开小差:"kāi xiǎo chāi",女强人:"nǚ qiáng rén",英雄传:"yīng xióng zhuàn",爵士乐:"jué shì yuè",说笑话:"shuō xiào hua",碰头会:"pèng tóu huì",玻璃钢:"bō li gāng",曳光弹:"yè guāng dàn",少林拳:"shào lín quán",咏叹调:"yǒng tàn diào",少先队:"shào xiān duì",灵长目:"líng zhǎng mù",对着干:"duì zhe gàn",蒙蒙亮:"méng méng liàng",软骨头:"ruǎn gǔ tou",铺盖卷:"pū gài juǎn",和稀泥:"huò xī ní",背黑锅:"bēi hēi guō",红彤彤:"hóng tōng tōng",武侯祠:"wǔ hóu cí",打哆嗦:"dǎ duō suo",户口簿:"hù kǒu bù",马尾藻:"mǎ wěi zǎo",夜猫子:"yè māo zi",打手势:"dǎ shǒu shì",龙王爷:"lóng wáng yé",气头上:"qì tóu shang",糊涂虫:"hú tu chóng",笔杆子:"bǐ gǎn zi",占便宜:"zhàn pián yi",打主意:"dǎ zhǔ yì",多弹头:"duō dàn tóu",露一手:"lòu yì shǒu",堰塞湖:"yàn sè hú",保得住:"bǎo de zhù",趵突泉:"bào tū quán",奥得河:"ào de hé",司务长:"sī wù zhǎng",禁不起:"jīn bù qǐ",什刹海:"shí chà hǎi",莲花落:"lián huā lào",见世面:"jiàn shì miàn",豁出去:"huō chū qù",电位差:"diàn wèi chā",挨个儿:"āi gè er",那阵儿:"nà zhèn er",肺活量:"fèi huó liàng",大师傅:"dà shī fu",掷弹筒:"zhì dàn tǒng",打呼噜:"dǎ hū lu",广渠门:"ān qú mén",未见得:"wèi jiàn dé",大婶儿:"dà shěn er",谈得来:"tán de lái",脚丫子:"jiǎo yā zi",空包弹:"kōng bāo dàn",窝里斗:"wō li dòu",弹着点:"dàn zhuó diǎn",个头儿:"gè tóu er",看得起:"kàn de qǐ",糊涂账:"hú tu zhàng",大猩猩:"dà xīng xing",禁得起:"jīn de qǐ",法相宗:"fǎ xiàng zōng",可怜相:"kě lián xiàng",吃得下:"chī de xià",汉堡包:"hàn bǎo bāo",闹嚷嚷:"nào rāng rāng",数来宝:"shǔ lái bǎo",合得来:"hé de lái",干性油:"gān xìng yóu",闷葫芦:"mèn hú lu",呱呱叫:"guā guā jiào",西洋参:"xī yáng shēn",林荫道:"lín yīn dào",拉家常:"lā jiā cháng",卷铺盖:"juǎn pū gài",过得硬:"guò de yìng",飞将军:"fēi jiāng jūn",挑大梁:"tiǎo dà liáng",哈巴狗:"hǎ ba gǒu",过家家:"guò jiā jiā",催泪弹:"cuī lèi dàn",雨夹雪:"yǔ jiā xuě",敲竹杠:"qiāo zhú gàng",列车长:"liè chē zhǎng",华达呢:"huá dá ní",犯得着:"fàn de zháo",土疙瘩:"tǔ gē da",煞风景:"shā fēng jǐng",轻量级:"qīng liàng jí",羞答答:"xiū dā dā",石子儿:"shí zǐ er",达姆弹:"dá mǔ dàn",科教片:"kē jiào piān",侃大山:"kǎn dà shān",丁点儿:"dīng diǎn er",吃得消:"chī de xiāo",捋虎须:"luō hǔ xū",高丽参:"gāo lí shēn",众生相:"zhòng shēng xiàng",咽峡炎:"yān xiá yán",禁得住:"jīn de zhù",吃得开:"chī de kāi",柞丝绸:"zuò sī chóu",应声虫:"yìng shēng chóng",数得着:"shǔ de zháo",傻劲儿:"shǎ jìn er",铅玻璃:"qiān bō li",可的松:"kě dì sōng",划得来:"huá de lái",晕乎乎:"yūn hū hū",屎壳郎:"shǐ ke làng",尥蹶子:"liào juě zi",藏红花:"zàng hóng huā",闷罐车:"mèn guàn chē",卡脖子:"qiǎ bó zi",红澄澄:"hóng deng deng",赶得及:"gǎn de jí",当间儿:"dāng jiàn er",露马脚:"lòu mǎ jiǎo",鸡内金:"jī nèi jīn",犯得上:"fàn de shàng",钉齿耙:"dīng chǐ bà",饱和点:"bǎo hé diǎn",龙爪槐:"lóng zhǎo huái",喝倒彩:"hè dào cǎi",定冠词:"dìng guàn cí",担担面:"dàn dan miàn",吃得住:"chī de zhù",爪尖儿:"zhuǎ jiān er",支着儿:"zhī zhāo er",折跟头:"zhē gēn tou",阴着儿:"yīn zhāo er",烟卷儿:"yān juǎn er",宣传弹:"xuān chuán dàn",信皮儿:"xìn pí er",弦切角:"xián qiē jiǎo",缩砂密:"sù shā mì",说得来:"shuō de lái",水漂儿:"shuǐ piāo er",耍笔杆:"shuǎ bǐ gǎn",数得上:"shǔ de shàng",数不着:"shǔ bù zháo",数不清:"shǔ bù qīng",什件儿:"shí jiàn er",生死簿:"shēng sǐ bù",扇风机:"shān fēng jī",撒呓挣:"sā yì zheng",日记簿:"rì jì bù",热得快:"rè de kuài",亲家公:"qìng jia gōng",奇函数:"jī hán shù",拍纸簿:"pāi zhǐ bù",努劲儿:"nǔ jìn er",泥娃娃:"ní wá wa",内切圆:"nèi qiē yuán",哪会儿:"nǎ huì er",闷头儿:"mēn tóu er",没谱儿:"méi pǔ er",铆劲儿:"mǎo jìn er",溜肩膀:"liū jiān bǎng",了望台:"liào wàng tái",老来少:"lǎo lái shào",坤角儿:"kūn jué er",考勤簿:"kǎo qín bù",卷笔刀:"juǎn bǐ dāo",进给量:"jìn jǐ liàng",划不来:"huá bù lái",汗褂儿:"hàn guà er",鼓囊囊:"gǔ nāng nāng",够劲儿:"gòu jìn er",公切线:"gōng qiē xiàn",搁得住:"gé de zhù",赶浪头:"gǎn làng tóu",赶得上:"gǎn de shàng",干酵母:"gān jiào mǔ",嘎渣儿:"gā zhā er",嘎嘣脆:"gā bēng cuì",对得住:"duì de zhù",逗闷子:"dòu mèn zi",顶呱呱:"dǐng guā guā",滴溜儿:"dī liù er",大轴子:"dà zhòu zi",打板子:"dǎ bǎn zi",寸劲儿:"cùn jìn er",醋劲儿:"cù jìn er",揣手儿:"chuāi shǒu er",冲劲儿:"chòng jìn er",吃得来:"chī de lái",不更事:"bù gēng shì",奔头儿:"bèn tou er",百夫长:"bǎi fū zhǎng",娃娃亲:"wá wa qīn",死劲儿:"sǐ jìn er",骨朵儿:"gū duǒ er",功劳簿:"gōng láo bù",都江堰:"dū jiāng yàn",一担水:"yí dàn shuǐ",否极泰:"pǐ jí tài",泰来否:"tài lái pǐ",咳特灵:"ké tè líng",开户行:"kāi hù háng",郦食其:"lì yì jī",花事了:"huā shì liǎo",一更更:"yì gēng gēng",一重山:"yì chóng shān",风一更:"fēng yì gēng",雪一更:"xuě yì gēng",归一码:"guī yì mǎ",星期一:"xīng qī yī",礼拜一:"lǐ bài yī",一季度:"yī jì dù",一月一:"yī yuè yī",一字马:"yī zì mǎ",一是一:"yī shì yī",一次方:"yī cì fāng",一阳指:"yī yáng zhǐ",一字决:"yī zì jué",一年级:"yī nián jí",一不做:"yī bú zuò",屈戌儿:"qū qu ér",难为水:"nán wéi shuǐ",难为情:"nán wéi qíng",行一行:"xíng yì háng",别别的:"biè bié de",干哪行:"gàn nǎ háng",干一行:"gàn yì háng",曲别针:"qū bié zhēn"},d_0=Object.keys(p_0).map(($)=>({zh:$,pinyin:p_0[$],probability:0.00000002,length:3,priority:r4.Normal,dict:Symbol("dict3")}))});var l_0,o_0;var r_0=m(()=>{a$();l_0={成吉思汗:"chéng jí sī hán",四通八达:"sì tōng bā dá",一模一样:"yì mú yí yàng",青藏高原:"qīng zàng gāo yuán",阿弥陀佛:"ē mí tuó fó",解放思想:"jiè fàng sī xiǎng",所作所为:"suǒ zuò suǒ wéi",迷迷糊糊:"mí mí hu hū",荷枪实弹:"hè qiāng shí dàn",兴高采烈:"xìng gāo cǎi liè",无能为力:"wú néng wéi lì",布鲁塞尔:"bù lǔ sài ěr",为所欲为:"wéi suǒ yù wéi",克什米尔:"kè shí mǐ ěr",没完没了:"méi wán méi liǎo",不为人知:"bù wéi rén zhī",结结巴巴:"jiē jiē bā bā",前仆后继:"qián pū hòu jì",铺天盖地:"pū tiān gài dì",直截了当:"zhí jié liǎo dàng",供不应求:"gōng bú yìng qiú",御史大夫:"yù shǐ dà fū",不为瓦全:"bù wéi wǎ quán",不可收拾:"bù kě shōu shi",胡作非为:"hú zuò fēi wéi",分毫不差:"fēn háo bú chà",模模糊糊:"mó mó hu hū",不足为奇:"bù zú wéi qí",悄无声息:"qiǎo wú shēng xī",了如指掌:"liǎo rú zhǐ zhǎng",深恶痛绝:"shēn wù tòng jué",高高兴兴:"gāo gāo xìng xìng",唉声叹气:"āi shēng tàn qì",汉藏语系:"hàn zàng yǔ xì",处心积虑:"chǔ xīn jī lǜ",泣不成声:"qì bù chéng shēng",半夜三更:"bàn yè sān gēng",失魂落魄:"shī hún luò pò",二十八宿:"èr shí bā xiù",转来转去:"zhuàn lái zhuàn qù",数以万计:"shǔ yǐ wàn jì",相依为命:"xiāng yī wéi mìng",恋恋不舍:"liàn liàn bù shě",屈指可数:"qū zhǐ kě shǔ",神出鬼没:"shén chū guǐ mò",结结实实:"jiē jiē shí shí",有的放矢:"yǒu dì fàng shǐ",叽哩咕噜:"jī lǐ gū lū",调兵遣将:"diào bīng qiǎn jiàng",载歌载舞:"zài gē zài wǔ",转危为安:"zhuǎn wēi wéi ān",踏踏实实:"tā tā shi shí",桑给巴尔:"sāng jǐ bā ěr",装模作样:"zhuāng mú zuò yàng",见义勇为:"jiàn yì yǒng wéi",相差无几:"xiāng chā wú jǐ",叹为观止:"tàn wéi guān zhǐ",闷闷不乐:"mèn mèn bú lè",喜怒哀乐:"xǐ nù āi lè",鲜为人知:"xiǎn wéi rén zhī",张牙舞爪:"zhāng yá wǔ zhǎo",为非作歹:"wéi fēi zuò dǎi",含糊其辞:"hán hú qí cí",疲于奔命:"pí yú bēn mìng",勉为其难:"miǎn wéi qí nán",依依不舍:"yī yī bù shě",顶头上司:"dǐng tóu shàng si",不着边际:"bù zhuó biān jì",大模大样:"dà mú dà yàng",寻欢作乐:"xún huān zuò lè",一走了之:"yì zǒu liǎo zhī",字里行间:"zì lǐ háng jiān",含含糊糊:"hán hán hu hū",恰如其分:"qià rú qí fèn",破涕为笑:"pò tì wéi xiào",深更半夜:"shēn gēng bàn yè",千差万别:"qiān chā wàn bié",数不胜数:"shǔ bú shèng shǔ",据为己有:"jù wéi jǐ yǒu",天旋地转:"tiān xuán dì zhuàn",养尊处优:"yǎng zūn chǔ yōu",玻璃纤维:"bō li xiān wéi",吵吵闹闹:"chāo chao nào nào",晕头转向:"yūn tóu zhuàn xiàng",土生土长:"tǔ shēng tǔ zhǎng",宁死不屈:"nìng sǐ bù qū",不省人事:"bù xǐng rén shì",尽力而为:"jìn lì ér wéi",精明强干:"jīng míng qiáng gàn",唠唠叨叨:"láo lao dāo dāo",叽叽喳喳:"jī ji zhā zhā",功不可没:"gōng bù kě mò",锲而不舍:"qiè ér bù shě",排忧解难:"pái yōu jiě nàn",稀里糊涂:"xī li hú tú",各有所长:"gè yǒu suǒ cháng",的的确确:"dí dí què què",哄堂大笑:"hōng táng dà xiào",听而不闻:"tīng ér bù wén",刀耕火种:"dāo gēng huǒ zhòng",内分泌腺:"nèi fèn mì xiàn",化险为夷:"huà xiǎn wéi yí",百发百中:"bǎi fā bǎi zhòng",重见天日:"chóng jiàn tiān rì",反败为胜:"fǎn bài wéi shèng",一了百了:"yì liǎo bǎi liǎo",大大咧咧:"dà da liē liē",心急火燎:"xīn jí huǒ liǎo",粗心大意:"cū xīn dà yi",鸡皮疙瘩:"jī pí gē da",夷为平地:"yí wéi píng dì",日积月累:"rì jī yuè lěi",设身处地:"shè shēn chǔ dì",投其所好:"tóu qí suǒ hào",间不容发:"jiān bù róng fà",人满为患:"rén mǎn wéi huàn",穷追不舍:"qióng zhuī bù shě",为时已晚:"wéi shí yǐ wǎn",如数家珍:"rú shǔ jiā zhēn",心里有数:"xīn lǐ yǒu shù",以牙还牙:"yǐ yá huán yá",神不守舍:"shén bù shǒu shě",孟什维克:"mèng shí wéi kè",各自为战:"gè zì wéi zhàn",怨声载道:"yuàn shēng zài dào",救苦救难:"jiù kǔ jiù nàn",好好先生:"hǎo hǎo xiān sheng",怪模怪样:"guài mú guài yàng",抛头露面:"pāo tóu lù miàn",游手好闲:"yóu shǒu hào xián",无所不为:"wú suǒ bù wéi",调虎离山:"diào hǔ lí shān",步步为营:"bù bù wéi yíng",好大喜功:"hào dà xǐ gōng",众矢之的:"zhòng shǐ zhī dì",长生不死:"cháng shēng bù sǐ",蔚为壮观:"wèi wéi zhuàng guān",不可胜数:"bù kě shèng shǔ",鬼使神差:"guǐ shǐ shén chāi",洁身自好:"jié shēn zì hào",敢作敢为:"gǎn zuò gǎn wéi",茅塞顿开:"máo sè dùn kāi",走马换将:"zǒu mǎ huàn jiàng",为时过早:"wéi shí guò zǎo",为人师表:"wéi rén shī biǎo",阴差阳错:"yīn chā yáng cuò",油腔滑调:"yóu qiāng huá diào",重蹈覆辙:"chóng dǎo fù zhé",骂骂咧咧:"mà ma liē liē",絮絮叨叨:"xù xù dāo dāo",如履薄冰:"rú lǚ bó bīng",损兵折将:"sǔn bīng zhé jiàng",拐弯抹角:"guǎi wān mò jiǎo",像模像样:"xiàng mú xiàng yàng",供过于求:"gōng guò yú qiú",开花结果:"kāi huā jiē guǒ",仔仔细细:"zǐ zǐ xì xì",川藏公路:"chuān zàng gōng lù",河北梆子:"hé běi bāng zi",长年累月:"cháng nián lěi yuè",正儿八经:"zhèng er bā jīng",不识抬举:"bù shí tái ju",重振旗鼓:"chóng zhèn qí gǔ",气息奄奄:"qì xī yān yān",紧追不舍:"jǐn zhuī bù shě",服服帖帖:"fú fu tiē tiē",强词夺理:"qiǎng cí duó lǐ",噼里啪啦:"pī li pā lā",人才济济:"rén cái jǐ jǐ",发人深省:"fā rén shēn xǐng",不足为凭:"bù zú wéi píng",为富不仁:"wéi fù bù rén",连篇累牍:"lián piān lěi dú",呼天抢地:"hū tiān qiāng dì",落落大方:"luò luò dà fāng",自吹自擂:"zì chuī zì léi",乐善好施:"lè shàn hào shī",以攻为守:"yǐ gōng wéi shǒu",磨磨蹭蹭:"mó mó cèng cèng",削铁如泥:"xuē tiě rú ní",助纣为虐:"zhù zhòu wéi nüè",以退为进:"yǐ tuì wéi jìn",嘁嘁喳喳:"qī qī chā chā",枪林弹雨:"qiāng lín dàn yǔ",令人发指:"lìng rén fà zhǐ",转败为胜:"zhuǎn bài wéi shèng",转弯抹角:"zhuǎn wān mò jiǎo",在劫难逃:"zài jié nán táo",正当防卫:"zhèng dàng fáng wèi",不足为怪:"bù zú wéi guài",难兄难弟:"nàn xiōng nàn dì",咿咿呀呀:"yī yī yā yā",弹尽粮绝:"dàn jìn liáng jué",阿谀奉承:"ē yú fèng chéng",稀里哗啦:"xī li huā lā",返老还童:"fǎn lǎo huán tóng",好高骛远:"hào gāo wù yuǎn",鹿死谁手:"lù sǐ shéi shǒu",差强人意:"chā qiáng rén yì",大吹大擂:"dà chuī dà léi",成家立业:"chéng jiā lì yè",自怨自艾:"zì yuàn zì yì",负债累累:"fù zhài lěi lěi",古为今用:"gǔ wéi jīn yòng",入土为安:"rù tǔ wéi ān",下不为例:"xià bù wéi lì",一哄而上:"yì hōng ér shàng",没头苍蝇:"méi tóu cāng ying",天差地远:"tiān chā dì yuǎn",风卷残云:"fēng juǎn cán yún",多灾多难:"duō zāi duō nàn",乳臭未干:"rǔ xiù wèi gān",行家里手:"háng jiā lǐ shǒu",狼狈为奸:"láng bèi wéi jiān",处变不惊:"chǔ biàn bù jīng",一唱一和:"yí chàng yí hè",一念之差:"yí niàn zhī chā",金蝉脱壳:"jīn chán tuō qiào",滴滴答答:"dī dī dā dā",硕果累累:"shuò guǒ léi léi",好整以暇:"hào zhěng yǐ xiá",红得发紫:"hóng de fā zǐ",传为美谈:"chuán wéi měi tán",富商大贾:"fù shāng dà gǔ",四海为家:"sì hǎi wéi jiā",了若指掌:"liǎo ruò zhǐ zhǎng",大有可为:"dà yǒu kě wéi",出头露面:"chū tóu lù miàn",鼓鼓囊囊:"gǔ gu nāng nāng",窗明几净:"chuāng míng jī jìng",泰然处之:"tài rán chǔ zhī",怒发冲冠:"nù fà chōng guān",有机玻璃:"yǒu jī bō li",骨头架子:"gǔ tou jià zi",义薄云天:"yì bó yún tiān",一丁点儿:"yī dīng diǎn er",时来运转:"shí lái yùn zhuǎn",陈词滥调:"chén cí làn diào",化整为零:"huà zhěng wéi líng",火烧火燎:"huǒ shāo huǒ liǎo",干脆利索:"gàn cuì lì suǒ",吊儿郎当:"diào er láng dāng",广种薄收:"guǎng zhòng bó shōu",种瓜得瓜:"zhòng guā dé guā",种豆得豆:"zhòng dòu dé dòu",难舍难分:"nán shě nán fēn",歃血为盟:"shà xuè wéi méng",奋发有为:"fèn fā yǒu wéi",阴错阳差:"yīn cuò yáng chā",东躲西藏:"dōng duǒ xī cáng",烟熏火燎:"yān xūn huǒ liǎo",钻牛角尖:"zuān niú jiǎo jiān",乔装打扮:"qiáo zhuāng dǎ bàn",改弦更张:"gǎi xián gēng zhāng",河南梆子:"hé nán bāng zi",好吃懒做:"hào chī lǎn zuò",何乐不为:"hé lè bù wéi",大出风头:"dà chū fēng tóu",攻城掠地:"gōng chéng lüè dì",漂漂亮亮:"piào piào liang liang",折衷主义:"zhé zhōng zhǔ yì",大马哈鱼:"dà mǎ hǎ yú",绿树成荫:"lǜ shù chéng yīn",率先垂范:"shuài xiān chuí fàn",家长里短:"jiā cháng lǐ duǎn",宽大为怀:"kuān dà wéi huái",左膀右臂:"zuǒ bǎng yòu bì",一笑了之:"yí xiào liǎo zhī",天下为公:"tiān xià wéi gōng",还我河山:"huán wǒ hé shān",何足为奇:"hé zú wéi qí",好自为之:"hǎo zì wéi zhī",风姿绰约:"fēng zī chuò yuē",大雨滂沱:"dà yǔ pāng tuó",传为佳话:"chuán wéi jiā huà",吃里扒外:"chī lǐ pá wài",重操旧业:"chóng cāo jiù yè",小家子气:"xiǎo jiā zi qì",少不更事:"shào bù gēng shì",难分难舍:"nán fēn nán shě",添砖加瓦:"tiān zhuān jiā wǎ",是非分明:"shì fēi fēn míng",舍我其谁:"shě wǒ qí shuí",偏听偏信:"piān tīng piān xìn",量入为出:"liàng rù wéi chū",降龙伏虎:"xiáng lóng fú hǔ",钢化玻璃:"gāng huà bō li",正中下怀:"zhèng zhòng xià huái",以身许国:"yǐ shēn xǔ guó",一语中的:"yì yǔ zhòng dì",丧魂落魄:"sàng hún luò pò",三座大山:"sān zuò dà shān",济济一堂:"jǐ jǐ yì táng",好事之徒:"hào shì zhī tú",干净利索:"gàn jìng lì suǒ",出将入相:"chū jiàng rù xiàng",袅袅娜娜:"niǎo niǎo nuó nuó",狐狸尾巴:"hú li wěi ba",好逸恶劳:"hào yì wù láo",大而无当:"dà ér wú dàng",打马虎眼:"dǎ mǎ hu yǎn",板上钉钉:"bǎn shàng dìng dīng",吆五喝六:"yāo wǔ hè liù",虾兵蟹将:"xiā bīng xiè jiàng",水调歌头:"shuǐ diào gē tóu",数典忘祖:"shǔ diǎn wàng zǔ",人事不省:"rén shì bù xǐng",曲高和寡:"qǔ gāo hè guǎ",屡教不改:"lǚ jiào bù gǎi",互为因果:"hù wéi yīn guǒ",互为表里:"hù wéi biǎo lǐ",厚此薄彼:"hòu cǐ bó bǐ",过关斩将:"guò guān zhǎn jiàng",疙疙瘩瘩:"gē ge dā dā",大腹便便:"dà fù pián pián",走为上策:"zǒu wéi shàng cè",冤家对头:"yuān jia duì tóu",有隙可乘:"yǒu xì kě chèng",一鳞半爪:"yì lín bàn zhǎo",片言只语:"piàn yán zhǐ yǔ",开花结实:"kāi huā jié shí",经年累月:"jīng nián lěi yuè",含糊其词:"hán hú qí cí",寡廉鲜耻:"guǎ lián xiǎn chǐ",成年累月:"chéng nián lěi yuè",不徇私情:"bú xùn sī qíng",不当人子:"bù dāng rén zǐ",膀大腰圆:"bǎng dà yāo yuán",指腹为婚:"zhǐ fù wéi hūn",这么点儿:"zhè me diǎn er",意兴索然:"yì xīng suǒ rán",绣花枕头:"xiù huā zhěn tou",无的放矢:"wú dì fàng shǐ",望闻问切:"wàng wén wèn qiè",舍己为人:"shě jǐ wèi rén",穷年累月:"qióng nián lěi yuè",排难解纷:"pái nàn jiě fēn",处之泰然:"chǔ zhī tài rán",指鹿为马:"zhǐ lù wéi mǎ",危如累卵:"wēi rú lěi luǎn",天兵天将:"tiān bīng tiān jiàng",舍近求远:"shě jìn qiú yuǎn",南腔北调:"nán qiāng běi diào",苦中作乐:"kǔ zhōng zuò lè",厚积薄发:"hòu jī bó fā",臭味相投:"xiù wèi xiāng tóu",长幼有序:"zhǎng yòu yǒu xù",逼良为娼:"bī liáng wéi chāng",悲悲切切:"bēi bēi qiè qiē",败军之将:"bài jūn zhī jiàng",欺行霸市:"qī háng bà shì",削足适履:"xuē zú shì lǚ",先睹为快:"xiān dǔ wéi kuài",啼饥号寒:"tí jī háo hán",疏不间亲:"shū bú jiàn qīn",神差鬼使:"shén chāi guǐ shǐ",敲敲打打:"qiāo qiāo dǎ dǎ",平铺直叙:"píng pū zhí xù",没头没尾:"méi tóu mò wěi",寥寥可数:"liáo liáo kě shǔ",哼哈二将:"hēng hā èr jiàng",鹤发童颜:"hè fà tóng yán",各奔前程:"gè bèn qián chéng",弹无虚发:"dàn wú xū fā",大人先生:"dà rén xiān sheng",与民更始:"yǔ mín gēng shǐ",树碑立传:"shù bēi lì zhuàn",是非得失:"shì fēi dé shī",实逼处此:"shí bī chǔ cǐ",塞翁失马:"sài wēng shī mǎ",日薄西山:"rì bó xī shān",切身体会:"qiè shēn tǐ huì",片言只字:"piàn yán zhǐ zì",跑马卖解:"pǎo mǎ mài xiè",宁折不弯:"nìng zhé bù wān",零零散散:"líng líng sǎn sǎn",量体裁衣:"liàng tǐ cái yī",连中三元:"lián zhòng sān yuán",礼崩乐坏:"lǐ bēng yuè huài",不为已甚:"bù wéi yǐ shèn",转悲为喜:"zhuǎn bēi wéi xǐ",以眼还眼:"yǐ yǎn huán yǎn",蔚为大观:"wèi wéi dà guān",未为不可:"wèi wéi bù kě",童颜鹤发:"tóng yán hè fà",朋比为奸:"péng bǐ wéi jiān",莫此为甚:"mò cǐ wéi shèn",夹枪带棒:"jiā qiāng dài bàng",富商巨贾:"fù shāng jù jiǎ",淡然处之:"dàn rán chǔ zhī",箪食壶浆:"dān shí hú jiāng",创巨痛深:"chuāng jù tòng shēn",草长莺飞:"cǎo zhǎng yīng fēi",坐视不救:"zuò shī bú jiù",以己度人:"yǐ jǐ duó rén",随行就市:"suí háng jiù shì",文以载道:"wén yǐ zài dào",文不对题:"wén bú duì tí",铁板钉钉:"tiě bǎn dìng dīng",身体发肤:"shēn tǐ fà fū",缺吃少穿:"quē chī shǎo chuān",目无尊长:"mù wú zūn zhǎng",吉人天相:"jí rén tiān xiàng",毁家纾难:"huǐ jiā shū nàn",钢筋铁骨:"gāng jīn tiě gǔ",丢卒保车:"diū zú bǎo jū",丢三落四:"diū sān là sì",闭目塞听:"bì mù sè tīng",削尖脑袋:"xuē jiān nǎo dài",为非作恶:"wéi fēi zuò è",人才难得:"rén cái nán dé",情非得已:"qíng fēi dé yǐ",切中要害:"qiè zhòng yào hài",火急火燎:"huǒ jí huǒ liǎo",画地为牢:"huà dì wéi láo",好酒贪杯:"hào jiǔ tān bēi",长歌当哭:"cháng gē dàng kū",载沉载浮:"zài chén zài fú",遇难呈祥:"yù nàn chéng xiáng",榆木疙瘩:"yú mù gē da",以邻为壑:"yǐ lín wéi hè",洋为中用:"yáng wéi zhōng yòng",言为心声:"yán wéi xīn shēng",言必有中:"yán bì yǒu zhòng",图穷匕见:"tú qióng bǐ xiàn",滂沱大雨:"páng tuó dà yǔ",目不暇给:"mù bù xiá jǐ",量才录用:"liàng cái lù yòng",教学相长:"jiào xué xiāng zhǎng",悔不当初:"huǐ bù dāng chū",呼幺喝六:"hū yāo hè liù",不足为训:"bù zú wéi xùn",不拘形迹:"bù jū xíng jī",傍若无人:"páng ruò wú rén",罪责难逃:"zuì zé nán táo",自我吹嘘:"zì wǒ chuī xū",转祸为福:"zhuǎn huò wéi fú",勇冠三军:"yǒng guàn sān jūn",易地而处:"yì dì ér chǔ",卸磨杀驴:"xiè mò shā lǘ",玩儿不转:"wán ér bú zhuàn",天道好还:"tiān dào hǎo huán",身单力薄:"shēn dān lì bó",撒豆成兵:"sǎ dòu chéng bīng",片纸只字:"piàn zhǐ zhī zì",宁缺毋滥:"nìng quē wú làn",没没无闻:"mò mò wú wén",量力而为:"liàng lì ér wéi",历历可数:"lì lì kě shǔ",口碑载道:"kǒu bēi zài dào",君子好逑:"jūn zǐ hǎo qiú",好为人师:"hào wéi rén shī",豪商巨贾:"háo shāng jù jiǎ",各有所好:"gè yǒu suǒ hào",度德量力:"duó dé liàng lì",指天为誓:"zhǐ tiān wéi shì",逸兴遄飞:"yì xìng chuán fēi",心宽体胖:"xīn kuān tǐ pán",为德不卒:"wéi dé bù zú",天下为家:"tiān xià wéi jiā",视为畏途:"shì wéi wèi tú",三灾八难:"sān zāi bā nàn",沐猴而冠:"mù hóu ér guàn",哩哩啦啦:"lī li lā lā",见缝就钻:"jiàn fèng jiù zuān",夹层玻璃:"jiā céng bō li",急公好义:"jí gōng hào yì",积年累月:"jī nián lěi yuè",划地为牢:"huá dì wéi láo",更名改姓:"gēng míng gǎi xìng",奉为圭臬:"fèng wéi guī niè",多难兴邦:"duō nàn xīng bāng",不破不立:"bú pò bú lì",坐地自划:"zuò dì zì huá",坐不重席:"zuò bù chóng xí",坐不窥堂:"zuò bù kuī táng",作嫁衣裳:"zuò jià yī shang",左枝右梧:"zuǒ zhī yòu wú",左宜右有:"zuǒ yí yòu yǒu",钻头觅缝:"zuān tóu mì fèng",钻天打洞:"zuān tiān dǎ dòng",钻皮出羽:"zuān pí chū yǔ",钻火得冰:"zuān huǒ dé bīng",钻洞觅缝:"zuàn dòng mì féng",钻冰求火:"zuān bīng qiú huǒ",子为父隐:"zǐ wéi fù yǐn",擢发难数:"zhuó fà nán shǔ",着人先鞭:"zhuó rén xiān biān",斫雕为朴:"zhuó diāo wéi pǔ",锥处囊中:"zhuī chǔ náng zhōng",椎心饮泣:"chuí xīn yǐn qì",椎心泣血:"chuí xīn qì xuè",椎牛飨士:"chuí niú xiǎng shì",椎牛歃血:"chuí niú shà xuè",椎牛发冢:"chuí niú fà zhǒng",椎埋屠狗:"chuí mái tú gǒu",椎埋狗窃:"chuí mái gǒu qiè",壮发冲冠:"zhuàng fā chōng guàn",庄严宝相:"zhuāng yán bǎo xiàng",转愁为喜:"zhuǎn chóu wéi xǐ",转嗔为喜:"zhuǎn chēn wéi xǐ",拽巷啰街:"zhuài xiàng luó jiē",拽耙扶犁:"zhuāi pá fú lí",拽布拖麻:"zhuài bù tuō má",箸长碗短:"zhù cháng wǎn duǎn",铸剑为犁:"zhù jiàn wéi lí",杼柚其空:"zhù yòu qí kōng",杼柚空虚:"zhù yòu kōng xū",助天为虐:"zhù tiān wéi nüè",属垣有耳:"zhǔ yuán yǒu ěr",属毛离里:"zhǔ máo lí lǐ",属辞比事:"zhǔ cí bǐ shì",逐物不还:"zhú wù bù huán",铢量寸度:"zhū liáng cùn duó",铢两悉称:"zhū liǎng xī chèn",侏儒观戏:"zhū rú guān xì",朱轓皁盖:"zhū fān zào gài",昼度夜思:"zhòu duó yè sī",诪张为幻:"zhōu zhāng wéi huàn",重明继焰:"chóng míng jì yàn",众啄同音:"zhòng zhuó tóng yīn",众毛攒裘:"zhòng máo cuán qiú",众好众恶:"zhòng hào zhòng wù",擿埴索涂:"zhāi zhí suǒ tú",稚齿婑媠:"zhì chǐ wǒ tuó",至当不易:"zhì dàng bú yì",指皂为白:"zhǐ zào wéi bái",指雁为羹:"zhǐ yàn wéi gēng",指树为姓:"zhǐ shù wéi xìng",指山说磨:"zhǐ shān shuō mò",止戈为武:"zhǐ gē wéi wǔ",枝干相持:"zhī gàn xiāng chí",枝大于本:"zh dà yú běn",支吾其词:"zhī wú qí cí",正身率下:"zhèng shēn shuài xià",正冠李下:"zhèng guàn lǐ xià",整冠纳履:"zhěng guān nà lǚ",整躬率物:"zhěng gōng shuài wù",整顿干坤:"zhěng dùn gàn kūn",针头削铁:"zhēn tóu xuē tiě",贞松劲柏:"zhēn sōng jìng bǎi",赭衣塞路:"zhě yī sè lù",折箭为誓:"shé jiàn wéi shì",折而族之:"zhé ér zú zhī",昭德塞违:"zhāo dé sè wéi",章句小儒:"zhāng jù xiǎo rú",湛恩汪濊:"zhàn ēn wāng huì",占风望气:"zhān fēng wàng qì",斩将搴旗:"zhǎn jiàng qiān qí",曾母投杼:"zēng mǔ tóu zhù",曾参杀人:"zēng shēn shā rén",造谣中伤:"zào yáo zhòng shāng",早占勿药:"zǎo zhān wù yào",凿龟数策:"záo guī shǔ cè",攒三聚五:"cuán sān jù wǔ",攒眉蹙额:"cuán mei cù é",攒零合整:"cuán líng hé zhěng",攒锋聚镝:"cuán fēng jù dí",载笑载言:"zài xiào zài yán",载酒问字:"zài jiǔ wèn zì",殒身不恤:"yǔn shēn bú xù",云舒霞卷:"yún shū xiá juǎn",月中折桂:"yuè zhōng shé guì",月落参横:"yuè luò shēn héng",鬻驽窃价:"yù nú qiè jià",鬻鸡为凤:"yù jī wéi fèng",遇难成祥:"yù nàn chéng xiáng",郁郁累累:"yù yù lěi lěi",玉卮无当:"yù zhī wú dàng",语笑喧阗:"yǔ xiào xuān tián",与世沉浮:"yǔ shì chén fú",与时消息:"yǔ shí xiāo xi",逾墙钻隙:"yú qiáng zuān xì",渔夺侵牟:"yú duó qīn móu",杅穿皮蠹:"yú chuān pí dù",余勇可贾:"yú yǒng kě gǔ",予智予雄:"yú zhì yú xióng",予取予求:"yú qǔ yú qiú",于家为国:"yú jiā wéi guó",有借无还:"yǒu jiè wú huán",有加无已:"yǒu jiā wú yǐ",有国难投:"yǒu guó nán tóu",游必有方:"yóu bì yǒu fāng",油干灯尽:"yóu gàn dēng jìn",尤云殢雨:"yóu yún tì yǔ",庸中皦皦:"yōng zhōng jiǎo jiǎo",郢书燕说:"yǐng shū yān shuō",营蝇斐锦:"yíng yíng fēi jǐn",鹰心雁爪:"yīng xīn yàn zhǎo",莺吟燕儛:"yīng yín yàn wǔ",应天顺时:"yīng tiān shùn shí",印累绶若:"yìn léi shòu ruò",隐占身体:"yǐn zhàn shēn tǐ",饮犊上流:"yìn dú shàng liú",引绳切墨:"yǐn shéng qiē mò",龈齿弹舌:"yín chǐ dàn shé",因缘为市:"yīn yuán wéi shì",因树为屋:"yīn shù wéi wū",溢美溢恶:"yì měi yì wù",抑塞磊落:"yì sè lěi luò",倚闾望切:"yǐ lǘ wàng qiē",以意为之:"yǐ yì wéi zhī",以言为讳:"yǐ yán wéi huì",以疏间亲:"yǐ shū jiàn qīn",以水济水:"yǐ shuǐ jǐ shuǐ",以书为御:"yǐ shū wéi yù",以守为攻:"yǐ shǒu wéi gōng",以升量石:"yǐ shēng liáng dàn",以慎为键:"yǐ shèn wéi jiàn",以筌为鱼:"yǐ quán wéi yú",以利累形:"yǐ lì lěi xíng",以毁为罚:"yǐ huǐ wéi fá",以黑为白:"yǐ hēi wéi bái",以规为瑱:"yǐ guī wéi tiàn",以古为鉴:"yǐ gǔ wéi jiàn",以宫笑角:"yǐ gōng xiào jué",以法为教:"yǐ fǎ wéi jiào",以大恶细:"yǐ dà wù xì",遗世忘累:"yí shì wàng lěi",遗寝载怀:"yí qǐn zài huái",移的就箭:"yí dì jiù jiàn",依头缕当:"yī tóu lǚ dàng",衣租食税:"yì zū shí shuì",衣轻乘肥:"yì qīng chéng féi",衣裳之会:"yī shang zhī huì",衣单食薄:"yī dān shí bó",一还一报:"yì huán yí bào",叶公好龙:"yè gōng hào lóng",野调无腔:"yě diào wú qiāng",瑶池女使:"yáo chí nǚ shǐ",幺麽小丑:"yāo mó xiǎo chǒu",养精畜锐:"yǎng jīng xù ruì",卬首信眉:"áng shǒu shēn méi",洋洋纚纚:"yáng yáng sǎ sǎ",羊羔美酒:"yáng gāo měi jiǔ",扬风扢雅:"yáng fēng jié yǎ",燕昭市骏:"yān zhāo shì jùn",燕昭好马:"yān zhāo hǎo mǎ",燕石妄珍:"yān shí wàng zhēn",燕骏千金:"yān jùn qiān jīn",燕金募秀:"yān jīn mù xiù",燕驾越毂:"yān jià yuè gǔ",燕歌赵舞:"yān gē zhào wǔ",燕岱之石:"yān dài zhī shí",燕处危巢:"yàn chǔ wēi cháo",掞藻飞声:"shàn zǎo fēi shēng",偃革为轩:"yǎn gé wéi xuān",妍蚩好恶:"yán chī hǎo è",压良为贱:"yā liáng wéi jiàn",搀行夺市:"chān háng duó shì",泣数行下:"qì shù háng xià",当行出色:"dāng háng chū sè",秀出班行:"xiù chū bān háng",儿女成行:"ér nǚ chéng háng",大行大市:"dà háng dà shì",寻行数墨:"xún háng shǔ mò",埙篪相和:"xūn chí xiāng hè",血债累累:"xuè zhài lěi lěi",炫玉贾石:"xuàn yù gǔ shí",炫石为玉:"xuàn shí wéi yù",悬石程书:"xuán dàn chéng shū",悬狟素飡:"xuán huán sù cān",悬龟系鱼:"xuán guī xì yú",揎拳捋袖:"xuān quán luō xiù",轩鹤冠猴:"xuān hè guàn hóu",畜妻养子:"xù qī yǎng zǐ",羞人答答:"xiū rén dā dā",修鳞养爪:"xiū lín yǎng zhǎo",熊据虎跱:"xióng jù hǔ zhì",兄死弟及:"xiōng sǐ dì jí",腥闻在上:"xīng wén zài shàng",兴文匽武:"xīng wén yǎn wǔ",兴观群怨:"xìng guān qún yuàn",兴高彩烈:"xìng gāo cǎi liè",心手相应:"xīn shǒu xiāng yìng",心口相应:"xīn kǒu xiāng yīng",挟势弄权:"xié shì nòng quán",胁肩累足:"xié jiān lěi zú",校短量长:"jiào duǎn liáng cháng",小眼薄皮:"xiǎo yǎn bó pí",硝云弹雨:"xiāo yún dàn yǔ",鸮鸣鼠暴:"xiāo míng shǔ bào",削株掘根:"xuē zhū jué gēn",削铁无声:"xuē tiě wú shēng",削职为民:"xuē zhí wéi mín",削木为吏:"xuē mù wéi lì",想望风褱:"xiǎng wàng fēng huái",香培玉琢:"xiang pei yu zhuó",相鼠有皮:"xiàng shǔ yǒu pí",相时而动:"xiàng shí ér dòng",相切相磋:"xiāng qiē xiāng cuō",相女配夫:"xiàng nǚ pèi fū",相门有相:"xiàng mén yǒu xiàng",挦章撦句:"xián zhāng chě jù",先我着鞭:"xiān wǒ zhuó biān",习焉不察:"xí yān bù chá",歙漆阿胶:"shè qī ē jiāo",晰毛辨发:"xī máo biàn fà",悉索薄赋:"xī suǒ bó fù",雾鳞云爪:"wù lín yún zhǎo",物稀为贵:"wù xī wéi guì",碔砆混玉:"wǔ fū hùn yù",武断专横:"wǔ duàn zhuān héng",五石六鹢:"wǔ shí liù yì",五色相宣:"wǔ sè xiāng xuān",五侯七贵:"wǔ hóu qī guì",五侯蜡烛:"wǔ hòu là zhú",五羖大夫:"wǔ gǔ dà fū",吾自有处:"wú zì yǒu chǔ",无下箸处:"wú xià zhù chǔ",无伤无臭:"wú shāng wú xiù",无能为役:"wú néng wéi yì",无寇暴死:"wú kòu bào sǐ",无孔不钻:"wú kǒng bú zuàn",无间可乘:"wú jiān kě chéng",无间冬夏:"wú jiān dōng xià",无恶不为:"wú è bù wéi",无动为大:"wú dòng wéi dà",诬良为盗:"wū liáng wéi dào",握拳透爪:"wò quán tòu zhǎo",文武差事:"wén wǔ chāi shì",委委佗佗:"wēi wēi tuó tuó",惟日为岁:"wéi rì wéi suì",帷薄不修:"wéi bó bù xiū",为善最乐:"wéi shàn zuì lè",为山止篑:"wéi shān zhǐ kuì",为仁不富:"wéi rén bú fù",为裘为箕:"wéi qiú wéi jī",为民父母:"wéi mín fù mǔ",为虺弗摧:"wéi huǐ fú cuī",为好成歉:"wéi hǎo chéng qiàn",为鬼为蜮:"wéi guǐ wéi yù",望风响应:"wàng fēng xiǎng yīng",望尘僄声:"wàng chén piào shēng",往渚还汀:"wǎng zhǔ huán tīng",王贡弹冠:"wáng gòng dàn guàn",亡国大夫:"wáng guó dà fū",万贯家私:"wàn guàn jiā sī",晚食当肉:"wǎn shí dàng ròu",晚节不保:"wǎn jié bù bǎo",玩岁愒时:"wán suì kài shí",蛙蟆胜负:"wā má shèng fù",吞言咽理:"tūn yán yàn lǐ",颓垣断堑:"tuí yuán duàn qiàn",推干就湿:"tuī gàn jiù shī",剸繁决剧:"tuán fán jué jù",团头聚面:"tuán tóu jù miàn",兔丝燕麦:"tù sī yàn mài",兔头麞脑:"tù tóu zhāng nǎo",兔葵燕麦:"tù kuí yàn mài",吐哺握发:"tǔ bǔ wò fà",投传而去:"tóu zhuàn ér qù",头没杯案:"tóu mò bēi àn",头昏脑闷:"tóu hūn nǎo mèn",头会箕敛:"tóu kuài jī liǎn",头出头没:"tóu chū tóu mò",痛自创艾:"tòng zì chuāng yì",同恶相助:"tóng wù xiāng zhù",同恶相恤:"tóng wù xiāng xù",痌瘝在抱:"tōng guān zài bào",通文调武:"tōng wén diào wǔ",停留长智:"tíng liú zhǎng zhì",铁树开华:"tiě shù kāi huā",条贯部分:"tiáo guàn bù fēn",挑牙料唇:"tiǎo yá liào chún",挑么挑六:"tiāo yāo tiāo liù",挑唇料嘴:"tiǎo chún liào zuǐ",恬不为意:"tián bù wéi yì",恬不为怪:"tián bù wéi guài",天下为笼:"tiān xià wéi lóng",天台路迷:"tiān tái lù mí",天年不遂:"tiān nián bú suì",探囊胠箧:"tàn náng qū qiè",谭言微中:"tán yán wēi zhòng",谈言微中:"tán yán wēi zhòng",狧穅及米:"shì kāng jí mǐ",随物应机:"suí wù yīng jī",搜岩采干:"sōu yán cǎi gàn",宋斤鲁削:"sòng jīn lǔ xuē",松筠之节:"sōng yún zhī jié",四亭八当:"sì tíng bā dàng",四马攒蹄:"sì mǎ cuán tí",四不拗六:"sì bú niù liù",思所逐之:"sī suǒ zhú zhī",丝恩发怨:"sī ēn fà yuàn",硕望宿德:"shuò wàng xiǔ dé",铄古切今:"shuò gǔ qiē jīn",顺风而呼:"shùn fēng ér hū",顺风吹火:"shùn fēng chuī huǒ",水中著盐:"shuǐ zhōng zhuó yán",双柑斗酒:"shuāng gān dǒu jiǔ",数米而炊:"shǔ mǐ ér chuī",数米量柴:"shǔ mǐ liáng chái",数理逻辑:"shù lǐ luó ji",数黑论黄:"shǔ hēi lùn huáng",数白论黄:"shǔ bái lùn huáng",束缊还妇:"shù yūn huán fù",束蒲为脯:"shù pú wéi pú",束椽为柱:"shù chuán wéi zhù",书缺有间:"shū quē yǒu jiàn",手足重茧:"shǒu zú chóng jiǎn",手足异处:"shǒu zú yì chǔ",手脚干净:"shǒu jiǎo gàn jìng",手不应心:"shǒu bù yīng xīn",螫手解腕:"shì shǒu jiě wàn",释知遗形:"shì zhī yí xíng",适时应务:"shì shí yīng wù",适情率意:"shì qíng shuài yì",适当其冲:"shì dāng qí chōng",视为知己:"shì wéi zhī jǐ",使羊将狼:"shǐ yáng jiàng láng",食为民天:"shí wéi mín tiān",拾掇无遗:"shí duō wú yí",实与有力:"shí yù yǒu lì",石英玻璃:"shí yīng bō li",石室金匮:"shí shì jīn guì",什袭珍藏:"shí xí zhēn cáng",什伍东西:"shí wǔ dōng xī",什围伍攻:"shí wéi wǔ gōng",十魔九难:"shí mó jiǔ nàn",诗书发冢:"shī shū fà zhǒng",虱处裈中:"shī chǔ kūn zhōng",师直为壮:"shī zhí wéi zhuàng",尸居龙见:"shī jū lóng xiàn",圣经贤传:"shèng jīng xián zhuàn",圣君贤相:"shèng jūn xián xiàng",生拖死拽:"shēng tuō sǐ zhuài",审己度人:"shěn jǐ duó rén",神武挂冠:"shén wǔ guà guàn",神龙失埶:"shén lóng shī shì",深文曲折:"shēn wén qǔ shé",深厉浅揭:"shēn lì qiǎn qì",深谷为陵:"shēn gǔ wéi líng",深恶痛疾:"shēn wù tòng jí",深仇宿怨:"shēn chóu xiǔ yuàn",舍己为公:"shě jǐ wèi gōng",舍短取长:"shě duǎn qǔ cháng",舍策追羊:"shě cè zhuī yáng",蛇蝎为心:"shé xiē wéi xīn",少成若性:"shào chéng ruò xìng",上当学乖:"shàng dàng xué guāi",赏不当功:"shǎng bù dāng gōng",善自为谋:"shàn zì wéi móu",善为说辞:"shàn wéi shuō cí",善善恶恶:"shàn shàn wù è",善财难舍:"shàn cái nán shě",苫眼铺眉:"shān yǎn pū méi",讪牙闲嗑:"shàn yá xián kē",山阴乘兴:"shān yīn chéng xīng",山殽野湋:"shān yáo yě wéi",山溜穿石:"shān liù chuān shí",山节藻棁:"shān jié zǎo zhuō",杀鸡为黍:"shā jī wéi shǔ",色厉胆薄:"sè lì dǎn bó",桑荫未移:"sāng yīn wèi yí",桑荫不徙:"sāng yīn bù xǐ",桑土绸缪:"sāng tǔ chóu miù",桑户棬枢:"sāng hù juàn shū",三战三北:"sān zhàn sān běi",三瓦两舍:"sān wǎ liǎng shě",三人为众:"sān rén wèi zhòng",三差两错:"sān chā liǎng cuò",塞井焚舍:"sāi jǐng fén shě",洒心更始:"sǎ xīn gèng shǐ",洒扫应对:"sǎ sǎo yìng duì",软红香土:"ruǎn hóng xiāng tǔ",入吾彀中:"rù wú gòu zhōng",入铁主簿:"rù tiě zhǔ bù",入理切情:"rù lǐ qiē qíng",汝成人耶:"rǔ chéng rén yé",如水投石:"rú shuǐ tóu shí",如切如磋:"rú qiē rú cuō",如登春台:"rú dēng chūn tái",肉薄骨并:"ròu bó gǔ bìng",柔情绰态:"róu qíng chuò tài",戎马劻勷:"róng mǎ kuāng ráng",日中为市:"rì zhōng wéi shì",日月参辰:"rì yuè shēn chén",日省月修:"rì xǐng yuè xiū",日削月割:"rì xuē yuè gē",日省月试:"rì xǐng yuè shì",任达不拘:"rèn dá bù jū",人言藉藉:"rén yán jí jí",人模狗样:"rén mú gǒu yàng",人莫予毒:"rén mò yú dú",热熬翻饼:"rè áo fān bǐng",圈牢养物:"juàn láo yǎng wù",取予有节:"qǔ yǔ yǒu jié",诎要桡腘:"qū yāo ráo guó",穷形尽相:"qióng xíng jìn xiàng",情凄意切:"qíng qī yì qiè",情见势屈:"qíng xiàn shì qū",情见乎辞:"qíng xiàn hū cí",清都绛阙:"qīng dōu jiàng què",倾肠倒肚:"qīng cháng dào dǔ",青紫被体:"qīng zǐ pī tǐ",青林黑塞:"qīng lín hēi sài",螓首蛾眉:"qín shǒu é méi",琴瑟之好:"qín sè zhī hào",且住为佳:"qiě zhù wéi jiā",切树倒根:"qiē shù dǎo gēn",切理餍心:"qiē lǐ yàn xīn",切近的当:"qiē jìn de dāng",翘足引领:"qiáo zú yǐn lǐng",巧发奇中:"qiǎo fā qí zhòng",强嘴拗舌:"jiàng zuǐ niù shé",强直自遂:"qiáng zhí zì suí",强死强活:"qiǎng sǐ qiǎng huó",强食自爱:"qiǎng shí zì ài",强食靡角:"qiǎng shí mí jiǎo",强弓劲弩:"qiáng gōng jìng nǔ",强聒不舍:"qiǎng guō bù shě",强凫变鹤:"qiáng fú biàn hè",强而后可:"qiǎng ér hòu kě",强得易贫:"qiǎng dé yì pín",遣兴陶情:"qiǎn xìng táo qíng",牵羊担酒:"qiān yáng dān jiǔ",千了百当:"qiān liǎo bǎi dàng",泣下如雨:"qì xià rú yǔ",起偃为竖:"qǐ yǎn wéi shù",岂弟君子:"kǎi tì jūn zǐ",綦溪利跂:"qí xī lì qí",棋输先著:"qí shū xiān zhuó",齐王舍牛:"qí wáng shě niú",欺天诳地:"qī tiān kuáng dì",普天率土:"pǔ tiān shuài tǔ",铺胸纳地:"pū xiōng nà dì",铺锦列绣:"pū jǐn liè xiù",破家为国:"pò jiā wèi guó",破觚为圜:"pò gū wéi yuán",萍飘蓬转:"píng piāo péng zhuàn",帡天极地:"píng tiān jí dì",屏声息气:"bǐng shēng xī qì",凭几据杖:"píng jī jù zhàng",贫嘴薄舌:"pín zuǐ bó shé",片语只辞:"piàn yǔ zhī cí",披发文身:"pī fà wén shēn",烹龙炮凤:"pēng lóng páo fèng",炰鳖脍鲤:"fǒu biē kuài lǐ",庞眉皓发:"páng méi hào fà",攀花折柳:"pān huā zhé liǔ",攀蟾折桂:"pān chán shé guì",女大难留:"nǚ dà nán liú",弄玉吹箫:"nòng yù chuī xiāo",弄管调弦:"nòng guǎn tiáo xián",弄粉调朱:"nòng fěn diào zhū",浓抹淡妆:"nóng mò dàn zhuāng",捻土为香:"niǎn tǔ wéi xiāng",年谊世好:"nián yì shì hǎo",年华垂暮:"nián huá chuí mù",儗不于伦:"nǐ bù yú lún",泥而不滓:"ní ér bù zǐ",能者为师:"néng zhě wéi shī",能不称官:"néng bú chèn guān",挠直为曲:"náo zhí wéi qū",难进易退:"nán jìn yì tuì",难得糊涂:"nán dé hú tú",南蛮鴂舌:"nán mán jué shé",南贩北贾:"nán fàn běi gǔ",牧猪奴戏:"mù zhū nú xì",目眢心忳:"mù yuān xīn tún",目挑心招:"mù tiǎo xīn zhāo",目量意营:"mù liàng yì yíng",木头木脑:"mù tóu mù nǎo",木干鸟栖:"mù gàn niǎo qī",侔色揣称:"móu sè chuǎi chèn",莫予毒也:"mò yú dú yě",抹粉施脂:"mò fěn shī zhī",磨砻镌切:"mó lóng juān qiē",磨棱刓角:"mó léng wán jiǎo",摸门不着:"mō mén bù zháo",摸不着边:"mō bù zhuó biān",命中注定:"mìng zhōng zhù dìng",鸣鹤之应:"míng hè zhī yìng",明效大验:"míng xiào dà yàn",名我固当:"míng wǒ gù dāng",邈处欿视:"miǎo chǔ kǎn shì",黾穴鸲巢:"měng xué qú cháo",绵里薄材:"mián lǐ bó cái",靡有孑遗:"mǐ yǒu jié yí",靡衣偷食:"mǐ yī tōu shí",迷恋骸骨:"mí liàn hái gǔ",扪参历井:"mén shēn lì jǐng",门单户薄:"mén dān hù bó",昧旦晨兴:"mèi dàn chén xīng",冒名接脚:"mào míng jiē jiǎo",毛遂堕井:"máo suí duò jǐng",毛发倒竖:"máo fā dǎo shù",卖文为生:"mài wén wéi shēng",卖李钻核:"mài lǐ zuān hé",买椟还珠:"mǎi dú huán zhū",埋三怨四:"mán sān yuàn sì",马入华山:"mǎ rù huá shān",落魄江湖:"luò pò jiāng hú",落落难合:"luò luò nán hé",落草为寇:"luò cǎo wéi kòu",罗织构陷:"luó zhī gòu xiàn",鸾凤和鸣:"luán fèng hè míng",率由旧章:"shuài yóu jiù zhāng",率土同庆:"shuài tǔ tóng qìng",率兽食人:"shuài shòu shí rén",率土归心:"shuài tǔ guī xīn",率马以骥:"shuài mǎ yǐ jì",率尔成章:"shuài ěr chéng zhāng",鲁斤燕削:"lǔ jīn yàn xuē",漏尽更阑:"lòu jìn gēng lán",笼鸟槛猿:"lóng niǎo jiàn yuán",笼鸟池鱼:"lóng niǎo chí yú",龙游曲沼:"lóng yóu qū zhǎo",龙血玄黄:"lóng xuè xuán huáng",龙雕凤咀:"lóng diāo fèng jǔ",六尺之讬:"liù chǐ zhī tuō",令原之戚:"líng yuán zhī qī",令人捧腹:"lìng rén pěng fù",陵劲淬砺:"líng jìng cuì lì",临敌易将:"lín dí yì jiàng",裂裳衣疮:"liè shang yī chuāng",裂冠毁冕:"liè guàn huǐ miǎn",了无惧色:"liǎo wú jù sè",了身达命:"liǎo shēn dá mìng",了然无闻:"liǎo rán wú wén",了不可见:"liǎo bù kě jiàn",了不长进:"liǎo bù zhǎng jìn",燎发摧枯:"liǎo fà cuī kū",审时度势:"shěn shí duó shì",量小力微:"liàng xiǎo lì wēi",相时度力:"xiāng shí duó lì",量枘制凿:"liàng ruì zhì záo",量如江海:"liàng rú jiāng hǎi",量金买赋:"liàng jīn mǎi fù",量己审分:"liàng jǐ shěn fēn",敛骨吹魂:"liǎn gǔ chuī hún",詈夷为跖:"lì yí wéi zhí",利令志惛:"lì lìng zhì hūn",李广不侯:"lǐ guǎng bú hòu",礼为情貌:"lǐ wéi qíng mào",礼让为国:"lǐ ràng wéi guó",犁生骍角:"lí shēng xīng jiǎo",离本徼末:"lí běn jiǎo mò",楞眉横眼:"léng méi hèng yǎn",擂天倒地:"léi tiān dǎo dì",累足成步:"lěi zú chéng bù",累瓦结绳:"lěi wǎ jié shéng",累土至山:"lěi tǔ zhì shān",累土聚沙:"lěi tǔ jù shā",累卵之危:"lěi luǎn zhī wēi",累累如珠:"lěi lěi rú zhū",累块积苏:"lěi kuài jī sū",乐山乐水:"lè shān lè shuǐ",潦原浸天:"lǎo yuán jìn tiān",老师宿儒:"lǎo shī xiǔ rú",牢什古子:"láo shí gǔ zi",琅嬛福地:"láng huán fú dì",揆情度理:"kuí qíng duó lǐ",旷日累时:"kuàng rì lěi shí",匡救弥缝:"kuāng jiù mí fèng",枯树生华:"kū shù shēng huā",口轻舌薄:"kǒu qīng shé bó",口角生风:"kǒu jiǎo shēng fēng",口角春风:"kǒu jiǎo chūn fēng",口角风情:"kǒu jiǎo fēng qíng",口干舌焦:"kǒu gān shé jiāo",口腹之累:"kǒu fù zhī lěi",空腹便便:"kōng fù pián pián",嗑牙料嘴:"kē yá liào zuǐ",刻木为鹄:"kè mù wéi hú",咳珠唾玉:"ké zhū tuò yù",咳唾成珠:"ké tuò chéng zhū",抗颜为师:"kàng yán wéi shī",开华结果:"kāi huā jié guǒ",峻阪盐车:"jùn bǎn yán chē",嚼铁咀金:"jiáo tiě jǔ jīn",嚼墨喷纸:"jué mò pēn zhǐ",倔头强脑:"juè tóu jiàng nǎo",倔头倔脑:"juè tóu juè nǎo",倦鸟知还:"juàn niǎo zhī huán",卷席而葬:"juǎn xí ér zàng",卷甲倍道:"juǎn jiǎ bèi dào",聚米为山:"jù mǐ wéi shān",举手相庆:"jǔ shǒu xiāng qìng",举世混浊:"jǔ shì hún zhuó",鞠为茂草:"jū wéi mào cǎo",拘神遣将:"jū shén qiǎn jiàng",居下讪上:"jū xià shàn shàng",久要不忘:"jiǔ yāo bú wàng",九转功成:"jiǔ zhuǎn gōng chéng",九蒸三熯:"jiǔ zhēng sān hàn",敬业乐群:"jìng yè lè qún",井底虾蟆:"jǐng dǐ xiā má",旌旗卷舒:"jīng qí juǎn shū",荆棘载途:"jīng jí zài tú",禁舍开塞:"jìn shě kāi sāi",祲威盛容:"jìn wēi shèng róng",进退消长:"jìn tuì xiāo cháng",进退应矩:"jìn tuì yīng jǔ",进退触籓:"jìn tuì chù fān",进退跋疐:"jìn tuì bá zhì",尽多尽少:"jǐn duō jǐn shǎo",锦囊还矢:"jǐn náng huán shǐ",矜己自饰:"jīn jǐ zì shì",矜功负气:"jīn gōng fù qì",津关险塞:"jīn guān xiǎn sài",金吾不禁:"jīn wú bú jìn",金翅擘海:"jīn chì bāi hǎi",解衣衣人:"jiě yī yī rén",解人难得:"jiě rén nán dé",解铃系铃:"jiě líng xì líng",解发佯狂:"jiě fà yáng kuáng",诘屈磝碻:"jié qū áo qiāo",教猱升木:"jiāo náo shēng mù",较瘦量肥:"jiào shòu liàng féi",角立杰出:"jiǎo lì jié chū",焦沙烂石:"jiāo shā làn shí",骄儿騃女:"jiāo ér sì nǚ",浇风薄俗:"jiāo fēng bó sú",降妖捉怪:"xiáng yāo zhuō guài",将取固予:"jiāng qǔ gù yǔ",将门有将:"jiàng mén yǒu jiàng",将夺固与:"jiāng duó gù yǔ",槛花笼鹤:"jiàn huā lóng hè",鉴影度形:"jiàn yǐng duó xíng",渐不可长:"jiàn bù kě zhǎng",见素抱朴:"xiàn sù bào pǔ",见弃于人:"jiàn qì yú rén",简丝数米:"jiǎn sī shǔ mǐ",俭不中礼:"jiǎn bú zhòng lǐ",间见层出:"jiàn xiàn céng chū",尖嘴薄舌:"jiān zuǐ bó shé",甲冠天下:"jiǎ guàn tiān xià",葭莩之亲:"jiā fú zhī qīn",家累千金:"jiā lèi qiān jīn",家给人足:"jiā jǐ rén zú",家道从容:"jiā dào cóng róng",夹袋人物:"jiā dài rén wù",霁风朗月:"jì fēng lǎng yuè",寄兴寓情:"jì xìng yù qíng",计深虑远:"jì shēn lǜ yuǎn",计功量罪:"jì gōng liàng zuì",掎裳连襼:"jǐ shang lián yì",虮虱相吊:"jǐ shī xiāng diào",疾不可为:"jí bù kě wéi",极深研几:"jí shēn yán jī",及宾有鱼:"jí bīn yǒu yú",激薄停浇:"jī bó tíng jiāo",积素累旧:"jī sù lěi jiù",积时累日:"jī shí lěi rì",积露为波:"jī lù wéi bō",积德累功:"jī dé lěi gōng",积谗糜骨:"jī chán méi gǔ",击排冒没:"jī pái mào mò",祸为福先:"huò wéi fú xiān",祸福相依:"huò fú xiāng yī",获隽公车:"huò jùn gōng chē",混应滥应:"hùn yīng làn yīng",毁舟为杕:"huǐ zhōu wéi duò",毁钟为铎:"huǐ zhōng wéi duó",毁冠裂裳:"huǐ guān liè cháng",晦盲否塞:"huì máng pǐ sè",回船转舵:"huí chuán zhuàn duò",潢池盗弄:"huáng chí dào nòng",黄冠草履:"huáng guàn cǎo lǚ",黄发儿齿:"huáng fà ér chǐ",黄发垂髫:"huáng fà chuí tiáo",还珠返璧:"huán zhū fǎn bì",还年驻色:"huán nián zhù sè",还年却老:"huán nián què lǎo",坏裳为裤:"huài shang wéi kù",画荻和丸:"huà dí huò wán",化枭为鸠:"huà xiāo wéi jiū",化腐为奇:"huà fǔ wéi qí",化鸱为凤:"huà chī wéi fèng",花不棱登:"huā bu lēng dēng",户限为穿:"hù xiàn wéi chuān",呼卢喝雉:"hū lú hè zhì",呼来喝去:"hū lái hè qù",呼不给吸:"hū bù jǐ xī",厚味腊毒:"hòu wèi xī dú",厚德载物:"hòu dé zài wù",鸿渐于干:"hóng jiàn yú gàn",洪炉燎发:"hóng lú liáo fà",红绳系足:"hóng shéng jì zú",红不棱登:"hóng bu lēng dēng",横抢硬夺:"hèng qiǎng yìng duó",横恩滥赏:"hèng ēn làn shǎng",恨海难填:"hèn hǎi nán tián",鹤发鸡皮:"hè fà jī pí",涸思干虑:"hé sī gān lǜ",河涸海干:"hé hé hǎi gān",和颜说色:"hé yán yuè sè",合从连衡:"hé zòng lián héng",浩浩汤汤:"hào hào shāng shāng",好勇斗狠:"hào yǒng dòu hěn",好问则裕:"hào wèn zé yù",好为事端:"hào wéi shì duān",好问决疑:"hào wèn jué yí",好生之德:"hào shēng zhī dé",好奇尚异:"hǎo qí shàng yì",好恶不同:"hǎo è bù tóng",好丹非素:"hào dān fēi sù",豪干暴取:"háo gàn bào qǔ",毫发不爽:"háo fà bù shuǎng",寒酸落魄:"hán suān luò pò",含英咀华:"hán yīng jǔ huá",含糊不明:"hán hú bù míng",过为已甚:"guò wéi yǐ shèn",桂折兰摧:"guì shé lán cuī",规旋矩折:"guī xuán jǔ shé",广文先生:"guǎng wén xiān sheng",广陵散绝:"guǎng líng sǎn jué",冠山戴粒:"guàn shān dài lì",冠屦倒施:"guàn jù dǎo shī",挂席为门:"guà xí wéi mén",寡见鲜闻:"guǎ jiàn xiǎn wén",瓜葛相连:"guā gé xiāng lián",鼓吻奋爪:"gǔ wěn fèn zhǎo",古调单弹:"gǔ diào dān tán",古调不弹:"gǔ diào bù tán",姑射神人:"gū yè shén rén",苟合取容:"gǒu hé qǔ róng",狗续侯冠:"gǒu xù hòu guàn",钩爪锯牙:"gōu zhǎo jù yá",共枝别干:"gòng zhī bié gàn",共为唇齿:"gòng wéi chún chǐ",拱手而降:"gǒng shǒu ér xiáng",拱肩缩背:"gǒng jiān suō bèi",功薄蝉翼:"gōng bó chán yì",弓调马服:"gōng diào mǎ fú",更姓改物:"gēng xìng gǎi wù",更仆难数:"gēng pú nán shǔ",更令明号:"gēng lìng míng hào",更待干罢:"gèng dài gàn bà",更唱迭和:"gēng chàng dié hé",更长梦短:"gēng cháng mèng duǎn",各色名样:"gè sè míng yàng",格格不纳:"gé gé bú nà",格格不吐:"gé gé bù tǔ",告朔饩羊:"gù shuò xì yáng",膏车秣马:"gào chē mò mǎ",高义薄云:"gāo yì bó yún",岗头泽底:"gāng tóu zé dǐ",敢为敢做:"gǎn wéi gǎn zuò",甘分随时:"gān fèn suí shí",甘处下流:"gān chǔ xià liú",干啼湿哭:"gàn tí shī kū",干名犯义:"gàn míng fàn yì",干将莫邪:"gān jiāng mò yé",干城之将:"gān chéng zhī jiàng",腹载五车:"fù zài wǔ chē",父债子还:"fù zhài zǐ huán",父为子隐:"fù wéi zǐ yǐn",辅世长民:"fǔ shì zhǎng mín",福为祸始:"fú wéi huò shǐ",符号逻辑:"fú hào luó jí",浮收勒折:"fú shōu lè shé",肤受之愬:"fū shòu zhī sù",否终则泰:"pǐ zhōng zé tài",佛头著粪:"fó tóu zhuó fèn",奉为楷模:"fèng wéi kǎi mó",凤靡鸾吪:"fèng mǐ luán é",封豨修蛇:"fēng xī xiū shé",风影敷衍:"fēng yǐng fū yǎn",丰屋蔀家:"fēng wū bù jiā",粪土不如:"fèn tǔ bù rú",分风劈流:"fēn fēng pǐ liú",沸沸汤汤:"fèi fèi shāng shāng",菲食薄衣:"fěi shí bó yī",飞将数奇:"fēi jiàng shù qí",放辟邪侈:"fàng pì xié chǐ",方领圆冠:"fāng lǐng yuán guàn",犯而不校:"fàn ér bú jiào",返本还源:"fǎn běn huán yuán",反劳为逸:"fǎn láo wéi yì",法轮常转:"fǎ lún cháng zhuàn",罚不当罪:"fá bù dāng zuì",发引千钧:"fà yǐn qiān jūn",发奸擿伏:"fā jiān tī fú",发短心长:"fà duǎn xīn cháng",二竖为虐:"èr shù wéi nüè",儿女心肠:"ér nǚ xīn cháng",儿女亲家:"ér nǚ qìng jiā",遏恶扬善:"è wù yáng shàn",饿殍枕藉:"è piǎo zhěn jí",饿殍载道:"è piǎo zài dào",恶醉强酒:"wù zuì qiǎng jiǔ",恶意中伤:"è yì zhòng shāng",恶湿居下:"wù shī jū xià",恶居下流:"wù jū xià liú",恶不去善:"wù bú qù shàn",扼吭夺食:"è háng duó shí",扼襟控咽:"è jīn kòng yān",峨峨汤汤:"é é shāng shāng",屙金溺银:"ē jīn niào yín",朵颐大嚼:"duǒ yí dà jiáo",夺人所好:"duó rén suǒ hào",多言数穷:"duō yán shuò qióng",多文为富:"duō wén wéi fù",多端寡要:"duō duān guǎ yào",多财善贾:"duō cái shàn gǔ",遁世无闷:"dùn shì wú mèn",遁迹黄冠:"dùn jì huáng guàn",堆案盈几:"duī àn yíng jī",断还归宗:"duàn huán guī zōng",短见薄识:"duǎn jiàn bó shí",蠹居棊处:"dù jū qí chǔ",度己以绳:"duó jǐ yǐ shéng",杜默为诗:"dù mò wéi shī",杜鹃啼血:"dù juān tí xuè",笃近举远:"dǔ jìn jǔ yuǎn",独有千秋:"dú yǒu qiān qiū",读书得间:"dú shū dé jiàn",斗转参横:"dǒu zhuǎn shēn héng",兜肚连肠:"dōu dǔ lián cháng",洞见症结:"dòng jiàn zhèng jié",恫疑虚喝:"dòng yí xū hè",动中窾要:"dòng zhōng kuǎn yào",东鸣西应:"dōng míng xī yīng",东鳞西爪:"dōng lín xī zhǎo",东量西折:"dōng liàng xī shé",东家西舍:"dōng jiā xī shè",东扯西拽:"dōng chě xī zhuāi",鼎铛有耳:"dǐng chēng yǒu ěr",鼎铛玉石:"dǐng chēng yù shí",钉头磷磷:"dīng tóu lín lín",跌宕不羁:"diē dàng bù jī",跌弹斑鸠:"diē dàn bān jiū",雕心雁爪:"diāo xīn yàn zhǎo",颠倒衣裳:"diān dǎo yī cháng",德薄能鲜:"dé bó néng xiǎn",得马折足:"dé mǎ shé zú",蹈其覆辙:"dǎo qí fù zhé",捣虚撇抗:"dǎo xū piē kàng",倒载干戈:"dào zài gān gē",倒裳索领:"dào cháng suǒ lǐng",倒果为因:"dào guǒ wéi yīn",叨在知己:"tāo zài zhī jǐ",叨陪末座:"tāo péi mò zuò",党豺为虐:"dǎng chái wéi nüè",当轴处中:"dāng zhóu chǔ zhōng",当着不着:"dāng zhuó bù zhuó",当务始终:"dāng wù shǐ zhōng",淡汝浓抹:"dàn rǔ nóng mǒ",弹丸脱手:"tán wán tuō shǒu",弹铗无鱼:"dàn jiá wú yú",箪食瓢饮:"dān sì piáo yǐn",大璞不完:"dà pú bù wán",大明法度:"dà míng fǎ dù",大车以载:"dà chē yǐ zài",打闷葫芦:"dǎ mèn hú lu",沓来踵至:"tà lái zhǒng zhì",厝火燎原:"cuò huǒ liǎo yuán",撮科打哄:"cuō kē dǎ hòng",寸积铢累:"cùn jī zhū lěi",啛啛喳喳:"cuì cuì chā chā",摧折豪强:"cuī zhé háo qiáng",摧刚为柔:"cuī gāng wéi róu",从俗就简:"cóng sú jiù jiǎn",此发彼应:"cǐ fā bǐ yīng",此唱彼和:"cǐ chàng bǐ hè",慈悲为本:"cí bēi wéi běn",纯属骗局:"chún shǔ piàn jú",春笋怒发:"chūn sǔn nù fā",垂头搨翼:"chuí tóu tà yì",传为笑谈:"chuán wéi xiào tán",传风扇火:"chuán fēng shān huǒ",穿红着绿:"chuān hóng zhuó lǜ",触处机来:"chù chǔ jī lái",处尊居显:"chǔ zūn jū xiǎn",处堂燕雀:"chǔ táng yàn què",处实效功:"chǔ shí xiào gōng",处高临深:"chǔ gāo lín shēn",出入无间:"chū rù wú jiān",出门应辙:"chū mén yīng zhé",出处语默:"chū chǔ yǔ mò",出处殊途:"chū chǔ shū tú",出处进退:"chū chǔ jìn tuì",愁山闷海:"chóu shān mèn hǎi",冲冠眦裂:"chōng guàn zì liè",齿牙为祸:"chǐ yá wéi huò",尺二冤家:"chǐ èr yuān jia",尺短寸长:"chǐ duǎn cùn cháng",尺寸之功:"chǐ cùn zhī gōng",城北徐公:"chéng běi xú gōng",成败兴废:"chéng bài xīng fèi",趁水和泥:"chèn shuǐ huò ní",称雨道晴:"chēng yǔ dào qíng",称体载衣:"chēng tǐ zài yī",称体裁衣:"chèn tǐ cái yī",称家有无:"chèn jiā yǒu wú",称德度功:"chēng dé duó gōng",沉吟章句:"chén yín zhāng jù",沉吟不决:"chén yín bù jué",沉疴宿疾:"chén kē sù jí",扯纤拉烟:"chě qiàn lā yān",扯顺风旗:"chě shùn fēng qí",车载船装:"chē zǎi chuán zhuāng",朝升暮合:"zhāo shēng mù gě",朝攀暮折:"zhāo pān mù shé",超今冠古:"chāo jīn guàn gǔ",倡而不和:"chàng ér bú hè",畅所欲为:"chàng suǒ yù wéi",苌弘碧血:"cháng hóng bì xiě",长幼尊卑:"zhǎng yòu zūn bēi",长绳系日:"cháng shéng jì rì",长年三老:"zhǎng nián sān lǎo",长春不老:"cháng chūn bù lǎo",长傲饰非:"zhǎng ào shì fēi",昌亭旅食:"chāng tíng lǚ shí",禅絮沾泥:"chán xù zhān ní",差三错四:"chā sān cuò sì",层台累榭:"céng tái lěi xiè",层见迭出:"céng xiàn dié chū",藏踪蹑迹:"cáng zōng niè jì",苍蝇见血:"cāng yíng jiàn xiě",餐松啖柏:"cān sōng dàn bó",骖风驷霞:"cān fēng sì xiá",参伍错综:"cēn wǔ cuò zōng",参辰卯酉:"shēn chén mǎo yǒu",材优干济:"cái yōu gān jǐ",材薄质衰:"cái bó zhì shuāi",才大难用:"cái dà nán yòng",才薄智浅:"cái bó zhì qiǎn",不足为意:"bù zú wéi yì",不足为据:"bù zú wéi jù",不足为法:"bù zú wéi fǎ",不足齿数:"bù zú chǐ shǔ",不着疼热:"bù zhuó téng rè",不知薡蕫:"bù zhī dǐng dǒng",不越雷池:"bú yuè léi chí",不相为谋:"bù xiāng wéi móu",不贪为宝:"bù tān wéi bǎo",不了而了:"bù liǎo ér liǎo",不可揆度:"bù kě kuí duó",不遑启处:"bù huáng qǐ chǔ",不当不正:"bù dāng bú zhèng",不差什么:"bú chà shén me",不差累黍:"bù chā lěi shǔ",擘两分星:"bò liǎng fēn xīng",簸土扬沙:"bǒ tǔ yáng shā",薄物细故:"bó wù xì gù",薄寒中人:"bó hán zhòng rén",博文约礼:"bó wén yuē lǐ",播糠眯目:"bō kāng mí mù",剥皮抽筋:"bō pí chōu jīn",剥肤椎髓:"bō fū chuí suǐ",波属云委:"bō zhǔ yún wěi",波骇云属:"bō hài yún zhǔ",兵微将寡:"bīng wēi jiàng guǎ",兵强将勇:"bīng qiáng jiàng yǒng",兵多将广:"bīng duō jiàng guǎng",兵不由将:"bīng bù yóu jiàng",冰解的破:"bīng jiě dì pò",彬彬济济:"bīn bīn jǐ jǐ",摽梅之年:"biào méi zhī nián",表里为奸:"biǎo lǐ wéi jiān",飙发电举:"biāo fā diàn jǔ",变贪厉薄:"biàn tān lì bó",敝盖不弃:"bì gài bú qì",秕言谬说:"bǐ yán miù shuō",比物属事:"bǐ wù zhǔ shì",被山带河:"pī shān dài hé",被甲枕戈:"pī jiǎ zhěn gē",被甲据鞍:"pī jiǎ jù ān",被褐怀玉:"pī hè huái yù",被发缨冠:"pī fà yīng guàn",背曲腰躬:"bèi qǔ yāo gōng",北窗高卧:"běi chuāng gāo wò",北辰星拱:"běi chén xīng gǒng",北鄙之音:"běi bǐ zhī yīn",卑宫菲食:"bēi gōng fěi shí",暴衣露冠:"pù yī lù guàn",暴腮龙门:"pù sāi lóng mén",暴露文学:"bào lù wén xué",暴虎冯河:"bào hǔ píng hé",抱蔓摘瓜:"bào wàn zhāi guā",抱法处势:"bào fǎ chǔ shì",褒贬与夺:"bāo biǎn yǔ duó",帮闲钻懒:"bāng xián zuān lǎn",拜将封侯:"bài jiàng fēng hóu",百兽率舞:"bǎi shòu shuài wǔ",百孔千创:"bǎi kǒng qiān chuāng",白衣卿相:"bái yī qīng xiàng",白首为郎:"bái shǒu wéi láng",白首相知:"bái shǒu xiāng zhī",把玩无厌:"bǎ wán wú yàn",拔锅卷席:"bá guō juǎn xí",拔本塞源:"bá běn sè yuán",傲不可长:"ào bù kě zhǎng",熬更守夜:"áo gēng shǒu yè",安时处顺:"ān shí chǔ shùn",安身为乐:"ān shēn wéi lè",安老怀少:"ān lǎo huái shào",安步当车:"ān bù dàng chē",爱人好士:"ài rén hào shì",矮人观场:"ǎi rén guān chǎng",捱风缉缝:"ái fēng jī fèng",挨山塞海:"āi shān sè hǎi",阿家阿翁:"ā jiā ā wēng",阿党相为:"ē dǎng xiāng wéi",追亡逐北:"zhuī wáng zhú běi",竹篮打水:"zhú lán dá shuǐ",知疼着热:"zhī téng zháo rè",语不惊人:"yǔ bù jīng rén",于今为烈:"yú jīn wéi liè",一日三省:"yí rì sān xǐng",穴居野处:"xué jū yě chǔ",五脊六兽:"wǔ jǐ liù shòu",无声无臭:"wú shēng wú xiù",谓予不信:"wèi yú bú xìn",舍身为国:"shě shēn wéi guó",杀妻求将:"shā qī qiú jiàng",强作解人:"qiǎng zuò jiě rén",气冲斗牛:"qì chōng dǒu niú",临深履薄:"lín shēn lǚ bó",钧天广乐:"jūn tiān guǎng yuè",艰难竭蹶:"jiān nán jié jué",夹七夹八:"jiā qī jiā bā",混混噩噩:"hún hún è è",厚古薄今:"hòu gǔ bó jīn",鬼怕恶人:"guǐ pà è rén",伽马射线:"gā mǎ shè xiàn",佛头着粪:"fó tóu zhuó fèn",奉为至宝:"fèng wéi zhì bǎo",登坛拜将:"dēng tán bài jiàng",晨昏定省:"chén hūn dìng xǐng",察察为明:"chá chá wéi míng",博闻强识:"bó wén qiáng zhì",避难就易:"bì nán jiù yì",了无生机:"liǎo wú shēng jī",有一说一:"yǒu yī shuō yī",独一无二:"dú yī wú èr",说一不二:"shuō yī bù èr",举一反三:"jǔ yī fǎn sān",数一数二:"shǔ yī shǔ èr",杀一儆百:"shā yī jǐng bǎi",丁一卯二:"dīng yī mǎo èr",丁一确二:"dīng yī què èr",不一而止:"bù yī ér zhǐ",无一幸免:"wú yī xìng miǎn",表里不一:"biǎo lǐ bù yī",良莠不一:"liáng yǒu bù yī",心口不一:"xīn kǒu bù yī",言行不一:"yán xíng bù yī",政令不一:"zhèng lìng bù yī",参差不一:"cēn cī bù yī",纷纷不一:"fēn fēn bù yī",毁誉不一:"huǐ yù bù yī",不一而三:"bù yī ér sān",百不一遇:"bǎi bù yī yù",言行抱一:"yán xíng bào yī",瑜百瑕一:"yú bǎi xiá yī",背城借一:"bèi chéng jiè yī",凭城借一:"píng chéng jiè yī",劝百讽一:"quàn bǎi fěng yī",群居和一:"qún jū hé yī",百不获一:"bǎi bù huò yī",百不失一:"bǎi bù shī yī",百无失一:"bǎi wú shī yī",万不失一:"wàn bù shī yī",万无失一:"wàn wú shī yī",合而为一:"hé ér wéi yī",合两为一:"hé liǎng wéi yī",合二为一:"hé èr wéi yī",天下为一:"tiān xià wéi yī",相与为一:"xiāng yǔ wéi yī",较若画一:"jiào ruò huà yī",较如画一:"jiào rú huà yī",斠若画一:"jiào ruò huà yī",言行若一:"yán xíng ruò yī",始终若一:"shǐ zhōng ruò yī",终始若一:"zhōng shǐ ruò yī",惟精惟一:"wéi jīng wéi yī",众多非一:"zhòng duō fēi yī",不能赞一:"bù néng zàn yī",问一答十:"wèn yī dá shí",一不扭众:"yī bù niǔ zhòng",一以贯之:"yī yǐ guàn zhī",一以当百:"yī yǐ dāng bǎi",百不当一:"bǎi bù dāng yī",十不当一:"shí bù dāng yī",以一警百:"yǐ yī jǐng bǎi",以一奉百:"yǐ yī fèng bǎi",以一持万:"yǐ yī chí wàn",以一知万:"yǐ yī zhī wàn",百里挑一:"bǎi lǐ tiāo yī",整齐划一:"zhěng qí huà yī",一来二去:"yī lái èr qù",一路公交:"yī lù gōng jiāo",一路汽车:"yī lù qì chē",一路巴士:"yī lù bā shì",朝朝朝落:"zhāo cháo zhāo luò",曲意逢迎:"qū yì féng yíng",一行不行:"yì háng bù xíng",行行不行:"háng háng bù xíng"},o_0=Object.keys(l_0).map(($)=>({zh:$,pinyin:l_0[$],probability:0.00000002,length:4,priority:r4.Normal,dict:Symbol("dict4")}))});var s_0,a_0;var t_0=m(()=>{a$();s_0={巴尔干半岛:"bā ěr gàn bàn dǎo",巴尔喀什湖:"bā ěr kā shí hú",不幸而言中:"bú xìng ér yán zhòng",布尔什维克:"bù ěr shí wéi kè",何乐而不为:"hé lè ér bù wéi",苛政猛于虎:"kē zhèng měng yú hǔ",蒙得维的亚:"méng dé wéi dì yà",民以食为天:"mín yǐ shí wéi tiān",事后诸葛亮:"shì hòu zhū gě liàng",物以稀为贵:"wù yǐ xī wéi guì",先下手为强:"xiān xià shǒu wéi qiáng",行行出状元:"háng háng chū zhuàng yuan",亚得里亚海:"yà dé lǐ yà hǎi",眼不见为净:"yǎn bú jiàn wéi jìng",竹筒倒豆子:"zhú tǒng dào dòu zi"},a_0=Object.keys(s_0).map(($)=>({zh:$,pinyin:s_0[$],probability:0.00000002,length:5,priority:r4.Normal,dict:Symbol("dict5")}))});var e_0;var $v0=m(()=>{_l();n_0();m_0();r_0();t_0();hl();e_0=[...a_0,...o_0,...d_0,...c_0,...y_0,...b_0]});function Yv0($,Y){if(!$)return Y;if($.decimalY.probability?$:Y;else return Y}function Uv0($){if($.probability<0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001)$.probability*=1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,$.decimal+=1}function MS1($){if($.priority===r4.Custom)return-($.length*$.length*100);if($.priority===r4.Surname)return-($.length*$.length*10);return 0}function zv0($,Y){let U=[],z={probability:1,decimal:0,nextIndex:Y},Q=$.length-1,J=$[Q];for(let G=Y-1;G>=0;G--){let H=G+1>=Y?z:U[G+1],W=H.pattern?G+1:H.nextIndex;while(J&&J.index+J.length-1===G){let Z=J.index,q={probability:J.probability*H.probability,decimal:H.decimal+MS1(J),pattern:J,nextIndex:W};Uv0(q),U[Z]=Yv0(U[Z],q),J=$[--Q]}let X={probability:0.0000000000001*H.probability,decimal:0,nextIndex:W};Uv0(X),U[G]=Yv0(U[G],X)}let I=[],K=0;while(K{a$()});function Jv0($,Y){if(!$)return Y;return $.count<=Y.count?$:Y}function OS1($){if($.priority===r4.Custom)return-($.length*$.length*1e5);if($.priority===r4.Surname)return-($.length*$.length*100);return 1}function Iv0($,Y){let U=[],z=$.length-1,Q=$[z];for(let J=Y-1;J>=0;J--){let I=J+1>=Y?{count:0,patterns:[]}:U[J+1];while(Q&&Q.index+Q.length-1===J){let G=Q.index,H={count:OS1(Q)+I.count,patterns:I.patterns,concatPattern:Q};U[G]=Jv0(U[G],H),Q=$[--z]}let K={count:1+I.count,patterns:I.patterns};if(U[J]=Jv0(U[J],K),U[J].concatPattern)U[J].patterns=U[J].patterns.concat(U[J].concatPattern),U[J].concatPattern=void 0,delete U[J+1]}return U[0].patterns.reverse()}var Kv0=m(()=>{a$()});function NS1($,Y){if(Y.index+Y.length<=$.index)return!1;if(Y.priority>$.priority)return!1;if(Y.priority===$.priority&&Y.length>$.length)return!1;return!0}function Gv0($){let Y=[];for(let U=$.length-1;U>=0;){let{index:z}=$[U],Q=U-1;while(Q>=0&&NS1($[U],$[Q]))Q--;if(Q<0||$[Q].index+$[Q].length<=z)Y.push($[U]);U=Q}return Y.reverse()}var Hv0=()=>{};class Sl{constructor($,Y=""){this.children=new Map,this.fail=null,this.patterns=[],this.parent=$,this.key=Y}}class Zv0{constructor(){this.dictMap=new Map,this.queues=[],this.root=new Sl(null)}build($){this.buildTrie($),this.buildFailPointer()}buildTrie($){for(let Y of $){let U=F$(Y.zh),z=this.root;for(let Q=0;Q{$=$.concat(U)}),this.queues=[];while($.length>Y){let U=$[Y++],z=U.parent&&U.parent.fail,Q=U.key;while(z&&!z.children.has(Q))z=z.fail;if(!z)U.fail=this.root;else U.fail=z.children.get(Q)}}addPatternToDictMap($){if(!this.dictMap.has($.dict))this.dictMap.set($.dict,new Set);this.dictMap.get($.dict).add($)}addNodeToQueues($,Y){if(!this.queues[Y])this.queues[Y]=[];this.queues[Y].push($)}insertPattern($,Y){for(let U=$.length-1;U>=0;U--){let z=$[U];if(Y.priority===z.priority&&Y.probability>=z.probability)$[U+1]=z;else if(Y.priority>z.priority)$[U+1]=z;else{$[U+1]=Y;return}}$[0]=Y}removeDict($){if(this.dictMap.has($))this.dictMap.get($).forEach((U)=>{U.node.patterns=U.node.patterns.filter((z)=>z!==U)}),this.dictMap.delete($)}match($,Y,U=F$($)){let z=this.root,Q=[];for(let J=0;J{if(Y==="off")return W.priority!==r4.Surname;else if(Y==="head")return W.length-1-J===0;else return!0});if(G)Q.push(Object.assign(Object.assign({},G),{index:J-G.length+1}));let H=z.fail;while(H!==null){let W=H.patterns.find((X)=>{if(Y==="off")return X.priority!==r4.Surname;else if(Y==="head")return X.length-1-J===0;else return!0});if(W)Q.push(Object.assign(Object.assign({},W),{index:J-W.length+1}));H=H.fail}}}return Q}search($,Y,U=2,z=F$($)){let Q=this.match($,Y,z);if(U===1)return Gv0(Q);else if(U===3)return Iv0(Q,z.length);return zv0(Q,z.length)}}function PT(){if(!Xv0)gl.build(e_0),Xv0=!0}function DS1(){if(typeof requestIdleCallback==="function")requestIdleCallback(()=>PT());else setTimeout(PT,0)}var Wv0,Xv0=!1,gl;var qv0=m(()=>{$v0();Qv0();Kv0();Hv0();a$();v9();(function($){$[$.ReverseMaxMatch=1]="ReverseMaxMatch",$[$.MaxProbability=2]="MaxProbability",$[$.MinTokenization=3]="MinTokenization"})(Wv0||(Wv0={}));gl=new Zv0;DS1()});function Vv0(){return AS1}var AS1;var Lv0=m(()=>{AS1=[]});function yl($){let Y="",U="",z="";if(g_0.indexOf(Aq($))!==-1)Y=$[0],U=$[1],z=$.slice(2);else U=$[0]||"",z=$.slice(1)||"";return{head:Y,body:U,tail:z}}function PS1($,Y,U){if(x_0.indexOf($)===-1)return Dq($);if(Y===U&&Y&&Dq(Y)!==Y)return Aq(Dq($));if(U&&!k_0[$].includes(U)){let z=Dq(U);if(z!==U){let Q=Pq(z),J=Rl[$];for(let I in J)if(J[I].indexOf(Number(Q))!==-1)return I}}}function TS1($,Y,U){if($==="了"&&(!Y||!T5.get(Y)))return"liǎo"}function jS1($,Y,U){if($==="々")if(!Y||!T5.get(Y))return"tóng";else return T5.get(Y).split(" ")[0]}function ES1($){let Y=[];if($.includes("々"))Y.push(jS1);return Y.push(TS1),Y.push(PS1),Y}function Fv0($,Y,U,z){for(let Q of z){let J=Q($,Y,U);if(J)return J}return Dq($)}var Dq=($)=>{let Y=T5.get($);if(!Y)return $;let U=Y.indexOf(" ");return U===-1?Y:Y.slice(0,U)},BS1=($)=>{let Y=[],U=Vv0();for(let z=0;z<$.length;z++){let Q=$[z],J=Q.charCodeAt(0);if(U[J])Y[z]=U[J];else Y[z]=Q}return Y.join("")},wv0=($,Y,U,z,Q,J=F$($))=>{PT();let I=Q?BS1($):$,K=Q?F$(I):J,G=gl.search(I,U,z,K),H=0,W=ES1($);for(let X=0;X{return $.replace(/(ā|á|ǎ|à)/g,"a").replace(/(ō|ó|ǒ|ò)/g,"o").replace(/(ē|é|ě|è)/g,"e").replace(/(ī|í|ǐ|ì)/g,"i").replace(/(ū|ú|ǔ|ù)/g,"u").replace(/(ǖ|ǘ|ǚ|ǜ)/g,"ü").replace(/(n̄|ń|ň|ǹ)/g,"n").replace(/(m̄|ḿ|m̌|m̀)/g,"m").replace(/(ê̄|ế|ê̌|ề)/g,"ê")},Mv0=($,Y="off")=>{let U=kK($,Y);if(U.length>0)return U.map((z)=>({origin:$,result:z,isZh:!0,originPinyin:z}));else return[{origin:$,result:$,isZh:!1,originPinyin:$}]},Bq=($,Y)=>{let U=$.split(" "),z=[],Q=[];for(let J of U)for(let I of __0)if(J.startsWith(I)){let K=J.slice(I.length);if(v_0.indexOf(I)!==-1&&h_0.indexOf(K)!==-1)K=S_0[K];z.push(I),Q.push(K);break}if(Y==="standard")z.forEach((J,I)=>{if(J==="y"||J==="w")z[I]=""});return{final:Q.join(" "),initial:z.join(" ")}},TT=($)=>{let{final:Y}=Bq($);return yl(Y)},Pq=($)=>{let Y=/(ā|ō|ē|ī|ū|ǖ|n̄|m̄|ê̄)/,U=/(á|ó|é|í|ú|ǘ|ń|ḿ|ế)/,z=/(ǎ|ǒ|ě|ǐ|ǔ|ǚ|ň|m̌|ê̌)/,Q=/(à|ò|è|ì|ù|ǜ|ǹ|m̀|ề)/,J=/(a|o|e|i|u|ü|ê)/,I=/(n|m)$/,K=[];return $.split(" ").forEach((H)=>{if(Y.test(H))K.push("1");else if(U.test(H))K.push("2");else if(z.test(H))K.push("3");else if(Q.test(H))K.push("4");else if(J.test(H))K.push("0");else if(I.test(H))K.push("0");else K.push("")}),K.join(" ")},Ov0=($,Y)=>{let U=Aq($).split(" "),z=Pq(Y).split(" "),Q=[];return U.forEach((J,I)=>{Q.push(`${J}${z[I]}`)}),Q.join(" ")},kl=($,Y)=>{let U=[];return $.split(" ").forEach((Q)=>{U.push(Y?Q[0]:Q)}),U.join(" ")};var xl=m(()=>{_l();DT();BT();qv0();a$();v9();Lv0()});function fl($,Y){if(Y instanceof RegExp){if(Y.global||Y.sticky)Y.lastIndex=0;return Y.test($)}return!0}var Nv0=($)=>{if(typeof $!=="string")return console.error("The first param of pinyin is error: "+$+' is not assignable to type "string".'),!1;else return!0},Dv0=($,Y)=>{let U=Y.nonZh;if(U==="removed")return $.filter((z)=>z.isZh||!fl(z.origin,Y.nonZhScope));else if(U==="consecutive"){for(let z=$.length-2;z>=0;z--){let Q=$[z],J=$[z+1];if(!Q.isZh&&!J.isZh&&fl(Q.origin,Y.nonZhScope)&&fl(J.origin,Y.nonZhScope))Q.origin+=J.origin,Q.result+=J.result,J.delete=!0}return $.filter((z)=>!z.delete)}else return $},Av0=($,Y)=>{if(Y.multiple&&r2($)===1)return Mv0($,Y.surname);else return!1},Bv0=($,Y)=>{switch(Y.pattern){case"pinyin":break;case"num":$.forEach((U)=>{U.result=U.isZh?Pq(U.result):""});break;case"initial":$.forEach((U)=>{U.result=U.isZh?Bq(U.result,Y.initialPattern).initial:""});break;case"final":$.forEach((U)=>{U.result=U.isZh?Bq(U.result,Y.initialPattern).final:""});break;case"first":$.forEach((U)=>{U.result=kl(U.result,U.isZh)});break;case"finalHead":$.forEach((U)=>{U.result=U.isZh?TT(U.result).head:""});break;case"finalBody":$.forEach((U)=>{U.result=U.isZh?TT(U.result).body:""});break;case"finalTail":$.forEach((U)=>{U.result=U.isZh?TT(U.result).tail:""});break}},Pv0=($,Y)=>{switch(Y.toneType){case"symbol":break;case"none":$.forEach((U)=>{if(U.isZh)U.result=Aq(U.result)});break;case"num":{$.forEach((U)=>{if(U.isZh)U.result=Ov0(U.result,U.originPinyin)});break}}},Tv0=($,Y)=>{if(Y.v)$.forEach((U)=>{if(U.isZh)U.result=U.result.replace(/ü/g,typeof Y.v==="string"?Y.v:"v")})},jv0=($,Y,U)=>{if(Y.multiple&&r2(U)===1){let z="";$=$.filter((Q)=>{let J=Q.result!==z;return z=Q.result,J})}if(Y.type==="array")return $.map((z)=>z.result);if(Y.type==="all")return $.map((z)=>{let Q=z.isZh?z.result:"",{initial:J,final:I}=Bq(Q,Y.initialPattern),{head:K,body:G,tail:H}=yl(I),W=[];if(Q!=="")W=[Q].concat(kK(z.origin,Y.surname).filter((X)=>X!==Q));return{origin:z.origin,pinyin:Q,initial:J,final:I,first:kl(z.result,z.isZh),finalHead:K,finalBody:G,finalTail:H,num:Number(Pq(z.originPinyin)),isZh:z.isZh,polyphonic:W,inZhRange:!!T5.get(z.origin),result:z.result}});return $.map((z)=>z.result).join(Y.separator)},Ev0=($,Y)=>{if(Y===!1)$.forEach((U)=>{if(U.origin==="一")U.result=U.originPinyin="yī";else if(U.origin==="不")U.result=U.originPinyin="bù"});return $};var Cv0=m(()=>{v9();xl();DT();BT()});function jT($,Y){if(Y=Object.assign(Object.assign({},CS1),Y||{}),!Nv0($))return $;if($==="")return Y.type==="array"||Y.type==="all"?[]:"";if(Y.surname===void 0)if(Y.mode==="surname")Y.surname="all";else Y.surname="off";if(Y.type==="all")Y.pattern="pinyin";if(Y.pattern==="num")Y.toneType="none";if(Y.removeNonZh)Y.nonZh="removed";let z=F$($),Q=Array(z.length),{list:J}=wv0($,Q,Y.surname,Y.segmentit,Y.traditional,z);J=Ev0(J,Y.toneSandhi),J=Dv0(J,Y);let I=Av0($,Y);if(I)J=I;return Bv0(J,Y),Pv0(J,Y),Tv0(J,Y),jv0(J,Y,$)}var CS1;var Rv0=m(()=>{v9();xl();Cv0();CS1={pattern:"pinyin",toneType:"symbol",type:"string",multiple:!1,mode:"normal",removeNonZh:!1,nonZh:"spaced",v:!1,separator:" ",toneSandhi:!0,segmentit:2}});function kS1($,Y){if(!Y)return null;let U=[],z=0,Q=F$($),J=0;for(let I=0;I$.replace(vS1,(Y)=>{var U;return(U=_v0[Y])!==null&&U!==void 0?U:Y}),vv0=($,Y)=>{let U=kK($);return(U.length?U:[$]).map((z)=>{let Q=hS1(z);return Y.v?Q.replace(/ü/g,typeof Y.v==="string"?Y.v:"v"):Q})},ul=($,Y,U)=>{if((U===null||U===void 0?void 0:U.precision)==="any")U.lastPrecision="any";if(U===null||U===void 0?void 0:U.v){let J=typeof U.v==="string"?U.v:"v";Y=Y.replace(/ü/g,J)}let z=Object.assign(Object.assign({},RS1),U||{});if(z.insensitive!==!1)$=$.toLowerCase(),Y=Y.toLowerCase();if(z.space==="ignore")Y=Y.replace(/\s/g,"");let Q=(U===null||U===void 0?void 0:U.precision)==="any"?gS1($,Y,z):yS1($,Y,z);return kS1($,Q)},SS1=($,Y)=>{let U=0;for(let z=0;z<$.length;z++)if($[z]===Y[U])U++;return U},gS1=($,Y,U)=>{let z=[],Q=F$($),J=U.space==="ignore";for(let I=0;I{let W=SS1(H,Y);if(W>G)G=W}),G)Y=Y.slice(G),z.push(I);if(!Y)break}if(Y)return null;if(U.continuous){let I=z;if(z.some((G,H)=>H>0&&G!==I[H-1]+1))return null}if(U.space==="ignore")z=z.filter((I)=>Q[I]!==" ");return z.length?z:null},yS1=($,Y,U)=>{let z=F$($),Q=Array(z.length+1);for(let J=0;JQ[J][I].length)Q[J][I]=W;if(I===Y.length)return Q[J][I]}if(Y.length-I<=_S1){if(K.some((X)=>{if(U.lastPrecision==="any")return X.includes(Y.slice(I-1,Y.length));if(U.lastPrecision==="start")return X.startsWith(Y.slice(I-1,Y.length));if(U.lastPrecision==="first")return X[0]===Y.slice(I-1,Y.length);if(U.lastPrecision==="every")return X===Y.slice(I-1,Y.length);return!1}))return[...Q[J-1][I-1],J-1]}let G=U.precision;if(G==="start")K.forEach((W)=>{let X=I,Z=[...Q[J-1][I-1],J-1];while(X<=Y.length&&W.startsWith(Y.slice(I-1,X))){if(!Q[J][X]||Z.length>Q[J][X].length)Q[J][X]=Z;X++}});if(G==="first"){if(K.some((W)=>W[0]===Y[I-1])){let W=[...Q[J-1][I-1],J-1];if(!Q[J][I]||W.length>Q[J][I].length)Q[J][I]=W}}let H=K.find((W)=>W===Y.slice(I-1,I-1+W.length));if(H){let W=[...Q[J-1][I-1],J-1],X=I-1+H.length;if(!Q[J][X]||W.length>Q[J][X].length)Q[J][X]=W}}}return null};var hv0=m(()=>{v9();BT();RS1={precision:"first",continuous:!1,space:"ignore",lastPrecision:"start",insensitive:!0,v:!1},_v0={"ā":"a","á":"a","ǎ":"a","à":"a","ō":"o","ó":"o","ǒ":"o","ò":"o","ē":"e","é":"e","ě":"e","è":"e","ī":"i","í":"i","ǐ":"i","ì":"i","ū":"u","ú":"u","ǔ":"u","ù":"u","ǖ":"ü","ǘ":"ü","ǚ":"ü","ǜ":"ü","n̄":"n","ń":"n","ň":"n","ǹ":"n","m̄":"m","ḿ":"m","m̌":"m","m̀":"m","ê̄":"ê","ế":"ê","ê̌":"ê","ề":"ê"},vS1=new RegExp(Object.keys(_v0).join("|"),"g")});var Sv0=m(()=>{Rv0();hv0()});function gv0($,Y){let U=$.length,z=Y.length;if(U===0)return z;if(z===0)return U;let Q=Array.from({length:z+1},(I,K)=>K),J=Array(z+1).fill(0);for(let I=1;I<=U;I+=1){J[0]=I;for(let G=1;G<=z;G+=1)if($[I-1]===Y[G-1])J[G]=Q[G-1]??0;else{let H=Q[G-1]??0,W=J[G-1]??0,X=Q[G]??0;J[G]=Math.min(H,W,X)+1}let K=Q;Q=J,J=K}return Q[z]??0}function yv0($,Y){if(!$||!Y)return 999;if(Y.includes($))return 0;let U=$.length;if(Y.lengthU.toLowerCase().replace(/zh/g,"z").replace(/ch/g,"c").replace(/sh/g,"s").replace(/iang/g,"ian").replace(/uang/g,"uan").replace(/ang/g,"an").replace(/eng/g,"en").replace(/ing/g,"in")).join("")}function xv0($,Y){if(!$||!Y)return!1;let U=0;for(let z=0;z=2){if(jT(Q,{pattern:"first",toneType:"none",type:"array"}).join("").toLowerCase().includes(z))return{matched:!0,score:0.9,reason:"initials"}}if(J)try{let X=ul(Q,z,{precision:"start"});if(X&&X.length>0)return{matched:!0,score:0.88,reason:"pinyin"}}catch{}let K="",G="";if(J||I){if(K=kv0(Q),G=kv0(z),G.length>=2&&K.includes(G))return{matched:!0,score:0.85,reason:"fuzzy_pinyin"}}let H=z.length<=2?0:z.length<=5?1:2,W=U.maxDistance??H;if(W>0){let X=yv0(z,Q);if(X<=W)return{matched:!0,score:Math.max(0.6,0.8-X*0.1),reason:"levenshtein"};if((J||I)&&G.length>=3&&K.length>=3){let Z=yv0(G,K);if(Z<=W)return{matched:!0,score:Math.max(0.6,0.78-Z*0.1),reason:"levenshtein"}}}if(z.length>=3){if(xv0(z,Q)||(J||I)&&xv0(G,K))return{matched:!0,score:0.65,reason:"subsequence"}}return{matched:!1,score:0,reason:"none"}}function fS1($,Y,U={}){let z=[{text:$.name,weight:1.2},{text:$.id,weight:1.1},{text:$.source.staffId,weight:1},{text:$.source.domain,weight:1},{text:$.source.corpId,weight:1},{text:$.seal.tenantSlug,weight:1},{text:$.source.tenantSlug,weight:1},{text:$.source.tenantName,weight:1.1},{text:$.testCorpId,weight:1},{text:$.prodCorpId,weight:1},{text:$.environment??"production",weight:0.8},{text:$.source.type,weight:0.8},{text:$.source.provider,weight:0.8}],Q=0,J="none";for(let I of z){if(!I.text)continue;let K=xS1(Y,I.text,U);if(K.matched){let G=K.score*I.weight;if(G>Q)Q=G,J=K.reason}}return{matched:Q>0,score:Q,reason:J}}function fv0($,Y,U={}){let z=Y.trim();if(!z)return $;let Q=[];for(let J of $){let I=fS1(J,z,U);if(I.matched)Q.push({corp:J,score:I.score})}return Q.sort((J,I)=>I.score-J.score),Q.map((J)=>J.corp)}var uv0=m(()=>{Sv0()});import{existsSync as uS1,mkdirSync as bS1,readFileSync as iS1,writeFileSync as bv0}from"node:fs";import{homedir as cS1}from"node:os";import{join as ET}from"node:path";function iv0(){let $=process.env.SEAL_USE_MAPPINGS_DIR?.trim();if($)return $;return ET(cS1(),".config","seal-use","mappings")}function cv0($){let Y=iv0();bS1(Y,{recursive:!0,mode:448});let U=ET(Y,`${$.target.id}-v${$.target.publishedVersionNumber}.json`),z=ET(Y,`${$.target.id}-latest.json`),Q=JSON.stringify($,null,2);return bv0(U,Q,{encoding:"utf-8",mode:384}),bv0(z,Q,{encoding:"utf-8",mode:384}),U}function nv0($,Y){let U=iv0(),z;if(!Y||Y==="latest")z=`${$}-latest.json`;else{let J=String(Y).replace(/^v/i,"");z=`${$}-v${J}.json`}let Q=ET(U,z);if(!uS1(Q))return null;try{let J=iS1(Q,"utf-8");return JSON.parse(J)}catch{return null}}function pv0($,Y){if(!Y)return $;let U=Y.trim().toLowerCase();return $.filter((z)=>{return String(z.sourceRuleCode).toLowerCase()===U||String(z.targetRuleCode).toLowerCase()===U||z.sourceRuleId.toLowerCase()===U||z.targetRuleId.toLowerCase()===U||`#${z.sourceRuleCode}`.toLowerCase()===U||`#${z.targetRuleCode}`.toLowerCase()===U})}function dv0($,Y,U){let z=0,Q=Y!==void 0?new RegExp(`\\[Prod v${Y}\\s*·\\s*#(\\d+)(?:[^\\]]*)\\]`):/\[Prod draft\s*·\s*#(\d+)(?:[^\]]*)\]/;for(let I of U){if(!I.versionName)continue;let K=I.versionName.match(Q);if(K&&K[1]){let G=parseInt(K[1],10);if(!isNaN(G)&&G>z)z=G}}if(z>0)return z+1;if(!U.some((I)=>I.versionName&&/\[Prod v\d+/.test(I.versionName))){let I=U.filter((K)=>K.versionName&&K.versionName.includes(`Sync from ${$}`)).length;if(I>0)return I+1}return 1}function mv0($,Y,U,z){let Q=Y!==void 0?`Prod v${Y}`:"Prod draft",J=z!==void 0?` -> Test v${z}`:"";return`Sync from ${$} [${Q} · #${U}${J}]`}var bl=()=>{};async function xK($){let[Y,U]=await Promise.all([E00($),B1($)]),z=await W8(U);return{...Y,tenantId:z.tenant.id,tenantSlug:z.tenant.tenantSlug??Y.tenantSlug,tenantName:z.tenant.name,raw:{...typeof Y.raw==="object"&&Y.raw!==null?Y.raw:{},user:{id:z.user.id,name:z.user.name,isAdmin:z.user.isAdmin,providerUserId:z.user.providerUserId,hosecloudStaff:z.user.hosecloudStaff},tenant:z.tenant}}}var CT=m(()=>{i8();xS();X6()});import{existsSync as lv0,mkdirSync as ov0,writeFileSync as rv0}from"node:fs";import{randomBytes as nS1}from"node:crypto";import{join as sv0}from"node:path";function il($){if(!$)return;if($.length<=8)return"****";return`${$.slice(0,4)}...${$.slice(-4)}`}function pS1($){if($.source.type==="hose")return v7($,$.source);return $.seal.url??$.source.sealUrl}function dS1($){if($.type==="hose"){let Y=$.appKey??$.key;return{type:"hose",provider:"hosecloud",domain:$.domain,corpId:$.corpId,staffId:$.staffId,appKey:il(Y),hasAppSecurity:Boolean($.appSecurity??$.password),sealUrl:$.sealUrl}}if($.type==="seal")return{type:"seal",provider:$.provider??"seal",tenantId:$.tenantId,tenantSlug:$.tenantSlug,tenantName:$.tenantName,providerUserId:$.providerUserId,staffId:$.staffId,corpId:$.corpId,sealUrl:$.sealUrl,hasToken:Boolean($.token),tokenMasked:il($.token),expiresIn:$.expiresIn};return{type:"direct",provider:"direct",staffId:$.staffId,corpId:$.corpId,sealUrl:$.sealUrl,hasToken:Boolean($.token),tokenMasked:il($.token),expiresIn:$.expiresIn}}async function av0($,Y,U){if(!$||$==="list"||$==="search"||$==="find"){let z=(Y??h(U.options.query)??h(U.options.q))?.trim(),Q=Z0(U.options.strict)===!0,J=(h(U.options.env)??h(U.options.environment))?.trim().toLowerCase();if(($==="search"||$==="find")&&!z&&!J)throw m4("Usage: seal-use corps search [--env ] [--strict]");let I=h(U.options.corp),K=s8(),G=_4(),H=I??(G.stateful?G.defaultCorpId??K[0]?.id:void 0),W=K;if(J)W=W.filter((N)=>(N.environment??"production").toLowerCase()===J);if(z)W=fv0(W,z,{strict:Q});if(K.length===0)console.error("提示:当前未检测到企业配置。你可以使用 seal-use corps add-hose 或 seal-use corps add-seal 添加企业,或运行 seal-use help 查看说明。");else if(Q&&W.length===0&&($==="search"||$==="find")&&z)console.error(`提示:未在严格模式下匹配到企业 "${z}"。可以尝试省略 --strict 进行智能软搜索。`);let X=LA0(W,H),Z=!$||$==="list",q=Z0(U.options.all)===!0,V=s0(U.options.limit),M=V!==void 0?Math.max(1,V):Z&&!q?10:void 0,w=X;if(M!==void 0&&X.length>M){if(w=X.slice(0,M),Z&&!q&&V===void 0)console.error(`ℹ️ 当前共有 ${X.length} 家企业,已按最近 7 天使用频次展示前 ${M} 家。 +`}function Nq($){return $.replace(/([?&](?:accessToken|token|returnToken)=)[^&\s]+/gi,"$1").replace(/(Bearer\s+)[A-Za-z0-9._~+/=-]+/gi,"$1")}function f0($,Y={}){FS1($,Y);let U=`${JSON.stringify($,null,2)} +`;if(Y.outputFile){ZS1(Y.outputFile,U),console.log(JSON.stringify({outputFile:Y.outputFile,bytes:Buffer.byteLength(U,"utf-8")},null,2));return}console.log(U.trimEnd())}function FS1($,Y={}){if(Y.allowFull||Y.outputFile)return;let U=Buffer.byteLength(JSON.stringify($),"utf-8");if(U>LS1)throw new pB(`Output is large (${U} bytes). Use --summary, --fields, --count, or --output-file; pass --full only when you really need the full response.`)}function L_0($,Y){if(Y)return;let U=$&&typeof $==="object"?$:{},z=typeof U.count==="number"?U.count:void 0,Q=Array.isArray(U.rules)?U.rules.length:void 0,J=Buffer.byteLength(JSON.stringify($),"utf-8"),I=z??Q??0;if(I>qS1||J>VS1)throw new pB(`Rule list is large (${I} rules, ${J} bytes). Use "seal-use rules list --summary" or "seal-use rules count"; pass --full only when you really need full descriptions.`,"seal-use rules list --summary")}function C0($){return{allowFull:Z0($.full)===!0,outputFile:h($.outputFile)??h($["output-file"])}}function F_0($=[]){console.log(q_0($))}var qS1=100,VS1=120000,V_0,LS1=200000;var J4=m(()=>{D4();L$();jl();V_0=["code","status","strictness","scope","updatedAt"]});var w_0={};x8(w_0,{selectCorp:()=>j1,runToolResult:()=>T5,runTool:()=>k0,globalConfigSummary:()=>o2});function j1($){let Y=s8(),U=_4(),z=u2(Y,{stateful:U.stateful,defaultCorpId:U.defaultCorpId,corpId:$},S3());return VA0(z.id),z}function o2($=_4()){return{mode:$.stateful?"stateful":"stateless",stateful:$.stateful,...$.stateful&&$.defaultCorpId?{defaultCorpId:$.defaultCorpId}:{},...$.testEnterprisesDir?{testEnterprisesDir:$.testEnterprisesDir}:{},lint:$.lint,configFile:Gz()}}async function k0($,Y,U,z,Q={}){f0(await T5($,Y,U,z),Q)}async function T5($,Y,U,z){let Q=Lq.find((K)=>K.name===$);if(!Q)throw Error(`Unknown Seal tool: ${$}`);let J=Object.fromEntries(Object.entries(z).filter(([,K])=>K!==void 0)),I=Q.handler;return I(Y,J,{corp:U})}var f4=m(()=>{y3();iB();wq();J4()});import{existsSync as M_0}from"node:fs";async function O_0($,Y){if(!M_0($))throw Error(`File not found: ${$}`);let U=hz($);console.log(JSON.stringify(await vz(U.fileBuffer,U.fileName,Y),null,2))}async function OT($,Y,U,z,Q){if($==="ready"||$==="status"){let J=Y??h(Q.options.file)??h(Q.options.input),I=await QT(U,z,{filePath:J,webhook:h(Q.options.webhook)??h(Q.options.selector)});if(console.error(`[webhook-ready] 企业环境: ${I.corp.name} (${I.corp.id}) [${I.stateMode}]`),I.corp.tenant?.name)console.error(`[webhook-ready] 租户信息: ${I.corp.tenant.name} (${I.corp.tenant.id})`);console.error(`[webhook-ready] 凭证状态: ${I.authStatus==="ok"?"OK":`异常 (${I.authError})`}`),console.error(`[webhook-ready] Webhook 通道: ${I.activeWebhooks.length} 个可用`);for(let K of I.activeWebhooks){let G=K.isDefault?" [默认通道]":"";console.error(` - ${K.name} (${K.id}) mode=${K.mode}${G}`)}if(I.materialPack)console.error(`[webhook-ready] 材料包预检: ${I.materialPack.valid?`通过 (${I.materialPack.documentCount} 单)`:`失败 (${I.materialPack.errors?.join("; ")})`}`);if(I.ready)console.error(`\uD83D\uDFE2 ${I.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${I.nextAction}`);else console.error(`\uD83D\uDD34 准备阶段未通过: ${I.statusMessage}`),console.error(`\uD83D\uDC49 Next action: ${I.nextAction}`);console.log(JSON.stringify(I,null,2));return}if($==="replay"){let J=Y??h(Q.options.recordId)??h(Q.options["record-id"])??h(Q.options.id),I=h(Q.options.recordIds)??h(Q.options["record-ids"]),K=I?I.split(",").map((c)=>c.trim()).filter(Boolean):void 0,G=h(Q.options.sn)??h(Q.options.documentSn)??h(Q.options["document-sn"]),H=h(Q.options.sns)??h(Q.options["document-sns"]),W=H?H.split(",").map((c)=>c.trim()).filter(Boolean):void 0,X=s0(Q.options.limit),Z=h(Q.options.status),q=h(Q.options.startDate)??h(Q.options["start-date"]),V=h(Q.options.endDate)??h(Q.options["end-date"]);if(!J&&!K&&!G&&!W&&X===void 0)throw Error("Usage: seal-use webhook replay [--sn ] [--limit ] [--status ] [--webhook ] [--source-corp ] [--target-corp ] [--dry-run]");let F=h(Q.options.sourceCorp)??h(Q.options["source-corp"])??h(Q.options.prodCorp)??h(Q.options["prod-corp"]),M=h(Q.options.targetCorp)??h(Q.options["target-corp"])??h(Q.options.testCorp)??h(Q.options["test-corp"]),w=Z0(Q.options.force)===!0,{sourceCorp:N,targetCorp:O}=dB({sourceCorpId:F,targetCorpId:M,activeCorp:z,force:w},j1),D=N.id===z.id?U:await B1(N),P=O.id===z.id?U:await B1(O),T=h(Q.options.webhook)??h(Q.options.selector),A=h(Q.options.snSuffix)??h(Q.options["sn-suffix"]),j=h(Q.options.snPrefix)??h(Q.options["sn-prefix"]),C=h(Q.options.docIdSuffix)??h(Q.options["doc-id-suffix"]),b=h(Q.options.docIdPrefix)??h(Q.options["doc-id-prefix"]),x=Z0(Q.options.dryRun)??Z0(Q.options["dry-run"]),i=await tI({query:{recordId:J,recordIds:K,sn:G,sns:W,limit:X,status:Z,startDate:q,endDate:V},sourceClient:D,targetClient:P,sourceCorp:N,targetCorp:O,webhookSelector:T,snPrefix:j,snSuffix:A,docIdPrefix:b,docIdSuffix:C,dryRun:x});if(x){console.error(`[webhook-replay] 预览模式:已成功从 ${N.name} 提取单据并转换为 Webhook Payload(未实际推送)。`),console.log(JSON.stringify(i,null,2));return}if(i.success)if(i.totalCount===1&&i.replayedDocument)console.error(`\uD83D\uDFE2 成功重放单据「${i.replayedDocument.documentSN}」至 ${O.name} (${i.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDFE2 成功重放 ${i.successCount} 条单据(来自「${N.name}」)至「${O.name}」(${i.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDD34 单据重放部分或全部失败(成功 ${i.successCount} 条,失败 ${i.failureCount} 条)至「${O.name}」`);if(console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${O.id} --limit ${i.totalCount}`),console.log(JSON.stringify(i,null,2)),!i.success)process.exitCode=1;return}if($==="resource-pack"||$==="pack"||$==="material-pack"||$==="material-pack-push"||$==="resource-pack-push"){let J=$==="material-pack-push"||$==="resource-pack-push"?"push":Y;if(J==="export"||J==="pull"){let Z=h(Q.options.recordId)??h(Q.options["record-id"])??h(Q.options.id)??(Q.command[3]&&!Q.command[3].endsWith(".zip")&&!Q.command[3].startsWith("-")?Q.command[3]:void 0),q=h(Q.options.recordIds)??h(Q.options["record-ids"]),V=q?q.split(",").map((C)=>C.trim()).filter(Boolean):void 0,F=s0(Q.options.limit)??(Z||V?void 0:10),M=h(Q.options.status),w=h(Q.options.startDate)??h(Q.options["start-date"]),N=h(Q.options.endDate)??h(Q.options["end-date"]),O=h(Q.options.docIdPrefix)??h(Q.options["doc-id-prefix"]),D=h(Q.options.docIdSuffix)??h(Q.options["doc-id-suffix"]),P=Z0(Q.options["no-attachments"])===!0?!1:Z0(Q.options.attachments)!==!1,T=h(Q.options.output)??h(Q.options.outputFile)??h(Q.options["output-file"])??h(Q.options.o)??h(Q.options.file)??(Q.command[3]?.endsWith(".zip")?Q.command[3]:void 0),A=Z0(Q.options.toDownloads)??Z0(Q.options["to-downloads"])??!1,j=await UT(U,z,{recordId:Z,recordIds:V,limit:F,status:M,startDate:w,endDate:N,docIdPrefix:O,docIdSuffix:D,includeAttachments:P,outputFile:T,toDownloads:A});console.error(`\uD83D\uDFE2 成功导出 Webhook 资源包: ${j.filePath} (共 ${j.recordCount} 条单据,${j.attachmentCount} 个附件,${(j.fileSizeBytes/1024).toFixed(1)} KB)`),console.error(`\uD83D\uDC49 Next action: ${j.nextAction}`),console.log(JSON.stringify(j,null,2));return}let I=$==="material-pack-push"||$==="resource-pack-push"?h(Q.options.file)??h(Q.options.input):Q.command[3]??h(Q.options.file)??h(Q.options.input);if(!I)throw Error("Usage: seal-use webhook resource-pack [options]");if(!M_0(I))throw Error(`File not found: ${I}`);let K=hz(I);if(J==="preview"){console.log(JSON.stringify(await vz(K.fileBuffer,K.fileName),null,2));return}if(J!=="push")throw Error("Usage: seal-use webhook resource-pack [options]");let G=h(Q.options.webhook)??h(Q.options.selector),H=await J$(U,z.seal.endpoints.approvalStylePreferences),W;if(G)W=S7(H,G);else if(H.length===1)W=H[0],console.error(`\uD83D\uDC49 自动锁定唯一可用 Webhook 通道: ${W.name} (${W.id})`);else if(H.length>1){let Z=H.map((q)=>`"${q.name}" (${q.id})`).join(", ");throw Error(`当前租户存在多个 Webhook 通道 [${Z}],请通过 --webhook 指定目标通道。`)}else throw new w4("当前租户未配置任何 Webhook 集成通道。",1,`seal-use webhook add --name --result-url --corp ${z.id}`);let X=await zT(K.fileBuffer,K.fileName,{webhookUrl:W.incomingDocumentWebhook.url,secret:W.secret,materialPackFilePolicy:W.materialPackFilePolicy,customHeaders:A6(z.seal)});console.error(`\uD83D\uDFE2 Webhook 资源包推送完成 (成功 ${X.results.length} 条单据)`),console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${z.id} --limit ${X.results.length}`),console.log(JSON.stringify(X,null,2));return}if($==="list"){await k0("seal_webhook_list",U,z,{query:h(Q.options.query)??h(Q.options.keyword),includeSecret:MT(Q.options)},C0(Q.options));return}if($==="get"||$==="find"){let J=Y??h(Q.options.selector)??h(Q.options.id);if(!J)throw Error("Usage: seal-use webhook get [--show-secret]");await k0("seal_webhook_get",U,z,{selector:J,includeSecret:MT(Q.options)},C0(Q.options));return}if($==="add"||$==="create"){let J=h(Q.options.name)??Y,I=h(Q.options.resultUrl)??h(Q.options["result-url"])??h(Q.options.outgoingResultWebhook)??h(Q.options["outgoing-result-webhook"]);if(!J||!I)throw Error("Usage: seal-use webhook add --name --result-url [--mode assisted|semi_automatic|fully_automatic]");let K=wT(Q.options),G=gK(Q.options),H=Z0(Q.options.dryRun)??Z0(Q.options["dry-run"]);await k0("seal_webhook_add",U,z,{name:J,mode:FT(h(Q.options.mode)),outgoingResultWebhook:I,autoApprovalRate:K,secret:h(Q.options.secret),materialPackFilePolicy:G,dryRun:H},C0(Q.options));return}if($==="update"){let J=Y??h(Q.options.selector)??h(Q.options.id);if(!J)throw Error("Usage: seal-use webhook update [options]");let I=h(Q.options.secret),K=Z0(Q.options.rotateSecret)??Z0(Q.options["rotate-secret"]);if(I!==void 0&&K)throw m4("Use either --secret or --rotate-secret, not both");let G=h(Q.options.name),H=FT(h(Q.options.mode)),W=h(Q.options.resultUrl)??h(Q.options["result-url"])??h(Q.options.outgoingResultWebhook)??h(Q.options["outgoing-result-webhook"]),X=wT(Q.options),Z=gK(Q.options),q=Z0(Q.options.dryRun)??Z0(Q.options["dry-run"]);if(G===void 0&&H===void 0&&W===void 0&&X===void 0&&I===void 0&&!K&&Z===void 0&&!q)throw m4("Webhook update requires at least one field option");await k0("seal_webhook_update",U,z,{selector:J,name:G,mode:H,outgoingResultWebhook:W,autoApprovalRate:X,secret:I,rotateSecret:K,materialPackFilePolicy:Z,dryRun:q},C0(Q.options));return}if($==="delete"){let J=Y??h(Q.options.selector)??h(Q.options.id),I=Z0(Q.options.dryRun)??Z0(Q.options["dry-run"]);if(!J)throw Error("Usage: seal-use webhook delete [--yes|--dry-run]");if(Z0(Q.options.yes)!==!0&&!I)throw A9("Refusing to delete Webhook integration without --yes",`seal-use webhook delete ${J} --corp ${z.id} --yes`);await k0("seal_webhook_delete",U,z,{selector:J,confirm:!0,dryRun:I},C0(Q.options));return}throw Error(`Unknown webhook command: ${$??""}. Run 'seal-use help' for available commands.`)}var Cl=m(()=>{i8();f4();X6();X6();SZ();Xl();D4();J4();L$()});async function N_0($,Y,U,z,Q){if($==="replay"){await OT("replay",Y,U,z,Q);return}if($==="summary"){let J=await T5("seal_approval_runs_summary",U,z,{date:h(Q.options.date),timezone:h(Q.options.timezone),limit:s0(Q.options.limit),startDate:h(Q.options.startDate),endDate:h(Q.options.endDate),status:h(Q.options.status),taskMode:h(Q.options.taskMode),manualApprovalStatus:h(Q.options.manualApprovalStatus),sourceDocumentSN:h(Q.options.sourceDocumentSN),sourceDocumentId:h(Q.options.sourceDocumentId),humanResult:h(Q.options.humanResult),query:h(Q.options.query)});if(J?.matched===0&&J?.total>0)console.error(`提示:在 ${J.date} 未匹配到记录(该企业共有 ${J.total} 条历史记录)。可使用 --date YYYY-MM-DD 指定日期,或运行 seal-use approval-runs list --limit 10 查看最近记录。`);f0(J,C0(Q.options));return}if($==="stats"){let J=await T5("seal_approval_runs_stats",U,z,{since:h(Q.options.since),dedupeBy:h(Q.options.dedupeBy)??h(Q.options["dedupe-by"]),status:h(Q.options.status),sourceSystem:h(Q.options.sourceSystem)??h(Q.options["source-system"]),taskMode:h(Q.options.taskMode)??h(Q.options["task-mode"])});if(J&&typeof J.duplicateRuns==="number"&&J.duplicateRuns>0)console.error(`ℹ️ 单据去重提示: 总记录 ${J.total} 笔,涵盖 ${J.unique} 笔独立单据 (含 ${J.duplicateRuns} 笔修改重推/重跑记录)`);f0(J,C0(Q.options));return}if($==="count"){let J=h(Q.options.start)??h(Q.options.startDate)??h(Q.options.since),I=h(Q.options.end)??h(Q.options.endDate);await k0("seal_approval_runs_count",U,z,{status:h(Q.options.status),sourceSystem:h(Q.options.sourceSystem)??h(Q.options["source-system"]),taskMode:h(Q.options.taskMode)??h(Q.options["task-mode"]),search:h(Q.options.search)??h(Q.options.query),startDate:J?x2(J,!1):void 0,endDate:I?x2(I,!0):void 0},C0(Q.options));return}if($==="search"||$==="list"){await k0("seal_approval_runs_search",U,z,{limit:s0(Q.options.limit),offset:s0(Q.options.offset),startDate:h(Q.options.startDate)??h(Q.options.start)??h(Q.options.since),endDate:h(Q.options.endDate)??h(Q.options.end),status:h(Q.options.status),taskMode:h(Q.options.taskMode),manualApprovalStatus:h(Q.options.manualApprovalStatus),sourceDocumentSN:h(Q.options.sourceDocumentSN),sourceDocumentId:h(Q.options.sourceDocumentId),humanResult:h(Q.options.humanResult),query:h(Q.options.query),includeBridge:Z0(Q.options.includeBridge)},C0(Q.options));return}if($==="bridge"){await k0("seal_approval_run_langfuse_bridge_get",U,z,{recordId:h(Q.options.recordId),sourceDocumentSN:h(Q.options.sourceDocumentSN),sourceDocumentId:h(Q.options.sourceDocumentId),simulationBatchId:h(Q.options.simulationBatchId),limit:s0(Q.options.limit)},C0(Q.options));return}if($==="pick"){let J=Y??h(Q.options.query)??h(Q.options.sn);if(!J)throw Error("Usage: seal-use approval-runs pick --sn ");await k0("seal_approval_run_pick",U,z,{query:J,sn:h(Q.options.sn),batchId:h(Q.options.batch)??h(Q.options.batchId),latest:Z0(Q.options.latest),fields:h(Q.options.fields),limit:s0(Q.options.limit),includeBridge:Z0(Q.options.includeBridge)},C0(Q.options));return}if($==="get"){let J=Q.command[2];if(!J)throw Error("Missing approval run recordId");if(Z0(Q.options.flow)){await k0("seal_approval_run_flow_get",U,z,{recordId:J},C0(Q.options));return}await k0("seal_approval_run_get",U,z,{recordId:J,fields:h(Q.options.fields),summary:Z0(Q.options.summary)},C0(Q.options));return}if($==="cited-rules"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs cited-rules ");await k0("seal_approval_run_cited_rules_get",U,z,{recordId:J},C0(Q.options));return}if($==="document-summary"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs document-summary ");await k0("seal_approval_run_document_summary_get",U,z,{recordId:J},C0(Q.options));return}if($==="attachments"){if(Q.command[2]==="download"){let H=Q.command[3];if(!H)throw Error("Usage: seal-use approval-runs attachments download [--all] [--name ] [--out-dir ]");let W=await H4(U,H),X=await SB({record:W,all:Z0(Q.options.all),name:h(Q.options.name),outDir:h(Q.options["out-dir"])??h(Q.options.outDir)??h(Q.options.dir)});if(f0(X,C0(Q.options)),X.total>0&&X.downloaded===0)throw Error(`所有 ${X.total} 个附件下载均失败。`);return}let I=Q.command[2];if(!I)throw Error("Usage: seal-use approval-runs attachments | seal-use approval-runs attachments download ");if(Z0(Q.options.download)){let H=await H4(U,I),W=await SB({record:H,all:Z0(Q.options.all)??!0,name:h(Q.options.name),outDir:h(Q.options["out-dir"])??h(Q.options.outDir)??h(Q.options.dir)});if(f0(W,C0(Q.options)),W.total>0&&W.downloaded===0)throw Error(`所有 ${W.total} 个附件下载均失败。`);return}let K=await H4(U,I),G=f2(K,{summary:Z0(Q.options.summary)});f0(G,C0(Q.options));return}if($==="download"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs download [--all] [--name ] [--out-dir ]");let I=await H4(U,J),K=await SB({record:I,all:Z0(Q.options.all),name:h(Q.options.name),outDir:h(Q.options["out-dir"])??h(Q.options.outDir)??h(Q.options.dir)});if(f0(K,C0(Q.options)),K.total>0&&K.downloaded===0)throw Error(`所有 ${K.total} 个附件下载均失败。`);return}if($==="result"){let J=Q.command[2];if(!J)throw Error("Usage: seal-use approval-runs result [--summary]");await k0("seal_approval_run_result_get",U,z,{recordId:J,summary:Z0(Q.options.summary)},C0(Q.options));return}if($==="link"||$==="url"){let J=Z0(Q.options["auto-login"])??Z0(Q.options.autoLogin)??Z0(Q.options["hose-sso"])??Z0(Q.options.hoseSso)??Z0(Q.options.sso)??!1,I=h(Q.options.type),K=s0(Q.options.expire)??s0(Q.options.expiresIn)??7200,G=Y??h(Q.options.id)??h(Q.options.recordId),H=h(Q.options.sn)??h(Q.options.sourceDocumentSN),W=h(Q.options.sourceDocumentId);if(!G&&!H&&!W)throw Error("Usage: seal-use approval-runs link [--sn ] [--type seal-result|hose-document] [--auto-login] [--corp ]");await k0("seal_approval_run_url_get",U,z,{recordId:G,sourceDocumentSN:H,sourceDocumentId:W,type:I,autoLogin:J,sso:J,expiresIn:K},C0(Q.options));return}if($==="flow"){let J=Y??Q.command[2]??h(Q.options.sn)??h(Q.options.id)??h(Q.options.recordId);if(!J)throw Error("Usage: seal-use approval-runs flow ");await k0("seal_approval_run_flow_get",U,z,{target:J},C0(Q.options));return}if($==="export"){let J=h(Q.options.sn)??h(Q.options.sns)??h(Q.options.sourceDocumentSN),I=J?J.split(/[,;\s]+/).map((G)=>G.trim()).filter(Boolean):void 0,K=await vB(U,z,{sns:I,limit:s0(Q.options.limit),startDate:h(Q.options["start-date"])??h(Q.options.startDate)??h(Q.options.start)??h(Q.options.since),endDate:h(Q.options["end-date"])??h(Q.options.endDate)??h(Q.options.end)??h(Q.options.until),status:h(Q.options.status),manualApprovalStatus:h(Q.options["manual-status"])??h(Q.options.manualStatus)??h(Q.options.manualApprovalStatus),includeCompletedOnly:Z0(Q.options["completed-only"])??Z0(Q.options.completedOnly),outputFile:h(Q.options.out)??h(Q.options.output)??h(Q.options.file),toDownloads:Z0(Q.options["to-downloads"])??Z0(Q.options.downloads)??Z0(Q.options.download),force:Z0(Q.options.force),withFlow:Z0(Q.options["with-flow"])??(Z0(Q.options["no-flow"])?!1:void 0),flowConcurrency:s0(Q.options["flow-concurrency"])??s0(Q.options.concurrency),excludeDeleted:Z0(Q.options["exclude-deleted"])??(Z0(Q.options["include-deleted"])?!1:void 0),taskMode:h(Q.options.taskMode)??h(Q.options["task-mode"]),sourceSystem:h(Q.options.sourceSystem)??h(Q.options["source-system"]),includeSimulation:Z0(Q.options["include-simulation"])??Z0(Q.options.includeSimulation)??Z0(Q.options.simulation)});if(console.error(`\uD83D\uDC49 查看导出文件: open "${K.filePath}"`),!Q.options["with-flow"]&&z.source.type==="hose")console.error("\uD83D\uDC49 提示: 追加 --with-flow 可额外拉取合思原生审批流,输出 E人工行为 / E人工意见。");f0(K,C0(Q.options));return}throw Error(`Unknown approval-runs command: ${$??""}. Run 'seal-use help' for available commands.`)}var D_0=m(()=>{X6();hB();gB();f4();D4();J4();Cl()});async function A_0($,Y,U,z,Q){if($==="insight"||$==="insight-stats"||$==="stats"){await k0("seal_insight_stats_get",U,z,{startDate:h(Q.options.startDate)??h(Q.options["start-date"]),endDate:h(Q.options.endDate)??h(Q.options["end-date"]),limit:s0(Q.options.limit)},C0(Q.options));return}if($==="risks"||$==="risks-by-tag"||$==="tag-risks"){let J=Y??h(Q.options.tagId)??h(Q.options["tag-id"]);if(!J)throw Error("Usage: seal-use analytics risks [--start-date ] [--end-date ] [--corp ]");await k0("seal_insight_risks_by_tag_get",U,z,{tagId:J,startDate:h(Q.options.startDate)??h(Q.options["start-date"]),endDate:h(Q.options.endDate)??h(Q.options["end-date"])},C0(Q.options));return}if($==="performance"||$==="perf"){await k0("seal_insight_performance_get",U,z,{startDate:h(Q.options.startDate)??h(Q.options["start-date"])??s0(Q.options.startDate)??s0(Q.options["start-date"]),endDate:h(Q.options.endDate)??h(Q.options["end-date"])??s0(Q.options.endDate)??s0(Q.options["end-date"])},C0(Q.options));return}if($==="analyze"||$==="reanalyze"){let J=Y??h(Q.options.recordId)??h(Q.options["record-id"]);if(!J)throw Error("Usage: seal-use analytics analyze [--corp ]");await k0("seal_insight_record_analyze",U,z,{recordId:J},C0(Q.options));return}if($==="export"||$==="report"||$==="download"){let J=await IT(U,z,{startDate:h(Q.options.startDate)??h(Q.options["start-date"]),endDate:h(Q.options.endDate)??h(Q.options["end-date"]),limit:s0(Q.options.limit),outputFile:h(Q.options.out)??h(Q.options["output-file"])??h(Q.options.outputFile),toDownloads:Z0(Q.options.downloads)??Z0(Q.options["to-downloads"]),force:Z0(Q.options.force)});f0(J);return}throw Error(`Unknown analytics command: ${$??""}. Run 'seal-use help' for available commands.`)}var B_0=m(()=>{Zl();f4();D4();J4()});var T_0,j_0,NT,P_0,r4;var a$=m(()=>{T_0=/^[\uD800-\uDBFF]$/,j_0=/^[\uDC00-\uDFFF]$/,NT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;(function($){$[$.Unknown=0.0000000000001]="Unknown",$[$.Rule=0.000000000001]="Rule",$[$.DICT=0.00000002]="DICT",$[$.Surname=1]="Surname",$[$.Custom=1]="Custom"})(P_0||(P_0={}));r4={Normal:1,Surname:10,Custom:100}});function r2($){var Y;return $.length-(((Y=$.match(NT))===null||Y===void 0?void 0:Y.length)||0)}function F$($){if(NT.lastIndex=0,!NT.test($))return $.split("");let Y=[],U=0;while(U<$.length){let z=$[U];if(T_0.test(z)&&j_0.test($[U+1]))Y.push($.substring(U,U+2)),U+=2;else Y.push(z),U+=1}return Y}class yK{constructor(){this.NumberDICT=[],this.StringDICT=new Map}get($){if($.length>1)return this.StringDICT.get($);else{let Y=$.charCodeAt(0);return this.NumberDICT[Y]}}set($,Y){if($.length>1)this.StringDICT.set($,Y);else{let U=$.charCodeAt(0);this.NumberDICT[U]=Y}}clear(){this.NumberDICT=[],this.StringDICT.clear()}}var v9=m(()=>{a$()});function wS1(){let $={零一:"líng yī",〇一:"líng yī",十一:"shí yī",一十:"yī shí",第一:"dì yī",一十一:"yī shí yī"};for(let Y in E_0)for(let U in C_0){let z=`${Y}${U}`,Q=`${E_0[Y]} ${C_0[U]}`;$[z]=Q}return $}var __0,v_0,h_0,S_0,g_0,E_0,C_0,R_0,y_0,Rl,k_0,x_0;var _l=m(()=>{a$();v9();__0=["zh","ch","sh","z","c","s","b","p","m","f","d","t","n","l","g","k","h","j","q","x","r","y","w",""],v_0=["j","q","x"],h_0=["uān","uán","uǎn","uàn","uan","uē","ué","uě","uè","ue","ūn","ún","ǔn","ùn","un","ū","ú","ǔ","ù","u"],S_0={uān:"üān",uán:"üán",uǎn:"üǎn",uàn:"üàn",uan:"üan",uē:"üē",ué:"üé",uě:"üě",uè:"üè",ue:"üe",ūn:"ǖn",ún:"ǘn",ǔn:"ǚn",ùn:"ǜn",un:"ün",ū:"ǖ",ú:"ǘ",ǔ:"ǚ",ù:"ǜ",u:"ü"},g_0=["ia","ian","iang","iao","ie","iu","iong","ua","uai","uan","uang","ue","ui","uo","üan","üe","van","ve"],E_0={一:"yì",二:"èr",三:"sān",四:"sì",五:"wǔ",六:"liù",七:"qī",八:"bā",九:"jiǔ",十:"shí",百:"bǎi",千:"qiān",万:"wàn",亿:"yì",单:"dān",两:"liǎng",双:"shuāng",多:"duō",几:"jǐ",十一:"shí yī",零一:"líng yī",第一:"dì yī",一十:"yī shí",一十一:"yī shí yī"},C_0={重:"chóng",行:"háng",斗:"dǒu",更:"gēng"};R_0=wS1(),y_0=Object.keys(R_0).map(($)=>({zh:$,pinyin:R_0[$],probability:0.000000000001,length:r2($),priority:r4.Normal,dict:Symbol("rule")})),Rl={不:{bú:[4]},一:{yí:[4],yì:[1,2,3]}},k_0={不:["的","而","之","后","也","还","地"],一:["的","而","之","后","也","还","是"]},x_0=Object.keys(Rl)});var f_0,j5;var DT=m(()=>{v9();f_0={"bǎng páng pāng":["膀"],líng:["〇","伶","凌","刢","囹","坽","夌","姈","婈","孁","岺","彾","掕","昤","朎","柃","棂","櫺","欞","泠","淩","澪","灵","燯","爧","狑","玲","琌","瓴","皊","砱","祾","秢","竛","笭","紷","綾","绫","羐","羚","翎","聆","舲","苓","菱","蓤","蔆","蕶","蛉","衑","裬","詅","跉","軨","輘","酃","醽","鈴","錂","铃","閝","陵","零","霊","霗","霛","霝","靈","駖","魿","鯪","鲮","鴒","鸰","鹷","麢","齡","齢","龄","龗","㥄"],yī:["一","乊","伊","依","医","吚","咿","噫","壱","壹","夁","嫛","嬄","弌","揖","撎","檹","毉","洢","渏","漪","瑿","畩","祎","禕","稦","繄","蛜","衤","譩","辷","郼","醫","銥","铱","鷖","鹥","黟","黳"],"dīng zhēng":["丁"],"kǎo qiǎo yú":["丂"],qī:["七","倛","僛","凄","嘁","墄","娸","悽","慼","慽","戚","捿","柒","桤","桼","棲","榿","欺","沏","淒","漆","紪","緀","萋","褄","諆","迉","郪","鏚","霋","魌","鶈"],shàng:["丄","尙","尚","恦","緔","绱"],xià:["丅","下","乤","圷","夏","夓","懗","梺","疜","睱","罅","鎼","鏬"],hǎn:["丆","喊","浫","罕","豃","㘎"],"wàn mò":["万"],zhàng:["丈","仗","墇","嶂","帐","帳","幛","扙","杖","涱","痮","瘬","瘴","瞕","粀","胀","脹","賬","账","障"],sān:["三","厁","叁","弎","毵","毶","毿","犙","鬖"],"shàng shǎng shang":["上"],"qí jī":["丌","其","奇"],"bù fǒu":["不"],"yǔ yù yú":["与"],miǎn:["丏","偭","免","冕","勉","勔","喕","娩","愐","汅","沔","湎","睌","緬","缅","腼","葂","靦","鮸","\uD867\uDF83"],gài:["丐","乢","匃","匄","戤","概","槩","槪","溉","漑","瓂","葢","鈣","钙","\uD872\uDFBF"],chǒu:["丑","丒","侴","吜","杽","瞅","矁","醜","魗"],zhuān:["专","叀","嫥","専","專","瑼","甎","砖","磗","磚","蟤","諯","鄟","顓","颛","鱄","䏝"],"qiě jū":["且"],pī:["丕","伓","伾","噼","坯","岯","憵","批","披","炋","狉","狓","砒","磇","礔","礕","秛","秠","耚","豾","邳","鈚","鉟","銔","錃","錍","霹","駓","髬","魾","\uD873\uDCF5"],shì:["世","丗","亊","事","仕","侍","冟","势","勢","卋","呩","嗜","噬","士","奭","嬕","室","市","式","弑","弒","恀","恃","戺","拭","揓","是","昰","枾","柿","栻","澨","烒","煶","眂","眎","眡","睗","示","礻","筮","簭","舐","舓","襫","視","视","觢","試","誓","諡","謚","试","谥","貰","贳","軾","轼","逝","遾","釈","释","釋","鈰","鉃","鉽","铈","飾","餙","餝","饰","鰘","䏡","\uD872\uDD0A"],qiū:["丘","丠","坵","媝","恘","恷","楸","秋","秌","穐","篍","緧","萩","蘒","蚯","蝵","蟗","蠤","趥","邱","鞦","鞧","鰌","鰍","鳅","鶖","鹙","龝"],bǐng:["丙","屛","怲","抦","昞","昺","柄","棅","炳","禀","秉","稟","苪","蛃","邴","鈵","陃","鞆","餅","餠","饼"],yè:["业","亱","僷","墷","夜","嶪","嶫","抴","捙","擛","擪","擫","晔","曄","曅","曗","曳","曵","枼","枽","業","洂","液","澲","烨","燁","爗","璍","皣","瞱","瞸","礏","腋","葉","謁","谒","邺","鄴","鍱","鐷","靥","靨","頁","页","餣","饁","馌","驜","鵺","鸈"],cóng:["丛","从","叢","婃","孮","従","徔","徖","悰","樷","欉","淙","灇","爜","琮","藂","誴","賨","賩","錝"],dōng:["东","倲","冬","咚","埬","岽","崬","徚","昸","東","氡","氭","涷","笗","苳","菄","蝀","鮗","鯟","鶇","鶫","鸫","鼕","\uD871\uDFFD"],sī:["丝","俬","凘","厮","司","咝","嘶","噝","媤","廝","恖","撕","斯","楒","泀","澌","燍","禗","禠","私","糹","絲","緦","纟","缌","罳","蕬","虒","蛳","蜤","螄","蟖","蟴","鉰","銯","鍶","鐁","锶","颸","飔","騦","鷥","鸶","鼶","㟃"],chéng:["丞","呈","城","埕","堘","塍","塖","宬","峸","惩","懲","成","承","挰","掁","揨","枨","棖","橙","檙","洆","溗","澂","珵","珹","畻","程","窚","筬","絾","脭","荿","誠","诚","郕","酲","鋮","铖","騬","鯎"],diū:["丟","丢","銩","铥"],liǎng:["両","两","兩","唡","啢","掚","緉","脼","蜽","裲","魉","魎","\uD871\uDF2F"],yǒu:["丣","卣","友","梄","湵","牖","禉","羑","聈","苃","莠","蜏","酉","銪","铕","黝"],yán:["严","厳","啱","喦","嚴","塩","壛","壧","妍","姸","娫","娮","岩","嵒","嵓","巌","巖","巗","延","揅","昖","楌","檐","櫩","欕","沿","炎","炏","狿","琂","盐","碞","筵","簷","莚","蔅","虤","蜒","言","訁","訮","詽","讠","郔","閆","閻","闫","阎","顏","顔","颜","鹽","麣","\uD86C\uDD27"],bìng:["並","併","倂","傡","垪","摒","栤","病","窉","竝","誁","靐","鮩"],"sàng sāng":["丧"],gǔn:["丨","惃","滚","滾","磙","緄","绲","蓘","蔉","衮","袞","輥","辊","鮌","鯀","鲧"],jiū:["丩","勼","啾","揪","揫","朻","究","糾","纠","萛","赳","阄","鬏","鬮","鳩","鸠"],"gè gě":["个","個","各"],yā:["丫","圧","孲","庘","押","枒","桠","椏","錏","鐚","鴉","鴨","鵶","鸦","鸭"],pán:["丬","媻","幋","槃","洀","瀊","爿","盘","盤","磐","縏","蒰","蟠","蹒","蹣","鎜","鞶"],"zhōng zhòng":["中"],jǐ:["丮","妀","己","戟","挤","掎","撠","擠","橶","泲","犱","脊","虮","蟣","魢","鱾","麂"],jiè:["丯","介","借","唶","堺","屆","届","岕","庎","徣","戒","楐","犗","玠","琾","界","畍","疥","砎","蚧","蛶","衸","褯","誡","诫","鎅","骱","魪"],fēng:["丰","仹","偑","僼","凨","凬","凮","妦","寷","封","峯","峰","崶","枫","楓","檒","沣","沨","渢","灃","烽","犎","猦","琒","疯","瘋","盽","砜","碸","篈","蘴","蜂","蠭","豐","鄷","酆","鋒","鎽","鏠","锋","霻","靊","飌","麷"],"guàn kuàng":["丱"],chuàn:["串","汌","玔","賗","釧","钏"],chǎn:["丳","产","冁","剷","囅","嵼","旵","浐","滻","灛","產","産","簅","蒇","蕆","諂","譂","讇","谄","鏟","铲","閳","闡","阐","骣","\uD870\uDEA4"],lín:["临","冧","壣","崊","嶙","斴","晽","暽","林","潾","瀶","燐","琳","璘","瞵","碄","磷","粦","粼","繗","翷","臨","轔","辚","遴","邻","鄰","鏻","阾","隣","霖","驎","鱗","鳞","麐","麟","\uD873\uDD0A","\uD872\uDF78"],zhuó:["丵","劅","卓","啄","圴","妰","娺","撯","擆","擢","斫","斮","斱","斲","斵","晫","椓","浊","浞","濁","灼","烵","琸","硺","禚","窡","籗","籱","罬","茁","蠗","蠿","諁","諑","謶","诼","酌","鐲","镯","鵫","鷟","䓬","\uD873\uDE26"],zhǔ:["丶","主","劯","嘱","囑","宔","帾","拄","渚","濐","煑","煮","燝","瞩","矚","罜","詝","陼","鸀","麈","\uD872\uDCDE"],bā:["丷","仈","八","叭","哵","夿","岜","巴","捌","朳","玐","疤","笆","粑","羓","芭","蚆","豝","釟"],wán:["丸","刓","完","岏","抏","捖","汍","烷","玩","琓","笂","紈","纨","翫","芄","貦","頑","顽"],dān:["丹","勯","匰","単","妉","媅","殚","殫","甔","眈","砃","箪","簞","耼","耽","聃","聸","褝","襌","躭","郸","鄲","酖","頕"],"wèi wéi":["为"],"jǐng dǎn":["丼"],"lì lí":["丽"],jǔ:["举","弆","挙","擧","椇","榉","榘","櫸","欅","矩","筥","聥","舉","莒","蒟","襷","踽","齟","龃"],piě:["丿","苤","鐅","\uD872\uDF6F"],fú:["乀","伏","俘","凫","刜","匐","咈","哹","垘","孚","岪","巿","帗","幅","幞","弗","彿","怫","扶","柫","栿","桴","氟","泭","浮","涪","澓","炥","玸","甶","畉","癁","祓","福","稪","符","箙","紱","紼","絥","綍","绂","绋","罘","罦","翇","艀","芙","芣","苻","茀","茯","菔","葍","虙","蚨","蜉","蝠","袚","袱","襆","襥","諨","豧","踾","輻","辐","郛","鉘","鉜","韍","韨","颫","髴","鮄","鮲","鳧","鳬","鴔","鵩","黻"],"yí jí":["乁"],yì:["乂","义","亄","亦","亿","伇","伿","佾","俋","億","兿","刈","劓","劮","勚","勩","匇","呓","呭","呹","唈","囈","圛","坄","垼","埸","奕","嫕","嬑","寱","屹","峄","嶧","帟","帠","幆","廙","异","弈","弋","役","忆","怈","怿","悒","意","憶","懌","懿","抑","挹","敡","易","晹","曀","曎","杙","枍","棭","榏","槸","檍","歝","殔","殪","殹","毅","浂","浥","浳","湙","溢","潩","澺","瀷","炈","焲","熠","熤","熼","燚","燡","燱","獈","玴","異","疫","痬","瘗","瘞","瘱","癔","益","瞖","穓","竩","篒","縊","繶","繹","绎","缢","義","羿","翊","翌","翳","翼","耴","肄","肊","膉","臆","艗","艺","芅","苅","萟","蓺","薏","藙","藝","蘙","虉","蜴","螠","衪","袣","裔","裛","褹","襼","訲","訳","詍","詣","誼","譯","議","讛","议","译","诣","谊","豙","豛","豷","貖","贀","跇","轶","逸","邑","鄓","醷","釴","鈠","鎰","鐿","镒","镱","阣","隿","霬","饐","駅","驛","驿","骮","鮨","鶂","鶃","鶍","鷁","鷊","鷧","鷾","鸃","鹝","鹢","黓","齸","\uD872\uDF29","㑊","\uD86C\uDD37","\uD871\uDFC1"],nǎi:["乃","倷","奶","嬭","廼","氖","疓","艿","迺","釢"],wǔ:["乄","五","仵","伍","侮","倵","儛","午","啎","妩","娬","嫵","庑","廡","忤","怃","憮","摀","武","潕","熓","牾","玝","珷","瑦","甒","碔","舞","躌","迕","逜","陚","鵡","鹉","\uD84F\uDC98"],jiǔ:["久","乆","九","乣","奺","杦","汣","灸","玖","紤","舏","酒","镹","韭","韮"],"tuō zhé":["乇","杔","馲"],"me mó ma yāo":["么"],zhī:["之","倁","卮","巵","搘","支","栀","梔","椥","榰","汁","泜","疷","祗","祬","秓","稙","綕","肢","胑","胝","脂","芝","蘵","蜘","衼","隻","鳷","鴲","鼅","\uD85A\uDF5C"],"wū wù":["乌"],zhà:["乍","咤","宱","搾","榨","溠","痄","蚱","詐","诈","醡","霅","䃎"],hū:["乎","乯","匢","匫","呼","唿","嘑","垀","寣","幠","忽","惚","昒","歑","泘","淴","滹","烀","苸","虍","虖","謼","軤","轷","雐"],fá:["乏","伐","傠","坺","垡","墢","姂","栰","浌","瞂","笩","筏","罚","罰","罸","藅","閥","阀"],"lè yuè yào lào":["乐","樂"],yín:["乑","吟","噖","嚚","圁","垠","夤","婬","寅","峾","崟","崯","檭","殥","泿","淫","滛","烎","犾","狺","璌","硍","碒","荶","蔩","訔","訚","訡","誾","鄞","鈝","銀","银","霪","鷣","齦"],pīng:["乒","俜","娉","涄","甹","砯","聠","艵","頩"],pāng:["乓","滂","胮","膖","雱","霶"],qiáo:["乔","侨","僑","嫶","憔","桥","槗","樵","橋","櫵","犞","瞧","硚","礄","荍","荞","蕎","藮","譙","趫","鐈","鞒","鞽","顦"],hǔ:["乕","琥","萀","虎","虝","錿","鯱"],guāi:["乖"],"chéng shèng":["乗","乘","娍"],yǐ:["乙","乛","以","倚","偯","嬟","崺","已","庡","扆","攺","敼","旑","旖","檥","矣","礒","笖","舣","艤","苡","苢","蚁","螘","蟻","裿","踦","輢","轙","逘","酏","釔","鈘","鉯","钇","顗","鳦","齮","\uD86D\uDDAE","\uD873\uDE88"],"háo yǐ":["乚"],"niè miē":["乜"],qǐ:["乞","企","启","唘","啓","啔","啟","婍","屺","杞","棨","玘","盀","綺","绮","芑","諬","起","邔","闙"],yě:["也","冶","嘢","埜","壄","漜","野"],xí:["习","喺","媳","嶍","席","椺","檄","漝","習","蓆","袭","襲","覡","觋","謵","趘","郋","鎴","隰","霫","飁","騱","騽","驨","鰼","鳛","\uD840\uDD64","\uD86D\uDE2C"],xiāng:["乡","厢","廂","忀","楿","欀","湘","瓖","稥","箱","緗","缃","膷","芗","萫","葙","薌","襄","郷","鄉","鄊","鄕","鑲","镶","香","驤","骧","鱜","麘","\uD871\uDE4B"],shū:["书","倏","倐","儵","叔","姝","尗","抒","掓","摅","攄","書","枢","梳","樞","殊","殳","毹","毺","淑","瀭","焂","疎","疏","紓","綀","纾","舒","菽","蔬","踈","軗","輸","输","鄃","陎","鮛","鵨"],dǒu:["乧","抖","枓","蚪","鈄","阧","陡"],shǐ:["乨","使","兘","史","始","宩","屎","榁","矢","笶","豕","鉂","駛","驶"],jī:["乩","僟","击","刉","刏","剞","叽","唧","喞","嗘","嘰","圾","基","墼","姬","屐","嵆","嵇","撃","擊","朞","机","枅","樭","機","毄","激","犄","玑","璣","畸","畿","癪","矶","磯","积","積","笄","筓","箕","簊","緁","羁","羇","羈","耭","肌","芨","虀","覉","覊","譏","譤","讥","賫","賷","赍","跻","踑","躋","躸","銈","錤","鐖","鑇","鑙","隮","雞","鞿","韲","飢","饑","饥","魕","鳮","鶏","鶺","鷄","鸄","鸡","齎","齏","齑","\uD872\uDFC0","\uD86D\uDCEF","\uD86D\uDCF9","\uD86C\uDF00"],náng:["乪","嚢","欜","蠰","饢"],jiā:["乫","佳","傢","加","嘉","抸","枷","梜","毠","泇","浃","浹","犌","猳","珈","痂","笳","糘","耞","腵","葭","袈","豭","貑","跏","迦","鉫","鎵","镓","鴐","麚","\uD870\uDCA9"],jù:["乬","倨","倶","具","剧","劇","勮","埧","埾","壉","姖","屦","屨","岠","巨","巪","怇","惧","愳","懅","懼","拒","拠","昛","歫","洰","澽","炬","烥","犋","秬","窭","窶","簴","粔","耟","聚","虡","蚷","詎","讵","豦","距","踞","躆","遽","邭","醵","鉅","鐻","钜","颶","飓","駏","鮔"],shí:["乭","十","埘","塒","姼","实","実","寔","實","峕","嵵","时","旹","時","榯","湜","溡","炻","祏","竍","蚀","蝕","辻","遈","鉐","飠","饣","鮖","鰣","鲥","鼫","鼭"],mǎo:["乮","冇","卯","峁","戼","昴","泖","笷","蓩","鉚","铆"],mǎi:["买","嘪","荬","蕒","買","鷶"],luàn:["乱","亂","釠"],rǔ:["乳","擩","汝","肗","辱","鄏"],xué:["乴","学","學","峃","嶨","斈","泶","澩","燢","穴","茓","袕","踅","鷽","鸴"],yǎn:["䶮","乵","俨","偃","儼","兖","兗","厣","厴","噞","孍","嵃","巘","巚","弇","愝","戭","扊","抁","掩","揜","曮","椼","檿","沇","渷","演","琰","甗","眼","罨","萒","蝘","衍","褗","躽","遃","郾","隒","顩","魇","魘","鰋","鶠","黡","黤","黬","黭","黶","鼴","鼹","齴","龑","\uD873\uDE18","\uD871\uDE42","\uD86A\uDE58"],fǔ:["乶","俌","俛","俯","府","弣","抚","拊","撫","斧","椨","滏","焤","甫","盙","簠","腐","腑","蜅","輔","辅","郙","釜","釡","阝","頫","鬴","黼","㕮","\uD86D\uDDAF"],shā:["乷","唦","杀","桬","殺","毮","猀","痧","砂","硰","紗","繺","纱","蔱","裟","鎩","铩","閷","髿","魦","鯊","鯋","鲨"],nǎ:["乸","雫"],qián:["乹","亁","仱","偂","前","墘","媊","岒","拑","掮","榩","橬","歬","潛","潜","濳","灊","箝","葥","虔","軡","鈐","鉗","銭","錢","鎆","钤","钱","钳","靬","騚","騝","鰬","黔","黚"],suǒ:["乺","唢","嗩","所","暛","溑","溹","琐","琑","瑣","索","褨","鎖","鎻","鏁","锁"],yú:["乻","于","亐","伃","余","堣","堬","妤","娛","娯","娱","嬩","崳","嵎","嵛","愚","扵","揄","旟","楡","楰","榆","欤","歈","歟","歶","渔","渝","湡","漁","澞","牏","狳","玗","玙","瑜","璵","盂","睮","窬","竽","籅","羭","腴","臾","舁","舆","艅","茰","萮","萸","蕍","蘛","虞","虶","蝓","螸","衧","褕","覦","觎","諛","謣","谀","踰","輿","轝","逾","邘","酑","鍝","隅","雓","雩","餘","馀","騟","骬","髃","魚","魣","鮽","鯲","鰅","鱼","鷠","鸆","齵"],zhù:["乼","伫","佇","住","坾","墸","壴","嵀","拀","杼","柱","樦","殶","注","炷","疰","眝","祝","祩","竚","筯","箸","篫","簗","紵","紸","纻","羜","翥","苎","莇","蛀","註","貯","贮","跓","軴","鉒","鋳","鑄","铸","馵","駐","驻"],zhě:["乽","者","褶","襵","赭","踷","鍺","锗"],"qián gān":["乾"],"zhì luàn":["乿"],guī:["亀","圭","妫","媯","嫢","嬀","帰","归","摫","椝","槻","槼","櫷","歸","珪","瑰","璝","瓌","皈","瞡","硅","茥","蘬","規","规","邽","郌","閨","闺","騩","鬶","鬹"],"lǐn lìn":["亃"],jué:["亅","决","刔","劂","匷","厥","噊","孒","孓","崛","崫","嶥","彏","憠","憰","戄","抉","挗","掘","攫","桷","橛","橜","欮","氒","決","灍","焳","熦","爑","爴","爵","獗","玃","玦","玨","珏","瑴","瘚","矍","矡","砄","絕","絶","绝","臄","芵","蕝","蕨","虳","蟨","蟩","觖","觮","觼","訣","譎","诀","谲","貜","赽","趉","蹷","躩","鈌","鐍","鐝","钁","镢","鴂","鴃","鷢","\uD86D\uDE1D","㵐","\uD86D\uDD0E"],"le liǎo":["了"],"gè mā":["亇"],"yǔ yú":["予","懙"],zhēng:["争","佂","凧","姃","媜","峥","崝","崢","征","徰","炡","烝","爭","狰","猙","癥","眐","睁","睜","筝","箏","篜","聇","脀","蒸","踭","鉦","錚","鏳","鬇"],èr:["二","刵","咡","弍","弐","樲","誀","貮","貳","贰","髶"],chù:["亍","傗","儊","怵","憷","搐","斶","歜","珿","琡","矗","竌","絀","绌","臅","触","觸","豖","鄐","閦","黜"],kuī:["亏","刲","岿","巋","盔","窥","窺","聧","虧","闚","顝"],yún:["云","伝","勻","匀","囩","妘","愪","抣","昀","橒","沄","涢","溳","澐","熉","畇","秐","筼","篔","紜","縜","纭","耘","芸","蒷","蕓","郧","鄖","鋆","雲"],hù:["互","冱","嗀","嚛","婟","嫭","嫮","岵","帍","弖","怙","戶","户","戸","戽","扈","护","昈","槴","沍","沪","滬","熩","瓠","祜","笏","簄","粐","綔","蔰","護","豰","鄠","鍙","頀","鱯","鳠","鳸","鸌","鹱"],qí:["亓","剘","埼","岐","岓","崎","嵜","愭","掑","斉","斊","旂","旗","棊","棋","檱","櫀","歧","淇","濝","猉","玂","琦","琪","璂","畦","疧","碁","碕","祁","祈","祺","禥","竒","簯","簱","籏","粸","綥","綦","肵","脐","臍","艩","芪","萁","萕","蕲","藄","蘄","蚑","蚚","蛴","蜝","蜞","螧","蠐","褀","軝","鄿","釮","錡","锜","陭","頎","颀","騎","騏","騹","骐","骑","鬐","鬿","鯕","鰭","鲯","鳍","鵸","鶀","麒","麡","\uD861\uDE78","\uD872\uDE02","䓫"],jǐng:["井","儆","刭","剄","坓","宑","幜","憬","暻","殌","汫","汬","澋","璄","璟","璥","穽","肼","蟼","警","阱","頚","頸"],sì:["亖","佀","価","儩","兕","嗣","四","姒","娰","孠","寺","巳","柶","榹","汜","泗","泤","洍","洠","涘","瀃","牭","祀","禩","竢","笥","耜","肂","肆","蕼","覗","貄","釲","鈶","鈻","飤","飼","饲","駟","騃","驷"],suì:["亗","嬘","岁","嵗","旞","檖","歲","歳","澻","煫","燧","璲","砕","碎","祟","禭","穂","穗","穟","繀","繐","繸","襚","誶","譢","谇","賥","邃","鐆","鐩","隧","韢","\uD86D\uDFE6","\uD872\uDF7C"],gèn:["亘","亙","揯","搄","茛"],yà:["亚","亜","俹","冴","劜","圔","圠","埡","娅","婭","揠","氩","氬","犽","砑","稏","聐","襾","覀","訝","讶","迓","齾"],"xiē suò":["些"],"qí zhāi":["亝","齊"],"yā yà":["亞","压","垭","壓","铔"],"jí qì":["亟","焏"],tóu:["亠","投","頭","骰"],"wáng wú":["亡"],"kàng háng gāng":["亢"],dà:["亣","眔"],jiāo:["交","僬","娇","嬌","峧","嶕","嶣","憍","椒","浇","澆","焦","礁","穚","簥","胶","膠","膲","茭","茮","蕉","虠","蛟","蟭","跤","轇","郊","鐎","驕","骄","鮫","鲛","鵁","鷦","鷮","鹪","䴔"],hài:["亥","嗐","害","氦","餀","饚","駭","駴","骇"],"hēng pēng":["亨"],mǔ:["亩","姆","峔","拇","母","牡","牳","畂","畆","畒","畝","畞","畮","砪","胟","踇","鉧","\uD872\uDF41","\uD85F\uDFF9"],ye:["亪"],xiǎng:["享","亯","响","想","晑","蚃","蠁","響","飨","餉","饗","饷","鮝","鯗","鱶","鲞"],jīng:["京","亰","兢","坕","坙","婛","惊","旌","旍","晶","橸","泾","涇","猄","睛","秔","稉","粳","精","経","經","綡","聙","腈","茎","荆","荊","菁","葏","驚","鯨","鲸","鶁","鶄","麖","麠","鼱","䴖"],tíng:["亭","停","婷","嵉","庭","廷","楟","榳","筳","聤","莛","葶","蜓","蝏","諪","邒","霆","鼮","䗴"],liàng:["亮","喨","悢","晾","湸","諒","谅","輌","輛","辆","鍄"],"qīn qìng":["亲","親"],bó:["亳","仢","侼","僰","博","帛","愽","懪","挬","搏","欂","浡","淿","渤","煿","牔","狛","瓝","礴","秡","箔","簙","糪","胉","脖","膊","舶","艊","萡","葧","袯","襏","襮","謈","踣","郣","鈸","鉑","鋍","鎛","鑮","钹","铂","镈","餺","馎","馛","馞","駁","駮","驳","髆","鵓","鹁"],yòu:["亴","佑","佦","侑","又","右","哊","唀","囿","姷","宥","峟","幼","狖","祐","蚴","誘","诱","貁","迶","酭","釉","鼬"],xiè:["亵","伳","偞","偰","僁","卨","卸","噧","塮","夑","媟","屑","屧","廨","徢","懈","暬","械","榍","榭","泻","洩","渫","澥","瀉","瀣","灺","炧","炨","燮","爕","獬","祄","禼","糏","紲","絏","絬","繲","纈","绁","缷","薢","薤","蟹","蠏","褉","褻","謝","谢","躞","邂","靾","韰","齂","齘","齛","齥","\uD873\uDE7C","\uD852\uDEC9"],"dǎn dàn":["亶","馾"],lián:["亷","劆","匲","匳","嗹","噒","奁","奩","嫾","帘","廉","怜","憐","涟","漣","濂","濓","瀮","熑","燫","簾","籢","籨","縺","翴","联","聨","聫","聮","聯","臁","莲","蓮","薕","螊","蠊","裢","褳","覝","謰","蹥","连","連","鎌","鐮","镰","鬑","鰱","鲢"],duǒ:["亸","哚","嚲","埵","崜","朵","朶","綞","缍","趓","躱","躲","軃"],"wěi mén":["亹","斖"],rén:["人","亻","仁","壬","忈","忎","朲","秂","芢","魜","鵀"],jí:["亼","亽","伋","佶","偮","卙","即","卽","及","叝","吉","堲","塉","姞","嫉","岌","嵴","嶯","彶","忣","急","愱","戢","揤","极","棘","楫","極","槉","檝","殛","汲","湒","潗","疾","瘠","皍","笈","箿","籍","級","级","膌","艥","蒺","蕀","蕺","蝍","螏","襋","觙","谻","踖","蹐","躤","輯","轚","辑","郆","銡","鍓","鏶","集","雧","霵","鹡","㴔"],wáng:["亾","仼","兦","莣","蚟"],"shén shí":["什"],lè:["仂","叻","忇","氻","泐","玏","砳","簕","艻","阞","韷","餎","鰳","鱳","鳓"],dīng:["仃","叮","帄","玎","疔","盯","耵","虰","靪"],zè:["仄","崱","庂","捑","昃","昗","汄"],"jǐn jìn":["仅","僅","嫤"],"pú pū":["仆"],"chóu qiú":["仇"],zhǎng:["仉","幥","掌","礃"],jīn:["今","堻","巾","惍","斤","津","珒","琻","璡","砛","筋","荕","衿","襟","觔","金","釒","釿","钅","鹶","黅","\uD872\uDF31"],bīng:["仌","仒","兵","冫","冰","掤","氷","鋲"],réng:["仍","礽","芿","辸","陾"],fó:["仏","坲","梻"],"jīn sǎn":["仐"],lún:["仑","伦","侖","倫","囵","圇","婨","崘","崙","棆","沦","淪","磮","腀","菕","蜦","踚","輪","轮","錀","陯","鯩","\uD872\uDF2D"],cāng:["仓","仺","倉","凔","嵢","沧","滄","濸","獊","舱","艙","苍","蒼","螥","鸧"],"zǎi zǐ zī":["仔"],tā:["他","塌","它","榙","溻","牠","祂","褟","趿","遢","闧"],fù:["付","偩","傅","冨","副","咐","坿","复","妇","婦","媍","嬔","富","復","椱","祔","禣","竎","緮","縛","缚","腹","萯","蕧","蚹","蛗","蝜","蝮","袝","複","覄","覆","訃","詂","讣","負","賦","賻","负","赋","赙","赴","輹","鍑","鍢","阜","附","馥","駙","驸","鮒","鰒","鲋","鳆","㳇"],xiān:["仙","仚","佡","僊","僲","先","嘕","奾","屳","廯","忺","憸","掀","暹","杴","氙","珗","祆","秈","籼","繊","纎","纖","苮","褼","襳","跹","蹮","躚","酰","鍁","锨","韯","韱","馦","鱻","鶱","\uD873\uDE23"],"tuō chà duó":["仛"],hóng:["仜","吰","垬","妅","娂","宏","宖","弘","彋","汯","泓","洪","浤","渱","潂","玒","玜","竑","竤","篊","粠","紘","紭","綋","纮","翃","翝","耾","苰","荭","葒","葓","谹","谼","鈜","鉷","鋐","閎","闳","霐","霟","鞃","魟","鴻","鸿","黉","黌","\uD86D\uDFF9","\uD872\uDF4E"],tóng:["仝","佟","哃","峂","峝","庝","彤","晍","曈","桐","氃","浵","潼","犝","獞","眮","瞳","砼","秱","童","粡","膧","茼","蚒","詷","赨","酮","鉖","鉵","銅","铜","餇","鮦","鲖","\uD86C\uDF63","\uD859\uDC8D"],rèn:["仞","仭","刃","刄","妊","姙","屻","岃","扨","牣","祍","紉","紝","絍","纫","纴","肕","腍","衽","袵","訒","認","认","讱","軔","轫","鈓","靭","靱","韌","韧","飪","餁","饪"],qiān:["仟","佥","僉","千","圲","奷","孯","岍","悭","愆","慳","扦","拪","搴","撁","攐","攑","攓","杄","櫏","汘","汧","牵","牽","竏","签","簽","籖","籤","粁","芊","茾","蚈","褰","諐","謙","谦","谸","迁","遷","釺","鈆","鉛","鏲","钎","阡","韆","顅","騫","骞","鬜","鬝","鵮","鹐"],"gǎn hàn":["仠"],"yì gē":["仡"],dài:["代","侢","叇","垈","埭","岱","帒","带","帯","帶","廗","怠","戴","曃","柋","殆","瀻","玳","瑇","甙","簤","紿","緿","绐","艜","蝳","袋","襶","貣","贷","蹛","軑","軚","軩","轪","迨","霴","靆","鴏","黛","黱"],"lìng líng lǐng":["令"],chào:["仦","耖","觘"],"cháng zhǎng":["仧","兏","長","长"],sā:["仨"],cháng:["仩","偿","償","嘗","嚐","嫦","尝","常","徜","瑺","瓺","甞","肠","腸","膓","苌","萇","镸","鱨","鲿"],yí:["仪","侇","儀","冝","匜","咦","圯","夷","姨","宐","宜","宧","寲","峓","嶬","嶷","巸","彛","彜","彝","彞","怡","恞","扅","暆","栘","椬","椸","沂","洟","熪","瓵","痍","移","簃","籎","羠","胰","萓","蛦","螔","觺","謻","貽","贻","跠","迻","遺","鏔","頉","頤","頥","顊","颐","饴","鮧","鴺"],mù:["仫","凩","募","墓","幕","幙","慔","慕","暮","暯","木","楘","毣","沐","炑","牧","狇","目","睦","穆","艒","苜","莯","蚞","鉬","钼","雮","霂"],"men mén":["们"],fǎn:["仮","反","橎","返"],"chào miǎo":["仯"],"yǎng áng":["仰"],zhòng:["仲","众","堹","妕","媑","狆","眾","祌","筗","茽","蚛","衆","衶","諥"],"pǐ pí":["仳"],wò:["仴","偓","卧","媉","幄","握","楃","沃","渥","濣","瓁","瞃","硪","肟","腛","臥","齷","龌"],jiàn:["件","俴","健","僭","剑","剣","剱","劍","劎","劒","劔","墹","寋","建","徤","擶","旔","楗","毽","洊","涧","澗","牮","珔","瞷","磵","礀","箭","糋","繝","腱","臶","舰","艦","荐","薦","覸","諓","諫","譛","谏","賎","賤","贱","趝","践","踐","踺","轞","鉴","鍳","鍵","鐱","鑑","鑒","鑬","鑳","键","間","餞","饯","\uD872\uDCE1"],"jià jiè jie":["价"],"yǎo fó":["仸"],"rèn rén":["任"],"fèn bīn":["份"],dī:["仾","低","啲","埞","堤","岻","彽","樀","滴","磾","秪","羝","袛","趆","隄","鞮","䃅"],fǎng:["仿","倣","旊","昉","昘","瓬","眆","紡","纺","舫","訪","访","髣","鶭"],zhōng:["伀","刣","妐","幒","彸","忠","柊","汷","泈","炂","盅","籦","終","终","舯","蔠","蜙","螤","螽","衳","衷","蹱","鈡","鍾","鐘","钟","锺","鴤","鼨"],pèi:["伂","佩","姵","帔","斾","旆","沛","浿","珮","蓜","轡","辔","配","霈","馷"],diào:["伄","吊","弔","掉","瘹","盄","窎","窵","竨","訋","釣","鈟","銱","鋽","鑃","钓","铞","雿","魡"],dùn:["伅","潡","炖","燉","盾","砘","碷","踲","逇","遁","遯","鈍","钝"],wěn:["伆","刎","吻","呅","抆","桽","稳","穏","穩","紊","肳","脗"],xǐn:["伈"],kàng:["伉","匟","囥","抗","炕","鈧","钪"],ài:["伌","僾","塧","壒","嫒","嬡","愛","懓","暧","曖","爱","瑷","璦","皧","瞹","砹","硋","碍","礙","薆","譺","賹","鑀","隘","靉","餲","馤","鱫","鴱"],"jì qí":["伎","薺"],"xiū xǔ":["休"],"jìn yín":["伒"],dǎn:["伔","刐","撢","玬","瓭","紞","胆","膽","衴","賧","赕","黕","\uD871\uDE18"],fū:["伕","呋","娐","孵","尃","怤","懯","敷","旉","玞","砆","稃","筟","糐","綒","肤","膚","荂","荴","衭","趺","跗","邞","鄜","酜","鈇","麩","麬","麱","麸","\uD86D\uDCE7"],tǎng:["伖","傥","儻","埫","戃","曭","爣","矘","躺","鎲","钂","镋"],yōu:["优","優","呦","嚘","峳","幽","忧","悠","憂","攸","櫌","滺","瀀","纋","羪","耰","逌","鄾","麀"],huǒ:["伙","夥","火","煷","邩","鈥","钬"],"huì kuài":["会","會","浍","璯"],yǔ:["伛","俁","俣","偊","傴","匬","噳","圄","圉","宇","寙","屿","嶼","庾","挧","敔","斞","楀","瑀","瘐","祤","禹","穥","窳","羽","與","萭","貐","鄅","頨","麌","齬","龉","㺄"],cuì:["伜","啛","忰","悴","毳","淬","焠","疩","瘁","竁","粋","粹","紣","綷","翆","翠","脃","脆","脺","膬","膵","臎","萃","襊","顇"],sǎn:["伞","傘","糤","繖","饊","馓"],wěi:["伟","伪","偉","偽","僞","儰","娓","寪","屗","崣","嶉","徫","愇","捤","暐","梶","洧","浘","渨","炜","煒","猥","玮","瑋","痿","緯","纬","腲","艉","芛","苇","荱","萎","葦","蒍","蔿","蜼","諉","诿","踓","鍡","韑","韙","韡","韪","頠","颹","骩","骪","骫","鮪","鲔","\uD86C\uDDED","\uD870\uDC29","\uD873\uDC5F"],"chuán zhuàn":["传","傳"],"chē jū":["伡","俥","车"],"jū chē":["車"],yá:["伢","厑","厓","堐","岈","崕","崖","涯","漄","牙","玡","琊","睚","笌","芽","蚜","衙","齖"],qiàn:["伣","俔","倩","儙","刋","壍","嬱","悓","棈","椠","槧","欠","歉","皘","篏","篟","縴","芡","蒨","蔳","輤","\uD871\uDE2C"],shāng:["伤","傷","商","墒","慯","殇","殤","滳","漡","熵","蔏","螪","觞","觴","謪","鬺"],chāng:["伥","倀","娼","昌","椙","淐","猖","琩","菖","裮","錩","锠","閶","阊","鯧","鲳","鼚"],"chen cāng":["伧"],xùn:["伨","侚","卂","噀","巺","巽","徇","愻","殉","殾","汛","潠","狥","蕈","訊","訓","訙","训","讯","迅","迿","逊","遜","鑂","顨","馴","驯"],xìn:["伩","囟","孞","脪","舋","衅","訫","釁","阠","顖"],chǐ:["伬","侈","卶","叺","呎","垑","恥","歯","耻","肔","胣","蚇","裭","褫","豉","鉹","齒","齿"],"xián xuán":["伭"],"nú nǔ":["伮"],"bó bǎi":["伯"],"gū gù":["估"],nǐ:["伱","你","儞","孴","拟","擬","旎","晲","狔","苨","薿","隬"],"nì ní":["伲"],bàn:["伴","办","半","姅","怑","扮","瓣","秚","絆","绊","辦","鉡","靽"],xù:["伵","侐","勖","勗","卹","叙","垿","壻","婿","序","恤","敍","敘","旭","昫","朂","槒","欰","殈","汿","沀","洫","溆","漵","潊","烅","烼","煦","獝","珬","盢","瞁","稸","絮","続","緒","緖","續","绪","续","聓","聟","蓄","藚","訹","賉","酗","頊","鱮","㳚"],zhòu:["伷","僽","冑","呪","咒","咮","宙","昼","晝","甃","皱","皺","籀","籒","籕","粙","紂","縐","纣","绉","胄","荮","葤","詋","酎","駎","驟","骤","㤘","㑇"],shēn:["伸","侁","兟","呻","堔","妽","娠","屾","峷","扟","敒","曑","柛","氠","深","燊","珅","甡","甧","申","眒","砷","穼","籶","籸","糂","紳","绅","罙","罧","葠","蓡","蔘","薓","裑","訷","詵","诜","身","駪","鯓","鯵","鰺","鲹","鵢","\uD873\uDCFD"],qū:["伹","佉","匤","呿","坥","屈","岖","岴","嶇","憈","抾","敺","浀","煀","祛","筁","粬","胠","蛆","蛐","袪","覻","詘","诎","趍","躯","軀","阹","駆","駈","驅","驱","髷","魼","鰸","鱋","鶌","麯","麴","麹","黢","㭕","\uD86A\uDE30","䓛"],"sì cì":["伺"],bēng:["伻","嘣","奟","崩","嵭","閍"],"sì shì":["似"],"jiā qié gā":["伽"],"yǐ chì":["佁"],"diàn tián":["佃","钿"],"hān gàn":["佄"],mài:["佅","劢","勱","卖","唛","売","脈","衇","賣","迈","邁","霡","霢","麥","麦","鿏"],dàn:["但","僤","啖","啗","啿","噉","嚪","帎","憺","旦","柦","氮","沊","泹","淡","狚","疍","癚","禫","窞","腅","萏","蓞","蛋","蜑","觛","訑","誕","诞","贉","霮","餤","饏","駳","髧","鴠","\uD86E\uDCB8"],bù:["佈","勏","吥","咘","埗","埠","布","廍","怖","悑","步","歨","歩","瓿","篰","荹","蔀","踄","部","郶","鈈","钚","餢"],bǐ:["佊","俾","匕","夶","妣","彼","朼","柀","比","毞","沘","疕","秕","笔","筆","粃","聛","舭","貏","鄙"],"zhāo shào":["佋"],cǐ:["佌","此","泚","皉","\uD86D\uDE96"],wèi:["位","卫","味","喂","墛","媦","慰","懀","未","渭","煟","熭","犚","猬","畏","緭","罻","胃","苿","菋","藯","蘶","蝟","螱","衛","衞","褽","謂","讆","讏","谓","躗","躛","軎","轊","鏏","霨","餧","餵","饖","魏","鮇","鳚"],zuǒ:["佐","左","繓"],yǎng:["佒","傟","养","坱","岟","慃","懩","攁","氧","氱","炴","痒","癢","礢","紻","蝆","軮","養","駚"],"tǐ tī":["体","體"],zhàn:["佔","偡","嶘","战","戦","戰","栈","桟","棧","湛","站","綻","绽","菚","蘸","虥","虦","譧","轏","驏"],"hé hē hè":["何"],bì:["佖","咇","哔","嗶","坒","堛","壁","奰","妼","婢","嬖","币","幣","幤","庇","庳","廦","弊","弻","弼","彃","必","怭","愊","愎","敝","斃","梐","毕","毖","毙","湢","滗","滭","潷","煏","熚","狴","獘","獙","珌","璧","畀","畢","疪","痹","痺","皕","睤","碧","筚","箅","箆","篦","篳","粊","綼","縪","繴","罼","腷","苾","荜","萆","萞","蓖","蓽","蔽","薜","蜌","袐","襅","襞","襣","觱","詖","诐","貱","贔","赑","跸","蹕","躃","躄","避","邲","鄨","鄪","鉍","鏎","鐴","铋","閇","閉","閟","闭","陛","韠","飶","饆","馝","駜","驆","髀","魓","鮅","鷝","鷩","鼊"],tuó:["佗","坨","堶","岮","槖","橐","沱","砣","砤","碢","紽","詑","跎","酡","阤","陀","陁","駝","駞","騨","驒","驝","驼","鮀","鴕","鸵","鼉","鼍","鼧","\uD873\uDD8D"],shé:["佘","舌","虵","蛥"],"yì dié":["佚","昳","泆","軼"],"fó fú bì bó":["佛"],"zuò zuō":["作"],gōu:["佝","沟","溝","痀","篝","簼","緱","缑","袧","褠","鈎","鉤","钩","鞲","韝"],nìng:["佞","侫","倿","寕","泞","澝","濘"],qú:["佢","劬","戵","斪","欋","欔","氍","淭","灈","爠","璖","璩","癯","磲","籧","絇","胊","臞","菃","葋","蕖","蘧","蟝","蠷","蠼","衐","衢","躣","軥","鑺","鴝","鸜","鸲","鼩"],"yōng yòng":["佣"],wǎ:["佤","咓","砙","邷"],kǎ:["佧","垰","胩","裃","鉲"],bāo:["佨","勹","包","孢","煲","笣","胞","苞","蕔","裦","褒","襃","闁","齙","龅"],"huái huí":["佪"],"gé hè":["佫"],lǎo:["佬","咾","恅","栳","狫","珯","硓","老","耂","荖","蛯","轑","銠","铑","鮱"],xiáng:["佭","庠","栙","祥","絴","翔","詳","跭"],gé:["佮","匌","呄","嗝","塥","愅","挌","搿","槅","櫊","滆","膈","臵","茖","觡","諽","輵","轕","閣","阁","隔","鞷","韐","韚","騔","骼","鮯"],yáng:["佯","劷","垟","崸","徉","扬","揚","敭","旸","昜","暘","杨","楊","洋","炀","珜","疡","瘍","眻","蛘","諹","輰","鍚","钖","阦","阳","陽","霷","颺","飏","鰑","鴹","鸉"],bǎi:["佰","捭","摆","擺","栢","百","竡","粨","襬"],fǎ:["佱","峜","法","灋","砝","鍅"],mǐng:["佲","凕","姳","慏","酩"],"èr nài":["佴"],hěn:["佷","很","狠","詪","\uD872\uDCF3"],huó:["佸","活"],guǐ:["佹","匦","匭","厬","垝","姽","宄","庋","庪","恑","晷","湀","癸","祪","簋","蛫","蟡","觤","詭","诡","軌","轨","陒","鬼"],quán:["佺","全","啳","埢","姾","峑","巏","拳","搼","权","楾","権","權","泉","洤","湶","牷","犈","瑔","痊","硂","筌","縓","荃","葲","蜷","蠸","觠","詮","诠","跧","踡","輇","辁","醛","銓","铨","闎","顴","颧","駩","騡","鬈","鰁","鳈","齤"],tiāo:["佻","庣","旫","祧","聎"],jiǎo:["佼","儌","孂","挢","搅","撟","撹","攪","敫","敽","敿","晈","暞","曒","灚","燞","狡","璬","皎","皦","絞","纐","绞","腳","臫","蟜","譑","賋","踋","鉸","铰","餃","饺","鱎","龣"],cì:["佽","刾","庛","朿","栨","次","絘","茦","莿","蛓","螆","賜","赐"],xíng:["侀","刑","哘","型","娙","形","洐","硎","蛵","邢","郉","鈃","鉶","銒","钘","铏","陉","陘","餳","\uD86F\uDC1B"],tuō:["侂","咃","咜","圫","托","拕","拖","汑","脫","脱","莌","袥","託","讬","飥","饦","魠","鮵"],kǎn:["侃","偘","冚","坎","惂","砍","莰","輡","轗","顑"],zhí:["侄","値","值","埴","執","姪","嬂","戠","执","摭","植","樴","淔","漐","直","禃","絷","縶","聀","职","職","膱","蟙","跖","踯","蹠","躑","軄","釞","馽"],gāi:["侅","垓","姟","峐","晐","畡","祴","荄","該","该","豥","賅","賌","赅","陔"],lái:["來","俫","倈","崃","崍","庲","来","梾","棶","涞","淶","猍","琜","筙","箂","莱","萊","逨","郲","錸","铼","騋","鯠","鶆","麳"],kuǎ:["侉","咵","垮","銙"],gōng:["侊","公","功","匑","匔","塨","宫","宮","工","幊","弓","恭","攻","杛","碽","糼","糿","肱","觥","觵","躬","躳","髸","龔","龚","䢼"],lì:["例","俐","俪","傈","儮","儷","凓","利","力","励","勵","历","厉","厤","厯","厲","叓","吏","呖","唎","唳","嚦","囇","坜","塛","壢","娳","婯","屴","岦","悧","悷","慄","戾","搮","暦","曆","曞","朸","枥","栃","栗","栛","檪","櫔","櫪","欐","歴","歷","沥","沴","涖","溧","濿","瀝","爏","犡","猁","珕","瑮","瓅","瓑","瓥","疬","痢","癧","盭","睙","砅","砺","砾","磿","礪","礫","礰","禲","秝","立","笠","篥","粒","粝","糲","脷","苈","茘","荔","莅","莉","蒚","蒞","藶","蚸","蛎","蛠","蜧","蝷","蠇","蠣","詈","讈","赲","轢","轣","轹","酈","鉝","隶","隷","雳","靂","靋","鬁","鳨","鴗","鷅","麜","\uD86F\uDD77","\uD870\uDF5B"],yīn:["侌","凐","喑","噾","囙","因","垔","堙","姻","婣","愔","慇","栶","氤","洇","溵","濦","瘖","禋","秵","筃","絪","緸","茵","蒑","蔭","裀","諲","銦","铟","闉","阥","阴","陰","陻","隂","霒","霠","鞇","音","韾","駰","骃","齗","\uD871\uDE21","\uD872\uDD07","\uD872\uDFB1"],mǐ:["侎","孊","弭","敉","洣","渳","灖","米","粎","羋","脒","芈","葞","蔝","銤"],zhū:["侏","株","槠","橥","櫧","櫫","洙","潴","瀦","猪","珠","硃","秼","絑","茱","蕏","蛛","蝫","蠩","袾","誅","諸","诛","诸","豬","跦","邾","銖","铢","駯","鮢","鯺","鴸","鼄"],ān:["侒","偣","媕","安","峖","庵","桉","氨","盦","盫","腤","菴","萻","葊","蓭","誝","諳","谙","鞌","鞍","韽","馣","鮟","鵪","鶕","鹌","\uD867\uDF7E"],lù:["侓","僇","勎","勠","圥","坴","塶","娽","峍","廘","彔","录","戮","摝","椂","樚","淕","淥","渌","漉","潞","琭","璐","甪","盝","睩","硉","祿","禄","稑","穋","箓","簏","簬","簵","簶","籙","粶","蔍","蕗","虂","螰","賂","赂","趢","路","踛","蹗","輅","轆","辂","辘","逯","醁","錄","録","錴","鏴","陸","騄","騼","鯥","鴼","鵦","鵱","鷺","鹭","鹿","麓","\uD86D\uDE27"],móu:["侔","劺","恈","眸","蛑","謀","谋","踎","鍪","鴾","麰"],ér:["侕","儿","児","兒","峏","栭","洏","粫","而","胹","荋","袻","輀","轜","陑","隭","髵","鮞","鲕","鴯","鸸"],"dòng tǒng tóng":["侗"],chà:["侘","奼","姹","岔","汊","詫","诧"],chì:["侙","傺","勅","勑","叱","啻","彳","恜","慗","憏","懘","抶","敕","斥","杘","湁","灻","炽","烾","熾","痓","痸","瘛","翄","翅","翤","翨","腟","赤","趩","遫","鉓","雴","飭","饬","鶒","鷘"],"gòng gōng":["供","共"],zhōu:["侜","周","喌","州","徟","洲","淍","炿","烐","珘","矪","舟","謅","譸","诌","賙","赒","輈","輖","辀","週","郮","銂","霌","駲","騆","鵃","鸼"],rú:["侞","儒","嚅","如","嬬","孺","帤","曘","桇","渪","濡","筎","茹","蕠","薷","蝡","蠕","袽","襦","邚","醹","銣","铷","顬","颥","鱬","鴑","鴽"],"jiàn cún":["侟"],xiá:["侠","俠","匣","峡","峽","敮","暇","柙","炠","烚","狎","狭","狹","珨","瑕","硖","硤","碬","祫","筪","縖","翈","舝","舺","蕸","赮","轄","辖","遐","鍜","鎋","陜","陿","霞","騢","魻","鶷","黠"],lǚ:["侣","侶","儢","吕","呂","屡","屢","履","挔","捛","旅","梠","焒","祣","稆","穭","絽","縷","缕","膂","膐","褛","褸","郘","鋁","铝"],ta:["侤"],"jiǎo yáo":["侥","僥","徺"],zhēn:["侦","偵","寊","帧","帪","幀","搸","斟","桢","楨","榛","樼","殝","浈","湞","潧","澵","獉","珍","珎","瑧","甄","眞","真","砧","碪","祯","禎","禛","箴","胗","臻","葴","蒖","蓁","薽","貞","贞","轃","遉","酙","針","鉁","錱","鍼","针","鱵"],"cè zè zhāi":["侧","側"],kuài:["侩","儈","凷","哙","噲","圦","块","塊","巜","廥","快","旝","欳","狯","獪","筷","糩","脍","膾","郐","鄶","鱠","鲙"],chái:["侪","儕","喍","柴","犲","祡","豺"],nóng:["侬","儂","农","哝","噥","檂","欁","浓","濃","燶","禯","秾","穠","脓","膿","蕽","襛","譨","農","辳","醲","鬞","\uD872\uDEA9"],jǐn:["侭","儘","卺","厪","巹","槿","漌","瑾","紧","緊","菫","蓳","謹","谨","錦","锦","饉","馑"],"hóu hòu":["侯","矦"],jiǒng:["侰","僒","冏","囧","泂","澃","炯","烱","煚","煛","熲","燛","窘","綗","褧","迥","逈","顈","颎","䌹"],"chěng tǐng":["侱"],"zhèn zhēn":["侲","揕"],zuò:["侳","做","唑","坐","岝","岞","座","祚","糳","胙","葃","葄","蓙","袏","阼"],qīn:["侵","兓","媇","嵚","嶔","欽","衾","誛","钦","顉","駸","骎","鮼"],jú:["侷","啹","婅","局","巈","椈","橘","泦","淗","湨","焗","犑","狊","粷","菊","蘜","趜","跼","蹫","輂","郹","閰","駶","驧","鵙","鵴","鶪","鼰","鼳","䴗"],"shù dōu":["侸"],tǐng:["侹","圢","娗","挺","涏","烶","珽","脡","艇","誔","頲","颋"],shèn:["侺","愼","慎","昚","涁","渗","滲","瘆","瘮","眘","祳","肾","胂","脤","腎","蜃","蜄","鋠"],"tuì tuó":["侻"],nán:["侽","喃","娚","抩","暔","枏","柟","楠","男","畘","莮","萳","遖"],xiāo:["侾","哓","嘵","嚻","囂","婋","宯","宵","庨","彇","揱","枭","枵","梟","櫹","歊","毊","消","潇","瀟","灱","灲","烋","焇","猇","獢","痚","痟","硝","硣","窙","箫","簘","簫","綃","绡","翛","膮","萧","蕭","虈","虓","蟂","蟏","蟰","蠨","踃","逍","銷","销","霄","颵","驍","骁","髇","髐","魈","鴞","鴵","鷍","鸮"],"biàn pián":["便","緶","缏"],tuǐ:["俀","腿","蹆","骽"],xì:["係","匸","卌","呬","墍","屃","屓","屭","忥","怬","恄","椞","潝","潟","澙","熂","犔","磶","禊","細","綌","縘","细","绤","舃","舄","蕮","虩","衋","覤","赩","趇","郤","釳","阋","隙","隟","霼","餼","饩","鬩","黖"],cù:["促","媨","憱","猝","瘄","瘯","簇","縬","脨","蔟","誎","趗","踧","踿","蹙","蹴","蹵","醋","顣","鼀"],é:["俄","囮","娥","峉","峨","峩","涐","珴","皒","睋","磀","莪","訛","誐","譌","讹","迗","鈋","鋨","锇","頟","額","额","魤","鵝","鵞","鹅"],qiú:["俅","叴","唒","囚","崷","巯","巰","扏","梂","殏","毬","求","汓","泅","浗","湭","煪","犰","玌","球","璆","皳","盚","紌","絿","肍","芁","莍","虬","虯","蛷","裘","觓","觩","訄","訅","賕","赇","逎","逑","遒","酋","釚","釻","銶","頄","鮂","鯄","鰽","鼽","\uD863\uDC47"],xú:["俆","徐","禑"],"guàng kuāng":["俇"],kù:["俈","喾","嚳","库","庫","廤","瘔","絝","绔","袴","裤","褲","酷"],wù:["俉","务","務","勿","卼","坞","塢","奦","婺","寤","屼","岉","嵨","忢","悞","悟","悮","戊","扤","晤","杌","溩","焐","熃","物","痦","矹","窹","粅","蘁","誤","误","鋈","阢","隖","雾","霚","霧","靰","騖","骛","鶩","鹜","鼿","齀"],jùn:["俊","儁","呁","埈","寯","峻","懏","捃","攟","晙","棞","燇","珺","畯","竣","箟","蜠","賐","郡","陖","餕","馂","駿","骏","鵔","鵕","鵘","䐃"],liáng:["俍","墚","梁","椋","樑","粮","粱","糧","良","輬","辌","\uD86D\uDFC5"],zǔ:["俎","唨","爼","祖","組","组","詛","诅","鎺","阻","靻"],"qiào xiào":["俏"],yǒng:["俑","勇","勈","咏","埇","塎","嵱","彮","怺","恿","悀","惥","愑","愹","慂","柡","栐","永","泳","湧","甬","蛹","詠","踊","踴","鯒","鲬"],hùn:["俒","倱","圂","尡","慁","掍","溷","焝","睴","觨","諢","诨"],jìng:["俓","傹","境","妌","婙","婧","弪","弳","径","徑","敬","曔","桱","梷","浄","瀞","獍","痉","痙","竞","竟","竫","競","竸","胫","脛","莖","誩","踁","迳","逕","鏡","镜","靖","静","靜","鵛"],sàn:["俕","閐"],pěi:["俖"],sú:["俗"],xī:["俙","僖","兮","凞","卥","厀","吸","唏","唽","嘻","噏","嚱","夕","奚","嬆","嬉","屖","嵠","巇","希","徆","徯","息","悉","悕","惁","惜","昔","晞","晰","晳","曦","析","桸","榽","樨","橀","欷","氥","汐","浠","淅","渓","溪","烯","焁","焈","焟","熄","熈","熙","熹","熺","熻","燨","爔","牺","犀","犠","犧","琋","瘜","皙","睎","瞦","矽","硒","磎","礂","稀","穸","窸","粞","糦","緆","繥","羲","翕","翖","肸","肹","膝","舾","莃","菥","蒠","蜥","螅","蟋","蠵","西","觹","觽","觿","譆","谿","豀","豨","豯","貕","赥","邜","鄎","酅","醯","釸","錫","鏭","鐊","鑴","锡","隵","餏","饎","饻","鯑","鵗","鸂","鼷"],lǐ:["俚","娌","峢","峲","李","欚","浬","澧","理","礼","禮","粴","裏","裡","豊","逦","邐","醴","鋰","锂","鯉","鱧","鱱","鲤","鳢"],bǎo:["保","堢","媬","宝","寚","寳","寶","珤","緥","葆","藵","褓","賲","靌","飹","飽","饱","駂","鳵","鴇","鸨"],"yú shù yù":["俞"],"sì qí":["俟"],"xìn shēn":["信"],xiū:["俢","修","咻","庥","樇","烌","羞","脙","脩","臹","貅","銝","鎀","飍","饈","馐","髤","髹","鮴","鱃","鵂","鸺","䗛"],dì:["俤","偙","僀","埊","墑","墬","娣","帝","怟","旳","梊","焍","玓","甋","眱","睇","碲","祶","禘","第","締","缔","腣","菂","蒂","蔕","蝃","蝭","螮","諦","谛","踶","递","逓","遞","遰","鉪","\uD852\uDDDB","䗖"],chóu:["俦","儔","嬦","惆","愁","懤","栦","燽","畴","疇","皗","稠","筹","籌","絒","綢","绸","菗","詶","讎","讐","踌","躊","酧","酬","醻","雔","雠","雦"],zhì:["俧","偫","儨","制","劕","垁","娡","寘","帙","帜","幟","庢","庤","廌","彘","徏","徝","志","忮","懥","懫","挃","挚","掷","摯","擲","旘","晊","智","栉","桎","梽","櫍","櫛","治","洷","滍","滞","滯","潌","瀄","炙","熫","狾","猘","璏","瓆","痔","痣","礩","祑","秩","秷","稚","稺","穉","窒","紩","緻","置","翐","膣","至","致","芖","蛭","袟","袠","製","覟","觗","觯","觶","誌","豑","豒","貭","質","贄","质","贽","跱","踬","躓","輊","轾","郅","銍","鋕","鑕","铚","锧","陟","隲","雉","駤","騭","騺","驇","骘","鯯","鴙","鷙","鸷","\uD870\uDCCA"],"liǎ liǎng":["俩"],jiǎn:["俭","倹","儉","减","剪","堿","弿","彅","戩","戬","拣","挸","捡","揀","撿","枧","柬","梘","检","検","檢","減","湕","瀽","瑐","睑","瞼","硷","碱","礆","笕","筧","简","簡","絸","繭","翦","茧","藆","蠒","裥","襇","襉","襺","詃","謇","謭","譾","谫","趼","蹇","鐗","鬋","鰎","鹸","鹻","鹼"],huò:["俰","咟","嚯","嚿","奯","彠","惑","或","擭","旤","曤","檴","沎","湱","瀖","獲","癨","眓","矐","祸","禍","穫","窢","耯","臛","艧","获","蒦","藿","蠖","謋","貨","货","鍃","鑊","镬","雘","霍","靃","韄","㸌"],"jù jū":["俱","据","鋸","锯"],xiào:["俲","傚","効","咲","哮","啸","嘋","嘨","嘯","孝","效","斅","斆","歗","涍","熽","笑","詨","誟"],pái:["俳","徘","牌","犤","猅","簰","簲","輫"],biào:["俵","鰾","鳔"],"chù tì":["俶"],fèi:["俷","剕","厞","吠","屝","废","廃","廢","昲","曊","櫠","沸","濷","狒","癈","肺","萉","費","费","鐨","镄","陫","靅","鼣"],fèng:["俸","凤","奉","湗","焨","煈","賵","赗","鳯","鳳","鴌"],ǎn:["俺","唵","埯","揞","罯","銨","铵"],bèi:["俻","倍","偝","偹","備","僃","备","悖","惫","愂","憊","昁","梖","焙","牬","犕","狈","狽","珼","琲","碚","禙","糒","苝","蓓","蛽","褙","貝","贝","軰","輩","辈","邶","郥","鄁","鋇","鐾","钡","鞁","鞴","\uD870\uDDD9"],yù:["俼","儥","喅","喩","喻","域","堉","妪","嫗","寓","峪","嶎","庽","彧","御","愈","慾","戫","昱","棛","棜","棫","櫲","欎","欝","欲","毓","浴","淯","滪","潏","澦","灪","焴","煜","燏","燠","爩","狱","獄","玉","琙","瘉","癒","砡","硢","硲","礇","礖","礜","禦","秗","稢","稶","篽","籞","籲","粖","緎","罭","聿","肀","艈","芋","芌","茟","蒮","蓣","蓹","蕷","蘌","蜟","蜮","袬","裕","誉","諭","譽","谕","豫","軉","輍","逳","遇","遹","郁","醧","鈺","鋊","錥","鐭","钰","閾","阈","雤","霱","預","预","飫","饇","饫","馭","驈","驭","鬰","鬱","鬻","魊","鱊","鳿","鴥","鴧","鴪","鵒","鷸","鸒","鹆","鹬"],xīn:["俽","噺","妡","嬜","廞","心","忄","忻","惞","新","昕","杺","欣","歆","炘","盺","薪","訢","辛","邤","鈊","鋅","鑫","锌","馨","馫","䜣","\uD86F\uDDF7"],"hǔ chí":["俿"],jiù:["倃","僦","匓","匛","匶","厩","咎","就","廄","廏","廐","慦","捄","救","旧","柩","柾","桕","欍","殧","疚","臼","舅","舊","鯦","鷲","鹫","麔","齨","㠇"],yáo:["倄","傜","嗂","垚","堯","姚","媱","尧","尭","峣","嶢","嶤","徭","揺","搖","摇","摿","暚","榣","烑","爻","猺","珧","瑤","瑶","磘","窑","窯","窰","肴","蘨","謠","謡","谣","軺","轺","遙","遥","邎","顤","颻","飖","餆","餚","鰩","鱙","鳐"],"cuì zú":["倅"],"liǎng liǎ":["倆"],wǎn:["倇","唍","婉","惋","挽","晚","晥","晩","晼","梚","椀","琬","畹","皖","盌","碗","綩","綰","绾","脘","萖","踠","輓","鋔"],zǒng:["倊","偬","傯","嵸","总","惣","捴","搃","摠","燪","総","緫","縂","總","蓗"],guān:["倌","关","官","棺","瘝","癏","窤","蒄","関","闗","關","鰥","鱞","鳏"],tiǎn:["倎","唺","忝","悿","晪","殄","淟","睓","腆","舔","覥","觍","賟","錪","餂"],mén:["們","扪","捫","璊","菛","虋","鍆","钔","門","閅","门","\uD86D\uDFA9"],"dǎo dào":["倒"],"tán tàn":["倓","埮"],"juè jué":["倔"],chuí:["倕","垂","埀","捶","搥","桘","棰","槌","箠","腄","菙","錘","鎚","锤","陲","顀"],xìng:["倖","姓","婞","嬹","幸","性","悻","杏","涬","緈","臖","荇","莕","葕"],péng:["倗","傰","塜","塳","弸","憉","捀","朋","棚","椖","樥","硼","稝","竼","篷","纄","膨","芃","蓬","蘕","蟚","蟛","袶","輣","錋","鑝","韸","韼","騯","髼","鬅","鬔","鵬","鹏"],"tǎng cháng":["倘"],hòu:["候","厚","后","垕","堠","後","洉","茩","豞","逅","郈","鮜","鱟","鲎","鲘"],tì:["倜","剃","嚏","嚔","屉","屜","悌","悐","惕","惖","戻","掦","替","朑","歒","殢","涕","瓋","笹","籊","薙","褅","逖","逷","髰","鬀","鬄"],gàn:["倝","凎","幹","榦","檊","淦","灨","盰","紺","绀","詌","贑","赣","骭","㽏"],"liàng jìng":["倞","靓"],suī:["倠","哸","夊","滖","濉","眭","睢","芕","荽","荾","虽","雖","鞖"],"chàng chāng":["倡"],jié:["倢","偼","傑","刦","刧","刼","劫","劼","卩","卪","婕","媫","孑","岊","崨","嵥","嶻","巀","幯","截","捷","掶","擮","昅","杢","杰","桀","桝","楬","楶","榤","洁","滐","潔","狤","睫","礍","竭","節","羯","莭","蓵","蛣","蜐","蠘","蠞","蠽","衱","袺","訐","詰","誱","讦","踕","迼","鉣","鍻","镼","頡","鮚","鲒","㛃"],"kǒng kōng":["倥"],juàn:["倦","劵","奆","慻","桊","淃","狷","獧","眷","睊","睠","絭","絹","绢","罥","羂","腃","蔨","鄄","餋"],zōng:["倧","堫","宗","嵏","嵕","惾","朡","棕","椶","熧","猣","磫","緃","翪","腙","葼","蝬","豵","踨","踪","蹤","鍐","鑁","騌","騣","骔","鬃","鬉","鬷","鯮","鯼"],ní:["倪","坭","埿","尼","屔","怩","淣","猊","籾","聣","蚭","蜺","觬","貎","跜","輗","郳","鈮","铌","霓","馜","鯢","鲵","麑","齯","\uD86D\uDC10","\uD86E\uDC1C"],zhuō:["倬","拙","捉","桌","梲","棁","棳","槕","涿","窧","鐯","䦃"],"wō wēi":["倭"],luǒ:["倮","剆","曪","瘰","癳","臝","蓏","蠃","裸","躶"],sōng:["倯","凇","娀","崧","嵩","庺","憽","松","枀","枩","柗","梥","檧","淞","濍","硹","菘","鬆"],lèng:["倰","堎","愣","睖","踜"],zì:["倳","剚","字","恣","渍","漬","牸","眥","眦","胔","胾","自","茡","荢"],bèn:["倴","坌","捹","撪","渀","笨","逩"],cǎi:["倸","啋","婇","彩","採","棌","毝","睬","綵","跴","踩"],zhài:["债","債","寨","瘵","砦"],yē:["倻","吔","噎","擨","暍","椰","歋","潱","蠮"],shà:["倽","唼","喢","歃","箑","翜","翣","萐","閯","霎"],qīng:["倾","傾","卿","圊","寈","氢","氫","淸","清","蜻","軽","輕","轻","郬","錆","鑋","靑","青","鯖"],yīng:["偀","嘤","噟","嚶","婴","媖","嫈","嬰","孆","孾","愥","撄","攖","朠","桜","樱","櫻","渶","煐","珱","瑛","璎","瓔","甇","甖","碤","礯","緓","纓","绬","缨","罂","罃","罌","膺","英","莺","蘡","蝧","蠳","褮","譻","賏","軈","鑍","锳","霙","韺","鴬","鶑","鶧","鶯","鷪","鷹","鸎","鸚","鹦","鹰","䓨"],"chēng chèn":["偁","爯"],ruǎn:["偄","朊","瑌","瓀","碝","礝","腝","軟","輭","软","阮"],"zhòng tóng":["偅"],chǔn:["偆","惷","睶","萶","蠢","賰"],"jiǎ jià":["假"],"jì jié":["偈"],"bǐng bìng":["偋"],ruò:["偌","叒","嵶","弱","楉","焫","爇","箬","篛","蒻","鄀","鰙","鰯","鶸"],tí:["偍","厗","啼","嗁","崹","漽","瑅","睼","禵","稊","緹","缇","罤","蕛","褆","謕","趧","蹄","蹏","醍","鍗","題","题","騠","鮷","鯷","鳀","鵜","鷤","鹈","\uD86D\uDE28"],wēi:["偎","危","喴","威","媙","嶶","巍","微","愄","揋","揻","椳","楲","溦","烓","煨","燰","癓","縅","葨","葳","薇","蜲","蝛","覣","詴","逶","隇","隈","霺","鰃","鰄","鳂"],piān:["偏","囨","媥","楄","犏","篇","翩","鍂"],yàn:["偐","厌","厭","唁","喭","嚈","嚥","堰","妟","姲","嬊","嬿","宴","彥","彦","敥","晏","暥","曕","曣","滟","灎","灔","灧","灩","焔","焰","焱","熖","燄","牪","猒","砚","硯","艳","艶","艷","覎","觃","觾","諺","讌","讞","谚","谳","豓","豔","贋","贗","赝","軅","酀","酽","醼","釅","雁","餍","饜","騐","験","騴","驗","驠","验","鬳","鳫","鴈","鴳","鷃","鷰","齞"],"tǎng dàng":["偒"],è:["偔","匎","卾","厄","呝","咢","噩","垩","堊","堮","岋","崿","廅","悪","愕","戹","扼","搤","搹","擜","櫮","歞","歺","湂","琧","砈","砐","硆","腭","苊","萼","蕚","蚅","蝁","覨","諤","讍","谔","豟","軛","軶","轭","遌","遏","遻","鄂","鈪","鍔","鑩","锷","阨","阸","頞","顎","颚","餓","餩","饿","鰐","鰪","鱷","鳄","鶚","鹗","齃","齶","\uD86E\uDEC7","\uD855\uDD32"],xié:["偕","勰","协","協","嗋","垥","奊","恊","愶","拹","携","撷","擕","擷","攜","斜","旪","熁","燲","綊","緳","縀","缬","翓","胁","脅","脇","脋","膎","蝢","衺","襭","諧","讗","谐","鞋","鞵","龤","㙦"],chě:["偖","扯","撦"],shěng:["偗","渻","眚"],chā:["偛","嗏","扠","挿","插","揷","疀","臿","艖","銟","鍤","锸","餷"],huáng:["偟","凰","喤","堭","墴","媓","崲","徨","惶","楻","湟","煌","獚","瑝","璜","癀","皇","磺","穔","篁","簧","艎","葟","蝗","蟥","諻","趪","遑","鍠","鐄","锽","隍","韹","餭","騜","鰉","鱑","鳇","鷬","黃","黄","\uD863\uDC51"],yǎo:["偠","咬","婹","宎","岆","杳","柼","榚","溔","狕","窅","窈","舀","苭","闄","騕","鷕","齩"],"chǒu qiào":["偢"],yóu:["偤","尤","庮","怣","沋","油","浟","游","犹","猶","猷","由","疣","秞","肬","莜","莸","蕕","蚰","蝣","訧","輏","輶","逰","遊","邮","郵","鈾","铀","駀","魷","鮋","鱿","鲉","\uD872\uDE0E"],xū:["偦","墟","媭","嬃","楈","欨","歔","燸","疞","盱","綇","縃","繻","胥","蕦","虗","虚","虛","蝑","裇","訏","許","諝","譃","谞","鑐","需","須","须","顼","驉","鬚","魆","魖","\uD872\uDCD9","\uD858\uDE21"],zhā:["偧","哳","抯","挓","揸","摣","樝","渣","皶","觰","譇","齄","齇"],cī:["偨","疵","蠀","趀","骴","髊","齹"],bī:["偪","屄","楅","毴","豍","逼","鰏","鲾","鵖"],xún:["偱","噚","寻","尋","峋","巡","廵","循","恂","揗","攳","旬","杊","栒","桪","樳","洵","浔","潯","燅","燖","珣","璕","畃","紃","荀","蟳","詢","询","鄩","鱏","鱘","鲟","\uD871\uDE13","\uD872\uDE7D","\uD870\uDF64","\uD870\uDE88"],"cāi sī":["偲"],duān:["偳","媏","端","褍","鍴"],ǒu:["偶","吘","嘔","耦","腢","蕅","藕","\uD870\uDE7C","\uD841\uDE76"],tōu:["偷","偸","鍮"],"zán zá zǎ":["偺"],"lǚ lóu":["偻","僂"],fèn:["偾","僨","奋","奮","弅","忿","愤","憤","瀵","瞓","秎","粪","糞","膹","鱝","鲼"],"kuǐ guī":["傀"],sǒu:["傁","叜","叟","嗾","櫢","瞍","薮","藪"],"zhì sī tí":["傂"],sù:["傃","僳","嗉","塐","塑","夙","嫊","愫","憟","榡","樎","樕","殐","泝","涑","溯","溸","潚","潥","玊","珟","璛","簌","粛","粟","素","縤","肃","肅","膆","蔌","藗","觫","訴","謖","诉","谡","趚","蹜","速","遡","遬","鋉","餗","驌","骕","鱐","鷫","鹔","\uD86D\uDDE7"],xiā:["傄","煆","瞎","虲","谺","颬","鰕"],"yuàn yuán":["傆","媛"],rǒng:["傇","冗","宂","氄","軵"],nù:["傉","怒"],yùn:["傊","孕","恽","惲","愠","慍","枟","腪","蕴","薀","藴","蘊","褞","貟","运","運","郓","鄆","酝","醖","醞","韗","韞","韵","韻","餫"],"gòu jiǎng":["傋"],mà:["傌","嘜","榪","睰","祃","禡","罵","閁","駡","骂","鬕"],bàng:["傍","塝","棒","玤","稖","艕","蒡","蜯","謗","谤","鎊","镑"],diān:["傎","厧","嵮","巅","巓","巔","掂","攧","敁","槇","滇","癫","癲","蹎","顚","顛","颠","齻"],táng:["傏","唐","啺","坣","堂","塘","搪","棠","榶","溏","漟","煻","瑭","磄","禟","篖","糃","糖","糛","膅","膛","蓎","螗","螳","赯","踼","鄌","醣","鎕","隚","餹","饄","鶶","䣘"],hào:["傐","哠","恏","昊","昦","晧","暠","暤","暭","曍","浩","淏","澔","灏","灝","皓","皜","皞","皡","皥","耗","聕","薃","號","鄗","顥","颢","鰝"],"xī xì":["傒"],shān:["傓","删","刪","剼","圸","山","挻","搧","柵","檆","潸","澘","煽","狦","珊","笘","縿","羴","羶","脠","舢","芟","衫","跚","軕","邖","閊","鯅"],"qiàn jiān":["傔"],"què jué":["傕","埆"],"cāng chen":["傖"],róng:["傛","媶","嫆","嬫","容","峵","嵘","嶸","戎","搈","曧","栄","榕","榮","榵","毧","溶","瀜","烿","熔","狨","瑢","穁","絨","绒","羢","肜","茙","茸","荣","蓉","蝾","融","螎","蠑","褣","鎔","镕","駥"],"tà tàn":["傝"],suō:["傞","唆","嗍","嗦","娑","摍","桫","梭","睃","簑","簔","羧","莏","蓑","趖","鮻"],dǎi:["傣","歹"],zài:["傤","儎","再","在","扗","洅","載","酨"],gǔ:["傦","古","啒","尳","愲","榖","榾","汩","淈","濲","瀔","牯","皷","皼","盬","瞽","穀","罟","羖","股","脵","臌","薣","蛊","蠱","詁","诂","轂","逧","鈷","钴","餶","馉","鼓","鼔","\uD859\uDE76"],bīn:["傧","宾","彬","斌","椕","滨","濒","濱","濵","瀕","繽","缤","虨","豩","豳","賓","賔","邠","鑌","镔","霦","顮"],chǔ:["储","儲","杵","椘","楚","楮","檚","濋","璴","础","礎","禇","處","齭","齼","\uD873\uDE93"],nuó:["傩","儺","挪","梛","橠"],"cān càn":["傪"],lěi:["傫","儡","厽","垒","塁","壘","壨","櫐","灅","癗","矋","磊","礨","耒","蕌","蕾","藟","蘽","蠝","誄","讄","诔","鑸","鸓"],cuī:["催","凗","墔","崔","嵟","慛","摧","榱","獕","磪","鏙"],yōng:["傭","嗈","墉","壅","嫞","庸","廱","慵","拥","擁","滽","灉","牅","痈","癕","癰","臃","邕","郺","鄘","鏞","镛","雍","雝","饔","鱅","鳙","鷛"],"zāo cáo":["傮"],sǒng:["傱","嵷","怂","悚","愯","慫","竦","耸","聳","駷","㧐"],ào:["傲","坳","垇","墺","奡","嫯","岙","岰","嶴","懊","擙","澳","鏊","驁","骜"],"qī còu":["傶"],chuǎng:["傸","磢","闖","闯"],shǎ:["傻","儍"],hàn:["傼","垾","悍","憾","扞","捍","撖","撼","旱","晘","暵","汉","涆","漢","瀚","焊","猂","皔","睅","翰","莟","菡","蛿","蜭","螒","譀","輚","釬","銲","鋎","雗","頷","顄","颔","駻","鶾"],zhāng:["傽","嫜","张","張","彰","慞","暲","樟","漳","獐","璋","章","粻","蔁","蟑","遧","鄣","鏱","餦","騿","鱆","麞"],"yān yàn":["傿","墕","嬮"],"piào biāo":["僄","骠"],liàn:["僆","堜","媡","恋","戀","楝","殓","殮","湅","潋","澰","瀲","炼","煉","瑓","練","纞","练","萰","錬","鍊","鏈","链","鰊","\uD873\uDDA0"],màn:["㵘","僈","墁","幔","慢","曼","漫","澷","熳","獌","縵","缦","蔄","蘰","鄤","鏝","镘","\uD871\uDF2C"],"tàn tǎn":["僋"],yíng:["僌","営","塋","嬴","攍","楹","櫿","溁","溋","滢","潆","濙","濚","濴","瀅","瀛","瀠","瀯","灐","灜","熒","營","瑩","盁","盈","禜","籝","籯","縈","茔","荧","莹","萤","营","萦","萾","蓥","藀","蛍","蝇","蝿","螢","蠅","謍","贏","赢","迎","鎣"],dòng:["働","冻","凍","动","動","姛","戙","挏","栋","棟","湩","硐","胨","胴","腖","迵","霘","駧"],zhuàn:["僎","啭","囀","堟","撰","灷","瑑","篆","腞","蒃","襈","譔","饌","馔"],xiàng:["像","勨","向","嚮","姠","嶑","曏","橡","珦","缿","蟓","衖","襐","象","鐌","項","项","鱌"],shàn:["僐","善","墠","墡","嬗","擅","敾","椫","樿","歚","汕","灗","疝","磰","繕","缮","膳","蟮","蟺","訕","謆","譱","讪","贍","赡","赸","鄯","鐥","饍","騸","骟","鱓","鱔","鳝","\uD86E\uDF83"],"tuí tuǐ":["僓"],zǔn:["僔","噂","撙","譐"],pú:["僕","匍","圤","墣","濮","獛","璞","瞨","穙","莆","菐","菩","葡","蒱","蒲","贌","酺","鏷","镤"],láo:["僗","劳","労","勞","哰","崂","嶗","憥","朥","浶","牢","痨","癆","窂","簩","醪","鐒","铹","顟","髝","\uD86E\uDF7C"],chǎng:["僘","厰","廠","敞","昶","氅","鋹","\uD872\uDF2E"],guāng:["僙","光","咣","垙","姯","洸","灮","炗","炚","炛","烡","珖","胱","茪","輄","銧","黆","\uD861\uDC08"],liáo:["僚","嘹","嫽","寥","寮","尞","屪","嵺","嶚","嶛","廫","憀","敹","暸","橑","獠","璙","疗","療","竂","簝","繚","缭","聊","膋","膫","藔","蟟","豂","賿","蹘","辽","遼","飉","髎","鷯","鹩"],dèng:["僜","凳","墱","嶝","櫈","瞪","磴","覴","邓","鄧","隥"],"chán zhàn zhuàn":["僝"],bō:["僠","嶓","拨","撥","播","波","溊","玻","癶","盋","砵","碆","礡","缽","菠","袰","蹳","鉢","钵","餑","饽","驋","鱍","\uD872\uDF5B"],huì:["僡","匯","卉","喙","嘒","嚖","圚","嬒","寭","屶","屷","彗","彙","彚","徻","恚","恵","惠","慧","憓","懳","晦","暳","槥","橞","檅","櫘","汇","泋","滙","潓","烩","燴","獩","璤","瞺","硊","秽","穢","篲","絵","繪","绘","翙","翽","荟","蔧","蕙","薈","薉","蟪","詯","誨","諱","譓","譿","讳","诲","賄","贿","鐬","闠","阓","靧","頮","顪","颒","餯","\uD872\uDD1D","\uD872\uDF6C"],chuǎn:["僢","喘","舛","荈","踳"],"tiě jiàn":["僣"],sēng:["僧","鬙"],xiàn:["僩","僴","哯","垷","塪","姭","娊","宪","岘","峴","憲","撊","晛","橌","橺","涀","瀗","献","獻","现","現","県","睍","粯","糮","絤","綫","線","线","缐","羡","羨","腺","臔","臽","苋","莧","誢","豏","鋧","錎","限","陥","陷","霰","餡","馅","麲","鼸","\uD870\uDC2A","\uD86B\uDFA2"],"yù jú":["僪"],"è wū":["僫"],"tóng zhuàng":["僮"],lǐn:["僯","凛","凜","廩","廪","懍","懔","撛","檁","檩","澟","癛","癝"],gù:["僱","凅","固","堌","崓","崮","故","梏","棝","牿","痼","祻","錮","锢","雇","顧","顾","鯝","鲴"],jiāng:["僵","壃","姜","橿","殭","江","畕","疅","礓","繮","缰","翞","茳","葁","薑","螀","螿","豇","韁","鱂","鳉"],mǐn:["僶","冺","刡","勄","悯","惽","愍","慜","憫","抿","敃","敏","敯","泯","潣","皿","笢","笽","簢","蠠","閔","閩","闵","闽","鰵","鳘","黽"],jìn:["僸","凚","噤","嚍","墐","壗","妗","嬧","搢","晉","晋","枃","殣","浕","浸","溍","濅","濜","烬","煡","燼","琎","瑨","璶","盡","祲","縉","缙","荩","藎","覲","觐","賮","贐","赆","近","进","進","靳","齽"],"jià jie":["價"],qiào:["僺","峭","帩","撬","殻","窍","竅","誚","诮","躈","陗","鞩","韒","髚"],pì:["僻","媲","嫓","屁","澼","甓","疈","譬","闢","鷿","鸊","䴙"],sài:["僿","簺","賽","赛"],"chán tǎn shàn":["儃"],"dāng dàng":["儅","当","闣"],xuān:["儇","喧","塇","媗","宣","愃","愋","揎","昍","暄","煊","煖","瑄","睻","矎","禤","箮","翧","翾","萱","萲","蓒","蕿","藼","蘐","蝖","蠉","諠","諼","譞","谖","軒","轩","鍹","駽","鰚","\uD86D\uDCF6","\uD86C\uDF7D"],"dān dàn":["儋","擔","瘅"],càn:["儏","澯","灿","燦","璨","粲","薒","謲"],"bīn bìn":["儐"],"án àn":["儑"],tái:["儓","坮","嬯","抬","擡","檯","炱","炲","籉","臺","薹","跆","邰","颱","鮐","鲐"],lán:["儖","兰","囒","婪","岚","嵐","幱","拦","攔","斓","斕","栏","欄","欗","澜","瀾","灆","灡","燣","燷","璼","篮","籃","籣","繿","葻","蓝","藍","蘫","蘭","褴","襕","襤","襴","襽","譋","讕","谰","躝","鑭","镧","闌","阑","韊","\uD871\uDC97"],"nǐ yì ài yí":["儗"],méng:["儚","幪","曚","朦","橗","檬","氋","溕","濛","甍","甿","盟","礞","艨","莔","萌","蕄","虻","蝱","鄳","鄸","霿","靀","顭","饛","鯍","鸏","鹲","\uD86D\uDC61","㠓"],níng:["儜","凝","咛","嚀","嬣","柠","橣","檸","狞","獰","聍","聹","薴","鑏","鬡","鸋"],qióng:["儝","卭","宆","惸","憌","桏","橩","焪","焭","煢","熍","琼","瓊","睘","穷","穹","窮","竆","笻","筇","舼","茕","藑","藭","蛩","蛬","赹","跫","邛","銎","䓖"],liè:["儠","冽","列","劣","劽","埒","埓","姴","峛","巤","挒","捩","栵","洌","浖","烈","烮","煭","犣","猎","猟","獵","聗","脟","茢","蛚","趔","躐","迾","颲","鬛","鬣","鮤","鱲","鴷","䴕","\uD86D\uDEAD"],kuǎng:["儣","夼","懭"],bào:["儤","勽","報","忁","报","抱","曓","爆","犦","菢","虣","蚫","豹","鉋","鑤","铇","骲","髱","鮑","鲍"],biāo:["儦","墂","幖","彪","标","標","滮","瀌","熛","爂","猋","瘭","磦","膘","臕","謤","贆","鏢","鑣","镖","镳","颮","颷","飆","飇","飈","飊","飑","飙","飚","驫","骉","髟"],zǎn:["儧","儹","噆","攅","昝","趱","趲"],háo:["儫","嗥","嘷","噑","嚎","壕","椃","毜","毫","濠","獆","獔","竓","籇","蚝","蠔","譹","豪"],qìng:["儬","凊","庆","慶","櫦","濪","碃","磬","罄","靘"],chèn:["儭","嚫","榇","櫬","疢","衬","襯","讖","谶","趁","趂","齓","齔","龀"],téng:["儯","幐","滕","漛","疼","籐","籘","縢","腾","藤","虅","螣","誊","謄","邆","駦","騰","驣","鰧","䲢"],"lǒng lóng lòng":["儱"],"chán chàn":["儳"],"ráng xiāng":["儴","勷"],"huì xié":["儶"],luó:["儸","攞","椤","欏","猡","玀","箩","籮","罗","羅","脶","腡","萝","蘿","螺","覼","逻","邏","鏍","鑼","锣","镙","饠","騾","驘","骡","鸁"],léi:["儽","嫘","檑","欙","瓃","畾","縲","纍","纝","缧","罍","羸","蔂","蘲","虆","轠","鐳","鑘","镭","雷","靁","鱩","鼺"],"nàng nāng":["儾"],"wù wū":["兀"],yǔn:["允","喗","夽","抎","殒","殞","狁","磒","荺","賱","鈗","阭","陨","隕","霣","馻","齫","齳"],zān:["兂","橵","簪","簮","糌","鐕","鐟","鵤"],yuán:["元","円","原","厡","厵","园","圆","圎","園","圓","垣","塬","媴","嫄","援","榞","榬","橼","櫞","沅","湲","源","溒","爰","猨","猿","笎","緣","縁","缘","羱","茒","薗","蝝","蝯","螈","袁","褤","謜","轅","辕","邍","邧","酛","鈨","鎱","騵","魭","鶢","鶰","黿","鼋","\uD86D\uDE2A"],xiōng:["兄","兇","凶","匂","匈","哅","忷","恟","汹","洶","胷","胸","芎","訩","詾","讻"],chōng:["充","嘃","忡","憃","憧","摏","沖","浺","珫","罿","翀","舂","艟","茺","衝","蹖","㳘"],zhào:["兆","垗","旐","曌","枛","櫂","照","燳","狣","瞾","笊","罀","罩","羄","肁","肇","肈","詔","诏","赵","趙","鮡","\uD873\uDD90"],"duì ruì yuè":["兊","兌","兑"],kè:["克","刻","勀","勊","堁","娔","客","恪","愙","氪","溘","碦","緙","缂","艐","衉","課","课","錁","锞","騍","骒"],tù:["兎","兔","堍","迌","鵵"],dǎng:["党","攩","欓","譡","讜","谠","黨","\uD84D\uDDCB"],dōu:["兜","兠","唗","橷","篼","蔸"],huǎng:["兤","奛","幌","怳","恍","晄","炾","熀","縨","詤","謊","谎"],rù:["入","嗕","媷","扖","杁","洳","溽","縟","缛","蓐","褥","鳰"],nèi:["內","氝","氞","錗"],"yú shù":["兪"],"liù lù":["六"],han:["兯","爳"],tiān:["兲","天","婖","添","酟","靔","靝","黇"],"xīng xìng":["兴"],diǎn:["典","嚸","奌","婰","敟","椣","点","碘","蒧","蕇","踮","點"],"zī cí":["兹"],jiān:["兼","冿","囏","坚","堅","奸","姦","姧","尖","幵","惤","戋","戔","搛","椾","樫","櫼","歼","殱","殲","湔","瀐","瀸","煎","熞","熸","牋","瑊","睷","礛","礷","笺","箋","緘","縑","缄","缣","肩","艰","艱","菅","菺","葌","蒹","蔪","蕑","蕳","虃","譼","豜","鑯","雃","鞯","韀","韉","餰","馢","鰔","鰜","鰹","鲣","鳒","鵑","鵳","鶼","鹣","麉"],shòu:["兽","受","售","壽","夀","寿","授","狩","獣","獸","痩","瘦","綬","绶","膄"],jì:["兾","冀","剂","剤","劑","勣","坖","垍","塈","妓","季","寂","寄","廭","彑","徛","忌","悸","惎","懻","技","旡","既","旣","暨","暩","曁","梞","檕","檵","洎","漃","漈","瀱","痵","癠","禝","稩","稷","穄","穊","穧","紀","継","績","繋","繼","继","绩","罽","臮","芰","茍","茤","葪","蓟","蔇","薊","蘎","蘮","蘻","裚","襀","覬","觊","計","記","誋","计","记","跡","跽","蹟","迹","际","際","霁","霽","驥","骥","髻","鬾","魝","魥","鯚","鯽","鰶","鰿","鱀","鱭","鲚","鲫","鵋","鷑","齌","\uD869\uDFDD","\uD873\uDDA8","\uD873\uDDAD"],jiōng:["冂","冋","坰","埛","扃","蘏","蘔","駉","駫","\uD873\uDCF6"],mào:["冃","冐","媢","帽","愗","懋","暓","柕","楙","毷","瑁","皃","眊","瞀","耄","茂","萺","蝐","袤","覒","貌","貿","贸","鄚","鄮"],rǎn:["冄","冉","姌","媣","染","珃","苒","蒅","䎃"],"nèi nà":["内"],gāng:["冈","冮","刚","剛","堈","堽","岡","掆","摃","棡","牨","犅","疘","綱","纲","缸","罁","罡","肛","釭","鎠","㭎"],cè:["冊","册","厕","厠","夨","廁","恻","惻","憡","敇","测","測","笧","策","筞","筴","箣","荝","萗","萴","蓛"],guǎ:["冎","剐","剮","叧","寡"],"mào mò":["冒"],gòu:["冓","啂","坸","垢","够","夠","媾","彀","搆","撀","构","構","煹","覯","觏","訽","詬","诟","購","购","遘","雊"],xǔ:["冔","喣","暊","栩","珝","盨","糈","詡","諿","诩","鄦","醑"],mì:["冖","冪","嘧","塓","宻","密","峚","幂","幎","幦","怽","榓","樒","櫁","汨","淧","滵","漞","濗","熐","羃","蔤","蜜","覓","覔","覛","觅","謐","谧","鼏"],"yóu yín":["冘"],xiě:["写","冩","藛"],jūn:["军","君","均","桾","汮","皲","皸","皹","碅","莙","蚐","袀","覠","軍","鈞","銁","銞","鍕","钧","頵","鮶","鲪","麏"],mí:["冞","擟","瀰","爢","猕","獼","祢","禰","縻","蒾","藌","蘪","蘼","袮","詸","謎","迷","醚","醾","醿","釄","镾","鸍","麊","麋","麛"],"guān guàn":["冠","覌","観","觀","观"],měng:["冡","勐","懵","掹","猛","獴","艋","蜢","蠓","錳","锰","鯭","鼆"],zhǒng:["冢","塚","尰","歱","煄","瘇","肿","腫","踵"],zuì:["冣","嶵","晬","最","栬","槜","檇","檌","祽","絊","罪","蕞","辠","酔","酻","醉","錊"],yuān:["冤","剈","囦","嬽","寃","棩","淵","渁","渆","渊","渕","灁","眢","肙","葾","蒬","蜎","蜵","駌","鳶","鴛","鵷","鸢","鸳","鹓","鼘","鼝"],míng:["冥","名","明","暝","朙","榠","洺","溟","猽","眀","眳","瞑","茗","螟","覭","詺","鄍","銘","铭","鳴","鸣"],kòu:["冦","叩","宼","寇","扣","敂","滱","窛","筘","簆","蔲","蔻","釦","鷇"],tài:["冭","太","夳","忲","态","態","汰","汱","泰","溙","肽","舦","酞","鈦","钛"],"féng píng":["冯","馮"],"chōng chòng":["冲"],kuàng:["况","圹","壙","岲","懬","旷","昿","曠","框","況","爌","眖","眶","矿","砿","礦","穬","絋","絖","纊","纩","貺","贶","軦","邝","鄺","鉱","鋛","鑛","黋"],lěng:["冷"],pàn:["冸","判","叛","沜","泮","溿","炍","牉","畔","盼","聁","袢","襻","詊","鋬","鑻","頖","鵥"],fā:["冹","彂","沷","発","發"],xiǎn:["冼","尟","尠","崄","嶮","幰","攇","显","櫶","毨","灦","烍","燹","狝","猃","獫","獮","玁","禒","筅","箲","藓","蘚","蚬","蜆","譣","赻","跣","鍌","险","険","險","韅","顕","顯","㬎"],qià:["冾","圶","帢","恰","殎","洽","硈","胢","髂"],"jìng chēng":["净","凈","淨"],sōu:["凁","嗖","廀","廋","捜","搜","摉","溲","獀","艘","蒐","螋","鄋","醙","鎪","锼","颼","飕","餿","馊","騪"],měi:["凂","媄","媺","嬍","嵄","挴","毎","每","浼","渼","燘","美","躾","鎂","镁","黣"],tú:["凃","図","图","圖","圗","塗","屠","峹","嵞","庩","廜","徒","悇","揬","涂","瘏","筡","腯","荼","蒤","跿","途","酴","鈯","鍎","馟","駼","鵌","鶟","鷋","鷵","\uD873\uDCFF"],zhǔn:["准","凖","埻","準","\uD871\uDE2F"],"liáng liàng":["凉","涼","量"],diāo:["凋","刁","刟","叼","奝","弴","彫","汈","琱","碉","簓","虭","蛁","貂","錭","雕","鮉","鯛","鲷","鵰","鼦"],còu:["凑","湊","腠","輳","辏"],ái:["凒","啀","嘊","捱","溰","癌","皑","皚"],duó:["凙","剫","夺","奪","痥","踱","鈬","鐸","铎"],dú:["凟","匵","嬻","椟","櫝","殰","涜","牍","牘","犊","犢","独","獨","瓄","皾","裻","読","讀","讟","豄","贕","錖","鑟","韇","韣","韥","騳","髑","黩","黷"],"jǐ jī":["几"],fán:["凡","凢","凣","匥","墦","杋","柉","棥","樊","瀿","烦","煩","燔","璠","矾","礬","笲","籵","緐","羳","舤","舧","薠","蘩","蠜","襎","蹯","釩","鐇","鐢","钒","鷭","\uD86D\uDD0D","\uD873\uDE2A"],jū:["凥","匊","娵","婮","居","崌","抅","挶","掬","梮","椐","檋","毩","毱","泃","涺","狙","琚","疽","砠","罝","腒","艍","蜛","裾","諊","跔","踘","躹","陱","雎","鞠","鞫","駒","驹","鮈","鴡","鶋","\uD873\uDD8B"],"chù chǔ":["処","处"],zhǐ:["凪","劧","咫","址","坧","帋","恉","扺","指","旨","枳","止","汦","沚","洔","淽","疻","砋","祉","秖","紙","纸","芷","藢","衹","襧","訨","趾","軹","轵","酯","阯","黹"],píng:["凭","凴","呯","坪","塀","岼","帡","帲","幈","平","慿","憑","枰","洴","焩","玶","瓶","甁","竮","箳","簈","缾","荓","萍","蓱","蚲","蛢","評","评","軿","輧","郱","鮃","鲆"],kǎi:["凯","凱","剀","剴","垲","塏","恺","愷","慨","暟","蒈","輆","鍇","鎧","铠","锴","闓","闿","颽"],gān:["凲","坩","尲","尴","尶","尷","柑","泔","漧","玕","甘","疳","矸","竿","筸","粓","肝","苷","迀","酐","魐"],"kǎn qiǎn":["凵"],tū:["凸","堗","嶀","捸","涋","湥","痜","禿","秃","突","葖","鋵","鵚","鼵","㻬"],"āo wā":["凹"],chū:["出","初","岀","摴","榋","樗","貙","齣","䢺","䝙"],dàng:["凼","圵","垱","壋","档","檔","氹","璗","瓽","盪","瞊","砀","碭","礑","簜","荡","菪","蕩","蘯","趤","逿","雼","\uD870\uDF61"],hán:["函","凾","含","圅","娢","寒","崡","晗","梒","浛","涵","澏","焓","琀","甝","筨","蜬","邗","邯","鋡","韓","韩"],záo:["凿","鑿"],dāo:["刀","刂","忉","氘","舠","螩","釖","魛","鱽"],chuāng:["刅","摐","牎","牕","疮","瘡","窓","窗","窻"],"fēn fèn":["分"],"qiè qiē":["切"],kān:["刊","勘","堪","戡","栞","龕","龛"],cǔn:["刌","忖"],chú:["刍","厨","幮","廚","橱","櫉","櫥","滁","犓","篨","耡","芻","蒢","蒭","蜍","蟵","豠","趎","蹰","躇","躕","鉏","鋤","锄","除","雏","雛","鶵"],"huà huá":["划"],lí:["刕","剓","剺","劙","厘","喱","嚟","囄","嫠","孷","廲","悡","梨","梸","棃","漓","灕","犁","犂","狸","琍","璃","瓈","盠","睝","离","穲","竰","筣","篱","籬","糎","縭","缡","罹","艃","荲","菞","蓠","蔾","藜","蘺","蜊","蟍","蟸","蠫","褵","謧","貍","醨","鋫","錅","鏫","鑗","離","驪","骊","鯏","鯬","鱺","鲡","鵹","鸝","鹂","黎","黧","㰀"],yuè:["刖","嬳","岄","岳","嶽","恱","悅","悦","戉","抈","捳","月","樾","瀹","爚","玥","礿","禴","篗","籆","籥","籰","粤","粵","蘥","蚎","蚏","説","越","跀","跃","躍","軏","鈅","鉞","鑰","钺","閱","閲","阅","鸑","鸙","黦","龠","\uD86D\uDC04","\uD873\uDE1A"],liú:["刘","劉","嚠","媹","嵧","旈","旒","榴","橊","流","浏","瀏","琉","瑠","瑬","璢","畄","留","畱","疁","瘤","癅","硫","蒥","蓅","蟉","裗","鎏","鏐","鐂","镠","飀","飅","飗","駠","駵","騮","驑","骝","鰡","鶹","鹠","麍"],zé:["则","則","啧","嘖","嫧","帻","幘","択","樍","歵","沢","泎","溭","皟","瞔","矠","礋","箦","簀","舴","蔶","蠌","襗","謮","賾","赜","迮","鸅","齚","齰"],"chuàng chuāng":["创","創"],qù:["刞","厺","去","閴","闃","阒","麮","鼁"],"bié biè":["別","别"],"páo bào":["刨"],"chǎn chàn":["刬","剗","幝"],guā:["刮","劀","桰","歄","煱","瓜","胍","踻","颪","颳","騧","鴰","鸹"],gēng:["刯","庚","椩","浭","焿","畊","絚","羮","羹","耕","菮","賡","赓","鶊","鹒"],dào:["到","噵","悼","椡","檤","燾","瓙","盗","盜","稲","稻","纛","翿","艔","菿","衜","衟","軇","道"],chuàng:["刱","剏","剙","怆","愴"],kū:["刳","哭","圐","堀","枯","桍","矻","窟","跍","郀","骷","鮬"],duò:["刴","剁","墯","尮","惰","憜","挅","桗","舵","跥","跺","陊","陏","飿","饳","鵽"],"shuā shuà":["刷"],"quàn xuàn":["券"],"chà shā":["刹","剎"],"cì cī":["刺"],guì:["刽","刿","劊","劌","撌","攰","昋","桂","椢","槶","樻","櫃","猤","禬","筀","蓕","襘","貴","贵","跪","鐀","鑎","鞼","鱖","鱥"],lóu:["剅","娄","婁","廔","楼","樓","溇","漊","熡","耧","耬","艛","蒌","蔞","蝼","螻","謱","軁","遱","鞻","髅","髏","\uD86A\uDCFB"],cuò:["剉","剒","厝","夎","挫","措","棤","莝","莡","蓌","逪","銼","錯","锉","错"],"xiāo xuē":["削"],"kēi kè":["剋","尅"],"là lá":["剌"],tī:["剔","梯","踢","銻","锑","鷈","鷉","䏲","䴘"],pōu:["剖"],wān:["剜","塆","壪","帵","弯","彎","湾","潫","灣","睕","蜿","豌"],"bāo bō":["剝","剥"],duō:["剟","咄","哆","嚉","多","夛","掇","毲","畓","裰","㙍"],qíng:["剠","勍","夝","情","擎","晴","暒","棾","樈","檠","氰","甠","硘","葝","黥"],"yǎn shàn":["剡"],"dū zhuó":["剢"],yān:["剦","嫣","崦","嶖","恹","懕","懨","樮","淊","淹","漹","烟","焉","焑","煙","珚","篶","胭","臙","菸","鄢","醃","閹","阉","黫"],huō:["剨","劐","吙","攉","秴","耠","锪","騞","\uD873\uDD03"],shèng:["剩","剰","勝","圣","墭","嵊","晠","榺","橳","琞","聖","蕂","貹","賸"],"duān zhì":["剬"],wū:["剭","呜","嗚","圬","屋","巫","弙","杇","歍","汙","汚","污","洿","烏","窏","箼","螐","誈","誣","诬","邬","鄔","鎢","钨","鰞","鴮"],gē:["割","哥","圪","彁","戈","戓","戨","歌","滒","犵","肐","袼","謌","鎶","鴚","鴿","鸽"],"dá zhá":["剳"],chuán:["剶","暷","椽","篅","舡","舩","船","輲","遄"],"tuán zhuān":["剸","漙","篿"],"lù jiū":["剹"],pēng:["剻","匉","嘭","怦","恲","抨","梈","烹","砰","軯","駍"],piāo:["剽","勡","慓","旚","犥","翲","螵","飃","飄","飘","魒"],kōu:["剾","彄","抠","摳","眍","瞘","芤","\uD86F\uDE29"],"jiǎo chāo":["剿","劋","勦","摷"],qiāo:["劁","勪","墝","幧","敲","橇","毃","燆","硗","磽","繑","趬","跷","踍","蹺","蹻","郻","鄡","鄥","鍫","鍬","鐰","锹","頝"],"huá huà":["劃"],"zhā zhá":["劄"],"pī pǐ":["劈","悂"],tāng:["劏","嘡","羰","薚","蝪","蹚","鞺","鼞"],chán:["劖","嚵","壥","婵","嬋","巉","廛","棎","毚","湹","潹","潺","澶","瀍","瀺","煘","獑","磛","緾","纏","纒","缠","艬","蝉","蟐","蟬","蟾","誗","讒","谗","躔","鄽","酁","鋋","鑱","镵","饞","馋"],zuān:["劗","躜","躦","鉆","鑚"],mó:["劘","嫫","嬤","嬷","尛","摹","擵","橅","糢","膜","藦","蘑","謨","謩","谟","饃","饝","馍","髍","魔","魹"],zhú:["劚","斸","曯","欘","灟","炢","烛","燭","爥","瘃","竹","笁","笜","舳","茿","蓫","蠋","蠾","躅","逐","逫","钃","鱁"],quàn:["劝","勧","勸","牶","韏"],"jìn jìng":["劤","劲","勁"],kēng:["劥","坑","牼","硁","硜","誙","銵","鍞","鏗","铿","阬"],"xié liè":["劦"],"zhù chú":["助"],nǔ:["努","弩","砮","胬"],shào:["劭","卲","哨","潲","紹","綤","绍","袑","邵"],miǎo:["劰","杪","淼","渺","眇","秒","篎","緲","缈","藐","邈"],kǒu:["劶","口"],wā:["劸","娲","媧","屲","挖","攨","洼","溛","漥","瓾","畖","穵","窊","窪","蛙","韈","鼃"],kuāng:["劻","匡","匩","哐","恇","洭","筐","筺","誆","诓","軭","邼"],hé:["劾","咊","啝","姀","峆","敆","曷","柇","楁","毼","河","涸","渮","澕","熆","皬","盇","盉","盍","盒","禾","篕","籺","粭","翮","菏","萂","覈","訸","詥","郃","釛","鉌","鑉","閡","闔","阂","阖","鞨","頜","餄","饸","魺","鹖","麧","齕","龁","龢","\uD870\uDF17"],gào:["勂","吿","告","峼","祮","祰","禞","筶","誥","诰","郜","鋯","锆"],"bó bèi":["勃"],láng:["勆","嫏","廊","斏","桹","榔","樃","欴","狼","琅","瑯","硠","稂","艆","蓈","蜋","螂","躴","郒","郞","鋃","鎯","锒"],xūn:["勋","勛","勲","勳","嚑","坃","埙","塤","壎","壦","曛","燻","獯","矄","纁","臐","薫","薰","蘍","醺","\uD86C\uDD38"],"juàn juān":["勌","瓹"],"lè lēi":["勒"],kài:["勓","炌","烗","鎎"],"wěng yǎng":["勜"],qín:["勤","嗪","噙","嶜","庈","懃","懄","捦","擒","斳","檎","澿","珡","琴","琹","瘽","禽","秦","耹","芩","芹","菦","螓","蠄","鈙","鈫","雂","靲","鳹","鵭"],jiàng:["勥","匞","匠","嵹","弜","弶","摾","櫤","洚","滰","犟","糡","糨","絳","绛","謽","酱","醤","醬"],fān:["勫","嬏","帆","幡","忛","憣","旙","旛","繙","翻","藩","轓","颿","飜","鱕"],juān:["勬","姢","娟","捐","涓","蠲","裐","鎸","鐫","镌","鹃"],"tóng dòng":["勭","烔","燑","狪"],lǜ:["勴","垏","嵂","律","慮","氯","滤","濾","爈","箻","綠","繂","膟","葎","虑","鑢"],chè:["勶","坼","彻","徹","掣","撤","澈","烢","爡","瞮","硩","聅","迠","頙","㬚"],sháo:["勺","玿","韶"],"gōu gòu":["勾"],cōng:["匆","囪","囱","忩","怱","悤","暰","樬","漗","瑽","璁","瞛","篵","繱","聡","聦","聪","聰","苁","茐","葱","蓯","蔥","蟌","鍯","鏓","鏦","騘","驄","骢"],"táo yáo":["匋","陶"],páo:["匏","咆","垉","庖","爮","狍","袍","褜","軳","鞄","麅"],dá:["匒","妲","怛","炟","燵","畣","笪","羍","荙","薘","蟽","詚","达","迏","迖","迚","逹","達","鐽","靼","鞑","韃","龖","龘","\uD86D\uDFFC"],"huà huā":["化"],"běi bèi":["北"],nǎo:["匘","垴","堖","嫐","恼","悩","惱","瑙","碯","脑","脳","腦"],"chí shi":["匙"],fāng:["匚","堏","方","淓","牥","芳","邡","鈁","錺","钫","鴋"],zā:["匝","咂","帀","沞","臜","臢","迊","鉔","魳"],qiè:["匧","厒","妾","怯","悏","惬","愜","挈","穕","窃","竊","笡","箧","篋","籡","踥","鍥","锲","鯜"],"zāng cáng":["匨"],fěi:["匪","奜","悱","棐","榧","篚","翡","蕜","誹","诽"],"kuì guì":["匮","匱"],suǎn:["匴"],pǐ:["匹","噽","嚭","圮","庀","痞","癖","脴","苉","銢","鴄"],"qū ōu":["区","區"],"kē qià":["匼"],"yǎn yàn":["匽","棪"],biǎn:["匾","惼","揙","碥","稨","窆","藊","褊","貶","贬","鴘"],nì:["匿","堄","嫟","嬺","惄","愵","昵","暱","氼","眤","睨","縌","胒","腻","膩","逆","\uD863\uDE99"],niàn:["卄","唸","埝","廿","念","惗","艌"],sà:["卅","櫒","脎","萨","蕯","薩","鈒","隡","颯","飒","馺"],zú:["卆","哫","崪","族","箤","足","踤","镞"],shēng:["升","呏","声","斘","昇","曻","枡","殅","泩","湦","焺","牲","珄","生","甥","竔","笙","聲","鉎","鍟","阩","陞","陹","鵿","鼪"],wàn:["卍","卐","忨","杤","瞣","脕","腕","萬","蟃","贎","輐","錽","\uD870\uDDD5"],"huá huà huā":["华","華"],bēi:["卑","悲","揹","杯","桮","盃","碑","藣","鵯","鹎"],"zú cù":["卒"],"dān shàn chán":["单","單"],"nán nā":["南"],"shuài lǜ":["卛"],"bǔ bo pú":["卜"],"kuàng guàn":["卝"],biàn:["卞","变","変","峅","弁","徧","忭","抃","昪","汳","汴","玣","艑","苄","覍","諚","變","辡","辧","辨","辩","辫","辮","辯","遍","釆","\uD861\uDE95"],bǔ:["卟","哺","捕","补","補","鸔","\uD873\uDDD5"],"zhàn zhān":["占","覱"],"kǎ qiǎ":["卡"],lú:["卢","嚧","垆","壚","庐","廬","曥","枦","栌","櫨","泸","瀘","炉","爐","獹","玈","瓐","盧","矑","籚","纑","罏","胪","臚","舮","舻","艫","芦","蘆","蠦","轤","轳","鈩","鑪","顱","颅","馿","髗","魲","鱸","鲈","鸕","鸬","黸","\uD872\uDF3B"],lǔ:["卤","塷","掳","擄","樐","橹","櫓","氌","滷","澛","瀂","硵","磠","穞","艣","艪","蓾","虏","虜","鏀","鐪","鑥","镥","魯","鲁","鹵"],guà:["卦","啩","挂","掛","罣","褂","詿","诖"],"áng yǎng":["卬"],yìn:["印","垽","堷","廕","慭","憖","憗","懚","洕","湚","猌","癊","胤","茚","酳","鮣","䲟"],què:["却","卻","塙","崅","悫","愨","慤","搉","榷","燩","琷","皵","确","確","礭","闋","阕","鵲","鹊","\uD871\uDC88"],luǎn:["卵"],"juàn juǎn":["卷","巻"],"chǎng ān hàn":["厂"],"wěi yán":["厃"],tīng:["厅","厛","听","庁","廰","廳","汀","烃","烴","綎","耓","聴","聼","聽","鞓","\uD871\uDE29"],"zhé zhái":["厇"],"hàn àn":["厈","屽"],yǎ:["厊","唖","庌","痖","瘂","蕥"],shè:["厍","厙","弽","慑","慴","懾","摂","欇","涉","涻","渉","滠","灄","社","舎","蔎","蠂","設","设","赦","騇","麝"],dǐ:["厎","呧","坘","弤","抵","拞","掋","牴","砥","菧","觝","詆","诋","軧","邸","阺","骶","鯳"],"zhǎ zhǎi":["厏"],páng:["厐","嫎","庞","徬","舽","螃","逄","鰟","鳑","龎","龐"],"zhì shī":["厔"],máng:["厖","吂","哤","娏","忙","恾","杗","杧","汒","浝","牻","痝","盲","硭","笀","芒","茫","蘉","邙","釯","鋩","铓","駹"],zuī:["厜","樶","纗","蟕"],"shà xià":["厦","廈"],áo:["厫","嗷","嗸","廒","敖","滶","獒","獓","璈","翱","翶","翺","聱","蔜","螯","謷","謸","遨","鏖","隞","鰲","鳌","鷔","鼇"],"lán qiān":["厱"],"sī mǒu":["厶"],"gōng hóng":["厷"],"lín miǎo":["厸"],"qiú róu":["厹"],dū:["厾","嘟","督","醏"],"xiàn xuán":["县","縣"],"cān shēn cēn sān":["参","參","叄","叅"],"ài yǐ":["叆"],"chā chà chǎ chá":["叉"],shuāng:["双","孀","孇","欆","礵","艭","雙","霜","騻","驦","骦","鷞","鸘","鹴"],shōu:["収","收"],guái:["叏"],bá:["叐","妭","抜","拔","炦","癹","胈","茇","菝","詙","跋","軷","魃","鼥"],"fā fà":["发"],"zhuó yǐ lì jué":["叕"],qǔ:["取","娶","竬","蝺","詓","齲","龋"],"jiǎ xiá":["叚","徦"],"wèi yù":["叞","尉","蔚"],dié:["叠","垤","堞","峌","幉","恎","惵","戜","曡","殜","氎","牃","牒","瓞","畳","疂","疉","疊","碟","絰","绖","耊","耋","胅","艓","苵","蜨","蝶","褋","詄","諜","谍","跮","蹀","迭","镻","鰈","鲽","鴩","\uD86F\uDD87"],ruì:["叡","枘","汭","瑞","睿","芮","蚋","蜹","銳","鋭","锐"],"jù gōu":["句"],lìng:["另","呤","炩","蘦"],"dāo dáo tāo":["叨"],"zhī zhǐ":["只"],jiào:["叫","呌","嘂","嘦","噍","嬓","斍","斠","滘","漖","獥","珓","皭","窖","藠","訆","譥","趭","較","轎","轿","较","酵","醮","釂"],"zhào shào":["召"],"kě kè":["可"],"tái tāi":["台","苔"],pǒ:["叵","尀","笸","箥","鉕","钷","駊"],"yè xié":["叶"],"hào háo":["号"],tàn:["叹","嘆","探","歎","湠","炭","碳","舕"],"hōng hóng":["叿"],miē:["吀","咩","哶","孭"],"xū yū yù":["吁"],chī:["吃","哧","喫","嗤","噄","妛","媸","彨","彲","摛","攡","殦","瓻","痴","癡","眵","瞝","笞","粚","胵","蚩","螭","訵","魑","鴟","鵄","鸱","黐","齝","\uD86C\uDD28"],"xuān sòng":["吅"],yāo:["吆","喓","夭","妖","幺","楆","殀","祅","腰","葽","訞","邀","鴁","鴢","㙘"],zǐ:["吇","姉","姊","子","杍","梓","榟","橴","滓","矷","秭","笫","籽","紫","耔","虸","訿","釨"],"hé gě":["合","鲄"],"cùn dòu":["吋"],"tóng tòng":["同"],"tǔ tù":["吐","唋"],"zhà zhā":["吒","奓"],"xià hè":["吓"],"ā yā":["吖"],"ma má mǎ":["吗"],lìn:["吝","恡","悋","橉","焛","甐","膦","蔺","藺","賃","赁","蹸","躏","躙","躪","轥","閵"],tūn:["吞","暾","朜","焞"],"bǐ pǐ":["吡"],qìn:["吢","吣","唚","抋","揿","搇","撳","沁","瀙","菣","藽"],"jiè gè":["吤"],"fǒu pǐ":["否"],"ba bā":["吧"],dūn:["吨","噸","墩","墪","惇","撉","撴","犜","獤","礅","蜳","蹾","驐"],fēn:["吩","帉","昐","朆","梤","棻","氛","竕","紛","纷","翂","芬","衯","訜","躮","酚","鈖","雰","餴","饙","馚"],"é huā":["吪"],"kēng háng":["吭","妔"],shǔn:["吮"],"zhī zī":["吱"],"yǐn shěn":["吲"],wú:["吳","吴","呉","墲","峿","梧","橆","毋","洖","浯","無","珸","璑","祦","芜","茣","莁","蕪","蜈","蟱","譕","郚","鋙","铻","鯃","鵐","鷡","鹀","鼯"],"chǎo chāo":["吵"],"nà nè":["吶"],"xuè chuò jué":["吷"],chuī:["吹","炊","龡"],"dōu rú":["吺"],hǒu:["吼","犼"],"hōng hǒu ōu":["吽"],"wú yù":["吾"],"ya yā":["呀"],"è e":["呃"],dāi:["呆","懛","獃"],"mèn qǐ":["呇"],hōng:["呍","嚝","揈","灴","烘","焢","硡","薨","訇","谾","軣","輷","轟","轰","鍧"],nà:["呐","捺","笝","納","纳","肭","蒳","衲","豽","貀","軜","郍","鈉","钠","靹","魶"],"tūn tiān":["呑"],"fǔ ḿ":["呒","嘸"],"dāi tǎi":["呔"],"ǒu ōu òu":["呕"],"bài bei":["呗"],"yuán yún yùn":["员","員"],guō:["呙","啯","嘓","埚","堝","墎","崞","彉","彍","懖","猓","瘑","聒","蝈","蟈","郭","鈛","鍋","锅"],"huá qì":["呚"],"qiàng qiāng":["呛","跄"],shī:["呞","失","尸","屍","师","師","施","浉","湤","湿","溮","溼","濕","狮","獅","瑡","絁","葹","蒒","蓍","虱","蝨","褷","襹","詩","诗","邿","釃","鉇","鍦","鯴","鰤","鲺","鳲","鳾","鶳","鸤","䴓","\uD86D\uDE95"],juǎn:["呟","埍","臇","菤","錈","锩"],pěn:["呠","翸"],"wěn mǐn":["呡"],"ne ní":["呢"],"ḿ m̀ móu":["呣"],rán:["呥","嘫","然","燃","繎","肰","蚦","蚺","衻","袇","袡","髥","髯"],"tiè chè":["呫"],"qì zhī":["呮"],"zǐ cī":["呰"],"guā gū guǎ":["呱"],"cī zī":["呲"],"hǒu xǔ gòu":["呴"],"hē ā á ǎ à a":["呵"],náo:["呶","夒","峱","嶩","巎","挠","撓","猱","硇","蛲","蟯","詉","譊","鐃","铙"],"xiā gā":["呷"],pēi:["呸","怌","肧","胚","衃","醅"],"háo xiāo":["呺"],mìng:["命","掵"],"dá dàn":["呾"],"zuǐ jǔ":["咀"],"xián gān":["咁"],pǒu:["咅","哣","犃"],"yǎng yāng":["咉"],"zǎ zé zhā":["咋"],"hé hè huó huò hú":["和"],hāi:["咍"],dā:["咑","哒","噠","墶","搭","撘","耷","褡","鎝","\uD863\uDC4F"],"kǎ kā":["咔"],gū:["咕","唂","唃","姑","嫴","孤","巬","巭","柧","橭","沽","泒","稒","笟","箍","箛","篐","罛","苽","菇","菰","蓇","觚","軱","軲","轱","辜","酤","鈲","鮕","鴣","鸪"],"kā gā":["咖"],zuo:["咗"],lóng:["咙","嚨","嶐","巃","巄","昽","曨","朧","栊","槞","櫳","湰","滝","漋","爖","珑","瓏","癃","眬","矓","砻","礱","礲","窿","竜","聋","聾","胧","茏","蘢","蠪","蠬","襱","豅","鏧","鑨","霳","靇","驡","鸗","龍","龒","龙"],"xiàn xián":["咞"],qì:["咠","唭","噐","器","夡","弃","憇","憩","暣","棄","欫","气","気","氣","汔","汽","泣","湆","湇","炁","甈","盵","矵","碛","碶","磜","磧","罊","芞","葺","藒","蟿","訖","讫","迄","鐑"],"xì dié":["咥"],"liē liě lié lie":["咧"],zī:["咨","嗞","姕","姿","孜","孳","孶","崰","嵫","栥","椔","淄","湽","滋","澬","玆","禌","秶","粢","紎","緇","緕","纃","缁","茊","茲","葘","諮","谘","貲","資","赀","资","赼","趑","趦","輜","輺","辎","鄑","鈭","錙","鍿","鎡","锱","镃","頾","頿","髭","鯔","鰦","鲻","鶅","鼒","齍","齜","龇"],mī:["咪"],"jī xī qià":["咭"],"gē luò kǎ lo":["咯"],"shù xún":["咰"],"zán zá zǎ zan":["咱"],"hāi ké":["咳"],huī:["咴","噅","噕","婎","媈","幑","徽","恢","拻","挥","揮","晖","暉","楎","洃","瀈","灰","灳","烣","睳","禈","翚","翬","蘳","袆","褘","詼","诙","豗","輝","辉","鰴","麾","㧑"],"huài shì":["咶"],táo:["咷","啕","桃","檮","洮","淘","祹","綯","绹","萄","蜪","裪","迯","逃","醄","鋾","鞀","鞉","饀","駣","騊","鼗","\uD86D\uDE26"],xián:["咸","啣","娴","娹","婱","嫌","嫺","嫻","弦","挦","撏","涎","湺","澖","甉","痫","癇","癎","絃","胘","舷","藖","蚿","蛝","衔","衘","誸","諴","賢","贒","贤","輱","醎","銜","鑦","閑","闲","鷳","鷴","鷼","鹇","鹹","麙","\uD86C\uDF6F"],"è àn":["咹"],"xuān xuǎn":["咺","烜"],"wāi hé wǒ guǎ guō":["咼"],"yàn yè yān":["咽"],āi:["哀","哎","埃","溾","銰","鎄","锿"],pǐn:["品","榀"],shěn:["哂","婶","嬸","审","宷","審","弞","曋","渖","瀋","瞫","矤","矧","覾","訠","諗","讅","谂","谉","邥","頣","魫"],"hǒng hōng hòng":["哄"],"wā wa":["哇"],"hā hǎ hà":["哈"],zāi:["哉","栽","渽","溨","災","灾","烖","睵","賳"],"dì diè":["哋"],pài:["哌","沠","派","渒","湃","蒎","鎃"],"gén hěn":["哏"],"yǎ yā":["哑","雅"],"yuě huì":["哕","噦"],nián:["哖","年","秊","秥","鮎","鯰","鲇","鲶","鵇","黏"],"huá huā":["哗","嘩"],"jì jiē zhāi":["哜","嚌"],mōu:["哞"],"yō yo":["哟","喲"],lòng:["哢","梇","贚"],"ò ó é":["哦"],"lī lǐ li":["哩"],"nǎ na nǎi né něi":["哪"],hè:["哬","垎","壑","寉","惒","焃","煂","燺","爀","癋","碋","翯","褐","謞","賀","贺","赫","靍","靎","靏","鶴","鸖","鹤"],"bō pò bā":["哱"],zhé:["哲","啠","喆","嚞","埑","悊","摺","晢","晣","歽","矺","砓","磔","籷","粍","虴","蛰","蟄","袩","詟","謫","謺","讁","讋","谪","輒","輙","轍","辄","辙","鮿"],"liàng láng":["哴"],"liè lǜ":["哷"],hān:["哻","憨","蚶","谽","酣","頇","顸","馠","魽","鼾"],"hēng hng":["哼"],gěng:["哽","埂","峺","挭","梗","綆","绠","耿","莄","郠","骾","鯁","鲠","\uD871\uDC94"],"chuò yuè":["哾"],"gě jiā":["哿"],"bei bài":["唄"],"hán hàn":["唅"],chún:["唇","浱","湻","滣","漘","犉","純","纯","脣","莼","蒓","蓴","醇","醕","錞","陙","鯙","鶉","鹑","\uD872\uDF5A"],"ài āi":["唉"],"jiá qiǎn":["唊"],"yán dàn xián":["唌"],chē:["唓","砗","硨","莗","蛼"],"wú ńg ń":["唔"],zào:["唕","唣","噪","慥","梍","灶","煰","燥","皁","皂","竃","竈","簉","艁","譟","趮","躁","造","\uD855\uDDA8"],dí:["唙","啇","嘀","嚁","嫡","廸","敌","敵","梑","涤","滌","狄","笛","籴","糴","苖","荻","蔋","蔐","藡","覿","觌","豴","迪","靮","頔","馰","髢","鸐","\uD873\uDC56"],"gòng hǒng gǒng":["唝","嗊"],dóu:["唞"],"lào láo":["唠","嘮","憦"],huàn:["唤","喚","奂","奐","宦","嵈","幻","患","愌","换","換","擐","攌","梙","槵","浣","涣","渙","漶","澣","烉","焕","煥","瑍","痪","瘓","睆","肒","藧","豢","轘","逭","鯇","鯶","鰀","鲩"],léng:["唥","塄","楞","碐","薐"],"wō wěi":["唩"],fěng:["唪","覂","諷","讽"],"yín jìn":["唫"],"hǔ xià":["唬"],wéi:["唯","围","圍","壝","峗","峞","嵬","帏","帷","幃","惟","桅","沩","洈","涠","湋","溈","潍","潙","潿","濰","犩","矀","維","维","蓶","覹","违","違","鄬","醀","鍏","闈","闱","韋","韦","鮠","\uD84F\uDC97","\uD873\uDD8F"],shuā:["唰"],chàng:["唱","怅","悵","暢","焻","畅","畼","誯","韔","鬯"],"ér wā":["唲"],qiàng:["唴","炝","熗","羻"],yō:["唷"],yū:["唹","淤","瘀","盓","箊","紆","纡","込","迂","迃","陓"],lài:["唻","濑","瀨","瀬","癞","癩","睐","睞","籁","籟","藾","賚","賴","赉","赖","頼","顂","鵣"],tuò:["唾","嶞","柝","毤","毻","箨","籜","萚","蘀","跅"],"zhōu zhāo tiào":["啁"],kěn:["啃","垦","墾","恳","懇","肎","肯","肻","豤","錹"],"zhuó zhào":["啅","濯"],"hēng hèng":["啈","悙"],"lín lán":["啉"],"a ā á ǎ à":["啊"],qiāng:["啌","嗴","嶈","戕","摤","斨","枪","槍","溬","牄","猐","獇","羌","羗","腔","蜣","謒","鏘","锖","锵"],"tūn zhūn xiāng duǐ":["啍"],wèn:["問","妏","揾","搵","璺","问","顐"],"cuì qi":["啐"],"dié shà jié tì":["啑"],"yuē wā":["啘"],"zǐ cǐ":["啙"],"bǐ tú":["啚"],"chuò chuài":["啜"],"yǎ yā è":["啞"],fēi:["啡","婓","婔","扉","暃","渄","猆","緋","绯","裶","霏","非","靟","飛","飝","飞","餥","馡","騑","騛","鯡","鲱","\uD873\uDD02"],pí:["啤","壀","枇","毗","毘","焷","琵","疲","皮","篺","罴","羆","脾","腗","膍","蚍","蚽","蜱","螷","蠯","豼","貔","郫","鈹","阰","陴","隦","魮","鮍","鲏","鵧","鼙"],shá:["啥"],"lā la":["啦"],"yīng qíng":["啨"],pā:["啪","妑","舥","葩","趴"],"zhě shì":["啫"],sè:["啬","嗇","懎","擌","栜","歮","涩","渋","澀","澁","濇","濏","瀒","瑟","璱","瘷","穑","穡","穯","繬","譅","轖","銫","鏼","铯","飋"],niè:["啮","嗫","噛","嚙","囁","囓","圼","孼","孽","嵲","嶭","巕","帇","敜","枿","槷","櫱","涅","湼","痆","篞","籋","糱","糵","聂","聶","臬","臲","蘖","蠥","讘","踂","踗","踙","蹑","躡","錜","鎳","鑈","鑷","钀","镊","镍","闑","陧","隉","顳","颞","齧","\uD86D\uDD36"],"luō luó luo":["啰","囉"],"tān chǎn tuō":["啴"],bo:["啵","蔔"],dìng:["啶","定","椗","矴","碇","碠","磸","聢","腚","萣","蝊","訂","订","錠","锭","顁","飣","饤"],lāng:["啷"],"án ān":["啽"],kā:["喀","擖"],"yóng yú":["喁"],"lā lá lǎ":["喇"],jiē:["喈","喼","嗟","堦","媘","接","掲","擑","湝","煯","疖","痎","癤","皆","秸","稭","脻","蝔","街","謯","阶","階","鞂","鶛"],hóu:["喉","帿","猴","瘊","睺","篌","糇","翭","葔","鄇","鍭","餱","骺","鯸","\uD872\uDF64"],"dié zhá":["喋"],wāi:["喎","歪","竵"],"nuò rě":["喏"],"xù huò guó":["喐"],zán:["喒"],"wō ō":["喔"],hú:["喖","嘝","囫","壶","壷","壺","媩","弧","搰","斛","楜","槲","湖","瀫","焀","煳","狐","猢","瑚","瓳","箶","絗","縠","胡","葫","蔛","蝴","螜","衚","觳","醐","鍸","頶","餬","鬍","魱","鰗","鵠","鶘","鶦","鹕"],"huàn yuán xuǎn hé":["喛"],xǐ:["喜","囍","壐","屣","徙","憙","枲","橲","歖","漇","玺","璽","矖","禧","縰","葈","葸","蓰","蟢","謑","蹝","躧","鈢","鉨","鉩","鱚","\uD872\uDF73","\uD873\uDDAE"],"hē hè yè":["喝"],kuì:["喟","嘳","媿","嬇","愦","愧","憒","篑","簣","籄","聩","聭","聵","膭","蕢","謉","餽","饋","馈"],"zhǒng chuáng":["喠"],"wéi wèi":["喡","為","爲"],"duó zhà":["喥"],"sāng sàng":["喪"],"qiáo jiāo":["喬"],"pèn bēn":["喯"],"cān sūn qī":["喰"],"zhā chā":["喳"],miāo:["喵"],"pēn pèn":["喷"],kuí:["喹","夔","奎","巙","戣","揆","晆","暌","楏","楑","櫆","犪","睽","葵","藈","蘷","虁","蝰","躨","逵","鄈","鍨","鍷","頯","馗","騤","骙","魁"],"lou lóu":["喽"],"zào qiāo":["喿"],"hè xiāo xiào hù":["嗃"],"á shà":["嗄"],xiù:["嗅","岫","峀","溴","珛","琇","璓","秀","綉","繍","繡","绣","螑","袖","褎","褏","銹","鏥","鏽","锈","齅"],"qiāng qiàng":["嗆","戗","戧","蹌","蹡"],"ài yì":["嗌","艾"],"má mǎ ma":["嗎"],"kè kē":["嗑"],"dā tà":["嗒","鎉"],sǎng:["嗓","搡","磉","褬","鎟","顙","颡"],chēn:["嗔","抻","琛","瞋","諃","謓","賝","郴","\uD871\uDE2D"],"wā gǔ":["嗗"],"pǎng bēng":["嗙"],"xián qiǎn qiān":["嗛"],lào:["嗠","嫪","橯","涝","澇","耢","耮","躼","軂","酪"],wēng:["嗡","翁","聬","螉","鎓","鶲","鹟","\uD872\uDF69"],wà:["嗢","腽","膃","袜","襪","韤"],"hēi hāi":["嗨"],hē:["嗬","欱","蠚","訶","诃"],zi:["嗭"],sǎi:["嗮"],"ǹg ńg ňg":["嗯"],gě:["嗰","舸"],ná:["嗱","拏","拿","鎿","镎"],diǎ:["嗲"],"ài ǎi āi":["嗳"],tōng:["嗵","樋","炵","蓪"],"zuī suī":["嗺"],"zhē zhè zhù zhe":["嗻"],mò:["嗼","圽","塻","墨","妺","嫼","寞","帞","昩","末","枺","歿","殁","沫","漠","爅","獏","瘼","皌","眽","眿","瞐","瞙","砞","礳","秣","絈","纆","耱","茉","莈","蓦","蛨","蟔","貃","貊","貘","銆","鏌","镆","陌","靺","驀","魩","默","黙","\uD871\uDE4A"],sòu:["嗽","瘶"],tǎn:["嗿","坦","忐","憳","憻","暺","毯","璮","菼","袒","襢","醓","鉭","钽"],"jiào dǎo":["嘄"],"kǎi gě":["嘅"],"shān càn":["嘇"],cáo:["嘈","嶆","曹","曺","槽","漕","艚","蓸","螬","褿","鏪","\uD855\uDD62"],piào:["嘌","徱","蔈","驃"],"lóu lou":["嘍"],gǎ:["尕","玍"],"gǔ jiǎ":["嘏"],"jiāo xiāo":["嘐"],"xū shī":["嘘","噓"],pó:["嘙","嚩","婆","櫇","皤","鄱"],"dē dēi":["嘚"],"ma má":["嘛"],"lē lei":["嘞"],"gā gá gǎ":["嘠"],sāi:["嘥","噻","毢","腮","顋","鰓"],"zuō chuài":["嘬"],"cháo zhāo":["嘲","朝","鼂"],zuǐ:["嘴","噿","嶊","璻"],"qiáo qiào":["嘺","翹","谯"],"chù xù shòu":["嘼"],"tān chǎn":["嘽"],"dàn tán":["嘾","弾","彈","惔","澹"],"hēi mò":["嘿"],ě:["噁","砨","頋","騀","鵈"],"fān bo":["噃"],chuáng:["噇","床","牀"],"cù zā hé":["噈"],"tūn kuò":["噋"],"cēng chēng":["噌"],dēng:["噔","嬁","灯","燈","璒","登","竳","簦","艠","豋"],pū:["噗","扑","撲","攴","攵","潽","炇","陠"],juē:["噘","屩","屫","撧"],lū:["噜","嚕","撸","擼","謢"],zhān:["噡","岾","惉","旃","旜","枬","栴","毡","氈","氊","沾","瞻","薝","蛅","詀","詹","譫","谵","趈","邅","閚","霑","飦","饘","驙","魙","鱣","鸇","鹯","\uD86D\uDDF4"],ō:["噢"],"zhòu zhuó":["噣"],"jiào qiào chī":["噭"],yuàn:["噮","妴","怨","愿","掾","瑗","禐","苑","衏","裫","褑","院","願"],"ǎi ài āi":["噯"],"yōng yǒng":["噰","澭"],"jué xué":["噱"],"pēn pèn fèn":["噴"],gá:["噶","尜","釓","錷","钆"],"xīn hěn hèn":["噷"],dāng:["噹","澢","珰","璫","筜","簹","艡","蟷","裆","襠"],làn:["嚂","滥","濫","烂","燗","爁","爛","爤","瓓","糷","钄"],tà:["嚃","嚺","崉","挞","搨","撻","榻","橽","毾","涾","澾","濌","禢","粏","誻","譶","蹋","蹹","躂","躢","遝","錔","闒","闥","闼","阘","鞜","鞳"],"huō huò ǒ":["嚄"],hāo:["嚆","茠","蒿","薅"],"hè xià":["嚇"],"xiù pì":["嚊"],"zhōu chóu":["嚋","盩","诪"],mē:["嚒"],"chā cā":["嚓"],"bó pào bào":["嚗"],"me mèi mò":["嚜"],"xié hái":["嚡"],"áo xiāo":["嚣"],mō:["嚤","摸"],pín:["嚬","娦","嫔","嬪","玭","矉","薲","蠙","貧","贫","顰","颦","\uD871\uDF9F"],mè:["嚰","濹"],"rǎng rāng":["嚷"],lá:["嚹","旯"],"jiáo jué jiào":["嚼"],chuò:["嚽","娖","擉","歠","涰","磭","踀","輟","辍","辵","辶","酫","鑡","餟","齪","龊"],"huān huàn":["嚾"],"zá cà":["囃"],chài:["囆","虿","蠆","袃","訍"],"náng nāng":["囊"],"zá zàn cān":["囋"],sū:["囌","櫯","甦","稣","穌","窣","蘇","蘓","酥","鯂"],zèng:["囎","熷","甑","贈","赠","鋥","锃"],"zá niè yàn":["囐"],nāng:["囔"],"luó luō luo":["囖"],"wéi guó":["囗"],huí:["囘","回","囬","廻","廽","恛","洄","痐","茴","蚘","蛔","蛕","蜖","迴","逥","鮰"],nín:["囜","您","脌"],"jiǎn nān":["囝"],nān:["囡"],tuán:["团","団","團","慱","抟","摶","檲","糰","鏄","鷒","鷻"],"tún dùn":["囤","坉"],guó:["囯","囶","囻","国","圀","國","帼","幗","慖","摑","漍","聝","腘","膕","蔮","虢","馘","\uD870\uDDF9"],kùn:["困","涃","睏"],"wéi tōng":["囲"],qūn:["囷","夋","逡"],rì:["囸","日","衵","鈤","馹","驲"],tāi:["囼","孡","胎"],pǔ:["圃","圑","擈","普","暜","樸","檏","氆","浦","溥","烳","諩","譜","谱","蹼","鐠","镨"],"quān juàn juān":["圈","圏"],"chuí chuán":["圌"],tuǎn:["圕","畽","疃"],lüè:["圙","掠","略","畧","稤","鋝","鋢","锊","䂮"],"huán yuán":["圜"],luán:["圝","圞","奱","娈","孌","孪","孿","峦","巒","挛","攣","曫","栾","欒","滦","灤","癴","癵","羉","脔","臠","虊","銮","鑾","鵉","鸞","鸾"],tǔ:["土","圡","釷","钍"],"xū wéi":["圩"],"dì de":["地","嶳"],"qiān sú":["圱"],zhèn:["圳","塦","挋","振","朕","栚","甽","眹","紖","絼","纼","誫","賑","赈","鋴","鎭","鎮","镇","阵","陣","震","鴆","鸩"],"chǎng cháng":["场","場","塲"],"qí yín":["圻"],jiá:["圿","忦","恝","戞","扴","脥","荚","莢","蛱","蛺","裌","跲","郏","郟","鋏","铗","頬","頰","颊","鴶","鵊"],"zhǐ zhì":["坁"],bǎn:["坂","岅","昄","板","版","瓪","粄","舨","蝂","鈑","钣","阪","魬"],qǐn:["坅","寑","寝","寢","昑","梫","笉","螼","赾","鋟","锓"],"méi fén":["坆"],"rǒng kēng":["坈"],"fāng fáng":["坊"],"fèn bèn":["坋"],tān:["坍","怹","摊","擹","攤","滩","灘","瘫","癱","舑","貪","贪"],"huài pēi pī péi":["坏"],"dì làn":["坔"],tán:["坛","墰","墵","壇","壜","婒","憛","昙","曇","榃","檀","潭","燂","痰","磹","罈","罎","藫","談","譚","譠","谈","谭","貚","郯","醰","錟","顃"],bà:["坝","垻","壩","弝","欛","灞","爸","矲","覇","霸","鮁","鲅"],fén:["坟","墳","妢","岎","幩","枌","棼","汾","焚","燌","燓","羒","羵","蒶","蕡","蚠","蚡","豮","豶","轒","鐼","隫","馩","魵","黂","鼖","鼢","\uD84F\uDE23"],zhuì:["坠","墜","惴","甀","畷","礈","綴","縋","缀","缒","腏","膇","諈","贅","赘","醊","錣","鑆"],pō:["坡","岥","泼","溌","潑","釙","鏺","钋","頗","颇","䥽"],"pǎn bàn":["坢"],kūn:["坤","堃","堒","崐","崑","昆","晜","潉","焜","熴","猑","琨","瑻","菎","蜫","裈","裩","褌","醌","錕","锟","騉","髠","髡","髨","鯤","鲲","鵾","鶤","鹍"],diàn:["坫","垫","墊","壂","奠","婝","店","惦","扂","橂","殿","淀","澱","玷","琔","电","癜","簟","蜔","鈿","電","靛","驔"],"mù mǔ":["坶"],"kē kě":["坷","軻"],xuè:["坹","岤","桖","瀥","狘","瞲","謔","谑","趐"],"dǐ chí":["坻","柢"],lā:["垃","柆","菈","邋"],lǒng:["垄","垅","壟","壠","拢","攏","竉","陇","隴","\uD871\uDD42"],mín:["垊","姄","岷","崏","捪","旻","旼","民","珉","琘","琝","瑉","痻","盿","砇","緍","緡","缗","罠","苠","鈱","錉","鍲","鴖"],"dòng tóng":["垌","峒","洞"],cí:["垐","嬨","慈","柌","濨","珁","瓷","甆","磁","礠","祠","糍","茨","詞","词","辝","辞","辤","辭","雌","飺","餈","鴜","鶿","鷀","鹚"],duī:["垖","堆","塠","痽","磓","鐓","鐜","鴭"],"duò duǒ":["垛"],"duǒ duò":["垜","挆"],chá:["垞","察","嵖","搽","槎","檫","猹","茬","茶","詧","靫","\uD857\uDED7"],shǎng:["垧","晌","樉","賞","贘","赏","鋿","鏛","鑜"],shǒu:["垨","守","手","扌","艏","首"],da:["垯","繨","跶"],háng:["垳","斻","杭","筕","絎","绗","航","苀","蚢","裄","貥","迒","頏","颃","魧"],"ān ǎn":["垵"],xīng:["垶","惺","星","曐","煋","猩","瑆","皨","篂","腥","興","觪","觲","謃","騂","骍","鮏","鯹"],"yuàn huán":["垸"],bāng:["垹","帮","幇","幚","幫","捠","梆","浜","邦","邫","鞤","\uD843\uDCD0"],"póu fú":["垺"],cén:["埁","岑","涔"],"běng fēng":["埄"],"dì fáng":["埅"],"xiá jiā":["埉"],"mái mán":["埋"],làng:["埌","崀","浪","蒗","閬","㫰"],"shān yán":["埏"],"qín jīn":["埐"],"pǔ bù":["埔"],huā:["埖","婲","椛","硴","糀","花","蒊","蘤","誮","錵"],"suì sù":["埣"],"pí pì":["埤"],"qīng zhēng":["埥","鲭"],"wǎn wān":["埦"],lǔn:["埨","稐","\uD86E\uDF62"],"zhēng chéng":["埩"],kōng:["埪","崆","箜","躻","錓","鵼"],"cǎi cài":["埰","寀","采"],"chù tòu":["埱"],běng:["埲","琫","菶","鞛"],"kǎn xiàn":["埳"],"yì shì":["埶","醳"],péi:["培","毰","裴","裵","賠","赔","錇","锫","阫","陪"],"sào sǎo":["埽"],"jǐn qīn jìn":["堇"],"péng bèng":["堋"],"qiàn zàn jiàn":["堑"],àn:["堓","屵","岸","按","暗","案","胺","荌","豻","貋","錌","闇","隌","黯"],"duò huī":["堕","墮"],huán:["堚","寏","寰","峘","桓","洹","澴","獂","环","環","糫","繯","缳","羦","荁","萈","萑","豲","鍰","鐶","锾","镮","闤","阛","雈","鬟","鹮","\uD871\uDE2B","\uD852\uDE7D"],"bǎo bǔ pù":["堡"],"máo móu wǔ":["堥"],ruán:["堧","壖","撋"],"ài è yè":["堨"],gèng:["堩","暅"],méi:["堳","塺","媒","嵋","徾","攗","枚","栂","梅","楣","楳","槑","湄","湈","煤","猸","玫","珻","瑂","眉","睂","禖","脄","脢","腜","苺","莓","葿","郿","酶","鎇","镅","霉","鶥","鹛","黴"],dǔ:["堵","琽","睹","笃","篤","覩","賭","赌"],féng:["堸","綘","艂","逢"],hèng:["堼"],chūn:["堾","媋","旾","春","暙","杶","椿","槆","橁","櫄","瑃","箺","萅","蝽","輴","鰆","鶞","䲠"],jiǎng:["塂","奖","奨","奬","桨","槳","獎","耩","膙","蒋","蔣","講","讲","顜"],huāng:["塃","巟","慌","肓","荒","衁"],duàn:["塅","断","斷","椴","段","毈","煅","瑖","碫","簖","籪","緞","缎","腶","葮","躖","鍛","锻"],tǎ:["塔","墖","獭","獺","鮙","鰨","鳎"],wěng:["塕","奣","嵡","攚","暡","瞈","蓊"],"sāi sài sè":["塞"],zàng:["塟","弉","臓","臟","葬","蔵","銺"],tián:["塡","屇","恬","沺","湉","璳","甛","甜","田","畋","畑","碵","磌","胋","闐","阗","鴫","鷆","鷏"],zhèng:["塣","幁","政","証","諍","證","证","诤","郑","鄭","靕","鴊"],"tián zhèn":["填"],wēn:["塭","昷","榲","殟","温","溫","瑥","瘟","蕰","豱","輼","轀","辒","鎾","饂","鰛","鰮","鳁"],liù:["塯","廇","磟","翏","雡","霤","餾","鬸","鷚","鹨"],hǎi:["塰","海","烸","酼","醢"],lǎng:["塱","朖","朗","朤","烺","蓢","㮾"],bèng:["塴","揼","泵","甏","綳","蹦","迸","逬","鏰","镚"],chén:["塵","宸","尘","忱","敐","敶","晨","曟","栕","樄","沉","煁","瘎","臣","茞","莀","莐","蔯","薼","螴","訦","諶","軙","辰","迧","鈂","陈","陳","霃","鷐","麎"],"ōu qiū":["塸"],"qiàn jiàn":["塹"],"zhuān tuán":["塼"],shuǎng:["塽","慡","漺","爽","縔","鏯"],shú:["塾","婌","孰","璹","秫","贖","赎"],lǒu:["塿","嵝","嶁","甊","篓","簍"],chí:["墀","弛","持","池","漦","竾","筂","箎","篪","茌","荎","蚳","謘","貾","赿","踟","迟","迡","遅","遟","遲","鍉","馳","驰"],shù:["墅","庶","庻","怷","恕","戍","束","树","樹","沭","漱","潄","濖","竖","竪","絉","腧","荗","蒁","虪","術","裋","豎","述","鉥","錰","鏣","霔","鶐","\uD872\uDF38"],"dì zhì":["墆","疐"],kàn:["墈","崁","瞰","矙","磡","衎","鬫"],chěn:["墋","夦","硶","碜","磣","贂","趻","踸","鍖"],"zhǐ zhuó":["墌"],qiǎng:["墏","繈","繦","羥","襁"],zēng:["増","增","憎","璔","矰","磳","罾","譄","鄫","鱛","䎖"],qiáng:["墙","墻","嫱","嬙","樯","檣","漒","牆","艢","蔃","蔷","蘠"],"kuài tuí":["墤"],"tuǎn dǒng":["墥"],"qiáo què":["墧"],"zūn dūn":["墫"],"qiāo áo":["墽"],"yì tú":["墿"],"xué bó jué":["壆"],lǎn:["壈","嬾","孄","孏","懒","懶","揽","擥","攬","榄","欖","浨","漤","灠","纜","缆","罱","覧","覽","览","醂","顲"],huài:["壊","壞","蘾"],rǎng:["壌","壤","攘","爙"],"làn xiàn":["壏"],dǎo:["壔","导","導","岛","島","嶋","嶌","嶹","捣","搗","擣","槝","祷","禂","禱","蹈","陦","隝","隯"],ruǐ:["壡","桵","橤","繠","蕊","蕋","蘂","蘃"],san:["壭"],zhuàng:["壮","壯","壵","撞","焋","状","狀"],"ké qiào":["壳","殼"],kǔn:["壸","壼","悃","捆","梱","硱","祵","稇","稛","綑","裍","閫","閸","阃"],mǎng:["壾","漭","茻","莽","莾","蠎"],cún:["壿","存"],"zhǐ zhōng":["夂"],"gǔ yíng":["夃"],"jiàng xiáng":["夅","降"],"páng féng fēng":["夆"],zhāi:["夈","捚","摘","斋","斎","榸","粂","齋"],"xuàn xiòng":["夐"],wài:["外","顡"],"wǎn yuàn wān yuān":["夗"],"mǎo wǎn":["夘"],mèng:["夢","夣","孟","梦","癦","霥"],"dà dài":["大"],"fū fú":["夫","姇","枎","粰"],guài:["夬","怪","恠"],yāng:["央","姎","抰","殃","泱","秧","胦","鉠","鍈","雵","鴦","鸯"],"hāng bèn":["夯"],gǎo:["夰","搞","杲","槀","槁","檺","稁","稾","稿","縞","缟","菒","藁","藳"],"tāo běn":["夲"],"tóu tou":["头"],"yǎn tāo":["夵"],"kuā kuà":["夸","誇"],"jiá jiā gā xiá":["夹"],huà:["夻","婳","嫿","嬅","崋","摦","杹","枠","桦","槬","樺","澅","画","畫","畵","繣","舙","話","諙","譮","话","黊"],"jiā jiá gā xiá":["夾"],ēn:["奀","恩","蒽"],"dī tì":["奃"],"yǎn yān":["奄","渰"],pào:["奅","疱","皰","砲","礟","礮","靤","麭"],nài:["奈","柰","渿","耐","萘","褦","錼","鼐"],"quān juàn":["奍","弮","棬"],zòu:["奏","揍"],"qì qiè xiè":["契"],kāi:["奒","开","揩","鐦","锎","開"],"bēn bèn":["奔","泍"],tào:["套"],"zàng zhuǎng":["奘"],běn:["奙","本","楍","畚","翉","苯"],"xùn zhuì":["奞"],shē:["奢","檨","猞","畭","畲","賒","賖","赊","輋","\uD86A\uDE36"],"hǎ pò tǎi":["奤"],"ào yù":["奥","奧","澚"],yūn:["奫","氲","氳","蒀","蒕","蝹","贇","赟","\uD86D\uDDB3"],"duǒ chě":["奲"],"nǚ rǔ":["女"],nú:["奴","孥","笯","駑","驽"],"dīng dǐng tiǎn":["奵"],"tā jiě":["她"],nuán:["奻"],"hǎo hào":["好"],fàn:["奿","嬎","梵","汎","泛","滼","瀪","犯","畈","盕","笵","範","范","訉","販","贩","軬","輽","飯","飰","饭"],shuò:["妁","搠","朔","槊","烁","爍","矟","蒴","鎙","鑠","铄"],"fēi pèi":["妃"],wàng:["妄","忘","旺","望","朢"],zhuāng:["妆","妝","娤","庄","庒","桩","梉","樁","粧","糚","荘","莊","装","裝"],mā:["妈","媽"],"fū yōu":["妋"],"hài jiè":["妎"],dù:["妒","妬","杜","殬","渡","秺","芏","荰","螙","蠧","蠹","鍍","镀","靯","\uD872\uDF4A"],miào:["妙","庙","庿","廟","玅","竗"],"fǒu pēi pī":["妚"],"yuè jué":["妜"],niū:["妞"],"nà nàn":["妠"],tuǒ:["妥","嫷","庹","椭","楕","橢","鬌","鰖","鵎"],"wàn yuán":["妧"],fáng:["妨","房","肪","防","魴","鲂"],nī:["妮"],zhóu:["妯","碡"],zhāo:["妱","巶","招","昭","釗","鉊","鍣","钊","駋","\uD872\uDF3F"],"nǎi nǐ":["妳"],tǒu:["妵","敨","紏","蘣","黈"],"xián xuán xù":["妶"],"zhí yì":["妷","秇"],ē:["妸","妿","婀","屙"],mèi:["妹","媚","寐","抺","旀","昧","沬","煝","痗","眛","睸","祙","篃","蝞","袂","跊","鬽","魅"],"qī qì":["妻"],"xū xǔ":["姁","稰"],"shān shàn":["姍","姗","苫","釤","钐"],mán:["姏","慲","樠","蛮","蠻","謾","饅","馒","鬗","鬘","鰻","鳗"],jiě:["姐","媎","檞","毑","飷"],"wěi wēi":["委"],pīn:["姘","拼","礗","穦","馪","驞"],"huá huó":["姡"],"jiāo xiáo":["姣"],"gòu dù":["姤"],"lǎo mǔ":["姥"],"nián niàn":["姩"],zhěn:["姫","屒","弫","抮","昣","枕","畛","疹","眕","稹","縝","縥","缜","聄","萙","袗","裖","覙","診","诊","軫","轸","辴","駗","鬒"],héng:["姮","恆","恒","烆","珩","胻","蘅","衡","鑅","鴴","鵆","鸻"],"jūn xún":["姰"],"kuā hù":["姱"],"è yà":["姶"],"xiān shēn":["姺"],wá:["娃"],"ráo rǎo":["娆","嬈"],"shào shāo":["娋"],xiē:["娎","揳","楔","歇","蝎","蠍"],"wǔ méi mǔ":["娒"],"chuò lài":["娕"],niáng:["娘","嬢","孃"],"nà nuó":["娜","\uD85B\uDC21"],"pōu bǐ":["娝"],"něi suī":["娞"],tuì:["娧","煺","蛻","蜕","退","駾"],mǎn:["娨","屘","満","满","滿","螨","蟎","襔","鏋"],"wú wù yú":["娪"],"xī āi":["娭"],"zhuì shuì":["娷"],"dōng dòng":["娻"],"ǎi ái è":["娾"],"ē ě":["娿"],mián:["婂","嬵","宀","杣","棉","檰","櫋","眠","矈","矊","矏","綿","緜","绵","芇","蝒"],"pǒu péi bù":["婄"],biǎo:["婊","脿","表","裱","褾","諘","錶"],"fù fàn":["婏"],wǒ:["婐","婑","我"],"ní nǐ":["婗","棿"],"quán juàn":["婘","惓"],hūn:["婚","昏","昬","棔","涽","睧","睯","碈","荤","葷","蔒","轋","閽","阍"],"qiān jǐn":["婜"],"wān wà":["婠"],"lái lài":["婡","徕","徠"],"zhōu chōu":["婤"],"chuò nào":["婥"],"nüè àn":["婩"],"hùn kūn":["婫"],"dàng yáng":["婸"],nàn:["婻"],"ruò chuò":["婼"],jiǎ:["婽","岬","斚","斝","榎","槚","檟","玾","甲","胛","鉀","钾"],"tōu yú":["婾","媮"],"yù yú":["媀"],"wéi wěi":["媁"],"dì tí":["媂","珶","苐"],róu:["媃","揉","柔","渘","煣","瑈","瓇","禸","粈","糅","脜","腬","葇","蝚","蹂","輮","鍒","鞣","騥","鰇","鶔","\uD86D\uDC13"],"ruǎn nèn":["媆"],miáo:["媌","嫹","描","瞄","苗","鶓","鹋"],"yí pèi":["媐"],"mián miǎn":["媔"],"tí shì":["媞","惿"],"duò tuó":["媠","沲"],ǎo:["媪","媼","艹","芺","袄","襖","镺"],"chú zòu":["媰"],yìng:["媵","映","暎","硬","膡","鱦"],"qín shēn":["嫀"],jià:["嫁","幏","架","榢","稼","駕","驾"],sǎo:["嫂"],"zhēn zhěn":["嫃"],"jiē suǒ":["嫅"],"míng mǐng":["嫇"],niǎo:["嫋","嬝","嬲","茑","蔦","袅","裊","褭","鸟"],tāo:["嫍","幍","弢","慆","掏","搯","槄","涛","滔","濤","瑫","絛","縚","縧","绦","詜","謟","轁","鞱","韜","韬","飸","饕"],biáo:["嫑"],"piáo piāo":["嫖","薸"],xuán:["嫙","悬","懸","暶","檈","漩","玄","璇","璿","痃","蜁","\uD86E\uDC0A"],"màn mān":["嫚"],kāng:["嫝","嵻","康","慷","槺","漮","砊","穅","糠","躿","鏮","鱇","\uD845\uDC13","\uD867\uDF8C"],"hān nǎn":["嫨"],nèn:["嫩","嫰"],zhē:["嫬","遮"],"mā má":["嫲"],piè:["嫳"],zhǎn:["嫸","展","搌","斩","斬","琖","盏","盞","輾","醆","颭","飐"],"xiān yǎn jìn":["嬐"],liǎn:["嬚","敛","斂","琏","璉","羷","脸","臉","蔹","蘝","蘞","裣","襝","鄻"],"qióng huán xuān":["嬛"],dǒng:["嬞","懂","箽","董","蕫","諌"],cān:["嬠","湌","爘","飡","餐","驂","骖"],tiǎo:["嬥","宨","晀","朓","窱","脁"],bí:["嬶","荸","鼻"],liǔ:["嬼","柳","栁","桞","桺","橮","熮","珋","綹","绺","罶","羀","鋶","锍"],"qiān xiān":["孅","欦"],"xié huī":["孈"],"huān quán":["孉"],"lí lì":["孋","麗"],"zhú chuò":["孎"],kǒng:["孔","恐"],"mā zī":["孖"],"sūn xùn":["孙","孫"],"bèi bó":["孛","誖"],"yòu niū":["孧"],zhuǎn:["孨","竱","轉"],hái:["孩","骸"],nāo:["孬"],"chán càn":["孱"],bò:["孹","檗","蘗","譒"],nái:["孻","腉"],"níng nìng":["宁","寍","寗","寜","寧","甯"],zhái:["宅"],"tū jiā":["宊"],sòng:["宋","訟","誦","讼","诵","送","鎹","頌","颂","餸"],ròu:["宍","肉","譳"],zhūn:["宒","窀","衠","諄","谆","迍"],"mì fú":["宓"],"dàng tàn":["宕"],"wǎn yuān":["宛"],chǒng:["宠","寵"],qún:["宭","峮","帬","羣","群","裙","裠"],zǎi:["宰","崽"],"bǎo shí":["宲"],"jiā jia jie":["家"],"huāng huǎng":["宺"],kuān:["宽","寛","寬","臗","鑧","髋","髖"],"sù xiǔ xiù":["宿"],"jié zǎn":["寁"],"bìng bǐng":["寎"],"jìn qǐn":["寖"],"lóu jù":["寠"],"xiě xiè":["寫"],"qīn qìn":["寴"],cùn:["寸","籿"],duì:["对","対","對","怼","憝","懟","濧","瀩","碓","祋","綐","薱","譈","譵","轛","队","陮"],"lüè luó":["寽"],"shè yè yì":["射"],"jiāng jiàng qiāng":["将"],"jiāng jiàng":["將","浆","漿","畺"],zūn:["尊","嶟","樽","罇","遵","鐏","鱒","鳟","鶎","鷷","\uD863\uDC54"],"shù zhù":["尌","澍"],xiǎo:["小","晓","暁","曉","皛","皢","筱","筿","篠","謏","\uD86C\uDF72"],"jié jí":["尐","诘","鞊"],"shǎo shào":["少"],ěr:["尒","尓","尔","栮","毦","洱","爾","珥","耳","薾","衈","趰","迩","邇","鉺","铒","餌","饵","駬"],"wāng yóu":["尢"],wāng:["尣","尩","尪","尫","汪"],liào:["尥","尦","廖","撂","料","炓","窷","鐐","镣","\uD86A\uDD17"],"méng máng lóng páng":["尨"],gà:["尬","魀"],"kuì kuǐ":["尯"],tuí:["尵","弚","穨","蘈","蹪","隤","頹","頺","頽","颓","魋","\uD872\uDFCE"],yǐn:["尹","嶾","引","朄","檃","檼","櫽","淾","濥","瘾","癮","粌","蘟","蚓","螾","讔","赺","趛","輑","鈏","靷"],"chǐ chě":["尺"],kāo:["尻","髛"],"jìn jǐn":["尽"],"wěi yǐ":["尾"],"niào suī":["尿"],céng:["层","層","嶒","驓"],diǎo:["屌"],"píng bǐng bīng":["屏"],lòu:["屚","漏","瘘","瘺","瘻","鏤","镂","陋"],"shǔ zhǔ":["属","屬"],"xiè tì":["屟"],"chè cǎo":["屮"],"tún zhūn":["屯"],"nì jǐ":["屰"],"hóng lóng":["屸"],"qǐ kǎi":["岂","豈"],áng:["岇","昂","昻"],"gǎng gāng":["岗","崗"],kě:["岢","敤","渇","渴","炣"],gǒu:["岣","狗","玽","笱","耇","耈","耉","苟","豿"],tiáo:["岧","岹","樤","祒","笤","芀","萔","蓚","蓨","蜩","迢","鋚","鎥","鞗","髫","鯈","鰷","鲦","齠","龆"],"qū jū":["岨"],lǐng:["岭","嶺","領","领"],pò:["岶","敀","洦","湐","烞","珀","破","砶","粕","蒪","魄"],"bā kè":["峇"],luò:["峈","摞","洛","洜","犖","珞","笿","纙","荦","詻","雒","駱","骆","鵅"],"fù niè":["峊"],ěn:["峎"],"zhì shì":["峙","崻"],qiǎ:["峠","跒","酠","鞐"],"qiáo jiào":["峤","癄"],"xié yé":["峫"],bū:["峬","庯","晡","誧","逋","鈽","錻","钸","餔","鵏"],chóng:["崇","崈","爞","虫","蝩","蟲","褈","隀"],"zú cuì":["崒","椊"],"líng léng":["崚"],"dòng dōng":["崠"],xiáo:["崤","洨","淆","訤","誵"],"pí bǐ":["崥","芘"],"zhǎn chán":["崭","嶃","嶄"],"wǎi wēi":["崴"],"yáng dàng":["崵"],"shì dié":["崼"],yào:["崾","曜","熎","燿","矅","穾","窔","筄","耀","艞","药","葯","薬","藥","袎","覞","詏","讑","靿","鷂","鹞","鼼"],"kān zhàn":["嵁"],"hán dǎng":["嵅"],"qiàn kàn":["嵌"],"wù máo":["嵍"],"kě jié":["嵑","嶱"],"wēi wěi":["嵔"],kē:["嵙","柯","棵","榼","樖","牁","牱","犐","珂","疴","瞌","磕","礚","科","稞","窠","萪","薖","蚵","蝌","趷","轲","醘","鈳","钶","頦","顆","颗","髁"],"dàng táng":["嵣"],"róng yíng":["嵤","爃"],"ái kǎi":["嵦"],"kāo qiāo":["嵪"],cuó:["嵯","嵳","痤","矬","蒫","蔖","虘","鹺","鹾"],"qiǎn qīn":["嵰"],"dì dié":["嵽"],cēn:["嵾"],dǐng:["嵿","艼","薡","鐤","頂","顶","鼎","鼑"],"áo ào":["嶅"],"pǐ pèi":["嶏"],"jiào qiáo":["嶠","潐"],"jué guì":["嶡","鳜"],"zhān shàn":["嶦","鳣"],"xiè jiè":["嶰"],"guī xī juàn":["嶲"],rū:["嶿"],"lì liè":["巁","棙","爄","綟"],"xī guī juàn":["巂"],"yíng hōng":["巆"],yǐng:["巊","廮","影","摬","梬","潁","瘿","癭","矨","穎","郢","鐛","頴","颍","颕","颖"],chǎo:["巐","炒","煼","眧","麨"],cuán:["巑","櫕","欑"],chuān:["巛","川","氚","瑏","穿"],"jīng xíng":["巠"],cháo:["巢","巣","晁","漅","潮","牊","窲","罺","謿","轈","鄛","鼌"],qiǎo:["巧","愀","髜"],gǒng:["巩","廾","拱","拲","栱","汞","珙","輁","鞏"],"chà chā chāi cī":["差"],"xiàng hàng":["巷"],shuài:["帅","帥","蟀"],pà:["帊","帕","怕","袙"],"tǎng nú":["帑"],"mò wà":["帓"],"tiē tiě tiè":["帖"],zhǒu:["帚","晭","疛","睭","箒","肘","菷","鯞"],"juǎn juàn":["帣"],shuì:["帨","涗","涚","睡","稅","税","裞"],"chóu dào":["帱","幬"],"jiǎn jiān sàn":["帴"],"shà qiè":["帹"],"qí jì":["帺","荠"],"shān qiāo shēn":["幓"],"zhuàng chuáng":["幢"],"chān chàn":["幨"],miè:["幭","懱","搣","滅","灭","烕","礣","篾","蔑","薎","蠛","衊","鑖","鱴","鴓"],"gān gàn":["干"],"bìng bīng":["并","幷"],"jī jǐ":["幾"],"guǎng ān":["广"],guǎng:["広","廣","犷","獷"],me:["庅"],"dùn tún":["庉"],"bài tīng":["庍"],"yìng yīng":["应"],"dǐ de":["底"],"dù duó":["度"],"máng méng páng":["庬"],"bìng píng":["庰"],chěng:["庱","悜","睈","逞","騁","骋"],"jī cuò":["庴"],qǐng:["庼","廎","檾","漀","苘","請","謦","请","頃","顷"],"guī wěi huì":["廆"],"jǐn qín":["廑"],kuò:["廓","扩","拡","擴","濶","筈","萿","葀","蛞","闊","阔","霩","鞟","鞹","韕","頢","鬠"],"qiáng sè":["廧","薔"],"yǐn yìn":["廴","隐","隠","隱","飮","飲","饮"],"pò pǎi":["廹","迫"],"nòng lòng":["弄"],"dì tì tuí":["弟"],"jué zhāng":["弡"],"mí mǐ":["弥","彌","靡"],chāo:["弨","怊","抄","欩","訬","超","鈔","钞"],yi:["弬"],shāo:["弰","旓","烧","焼","燒","筲","艄","萷","蕱","輎","髾","鮹"],"xuān yuān":["弲"],"qiáng qiǎng jiàng":["強","强"],"tán dàn":["弹","醈"],biè:["彆"],"qiáng jiàng qiǎng":["彊"],"jì xuě":["彐"],tuàn:["彖","褖"],yuē:["彟","曰","曱","矱"],"shān xiǎn":["彡"],wén:["彣","文","炆","珳","瘒","繧","聞","芠","蚉","蚊","螡","蟁","閺","閿","闅","闦","闻","阌","雯","馼","駇","魰","鳼","鴍","鼤","\uD86D\uDE1C"],"péng bāng":["彭"],"piāo piào":["彯"],"zhuó bó":["彴"],"tuǒ yí":["彵"],"páng fǎng":["彷"],wǎng:["彺","往","徃","惘","枉","棢","網","网","罒","罓","罔","罖","菵","蛧","蝄","誷","輞","辋","魍"],cú:["徂","殂"],"dài dāi":["待"],huái:["徊","怀","懐","懷","槐","淮","耲","蘹","褢","褱","踝"],"wā wàng jiā":["徍"],"chěng zhèng":["徎"],"dé děi de":["得"],"cóng zòng":["從"],"shì tǐ":["徥"],"tí chí":["徲","鶗","鶙"],dé:["徳","德","恴","悳","惪","淂","鍀","锝"],"zhǐ zhēng":["徴","徵"],bié:["徶","癿","莂","蛂","襒","蹩"],"chōng zhǒng":["徸"],"jiǎo jiào":["徼","笅","筊"],"lòng lǒng":["徿"],"qú jù":["忂","渠","瞿","螶"],"dìng tìng":["忊"],gǎi:["忋","改"],rěn:["忍","栠","栣","秹","稔","綛","荏","荵","躵"],chàn:["忏","懴","懺","硟","羼","韂","顫"],tè:["忑","慝","特","蟘","鋱","铽"],"tè tēi tuī":["忒"],"gān hàn":["忓","攼"],"yì qì":["忔"],"tài shì":["忕"],"xī liě":["忚"],"yīng yìng":["応","應","譍"],"mǐn wěn mín":["忞","忟"],"sōng zhōng":["忪"],"yù shū":["忬","悆"],"qí shì":["忯","耆"],"tún zhūn dùn":["忳"],"qián qín":["忴","扲"],hún:["忶","浑","渾","餛","馄","魂","鼲"],niǔ:["忸","扭","炄","狃","紐","纽","莥","鈕","钮","靵"],"kuáng wǎng":["忹"],"kāng hàng":["忼"],"kài xì":["忾","愾"],òu:["怄","慪"],"bǎo bào":["怉"],"mín mén":["怋"],"zuò zhà":["怍"],zěn:["怎"],yàng:["怏","恙","样","様","樣","漾","羕","詇"],"kòu jù":["怐"],"náo niú":["怓"],"zhēng zhèng":["怔","掙","钲","铮"],"tiē zhān":["怗"],"hù gù":["怘"],"cū jù zū":["怚"],"sī sāi":["思"],"yóu chóu":["怞"],"tū dié":["怢"],"yōu yào":["怮"],xuàn:["怰","昡","楦","泫","渲","炫","琄","眩","碹","絢","縼","繏","绚","蔙","衒","袨","贙","鉉","鏇","铉","镟","颴"],"xù xuè":["怴"],"bì pī":["怶"],"xī shù":["怸"],"nèn nín":["恁"],"tiāo yáo":["恌"],"xī qī xù":["恓"],"xiào jiǎo":["恔"],"hū kuā":["恗"],nǜ:["恧","朒","衂","衄"],hèn:["恨"],"dòng tōng":["恫"],"quán zhuān":["恮"],"è wù ě wū":["恶","惡"],tòng:["恸","慟","憅","痛","衕"],"yuān juàn":["悁"],"qiāo qiǎo":["悄"],"jiè kè":["悈"],"hào jiào":["悎"],huǐ:["悔","檓","毀","毁","毇","燬","譭"],"mán mèn":["悗","鞔"],"yī yì":["悘","衣"],quān:["悛","箞","鐉","\uD861\uDFE0"],"kuī lǐ":["悝"],"yì niàn":["悥"],"mèn mēn":["悶"],guàn:["悹","悺","惯","慣","掼","摜","樌","欟","泴","涫","潅","灌","爟","瓘","盥","礶","祼","罆","罐","貫","贯","躀","遦","鏆","鑵","鱹","鸛","鹳"],"kōng kǒng":["悾"],"lǔn lùn":["惀"],guǒ:["惈","果","椁","槨","粿","綶","菓","蜾","裹","褁","輠","餜","馃"],"yuān wǎn":["惌","箢"],"lán lín":["惏"],"yù xù":["惐","淢"],"chuò chuì":["惙"],"hūn mèn":["惛"],"chǎng tǎng":["惝"],"suǒ ruǐ":["惢"],cǎn:["惨","慘","憯","黪","黲","䅟"],cán:["惭","慙","慚","残","殘","蚕","蝅","蠶","蠺"],"dàn dá":["惮","憚"],rě:["惹"],"yú tōu":["愉"],"kài qì":["愒"],"dàng táng shāng yáng":["愓"],"chén xìn dān":["愖"],"kè qià":["愘"],nuò:["愞","懦","懧","掿","搦","榒","稬","穤","糑","糥","糯","諾","诺","蹃","逽","鍩","锘"],gǎn:["感","擀","敢","桿","橄","澉","澸","皯","秆","稈","笴","芉","衦","赶","趕","鱤","鳡"],"còng sōng":["愡"],"sāi sī sǐ":["愢"],"gōng gòng hǒng":["愩","慐"],"shuò sù":["愬","洬"],"yáo yào":["愮"],huàng:["愰","曂","榥","滉","皝","皩","鎤","㿠"],zhěng:["愸","抍","拯","整","晸"],cǎo:["愺","艸","草","騲"],"xì xié":["慀"],"cǎo sāo":["慅"],"xù chù":["慉"],"qiè qiàn":["慊"],"cáo cóng":["慒"],"ào áo":["慠"],"lián liǎn":["慩","梿","槤","櫣"],"jìn qín jǐn":["慬"],"dì chì":["慸"],"zhí zhé":["慹"],"lóu lǚ":["慺","鷜"],còng:["憁","謥"],"zhī zhì":["憄","知","織","织"],chēng:["憆","摚","撐","撑","晿","柽","棦","橕","檉","泟","浾","琤","瞠","碀","緽","罉","蛏","蟶","赪","赬","鏿","鐣","阷","靗","頳","饓"],biē:["憋","虌","鱉","鳖","鼈","龞"],"chéng dèng zhèng":["憕"],"xǐ xī":["憘"],"duì dùn tūn":["憞"],"xiāo jiāo":["憢"],"xián xiàn":["憪"],"liáo liǎo":["憭","燎","爎","爒"],shéng:["憴","縄","繉","繩","绳","譝"],"náo nǎo náng":["憹"],"jǐng jìng":["憼"],"jǐ jiǎo":["憿"],"xuān huān":["懁"],"cǎo sāo sào":["懆"],mèn:["懑","懣","暪","焖","燜"],"mèng méng měng":["懜"],"ài yì nǐ":["懝"],"méng měng":["懞","瞢","矒"],"qí jī jì":["懠"],mǒ:["懡"],"lán xiàn":["懢"],"yōu yǒu":["懮"],"liú liǔ":["懰","藰"],ràng:["懹","譲","讓","让"],huān:["懽","欢","歓","歡","獾","讙","貛","酄","驩","鴅","鵍"],nǎn:["戁","揇","湳","煵","腩","蝻","赧"],"mí mó":["戂"],"gàng zhuàng":["戅","戆"],"zhuàng gàng":["戇"],"xū qu":["戌"],"xì hū":["戏","戯","戲"],"jiá gā":["戛"],zéi:["戝","蠈","賊","贼","鰂","鱡","鲗"],děng:["戥","等"],"hū xì":["戱"],chuō:["戳","踔","逴"],"biǎn piān":["扁"],"shǎng jiōng":["扄"],"shàn shān":["扇"],cái:["才","材","纔","裁","財","财"],"zhā zā zhá":["扎"],"lè lì cái":["扐"],"bā pá":["扒"],"dǎ dá":["打"],rēng:["扔"],"fǎn fú":["払"],"diǎo dí yuē lì":["扚"],"káng gāng":["扛"],"yū wū":["扜"],"yū wū kū":["扝"],"tuō chǐ yǐ":["扡"],"gǔ jié xì gē":["扢"],dèn:["扥","扽"],"sǎo sào":["扫","掃"],rǎo:["扰","擾","隢"],"xī chā qì":["扱"],"bān pān":["扳"],"bā ào":["扷"],"xī zhé":["扸"],"zhì sǔn kǎn":["扻"],zhǎo:["找","沼","瑵"],"kuáng wǎng zài":["抂"],"hú gǔ":["抇","鹄","鹘"],"bǎ bà":["把"],"dǎn shěn":["抌"],"nè nì ruì nà":["抐"],zhuā:["抓","檛","簻","膼","髽"],póu:["抔","裒"],"zhé shé zhē":["折"],"póu pōu fū":["抙","捊"],pāo:["抛","拋","脬","萢"],"ǎo ào niù":["抝"],"lūn lún":["抡","掄"],"qiǎng qiāng chēng":["抢"],"zhǐ zhǎi":["抧"],"bù pū":["抪","柨"],"yǎo tāo":["抭"],"hē hè qiā":["抲"],"nǐ ní":["抳"],"pī pēi":["抷"],"mǒ mò mā":["抹"],chōu:["抽","犨","犫","瘳","篘"],"jiā yá":["拁"],"fú bì":["拂","畐","鶝"],zhǎ:["拃","眨","砟","鮺","鲝"],"dān dàn dǎn":["担"],"chāi cā":["拆"],niān:["拈","蔫"],"lā lá lǎ là":["拉"],"bàn pàn":["拌"],pāi:["拍"],līn:["拎"],guǎi:["拐","枴","柺"],"tuò tà zhí":["拓"],"ào ǎo niù":["拗"],"jū gōu":["拘"],"pīn pàn fān":["拚"],"bài bái":["拜"],bài:["拝","敗","稗","粺","薭","贁","败","韛"],qiá:["拤"],"nǐng níng nìng":["拧"],"zé zhái":["择","擇"],hén:["拫","痕","鞎"],"kuò guā":["括"],"jié jiá":["拮"],nǐn:["拰"],shuān:["拴","栓","閂","闩"],"cún zùn":["拵"],"zā zǎn":["拶","桚"],kǎo:["拷","攷","栲","烤","考"],"yí chǐ hài":["拸"],"cè sè chuò":["拺"],"zhuài zhuāi yè":["拽"],"shí shè":["拾"],bāi:["挀","掰"],"kuò guāng":["挄"],nòng:["挊","挵","齈"],"jiào jiāo":["挍","敎","教"],"kuà kū":["挎"],"ná rú":["挐"],"tiāo tiǎo":["挑"],"dié shè":["挕"],liě:["挘","毟"],"yà yǎ":["挜","掗"],"wō zhuā":["挝"],"xié jiā":["挟","挾"],"dǎng dàng":["挡","擋"],"zhèng zhēng":["挣","正","症"],"āi ái":["挨"],"tuō shuì":["挩","捝"],"tǐ tì":["挮"],"suō shā":["挱"],"sā shā suō":["挲"],"kēng qiān":["挳","摼"],"bàng péng":["挷"],"ruó ruá":["挼"],"jiǎo kù":["捁"],"wǔ wú":["捂"],tǒng:["捅","桶","筒","筩","統","綂","统","㛚"],"huò chì":["捇"],"tú shū chá":["捈"],"lǚ luō":["捋"],"shāo shào":["捎","稍"],niē:["捏","揑"],"shù sǒng sōu":["捒"],"yé yú":["捓"],"jué zhuó":["捔"],"bù pú zhì":["捗"],zùn:["捘","銌"],lāo:["捞","撈","粩"],sǔn:["损","損","榫","笋","筍","箰","鎨","隼"],"wàn wǎn wān yù":["捥"],pěng:["捧","淎","皏"],shě:["捨"],"fǔ fù bǔ":["捬"],dáo:["捯"],"luò luǒ wǒ":["捰"],"juǎn quán":["捲"],"chēn tiǎn":["捵"],"niǎn niē":["捻"],"ruó wěi ré":["捼"],zuó:["捽","昨","秨","稓","筰","莋","鈼"],"wò xiá":["捾"],"qìng qiàn":["掅"],"póu pǒu":["掊"],qiā:["掐","葜"],"pái pǎi":["排"],"qiān wàn":["掔"],"yè yē":["掖"],"niè nǐ yì":["掜"],"huò xù":["掝"],"yàn shàn yǎn":["掞"],"zhěng dìng":["掟"],kòng:["控","鞚"],tuī:["推","蓷","藬"],"zōu zhōu chōu":["掫"],tiàn:["掭","舚"],kèn:["掯","裉","褃"],pá:["掱","杷","潖","爬","琶","筢"],"guó guāi":["掴"],"dǎn shàn":["掸","撣"],"chān xiān càn shǎn":["掺"],sāo:["掻","搔","溞","繅","缫","螦","騒","騷","鰠","鱢","鳋"],pèng:["掽","椪","槰","碰","踫"],"zhēng kēng":["揁"],"jiū yóu":["揂"],"jiān jiǎn":["揃","籛"],"pì chè":["揊"],"sāi zǒng cāi":["揌"],"tí dī dǐ":["提"],"zǒng sōng":["揔"],"huáng yóng":["揘"],"zǎn zuàn":["揝"],"xū jū":["揟"],"ké qiā":["揢"],"chuāi chuǎi chuài tuán zhuī":["揣"],"dì tì":["揥"],"lá là":["揦"],là:["揧","楋","溂","瓎","瘌","翋","臘","蝋","蝲","蠟","辢","辣","鑞","镴","鬎","鯻","\uD873\uDD9F"],"jiē qì":["揭"],"chòng dǒng":["揰"],"dié shé yè":["揲"],"jiàn qián jiǎn":["揵"],yé:["揶","爷","爺","瑘","鋣","鎁","铘"],chān:["搀","摻","攙","裧","襜","覘","觇","辿","鋓"],"gē gé":["搁","擱"],"lǒu lōu":["搂","摟"],"chōu zǒu":["搊"],chuāi:["搋"],sūn:["搎","槂","狲","猻","荪","蓀","蕵","薞","飧","飱"],"róng náng nǎng":["搑"],"péng bàng":["搒"],cuō:["搓","瑳","磋","蹉","遳","醝"],"kē è":["搕"],"nù nuò nòu":["搙"],"lā xié xiàn":["搚"],qiǔ:["搝","糗"],"xiǎn xiān":["搟"],"jié zhé":["搩"],"pán bān pó":["搫"],bān:["搬","攽","斑","斒","班","瘢","癍","肦","螁","螌","褩","辬","頒","颁","\uD862\uDF49"],"zhì nái":["搱"],"wā wǎ wà":["搲"],huá:["搳","撶","滑","猾","蕐","螖","譁","鏵","铧","驊","骅","鷨"],"qiāng qiǎng chēng":["搶"],"tián shēn":["搷"],"ná nuò":["搻"],èn:["摁"],"shè niè":["摄","攝"],bìn:["摈","擯","殡","殯","膑","臏","髌","髕","髩","鬂","鬓","鬢"],"shā sà shǎi":["摋"],"chǎn sùn":["摌"],"jiū liú liáo jiǎo náo":["摎"],"féng pěng":["摓"],shuāi:["摔"],"dì tú zhí":["摕"],"qì jì chá":["摖"],"sōu sǒng":["摗"],"liǎn liàn":["摙"],"gài xì":["摡"],"hù chū":["摢"],tàng:["摥","烫","燙","鐋"],"nái zhì":["摨"],"mó mā":["摩"],"jiāng qiàng":["摪"],"áo qiáo":["摮"],"niè chè":["摰"],"mán màn":["摱"],"chàn cán":["摲"],"sè mí sù":["摵"],"biāo biào":["摽"],"juē jué":["撅"],piē:["撆","暼","氕","瞥"],"piě piē":["撇"],"zǎn zān zēn qián":["撍"],"sā sǎ":["撒"],hòng:["撔","訌","讧","闀","鬨"],"héng guàng":["撗"],niǎn:["撚","撵","攆","涊","焾","碾","簐","蹍","蹨","躎","輦","辇"],"chéng zhěng":["撜"],"huī wéi":["撝"],cāo:["撡","操","糙"],"xiāo sōu":["撨"],"liáo liāo":["撩"],"cuō zuǒ":["撮"],"wěi tuǒ":["撱"],cuān:["撺","攛","汆","蹿","躥","鑹","镩"],"qiào yāo jī":["撽"],"zhuā wō":["撾"],"lèi léi":["擂"],nǎng:["擃","攮","曩","灢"],"qíng jǐng":["擏"],kuǎi:["擓","蒯","㧟"],"pǐ bò":["擗"],"bò bāi":["擘"],"jù jǐ":["據"],mēng:["擝"],"sǒu sòu":["擞"],xǐng:["擤","箵","醒"],cā:["擦"],"níng nǐng nìng":["擰"],"zhì jié":["擳"],"là liè":["擸","爉"],"sòu sǒu":["擻"],"lì luò yuè":["擽"],"tī zhāi zhì":["擿"],pān:["攀","潘","眅","萠"],lèi:["攂","泪","涙","淚","禷","类","纇","蘱","酹","銇","錑","頛","頪","類","颣"],"cā sǎ":["攃"],"jùn pèi":["攈"],"lì luò":["攊","躒"],"là lài":["攋","櫴"],"lú luó":["攎"],"zǎn cuán":["攒"],"xiān jiān":["攕"],"mí mǐ mó":["攠"],"zǎn cuán zàn zuān":["攢"],zuàn:["攥"],"lì shài":["攦"],"lì luǒ":["攭"],"guǐ guì":["攱"],"jī qī yǐ":["攲"],fàng:["放"],"wù móu":["敄"],"chù shōu":["敊"],"gé guó è":["敋"],"duó duì":["敓","敚"],"duō què":["敠","敪"],"sàn sǎn":["散"],"dūn duì":["敦","镦"],"qī yǐ jī":["敧"],"xiào xué":["敩"],"shù shǔ shuò":["数","數"],"ái zhú":["敱","敳"],"xiòng xuàn":["敻"],"zhuó zhú":["斀"],"yì dù":["斁"],"lí tái":["斄"],"fěi fēi":["斐"],"yǔ zhōng":["斔"],"dòu dǒu":["斗"],"wò guǎn":["斡"],"tǒu tiǎo":["斢"],dòu:["斣","梪","浢","痘","窦","竇","脰","荳","豆","逗","郖","酘","閗","闘","餖","饾","鬥","鬦","鬪","鬬","鬭"],"yín zhì":["斦"],"chǎn jiè":["斺"],"wū yū yú":["於"],"yóu liú":["斿"],"páng bàng":["旁"],"máo mào":["旄"],"pī bì":["旇"],"xuán xuàn":["旋"],"wú mó":["无"],zǎo:["早","枣","栆","棗","澡","璪","薻","藻","蚤"],gā:["旮"],"gàn hàn":["旰"],"tái yīng":["旲"],"xū xù":["旴"],"tūn zhùn":["旽"],"wù wǔ":["旿"],"pò pèi":["昢"],zòng:["昮","猔","疭","瘲","粽","糉","糭","縦"],ǎi:["昹","毐","矮","蔼","藹","譪","躷","霭","靄"],"huàng huǎng":["晃"],xuǎn:["晅","癣","癬","选","選"],"xù kuā":["晇"],hǒng:["晎"],shài:["晒","曬"],"yūn yùn":["晕","煴"],"shèng chéng":["晟","椉","盛"],"jǐng yǐng":["景"],shǎn:["晱","熌","睒","覢","閃","闪","陕","陝"],"qǐ dù":["晵"],"ǎn àn yǎn":["晻"],"wǎng wàng":["暀"],zàn:["暂","暫","瓉","瓒","瓚","禶","襸","讃","讚","賛","贊","赞","蹔","鄼","錾","鏨","饡"],"yùn yūn":["暈"],"mín mǐn":["暋"],"dǔ shǔ":["暏"],shǔ:["暑","曙","潻","癙","糬","署","薥","薯","藷","蜀","蠴","襡","襩","鱪","鱰","黍","鼠","鼡"],"jiǎn lán":["暕"],nuǎn:["暖","煗","餪"],"bào pù":["暴"],"xī xǐ":["暿"],"pù bào":["曝","瀑"],"qū qǔ":["紶"],"qǔ qū":["曲"],"gèng gēng":["更"],"hū hù":["曶","雽"],"zēng céng":["曽","橧"],"céng zēng":["曾","竲"],"cǎn qián jiàn":["朁"],"qiè hé":["朅"],"bì pí":["朇","禆","笓","裨"],"yǒu yòu":["有"],"bān fén":["朌","鳻"],"fú fù":["服","洑"],"fěi kū":["朏","胐"],"qú xù chǔn":["朐"],"juān zuī":["朘"],"huāng máng wáng":["朚"],"qī jī":["期"],"tóng chuáng":["朣","橦"],zhá:["札","牐","箚","蚻","譗","鍘","铡","閘","闸"],"zhú shù shú":["朮"],"shù shú zhú":["术"],"zhū shú":["朱"],"pǔ pò pō piáo":["朴"],"dāo tiáo mù":["朷"],"guǐ qiú":["朹"],xiǔ:["朽","滫","潃","糔"],"chéng chēng":["朾"],zá:["杂","沯","砸","襍","雑","雜","雥","韴"],"yú wū":["杅"],"gān gǎn":["杆"],"chā chà":["杈"],"shān shā":["杉"],cūn:["村","皴","竴","膥","踆","邨"],"rèn ér":["杒","梕"],"sháo biāo":["杓"],"dì duò":["杕","枤"],"gū gài":["杚"],"yí zhì lí duò":["杝"],"gàng gāng":["杠"],"tiáo tiāo":["条","條"],"mà mǎ":["杩"],"sì zhǐ xǐ":["杫"],"yuán wán":["杬","蚖"],"bèi fèi":["杮"],"shū duì":["杸"],"niǔ chǒu":["杻"],"wò yuè":["枂","臒"],máo:["枆","毛","氂","渵","牦","矛","罞","茅","茆","蝥","蟊","軞","酕","鉾","錨","锚","髦","鶜"],"pī mì":["枈"],àng:["枊","盎","醠"],"fāng bìng":["枋"],"hù dǐ":["枑"],xín:["枔","襑","鐔","鬵"],"yāo yǎo":["枖"],"ě è":["枙"],"zhī qí":["枝"],"cōng zōng":["枞","樅"],"xiān zhēn":["枮"],"tái sì":["枱"],"gǒu jǔ gōu":["枸"],"bāo fú":["枹"],"yì xiè":["枻","栧"],"tuó duò":["柁","馱","駄","驮"],"yí duò lí":["柂"],"nǐ chì":["柅"],"pán bàn":["柈","跘"],"yǎng yàng yāng yīng":["柍"],"fù fū fǔ":["柎"],"bǎi bó bò":["柏"],mǒu:["某"],"sháo shào":["柖"],zhè:["柘","樜","浙","淛","蔗","蟅","這","鷓","鹧","䗪"],"yòu yóu":["柚","櫾"],"guì jǔ":["柜"],"zhà zuò":["柞"],"dié zhì":["柣","眰"],"zhā zǔ zū":["柤"],"chá zhā":["查","査"],"āo ào":["柪","軪"],"bā fú pèi bó biē":["柭"],"duò zuó wù":["柮"],"bì bié":["柲"],"zhù chù":["柷"],"bēi pēi":["柸"],"shì fèi":["柹"],"shān zhà shi cè":["栅"],"lì yuè":["栎","櫟"],"qì qiè":["栔","砌"],"qī xī":["栖","蹊"],"guā kuò":["栝"],"bīng bēn":["栟"],"xiào jiào":["校"],"jiàn zùn":["栫","袸"],"yǒu yù":["栯"],"hé hú":["核"],gēn:["根","跟"],"zhī yì":["栺"],"gé gē":["格"],"héng háng":["桁"],"guàng guāng":["桄"],"yí tí":["桋","荑"],sāng:["桑","桒","槡"],"jú jié":["桔"],"yú móu":["桙"],"ráo náo":["桡","橈"],"guì huì":["桧","檜"],"chén zhèn":["桭"],"tīng yíng":["桯"],"bó po":["桲"],"bèn fàn":["桳"],"fēng fèng":["桻","葑"],"sù yìn":["梀"],"tǐng tìng":["梃"],"xuān juān xié":["梋"],"tú chá":["梌"],"āo yòu":["梎"],kuǎn:["梡","欵","款","歀"],"shāo sào":["梢"],"qín chén cén":["梣"],"lí sì qǐ":["梩"],"chān yán":["梴"],"bīn bīng":["梹","槟","檳"],"táo chóu dào":["梼"],"cōng sōng":["棇"],"gùn hùn":["棍"],"dé zhé":["棏"],"pái bèi pèi":["棑"],"bàng pǒu bèi bēi":["棓"],"dì dài tì":["棣"],sēn:["森","椮","槮","襂"],"rěn shěn":["棯"],"léng lēng líng":["棱"],"fú sù":["棴"],"zōu sǒu":["棷"],zōu:["棸","箃","緅","諏","诹","邹","郰","鄒","鄹","陬","騶","驺","鯫","鲰","黀","齱","齺"],"zhào zhuō":["棹"],"chēn shēn":["棽"],"jiē qiè":["椄"],"yǐ yī":["椅"],"chóu zhòu diāo":["椆"],"qiāng kōng":["椌"],"zhuī chuí":["椎"],"bēi pí":["椑"],mēn:["椚"],"quān juàn quán":["椦"],"duǒ chuán":["椯"],"wěi huī":["椲"],"jiǎ jiā":["椵"],"hán jiān":["椷"],"shèn zhēn":["椹"],"yàn yà":["椻"],"zhā chá":["楂"],"guō kuǎ":["楇"],"jí zhì":["楖"],"kǔ hù":["楛"],"yóu yǒu":["楢"],"sǒng cōng":["楤"],"yuán xuàn":["楥"],"yǎng yàng yīng":["楧"],pián:["楩","胼","腁","賆","蹁","駢","騈","骈","骿","㛹"],"dié yè":["楪"],"dùn shǔn":["楯"],"còu zòu":["楱"],"dì dǐ shì":["楴"],"kǎi jiē":["楷"],"róu ròu":["楺"],"lè yuè":["楽"],"wēn yùn":["榅","鞰"],lǘ:["榈","櫚","氀","膢","藘","閭","闾","驢","驴"],shén:["榊","神","鉮","鰰","\uD872\uDF39"],"bī pi":["榌"],"zhǎn niǎn zhèn":["榐"],"fú fù bó":["榑"],"jiàn jìn":["榗"],"bǎng bàng":["榜"],"shā xiè":["榝","樧"],nòu:["槈","耨","鎒","鐞"],"qiǎn lián xiàn":["槏"],gàng:["槓","焵","焹","筻","鿍"],gāo:["槔","槹","橰","櫜","睾","篙","糕","羔","臯","韟","餻","高","髙","鷎","鷱","鼛"],"diān zhěn zhēn":["槙"],"kǎn jiàn":["槛"],"xí dié":["槢"],"jī guī":["槣"],"róng yōng":["槦"],"tuán shuàn quán":["槫"],"qì sè":["槭"],"cuī zhǐ":["槯"],"yǒu chǎo":["槱"],"màn wàn":["槾"],"lí chī":["樆"],"léi lěi":["樏","櫑","礌"],"cháo jiǎo chāo":["樔"],"chēng táng":["樘"],"jiū liáo":["樛"],"mó mú":["模"],"niǎo mù":["樢"],"héng hèng":["横","橫"],xuě:["樰","膤","艝","轌","雪","鱈","鳕"],"fá fèi":["橃"],rùn:["橍","润","潤","膶","閏","閠","闰"],"zhǎn jiǎn":["橏"],shùn:["橓","瞚","瞬","舜","蕣","順","顺","鬊"],"tuí dūn":["橔"],"táng chēng":["橖"],"sù qiū":["橚"],"tán diàn":["橝"],"fén fèn fèi":["橨"],"rǎn yān":["橪"],"cū chu":["橻"],"shū qiāo":["橾"],"píng bò":["檘"],"zhái shì tú":["檡"],"biǎo biāo":["檦"],"qiān lián":["檶"],"nǐ mí":["檷"],"jiàn kǎn":["檻"],"nòu ruǎn rú":["檽"],"jī jì":["櫅","禨"],"huǎng guǒ gǔ":["櫎"],"lǜ chū":["櫖"],"miè mèi":["櫗"],ōu:["櫙","欧","歐","殴","毆","瓯","甌","膒","藲","謳","讴","鏂","鴎","鷗","鸥"],"zhù zhuó":["櫡"],"jué jì":["櫭"],"huái guī":["櫰"],"chán zhàn":["欃"],"wéi zuì":["欈"],cáng:["欌","鑶"],"yù yì":["欥"],"chù qù xì":["欪"],"kài ài":["欬"],"yì yīn":["欭"],"xì kài":["欯"],"shuò sòu":["欶"],"ǎi ēi éi ěi èi ê̄ ế ê̌ ề":["欸"],"qī yī":["欹"],"chuā xū":["欻"],"chǐ chuài":["欼"],"kǎn qiàn":["欿"],"kǎn kè":["歁"],"chuǎn chuán":["歂"],"yīn yān":["歅"],"jìn qūn":["歏"],pēn:["歕"],"xū chuā":["歘"],"xī shè":["歙"],"liǎn hān":["歛"],"zhì chí":["歭"],"sè shà":["歰"],sǐ:["死"],"wěn mò":["歾"],piǎo:["殍","皫","瞟","醥","顠"],"qíng jìng":["殑"],"fǒu bó":["殕"],"zhí shi":["殖"],"yè yān yàn":["殗"],"hūn mèi":["殙"],chòu:["殠","臰","遚"],"kuì huì":["殨","溃","潰"],cuàn:["殩","熶","爨","窜","竄","篡","簒"],"yīn yān yǐn":["殷"],"qìng kēng shēng":["殸"],"yáo xiáo xiào":["殽"],"gū gǔ":["毂","蛄"],"guàn wān":["毌"],"dú dài":["毒"],"xún xùn":["毥"],mú:["毪","氁"],"dòu nuò":["毭"],"sāi suī":["毸"],lu:["氇"],sào:["氉","瘙","矂","髞"],"shì zhī":["氏"],"dī dǐ":["氐"],"máng méng":["氓"],"yáng rì":["氜"],shuǐ:["水","氵","氺","閖"],"zhěng chéng zhèng":["氶"],tǔn:["氽"],"fán fàn":["氾"],"guǐ jiǔ":["氿"],"bīn pà pā":["汃"],"zhuó què":["汋"],"dà tài":["汏"],pìn:["汖","牝","聘"],"hàn hán":["汗","馯"],tu:["汢"],"tāng shāng":["汤","湯"],"zhī jì":["汥"],"gàn hán cén":["汵"],"wèn mén":["汶"],"fāng pāng":["汸"],"hǔ huǎng":["汻"],"niú yóu":["汼"],hàng:["沆"],"shěn chén":["沈"],"dùn zhuàn":["沌"],"nǜ niǔ":["沑"],"méi mò":["沒","没"],"tà dá":["沓"],"mì wù":["沕"],"hóng pāng":["沗"],"shā shà":["沙"],"zhuǐ zǐ":["沝"],"ōu òu":["沤","漚"],"jǔ jù":["沮"],"tuō duó":["沰"],"mǐ lì":["沵"],"yí chí":["沶"],"xiè yì":["泄"],"bó pō":["泊"],"mì bì":["泌","秘"],"chù shè":["泏"],"yōu yòu āo":["泑"],"pēng píng":["泙","硑"],"pào pāo":["泡"],"ní nì":["泥","秜"],"yuè sà":["泧"],"jué xuè":["泬","疦"],"lóng shuāng":["泷","瀧"],"luò pō":["泺","濼"],"zé shì":["泽","澤"],"sǎ xǐ":["洒"],"sè qì zì":["洓"],"xǐ xiǎn":["洗"],"kǎo kào":["洘"],"àn yàn è":["洝"],"lěi lèi":["洡"],"qiè jié":["洯"],"qiǎn jiān":["浅"],"jì jǐ":["济","済","濟","纪"],"hǔ xǔ":["浒","滸"],"jùn xùn":["浚","濬"],"yǐng chéng yíng":["浧"],"liàn lì":["浰"],"féng hóng":["浲","溄"],"jiǒng jiōng":["浻"],"suī něi":["浽"],"yǒng chōng":["涌"],"tūn yūn":["涒"],"wō guō":["涡","渦"],hēng:["涥","脝"],"zhǎng zhàng":["涨","漲"],"shòu tāo":["涭"],shuàn:["涮","腨"],"kōng náng":["涳"],"wò wǎn yuān":["涴"],"tuō tuò":["涶"],wō:["涹","猧","窝","窩","莴","萵","蜗","蝸","踒"],"qiè jí":["淁"],"guǒ guàn":["淉"],"lín lìn":["淋","獜","疄"],"tǎng chǎng":["淌"],"nào chuò zhuō":["淖"],"péng píng":["淜"],féi:["淝","肥","腓","蜰"],"pì pèi":["淠"],"niǎn shěn":["淰"],"biāo hǔ":["淲"],"chún zhūn":["淳"],"hùn hún":["混"],qiǎn:["淺","繾","缱","肷","膁","蜸","譴","谴","遣","鑓"],"wèn mín":["渂"],"rè ruò luò":["渃"],"dú dòu":["渎","瀆","读"],"jiàn jiān":["渐","溅","漸","濺"],"miǎn shéng":["渑","澠"],"nuǎn nuán":["渜"],"qiú wù":["渞"],"tíng tīng":["渟"],"dì tí dī":["渧"],"gǎng jiǎng":["港"],"hōng qìng":["渹"],tuān:["湍","煓"],"huì mǐn xū":["湏"],"xǔ xù":["湑"],pén:["湓","瓫","盆","葐"],"mǐn hūn":["湣"],"tuàn nuǎn":["湪"],"qiū jiǎo":["湫","湬"],"yān yīn":["湮"],"bàn pán":["湴"],"zhuāng hún":["湷"],"yàn guì":["溎"],"lián liǎn nián xián xiàn":["溓"],"dá tǎ":["溚","鿎"],"liū liù":["溜","澑","蹓"],lùn:["溣"],mǎ:["溤","犸","獁","玛","瑪","码","碼","遤","鎷","馬","马","鰢","鷌"],"zhēn qín":["溱"],"nì niào":["溺"],"chù xù":["滀","畜"],"wěng wēng":["滃"],"hào xuè":["滈"],"qì xì xiē":["滊"],"xíng yíng":["滎"],"zé hào":["滜"],"piāo piào piǎo":["漂"],"cóng sǒng":["漎"],"féng péng":["漨"],"luò tà":["漯"],"pēng bēn":["漰"],"chóng shuāng":["漴"],"huǒ kuò huò":["漷"],"liáo liú":["漻"],"cuǐ cuī":["漼"],"cóng zǒng":["潀"],"cóng zōng":["潈"],"pì piē":["潎"],"dàng xiàng":["潒"],"huáng guāng":["潢"],"liáo lào lǎo":["潦"],"cōng zòng":["潨"],"zhí zhì":["潪"],"tān shàn":["潬"],"tú zhā":["潳"],"sàn sǎ":["潵"],hēi:["潶","黑","黒","\uD872\uDF76"],"chéng dèng":["澄","瀓"],"cūn cún":["澊"],"péng pēng":["澎"],"hòng gǒng":["澒","銾"],"wàn màn":["澫"],"kuài huì":["澮"],"guō wō":["濄"],"pēn fén":["濆"],"jí shà":["濈"],"huì huò":["濊"],"dǐng tìng":["濎"],"mǐ nǐ":["濔"],"bì pì":["濞"],"cuì zuǐ":["濢"],"hù huò":["濩"],"ǎi kài kè":["濭"],"wěi duì":["濻","瀢"],"zàn cuán":["濽","灒"],"yǎng yàng":["瀁"],"wǎng wāng":["瀇"],"mò miè":["瀎","眜"],suǐ:["瀡","膸","髓"],"huái wāi":["瀤"],"zùn jiàn":["瀳"],"yīng yǐng yìng":["瀴"],"ráng ràng":["瀼"],shuàng:["灀"],"zhuó jiào zé":["灂"],sǎ:["灑","訯","靸"],"luán luàn":["灓"],"dǎng tǎng":["灙"],"xún quán quàn":["灥"],"huǒ biāo":["灬"],"zhà yù":["灹"],"fén bèn":["炃"],"jiǒng guì":["炅"],"pàng fēng":["炐"],quē:["炔","缺","缼","蒛"],biān:["炞","煸","甂","砭","笾","箯","籩","編","编","蝙","邉","邊","鍽","鞭","鯾","鯿","鳊"],"zhāo zhào":["炤"],"zhuō chù":["炪"],"pào páo bāo":["炮"],"páo fǒu":["炰"],"shǎn qián shān":["炶"],"zhà zhá":["炸"],"jiǎo yào":["烄"],quǎn:["烇","犬","犭","畎","綣","绻","虇"],"yàng yáng":["烊"],"lào luò":["烙"],"huí huǐ":["烠"],rè:["热","熱"],"fú páo":["烰"],"xiè chè":["烲","焎"],"yàn shān":["烻"],"hūn xūn":["焄"],kào:["焅","犒","銬","铐","靠","鮳","鯌","鲓","㸆"],"juān yè":["焆"],"jùn qū":["焌"],"tāo dào":["焘"],"chǎo jù":["焣"],"wò ài":["焥"],"zǒng cōng":["焧"],"xī yì":["焬"],"xìn xīn":["焮"],"chāo zhuō":["焯"],"xiǒng yīng":["焸","焽"],kuǐ:["煃","跬","蹞","頍","\uD86E\uDC06"],"huī yùn xūn":["煇"],"jiǎo qiāo":["煍"],"qián shǎn shān":["煔"],"xī yí":["煕"],"shà shā":["煞"],"yè zhá":["煠"],"yáng yàng":["煬"],"ēn yūn":["煾"],"yūn yǔn":["熅"],"hè xiāo":["熇"],xióng:["熊","熋","雄"],"xūn xùn":["熏","爋"],gòng:["熕","貢","贡"],liū:["熘"],"cōng zǒng":["熜"],"lù āo":["熝"],"shú shóu":["熟"],"fēng péng":["熢"],"cuǐ suī":["熣"],tēng:["熥","膯","鼟"],"yùn yù":["熨"],"áo āo":["熬"],"hàn rǎn":["熯"],"ōu ǒu":["熰"],"huáng huǎng":["熿"],"chǎn dǎn chàn":["燀"],"jiāo zhuó qiáo jué":["燋"],"yàn yān":["燕"],"tài liè":["燤"],āo:["爊"],"yàn xún":["爓"],"jué jiào":["爝","覐","覚","覺","觉"],"lǎn làn":["爦"],"zhuǎ zhǎo":["爪"],"zhǎo zhuǎ":["爫"],"fù fǔ":["父"],diē:["爹","褺","跌"],zāng:["牂","羘","臧","賍","賘","贓","贜","赃","髒"],"piàn piān":["片"],"biān miàn":["牑"],bǎng:["牓","綁","绑"],"yǒu yōng":["牗"],"chēng chèng":["牚","竀"],niú:["牛","牜"],"jiū lè":["牞"],"mù móu":["牟"],māng:["牤"],"gē qiú":["牫"],"yòu chōu":["牰"],"tè zhí":["犆"],bēn:["犇","錛","锛"],"jiān qián":["犍","玪"],má:["犘","痲","蔴","蟇","麻"],"máo lí":["犛"],"bá quǎn":["犮"],"zhuó bào":["犳"],"àn hān":["犴"],"kàng gǎng":["犺"],"pèi fèi":["犻"],"fān huān":["犿"],kuáng:["狂","狅","誑","诳","軖","軠","鵟","\uD86D\uDEED"],"yí quán chí":["狋"],"xīng shēng":["狌"],"tuó yí":["狏"],kǔ:["狜","苦"],"huán huān":["狟"],"hé mò":["狢"],"tà shì":["狧"],"máng dòu":["狵"],"xī shǐ":["狶"],suān:["狻","痠","酸"],"bài pí":["猈"],"jiān yàn":["猏","豣"],"yī yǐ":["猗"],"yá wèi":["猚"],cāi:["猜"],"māo máo":["猫","貓"],"chuàn chuān":["猭"],"tuān tuàn":["猯","貒"],"yà jiá qiè":["猰"],"hè xiē gé hài":["猲"],"biān piàn":["猵","獱"],"bó pò":["猼"],"háo gāo":["獋"],"fén fèn":["獖"],"yào xiāo":["獟"],"shuò xī":["獡"],"gé liè xiē":["獦"],"nòu rú":["獳"],"náo nǎo yōu":["獶"],ráng:["獽","瓤","禳","穣","穰","蘘","躟","鬤"],"náo yōu":["獿"],"lǜ shuài":["率"],"wáng wàng":["王"],"yáng chàng":["玚"],"mín wén":["玟"],"bīn fēn":["玢"],"mén yǔn":["玧"],"qiāng cāng":["玱","瑲","篬"],"án gān":["玵"],"xuán xián":["玹"],"cī cǐ":["玼","跐"],"yí tāi":["珆"],"zǔ jù":["珇"],fà:["珐","琺","蕟","髪","髮"],"yín kèn":["珢"],"huī hún":["珲"],"xuán qióng":["琁"],"fú fū":["琈"],"bǐng pín":["琕"],"cuì sè":["琗"],"yù wéi":["琟"],"tiǎn tiàn":["琠"],"zhuó zuó":["琢"],"běng pěi":["琣"],guǎn:["琯","璭","痯","筦","管","舘","輨","錧","館","馆","鳤"],"hún huī":["琿"],"xié jiē":["瑎"],"chàng dàng yáng":["瑒"],"tiàn zhèn":["瑱"],"bīn pián":["瑸","璸"],"tú shū":["瑹"],cuǐ:["璀","皠","趡"],"zǎo suǒ":["璅"],"jué qióng":["璚"],"lú fū":["璷"],"jì zī":["璾"],suí:["瓍","綏","绥","遀","随","隨","髄"],"mí xǐ":["瓕"],"qióng wěi wèi":["瓗"],"huán yè yà":["瓛"],"bó páo":["瓟"],"zhí hú":["瓡"],piáo:["瓢","闝"],"wǎ wà":["瓦"],"xiáng hóng":["瓨"],wèng:["瓮","甕","罋","蕹","齆"],"shèn shén":["甚"],ruí:["甤","緌","蕤"],yòng:["用","砽","苚","蒏","醟","㶲"],shuǎi:["甩"],béng:["甭","甮"],"yóu zhá":["甴"],"diàn tián shèng":["甸"],"tǐng dīng":["町","甼"],"zāi zī":["甾"],"bì qí":["畁"],"dá fú":["畗"],"cè jì":["畟"],"zāi zī tián":["畠"],"zhì chóu shì":["畤"],"fān pān":["畨","番"],"shē yú":["畬"],"dāng dàng dǎng":["當"],"jiāng qiáng":["疆"],"pǐ yǎ shū":["疋"],"jié qiè":["疌"],"yí nǐ":["疑"],nè:["疒","眲","訥","讷"],"gē yì":["疙"],"nüè yào":["疟","瘧"],"lì lài":["疠","癘"],"yǎ xiā":["疨"],xuē:["疶","蒆","薛","辥","辪","靴","鞾"],"dǎn da":["疸"],"fá biǎn":["疺"],"fèi féi":["疿","痱"],"shān diàn":["痁"],"téng chóng":["痋"],"tōng tóng":["痌"],"wěi yòu yù":["痏"],"tān shǐ":["痑"],"pū pù":["痡","鋪"],"bēng péng":["痭"],"má lìn":["痳"],"tiǎn diàn":["痶"],"ān yè è":["痷"],"kē ē":["痾"],"zhì chì":["瘈"],"jiǎ xiá xiā":["瘕"],"lěi huì":["瘣"],"chài cuó":["瘥"],"diān chēn":["瘨"],"da dá":["瘩"],"biě biē":["瘪"],qué:["瘸"],"dàn dān":["癉"],"guì wēi":["癐"],"nòng nóng":["癑"],"biē biě":["癟"],"bō bǒ":["癷"],bái:["白"],"jí bī":["皀"],"de dì dí dī":["的"],"pā bà":["皅"],"gāo háo":["皋"],"gāo yáo":["皐"],"lì luò bō":["皪"],"zhā cǔ":["皻"],"zhāo zhǎn dǎn":["皽"],"jiān jiàn":["监","監","鋻","间","鞬"],"gài gě hé":["盖"],"máng wàng":["盳"],yuǎn:["盶","逺","遠"],"tián xián":["盷"],"xiāng xiàng":["相"],dǔn:["盹","趸","躉"],"xì pǎn":["盻"],"shěng xǐng":["省"],"yún hùn":["眃"],"miǎn miàn":["眄"],"kàn kān":["看"],"yìng yāng yǎng":["眏"],"yǎo āo ǎo":["眑"],"jū xū kōu":["眗"],"yí chì":["眙"],"dié tì":["眣"],"bǐng fǎng":["眪"],"pàng pán":["眫"],"mī mí":["眯","瞇"],"xuàn shùn xún":["眴"],tiào:["眺","粜","糶","覜","趒"],"zhe zhuó zháo zhāo":["着"],"qiáo shào xiāo":["睄"],"cuó zhuài":["睉"],gùn:["睔","謴"],"suì zuì":["睟"],"pì bì":["睥","稫","辟"],"yì zé gāo":["睪"],"xǐng xìng":["睲"],"guì wèi kuì":["瞆"],"kòu jì":["瞉"],"qióng huán":["瞏"],"mán mén":["瞒","瞞"],"diāo dōu":["瞗"],"lou lóu lǘ":["瞜"],"shùn rún":["瞤"],"liào liǎo":["瞭","钌"],"jiàn xián":["瞯"],"wǔ mí":["瞴"],"guì kuì":["瞶"],"nǐng chēng":["矃"],"huò yuè":["矆"],"mēng méng":["矇"],"kuàng guō":["矌"],"guàn quán":["矔"],"mǎn mán":["矕"],"jīn guān qín":["矜"],"jīn qín guān":["矝"],"yù xù jué":["矞"],"jiǎo jiáo":["矫","矯"],duǎn:["短"],"shí dàn":["石"],"gāng qiāng kòng":["矼"],"huā xū":["砉"],"pīn bīn fēn":["砏"],"yán yàn":["研","硏"],"luǒ kē":["砢"],"fú fèi":["砩","笰"],"zhǔ zhù":["砫"],"lá lì lā":["砬"],"kuāng guāng":["硄"],"gè luò":["硌"],"shuò shí":["硕","碩"],"wèi wéi ái":["硙"],"què kè kù":["硞"],"mǎng bàng":["硥"],"luò lòng":["硦"],"yǒng tóng":["硧"],nüè:["硸","虐"],"kēng kěng":["硻"],"yān yǎn":["硽"],"zhuì chuí duǒ":["硾"],"kōng kòng":["硿"],"zòng cóng":["碂"],"jiān zhàn":["碊"],"lù liù":["碌","陆"],"què xī":["碏"],"lún lǔn lùn":["碖"],"náo gāng":["碙"],"jié yà":["碣"],"wèi wěi":["碨"],"tí dī":["碮"],"chá chā":["碴"],"qiāo què":["碻"],"sù xiè":["碿"],"liú liù":["磂","遛","鎦","馏"],"sī tí":["磃"],"bàng páng":["磅"],"huá kě gū":["磆"],"wěi kuǐ":["磈"],"xiá qià yà":["磍"],"lián qiān":["磏"],"wèi ái gài":["磑"],"lá lā":["磖"],"áo qiāo":["磝"],"pēng pèng":["磞","閛"],"yīn yǐn":["磤"],"lěi léi":["磥"],"mó mò":["磨"],"qì zhú":["磩"],"láo luò":["磱"],"pán bō":["磻"],"jí shé":["磼"],"hé qiāo qiào":["礉"],"kè huò":["礊"],"què hú":["礐"],"è qì":["礘"],cǎ:["礤","礸"],"xián xín":["礥"],"léi lěi lèi":["礧"],"yán yǎn":["礹"],"qí zhǐ":["祇","蚔"],"bēng fāng":["祊"],"bì mì":["祕"],suàn:["祘","笇","筭","算","蒜"],"piào piāo":["票"],"jì zhài":["祭"],"shuì lèi":["祱"],"jìn jīn":["禁"],"chán shàn":["禅"],"yáng shāng":["禓"],"zhī zhǐ tí":["禔"],"shàn chán":["禪"],"yú yù ǒu":["禺"],"zǐ zì":["秄"],"chá ná":["秅"],"zhǒng zhòng chóng":["种"],"hào mào":["秏"],"kù kū":["秙"],zū:["租","葅"],chèng:["秤","穪"],"huó kuò":["秮","秳"],"chēng chèn chèng":["称","稱"],"shì zhì":["秲","銴"],"fù pū":["秿"],"xùn zè":["稄"],"tú shǔ":["稌"],"zhùn zhǔn":["稕"],"jī qí":["稘","綨","觭"],"léng líng":["稜"],"zuì zú sū":["稡"],"xì qiè":["稧","郄"],"zhǒng zhòng":["種"],"zōng zǒng":["稯"],"xián jiān liàn":["稴"],"zī jiū":["稵"],"jī qǐ":["稽"],ròng:["穃"],"shān cǎn cēn":["穇"],"mén méi":["穈"],"jǐ jì":["穖"],"xiāo rào":["穘"],"zhuō bó":["穛"],"tóng zhǒng zhòng":["穜"],zuō:["穝"],"biāo pāo":["穮","藨"],"zhuō jué":["穱"],"cuán zàn":["穳"],"kōng kòng kǒng":["空"],"yū yǔ":["穻"],zhǎi:["窄","鉙"],báo:["窇","雹"],"kū zhú":["窋"],"jiào liáo liù":["窌"],"wā guī":["窐"],"tiǎo yáo":["窕"],"xūn yìn":["窨"],"yà yē":["窫"],"tián diān yǎn":["窴"],"chāo kē":["窼"],"kuǎn cuàn":["窽","窾"],"chù qì":["竐"],"qǔ kǒu":["竘"],"jìng zhěn":["竧"],"kǎn kàn":["竷"],"zhú dǔ":["竺"],"lè jīn":["竻"],"zhuì ruì":["笍"],"háng hàng":["笐"],"cén jìn hán":["笒"],"dā xiá nà":["笚"],"zé zuó":["笮"],"lóng lǒng":["笼","篭","籠","躘","龓"],"zhù zhú":["筑","築"],"dá dā":["答","荅"],shāi:["筛","篩","簁","籭"],"yún jūn":["筠"],"láng làng":["筤","郎","阆"],"zhì zhǐ":["筫"],o:["筽"],"póu bù fú pú":["箁"],"pái bēi":["箄"],gè:["箇","虼","鉻","铬"],"tái chí":["箈"],"guǎi dài":["箉"],"zhào dào":["箌"],"jīng qìng":["箐"],"lín lǐn":["箖"],"jùn qūn":["箘"],"shī yí":["箷","釶"],"yuē yào chuò":["箹"],"xiāo shuò qiào":["箾"],"gōng gǎn lǒng":["篢"],"páng péng":["篣"],"zhuó huò":["篧"],"jiǎn jiān":["篯"],"dí zhú":["篴"],"zān cēn cǎn":["篸"],"zhuàn suǎn zuàn":["篹"],"piǎo biāo":["篻"],"guó guì":["簂"],"cè jí":["簎"],"mì miè":["簚"],"shāi sī":["簛"],"sǔn zhuàn":["簨"],"gàn gǎn":["簳"],"bò bǒ":["簸"],"bó bù":["簿"],shi:["籂"],"zhēn jiān":["籈"],"zhuàn zuǎn":["籑"],"fān pān biān":["籓"],"sǒu shǔ":["籔"],zuǎn:["籫","繤","纂","纉","纘","缵"],nǚ:["籹","釹","钕"],"shā chǎo":["粆"],"kāng jīng":["粇"],fěn:["粉","黺"],cū:["粗","觕","麁","麄","麤"],"nián zhān":["粘"],"cè sè":["粣"],"zhōu yù":["粥"],"shēn sǎn":["糁"],"biān biǎn":["糄","萹"],miàn:["糆","面","靣","麪","麫","麵","麺"],"hú hū hù":["糊"],"gǔ gòu":["糓"],"mí méi":["糜"],"sǎn shēn":["糝","糣"],zāo:["糟","蹧","遭","醩"],"mì sī":["糸"],"jiū jiǔ":["糺"],"xì jì":["系","繫"],"zhēng zhěng":["糽"],"chà chǎ":["紁","衩"],"yuē yāo":["約","约"],"hóng gōng":["紅","红"],"hé gē":["紇","纥"],"wén wèn":["紋","纹"],fóu:["紑"],"jì jié jiè":["紒"],"pī pí bǐ":["紕","纰"],"jīn jìn":["紟"],"zhā zā":["紥","紮"],hā:["紦"],"fū fù":["紨"],"chōu chóu":["紬"],"lèi léi lěi":["累"],"bō bì":["紴"],"tiǎn zhěn":["紾"],"jiōng jiǒng":["絅"],"jié jiē":["結","结","节"],"guà kuā":["絓"],"bǎi mò":["絔"],"gēng huán":["絙"],"jié xié":["絜"],"quán shuān":["絟"],"gǎi ǎi":["絠"],"luò lào":["絡","络"],"bīng bēng pēng":["絣"],"gěi jǐ":["給","给"],"tóng tōng dòng":["絧"],"tiào diào dào":["絩"],"lěi lèi léi":["絫"],"gāi hài":["絯"],"chī zhǐ":["絺"],"wèn miǎn mán wàn":["絻"],"huán huàn wàn":["綄"],"qīn xiān":["綅"],"tì tí":["綈"],"yán xiàn":["綖"],"zōng zèng zòng":["綜"],"chēn lín":["綝"],"zhǔn zhùn":["綧"],"qiàn qīng zhēng":["綪"],"qìng qǐ":["綮"],"lún guān":["綸","纶"],"chuò chāo":["綽","绰"],"tián tǎn chān":["緂"],"lǜ lù":["緑","绿"],"ruǎn ruàn":["緛"],"jí qī":["緝"],"zhòng chóng":["緟","重"],"miáo máo":["緢"],"xiè yè":["緤"],huǎn:["緩","缓","㬊"],"gēng gèng":["緪","縆"],"tōu xū shū":["緰"],"zōng zòng":["緵","繌"],"yùn gǔn":["緷"],"guā wō":["緺"],"yùn yūn wēn":["緼","縕"],"bāng bàng":["縍"],"gǔ hú":["縎","鶻"],"cī cuò suǒ":["縒"],"cuī shuāi":["縗"],"róng rǒng ròng":["縙"],"zài zēng":["縡"],cài:["縩","菜","蔡"],"féng fèng":["縫"],"suō sù":["縮","缩"],"yǎn yǐn":["縯","酓"],"zòng zǒng":["縱","纵"],"zhuàn juàn":["縳"],"mò mù":["縸","莫"],"piǎo piāo":["縹","缥"],"fán pó":["繁"],"bēng bèng":["繃"],"móu miù miào liǎo":["繆"],"yáo yóu zhòu":["繇"],"zēng zèng":["繒","缯"],"jú jué":["繘"],"chuō chuò":["繛"],"zūn zǔn":["繜"],rào:["繞","绕","遶"],"chǎn chán":["繟"],"huì huí":["繢","缋","藱"],"qiāo sāo zǎo":["繰"],"jiǎo zhuó":["繳","缴"],"dàn tán chán":["繵"],nǒng:["繷"],"pú fú":["纀"],"yào lì":["纅"],"rǎng xiāng":["纕"],"lí sǎ xǐ lǐ":["纚"],"xiān qiàn":["纤"],"jīng jìng":["经"],"tí tì":["绨"],"bēng běng bèng":["绷"],"zōng zèng":["综"],"jī qī":["缉"],"wēn yùn yūn":["缊"],"fèng féng":["缝"],"shuāi cuī suī":["缞"],"miù móu liáo miào mù":["缪"],"qiāo sāo":["缲"],fǒu:["缶","缹","缻","雬","鴀"],"bà ba pí":["罢","罷"],"guà guǎi":["罫"],"yáng xiáng":["羊","羏"],"měi gāo":["羙"],"yì xī":["羛"],"qiǎng qiān":["羟"],"qiāng kòng":["羫"],"qián xián yán":["羬"],nóu:["羺"],"hóng gòng":["羾"],"pī bì pō":["翍"],"qú yù":["翑"],ké:["翗"],"qiào qiáo":["翘"],"zhái dí":["翟"],"dào zhōu":["翢"],"hóu qú":["翵"],shuǎ:["耍"],"ruǎn nuò":["耎"],"ér nài":["耏"],"zhuān duān":["耑"],"pá bà":["耙"],"chí sì":["耛"],"qù chú":["耝"],"lún lǔn":["耣"],"jí jiè":["耤"],"tāng tǎng":["耥"],pǎng:["耪","覫"],"zhá zé":["耫"],"yē yé":["耶"],"yún yíng":["耺"],"wà tuǐ zhuó":["聉"],"ér nǜ":["聏"],"tiē zhé":["聑"],"dǐ zhì":["聜"],qié:["聺"],"nǐ jiàn":["聻"],"lèi lē":["肋"],cào:["肏","襙","鄵","鼜"],"bó dí":["肑"],"xiào xiāo":["肖"],"dù dǔ":["肚"],chāi:["肞","釵","钗"],"hán qín hàn":["肣"],"pàng pán pàn":["肨","胖"],"zhūn chún":["肫"],āng:["肮","骯"],"yù yō":["育"],"pí bǐ bì":["肶"],"fèi bì":["胇"],"bèi bēi":["背"],"fèi zǐ":["胏"],"píng pēng":["胓","苹"],"fū fú zhǒu":["胕"],"shèng shēng":["胜"],kuà:["胯","跨","骻"],"gǎi hǎi":["胲"],"gē gé gā":["胳"],"néng nài":["能"],"guī kuì":["胿"],"mài mò":["脉"],"zāng zàng":["脏"],"jiǎo jué":["脚","角"],cuǒ:["脞"],"de te":["脦"],"zuī juān":["脧"],něi:["脮","腇","餒","馁","鮾","鯘"],"pú fǔ":["脯"],niào:["脲"],shuí:["脽"],guò:["腂","過","鐹"],"là xī":["腊"],"yān ā":["腌"],"gāo gào":["膏"],"lù biāo":["膔"],chuái:["膗"],"zhuān chuán chún zhuǎn":["膞"],chuài:["膪","踹"],"fán pán":["膰"],"wǔ hū":["膴"],"shān dàn":["膻"],tún:["臀","臋","蛌","豘","豚","軘","霕","飩","饨","魨","鲀","黗"],"bì bei":["臂"],"là gé":["臈"],"sào sāo":["臊"],nào:["臑","閙","闹","鬧"],"ní luán":["臡"],"qiān xián":["臤"],"guàng jiǒng":["臦"],"guǎng jiǒng":["臩"],"chòu xiù":["臭"],"mián biān":["臱"],"dié zhí":["臷"],"zhī jìn":["臸"],"shè shě":["舍"],pù:["舖","舗"],"bān bō pán":["般"],kuā:["舿"],"gèn gěn":["艮"],"sè shǎi":["色"],"fú bó":["艴"],"jiāo qiú":["艽"],"chāi chā":["芆"],"sháo què":["芍"],"hù xià":["芐"],"zì zǐ":["芓"],"huì hū":["芔"],"tún chūn":["芚"],"jiè gài":["芥"],"xù zhù":["芧"],"yuán yán":["芫"],"xīn xìn":["芯"],"lún huā":["芲"],"wù hū":["芴"],"gōu gǒu":["芶"],"mào máo":["芼"],"fèi fú":["芾"],"chán yín":["苂"],qiē:["苆"],"sū sù":["苏"],"tiáo sháo":["苕"],"lì jī":["苙"],"kē hē":["苛"],"jù qǔ":["苣"],"ruò rě":["若"],"zhù níng":["苧"],"pā bó":["苩"],xiú:["苬"],"zhǎ zuó":["苲"],"jū chá":["苴"],nié:["苶"],"shēng ruí":["苼"],"qié jiā":["茄"],"zǐ cí":["茈"],"qiàn xī":["茜"],chǎi:["茝"],"fá pèi":["茷"],ráo:["荛","蕘","襓","饒","饶"],"yíng xíng":["荥"],"qián xún":["荨","蕁"],"yìn yīn":["荫"],"hé hè":["荷"],"shā suō":["莎"],"péng fēng":["莑"],"shēn xīn":["莘"],"wǎn guān guǎn":["莞"],"yóu sù":["莤"],"shāo xiāo":["莦","蛸"],"làng liáng":["莨"],"piǎo fú":["莩"],"wèn wǎn miǎn":["莬"],"shì shí":["莳","蒔"],"tù tú":["莵"],"xiān liǎn":["莶","薟"],"wǎn yù":["菀"],"zōu chù":["菆"],"lù lǜ":["菉"],"jūn jùn":["菌"],"niè rěn":["菍"],"zī zì zāi":["菑"],"tú tù":["菟"],"jiē shà":["菨"],"qiáo zhǎo":["菬"],"tái zhī chí":["菭"],"fēi fěi":["菲","蜚"],"qín qīn jīn":["菳"],"zū jù":["菹","蒩"],"lǐn má":["菻"],"tián tiàn":["菾"],tiē:["萜","貼","贴"],"luò là lào luō":["落"],"zhù zhuó zhe":["著"],"shèn rèn":["葚"],"gě gé":["葛"],"jùn suǒ":["葰"],"kuì kuài":["蒉"],"rú ná":["蒘"],"méng mēng měng":["蒙"],"yuán huán":["蒝"],"xú shú":["蒣"],"xí xì":["蒵"],"mì míng":["蓂"],"sōu sǒu":["蓃"],"gài gě hé hài":["蓋"],"yǎo zhuó":["蓔"],"diào tiáo dí":["蓧"],"xū qiū fū":["蓲"],"zí jú":["蓻"],"liǎo lù":["蓼"],xu:["蓿"],"hàn hǎn":["蔊"],"màn wàn mán":["蔓"],"pó bò":["蔢"],"fān fán bō":["蕃"],"hóng hòng":["蕻"],"yù ào":["薁","隩"],"xí xiào":["薂"],"báo bó bò":["薄"],"cí zī":["薋"],"wàn luàn":["薍"],"kǎo hāo":["薧"],"yuǎn wěi":["薳"],"zhòu chóu":["薵"],"wō mái":["薶"],"xiāo hào":["藃"],"yù xù xū":["藇"],"jiè jí":["藉"],"diào zhuó":["藋"],"cáng zàng":["藏"],lǎ:["藞"],"chú zhū":["藸"],"pín píng":["蘋"],"gān hán":["虷"],"hóng jiàng":["虹"],"huī huǐ":["虺"],"xiā há":["虾"],"mǎ mà mā":["蚂"],"fāng bàng":["蚄"],"bàng bèng":["蚌"],"jué quē":["蚗"],"qín qián":["蚙"],"gōng zhōng":["蚣"],"fǔ fù":["蚥"],"dài dé":["蚮"],"gǒu qú xù":["蚼"],"bǒ pí":["蚾"],"shé yí":["蛇"],tiě:["蛈","鉄","銕","鐡","鐵","铁","驖"],"gé luò":["蛒"],"máng bàng":["蛖"],"yì xǔ":["蛡"],"há gé":["蛤"],"qiè ní":["蛪"],"é yǐ":["蛾"],"zhē zhé":["蜇"],"là zhà":["蜡"],suò:["蜶","逤"],"yóu qiú":["蝤"],"xiā hā":["蝦"],"xī qī":["螇"],"bī pí":["螕"],"nài něng":["螚"],"hé xiá":["螛"],"guì huǐ":["螝"],"mǎ mā mà":["螞"],"shì zhē":["螫"],"zhì dié":["螲"],"jiàn chán":["螹"],"ma má mò":["蟆"],"mǎng měng":["蟒"],"biē bié":["蟞"],"bēn fèi":["蟦"],"láo liáo":["蟧"],"yín xún":["蟫"],"lí lǐ":["蠡"],"xuè xiě":["血"],"xíng háng hàng héng":["行"],"shuāi cuī":["衰"],"tuó tuō":["袉"],"lǐng líng":["袊"],"bào páo pào":["袌"],"jù jiē":["袓"],"hè kè":["袔"],"yí yì":["袘","貤"],"nà jué":["袦"],"bèi pī":["被"],"chǐ nuǒ":["袲"],"chǐ qǐ duǒ nuǒ":["袳"],"jiá qiā jié":["袷"],"bó mò":["袹"],"guī guà":["袿"],"liè liě":["裂"],"chéng chěng":["裎"],"jiē gé":["裓"],"dāo chóu":["裯"],"shang cháng":["裳"],"yuān gǔn":["裷"],"yǎn ān":["裺"],"tì xī":["裼"],"fù fú":["褔"],"chǔ zhǔ":["褚"],"tuì tùn":["褪"],lǎi:["襰"],"yào yāo":["要"],"qín tán":["覃"],"jiàn xiàn":["見","见"],piǎn:["覑","諞","谝","貵","\uD844\uDF9A"],"piē miè":["覕"],"yíng yǐng":["覮"],"qù qū":["覰","覷","觑"],"jiàn biǎn":["覵"],"luó luǎn":["覶"],"zī zuǐ":["觜"],"huà xiè":["觟"],"jiě jiè xiè":["解","觧"],"xué hù":["觷"],"lì lù":["觻"],tǎo:["討","讨"],zhùn:["訰"],"zī zǐ":["訾"],"yí dài":["詒","诒"],xiòng:["詗","诇"],"diào tiǎo":["誂"],"yí chǐ chì":["誃"],"lǎng làng":["誏"],"ēi éi ěi èi xī":["誒","诶"],shuà:["誜"],"yǔ yù":["語","语","雨"],"shuō shuì yuè":["說","说"],"shuí shéi":["誰","谁"],"qū juè":["誳"],"chī lài":["誺"],"nì ná":["誽"],"diào tiáo":["調"],"pǐ bēi":["諀"],"jì jī":["諅"],"zé zuò zhǎ cuò":["諎"],"chù jí":["諔"],"háo xià":["諕"],"lùn lún":["論","论"],"shì dì":["諟"],"huà guā":["諣"],"xǐ shāi āi":["諰"],"nán nàn":["諵","難"],miù:["謬","谬"],zèn:["譖","谮"],"shí zhì":["識","识"],"juàn xuān":["讂"],"yí tuī":["讉"],zhán:["讝"],"xǔ hǔ":["许"],"xiáng yáng":["详"],"tiáo diào zhōu":["调"],"chén shèn":["谌"],"mí mèi":["谜"],"màn mán":["谩"],"gǔ yù":["谷"],"huō huò huá":["豁"],"zhì zhài":["豸"],"huān huán":["貆"],"kěn kūn":["貇"],"mò hé":["貈"],"mò hé háo":["貉"],"jù lóu":["貗"],"zé zhài":["責","责"],"dài tè":["貸"],"bì bēn":["賁"],"jiǎ gǔ jià":["賈"],"xiōng mín":["賯"],càng:["賶"],"zhuàn zuàn":["賺","赚"],"wàn zhuàn":["贃"],"gàn gòng zhuàng":["贛"],"yuán yùn":["贠"],"bēn bì":["贲"],"jiǎ gǔ":["贾"],zǒu:["走","赱","鯐"],"dié tú":["趃"],"jū qiè":["趄"],"qū cù":["趋","趨"],"jí jié":["趌"],"guā huó":["趏"],"què qì jí":["趞"],"tàng tāng":["趟"],"chuō zhuó":["趠"],"qù cù":["趣"],"yuè tì":["趯"],"bō bào":["趵"],"kuà wù":["趶"],"guì jué":["趹"],"fāng fàng páng":["趽"],"páo bà":["跁"],"qí qǐ":["跂"],"jiàn chén":["跈"],"pǎo páo":["跑"],"diǎn diē tiē":["跕"],"jū jù qiè":["跙"],bǒ:["跛"],"luò lì":["跞"],"dài duò duō chí":["跢"],zhuǎi:["跩"],"bèng pián":["跰"],"tiào táo":["跳"],"shū chōu":["跾"],"liàng liáng":["踉"],"tà tā":["踏"],chǎ:["蹅","鑔","镲"],"dí zhí":["蹢"],"dēng dèng":["蹬","鐙","镫"],cèng:["蹭"],"dūn cún":["蹲"],"juě jué":["蹶"],liāo:["蹽"],"xiè sǎ":["躠"],tǐ:["躰","軆","骵"],"yà zhá gá":["轧","軋"],"xìn xiàn":["軐"],"fàn guǐ":["軓"],"zhuàn zhuǎn":["転"],"zhóu zhòu":["軸","轴"],bú:["轐","醭","鳪"],"zhuǎn zhuàn zhuǎi":["转"],"zǎi zài":["载"],"niǎn zhǎn":["辗"],"biān bian":["边"],"dào biān":["辺"],"yǐ yí":["迆","迤","迱"],"guò guo guō":["过"],"wàng kuāng":["迋"],"hái huán":["还"],"zhè zhèi":["这"],"yuǎn yuàn":["远"],"zhì lì":["迣"],"zhù wǎng":["迬"],"zhuī duī":["追"],"shì kuò":["适"],tòu:["透"],"tōng tòng":["通"],guàng:["逛"],"dǎi dài":["逮"],"suì suí":["遂"],"tí dì":["遆"],"yí wèi":["遗"],"shì dí zhé":["適"],cà:["遪"],"huán hái":["還"],"lí chí":["邌"],"kàng háng":["邟"],"nà nèi nā":["那"],"xié yá yé yú xú":["邪"],"gāi hái":["郂"],"huán xún":["郇"],"chī xī":["郗"],hǎo:["郝"],"lì zhí":["郦"],"xiáo ǎo":["郩"],"dōu dū":["都"],liǎo:["曢","鄝","镽"],"zàn cuán cuó":["酂","酇"],"dīng dǐng":["酊"],"cù zuò":["酢"],"fā pō":["酦"],"shāi shī":["酾"],niàng:["酿","醸"],"qiú chōu":["醔"],"pō fā":["醗","醱"],"chǎn chěn":["醦"],"yàn liǎn xiān":["醶"],"niàng niáng":["釀"],"lǐ li":["里"],"lí xǐ xī":["釐"],"liǎo liào":["釕"],"dīng dìng":["釘","钉"],"qiǎo jiǎo":["釥"],"yú huá":["釪"],"huá wū":["釫"],"rì rèn jiàn":["釰","釼"],"dì dài":["釱"],"pī zhāo":["釽"],"yá yé":["釾"],"bǎ pá":["鈀","钯"],"tā tuó":["鉈","铊"],běi:["鉳"],"bǐng píng":["鉼"],"hā kē":["鉿","铪"],chòng:["銃","铳"],"xiǎng jiōng":["銄"],"yù sì":["銉"],"xù huì":["銊"],"rén rěn":["銋"],"shàn shuò":["銏"],"chì lì":["銐"],"xiǎn xǐ":["銑","铣"],"hóu xiàng":["銗"],"diào tiáo yáo":["銚"],"xiān kuò tiǎn guā":["銛","銽","铦"],"zhé niè":["銸"],"zhōng yōng":["銿"],"tōu tù dòu":["鋀"],"méi méng":["鋂"],"wàn jiǎn":["鋄","鎫"],"tǐng dìng":["鋌","铤"],"juān jiān cuān":["鋑"],"sī tuó":["鋖"],"juān xuān juàn":["鋗"],"wú huá wū":["鋘"],"zhuó chuò":["鋜"],"xíng xìng jīng":["鋞"],"jū jú":["鋦","锔"],"zuì niè":["鋷"],"yuān yuǎn wǎn wān":["鋺"],"gāng gàng":["鋼","钢"],zhuī:["錐","锥","騅","骓","鵻"],ā:["錒","锕"],"cuō chā":["鎈"],"suǒ sè":["鎍"],"yáo zú":["鎐"],"yè tà gé":["鎑"],"qiāng chēng":["鎗"],"gé lì":["鎘","镉","鬲"],"bī pī bì":["鎞"],"gǎo hào":["鎬"],"zú chuò":["鏃"],"xiū xiù":["鏅"],"shòu sōu":["鏉"],"dí dī":["鏑","镝"],"qiāo sǎn càn":["鏒"],"lù áo":["鏕"],"tāng táng":["鏜"],"jiàn zàn":["鏩"],"huì suì ruì":["鏸"],"qiǎng qiāng":["鏹","镪"],"sǎn xiàn sà":["鏾"],"jiǎn jiàn":["鐧","锏"],"dāng chēng":["鐺","铛"],"zuān zuàn":["鑽"],"sà xì":["钑"],"yào yuè":["钥"],"tǒu dǒu":["钭"],"zuàn zuān":["钻"],"qiān yán":["铅"],"pí pī":["铍"],"yáo diào tiáo":["铫"],"tāng tàng":["铴"],"pù pū":["铺"],"tán xiān":["锬"],"liù liú":["镏"],"hào gǎo":["镐"],"táng tāng":["镗"],"tán chán xín":["镡"],"huò shǎn":["閄"],"hàn bì":["閈","闬"],"kāng kàng":["閌","闶"],"xián jiàn jiān jiǎn":["閒"],"xiā xiǎ":["閕"],"xiǎ kě":["閜"],"biàn guān":["閞"],"hé gé":["閤","颌"],"hòng xiàng":["閧"],"sē xī":["閪"],"tíng tǐng":["閮"],"è yān":["閼","阏"],"hòng juǎn xiàng":["闂"],"bǎn pàn":["闆"],"dū shé":["闍","阇"],"què quē":["闕"],"tāng táng chāng":["闛"],"kàn hǎn":["闞","阚"],"xì sè tà":["闟"],"mēn mèn":["闷"],"quē què":["阙"],"yán diàn":["阽"],"ā ē":["阿"],"bēi pō pí":["陂"],"yàn yǎn":["隁"],"yú yáo shù":["隃"],"lóng lōng":["隆"],"duì zhuì":["隊"],"suí duò":["隋"],"gāi qí ái":["隑"],"huī duò":["隓","隳"],"wěi kuí":["隗"],"lì dài":["隸"],"zhuī cuī wéi":["隹"],"hè hú":["隺","鶮"],"jùn juàn":["隽","雋"],"nán nàn nuó":["难"],"què qiāo qiǎo":["雀"],"guàn huán":["雚"],"guī xī":["雟"],"sè xí":["雭"],án:["雸"],"wù méng":["雺"],tèng:["霯"],"lù lòu":["露"],mái:["霾"],"jìng liàng":["靚"],"gé jí":["革"],bǎ:["靶"],"yāng yàng":["鞅"],"gé tà sǎ":["鞈"],"biān yìng":["鞕"],"qiào shāo":["鞘"],"juān xuān":["鞙"],"shàng zhǎng":["鞝"],"pí bǐng bì bēi":["鞞"],la:["鞡"],"xiè dié":["鞢"],ēng:["鞥"],"móu mù":["鞪"],"bì bǐng":["鞸"],"mèi wà":["韎"],rǒu:["韖"],"shè xiè":["韘"],"yùn wēn":["韫"],"dùn dú":["頓","顿"],duǐ:["頧"],luō:["頱"],"bīn pín":["頻"],yóng:["顒","颙","鰫"],mān:["顢","颟"],"jǐng gěng":["颈"],"jié xié jiá":["颉"],"kē ké":["颏"],"pín bīn":["频"],"chàn zhàn":["颤"],"fēng fěng":["風","风"],"biāo diū":["颩"],"bá fú":["颰"],"sāo sōu":["颾"],"liù liáo":["飂"],"shí sì yì":["食"],"yǎng juàn":["飬"],"zhù tǒu":["飳"],"yí sì":["飴"],"zuò zé zhā":["飵"],tiè:["飻","餮"],"xiǎng náng":["饟"],"táng xíng":["饧"],"gē le":["饹"],"chā zha":["馇"],"náng nǎng":["馕"],"yūn wò":["馧"],"zhī shì":["馶"],"xìn jìn":["馸"],"kuài jué":["駃"],zǎng:["駔","驵"],"tái dài":["駘"],"xún xuān":["駨"],"liáng láng":["駺"],piàn:["騗","騙","骗","魸"],"dài tái":["骀"],"sāo sǎo":["骚"],"gǔ gū":["骨"],"bèi mó":["骳"],"xiāo qiāo":["骹"],"bǎng pǎng":["髈"],"bó jué":["髉"],"bì pǒ":["髲"],"máo méng":["髳"],"kuò yuè":["髺"],"bā bà":["魞","鲃"],"jì cǐ":["鮆"],"bó bà":["鮊"],"zhǎ zhà":["鮓","鲊"],"chóu dài":["鮘"],"luò gé":["鮥"],"guī xié wā kuí":["鮭"],"xiān xiǎn":["鮮","鲜"],"pū bū":["鯆"],"yì sī":["鯣"],"bà bó":["鲌"],"guī xié":["鲑"],"sāi xǐ":["鳃"],"niǎo diǎo":["鳥"],"diāo zhāo":["鳭"],"gān hàn yàn":["鳱"],"fū guī":["鳺"],"jiān qiān zhān":["鳽"],"hé jiè":["鶡"],"piān biǎn":["鶣"],"chuàn zhì":["鶨"],"cāng qiāng":["鶬"],"sǔn xùn":["鶽"],"biāo páo":["麃"],"zhù cū":["麆"],"jūn qún":["麇","麕"],chi:["麶"],"mó me":["麼"],"mó me ma":["麽"],"mí mǒ":["麿"],"dàn shèn":["黮"],"zhěn yān":["黰"],"dǎn zhǎn":["黵"],"miǎn mǐn měng":["黾"],hōu:["齁"],nàng:["齉"],"qí jì zī zhāi":["齐"],"yín kěn yǎn":["龂"],"yín kěn":["龈"],"gōng wò":["龏"],"guī jūn qiū":["龜","龟"],"kuí wā":["䖯"],lōu:["䁖"],"ōu qū":["\uD86E\uDF5F"],"lóu lǘ":["\uD859\uDF7C"],"gǎ gā gá":["嘎"],"wā guà":["坬"],"zhǐ dǐ":["茋"],"gǒng hóng":["硔"],"yáo xiào":["滧"]},j5=new yK;Object.keys(f_0).forEach(($)=>{let Y=f_0[$];for(let U of Y)j5.set(U,$)})});var vl,r54;var u_0=m(()=>{v9();vl=new yK,r54=new yK});var AT,b_0;var hl=m(()=>{a$();v9();AT={南宫:"nán gōng",第五:"dì wǔ",万俟:"mò qí",司马:"sī mǎ",上官:"shàng guān",欧阳:"ōu yáng",夏侯:"xià hóu",诸葛:"zhū gě",闻人:"wén rén",东方:"dōng fāng",赫连:"hè lián",皇甫:"huáng fǔ",尉迟:"yù chí",公羊:"gōng yáng",澹台:"tán tái",公冶:"gōng yě",宗政:"zōng zhèng",濮阳:"pú yáng",淳于:"chún yú",太叔:"tài shū",申屠:"shēn tú",公孙:"gōng sūn",仲孙:"zhòng sūn",轩辕:"xuān yuán",令狐:"líng hú",钟离:"zhōng lí",宇文:"yǔ wén",长孙:"zhǎng sūn",慕容:"mù róng",鲜于:"xiān yú",闾丘:"lǘ qiū",司徒:"sī tú",司空:"sī kōng",亓官:"qí guān",司寇:"sī kòu",仉督:"zhǎng dū",子车:"zǐ jū",颛孙:"zhuān sūn",端木:"duān mù",巫马:"wū mǎ",公西:"gōng xī",漆雕:"qī diāo",乐正:"yuè zhèng",壤驷:"rǎng sì",公良:"gōng liáng",拓跋:"tuò bá",夹谷:"jiá gǔ",宰父:"zǎi fǔ",榖梁:"gǔ liáng",段干:"duàn gān",百里:"bǎi lǐ",东郭:"dōng guō",南门:"nán mén",呼延:"hū yán",羊舌:"yáng shé",梁丘:"liáng qiū",左丘:"zuǒ qiū",东门:"dōng mén",西门:"xī mén",句龙:"gōu lóng",毌丘:"guàn qiū",赵:"zhào",钱:"qián",孙:"sūn",李:"lǐ",周:"zhōu",吴:"wú",郑:"zhèng",王:"wáng",冯:"féng",陈:"chén",褚:"chǔ",卫:"wèi",蒋:"jiǎng",沈:"shěn",韩:"hán",杨:"yáng",朱:"zhū",秦:"qín",尤:"yóu",许:"xǔ",何:"hé",吕:"lǚ",施:"shī",张:"zhāng",孔:"kǒng",曹:"cáo",严:"yán",华:"huà",金:"jīn",魏:"wèi",陶:"táo",姜:"jiāng",戚:"qī",谢:"xiè",邹:"zōu",喻:"yù",柏:"bǎi",水:"shuǐ",窦:"dòu",章:"zhāng",云:"yún",苏:"sū",潘:"pān",葛:"gě",奚:"xī",范:"fàn",彭:"péng",郎:"láng",鲁:"lǔ",韦:"wéi",昌:"chāng",马:"mǎ",苗:"miáo",凤:"fèng",花:"huā",方:"fāng",俞:"yú",任:"rén",袁:"yuán",柳:"liǔ",酆:"fēng",鲍:"bào",史:"shǐ",唐:"táng",费:"fèi",廉:"lián",岑:"cén",薛:"xuē",雷:"léi",贺:"hè",倪:"ní",汤:"tāng",滕:"téng",殷:"yīn",罗:"luó",毕:"bì",郝:"hǎo",邬:"wū",安:"ān",常:"cháng",乐:"yuè",于:"yú",时:"shí",傅:"fù",皮:"pí",卞:"biàn",齐:"qí",康:"kāng",伍:"wǔ",余:"yú",元:"yuán",卜:"bǔ",顾:"gù",孟:"mèng",平:"píng",黄:"huáng",和:"hé",穆:"mù",萧:"xiāo",尹:"yǐn",姚:"yáo",邵:"shào",湛:"zhàn",汪:"wāng",祁:"qí",毛:"máo",禹:"yǔ",狄:"dí",米:"mǐ",贝:"bèi",明:"míng",臧:"zāng",计:"jì",伏:"fú",成:"chéng",戴:"dài",谈:"tán",宋:"sòng",茅:"máo",庞:"páng",熊:"xióng",纪:"jǐ",舒:"shū",屈:"qū",项:"xiàng",祝:"zhù",董:"dǒng",梁:"liáng",杜:"dù",阮:"ruǎn",蓝:"lán",闵:"mǐn",席:"xí",季:"jì",麻:"má",强:"qiáng",贾:"jiǎ",路:"lù",娄:"lóu",危:"wēi",江:"jiāng",童:"tóng",颜:"yán",郭:"guō",梅:"méi",盛:"shèng",林:"lín",刁:"diāo",钟:"zhōng",徐:"xú",邱:"qiū",骆:"luò",高:"gāo",夏:"xià",蔡:"cài",田:"tián",樊:"fán",胡:"hú",凌:"líng",霍:"huò",虞:"yú",万:"wàn",支:"zhī",柯:"kē",昝:"zǎn",管:"guǎn",卢:"lú",莫:"mò",经:"jīng",房:"fáng",裘:"qiú",缪:"miào",干:"gān",解:"xiè",应:"yīng",宗:"zōng",丁:"dīng",宣:"xuān",贲:"bēn",邓:"dèng",郁:"yù",单:"shàn",杭:"háng",洪:"hóng",包:"bāo",诸:"zhū",左:"zuǒ",石:"shí",崔:"cuī",吉:"jí",钮:"niǔ",龚:"gōng",程:"chéng",嵇:"jī",邢:"xíng",滑:"huá",裴:"péi",陆:"lù",荣:"róng",翁:"wēng",荀:"xún",羊:"yáng",於:"yū",惠:"huì",甄:"zhēn",曲:"qū",家:"jiā",封:"fēng",芮:"ruì",羿:"yì",储:"chǔ",靳:"jìn",汲:"jí",邴:"bǐng",糜:"mí",松:"sōng",井:"jǐng",段:"duàn",富:"fù",巫:"wū",乌:"wū",焦:"jiāo",巴:"bā",弓:"gōng",牧:"mù",隗:"wěi",山:"shān",谷:"gǔ",车:"chē",侯:"hóu",宓:"mì",蓬:"péng",全:"quán",郗:"xī",班:"bān",仰:"yǎng",秋:"qiū",仲:"zhòng",伊:"yī",宫:"gōng",宁:"nìng",仇:"qiú",栾:"luán",暴:"bào",甘:"gān",钭:"tǒu",厉:"lì",戎:"róng",祖:"zǔ",武:"wǔ",符:"fú",刘:"liú",景:"jǐng",詹:"zhān",束:"shù",龙:"lóng",叶:"yè",幸:"xìng",司:"sī",韶:"sháo",郜:"gào",黎:"lí",蓟:"jì",薄:"bó",印:"yìn",宿:"sù",白:"bái",怀:"huái",蒲:"pú",邰:"tái",从:"cóng",鄂:"è",索:"suǒ",咸:"xián",籍:"jí",赖:"lài",卓:"zhuó",蔺:"lìn",屠:"tú",蒙:"méng",池:"chí",乔:"qiáo",阴:"yīn",鬱:"yù",胥:"xū",能:"nài",苍:"cāng",双:"shuāng",闻:"wén",莘:"shēn",党:"dǎng",翟:"zhái",谭:"tán",贡:"gòng",劳:"láo",逄:"páng",姬:"jī",申:"shēn",扶:"fú",堵:"dǔ",冉:"rǎn",宰:"zǎi",郦:"lì",雍:"yōng",郤:"xì",璩:"qú",桑:"sāng",桂:"guì",濮:"pú",牛:"niú",寿:"shòu",通:"tōng",边:"biān",扈:"hù",燕:"yān",冀:"jì",郏:"jiá",浦:"pǔ",尚:"shàng",农:"nóng",温:"wēn",别:"bié",庄:"zhuāng",晏:"yàn",柴:"chái",瞿:"qú",阎:"yán",充:"chōng",慕:"mù",连:"lián",茹:"rú",习:"xí",宦:"huàn",艾:"ài",鱼:"yú",容:"róng",向:"xiàng",古:"gǔ",易:"yì",慎:"shèn",戈:"gē",廖:"liào",庾:"yǔ",终:"zhōng",暨:"jì",居:"jū",衡:"héng",步:"bù",都:"dū",耿:"gěng",满:"mǎn",弘:"hóng",匡:"kuāng",国:"guó",文:"wén",寇:"kòu",广:"guǎng",禄:"lù",阙:"quē",东:"dōng",欧:"ōu",殳:"shū",沃:"wò",利:"lì",蔚:"wèi",越:"yuè",夔:"kuí",隆:"lóng",师:"shī",巩:"gǒng",厍:"shè",聂:"niè",晁:"cháo",勾:"gōu",敖:"áo",融:"róng",冷:"lěng",訾:"zī",辛:"xīn",阚:"kàn",那:"nā",简:"jiǎn",饶:"ráo",空:"kōng",曾:"zēng",母:"mǔ",沙:"shā",乜:"niè",养:"yǎng",鞠:"jū",须:"xū",丰:"fēng",巢:"cháo",关:"guān",蒯:"kuǎi",相:"xiàng",查:"zhā",后:"hòu",荆:"jīng",红:"hóng",游:"yóu",竺:"zhú",权:"quán",逯:"lù",盖:"gě",益:"yì",桓:"huán",公:"gōng",牟:"móu",哈:"hǎ",言:"yán",福:"fú",肖:"xiāo",区:"ōu",覃:"qín",朴:"piáo",繁:"pó",员:"yùn",句:"gōu",要:"yāo",过:"guō",钻:"zuān",谌:"chén",折:"shé",召:"shào",郄:"qiè",撒:"sǎ",甯:"nìng",六:"lù",啜:"chuài",行:"xíng"},b_0=Object.keys(AT).map(($)=>({zh:$,pinyin:AT[$],probability:1+r2($),length:r2($),priority:r4.Surname,dict:Symbol("surname")}))});var kK=($,Y="off")=>{let U=j5.get($)?j5.get($).split(" "):[];if(vl.get($))U=vl.get($).split(" ");else if(Y!=="off"){let z=AT[$];if(z)U=[z].concat(U.filter((Q)=>Q!==z))}return U};var BT=m(()=>{DT();u_0();hl()});var i_0,c_0;var n_0=m(()=>{a$();i_0={这个:"zhè ge",成为:"chéng wéi",认为:"rèn wéi",作为:"zuò wéi",部分:"bù fen",要求:"yāo qiú",应该:"yīng gāi",增长:"zēng zhǎng",提供:"tí gōng",觉得:"jué de",任务:"rèn wu",那个:"nà ge",称为:"chēng wéi",为主:"wéi zhǔ",了解:"liǎo jiě",处理:"chǔ lǐ",皇上:"huáng shang",只要:"zhǐ yào",大量:"dà liàng",力量:"lì liàng",几乎:"jī hū",干部:"gàn bù",目的:"mù dì",行为:"xíng wéi",只见:"zhǐ jiàn",认识:"rèn shi",市长:"shì zhǎng",师父:"shī fu",调查:"diào chá",重新:"chóng xīn",分为:"fēn wéi",知识:"zhī shi",导弹:"dǎo dàn",质量:"zhì liàng",行款:"háng kuǎn",行列:"háng liè",行话:"háng huà",行业:"háng yè",隔行:"gé háng",在行:"zài háng",行家:"háng jia",内行:"nèi háng",外行:"wài háng",同行:"tóng háng",本行:"běn háng",行伍:"háng wǔ",洋行:"yáng háng",银行:"yín háng",商行:"shāng háng",支行:"zhī háng",总行:"zǒng háng",行情:"háng qíng",懂行:"dǒng háng",行规:"háng guī",行当:"háng dang",行货:"háng huò",太行:"tài háng",入行:"rù háng",中行:"zhōng háng",农行:"nóng háng",工行:"gōng háng",建行:"jiàn háng",各行:"gè háng",行号:"háng hào",行高:"háng gāo",行首:"háng shǒu",行尾:"háng wěi",行末:"háng mò",行长:"háng zhǎng",行距:"háng jù",换行:"huàn háng",行会:"háng huì",行辈:"háng bèi",行道:"háng dào",道行:"dào heng",参与:"cān yù",充分:"chōng fèn",尽管:"jǐn guǎn",生长:"shēng zhǎng",数量:"shù liàng",应当:"yīng dāng",院长:"yuàn zhǎng",强调:"qiáng diào",只能:"zhǐ néng",音乐:"yīn yuè",以为:"yǐ wéi",处于:"chǔ yú",部长:"bù zhǎng",蒙古:"měng gǔ",只有:"zhǐ yǒu",适当:"shì dàng",只好:"zhǐ hǎo",成长:"chéng zhǎng",高兴:"gāo xìng",不了:"bù liǎo",产量:"chǎn liàng",胖子:"pàng zi",显得:"xiǎn de",只是:"zhǐ shì",似的:"shì de",率领:"shuài lǐng",改为:"gǎi wéi",不禁:"bù jīn",成分:"chéng fèn",答应:"dā ying",少年:"shào nián",兴趣:"xìng qù",太监:"tài jian",休息:"xiū xi",校长:"xiào zhǎng",更新:"gēng xīn",合同:"hé tong",喝道:"hè dào",重庆:"chóng qìng",重建:"chóng jiàn",使得:"shǐ de",审查:"shěn chá",累计:"lěi jì",给予:"jǐ yǔ",极为:"jí wéi",冠军:"guàn jūn",仿佛:"fǎng fú",头发:"tóu fa",投降:"tóu xiáng",家长:"jiā zhǎng",仔细:"zǐ xì",要是:"yào shi",将领:"jiàng lǐng",含量:"hán liàng",更为:"gèng wéi",积累:"jī lěi",地处:"dì chǔ",县长:"xiàn zhǎng",少女:"shào nǚ",路上:"lù shang",只怕:"zhǐ pà",能量:"néng liàng",储量:"chǔ liàng",供应:"gōng yìng",挑战:"tiǎo zhàn",西藏:"xī zàng",记得:"jì de",总量:"zǒng liàng",当真:"dàng zhēn",将士:"jiàng shì",差别:"chā bié",较为:"jiào wéi",长老:"zhǎng lǎo",大夫:"dài fu",差异:"chā yì",懂得:"dǒng de",尽量:"jǐn liàng",模样:"mú yàng",的确:"dí què",为首:"wéi shǒu",便宜:"pián yi",更名:"gēng míng",石头:"shí tou",州长:"zhōu zhǎng",为止:"wéi zhǐ",漂亮:"piào liang",炮弹:"pào dàn",藏族:"zàng zú",角色:"jué sè",当作:"dàng zuò",尽快:"jǐn kuài",人为:"rén wéi",重复:"chóng fù",胡同:"hú tòng",差距:"chā jù",弟兄:"dì xiong",大将:"dà jiàng",睡觉:"shuì jiào",一觉:"yí jiào",团长:"tuán zhǎng",队长:"duì zhǎng",区长:"qū zhǎng",难得:"nán dé",丫头:"yā tou",会长:"huì zhǎng",弟弟:"dì di",王爷:"wáng ye",重量:"zhòng liàng",誉为:"yù wéi",家伙:"jiā huo",华山:"huà shān",椅子:"yǐ zi",流量:"liú liàng",长大:"zhǎng dà",勉强:"miǎn qiǎng",会计:"kuài jì",过分:"guò fèn",济南:"jǐ nán",调动:"diào dòng",燕京:"yān jīng",少将:"shào jiàng",中毒:"zhòng dú",晓得:"xiǎo de",变更:"biàn gēng",打更:"dǎ gēng",认得:"rèn de",苹果:"píng guǒ",念头:"niàn tou",挣扎:"zhēng zhá",三藏:"sān zàng",剥削:"bō xuē",丞相:"chéng xiàng",少量:"shǎo liàng",寻思:"xún si",夺得:"duó dé",干线:"gàn xiàn",呼吁:"hū yù",处罚:"chǔ fá",长官:"zhǎng guān",柏林:"bó lín",亲戚:"qīn qi",身分:"shēn fèn",胳膊:"gē bo",着手:"zhuó shǒu",炸弹:"zhà dàn",咳嗽:"ké sou",叶子:"yè zi",外长:"wài zhǎng",供给:"gōng jǐ",师长:"shī zhǎng",变量:"biàn liàng",应有:"yīng yǒu",下载:"xià zài",乐器:"yuè qì",间接:"jiàn jiē",底下:"dǐ xià",打扮:"dǎ bàn",子弹:"zǐ dàn",弹药:"dàn yào",热量:"rè liàng",削弱:"xuē ruò",骨干:"gǔ gàn",容量:"róng liàng",模糊:"mó hu",转动:"zhuàn dòng",称呼:"chēng hu",科长:"kē zhǎng",处置:"chǔ zhì",着重:"zhuó zhòng",着急:"zháo jí",强迫:"qiǎng pò",庭长:"tíng zhǎng",首相:"shǒu xiàng",喇嘛:"lǎ ma",镇长:"zhèn zhǎng",只管:"zhǐ guǎn",重重:"chóng chóng",免得:"miǎn de",着实:"zhuó shí",度假:"dù jià",真相:"zhēn xiàng",相貌:"xiàng mào",处分:"chǔ fèn",委屈:"wěi qu",为期:"wéi qī",伯伯:"bó bo",伯子:"bǎi zi",圈子:"quān zi",见识:"jiàn shi",笼罩:"lǒng zhào",与会:"yù huì",都督:"dū du",都市:"dū shì",成都:"chéng dū",首都:"shǒu dū",帝都:"dì dū",王都:"wáng dū",东都:"dōng dū",都护:"dū hù",都城:"dū chéng",建都:"jiàn dū",迁都:"qiān dū",故都:"gù dū",定都:"dìng dū",中都:"zhōng dū",六安:"lù ān",宰相:"zǎi xiàng",较量:"jiào liàng",对称:"duì chèn",总长:"zǒng zhǎng",相公:"xiàng gong",空白:"kòng bái",打量:"dǎ liang",水分:"shuǐ fèn",舌头:"shé tou",没收:"mò shōu",行李:"xíng li",判处:"pàn chǔ",散文:"sǎn wén",处境:"chǔ jìng",孙子:"sūn zi",拳头:"quán tou",打发:"dǎ fā",组长:"zǔ zhǎng",骨头:"gǔ tou",宁可:"nìng kě",更换:"gēng huàn",薄弱:"bó ruò",还原:"huán yuán",重修:"chóng xiū",重来:"chóng lái",只顾:"zhǐ gù",爱好:"ài hào",馒头:"mán tou",军长:"jūn zhǎng",首长:"shǒu zhǎng",厂长:"chǎng zhǎng",司长:"sī zhǎng",长子:"zhǎng zǐ",强劲:"qiáng jìng",恰当:"qià dàng",头儿:"tóu er",站长:"zhàn zhǎng",折腾:"zhē teng",相处:"xiāng chǔ",统率:"tǒng shuài",中将:"zhōng jiàng",命中:"mìng zhòng",名将:"míng jiàng",木头:"mù tou",动弹:"dòng tan",地壳:"dì qiào",干活:"gàn huó",少爷:"shào ye",水量:"shuǐ liàng",补给:"bǔ jǐ",尾巴:"wěi ba",来得:"lái de",好奇:"hào qí",钥匙:"yào shi",当做:"dàng zuò",沉着:"chén zhuó",哑巴:"yǎ ba",车子:"chē zi",上将:"shàng jiàng",恶心:"ě xīn",担子:"dàn zi",应届:"yīng jiè",主角:"zhǔ jué",运转:"yùn zhuǎn",兄长:"xiōng zhǎng",格式:"gé shì",正月:"zhēng yuè",营长:"yíng zhǎng",当成:"dàng chéng",女婿:"nǚ xu",咽喉:"yān hóu",重阳:"chóng yáng",化为:"huà wéi",吐蕃:"tǔ bō",钻进:"zuān jìn",乐队:"yuè duì",亮相:"liàng xiàng",被子:"bèi zi",舍得:"shě de",杉木:"shā mù",击中:"jī zhòng",排长:"pái zhǎng",假期:"jià qī",分量:"fèn liàng",数次:"shù cì",提防:"dī fáng",吆喝:"yāo he",查处:"chá chǔ",量子:"liàng zǐ",里头:"lǐ tou",调研:"diào yán",伺候:"cì hou",重申:"chóng shēn",枕头:"zhěn tou",拚命:"pīn mìng",社长:"shè zhǎng",归还:"guī huán",批量:"pī liàng",畜牧:"xù mù",点着:"diǎn zháo",甚为:"shèn wéi",小将:"xiǎo jiàng",着眼:"zhuó yǎn",处死:"chǔ sǐ",厌恶:"yàn wù",鼓乐:"gǔ yuè",树干:"shù gàn",秘鲁:"bì lǔ",大方:"dà fāng",外头:"wài tou",班长:"bān zhǎng",星宿:"xīng xiù",宁愿:"nìng yuàn",钦差:"qīn chāi",为数:"wéi shù",勾当:"gòu dàng",削减:"xuē jiǎn",间谍:"jiàn dié",埋怨:"mán yuàn",结实:"jiē shi",计量:"jì liáng",淹没:"yān mò",村长:"cūn zhǎng",连长:"lián zhǎng",自给:"zì jǐ",武将:"wǔ jiàng",温差:"wēn chā",直奔:"zhí bèn",供求:"gōng qiú",剂量:"jì liàng",道长:"dào zhǎng",泄露:"xiè lòu",王八:"wáng ba",切割:"qiē gē",间隔:"jiàn gé",一晃:"yì huǎng",长假:"cháng jià",令狐:"líng hú",为害:"wéi hài",句子:"jù zi",偿还:"cháng huán",疙瘩:"gē da",燕山:"yān shān",堵塞:"dǔ sè",夺冠:"duó guàn",扎实:"zhā shi",电荷:"diàn hè",看守:"kān shǒu",复辟:"fù bì",郁闷:"yù mèn",尽早:"jǐn zǎo",切断:"qiē duàn",指头:"zhǐ tou",为生:"wéi shēng",畜生:"chù sheng",切除:"qiē chú",着力:"zhuó lì",着想:"zhuó xiǎng",级差:"jí chā",投奔:"tóu bèn",棍子:"gùn zi",含糊:"hán hu",少妇:"shào fù",兴致:"xìng zhì",纳闷:"nà mèn",干流:"gàn liú",卷起:"juǎn qǐ",扇子:"shàn zi",更改:"gēng gǎi",笼络:"lǒng luò",喇叭:"lǎ ba",载荷:"zài hè",妥当:"tuǒ dàng",为难:"wéi nán",着陆:"zhuó lù",燕子:"yàn zi",干吗:"gàn má",白发:"bái fà",总得:"zǒng děi",夹击:"jiā jī",曝光:"bào guāng",曲调:"qǔ diào",相机:"xiàng jī",叫化:"jiào huà",角逐:"jué zhú",啊哟:"ā yō",载重:"zài zhòng",长辈:"zhǎng bèi",出差:"chū chāi",垛口:"duǒ kǒu",撇开:"piē kāi",厅长:"tīng zhǎng",组分:"zǔ fèn",误差:"wù chā",家当:"jiā dàng",传记:"zhuàn jì",个子:"gè zi",铺设:"pū shè",干事:"gàn shì",杆菌:"gǎn jūn",定量:"dìng liàng",运载:"yùn zài",会儿:"huì er",酋长:"qiú zhǎng",重返:"chóng fǎn",差额:"chā é",露面:"lòu miàn",钻研:"zuān yán",大城:"dài chéng",上当:"shàng dàng",销量:"xiāo liàng",作坊:"zuō fang",照相:"zhào xiàng",哎呀:"āi yā",调集:"diào jí",看中:"kàn zhòng",议长:"yì zhǎng",风筝:"fēng zheng",辟邪:"bì xié",空隙:"kòng xì",更迭:"gēng dié",偏差:"piān chā",声调:"shēng diào",适量:"shì liàng",屯子:"tún zi",无量:"wú liàng",空地:"kòng dì",调度:"diào dù",散射:"sǎn shè",创伤:"chuāng shāng",海参:"hǎi shēn",满载:"mǎn zài",重叠:"chóng dié",落差:"luò chā",单调:"dān diào",老将:"lǎo jiàng",人参:"rén shēn",间断:"jiàn duàn",重现:"chóng xiàn",夹杂:"jiā zá",调用:"diào yòng",萝卜:"luó bo",附着:"fù zhuó",应声:"yìng shēng",主将:"zhǔ jiàng",罪过:"zuì guo",咀嚼:"jǔ jué",为政:"wéi zhèng",过量:"guò liàng",乐曲:"yuè qǔ",负荷:"fù hè",枪弹:"qiāng dàn",悄然:"qiǎo rán",处方:"chǔ fāng",悄声:"qiǎo shēng",曲子:"qǔ zi",情调:"qíng diào",挑衅:"tiǎo xìn",代为:"dài wéi",了结:"liǎo jié",打中:"dǎ zhòng",酒吧:"jiǔ bā",懒得:"lǎn de",增量:"zēng liàng",衣着:"yī zhuó",部将:"bù jiàng",要塞:"yào sài",茶几:"chá jī",杠杆:"gàng gǎn",出没:"chū mò",鲜有:"xiǎn yǒu",间隙:"jiàn xì",重担:"zhòng dàn",重演:"chóng yǎn",重试:"chóng shì",应酬:"yìng chou",只当:"zhǐ dāng",毋宁:"wú nìng",包扎:"bāo zā",前头:"qián tou",卷烟:"juǎn yān",非得:"fēi děi",弹道:"dàn dào",杆子:"gān zi",门将:"mén jiàng",后头:"hòu tou",喝彩:"hè cǎi",暖和:"nuǎn huo",累积:"lěi jī",调遣:"diào qiǎn",倔强:"jué jiàng",宝藏:"bǎo zàng",丧事:"sāng shì",约莫:"yuē mo",纤夫:"qiàn fū",更替:"gēng tì",装载:"zhuāng zài",背包:"bēi bāo",帖子:"tiě zi",松散:"sōng sǎn",呼喝:"hū hè",可恶:"kě wù",自转:"zì zhuàn",供电:"gōng diàn",反省:"fǎn xǐng",坦率:"tǎn shuài",苏打:"sū dá",本分:"běn fèn",落得:"luò de",鄙薄:"bǐ bó",相间:"xiāng jiàn",单薄:"dān bó",混蛋:"hún dàn",贞观:"zhēn guān",附和:"fù hè",能耐:"néng nài",吓唬:"xià hu",未了:"wèi liǎo",引着:"yǐn zháo",抽调:"chōu diào",沙子:"shā zi",席卷:"xí juǎn",标的:"biāo dì",别扭:"biè niu",思量:"sī liang",喝采:"hè cǎi",论语:"lún yǔ",盖子:"gài zi",分外:"fèn wài",弄堂:"lòng táng",乐舞:"yuè wǔ",雨量:"yǔ liàng",毛发:"máo fà",差遣:"chāi qiǎn",背负:"bēi fù",转速:"zhuàn sù",声乐:"shēng yuè",夹攻:"jiā gōng",供水:"gōng shuǐ",主干:"zhǔ gàn",惩处:"chéng chǔ",长相:"zhǎng xiàng",公差:"gōng chāi",榴弹:"liú dàn",省得:"shěng de",条子:"tiáo zi",重围:"chóng wéi",阻塞:"zǔ sè",劲风:"jìng fēng",纠葛:"jiū gé",颠簸:"diān bǒ",点中:"diǎn zhòng",重创:"zhòng chuāng",姥姥:"lǎo lao",迷糊:"mí hu",公家:"gōng jia",几率:"jī lǜ",苦闷:"kǔ mèn",度量:"dù liàng",差错:"chā cuò",暑假:"shǔ jià",参差:"cēn cī",搭载:"dā zài",助长:"zhù zhǎng",相称:"xiāng chèn",红晕:"hóng yùn",舍命:"shě mìng",喜好:"xǐ hào",列传:"liè zhuàn",劲敌:"jìng dí",蛤蟆:"há ma",请假:"qǐng jià",钉子:"dīng zi",沉没:"chén mò",高丽:"gāo lí",休假:"xiū jià",无为:"wú wéi",巴结:"bā jie",了得:"liǎo dé",变相:"biàn xiàng",核弹:"hé dàn",亲家:"qìng jia",承载:"chéng zài",喝问:"hè wèn",还击:"huán jī",交还:"jiāo huán",将令:"jiàng lìng",单于:"chán yú",空缺:"kòng quē",绿林:"lù lín",胆量:"dǎn liàng",执着:"zhí zhuó",低调:"dī diào",闭塞:"bì sè",轻薄:"qīng bó",得当:"dé dàng",占卜:"zhān bǔ",扫帚:"sào zhou",龟兹:"qiū cí",年长:"nián zhǎng",外传:"wài zhuàn",头子:"tóu zi",裁缝:"cái feng",礼乐:"lǐ yuè",血泊:"xuè pō",散乱:"sǎn luàn",动量:"dòng liàng",倒腾:"dǎo teng",取舍:"qǔ shě",咱家:"zán jiā",长发:"cháng fà",爪哇:"zhǎo wā",弹壳:"dàn ké",省悟:"xǐng wù",嚷嚷:"rāng rang",连累:"lián lèi",应得:"yīng dé",族长:"zú zhǎng",柜子:"guì zi",擂鼓:"léi gǔ",眩晕:"xuàn yùn",调配:"tiáo pèi",躯干:"qū gàn",差役:"chāi yì",坎坷:"kǎn kě",少儿:"shào ér",乐团:"yuè tuán",养分:"yǎng fèn",退还:"tuì huán",格调:"gé diào",语调:"yǔ diào",音调:"yīn diào",乐府:"yuè fǔ",古朴:"gǔ pǔ",打点:"dǎ diǎn",差使:"chāi shǐ",匀称:"yún chèn",瘦削:"shòu xuē",膏药:"gāo yao",吞没:"tūn mò",调任:"diào rèn",散居:"sǎn jū",上头:"shàng tóu",风靡:"fēng mǐ",放假:"fàng jià",估量:"gū liang",失当:"shī dàng",中弹:"zhòng dàn",妄为:"wàng wéi",长者:"zhǎng zhě",起哄:"qǐ hòng",末了:"mò liǎo",相声:"xiàng sheng",校正:"jiào zhèng",劝降:"quàn xiáng",矢量:"shǐ liàng",沉闷:"chén mèn",给与:"jǐ yǔ",解法:"jiě fǎ",塞外:"sài wài",将校:"jiàng xiào",嗜好:"shì hào",没落:"mò luò",朴刀:"pō dāo",片子:"piān zi",切削:"qiē xiāo",弹丸:"dàn wán",稀薄:"xī bó",亏得:"kuī dé",间歇:"jiàn xiē",翘首:"qiáo shǒu",色调:"sè diào",处决:"chǔ jué",表率:"biǎo shuài",尺子:"chǐ zi",招降:"zhāo xiáng",称职:"chèn zhí",斗篷:"dǒu peng",铺子:"pù zi",底子:"dǐ zi",负载:"fù zài",干警:"gàn jǐng",倒数:"dào shǔ",将官:"jiàng guān",锄头:"chú tou",归降:"guī xiáng",疟疾:"nüè ji",唠叨:"láo dao",限量:"xiàn liàng",屏息:"bǐng xī",重逢:"chóng féng",器乐:"qì yuè",氢弹:"qīng dàn",脖颈:"bó gěng",妃子:"fēi zi",处事:"chǔ shì",参量:"cān liàng",轻率:"qīng shuài",缥缈:"piāo miǎo",中奖:"zhòng jiǎng",才干:"cái gàn",施舍:"shī shě",卷子:"juàn zi",游说:"yóu shuì",巷子:"xiàng zi",膀胱:"páng guāng",切勿:"qiè wù",看管:"kān guǎn",风头:"fēng tou",精干:"jīng gàn",高差:"gāo chā",恐吓:"kǒng hè",扁担:"biǎn dàn",给养:"jǐ yǎng",格子:"gé zi",供需:"gōng xū",反差:"fǎn chā",飞弹:"fēi dàn",微薄:"wēi bó",发型:"fà xíng",即兴:"jí xìng",攒动:"cuán dòng",间或:"jiàn huò",浅薄:"qiǎn bó",乐章:"yuè zhāng",顺差:"shùn chā",调子:"diào zi",相位:"xiàng wèi",转子:"zhuàn zǐ",劲旅:"jìng lǚ",咔嚓:"kā chā",了事:"liǎo shì",转悠:"zhuàn you",当铺:"dàng pù",爪子:"zhuǎ zi",单子:"dān zi",好战:"hào zhàn",燕麦:"yàn mài",只许:"zhǐ xǔ",干练:"gàn liàn",女将:"nǚ jiàng",酒量:"jiǔ liàng",划船:"huá chuán",伎俩:"jì liǎng",挑拨:"tiǎo bō",少校:"shào xiào",着落:"zhuó luò",憎恶:"zēng wù",刻薄:"kè bó",要挟:"yāo xié",用处:"yòng chu",还手:"huán shǒu",模具:"mú jù",执著:"zhí zhuó",喝令:"hè lìng",保长:"bǎo zhǎng",吸着:"xī zhe",症结:"zhēng jié",公转:"gōng zhuàn",校勘:"jiào kān",重提:"chóng tí",扫兴:"sǎo xìng",铺盖:"pū gài",长史:"zhǎng shǐ",差价:"chā jià",压根:"yà gēn",怔住:"zhèng zhù",应允:"yīng yǔn",切入:"qiē rù",战将:"zhàn jiàng",年少:"nián shào",舍身:"shě shēn",执拗:"zhí niù",处世:"chǔ shì",中风:"zhòng fēng",等量:"děng liàng",放量:"fàng liàng",腔调:"qiāng diào",老少:"lǎo shào",没入:"mò rù",瓜葛:"guā gé",将帅:"jiàng shuài",车载:"chē zài",窝囊:"wō nang",长进:"zhǎng jìn",可汗:"kè hán",并州:"bīng zhōu",供销:"gōng xiāo",切片:"qiē piàn",差事:"chāi shì",知会:"zhī hui",鹰爪:"yīng zhǎo",处女:"chǔ nǚ",切磋:"qiē cuō",日头:"rì tou",押解:"yā jiè",滋长:"zī zhǎng",道观:"dào guàn",脚色:"jué sè",当量:"dāng liàng",婆家:"pó jia",缘分:"yuán fèn",空闲:"kòng xián",好色:"hào sè",怒喝:"nù hè",笼统:"lǒng tǒng",边塞:"biān sài",何曾:"hé céng",重合:"chóng hé",零散:"líng sǎn",轰隆:"hōng lōng",化子:"huà zi",内蒙:"nèi měng",数落:"shǔ luò",逆差:"nì chā",牟利:"móu lì",栅栏:"zhà lan",中标:"zhòng biāo",调档:"diào dàng",佝偻:"gōu lóu",场子:"chǎng zi",甲壳:"jiǎ qiào",重温:"chóng wēn",炮制:"páo zhì",返还:"fǎn huán",自传:"zì zhuàn",高调:"gāo diào",殷红:"yān hóng",固着:"gù zhuó",强求:"qiǎng qiú",本相:"běn xiàng",骄横:"jiāo hèng",草率:"cǎo shuài",气闷:"qì mèn",着色:"zhuó sè",宁肯:"nìng kěn",兴头:"xìng tou",拘泥:"jū nì",夹角:"jiā jiǎo",发髻:"fà jì",猛将:"měng jiàng",约摸:"yuē mo",拖累:"tuō lěi",呢绒:"ní róng",钻探:"zuān tàn",夹层:"jiā céng",落魄:"luò pò",巷道:"hàng dào",运量:"yùn liàng",解闷:"jiě mèn",空儿:"kòng er",估摸:"gū mo",好客:"hào kè",钻孔:"zuān kǒng",糊弄:"hù nòng",荥阳:"xíng yáng",烦闷:"fán mèn",仓卒:"cāng cù",分叉:"fēn chà",厂子:"chǎng zi",小调:"xiǎo diào",少阳:"shào yáng",受降:"shòu xiáng",染坊:"rǎn fáng",胳臂:"gē bei",将门:"jiàng mén",模板:"mú bǎn",配给:"pèi jǐ",为伍:"wéi wǔ",跟头:"gēn tou",划算:"huá suàn",累赘:"léi zhui",哄笑:"hōng xiào",晕眩:"yūn xuàn",干掉:"gàn diào",缝制:"féng zhì",难处:"nán chù",着意:"zhuó yì",蛮横:"mán hèng",奇数:"jī shù",短发:"duǎn fà",生还:"shēng huán",还清:"huán qīng",看护:"kān hù",直率:"zhí shuài",奏乐:"zòu yuè",载客:"zài kè",专横:"zhuān hèng",湮没:"yān mò",空格:"kòng gé",铺垫:"pū diàn",良将:"liáng jiàng",哗啦:"huā lā",散漫:"sǎn màn",脱发:"tuō fà",送还:"sòng huán",埋没:"mái mò",累及:"lěi jí",薄雾:"bó wù",调离:"diào lí",舌苔:"shé tāi",机长:"jī zhǎng",栓塞:"shuān sè",配角:"pèi jué",切口:"qiē kǒu",创口:"chuāng kǒu",哈欠:"hā qian",实弹:"shí dàn",铺平:"pū píng",哈达:"hǎ dá",懒散:"lǎn sǎn",实干:"shí gàn",填空:"tián kòng",刁钻:"diāo zuān",乐师:"yuè shī",量变:"liàng biàn",诱降:"yòu xiáng",搪塞:"táng sè",征调:"zhēng diào",夹道:"jiā dào",干咳:"gān ké",止咳:"zhǐ ké",乐工:"yuè gōng",划过:"huá guò",着火:"zháo huǒ",更正:"gēng zhèng",给付:"jǐ fù",空子:"kòng zi",哪吒:"né zhā",正着:"zhèng zháo",刷子:"shuā zi",丧葬:"sāng zàng",夹带:"jiā dài",安分:"ān fèn",中意:"zhòng yì",长孙:"zhǎng sūn",校订:"jiào dìng",卷曲:"juǎn qū",载运:"zài yùn",投弹:"tóu dàn",柞蚕:"zuò cán",份量:"fèn liàng",调换:"diào huàn",了然:"liǎo rán",咧嘴:"liě zuǐ",典当:"diǎn dàng",寒假:"hán jià",长兄:"zhǎng xiōng",给水:"jǐ shuǐ",须发:"xū fà",枝干:"zhī gàn",属相:"shǔ xiàng",哄抢:"hōng qiǎng",刻划:"kè huà",塞子:"sāi zi",单干:"dān gàn",还乡:"huán xiāng",兆头:"zhào tou",寺观:"sì guàn",督率:"dū shuài",啊哈:"ā ha",割舍:"gē shě",抹布:"mā bù",好恶:"hào wù",下处:"xià chǔ",消长:"xiāo zhǎng",离间:"lí jiàn",准头:"zhǔn tou",校对:"jiào duì",什物:"shí wù",番禺:"pān yú",佛爷:"fó ye",吗啡:"mǎ fēi",盐分:"yán fèn",虎将:"hǔ jiàng",薄荷:"bò he",独处:"dú chǔ",空位:"kòng wèi",铺路:"pū lù",乌拉:"wū lā",调回:"diào huí",来头:"lái tou",闲散:"xián sǎn",胶卷:"jiāo juǎn",冒失:"mào shi",干劲:"gàn jìn",弦乐:"xián yuè",相国:"xiàng guó",丹参:"dān shēn",助兴:"zhù xìng",铺开:"pū kāi",次长:"cì zhǎng",发卡:"fà qiǎ",拮据:"jié jū",刹车:"shā chē",生发:"shēng fà",重播:"chóng bō",缝合:"féng hé",音量:"yīn liàng",少尉:"shào wèi",冲压:"chòng yā",苍劲:"cāng jìng",厚薄:"hòu báo",威吓:"wēi hè",外相:"wài xiàng",呼号:"hū háo",着迷:"zháo mí",挑担:"tiāo dàn",纹路:"wén lù",还俗:"huán sú",强横:"qiáng hèng",着数:"zhāo shù",降顺:"xiáng shùn",挑明:"tiǎo míng",眯缝:"mī feng",分内:"fèn nèi",更衣:"gēng yī",软和:"ruǎn huo",尽兴:"jìn xìng",号子:"hào zi",爪牙:"zhǎo yá",败将:"bài jiàng",猜中:"cāi zhòng",结扎:"jié zā",没空:"méi kòng",夹缝:"jiā fèng",拾掇:"shí duo",掺和:"chān huo",簸箕:"bò ji",电量:"diàn liàng",荷载:"hè zǎi",调式:"diào shì",处身:"chǔ shēn",打手:"dǎ shǒu",弹弓:"dàn gōng",横蛮:"hèng mán",能干:"néng gàn",校点:"jiào diǎn",加载:"jiā zài",干校:"gàn xiào",哄传:"hōng chuán",校注:"jiào zhù",淤塞:"yū sè",马扎:"mǎ zhá",月氏:"yuè zhī",高干:"gāo gàn",经传:"jīng zhuàn",曾孙:"zēng sūn",好斗:"hào dòu",关卡:"guān qiǎ",逃奔:"táo bèn",磨蹭:"mó ceng",牟取:"móu qǔ",颤栗:"zhàn lì",蚂蚱:"mà zha",撮合:"cuō he",趔趄:"liè qie",摔打:"shuāi dǎ",台子:"tái zi",分得:"fēn de",粘着:"nián zhuó",采邑:"cài yì",散装:"sǎn zhuāng",婀娜:"ē nuó",兴味:"xìng wèi",行头:"xíng tou",气量:"qì liàng",调运:"diào yùn",处治:"chǔ zhì",乐音:"yuè yīn",充塞:"chōng sè",恫吓:"dòng hè",论调:"lùn diào",相中:"xiāng zhòng",民乐:"mín yuè",炮仗:"pào zhang",丧服:"sāng fú",骁将:"xiāo jiàng",量刑:"liàng xíng",缝补:"féng bǔ",财会:"cái kuài",大干:"dà gàn",历数:"lì shǔ",校场:"jiào chǎng",塞北:"sài běi",识相:"shí xiàng",辱没:"rǔ mò",鲜亮:"xiān liàng",语塞:"yǔ sè",露脸:"lòu liǎn",凉快:"liáng kuai",腰杆:"yāo gǎn",溜达:"liū da",嘎嘎:"gā gā",公干:"gōng gàn",桔梗:"jié gěng",挑逗:"tiǎo dòu",看门:"kān mén",乐歌:"yuè gē",拓片:"tà piàn",挑动:"tiǎo dòng",准将:"zhǔn jiàng",遒劲:"qiú jìng",磨坊:"mò fáng",逶迤:"wēi yí",搅和:"jiǎo huo",摩挲:"mó suō",作弄:"zuò nòng",苗头:"miáo tou",打颤:"dǎ zhàn",大藏:"dà zàng",畜牲:"chù shēng",勾搭:"gōu da",树荫:"shù yīn",树杈:"shù chà",铁杆:"tiě gǎn",将相:"jiàng xiàng",份子:"fèn zi",视差:"shì chā",绿荫:"lǜ yīn",枪杆:"qiāng gǎn",缝纫:"féng rèn",愁闷:"chóu mèn",点将:"diǎn jiàng",华佗:"huà tuó",劲射:"jìng shè",箱笼:"xiāng lǒng",终了:"zhōng liǎo",鬓发:"bìn fà",结巴:"jiē ba",苦干:"kǔ gàn",看家:"kān jiā",正旦:"zhēng dàn",中肯:"zhòng kěn",厦门:"xià mén",东莞:"dōng guǎn",食量:"shí liàng",宫调:"gōng diào",间作:"jiàn zuò",弹片:"dàn piàn",差池:"chā chí",漂白:"piǎo bái",杠子:"gàng zi",调处:"tiáo chǔ",好动:"hào dòng",转炉:"zhuàn lú",屏气:"bǐng qì",夹板:"jiā bǎn",哀乐:"āi yuè",干道:"gàn dào",苦处:"kǔ chù",劈柴:"pǐ chái",长势:"zhǎng shì",天华:"tiān huá",共处:"gòng chǔ",校验:"jiào yàn",出塞:"chū sài",磨盘:"mò pán",萎靡:"wěi mǐ",奔丧:"bēn sāng",唱和:"chàng hè",大调:"dà diào",非分:"fēi fèn",钻营:"zuān yíng",夹子:"jiā zi",超载:"chāo zài",更始:"gēng shǐ",铃铛:"líng dang",披散:"pī sàn",发还:"fā huán",转轮:"zhuàn lún",横财:"hèng cái",泡桐:"pāo tóng",抛撒:"pāo sǎ",天呀:"tiān yā",糊糊:"hū hu",躯壳:"qū qiào",通量:"tōng liàng",奉还:"fèng huán",午觉:"wǔ jiào",闷棍:"mèn gùn",浪头:"làng tou",砚台:"yàn tái",油坊:"yóu fáng",学长:"xué zhǎng",过载:"guò zài",笔调:"bǐ diào",衣被:"yī bèi",畜产:"xù chǎn",调阅:"diào yuè",蛮干:"mán gàn",曾祖:"zēng zǔ",提干:"tí gàn",变调:"biàn diào",覆没:"fù mò",模子:"mú zi",乐律:"yuè lǜ",称心:"chèn xīn",木杆:"mù gān",重印:"chóng yìn",自省:"zì xǐng",提调:"tí diào",看相:"kàn xiàng",芋头:"yù tou",下切:"xià qiē",塞上:"sài shàng",铺张:"pū zhāng",藤蔓:"téng wàn",薄幸:"bó xìng",解数:"xiè shù",褪去:"tuì qù",霰弹:"xiàn dàn",柚木:"yóu mù",痕量:"hén liàng",雅乐:"yǎ yuè",号哭:"háo kū",诈降:"zhà xiáng",猪圈:"zhū juàn",咋舌:"zé shé",铣床:"xǐ chuáng",防弹:"fáng dàn",健将:"jiàn jiàng",丽水:"lí shuǐ",削发:"xuē fà",空当:"kòng dāng",多相:"duō xiàng",鲜见:"xiǎn jiàn",划桨:"huá jiǎng",载波:"zài bō",跳蚤:"tiào zao",俏皮:"qiào pí",吧嗒:"bā dā",结发:"jié fà",了断:"liǎo duàn",同调:"tóng diào",石磨:"shí mò",时差:"shí chā",鼻塞:"bí sè",挑子:"tiāo zi",推磨:"tuī mò",武侯:"wǔ hóu",抹煞:"mǒ shā",调转:"diào zhuǎn",籍没:"jí mò",还债:"huán zhài",调演:"diào yǎn",分划:"fēn huá",奇偶:"jī ǒu",断喝:"duàn hè",闷雷:"mèn léi",狼藉:"láng jí",饭量:"fàn liàng",还礼:"huán lǐ",转调:"zhuǎn diào",星相:"xīng xiàng",手相:"shǒu xiàng",配乐:"pèi yuè",盖头:"gài tou",连杆:"lián gǎn",簿记:"bù jì",刀把:"dāo bà",量词:"liàng cí",名角:"míng jué",步调:"bù diào",校本:"jiào běn",账簿:"zhàng bù",隽永:"juàn yǒng",稍为:"shāo wéi",易传:"yì zhuàn",乐谱:"yuè pǔ",牵累:"qiān lěi",答理:"dā li",喝斥:"hè chì",吟哦:"yín é",干渠:"gàn qú",海量:"hǎi liàng",精当:"jīng dàng",着床:"zhuó chuáng",月相:"yuè xiàng",庶几:"shù jī",宫观:"gōng guàn",论处:"lùn chǔ",征辟:"zhēng bì",厚朴:"hòu pò",介壳:"jiè qiào",吭哧:"kēng chī",咯血:"kǎ xiě",铺陈:"pū chén",重生:"chóng shēng",乐理:"yuè lǐ",哀号:"āi háo",藏历:"zàng lì",刚劲:"gāng jìng",削平:"xuē píng",浓荫:"nóng yīn",城垛:"chéng duǒ",当差:"dāng chāi",正传:"zhèng zhuàn",并处:"bìng chǔ",创面:"chuāng miàn",旦角:"dàn jué",薄礼:"bó lǐ",晃荡:"huàng dang",臊子:"sào zi",家什:"jiā shí",闷头:"mēn tóu",美发:"měi fà",度数:"dù shu",着凉:"zháo liáng",闯将:"chuǎng jiàng",几案:"jī àn",姘头:"pīn tou",差数:"chā shù",散碎:"sǎn suì",壅塞:"yōng sè",寒颤:"hán zhàn",牵强:"qiān qiǎng",无间:"wú jiàn",轮转:"lún zhuàn",号叫:"háo jiào",铺排:"pū pái",降伏:"xiáng fú",轧钢:"zhá gāng",东阿:"dōng ē",病假:"bìng jià",累加:"lěi jiā",梗塞:"gěng sè",弹夹:"dàn jiā",钻心:"zuān xīn",晃眼:"huǎng yǎn",魔爪:"mó zhǎo",标量:"biāo liàng",憋闷:"biē mèn",猜度:"cāi duó",处士:"chǔ shì",官差:"guān chāi",讨还:"tǎo huán",长门:"cháng mén",馏分:"liú fēn",里弄:"lǐ lòng",色相:"sè xiàng",雅兴:"yǎ xìng",角力:"jué lì",弹坑:"dàn kēng",枝杈:"zhī chà",夹具:"jiā jù",处刑:"chǔ xíng",悍将:"hàn jiàng",好学:"hào xué",好好:"hǎo hǎo",银发:"yín fà",扫把:"sào bǎ",法相:"fǎ xiàng",贵干:"guì gàn",供气:"gōng qì",空余:"kòng yú",捆扎:"kǔn zā",瘠薄:"jí bó",浆糊:"jiàng hu",嘎吱:"gā zhī",调令:"diào lìng",法帖:"fǎ tiè",淋病:"lìn bìng",调派:"diào pài",转盘:"zhuàn pán",供稿:"gōng gǎo",差官:"chāi guān",忧闷:"yōu mèn",教长:"jiào zhǎng",重唱:"chóng chàng",酒兴:"jiǔ xìng",乐坛:"yuè tán",花呢:"huā ní",叱喝:"chì hè",膀臂:"bǎng bì",得空:"dé kòng",转圈:"zhuàn quān",横暴:"hèng bào",哄抬:"hōng tái",引吭:"yǐn háng",载货:"zài huò",中计:"zhòng jì",官长:"guān zhǎng",相面:"xiàng miàn",看头:"kàn tou",盼头:"pàn tou",意兴:"yì xìng",军乐:"jūn yuè",累次:"lěi cì",骨嘟:"gǔ dū",燕赵:"yān zhào",报丧:"bào sāng",弥撒:"mí sa",挨斗:"ái dòu",扁舟:"piān zhōu",丑角:"chǒu jué",吊丧:"diào sāng",强将:"qiáng jiàng",重奏:"chóng zòu",发辫:"fà biàn",着魔:"zháo mó",着法:"zhāo fǎ",盛放:"shèng fàng",填塞:"tián sè",凶横:"xiōng hèng",稽首:"qǐ shǒu",碑帖:"bēi tiè",冲量:"chōng liàng",发菜:"fà cài",假发:"jiǎ fà",翻卷:"fān juǎn",小量:"xiǎo liàng",胶着:"jiāo zhuó",里子:"lǐ zi",调调:"diào diao",散兵:"sǎn bīng",高挑:"gāo tiǎo",播撒:"bō sǎ",夹心:"jiā xīn",扇动:"shān dòng",叨扰:"tāo rǎo",霓裳:"ní cháng",捻子:"niǎn zi",弥缝:"mí féng",撒布:"sǎ bù",场院:"cháng yuàn",省亲:"xǐng qīn",提拉:"tí lā",惯量:"guàn liàng",强逼:"qiáng bī",强征:"qiáng zhēng",晕车:"yùn chē",数道:"shù dào",带累:"dài lèi",拓本:"tà běn",嫌恶:"xián wù",宿将:"sù jiàng",龟裂:"jūn liè",缠夹:"chán jiā",发式:"fà shì",隔扇:"gé shàn",天分:"tiān fèn",癖好:"pǐ hào",四通:"sì tōng",白术:"bái zhú",划伤:"huá shāng",角斗:"jué dòu",听差:"tīng chāi",岁差:"suì chā",丧礼:"sāng lǐ",脉脉:"mò mò",削瘦:"xuē shòu",撒播:"sǎ bō",莎草:"suō cǎo",犍为:"qián wéi",调头:"diào tóu",龙卷:"lóng juǎn",外调:"wài diào",字帖:"zì tiè",卷发:"juǎn fà",揣度:"chuǎi duó",洋相:"yáng xiàng",散光:"sǎn guāng",骨碌:"gū lu",薄命:"bó mìng",笼头:"lóng tóu",咽炎:"yān yán",碌碡:"liù zhou",片儿:"piàn er",纤手:"qiàn shǒu",散体:"sǎn tǐ",内省:"nèi xǐng",强留:"qiáng liú",解送:"jiè sòng",反间:"fǎn jiàn",少壮:"shào zhuàng",留空:"liú kōng",告假:"gào jià",咳血:"ké xuè",薄暮:"bó mù",铺轨:"pū guǐ",磨削:"mó xuē",治丧:"zhì sāng",叉子:"chā zi",哄动:"hōng dòng",蛾子:"é zi",出落:"chū luò",股长:"gǔ zhǎng",贵处:"guì chù",还魂:"huán hún",例假:"lì jià",刹住:"shā zhù",身量:"shēn liàng",同好:"tóng hào",模量:"mó liàng",更生:"gēng shēng",服丧:"fú sāng",率直:"shuài zhí",字模:"zì mú",散架:"sǎn jià",答腔:"dā qiāng",交恶:"jiāo wù",薄情:"bó qíng",眼泡:"yǎn pāo",袅娜:"niǎo nuó",草垛:"cǎo duò",冲劲:"chòng jìn",呢喃:"ní nán",切中:"qiè zhòng",挑灯:"tiǎo dēng",还愿:"huán yuàn",激将:"jī jiàng",更鼓:"gēng gǔ",没药:"mò yào",败兴:"bài xìng",切面:"qiē miàn",散户:"sǎn hù",累进:"lěi jìn",背带:"bēi dài",秤杆:"chèng gǎn",碾坊:"niǎn fáng",簿子:"bù zi",扳手:"bān shǒu",铅山:"yán shān",儒将:"rú jiàng",重光:"chóng guāng",剪发:"jiǎn fà",长上:"zhǎng shàng",小传:"xiǎo zhuàn",压轴:"yā zhòu",弱冠:"ruò guàn",花卷:"huā juǎn",横祸:"hèng huò",夹克:"jiā kè",光晕:"guāng yùn",披靡:"pī mǐ",对调:"duì diào",夹持:"jiā chí",空额:"kòng é",平调:"píng diào",铺床:"pū chuáng",丧钟:"sāng zhōng",作乐:"zuò lè",少府:"shào fǔ",数数:"shuò shuò",奔头:"bèn tou",进给:"jìn jǐ",率性:"shuài xìng",乐子:"lè zi",绑扎:"bǎng zā",挑唆:"tiǎo suō",漂洗:"piǎo xǐ",夹墙:"jiā qiáng",咳喘:"ké chuǎn",乜斜:"miē xie",错处:"cuò chù",闷酒:"mèn jiǔ",时调:"shí diào",重孙:"chóng sūn",经幢:"jīng chuáng",圩场:"xū chǎng",调门:"diào mén",花头:"huā tóu",划拉:"huá la",套色:"tào shǎi",粗率:"cū shuài",相率:"xiāng shuài",款识:"kuǎn zhì",吁请:"yù qǐng",荫蔽:"yīn bì",文蛤:"wén gé",嘀嗒:"dī dā",调取:"diào qǔ",交差:"jiāo chāi",落子:"luò zǐ",相册:"xiàng cè",絮叨:"xù dao",落发:"luò fà",异相:"yì xiàng",浸没:"jìn mò",角抵:"jué dǐ",卸载:"xiè zài",春卷:"chūn juǎn",扎挣:"zhá zheng",畜养:"xù yǎng",吡咯:"bǐ luò",垛子:"duò zi",恶少:"è shào",发际:"fà jì",红苕:"hóng sháo",糨糊:"jiàng hu",哭丧:"kū sāng",稍息:"shào xī",晕船:"yùn chuán",校样:"jiào yàng",外差:"wài chā",脚爪:"jiǎo zhǎo",铺展:"pū zhǎn",芫荽:"yán sui",夹紧:"jiā jǐn",尿泡:"suī pào",丧乱:"sāng luàn",凶相:"xiōng xiàng",华发:"huá fà",打场:"dǎ cháng",云量:"yún liàng",正切:"zhèng qiē",划拳:"huá quán",划艇:"huá tǐng",评传:"píng zhuàn",拉纤:"lā qiàn",句读:"jù dòu",散剂:"sǎn jì",骨殖:"gǔ shi",塞音:"sè yīn",铺叙:"pū xù",阏氏:"yān zhī",冷颤:"lěng zhàn",煞住:"shā zhù",少男:"shào nán",管乐:"guǎn yuè",号啕:"háo táo",纳降:"nà xiáng",拥塞:"yōng sè",万乘:"wàn shèng",杆儿:"gǎn ér",葛藤:"gé téng",簿籍:"bù jí",皮夹:"pí jiā",校准:"jiào zhǔn",允当:"yǔn dàng",器量:"qì liàng",选调:"xuǎn diào",扮相:"bàn xiàng",干才:"gàn cái",基干:"jī gàn",割切:"gē qiē",国乐:"guó yuè",卡壳:"qiǎ ké",辟谷:"bì gǔ",磨房:"mò fáng",咿呀:"yī yā",芥末:"jiè mo",薄技:"bó jì",产假:"chǎn jià",诗兴:"shī xìng",重出:"chóng chū",转椅:"zhuàn yǐ",酌量:"zhuó liang",簿册:"bù cè",藏青:"zàng qīng",的士:"dī shì",调人:"diào rén",解元:"jiè yuán",茎干:"jīng gàn",巨量:"jù liàng",榔头:"láng tou",率真:"shuài zhēn",喷香:"pèn xiāng",锁钥:"suǒ yuè",虾蟆:"há má",相图:"xiàng tú",兴会:"xìng huì",灶头:"zào tóu",重婚:"chóng hūn",钻洞:"zuān dòng",忖度:"cǔn duó",党参:"dǎng shēn",调温:"diào wēn",杆塔:"gān tǎ",葛布:"gé bù",拱券:"gǒng xuàn",夹生:"jiā shēng",露馅:"lòu xiàn",恰切:"qià qiè",散见:"sǎn jiàn",哨卡:"shào qiǎ",烫发:"tàng fà",体量:"tǐ liàng",挺括:"tǐng kuò",系带:"jì dài",相士:"xiàng shì",羊圈:"yáng juàn",转矩:"zhuàn jǔ",吧台:"bā tái",苍术:"cāng zhú",菲薄:"fěi bó",蛤蚧:"gé jiè",蛤蜊:"gé lí",瓜蔓:"guā wàn",怪相:"guài xiàng",临帖:"lín tiè",女红:"nǚ gōng",刨床:"bào chuáng",翘楚:"qiáo chǔ",数九:"shǔ jiǔ",谈兴:"tán xìng",雄劲:"xióng jìng",扎染:"zā rǎn",遮荫:"zhē yīn",周正:"zhōu zhèng",赚头:"zhuàn tou",扒手:"pá shǒu",搀和:"chān huo",诚朴:"chéng pǔ",肚量:"dù liàng",干结:"gān jié",工尺:"gōng chě",家累:"jiā lěi",曲水:"qū shuǐ",沙参:"shā shēn",挑花:"tiǎo huā",阿门:"ā mén",背篓:"bēi lǒu",瘪三:"biē sān",裁处:"cái chǔ",创痛:"chuāng tòng",福相:"fú xiàng",更动:"gēng dòng",豪兴:"háo xìng",还阳:"huán yáng",还嘴:"huán zuǐ",借调:"jiè diào",卷云:"juǎn yún",流弹:"liú dàn",想头:"xiǎng tou",削价:"xuē jià",校阅:"jiào yuè",雅量:"yǎ liàng",别传:"bié zhuàn",薄酒:"bó jiǔ",春假:"chūn jià",发妻:"fà qī",哗哗:"huā huā",宽绰:"kuān chuo",了悟:"liǎo wù",切花:"qiē huā",审度:"shěn duó",应许:"yīng xǔ",转台:"zhuàn tái",仔猪:"zǐ zhū",裁量:"cái liáng",藏戏:"zàng xì",乘兴:"chéng xìng",绸缪:"chóu móu",摧折:"cuī zhé",调经:"tiáo jīng",调职:"diào zhí",缝缀:"féng zhuì",骨朵:"gū duǒ",核儿:"hú er",恒量:"héng liàng",还价:"huán jià",浑朴:"hún pǔ",苦差:"kǔ chāi",面糊:"miàn hù",煞车:"shā chē",省视:"xǐng shì",什锦:"shí jǐn",信差:"xìn chāi",余切:"yú qiē",攒眉:"cuán méi",炸糕:"zhá gāo",钻杆:"zuàn gǎn",扒灰:"pá huī",拌和:"bàn huò",长调:"cháng diào",大溜:"dà liù",抖搂:"dǒu lōu",飞转:"fēi zhuàn",干仗:"gàn zhàng",好胜:"hào shèng",画片:"huà piàn",搅混:"jiǎo hún",螺杆:"luó gǎn",木模:"mù mú",怒号:"nù háo",频数:"pín shù",无宁:"wú níng",遗少:"yí shào",邮差:"yóu chāi",占卦:"zhān guà",占星:"zhān xīng",重审:"chóng shěn",自量:"zì liàng",调防:"diào fáng",发廊:"fà láng",反调:"fǎn diào",缝子:"fèng zi",更夫:"gēng fū",骨子:"gǔ zi",光杆:"guāng gǎn",夹棍:"jiā gùn",居丧:"jū sāng",巨贾:"jù gǔ",看押:"kān yā",空转:"kōng zhuàn",量力:"liàng lì",炮烙:"páo luò",赔还:"péi huán",扑扇:"pū shān",散记:"sǎn jì",散件:"sǎn jiàn",删削:"shān xuē",射干:"shè gàn",条几:"tiáo jī",偷空:"tōu kòng",削壁:"xuē bì",校核:"jiào hé",阴干:"yīn gān",择菜:"zhái cài",重九:"chóng jiǔ",主调:"zhǔ diào",自禁:"zì jīn",吧唧:"bā jī",便溺:"biàn niào",词调:"cí diào",叨咕:"dáo gu",落枕:"lào zhěn",铺砌:"pū qì",刷白:"shuà bái",委靡:"wěi mǐ",系泊:"xì bó",相马:"xiàng mǎ",熨帖:"yù tiē",转筋:"zhuàn jīn",棒喝:"bàng hè",傧相:"bīn xiàng",镐头:"gǎo tóu",间苗:"jiàn miáo",乐池:"yuè chí",卖相:"mài xiàng",屏弃:"bǐng qì",铅弹:"qiān dàn",切变:"qiē biàn",请调:"qǐng diào",群氓:"qún méng",散板:"sǎn bǎn",省察:"xǐng chá",事假:"shì jià",纤绳:"qiàn shéng",重影:"chóng yǐng",耕种:"gēng zhòng",种地:"zhòng dì",种菜:"zhòng cài",栽种:"zāi zhòng",接种:"jiē zhòng",垦种:"kěn zhòng",种殖:"zhòng zhí",种瓜:"zhòng guā",种豆:"zhòng dòu",种树:"zhòng shù",睡着:"shuì zháo",笼子:"lóng zi",重启:"chóng qǐ",重整:"chóng zhěng",重弹:"chóng tán",重足:"chóng zú",重山:"chóng shān",重游:"chóng yóu",重峦:"chóng luán",爷爷:"yé ye",奶奶:"nǎi nai",姥爷:"lǎo ye",爸爸:"bà ba",妈妈:"mā ma",婶婶:"shěn shen",舅舅:"jiù jiu",姑姑:"gū gu",叔叔:"shū shu",姨夫:"yí fu",舅母:"jiù mu",姑父:"gū fu",姐夫:"jiě fu",婆婆:"pó po",公公:"gōng gong",舅子:"jiù zi",姐姐:"jiě jie",哥哥:"gē ge",妹妹:"mèi mei",妹夫:"mèi fu",姨子:"yí zi",宝宝:"bǎo bao",娃娃:"wá wa",孩子:"hái zi",日子:"rì zi",样子:"yàng zi",狮子:"shī zi",身子:"shēn zi",架子:"jià zi",嫂子:"sǎo zi",鼻子:"bí zi",亭子:"tíng zi",折子:"zhé zi",面子:"miàn zi",脖子:"bó zi",辈子:"bèi zi",帽子:"mào zi",拍子:"pāi zi",柱子:"zhù zi",辫子:"biàn zi",鸽子:"gē zi",房子:"fáng zi",丸子:"wán zi",摊子:"tān zi",牌子:"pái zi",胡子:"hú zi",鬼子:"guǐ zi",矮子:"ǎi zi",鸭子:"yā zi",小子:"xiǎo zi",影子:"yǐng zi",屋子:"wū zi",对子:"duì zi",点子:"diǎn zi",本子:"běn zi",种子:"zhǒng zi",儿子:"ér zi",兔子:"tù zi",骗子:"piàn zi",院子:"yuàn zi",猴子:"hóu zi",嗓子:"sǎng zi",侄子:"zhí zi",柿子:"shì zi",钳子:"qián zi",虱子:"shī zi",瓶子:"píng zi",豹子:"bào zi",筷子:"kuài zi",篮子:"lán zi",绳子:"shéng zi",嘴巴:"zuǐ ba",耳朵:"ěr duo",茄子:"qié zi",蚌埠:"bèng bù",崆峒:"kōng tóng",琵琶:"pí pa",蘑菇:"mó gu",葫芦:"hú lu",狐狸:"hú li",桔子:"jú zi",盒子:"hé zi",桌子:"zhuō zi",竹子:"zhú zi",师傅:"shī fu",衣服:"yī fu",袜子:"wà zi",杯子:"bēi zi",刺猬:"cì wei",麦子:"mài zi",队伍:"duì wu",知了:"zhī liǎo",鱼儿:"yú er",馄饨:"hún tun",灯笼:"dēng long",庄稼:"zhuāng jia",聪明:"cōng ming",镜子:"jìng zi",银子:"yín zi",盘子:"pán zi",了却:"liǎo què",力气:"lì qi",席子:"xí zi",林子:"lín zi",朝霞:"zhāo xiá",朝夕:"zhāo xī",朝气:"zhāo qì",翅膀:"chì bǎng",省长:"shěng zhǎng",臧否:"zāng pǐ",否泰:"pǐ tài",变得:"biàn de",丈夫:"zhàng fu",豆腐:"dòu fu",笔杆:"bǐ gǎn",枞阳:"zōng yáng",行人:"xíng rén",打着:"dǎ zhe",第一:"dì yī",万一:"wàn yī",之一:"zhī yī",得之:"dé zhī",统一:"tǒng yī",唯一:"wéi yī",专一:"zhuān yī",单一:"dān yī",如一:"rú yī",其一:"qí yī",合一:"hé yī",逐一:"zhú yī",周一:"zhōu yī",初一:"chū yī",研一:"yán yī",归一:"guī yī",假一:"jiǎ yī",闻一:"wén yī",了了:"liǎo liǎo",公了:"gōng liǎo",私了:"sī liǎo",一月:"yī yuè",一号:"yī hào",一级:"yī jí",一等:"yī děng",一哥:"yī gē",月一:"yuè yī",一一:"yī yī",二一:"èr yī",三一:"sān yī",四一:"sì yī",五一:"wǔ yī",六一:"liù yī",七一:"qī yī",八一:"bā yī",九一:"jiǔ yī",一〇:"yī líng",一零:"yī líng",一二:"yī èr",一三:"yī sān",一四:"yī sì",一五:"yī wǔ",一六:"yī liù",一七:"yī qī",一八:"yī bā",一九:"yī jiǔ",一又:"yī yòu",一饼:"yī bǐng",一楼:"yī lóu",为例:"wéi lì",为准:"wéi zhǔn",沧海:"cāng hǎi",难为:"nán wéi",责难:"zé nàn",患难:"huàn nàn",磨难:"mó nàn",大难:"dà nàn",刁难:"diāo nàn",殉难:"xùn nàn",落难:"luò nàn",罹难:"lí nàn",灾难:"zāi nàn",难民:"nàn mín",苦难:"kǔ nàn",危难:"wēi nàn",发难:"fā nàn",逃难:"táo nàn",避难:"bì nàn",遇难:"yù nàn",阻难:"zǔ nàn",厄难:"è nàn",徇难:"xùn nàn",空难:"kōng nàn",喜欢:"xǐ huan",朝朝:"zhāo zhāo",不行:"bù xíng",轧轧:"yà yà",弯曲:"wān qū",扭曲:"niǔ qū",曲直:"qū zhí",委曲:"wěi qū",酒曲:"jiǔ qū",曲径:"qū jìng",曲解:"qū jiě",歪曲:"wāi qū",曲线:"qū xiàn",曲阜:"qū fù",九曲:"jiǔ qū",曲折:"qū zhé",曲肱:"qū gōng",曲意:"qū yì",仡佬:"gē lǎo"},c_0=Object.keys(i_0).map(($)=>({zh:$,pinyin:i_0[$],probability:0.00000002,length:2,priority:r4.Normal,dict:Symbol("dict2")}))});var p_0,d_0;var m_0=m(()=>{a$();p_0={为什么:"wèi shén me",实际上:"shí jì shang",检察长:"jiǎn chá zhǎng",干什么:"gàn shén me",这会儿:"zhè huì er",尽可能:"jǐn kě néng",董事长:"dǒng shì zhǎng",了不起:"liǎo bù qǐ",参谋长:"cān móu zhǎng",朝鲜族:"cháo xiǎn zú",海内外:"hǎi nèi wài",禁不住:"jīn bú zhù",柏拉图:"bó lā tú",不在乎:"bú zài hu",洛杉矶:"luò shān jī",有点儿:"yǒu diǎn er",迫击炮:"pǎi jī pào",不得了:"bù dé liǎo",马尾松:"mǎ wěi sōng",运输量:"yùn shū liàng",发脾气:"fā pí qi",士大夫:"shì dà fū",鸭绿江:"yā lù jiāng",压根儿:"yà gēn er",对得起:"duì de qǐ",那会儿:"nà huì er",自个儿:"zì gě er",物理量:"wù lǐ liàng",怎么着:"zěn me zhāo",明晃晃:"míng huǎng huǎng",节假日:"jié jià rì",心里话:"xīn lǐ huà",发行量:"fā xíng liàng",兴冲冲:"xìng chōng chōng",分子量:"fēn zǐ liàng",国子监:"guó zǐ jiàn",老大难:"lǎo dà nán",党内外:"dǎng nèi wài",这么着:"zhè me zhāo",少奶奶:"shào nǎi nai",暗地里:"àn dì lǐ",更年期:"gēng nián qī",工作量:"gōng zuò liàng",背地里:"bèi dì lǐ",山里红:"shān li hóng",好好儿:"hǎo hāo er",交响乐:"jiāo xiǎng yuè",好意思:"hǎo yì si",吐谷浑:"tǔ yù hún",没意思:"méi yì si",理发师:"lǐ fà shī",塔什干:"tǎ shí gān",充其量:"chōng qí liàng",靠得住:"kào de zhù",车行道:"chē xíng dào",人行道:"rén xíng dào",中郎将:"zhōng láng jiàng",照明弹:"zhào míng dàn",烟幕弹:"yān mù dàn",没奈何:"mò nài hé",乱哄哄:"luàn hōng hōng",惠更斯:"huì gēng sī",载重量:"zài zhòng liàng",瞧得起:"qiáo de qǐ",纪传体:"jì zhuàn tǐ",阿房宫:"ē páng gōng",卷心菜:"juǎn xīn cài",戏班子:"xì bān zi",过得去:"guò de qù",花岗石:"huā gāng shí",外甥女:"wài sheng nǚ",团团转:"tuán tuán zhuàn",大堡礁:"dà bǎo jiāo",燃烧弹:"rán shāo dàn",劳什子:"láo shí zi",摇滚乐:"yáo gǔn yuè",夹竹桃:"jiā zhú táo",闹哄哄:"nào hōng hōng",三连冠:"sān lián guàn",重头戏:"zhòng tóu xì",二人转:"èr rén zhuàn",节骨眼:"jiē gǔ yǎn",知识面:"zhī shi miàn",护士长:"hù shi zhǎng",信号弹:"xìn hào dàn",干电池:"gān diàn chí",枪杆子:"qiāng gǎn zi",哭丧棒:"kū sāng bàng",鼻咽癌:"bí yān ái",瓦岗军:"wǎ gāng jūn",买得起:"mǎi de qǐ",癞蛤蟆:"lài há ma",脊梁骨:"jǐ liang gǔ",子母弹:"zǐ mǔ dàn",开小差:"kāi xiǎo chāi",女强人:"nǚ qiáng rén",英雄传:"yīng xióng zhuàn",爵士乐:"jué shì yuè",说笑话:"shuō xiào hua",碰头会:"pèng tóu huì",玻璃钢:"bō li gāng",曳光弹:"yè guāng dàn",少林拳:"shào lín quán",咏叹调:"yǒng tàn diào",少先队:"shào xiān duì",灵长目:"líng zhǎng mù",对着干:"duì zhe gàn",蒙蒙亮:"méng méng liàng",软骨头:"ruǎn gǔ tou",铺盖卷:"pū gài juǎn",和稀泥:"huò xī ní",背黑锅:"bēi hēi guō",红彤彤:"hóng tōng tōng",武侯祠:"wǔ hóu cí",打哆嗦:"dǎ duō suo",户口簿:"hù kǒu bù",马尾藻:"mǎ wěi zǎo",夜猫子:"yè māo zi",打手势:"dǎ shǒu shì",龙王爷:"lóng wáng yé",气头上:"qì tóu shang",糊涂虫:"hú tu chóng",笔杆子:"bǐ gǎn zi",占便宜:"zhàn pián yi",打主意:"dǎ zhǔ yì",多弹头:"duō dàn tóu",露一手:"lòu yì shǒu",堰塞湖:"yàn sè hú",保得住:"bǎo de zhù",趵突泉:"bào tū quán",奥得河:"ào de hé",司务长:"sī wù zhǎng",禁不起:"jīn bù qǐ",什刹海:"shí chà hǎi",莲花落:"lián huā lào",见世面:"jiàn shì miàn",豁出去:"huō chū qù",电位差:"diàn wèi chā",挨个儿:"āi gè er",那阵儿:"nà zhèn er",肺活量:"fèi huó liàng",大师傅:"dà shī fu",掷弹筒:"zhì dàn tǒng",打呼噜:"dǎ hū lu",广渠门:"ān qú mén",未见得:"wèi jiàn dé",大婶儿:"dà shěn er",谈得来:"tán de lái",脚丫子:"jiǎo yā zi",空包弹:"kōng bāo dàn",窝里斗:"wō li dòu",弹着点:"dàn zhuó diǎn",个头儿:"gè tóu er",看得起:"kàn de qǐ",糊涂账:"hú tu zhàng",大猩猩:"dà xīng xing",禁得起:"jīn de qǐ",法相宗:"fǎ xiàng zōng",可怜相:"kě lián xiàng",吃得下:"chī de xià",汉堡包:"hàn bǎo bāo",闹嚷嚷:"nào rāng rāng",数来宝:"shǔ lái bǎo",合得来:"hé de lái",干性油:"gān xìng yóu",闷葫芦:"mèn hú lu",呱呱叫:"guā guā jiào",西洋参:"xī yáng shēn",林荫道:"lín yīn dào",拉家常:"lā jiā cháng",卷铺盖:"juǎn pū gài",过得硬:"guò de yìng",飞将军:"fēi jiāng jūn",挑大梁:"tiǎo dà liáng",哈巴狗:"hǎ ba gǒu",过家家:"guò jiā jiā",催泪弹:"cuī lèi dàn",雨夹雪:"yǔ jiā xuě",敲竹杠:"qiāo zhú gàng",列车长:"liè chē zhǎng",华达呢:"huá dá ní",犯得着:"fàn de zháo",土疙瘩:"tǔ gē da",煞风景:"shā fēng jǐng",轻量级:"qīng liàng jí",羞答答:"xiū dā dā",石子儿:"shí zǐ er",达姆弹:"dá mǔ dàn",科教片:"kē jiào piān",侃大山:"kǎn dà shān",丁点儿:"dīng diǎn er",吃得消:"chī de xiāo",捋虎须:"luō hǔ xū",高丽参:"gāo lí shēn",众生相:"zhòng shēng xiàng",咽峡炎:"yān xiá yán",禁得住:"jīn de zhù",吃得开:"chī de kāi",柞丝绸:"zuò sī chóu",应声虫:"yìng shēng chóng",数得着:"shǔ de zháo",傻劲儿:"shǎ jìn er",铅玻璃:"qiān bō li",可的松:"kě dì sōng",划得来:"huá de lái",晕乎乎:"yūn hū hū",屎壳郎:"shǐ ke làng",尥蹶子:"liào juě zi",藏红花:"zàng hóng huā",闷罐车:"mèn guàn chē",卡脖子:"qiǎ bó zi",红澄澄:"hóng deng deng",赶得及:"gǎn de jí",当间儿:"dāng jiàn er",露马脚:"lòu mǎ jiǎo",鸡内金:"jī nèi jīn",犯得上:"fàn de shàng",钉齿耙:"dīng chǐ bà",饱和点:"bǎo hé diǎn",龙爪槐:"lóng zhǎo huái",喝倒彩:"hè dào cǎi",定冠词:"dìng guàn cí",担担面:"dàn dan miàn",吃得住:"chī de zhù",爪尖儿:"zhuǎ jiān er",支着儿:"zhī zhāo er",折跟头:"zhē gēn tou",阴着儿:"yīn zhāo er",烟卷儿:"yān juǎn er",宣传弹:"xuān chuán dàn",信皮儿:"xìn pí er",弦切角:"xián qiē jiǎo",缩砂密:"sù shā mì",说得来:"shuō de lái",水漂儿:"shuǐ piāo er",耍笔杆:"shuǎ bǐ gǎn",数得上:"shǔ de shàng",数不着:"shǔ bù zháo",数不清:"shǔ bù qīng",什件儿:"shí jiàn er",生死簿:"shēng sǐ bù",扇风机:"shān fēng jī",撒呓挣:"sā yì zheng",日记簿:"rì jì bù",热得快:"rè de kuài",亲家公:"qìng jia gōng",奇函数:"jī hán shù",拍纸簿:"pāi zhǐ bù",努劲儿:"nǔ jìn er",泥娃娃:"ní wá wa",内切圆:"nèi qiē yuán",哪会儿:"nǎ huì er",闷头儿:"mēn tóu er",没谱儿:"méi pǔ er",铆劲儿:"mǎo jìn er",溜肩膀:"liū jiān bǎng",了望台:"liào wàng tái",老来少:"lǎo lái shào",坤角儿:"kūn jué er",考勤簿:"kǎo qín bù",卷笔刀:"juǎn bǐ dāo",进给量:"jìn jǐ liàng",划不来:"huá bù lái",汗褂儿:"hàn guà er",鼓囊囊:"gǔ nāng nāng",够劲儿:"gòu jìn er",公切线:"gōng qiē xiàn",搁得住:"gé de zhù",赶浪头:"gǎn làng tóu",赶得上:"gǎn de shàng",干酵母:"gān jiào mǔ",嘎渣儿:"gā zhā er",嘎嘣脆:"gā bēng cuì",对得住:"duì de zhù",逗闷子:"dòu mèn zi",顶呱呱:"dǐng guā guā",滴溜儿:"dī liù er",大轴子:"dà zhòu zi",打板子:"dǎ bǎn zi",寸劲儿:"cùn jìn er",醋劲儿:"cù jìn er",揣手儿:"chuāi shǒu er",冲劲儿:"chòng jìn er",吃得来:"chī de lái",不更事:"bù gēng shì",奔头儿:"bèn tou er",百夫长:"bǎi fū zhǎng",娃娃亲:"wá wa qīn",死劲儿:"sǐ jìn er",骨朵儿:"gū duǒ er",功劳簿:"gōng láo bù",都江堰:"dū jiāng yàn",一担水:"yí dàn shuǐ",否极泰:"pǐ jí tài",泰来否:"tài lái pǐ",咳特灵:"ké tè líng",开户行:"kāi hù háng",郦食其:"lì yì jī",花事了:"huā shì liǎo",一更更:"yì gēng gēng",一重山:"yì chóng shān",风一更:"fēng yì gēng",雪一更:"xuě yì gēng",归一码:"guī yì mǎ",星期一:"xīng qī yī",礼拜一:"lǐ bài yī",一季度:"yī jì dù",一月一:"yī yuè yī",一字马:"yī zì mǎ",一是一:"yī shì yī",一次方:"yī cì fāng",一阳指:"yī yáng zhǐ",一字决:"yī zì jué",一年级:"yī nián jí",一不做:"yī bú zuò",屈戌儿:"qū qu ér",难为水:"nán wéi shuǐ",难为情:"nán wéi qíng",行一行:"xíng yì háng",别别的:"biè bié de",干哪行:"gàn nǎ háng",干一行:"gàn yì háng",曲别针:"qū bié zhēn"},d_0=Object.keys(p_0).map(($)=>({zh:$,pinyin:p_0[$],probability:0.00000002,length:3,priority:r4.Normal,dict:Symbol("dict3")}))});var l_0,o_0;var r_0=m(()=>{a$();l_0={成吉思汗:"chéng jí sī hán",四通八达:"sì tōng bā dá",一模一样:"yì mú yí yàng",青藏高原:"qīng zàng gāo yuán",阿弥陀佛:"ē mí tuó fó",解放思想:"jiè fàng sī xiǎng",所作所为:"suǒ zuò suǒ wéi",迷迷糊糊:"mí mí hu hū",荷枪实弹:"hè qiāng shí dàn",兴高采烈:"xìng gāo cǎi liè",无能为力:"wú néng wéi lì",布鲁塞尔:"bù lǔ sài ěr",为所欲为:"wéi suǒ yù wéi",克什米尔:"kè shí mǐ ěr",没完没了:"méi wán méi liǎo",不为人知:"bù wéi rén zhī",结结巴巴:"jiē jiē bā bā",前仆后继:"qián pū hòu jì",铺天盖地:"pū tiān gài dì",直截了当:"zhí jié liǎo dàng",供不应求:"gōng bú yìng qiú",御史大夫:"yù shǐ dà fū",不为瓦全:"bù wéi wǎ quán",不可收拾:"bù kě shōu shi",胡作非为:"hú zuò fēi wéi",分毫不差:"fēn háo bú chà",模模糊糊:"mó mó hu hū",不足为奇:"bù zú wéi qí",悄无声息:"qiǎo wú shēng xī",了如指掌:"liǎo rú zhǐ zhǎng",深恶痛绝:"shēn wù tòng jué",高高兴兴:"gāo gāo xìng xìng",唉声叹气:"āi shēng tàn qì",汉藏语系:"hàn zàng yǔ xì",处心积虑:"chǔ xīn jī lǜ",泣不成声:"qì bù chéng shēng",半夜三更:"bàn yè sān gēng",失魂落魄:"shī hún luò pò",二十八宿:"èr shí bā xiù",转来转去:"zhuàn lái zhuàn qù",数以万计:"shǔ yǐ wàn jì",相依为命:"xiāng yī wéi mìng",恋恋不舍:"liàn liàn bù shě",屈指可数:"qū zhǐ kě shǔ",神出鬼没:"shén chū guǐ mò",结结实实:"jiē jiē shí shí",有的放矢:"yǒu dì fàng shǐ",叽哩咕噜:"jī lǐ gū lū",调兵遣将:"diào bīng qiǎn jiàng",载歌载舞:"zài gē zài wǔ",转危为安:"zhuǎn wēi wéi ān",踏踏实实:"tā tā shi shí",桑给巴尔:"sāng jǐ bā ěr",装模作样:"zhuāng mú zuò yàng",见义勇为:"jiàn yì yǒng wéi",相差无几:"xiāng chā wú jǐ",叹为观止:"tàn wéi guān zhǐ",闷闷不乐:"mèn mèn bú lè",喜怒哀乐:"xǐ nù āi lè",鲜为人知:"xiǎn wéi rén zhī",张牙舞爪:"zhāng yá wǔ zhǎo",为非作歹:"wéi fēi zuò dǎi",含糊其辞:"hán hú qí cí",疲于奔命:"pí yú bēn mìng",勉为其难:"miǎn wéi qí nán",依依不舍:"yī yī bù shě",顶头上司:"dǐng tóu shàng si",不着边际:"bù zhuó biān jì",大模大样:"dà mú dà yàng",寻欢作乐:"xún huān zuò lè",一走了之:"yì zǒu liǎo zhī",字里行间:"zì lǐ háng jiān",含含糊糊:"hán hán hu hū",恰如其分:"qià rú qí fèn",破涕为笑:"pò tì wéi xiào",深更半夜:"shēn gēng bàn yè",千差万别:"qiān chā wàn bié",数不胜数:"shǔ bú shèng shǔ",据为己有:"jù wéi jǐ yǒu",天旋地转:"tiān xuán dì zhuàn",养尊处优:"yǎng zūn chǔ yōu",玻璃纤维:"bō li xiān wéi",吵吵闹闹:"chāo chao nào nào",晕头转向:"yūn tóu zhuàn xiàng",土生土长:"tǔ shēng tǔ zhǎng",宁死不屈:"nìng sǐ bù qū",不省人事:"bù xǐng rén shì",尽力而为:"jìn lì ér wéi",精明强干:"jīng míng qiáng gàn",唠唠叨叨:"láo lao dāo dāo",叽叽喳喳:"jī ji zhā zhā",功不可没:"gōng bù kě mò",锲而不舍:"qiè ér bù shě",排忧解难:"pái yōu jiě nàn",稀里糊涂:"xī li hú tú",各有所长:"gè yǒu suǒ cháng",的的确确:"dí dí què què",哄堂大笑:"hōng táng dà xiào",听而不闻:"tīng ér bù wén",刀耕火种:"dāo gēng huǒ zhòng",内分泌腺:"nèi fèn mì xiàn",化险为夷:"huà xiǎn wéi yí",百发百中:"bǎi fā bǎi zhòng",重见天日:"chóng jiàn tiān rì",反败为胜:"fǎn bài wéi shèng",一了百了:"yì liǎo bǎi liǎo",大大咧咧:"dà da liē liē",心急火燎:"xīn jí huǒ liǎo",粗心大意:"cū xīn dà yi",鸡皮疙瘩:"jī pí gē da",夷为平地:"yí wéi píng dì",日积月累:"rì jī yuè lěi",设身处地:"shè shēn chǔ dì",投其所好:"tóu qí suǒ hào",间不容发:"jiān bù róng fà",人满为患:"rén mǎn wéi huàn",穷追不舍:"qióng zhuī bù shě",为时已晚:"wéi shí yǐ wǎn",如数家珍:"rú shǔ jiā zhēn",心里有数:"xīn lǐ yǒu shù",以牙还牙:"yǐ yá huán yá",神不守舍:"shén bù shǒu shě",孟什维克:"mèng shí wéi kè",各自为战:"gè zì wéi zhàn",怨声载道:"yuàn shēng zài dào",救苦救难:"jiù kǔ jiù nàn",好好先生:"hǎo hǎo xiān sheng",怪模怪样:"guài mú guài yàng",抛头露面:"pāo tóu lù miàn",游手好闲:"yóu shǒu hào xián",无所不为:"wú suǒ bù wéi",调虎离山:"diào hǔ lí shān",步步为营:"bù bù wéi yíng",好大喜功:"hào dà xǐ gōng",众矢之的:"zhòng shǐ zhī dì",长生不死:"cháng shēng bù sǐ",蔚为壮观:"wèi wéi zhuàng guān",不可胜数:"bù kě shèng shǔ",鬼使神差:"guǐ shǐ shén chāi",洁身自好:"jié shēn zì hào",敢作敢为:"gǎn zuò gǎn wéi",茅塞顿开:"máo sè dùn kāi",走马换将:"zǒu mǎ huàn jiàng",为时过早:"wéi shí guò zǎo",为人师表:"wéi rén shī biǎo",阴差阳错:"yīn chā yáng cuò",油腔滑调:"yóu qiāng huá diào",重蹈覆辙:"chóng dǎo fù zhé",骂骂咧咧:"mà ma liē liē",絮絮叨叨:"xù xù dāo dāo",如履薄冰:"rú lǚ bó bīng",损兵折将:"sǔn bīng zhé jiàng",拐弯抹角:"guǎi wān mò jiǎo",像模像样:"xiàng mú xiàng yàng",供过于求:"gōng guò yú qiú",开花结果:"kāi huā jiē guǒ",仔仔细细:"zǐ zǐ xì xì",川藏公路:"chuān zàng gōng lù",河北梆子:"hé běi bāng zi",长年累月:"cháng nián lěi yuè",正儿八经:"zhèng er bā jīng",不识抬举:"bù shí tái ju",重振旗鼓:"chóng zhèn qí gǔ",气息奄奄:"qì xī yān yān",紧追不舍:"jǐn zhuī bù shě",服服帖帖:"fú fu tiē tiē",强词夺理:"qiǎng cí duó lǐ",噼里啪啦:"pī li pā lā",人才济济:"rén cái jǐ jǐ",发人深省:"fā rén shēn xǐng",不足为凭:"bù zú wéi píng",为富不仁:"wéi fù bù rén",连篇累牍:"lián piān lěi dú",呼天抢地:"hū tiān qiāng dì",落落大方:"luò luò dà fāng",自吹自擂:"zì chuī zì léi",乐善好施:"lè shàn hào shī",以攻为守:"yǐ gōng wéi shǒu",磨磨蹭蹭:"mó mó cèng cèng",削铁如泥:"xuē tiě rú ní",助纣为虐:"zhù zhòu wéi nüè",以退为进:"yǐ tuì wéi jìn",嘁嘁喳喳:"qī qī chā chā",枪林弹雨:"qiāng lín dàn yǔ",令人发指:"lìng rén fà zhǐ",转败为胜:"zhuǎn bài wéi shèng",转弯抹角:"zhuǎn wān mò jiǎo",在劫难逃:"zài jié nán táo",正当防卫:"zhèng dàng fáng wèi",不足为怪:"bù zú wéi guài",难兄难弟:"nàn xiōng nàn dì",咿咿呀呀:"yī yī yā yā",弹尽粮绝:"dàn jìn liáng jué",阿谀奉承:"ē yú fèng chéng",稀里哗啦:"xī li huā lā",返老还童:"fǎn lǎo huán tóng",好高骛远:"hào gāo wù yuǎn",鹿死谁手:"lù sǐ shéi shǒu",差强人意:"chā qiáng rén yì",大吹大擂:"dà chuī dà léi",成家立业:"chéng jiā lì yè",自怨自艾:"zì yuàn zì yì",负债累累:"fù zhài lěi lěi",古为今用:"gǔ wéi jīn yòng",入土为安:"rù tǔ wéi ān",下不为例:"xià bù wéi lì",一哄而上:"yì hōng ér shàng",没头苍蝇:"méi tóu cāng ying",天差地远:"tiān chā dì yuǎn",风卷残云:"fēng juǎn cán yún",多灾多难:"duō zāi duō nàn",乳臭未干:"rǔ xiù wèi gān",行家里手:"háng jiā lǐ shǒu",狼狈为奸:"láng bèi wéi jiān",处变不惊:"chǔ biàn bù jīng",一唱一和:"yí chàng yí hè",一念之差:"yí niàn zhī chā",金蝉脱壳:"jīn chán tuō qiào",滴滴答答:"dī dī dā dā",硕果累累:"shuò guǒ léi léi",好整以暇:"hào zhěng yǐ xiá",红得发紫:"hóng de fā zǐ",传为美谈:"chuán wéi měi tán",富商大贾:"fù shāng dà gǔ",四海为家:"sì hǎi wéi jiā",了若指掌:"liǎo ruò zhǐ zhǎng",大有可为:"dà yǒu kě wéi",出头露面:"chū tóu lù miàn",鼓鼓囊囊:"gǔ gu nāng nāng",窗明几净:"chuāng míng jī jìng",泰然处之:"tài rán chǔ zhī",怒发冲冠:"nù fà chōng guān",有机玻璃:"yǒu jī bō li",骨头架子:"gǔ tou jià zi",义薄云天:"yì bó yún tiān",一丁点儿:"yī dīng diǎn er",时来运转:"shí lái yùn zhuǎn",陈词滥调:"chén cí làn diào",化整为零:"huà zhěng wéi líng",火烧火燎:"huǒ shāo huǒ liǎo",干脆利索:"gàn cuì lì suǒ",吊儿郎当:"diào er láng dāng",广种薄收:"guǎng zhòng bó shōu",种瓜得瓜:"zhòng guā dé guā",种豆得豆:"zhòng dòu dé dòu",难舍难分:"nán shě nán fēn",歃血为盟:"shà xuè wéi méng",奋发有为:"fèn fā yǒu wéi",阴错阳差:"yīn cuò yáng chā",东躲西藏:"dōng duǒ xī cáng",烟熏火燎:"yān xūn huǒ liǎo",钻牛角尖:"zuān niú jiǎo jiān",乔装打扮:"qiáo zhuāng dǎ bàn",改弦更张:"gǎi xián gēng zhāng",河南梆子:"hé nán bāng zi",好吃懒做:"hào chī lǎn zuò",何乐不为:"hé lè bù wéi",大出风头:"dà chū fēng tóu",攻城掠地:"gōng chéng lüè dì",漂漂亮亮:"piào piào liang liang",折衷主义:"zhé zhōng zhǔ yì",大马哈鱼:"dà mǎ hǎ yú",绿树成荫:"lǜ shù chéng yīn",率先垂范:"shuài xiān chuí fàn",家长里短:"jiā cháng lǐ duǎn",宽大为怀:"kuān dà wéi huái",左膀右臂:"zuǒ bǎng yòu bì",一笑了之:"yí xiào liǎo zhī",天下为公:"tiān xià wéi gōng",还我河山:"huán wǒ hé shān",何足为奇:"hé zú wéi qí",好自为之:"hǎo zì wéi zhī",风姿绰约:"fēng zī chuò yuē",大雨滂沱:"dà yǔ pāng tuó",传为佳话:"chuán wéi jiā huà",吃里扒外:"chī lǐ pá wài",重操旧业:"chóng cāo jiù yè",小家子气:"xiǎo jiā zi qì",少不更事:"shào bù gēng shì",难分难舍:"nán fēn nán shě",添砖加瓦:"tiān zhuān jiā wǎ",是非分明:"shì fēi fēn míng",舍我其谁:"shě wǒ qí shuí",偏听偏信:"piān tīng piān xìn",量入为出:"liàng rù wéi chū",降龙伏虎:"xiáng lóng fú hǔ",钢化玻璃:"gāng huà bō li",正中下怀:"zhèng zhòng xià huái",以身许国:"yǐ shēn xǔ guó",一语中的:"yì yǔ zhòng dì",丧魂落魄:"sàng hún luò pò",三座大山:"sān zuò dà shān",济济一堂:"jǐ jǐ yì táng",好事之徒:"hào shì zhī tú",干净利索:"gàn jìng lì suǒ",出将入相:"chū jiàng rù xiàng",袅袅娜娜:"niǎo niǎo nuó nuó",狐狸尾巴:"hú li wěi ba",好逸恶劳:"hào yì wù láo",大而无当:"dà ér wú dàng",打马虎眼:"dǎ mǎ hu yǎn",板上钉钉:"bǎn shàng dìng dīng",吆五喝六:"yāo wǔ hè liù",虾兵蟹将:"xiā bīng xiè jiàng",水调歌头:"shuǐ diào gē tóu",数典忘祖:"shǔ diǎn wàng zǔ",人事不省:"rén shì bù xǐng",曲高和寡:"qǔ gāo hè guǎ",屡教不改:"lǚ jiào bù gǎi",互为因果:"hù wéi yīn guǒ",互为表里:"hù wéi biǎo lǐ",厚此薄彼:"hòu cǐ bó bǐ",过关斩将:"guò guān zhǎn jiàng",疙疙瘩瘩:"gē ge dā dā",大腹便便:"dà fù pián pián",走为上策:"zǒu wéi shàng cè",冤家对头:"yuān jia duì tóu",有隙可乘:"yǒu xì kě chèng",一鳞半爪:"yì lín bàn zhǎo",片言只语:"piàn yán zhǐ yǔ",开花结实:"kāi huā jié shí",经年累月:"jīng nián lěi yuè",含糊其词:"hán hú qí cí",寡廉鲜耻:"guǎ lián xiǎn chǐ",成年累月:"chéng nián lěi yuè",不徇私情:"bú xùn sī qíng",不当人子:"bù dāng rén zǐ",膀大腰圆:"bǎng dà yāo yuán",指腹为婚:"zhǐ fù wéi hūn",这么点儿:"zhè me diǎn er",意兴索然:"yì xīng suǒ rán",绣花枕头:"xiù huā zhěn tou",无的放矢:"wú dì fàng shǐ",望闻问切:"wàng wén wèn qiè",舍己为人:"shě jǐ wèi rén",穷年累月:"qióng nián lěi yuè",排难解纷:"pái nàn jiě fēn",处之泰然:"chǔ zhī tài rán",指鹿为马:"zhǐ lù wéi mǎ",危如累卵:"wēi rú lěi luǎn",天兵天将:"tiān bīng tiān jiàng",舍近求远:"shě jìn qiú yuǎn",南腔北调:"nán qiāng běi diào",苦中作乐:"kǔ zhōng zuò lè",厚积薄发:"hòu jī bó fā",臭味相投:"xiù wèi xiāng tóu",长幼有序:"zhǎng yòu yǒu xù",逼良为娼:"bī liáng wéi chāng",悲悲切切:"bēi bēi qiè qiē",败军之将:"bài jūn zhī jiàng",欺行霸市:"qī háng bà shì",削足适履:"xuē zú shì lǚ",先睹为快:"xiān dǔ wéi kuài",啼饥号寒:"tí jī háo hán",疏不间亲:"shū bú jiàn qīn",神差鬼使:"shén chāi guǐ shǐ",敲敲打打:"qiāo qiāo dǎ dǎ",平铺直叙:"píng pū zhí xù",没头没尾:"méi tóu mò wěi",寥寥可数:"liáo liáo kě shǔ",哼哈二将:"hēng hā èr jiàng",鹤发童颜:"hè fà tóng yán",各奔前程:"gè bèn qián chéng",弹无虚发:"dàn wú xū fā",大人先生:"dà rén xiān sheng",与民更始:"yǔ mín gēng shǐ",树碑立传:"shù bēi lì zhuàn",是非得失:"shì fēi dé shī",实逼处此:"shí bī chǔ cǐ",塞翁失马:"sài wēng shī mǎ",日薄西山:"rì bó xī shān",切身体会:"qiè shēn tǐ huì",片言只字:"piàn yán zhǐ zì",跑马卖解:"pǎo mǎ mài xiè",宁折不弯:"nìng zhé bù wān",零零散散:"líng líng sǎn sǎn",量体裁衣:"liàng tǐ cái yī",连中三元:"lián zhòng sān yuán",礼崩乐坏:"lǐ bēng yuè huài",不为已甚:"bù wéi yǐ shèn",转悲为喜:"zhuǎn bēi wéi xǐ",以眼还眼:"yǐ yǎn huán yǎn",蔚为大观:"wèi wéi dà guān",未为不可:"wèi wéi bù kě",童颜鹤发:"tóng yán hè fà",朋比为奸:"péng bǐ wéi jiān",莫此为甚:"mò cǐ wéi shèn",夹枪带棒:"jiā qiāng dài bàng",富商巨贾:"fù shāng jù jiǎ",淡然处之:"dàn rán chǔ zhī",箪食壶浆:"dān shí hú jiāng",创巨痛深:"chuāng jù tòng shēn",草长莺飞:"cǎo zhǎng yīng fēi",坐视不救:"zuò shī bú jiù",以己度人:"yǐ jǐ duó rén",随行就市:"suí háng jiù shì",文以载道:"wén yǐ zài dào",文不对题:"wén bú duì tí",铁板钉钉:"tiě bǎn dìng dīng",身体发肤:"shēn tǐ fà fū",缺吃少穿:"quē chī shǎo chuān",目无尊长:"mù wú zūn zhǎng",吉人天相:"jí rén tiān xiàng",毁家纾难:"huǐ jiā shū nàn",钢筋铁骨:"gāng jīn tiě gǔ",丢卒保车:"diū zú bǎo jū",丢三落四:"diū sān là sì",闭目塞听:"bì mù sè tīng",削尖脑袋:"xuē jiān nǎo dài",为非作恶:"wéi fēi zuò è",人才难得:"rén cái nán dé",情非得已:"qíng fēi dé yǐ",切中要害:"qiè zhòng yào hài",火急火燎:"huǒ jí huǒ liǎo",画地为牢:"huà dì wéi láo",好酒贪杯:"hào jiǔ tān bēi",长歌当哭:"cháng gē dàng kū",载沉载浮:"zài chén zài fú",遇难呈祥:"yù nàn chéng xiáng",榆木疙瘩:"yú mù gē da",以邻为壑:"yǐ lín wéi hè",洋为中用:"yáng wéi zhōng yòng",言为心声:"yán wéi xīn shēng",言必有中:"yán bì yǒu zhòng",图穷匕见:"tú qióng bǐ xiàn",滂沱大雨:"páng tuó dà yǔ",目不暇给:"mù bù xiá jǐ",量才录用:"liàng cái lù yòng",教学相长:"jiào xué xiāng zhǎng",悔不当初:"huǐ bù dāng chū",呼幺喝六:"hū yāo hè liù",不足为训:"bù zú wéi xùn",不拘形迹:"bù jū xíng jī",傍若无人:"páng ruò wú rén",罪责难逃:"zuì zé nán táo",自我吹嘘:"zì wǒ chuī xū",转祸为福:"zhuǎn huò wéi fú",勇冠三军:"yǒng guàn sān jūn",易地而处:"yì dì ér chǔ",卸磨杀驴:"xiè mò shā lǘ",玩儿不转:"wán ér bú zhuàn",天道好还:"tiān dào hǎo huán",身单力薄:"shēn dān lì bó",撒豆成兵:"sǎ dòu chéng bīng",片纸只字:"piàn zhǐ zhī zì",宁缺毋滥:"nìng quē wú làn",没没无闻:"mò mò wú wén",量力而为:"liàng lì ér wéi",历历可数:"lì lì kě shǔ",口碑载道:"kǒu bēi zài dào",君子好逑:"jūn zǐ hǎo qiú",好为人师:"hào wéi rén shī",豪商巨贾:"háo shāng jù jiǎ",各有所好:"gè yǒu suǒ hào",度德量力:"duó dé liàng lì",指天为誓:"zhǐ tiān wéi shì",逸兴遄飞:"yì xìng chuán fēi",心宽体胖:"xīn kuān tǐ pán",为德不卒:"wéi dé bù zú",天下为家:"tiān xià wéi jiā",视为畏途:"shì wéi wèi tú",三灾八难:"sān zāi bā nàn",沐猴而冠:"mù hóu ér guàn",哩哩啦啦:"lī li lā lā",见缝就钻:"jiàn fèng jiù zuān",夹层玻璃:"jiā céng bō li",急公好义:"jí gōng hào yì",积年累月:"jī nián lěi yuè",划地为牢:"huá dì wéi láo",更名改姓:"gēng míng gǎi xìng",奉为圭臬:"fèng wéi guī niè",多难兴邦:"duō nàn xīng bāng",不破不立:"bú pò bú lì",坐地自划:"zuò dì zì huá",坐不重席:"zuò bù chóng xí",坐不窥堂:"zuò bù kuī táng",作嫁衣裳:"zuò jià yī shang",左枝右梧:"zuǒ zhī yòu wú",左宜右有:"zuǒ yí yòu yǒu",钻头觅缝:"zuān tóu mì fèng",钻天打洞:"zuān tiān dǎ dòng",钻皮出羽:"zuān pí chū yǔ",钻火得冰:"zuān huǒ dé bīng",钻洞觅缝:"zuàn dòng mì féng",钻冰求火:"zuān bīng qiú huǒ",子为父隐:"zǐ wéi fù yǐn",擢发难数:"zhuó fà nán shǔ",着人先鞭:"zhuó rén xiān biān",斫雕为朴:"zhuó diāo wéi pǔ",锥处囊中:"zhuī chǔ náng zhōng",椎心饮泣:"chuí xīn yǐn qì",椎心泣血:"chuí xīn qì xuè",椎牛飨士:"chuí niú xiǎng shì",椎牛歃血:"chuí niú shà xuè",椎牛发冢:"chuí niú fà zhǒng",椎埋屠狗:"chuí mái tú gǒu",椎埋狗窃:"chuí mái gǒu qiè",壮发冲冠:"zhuàng fā chōng guàn",庄严宝相:"zhuāng yán bǎo xiàng",转愁为喜:"zhuǎn chóu wéi xǐ",转嗔为喜:"zhuǎn chēn wéi xǐ",拽巷啰街:"zhuài xiàng luó jiē",拽耙扶犁:"zhuāi pá fú lí",拽布拖麻:"zhuài bù tuō má",箸长碗短:"zhù cháng wǎn duǎn",铸剑为犁:"zhù jiàn wéi lí",杼柚其空:"zhù yòu qí kōng",杼柚空虚:"zhù yòu kōng xū",助天为虐:"zhù tiān wéi nüè",属垣有耳:"zhǔ yuán yǒu ěr",属毛离里:"zhǔ máo lí lǐ",属辞比事:"zhǔ cí bǐ shì",逐物不还:"zhú wù bù huán",铢量寸度:"zhū liáng cùn duó",铢两悉称:"zhū liǎng xī chèn",侏儒观戏:"zhū rú guān xì",朱轓皁盖:"zhū fān zào gài",昼度夜思:"zhòu duó yè sī",诪张为幻:"zhōu zhāng wéi huàn",重明继焰:"chóng míng jì yàn",众啄同音:"zhòng zhuó tóng yīn",众毛攒裘:"zhòng máo cuán qiú",众好众恶:"zhòng hào zhòng wù",擿埴索涂:"zhāi zhí suǒ tú",稚齿婑媠:"zhì chǐ wǒ tuó",至当不易:"zhì dàng bú yì",指皂为白:"zhǐ zào wéi bái",指雁为羹:"zhǐ yàn wéi gēng",指树为姓:"zhǐ shù wéi xìng",指山说磨:"zhǐ shān shuō mò",止戈为武:"zhǐ gē wéi wǔ",枝干相持:"zhī gàn xiāng chí",枝大于本:"zh dà yú běn",支吾其词:"zhī wú qí cí",正身率下:"zhèng shēn shuài xià",正冠李下:"zhèng guàn lǐ xià",整冠纳履:"zhěng guān nà lǚ",整躬率物:"zhěng gōng shuài wù",整顿干坤:"zhěng dùn gàn kūn",针头削铁:"zhēn tóu xuē tiě",贞松劲柏:"zhēn sōng jìng bǎi",赭衣塞路:"zhě yī sè lù",折箭为誓:"shé jiàn wéi shì",折而族之:"zhé ér zú zhī",昭德塞违:"zhāo dé sè wéi",章句小儒:"zhāng jù xiǎo rú",湛恩汪濊:"zhàn ēn wāng huì",占风望气:"zhān fēng wàng qì",斩将搴旗:"zhǎn jiàng qiān qí",曾母投杼:"zēng mǔ tóu zhù",曾参杀人:"zēng shēn shā rén",造谣中伤:"zào yáo zhòng shāng",早占勿药:"zǎo zhān wù yào",凿龟数策:"záo guī shǔ cè",攒三聚五:"cuán sān jù wǔ",攒眉蹙额:"cuán mei cù é",攒零合整:"cuán líng hé zhěng",攒锋聚镝:"cuán fēng jù dí",载笑载言:"zài xiào zài yán",载酒问字:"zài jiǔ wèn zì",殒身不恤:"yǔn shēn bú xù",云舒霞卷:"yún shū xiá juǎn",月中折桂:"yuè zhōng shé guì",月落参横:"yuè luò shēn héng",鬻驽窃价:"yù nú qiè jià",鬻鸡为凤:"yù jī wéi fèng",遇难成祥:"yù nàn chéng xiáng",郁郁累累:"yù yù lěi lěi",玉卮无当:"yù zhī wú dàng",语笑喧阗:"yǔ xiào xuān tián",与世沉浮:"yǔ shì chén fú",与时消息:"yǔ shí xiāo xi",逾墙钻隙:"yú qiáng zuān xì",渔夺侵牟:"yú duó qīn móu",杅穿皮蠹:"yú chuān pí dù",余勇可贾:"yú yǒng kě gǔ",予智予雄:"yú zhì yú xióng",予取予求:"yú qǔ yú qiú",于家为国:"yú jiā wéi guó",有借无还:"yǒu jiè wú huán",有加无已:"yǒu jiā wú yǐ",有国难投:"yǒu guó nán tóu",游必有方:"yóu bì yǒu fāng",油干灯尽:"yóu gàn dēng jìn",尤云殢雨:"yóu yún tì yǔ",庸中皦皦:"yōng zhōng jiǎo jiǎo",郢书燕说:"yǐng shū yān shuō",营蝇斐锦:"yíng yíng fēi jǐn",鹰心雁爪:"yīng xīn yàn zhǎo",莺吟燕儛:"yīng yín yàn wǔ",应天顺时:"yīng tiān shùn shí",印累绶若:"yìn léi shòu ruò",隐占身体:"yǐn zhàn shēn tǐ",饮犊上流:"yìn dú shàng liú",引绳切墨:"yǐn shéng qiē mò",龈齿弹舌:"yín chǐ dàn shé",因缘为市:"yīn yuán wéi shì",因树为屋:"yīn shù wéi wū",溢美溢恶:"yì měi yì wù",抑塞磊落:"yì sè lěi luò",倚闾望切:"yǐ lǘ wàng qiē",以意为之:"yǐ yì wéi zhī",以言为讳:"yǐ yán wéi huì",以疏间亲:"yǐ shū jiàn qīn",以水济水:"yǐ shuǐ jǐ shuǐ",以书为御:"yǐ shū wéi yù",以守为攻:"yǐ shǒu wéi gōng",以升量石:"yǐ shēng liáng dàn",以慎为键:"yǐ shèn wéi jiàn",以筌为鱼:"yǐ quán wéi yú",以利累形:"yǐ lì lěi xíng",以毁为罚:"yǐ huǐ wéi fá",以黑为白:"yǐ hēi wéi bái",以规为瑱:"yǐ guī wéi tiàn",以古为鉴:"yǐ gǔ wéi jiàn",以宫笑角:"yǐ gōng xiào jué",以法为教:"yǐ fǎ wéi jiào",以大恶细:"yǐ dà wù xì",遗世忘累:"yí shì wàng lěi",遗寝载怀:"yí qǐn zài huái",移的就箭:"yí dì jiù jiàn",依头缕当:"yī tóu lǚ dàng",衣租食税:"yì zū shí shuì",衣轻乘肥:"yì qīng chéng féi",衣裳之会:"yī shang zhī huì",衣单食薄:"yī dān shí bó",一还一报:"yì huán yí bào",叶公好龙:"yè gōng hào lóng",野调无腔:"yě diào wú qiāng",瑶池女使:"yáo chí nǚ shǐ",幺麽小丑:"yāo mó xiǎo chǒu",养精畜锐:"yǎng jīng xù ruì",卬首信眉:"áng shǒu shēn méi",洋洋纚纚:"yáng yáng sǎ sǎ",羊羔美酒:"yáng gāo měi jiǔ",扬风扢雅:"yáng fēng jié yǎ",燕昭市骏:"yān zhāo shì jùn",燕昭好马:"yān zhāo hǎo mǎ",燕石妄珍:"yān shí wàng zhēn",燕骏千金:"yān jùn qiān jīn",燕金募秀:"yān jīn mù xiù",燕驾越毂:"yān jià yuè gǔ",燕歌赵舞:"yān gē zhào wǔ",燕岱之石:"yān dài zhī shí",燕处危巢:"yàn chǔ wēi cháo",掞藻飞声:"shàn zǎo fēi shēng",偃革为轩:"yǎn gé wéi xuān",妍蚩好恶:"yán chī hǎo è",压良为贱:"yā liáng wéi jiàn",搀行夺市:"chān háng duó shì",泣数行下:"qì shù háng xià",当行出色:"dāng háng chū sè",秀出班行:"xiù chū bān háng",儿女成行:"ér nǚ chéng háng",大行大市:"dà háng dà shì",寻行数墨:"xún háng shǔ mò",埙篪相和:"xūn chí xiāng hè",血债累累:"xuè zhài lěi lěi",炫玉贾石:"xuàn yù gǔ shí",炫石为玉:"xuàn shí wéi yù",悬石程书:"xuán dàn chéng shū",悬狟素飡:"xuán huán sù cān",悬龟系鱼:"xuán guī xì yú",揎拳捋袖:"xuān quán luō xiù",轩鹤冠猴:"xuān hè guàn hóu",畜妻养子:"xù qī yǎng zǐ",羞人答答:"xiū rén dā dā",修鳞养爪:"xiū lín yǎng zhǎo",熊据虎跱:"xióng jù hǔ zhì",兄死弟及:"xiōng sǐ dì jí",腥闻在上:"xīng wén zài shàng",兴文匽武:"xīng wén yǎn wǔ",兴观群怨:"xìng guān qún yuàn",兴高彩烈:"xìng gāo cǎi liè",心手相应:"xīn shǒu xiāng yìng",心口相应:"xīn kǒu xiāng yīng",挟势弄权:"xié shì nòng quán",胁肩累足:"xié jiān lěi zú",校短量长:"jiào duǎn liáng cháng",小眼薄皮:"xiǎo yǎn bó pí",硝云弹雨:"xiāo yún dàn yǔ",鸮鸣鼠暴:"xiāo míng shǔ bào",削株掘根:"xuē zhū jué gēn",削铁无声:"xuē tiě wú shēng",削职为民:"xuē zhí wéi mín",削木为吏:"xuē mù wéi lì",想望风褱:"xiǎng wàng fēng huái",香培玉琢:"xiang pei yu zhuó",相鼠有皮:"xiàng shǔ yǒu pí",相时而动:"xiàng shí ér dòng",相切相磋:"xiāng qiē xiāng cuō",相女配夫:"xiàng nǚ pèi fū",相门有相:"xiàng mén yǒu xiàng",挦章撦句:"xián zhāng chě jù",先我着鞭:"xiān wǒ zhuó biān",习焉不察:"xí yān bù chá",歙漆阿胶:"shè qī ē jiāo",晰毛辨发:"xī máo biàn fà",悉索薄赋:"xī suǒ bó fù",雾鳞云爪:"wù lín yún zhǎo",物稀为贵:"wù xī wéi guì",碔砆混玉:"wǔ fū hùn yù",武断专横:"wǔ duàn zhuān héng",五石六鹢:"wǔ shí liù yì",五色相宣:"wǔ sè xiāng xuān",五侯七贵:"wǔ hóu qī guì",五侯蜡烛:"wǔ hòu là zhú",五羖大夫:"wǔ gǔ dà fū",吾自有处:"wú zì yǒu chǔ",无下箸处:"wú xià zhù chǔ",无伤无臭:"wú shāng wú xiù",无能为役:"wú néng wéi yì",无寇暴死:"wú kòu bào sǐ",无孔不钻:"wú kǒng bú zuàn",无间可乘:"wú jiān kě chéng",无间冬夏:"wú jiān dōng xià",无恶不为:"wú è bù wéi",无动为大:"wú dòng wéi dà",诬良为盗:"wū liáng wéi dào",握拳透爪:"wò quán tòu zhǎo",文武差事:"wén wǔ chāi shì",委委佗佗:"wēi wēi tuó tuó",惟日为岁:"wéi rì wéi suì",帷薄不修:"wéi bó bù xiū",为善最乐:"wéi shàn zuì lè",为山止篑:"wéi shān zhǐ kuì",为仁不富:"wéi rén bú fù",为裘为箕:"wéi qiú wéi jī",为民父母:"wéi mín fù mǔ",为虺弗摧:"wéi huǐ fú cuī",为好成歉:"wéi hǎo chéng qiàn",为鬼为蜮:"wéi guǐ wéi yù",望风响应:"wàng fēng xiǎng yīng",望尘僄声:"wàng chén piào shēng",往渚还汀:"wǎng zhǔ huán tīng",王贡弹冠:"wáng gòng dàn guàn",亡国大夫:"wáng guó dà fū",万贯家私:"wàn guàn jiā sī",晚食当肉:"wǎn shí dàng ròu",晚节不保:"wǎn jié bù bǎo",玩岁愒时:"wán suì kài shí",蛙蟆胜负:"wā má shèng fù",吞言咽理:"tūn yán yàn lǐ",颓垣断堑:"tuí yuán duàn qiàn",推干就湿:"tuī gàn jiù shī",剸繁决剧:"tuán fán jué jù",团头聚面:"tuán tóu jù miàn",兔丝燕麦:"tù sī yàn mài",兔头麞脑:"tù tóu zhāng nǎo",兔葵燕麦:"tù kuí yàn mài",吐哺握发:"tǔ bǔ wò fà",投传而去:"tóu zhuàn ér qù",头没杯案:"tóu mò bēi àn",头昏脑闷:"tóu hūn nǎo mèn",头会箕敛:"tóu kuài jī liǎn",头出头没:"tóu chū tóu mò",痛自创艾:"tòng zì chuāng yì",同恶相助:"tóng wù xiāng zhù",同恶相恤:"tóng wù xiāng xù",痌瘝在抱:"tōng guān zài bào",通文调武:"tōng wén diào wǔ",停留长智:"tíng liú zhǎng zhì",铁树开华:"tiě shù kāi huā",条贯部分:"tiáo guàn bù fēn",挑牙料唇:"tiǎo yá liào chún",挑么挑六:"tiāo yāo tiāo liù",挑唇料嘴:"tiǎo chún liào zuǐ",恬不为意:"tián bù wéi yì",恬不为怪:"tián bù wéi guài",天下为笼:"tiān xià wéi lóng",天台路迷:"tiān tái lù mí",天年不遂:"tiān nián bú suì",探囊胠箧:"tàn náng qū qiè",谭言微中:"tán yán wēi zhòng",谈言微中:"tán yán wēi zhòng",狧穅及米:"shì kāng jí mǐ",随物应机:"suí wù yīng jī",搜岩采干:"sōu yán cǎi gàn",宋斤鲁削:"sòng jīn lǔ xuē",松筠之节:"sōng yún zhī jié",四亭八当:"sì tíng bā dàng",四马攒蹄:"sì mǎ cuán tí",四不拗六:"sì bú niù liù",思所逐之:"sī suǒ zhú zhī",丝恩发怨:"sī ēn fà yuàn",硕望宿德:"shuò wàng xiǔ dé",铄古切今:"shuò gǔ qiē jīn",顺风而呼:"shùn fēng ér hū",顺风吹火:"shùn fēng chuī huǒ",水中著盐:"shuǐ zhōng zhuó yán",双柑斗酒:"shuāng gān dǒu jiǔ",数米而炊:"shǔ mǐ ér chuī",数米量柴:"shǔ mǐ liáng chái",数理逻辑:"shù lǐ luó ji",数黑论黄:"shǔ hēi lùn huáng",数白论黄:"shǔ bái lùn huáng",束缊还妇:"shù yūn huán fù",束蒲为脯:"shù pú wéi pú",束椽为柱:"shù chuán wéi zhù",书缺有间:"shū quē yǒu jiàn",手足重茧:"shǒu zú chóng jiǎn",手足异处:"shǒu zú yì chǔ",手脚干净:"shǒu jiǎo gàn jìng",手不应心:"shǒu bù yīng xīn",螫手解腕:"shì shǒu jiě wàn",释知遗形:"shì zhī yí xíng",适时应务:"shì shí yīng wù",适情率意:"shì qíng shuài yì",适当其冲:"shì dāng qí chōng",视为知己:"shì wéi zhī jǐ",使羊将狼:"shǐ yáng jiàng láng",食为民天:"shí wéi mín tiān",拾掇无遗:"shí duō wú yí",实与有力:"shí yù yǒu lì",石英玻璃:"shí yīng bō li",石室金匮:"shí shì jīn guì",什袭珍藏:"shí xí zhēn cáng",什伍东西:"shí wǔ dōng xī",什围伍攻:"shí wéi wǔ gōng",十魔九难:"shí mó jiǔ nàn",诗书发冢:"shī shū fà zhǒng",虱处裈中:"shī chǔ kūn zhōng",师直为壮:"shī zhí wéi zhuàng",尸居龙见:"shī jū lóng xiàn",圣经贤传:"shèng jīng xián zhuàn",圣君贤相:"shèng jūn xián xiàng",生拖死拽:"shēng tuō sǐ zhuài",审己度人:"shěn jǐ duó rén",神武挂冠:"shén wǔ guà guàn",神龙失埶:"shén lóng shī shì",深文曲折:"shēn wén qǔ shé",深厉浅揭:"shēn lì qiǎn qì",深谷为陵:"shēn gǔ wéi líng",深恶痛疾:"shēn wù tòng jí",深仇宿怨:"shēn chóu xiǔ yuàn",舍己为公:"shě jǐ wèi gōng",舍短取长:"shě duǎn qǔ cháng",舍策追羊:"shě cè zhuī yáng",蛇蝎为心:"shé xiē wéi xīn",少成若性:"shào chéng ruò xìng",上当学乖:"shàng dàng xué guāi",赏不当功:"shǎng bù dāng gōng",善自为谋:"shàn zì wéi móu",善为说辞:"shàn wéi shuō cí",善善恶恶:"shàn shàn wù è",善财难舍:"shàn cái nán shě",苫眼铺眉:"shān yǎn pū méi",讪牙闲嗑:"shàn yá xián kē",山阴乘兴:"shān yīn chéng xīng",山殽野湋:"shān yáo yě wéi",山溜穿石:"shān liù chuān shí",山节藻棁:"shān jié zǎo zhuō",杀鸡为黍:"shā jī wéi shǔ",色厉胆薄:"sè lì dǎn bó",桑荫未移:"sāng yīn wèi yí",桑荫不徙:"sāng yīn bù xǐ",桑土绸缪:"sāng tǔ chóu miù",桑户棬枢:"sāng hù juàn shū",三战三北:"sān zhàn sān běi",三瓦两舍:"sān wǎ liǎng shě",三人为众:"sān rén wèi zhòng",三差两错:"sān chā liǎng cuò",塞井焚舍:"sāi jǐng fén shě",洒心更始:"sǎ xīn gèng shǐ",洒扫应对:"sǎ sǎo yìng duì",软红香土:"ruǎn hóng xiāng tǔ",入吾彀中:"rù wú gòu zhōng",入铁主簿:"rù tiě zhǔ bù",入理切情:"rù lǐ qiē qíng",汝成人耶:"rǔ chéng rén yé",如水投石:"rú shuǐ tóu shí",如切如磋:"rú qiē rú cuō",如登春台:"rú dēng chūn tái",肉薄骨并:"ròu bó gǔ bìng",柔情绰态:"róu qíng chuò tài",戎马劻勷:"róng mǎ kuāng ráng",日中为市:"rì zhōng wéi shì",日月参辰:"rì yuè shēn chén",日省月修:"rì xǐng yuè xiū",日削月割:"rì xuē yuè gē",日省月试:"rì xǐng yuè shì",任达不拘:"rèn dá bù jū",人言藉藉:"rén yán jí jí",人模狗样:"rén mú gǒu yàng",人莫予毒:"rén mò yú dú",热熬翻饼:"rè áo fān bǐng",圈牢养物:"juàn láo yǎng wù",取予有节:"qǔ yǔ yǒu jié",诎要桡腘:"qū yāo ráo guó",穷形尽相:"qióng xíng jìn xiàng",情凄意切:"qíng qī yì qiè",情见势屈:"qíng xiàn shì qū",情见乎辞:"qíng xiàn hū cí",清都绛阙:"qīng dōu jiàng què",倾肠倒肚:"qīng cháng dào dǔ",青紫被体:"qīng zǐ pī tǐ",青林黑塞:"qīng lín hēi sài",螓首蛾眉:"qín shǒu é méi",琴瑟之好:"qín sè zhī hào",且住为佳:"qiě zhù wéi jiā",切树倒根:"qiē shù dǎo gēn",切理餍心:"qiē lǐ yàn xīn",切近的当:"qiē jìn de dāng",翘足引领:"qiáo zú yǐn lǐng",巧发奇中:"qiǎo fā qí zhòng",强嘴拗舌:"jiàng zuǐ niù shé",强直自遂:"qiáng zhí zì suí",强死强活:"qiǎng sǐ qiǎng huó",强食自爱:"qiǎng shí zì ài",强食靡角:"qiǎng shí mí jiǎo",强弓劲弩:"qiáng gōng jìng nǔ",强聒不舍:"qiǎng guō bù shě",强凫变鹤:"qiáng fú biàn hè",强而后可:"qiǎng ér hòu kě",强得易贫:"qiǎng dé yì pín",遣兴陶情:"qiǎn xìng táo qíng",牵羊担酒:"qiān yáng dān jiǔ",千了百当:"qiān liǎo bǎi dàng",泣下如雨:"qì xià rú yǔ",起偃为竖:"qǐ yǎn wéi shù",岂弟君子:"kǎi tì jūn zǐ",綦溪利跂:"qí xī lì qí",棋输先著:"qí shū xiān zhuó",齐王舍牛:"qí wáng shě niú",欺天诳地:"qī tiān kuáng dì",普天率土:"pǔ tiān shuài tǔ",铺胸纳地:"pū xiōng nà dì",铺锦列绣:"pū jǐn liè xiù",破家为国:"pò jiā wèi guó",破觚为圜:"pò gū wéi yuán",萍飘蓬转:"píng piāo péng zhuàn",帡天极地:"píng tiān jí dì",屏声息气:"bǐng shēng xī qì",凭几据杖:"píng jī jù zhàng",贫嘴薄舌:"pín zuǐ bó shé",片语只辞:"piàn yǔ zhī cí",披发文身:"pī fà wén shēn",烹龙炮凤:"pēng lóng páo fèng",炰鳖脍鲤:"fǒu biē kuài lǐ",庞眉皓发:"páng méi hào fà",攀花折柳:"pān huā zhé liǔ",攀蟾折桂:"pān chán shé guì",女大难留:"nǚ dà nán liú",弄玉吹箫:"nòng yù chuī xiāo",弄管调弦:"nòng guǎn tiáo xián",弄粉调朱:"nòng fěn diào zhū",浓抹淡妆:"nóng mò dàn zhuāng",捻土为香:"niǎn tǔ wéi xiāng",年谊世好:"nián yì shì hǎo",年华垂暮:"nián huá chuí mù",儗不于伦:"nǐ bù yú lún",泥而不滓:"ní ér bù zǐ",能者为师:"néng zhě wéi shī",能不称官:"néng bú chèn guān",挠直为曲:"náo zhí wéi qū",难进易退:"nán jìn yì tuì",难得糊涂:"nán dé hú tú",南蛮鴂舌:"nán mán jué shé",南贩北贾:"nán fàn běi gǔ",牧猪奴戏:"mù zhū nú xì",目眢心忳:"mù yuān xīn tún",目挑心招:"mù tiǎo xīn zhāo",目量意营:"mù liàng yì yíng",木头木脑:"mù tóu mù nǎo",木干鸟栖:"mù gàn niǎo qī",侔色揣称:"móu sè chuǎi chèn",莫予毒也:"mò yú dú yě",抹粉施脂:"mò fěn shī zhī",磨砻镌切:"mó lóng juān qiē",磨棱刓角:"mó léng wán jiǎo",摸门不着:"mō mén bù zháo",摸不着边:"mō bù zhuó biān",命中注定:"mìng zhōng zhù dìng",鸣鹤之应:"míng hè zhī yìng",明效大验:"míng xiào dà yàn",名我固当:"míng wǒ gù dāng",邈处欿视:"miǎo chǔ kǎn shì",黾穴鸲巢:"měng xué qú cháo",绵里薄材:"mián lǐ bó cái",靡有孑遗:"mǐ yǒu jié yí",靡衣偷食:"mǐ yī tōu shí",迷恋骸骨:"mí liàn hái gǔ",扪参历井:"mén shēn lì jǐng",门单户薄:"mén dān hù bó",昧旦晨兴:"mèi dàn chén xīng",冒名接脚:"mào míng jiē jiǎo",毛遂堕井:"máo suí duò jǐng",毛发倒竖:"máo fā dǎo shù",卖文为生:"mài wén wéi shēng",卖李钻核:"mài lǐ zuān hé",买椟还珠:"mǎi dú huán zhū",埋三怨四:"mán sān yuàn sì",马入华山:"mǎ rù huá shān",落魄江湖:"luò pò jiāng hú",落落难合:"luò luò nán hé",落草为寇:"luò cǎo wéi kòu",罗织构陷:"luó zhī gòu xiàn",鸾凤和鸣:"luán fèng hè míng",率由旧章:"shuài yóu jiù zhāng",率土同庆:"shuài tǔ tóng qìng",率兽食人:"shuài shòu shí rén",率土归心:"shuài tǔ guī xīn",率马以骥:"shuài mǎ yǐ jì",率尔成章:"shuài ěr chéng zhāng",鲁斤燕削:"lǔ jīn yàn xuē",漏尽更阑:"lòu jìn gēng lán",笼鸟槛猿:"lóng niǎo jiàn yuán",笼鸟池鱼:"lóng niǎo chí yú",龙游曲沼:"lóng yóu qū zhǎo",龙血玄黄:"lóng xuè xuán huáng",龙雕凤咀:"lóng diāo fèng jǔ",六尺之讬:"liù chǐ zhī tuō",令原之戚:"líng yuán zhī qī",令人捧腹:"lìng rén pěng fù",陵劲淬砺:"líng jìng cuì lì",临敌易将:"lín dí yì jiàng",裂裳衣疮:"liè shang yī chuāng",裂冠毁冕:"liè guàn huǐ miǎn",了无惧色:"liǎo wú jù sè",了身达命:"liǎo shēn dá mìng",了然无闻:"liǎo rán wú wén",了不可见:"liǎo bù kě jiàn",了不长进:"liǎo bù zhǎng jìn",燎发摧枯:"liǎo fà cuī kū",审时度势:"shěn shí duó shì",量小力微:"liàng xiǎo lì wēi",相时度力:"xiāng shí duó lì",量枘制凿:"liàng ruì zhì záo",量如江海:"liàng rú jiāng hǎi",量金买赋:"liàng jīn mǎi fù",量己审分:"liàng jǐ shěn fēn",敛骨吹魂:"liǎn gǔ chuī hún",詈夷为跖:"lì yí wéi zhí",利令志惛:"lì lìng zhì hūn",李广不侯:"lǐ guǎng bú hòu",礼为情貌:"lǐ wéi qíng mào",礼让为国:"lǐ ràng wéi guó",犁生骍角:"lí shēng xīng jiǎo",离本徼末:"lí běn jiǎo mò",楞眉横眼:"léng méi hèng yǎn",擂天倒地:"léi tiān dǎo dì",累足成步:"lěi zú chéng bù",累瓦结绳:"lěi wǎ jié shéng",累土至山:"lěi tǔ zhì shān",累土聚沙:"lěi tǔ jù shā",累卵之危:"lěi luǎn zhī wēi",累累如珠:"lěi lěi rú zhū",累块积苏:"lěi kuài jī sū",乐山乐水:"lè shān lè shuǐ",潦原浸天:"lǎo yuán jìn tiān",老师宿儒:"lǎo shī xiǔ rú",牢什古子:"láo shí gǔ zi",琅嬛福地:"láng huán fú dì",揆情度理:"kuí qíng duó lǐ",旷日累时:"kuàng rì lěi shí",匡救弥缝:"kuāng jiù mí fèng",枯树生华:"kū shù shēng huā",口轻舌薄:"kǒu qīng shé bó",口角生风:"kǒu jiǎo shēng fēng",口角春风:"kǒu jiǎo chūn fēng",口角风情:"kǒu jiǎo fēng qíng",口干舌焦:"kǒu gān shé jiāo",口腹之累:"kǒu fù zhī lěi",空腹便便:"kōng fù pián pián",嗑牙料嘴:"kē yá liào zuǐ",刻木为鹄:"kè mù wéi hú",咳珠唾玉:"ké zhū tuò yù",咳唾成珠:"ké tuò chéng zhū",抗颜为师:"kàng yán wéi shī",开华结果:"kāi huā jié guǒ",峻阪盐车:"jùn bǎn yán chē",嚼铁咀金:"jiáo tiě jǔ jīn",嚼墨喷纸:"jué mò pēn zhǐ",倔头强脑:"juè tóu jiàng nǎo",倔头倔脑:"juè tóu juè nǎo",倦鸟知还:"juàn niǎo zhī huán",卷席而葬:"juǎn xí ér zàng",卷甲倍道:"juǎn jiǎ bèi dào",聚米为山:"jù mǐ wéi shān",举手相庆:"jǔ shǒu xiāng qìng",举世混浊:"jǔ shì hún zhuó",鞠为茂草:"jū wéi mào cǎo",拘神遣将:"jū shén qiǎn jiàng",居下讪上:"jū xià shàn shàng",久要不忘:"jiǔ yāo bú wàng",九转功成:"jiǔ zhuǎn gōng chéng",九蒸三熯:"jiǔ zhēng sān hàn",敬业乐群:"jìng yè lè qún",井底虾蟆:"jǐng dǐ xiā má",旌旗卷舒:"jīng qí juǎn shū",荆棘载途:"jīng jí zài tú",禁舍开塞:"jìn shě kāi sāi",祲威盛容:"jìn wēi shèng róng",进退消长:"jìn tuì xiāo cháng",进退应矩:"jìn tuì yīng jǔ",进退触籓:"jìn tuì chù fān",进退跋疐:"jìn tuì bá zhì",尽多尽少:"jǐn duō jǐn shǎo",锦囊还矢:"jǐn náng huán shǐ",矜己自饰:"jīn jǐ zì shì",矜功负气:"jīn gōng fù qì",津关险塞:"jīn guān xiǎn sài",金吾不禁:"jīn wú bú jìn",金翅擘海:"jīn chì bāi hǎi",解衣衣人:"jiě yī yī rén",解人难得:"jiě rén nán dé",解铃系铃:"jiě líng xì líng",解发佯狂:"jiě fà yáng kuáng",诘屈磝碻:"jié qū áo qiāo",教猱升木:"jiāo náo shēng mù",较瘦量肥:"jiào shòu liàng féi",角立杰出:"jiǎo lì jié chū",焦沙烂石:"jiāo shā làn shí",骄儿騃女:"jiāo ér sì nǚ",浇风薄俗:"jiāo fēng bó sú",降妖捉怪:"xiáng yāo zhuō guài",将取固予:"jiāng qǔ gù yǔ",将门有将:"jiàng mén yǒu jiàng",将夺固与:"jiāng duó gù yǔ",槛花笼鹤:"jiàn huā lóng hè",鉴影度形:"jiàn yǐng duó xíng",渐不可长:"jiàn bù kě zhǎng",见素抱朴:"xiàn sù bào pǔ",见弃于人:"jiàn qì yú rén",简丝数米:"jiǎn sī shǔ mǐ",俭不中礼:"jiǎn bú zhòng lǐ",间见层出:"jiàn xiàn céng chū",尖嘴薄舌:"jiān zuǐ bó shé",甲冠天下:"jiǎ guàn tiān xià",葭莩之亲:"jiā fú zhī qīn",家累千金:"jiā lèi qiān jīn",家给人足:"jiā jǐ rén zú",家道从容:"jiā dào cóng róng",夹袋人物:"jiā dài rén wù",霁风朗月:"jì fēng lǎng yuè",寄兴寓情:"jì xìng yù qíng",计深虑远:"jì shēn lǜ yuǎn",计功量罪:"jì gōng liàng zuì",掎裳连襼:"jǐ shang lián yì",虮虱相吊:"jǐ shī xiāng diào",疾不可为:"jí bù kě wéi",极深研几:"jí shēn yán jī",及宾有鱼:"jí bīn yǒu yú",激薄停浇:"jī bó tíng jiāo",积素累旧:"jī sù lěi jiù",积时累日:"jī shí lěi rì",积露为波:"jī lù wéi bō",积德累功:"jī dé lěi gōng",积谗糜骨:"jī chán méi gǔ",击排冒没:"jī pái mào mò",祸为福先:"huò wéi fú xiān",祸福相依:"huò fú xiāng yī",获隽公车:"huò jùn gōng chē",混应滥应:"hùn yīng làn yīng",毁舟为杕:"huǐ zhōu wéi duò",毁钟为铎:"huǐ zhōng wéi duó",毁冠裂裳:"huǐ guān liè cháng",晦盲否塞:"huì máng pǐ sè",回船转舵:"huí chuán zhuàn duò",潢池盗弄:"huáng chí dào nòng",黄冠草履:"huáng guàn cǎo lǚ",黄发儿齿:"huáng fà ér chǐ",黄发垂髫:"huáng fà chuí tiáo",还珠返璧:"huán zhū fǎn bì",还年驻色:"huán nián zhù sè",还年却老:"huán nián què lǎo",坏裳为裤:"huài shang wéi kù",画荻和丸:"huà dí huò wán",化枭为鸠:"huà xiāo wéi jiū",化腐为奇:"huà fǔ wéi qí",化鸱为凤:"huà chī wéi fèng",花不棱登:"huā bu lēng dēng",户限为穿:"hù xiàn wéi chuān",呼卢喝雉:"hū lú hè zhì",呼来喝去:"hū lái hè qù",呼不给吸:"hū bù jǐ xī",厚味腊毒:"hòu wèi xī dú",厚德载物:"hòu dé zài wù",鸿渐于干:"hóng jiàn yú gàn",洪炉燎发:"hóng lú liáo fà",红绳系足:"hóng shéng jì zú",红不棱登:"hóng bu lēng dēng",横抢硬夺:"hèng qiǎng yìng duó",横恩滥赏:"hèng ēn làn shǎng",恨海难填:"hèn hǎi nán tián",鹤发鸡皮:"hè fà jī pí",涸思干虑:"hé sī gān lǜ",河涸海干:"hé hé hǎi gān",和颜说色:"hé yán yuè sè",合从连衡:"hé zòng lián héng",浩浩汤汤:"hào hào shāng shāng",好勇斗狠:"hào yǒng dòu hěn",好问则裕:"hào wèn zé yù",好为事端:"hào wéi shì duān",好问决疑:"hào wèn jué yí",好生之德:"hào shēng zhī dé",好奇尚异:"hǎo qí shàng yì",好恶不同:"hǎo è bù tóng",好丹非素:"hào dān fēi sù",豪干暴取:"háo gàn bào qǔ",毫发不爽:"háo fà bù shuǎng",寒酸落魄:"hán suān luò pò",含英咀华:"hán yīng jǔ huá",含糊不明:"hán hú bù míng",过为已甚:"guò wéi yǐ shèn",桂折兰摧:"guì shé lán cuī",规旋矩折:"guī xuán jǔ shé",广文先生:"guǎng wén xiān sheng",广陵散绝:"guǎng líng sǎn jué",冠山戴粒:"guàn shān dài lì",冠屦倒施:"guàn jù dǎo shī",挂席为门:"guà xí wéi mén",寡见鲜闻:"guǎ jiàn xiǎn wén",瓜葛相连:"guā gé xiāng lián",鼓吻奋爪:"gǔ wěn fèn zhǎo",古调单弹:"gǔ diào dān tán",古调不弹:"gǔ diào bù tán",姑射神人:"gū yè shén rén",苟合取容:"gǒu hé qǔ róng",狗续侯冠:"gǒu xù hòu guàn",钩爪锯牙:"gōu zhǎo jù yá",共枝别干:"gòng zhī bié gàn",共为唇齿:"gòng wéi chún chǐ",拱手而降:"gǒng shǒu ér xiáng",拱肩缩背:"gǒng jiān suō bèi",功薄蝉翼:"gōng bó chán yì",弓调马服:"gōng diào mǎ fú",更姓改物:"gēng xìng gǎi wù",更仆难数:"gēng pú nán shǔ",更令明号:"gēng lìng míng hào",更待干罢:"gèng dài gàn bà",更唱迭和:"gēng chàng dié hé",更长梦短:"gēng cháng mèng duǎn",各色名样:"gè sè míng yàng",格格不纳:"gé gé bú nà",格格不吐:"gé gé bù tǔ",告朔饩羊:"gù shuò xì yáng",膏车秣马:"gào chē mò mǎ",高义薄云:"gāo yì bó yún",岗头泽底:"gāng tóu zé dǐ",敢为敢做:"gǎn wéi gǎn zuò",甘分随时:"gān fèn suí shí",甘处下流:"gān chǔ xià liú",干啼湿哭:"gàn tí shī kū",干名犯义:"gàn míng fàn yì",干将莫邪:"gān jiāng mò yé",干城之将:"gān chéng zhī jiàng",腹载五车:"fù zài wǔ chē",父债子还:"fù zhài zǐ huán",父为子隐:"fù wéi zǐ yǐn",辅世长民:"fǔ shì zhǎng mín",福为祸始:"fú wéi huò shǐ",符号逻辑:"fú hào luó jí",浮收勒折:"fú shōu lè shé",肤受之愬:"fū shòu zhī sù",否终则泰:"pǐ zhōng zé tài",佛头著粪:"fó tóu zhuó fèn",奉为楷模:"fèng wéi kǎi mó",凤靡鸾吪:"fèng mǐ luán é",封豨修蛇:"fēng xī xiū shé",风影敷衍:"fēng yǐng fū yǎn",丰屋蔀家:"fēng wū bù jiā",粪土不如:"fèn tǔ bù rú",分风劈流:"fēn fēng pǐ liú",沸沸汤汤:"fèi fèi shāng shāng",菲食薄衣:"fěi shí bó yī",飞将数奇:"fēi jiàng shù qí",放辟邪侈:"fàng pì xié chǐ",方领圆冠:"fāng lǐng yuán guàn",犯而不校:"fàn ér bú jiào",返本还源:"fǎn běn huán yuán",反劳为逸:"fǎn láo wéi yì",法轮常转:"fǎ lún cháng zhuàn",罚不当罪:"fá bù dāng zuì",发引千钧:"fà yǐn qiān jūn",发奸擿伏:"fā jiān tī fú",发短心长:"fà duǎn xīn cháng",二竖为虐:"èr shù wéi nüè",儿女心肠:"ér nǚ xīn cháng",儿女亲家:"ér nǚ qìng jiā",遏恶扬善:"è wù yáng shàn",饿殍枕藉:"è piǎo zhěn jí",饿殍载道:"è piǎo zài dào",恶醉强酒:"wù zuì qiǎng jiǔ",恶意中伤:"è yì zhòng shāng",恶湿居下:"wù shī jū xià",恶居下流:"wù jū xià liú",恶不去善:"wù bú qù shàn",扼吭夺食:"è háng duó shí",扼襟控咽:"è jīn kòng yān",峨峨汤汤:"é é shāng shāng",屙金溺银:"ē jīn niào yín",朵颐大嚼:"duǒ yí dà jiáo",夺人所好:"duó rén suǒ hào",多言数穷:"duō yán shuò qióng",多文为富:"duō wén wéi fù",多端寡要:"duō duān guǎ yào",多财善贾:"duō cái shàn gǔ",遁世无闷:"dùn shì wú mèn",遁迹黄冠:"dùn jì huáng guàn",堆案盈几:"duī àn yíng jī",断还归宗:"duàn huán guī zōng",短见薄识:"duǎn jiàn bó shí",蠹居棊处:"dù jū qí chǔ",度己以绳:"duó jǐ yǐ shéng",杜默为诗:"dù mò wéi shī",杜鹃啼血:"dù juān tí xuè",笃近举远:"dǔ jìn jǔ yuǎn",独有千秋:"dú yǒu qiān qiū",读书得间:"dú shū dé jiàn",斗转参横:"dǒu zhuǎn shēn héng",兜肚连肠:"dōu dǔ lián cháng",洞见症结:"dòng jiàn zhèng jié",恫疑虚喝:"dòng yí xū hè",动中窾要:"dòng zhōng kuǎn yào",东鸣西应:"dōng míng xī yīng",东鳞西爪:"dōng lín xī zhǎo",东量西折:"dōng liàng xī shé",东家西舍:"dōng jiā xī shè",东扯西拽:"dōng chě xī zhuāi",鼎铛有耳:"dǐng chēng yǒu ěr",鼎铛玉石:"dǐng chēng yù shí",钉头磷磷:"dīng tóu lín lín",跌宕不羁:"diē dàng bù jī",跌弹斑鸠:"diē dàn bān jiū",雕心雁爪:"diāo xīn yàn zhǎo",颠倒衣裳:"diān dǎo yī cháng",德薄能鲜:"dé bó néng xiǎn",得马折足:"dé mǎ shé zú",蹈其覆辙:"dǎo qí fù zhé",捣虚撇抗:"dǎo xū piē kàng",倒载干戈:"dào zài gān gē",倒裳索领:"dào cháng suǒ lǐng",倒果为因:"dào guǒ wéi yīn",叨在知己:"tāo zài zhī jǐ",叨陪末座:"tāo péi mò zuò",党豺为虐:"dǎng chái wéi nüè",当轴处中:"dāng zhóu chǔ zhōng",当着不着:"dāng zhuó bù zhuó",当务始终:"dāng wù shǐ zhōng",淡汝浓抹:"dàn rǔ nóng mǒ",弹丸脱手:"tán wán tuō shǒu",弹铗无鱼:"dàn jiá wú yú",箪食瓢饮:"dān sì piáo yǐn",大璞不完:"dà pú bù wán",大明法度:"dà míng fǎ dù",大车以载:"dà chē yǐ zài",打闷葫芦:"dǎ mèn hú lu",沓来踵至:"tà lái zhǒng zhì",厝火燎原:"cuò huǒ liǎo yuán",撮科打哄:"cuō kē dǎ hòng",寸积铢累:"cùn jī zhū lěi",啛啛喳喳:"cuì cuì chā chā",摧折豪强:"cuī zhé háo qiáng",摧刚为柔:"cuī gāng wéi róu",从俗就简:"cóng sú jiù jiǎn",此发彼应:"cǐ fā bǐ yīng",此唱彼和:"cǐ chàng bǐ hè",慈悲为本:"cí bēi wéi běn",纯属骗局:"chún shǔ piàn jú",春笋怒发:"chūn sǔn nù fā",垂头搨翼:"chuí tóu tà yì",传为笑谈:"chuán wéi xiào tán",传风扇火:"chuán fēng shān huǒ",穿红着绿:"chuān hóng zhuó lǜ",触处机来:"chù chǔ jī lái",处尊居显:"chǔ zūn jū xiǎn",处堂燕雀:"chǔ táng yàn què",处实效功:"chǔ shí xiào gōng",处高临深:"chǔ gāo lín shēn",出入无间:"chū rù wú jiān",出门应辙:"chū mén yīng zhé",出处语默:"chū chǔ yǔ mò",出处殊途:"chū chǔ shū tú",出处进退:"chū chǔ jìn tuì",愁山闷海:"chóu shān mèn hǎi",冲冠眦裂:"chōng guàn zì liè",齿牙为祸:"chǐ yá wéi huò",尺二冤家:"chǐ èr yuān jia",尺短寸长:"chǐ duǎn cùn cháng",尺寸之功:"chǐ cùn zhī gōng",城北徐公:"chéng běi xú gōng",成败兴废:"chéng bài xīng fèi",趁水和泥:"chèn shuǐ huò ní",称雨道晴:"chēng yǔ dào qíng",称体载衣:"chēng tǐ zài yī",称体裁衣:"chèn tǐ cái yī",称家有无:"chèn jiā yǒu wú",称德度功:"chēng dé duó gōng",沉吟章句:"chén yín zhāng jù",沉吟不决:"chén yín bù jué",沉疴宿疾:"chén kē sù jí",扯纤拉烟:"chě qiàn lā yān",扯顺风旗:"chě shùn fēng qí",车载船装:"chē zǎi chuán zhuāng",朝升暮合:"zhāo shēng mù gě",朝攀暮折:"zhāo pān mù shé",超今冠古:"chāo jīn guàn gǔ",倡而不和:"chàng ér bú hè",畅所欲为:"chàng suǒ yù wéi",苌弘碧血:"cháng hóng bì xiě",长幼尊卑:"zhǎng yòu zūn bēi",长绳系日:"cháng shéng jì rì",长年三老:"zhǎng nián sān lǎo",长春不老:"cháng chūn bù lǎo",长傲饰非:"zhǎng ào shì fēi",昌亭旅食:"chāng tíng lǚ shí",禅絮沾泥:"chán xù zhān ní",差三错四:"chā sān cuò sì",层台累榭:"céng tái lěi xiè",层见迭出:"céng xiàn dié chū",藏踪蹑迹:"cáng zōng niè jì",苍蝇见血:"cāng yíng jiàn xiě",餐松啖柏:"cān sōng dàn bó",骖风驷霞:"cān fēng sì xiá",参伍错综:"cēn wǔ cuò zōng",参辰卯酉:"shēn chén mǎo yǒu",材优干济:"cái yōu gān jǐ",材薄质衰:"cái bó zhì shuāi",才大难用:"cái dà nán yòng",才薄智浅:"cái bó zhì qiǎn",不足为意:"bù zú wéi yì",不足为据:"bù zú wéi jù",不足为法:"bù zú wéi fǎ",不足齿数:"bù zú chǐ shǔ",不着疼热:"bù zhuó téng rè",不知薡蕫:"bù zhī dǐng dǒng",不越雷池:"bú yuè léi chí",不相为谋:"bù xiāng wéi móu",不贪为宝:"bù tān wéi bǎo",不了而了:"bù liǎo ér liǎo",不可揆度:"bù kě kuí duó",不遑启处:"bù huáng qǐ chǔ",不当不正:"bù dāng bú zhèng",不差什么:"bú chà shén me",不差累黍:"bù chā lěi shǔ",擘两分星:"bò liǎng fēn xīng",簸土扬沙:"bǒ tǔ yáng shā",薄物细故:"bó wù xì gù",薄寒中人:"bó hán zhòng rén",博文约礼:"bó wén yuē lǐ",播糠眯目:"bō kāng mí mù",剥皮抽筋:"bō pí chōu jīn",剥肤椎髓:"bō fū chuí suǐ",波属云委:"bō zhǔ yún wěi",波骇云属:"bō hài yún zhǔ",兵微将寡:"bīng wēi jiàng guǎ",兵强将勇:"bīng qiáng jiàng yǒng",兵多将广:"bīng duō jiàng guǎng",兵不由将:"bīng bù yóu jiàng",冰解的破:"bīng jiě dì pò",彬彬济济:"bīn bīn jǐ jǐ",摽梅之年:"biào méi zhī nián",表里为奸:"biǎo lǐ wéi jiān",飙发电举:"biāo fā diàn jǔ",变贪厉薄:"biàn tān lì bó",敝盖不弃:"bì gài bú qì",秕言谬说:"bǐ yán miù shuō",比物属事:"bǐ wù zhǔ shì",被山带河:"pī shān dài hé",被甲枕戈:"pī jiǎ zhěn gē",被甲据鞍:"pī jiǎ jù ān",被褐怀玉:"pī hè huái yù",被发缨冠:"pī fà yīng guàn",背曲腰躬:"bèi qǔ yāo gōng",北窗高卧:"běi chuāng gāo wò",北辰星拱:"běi chén xīng gǒng",北鄙之音:"běi bǐ zhī yīn",卑宫菲食:"bēi gōng fěi shí",暴衣露冠:"pù yī lù guàn",暴腮龙门:"pù sāi lóng mén",暴露文学:"bào lù wén xué",暴虎冯河:"bào hǔ píng hé",抱蔓摘瓜:"bào wàn zhāi guā",抱法处势:"bào fǎ chǔ shì",褒贬与夺:"bāo biǎn yǔ duó",帮闲钻懒:"bāng xián zuān lǎn",拜将封侯:"bài jiàng fēng hóu",百兽率舞:"bǎi shòu shuài wǔ",百孔千创:"bǎi kǒng qiān chuāng",白衣卿相:"bái yī qīng xiàng",白首为郎:"bái shǒu wéi láng",白首相知:"bái shǒu xiāng zhī",把玩无厌:"bǎ wán wú yàn",拔锅卷席:"bá guō juǎn xí",拔本塞源:"bá běn sè yuán",傲不可长:"ào bù kě zhǎng",熬更守夜:"áo gēng shǒu yè",安时处顺:"ān shí chǔ shùn",安身为乐:"ān shēn wéi lè",安老怀少:"ān lǎo huái shào",安步当车:"ān bù dàng chē",爱人好士:"ài rén hào shì",矮人观场:"ǎi rén guān chǎng",捱风缉缝:"ái fēng jī fèng",挨山塞海:"āi shān sè hǎi",阿家阿翁:"ā jiā ā wēng",阿党相为:"ē dǎng xiāng wéi",追亡逐北:"zhuī wáng zhú běi",竹篮打水:"zhú lán dá shuǐ",知疼着热:"zhī téng zháo rè",语不惊人:"yǔ bù jīng rén",于今为烈:"yú jīn wéi liè",一日三省:"yí rì sān xǐng",穴居野处:"xué jū yě chǔ",五脊六兽:"wǔ jǐ liù shòu",无声无臭:"wú shēng wú xiù",谓予不信:"wèi yú bú xìn",舍身为国:"shě shēn wéi guó",杀妻求将:"shā qī qiú jiàng",强作解人:"qiǎng zuò jiě rén",气冲斗牛:"qì chōng dǒu niú",临深履薄:"lín shēn lǚ bó",钧天广乐:"jūn tiān guǎng yuè",艰难竭蹶:"jiān nán jié jué",夹七夹八:"jiā qī jiā bā",混混噩噩:"hún hún è è",厚古薄今:"hòu gǔ bó jīn",鬼怕恶人:"guǐ pà è rén",伽马射线:"gā mǎ shè xiàn",佛头着粪:"fó tóu zhuó fèn",奉为至宝:"fèng wéi zhì bǎo",登坛拜将:"dēng tán bài jiàng",晨昏定省:"chén hūn dìng xǐng",察察为明:"chá chá wéi míng",博闻强识:"bó wén qiáng zhì",避难就易:"bì nán jiù yì",了无生机:"liǎo wú shēng jī",有一说一:"yǒu yī shuō yī",独一无二:"dú yī wú èr",说一不二:"shuō yī bù èr",举一反三:"jǔ yī fǎn sān",数一数二:"shǔ yī shǔ èr",杀一儆百:"shā yī jǐng bǎi",丁一卯二:"dīng yī mǎo èr",丁一确二:"dīng yī què èr",不一而止:"bù yī ér zhǐ",无一幸免:"wú yī xìng miǎn",表里不一:"biǎo lǐ bù yī",良莠不一:"liáng yǒu bù yī",心口不一:"xīn kǒu bù yī",言行不一:"yán xíng bù yī",政令不一:"zhèng lìng bù yī",参差不一:"cēn cī bù yī",纷纷不一:"fēn fēn bù yī",毁誉不一:"huǐ yù bù yī",不一而三:"bù yī ér sān",百不一遇:"bǎi bù yī yù",言行抱一:"yán xíng bào yī",瑜百瑕一:"yú bǎi xiá yī",背城借一:"bèi chéng jiè yī",凭城借一:"píng chéng jiè yī",劝百讽一:"quàn bǎi fěng yī",群居和一:"qún jū hé yī",百不获一:"bǎi bù huò yī",百不失一:"bǎi bù shī yī",百无失一:"bǎi wú shī yī",万不失一:"wàn bù shī yī",万无失一:"wàn wú shī yī",合而为一:"hé ér wéi yī",合两为一:"hé liǎng wéi yī",合二为一:"hé èr wéi yī",天下为一:"tiān xià wéi yī",相与为一:"xiāng yǔ wéi yī",较若画一:"jiào ruò huà yī",较如画一:"jiào rú huà yī",斠若画一:"jiào ruò huà yī",言行若一:"yán xíng ruò yī",始终若一:"shǐ zhōng ruò yī",终始若一:"zhōng shǐ ruò yī",惟精惟一:"wéi jīng wéi yī",众多非一:"zhòng duō fēi yī",不能赞一:"bù néng zàn yī",问一答十:"wèn yī dá shí",一不扭众:"yī bù niǔ zhòng",一以贯之:"yī yǐ guàn zhī",一以当百:"yī yǐ dāng bǎi",百不当一:"bǎi bù dāng yī",十不当一:"shí bù dāng yī",以一警百:"yǐ yī jǐng bǎi",以一奉百:"yǐ yī fèng bǎi",以一持万:"yǐ yī chí wàn",以一知万:"yǐ yī zhī wàn",百里挑一:"bǎi lǐ tiāo yī",整齐划一:"zhěng qí huà yī",一来二去:"yī lái èr qù",一路公交:"yī lù gōng jiāo",一路汽车:"yī lù qì chē",一路巴士:"yī lù bā shì",朝朝朝落:"zhāo cháo zhāo luò",曲意逢迎:"qū yì féng yíng",一行不行:"yì háng bù xíng",行行不行:"háng háng bù xíng"},o_0=Object.keys(l_0).map(($)=>({zh:$,pinyin:l_0[$],probability:0.00000002,length:4,priority:r4.Normal,dict:Symbol("dict4")}))});var s_0,a_0;var t_0=m(()=>{a$();s_0={巴尔干半岛:"bā ěr gàn bàn dǎo",巴尔喀什湖:"bā ěr kā shí hú",不幸而言中:"bú xìng ér yán zhòng",布尔什维克:"bù ěr shí wéi kè",何乐而不为:"hé lè ér bù wéi",苛政猛于虎:"kē zhèng měng yú hǔ",蒙得维的亚:"méng dé wéi dì yà",民以食为天:"mín yǐ shí wéi tiān",事后诸葛亮:"shì hòu zhū gě liàng",物以稀为贵:"wù yǐ xī wéi guì",先下手为强:"xiān xià shǒu wéi qiáng",行行出状元:"háng háng chū zhuàng yuan",亚得里亚海:"yà dé lǐ yà hǎi",眼不见为净:"yǎn bú jiàn wéi jìng",竹筒倒豆子:"zhú tǒng dào dòu zi"},a_0=Object.keys(s_0).map(($)=>({zh:$,pinyin:s_0[$],probability:0.00000002,length:5,priority:r4.Normal,dict:Symbol("dict5")}))});var e_0;var $v0=m(()=>{_l();n_0();m_0();r_0();t_0();hl();e_0=[...a_0,...o_0,...d_0,...c_0,...y_0,...b_0]});function Yv0($,Y){if(!$)return Y;if($.decimalY.probability?$:Y;else return Y}function Uv0($){if($.probability<0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001)$.probability*=1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,$.decimal+=1}function MS1($){if($.priority===r4.Custom)return-($.length*$.length*100);if($.priority===r4.Surname)return-($.length*$.length*10);return 0}function zv0($,Y){let U=[],z={probability:1,decimal:0,nextIndex:Y},Q=$.length-1,J=$[Q];for(let G=Y-1;G>=0;G--){let H=G+1>=Y?z:U[G+1],W=H.pattern?G+1:H.nextIndex;while(J&&J.index+J.length-1===G){let Z=J.index,q={probability:J.probability*H.probability,decimal:H.decimal+MS1(J),pattern:J,nextIndex:W};Uv0(q),U[Z]=Yv0(U[Z],q),J=$[--Q]}let X={probability:0.0000000000001*H.probability,decimal:0,nextIndex:W};Uv0(X),U[G]=Yv0(U[G],X)}let I=[],K=0;while(K{a$()});function Jv0($,Y){if(!$)return Y;return $.count<=Y.count?$:Y}function OS1($){if($.priority===r4.Custom)return-($.length*$.length*1e5);if($.priority===r4.Surname)return-($.length*$.length*100);return 1}function Iv0($,Y){let U=[],z=$.length-1,Q=$[z];for(let J=Y-1;J>=0;J--){let I=J+1>=Y?{count:0,patterns:[]}:U[J+1];while(Q&&Q.index+Q.length-1===J){let G=Q.index,H={count:OS1(Q)+I.count,patterns:I.patterns,concatPattern:Q};U[G]=Jv0(U[G],H),Q=$[--z]}let K={count:1+I.count,patterns:I.patterns};if(U[J]=Jv0(U[J],K),U[J].concatPattern)U[J].patterns=U[J].patterns.concat(U[J].concatPattern),U[J].concatPattern=void 0,delete U[J+1]}return U[0].patterns.reverse()}var Kv0=m(()=>{a$()});function NS1($,Y){if(Y.index+Y.length<=$.index)return!1;if(Y.priority>$.priority)return!1;if(Y.priority===$.priority&&Y.length>$.length)return!1;return!0}function Gv0($){let Y=[];for(let U=$.length-1;U>=0;){let{index:z}=$[U],Q=U-1;while(Q>=0&&NS1($[U],$[Q]))Q--;if(Q<0||$[Q].index+$[Q].length<=z)Y.push($[U]);U=Q}return Y.reverse()}var Hv0=()=>{};class Sl{constructor($,Y=""){this.children=new Map,this.fail=null,this.patterns=[],this.parent=$,this.key=Y}}class Zv0{constructor(){this.dictMap=new Map,this.queues=[],this.root=new Sl(null)}build($){this.buildTrie($),this.buildFailPointer()}buildTrie($){for(let Y of $){let U=F$(Y.zh),z=this.root;for(let Q=0;Q{$=$.concat(U)}),this.queues=[];while($.length>Y){let U=$[Y++],z=U.parent&&U.parent.fail,Q=U.key;while(z&&!z.children.has(Q))z=z.fail;if(!z)U.fail=this.root;else U.fail=z.children.get(Q)}}addPatternToDictMap($){if(!this.dictMap.has($.dict))this.dictMap.set($.dict,new Set);this.dictMap.get($.dict).add($)}addNodeToQueues($,Y){if(!this.queues[Y])this.queues[Y]=[];this.queues[Y].push($)}insertPattern($,Y){for(let U=$.length-1;U>=0;U--){let z=$[U];if(Y.priority===z.priority&&Y.probability>=z.probability)$[U+1]=z;else if(Y.priority>z.priority)$[U+1]=z;else{$[U+1]=Y;return}}$[0]=Y}removeDict($){if(this.dictMap.has($))this.dictMap.get($).forEach((U)=>{U.node.patterns=U.node.patterns.filter((z)=>z!==U)}),this.dictMap.delete($)}match($,Y,U=F$($)){let z=this.root,Q=[];for(let J=0;J{if(Y==="off")return W.priority!==r4.Surname;else if(Y==="head")return W.length-1-J===0;else return!0});if(G)Q.push(Object.assign(Object.assign({},G),{index:J-G.length+1}));let H=z.fail;while(H!==null){let W=H.patterns.find((X)=>{if(Y==="off")return X.priority!==r4.Surname;else if(Y==="head")return X.length-1-J===0;else return!0});if(W)Q.push(Object.assign(Object.assign({},W),{index:J-W.length+1}));H=H.fail}}}return Q}search($,Y,U=2,z=F$($)){let Q=this.match($,Y,z);if(U===1)return Gv0(Q);else if(U===3)return Iv0(Q,z.length);return zv0(Q,z.length)}}function PT(){if(!Xv0)gl.build(e_0),Xv0=!0}function DS1(){if(typeof requestIdleCallback==="function")requestIdleCallback(()=>PT());else setTimeout(PT,0)}var Wv0,Xv0=!1,gl;var qv0=m(()=>{$v0();Qv0();Kv0();Hv0();a$();v9();(function($){$[$.ReverseMaxMatch=1]="ReverseMaxMatch",$[$.MaxProbability=2]="MaxProbability",$[$.MinTokenization=3]="MinTokenization"})(Wv0||(Wv0={}));gl=new Zv0;DS1()});function Vv0(){return AS1}var AS1;var Lv0=m(()=>{AS1=[]});function yl($){let Y="",U="",z="";if(g_0.indexOf(Aq($))!==-1)Y=$[0],U=$[1],z=$.slice(2);else U=$[0]||"",z=$.slice(1)||"";return{head:Y,body:U,tail:z}}function PS1($,Y,U){if(x_0.indexOf($)===-1)return Dq($);if(Y===U&&Y&&Dq(Y)!==Y)return Aq(Dq($));if(U&&!k_0[$].includes(U)){let z=Dq(U);if(z!==U){let Q=Pq(z),J=Rl[$];for(let I in J)if(J[I].indexOf(Number(Q))!==-1)return I}}}function TS1($,Y,U){if($==="了"&&(!Y||!j5.get(Y)))return"liǎo"}function jS1($,Y,U){if($==="々")if(!Y||!j5.get(Y))return"tóng";else return j5.get(Y).split(" ")[0]}function ES1($){let Y=[];if($.includes("々"))Y.push(jS1);return Y.push(TS1),Y.push(PS1),Y}function Fv0($,Y,U,z){for(let Q of z){let J=Q($,Y,U);if(J)return J}return Dq($)}var Dq=($)=>{let Y=j5.get($);if(!Y)return $;let U=Y.indexOf(" ");return U===-1?Y:Y.slice(0,U)},BS1=($)=>{let Y=[],U=Vv0();for(let z=0;z<$.length;z++){let Q=$[z],J=Q.charCodeAt(0);if(U[J])Y[z]=U[J];else Y[z]=Q}return Y.join("")},wv0=($,Y,U,z,Q,J=F$($))=>{PT();let I=Q?BS1($):$,K=Q?F$(I):J,G=gl.search(I,U,z,K),H=0,W=ES1($);for(let X=0;X{return $.replace(/(ā|á|ǎ|à)/g,"a").replace(/(ō|ó|ǒ|ò)/g,"o").replace(/(ē|é|ě|è)/g,"e").replace(/(ī|í|ǐ|ì)/g,"i").replace(/(ū|ú|ǔ|ù)/g,"u").replace(/(ǖ|ǘ|ǚ|ǜ)/g,"ü").replace(/(n̄|ń|ň|ǹ)/g,"n").replace(/(m̄|ḿ|m̌|m̀)/g,"m").replace(/(ê̄|ế|ê̌|ề)/g,"ê")},Mv0=($,Y="off")=>{let U=kK($,Y);if(U.length>0)return U.map((z)=>({origin:$,result:z,isZh:!0,originPinyin:z}));else return[{origin:$,result:$,isZh:!1,originPinyin:$}]},Bq=($,Y)=>{let U=$.split(" "),z=[],Q=[];for(let J of U)for(let I of __0)if(J.startsWith(I)){let K=J.slice(I.length);if(v_0.indexOf(I)!==-1&&h_0.indexOf(K)!==-1)K=S_0[K];z.push(I),Q.push(K);break}if(Y==="standard")z.forEach((J,I)=>{if(J==="y"||J==="w")z[I]=""});return{final:Q.join(" "),initial:z.join(" ")}},TT=($)=>{let{final:Y}=Bq($);return yl(Y)},Pq=($)=>{let Y=/(ā|ō|ē|ī|ū|ǖ|n̄|m̄|ê̄)/,U=/(á|ó|é|í|ú|ǘ|ń|ḿ|ế)/,z=/(ǎ|ǒ|ě|ǐ|ǔ|ǚ|ň|m̌|ê̌)/,Q=/(à|ò|è|ì|ù|ǜ|ǹ|m̀|ề)/,J=/(a|o|e|i|u|ü|ê)/,I=/(n|m)$/,K=[];return $.split(" ").forEach((H)=>{if(Y.test(H))K.push("1");else if(U.test(H))K.push("2");else if(z.test(H))K.push("3");else if(Q.test(H))K.push("4");else if(J.test(H))K.push("0");else if(I.test(H))K.push("0");else K.push("")}),K.join(" ")},Ov0=($,Y)=>{let U=Aq($).split(" "),z=Pq(Y).split(" "),Q=[];return U.forEach((J,I)=>{Q.push(`${J}${z[I]}`)}),Q.join(" ")},kl=($,Y)=>{let U=[];return $.split(" ").forEach((Q)=>{U.push(Y?Q[0]:Q)}),U.join(" ")};var xl=m(()=>{_l();DT();BT();qv0();a$();v9();Lv0()});function fl($,Y){if(Y instanceof RegExp){if(Y.global||Y.sticky)Y.lastIndex=0;return Y.test($)}return!0}var Nv0=($)=>{if(typeof $!=="string")return console.error("The first param of pinyin is error: "+$+' is not assignable to type "string".'),!1;else return!0},Dv0=($,Y)=>{let U=Y.nonZh;if(U==="removed")return $.filter((z)=>z.isZh||!fl(z.origin,Y.nonZhScope));else if(U==="consecutive"){for(let z=$.length-2;z>=0;z--){let Q=$[z],J=$[z+1];if(!Q.isZh&&!J.isZh&&fl(Q.origin,Y.nonZhScope)&&fl(J.origin,Y.nonZhScope))Q.origin+=J.origin,Q.result+=J.result,J.delete=!0}return $.filter((z)=>!z.delete)}else return $},Av0=($,Y)=>{if(Y.multiple&&r2($)===1)return Mv0($,Y.surname);else return!1},Bv0=($,Y)=>{switch(Y.pattern){case"pinyin":break;case"num":$.forEach((U)=>{U.result=U.isZh?Pq(U.result):""});break;case"initial":$.forEach((U)=>{U.result=U.isZh?Bq(U.result,Y.initialPattern).initial:""});break;case"final":$.forEach((U)=>{U.result=U.isZh?Bq(U.result,Y.initialPattern).final:""});break;case"first":$.forEach((U)=>{U.result=kl(U.result,U.isZh)});break;case"finalHead":$.forEach((U)=>{U.result=U.isZh?TT(U.result).head:""});break;case"finalBody":$.forEach((U)=>{U.result=U.isZh?TT(U.result).body:""});break;case"finalTail":$.forEach((U)=>{U.result=U.isZh?TT(U.result).tail:""});break}},Pv0=($,Y)=>{switch(Y.toneType){case"symbol":break;case"none":$.forEach((U)=>{if(U.isZh)U.result=Aq(U.result)});break;case"num":{$.forEach((U)=>{if(U.isZh)U.result=Ov0(U.result,U.originPinyin)});break}}},Tv0=($,Y)=>{if(Y.v)$.forEach((U)=>{if(U.isZh)U.result=U.result.replace(/ü/g,typeof Y.v==="string"?Y.v:"v")})},jv0=($,Y,U)=>{if(Y.multiple&&r2(U)===1){let z="";$=$.filter((Q)=>{let J=Q.result!==z;return z=Q.result,J})}if(Y.type==="array")return $.map((z)=>z.result);if(Y.type==="all")return $.map((z)=>{let Q=z.isZh?z.result:"",{initial:J,final:I}=Bq(Q,Y.initialPattern),{head:K,body:G,tail:H}=yl(I),W=[];if(Q!=="")W=[Q].concat(kK(z.origin,Y.surname).filter((X)=>X!==Q));return{origin:z.origin,pinyin:Q,initial:J,final:I,first:kl(z.result,z.isZh),finalHead:K,finalBody:G,finalTail:H,num:Number(Pq(z.originPinyin)),isZh:z.isZh,polyphonic:W,inZhRange:!!j5.get(z.origin),result:z.result}});return $.map((z)=>z.result).join(Y.separator)},Ev0=($,Y)=>{if(Y===!1)$.forEach((U)=>{if(U.origin==="一")U.result=U.originPinyin="yī";else if(U.origin==="不")U.result=U.originPinyin="bù"});return $};var Cv0=m(()=>{v9();xl();DT();BT()});function jT($,Y){if(Y=Object.assign(Object.assign({},CS1),Y||{}),!Nv0($))return $;if($==="")return Y.type==="array"||Y.type==="all"?[]:"";if(Y.surname===void 0)if(Y.mode==="surname")Y.surname="all";else Y.surname="off";if(Y.type==="all")Y.pattern="pinyin";if(Y.pattern==="num")Y.toneType="none";if(Y.removeNonZh)Y.nonZh="removed";let z=F$($),Q=Array(z.length),{list:J}=wv0($,Q,Y.surname,Y.segmentit,Y.traditional,z);J=Ev0(J,Y.toneSandhi),J=Dv0(J,Y);let I=Av0($,Y);if(I)J=I;return Bv0(J,Y),Pv0(J,Y),Tv0(J,Y),jv0(J,Y,$)}var CS1;var Rv0=m(()=>{v9();xl();Cv0();CS1={pattern:"pinyin",toneType:"symbol",type:"string",multiple:!1,mode:"normal",removeNonZh:!1,nonZh:"spaced",v:!1,separator:" ",toneSandhi:!0,segmentit:2}});function kS1($,Y){if(!Y)return null;let U=[],z=0,Q=F$($),J=0;for(let I=0;I$.replace(vS1,(Y)=>{var U;return(U=_v0[Y])!==null&&U!==void 0?U:Y}),vv0=($,Y)=>{let U=kK($);return(U.length?U:[$]).map((z)=>{let Q=hS1(z);return Y.v?Q.replace(/ü/g,typeof Y.v==="string"?Y.v:"v"):Q})},ul=($,Y,U)=>{if((U===null||U===void 0?void 0:U.precision)==="any")U.lastPrecision="any";if(U===null||U===void 0?void 0:U.v){let J=typeof U.v==="string"?U.v:"v";Y=Y.replace(/ü/g,J)}let z=Object.assign(Object.assign({},RS1),U||{});if(z.insensitive!==!1)$=$.toLowerCase(),Y=Y.toLowerCase();if(z.space==="ignore")Y=Y.replace(/\s/g,"");let Q=(U===null||U===void 0?void 0:U.precision)==="any"?gS1($,Y,z):yS1($,Y,z);return kS1($,Q)},SS1=($,Y)=>{let U=0;for(let z=0;z<$.length;z++)if($[z]===Y[U])U++;return U},gS1=($,Y,U)=>{let z=[],Q=F$($),J=U.space==="ignore";for(let I=0;I{let W=SS1(H,Y);if(W>G)G=W}),G)Y=Y.slice(G),z.push(I);if(!Y)break}if(Y)return null;if(U.continuous){let I=z;if(z.some((G,H)=>H>0&&G!==I[H-1]+1))return null}if(U.space==="ignore")z=z.filter((I)=>Q[I]!==" ");return z.length?z:null},yS1=($,Y,U)=>{let z=F$($),Q=Array(z.length+1);for(let J=0;JQ[J][I].length)Q[J][I]=W;if(I===Y.length)return Q[J][I]}if(Y.length-I<=_S1){if(K.some((X)=>{if(U.lastPrecision==="any")return X.includes(Y.slice(I-1,Y.length));if(U.lastPrecision==="start")return X.startsWith(Y.slice(I-1,Y.length));if(U.lastPrecision==="first")return X[0]===Y.slice(I-1,Y.length);if(U.lastPrecision==="every")return X===Y.slice(I-1,Y.length);return!1}))return[...Q[J-1][I-1],J-1]}let G=U.precision;if(G==="start")K.forEach((W)=>{let X=I,Z=[...Q[J-1][I-1],J-1];while(X<=Y.length&&W.startsWith(Y.slice(I-1,X))){if(!Q[J][X]||Z.length>Q[J][X].length)Q[J][X]=Z;X++}});if(G==="first"){if(K.some((W)=>W[0]===Y[I-1])){let W=[...Q[J-1][I-1],J-1];if(!Q[J][I]||W.length>Q[J][I].length)Q[J][I]=W}}let H=K.find((W)=>W===Y.slice(I-1,I-1+W.length));if(H){let W=[...Q[J-1][I-1],J-1],X=I-1+H.length;if(!Q[J][X]||W.length>Q[J][X].length)Q[J][X]=W}}}return null};var hv0=m(()=>{v9();BT();RS1={precision:"first",continuous:!1,space:"ignore",lastPrecision:"start",insensitive:!0,v:!1},_v0={"ā":"a","á":"a","ǎ":"a","à":"a","ō":"o","ó":"o","ǒ":"o","ò":"o","ē":"e","é":"e","ě":"e","è":"e","ī":"i","í":"i","ǐ":"i","ì":"i","ū":"u","ú":"u","ǔ":"u","ù":"u","ǖ":"ü","ǘ":"ü","ǚ":"ü","ǜ":"ü","n̄":"n","ń":"n","ň":"n","ǹ":"n","m̄":"m","ḿ":"m","m̌":"m","m̀":"m","ê̄":"ê","ế":"ê","ê̌":"ê","ề":"ê"},vS1=new RegExp(Object.keys(_v0).join("|"),"g")});var Sv0=m(()=>{Rv0();hv0()});function gv0($,Y){let U=$.length,z=Y.length;if(U===0)return z;if(z===0)return U;let Q=Array.from({length:z+1},(I,K)=>K),J=Array(z+1).fill(0);for(let I=1;I<=U;I+=1){J[0]=I;for(let G=1;G<=z;G+=1)if($[I-1]===Y[G-1])J[G]=Q[G-1]??0;else{let H=Q[G-1]??0,W=J[G-1]??0,X=Q[G]??0;J[G]=Math.min(H,W,X)+1}let K=Q;Q=J,J=K}return Q[z]??0}function yv0($,Y){if(!$||!Y)return 999;if(Y.includes($))return 0;let U=$.length;if(Y.lengthU.toLowerCase().replace(/zh/g,"z").replace(/ch/g,"c").replace(/sh/g,"s").replace(/iang/g,"ian").replace(/uang/g,"uan").replace(/ang/g,"an").replace(/eng/g,"en").replace(/ing/g,"in")).join("")}function xv0($,Y){if(!$||!Y)return!1;let U=0;for(let z=0;z=2){if(jT(Q,{pattern:"first",toneType:"none",type:"array"}).join("").toLowerCase().includes(z))return{matched:!0,score:0.9,reason:"initials"}}if(J)try{let X=ul(Q,z,{precision:"start"});if(X&&X.length>0)return{matched:!0,score:0.88,reason:"pinyin"}}catch{}let K="",G="";if(J||I){if(K=kv0(Q),G=kv0(z),G.length>=2&&K.includes(G))return{matched:!0,score:0.85,reason:"fuzzy_pinyin"}}let H=z.length<=2?0:z.length<=5?1:2,W=U.maxDistance??H;if(W>0){let X=yv0(z,Q);if(X<=W)return{matched:!0,score:Math.max(0.6,0.8-X*0.1),reason:"levenshtein"};if((J||I)&&G.length>=3&&K.length>=3){let Z=yv0(G,K);if(Z<=W)return{matched:!0,score:Math.max(0.6,0.78-Z*0.1),reason:"levenshtein"}}}if(z.length>=3){if(xv0(z,Q)||(J||I)&&xv0(G,K))return{matched:!0,score:0.65,reason:"subsequence"}}return{matched:!1,score:0,reason:"none"}}function fS1($,Y,U={}){let z=[{text:$.name,weight:1.2},{text:$.id,weight:1.1},{text:$.source.staffId,weight:1},{text:$.source.domain,weight:1},{text:$.source.corpId,weight:1},{text:$.seal.tenantSlug,weight:1},{text:$.source.tenantSlug,weight:1},{text:$.source.tenantName,weight:1.1},{text:$.testCorpId,weight:1},{text:$.prodCorpId,weight:1},{text:$.environment??"production",weight:0.8},{text:$.source.type,weight:0.8},{text:$.source.provider,weight:0.8}],Q=0,J="none";for(let I of z){if(!I.text)continue;let K=xS1(Y,I.text,U);if(K.matched){let G=K.score*I.weight;if(G>Q)Q=G,J=K.reason}}return{matched:Q>0,score:Q,reason:J}}function fv0($,Y,U={}){let z=Y.trim();if(!z)return $;let Q=[];for(let J of $){let I=fS1(J,z,U);if(I.matched)Q.push({corp:J,score:I.score})}return Q.sort((J,I)=>I.score-J.score),Q.map((J)=>J.corp)}var uv0=m(()=>{Sv0()});import{existsSync as uS1,mkdirSync as bS1,readFileSync as iS1,writeFileSync as bv0}from"node:fs";import{homedir as cS1}from"node:os";import{join as ET}from"node:path";function iv0(){let $=process.env.SEAL_USE_MAPPINGS_DIR?.trim();if($)return $;return ET(cS1(),".config","seal-use","mappings")}function cv0($){let Y=iv0();bS1(Y,{recursive:!0,mode:448});let U=ET(Y,`${$.target.id}-v${$.target.publishedVersionNumber}.json`),z=ET(Y,`${$.target.id}-latest.json`),Q=JSON.stringify($,null,2);return bv0(U,Q,{encoding:"utf-8",mode:384}),bv0(z,Q,{encoding:"utf-8",mode:384}),U}function nv0($,Y){let U=iv0(),z;if(!Y||Y==="latest")z=`${$}-latest.json`;else{let J=String(Y).replace(/^v/i,"");z=`${$}-v${J}.json`}let Q=ET(U,z);if(!uS1(Q))return null;try{let J=iS1(Q,"utf-8");return JSON.parse(J)}catch{return null}}function pv0($,Y){if(!Y)return $;let U=Y.trim().toLowerCase();return $.filter((z)=>{return String(z.sourceRuleCode).toLowerCase()===U||String(z.targetRuleCode).toLowerCase()===U||z.sourceRuleId.toLowerCase()===U||z.targetRuleId.toLowerCase()===U||`#${z.sourceRuleCode}`.toLowerCase()===U||`#${z.targetRuleCode}`.toLowerCase()===U})}function dv0($,Y,U){let z=0,Q=Y!==void 0?new RegExp(`\\[Prod v${Y}\\s*·\\s*#(\\d+)(?:[^\\]]*)\\]`):/\[Prod draft\s*·\s*#(\d+)(?:[^\]]*)\]/;for(let I of U){if(!I.versionName)continue;let K=I.versionName.match(Q);if(K&&K[1]){let G=parseInt(K[1],10);if(!isNaN(G)&&G>z)z=G}}if(z>0)return z+1;if(!U.some((I)=>I.versionName&&/\[Prod v\d+/.test(I.versionName))){let I=U.filter((K)=>K.versionName&&K.versionName.includes(`Sync from ${$}`)).length;if(I>0)return I+1}return 1}function mv0($,Y,U,z){let Q=Y!==void 0?`Prod v${Y}`:"Prod draft",J=z!==void 0?` -> Test v${z}`:"";return`Sync from ${$} [${Q} · #${U}${J}]`}var bl=()=>{};async function xK($){let[Y,U]=await Promise.all([E00($),B1($)]),z=await W8(U);return{...Y,tenantId:z.tenant.id,tenantSlug:z.tenant.tenantSlug??Y.tenantSlug,tenantName:z.tenant.name,raw:{...typeof Y.raw==="object"&&Y.raw!==null?Y.raw:{},user:{id:z.user.id,name:z.user.name,isAdmin:z.user.isAdmin,providerUserId:z.user.providerUserId,hosecloudStaff:z.user.hosecloudStaff},tenant:z.tenant}}}var CT=m(()=>{i8();xS();X6()});import{existsSync as lv0,mkdirSync as ov0,writeFileSync as rv0}from"node:fs";import{randomBytes as nS1}from"node:crypto";import{join as sv0}from"node:path";function il($){if(!$)return;if($.length<=8)return"****";return`${$.slice(0,4)}...${$.slice(-4)}`}function pS1($){if($.source.type==="hose")return v7($,$.source);return $.seal.url??$.source.sealUrl}function dS1($){if($.type==="hose"){let Y=$.appKey??$.key;return{type:"hose",provider:"hosecloud",domain:$.domain,corpId:$.corpId,staffId:$.staffId,appKey:il(Y),hasAppSecurity:Boolean($.appSecurity??$.password),sealUrl:$.sealUrl}}if($.type==="seal")return{type:"seal",provider:$.provider??"seal",tenantId:$.tenantId,tenantSlug:$.tenantSlug,tenantName:$.tenantName,providerUserId:$.providerUserId,staffId:$.staffId,corpId:$.corpId,sealUrl:$.sealUrl,hasToken:Boolean($.token),tokenMasked:il($.token),expiresIn:$.expiresIn};return{type:"direct",provider:"direct",staffId:$.staffId,corpId:$.corpId,sealUrl:$.sealUrl,hasToken:Boolean($.token),tokenMasked:il($.token),expiresIn:$.expiresIn}}async function av0($,Y,U){if(!$||$==="list"||$==="search"||$==="find"){let z=(Y??h(U.options.query)??h(U.options.q))?.trim(),Q=Z0(U.options.strict)===!0,J=(h(U.options.env)??h(U.options.environment))?.trim().toLowerCase();if(($==="search"||$==="find")&&!z&&!J)throw m4("Usage: seal-use corps search [--env ] [--strict]");let I=h(U.options.corp),K=s8(),G=_4(),H=I??(G.stateful?G.defaultCorpId??K[0]?.id:void 0),W=K;if(J)W=W.filter((N)=>(N.environment??"production").toLowerCase()===J);if(z)W=fv0(W,z,{strict:Q});if(K.length===0)console.error("提示:当前未检测到企业配置。你可以使用 seal-use corps add-hose 或 seal-use corps add-seal 添加企业,或运行 seal-use help 查看说明。");else if(Q&&W.length===0&&($==="search"||$==="find")&&z)console.error(`提示:未在严格模式下匹配到企业 "${z}"。可以尝试省略 --strict 进行智能软搜索。`);let X=LA0(W,H),Z=!$||$==="list",q=Z0(U.options.all)===!0,V=s0(U.options.limit),M=V!==void 0?Math.max(1,V):Z&&!q?10:void 0,w=X;if(M!==void 0&&X.length>M){if(w=X.slice(0,M),Z&&!q&&V===void 0)console.error(`ℹ️ 当前共有 ${X.length} 家企业,已按最近 7 天使用频次展示前 ${M} 家。 `+`\uD83D\uDC49 查看全部请添加: seal-use corps list --all -`+"\uD83D\uDC49 检索指定企业请使用: seal-use corps search ")}b0(w.map((N)=>({id:N.id,name:N.name,environment:N.environment??"production",sourceType:N.source.type,provider:N.source.provider??N.source.type,staffId:N.source.staffId,testCorpId:N.testCorpId,prodCorpId:N.prodCorpId,current:N.id===H})));return}if($==="get"||$==="show"){let z=Y??h(U.options.corp);if(!z)throw m4("Usage: seal-use corps get ");let Q=j1(z),J=zp(Q.id),I=pS1(Q);b0({id:Q.id,name:Q.name,environment:Q.environment??"production",configFile:J,seal:{url:I,tenantSlug:Q.seal.tenantSlug??Q.source.tenantSlug,customHeaderNames:Q.seal.headers?Object.keys(Q.seal.headers):[],customCookieNames:Q.seal.cookies?Object.keys(Q.seal.cookies):[],endpoints:Q.seal.endpoints},source:dS1(Q.source),relations:{testCorpId:Q.testCorpId,prodCorpId:Q.prodCorpId},auth:{refreshTtl:Q.auth.refreshTtl}});return}if($==="current"){let z=j1(h(U.options.corp));b0({id:z.id,name:z.name,environment:z.environment??"production",sourceType:z.source.type,provider:z.source.provider??z.source.type,staffId:z.source.staffId,testCorpId:z.testCorpId,prodCorpId:z.prodCorpId});return}if($==="mark"||$==="mark-test"||$==="mark-prod"){let z=Y??h(U.options.corp);if(!z)throw m4("Usage: seal-use corps mark --env [--confirm]");let Q=j1(z),J=$==="mark-test"?"test":$==="mark-prod"?"production":h(U.options.env)??h(U.options.environment);if(J!=="production"&&J!=="test")throw m4("Usage: seal-use corps mark --env [--confirm]");if(!(Z0(U.options.confirm)===!0||Z0(U.options.yes)===!0))throw D9(`Refusing to change environment tag of enterprise '${Q.name}' (${Q.id}) to '${J}' without --confirm. Marking alters synchronization safety guards.`,`seal-use corps mark ${Q.id} --env ${J} --confirm`);let K=g3(Q.id,{environment:J});b0({id:K.id,name:K.name,environment:K.environment,testCorpId:K.testCorpId,prodCorpId:K.prodCorpId});return}if($==="rename"){let z=Y??h(U.options.corp)??h(U.options.id),Q=h(U.options.name)??h(U.options.to)??(U.command[3]&&!U.command[3].startsWith("-")?U.command[3]:void 0);if(!z||!Q)throw Error("Usage: seal-use corps rename --name ");let J=j1(z),I=g3(J.id,{name:Q});b0({success:!0,id:I.id,name:I.name,previousName:J.name});return}if($==="bind-test"){let z,Q;if(Y&&U.command[3])z=Y,Q=U.command[3];else if(Y){let X=h(U.options.corp),Z=h(U.options["test-corp"])??h(U.options.testCorp);if(X)z=X,Q=Y;else if(Z)z=Y,Q=Z}if(!z||!Q)throw m4(`Usage: seal-use corps bind-test [--confirm] [--force] - or: seal-use corps bind-test --corp [--confirm] [--force]`);let J=j1(z),I=j1(Q);if(J.id===I.id)throw m4(`Cannot bind enterprise '${J.id}' to itself.`);if(J.prodCorpId&&J.prodCorpId!==I.id)throw m4(`Cannot use '${J.id}' as a production enterprise because it is already registered as a test enterprise for '${J.prodCorpId}'. Multi-tier chaining is not permitted.`);if(I.testCorpId&&I.testCorpId!==J.id)throw m4(`Cannot bind '${I.id}' as a test enterprise because it already has a bound test enterprise '${I.testCorpId}'. Multi-tier chaining is not permitted.`);let K=Z0(U.options.force)===!0;if(J.testCorpId&&J.testCorpId!==I.id||I.prodCorpId&&I.prodCorpId!==J.id){if(!K)throw D9(`Enterprise binding conflict: production enterprise '${J.id}' is bound to '${J.testCorpId??"none"}', and test enterprise '${I.id}' is bound to '${I.prodCorpId??"none"}'. Overwriting an existing binding requires --force and --confirm.`,`seal-use corps bind-test ${J.id} ${I.id} --confirm --force`)}if(!(Z0(U.options.confirm)===!0||Z0(U.options.yes)===!0)){let X=K?" --force":"";throw D9(`Refusing to bind test enterprise '${I.name}' (${I.id}) to production enterprise '${J.name}' (${J.id}) without --confirm. Enterprise binding establishes 1-to-1 sync pairing and marks '${I.id}' as a test environment.`,`seal-use corps bind-test ${J.id} ${I.id} --confirm${X}`)}if(J.testCorpId&&J.testCorpId!==I.id)try{g3(J.testCorpId,{prodCorpId:void 0})}catch{}if(I.prodCorpId&&I.prodCorpId!==J.id)try{g3(I.prodCorpId,{testCorpId:void 0})}catch{}let H=g3(J.id,{environment:"production",testCorpId:I.id}),W=g3(I.id,{environment:"test",prodCorpId:J.id});b0({success:!0,productionEnterprise:{id:H.id,name:H.name,environment:H.environment,testCorpId:H.testCorpId},testEnterprise:{id:W.id,name:W.name,environment:W.environment,prodCorpId:W.prodCorpId}});return}if($==="unbind-test"){let z=Y??h(U.options.corp),Q=j1(z);if(!Q.testCorpId&&!Q.prodCorpId){b0({unbound:!1,message:`Enterprise '${Q.name}' (${Q.id}) does not have an active test enterprise binding.`});return}let J=Q.testCorpId?Q.id:Q.prodCorpId,I=Q.testCorpId?Q.testCorpId:Q.id;if(!(Z0(U.options.confirm)===!0||Z0(U.options.yes)===!0))throw D9(`Refusing to unbind production enterprise '${J}' and test enterprise '${I}' without --confirm.`,`seal-use corps unbind-test ${Q.id} --confirm`);g3(J,{testCorpId:void 0});try{g3(I,{prodCorpId:void 0})}catch{}b0({success:!0,unboundProduction:J,unboundTest:I});return}if($==="sync-test"){let z=Y??h(U.options.corp),Q=j1(z);if(!Q.testCorpId)throw m4(`Production enterprise '${Q.name}' (${Q.id}) has no bound test enterprise. -Run 'seal-use corps bind-test ${Q.id} --confirm' first to establish a verified 1-to-1 association.`);let J=j1(Q.testCorpId);if(J.environment!=="test")throw Error(`Target enterprise '${J.name}' (${J.id}) is marked as '${J.environment}', NOT 'test'. Aborting sync to protect non-test environments.`);let I=await B1(Q),K=await B1(J),[G,H,W,X,Z,q,V,F]=await Promise.all([o1(I,Q.seal.endpoints.approvalStylePreferences).catch(()=>({})),o1(K,J.seal.endpoints.approvalStylePreferences).catch(()=>({})),p6(I),p6(K),P$(I).catch(()=>[]),P$(K).catch(()=>[]),h7(I,{limit:100}).catch(()=>({articles:[]})),h7(K,{limit:100}).catch(()=>({articles:[]}))]),M=(V.articles||[]).filter((G0)=>!G0.isDeleted),w=(F.articles||[]).filter((G0)=>!G0.isDeleted),N=new Map(w.map((G0)=>[G0.title.trim(),G0])),O=[],D=[],P=new Set(M.map((G0)=>G0.title.trim()));for(let G0 of M){let T0=G0.title.trim(),i0=N.get(T0);if(!i0)O.push(G0);else{let Y1=i0.content!==G0.content,a=(i0.purpose??"")!==(G0.purpose??""),W0=i0.enabled!==G0.enabled,F0=i0.contentType!==G0.contentType,f0=(i0.status??"")!==(G0.status??""),u0=JSON.stringify([...i0.scenarios??[]].sort())!==JSON.stringify([...G0.scenarios??[]].sort()),c0=JSON.stringify([...i0.tags??[]].sort())!==JSON.stringify([...G0.tags??[]].sort());if(Y1||a||W0||F0||f0||u0||c0)D.push({testId:i0.id,prodDoc:G0,reasons:[...Y1?["content"]:[],...a?["purpose"]:[],...W0?["enabled"]:[],...F0?["contentType"]:[],...f0?["status"]:[],...u0?["scenarios"]:[],...c0?["tags"]:[]]})}}let T=w.filter((G0)=>!P.has(G0.title.trim())),j=[...Z].sort((G0,T0)=>T0.versionNumber-G0.versionNumber)[0],C=j?.versionNumber,x=([...q].sort((G0,T0)=>T0.versionNumber-G0.versionNumber)[0]?.versionNumber??0)+1,S=dv0(Q.name,C,q),c=h(U.options["version-name"])??h(U.options.versionName)??mv0(Q.name,C,S,x),z0={...H,tone:G.tone,language:G.language,detailLevel:G.detailLevel,outputFormat:G.outputFormat,examples:G.examples??[],prohibitedPhrases:G.prohibitedPhrases??[],customInstructions:G.customInstructions,decisionPreferences:G.decisionPreferences,thinkingDepthPreference:G.thinkingDepthPreference};if(Z0(U.options["dry-run"])===!0||Z0(U.options.dryRun)===!0){b0({dryRun:!0,source:{id:Q.id,name:Q.name,environment:Q.environment,latestPublishedVersion:j?{versionNumber:j.versionNumber,versionName:j.versionName}:null,documentsCount:M.length},target:{id:J.id,name:J.name,environment:J.environment},versionMappingPlan:{sourceProdVersionNumber:C??null,sourceProdVersionName:j?.versionName??null,targetTestExpectedVersionNumber:x,targetTestPublishVersionName:c,iteration:S},preferencesDiff:{decisionPreferences:{before:H.decisionPreferences,after:G.decisionPreferences},thinkingDepthPreference:{before:H.thinkingDepthPreference,after:G.thinkingDepthPreference}},rulesPlan:{sourceDraftRuleCount:W.rules.length,targetExistingDraftRuleCount:X.rules.length,toDeleteCount:X.rules.length,toCreateCount:W.rules.length,rulesToSync:W.rules.map((G0,T0)=>({index:T0+1,sourceRuleId:G0.id,sourceRuleCode:G0.code??T0+1,expectedTargetCode:`rule-${T0+1}`,description:G0.description,scope:G0.scope,strictness:G0.strictness}))},documentsPlan:{sourceDocumentCount:M.length,targetExistingDocumentCount:w.length,toCreateCount:O.length,toCreate:O.map((G0)=>({title:G0.title,purpose:G0.purpose,contentType:G0.contentType,scenarios:G0.scenarios})),toUpdateCount:D.length,toUpdate:D.map((G0)=>({targetDocumentId:G0.testId,title:G0.prodDoc.title,reasons:G0.reasons})),toDeleteCount:T.length,toDelete:T.map((G0)=>({targetDocumentId:G0.id,title:G0.title}))},publishingPlan:{targetCorpId:J.id,publishVersionName:c,publishTarget:"test"},hosecloudSyncPlan:(()=>{if(Q.source.type!=="hose")return{sourceType:Q.source.type,skipped:!0,reason:"prod source is not hose; no hosecloud credentials available"};let G0=(G.integrations??[]).filter((Y1)=>Y1.type==="hosecloud"),T0=new Set,i0=G0.filter((Y1)=>{let a=Y1.corporationId??Q.id;if(T0.has(a))return!1;return T0.add(a),!0});return{sourceType:"hose",outboundName:tv0(Q.name),targetMode:"assisted",integrationsCount:i0.length,integrations:i0.map((Y1)=>({corporationId:Y1.corporationId,apiOrigin:Y1.apiOrigin,customApiUrl:Y1.customApiUrl}))}})(),productionGuarantees:{prodRulesStayDraft:!0,prodVersionPublished:!1}});return}if(!(Z0(U.options.yes)===!0||Z0(U.options.confirm)===!0))throw D9(`Refusing to overwrite test enterprise '${J.name}' (${J.id}) with preferences, ${W.rules.length} draft rules, and ${M.length} knowledge documents from production enterprise '${Q.name}' (${Q.id}) without --yes. This will replace test draft rules, synchronize knowledge documents, and publish a new version on the test enterprise.`,`seal-use corps sync-test ${Q.id} --yes`);await m5(K,z0,J.seal.endpoints.approvalStylePreferences);let t=[];for(let G0 of T)await LM(K,G0.id),t.push({id:G0.id,title:G0.title});let $0=[];for(let G0 of D)await VM(K,G0.testId,{title:G0.prodDoc.title,purpose:G0.prodDoc.purpose,content:G0.prodDoc.content,contentType:G0.prodDoc.contentType,status:G0.prodDoc.status,enabled:G0.prodDoc.enabled,scenarios:G0.prodDoc.scenarios&&G0.prodDoc.scenarios.length>0?G0.prodDoc.scenarios:["audit"],tags:G0.prodDoc.tags}),$0.push({id:G0.testId,title:G0.prodDoc.title,reasons:G0.reasons});let g=[];for(let G0 of O){let T0=await qM(K,{title:G0.title,purpose:G0.purpose,content:G0.content,contentType:G0.contentType,status:G0.status,enabled:G0.enabled,scenarios:G0.scenarios&&G0.scenarios.length>0?G0.scenarios:["audit"],tags:G0.tags});g.push({id:T0.id,title:T0.title})}for(let G0 of X.rules)await oQ(K,G0.id);let p=[];for(let G0 of W.rules){let T0=await hH(K,{description:G0.description,scope:G0.scope,strictness:G0.strictness});p.push(T0)}await ZM(K).catch(()=>{return});let e=await gH(K,c),y=e.version.rules??[],s=W.rules.map((G0,T0)=>{let i0=p[T0],Y1=y[T0];return{index:T0+1,sourceRuleId:G0.id,sourceRuleCode:G0.code??T0+1,targetRuleId:i0?.id??"",targetRuleCode:Y1?.code??`rule-${T0+1}`,description:G0.description,scope:G0.scope,strictness:G0.strictness}}),Y0={sourceProdVersionNumber:C??null,sourceProdVersionName:j?.versionName??null,targetTestVersionNumber:e.version.versionNumber,targetTestVersionName:e.version.versionName??null},N0;try{N0=cv0({syncedAt:new Date().toISOString(),source:{id:Q.id,name:Q.name,latestPublishedVersionNumber:C??null,latestPublishedVersionName:j?.versionName??null},target:{id:J.id,name:J.name,publishedVersionNumber:e.version.versionNumber,publishedVersionName:e.version.versionName,rulesCount:e.rulesCount},versionMapping:Y0,ruleMapping:s})}catch{}let E0=await lS1(Q,J,I,K).catch((G0)=>({skipped:!0,reason:`error: ${G0?.message??String(G0)}`}));b0({success:!0,syncedAt:new Date().toISOString(),source:{id:Q.id,name:Q.name,environment:Q.environment,latestPublishedVersion:j?{versionNumber:j.versionNumber,versionName:j.versionName}:null,draftRulesCount:W.rules.length,documentsCount:M.length},target:{id:J.id,name:J.name,environment:J.environment,deletedDraftRulesCount:X.rules.length,createdDraftRulesCount:p.length,publishedVersion:{id:e.version.id,versionNumber:e.version.versionNumber,versionName:e.version.versionName,rulesCount:e.rulesCount}},documents:{sourceCount:M.length,targetExistingCount:w.length,createdCount:g.length,created:g,updatedCount:$0.length,updated:$0,deletedCount:t.length,deleted:t},versionMapping:Y0,ruleMapping:s,...N0?{mappingSavedTo:N0}:{},hosecloudSync:E0,productionGuarantees:{prodRulesStayDraft:!0,prodVersionPublished:!1}});return}if($==="replay-test"){let z=Y??h(U.options.corp)??h(U.options.prodCorp)??h(U.options["prod-corp"]),Q=j1(z),J=Z0(U.options.force)===!0,I;if(!Q.testCorpId){if(!J)throw m4(`Production enterprise '${Q.name}' (${Q.id}) has no bound test enterprise. +`+"\uD83D\uDC49 检索指定企业请使用: seal-use corps search ")}f0(w.map((N)=>({id:N.id,name:N.name,environment:N.environment??"production",sourceType:N.source.type,provider:N.source.provider??N.source.type,staffId:N.source.staffId,testCorpId:N.testCorpId,prodCorpId:N.prodCorpId,current:N.id===H})));return}if($==="get"||$==="show"){let z=Y??h(U.options.corp);if(!z)throw m4("Usage: seal-use corps get ");let Q=j1(z),J=zp(Q.id),I=pS1(Q);f0({id:Q.id,name:Q.name,environment:Q.environment??"production",configFile:J,seal:{url:I,tenantSlug:Q.seal.tenantSlug??Q.source.tenantSlug,customHeaderNames:Q.seal.headers?Object.keys(Q.seal.headers):[],customCookieNames:Q.seal.cookies?Object.keys(Q.seal.cookies):[],endpoints:Q.seal.endpoints},source:dS1(Q.source),relations:{testCorpId:Q.testCorpId,prodCorpId:Q.prodCorpId},auth:{refreshTtl:Q.auth.refreshTtl}});return}if($==="current"){let z=j1(h(U.options.corp));f0({id:z.id,name:z.name,environment:z.environment??"production",sourceType:z.source.type,provider:z.source.provider??z.source.type,staffId:z.source.staffId,testCorpId:z.testCorpId,prodCorpId:z.prodCorpId});return}if($==="mark"||$==="mark-test"||$==="mark-prod"){let z=Y??h(U.options.corp);if(!z)throw m4("Usage: seal-use corps mark --env [--confirm]");let Q=j1(z),J=$==="mark-test"?"test":$==="mark-prod"?"production":h(U.options.env)??h(U.options.environment);if(J!=="production"&&J!=="test")throw m4("Usage: seal-use corps mark --env [--confirm]");if(!(Z0(U.options.confirm)===!0||Z0(U.options.yes)===!0))throw A9(`Refusing to change environment tag of enterprise '${Q.name}' (${Q.id}) to '${J}' without --confirm. Marking alters synchronization safety guards.`,`seal-use corps mark ${Q.id} --env ${J} --confirm`);let K=g3(Q.id,{environment:J});f0({id:K.id,name:K.name,environment:K.environment,testCorpId:K.testCorpId,prodCorpId:K.prodCorpId});return}if($==="rename"){let z=Y??h(U.options.corp)??h(U.options.id),Q=h(U.options.name)??h(U.options.to)??(U.command[3]&&!U.command[3].startsWith("-")?U.command[3]:void 0);if(!z||!Q)throw Error("Usage: seal-use corps rename --name ");let J=j1(z),I=g3(J.id,{name:Q});f0({success:!0,id:I.id,name:I.name,previousName:J.name});return}if($==="bind-test"){let z,Q;if(Y&&U.command[3])z=Y,Q=U.command[3];else if(Y){let X=h(U.options.corp),Z=h(U.options["test-corp"])??h(U.options.testCorp);if(X)z=X,Q=Y;else if(Z)z=Y,Q=Z}if(!z||!Q)throw m4(`Usage: seal-use corps bind-test [--confirm] [--force] + or: seal-use corps bind-test --corp [--confirm] [--force]`);let J=j1(z),I=j1(Q);if(J.id===I.id)throw m4(`Cannot bind enterprise '${J.id}' to itself.`);if(J.prodCorpId&&J.prodCorpId!==I.id)throw m4(`Cannot use '${J.id}' as a production enterprise because it is already registered as a test enterprise for '${J.prodCorpId}'. Multi-tier chaining is not permitted.`);if(I.testCorpId&&I.testCorpId!==J.id)throw m4(`Cannot bind '${I.id}' as a test enterprise because it already has a bound test enterprise '${I.testCorpId}'. Multi-tier chaining is not permitted.`);let K=Z0(U.options.force)===!0;if(J.testCorpId&&J.testCorpId!==I.id||I.prodCorpId&&I.prodCorpId!==J.id){if(!K)throw A9(`Enterprise binding conflict: production enterprise '${J.id}' is bound to '${J.testCorpId??"none"}', and test enterprise '${I.id}' is bound to '${I.prodCorpId??"none"}'. Overwriting an existing binding requires --force and --confirm.`,`seal-use corps bind-test ${J.id} ${I.id} --confirm --force`)}if(!(Z0(U.options.confirm)===!0||Z0(U.options.yes)===!0)){let X=K?" --force":"";throw A9(`Refusing to bind test enterprise '${I.name}' (${I.id}) to production enterprise '${J.name}' (${J.id}) without --confirm. Enterprise binding establishes 1-to-1 sync pairing and marks '${I.id}' as a test environment.`,`seal-use corps bind-test ${J.id} ${I.id} --confirm${X}`)}if(J.testCorpId&&J.testCorpId!==I.id)try{g3(J.testCorpId,{prodCorpId:void 0})}catch{}if(I.prodCorpId&&I.prodCorpId!==J.id)try{g3(I.prodCorpId,{testCorpId:void 0})}catch{}let H=g3(J.id,{environment:"production",testCorpId:I.id}),W=g3(I.id,{environment:"test",prodCorpId:J.id});f0({success:!0,productionEnterprise:{id:H.id,name:H.name,environment:H.environment,testCorpId:H.testCorpId},testEnterprise:{id:W.id,name:W.name,environment:W.environment,prodCorpId:W.prodCorpId}});return}if($==="unbind-test"){let z=Y??h(U.options.corp),Q=j1(z);if(!Q.testCorpId&&!Q.prodCorpId){f0({unbound:!1,message:`Enterprise '${Q.name}' (${Q.id}) does not have an active test enterprise binding.`});return}let J=Q.testCorpId?Q.id:Q.prodCorpId,I=Q.testCorpId?Q.testCorpId:Q.id;if(!(Z0(U.options.confirm)===!0||Z0(U.options.yes)===!0))throw A9(`Refusing to unbind production enterprise '${J}' and test enterprise '${I}' without --confirm.`,`seal-use corps unbind-test ${Q.id} --confirm`);g3(J,{testCorpId:void 0});try{g3(I,{prodCorpId:void 0})}catch{}f0({success:!0,unboundProduction:J,unboundTest:I});return}if($==="sync-test"){let z=Y??h(U.options.corp),Q=j1(z);if(!Q.testCorpId)throw m4(`Production enterprise '${Q.name}' (${Q.id}) has no bound test enterprise. +Run 'seal-use corps bind-test ${Q.id} --confirm' first to establish a verified 1-to-1 association.`);let J=j1(Q.testCorpId);if(J.environment!=="test")throw Error(`Target enterprise '${J.name}' (${J.id}) is marked as '${J.environment}', NOT 'test'. Aborting sync to protect non-test environments.`);let I=await B1(Q),K=await B1(J),[G,H,W,X,Z,q,V,F]=await Promise.all([o1(I,Q.seal.endpoints.approvalStylePreferences).catch(()=>({})),o1(K,J.seal.endpoints.approvalStylePreferences).catch(()=>({})),p6(I),p6(K),P$(I).catch(()=>[]),P$(K).catch(()=>[]),h7(I,{limit:100}).catch(()=>({articles:[]})),h7(K,{limit:100}).catch(()=>({articles:[]}))]),M=(V.articles||[]).filter((G0)=>!G0.isDeleted),w=(F.articles||[]).filter((G0)=>!G0.isDeleted),N=new Map(w.map((G0)=>[G0.title.trim(),G0])),O=[],D=[],P=new Set(M.map((G0)=>G0.title.trim()));for(let G0 of M){let T0=G0.title.trim(),i0=N.get(T0);if(!i0)O.push(G0);else{let Y1=i0.content!==G0.content,a=(i0.purpose??"")!==(G0.purpose??""),W0=i0.enabled!==G0.enabled,F0=i0.contentType!==G0.contentType,u0=(i0.status??"")!==(G0.status??""),b0=JSON.stringify([...i0.scenarios??[]].sort())!==JSON.stringify([...G0.scenarios??[]].sort()),c0=JSON.stringify([...i0.tags??[]].sort())!==JSON.stringify([...G0.tags??[]].sort());if(Y1||a||W0||F0||u0||b0||c0)D.push({testId:i0.id,prodDoc:G0,reasons:[...Y1?["content"]:[],...a?["purpose"]:[],...W0?["enabled"]:[],...F0?["contentType"]:[],...u0?["status"]:[],...b0?["scenarios"]:[],...c0?["tags"]:[]]})}}let T=w.filter((G0)=>!P.has(G0.title.trim())),j=[...Z].sort((G0,T0)=>T0.versionNumber-G0.versionNumber)[0],C=j?.versionNumber,x=([...q].sort((G0,T0)=>T0.versionNumber-G0.versionNumber)[0]?.versionNumber??0)+1,S=dv0(Q.name,C,q),c=h(U.options["version-name"])??h(U.options.versionName)??mv0(Q.name,C,S,x),z0={...H,tone:G.tone,language:G.language,detailLevel:G.detailLevel,outputFormat:G.outputFormat,examples:G.examples??[],prohibitedPhrases:G.prohibitedPhrases??[],customInstructions:G.customInstructions,decisionPreferences:G.decisionPreferences,thinkingDepthPreference:G.thinkingDepthPreference};if(Z0(U.options["dry-run"])===!0||Z0(U.options.dryRun)===!0){f0({dryRun:!0,source:{id:Q.id,name:Q.name,environment:Q.environment,latestPublishedVersion:j?{versionNumber:j.versionNumber,versionName:j.versionName}:null,documentsCount:M.length},target:{id:J.id,name:J.name,environment:J.environment},versionMappingPlan:{sourceProdVersionNumber:C??null,sourceProdVersionName:j?.versionName??null,targetTestExpectedVersionNumber:x,targetTestPublishVersionName:c,iteration:S},preferencesDiff:{decisionPreferences:{before:H.decisionPreferences,after:G.decisionPreferences},thinkingDepthPreference:{before:H.thinkingDepthPreference,after:G.thinkingDepthPreference}},rulesPlan:{sourceDraftRuleCount:W.rules.length,targetExistingDraftRuleCount:X.rules.length,toDeleteCount:X.rules.length,toCreateCount:W.rules.length,rulesToSync:W.rules.map((G0,T0)=>({index:T0+1,sourceRuleId:G0.id,sourceRuleCode:G0.code??T0+1,expectedTargetCode:`rule-${T0+1}`,description:G0.description,scope:G0.scope,strictness:G0.strictness}))},documentsPlan:{sourceDocumentCount:M.length,targetExistingDocumentCount:w.length,toCreateCount:O.length,toCreate:O.map((G0)=>({title:G0.title,purpose:G0.purpose,contentType:G0.contentType,scenarios:G0.scenarios})),toUpdateCount:D.length,toUpdate:D.map((G0)=>({targetDocumentId:G0.testId,title:G0.prodDoc.title,reasons:G0.reasons})),toDeleteCount:T.length,toDelete:T.map((G0)=>({targetDocumentId:G0.id,title:G0.title}))},publishingPlan:{targetCorpId:J.id,publishVersionName:c,publishTarget:"test"},hosecloudSyncPlan:(()=>{if(Q.source.type!=="hose")return{sourceType:Q.source.type,skipped:!0,reason:"prod source is not hose; no hosecloud credentials available"};let G0=(G.integrations??[]).filter((Y1)=>Y1.type==="hosecloud"),T0=new Set,i0=G0.filter((Y1)=>{let a=Y1.corporationId??Q.id;if(T0.has(a))return!1;return T0.add(a),!0});return{sourceType:"hose",outboundName:tv0(Q.name),targetMode:"assisted",integrationsCount:i0.length,integrations:i0.map((Y1)=>({corporationId:Y1.corporationId,apiOrigin:Y1.apiOrigin,customApiUrl:Y1.customApiUrl}))}})(),productionGuarantees:{prodRulesStayDraft:!0,prodVersionPublished:!1}});return}if(!(Z0(U.options.yes)===!0||Z0(U.options.confirm)===!0))throw A9(`Refusing to overwrite test enterprise '${J.name}' (${J.id}) with preferences, ${W.rules.length} draft rules, and ${M.length} knowledge documents from production enterprise '${Q.name}' (${Q.id}) without --yes. This will replace test draft rules, synchronize knowledge documents, and publish a new version on the test enterprise.`,`seal-use corps sync-test ${Q.id} --yes`);await l5(K,z0,J.seal.endpoints.approvalStylePreferences);let t=[];for(let G0 of T)await LM(K,G0.id),t.push({id:G0.id,title:G0.title});let $0=[];for(let G0 of D)await VM(K,G0.testId,{title:G0.prodDoc.title,purpose:G0.prodDoc.purpose,content:G0.prodDoc.content,contentType:G0.prodDoc.contentType,status:G0.prodDoc.status,enabled:G0.prodDoc.enabled,scenarios:G0.prodDoc.scenarios&&G0.prodDoc.scenarios.length>0?G0.prodDoc.scenarios:["audit"],tags:G0.prodDoc.tags}),$0.push({id:G0.testId,title:G0.prodDoc.title,reasons:G0.reasons});let g=[];for(let G0 of O){let T0=await qM(K,{title:G0.title,purpose:G0.purpose,content:G0.content,contentType:G0.contentType,status:G0.status,enabled:G0.enabled,scenarios:G0.scenarios&&G0.scenarios.length>0?G0.scenarios:["audit"],tags:G0.tags});g.push({id:T0.id,title:T0.title})}for(let G0 of X.rules)await oQ(K,G0.id);let p=[];for(let G0 of W.rules){let T0=await hH(K,{description:G0.description,scope:G0.scope,strictness:G0.strictness});p.push(T0)}await ZM(K).catch(()=>{return});let e=await gH(K,c),y=e.version.rules??[],s=W.rules.map((G0,T0)=>{let i0=p[T0],Y1=y[T0];return{index:T0+1,sourceRuleId:G0.id,sourceRuleCode:G0.code??T0+1,targetRuleId:i0?.id??"",targetRuleCode:Y1?.code??`rule-${T0+1}`,description:G0.description,scope:G0.scope,strictness:G0.strictness}}),Y0={sourceProdVersionNumber:C??null,sourceProdVersionName:j?.versionName??null,targetTestVersionNumber:e.version.versionNumber,targetTestVersionName:e.version.versionName??null},N0;try{N0=cv0({syncedAt:new Date().toISOString(),source:{id:Q.id,name:Q.name,latestPublishedVersionNumber:C??null,latestPublishedVersionName:j?.versionName??null},target:{id:J.id,name:J.name,publishedVersionNumber:e.version.versionNumber,publishedVersionName:e.version.versionName,rulesCount:e.rulesCount},versionMapping:Y0,ruleMapping:s})}catch{}let E0=await lS1(Q,J,I,K).catch((G0)=>({skipped:!0,reason:`error: ${G0?.message??String(G0)}`}));f0({success:!0,syncedAt:new Date().toISOString(),source:{id:Q.id,name:Q.name,environment:Q.environment,latestPublishedVersion:j?{versionNumber:j.versionNumber,versionName:j.versionName}:null,draftRulesCount:W.rules.length,documentsCount:M.length},target:{id:J.id,name:J.name,environment:J.environment,deletedDraftRulesCount:X.rules.length,createdDraftRulesCount:p.length,publishedVersion:{id:e.version.id,versionNumber:e.version.versionNumber,versionName:e.version.versionName,rulesCount:e.rulesCount}},documents:{sourceCount:M.length,targetExistingCount:w.length,createdCount:g.length,created:g,updatedCount:$0.length,updated:$0,deletedCount:t.length,deleted:t},versionMapping:Y0,ruleMapping:s,...N0?{mappingSavedTo:N0}:{},hosecloudSync:E0,productionGuarantees:{prodRulesStayDraft:!0,prodVersionPublished:!1}});return}if($==="replay-test"){let z=Y??h(U.options.corp)??h(U.options.prodCorp)??h(U.options["prod-corp"]),Q=j1(z),J=Z0(U.options.force)===!0,I;if(!Q.testCorpId){if(!J)throw m4(`Production enterprise '${Q.name}' (${Q.id}) has no bound test enterprise. Run 'seal-use corps bind-test ${Q.id} --confirm' first to establish a verified 1-to-1 association, -or add '--force' (or use 'seal-use webhook replay --force') if you explicitly intend to replay directly within production.`);I=Q}else if(I=j1(Q.testCorpId),I.environment!=="test"&&!J)throw Error(`Target enterprise '${I.name}' (${I.id}) is marked as '${I.environment}', NOT 'test'. Aborting replay to protect non-test environments (use --force to override).`);let K=h(U.options.recordId)??h(U.options["record-id"])??h(U.options.id),G=h(U.options.recordIds)??h(U.options["record-ids"]),H=G?G.split(",").map((x)=>x.trim()).filter(Boolean):void 0,W=h(U.options.sn)??h(U.options.documentSn)??h(U.options["document-sn"]),X=h(U.options.sns)??h(U.options["document-sns"]),Z=X?X.split(",").map((x)=>x.trim()).filter(Boolean):void 0,q=s0(U.options.limit)??(!K&&!H&&!W&&!Z?1:void 0),V=h(U.options.status),F=h(U.options.startDate)??h(U.options["start-date"]),M=h(U.options.endDate)??h(U.options["end-date"]),w=await B1(Q),N=Q.id===I.id?w:await B1(I),O=h(U.options.webhook)??h(U.options.selector),D=h(U.options.snSuffix)??h(U.options["sn-suffix"]),P=h(U.options.snPrefix)??h(U.options["sn-prefix"]),T=h(U.options.docIdSuffix)??h(U.options["doc-id-suffix"]),A=h(U.options.docIdPrefix)??h(U.options["doc-id-prefix"]),j=Z0(U.options.dryRun)??Z0(U.options["dry-run"]),C={recordId:K,recordIds:H,sn:W,sns:Z,limit:q,status:V,startDate:F,endDate:M};console.error(`[corps-replay-test] 正式企业「${Q.name}」(${Q.id}) -> 测试企业「${I.name}」(${I.id})`);let b=await tI({query:C,sourceClient:w,targetClient:N,sourceCorp:Q,targetCorp:I,webhookSelector:O,snPrefix:P,snSuffix:D,docIdPrefix:A,docIdSuffix:T,dryRun:j});if(j){console.error(`[corps-replay-test] 预览模式:已成功从 ${Q.name} 提取单据并转换为 Webhook Payload(未实际推送)。`),console.log(JSON.stringify(b,null,2));return}if(b.success)if(b.totalCount===1&&b.replayedDocument)console.error(`\uD83D\uDFE2 成功重放单据「${b.replayedDocument.documentSN}」至 ${I.name} (${b.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDFE2 成功重放 ${b.successCount} 条单据(来自「${Q.name}」)至「${I.name}」(${b.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDD34 单据重放部分或全部失败(成功 ${b.successCount} 条,失败 ${b.failureCount} 条)至「${I.name}」`);if(console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${I.id} --limit ${b.totalCount}`),console.log(JSON.stringify(b,null,2)),!b.success)process.exitCode=1;return}if($==="switch"){let z=Y;if(!z)throw Error("Usage: seal-use corps switch ");let Q=_4();if(!Q.stateful)throw Error("Cannot switch the default enterprise while stateless mode is enabled. Use `seal-use config mode stateful` first.");let J=j1(z);Hz({...Q,stateful:!0,defaultCorpId:J.id}),b0({current:!0,id:J.id,name:J.name});return}if($==="probe-hose"){await oS1(y8(U.json));return}if($==="hose-staffs"){await rS1(y8(U.json));return}if($==="add-hose"){let Q={...y8(U.json),...U.options.staffName?{staffName:h(U.options.staffName)}:{},...U.options["staff-name"]?{staffName:h(U.options["staff-name"])}:{},...U.options.staffPhone?{staffPhone:h(U.options.staffPhone)}:{},...U.options["staff-phone"]?{staffPhone:h(U.options["staff-phone"])}:{},...U.options.name?{name:h(U.options.name)}:{},...U.options.domain?{domain:h(U.options.domain)}:{},...U.options.corpId?{corpId:h(U.options.corpId)}:{},...U.options["corp-id"]?{corpId:h(U.options["corp-id"])}:{},...U.options.appKey?{appKey:h(U.options.appKey)}:{},...U.options["app-key"]?{appKey:h(U.options["app-key"])}:{},...U.options.appSecurity?{appSecurity:h(U.options.appSecurity)}:{},...U.options["app-security"]?{appSecurity:h(U.options["app-security"])}:{},...U.options.force!==void 0?{force:Z0(U.options.force)}:{},...U.options.overwrite!==void 0?{overwrite:Z0(U.options.overwrite)}:{}};await cl(Q);return}if($==="add-seal"){let Q={...y8(U.json),...U.options.name?{name:h(U.options.name)}:{},...U.options.token?{token:h(U.options.token)}:{},...U.options.sealUrl?{sealUrl:h(U.options.sealUrl)}:{},...U.options.url?{sealUrl:h(U.options.url)}:{},...U.options.force!==void 0?{force:Z0(U.options.force)}:{},...U.options.overwrite!==void 0?{overwrite:Z0(U.options.overwrite)}:{}};await sS1(Q);return}if($==="add-link"){let z=Y??h(U.options.link)??h(U.options.url);if(!z)throw Error("Usage: seal-use corps add-link [--name ] [--as-hose] [--overwrite]");if(Z0(U.options["as-hose"])===!0||Z0(U.options.hose)===!0){await tS1(z,h(U.options.name),Z0(U.options.overwrite)===!0,Z0(U.options.force)===!0,{appKey:h(U.options["app-key"])??h(U.options.appKey),keyId:h(U.options["key-id"])??h(U.options.keyId)});return}await aS1(z,h(U.options.name),Z0(U.options.overwrite)===!0);return}if($==="extract-keys"||$==="extract-key"){let z=Y??h(U.options.link)??h(U.options.url);if(!z)throw Error("Usage: seal-use corps extract-keys [--reveal] [--save] [--app-key ] [--key-id ] [--name ] [--overwrite]");let Q=Z0(U.options.reveal)===!0||Z0(U.options.r)===!0||Z0(U.options.plain)===!0,J=Z0(U.options.save)===!0||Z0(U.options.add)===!0;await RT(z,{reveal:Q,save:J,name:h(U.options.name),overwrite:Z0(U.options.overwrite)===!0,force:Z0(U.options.force)===!0,appKey:h(U.options["app-key"])??h(U.options.appKey),keyId:h(U.options["key-id"])??h(U.options.keyId)});return}if($==="keys"){let z=Y??h(U.options.link)??h(U.options.url)??h(U.options.corp),Q=Z0(U.options.reveal)===!0||Z0(U.options.r)===!0||Z0(U.options.plain)===!0;if(z&&(z.startsWith("http://")||z.startsWith("https://"))){let J=Z0(U.options.save)===!0||Z0(U.options.add)===!0;await RT(z,{reveal:Q,save:J,name:h(U.options.name),overwrite:Z0(U.options.overwrite)===!0,force:Z0(U.options.force)===!0,appKey:h(U.options["app-key"])??h(U.options.appKey),keyId:h(U.options["key-id"])??h(U.options.keyId)});return}await nl(z,{reveal:Q});return}throw Error(`Unknown corps command: ${$??""}. Run 'seal-use help' for available commands.`)}function mS1($){if(!$)return"未绑定手机";let Y=$.trim();if(Y.length===11)return`${Y.slice(0,3)}****${Y.slice(7)}`;if(Y.length>=7)return`${Y.slice(0,3)}****${Y.slice(-4)}`;if(Y.length>4)return`${Y.slice(0,2)}****${Y.slice(-2)}`;return Y}function tv0($){return[...$].slice(0,6).join("")+"(Seal测)"}async function lS1($,Y,U,z){if($.source.type!=="hose")return{skipped:!0,reason:"prod source is not hose; no hosecloud credentials available"};let Q=($.source.appKey??$.source.key)?.trim(),J=($.source.appSecurity??$.source.password)?.trim();if(!Q||!J)return{skipped:!0,reason:"prod hose source missing appKey/appSecurity (or key/password)"};let[I,K]=await Promise.all([o1(U,$.seal.endpoints.approvalStylePreferences).catch(()=>({})),o1(z,Y.seal.endpoints.approvalStylePreferences).catch(()=>({}))]),G=(I.integrations??[]).filter((N)=>N.type==="hosecloud");if(G.length===0)return{skipped:!0,reason:"prod Seal enterprise has no hosecloud integrations configured"};let H=new Set,W=[];for(let N of G){let O=N.corporationId??$.id;if(!H.has(O))H.add(O),W.push(N)}let X=K.integrations??[],Z=new Map(X.filter((N)=>N.type==="hosecloud").map((N)=>[N.corporationId,N])),q=tv0($.name),V=[],F=W.map((N)=>{let O=Z.get(N.corporationId),D=O?.signKey??nS1(6).toString("hex");return V.push({signKey:D,outboundName:q,corporationId:N.corporationId,action:O?"updated":"created"}),{type:"hosecloud",signKey:D,outboundName:q,mode:"assisted",apiKey:Q,apiSecret:J,apiOrigin:N.apiOrigin,...N.customApiUrl?{customApiUrl:N.customApiUrl}:{},corporationId:N.corporationId}}),M=X.filter((N)=>N.type!=="hosecloud"),w={...K,integrations:[...M,...F]};return await m5(z,w,Y.seal.endpoints.approvalStylePreferences),{skipped:!1,synced:V}}async function oS1($){let Y=m3($,"appKey"),U=m3($,"appSecurity"),z=X4($,"domain"),Q=await pQ(Y,U,z),J=await UM(Q.domain,Q.openapiToken).catch(()=>[]),I=J.reduce((K,G)=>K+G.roleDefs.length,0);b0({domain:Q.domain,corpId:Q.corpId,name:Q.corpName??Q.corpId,roleCount:I,roleGroups:J.map((K)=>({id:K.id,name:K.name,roleDefs:K.roleDefs.map((G)=>({id:G.id,name:G.name,sourceType:G.sourceType}))}))})}async function rS1($){let Y=m3($,"appKey"),U=m3($,"appSecurity"),z=X4($,"domain"),Q=X4($,"role")??X4($,"roleDefId")??"admin",J=await pQ(Y,U,z),I=await UM(J.domain,J.openapiToken),K,G;for(let X of I){for(let Z of X.roleDefs)if(Z.id===Q||Z.id===`${J.corpId}:${Q}`){K=Z.id,G=Z.name;break}if(K)break}if(!K&&(Q==="admin"||Q==="主管理员"))for(let X of I){for(let Z of X.roleDefs)if(Z.id.endsWith(":admin")||Z.name==="主管理员"){K=Z.id,G=Z.name;break}if(K)break}if(!K)for(let X of I){for(let Z of X.roleDefs)if(Z.name.toLowerCase().includes(Q.toLowerCase())){K=Z.id,G=Z.name;break}if(K)break}if(!K)throw Error(`Role not found matching query: '${Q}'. Run 'seal-use corps probe-hose' to view all available roles.`);let H=await SS(J.domain,J.openapiToken,K),W=await gS(J.domain,J.openapiToken,H.staffs);b0({domain:J.domain,corpId:J.corpId,corpName:J.corpName??J.corpId,roleId:K,roleName:G,count:W.length,staffs:W.map((X)=>({id:X.id,name:X.name,cellphone:X.cellphone,active:X.active,authState:X.authState,userId:X.userId,email:X.email}))})}async function cl($){let Y=X4($,"name"),U=m3($,"appKey"),z=m3($,"appSecurity"),Q=X4($,"domain"),J=X4($,"staffId")??X4($,"proxyStaffBizId"),I=X4($,"staffName"),K=X4($,"staffPhone"),G=X4($,"role")??"admin",H=$.force===!0,W=H||$.verify===!1?!1:!0,X=Q,Z=X4($,"corpId")??X4($,"corporationId"),q=Y,V;if(!X||!Z||!J){let T=await pQ(U,z,Q);X=T.domain,Z=Z??T.corpId,q=q??T.corpName,V=T.openapiToken}let F=J;if(!F&&V&&X){let T=await UM(X,V).catch(()=>[]),A;for(let j of T){for(let C of j.roleDefs)if(C.id.endsWith(`:${G}`)||C.name===G||C.id===G){A=C.id;break}if(A)break}if(!A)A=T.find((j)=>j.roleDefs.some((C)=>C.id.endsWith(":admin")))?.roleDefs.find((j)=>j.id.endsWith(":admin"))?.id;if(A){let j=await SS(X,V,A).catch(()=>({staffs:[]})),C=await gS(X,V,j.staffs).catch(()=>[]);if(I||K){let b=C.filter((x)=>{if(I&&x.name!==I&&!x.name.includes(I))return!1;if(K&&(!x.cellphone||!x.cellphone.includes(K)))return!1;return!0});if(b.length===1&&b[0])F=b[0].id;else if(b.length>1)throw Error(`Multiple staff members matched '${I??K}': ${b.map((x)=>`${x.name}(${x.id})`).join(", ")}. Please specify exact staffId.`);else throw Error(`No staff member found matching '${I??K}' under role ${A}. Run 'seal-use corps hose-staffs' to view candidates.`)}else if(!H){let b=C.map((x,S)=>` [${S+1}] ${x.name} (${mS1(x.cellphone)})`).join(` +or add '--force' (or use 'seal-use webhook replay --force') if you explicitly intend to replay directly within production.`);I=Q}else if(I=j1(Q.testCorpId),I.environment!=="test"&&!J)throw Error(`Target enterprise '${I.name}' (${I.id}) is marked as '${I.environment}', NOT 'test'. Aborting replay to protect non-test environments (use --force to override).`);let K=h(U.options.recordId)??h(U.options["record-id"])??h(U.options.id),G=h(U.options.recordIds)??h(U.options["record-ids"]),H=G?G.split(",").map((x)=>x.trim()).filter(Boolean):void 0,W=h(U.options.sn)??h(U.options.documentSn)??h(U.options["document-sn"]),X=h(U.options.sns)??h(U.options["document-sns"]),Z=X?X.split(",").map((x)=>x.trim()).filter(Boolean):void 0,q=s0(U.options.limit)??(!K&&!H&&!W&&!Z?1:void 0),V=h(U.options.status),F=h(U.options.startDate)??h(U.options["start-date"]),M=h(U.options.endDate)??h(U.options["end-date"]),w=await B1(Q),N=Q.id===I.id?w:await B1(I),O=h(U.options.webhook)??h(U.options.selector),D=h(U.options.snSuffix)??h(U.options["sn-suffix"]),P=h(U.options.snPrefix)??h(U.options["sn-prefix"]),T=h(U.options.docIdSuffix)??h(U.options["doc-id-suffix"]),A=h(U.options.docIdPrefix)??h(U.options["doc-id-prefix"]),j=Z0(U.options.dryRun)??Z0(U.options["dry-run"]),C={recordId:K,recordIds:H,sn:W,sns:Z,limit:q,status:V,startDate:F,endDate:M};console.error(`[corps-replay-test] 正式企业「${Q.name}」(${Q.id}) -> 测试企业「${I.name}」(${I.id})`);let b=await tI({query:C,sourceClient:w,targetClient:N,sourceCorp:Q,targetCorp:I,webhookSelector:O,snPrefix:P,snSuffix:D,docIdPrefix:A,docIdSuffix:T,dryRun:j});if(j){console.error(`[corps-replay-test] 预览模式:已成功从 ${Q.name} 提取单据并转换为 Webhook Payload(未实际推送)。`),console.log(JSON.stringify(b,null,2));return}if(b.success)if(b.totalCount===1&&b.replayedDocument)console.error(`\uD83D\uDFE2 成功重放单据「${b.replayedDocument.documentSN}」至 ${I.name} (${b.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDFE2 成功重放 ${b.successCount} 条单据(来自「${Q.name}」)至「${I.name}」(${b.targetWebhook?.name??"Webhook 通道"})`);else console.error(`\uD83D\uDD34 单据重放部分或全部失败(成功 ${b.successCount} 条,失败 ${b.failureCount} 条)至「${I.name}」`);if(console.error(`\uD83D\uDC49 Next action: seal-use approval-runs list --corp ${I.id} --limit ${b.totalCount}`),console.log(JSON.stringify(b,null,2)),!b.success)process.exitCode=1;return}if($==="switch"){let z=Y;if(!z)throw Error("Usage: seal-use corps switch ");let Q=_4();if(!Q.stateful)throw Error("Cannot switch the default enterprise while stateless mode is enabled. Use `seal-use config mode stateful` first.");let J=j1(z);Hz({...Q,stateful:!0,defaultCorpId:J.id}),f0({current:!0,id:J.id,name:J.name});return}if($==="probe-hose"){await oS1(y8(U.json));return}if($==="hose-staffs"){await rS1(y8(U.json));return}if($==="add-hose"){let Q={...y8(U.json),...U.options.staffName?{staffName:h(U.options.staffName)}:{},...U.options["staff-name"]?{staffName:h(U.options["staff-name"])}:{},...U.options.staffPhone?{staffPhone:h(U.options.staffPhone)}:{},...U.options["staff-phone"]?{staffPhone:h(U.options["staff-phone"])}:{},...U.options.name?{name:h(U.options.name)}:{},...U.options.domain?{domain:h(U.options.domain)}:{},...U.options.corpId?{corpId:h(U.options.corpId)}:{},...U.options["corp-id"]?{corpId:h(U.options["corp-id"])}:{},...U.options.appKey?{appKey:h(U.options.appKey)}:{},...U.options["app-key"]?{appKey:h(U.options["app-key"])}:{},...U.options.appSecurity?{appSecurity:h(U.options.appSecurity)}:{},...U.options["app-security"]?{appSecurity:h(U.options["app-security"])}:{},...U.options.force!==void 0?{force:Z0(U.options.force)}:{},...U.options.overwrite!==void 0?{overwrite:Z0(U.options.overwrite)}:{}};await cl(Q);return}if($==="add-seal"){let Q={...y8(U.json),...U.options.name?{name:h(U.options.name)}:{},...U.options.token?{token:h(U.options.token)}:{},...U.options.sealUrl?{sealUrl:h(U.options.sealUrl)}:{},...U.options.url?{sealUrl:h(U.options.url)}:{},...U.options.force!==void 0?{force:Z0(U.options.force)}:{},...U.options.overwrite!==void 0?{overwrite:Z0(U.options.overwrite)}:{}};await sS1(Q);return}if($==="add-link"){let z=Y??h(U.options.link)??h(U.options.url);if(!z)throw Error("Usage: seal-use corps add-link [--name ] [--as-hose] [--overwrite]");if(Z0(U.options["as-hose"])===!0||Z0(U.options.hose)===!0){await tS1(z,h(U.options.name),Z0(U.options.overwrite)===!0,Z0(U.options.force)===!0,{appKey:h(U.options["app-key"])??h(U.options.appKey),keyId:h(U.options["key-id"])??h(U.options.keyId)});return}await aS1(z,h(U.options.name),Z0(U.options.overwrite)===!0);return}if($==="extract-keys"||$==="extract-key"){let z=Y??h(U.options.link)??h(U.options.url);if(!z)throw Error("Usage: seal-use corps extract-keys [--reveal] [--save] [--app-key ] [--key-id ] [--name ] [--overwrite]");let Q=Z0(U.options.reveal)===!0||Z0(U.options.r)===!0||Z0(U.options.plain)===!0,J=Z0(U.options.save)===!0||Z0(U.options.add)===!0;await RT(z,{reveal:Q,save:J,name:h(U.options.name),overwrite:Z0(U.options.overwrite)===!0,force:Z0(U.options.force)===!0,appKey:h(U.options["app-key"])??h(U.options.appKey),keyId:h(U.options["key-id"])??h(U.options.keyId)});return}if($==="keys"){let z=Y??h(U.options.link)??h(U.options.url)??h(U.options.corp),Q=Z0(U.options.reveal)===!0||Z0(U.options.r)===!0||Z0(U.options.plain)===!0;if(z&&(z.startsWith("http://")||z.startsWith("https://"))){let J=Z0(U.options.save)===!0||Z0(U.options.add)===!0;await RT(z,{reveal:Q,save:J,name:h(U.options.name),overwrite:Z0(U.options.overwrite)===!0,force:Z0(U.options.force)===!0,appKey:h(U.options["app-key"])??h(U.options.appKey),keyId:h(U.options["key-id"])??h(U.options.keyId)});return}await nl(z,{reveal:Q});return}throw Error(`Unknown corps command: ${$??""}. Run 'seal-use help' for available commands.`)}function mS1($){if(!$)return"未绑定手机";let Y=$.trim();if(Y.length===11)return`${Y.slice(0,3)}****${Y.slice(7)}`;if(Y.length>=7)return`${Y.slice(0,3)}****${Y.slice(-4)}`;if(Y.length>4)return`${Y.slice(0,2)}****${Y.slice(-2)}`;return Y}function tv0($){return[...$].slice(0,6).join("")+"(Seal测)"}async function lS1($,Y,U,z){if($.source.type!=="hose")return{skipped:!0,reason:"prod source is not hose; no hosecloud credentials available"};let Q=($.source.appKey??$.source.key)?.trim(),J=($.source.appSecurity??$.source.password)?.trim();if(!Q||!J)return{skipped:!0,reason:"prod hose source missing appKey/appSecurity (or key/password)"};let[I,K]=await Promise.all([o1(U,$.seal.endpoints.approvalStylePreferences).catch(()=>({})),o1(z,Y.seal.endpoints.approvalStylePreferences).catch(()=>({}))]),G=(I.integrations??[]).filter((N)=>N.type==="hosecloud");if(G.length===0)return{skipped:!0,reason:"prod Seal enterprise has no hosecloud integrations configured"};let H=new Set,W=[];for(let N of G){let O=N.corporationId??$.id;if(!H.has(O))H.add(O),W.push(N)}let X=K.integrations??[],Z=new Map(X.filter((N)=>N.type==="hosecloud").map((N)=>[N.corporationId,N])),q=tv0($.name),V=[],F=W.map((N)=>{let O=Z.get(N.corporationId),D=O?.signKey??nS1(6).toString("hex");return V.push({signKey:D,outboundName:q,corporationId:N.corporationId,action:O?"updated":"created"}),{type:"hosecloud",signKey:D,outboundName:q,mode:"assisted",apiKey:Q,apiSecret:J,apiOrigin:N.apiOrigin,...N.customApiUrl?{customApiUrl:N.customApiUrl}:{},corporationId:N.corporationId}}),M=X.filter((N)=>N.type!=="hosecloud"),w={...K,integrations:[...M,...F]};return await l5(z,w,Y.seal.endpoints.approvalStylePreferences),{skipped:!1,synced:V}}async function oS1($){let Y=m3($,"appKey"),U=m3($,"appSecurity"),z=X4($,"domain"),Q=await pQ(Y,U,z),J=await UM(Q.domain,Q.openapiToken).catch(()=>[]),I=J.reduce((K,G)=>K+G.roleDefs.length,0);f0({domain:Q.domain,corpId:Q.corpId,name:Q.corpName??Q.corpId,roleCount:I,roleGroups:J.map((K)=>({id:K.id,name:K.name,roleDefs:K.roleDefs.map((G)=>({id:G.id,name:G.name,sourceType:G.sourceType}))}))})}async function rS1($){let Y=m3($,"appKey"),U=m3($,"appSecurity"),z=X4($,"domain"),Q=X4($,"role")??X4($,"roleDefId")??"admin",J=await pQ(Y,U,z),I=await UM(J.domain,J.openapiToken),K,G;for(let X of I){for(let Z of X.roleDefs)if(Z.id===Q||Z.id===`${J.corpId}:${Q}`){K=Z.id,G=Z.name;break}if(K)break}if(!K&&(Q==="admin"||Q==="主管理员"))for(let X of I){for(let Z of X.roleDefs)if(Z.id.endsWith(":admin")||Z.name==="主管理员"){K=Z.id,G=Z.name;break}if(K)break}if(!K)for(let X of I){for(let Z of X.roleDefs)if(Z.name.toLowerCase().includes(Q.toLowerCase())){K=Z.id,G=Z.name;break}if(K)break}if(!K)throw Error(`Role not found matching query: '${Q}'. Run 'seal-use corps probe-hose' to view all available roles.`);let H=await SS(J.domain,J.openapiToken,K),W=await gS(J.domain,J.openapiToken,H.staffs);f0({domain:J.domain,corpId:J.corpId,corpName:J.corpName??J.corpId,roleId:K,roleName:G,count:W.length,staffs:W.map((X)=>({id:X.id,name:X.name,cellphone:X.cellphone,active:X.active,authState:X.authState,userId:X.userId,email:X.email}))})}async function cl($){let Y=X4($,"name"),U=m3($,"appKey"),z=m3($,"appSecurity"),Q=X4($,"domain"),J=X4($,"staffId")??X4($,"proxyStaffBizId"),I=X4($,"staffName"),K=X4($,"staffPhone"),G=X4($,"role")??"admin",H=$.force===!0,W=H||$.verify===!1?!1:!0,X=Q,Z=X4($,"corpId")??X4($,"corporationId"),q=Y,V;if(!X||!Z||!J){let T=await pQ(U,z,Q);X=T.domain,Z=Z??T.corpId,q=q??T.corpName,V=T.openapiToken}let F=J;if(!F&&V&&X){let T=await UM(X,V).catch(()=>[]),A;for(let j of T){for(let C of j.roleDefs)if(C.id.endsWith(`:${G}`)||C.name===G||C.id===G){A=C.id;break}if(A)break}if(!A)A=T.find((j)=>j.roleDefs.some((C)=>C.id.endsWith(":admin")))?.roleDefs.find((j)=>j.id.endsWith(":admin"))?.id;if(A){let j=await SS(X,V,A).catch(()=>({staffs:[]})),C=await gS(X,V,j.staffs).catch(()=>[]);if(I||K){let b=C.filter((x)=>{if(I&&x.name!==I&&!x.name.includes(I))return!1;if(K&&(!x.cellphone||!x.cellphone.includes(K)))return!1;return!0});if(b.length===1&&b[0])F=b[0].id;else if(b.length>1)throw Error(`Multiple staff members matched '${I??K}': ${b.map((x)=>`${x.name}(${x.id})`).join(", ")}. Please specify exact staffId.`);else throw Error(`No staff member found matching '${I??K}' under role ${A}. Run 'seal-use corps hose-staffs' to view candidates.`)}else if(!H){let b=C.map((x,S)=>` [${S+1}] ${x.name} (${mS1(x.cellphone)})`).join(` `);throw Error(`Missing required parameter: staffId. 当前企业共配置了 ${C.length} 位管理员账号(手机号已脱敏): `+`${b} @@ -925,18 +925,18 @@ or add '--force' (or use 'seal-use webhook replay --force') if you ex `+` • 按姓名选择:追加 --staffName <姓名>(支持关键字,如: --staffName 谢子豪) `+` • 按手机选择:追加 --staffPhone <手机号>(支持手机后4位,如: --staffPhone 5678) `+" • 或传 force:true / --force 自动使用默认首位管理员。")}}}if(!F)if(!W&&J)F=J;else throw Error("Missing required parameter: staffId (or proxyStaffBizId). Run 'seal-use corps hose-staffs' to discover available administrators.");let M=X4($,"id")??Z,w=Y??q??Z,N=X4($,"sealUrl")??`https://${Z.toLowerCase()}.sealai.cc`,O={id:M,name:w,environment:"production",seal:{url:N,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"hose",domain:X,appKey:U,appSecurity:z,corpId:Z,staffId:F},auth:{refreshTtl:300}};if(W){aw(M);let T=await xK(O);if((!Y||Y===Z)&&T.tenantName&&T.tenantName!==Z)w=T.tenantName,O.name=T.tenantName}let D=Up();ov0(D,{recursive:!0,mode:448});let P=sv0(D,`${LT(M)}.json`);if(lv0(P)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${P}。如需覆盖已有配置,请在命令行追加 --overwrite 或在 JSON 参数中添加 "overwrite": true。`);rv0(P,`${JSON.stringify(O,null,2)} -`,{mode:384}),b0({id:M,name:w,corpId:Z,domain:X,staffId:F,verified:W,path:P})}async function sS1($){let Y=m3($,"token"),U=(X4($,"sealUrl")??X4($,"url")??"").replace(/\/+$/,"");if(!U)throw Error("Missing required JSON field: sealUrl");let z=Dl($,"expiresIn")??2592000,Q=$.force===!0||$.verify===!1?!1:!0,J=ev0($),I=Q?await eS1(U,Y,A6(J)):void 0;Yh0($,{token:Y,sealUrl:U,expiresIn:z,verify:Q,remote:I,custom:J})}function ev0($){return{headers:an.parse($.headers),cookies:tn.parse($.cookies)}}async function aS1($,Y,U){let z=await tw($),Q=T8(z.sealUrl,z.token),J=await W8(Q),I={user:J.user,tenant:J.tenant};ew(z.corpId,I.tenant),Yh0({id:z.corpId,corpId:z.corpId,name:Y,provider:"hosecloud",overwrite:U},{token:z.token,sealUrl:z.sealUrl,expiresIn:z.expiresIn,verify:!0,remote:I})}function $h0($,Y,U,z){if($.length===0)throw Error(`[合思子域提权] 未能从协助链接中提取到合思企业 [${Y}] 的 OpenAPI 密钥凭据。 +`,{mode:384}),f0({id:M,name:w,corpId:Z,domain:X,staffId:F,verified:W,path:P})}async function sS1($){let Y=m3($,"token"),U=(X4($,"sealUrl")??X4($,"url")??"").replace(/\/+$/,"");if(!U)throw Error("Missing required JSON field: sealUrl");let z=Dl($,"expiresIn")??2592000,Q=$.force===!0||$.verify===!1?!1:!0,J=ev0($),I=Q?await eS1(U,Y,A6(J)):void 0;Yh0($,{token:Y,sealUrl:U,expiresIn:z,verify:Q,remote:I,custom:J})}function ev0($){return{headers:an.parse($.headers),cookies:tn.parse($.cookies)}}async function aS1($,Y,U){let z=await tw($),Q=T8(z.sealUrl,z.token),J=await W8(Q),I={user:J.user,tenant:J.tenant};ew(z.corpId,I.tenant),Yh0({id:z.corpId,corpId:z.corpId,name:Y,provider:"hosecloud",overwrite:U},{token:z.token,sealUrl:z.sealUrl,expiresIn:z.expiresIn,verify:!0,remote:I})}function $h0($,Y,U,z){if($.length===0)throw Error(`[合思子域提权] 未能从协助链接中提取到合思企业 [${Y}] 的 OpenAPI 密钥凭据。 `+"\uD83D\uDCA1 说明:此能力专属于合思 (Hose) 子域,用于将临时会话提权为标准 OpenAPI 开发者接入。需要企业管理员已在合思开放平台创建应用并生成 appKey/appSecurity。");if(U.keyId||U.appKey){let Q=$.find((J)=>U.keyId&&J.id===U.keyId||U.appKey&&J.appKey===U.appKey);if(!Q){console.error(` ❌ 未找到指定的合思 OpenAPI 密钥 (${U.appKey??U.keyId})。`),console.error(`ℹ️ 该合思企业当前存在以下 ${$.length} 套候选密钥:`);for(let J of $){let I=J.active?"\uD83D\uDFE2 启用":"⚪ 停用";console.error(` • "${J.name||"未命名应用"}" (appKey: ${J.appKey}, keyId: ${J.id}, 状态: ${I})`)}throw new w4("指定的合思密钥不存在,请从上述候选列表中选择正确的 appKey 或 keyId。",2,`${z} --app-key ${$[0].appKey}`)}return Q}if($.length===1)return $[0];console.error(` ℹ️ [合思子域提权] 合思企业 [${Y}] 存在多套 (${$.length} 套) OpenAPI 应用密钥凭据:`);for(let Q=0;Q<$.length;Q++){let J=$[Q],I=J.active?"\uD83D\uDFE2 启用":"⚪ 停用",K=J.name||"未命名应用";console.error(` [${Q+1}] "${K}" (appKey: ${J.appKey}, keyId: ${J.id}, 状态: ${I})`)}throw console.error(` \uD83D\uDC49 为确保权限提权绑定正确的业务应用,请显式指定要使用的密钥套件:`),console.error(` 在命令后追加 --app-key 或 --key-id 参数。 `),new w4(`合思企业 [${Y}] 存在多套 OpenAPI 密钥,必须指定 --app-key 或 --key-id 明确选择要绑定的密钥。`,2,`${z} --app-key ${$[0].appKey}`)}async function tS1($,Y,U,z=!1,Q){console.error("ℹ️ [合思子域提权] 正在通过合思协助链接提取 OpenAPI 开发者密钥并提升企业权限等级...");let J=await kS($),I=$h0(J.keys,J.corpId,Q??{},'seal-use corps add-link "" --as-hose');console.error(`ℹ️ [合思子域提权] 已选定合思 OpenAPI 凭据 (appKey: ${I.appKey}, 应用: "${I.name||"未命名应用"}"),正在初始化为长期合思标准配置...`),await cl({domain:J.baseUrl,appKey:I.appKey,appSecurity:I.appSecurity,corpId:J.corpId,name:Y??J.corpName,staffId:J.staffId,overwrite:U,force:z})}async function RT($,Y){let U=await kS($),z=Y.reveal===!0;if(Y.save){let Q=$h0(U.keys,U.corpId,{appKey:Y.appKey,keyId:Y.keyId},'seal-use corps extract-keys "" --save');console.error(`ℹ️ [合思子域提权] 正在将选定的合思 OpenAPI 密钥 (appKey: ${Q.appKey}, 应用: "${Q.name||"未命名应用"}") 保存为标准合思企业配置...`),await cl({domain:U.baseUrl,appKey:Q.appKey,appSecurity:Q.appSecurity,corpId:U.corpId,name:Y.name??U.corpName,staffId:U.staffId,overwrite:Y.overwrite,force:Y.force});return}if(!z)console.error(`ℹ️ [合思子域提权] 成功提取合思 (Hose) OpenAPI 密钥。接入密码默认脱敏,附加 --reveal (或 -r) 可查看完整 appSecurity 明文;附加 --save 可将临时会话提权并持久化为标准合思企业。 `);else console.error(`⚠️ [合思子域提权] 正在以明文展示合思 (Hose) appSecurity 接入密码,请妥善保管敏感凭据。 -`);b0({provider:"hose",capability:"privilege-elevation",corpId:U.corpId,corpName:U.corpName??U.corpId,baseUrl:U.baseUrl,staffId:U.staffId,keyCount:U.keys.length,keys:U.keys.map((Q)=>({id:Q.id,name:Q.name||"-",appKey:Q.appKey,appSecurity:z?Q.appSecurity:yS(Q.appSecurity),active:Q.active,createTime:Q.createTime,updateTime:Q.updateTime}))})}async function nl($,Y){let U=j1($),z=Y.reveal===!0;if(U.source.type!=="hose")throw new w4(`【合思子域专享能力】当前企业「${U.name}」(id: ${U.id}) 为原生 Seal (${U.source.type}) 租户,非合思 (Hose/合思云/易快报) 渠道企业。 +`);f0({provider:"hose",capability:"privilege-elevation",corpId:U.corpId,corpName:U.corpName??U.corpId,baseUrl:U.baseUrl,staffId:U.staffId,keyCount:U.keys.length,keys:U.keys.map((Q)=>({id:Q.id,name:Q.name||"-",appKey:Q.appKey,appSecurity:z?Q.appSecurity:yS(Q.appSecurity),active:Q.active,createTime:Q.createTime,updateTime:Q.updateTime}))})}async function nl($,Y){let U=j1($),z=Y.reveal===!0;if(U.source.type!=="hose")throw new w4(`【合思子域专享能力】当前企业「${U.name}」(id: ${U.id}) 为原生 Seal (${U.source.type}) 租户,非合思 (Hose/合思云/易快报) 渠道企业。 `+"OpenAPI 密钥查询与提权能力专属于合思生态租户(用于从合思协助链接或合思凭据中提取开发者密钥提升权限等级),非合思渠道企业不支持此能力。",2);let Q=U.source.appKey??U.source.key,J=U.source.appSecurity??U.source.password;if(!z)console.error(`\uD83D\uDCA1 [合思子域] 接入密码默认脱敏,附加 --reveal (或 -r) 可查看完整 appSecurity 明文。 `);else console.error(`⚠️ [合思子域] 正在以明文展示合思 appSecurity 接入密码,请妥善保管敏感凭据。 -`);b0({provider:"hose",capability:"privilege-elevation",corpId:U.id,corpName:U.name,domain:U.source.domain,staffId:U.source.staffId,appKey:Q??"-",appSecurity:J?z?J:yS(J):"-",active:!0})}function Yh0($,Y){let{token:U,sealUrl:z,expiresIn:Q,verify:J,remote:I}=Y,K=Y.custom??ev0($),G=I?.user,H=I?.tenant,W=X4($,"tenantSlug")??s2(H?.tenantSlug),X=X4($,"tenantId")??s2(H?.id),Z=X4($,"tenantName")??s2(H?.name),q=X4($,"id")??W??X;if(!q)throw Error("Missing required JSON field: id. Seal whoami did not return tenantSlug or tenantId.");let V=X4($,"staffId")??s2(G?.providerUserId)??s2(G?.id)??"seal",F=X4($,"provider")??s2(G?.provider)??s2(H?.providerConfig?.provider),M=X4($,"corpId")??W??X??q,w={id:q,name:X4($,"name")??Z??q,environment:"production",seal:{url:z,tenantSlug:W,headers:K.headers,cookies:K.cookies,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"seal",token:U,sealUrl:z,expiresIn:Q,staffId:V,corpId:M,tenantId:X,tenantSlug:W,tenantName:Z,providerUserId:s2(G?.providerUserId),provider:F},auth:{refreshTtl:300}},N=Up();ov0(N,{recursive:!0,mode:448});let O=sv0(N,`${LT(q)}.json`);if(lv0(O)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${O}. Pass "overwrite": true to replace it.`);rv0(O,`${JSON.stringify(w,null,2)} -`,{mode:384}),b0({id:q,name:w.name,tenantId:X,tenantSlug:W,verified:J,path:O})}async function eS1($,Y,U={}){let z=T8($,Y,U),Q=await W8(z);return{user:Q.user??{},tenant:Q.tenant??{}}}function s2($){return typeof $==="string"&&$?$:void 0}var pl=m(()=>{t9();jH();i8();y3();uv0();iB();$p();X6();X6();bl();SZ();CT();f4();L$();D4();J4()});async function zh0($,Y){let U=$??h(Y.options.link)??h(Y.options.url);if(!U)throw Error("Usage: seal-use auth extract-keys [--reveal] [--save] [--name ] [--overwrite]");let z=Z0(Y.options.reveal)===!0||Z0(Y.options.r)===!0||Z0(Y.options.plain)===!0,Q=Z0(Y.options.save)===!0||Z0(Y.options.add)===!0;await RT(U,{reveal:z,save:Q,name:h(Y.options.name),overwrite:Z0(Y.options.overwrite)===!0,force:Z0(Y.options.force)===!0,appKey:h(Y.options["app-key"])??h(Y.options.appKey),keyId:h(Y.options["key-id"])??h(Y.options.keyId)})}async function Qh0($,Y,U){if($==="diagnose"){b0(await $g1(Y));return}if($==="seal-link"||$==="link"||$==="hose-link"&&Y.source.type==="seal"){let z=await B1(Y),Q=h(U.options.note)??"CLI generated provisional access link",J=await _9("seal_delegation_create",z,Y,{note:Q});if($==="hose-link")console.error(`\uD83D\uDC49 提示: 企业「${Y.name}」源类型为 Seal 原生测试环境,已自动为您生成委托免登直达链接。`);b0(J);return}if($==="hose-link"){let z=U.options.expire,Q=z!==void 0?s0(z):7200;if(Q===void 0||Q<=0)throw Error(`Invalid --expire: ${String(z)}. Must be a positive number of seconds (e.g. --expire 7200 or --expire 86400).`);let J=Z0(U.options.force)===!0||Z0(U.options.refresh)===!0||Z0(U.options.f)===!0;b0(await P00(Y,Q,{force:J}));return}if($==="keys"){let z=Z0(U.options.reveal)===!0||Z0(U.options.r)===!0||Z0(U.options.plain)===!0;await nl(Y.id,{reveal:z});return}throw Error(`Unknown auth command: ${$??""}. Run 'seal-use help' for available commands.`)}async function $g1($){if($.source.type!=="hose"){let F=await B1($),M=await W8(F);return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!0,stages:[{name:"seal.whoami",ok:!0,user:M.user,tenant:M.tenant}]}}aw($.id);let Y=$.source,U=Y.appKey??Y.key,z=Y.appSecurity??Y.password,Q=($.seal.url??Y.sealUrl??`https://${Y.corpId.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),J=Y.staffId.includes(":")?Y.staffId:`${Y.corpId}:${Y.staffId}`,I=[];if(!U||!z)return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!1,stages:[{name:"hose.openapi",ok:!1,error:"Hose source requires appKey/key and appSecurity/password"}]};let K=await _T("hose.openapi",async()=>{let F=await Uh0(`${Y.domain.replace(/\/+$/,"")}/api/openapi/v1/auth/getAccessToken`,{appKey:U,appSecurity:z}),M=l3(F.value),w=b6(M.accessToken)??b6(F.accessToken)??b6(F.token);if(!w)throw Error("Hose login did not return an access token");return{token:w,public:{corporationId:b6(M.corporationId)??b6(l3(M.corporation).id),expireTime:Tq(M.expireTime)}}});I.push(K.public);let G=K.private?.token,H=G?await _T("hose.provisional",async()=>{let F=await Uh0(`${Y.domain.replace(/\/+$/,"")}/api/openapi/v1.1/provisional/getProvisionalAuth?accessToken=${encodeURIComponent(G)}`,{uid:J,pageType:"home",expireDate:7200}),M=b6(l3(F.value).message);if(!M)throw Error("Hose CloseAPI did not return a provisional auth URL");let w=new URL(M).searchParams.get("accessToken");if(!w)throw Error("Hose provisional auth URL did not include accessToken");return{token:w,public:{uid:J,enterpriseUrl:Nq(M)}}}):dl("hose.provisional");I.push(H.public);let W=A6($.seal),X=H.private?.token,Z=X?await _T("seal.sso",async()=>{let M=await T8(Q,void 0,W).get(`api/auth/oauth2/session/oem-hosecloud?token=${encodeURIComponent(X)}&returnToken=1`).json(),w=l3(M.data),N=b6(M.token)??b6(M.accessToken)??b6(w.token)??b6(w.accessToken);if(!N)throw Error("Seal SSO did not return a bearer token");return{token:N,public:{sealUrl:Q,expiresIn:Tq(M.expiresIn)??Tq(M.expires_in)??Tq(w.expiresIn)??Tq(w.expires_in)}}}):dl("seal.sso");I.push(Z.public);let q=Z.private?.token,V=q?await _T("seal.whoami",async()=>{let M=await T8(Q,q,W).get("api/v1/auth/me").json(),w=l3(M.data),N=l3(w.user??M.user),O=l3(w.tenant??M.tenant);return{public:{user:{id:b6(N.id),name:b6(N.name),isAdmin:Ug1(N.isAdmin),providerUserId:b6(N.providerUserId)},tenant:{id:b6(O.id),name:b6(O.name),tenantSlug:b6(O.tenantSlug),hoseCorpConfig:zg1(O.hoseCorpConfig)}}}}):dl("seal.whoami");return I.push(V.public),{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:I.every((F)=>F.ok===!0),stages:I}}async function _T($,Y){try{let U=await Y();return{public:{name:$,ok:!0,...Jh0(U.public)},private:U.token?{token:U.token}:void 0}}catch(U){return{public:{name:$,ok:!1,error:Nq(U instanceof Error?U.message:String(U))}}}}function dl($){return{public:{name:$,ok:!1,skipped:!0}}}async function Uh0($,Y){let U=await fetch($,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(Y)});return Yg1(U)}async function Yg1($){let Y=await $.text();if(!$.ok)throw Error(`${$.status} ${Y}`);let U=JSON.parse(Y);return l3(U)}function l3($){return $&&typeof $==="object"&&!Array.isArray($)?$:{}}function b6($){return typeof $==="string"&&$?$:void 0}function Tq($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function Ug1($){return typeof $==="boolean"?$:void 0}function zg1($){let Y=l3($);return Jh0({corporationId:b6(Y.corporationId),corporationName:b6(Y.corporationName)})}function Jh0($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}var Ih0=m(()=>{t9();jH();i8();X6();D4();J4();f4();pl()});async function Kh0($,Y,U,z){if($==="status"||$==="get"){await k0("seal_billing_status_get",Y,U,{},C0(z.options));return}if($==="plans"){await k0("seal_billing_plans_list",Y,U,{},C0(z.options));return}if($==="features"){await k0("seal_billing_features_list",Y,U,{},C0(z.options));return}throw Error(`Unknown billing command: ${$??""}. Run 'seal-use help' for available commands.`)}var Gh0=m(()=>{f4();J4()});function Hh0($,Y,U){if($==="paths"){b0({candidates:S3(),globalConfigFile:Gz()});return}if($==="get"||$==="status"){b0(o2());return}if($==="mode"){let z=Y??h(U.options.mode);if(!z){b0(o2());return}let Q=Al(z),J=h(U.options.corp),I=_4(),K=Q?J?u2(s8(),{stateful:!0,corpId:J},S3()).id:I.defaultCorpId:void 0,G=Hz({...I,stateful:Q,...K?{defaultCorpId:K}:{}});b0(o2(G));return}if($==="lint"){let z=Y??h(U.options.state)??h(U.options.enable),Q=_4(),J=Q.lint??{enabled:!1,activeLinter:"builtin",minScore:0};if(!z||z==="status"||z==="get"){b0({lint:J,configFile:Gz()});return}let I=J.enabled;if(z==="enable"||z==="on"||z==="true")I=!0;else if(z==="disable"||z==="off"||z==="false")I=!1;let K=h(U.options.linter)??J.activeLinter,G=U.options.minScore!==void 0||U.options["min-score"]!==void 0?Number(U.options.minScore??U.options["min-score"]):J.minScore,H={enabled:I,activeLinter:K,minScore:isNaN(G)?0:Math.max(0,Math.min(100,G))},W=Hz({...Q,lint:H});b0(o2(W));return}if($==="test-dir"||$==="test-enterprises-dir"){let z=U.options.clear===!0||Y==="--clear"||Y==="clear",Q=_4();if(z){let K=Hz({...Q,testEnterprisesDir:void 0});b0(o2(K));return}let J=Y&&!Y.startsWith("-")?Y:h(U.options.path)??h(U.options.dir);if(!J){b0({testEnterprisesDir:Q.testEnterprisesDir??null,configFile:Gz()});return}let I=Hz({...Q,testEnterprisesDir:J});b0(o2(I));return}throw Error(`Unknown config command: ${$??""}. Available: paths, get, status, mode, lint, test-dir. Run 'seal-use help' for available commands.`)}var Wh0=m(()=>{y3();f4();D4();J4()});async function Xh0($,Y,U,z,Q){if($==="sync-time"||$==="last-sync-time"){await k0("seal_contacts_last_sync_time_get",U,z,{},C0(Q.options));return}if($==="departments"||$==="department"){if(!Y){await k0("seal_contacts_departments_root_list",U,z,{},C0(Q.options));return}await k0("seal_contacts_department_get",U,z,{departmentId:Y},C0(Q.options));return}if($==="children"||$==="department-children"){if(!Y)throw Error("Usage: seal-use contacts children ");await k0("seal_contacts_department_children_list",U,z,{departmentId:Y},C0(Q.options));return}if($==="users"||$==="department-users"){if(!Y)throw Error("Usage: seal-use contacts users ");await k0("seal_contacts_department_users_list",U,z,{departmentId:Y},C0(Q.options));return}throw Error(`Unknown contacts command: ${$??""}. Run 'seal-use help' for available commands.`)}var Zh0=m(()=>{f4();J4()});async function qh0($,Y,U,z){let Q={offset:s0(z.options.offset),limit:s0(z.options.limit),startDate:h(z.options.startDate)??h(z.options["start-date"]),endDate:h(z.options.endDate)??h(z.options["end-date"]),search:h(z.options.search)??h(z.options.query)};if($==="expenses"||$==="expense"){await k0("seal_expenses_list",Y,U,Q,C0(z.options));return}if($==="invoices"||$==="invoice"){await k0("seal_invoices_list",Y,U,Q,C0(z.options));return}throw Error(`Unknown data command: ${$??""}. Run 'seal-use help' for available commands.`)}var Vh0=m(()=>{f4();D4();J4()});async function Lh0($,Y,U){await k0("seal_approval_context_get",$,Y,{documentLimit:s0(U.options.documentLimit),...Pl(h(U.options.ruleVersion))},C0(U.options))}var Fh0=m(()=>{f4();D4();J4()});async function wh0($,Y){let U=await tw($),z=T8(U.sealUrl,U.token),Q=await W8(z);ew(U.corpId,Q.tenant);let J=await lQ(z,{note:Y});b0({tenant:{id:Q.tenant.id,name:Q.tenant.name,tenantSlug:Q.tenant.tenantSlug,corpId:U.corpId},user:{id:Q.user.id,name:Q.user.name,providerUserId:Q.user.providerUserId,isAdmin:Q.user.isAdmin},delegation:J,expiresIn:U.expiresIn})}async function Mh0($,Y,U,z,Q){if($==="list"){await k0("seal_delegation_list",U,z,{},C0(Q.options));return}if($==="create"){let J=h(Q.options.note)??(Y?[Y,...Q.command.slice(2)].join(" "):void 0);await k0("seal_delegation_create",U,z,{note:J},C0(Q.options));return}if($==="revoke"){let J=Y??h(Q.options.tokenId);if(!J)throw Error("Usage: seal-use delegation revoke ");await k0("seal_delegation_revoke",U,z,{tokenId:J},C0(Q.options));return}throw Error(`Unknown delegation command: ${$??""}. Run 'seal-use help' for available commands.`)}var Oh0=m(()=>{t9();i8();X6();f4();D4();J4()});import{readFileSync as Qg1}from"node:fs";async function Nh0($,Y,U,z,Q,J){if(!$||$==="help")throw Error(`Usage: seal-use deploy [options] +`);f0({provider:"hose",capability:"privilege-elevation",corpId:U.id,corpName:U.name,domain:U.source.domain,staffId:U.source.staffId,appKey:Q??"-",appSecurity:J?z?J:yS(J):"-",active:!0})}function Yh0($,Y){let{token:U,sealUrl:z,expiresIn:Q,verify:J,remote:I}=Y,K=Y.custom??ev0($),G=I?.user,H=I?.tenant,W=X4($,"tenantSlug")??s2(H?.tenantSlug),X=X4($,"tenantId")??s2(H?.id),Z=X4($,"tenantName")??s2(H?.name),q=X4($,"id")??W??X;if(!q)throw Error("Missing required JSON field: id. Seal whoami did not return tenantSlug or tenantId.");let V=X4($,"staffId")??s2(G?.providerUserId)??s2(G?.id)??"seal",F=X4($,"provider")??s2(G?.provider)??s2(H?.providerConfig?.provider),M=X4($,"corpId")??W??X??q,w={id:q,name:X4($,"name")??Z??q,environment:"production",seal:{url:z,tenantSlug:W,headers:K.headers,cookies:K.cookies,endpoints:{approvalStylePreferences:"api/v1/agent/ai-approval/config"}},source:{type:"seal",token:U,sealUrl:z,expiresIn:Q,staffId:V,corpId:M,tenantId:X,tenantSlug:W,tenantName:Z,providerUserId:s2(G?.providerUserId),provider:F},auth:{refreshTtl:300}},N=Up();ov0(N,{recursive:!0,mode:448});let O=sv0(N,`${LT(q)}.json`);if(lv0(O)&&$.overwrite!==!0)throw Error(`Enterprise config already exists: ${O}. Pass "overwrite": true to replace it.`);rv0(O,`${JSON.stringify(w,null,2)} +`,{mode:384}),f0({id:q,name:w.name,tenantId:X,tenantSlug:W,verified:J,path:O})}async function eS1($,Y,U={}){let z=T8($,Y,U),Q=await W8(z);return{user:Q.user??{},tenant:Q.tenant??{}}}function s2($){return typeof $==="string"&&$?$:void 0}var pl=m(()=>{t9();jH();i8();y3();uv0();iB();$p();X6();X6();bl();SZ();CT();f4();L$();D4();J4()});async function zh0($,Y){let U=$??h(Y.options.link)??h(Y.options.url);if(!U)throw Error("Usage: seal-use auth extract-keys [--reveal] [--save] [--name ] [--overwrite]");let z=Z0(Y.options.reveal)===!0||Z0(Y.options.r)===!0||Z0(Y.options.plain)===!0,Q=Z0(Y.options.save)===!0||Z0(Y.options.add)===!0;await RT(U,{reveal:z,save:Q,name:h(Y.options.name),overwrite:Z0(Y.options.overwrite)===!0,force:Z0(Y.options.force)===!0,appKey:h(Y.options["app-key"])??h(Y.options.appKey),keyId:h(Y.options["key-id"])??h(Y.options.keyId)})}async function Qh0($,Y,U){if($==="diagnose"){f0(await $g1(Y));return}if($==="seal-link"||$==="link"||$==="hose-link"&&Y.source.type==="seal"){let z=await B1(Y),Q=h(U.options.note)??"CLI generated provisional access link",J=await T5("seal_delegation_create",z,Y,{note:Q});if($==="hose-link")console.error(`\uD83D\uDC49 提示: 企业「${Y.name}」源类型为 Seal 原生测试环境,已自动为您生成委托免登直达链接。`);f0(J);return}if($==="hose-link"){let z=U.options.expire,Q=z!==void 0?s0(z):7200;if(Q===void 0||Q<=0)throw Error(`Invalid --expire: ${String(z)}. Must be a positive number of seconds (e.g. --expire 7200 or --expire 86400).`);let J=Z0(U.options.force)===!0||Z0(U.options.refresh)===!0||Z0(U.options.f)===!0;f0(await P00(Y,Q,{force:J}));return}if($==="keys"){let z=Z0(U.options.reveal)===!0||Z0(U.options.r)===!0||Z0(U.options.plain)===!0;await nl(Y.id,{reveal:z});return}throw Error(`Unknown auth command: ${$??""}. Run 'seal-use help' for available commands.`)}async function $g1($){if($.source.type!=="hose"){let F=await B1($),M=await W8(F);return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!0,stages:[{name:"seal.whoami",ok:!0,user:M.user,tenant:M.tenant}]}}aw($.id);let Y=$.source,U=Y.appKey??Y.key,z=Y.appSecurity??Y.password,Q=($.seal.url??Y.sealUrl??`https://${Y.corpId.toLowerCase()}.sealai.cc`).replace(/\/+$/,""),J=Y.staffId.includes(":")?Y.staffId:`${Y.corpId}:${Y.staffId}`,I=[];if(!U||!z)return{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:!1,stages:[{name:"hose.openapi",ok:!1,error:"Hose source requires appKey/key and appSecurity/password"}]};let K=await _T("hose.openapi",async()=>{let F=await Uh0(`${Y.domain.replace(/\/+$/,"")}/api/openapi/v1/auth/getAccessToken`,{appKey:U,appSecurity:z}),M=l3(F.value),w=b6(M.accessToken)??b6(F.accessToken)??b6(F.token);if(!w)throw Error("Hose login did not return an access token");return{token:w,public:{corporationId:b6(M.corporationId)??b6(l3(M.corporation).id),expireTime:Tq(M.expireTime)}}});I.push(K.public);let G=K.private?.token,H=G?await _T("hose.provisional",async()=>{let F=await Uh0(`${Y.domain.replace(/\/+$/,"")}/api/openapi/v1.1/provisional/getProvisionalAuth?accessToken=${encodeURIComponent(G)}`,{uid:J,pageType:"home",expireDate:7200}),M=b6(l3(F.value).message);if(!M)throw Error("Hose CloseAPI did not return a provisional auth URL");let w=new URL(M).searchParams.get("accessToken");if(!w)throw Error("Hose provisional auth URL did not include accessToken");return{token:w,public:{uid:J,enterpriseUrl:Nq(M)}}}):dl("hose.provisional");I.push(H.public);let W=A6($.seal),X=H.private?.token,Z=X?await _T("seal.sso",async()=>{let M=await T8(Q,void 0,W).get(`api/auth/oauth2/session/oem-hosecloud?token=${encodeURIComponent(X)}&returnToken=1`).json(),w=l3(M.data),N=b6(M.token)??b6(M.accessToken)??b6(w.token)??b6(w.accessToken);if(!N)throw Error("Seal SSO did not return a bearer token");return{token:N,public:{sealUrl:Q,expiresIn:Tq(M.expiresIn)??Tq(M.expires_in)??Tq(w.expiresIn)??Tq(w.expires_in)}}}):dl("seal.sso");I.push(Z.public);let q=Z.private?.token,V=q?await _T("seal.whoami",async()=>{let M=await T8(Q,q,W).get("api/v1/auth/me").json(),w=l3(M.data),N=l3(w.user??M.user),O=l3(w.tenant??M.tenant);return{public:{user:{id:b6(N.id),name:b6(N.name),isAdmin:Ug1(N.isAdmin),providerUserId:b6(N.providerUserId)},tenant:{id:b6(O.id),name:b6(O.name),tenantSlug:b6(O.tenantSlug),hoseCorpConfig:zg1(O.hoseCorpConfig)}}}}):dl("seal.whoami");return I.push(V.public),{corp:{id:$.id,name:$.name,sourceType:$.source.type},ok:I.every((F)=>F.ok===!0),stages:I}}async function _T($,Y){try{let U=await Y();return{public:{name:$,ok:!0,...Jh0(U.public)},private:U.token?{token:U.token}:void 0}}catch(U){return{public:{name:$,ok:!1,error:Nq(U instanceof Error?U.message:String(U))}}}}function dl($){return{public:{name:$,ok:!1,skipped:!0}}}async function Uh0($,Y){let U=await fetch($,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(Y)});return Yg1(U)}async function Yg1($){let Y=await $.text();if(!$.ok)throw Error(`${$.status} ${Y}`);let U=JSON.parse(Y);return l3(U)}function l3($){return $&&typeof $==="object"&&!Array.isArray($)?$:{}}function b6($){return typeof $==="string"&&$?$:void 0}function Tq($){return typeof $==="number"&&Number.isFinite($)?$:void 0}function Ug1($){return typeof $==="boolean"?$:void 0}function zg1($){let Y=l3($);return Jh0({corporationId:b6(Y.corporationId),corporationName:b6(Y.corporationName)})}function Jh0($){return Object.fromEntries(Object.entries($).filter(([,Y])=>Y!==void 0))}var Ih0=m(()=>{t9();jH();i8();X6();D4();J4();f4();pl()});async function Kh0($,Y,U,z){if($==="status"||$==="get"){await k0("seal_billing_status_get",Y,U,{},C0(z.options));return}if($==="plans"){await k0("seal_billing_plans_list",Y,U,{},C0(z.options));return}if($==="features"){await k0("seal_billing_features_list",Y,U,{},C0(z.options));return}throw Error(`Unknown billing command: ${$??""}. Run 'seal-use help' for available commands.`)}var Gh0=m(()=>{f4();J4()});function Hh0($,Y,U){if($==="paths"){f0({candidates:S3(),globalConfigFile:Gz()});return}if($==="get"||$==="status"){f0(o2());return}if($==="mode"){let z=Y??h(U.options.mode);if(!z){f0(o2());return}let Q=Al(z),J=h(U.options.corp),I=_4(),K=Q?J?u2(s8(),{stateful:!0,corpId:J},S3()).id:I.defaultCorpId:void 0,G=Hz({...I,stateful:Q,...K?{defaultCorpId:K}:{}});f0(o2(G));return}if($==="lint"){let z=Y??h(U.options.state)??h(U.options.enable),Q=_4(),J=Q.lint??{enabled:!1,activeLinter:"builtin",minScore:0};if(!z||z==="status"||z==="get"){f0({lint:J,configFile:Gz()});return}let I=J.enabled;if(z==="enable"||z==="on"||z==="true")I=!0;else if(z==="disable"||z==="off"||z==="false")I=!1;let K=h(U.options.linter)??J.activeLinter,G=U.options.minScore!==void 0||U.options["min-score"]!==void 0?Number(U.options.minScore??U.options["min-score"]):J.minScore,H={enabled:I,activeLinter:K,minScore:isNaN(G)?0:Math.max(0,Math.min(100,G))},W=Hz({...Q,lint:H});f0(o2(W));return}if($==="test-dir"||$==="test-enterprises-dir"){let z=U.options.clear===!0||Y==="--clear"||Y==="clear",Q=_4();if(z){let K=Hz({...Q,testEnterprisesDir:void 0});f0(o2(K));return}let J=Y&&!Y.startsWith("-")?Y:h(U.options.path)??h(U.options.dir);if(!J){f0({testEnterprisesDir:Q.testEnterprisesDir??null,configFile:Gz()});return}let I=Hz({...Q,testEnterprisesDir:J});f0(o2(I));return}throw Error(`Unknown config command: ${$??""}. Available: paths, get, status, mode, lint, test-dir. Run 'seal-use help' for available commands.`)}var Wh0=m(()=>{y3();f4();D4();J4()});async function Xh0($,Y,U,z,Q){if($==="sync-time"||$==="last-sync-time"){await k0("seal_contacts_last_sync_time_get",U,z,{},C0(Q.options));return}if($==="departments"||$==="department"){if(!Y){await k0("seal_contacts_departments_root_list",U,z,{},C0(Q.options));return}await k0("seal_contacts_department_get",U,z,{departmentId:Y},C0(Q.options));return}if($==="children"||$==="department-children"){if(!Y)throw Error("Usage: seal-use contacts children ");await k0("seal_contacts_department_children_list",U,z,{departmentId:Y},C0(Q.options));return}if($==="users"||$==="department-users"){if(!Y)throw Error("Usage: seal-use contacts users ");await k0("seal_contacts_department_users_list",U,z,{departmentId:Y},C0(Q.options));return}throw Error(`Unknown contacts command: ${$??""}. Run 'seal-use help' for available commands.`)}var Zh0=m(()=>{f4();J4()});async function qh0($,Y,U,z){let Q={offset:s0(z.options.offset),limit:s0(z.options.limit),startDate:h(z.options.startDate)??h(z.options["start-date"]),endDate:h(z.options.endDate)??h(z.options["end-date"]),search:h(z.options.search)??h(z.options.query)};if($==="expenses"||$==="expense"){await k0("seal_expenses_list",Y,U,Q,C0(z.options));return}if($==="invoices"||$==="invoice"){await k0("seal_invoices_list",Y,U,Q,C0(z.options));return}throw Error(`Unknown data command: ${$??""}. Run 'seal-use help' for available commands.`)}var Vh0=m(()=>{f4();D4();J4()});async function Lh0($,Y,U){await k0("seal_approval_context_get",$,Y,{documentLimit:s0(U.options.documentLimit),...Pl(h(U.options.ruleVersion))},C0(U.options))}var Fh0=m(()=>{f4();D4();J4()});async function wh0($,Y){let U=await tw($),z=T8(U.sealUrl,U.token),Q=await W8(z);ew(U.corpId,Q.tenant);let J=await lQ(z,{note:Y});f0({tenant:{id:Q.tenant.id,name:Q.tenant.name,tenantSlug:Q.tenant.tenantSlug,corpId:U.corpId},user:{id:Q.user.id,name:Q.user.name,providerUserId:Q.user.providerUserId,isAdmin:Q.user.isAdmin},delegation:J,expiresIn:U.expiresIn})}async function Mh0($,Y,U,z,Q){if($==="list"){await k0("seal_delegation_list",U,z,{},C0(Q.options));return}if($==="create"){let J=h(Q.options.note)??(Y?[Y,...Q.command.slice(2)].join(" "):void 0);await k0("seal_delegation_create",U,z,{note:J},C0(Q.options));return}if($==="revoke"){let J=Y??h(Q.options.tokenId);if(!J)throw Error("Usage: seal-use delegation revoke ");await k0("seal_delegation_revoke",U,z,{tokenId:J},C0(Q.options));return}throw Error(`Unknown delegation command: ${$??""}. Run 'seal-use help' for available commands.`)}var Oh0=m(()=>{t9();i8();X6();f4();D4();J4()});import{readFileSync as Qg1}from"node:fs";async function Nh0($,Y,U,z,Q,J){if(!$||$==="help")throw Error(`Usage: seal-use deploy [options] `+`支持的审批系统与发布目标: `+` • hosecloud (合思费控): seal-use deploy hosecloud --corp @@ -2550,10 +2550,10 @@ ${Io.map(($)=>`### \`seal-use ${$.domain}\` - **环境自检**:运行 \`seal-use doctor\`,一键检查当前运行时版本、本地目录健康度、企业资产接入数量以及守护服务状态。 - **查看企业配置源文件**:运行 \`seal-use corps get \`,可直接查看指定企业的本地 JSON 存储绝对路径。 - **查阅完整操作手册**:运行 \`seal-use doctor guide\` 随时在离线状态下查看本文档。 -`}var Qo,Jo,Io;var Ko=m(()=>{Qo=[{name:"配置与状态根目录",category:"config",standardPath:"~/.config/seal-use",purpose:"用户本地持久化配置根目录,存放企业连接元数据、会话缓存与全局状态。",accessMode:"read-write",retention:"persistent"},{name:"企业配置文件目录",category:"config",standardPath:"~/.config/seal-use/enterprises",purpose:"存放各已添加企业的配置 JSON 文件(如 xiezihao.json),存储企业域名、脱敏 Token、员工绑定关系等。",accessMode:"read-write",retention:"persistent"},{name:"全局配置文件",category:"config",standardPath:"~/.config/seal-use/config.json",purpose:"维护全局工作模式(stateful/stateless)、默认激活企业 defaultCorpId 以及 Lint 偏好。",accessMode:"read-write",retention:"persistent"},{name:"会话凭据安全缓存",category:"config",standardPath:"~/.config/seal-use/seal_tokens.json",purpose:"缓存已认证租户的 Bearer Token 与过期时间戳,避免高频调用上游 OAuth 换票接口。",accessMode:"read-write",retention:"cache"},{name:"规则版本映射快照",category:"config",standardPath:"~/.config/seal-use/mappings",purpose:"存储 corps sync-test 生成的生产与测试规则版本/编号对照映射快照,供 rules map 离线毫秒级速查。",accessMode:"read-write",retention:"persistent"},{name:"后台守护服务日志",category:"config",standardPath:"~/.config/seal-use/service.log",purpose:"常驻后台 HTTP 服务守护进程运行输出日志。",accessMode:"read-write",retention:"persistent"},{name:"全局命令行程序",category:"binary",standardPath:"/opt/homebrew/bin/seal-use",purpose:"macOS / Linux 全局独立单文件二进制程序;附带软链接 seal-home -> seal-use 兼容旧指令。",accessMode:"executable",retention:"persistent"},{name:"AI Agent 技能主目录",category:"skill",standardPath:"~/.agents/skills/seal-use",purpose:"面向 Antigravity、Codex 等 AI 智能体的标准技能目录,包含 SKILL.md、参考文档与操作规程。",accessMode:"read-write",retention:"persistent"},{name:"报表默认导出目录",category:"export",standardPath:"~/Downloads",purpose:"执行 approval-runs export 等大盘报表命令且未指定 --out 时,默认写入的 Excel 文件路径。",accessMode:"read-write",retention:"persistent"},{name:"系统隔离临时目录",category:"temp",standardPath:"/tmp 或 /var/folders/.../T",purpose:"自动化测试(bun test)生成的隔离工作副本,执行完毕后通过 afterEach 钩子彻底删除,零残留。",accessMode:"transient",retention:"ephemeral"}],Jo=[{topic:"敏感凭据脱敏保护",guarantee:"appSecurity、password 等高危密钥永不回显在 stdout,Session Token 采用掩码处理(如 5oUL...Y%3D)。",enforcement:"CLI 所有展示接口(corps get、corps list、probe 等)均经 formatSafeSourceDetail 脱敏过滤。"},{topic:"正式环境与测试环境严格隔离",guarantee:"正式企业与测试企业必须严格 1 对 1 下挂,禁止多层级级联绑定;环境标记需显式 --confirm 确认。",enforcement:"corps bind-test 与 mark 强制要求 --confirm,缺少时阻断并返回退出码 10(confirmationRequired)。"},{topic:"跨环境规则同步安全基线",guarantee:"corps sync-test 仅将正式企业偏好与规则覆盖同步至测试企业并自动发布,正式企业规则严格维持草稿态永不发布。",enforcement:"规则同步流水线由 sync-test 独占受控,正式环境端仅执行拉取草稿读取操作,零发版变更。"},{topic:"只读诊断无副作用原则",guarantee:"doctor、search、get、list、context、probe 等命令为严格只读操作,不修改用户本地文件系统,零写入污染。",enforcement:"核心领域函数严格分离 Mutation 操作与 Query 操作,Query 路径杜绝写文件与环境篡改。"}],Io=[{domain:"corps (企业管理)",summary:"多租户接入、智能软搜索、富属性查看、环境标记、测试绑定与配置规则同步",primaryCommands:["corps list","corps search ","corps get ","corps mark","corps bind-test","corps sync-test"]},{domain:"approval-runs (审核大盘)",summary:"AI 审核单据检索、统计分析、引证规则查看、附件全链路追踪、Excel 报表导出、单据直达链接与免登",primaryCommands:["approval-runs list","approval-runs stats","approval-runs get","approval-runs export","approval-runs link"]},{domain:"rules (规则治理)",summary:"审核规则拉取、本地 Lint 质量检查、增量差量推送、离线版本与编号对照映射速查",primaryCommands:["rules pull","rules lint","rules push","rules map","rules count"]},{domain:"preference (决策偏好)",summary:"AI 审核偏好读取与更新、全局与分品类思考深度策略(medium/high)配置",primaryCommands:["preference get","preference decision update","preference thinking-depth set"]},{domain:"simulation (模拟演练)",summary:"合思单据指定、材料包导入、飞书/泛微三方审批定义演练、批次轮询等待与数据清理",primaryCommands:["simulation create","simulation status","simulation wait","simulation clean"]},{domain:"webhook (通道与重放)",summary:"Webhook 回调通道配置、材料包校验推送、线上单据向 Webhook 通道测试重放",primaryCommands:["webhook list","webhook add","webhook replay","webhook material-pack push"]},{domain:"deploy (费控集成)",summary:"Seal AI 智能审核能力发布到合思费控企业、对接要求检测与配置同步",primaryCommands:["deploy hosecloud requirements","deploy hosecloud status","deploy hosecloud sync"]},{domain:"doctor (系统诊断)",summary:"整机环境健康自检、目录全景体检看板、内置架构与规范白皮书离线查阅",primaryCommands:["doctor","doctor guide","doctor paths"]}]});import{accessSync as bg1,constants as ig1,existsSync as i6,readdirSync as OS0,statSync as cg1}from"node:fs";import{homedir as ng1}from"node:os";import{join as j5}from"node:path";function wS0($){if(!i6($))return 0;try{return OS0($).filter((Y)=>Y.endsWith(".json")).length}catch{return 0}}function vT($){try{return bg1($,ig1.W_OK),!0}catch{return!1}}function MS0($){if(!i6($))return[];try{return OS0($).filter((Y)=>Y.endsWith(".json")&&!Y.startsWith("example.")).map((Y)=>j5($,Y))}catch{return[]}}function pg1($){return $.filter((Y)=>{try{return(cg1(Y).mode&63)!==0}catch{return!1}})}function Go(){let $=ng1(),Y=j5($,".config","seal-use"),U=j5(Y,"enterprises"),z=j5(Y,"config.json"),Q=j5(Y,"seal_tokens.json"),J=j5(Y,"mappings"),I=yz(),K=j5($,"Downloads"),H=["/opt/homebrew/bin/seal-use","/usr/local/bin/seal-use",j5($,".local","bin","seal-use"),j5($,"bin","seal-use")].find((A)=>i6(A))??process.execPath,W={configDir:{name:"配置根目录",path:Y,exists:i6(Y),writable:i6(Y)?vT(Y):!1,description:"用户持久化配置与企业状态根目录"},enterprisesDir:{name:"企业配置目录",path:U,exists:i6(U),writable:i6(U)?vT(U):!1,fileCount:wS0(U),description:"企业连接配置(JSON)保存路径"},globalConfigFile:{name:"全局配置文件",path:z,exists:i6(z),description:"全局工作模式与默认企业配置"},tokenStore:{name:"凭据缓存",path:Q,exists:i6(Q),description:"会话凭据与令牌缓存"},mappingsDir:{name:"规则版本映射快照",path:J,exists:i6(J),fileCount:wS0(J),description:"生产与测试规则版本映射对照表"},agentSkillDir:{name:"AI Agent 技能目录",path:I,exists:i6(j5(I,"SKILL.md")),description:"本地 Agent 技能主目录"},exportDefaultDir:{name:"报表默认导出目录",path:K,exists:i6(K),writable:i6(K)?vT(K):!1,description:"审核大盘报表默认写入目录"},lintersDir:{name:"规则校验器目录 (用户自定义)",path:b$,exists:i6(b$),writable:i6(b$)?vT(b$):!1,description:"用户私有规则校验脚本存放目录"},officialLintersDir:{name:"官方内置规则校验器目录",path:i$,exists:i6(i$),description:"官方标准与严格风控校验脚本目录 (系统自动保护与重写)"},globalBinary:{name:"全局命令行二进制",path:H,exists:i6(H),description:"系统全局命令执行入口"}},X=[];try{X=s8()}catch{X=[]}let Z=_4(),q=Z.defaultCorpId??X[0]?.id,V=X.find((A)=>A.id===q),F=X.filter((A)=>(A.environment??"production").toLowerCase()==="test").length,M=X.length-F,w=[];if(w.push({id:"executable",title:"命令行二进制",status:"ok",message:`当前执行路径: ${process.execPath}`}),W.configDir?.exists&&W.configDir.writable)w.push({id:"config_dir",title:"配置目录访问",status:"ok",message:`${Y} (正常读写)`});else if(W.configDir?.exists)w.push({id:"config_dir",title:"配置目录访问",status:"warn",message:`${Y} (存在但可能不可写)`});else w.push({id:"config_dir",title:"配置目录访问",status:"warn",message:`未检测到配置目录 ${Y},首次运行配置命令时将自动创建`});if(X.length>0)w.push({id:"enterprises",title:"企业接入状态",status:"ok",message:`已接入 ${X.length} 家企业 (正式: ${M}, 测试: ${F})`});else w.push({id:"enterprises",title:"企业接入状态",status:"warn",message:"当前未检测到企业配置,请使用 seal-use corps add-hose 或 add-seal 接入企业"});if(W.agentSkillDir?.exists)w.push({id:"agent_skill",title:"AI Agent 技能",status:"ok",message:`已就绪于 ${I}`});else w.push({id:"agent_skill",title:"AI Agent 技能",status:"warn",message:`未在 ${I} 检测到技能,可运行 'seal-use skill sync' 安装`});let N=[Q,z,_Z(),...MS0(U),...MS0(j5(process.cwd(),"enterprises"))].filter((A,j,C)=>C.indexOf(A)===j&&i6(A)),O=pg1(N);w.push({id:"credential_permissions",title:"凭据文件权限",status:O.length===0?"ok":"warn",message:O.length===0?`已检查 ${N.length} 个凭据文件,均为仅属主可读 (0600)`:`${O.length} 个凭据文件权限宽于 0600(同机其他用户可读,取决于父目录权限),建议 chmod 600:${O.join("、")}`});let D=Z.lint??{enabled:!1,activeLinter:"builtin",minScore:0};if(D.enabled)w.push({id:"rule_linter",title:"规则质量校验器",status:"ok",message:`已开启 (校验器: ${D.activeLinter}, 最低门槛分: ${D.minScore})`});else w.push({id:"rule_linter",title:"规则质量校验器",status:"ok",message:"未开启 (默认关闭,可运行 seal-use config lint enable 开启)"});let P=w.some((A)=>A.status==="warn"||A.status==="error"),T=typeof globalThis.Bun<"u"?`Bun ${globalThis.Bun.version}`:`Node ${process.version}`;return{doctor:P?"warning":"ok",timestamp:new Date().toISOString(),runtime:{version:P1,executablePath:process.execPath,platform:`${process.platform} (${process.arch})`,engine:T},directories:W,enterprises:{total:X.length,productionCount:M,testCount:F,activeCorpId:V?.id,activeCorpName:V?.name},checks:w,knowledge:{summary:"内嵌系统架构与目录规范白皮书(纯内存只读,零写入依赖)",directorySpecsCount:Qo.length,securityPoliciesCount:Jo.length,domainCapabilitiesCount:Io.length,guideCommand:"seal-use doctor guide"}}}function NS0($){let Y=[],U=$.doctor==="ok"?"✨":"⚠️";Y.push(`\uD83E\uDE7A [Seal Use Doctor] 系统健康诊断看板 ${U}`),Y.push("─────────────────────────────────────────────────────────────"),Y.push("【运行环境】"),Y.push(` 版本号: ${$.runtime.version}`),Y.push(` 程序路径: ${$.runtime.executablePath}`),Y.push(` 操作系统: ${$.runtime.platform}`),Y.push(` 执行引擎: ${$.runtime.engine}`),Y.push(""),Y.push("【核心路径状态】");for(let[,Q]of Object.entries($.directories)){let J=Q.exists?"✓":"○",I=Q.exists?Q.fileCount!==void 0?`(${Q.fileCount} 个文件)`:Q.writable?"(就绪/可写)":"(存在)":"(未创建)";Y.push(` ${J} ${Q.name.padEnd(16," ")}: ${Q.path} ${I}`)}if(Y.push(""),Y.push("【企业资产概览】"),Y.push(` 接入企业总计: ${$.enterprises.total} 家 (生产: ${$.enterprises.productionCount}, 测试: ${$.enterprises.testCount})`),$.enterprises.activeCorpId)Y.push(` 当前激活企业: ${$.enterprises.activeCorpName} (${$.enterprises.activeCorpId})`);else Y.push(" 当前激活企业: 无默认企业 (无状态模式)");Y.push(""),Y.push("【健康自检】");for(let Q of $.checks){let J=Q.status==="ok"?"✓":Q.status==="warn"?"⚠️":"✗";Y.push(` ${J} [${Q.title}]: ${Q.message}`)}Y.push(""),Y.push("─────────────────────────────────────────────────────────────"),Y.push("\uD83D\uDC49 查阅内嵌白皮书与目录规范: seal-use doctor guide"),Y.push("\uD83D\uDC49 检索企业: seal-use corps search ");let z=$.checks.find((Q)=>Q.id==="rule_linter");if(z&&z.message.includes("未开启"))Y.push("\uD83D\uDC49 开启规则自动质量校验: seal-use config lint enable");return Y.join(` -`)}var DS0=m(()=>{Lp();e9();y3();Rq();iB();Ko()});var AS0={};x8(AS0,{formatTenantDoctorDashboard:()=>mg1,diagnoseTenantContract:()=>dg1});async function dg1($,Y){let U=[],z=Y.environment==="test"?"test":"production",Q=z==="test"?Y.prodCorpId:Y.testCorpId,J=z==="test"?"prodParent":"testTarget",I=Q?z==="test"?"已绑定生产母企业 (上游配置与样本源)":"已绑定测试靶场 (下游隔离演练环境)":void 0,K=null,G=null;try{let w=await W8($);if(K=w.user,G=w.tenant,Boolean(K?.isAdmin||K?.permissions?.includes("*")))U.push({id:"auth_identity",name:"身份与权限契约",status:"pass",summary:`已认证为管理员「${K.name??"未知"}」(${K.id??""}),具备完整操作权限`,details:{userId:K.id,userName:K.name,isAdmin:!0,permissionLevel:"超级管理员(具备完整操作权限)",tenantName:G?.name,tenantSlug:G?.tenantSlug,permissions:K.permissions}});else U.push({id:"auth_identity",name:"身份与权限契约",status:"warn",summary:`已认证为普通用户「${K.name??"未知"}」,非超级管理员,部分配置操作可能受限`,details:{userId:K.id,userName:K.name,isAdmin:!1,permissionLevel:"普通用户(部分管理配置受限)",tenantName:G?.name,permissions:K.permissions},recommendation:"建议使用具有管理权限的企业主账号执行规则修改与集成发布"})}catch(w){U.push({id:"auth_identity",name:"身份与权限契约",status:"fail",summary:`鉴权握手失败:${w instanceof Error?w.message:String(w)}`,details:{error:String(w)},recommendation:`请执行 seal-use auth login --corp ${Y.id} 重新登录或更新 Token`})}let H={featureCode:"ai-approval",balance:0,deductionAmount:120,estimatedRuns:0,status:"exhausted"},W={used:0,remaining:0};try{let w=await nY($),N=Array.isArray(w.features)?w.features:[],O=N.find((P)=>P?.code==="ai-approval");if(O){let P=typeof O.balance==="number"?O.balance:0,T=typeof O.deductionAmount==="number"&&O.deductionAmount>0?O.deductionAmount:120,A=Math.floor(P/T);if(H.balance=P,H.deductionAmount=T,H.estimatedRuns=A,P<=0)H.status="exhausted",U.push({id:"billing_quota",name:"AI 审批额度余量",status:"fail",summary:"当前额度已耗尽 (余量 0 点),无法执行审批模拟或回归测试",details:{balance:P,deductionAmount:T,estimatedRuns:A},recommendation:"请联系管理员为企业充值 AI 审批额度"});else if(A<10)H.status="low",U.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:`额度偏低:剩余 ${P} 点 (单笔扣除 ${T} 点),仅可支持约 ${A} 笔审核`,details:{balance:P,deductionAmount:T,estimatedRuns:A},recommendation:"建议在发起大规模自动化回归前充值补充额度"});else H.status="sufficient",U.push({id:"billing_quota",name:"AI 审批额度余量",status:"pass",summary:`额度充裕:剩余 ${P} 点,预估可支持 ${A} 笔审核单据`,details:{balance:P,deductionAmount:T,estimatedRuns:A}})}else U.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:"未检索到「ai-approval」功能包额度明细,按默认通道运行",details:{features:N.map((P)=>P?.code)}});let D=N.find((P)=>P?.code==="approval-rules");if(D)W.used=typeof D.used==="number"?D.used:0,W.remaining=typeof D.remaining==="number"?D.remaining:0}catch(w){U.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:`读取计费状态失败:${w instanceof Error?w.message:String(w)}`,details:{error:String(w)}})}let X={totalCount:0,activeCount:0,quotaUsed:W.used,quotaRemaining:W.remaining};try{let w=await p6($),N=Array.isArray(w.rules)?w.rules:[];if(X.totalCount=N.length,X.activeCount=N.filter((O)=>O.status==="ACTIVE").length,N.length===0)U.push({id:"rules_status",name:"审核规则状态",status:"warn",summary:"当前租户未配置任何审核规则 (规则数为 0)",details:{totalCount:0,activeCount:0},recommendation:z==="test"&&Q?`可运行 seal-use corps sync-test --corp ${Q} 从生产企业同步规则`:"可运行 seal-use rules add 创建基础规则"});else U.push({id:"rules_status",name:"审核规则状态",status:"pass",summary:`审核规则健康:共 ${X.totalCount} 条规则,其中生效活跃 ${X.activeCount} 条`,details:{totalCount:X.totalCount,activeCount:X.activeCount,quotaUsed:W.used,quotaRemaining:W.remaining}})}catch(w){U.push({id:"rules_status",name:"审核规则状态",status:"fail",summary:`拉取规则列表失败:${w instanceof Error?w.message:String(w)}`,details:{error:String(w)}})}let Z={integrationCount:0,hasReplayChannel:!1,activeWebhookId:void 0};try{let w=await J$($);Z.integrationCount=w.length;let N=w.find((O)=>O.name.includes("回放")||O.name.toLowerCase().includes("replay"));if(Z.hasReplayChannel=Boolean(N),Z.activeWebhookId=N?.id??w[0]?.id,w.length===0)U.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"warn",summary:"未配置任何 Webhook 集成通道,执行重放测试时将自动创建临时回放通道",details:{integrationCount:0},recommendation:"可运行 seal-use webhook add --name (回放通道) 手动注册专属通道"});else U.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"pass",summary:`Webhook 集成通道就绪:共 ${w.length} 个通道${N?` (含专属回放通道「${N.name}」)`:""}`,details:{integrationCount:w.length,hasReplayChannel:Z.hasReplayChannel,activeWebhookId:Z.activeWebhookId}})}catch(w){U.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"warn",summary:`检测 Webhook 通道失败:${w instanceof Error?w.message:String(w)}`,details:{error:String(w)}})}if(z==="test")if(Q)U.push({id:"environment_binding",name:"测试环境配对契约",status:"pass",summary:`测试租户已绑定生产母企业「${Q}」,具备样本拉取与配置同步能力`,details:{environment:z,boundCorpId:Q,boundCorpRole:J,boundCorpRoleDescription:I}});else U.push({id:"environment_binding",name:"测试环境配对契约",status:"warn",summary:"测试租户尚未绑定对应的生产母企业,无法直接拉取生产样本执行自动化回归",details:{environment:z},recommendation:`可运行 seal-use corps bind-test ${Y.id} 建立 1 对 1 绑定`});else if(Q)U.push({id:"environment_binding",name:"生产环境安全隔离契约",status:"pass",summary:`生产企业已绑定沙箱测试靶场「${Q}」,回归测试将严格限制在靶场中运行`,details:{environment:z,boundCorpId:Q,boundCorpRole:J,boundCorpRoleDescription:I}});else U.push({id:"environment_binding",name:"生产环境安全隔离契约",status:"warn",summary:"生产企业尚未绑定任何测试企业,所有回归测试功能将触发安全拦截",details:{environment:z},recommendation:`可运行 seal-use corps bind-test ${Y.id} 为该生产租户绑定测试靶场`});let q=U.filter((w)=>w.status==="fail").length,V=U.filter((w)=>w.status==="warn").length,F=U.filter((w)=>w.status==="pass").length,M="HEALTHY";if(q>0)M="BLOCKED";else if(V>0)M="DEGRADED";return{ok:q===0,verdict:M,timestamp:new Date().toISOString(),corp:{id:Y.id,name:Y.name,environment:z,sourceType:Y.source?.type??"native",boundCorpId:Q,boundCorpRole:J,boundCorpRoleDescription:I},summary:{totalChecks:U.length,passedChecks:F,warningChecks:V,failedChecks:q},checks:U,quota:H,rules:X,webhooks:Z}}function mg1($){let{corp:Y,verdict:U,summary:z,checks:Q,quota:J,rules:I,webhooks:K}=$,G=U==="HEALTHY"?"\uD83D\uDFE2 健康良好 (HEALTHY)":U==="DEGRADED"?"\uD83D\uDFE1 亚健康降级 (DEGRADED)":"\uD83D\uDD34 阻断受限 (BLOCKED)",H=["",`\uD83C\uDFE5 [Seal Use Doctor] 租户全链路契约体检: ${Y.name} (${Y.id})`,` 状态: ${G} · 环境: ${Y.environment.toUpperCase()} · 耗时: 实时探针`," "+"─".repeat(60)];if(H.push(` AI 审批余量: ${J.balance} 点 (可审约 ${J.estimatedRuns} 笔) | 规则数: ${I.activeCount}/${I.totalCount} | Webhook 通道: ${K.integrationCount}`),Y.boundCorpId)H.push(` 配对关系: ${Y.environment==="test"?"来源生产母企业":"绑定的测试靶场"} -> 「${Y.boundCorpId}」`);H.push(" "+"─".repeat(60));for(let W of Q){let X=W.status==="pass"?"✓":W.status==="warn"?"!":"✗";if(H.push(` [${X}] ${W.name}: ${W.summary}`),W.recommendation)H.push(` \uD83D\uDC49 建议: ${W.recommendation}`)}return H.push(" "+"─".repeat(60)),H.push(` 检查汇总: 通过 ${z.passedChecks} · 告警 ${z.warningChecks} · 失败 ${z.failedChecks}`),H.push(""),H.join(` +`}var Qo,Jo,Io;var Ko=m(()=>{Qo=[{name:"配置与状态根目录",category:"config",standardPath:"~/.config/seal-use",purpose:"用户本地持久化配置根目录,存放企业连接元数据、会话缓存与全局状态。",accessMode:"read-write",retention:"persistent"},{name:"企业配置文件目录",category:"config",standardPath:"~/.config/seal-use/enterprises",purpose:"存放各已添加企业的配置 JSON 文件(如 xiezihao.json),存储企业域名、脱敏 Token、员工绑定关系等。",accessMode:"read-write",retention:"persistent"},{name:"全局配置文件",category:"config",standardPath:"~/.config/seal-use/config.json",purpose:"维护全局工作模式(stateful/stateless)、默认激活企业 defaultCorpId 以及 Lint 偏好。",accessMode:"read-write",retention:"persistent"},{name:"会话凭据安全缓存",category:"config",standardPath:"~/.config/seal-use/seal_tokens.json",purpose:"缓存已认证租户的 Bearer Token 与过期时间戳,避免高频调用上游 OAuth 换票接口。",accessMode:"read-write",retention:"cache"},{name:"规则版本映射快照",category:"config",standardPath:"~/.config/seal-use/mappings",purpose:"存储 corps sync-test 生成的生产与测试规则版本/编号对照映射快照,供 rules map 离线毫秒级速查。",accessMode:"read-write",retention:"persistent"},{name:"后台守护服务日志",category:"config",standardPath:"~/.config/seal-use/service.log",purpose:"常驻后台 HTTP 服务守护进程运行输出日志。",accessMode:"read-write",retention:"persistent"},{name:"全局命令行程序",category:"binary",standardPath:"/opt/homebrew/bin/seal-use",purpose:"macOS / Linux 全局独立单文件二进制程序;附带软链接 seal-home -> seal-use 兼容旧指令。",accessMode:"executable",retention:"persistent"},{name:"AI Agent 技能主目录",category:"skill",standardPath:"~/.agents/skills/seal-use",purpose:"面向 Antigravity、Codex 等 AI 智能体的标准技能目录,包含 SKILL.md、参考文档与操作规程。",accessMode:"read-write",retention:"persistent"},{name:"报表默认导出目录",category:"export",standardPath:"~/Downloads",purpose:"执行 approval-runs export 等大盘报表命令且未指定 --out 时,默认写入的 Excel 文件路径。",accessMode:"read-write",retention:"persistent"},{name:"系统隔离临时目录",category:"temp",standardPath:"/tmp 或 /var/folders/.../T",purpose:"自动化测试(bun test)生成的隔离工作副本,执行完毕后通过 afterEach 钩子彻底删除,零残留。",accessMode:"transient",retention:"ephemeral"}],Jo=[{topic:"敏感凭据脱敏保护",guarantee:"appSecurity、password 等高危密钥永不回显在 stdout,Session Token 采用掩码处理(如 5oUL...Y%3D)。",enforcement:"CLI 所有展示接口(corps get、corps list、probe 等)均经 formatSafeSourceDetail 脱敏过滤。"},{topic:"正式环境与测试环境严格隔离",guarantee:"正式企业与测试企业必须严格 1 对 1 下挂,禁止多层级级联绑定;环境标记需显式 --confirm 确认。",enforcement:"corps bind-test 与 mark 强制要求 --confirm,缺少时阻断并返回退出码 10(confirmationRequired)。"},{topic:"跨环境规则同步安全基线",guarantee:"corps sync-test 仅将正式企业偏好与规则覆盖同步至测试企业并自动发布,正式企业规则严格维持草稿态永不发布。",enforcement:"规则同步流水线由 sync-test 独占受控,正式环境端仅执行拉取草稿读取操作,零发版变更。"},{topic:"只读诊断无副作用原则",guarantee:"doctor、search、get、list、context、probe 等命令为严格只读操作,不修改用户本地文件系统,零写入污染。",enforcement:"核心领域函数严格分离 Mutation 操作与 Query 操作,Query 路径杜绝写文件与环境篡改。"}],Io=[{domain:"corps (企业管理)",summary:"多租户接入、智能软搜索、富属性查看、环境标记、测试绑定与配置规则同步",primaryCommands:["corps list","corps search ","corps get ","corps mark","corps bind-test","corps sync-test"]},{domain:"approval-runs (审核大盘)",summary:"AI 审核单据检索、统计分析、引证规则查看、附件全链路追踪、Excel 报表导出、单据直达链接与免登",primaryCommands:["approval-runs list","approval-runs stats","approval-runs get","approval-runs export","approval-runs link"]},{domain:"rules (规则治理)",summary:"审核规则拉取、本地 Lint 质量检查、增量差量推送、离线版本与编号对照映射速查",primaryCommands:["rules pull","rules lint","rules push","rules map","rules count"]},{domain:"preference (决策偏好)",summary:"AI 审核偏好读取与更新、全局与分品类思考深度策略(medium/high)配置",primaryCommands:["preference get","preference decision update","preference thinking-depth set"]},{domain:"simulation (模拟演练)",summary:"合思单据指定、材料包导入、飞书/泛微三方审批定义演练、批次轮询等待与数据清理",primaryCommands:["simulation create","simulation status","simulation wait","simulation clean"]},{domain:"webhook (通道与重放)",summary:"Webhook 回调通道配置、材料包校验推送、线上单据向 Webhook 通道测试重放",primaryCommands:["webhook list","webhook add","webhook replay","webhook material-pack push"]},{domain:"deploy (费控集成)",summary:"Seal AI 智能审核能力发布到合思费控企业、对接要求检测与配置同步",primaryCommands:["deploy hosecloud requirements","deploy hosecloud status","deploy hosecloud sync"]},{domain:"doctor (系统诊断)",summary:"整机环境健康自检、目录全景体检看板、内置架构与规范白皮书离线查阅",primaryCommands:["doctor","doctor guide","doctor paths"]}]});import{accessSync as bg1,constants as ig1,existsSync as i6,readdirSync as OS0,statSync as cg1}from"node:fs";import{homedir as ng1}from"node:os";import{join as E5}from"node:path";function wS0($){if(!i6($))return 0;try{return OS0($).filter((Y)=>Y.endsWith(".json")).length}catch{return 0}}function vT($){try{return bg1($,ig1.W_OK),!0}catch{return!1}}function MS0($){if(!i6($))return[];try{return OS0($).filter((Y)=>Y.endsWith(".json")&&!Y.startsWith("example.")).map((Y)=>E5($,Y))}catch{return[]}}function pg1($){return $.filter((Y)=>{try{return(cg1(Y).mode&63)!==0}catch{return!1}})}function Go(){let $=ng1(),Y=E5($,".config","seal-use"),U=E5(Y,"enterprises"),z=E5(Y,"config.json"),Q=E5(Y,"seal_tokens.json"),J=E5(Y,"mappings"),I=yz(),K=E5($,"Downloads"),H=["/opt/homebrew/bin/seal-use","/usr/local/bin/seal-use",E5($,".local","bin","seal-use"),E5($,"bin","seal-use")].find((A)=>i6(A))??process.execPath,W={configDir:{name:"配置根目录",path:Y,exists:i6(Y),writable:i6(Y)?vT(Y):!1,description:"用户持久化配置与企业状态根目录"},enterprisesDir:{name:"企业配置目录",path:U,exists:i6(U),writable:i6(U)?vT(U):!1,fileCount:wS0(U),description:"企业连接配置(JSON)保存路径"},globalConfigFile:{name:"全局配置文件",path:z,exists:i6(z),description:"全局工作模式与默认企业配置"},tokenStore:{name:"凭据缓存",path:Q,exists:i6(Q),description:"会话凭据与令牌缓存"},mappingsDir:{name:"规则版本映射快照",path:J,exists:i6(J),fileCount:wS0(J),description:"生产与测试规则版本映射对照表"},agentSkillDir:{name:"AI Agent 技能目录",path:I,exists:i6(E5(I,"SKILL.md")),description:"本地 Agent 技能主目录"},exportDefaultDir:{name:"报表默认导出目录",path:K,exists:i6(K),writable:i6(K)?vT(K):!1,description:"审核大盘报表默认写入目录"},lintersDir:{name:"规则校验器目录 (用户自定义)",path:b$,exists:i6(b$),writable:i6(b$)?vT(b$):!1,description:"用户私有规则校验脚本存放目录"},officialLintersDir:{name:"官方内置规则校验器目录",path:i$,exists:i6(i$),description:"官方标准与严格风控校验脚本目录 (系统自动保护与重写)"},globalBinary:{name:"全局命令行二进制",path:H,exists:i6(H),description:"系统全局命令执行入口"}},X=[];try{X=s8()}catch{X=[]}let Z=_4(),q=Z.defaultCorpId??X[0]?.id,V=X.find((A)=>A.id===q),F=X.filter((A)=>(A.environment??"production").toLowerCase()==="test").length,M=X.length-F,w=[];if(w.push({id:"executable",title:"命令行二进制",status:"ok",message:`当前执行路径: ${process.execPath}`}),W.configDir?.exists&&W.configDir.writable)w.push({id:"config_dir",title:"配置目录访问",status:"ok",message:`${Y} (正常读写)`});else if(W.configDir?.exists)w.push({id:"config_dir",title:"配置目录访问",status:"warn",message:`${Y} (存在但可能不可写)`});else w.push({id:"config_dir",title:"配置目录访问",status:"warn",message:`未检测到配置目录 ${Y},首次运行配置命令时将自动创建`});if(X.length>0)w.push({id:"enterprises",title:"企业接入状态",status:"ok",message:`已接入 ${X.length} 家企业 (正式: ${M}, 测试: ${F})`});else w.push({id:"enterprises",title:"企业接入状态",status:"warn",message:"当前未检测到企业配置,请使用 seal-use corps add-hose 或 add-seal 接入企业"});if(W.agentSkillDir?.exists)w.push({id:"agent_skill",title:"AI Agent 技能",status:"ok",message:`已就绪于 ${I}`});else w.push({id:"agent_skill",title:"AI Agent 技能",status:"warn",message:`未在 ${I} 检测到技能,可运行 'seal-use skill sync' 安装`});let N=[Q,z,_Z(),...MS0(U),...MS0(E5(process.cwd(),"enterprises"))].filter((A,j,C)=>C.indexOf(A)===j&&i6(A)),O=pg1(N);w.push({id:"credential_permissions",title:"凭据文件权限",status:O.length===0?"ok":"warn",message:O.length===0?`已检查 ${N.length} 个凭据文件,均为仅属主可读 (0600)`:`${O.length} 个凭据文件权限宽于 0600(同机其他用户可读,取决于父目录权限),建议 chmod 600:${O.join("、")}`});let D=Z.lint??{enabled:!1,activeLinter:"builtin",minScore:0};if(D.enabled)w.push({id:"rule_linter",title:"规则质量校验器",status:"ok",message:`已开启 (校验器: ${D.activeLinter}, 最低门槛分: ${D.minScore})`});else w.push({id:"rule_linter",title:"规则质量校验器",status:"ok",message:"未开启 (默认关闭,可运行 seal-use config lint enable 开启)"});let P=w.some((A)=>A.status==="warn"||A.status==="error"),T=typeof globalThis.Bun<"u"?`Bun ${globalThis.Bun.version}`:`Node ${process.version}`;return{doctor:P?"warning":"ok",timestamp:new Date().toISOString(),runtime:{version:P1,executablePath:process.execPath,platform:`${process.platform} (${process.arch})`,engine:T},directories:W,enterprises:{total:X.length,productionCount:M,testCount:F,activeCorpId:V?.id,activeCorpName:V?.name},checks:w,knowledge:{summary:"内嵌系统架构与目录规范白皮书(纯内存只读,零写入依赖)",directorySpecsCount:Qo.length,securityPoliciesCount:Jo.length,domainCapabilitiesCount:Io.length,guideCommand:"seal-use doctor guide"}}}function NS0($){let Y=[],U=$.doctor==="ok"?"✨":"⚠️";Y.push(`\uD83E\uDE7A [Seal Use Doctor] 系统健康诊断看板 ${U}`),Y.push("─────────────────────────────────────────────────────────────"),Y.push("【运行环境】"),Y.push(` 版本号: ${$.runtime.version}`),Y.push(` 程序路径: ${$.runtime.executablePath}`),Y.push(` 操作系统: ${$.runtime.platform}`),Y.push(` 执行引擎: ${$.runtime.engine}`),Y.push(""),Y.push("【核心路径状态】");for(let[,Q]of Object.entries($.directories)){let J=Q.exists?"✓":"○",I=Q.exists?Q.fileCount!==void 0?`(${Q.fileCount} 个文件)`:Q.writable?"(就绪/可写)":"(存在)":"(未创建)";Y.push(` ${J} ${Q.name.padEnd(16," ")}: ${Q.path} ${I}`)}if(Y.push(""),Y.push("【企业资产概览】"),Y.push(` 接入企业总计: ${$.enterprises.total} 家 (生产: ${$.enterprises.productionCount}, 测试: ${$.enterprises.testCount})`),$.enterprises.activeCorpId)Y.push(` 当前激活企业: ${$.enterprises.activeCorpName} (${$.enterprises.activeCorpId})`);else Y.push(" 当前激活企业: 无默认企业 (无状态模式)");Y.push(""),Y.push("【健康自检】");for(let Q of $.checks){let J=Q.status==="ok"?"✓":Q.status==="warn"?"⚠️":"✗";Y.push(` ${J} [${Q.title}]: ${Q.message}`)}Y.push(""),Y.push("─────────────────────────────────────────────────────────────"),Y.push("\uD83D\uDC49 查阅内嵌白皮书与目录规范: seal-use doctor guide"),Y.push("\uD83D\uDC49 检索企业: seal-use corps search ");let z=$.checks.find((Q)=>Q.id==="rule_linter");if(z&&z.message.includes("未开启"))Y.push("\uD83D\uDC49 开启规则自动质量校验: seal-use config lint enable");return Y.join(` +`)}var DS0=m(()=>{Lp();e9();y3();Rq();iB();Ko()});var AS0={};x8(AS0,{formatTenantDoctorDashboard:()=>mg1,diagnoseTenantContract:()=>dg1});async function dg1($,Y){let U=[],z=Y.environment==="test"?"test":"production",Q=z==="test"?Y.prodCorpId:Y.testCorpId,J=z==="test"?"prodParent":"testTarget",I=Q?z==="test"?"已绑定生产母企业 (上游配置与样本源)":"已绑定测试靶场 (下游隔离演练环境)":void 0,K=null,G=null;try{let w=await W8($);if(K=w.user,G=w.tenant,Boolean(K?.isAdmin||K?.permissions?.includes("*")))U.push({id:"auth_identity",name:"身份与权限契约",status:"pass",summary:`已认证为管理员「${K.name??"未知"}」(${K.id??""}),具备完整操作权限`,details:{userId:K.id,userName:K.name,isAdmin:!0,permissionLevel:"超级管理员(具备完整操作权限)",tenantName:G?.name,tenantSlug:G?.tenantSlug,permissions:K.permissions}});else U.push({id:"auth_identity",name:"身份与权限契约",status:"warn",summary:`已认证为普通用户「${K.name??"未知"}」,非超级管理员,部分配置操作可能受限`,details:{userId:K.id,userName:K.name,isAdmin:!1,permissionLevel:"普通用户(部分管理配置受限)",tenantName:G?.name,permissions:K.permissions},recommendation:"建议使用具有管理权限的企业主账号执行规则修改与集成发布"})}catch(w){U.push({id:"auth_identity",name:"身份与权限契约",status:"fail",summary:`鉴权握手失败:${w instanceof Error?w.message:String(w)}`,details:{error:String(w)},recommendation:`请执行 seal-use auth login --corp ${Y.id} 重新登录或更新 Token`})}let H={featureCode:"ai-approval",balance:0,deductionAmount:120,estimatedRuns:0,status:"exhausted"},W={used:0,remaining:0};try{let w=await nY($),N=Array.isArray(w.features)?w.features:[],O=N.find((P)=>P?.code==="ai-approval");if(O){let P=typeof O.balance==="number"?O.balance:0,T=typeof O.deductionAmount==="number"&&O.deductionAmount>0?O.deductionAmount:120,A=Math.floor(P/T);if(H.balance=P,H.deductionAmount=T,H.estimatedRuns=A,P<=0)H.status="exhausted",U.push({id:"billing_quota",name:"AI 审批额度余量",status:"fail",summary:"当前额度已耗尽 (余量 0 点),无法执行审批模拟或回归测试",details:{balance:P,deductionAmount:T,estimatedRuns:A},recommendation:`请前往后台充值补充额度 (可通过 seal-use auth link --corp ${Y.id} 免密直达)`});else if(A<10)H.status="low",U.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:`额度偏低:剩余 ${P} 点 (单笔扣除 ${T} 点),仅可支持约 ${A} 笔审核`,details:{balance:P,deductionAmount:T,estimatedRuns:A},recommendation:`建议补充额度 (可通过 seal-use auth link --corp ${Y.id} 免密直达)`});else H.status="sufficient",U.push({id:"billing_quota",name:"AI 审批额度余量",status:"pass",summary:`额度充裕:剩余 ${P} 点,预估可支持 ${A} 笔审核单据`,details:{balance:P,deductionAmount:T,estimatedRuns:A}})}else U.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:"未检索到「ai-approval」功能包额度明细,按默认通道运行",details:{features:N.map((P)=>P?.code)}});let D=N.find((P)=>P?.code==="approval-rules");if(D)W.used=typeof D.used==="number"?D.used:0,W.remaining=typeof D.remaining==="number"?D.remaining:0}catch(w){U.push({id:"billing_quota",name:"AI 审批额度余量",status:"warn",summary:`读取计费状态失败:${w instanceof Error?w.message:String(w)}`,details:{error:String(w)}})}let X={totalCount:0,activeCount:0,quotaUsed:W.used,quotaRemaining:W.remaining};try{let w=await p6($),N=Array.isArray(w.rules)?w.rules:[];if(X.totalCount=N.length,X.activeCount=N.filter((O)=>O.status==="ACTIVE").length,N.length===0)U.push({id:"rules_status",name:"审核规则状态",status:"warn",summary:"当前租户未配置任何审核规则 (规则数为 0)",details:{totalCount:0,activeCount:0},recommendation:z==="test"&&Q?`可运行 seal-use corps sync-test --corp ${Q} 从生产企业同步规则`:"可运行 seal-use rules add 创建基础规则"});else U.push({id:"rules_status",name:"审核规则状态",status:"pass",summary:`审核规则健康:共 ${X.totalCount} 条规则,其中生效活跃 ${X.activeCount} 条`,details:{totalCount:X.totalCount,activeCount:X.activeCount,quotaUsed:W.used,quotaRemaining:W.remaining}})}catch(w){U.push({id:"rules_status",name:"审核规则状态",status:"fail",summary:`拉取规则列表失败:${w instanceof Error?w.message:String(w)}`,details:{error:String(w)}})}let Z={integrationCount:0,hasReplayChannel:!1,activeWebhookId:void 0};try{let w=await J$($);Z.integrationCount=w.length;let N=w.find((O)=>O.name.includes("回放")||O.name.toLowerCase().includes("replay"));if(Z.hasReplayChannel=Boolean(N),Z.activeWebhookId=N?.id??w[0]?.id,w.length===0)U.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"pass",summary:"未配置任何 Webhook 集成通道 (日常审批无影响;若需自动化系统推流或单据重放将自动创建)",details:{integrationCount:0}});else U.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"pass",summary:`Webhook 集成通道就绪:共 ${w.length} 个通道${N?` (含专属回放通道「${N.name}」)`:""}`,details:{integrationCount:w.length,hasReplayChannel:Z.hasReplayChannel,activeWebhookId:Z.activeWebhookId}})}catch(w){U.push({id:"webhook_integrations",name:"单据推送 Webhook 通道",status:"warn",summary:`检测 Webhook 通道失败:${w instanceof Error?w.message:String(w)}`,details:{error:String(w)}})}if(z==="test")if(Q)U.push({id:"environment_binding",name:"测试环境配对契约",status:"pass",summary:`测试租户已绑定生产母企业「${Q}」,具备样本拉取与配置同步能力`,details:{environment:z,boundCorpId:Q,boundCorpRole:J,boundCorpRoleDescription:I}});else U.push({id:"environment_binding",name:"测试环境配对契约",status:"warn",summary:"测试租户尚未绑定对应的生产母企业,无法直接拉取生产样本执行自动化回归",details:{environment:z},recommendation:`可运行 seal-use corps bind-test ${Y.id} 建立 1 对 1 绑定`});else if(Q)U.push({id:"environment_binding",name:"生产环境安全隔离契约",status:"pass",summary:`生产企业已绑定沙箱测试靶场「${Q}」,回归测试将严格限制在靶场中运行`,details:{environment:z,boundCorpId:Q,boundCorpRole:J,boundCorpRoleDescription:I}});else U.push({id:"environment_binding",name:"生产环境安全隔离契约",status:"warn",summary:"生产企业尚未绑定任何测试企业,所有回归测试功能将触发安全拦截",details:{environment:z},recommendation:`可运行 seal-use corps bind-test ${Y.id} 为该生产租户绑定测试靶场`});let q=U.filter((w)=>w.status==="fail").length,V=U.filter((w)=>w.status==="warn").length,F=U.filter((w)=>w.status==="pass").length,M="HEALTHY";if(q>0)M="BLOCKED";else if(V>0)M="DEGRADED";return{ok:q===0,verdict:M,timestamp:new Date().toISOString(),corp:{id:Y.id,name:Y.name,environment:z,sourceType:Y.source?.type??"native",boundCorpId:Q,boundCorpRole:J,boundCorpRoleDescription:I},summary:{totalChecks:U.length,passedChecks:F,warningChecks:V,failedChecks:q},checks:U,quota:H,rules:X,webhooks:Z}}function mg1($){let{corp:Y,verdict:U,summary:z,checks:Q,quota:J,rules:I,webhooks:K}=$,G=U==="HEALTHY"?"\uD83D\uDFE2 健康良好 (HEALTHY)":U==="DEGRADED"?"\uD83D\uDFE1 亚健康降级 (DEGRADED)":"\uD83D\uDD34 阻断受限 (BLOCKED)",H=["",`\uD83C\uDFE5 [Seal Use Doctor] 租户全链路契约体检: ${Y.name} (${Y.id})`,` 状态: ${G} · 环境: ${Y.environment.toUpperCase()} · 耗时: 实时探针`," "+"─".repeat(60)];if(H.push(` AI 审批余量: ${J.balance} 点 (可审约 ${J.estimatedRuns} 笔) | 规则数: ${I.activeCount}/${I.totalCount} | Webhook 通道: ${K.integrationCount}`),Y.boundCorpId)H.push(` 配对关系: ${Y.environment==="test"?"来源生产母企业":"绑定的测试靶场"} -> 「${Y.boundCorpId}」`);H.push(" "+"─".repeat(60));for(let W of Q){let X=W.status==="pass"?"✓":W.status==="warn"?"!":"✗";if(H.push(` [${X}] ${W.name}: ${W.summary}`),W.recommendation)H.push(` \uD83D\uDC49 建议: ${W.recommendation}`)}if(H.push(" "+"─".repeat(60)),H.push(` 检查汇总: 通过 ${z.passedChecks} · 告警 ${z.warningChecks} · 失败 ${z.failedChecks}`),J.status==="exhausted"||J.status==="low")H.push(` \uD83D\uDC49 Next action: seal-use auth link --corp ${Y.id}`);return H.push(""),H.join(` `)}var BS0=m(()=>{X6()});async function PS0($,Y,U){let z=($??Y??"").toLowerCase();if(z==="guide"||z==="doc"||z==="knowledge"||z==="book"){console.error(`\uD83D\uDCD6 [Seal Use Doctor] 正在读取内嵌系统规范白皮书(纯内存只读)... -`),console.log(FS0());return}if(z==="paths"||z==="dirs"||z==="directories"){let I=Go();b0(I.directories);return}if(z==="tenant"||z==="corp"||z==="enterprise"){let{selectCorp:I}=await Promise.resolve().then(() => (f4(),w_0)),{createSealClient:K}=await Promise.resolve().then(() => (i8(),_00)),{stringOption:G}=await Promise.resolve().then(() => (D4(),H_0)),{diagnoseTenantContract:H,formatTenantDoctorDashboard:W}=await Promise.resolve().then(() => (BS0(),AS0)),X=G(U.options.corp)??(Y&&Y!==z?Y:void 0)??(U.command[2]&&U.command[2]!==z?U.command[2]:void 0),Z=I(X),q=await K(Z),V=await H(q,Z);if(!(Z0(U.options.quiet)||Z0(U.options.silent)))console.error(W(V));b0(V);return}let Q=Go();if(!(Z0(U.options.quiet)||Z0(U.options.silent)))console.error(NS0(Q));b0(Q)}var TS0=m(()=>{DS0();Ko();D4();J4()});var ES0;var jS0=m(()=>{ES0={openapi:"3.1.0",info:{title:"seal-use Wrapped API",version:"0.10.32",description:"HTTP contract for the seal-use wrapped backend API, served by the local HTTP adapter\n(`seal-use http`, or the `seal-use service start` daemon; default http://127.0.0.1:8787).\n\nThese endpoints describe the stable wrapped API for frontend developers and agents. They are\nnot the raw downstream Seal endpoints: seal-use is responsible for enterprise selection,\nsource authentication, response compaction, and diagnostics-friendly fields.\n\nEvery operation declares `x-implementation-status`, so a caller can tell what the running\nadapter actually serves:\n\n- `implemented` — routed by `src/http/routes.ts` today. `src/http/openapi-implementation.test.ts`\n fails when an `implemented` operation has no matching route.\n- `planned` — contract-only, designed but not routed yet. Calling it returns 404.\n\nThe same capabilities are reachable through the CLI, and through the optional MCP server when\nit is enabled.\n"},servers:[{url:"http://localhost:8787",description:"Local HTTP adapter (`seal-use http`, or the `seal-use service start` daemon). Loopback-only by default."}],security:[{localSession:[]}],tags:[{name:"Corps",description:"Local enterprise configuration selection."},{name:"Source",description:"Source-derived Seal enterprise configuration."},{name:"Auth",description:"Wrapped authentication diagnostics and current identity."},{name:"Approval Runs",description:"Wrapped approval run history, summaries, document URLs, and trace bridge helpers."},{name:"Approval Knowledge",description:"Wrapped approval rules, documents, preferences, and search."},{name:"Simulation",description:"Wrapped simulation batch record access."}],paths:{"/v1/corps":{get:{tags:["Corps"],operationId:"listCorps","x-implementation-status":"implemented",summary:"List configured enterprises",responses:{"200":{description:"Configured enterprises.",content:{"application/json":{schema:{type:"array",items:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}}},"/v1/corps/current":{get:{tags:["Corps"],operationId:"getCurrentCorp","x-implementation-status":"planned",summary:"Get current enterprise",description:"Returns the configured default enterprise in stateful mode. Stateless mode has no current enterprise and requires an explicit corpId for enterprise operations.",responses:{"200":{description:"Current enterprise.",content:{"application/json":{schema:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}},"/v1/corps/current/switch":{post:{tags:["Corps"],operationId:"switchCurrentCorp","x-implementation-status":"planned",summary:"Switch current enterprise",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["corpId"],properties:{corpId:{type:"string"}}}}}},responses:{"200":{description:"Switched enterprise.",content:{"application/json":{schema:{type:"object",required:["current","id","name"],properties:{current:{type:"boolean"},id:{type:"string"},name:{type:"string"}}}}}},"404":{description:"Requested resource was not found.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/source/config":{get:{tags:["Source"],operationId:"getSourceConfig","x-implementation-status":"planned",summary:"Resolve source-derived Seal enterprise config",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Redacted Seal enterprise config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,description:"Redacted Seal enterprise config resolved from the configured source."}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/auth/diagnose":{get:{tags:["Auth"],operationId:"diagnoseAuth","x-implementation-status":"planned",summary:"Diagnose wrapped source-to-Seal authentication",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Authentication stage diagnosis.",content:{"application/json":{schema:{type:"object",required:["stages"],properties:{stages:{type:"array",items:{$ref:"#/components/schemas/AuthStage"}}}}}}}}}},"/v1/whoami":{get:{tags:["Auth"],operationId:"whoami","x-implementation-status":"implemented",summary:"Get current wrapped Seal identity",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current Seal user and tenant.",content:{"application/json":{schema:{type:"object",required:["user","tenant"],properties:{user:{$ref:"#/components/schemas/SealUser"},tenant:{$ref:"#/components/schemas/SealTenant"}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/session":{get:{tags:["Auth"],operationId:"getSession","x-implementation-status":"implemented",summary:"Get current wrapped Seal session metadata",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current session metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["user","session"],properties:{user:{$ref:"#/components/schemas/SealUser"},session:{type:"object",additionalProperties:!0}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/approval/context":{get:{tags:["Approval Knowledge"],operationId:"getApprovalContext","x-implementation-status":"planned",summary:"Get rules, documents, and style preferences together",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"documentLimit",in:"query",schema:{type:"integer",minimum:1}},{name:"latestRuleVersion",in:"query",schema:{type:"boolean"}},{name:"ruleVersionNumber",in:"query",schema:{type:"integer"}}],responses:{"200":{description:"Approval context.",content:{"application/json":{schema:{type:"object",required:["rules","documents","stylePreferences"],properties:{rules:{},documents:{},stylePreferences:{}}}}}}}}},"/v1/approval/search":{post:{tags:["Approval Knowledge"],operationId:"searchApprovalKnowledge","x-implementation-status":"planned",summary:"Search approval rules, documents, and preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["keywords"],properties:{keywords:{type:"array",minItems:1,items:{type:"string"}},matchMode:{type:"string",enum:["any","all"]},areas:{type:"array",items:{type:"string",enum:["rules","documents","preferences"]}},maxResults:{type:"integer"}}}}}},responses:{"200":{description:"Search results with line context.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rules":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRules","x-implementation-status":"implemented",summary:"List current draft approval rules",responses:{"200":{description:"Draft rules.",content:{"application/json":{schema:{type:"object",required:["rules"],properties:{rules:{type:"array",items:{$ref:"#/components/schemas/ApprovalRule"}},hasPendingDeletes:{type:"boolean"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalRule","x-implementation-status":"planned",summary:"Create draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["description","scope","strictness"],properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Created rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}}},"/v1/approval/rules/{ruleId}":{parameters:[{name:"ruleId",in:"path",required:!0,schema:{type:"string"},description:"Approval rule ID."}],patch:{tags:["Approval Knowledge"],operationId:"updateApprovalRule","x-implementation-status":"planned",summary:"Update draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Updated rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}},delete:{tags:["Approval Knowledge"],operationId:"deleteApprovalRule","x-implementation-status":"planned",summary:"Delete draft approval rule",responses:{"200":{description:"Deleted."}}}},"/v1/approval/rule-versions":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRuleVersions","x-implementation-status":"planned",summary:"List published approval rule versions",responses:{"200":{description:"Published rule versions.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}}},"/v1/approval/rule-versions/{versionId}":{parameters:[{name:"versionId",in:"path",required:!0,schema:{type:"string"},description:"Published rule version ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleVersion","x-implementation-status":"planned",summary:"Get published approval rule version",responses:{"200":{description:"Rule version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval/rules/by-version":{get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleByVersion","x-implementation-status":"planned",summary:"Get one wrapped rule from a published version",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"versionNumber",in:"query",schema:{type:"integer"}},{name:"versionId",in:"query",schema:{type:"string"}},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"code",in:"query",schema:{type:"string"},description:"Display rule code such as '#0038'."},{name:"runtimeId",in:"query",schema:{type:"string"},description:"Runtime rule ID such as rule-205."},{name:"recordId",in:"query",schema:{type:"string"},description:"Infer versionNumber from an approval run."}],responses:{"200":{description:"One rule from a published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rule-versions/publish":{post:{tags:["Approval Knowledge"],operationId:"publishApprovalRuleVersion","x-implementation-status":"planned",summary:"Publish current draft rules",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["versionName"],properties:{versionName:{type:"string"}}}}}},responses:{"200":{description:"Published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/documents":{get:{tags:["Approval Knowledge"],operationId:"listApprovalDocuments","x-implementation-status":"planned",summary:"List approval knowledge documents",parameters:[{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,default:20}},{name:"scenario",in:"query",schema:{type:"array",items:{type:"string"}},style:"form",explode:!0}],responses:{"200":{description:"Documents.",content:{"application/json":{schema:{type:"object",required:["articles"],properties:{articles:{type:"array",items:{$ref:"#/components/schemas/ApprovalDocument"}},total:{type:"integer"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalDocument","x-implementation-status":"planned",summary:"Create approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["title","purpose","content"],properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Created document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}}},"/v1/approval/documents/{documentId}":{parameters:[{name:"documentId",in:"path",required:!0,schema:{type:"string"},description:"Approval knowledge document ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalDocument","x-implementation-status":"planned",summary:"Get approval knowledge document",responses:{"200":{description:"Document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalDocument","x-implementation-status":"planned",summary:"Update approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Updated document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}},delete:{tags:["Approval Knowledge"],operationId:"deleteApprovalDocument","x-implementation-status":"planned",summary:"Delete approval knowledge document",responses:{"200":{description:"Deleted document confirmation."}}}},"/v1/approval/style-preferences":{get:{tags:["Approval Knowledge"],operationId:"getApprovalStylePreferences","x-implementation-status":"planned",summary:"Get approval style preferences",responses:{"200":{description:"Style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalStylePreferences","x-implementation-status":"planned",summary:"Update approval style preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}},responses:{"200":{description:"Updated style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}}},"/v1/preferences":{get:{tags:["Approval Knowledge"],operationId:"getPreferences","x-implementation-status":"implemented",summary:"Get current decision, thinking-depth and rule-version preferences",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Decision preferences, thinking depth preference and the bound rule set version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}}},"/v1/preferences/decision":{post:{tags:["Approval Knowledge"],operationId:"updatePreferenceDecision","x-implementation-status":"implemented",summary:"Update decision preferences (takes effect immediately for the running approval agent)",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",properties:{explicitApprove:{type:"string"},explicitReject:{type:"string"},exemptApprove:{type:"string"},review:{type:"string"},dryRun:{type:"boolean",description:"Return the before/after diff without writing."}}}}}},responses:{"200":{description:"Updated preferences, or the previewed diff when dryRun is set.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}}},"/v1/approval-runs":{get:{tags:["Approval Runs"],operationId:"searchApprovalRuns","x-implementation-status":"implemented",summary:"Search wrapped approval run history",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"startDate",in:"query",schema:{type:"string"},description:"Creation-time lower bound in milliseconds."},{name:"endDate",in:"query",schema:{type:"string"},description:"Creation-time upper bound in milliseconds."},{name:"status",in:"query",schema:{type:"string"}},{name:"taskMode",in:"query",schema:{type:"string"}},{name:"manualApprovalStatus",in:"query",schema:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"},description:"Hose/易快报单号 or other external source document number."},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"},description:"Local human result contains filter, such as 驳回 or 通过."},{name:"query",in:"query",schema:{type:"string"},description:"Search across record ID, source document fields, document ID, and trace fields."},{name:"includeBridge",in:"query",schema:{type:"boolean",default:!1},description:"Include full Langfuse bridge rows."}],responses:{"200":{description:"Compact wrapped approval run list.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["records"],properties:{records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},total:{type:"integer"},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/summary":{get:{tags:["Approval Runs"],operationId:"summarizeApprovalRuns","x-implementation-status":"implemented",summary:"Summarize approval runs by local date",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"date",in:"query",schema:{type:"string",format:"date"}},{name:"timezone",in:"query",schema:{type:"string",default:"Asia/Shanghai"}},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"query",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Date summary with counts and compact records.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{date:{type:"string"},timezone:{type:"string"},matched:{type:"integer"},statusCounts:{type:"object",additionalProperties:{type:"integer"}},taskModeCounts:{type:"object",additionalProperties:{type:"integer"}}}}}}}}}},"/v1/approval-runs/stats":{get:{tags:["Approval Runs"],operationId:"statApprovalRuns","x-implementation-status":"implemented",summary:"Aggregate approval run counts by status and source system",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"since",in:"query",schema:{type:"string"},description:"Time window such as 3months, 7days or 24hours."},{name:"dedupeBy",in:"query",schema:{type:"string",enum:["sourceDocumentSN","sourceDocumentId","id"],default:"sourceDocumentSN"},description:"Field used to count distinct business documents."},{name:"status",in:"query",schema:{type:"string"}},{name:"sourceSystem",in:"query",schema:{type:"string"}},{name:"taskMode",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Counts grouped by status and source system, plus the deduplicated total.",content:{"application/json":{schema:{type:"object"}}}}}}},"/v1/approval-runs/pick":{get:{tags:["Approval Runs"],operationId:"pickApprovalRuns","x-implementation-status":"implemented",summary:"Pick likely approval runs by document number or trace key",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"query",in:"query",schema:{type:"string"}},{name:"sn",in:"query",schema:{type:"string"},description:"Source document number for direct lookup."},{name:"batch",in:"query",schema:{type:"string"},description:"Optional simulation batch ID."},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated response fields."},{name:"limit",in:"query",schema:{type:"integer",default:20}},{name:"maxScan",in:"query",schema:{type:"integer",default:1000}}],responses:{"200":{description:"Picked records and suggested next actions.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/bridge":{get:{tags:["Approval Runs"],operationId:"getApprovalRunLangfuseBridge","x-implementation-status":"planned",summary:"Resolve approval runs to Langfuse trace or session hints",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"simulationBatchId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Trace/session bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{count:{type:"integer"},records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/url":{get:{tags:["Approval Runs"],operationId:"getApprovalRunUrl","x-implementation-status":"implemented",summary:"Get Seal AI result URL and optional source document URL",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Seal AI result URL and source document URL.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{url:{type:"string"},sealResultUrl:{type:"string"},ssoUrl:{type:"string"},documentUrl:{type:"string"},hoseDocumentUrl:{type:"string"},recordId:{type:"string"},sourceDocumentSN:{type:"string"}}}}}}}}},"/v1/approval-runs/{recordId}":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRun","x-implementation-status":"implemented",summary:"Get wrapped approval run detail",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated field paths such as metadata,document.fields,result.summary."}],responses:{"200":{description:"Approval run detail plus stable aliases and human result.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/cited-rules":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunCitedRules","x-implementation-status":"implemented",summary:"Extract rules cited or matched by the AI result",responses:{"200":{description:"Cited rule summaries.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/document-summary":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunDocumentSummary","x-implementation-status":"implemented",summary:"Get key document fields and compact AI/manual result",responses:{"200":{description:"Document summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/attachments":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunAttachments","x-implementation-status":"implemented",summary:"List compact attachment metadata",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"Attachment metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/result":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunResult","x-implementation-status":"implemented",summary:"Get AI result, optionally as a compact summary",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"AI result or summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-batch":{post:{tags:["Simulation"],operationId:"createSimulationBatch","x-implementation-status":"implemented",summary:"Create a simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-material-pack-batch":{post:{tags:["Simulation"],operationId:"createMaterialPackBatch","x-implementation-status":"planned",summary:"Create a material pack simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches":{get:{tags:["Simulation"],operationId:"listSimulationBatches","x-implementation-status":"implemented",summary:"List simulation batches",parameters:[{name:"limit",in:"query",schema:{type:"integer"},description:"Max batches to return."}],responses:{"200":{description:"Simulation batches.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/batch/{batchId}":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatch","x-implementation-status":"implemented",summary:"Get a simulation batch detail including echoed create params",responses:{"200":{description:"Simulation batch detail.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches/{batchId}/records":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatchRecords","x-implementation-status":"planned",summary:"Get wrapped simulation batch records",parameters:[{name:"query",in:"query",schema:{type:"string"},description:"Optional local contains filter for record/document/trace identifiers."}],responses:{"200":{description:"Compact simulation records and bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/templates":{get:{tags:["Simulation"],operationId:"listSimulationTemplates","x-implementation-status":"planned",summary:"List simulation test templates",responses:{"200":{description:"Simulation templates.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/integration-status":{get:{tags:["Simulation"],operationId:"getSimulationIntegrationStatus","x-implementation-status":"planned",summary:"Get available source integration status for simulation",responses:{"200":{description:"Integration status.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/hosecloud-integrations":{get:{tags:["Simulation"],operationId:"listSimulationHosecloudIntegrations","x-implementation-status":"planned",summary:"List hosecloud source integrations available for simulation",responses:{"200":{description:"Hosecloud integrations.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/material-packages/upload":{post:{tags:["Simulation"],operationId:"uploadMaterialPackage","x-implementation-status":"planned",summary:"Upload a material package ZIP for simulation",requestBody:{required:!0,content:{"multipart/form-data":{schema:{type:"object",properties:{file:{type:"string",format:"binary"}}}}}},responses:{"200":{description:"Parsed material package with schema config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}}},components:{securitySchemes:{localSession:{type:"apiKey",in:"header",name:"X-Seal-Home-Session",description:`Reserved header. The local adapter does not currently authenticate requests: it acts with +`),console.log(FS0());return}if(z==="paths"||z==="dirs"||z==="directories"){let I=Go();f0(I.directories);return}if(z==="tenant"||z==="corp"||z==="enterprise"){let{selectCorp:I}=await Promise.resolve().then(() => (f4(),w_0)),{createSealClient:K}=await Promise.resolve().then(() => (i8(),_00)),{stringOption:G}=await Promise.resolve().then(() => (D4(),H_0)),{diagnoseTenantContract:H,formatTenantDoctorDashboard:W}=await Promise.resolve().then(() => (BS0(),AS0)),X=G(U.options.corp)??(Y&&Y!==z?Y:void 0)??(U.command[2]&&U.command[2]!==z?U.command[2]:void 0),Z=I(X),q=await K(Z),V=await H(q,Z);if(!(Z0(U.options.quiet)||Z0(U.options.silent)))console.error(W(V));f0(V);return}let Q=Go();if(!(Z0(U.options.quiet)||Z0(U.options.silent)))console.error(NS0(Q));f0(Q)}var TS0=m(()=>{DS0();Ko();D4();J4()});var ES0;var jS0=m(()=>{ES0={openapi:"3.1.0",info:{title:"seal-use Wrapped API",version:"0.10.32",description:"HTTP contract for the seal-use wrapped backend API, served by the local HTTP adapter\n(`seal-use http`, or the `seal-use service start` daemon; default http://127.0.0.1:8787).\n\nThese endpoints describe the stable wrapped API for frontend developers and agents. They are\nnot the raw downstream Seal endpoints: seal-use is responsible for enterprise selection,\nsource authentication, response compaction, and diagnostics-friendly fields.\n\nEvery operation declares `x-implementation-status`, so a caller can tell what the running\nadapter actually serves:\n\n- `implemented` — routed by `src/http/routes.ts` today. `src/http/openapi-implementation.test.ts`\n fails when an `implemented` operation has no matching route.\n- `planned` — contract-only, designed but not routed yet. Calling it returns 404.\n\nThe same capabilities are reachable through the CLI, and through the optional MCP server when\nit is enabled.\n"},servers:[{url:"http://localhost:8787",description:"Local HTTP adapter (`seal-use http`, or the `seal-use service start` daemon). Loopback-only by default."}],security:[{localSession:[]}],tags:[{name:"Corps",description:"Local enterprise configuration selection."},{name:"Source",description:"Source-derived Seal enterprise configuration."},{name:"Auth",description:"Wrapped authentication diagnostics and current identity."},{name:"Approval Runs",description:"Wrapped approval run history, summaries, document URLs, and trace bridge helpers."},{name:"Approval Knowledge",description:"Wrapped approval rules, documents, preferences, and search."},{name:"Simulation",description:"Wrapped simulation batch record access."}],paths:{"/v1/corps":{get:{tags:["Corps"],operationId:"listCorps","x-implementation-status":"implemented",summary:"List configured enterprises",responses:{"200":{description:"Configured enterprises.",content:{"application/json":{schema:{type:"array",items:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}}},"/v1/corps/current":{get:{tags:["Corps"],operationId:"getCurrentCorp","x-implementation-status":"planned",summary:"Get current enterprise",description:"Returns the configured default enterprise in stateful mode. Stateless mode has no current enterprise and requires an explicit corpId for enterprise operations.",responses:{"200":{description:"Current enterprise.",content:{"application/json":{schema:{type:"object",required:["id","name","sourceType","current"],properties:{id:{type:"string"},name:{type:"string"},sourceType:{type:"string",enum:["hose","direct","seal"]},current:{type:"boolean"}}}}}}}}},"/v1/corps/current/switch":{post:{tags:["Corps"],operationId:"switchCurrentCorp","x-implementation-status":"planned",summary:"Switch current enterprise",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["corpId"],properties:{corpId:{type:"string"}}}}}},responses:{"200":{description:"Switched enterprise.",content:{"application/json":{schema:{type:"object",required:["current","id","name"],properties:{current:{type:"boolean"},id:{type:"string"},name:{type:"string"}}}}}},"404":{description:"Requested resource was not found.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/source/config":{get:{tags:["Source"],operationId:"getSourceConfig","x-implementation-status":"planned",summary:"Resolve source-derived Seal enterprise config",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Redacted Seal enterprise config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,description:"Redacted Seal enterprise config resolved from the configured source."}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/auth/diagnose":{get:{tags:["Auth"],operationId:"diagnoseAuth","x-implementation-status":"planned",summary:"Diagnose wrapped source-to-Seal authentication",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Authentication stage diagnosis.",content:{"application/json":{schema:{type:"object",required:["stages"],properties:{stages:{type:"array",items:{$ref:"#/components/schemas/AuthStage"}}}}}}}}}},"/v1/whoami":{get:{tags:["Auth"],operationId:"whoami","x-implementation-status":"implemented",summary:"Get current wrapped Seal identity",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current Seal user and tenant.",content:{"application/json":{schema:{type:"object",required:["user","tenant"],properties:{user:{$ref:"#/components/schemas/SealUser"},tenant:{$ref:"#/components/schemas/SealTenant"}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/session":{get:{tags:["Auth"],operationId:"getSession","x-implementation-status":"implemented",summary:"Get current wrapped Seal session metadata",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Current session metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["user","session"],properties:{user:{$ref:"#/components/schemas/SealUser"},session:{type:"object",additionalProperties:!0}}}}}},"401":{description:"Local service authentication failed or downstream Seal auth failed.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["error"],properties:{error:{type:"string"},message:{type:"string"},details:{}}}}}}}}},"/v1/approval/context":{get:{tags:["Approval Knowledge"],operationId:"getApprovalContext","x-implementation-status":"planned",summary:"Get rules, documents, and style preferences together",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"documentLimit",in:"query",schema:{type:"integer",minimum:1}},{name:"latestRuleVersion",in:"query",schema:{type:"boolean"}},{name:"ruleVersionNumber",in:"query",schema:{type:"integer"}}],responses:{"200":{description:"Approval context.",content:{"application/json":{schema:{type:"object",required:["rules","documents","stylePreferences"],properties:{rules:{},documents:{},stylePreferences:{}}}}}}}}},"/v1/approval/search":{post:{tags:["Approval Knowledge"],operationId:"searchApprovalKnowledge","x-implementation-status":"planned",summary:"Search approval rules, documents, and preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["keywords"],properties:{keywords:{type:"array",minItems:1,items:{type:"string"}},matchMode:{type:"string",enum:["any","all"]},areas:{type:"array",items:{type:"string",enum:["rules","documents","preferences"]}},maxResults:{type:"integer"}}}}}},responses:{"200":{description:"Search results with line context.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rules":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRules","x-implementation-status":"implemented",summary:"List current draft approval rules",responses:{"200":{description:"Draft rules.",content:{"application/json":{schema:{type:"object",required:["rules"],properties:{rules:{type:"array",items:{$ref:"#/components/schemas/ApprovalRule"}},hasPendingDeletes:{type:"boolean"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalRule","x-implementation-status":"planned",summary:"Create draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["description","scope","strictness"],properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Created rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}}},"/v1/approval/rules/{ruleId}":{parameters:[{name:"ruleId",in:"path",required:!0,schema:{type:"string"},description:"Approval rule ID."}],patch:{tags:["Approval Knowledge"],operationId:"updateApprovalRule","x-implementation-status":"planned",summary:"Update draft approval rule",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]}}}}}},responses:{"200":{description:"Updated rule.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","description","scope","strictness"],properties:{id:{type:"string"},description:{type:"string"},scope:{type:"string"},strictness:{type:"string",enum:["MUST_FOLLOW","SHOULD_FOLLOW","SUGGESTION"]},status:{type:"string"}}}}}}}},delete:{tags:["Approval Knowledge"],operationId:"deleteApprovalRule","x-implementation-status":"planned",summary:"Delete draft approval rule",responses:{"200":{description:"Deleted."}}}},"/v1/approval/rule-versions":{get:{tags:["Approval Knowledge"],operationId:"listApprovalRuleVersions","x-implementation-status":"planned",summary:"List published approval rule versions",responses:{"200":{description:"Published rule versions.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}}},"/v1/approval/rule-versions/{versionId}":{parameters:[{name:"versionId",in:"path",required:!0,schema:{type:"string"},description:"Published rule version ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleVersion","x-implementation-status":"planned",summary:"Get published approval rule version",responses:{"200":{description:"Rule version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","versionNumber","versionName","rules"],properties:{id:{type:"string"},versionNumber:{type:"integer"},versionName:{type:"string"},publishedByName:{type:"string"},rules:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval/rules/by-version":{get:{tags:["Approval Knowledge"],operationId:"getApprovalRuleByVersion","x-implementation-status":"planned",summary:"Get one wrapped rule from a published version",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"versionNumber",in:"query",schema:{type:"integer"}},{name:"versionId",in:"query",schema:{type:"string"}},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"code",in:"query",schema:{type:"string"},description:"Display rule code such as '#0038'."},{name:"runtimeId",in:"query",schema:{type:"string"},description:"Runtime rule ID such as rule-205."},{name:"recordId",in:"query",schema:{type:"string"},description:"Infer versionNumber from an approval run."}],responses:{"200":{description:"One rule from a published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/rule-versions/publish":{post:{tags:["Approval Knowledge"],operationId:"publishApprovalRuleVersion","x-implementation-status":"planned",summary:"Publish current draft rules",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["versionName"],properties:{versionName:{type:"string"}}}}}},responses:{"200":{description:"Published version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval/documents":{get:{tags:["Approval Knowledge"],operationId:"listApprovalDocuments","x-implementation-status":"planned",summary:"List approval knowledge documents",parameters:[{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,default:20}},{name:"scenario",in:"query",schema:{type:"array",items:{type:"string"}},style:"form",explode:!0}],responses:{"200":{description:"Documents.",content:{"application/json":{schema:{type:"object",required:["articles"],properties:{articles:{type:"array",items:{$ref:"#/components/schemas/ApprovalDocument"}},total:{type:"integer"}}}}}}}},post:{tags:["Approval Knowledge"],operationId:"createApprovalDocument","x-implementation-status":"planned",summary:"Create approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["title","purpose","content"],properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Created document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}}},"/v1/approval/documents/{documentId}":{parameters:[{name:"documentId",in:"path",required:!0,schema:{type:"string"},description:"Approval knowledge document ID."}],get:{tags:["Approval Knowledge"],operationId:"getApprovalDocument","x-implementation-status":"planned",summary:"Get approval knowledge document",responses:{"200":{description:"Document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalDocument","x-implementation-status":"planned",summary:"Update approval knowledge document",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!1,properties:{title:{type:"string"},purpose:{type:"string"},content:{type:"string"},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}},responses:{"200":{description:"Updated document.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["id","title","content"],properties:{id:{type:"string"},title:{type:"string"},purpose:{type:"string"},content:{type:"string",description:"Usually Markdown."},contentType:{type:"string"},status:{type:"string"},enabled:{type:"boolean"},scenarios:{type:"array",items:{type:"string"}},tags:{type:"array",items:{type:"string"}}}}}}}}},delete:{tags:["Approval Knowledge"],operationId:"deleteApprovalDocument","x-implementation-status":"planned",summary:"Delete approval knowledge document",responses:{"200":{description:"Deleted document confirmation."}}}},"/v1/approval/style-preferences":{get:{tags:["Approval Knowledge"],operationId:"getApprovalStylePreferences","x-implementation-status":"planned",summary:"Get approval style preferences",responses:{"200":{description:"Style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}},patch:{tags:["Approval Knowledge"],operationId:"updateApprovalStylePreferences","x-implementation-status":"planned",summary:"Update approval style preferences",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}},responses:{"200":{description:"Updated style preferences.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}}},"/v1/preferences":{get:{tags:["Approval Knowledge"],operationId:"getPreferences","x-implementation-status":"implemented",summary:"Get current decision, thinking-depth and rule-version preferences",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],responses:{"200":{description:"Decision preferences, thinking depth preference and the bound rule set version.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}}},"/v1/preferences/decision":{post:{tags:["Approval Knowledge"],operationId:"updatePreferenceDecision","x-implementation-status":"implemented",summary:"Update decision preferences (takes effect immediately for the running approval agent)",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."}],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",properties:{explicitApprove:{type:"string"},explicitReject:{type:"string"},exemptApprove:{type:"string"},review:{type:"string"},dryRun:{type:"boolean",description:"Return the before/after diff without writing."}}}}}},responses:{"200":{description:"Updated preferences, or the previewed diff when dryRun is set.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{tone:{type:"string"},language:{type:"string"},detailLevel:{type:"string"},outputFormat:{type:"string"},examples:{type:"array",items:{type:"string"}},prohibitedPhrases:{type:"array",items:{type:"string"}},customInstructions:{type:"string"}}}}}}}}},"/v1/approval-runs":{get:{tags:["Approval Runs"],operationId:"searchApprovalRuns","x-implementation-status":"implemented",summary:"Search wrapped approval run history",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"offset",in:"query",schema:{type:"integer",minimum:0,default:0},description:"Zero-based pagination offset."},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"startDate",in:"query",schema:{type:"string"},description:"Creation-time lower bound in milliseconds."},{name:"endDate",in:"query",schema:{type:"string"},description:"Creation-time upper bound in milliseconds."},{name:"status",in:"query",schema:{type:"string"}},{name:"taskMode",in:"query",schema:{type:"string"}},{name:"manualApprovalStatus",in:"query",schema:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"},description:"Hose/易快报单号 or other external source document number."},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"},description:"Local human result contains filter, such as 驳回 or 通过."},{name:"query",in:"query",schema:{type:"string"},description:"Search across record ID, source document fields, document ID, and trace fields."},{name:"includeBridge",in:"query",schema:{type:"boolean",default:!1},description:"Include full Langfuse bridge rows."}],responses:{"200":{description:"Compact wrapped approval run list.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,required:["records"],properties:{records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},total:{type:"integer"},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/summary":{get:{tags:["Approval Runs"],operationId:"summarizeApprovalRuns","x-implementation-status":"implemented",summary:"Summarize approval runs by local date",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"date",in:"query",schema:{type:"string",format:"date"}},{name:"timezone",in:"query",schema:{type:"string",default:"Asia/Shanghai"}},{name:"limit",in:"query",schema:{type:"integer",minimum:1,maximum:100,default:50},description:"Maximum number of records to return."},{name:"query",in:"query",schema:{type:"string"}},{name:"humanResult",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Date summary with counts and compact records.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{date:{type:"string"},timezone:{type:"string"},matched:{type:"integer"},statusCounts:{type:"object",additionalProperties:{type:"integer"}},taskModeCounts:{type:"object",additionalProperties:{type:"integer"}}}}}}}}}},"/v1/approval-runs/stats":{get:{tags:["Approval Runs"],operationId:"statApprovalRuns","x-implementation-status":"implemented",summary:"Aggregate approval run counts by status and source system",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"since",in:"query",schema:{type:"string"},description:"Time window such as 3months, 7days or 24hours."},{name:"dedupeBy",in:"query",schema:{type:"string",enum:["sourceDocumentSN","sourceDocumentId","id"],default:"sourceDocumentSN"},description:"Field used to count distinct business documents."},{name:"status",in:"query",schema:{type:"string"}},{name:"sourceSystem",in:"query",schema:{type:"string"}},{name:"taskMode",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Counts grouped by status and source system, plus the deduplicated total.",content:{"application/json":{schema:{type:"object"}}}}}}},"/v1/approval-runs/pick":{get:{tags:["Approval Runs"],operationId:"pickApprovalRuns","x-implementation-status":"implemented",summary:"Pick likely approval runs by document number or trace key",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"query",in:"query",schema:{type:"string"}},{name:"sn",in:"query",schema:{type:"string"},description:"Source document number for direct lookup."},{name:"batch",in:"query",schema:{type:"string"},description:"Optional simulation batch ID."},{name:"latest",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated response fields."},{name:"limit",in:"query",schema:{type:"integer",default:20}},{name:"maxScan",in:"query",schema:{type:"integer",default:1000}}],responses:{"200":{description:"Picked records and suggested next actions.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/bridge":{get:{tags:["Approval Runs"],operationId:"getApprovalRunLangfuseBridge","x-implementation-status":"planned",summary:"Resolve approval runs to Langfuse trace or session hints",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}},{name:"simulationBatchId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Trace/session bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{count:{type:"integer"},records:{type:"array",items:{$ref:"#/components/schemas/ApprovalRun"}},bridge:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}}}},"/v1/approval-runs/url":{get:{tags:["Approval Runs"],operationId:"getApprovalRunUrl","x-implementation-status":"implemented",summary:"Get Seal AI result URL and optional source document URL",parameters:[{name:"corpId",in:"query",schema:{type:"string"},description:"Local enterprise config ID. Required when global selection mode is stateless; optional in stateful mode, where the configured default enterprise is used."},{name:"recordId",in:"query",schema:{type:"string"}},{name:"sourceDocumentSN",in:"query",schema:{type:"string"}},{name:"sourceDocumentId",in:"query",schema:{type:"string"}}],responses:{"200":{description:"Seal AI result URL and source document URL.",content:{"application/json":{schema:{type:"object",additionalProperties:!0,properties:{url:{type:"string"},sealResultUrl:{type:"string"},ssoUrl:{type:"string"},documentUrl:{type:"string"},hoseDocumentUrl:{type:"string"},recordId:{type:"string"},sourceDocumentSN:{type:"string"}}}}}}}}},"/v1/approval-runs/{recordId}":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRun","x-implementation-status":"implemented",summary:"Get wrapped approval run detail",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}},{name:"fields",in:"query",schema:{type:"string"},description:"Comma-separated field paths such as metadata,document.fields,result.summary."}],responses:{"200":{description:"Approval run detail plus stable aliases and human result.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/cited-rules":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunCitedRules","x-implementation-status":"implemented",summary:"Extract rules cited or matched by the AI result",responses:{"200":{description:"Cited rule summaries.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/document-summary":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunDocumentSummary","x-implementation-status":"implemented",summary:"Get key document fields and compact AI/manual result",responses:{"200":{description:"Document summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/attachments":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunAttachments","x-implementation-status":"implemented",summary:"List compact attachment metadata",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"Attachment metadata.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/approval-runs/{recordId}/result":{parameters:[{name:"recordId",in:"path",required:!0,schema:{type:"string"},description:"seal-use approval run record ID."}],get:{tags:["Approval Runs"],operationId:"getApprovalRunResult","x-implementation-status":"implemented",summary:"Get AI result, optionally as a compact summary",parameters:[{name:"summary",in:"query",schema:{type:"boolean"}}],responses:{"200":{description:"AI result or summary.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-batch":{post:{tags:["Simulation"],operationId:"createSimulationBatch","x-implementation-status":"implemented",summary:"Create a simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/create-material-pack-batch":{post:{tags:["Simulation"],operationId:"createMaterialPackBatch","x-implementation-status":"planned",summary:"Create a material pack simulation batch",requestBody:{required:!0,content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}},responses:{"200":{description:"Created batch id.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches":{get:{tags:["Simulation"],operationId:"listSimulationBatches","x-implementation-status":"implemented",summary:"List simulation batches",parameters:[{name:"limit",in:"query",schema:{type:"integer"},description:"Max batches to return."}],responses:{"200":{description:"Simulation batches.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/batch/{batchId}":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatch","x-implementation-status":"implemented",summary:"Get a simulation batch detail including echoed create params",responses:{"200":{description:"Simulation batch detail.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/batches/{batchId}/records":{parameters:[{name:"batchId",in:"path",required:!0,schema:{type:"string"},description:"Simulation batch ID."}],get:{tags:["Simulation"],operationId:"getSimulationBatchRecords","x-implementation-status":"planned",summary:"Get wrapped simulation batch records",parameters:[{name:"query",in:"query",schema:{type:"string"},description:"Optional local contains filter for record/document/trace identifiers."}],responses:{"200":{description:"Compact simulation records and bridge hints.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/templates":{get:{tags:["Simulation"],operationId:"listSimulationTemplates","x-implementation-status":"planned",summary:"List simulation test templates",responses:{"200":{description:"Simulation templates.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/simulation/integration-status":{get:{tags:["Simulation"],operationId:"getSimulationIntegrationStatus","x-implementation-status":"planned",summary:"Get available source integration status for simulation",responses:{"200":{description:"Integration status.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}},"/v1/simulation/hosecloud-integrations":{get:{tags:["Simulation"],operationId:"listSimulationHosecloudIntegrations","x-implementation-status":"planned",summary:"List hosecloud source integrations available for simulation",responses:{"200":{description:"Hosecloud integrations.",content:{"application/json":{schema:{type:"array",items:{type:"object",additionalProperties:!0}}}}}}}},"/v1/material-packages/upload":{post:{tags:["Simulation"],operationId:"uploadMaterialPackage","x-implementation-status":"planned",summary:"Upload a material package ZIP for simulation",requestBody:{required:!0,content:{"multipart/form-data":{schema:{type:"object",properties:{file:{type:"string",format:"binary"}}}}}},responses:{"200":{description:"Parsed material package with schema config.",content:{"application/json":{schema:{type:"object",additionalProperties:!0}}}}}}}},components:{securitySchemes:{localSession:{type:"apiKey",in:"header",name:"X-Seal-Home-Session",description:`Reserved header. The local adapter does not currently authenticate requests: it acts with the credentials already stored on this machine for the selected enterprise. Keep it bound to loopback (\`--host 127.0.0.1\`) and do not expose the port to a network or an origin you do not control. @@ -2583,21 +2583,21 @@ do not control. `}var _S0=m(()=>{e9()});import{URL as og1}from"node:url";async function _6($,Y,U,z){let Q=$.handler;return Q(Y,U,{corp:z})}async function vS0($,Y){if(Y.setHeader("Access-Control-Allow-Origin","*"),Y.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS, PATCH"),Y.setHeader("Access-Control-Allow-Headers","Content-Type, Authorization, X-Seal-Corp, X-Seal-Home-Session"),$.method==="OPTIONS"){Y.writeHead(204),Y.end();return}let U=$.headers.host||"localhost",z=$.headers["x-forwarded-proto"]||"http",Q=new og1($.url||"/",`${z}://${U}`),J=Q.pathname.replace(/\/+$/,"")||"/",I=($.method||"GET").toUpperCase();try{if(I==="GET"&&J==="/"){A4(Y,200,{name:"seal-use",version:P1,description:"Seal tenant operations and approval automation HTTP API",docs:"/docs",openapi:"/openapi.json",health:"/health",endpoints:{cli:"POST /api/cli",tools:"GET /api/tools",toolInvoke:"POST /api/tool/:name",restV1:"GET/POST /v1/*"}});return}if(I==="GET"&&J==="/docs"){sg1(Y,200,RS0());return}if(I==="GET"&&J==="/openapi.json"){A4(Y,200,hT());return}if(I==="GET"&&J==="/health"){A4(Y,200,{status:"ok",version:P1,name:"seal-use",timestamp:new Date().toISOString()});return}if(I==="POST"&&(J==="/shutdown"||J==="/api/shutdown")){A4(Y,200,{success:!0,message:"Shutting down seal-use background daemon",pid:process.pid}),setTimeout(()=>{process.kill(process.pid,"SIGTERM")},50);return}if(I==="POST"&&J==="/api/cli"){let K=await gT($),G=(typeof K?.command==="string"?K.command:"").trim();if(!G){ST(Y,400,"Missing 'command' property in request body");return}let H=_q(G),W=H[0]==="seal-use"||H[0]==="seal-home"||H[0]?.endsWith("/seal-use")||H[0]?.endsWith("/seal-home")?H.slice(1):H,X=await vq(W),Z=void 0;try{if(X.stdout.trim().startsWith("{")||X.stdout.trim().startsWith("["))Z=JSON.parse(X.stdout)}catch{}A4(Y,X.isError?400:200,{success:!X.isError,stdout:X.stdout,stderr:X.stderr,exitCode:X.exitCode,data:Z});return}if(I==="POST"&&J.startsWith("/api/tool/")){let K=J.slice(10).trim(),G=M6(K);if(!G){ST(Y,404,`Tool not found: '${K}'`);return}let H=await gT($)||{},W=k8($,Q,H),X=j1(W),Z=await B1(X),q={...H};delete q.corp;let V=await _6(G,Z,q,X);A4(Y,200,V);return}if(J.startsWith("/v1/")){if(await rg1($,Y,I,J,Q))return}ST(Y,404,`Cannot ${I} ${J}. Visit /docs for available endpoints.`)}catch(K){let G=K instanceof Error?K.message:String(K);ST(Y,500,G)}}async function rg1($,Y,U,z,Q){let J=Object.fromEntries(Q.searchParams.entries());if(U==="GET"&&z==="/v1/corps"){let I=s8(),K=_4();return A4(Y,200,{count:I.length,mode:K.stateful?"stateful":"stateless",defaultCorpId:K.defaultCorpId,corps:I.map((G)=>({id:G.id,name:G.name,sourceType:G.source.type,sealUrl:G.seal?.url}))}),!0}if(U==="GET"&&z==="/v1/whoami"){let I=k8($,Q,J),K=j1(I),G=await B1(K),H=M6("seal_whoami"),W=await _6(H,G,{},K);return A4(Y,200,W),!0}if(U==="GET"&&z==="/v1/session"){let I=k8($,Q,J),K=j1(I),G=await B1(K),H=M6("seal_session_get"),W=await _6(H,G,{},K);return A4(Y,200,W),!0}if(U==="GET"&&z==="/v1/approval-runs/summary"){let I=k8($,Q,J),K=j1(I),G=await B1(K),H=M6("seal_approval_runs_summary"),W=await _6(H,G,J,K);return A4(Y,200,W),!0}if(U==="GET"&&z==="/v1/approval-runs/stats"){let I=k8($,Q,J),K=j1(I),G=await B1(K),H=M6("seal_approval_runs_stats"),W=await _6(H,G,J,K);return A4(Y,200,W),!0}if(U==="GET"&&z==="/v1/approval-runs/pick"){let I=k8($,Q,J),K=j1(I),G=await B1(K),H=M6("seal_approval_run_pick"),W=await _6(H,G,J,K);return A4(Y,200,W),!0}if(U==="GET"&&z==="/v1/approval-runs/url"){let I=k8($,Q,J),K=j1(I),G=await B1(K),H=M6("seal_approval_run_url_get"),W=await _6(H,G,J,K);return A4(Y,200,W),!0}if(z.startsWith("/v1/approval-runs/")){let I=z.slice(18).split("/"),K=I[0],G=I[1];if(K&&!["summary","pick","stats","url","bridge"].includes(K)){let H=k8($,Q,J),W=j1(H),X=await B1(W);if(!G){let Z=M6("seal_approval_run_get"),q=await _6(Z,X,{recordId:K,...J},W);return A4(Y,200,q),!0}if(G==="attachments"){let Z=M6("seal_approval_run_attachments_get"),q=await _6(Z,X,{recordId:K,...J},W);return A4(Y,200,q),!0}if(G==="cited-rules"){let Z=M6("seal_approval_run_cited_rules_get"),q=await _6(Z,X,{recordId:K,...J},W);return A4(Y,200,q),!0}if(G==="document-summary"){let Z=M6("seal_approval_run_document_summary_get"),q=await _6(Z,X,{recordId:K,...J},W);return A4(Y,200,q),!0}if(G==="result"){let Z=M6("seal_approval_run_result_get"),q=await _6(Z,X,{recordId:K,...J},W);return A4(Y,200,q),!0}}}if(U==="GET"&&z==="/v1/approval-runs"){let I=k8($,Q,J),K=j1(I),G=await B1(K),H=M6("seal_approval_runs_search"),W=await _6(H,G,{...J,limit:J.limit?Number(J.limit):void 0,offset:J.offset?Number(J.offset):void 0,includeBridge:J.includeBridge==="true"},K);return A4(Y,200,W),!0}if(U==="GET"&&z==="/v1/approval/rules"){let I=k8($,Q,J),K=j1(I),G=await B1(K),H=M6("seal_approval_rules_list"),W=await _6(H,G,J,K);return A4(Y,200,W),!0}if(U==="GET"&&z==="/v1/simulation/batches"){let I=k8($,Q,J),K=j1(I),G=await B1(K),H=M6("seal_simulation_batches_list"),W=await _6(H,G,J,K);return A4(Y,200,W),!0}if(U==="POST"&&z==="/v1/simulation/create-batch"){let I=await gT($)||{},K=k8($,Q,I),G=j1(K),H=await B1(G),W=M6("seal_simulation_batch_create"),X=await _6(W,H,I,G);return A4(Y,200,X),!0}if(U==="GET"&&z.startsWith("/v1/simulation/batch/")){let K=z.slice(21).split("/")[0];if(K){let G=k8($,Q,J),H=j1(G),W=await B1(H),X=M6("seal_simulation_batch_get"),Z=await _6(X,W,{batchId:K},H);return A4(Y,200,Z),!0}}if(U==="GET"&&z==="/v1/preferences"){let I=k8($,Q,J),K=j1(I),G=await B1(K),H=M6("seal_preference_get"),W=await _6(H,G,{},K);return A4(Y,200,W),!0}if(U==="POST"&&z==="/v1/preferences/decision"){let I=await gT($)||{},K=k8($,Q,I),G=j1(K),H=await B1(G),W=M6("seal_preference_decision_update"),X=await _6(W,H,I,G);return A4(Y,200,X),!0}return!1}function k8($,Y,U){let z=$.headers["x-seal-corp"];if(typeof z==="string"&&z.trim())return z.trim();let Q=Y.searchParams.get("corp");if(Q?.trim())return Q.trim();if(U&&typeof U.corp==="string"&&U.corp.trim())return U.corp.trim();return}async function gT($){let Y="";for await(let U of $)if(Y+=U,Y.length>20971520)throw Error("Payload too large");if(!Y.trim())return{};try{return JSON.parse(Y)}catch(U){throw Error(`Invalid JSON body: ${U instanceof Error?U.message:String(U)}`)}}function A4($,Y,U){let z=JSON.stringify(U,null,2);$.writeHead(Y,{"Content-Type":"application/json; charset=utf-8","Content-Length":Buffer.byteLength(z)}),$.end(z)}function sg1($,Y,U){$.writeHead(Y,{"Content-Type":"text/html; charset=utf-8","Content-Length":Buffer.byteLength(U)}),$.end(U)}function ST($,Y,U,z){A4($,Y,{error:!0,statusCode:Y,message:U,...z!==void 0?{details:z}:{}})}var hS0=m(()=>{f4();Wo();Ho();y3();i8();wq();e9();_S0()});import{createServer as ag1}from"node:http";async function xT($={}){let Y=$.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):yT),U=$.host??(process.env.HOST?process.env.HOST:kT),z=ag1(async(Q,J)=>{try{await vS0(Q,J)}catch(I){if(!J.headersSent)J.writeHead(500,{"Content-Type":"application/json"}),J.end(JSON.stringify({error:!0,message:I instanceof Error?I.message:String(I)}))}});return new Promise((Q,J)=>{z.on("error",(I)=>{J(I)}),z.listen(Y,U,()=>{if(!$.silent)console.error(` \uD83D\uDE80 seal-use HTTP Server (v${P1}) started`),console.error(` URL: http://${U}:${Y}`),console.error(` Docs: http://${U}:${Y}/docs`),console.error(` OpenAPI: http://${U}:${Y}/openapi.json`),console.error(` CLI Exec: POST http://${U}:${Y}/api/cli`),console.error(` REST API: http://${U}:${Y}/v1/... -`);Q(z)})})}var yT=8787,kT="127.0.0.1";var Xo=m(()=>{hS0();e9()});async function SS0($){let Y=s0($.options.port)??s0($.options.p),U=h($.options.host)??h($.options.h),z=await xT({port:Y,host:U}),Q=()=>{z.close(()=>{process.exit(0)})};process.on("SIGINT",Q),process.on("SIGTERM",Q),await new Promise(()=>{})}var gS0=m(()=>{D4();Xo()});async function yS0($,Y,U,z){if($==="config"||$==="get"){await k0("seal_llm_config_get",Y,U,{},C0(z.options));return}if($==="providers"||$==="list"){await k0("seal_llm_providers_list",Y,U,{},C0(z.options));return}throw Error(`Unknown llm command: ${$??""}. Run 'seal-use help' for available commands.`)}var kS0=m(()=>{f4();J4()});async function xS0($,Y){if($==="config"||$==="json"){Zo();return}let{startServer:U}=await bS0().then(() => uS0);U()}function Zo(){b0({mcpServers:{"seal-use":{type:"stdio",command:"seal-use",args:["mcp"],env:{SEAL_USE_MCP_ENABLED:"true"}}}})}var fS0=m(()=>{J4()});function iS0($){let Y=hT();b0(Y,{...C0($.options),allowFull:!0})}var cS0=m(()=>{Ho();J4()});async function nS0($,Y,U,z){if($==="available"){await k0("seal_permissions_available_list",Y,U,{},C0(z.options));return}if($==="configs"||$==="list"){await k0("seal_permissions_configs_list",Y,U,{},C0(z.options));return}throw Error(`Unknown permissions command: ${$??""}. Run 'seal-use help' for available commands.`)}var pS0=m(()=>{f4();J4()});import{readFileSync as dS0}from"node:fs";async function mS0($,Y,U,z,Q,J,I){if(!$||$==="get"){await k0("seal_preference_get",Q,J,{},C0(I.options));return}if($==="decision"){if(Y==="update"||!Y){let K=h(I.options.input),G=K?JSON.parse(dS0(K,"utf8")):y8(I.json);if(!G||Object.keys(G).length===0)throw Error(`Usage: seal-use preference decision update --json '{"explicitApprove":"..."}'`);await k0("seal_preference_decision_update",Q,J,{...G,dryRun:Z0(I.options.dryRun)??Z0(I.options["dry-run"])},C0(I.options));return}}if($==="thinking-depth"||$==="thinkingDepth"){if(Y==="set"){let K=h(I.options.default)??h(I.options.level)??z;if(K!=="medium"&&K!=="high")throw Error("Usage: seal-use preference thinking-depth set --default ");await k0("seal_preference_thinking_depth_set",Q,J,{defaultLevel:K,dryRun:Z0(I.options.dryRun)??Z0(I.options["dry-run"])},C0(I.options));return}if(Y==="policies"){if(U==="list"||!U){await k0("seal_preference_thinking_depth_policies_list",Q,J,{},C0(I.options));return}if(U==="upsert"){let K=h(I.options.input),G=K?JSON.parse(dS0(K,"utf8")):y8(I.json);if(!G||!G.id||!G.name)throw Error(`Usage: seal-use preference thinking-depth policies upsert --json '{"id":"...","name":"...","level":"high"}'`);await k0("seal_preference_thinking_depth_policies_upsert",Q,J,{...G,dryRun:Z0(I.options.dryRun)??Z0(I.options["dry-run"])},C0(I.options));return}if(U==="remove"||U==="delete"){let K=z??h(I.options.id)??h(I.options.policyId);if(!K)throw Error("Usage: seal-use preference thinking-depth policies remove ");await k0("seal_preference_thinking_depth_policies_remove",Q,J,{policyId:K,dryRun:Z0(I.options.dryRun)??Z0(I.options["dry-run"])},C0(I.options));return}}}throw Error(`Unknown preference action: ${$??""}. Available: get, decision update, thinking-depth set, thinking-depth policies list/upsert/remove.`)}var lS0=m(()=>{f4();D4();J4()});async function oS0($={}){let Y=s8(),U=_4(),z=u2(Y,{stateful:U.stateful,defaultCorpId:U.defaultCorpId,corpId:$.corpId},S3());console.log(`[probe] corp=${z.id} source=${z.source.type}`);let Q=await xK(z);console.log("[probe] seal enterprise"),console.log(JSON.stringify(Q,null,2));let J=await B1(z),I=await OM(J,{documentLimit:20,stylePreferencesEndpoint:z.seal.endpoints.approvalStylePreferences});console.log("[probe] approval context summary"),console.log(JSON.stringify({rules:I.rules.rules.length,hasPendingRuleDeletes:I.rules.hasPendingDeletes,documents:I.documents.articles.length,documentsTotal:I.documents.total,stylePreferences:I.stylePreferences.ok?"ok":`error: ${I.stylePreferences.error}`},null,2))}var rS0=m(()=>{y3();i8();CT();X6()});async function sS0($,Y,U){let z=Y??h(U.options.corp)??($&&$!=="--corp"?$:void 0);await oS0({corpId:z})}var aS0=m(()=>{rS0();D4()});async function qo($,Y,U,z,Q){if($==="count"){await k0("seal_approval_rules_list",U,z,{countOnly:!0},C0(Q.options));return}if($==="list"){if(Z0(Q.options.count)){await k0("seal_approval_rules_list",U,z,{countOnly:!0},C0(Q.options));return}let J=s0(Q.options.limit),I=s0(Q.options.offset);if(Z0(Q.options.summary)){await k0("seal_approval_rules_list",U,z,{fields:V_0,limit:J,offset:I},C0(Q.options));return}let K=await _9("seal_approval_rules_list",U,z,{limit:J,offset:I});L_0(K,Z0(Q.options.full)===!0),b0(K);return}if($==="clear"){let J=Z0(Q.options.yes)===!0,I=Z0(Q.options.dryRun)??Z0(Q.options["dry-run"])??!J;if(!J&&!I)throw D9("Refusing to clear rules without --yes. Use --dry-run to preview.",`seal-use rules clear --corp ${z.id} --dry-run`);let K=await _9("seal_approval_rules_clear",U,z,{dryRun:I,recode:Z0(Q.options.recode)});if(!J&&I&&K&&typeof K==="object"){b0({...K,nextCommand:`seal-use rules clear --corp ${z.id} --yes`},C0(Q.options));return}b0(K,C0(Q.options));return}if($==="versions"){await k0("seal_approval_rule_versions_list",U,z,{},C0(Q.options));return}if($==="version"){let J=Y??h(Q.options.version);if(!J)throw Error("Usage: seal-use rules version ");await k0("seal_approval_rule_version_get",U,z,SK(J),C0(Q.options));return}if($==="get"){await k0("seal_approval_rule_get",U,z,{...Tl(h(Q.options.version)),code:h(Q.options.code),runtimeId:h(Q.options.runtimeId)??h(Q.options["runtime-id"]),recordId:h(Q.options.recordId)??h(Q.options["record-id"])},C0(Q.options));return}if($==="search"){let J=Y??h(Q.options.query);if(!J)throw Error("Usage: seal-use rules search [--version ]");await k0("seal_approval_search",U,z,{keywords:[J],areas:["rules"],maxResults:s0(Q.options.maxResults),contextLines:s0(Q.options.contextLines),refresh:Z0(Q.options.refresh),snippetOnly:Z0(Q.options.snippetOnly)??Z0(Q.options["snippet-only"]),maxChars:s0(Q.options.maxChars)??s0(Q.options["max-chars"]),fields:u6(Q.options.fields),...Bl(h(Q.options.version))},C0(Q.options));return}if($==="pull"){let J=h(Q.options.version)??Y,I=h(Q.options.out)??h(Q.options.file)??h(Q.options.f);await k0("seal_approval_rules_pull",U,z,{version:J,out:I},C0(Q.options));return}if($==="push"){let J=h(Q.options.file)??h(Q.options.f)??Y,I=Z0(Q.options.yes)===!0,K=Z0(Q.options.dryRun)??Z0(Q.options["dry-run"])??!I,G=Z0(Q.options.publish),H=h(Q.options.versionName)??h(Q.options["version-name"]),W=await _9("seal_approval_rules_push",U,z,{file:J,dryRun:K,confirm:I,publish:G,versionName:H});if(!I&&K&&W&&typeof W==="object"){b0({...W,nextCommand:`seal-use rules push --file ${J??"./rules.local.json"} --corp ${z.id} --yes${G?" --publish":""}`},C0(Q.options));return}b0(W,C0(Q.options));return}if($==="lint"){await k0("seal_approval_rules_lint",U,z,{file:h(Q.options.file)??h(Q.options.f),linter:h(Q.options.linter),version:h(Q.options.version),code:h(Q.options.code),ruleId:h(Q.options.rule)??Y,minScore:s0(Q.options.minScore)??s0(Q.options["min-score"]),level:h(Q.options.level),summary:Z0(Q.options.summary)},C0(Q.options));return}if($==="linters"||$==="linter-list"){let J=vA0();b0({primaryDirectory:b$,officialDirectory:i$,totalLinters:J.length,linters:J},C0(Q.options));return}if($==="map"){let J=h(Q.options.version)??Y,I=h(Q.options.code)??h(Q.options.rule),K=nv0(z.id,J);if(!K){let H=J?`version '${J}'`:"latest version";b0({error:`No local rule mapping found for enterprise '${z.name}' (${z.id}) ${H}. Run 'seal-use corps sync-test --yes' to synchronize and generate mapping snapshots.`,corpId:z.id,version:J??"latest"},C0(Q.options));return}let G=pv0(K.ruleMapping,I);b0({corpId:z.id,syncedAt:K.syncedAt,source:K.source,target:K.target,versionMapping:K.versionMapping,totalRules:K.ruleMapping.length,matchedRules:G.length,rules:G},C0(Q.options));return}throw Error(`Unknown rules command: ${$??""}. Available: count, list, clear, versions, version, get, search, lint, linters, pull, push, map. Run 'seal-use help' for available commands.`)}var tS0=m(()=>{bl();wp();f4();L$();D4();J4()});import{spawn as tg1,execFileSync as eg1}from"node:child_process";import{existsSync as fT,mkdirSync as $y1,readFileSync as Vo,rmSync as h9,writeFileSync as uT}from"node:fs";import{join as Lo}from"node:path";async function kz($,Y,U={}){switch($){case"run":await Uy1(Y);return;case"start":return eS0(Y);case"stop":case"kill":case"down":case"shutdown":return $g0(Y,U);case"restart":return $g0(Y,{quiet:!0}),eS0(Y);case"logs":case"log":return Yy1(Y,U.maxLines);case"status":case void 0:return bK(Y);default:throw Error("Usage: seal-use service ")}}function bK($){let Y=iT($),U=Fo($),z=bT(Y),Q=z?Yg0(z,$.appRoot):!1;if(!Q){if(z)h9(Y,{force:!0});if(fT(U))h9(U,{force:!0})}let J;if(Q&&fT(U))try{J=JSON.parse(Vo(U,"utf8"))}catch{}let I=$.port??J?.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):yT),K=$.host??J?.host??(process.env.HOST?process.env.HOST:kT),G=$.version??J?.version;return{running:Q,pid:Q?z:void 0,version:G,port:I,host:K,url:Q?`http://${K}:${I}`:void 0,appRoot:$.appRoot,stateDir:$.stateDir,pidFile:Y,logFile:hq($)}}function Yy1($,Y=50){let U=hq($);if(!fT(U))return{logFile:U,lines:[],totalLines:0};let Q=Vo(U,"utf8").split(` +`);Q(z)})})}var yT=8787,kT="127.0.0.1";var Xo=m(()=>{hS0();e9()});async function SS0($){let Y=s0($.options.port)??s0($.options.p),U=h($.options.host)??h($.options.h),z=await xT({port:Y,host:U}),Q=()=>{z.close(()=>{process.exit(0)})};process.on("SIGINT",Q),process.on("SIGTERM",Q),await new Promise(()=>{})}var gS0=m(()=>{D4();Xo()});async function yS0($,Y,U,z){if($==="config"||$==="get"){await k0("seal_llm_config_get",Y,U,{},C0(z.options));return}if($==="providers"||$==="list"){await k0("seal_llm_providers_list",Y,U,{},C0(z.options));return}throw Error(`Unknown llm command: ${$??""}. Run 'seal-use help' for available commands.`)}var kS0=m(()=>{f4();J4()});async function xS0($,Y){if($==="config"||$==="json"){Zo();return}let{startServer:U}=await bS0().then(() => uS0);U()}function Zo(){f0({mcpServers:{"seal-use":{type:"stdio",command:"seal-use",args:["mcp"],env:{SEAL_USE_MCP_ENABLED:"true"}}}})}var fS0=m(()=>{J4()});function iS0($){let Y=hT();f0(Y,{...C0($.options),allowFull:!0})}var cS0=m(()=>{Ho();J4()});async function nS0($,Y,U,z){if($==="available"){await k0("seal_permissions_available_list",Y,U,{},C0(z.options));return}if($==="configs"||$==="list"){await k0("seal_permissions_configs_list",Y,U,{},C0(z.options));return}throw Error(`Unknown permissions command: ${$??""}. Run 'seal-use help' for available commands.`)}var pS0=m(()=>{f4();J4()});import{readFileSync as dS0}from"node:fs";async function mS0($,Y,U,z,Q,J,I){if(!$||$==="get"){await k0("seal_preference_get",Q,J,{},C0(I.options));return}if($==="decision"){if(Y==="update"||!Y){let K=h(I.options.input),G=K?JSON.parse(dS0(K,"utf8")):y8(I.json);if(!G||Object.keys(G).length===0)throw Error(`Usage: seal-use preference decision update --json '{"explicitApprove":"..."}'`);await k0("seal_preference_decision_update",Q,J,{...G,dryRun:Z0(I.options.dryRun)??Z0(I.options["dry-run"])},C0(I.options));return}}if($==="thinking-depth"||$==="thinkingDepth"){if(Y==="set"){let K=h(I.options.default)??h(I.options.level)??z;if(K!=="medium"&&K!=="high")throw Error("Usage: seal-use preference thinking-depth set --default ");await k0("seal_preference_thinking_depth_set",Q,J,{defaultLevel:K,dryRun:Z0(I.options.dryRun)??Z0(I.options["dry-run"])},C0(I.options));return}if(Y==="policies"){if(U==="list"||!U){await k0("seal_preference_thinking_depth_policies_list",Q,J,{},C0(I.options));return}if(U==="upsert"){let K=h(I.options.input),G=K?JSON.parse(dS0(K,"utf8")):y8(I.json);if(!G||!G.id||!G.name)throw Error(`Usage: seal-use preference thinking-depth policies upsert --json '{"id":"...","name":"...","level":"high"}'`);await k0("seal_preference_thinking_depth_policies_upsert",Q,J,{...G,dryRun:Z0(I.options.dryRun)??Z0(I.options["dry-run"])},C0(I.options));return}if(U==="remove"||U==="delete"){let K=z??h(I.options.id)??h(I.options.policyId);if(!K)throw Error("Usage: seal-use preference thinking-depth policies remove ");await k0("seal_preference_thinking_depth_policies_remove",Q,J,{policyId:K,dryRun:Z0(I.options.dryRun)??Z0(I.options["dry-run"])},C0(I.options));return}}}throw Error(`Unknown preference action: ${$??""}. Available: get, decision update, thinking-depth set, thinking-depth policies list/upsert/remove.`)}var lS0=m(()=>{f4();D4();J4()});async function oS0($={}){let Y=s8(),U=_4(),z=u2(Y,{stateful:U.stateful,defaultCorpId:U.defaultCorpId,corpId:$.corpId},S3());console.log(`[probe] corp=${z.id} source=${z.source.type}`);let Q=await xK(z);console.log("[probe] seal enterprise"),console.log(JSON.stringify(Q,null,2));let J=await B1(z),I=await OM(J,{documentLimit:20,stylePreferencesEndpoint:z.seal.endpoints.approvalStylePreferences});console.log("[probe] approval context summary"),console.log(JSON.stringify({rules:I.rules.rules.length,hasPendingRuleDeletes:I.rules.hasPendingDeletes,documents:I.documents.articles.length,documentsTotal:I.documents.total,stylePreferences:I.stylePreferences.ok?"ok":`error: ${I.stylePreferences.error}`},null,2))}var rS0=m(()=>{y3();i8();CT();X6()});async function sS0($,Y,U){let z=Y??h(U.options.corp)??($&&$!=="--corp"?$:void 0);await oS0({corpId:z})}var aS0=m(()=>{rS0();D4()});async function qo($,Y,U,z,Q){if($==="count"){await k0("seal_approval_rules_list",U,z,{countOnly:!0},C0(Q.options));return}if($==="list"){if(Z0(Q.options.count)){await k0("seal_approval_rules_list",U,z,{countOnly:!0},C0(Q.options));return}let J=s0(Q.options.limit),I=s0(Q.options.offset);if(Z0(Q.options.summary)){await k0("seal_approval_rules_list",U,z,{fields:V_0,limit:J,offset:I},C0(Q.options));return}let K=await T5("seal_approval_rules_list",U,z,{limit:J,offset:I});L_0(K,Z0(Q.options.full)===!0),f0(K);return}if($==="clear"){let J=Z0(Q.options.yes)===!0,I=Z0(Q.options.dryRun)??Z0(Q.options["dry-run"])??!J;if(!J&&!I)throw A9("Refusing to clear rules without --yes. Use --dry-run to preview.",`seal-use rules clear --corp ${z.id} --dry-run`);let K=await T5("seal_approval_rules_clear",U,z,{dryRun:I,recode:Z0(Q.options.recode)});if(!J&&I&&K&&typeof K==="object"){f0({...K,nextCommand:`seal-use rules clear --corp ${z.id} --yes`},C0(Q.options));return}f0(K,C0(Q.options));return}if($==="versions"){await k0("seal_approval_rule_versions_list",U,z,{},C0(Q.options));return}if($==="version"){let J=Y??h(Q.options.version);if(!J)throw Error("Usage: seal-use rules version ");await k0("seal_approval_rule_version_get",U,z,SK(J),C0(Q.options));return}if($==="get"){await k0("seal_approval_rule_get",U,z,{...Tl(h(Q.options.version)),code:h(Q.options.code),runtimeId:h(Q.options.runtimeId)??h(Q.options["runtime-id"]),recordId:h(Q.options.recordId)??h(Q.options["record-id"])},C0(Q.options));return}if($==="search"){let J=Y??h(Q.options.query);if(!J)throw Error("Usage: seal-use rules search [--version ]");await k0("seal_approval_search",U,z,{keywords:[J],areas:["rules"],maxResults:s0(Q.options.maxResults),contextLines:s0(Q.options.contextLines),refresh:Z0(Q.options.refresh),snippetOnly:Z0(Q.options.snippetOnly)??Z0(Q.options["snippet-only"]),maxChars:s0(Q.options.maxChars)??s0(Q.options["max-chars"]),fields:u6(Q.options.fields),...Bl(h(Q.options.version))},C0(Q.options));return}if($==="pull"){let J=h(Q.options.version)??Y,I=h(Q.options.out)??h(Q.options.file)??h(Q.options.f);await k0("seal_approval_rules_pull",U,z,{version:J,out:I},C0(Q.options));return}if($==="push"){let J=h(Q.options.file)??h(Q.options.f)??Y,I=Z0(Q.options.yes)===!0,K=Z0(Q.options.dryRun)??Z0(Q.options["dry-run"])??!I,G=Z0(Q.options.publish),H=h(Q.options.versionName)??h(Q.options["version-name"]),W=await T5("seal_approval_rules_push",U,z,{file:J,dryRun:K,confirm:I,publish:G,versionName:H});if(!I&&K&&W&&typeof W==="object"){f0({...W,nextCommand:`seal-use rules push --file ${J??"./rules.local.json"} --corp ${z.id} --yes${G?" --publish":""}`},C0(Q.options));return}f0(W,C0(Q.options));return}if($==="lint"){await k0("seal_approval_rules_lint",U,z,{file:h(Q.options.file)??h(Q.options.f),linter:h(Q.options.linter),version:h(Q.options.version),code:h(Q.options.code),ruleId:h(Q.options.rule)??Y,minScore:s0(Q.options.minScore)??s0(Q.options["min-score"]),level:h(Q.options.level),summary:Z0(Q.options.summary)},C0(Q.options));return}if($==="linters"||$==="linter-list"){let J=vA0();f0({primaryDirectory:b$,officialDirectory:i$,totalLinters:J.length,linters:J},C0(Q.options));return}if($==="map"){let J=h(Q.options.version)??Y,I=h(Q.options.code)??h(Q.options.rule),K=nv0(z.id,J);if(!K){let H=J?`version '${J}'`:"latest version";f0({error:`No local rule mapping found for enterprise '${z.name}' (${z.id}) ${H}. Run 'seal-use corps sync-test --yes' to synchronize and generate mapping snapshots.`,corpId:z.id,version:J??"latest"},C0(Q.options));return}let G=pv0(K.ruleMapping,I);f0({corpId:z.id,syncedAt:K.syncedAt,source:K.source,target:K.target,versionMapping:K.versionMapping,totalRules:K.ruleMapping.length,matchedRules:G.length,rules:G},C0(Q.options));return}throw Error(`Unknown rules command: ${$??""}. Available: count, list, clear, versions, version, get, search, lint, linters, pull, push, map. Run 'seal-use help' for available commands.`)}var tS0=m(()=>{bl();wp();f4();L$();D4();J4()});import{spawn as tg1,execFileSync as eg1}from"node:child_process";import{existsSync as fT,mkdirSync as $y1,readFileSync as Vo,rmSync as h9,writeFileSync as uT}from"node:fs";import{join as Lo}from"node:path";async function kz($,Y,U={}){switch($){case"run":await Uy1(Y);return;case"start":return eS0(Y);case"stop":case"kill":case"down":case"shutdown":return $g0(Y,U);case"restart":return $g0(Y,{quiet:!0}),eS0(Y);case"logs":case"log":return Yy1(Y,U.maxLines);case"status":case void 0:return bK(Y);default:throw Error("Usage: seal-use service ")}}function bK($){let Y=iT($),U=Fo($),z=bT(Y),Q=z?Yg0(z,$.appRoot):!1;if(!Q){if(z)h9(Y,{force:!0});if(fT(U))h9(U,{force:!0})}let J;if(Q&&fT(U))try{J=JSON.parse(Vo(U,"utf8"))}catch{}let I=$.port??J?.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):yT),K=$.host??J?.host??(process.env.HOST?process.env.HOST:kT),G=$.version??J?.version;return{running:Q,pid:Q?z:void 0,version:G,port:I,host:K,url:Q?`http://${K}:${I}`:void 0,appRoot:$.appRoot,stateDir:$.stateDir,pidFile:Y,logFile:hq($)}}function Yy1($,Y=50){let U=hq($);if(!fT(U))return{logFile:U,lines:[],totalLines:0};let Q=Vo(U,"utf8").split(` `).filter(Boolean),J=Q.slice(-Y);return{logFile:U,lines:J,totalLines:Q.length}}async function Uy1($){let Y=iT($),U=Fo($),z=hq($);Ug0($.stateDir);let Q=$.port??(process.env.PORT?Number.parseInt(process.env.PORT,10):yT),J=$.host??(process.env.HOST?process.env.HOST:kT);uT(Y,`${process.pid} `,{mode:384}),uT(U,JSON.stringify({pid:process.pid,port:Q,host:J,version:$.version,startedAt:new Date().toISOString()},null,2),{mode:384}),uK(z,`service starting on http://${J}:${Q} pid=${process.pid}`);let I=null;try{I=await xT({port:Q,host:J,silent:!0}),uK(z,`service listening pid=${process.pid}`)}catch(G){if(uK(z,`service failed to bind port ${Q}: ${G instanceof Error?G.message:String(G)}`),bT(Y)===process.pid)h9(Y,{force:!0}),h9(U,{force:!0});throw G}let K=()=>{if(I)I.close(),I=null;if(bT(Y)===process.pid)h9(Y,{force:!0}),h9(U,{force:!0});uK(z,`stopped pid=${process.pid}`)};await new Promise((G)=>{let H=!1,W=()=>{if(H)return;H=!0,K(),process.off("SIGTERM",W),process.off("SIGINT",W),G()};process.once("SIGTERM",W),process.once("SIGINT",W)})}function eS0($){Ug0($.stateDir);let Y=bK($);if(Y.running)return Y;let U=$.launcher??{command:process.execPath,args:[$.entryFile]},z=[...U.args??[],"service","run"];if($.port)z.push("--port",String($.port));if($.host)z.push("--host",String($.host));let Q=tg1(U.command,z,{cwd:$.appRoot,detached:!0,stdio:["ignore","ignore","ignore"],env:process.env});Q.unref();let J=iT($);return uT(J,`${Q.pid} `,{mode:384}),uK(hq($),`started pid=${Q.pid}`),{started:!0,...bK($)}}function $g0($,Y={}){let U=iT($),z=Fo($),Q=bT(U);if(!Q||!Yg0(Q,$.appRoot))return h9(U,{force:!0}),h9(z,{force:!0}),Y.quiet?void 0:{stopped:!1,reason:"not running"};return process.kill(Q,"SIGTERM"),h9(U,{force:!0}),h9(z,{force:!0}),uK(hq($),`stop requested pid=${Q}`),Y.quiet?void 0:{stopped:!0,pid:Q}}function Yg0($,Y){if(!zy1($))return!1;try{let U=eg1("ps",["-p",String($),"-o","command="],{encoding:"utf8"}),z=U.trim().split(/\s+/).filter(Boolean),Q=z.indexOf("service"),J=Q!==-1&&z[Q+1]==="run",I=U.includes(Y)||z.some((K)=>/(^|[\\/])(seal-use|seal-home)(\.exe)?$/.test(K));return J&&I}catch{return!1}}function zy1($){try{return process.kill($,0),!0}catch{return!1}}function iT($){return Lo($.stateDir,"service.pid")}function Fo($){return Lo($.stateDir,"service.json")}function hq($){return Lo($.stateDir,"service.log")}function bT($){if(!fT($))return;let Y=Number(Vo($,"utf8").trim());return Number.isInteger(Y)&&Y>0?Y:void 0}function Ug0($){$y1($,{recursive:!0,mode:448})}function uK($,Y){uT($,`${new Date().toISOString()} ${Y} -`,{flag:"a",mode:384})}var wo=m(()=>{Xo()});import{homedir as Qy1}from"node:os";import{join as Jy1}from"node:path";async function Oo($,Y,U){let z=U?s0(U.options.port)??s0(U.options.p):void 0,Q=U?h(U.options.host)??h(U.options.h):void 0,J=U?s0(U.options.lines)??s0(U.options.n):void 0,I=await kz($,{appRoot:Y.appRoot,entryFile:Y.entryFile,stateDir:Mo,version:P1,launcher:Y.launcher,port:z,host:Q},{maxLines:J});if(I!==void 0)b0(I)}var Mo;var No=m(()=>{e9();wo();J4();D4();Mo=Jy1(Qy1(),".config","seal-use")});import{existsSync as Iy1,readFileSync as zg0}from"node:fs";async function Qg0($,Y,U,z,Q){if($==="batch-records"||$==="records"){let J=Y??h(Q.options.batchId)??h(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation batch-records ");await k0("seal_simulation_batch_records_get",U,z,{batchId:J,query:h(Q.options.query)},C0(Q.options));return}if($==="create"||$==="run"){let J=h(Q.options.mode)??h(Q.options.sourceSystem)??h(Q.options["source-system"])??"hosecloud",I=J==="material-pack"?"material_pack":J,K=h(Q.options.schemaConfig)??h(Q.options["schema-config"]),G=K?JSON.parse(zg0(K,"utf8")):void 0,H=h(Q.options.input),W=H?JSON.parse(zg0(H,"utf8")):y8(Q.json),X=h(Q.options.packageId)??h(Q.options["package-id"]),Z=u6(Q.options.packageIds)??u6(Q.options["package-ids"])??(X?[X]:void 0),q=u6(Q.options.flowIds)??u6(Q.options["flow-ids"])??u6(Q.options.documentSn)??u6(Q.options["document-sn"]),V=h(Q.options.signKey)??h(Q.options["sign-key"])??h(Q.options.integration),F=Z0(Q.options.noWait)??Z0(Q.options["no-wait"]);await k0("seal_simulation_batch_create",U,z,{mode:I,sourceSystem:I,flowIds:q,documentSn:q,rejectNodeName:h(Q.options.rejectNode)??h(Q.options["reject-node"])??null,thinkingDepthOverride:h(Q.options.thinkingDepth)??h(Q.options["thinking-depth"]),skipInvoiceGeneration:Z0(Q.options.skipInvoiceGeneration)??Z0(Q.options["skip-invoice-generation"]),skipExpenseExtraction:Z0(Q.options.skipExpenseExtraction)??Z0(Q.options["skip-expense-extraction"]),disableAttachmentCache:Z0(Q.options.disableAttachmentCache)??Z0(Q.options["disable-attachment-cache"]),signKey:V,packageIds:Z,packageId:X,templateId:h(Q.options.templateId)??h(Q.options["template-id"]),schemaConfig:G,requestIds:u6(Q.options.requestIds)??u6(Q.options["request-ids"]),workflowTypeId:h(Q.options.workflowTypeId)??h(Q.options["workflow-type-id"]),flowStatusList:u6(Q.options.flowStatusList)?.map(Number)??u6(Q.options["flow-status-list"])?.map(Number),businessCodes:u6(Q.options.businessCodes)??u6(Q.options["business-codes"]),documentType:h(Q.options.documentType)??h(Q.options["document-type"]),startTime:s0(Q.options.startTime)??s0(Q.options["start-time"]),endTime:s0(Q.options.endTime)??s0(Q.options["end-time"]),status:u6(Q.options.status),limit:s0(Q.options.limit),noWait:F,rawParams:W},C0(Q.options));return}if($==="wait"){let J=Y??h(Q.options.batchId)??h(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation wait [--timeout 10m] [--poll-interval 2s]");await k0("seal_simulation_batch_wait",U,z,{batchId:J,timeout:h(Q.options.timeout),pollInterval:h(Q.options.pollInterval)??h(Q.options["poll-interval"])},C0(Q.options));return}if($==="status"){let J=Y??h(Q.options.batchId)??h(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation status ");await k0("seal_simulation_batch_status",U,z,{batchId:J},C0(Q.options));return}if($==="clean"||$==="delete"){let J=Y??h(Q.options.batchId)??h(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation clean ");await k0("seal_simulation_batch_clean",U,z,{batchId:J},C0(Q.options));return}if($==="specifications"){let J=Y??h(Q.options.integration)??h(Q.options.signKey)??h(Q.options["sign-key"]);await k0("seal_simulation_specifications_list",U,z,{signKey:J},C0(Q.options));return}if($==="approval-definitions"||$==="definitions"){await k0("seal_simulation_feishu_approval_definitions_list",U,z,{},C0(Q.options));return}if($==="list"){await k0("seal_simulation_batches_list",U,z,{limit:s0(Q.options.limit)},C0(Q.options));return}if($==="get"){let J=Y??h(Q.options.batchId)??h(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation get ");await k0("seal_simulation_batch_get",U,z,{batchId:J},C0(Q.options));return}if($==="templates"){await k0("seal_simulation_templates_get",U,z,{},C0(Q.options));return}if($==="integrations"){await k0("seal_simulation_integrations_get",U,z,{},C0(Q.options));return}if($==="package-upload"){let J=Y??h(Q.options.file);if(!J)throw Error("Usage: seal-use simulation package-upload <材料包.zip>");if(!Iy1(J))throw Error(`File not found: ${J}`);await k0("seal_simulation_material_package_upload",U,z,{filePath:J},C0(Q.options));return}throw Error(`Unknown simulation command: ${$??""}. Run 'seal-use help' for available commands.`)}var Jg0=m(()=>{f4();D4();J4()});import{existsSync as Ig0}from"node:fs";import{join as cT}from"node:path";function Kg0($,Y,U){if($==="dump"||$==="cat"||$==="show"){process.stdout.write(`${zo()} -`);return}if($==="install"||$==="init"||$==="sync"){let z=Z0(U.options.local)||Z0(U.options.workspace),Q=h(U.options.dir)??h(U.options.target)??Y,J=Q?Q:z?cT(process.cwd(),".agents","skills","seal-use"):yz(),I=LS0(J),K=!z&&!Q,G=K?rl():void 0,H=K?tl():void 0;b0({installed:!0,targetDir:I.targetDir,fileCount:I.files.length,files:I.files,...G?{antigravity:G}:{},...H?{hosts:H}:{}});return}if($==="status"||$==="get"||!$){let z=yz(),Q=cT(process.cwd(),".agents","skills","seal-use"),J=sl(),I=el();b0({global:{dir:z,installed:Ig0(cT(z,"SKILL.md"))},local:{dir:Q,installed:Ig0(cT(Q,"SKILL.md"))},antigravity:J,hosts:I});return}throw Error(`Unknown skill command: ${$}. Run 'seal-use help' for available commands.`)}var Gg0=m(()=>{Yo();Rq();D4();J4()});async function Hg0($,Y){if($==="config"){b0(await xK(Y));return}throw Error(`Unknown source command: ${$??""}. Run 'seal-use help' for available commands.`)}var Wg0=m(()=>{CT();J4()});function Do($){if(typeof $!=="string"||!$.trim())return"UNKNOWN";let Y=$.toUpperCase().trim();if(Y==="APPROVE"||Y==="PASS")return"APPROVE";if(Y==="REJECT"||Y==="DENIED")return"REJECT";if(Y==="MANUAL"||Y==="ASSISTED")return"MANUAL";if(Y==="ERROR"||Y==="FAILED")return"ERROR";return Y}async function Xg0($){let{sourceCorp:Y,targetCorp:U,sourceClient:z,targetClient:Q,samples:J=10,dryRun:I=!1,pollIntervalMs:K=2000,timeoutMs:G=45000,snPrefix:H="REG_",fetchFn:W=fetch}=$;if(U.environment!=="test")throw new w4(`重放目标企业「${U.name}」(${U.id}) 的环境为「${U.environment}」,非测试环境! +`,{flag:"a",mode:384})}var wo=m(()=>{Xo()});import{homedir as Qy1}from"node:os";import{join as Jy1}from"node:path";async function Oo($,Y,U){let z=U?s0(U.options.port)??s0(U.options.p):void 0,Q=U?h(U.options.host)??h(U.options.h):void 0,J=U?s0(U.options.lines)??s0(U.options.n):void 0,I=await kz($,{appRoot:Y.appRoot,entryFile:Y.entryFile,stateDir:Mo,version:P1,launcher:Y.launcher,port:z,host:Q},{maxLines:J});if(I!==void 0)f0(I)}var Mo;var No=m(()=>{e9();wo();J4();D4();Mo=Jy1(Qy1(),".config","seal-use")});import{existsSync as Iy1,readFileSync as zg0}from"node:fs";async function Qg0($,Y,U,z,Q){if($==="batch-records"||$==="records"){let J=Y??h(Q.options.batchId)??h(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation batch-records ");await k0("seal_simulation_batch_records_get",U,z,{batchId:J,query:h(Q.options.query)},C0(Q.options));return}if($==="create"||$==="run"){let J=h(Q.options.mode)??h(Q.options.sourceSystem)??h(Q.options["source-system"])??"hosecloud",I=J==="material-pack"?"material_pack":J,K=h(Q.options.schemaConfig)??h(Q.options["schema-config"]),G=K?JSON.parse(zg0(K,"utf8")):void 0,H=h(Q.options.input),W=H?JSON.parse(zg0(H,"utf8")):y8(Q.json),X=h(Q.options.packageId)??h(Q.options["package-id"]),Z=u6(Q.options.packageIds)??u6(Q.options["package-ids"])??(X?[X]:void 0),q=u6(Q.options.flowIds)??u6(Q.options["flow-ids"])??u6(Q.options.documentSn)??u6(Q.options["document-sn"]),V=h(Q.options.signKey)??h(Q.options["sign-key"])??h(Q.options.integration),F=Z0(Q.options.noWait)??Z0(Q.options["no-wait"]);await k0("seal_simulation_batch_create",U,z,{mode:I,sourceSystem:I,flowIds:q,documentSn:q,rejectNodeName:h(Q.options.rejectNode)??h(Q.options["reject-node"])??null,thinkingDepthOverride:h(Q.options.thinkingDepth)??h(Q.options["thinking-depth"]),skipInvoiceGeneration:Z0(Q.options.skipInvoiceGeneration)??Z0(Q.options["skip-invoice-generation"]),skipExpenseExtraction:Z0(Q.options.skipExpenseExtraction)??Z0(Q.options["skip-expense-extraction"]),disableAttachmentCache:Z0(Q.options.disableAttachmentCache)??Z0(Q.options["disable-attachment-cache"]),signKey:V,packageIds:Z,packageId:X,templateId:h(Q.options.templateId)??h(Q.options["template-id"]),schemaConfig:G,requestIds:u6(Q.options.requestIds)??u6(Q.options["request-ids"]),workflowTypeId:h(Q.options.workflowTypeId)??h(Q.options["workflow-type-id"]),flowStatusList:u6(Q.options.flowStatusList)?.map(Number)??u6(Q.options["flow-status-list"])?.map(Number),businessCodes:u6(Q.options.businessCodes)??u6(Q.options["business-codes"]),documentType:h(Q.options.documentType)??h(Q.options["document-type"]),startTime:s0(Q.options.startTime)??s0(Q.options["start-time"]),endTime:s0(Q.options.endTime)??s0(Q.options["end-time"]),status:u6(Q.options.status),limit:s0(Q.options.limit),noWait:F,rawParams:W},C0(Q.options));return}if($==="wait"){let J=Y??h(Q.options.batchId)??h(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation wait [--timeout 10m] [--poll-interval 2s]");await k0("seal_simulation_batch_wait",U,z,{batchId:J,timeout:h(Q.options.timeout),pollInterval:h(Q.options.pollInterval)??h(Q.options["poll-interval"])},C0(Q.options));return}if($==="status"){let J=Y??h(Q.options.batchId)??h(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation status ");await k0("seal_simulation_batch_status",U,z,{batchId:J},C0(Q.options));return}if($==="clean"||$==="delete"){let J=Y??h(Q.options.batchId)??h(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation clean ");await k0("seal_simulation_batch_clean",U,z,{batchId:J},C0(Q.options));return}if($==="specifications"){let J=Y??h(Q.options.integration)??h(Q.options.signKey)??h(Q.options["sign-key"]);await k0("seal_simulation_specifications_list",U,z,{signKey:J},C0(Q.options));return}if($==="approval-definitions"||$==="definitions"){await k0("seal_simulation_feishu_approval_definitions_list",U,z,{},C0(Q.options));return}if($==="list"){await k0("seal_simulation_batches_list",U,z,{limit:s0(Q.options.limit)},C0(Q.options));return}if($==="get"){let J=Y??h(Q.options.batchId)??h(Q.options["batch-id"]);if(!J)throw Error("Usage: seal-use simulation get ");await k0("seal_simulation_batch_get",U,z,{batchId:J},C0(Q.options));return}if($==="templates"){await k0("seal_simulation_templates_get",U,z,{},C0(Q.options));return}if($==="integrations"){await k0("seal_simulation_integrations_get",U,z,{},C0(Q.options));return}if($==="package-upload"){let J=Y??h(Q.options.file);if(!J)throw Error("Usage: seal-use simulation package-upload <材料包.zip>");if(!Iy1(J))throw Error(`File not found: ${J}`);await k0("seal_simulation_material_package_upload",U,z,{filePath:J},C0(Q.options));return}throw Error(`Unknown simulation command: ${$??""}. Run 'seal-use help' for available commands.`)}var Jg0=m(()=>{f4();D4();J4()});import{existsSync as Ig0}from"node:fs";import{join as cT}from"node:path";function Kg0($,Y,U){if($==="dump"||$==="cat"||$==="show"){process.stdout.write(`${zo()} +`);return}if($==="install"||$==="init"||$==="sync"){let z=Z0(U.options.local)||Z0(U.options.workspace),Q=h(U.options.dir)??h(U.options.target)??Y,J=Q?Q:z?cT(process.cwd(),".agents","skills","seal-use"):yz(),I=LS0(J),K=!z&&!Q,G=K?rl():void 0,H=K?tl():void 0;f0({installed:!0,targetDir:I.targetDir,fileCount:I.files.length,files:I.files,...G?{antigravity:G}:{},...H?{hosts:H}:{}});return}if($==="status"||$==="get"||!$){let z=yz(),Q=cT(process.cwd(),".agents","skills","seal-use"),J=sl(),I=el();f0({global:{dir:z,installed:Ig0(cT(z,"SKILL.md"))},local:{dir:Q,installed:Ig0(cT(Q,"SKILL.md"))},antigravity:J,hosts:I});return}throw Error(`Unknown skill command: ${$}. Run 'seal-use help' for available commands.`)}var Gg0=m(()=>{Yo();Rq();D4();J4()});async function Hg0($,Y){if($==="config"){f0(await xK(Y));return}throw Error(`Unknown source command: ${$??""}. Run 'seal-use help' for available commands.`)}var Wg0=m(()=>{CT();J4()});function Do($){if(typeof $!=="string"||!$.trim())return"UNKNOWN";let Y=$.toUpperCase().trim();if(Y==="APPROVE"||Y==="PASS")return"APPROVE";if(Y==="REJECT"||Y==="DENIED")return"REJECT";if(Y==="MANUAL"||Y==="ASSISTED")return"MANUAL";if(Y==="ERROR"||Y==="FAILED")return"ERROR";return Y}async function Xg0($){let{sourceCorp:Y,targetCorp:U,sourceClient:z,targetClient:Q,samples:J=10,dryRun:I=!1,pollIntervalMs:K=2000,timeoutMs:G=45000,snPrefix:H="REG_",fetchFn:W=fetch}=$;if(U.environment!=="test")throw new w4(`重放目标企业「${U.name}」(${U.id}) 的环境为「${U.environment}」,非测试环境! `+"硬性安全规定:自动化回归测试矩阵严禁在生产环境直接运行。必须绑定并指定测试环境(testCorp)。",2,`seal-use corps bind-test ${Y.id} `);let X=await nY(Q),q=(Array.isArray(X.features)?X.features:[]).find((d)=>d?.code==="ai-approval"),V=typeof q?.balance==="number"?q.balance:0,F=typeof q?.deductionAmount==="number"&&q.deductionAmount>0?q.deductionAmount:120,M=J*F;if(V{let $0=t.sourceDocumentSN??t.id,g=t?.result?.decision??t.aiDecision??t?.decision,p=Do(g),e=t?.result?.summary??t.aiSummary;return{sn:$0,sourceRecordId:t.id,prodDecision:p,prodSummary:e,status:"DRY_RUN"}});return{ok:!0,verdict:"DRY_RUN",safeToPublish:!0,timestamp:new Date().toISOString(),sourceCorp:{id:Y.id,name:Y.name,environment:Y.environment??"production"},targetCorp:{id:U.id,name:U.name,environment:U.environment??"test"},quota:{featureCode:"ai-approval",balanceBefore:V,deductionAmount:F,estimatedRequired:M},metrics:{sampleCount:d.length,successCount:d.length,failureCount:0,matchCount:d.length,flipCount:0,concordanceRate:1},flips:[],records:d}}let O=await Gp(Q,U,$.webhookSelector),D=[];for(let d of N){let t=Date.now(),$0=d.sourceDocumentSN??d.id,g=Do(d?.result?.decision??d.aiDecision??d?.decision),p=d?.result?.summary??d.aiSummary;try{let e=await H4(z,d.id),y=`${H}${$0}`,s=Ip(e,{snPrefix:H,docIdPrefix:H});await Kp(O.incomingDocumentWebhook.url,O.secret,s,W,A6(U.seal));let Y0=null,N0=Date.now();while(Date.now()-N0setTimeout(W0,K));let a=await i4(Q,{sourceDocumentSN:y,limit:1});if(a.records&&a.records.length>0){let W0=a.records[0];if(W0.status==="completed"||W0.status==="failed"){Y0=W0;break}}}if(!Y0){D.push({sn:$0,sourceRecordId:d.id,prodDecision:g,prodSummary:p,status:"FAILED",error:`测试租户单据审核超时 (${Math.round(G/1000)}s 未完成)`,durationMs:Date.now()-t});continue}let E0=Do(Y0?.result?.decision??Y0.aiDecision??Y0?.decision??(Y0.status==="completed"?"APPROVE":"ERROR")),G0=Y0?.result?.summary??Y0.aiSummary,T0=g===E0,i0=T0?"MATCHED":"FLIPPED",Y1={sn:$0,sourceRecordId:d.id,prodDecision:g,prodSummary:p,testRecordId:Y0.id,testDecision:E0,testSummary:G0,status:i0,durationMs:Date.now()-t};if(!T0)Y1.diff={from:g,to:E0,reasonDiff:G0&&p&&G0!==p?`生产: ${p.slice(0,60)}... -> 测试: ${G0.slice(0,60)}...`:void 0};D.push(Y1)}catch(e){D.push({sn:$0,sourceRecordId:d.id,prodDecision:g,prodSummary:p,status:"FAILED",error:e instanceof Error?e.message:String(e),durationMs:Date.now()-t})}}let P=D.filter((d)=>d.status==="MATCHED"||d.status==="FLIPPED"),T=D.filter((d)=>d.status==="MATCHED"),A=D.filter((d)=>d.status==="FLIPPED"),j=D.filter((d)=>d.status==="FAILED").length,C=T.length,b=A.length,x=C+b,S=x>0?C/x:0,i=b>0,c=i?"REGRESSIONS_DETECTED":"CLEAN",z0=!i&&j===0,k;try{let d=await nY(Q),$0=(Array.isArray(d.features)?d.features:[]).find((g)=>g?.code==="ai-approval");if(typeof $0?.balance==="number")k=$0.balance}catch{}return{ok:!i&&j===0,verdict:c,safeToPublish:z0,timestamp:new Date().toISOString(),sourceCorp:{id:Y.id,name:Y.name,environment:Y.environment??"production"},targetCorp:{id:U.id,name:U.name,environment:U.environment??"test"},quota:{featureCode:"ai-approval",balanceBefore:V,deductionAmount:F,estimatedRequired:M,balanceAfter:k},metrics:{sampleCount:D.length,successCount:P.length,failureCount:j,matchCount:C,flipCount:b,concordanceRate:Number(S.toFixed(4))},flips:A,records:D}}function Zg0($){let{sourceCorp:Y,targetCorp:U,verdict:z,safeToPublish:Q,metrics:J,quota:I,flips:K,records:G}=$,H=z==="CLEAN"?"\uD83D\uDFE2 决策完全一致 (CLEAN - 无回归)":z==="DRY_RUN"?"⚪ 预演模式 (DRY-RUN)":"\uD83D\uDD34 发现决策翻转 (REGRESSIONS_DETECTED)",W=["",`\uD83E\uDDEA [Seal Use Test] 规则回归测试矩阵: 生产「${Y.name}」-> 测试靶场「${U.name}」`,` 判定: ${H} · 准许发布: ${Q?"YES (可安全上线)":"NO (存在行为偏离/待复核)"}`," "+"─".repeat(65),` 样本总数: ${J.sampleCount} | 一致通过: ${J.matchCount} | 决策翻转: ${J.flipCount} | 异常失败: ${J.failureCount}`,` 一致率: ${(J.concordanceRate*100).toFixed(1)}% | 消耗预估: ${I.estimatedRequired} 点 (余量: ${I.balanceBefore}${I.balanceAfter!==void 0?` -> ${I.balanceAfter}`:""})`," "+"─".repeat(65)];if(K.length>0){W.push(` ⚠️ 决策翻转清单 (${K.length} 笔单据在新规则下结果改变):`);for(let X of K)if(W.push(` • 单据 [${X.sn}]: 原生产判定「${X.prodDecision}」 ➔ 测试新判定「${X.testDecision}」`),X.diff?.reasonDiff)W.push(` 理由差异: ${X.diff.reasonDiff}`);W.push(" "+"─".repeat(65)),W.push(" \uD83D\uDC49 建议: 请检查上述翻转单据是否符合预期修正。若为意外误杀,请调整测试环境规则后再次回归。")}else if(z==="CLEAN")W.push(" ✓ 全部样本在新规则下的审核决策与生产历史 100% 吻合,无任何意外误杀或漏判。"),W.push(" \uD83D\uDC49 下一步操作: seal-use deploy hosecloud sync 或发布正式版本");return W.push(""),W.join(` `)}var qg0=m(()=>{L$();X6();SZ()});async function Ao($,Y,U){let z=($??Y??"regression").toLowerCase();if(z==="regression"||z==="regress"||z==="matrix"){let Q=h(U.options.corp)??(Y&&Y!==z?Y:void 0),J=j1(Q),I=J,K=J;if(J.environment==="test"){K=J;let O=h(U.options["prod-corp"])??h(U.options.prod)??J.prodCorpId;if(!O)throw new w4(`测试企业「${J.name}」(${J.id}) 未绑定生产母企业,无法拉取历史样本。 `+"请建立绑定或通过 --prod-corp 参数指定生产企业来源。",2,`seal-use corps bind-test ${J.id}`);I=j1(O)}else{I=J;let O=h(U.options["test-corp"])??h(U.options.test)??J.testCorpId;if(!O)throw new w4(`生产企业「${J.name}」(${J.id}) 未绑定测试靶场企业。 -`+"硬性规定:回归测试严禁在生产环境直接运行。必须绑定并指定测试环境(testCorp)。",2,`seal-use corps bind-test ${J.id} `);K=j1(O)}let G=await B1(I),H=await B1(K),W=s0(U.options.samples)??s0(U.options.limit)??s0(U.options.n)??10,X=Z0(U.options["dry-run"]),Z=Z0(U.options["fail-on-flips"]),q=s0(U.options["poll-interval"])??2000,V=s0(U.options.timeout)??45000,F=h(U.options["sn-prefix"])??"REG_",M=h(U.options.webhook)??h(U.options.selector),w=await Xg0({sourceCorp:I,targetCorp:K,sourceClient:G,targetClient:H,samples:W,dryRun:X,pollIntervalMs:q,timeoutMs:V,snPrefix:F,failOnFlips:Z,webhookSelector:M});if(!(Z0(U.options.quiet)||Z0(U.options.silent)))console.error(Zg0(w));if(b0(w),Z&&!w.ok)throw new w4(`回归测试发现 ${w.metrics.flipCount} 笔单据决策翻转,已按 --fail-on-flips 策略非零终止。`,1);return}throw new w4(`未知的 test 子命令: "${z}"。 -可用子命令: seal-use test regression [--corp ] [--samples ] [--dry-run]`,2,"seal-use test regression --help")}var Vg0=m(()=>{L$();f4();D4();J4();i8();qg0()});async function Lg0($,Y,U,z){if(!$)throw Error("Usage: seal-use tool [--json '{...}']");await k0($,Y,U,y8(z.json),C0(z.options))}var Fg0=m(()=>{f4();D4();J4()});function wg0(){b0(Lq.map(($)=>({name:$.name,description:$.description})))}var Mg0=m(()=>{wq();J4()});function nT($=process.execPath,Y=import.meta.url){if(Y.includes("/$bunfs/")||Y.includes("\\$bunfs\\"))return!0;let U=$.toLowerCase().replace(/\\/g,"/");return!U.endsWith("/bun")&&!U.endsWith("/bun.exe")&&!U.endsWith("/node")&&!U.endsWith("/node.exe")}var Og0=m(()=>{Rq()});import{existsSync as Ky1,mkdirSync as Gy1,readFileSync as Hy1,renameSync as Wy1,writeFileSync as Xy1}from"node:fs";import{homedir as Zy1}from"node:os";import{dirname as qy1,join as Vy1}from"node:path";import{spawn as Ly1}from"node:child_process";function Ng0(){let $=process.env[Fy1]?.trim();if($)return $;return My1}function Dg0($=Ng0()){if(!Ky1($))return null;try{let Y=Hy1($,"utf-8"),U=JSON.parse(Y);if(U&&typeof U==="object"&&typeof U.latestVersion==="string"&&typeof U.checkedAt==="string")return U;return null}catch{return null}}function pT($,Y=Ng0()){try{let U=qy1(Y);Gy1(U,{recursive:!0,mode:448});let z={checkedAt:$.checkedAt??new Date().toISOString(),latestVersion:$.latestVersion,publishedAt:$.publishedAt,releaseUrl:$.releaseUrl},Q=`${Y}.tmp.${Date.now()}.${Math.random().toString(36).slice(2,8)}`;Xy1(Q,JSON.stringify(z,null,2),{mode:384}),Wy1(Q,Y)}catch{}}function Ag0($,Y=wy1){if(!$||!$.checkedAt)return!0;let U=new Date($.checkedAt).getTime();if(Number.isNaN(U))return!0;return Date.now()-U>Y}function Bg0($){if(process.env.SEAL_DISABLE_BG_UPDATE==="1"||!1||process.env.CI)return!1;if(!$||!$.command)return!1;try{let Y=$.command,U=[...$.args??[],"update","check","--bg-save"];return Ly1(Y,U,{detached:!0,stdio:"ignore",env:{...process.env,SEAL_DISABLE_BG_UPDATE:"1"}}).unref(),!0}catch{return!1}}var Fy1="SEAL_USE_UPDATE_CACHE_FILE",wy1=86400000,My1;var Bo=m(()=>{My1=Vy1(Zy1(),".config","seal-use","update-cache.json")});import{chmodSync as Oy1,mkdirSync as Ny1,readdirSync as Dy1,renameSync as Po,rmSync as Ay1,unlinkSync as Eg0,writeFileSync as Pg0}from"node:fs";import{basename as By1,dirname as Py1,join as mT}from"node:path";import{spawnSync as iK}from"node:child_process";async function Rg0($,Y={}){let U={appRoot:$.appRoot,entryFile:$.entryFile,stateDir:Mo,version:P1,launcher:$.launcher},z=Y.repo||process.env[Ty1]?.trim()||process.env[jy1]?.trim()||Cg0,Q=Y.targetVersion?.trim(),J=Q&&Q.toLowerCase()!=="latest"?Q:void 0;if(J){let D=J.replace(/^v/,""),P=Sg0(D,P1);if(P<0)if(!uS&&Y.force);else{b0({updated:!1,currentVersion:P1,targetVersion:D,mode:nT()?"binary":"source",message:!uS?`Cannot downgrade seal-use from dev build v${P1} to release v${D}. Use --force to overwrite.`:`Cannot downgrade seal-use from v${P1} to older version v${D}. Updates must be forward-only.`});return}if(P===0&&!Y.force){b0({updated:!1,currentVersion:P1,targetVersion:D,mode:nT()?"binary":"source",message:`seal-use is already at version v${P1}. Use --force to reinstall.`});return}}if(Y.changelogOnly){let D=await To(z,Y.limit??10);b0({currentVersion:P1,totalQueried:D.length,releases:D.map((P)=>({version:P.version,tagName:P.tagName,publishedAt:P.publishedAt,author:P.author,releaseNotes:P.notes,releaseUrl:P.htmlUrl,isCurrent:P.version===P1,isNewer:xz(P.version,P1)}))});return}if(!nT()){if(Y.checkOnly){let P=await To(z,30),T=P[0],A=T?.version??P1,j=P.find((x)=>x.version===P1),C=xz(A,P1),b=P.filter((x)=>xz(x.version,P1));if(T?.version)pT({latestVersion:T.version,publishedAt:T.publishedAt,releaseUrl:T.htmlUrl});if(Y.bgSave)return;b0({updated:!1,updateAvailable:C,currentVersion:P1,currentVersionPublishedAt:j?.publishedAt,latestVersion:A,latestVersionPublishedAt:T?.publishedAt,behindCount:b.length,pendingReleases:b.map((x)=>({version:x.version,tagName:x.tagName,publishedAt:x.publishedAt,author:x.author,releaseNotes:x.notes,releaseUrl:x.htmlUrl})),releaseNotes:T?.notes??"",releaseUrl:T?.htmlUrl??"",mode:"source",message:"Running in source development mode. Run 'seal-use update' to git pull & bun install."});return}let D=bK(U).running;if(D)await kz("stop",U);try{jg0("git",["-C",$.appRoot,"pull","--ff-only"])}catch(P){console.error(`git pull skipped: ${P instanceof Error?P.message:String(P)}`)}if(jg0("bun",["install"],{cwd:$.appRoot}),D)await kz("start",U);b0({updated:!0,serviceRestarted:D,version:P1,mode:"source"});return}let I=Cy1(),K=Ry1(),G=await To(z,30),H=J?G.find((D)=>D.version===J||D.tagName===J||D.tagName===`v${J}`)??await Tg0(z,J):G[0]??await Tg0(z);if(!H){b0({updated:!1,currentVersion:P1,mode:"binary",message:`Failed to query releases from repository '${z}'`});return}let W=H.version,X=G.find((D)=>D.version===P1),Z=xz(W,P1),q=Z||Boolean(Y.force),V=G.filter((D)=>xz(D.version,P1));if(H?.version)pT({latestVersion:H.version,publishedAt:H.publishedAt,releaseUrl:H.htmlUrl});if(Y.bgSave)return;if(Y.checkOnly){b0({updated:!1,updateAvailable:Z,currentVersion:P1,currentVersionPublishedAt:X?.publishedAt,latestVersion:W,latestVersionPublishedAt:H.publishedAt,behindCount:V.length,pendingReleases:V.map((D)=>({version:D.version,tagName:D.tagName,publishedAt:D.publishedAt,author:D.author,releaseNotes:D.notes,releaseUrl:D.htmlUrl})),releaseNotes:H.notes,releaseUrl:H.htmlUrl,mode:"binary"});return}if(!q){b0({updated:!1,currentVersion:P1,currentVersionPublishedAt:X?.publishedAt,latestVersion:W,latestVersionPublishedAt:H.publishedAt,mode:"binary",message:`seal-use is already up to date (v${P1})`});return}let F=vy1(H.assets,I,K);if(!F)throw Error(`No compatible binary found for ${I}-${K} in release v${W}. Available assets: ${H.assets.map((D)=>D.name).join(", ")}`);let M=bK(U).running;if(M)await kz("stop",U);let w=process.execPath,N=Py1(w),O=mT(N,`.tmp-update-${Date.now()}`);Ny1(O,{recursive:!0});try{let D=mT(O,F.name);await hy1(F.downloadUrl,D,H.tagName,F.name);let P=D;if(F.name.endsWith(".tar.gz")||F.name.endsWith(".tgz"))P=Sy1(D,O,I);else if(F.name.endsWith(".zip"))P=gy1(D,O,I);if(Oy1(P,493),process.platform==="darwin")try{iK("/usr/bin/codesign",["--remove-signature",P],{stdio:"ignore"}),iK("/usr/bin/codesign",["--force","--sign","-",P],{stdio:"ignore"})}catch{}if(process.platform==="win32"){let A=`${w}.old.${Date.now()}`;try{Po(w,A)}catch{}Po(P,w)}else Po(P,w);if(M)await kz("start",U);let T=Ey1(w,W);pT({latestVersion:W,publishedAt:H.publishedAt,releaseUrl:H.htmlUrl}),b0({updated:!0,fromVersion:P1,toVersion:W,serviceRestarted:M,skillSynced:T.targetDir??!1,skillVersion:T.version??!1,mode:"binary"})}finally{try{Ay1(O,{recursive:!0,force:!0})}catch{}}}function Ey1($,Y){let U=iK($,["skill","install"],{encoding:"utf8"});if(U.status!==0)throw Error(`Binary updated to v${Y}, but refreshing the Agent Skill failed ('${$} skill install' exited with ${U.status}). Run 'seal-use skill install' to finish the update.`);let z;try{z=JSON.parse(U.stdout??"").targetDir}catch{}let Q=VS0(z?mT(z,"SKILL.md"):void 0);if(Q!==Y)throw Error(`Binary updated to v${Y}, but the Agent Skill on disk reports ${Q??"no version"}${z?` (${z})`:""}. Run 'seal-use skill install' to finish the update.`);return{targetDir:z,version:Q}}function Cy1(){if(process.platform==="darwin")return"darwin";if(process.platform==="win32")return"windows";return"linux"}function Ry1(){return process.arch==="arm64"?"arm64":"x64"}function jo(){let $=(process.env.SEAL_USE_MIRROR||process.env.SEAL_HOME_MIRROR)?.trim().toLowerCase();if($==="github"||$==="gitea")return $;if(process.env.CI)return"github";return"auto"}async function To($,Y=20){let U=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,z={"User-Agent":`seal-use/${P1}`,Accept:"application/vnd.github.v3+json",...U?{Authorization:`Bearer ${U}`}:{}},Q=jo(),J=[];if(Q!=="github")J.push(`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases?per_page=${Y}`,`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases?per_page=${Y}`);if(Q!=="gitea"){if(J.push(`https://api.github.com/repos/${$}/releases?per_page=${Y}`),$!==Sq)J.push(`https://api.github.com/repos/${Sq}/releases?per_page=${Y}`)}for(let I of J)try{let K=await fetch(I,{headers:z,signal:AbortSignal.timeout(3000)});if(!K.ok)continue;let G=await K.json();if(!Array.isArray(G)||G.length===0)continue;let H=[];for(let W of G){let X=W.tag_name??"",Z=X.replace(/^v/,"");if(!Z)continue;let q=(W.assets??[]).map((V)=>({name:V.name,downloadUrl:V.browser_download_url,size:V.size??0}));H.push({version:Z,tagName:X,name:W.name??X,publishedAt:W.published_at,author:W.author?.login,notes:W.body??"",htmlUrl:W.html_url??"",assets:q})}if(H.length>0)return H}catch{}return[]}async function Tg0($,Y){let U=Y?Y.startsWith("v")?Y:`v${Y}`:void 0,z=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,Q={"User-Agent":`seal-use/${P1}`,Accept:"application/vnd.github.v3+json",...z?{Authorization:`Bearer ${z}`}:{}},J=jo(),I=[];if(J!=="github")I.push(U?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/tags/${U}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/latest",U?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/tags/${U}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/latest");if(J!=="gitea"){if(I.push(U?`https://api.github.com/repos/${$}/releases/tags/${U}`:`https://api.github.com/repos/${$}/releases/latest`),$!==Sq)I.push(U?`https://api.github.com/repos/${Sq}/releases/tags/${U}`:`https://api.github.com/repos/${Sq}/releases/latest`)}let K;for(let G of I)try{let H=await fetch(G,{headers:Q,signal:AbortSignal.timeout(3000)});if(!H.ok)continue;let W=await H.json(),X=W.tag_name??"",Z=X.replace(/^v/,"");if(!Z)continue;let q=(W.assets??[]).map((F)=>({name:F.name,downloadUrl:F.browser_download_url,size:F.size??0})),V={version:Z,tagName:X,name:W.name??X,publishedAt:W.published_at,author:W.author?.login,notes:W.body??"",htmlUrl:W.html_url??"",assets:q};if(q.length>0)return V;if(!K)K=V}catch{}return K}function _g0($){return $.endsWith(".tar.gz")||$.endsWith(".tgz")||$.endsWith(".zip")}function _y1($){return!_g0($)&&!$.endsWith(".sha256")}function vy1($,Y,U){let z={darwin:["darwin","macos","osx","apple"],linux:["linux"],windows:["windows","win32","win"]},Q={arm64:["arm64","aarch64"],x64:["x64","x86_64","amd64"]},J=z[Y]||[],I=Q[U]||[],G=$.filter((X)=>{let Z=X.name.toLowerCase(),q=J.some((F)=>Z.includes(F)),V=I.some((F)=>Z.includes(F));return q&&V}).filter((X)=>!X.name.endsWith(".sha256")),H=G.find((X)=>_g0(X.name)),W=G.find((X)=>_y1(X.name));if(Y==="windows")return W??H??G[0];return H??W??G[0]}function dT($){try{process.stderr.write(`${$} +`+"硬性规定:回归测试严禁在生产环境直接运行。必须绑定并指定测试环境(testCorp)。",2,`seal-use corps bind-test ${J.id} `);K=j1(O)}let G=await B1(I),H=await B1(K),W=s0(U.options.samples)??s0(U.options.limit)??s0(U.options.n)??10,X=Z0(U.options["dry-run"]),Z=Z0(U.options["fail-on-flips"]),q=s0(U.options["poll-interval"])??2000,V=s0(U.options.timeout)??45000,F=h(U.options["sn-prefix"])??"REG_",M=h(U.options.webhook)??h(U.options.selector),w=await Xg0({sourceCorp:I,targetCorp:K,sourceClient:G,targetClient:H,samples:W,dryRun:X,pollIntervalMs:q,timeoutMs:V,snPrefix:F,failOnFlips:Z,webhookSelector:M});if(!(Z0(U.options.quiet)||Z0(U.options.silent)))console.error(Zg0(w));if(f0(w),Z&&!w.ok)throw new w4(`回归测试发现 ${w.metrics.flipCount} 笔单据决策翻转,已按 --fail-on-flips 策略非零终止。`,1);return}throw new w4(`未知的 test 子命令: "${z}"。 +可用子命令: seal-use test regression [--corp ] [--samples ] [--dry-run]`,2,"seal-use test regression --help")}var Vg0=m(()=>{L$();f4();D4();J4();i8();qg0()});async function Lg0($,Y,U,z){if(!$)throw Error("Usage: seal-use tool [--json '{...}']");await k0($,Y,U,y8(z.json),C0(z.options))}var Fg0=m(()=>{f4();D4();J4()});function wg0(){f0(Lq.map(($)=>({name:$.name,description:$.description})))}var Mg0=m(()=>{wq();J4()});function nT($=process.execPath,Y=import.meta.url){if(Y.includes("/$bunfs/")||Y.includes("\\$bunfs\\"))return!0;let U=$.toLowerCase().replace(/\\/g,"/");return!U.endsWith("/bun")&&!U.endsWith("/bun.exe")&&!U.endsWith("/node")&&!U.endsWith("/node.exe")}var Og0=m(()=>{Rq()});import{existsSync as Ky1,mkdirSync as Gy1,readFileSync as Hy1,renameSync as Wy1,writeFileSync as Xy1}from"node:fs";import{homedir as Zy1}from"node:os";import{dirname as qy1,join as Vy1}from"node:path";import{spawn as Ly1}from"node:child_process";function Ng0(){let $=process.env[Fy1]?.trim();if($)return $;return My1}function Dg0($=Ng0()){if(!Ky1($))return null;try{let Y=Hy1($,"utf-8"),U=JSON.parse(Y);if(U&&typeof U==="object"&&typeof U.latestVersion==="string"&&typeof U.checkedAt==="string")return U;return null}catch{return null}}function pT($,Y=Ng0()){try{let U=qy1(Y);Gy1(U,{recursive:!0,mode:448});let z={checkedAt:$.checkedAt??new Date().toISOString(),latestVersion:$.latestVersion,publishedAt:$.publishedAt,releaseUrl:$.releaseUrl},Q=`${Y}.tmp.${Date.now()}.${Math.random().toString(36).slice(2,8)}`;Xy1(Q,JSON.stringify(z,null,2),{mode:384}),Wy1(Q,Y)}catch{}}function Ag0($,Y=wy1){if(!$||!$.checkedAt)return!0;let U=new Date($.checkedAt).getTime();if(Number.isNaN(U))return!0;return Date.now()-U>Y}function Bg0($){if(process.env.SEAL_DISABLE_BG_UPDATE==="1"||!1||process.env.CI)return!1;if(!$||!$.command)return!1;try{let Y=$.command,U=[...$.args??[],"update","check","--bg-save"];return Ly1(Y,U,{detached:!0,stdio:"ignore",env:{...process.env,SEAL_DISABLE_BG_UPDATE:"1"}}).unref(),!0}catch{return!1}}var Fy1="SEAL_USE_UPDATE_CACHE_FILE",wy1=86400000,My1;var Bo=m(()=>{My1=Vy1(Zy1(),".config","seal-use","update-cache.json")});import{chmodSync as Oy1,mkdirSync as Ny1,readdirSync as Dy1,renameSync as Po,rmSync as Ay1,unlinkSync as Eg0,writeFileSync as Pg0}from"node:fs";import{basename as By1,dirname as Py1,join as mT}from"node:path";import{spawnSync as iK}from"node:child_process";async function Rg0($,Y={}){let U={appRoot:$.appRoot,entryFile:$.entryFile,stateDir:Mo,version:P1,launcher:$.launcher},z=Y.repo||process.env[Ty1]?.trim()||process.env[jy1]?.trim()||Cg0,Q=Y.targetVersion?.trim(),J=Q&&Q.toLowerCase()!=="latest"?Q:void 0;if(J){let D=J.replace(/^v/,""),P=Sg0(D,P1);if(P<0)if(!uS&&Y.force);else{f0({updated:!1,currentVersion:P1,targetVersion:D,mode:nT()?"binary":"source",message:!uS?`Cannot downgrade seal-use from dev build v${P1} to release v${D}. Use --force to overwrite.`:`Cannot downgrade seal-use from v${P1} to older version v${D}. Updates must be forward-only.`});return}if(P===0&&!Y.force){f0({updated:!1,currentVersion:P1,targetVersion:D,mode:nT()?"binary":"source",message:`seal-use is already at version v${P1}. Use --force to reinstall.`});return}}if(Y.changelogOnly){let D=await To(z,Y.limit??10);f0({currentVersion:P1,totalQueried:D.length,releases:D.map((P)=>({version:P.version,tagName:P.tagName,publishedAt:P.publishedAt,author:P.author,releaseNotes:P.notes,releaseUrl:P.htmlUrl,isCurrent:P.version===P1,isNewer:xz(P.version,P1)}))});return}if(!nT()){if(Y.checkOnly){let P=await To(z,30),T=P[0],A=T?.version??P1,j=P.find((x)=>x.version===P1),C=xz(A,P1),b=P.filter((x)=>xz(x.version,P1));if(T?.version)pT({latestVersion:T.version,publishedAt:T.publishedAt,releaseUrl:T.htmlUrl});if(Y.bgSave)return;f0({updated:!1,updateAvailable:C,currentVersion:P1,currentVersionPublishedAt:j?.publishedAt,latestVersion:A,latestVersionPublishedAt:T?.publishedAt,behindCount:b.length,pendingReleases:b.map((x)=>({version:x.version,tagName:x.tagName,publishedAt:x.publishedAt,author:x.author,releaseNotes:x.notes,releaseUrl:x.htmlUrl})),releaseNotes:T?.notes??"",releaseUrl:T?.htmlUrl??"",mode:"source",message:"Running in source development mode. Run 'seal-use update' to git pull & bun install."});return}let D=bK(U).running;if(D)await kz("stop",U);try{jg0("git",["-C",$.appRoot,"pull","--ff-only"])}catch(P){console.error(`git pull skipped: ${P instanceof Error?P.message:String(P)}`)}if(jg0("bun",["install"],{cwd:$.appRoot}),D)await kz("start",U);f0({updated:!0,serviceRestarted:D,version:P1,mode:"source"});return}let I=Cy1(),K=Ry1(),G=await To(z,30),H=J?G.find((D)=>D.version===J||D.tagName===J||D.tagName===`v${J}`)??await Tg0(z,J):G[0]??await Tg0(z);if(!H){f0({updated:!1,currentVersion:P1,mode:"binary",message:`Failed to query releases from repository '${z}'`});return}let W=H.version,X=G.find((D)=>D.version===P1),Z=xz(W,P1),q=Z||Boolean(Y.force),V=G.filter((D)=>xz(D.version,P1));if(H?.version)pT({latestVersion:H.version,publishedAt:H.publishedAt,releaseUrl:H.htmlUrl});if(Y.bgSave)return;if(Y.checkOnly){f0({updated:!1,updateAvailable:Z,currentVersion:P1,currentVersionPublishedAt:X?.publishedAt,latestVersion:W,latestVersionPublishedAt:H.publishedAt,behindCount:V.length,pendingReleases:V.map((D)=>({version:D.version,tagName:D.tagName,publishedAt:D.publishedAt,author:D.author,releaseNotes:D.notes,releaseUrl:D.htmlUrl})),releaseNotes:H.notes,releaseUrl:H.htmlUrl,mode:"binary"});return}if(!q){f0({updated:!1,currentVersion:P1,currentVersionPublishedAt:X?.publishedAt,latestVersion:W,latestVersionPublishedAt:H.publishedAt,mode:"binary",message:`seal-use is already up to date (v${P1})`});return}let F=vy1(H.assets,I,K);if(!F)throw Error(`No compatible binary found for ${I}-${K} in release v${W}. Available assets: ${H.assets.map((D)=>D.name).join(", ")}`);let M=bK(U).running;if(M)await kz("stop",U);let w=process.execPath,N=Py1(w),O=mT(N,`.tmp-update-${Date.now()}`);Ny1(O,{recursive:!0});try{let D=mT(O,F.name);await hy1(F.downloadUrl,D,H.tagName,F.name);let P=D;if(F.name.endsWith(".tar.gz")||F.name.endsWith(".tgz"))P=Sy1(D,O,I);else if(F.name.endsWith(".zip"))P=gy1(D,O,I);if(Oy1(P,493),process.platform==="darwin")try{iK("/usr/bin/codesign",["--remove-signature",P],{stdio:"ignore"}),iK("/usr/bin/codesign",["--force","--sign","-",P],{stdio:"ignore"})}catch{}if(process.platform==="win32"){let A=`${w}.old.${Date.now()}`;try{Po(w,A)}catch{}Po(P,w)}else Po(P,w);if(M)await kz("start",U);let T=Ey1(w,W);pT({latestVersion:W,publishedAt:H.publishedAt,releaseUrl:H.htmlUrl}),f0({updated:!0,fromVersion:P1,toVersion:W,serviceRestarted:M,skillSynced:T.targetDir??!1,skillVersion:T.version??!1,mode:"binary"})}finally{try{Ay1(O,{recursive:!0,force:!0})}catch{}}}function Ey1($,Y){let U=iK($,["skill","install"],{encoding:"utf8"});if(U.status!==0)throw Error(`Binary updated to v${Y}, but refreshing the Agent Skill failed ('${$} skill install' exited with ${U.status}). Run 'seal-use skill install' to finish the update.`);let z;try{z=JSON.parse(U.stdout??"").targetDir}catch{}let Q=VS0(z?mT(z,"SKILL.md"):void 0);if(Q!==Y)throw Error(`Binary updated to v${Y}, but the Agent Skill on disk reports ${Q??"no version"}${z?` (${z})`:""}. Run 'seal-use skill install' to finish the update.`);return{targetDir:z,version:Q}}function Cy1(){if(process.platform==="darwin")return"darwin";if(process.platform==="win32")return"windows";return"linux"}function Ry1(){return process.arch==="arm64"?"arm64":"x64"}function jo(){let $=(process.env.SEAL_USE_MIRROR||process.env.SEAL_HOME_MIRROR)?.trim().toLowerCase();if($==="github"||$==="gitea")return $;if(process.env.CI)return"github";return"auto"}async function To($,Y=20){let U=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,z={"User-Agent":`seal-use/${P1}`,Accept:"application/vnd.github.v3+json",...U?{Authorization:`Bearer ${U}`}:{}},Q=jo(),J=[];if(Q!=="github")J.push(`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases?per_page=${Y}`,`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases?per_page=${Y}`);if(Q!=="gitea"){if(J.push(`https://api.github.com/repos/${$}/releases?per_page=${Y}`),$!==Sq)J.push(`https://api.github.com/repos/${Sq}/releases?per_page=${Y}`)}for(let I of J)try{let K=await fetch(I,{headers:z,signal:AbortSignal.timeout(3000)});if(!K.ok)continue;let G=await K.json();if(!Array.isArray(G)||G.length===0)continue;let H=[];for(let W of G){let X=W.tag_name??"",Z=X.replace(/^v/,"");if(!Z)continue;let q=(W.assets??[]).map((V)=>({name:V.name,downloadUrl:V.browser_download_url,size:V.size??0}));H.push({version:Z,tagName:X,name:W.name??X,publishedAt:W.published_at,author:W.author?.login,notes:W.body??"",htmlUrl:W.html_url??"",assets:q})}if(H.length>0)return H}catch{}return[]}async function Tg0($,Y){let U=Y?Y.startsWith("v")?Y:`v${Y}`:void 0,z=process.env.GITHUB_TOKEN||process.env.GH_TOKEN,Q={"User-Agent":`seal-use/${P1}`,Accept:"application/vnd.github.v3+json",...z?{Authorization:`Bearer ${z}`}:{}},J=jo(),I=[];if(J!=="github")I.push(U?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/tags/${U}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-use/releases/latest",U?`https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/tags/${U}`:"https://git.ying-qing.cn/api/v1/repos/gitea/seal-home/releases/latest");if(J!=="gitea"){if(I.push(U?`https://api.github.com/repos/${$}/releases/tags/${U}`:`https://api.github.com/repos/${$}/releases/latest`),$!==Sq)I.push(U?`https://api.github.com/repos/${Sq}/releases/tags/${U}`:`https://api.github.com/repos/${Sq}/releases/latest`)}let K;for(let G of I)try{let H=await fetch(G,{headers:Q,signal:AbortSignal.timeout(3000)});if(!H.ok)continue;let W=await H.json(),X=W.tag_name??"",Z=X.replace(/^v/,"");if(!Z)continue;let q=(W.assets??[]).map((F)=>({name:F.name,downloadUrl:F.browser_download_url,size:F.size??0})),V={version:Z,tagName:X,name:W.name??X,publishedAt:W.published_at,author:W.author?.login,notes:W.body??"",htmlUrl:W.html_url??"",assets:q};if(q.length>0)return V;if(!K)K=V}catch{}return K}function _g0($){return $.endsWith(".tar.gz")||$.endsWith(".tgz")||$.endsWith(".zip")}function _y1($){return!_g0($)&&!$.endsWith(".sha256")}function vy1($,Y,U){let z={darwin:["darwin","macos","osx","apple"],linux:["linux"],windows:["windows","win32","win"]},Q={arm64:["arm64","aarch64"],x64:["x64","x86_64","amd64"]},J=z[Y]||[],I=Q[U]||[],G=$.filter((X)=>{let Z=X.name.toLowerCase(),q=J.some((F)=>Z.includes(F)),V=I.some((F)=>Z.includes(F));return q&&V}).filter((X)=>!X.name.endsWith(".sha256")),H=G.find((X)=>_g0(X.name)),W=G.find((X)=>_y1(X.name));if(Y==="windows")return W??H??G[0];return H??W??G[0]}function dT($){try{process.stderr.write(`${$} `)}catch{}}async function hy1($,Y,U,z){let Q=jo(),J=[],I=U?U.startsWith("v")?U:`v${U}`:void 0,K=z||$.split("/").pop()||"";if(Q!=="github"){if(I&&K)J.push(`https://git.ying-qing.cn/gitea/seal-use/releases/download/${I}/${K}`,`https://git.ying-qing.cn/gitea/seal-home/releases/download/${I}/${K}`);if($.startsWith("https://git.ying-qing.cn"))J.push($)}if(Q!=="gitea")if(I&&K){let F=`https://github.com/${Cg0}/releases/download/${I}/${K}`;if(!process.env.CI)J.push(`https://ghfast.top/${F}`,`https://gh.ddlc.top/${F}`);J.push(F)}else if($.includes("github.com")){if(!process.env.CI)J.push(`https://ghfast.top/${$}`,`https://gh.ddlc.top/${$}`);J.push($)}else J.push($);let G=Array.from(new Set(J)),H,W=6000,X=6000,Z=307200,q=1e4,V=180000;for(let F=0;F{N=A;try{w.abort()}catch{}},D=setTimeout(()=>{O("Connection timed out (no response headers within 6s)")},W),P,T;try{dT(`==> [${F+1}/${G.length}] Downloading via: ${M}`);let A=await fetch(M,{signal:w.signal});if(D)clearTimeout(D),D=void 0;if(!A.ok)throw Error(`HTTP ${A.status} ${A.statusText}`);P=setTimeout(()=>{O("Overall download time exceeded 3 minutes")},V);let j=Number(A.headers.get("content-length"))||0,C=A.body?.getReader();if(!C){let c=Buffer.from(await A.arrayBuffer());if(c.length<1000)throw Error(`Downloaded content is suspiciously small (${c.length} bytes)`);Pg0(Y,c),dT(`✓ Download succeeded (${(c.length/1024/1024).toFixed(1)} MB)`);return}let b=[],x=0,S=0;T=setTimeout(()=>{if(x{z0=setTimeout(()=>{p(Error("Data transfer stalled (no chunk received for 10s)"))},q)}),d;try{d=await Promise.race([c,k])}finally{if(z0)clearTimeout(z0)}let{done:t,value:$0}=d;if(t)break;if($0){if(b.push($0),x+=$0.length,T&&x>=Z)clearTimeout(T),T=void 0;let g=Date.now();if(g-S>200){S=g;let p=j?Math.round(x/j*100):0,e=(x/1048576).toFixed(1),y=j?(j/1048576).toFixed(1):"?";try{process.stderr.write(`\r ↳ Progress: ${p}% (${e} / ${y} MB)...`)}catch{}}}}try{process.stderr.write(` `)}catch{}let i=Buffer.concat(b);if(i.length<1000)throw Error(`Downloaded content is suspiciously small (${i.length} bytes)`);Pg0(Y,i),dT(`✓ Download completed successfully (${(i.length/1024/1024).toFixed(1)} MB)`);return}catch(A){if(D)clearTimeout(D);if(T)clearTimeout(T);if(P)clearTimeout(P);let j=N||(A instanceof Error?A.message:String(A));H=Error(j),dT(` ↳ Mirror failed: ${H.message}`)}finally{if(D)clearTimeout(D);if(T)clearTimeout(T);if(P)clearTimeout(P)}}throw Error(`Failed to download asset from all mirrors: ${H?.message}`)}function vg0($){let Y;try{Y=Dy1($,{withFileTypes:!0})}catch{return[]}let U=[];for(let z of Y){let Q=mT($,z.name);if(z.isDirectory())U.push(...vg0(Q));else if(z.isFile())U.push(Q)}return U}function hg0($,Y,U){let z=Y==="windows"?"seal-use.exe":"seal-use",Q=vg0($);return Q.find((J)=>By1(J)===z)??Q[0]??U}function Sy1($,Y,U){let z=iK("tar",["-xzf",$,"-C",Y],{stdio:"pipe"});if(z.status!==0)throw Error(`Failed to extract tar archive: ${z.stderr.toString()}`);return Eg0($),hg0(Y,U,$)}function gy1($,Y,U){let z=iK("unzip",["-q","-o",$,"-d",Y],{stdio:"pipe"});if(z.status!==0)throw Error(`Failed to extract zip archive: ${z.stderr.toString()}`);return Eg0($),hg0(Y,U,$)}function Sg0($,Y){let U=$.replace(/^v/,"").split(".").map((Q)=>Number.parseInt(Q,10)||0),z=Y.replace(/^v/,"").split(".").map((Q)=>Number.parseInt(Q,10)||0);for(let Q=0;QI)return 1;if(J0}function jg0($,Y,U={}){let z=iK($,Y,{cwd:U.cwd,encoding:"utf8",stdio:["ignore","pipe","pipe"]});if(z.stdout)console.error(z.stdout.trimEnd());if(z.stderr)console.error(z.stderr.trimEnd());if(z.status!==0)throw Error(`${$} ${Y.join(" ")} failed with status ${z.status}`)}var Cg0="yunyingk/seal-use",Sq="yunyingk/seal-home",Ty1="SEAL_USE_GITHUB_REPO",jy1="SEAL_HOME_GITHUB_REPO";var gg0=m(()=>{Og0();Rq();Bo();e9();wo();J4();No()});async function yg0($,Y,U,z,Q){if($==="create"){let J=h(Q.options.name)??Y,I=h(Q.options.phone);if(!J||!I)throw Error("Usage: seal-use users create --name --phone [--dept ]");let K=h(Q.options.dept)??h(Q.options.departmentId);await k0("seal_user_create",U,z,{name:J,phone:I,departmentIds:K?[K]:void 0},C0(Q.options));return}if($==="reset-password"){let J=Y??h(Q.options.userId);if(!J)throw Error("Usage: seal-use users reset-password ");await k0("seal_user_reset_password",U,z,{userId:J},C0(Q.options));return}if($==="search"||$==="list"){let J=Y??h(Q.options.keyword)??h(Q.options.query)??"";await k0("seal_user_search",U,z,{keyword:J},C0(Q.options));return}if($==="get"){let J=Y??h(Q.options.userId);if(!J)throw Error("Usage: seal-use users get ");await k0("seal_user_get",U,z,{userId:J},C0(Q.options));return}if($==="delete"){let J=Y??h(Q.options.userId);if(!J)throw Error("Usage: seal-use users delete ");await k0("seal_user_delete",U,z,{userId:J},C0(Q.options));return}if($==="activate"){let J=Y??h(Q.options.userId);if(!J)throw Error("Usage: seal-use users activate ");await k0("seal_user_activate",U,z,{userId:J},C0(Q.options));return}if($==="delegation"||$==="impersonate"){let J=Y??h(Q.options.userId)??h(Q.options.phone);if(!J)throw Error("Usage: seal-use users delegation [--note ]");let I=h(Q.options.note);await k0("seal_user_delegation_create",U,z,{userIdOrPhone:J,note:I},C0(Q.options));return}throw Error(`Unknown users command: ${$??""}. Run 'seal-use help' for available commands.`)}var kg0=m(()=>{f4();D4();J4()});import{dirname as Eo,join as yy1}from"node:path";import{fileURLToPath as ky1}from"node:url";function by1($){if(!$.length)return!1;let Y=$[0]?.toLowerCase(),U=$[1]?.toLowerCase();if(Y&&uy1.has(Y))return!0;if((Y==="service"||Y==="daemon")&&U==="run")return!0;return!1}function vq($,Y={}){if(by1($))return ug0($,Y);let U=fg0.then(()=>ug0($,Y));return fg0=U.then(()=>{return},()=>{return}),U}async function ug0($,Y){let U=[],z=[],Q=console.log,J=console.error,I={appRoot:Y.appRoot??xg0,entryFile:Y.entryFile??yy1(Y.appRoot??xg0,"src","cli.ts"),launcher:Y.launcher};console.log=(...K)=>{U.push(El(K))},console.error=(...K)=>{z.push(El(K))};try{return await iy1($,I),{stdout:Oq(U),stderr:Oq(z),isError:!1,exitCode:0}}catch(K){let G=Nq(K instanceof Error?K.message:String(K)),H=hZ(K);if(z.push(G),H.nextAction&&!G.includes("Next action:"))z.push(`\uD83D\uDC49 Next action: ${H.nextAction}`);return{stdout:Oq(U),stderr:Oq(z),isError:!0,exitCode:H.exitCode}}finally{console.log=Q,console.error=J}}async function iy1($,Y){let U=Mq($),[z,Q,J]=U.command,I=z?.toLowerCase(),K=I?xy1.has(I):!1,G=K?"update":I;if(G==="version"||G==="v"||Boolean(U.options.version)||Boolean(U.options.v)||Boolean(U.options.V)){let Z=Dg0(),q=Z?.latestVersion?xz(Z.latestVersion,cY.version):!1,V={...cY,...Z?.latestVersion?{latestVersion:Z.latestVersion,updateAvailable:q,lastCheckedAt:Z.checkedAt}:{}};if(q&&Z?.latestVersion)console.error(`\uD83D\uDCA1 发现新版本可用: v${cY.version} -> v${Z.latestVersion}`),console.error(`\uD83D\uDC49 Next action: seal-use update -`);if(b0(V),Ag0(Z))Bg0(Y.launcher);return}let H=Z_0(U);if(H.isHelp){F_0(H.target);return}if(!G||!fy1.has(G))throw Error(`Unknown command: ${U.command.join(" ")}. Run 'seal-use help' for available commands.`);if(G==="webhook"&&(Q==="resource-pack"||Q==="pack"||Q==="material-pack")&&J==="preview"){let Z=U.command[3]??h(U.options.file)??h(U.options.input);if(!Z)throw Error("Usage: seal-use webhook resource-pack preview <资源包.zip>");await O_0(Z,gK(U.options));return}if(G==="openapi"){iS0(U);return}if(G==="mcp-config"){Zo();return}if(G==="skill"){Kg0(Q,J,U);return}if(G==="mcp"||G==="server"){await xS0(Q,U);return}if(G==="probe"){await sS0(Q,J,U);return}if(G==="doctor"){await PS0(Q,J,U);return}if(G==="test"){await Ao(Q,J,U);return}if(G==="config"){Hh0(Q,J,U);return}if(G==="service"){await Oo(Q,Y,U);return}if(G==="stop"){await Oo("stop",Y,U);return}if(G==="http"||G==="serve"){await SS0(U);return}if(K||G==="changelog"){if(K&&z!=="update")console.error(`⚠️ Notice: '${z}' is an alias for 'seal-use update'. Please use 'seal-use update' instead.`);let Z=Q?.toLowerCase(),q=G==="changelog"||Z==="changelog"||Z==="log"||Z==="history"||Z0(U.options.changelog)===!0,V=Z==="check"||Z0(U.options.check)===!0||Z0(U.options["check-only"])===!0,F=Z0(U.options["bg-save"])===!0||Z0(U.options["silent-save"])===!0,M=h(U.options.version)??h(U.options.tag)??(!q&&!V&&!F&&Q&&!Q.startsWith("-")?Q:void 0);await Rg0(Y,{checkOnly:V||F,changelogOnly:q,limit:s0(U.options.limit),force:Z0(U.options.force),targetVersion:M,repo:h(U.options.repo),bgSave:F});return}if(G==="tools"&&Q==="list"){wg0();return}if(G==="corps"||G==="corp"){if(Q==="regression"||Q==="test-regression"){await Ao("regression",J,U);return}await av0(Q,J,U);return}if(G==="delegation"&&Q==="create"&&(("from-link"in U.options)||("link"in U.options))){let Z=h(U.options["from-link"])??h(U.options.link);if(!Z)throw Error("Usage: seal-use delegation create --from-link [--note ]");await wh0(Z,h(U.options.note));return}if(G==="rules"&&Q==="lint"&&(("file"in U.options)||("f"in U.options))){let Z;try{Z=j1(h(U.options.corp))}catch{Z={id:"local",name:"Local Workspace",source:{type:"native"}}}await qo(Q,J,null,Z,U);return}if(G==="auth"&&(Q==="extract-keys"||Q==="extract-key")){await zh0(J,U);return}let W=j1(h(U.options.corp));if(G==="source"){await Hg0(Q,W);return}if(G==="auth"){await Qh0(Q,W,U);return}let X=await B1(W);if(G==="delegation"){await Mh0(Q,J,X,W,U);return}if(G==="users"){await yg0(Q,J,X,W,U);return}if(G==="contacts"){await Xh0(Q,J,X,W,U);return}if(G==="data"){await qh0(Q,X,W,U);return}if(G==="llm"){await yS0(Q,X,W,U);return}if(G==="permissions"){await nS0(Q,X,W,U);return}if(G==="billing"){await Kh0(Q,X,W,U);return}if(G==="webhook"||G==="webhooks"){await OT(Q,J,X,W,U);return}if(G==="context"){await Lh0(X,W,U);return}if(G==="rules"){await qo(Q,J,X,W,U);return}if(G==="approval-runs"){await N_0(Q,J,X,W,U);return}if(G==="analytics"){await A_0(Q,J,X,W,U);return}if(G==="simulation"){await Qg0(Q,J,X,W,U);return}if(G==="deploy"){await Nh0(Q,J,U.command[3],X,W,U);return}if(G==="preference"||G==="preferences"){await mS0(Q,J,U.command[3],U.command[4],X,W,U);return}if(G==="tool"){await Lg0(Q,X,W,U);return}throw Error(`Unknown command: ${U.command.join(" ")}. Run 'seal-use help' for available commands.`)}var xg0,xy1,fy1,uy1,fg0;var Wo=m(()=>{i8();e9();D_0();B_0();Ih0();Gh0();Wh0();Zh0();Vh0();Fh0();pl();Oh0();Dh0();TS0();gS0();kS0();fS0();cS0();pS0();lS0();aS0();tS0();No();Jg0();Gg0();Wg0();Vg0();Fg0();Mg0();gg0();Bo();kg0();Cl();L$();f4();D4();jl();J4();xg0=Eo(Eo(Eo(ky1(import.meta.url)))),xy1=new Set(["update","upgrade","up","self-update","selfupdate"]),fy1=new Set(["config","service","stop","http","serve","update","tools","corps","corp","tool","source","auth","delegation","users","contacts","data","llm","permissions","billing","webhook","webhooks","context","rules","approval-runs","analytics","simulation","deploy","preference","preferences","mcp","server","mcp-config","skill","openapi","probe","doctor","changelog","test"]),uy1=new Set(["http","server","web","mcp"]);fg0=Promise.resolve()});function dy1($){let{command:Y}=Mq($),U=(Y[0]??"").toLowerCase();return{area:cy1[U]??U,actionTokens:Y.slice(1).map((z)=>z.toLowerCase())}}function bg0($){let Y,U;try{({area:Y,actionTokens:U}=dy1($))}catch{return!1}if(U.length===0&&py1.has(Y))return!0;if(Y==="tool"){let Q=U[0];return Q!==void 0&&eR0(Q)}let z=ny1[Y];if(!z)return!1;return z.some((Q)=>{let J=Q.split(" ").filter(Boolean);if(J.length===0)return U.length===0;if(J.length>U.length)return!1;return J.every((I,K)=>I===U[K])})}var cy1,ny1,py1;var ig0=m(()=>{wq();D4();cy1={corp:"corps",webhooks:"webhook",preferences:"preference"},ny1={corps:["list","search","get","current"],rules:["count","list","versions","version","get","search","lint","linters","pull"],webhook:["ready","status","list","get","resource-pack export","resource-pack preview"],"approval-runs":["summary","stats","count","export","flow","list","search","pick","bridge","get","cited-rules","document-summary","attachments","result","link","url"],simulation:["batch-records","status","wait","specifications","approval-definitions","list","get","templates","integrations"],deploy:["hosecloud requirements","hosecloud list","hosecloud get","hosecloud status"],preference:["get","thinking-depth policies list"],config:["paths","get","mode","lint"],auth:["diagnose"],delegation:["list"],users:["search","get","delegation"],contacts:["departments","children","users","sync-time"],data:["expenses","invoices"],llm:["config","providers"],permissions:["available","configs"],billing:["status","plans","features"],analytics:["insight","risks","performance","export"],source:["config"],tools:["list"],skill:["dump","status"],service:["status","logs"],doctor:["","guide","paths","tenant"],openapi:[""]},py1=new Set(["version","v","help","changelog","mcp-config"])});var uS0={};x8(uS0,{tokenizeCommand:()=>_q,startServer:()=>rg0,resolveMcpEnabled:()=>lg0,createServer:()=>og0,SEAL_MCP_ENABLED_ENV:()=>dg0,SEAL_CLI_WRITE_TOOL_NAME:()=>kq,SEAL_CLI_TOOL_NAME:()=>lT,LEGACY_SEAL_MCP_ENABLED_ENV:()=>mg0});import{dirname as gq,resolve as cg0}from"node:path";import{fileURLToPath as my1}from"node:url";function lg0($=process.env[dg0]??process.env[mg0]){if($===void 0)return!1;return["1","true","yes","on"].includes($.trim().toLowerCase())}function og0($={}){let Y=$.enableCli??!0,U=new wH({name:"seal-use",version:P1},{capabilities:{tools:{}}});if(Y){let z=L.strictObject({command:L.string().describe("A seal-use CLI command, with or without the leading 'seal-use' or 'seal-home'.")});U.registerTool(lT,{title:"Run read-only seal-use CLI command",description:"Run a read-only seal-use CLI command and return its JSON stdout. Only commands that read tenant state without changing it are accepted here; anything that mutates tenant state, publishes configuration, mints credentials, self-updates or starts a server is "+`refused — use ${kq} for those after confirming with the user.`,inputSchema:z,annotations:{readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},async({command:Q})=>ng0(Q,{requireReadOnly:!0})),U.registerTool(kq,{title:"Run mutating seal-use CLI command",description:"Run a seal-use CLI command that changes tenant state, publishes configuration, or sends things outward (create/update/push/mark/bind/sync/deploy/delete/reset-password, rule publishing, simulation batches, self-update). Confirm the exact command with the user before calling this tool.",inputSchema:z,annotations:{readOnlyHint:!1,destructiveHint:!0,idempotentHint:!1,openWorldHint:!0}},async({command:Q})=>ng0(Q,{requireReadOnly:!1}))}return U}async function ng0($,Y){let U=Y.requireReadOnly?lT:kq;if(!$?.trim())return yq({stdout:"",stderr:`${U} requires a non-empty command string`,isError:!0,exitCode:2});let z;try{if(z=CS0(_q($)),!z.length)throw Error(`${U} requires a non-empty command string`)}catch(Q){let J=hZ(Q);return yq({stdout:"",stderr:Q instanceof Error?Q.message:String(Q),isError:!0,exitCode:J.exitCode})}if(Y.requireReadOnly&&!bg0(z))return yq({stdout:"",stderr:`${lT} only runs read-only commands, and "${z.join(" ")}" is not one of them. Confirm the command with the user, then call ${kq}.`,isError:!0,exitCode:2});try{return yq(await vq(z,{appRoot:pg0,entryFile:o3,launcher:{command:process.execPath,args:[o3,"--seal-home-cli"]}}))}catch(Q){let J=hZ(Q);return yq({stdout:"",stderr:Q instanceof Error?Q.message:String(Q),isError:!0,exitCode:J.exitCode})}}function rg0(){let $=lg0(),Y=Ce(()=>og0({enableCli:$}));return console.error($?"seal-use MCP server running on stdio":"seal-use MCP server connected with seal_cli disabled by configuration"),Y}function yq($){return{content:[{type:"text",text:$.isError?$.stderr||$.stdout:$.stdout}],isError:$.isError}}async function ly1(){let $=await vq(process.argv.slice(3),{appRoot:pg0,entryFile:o3,launcher:{command:process.execPath,args:[o3,"--seal-use-cli"]}});if($.stdout)process.stdout.write($.stdout);if($.stderr)process.stderr.write(`${$.stderr}${$.stderr.endsWith(` +`);if(f0(V),Ag0(Z))Bg0(Y.launcher);return}let H=Z_0(U);if(H.isHelp){F_0(H.target);return}if(!G||!fy1.has(G))throw Error(`Unknown command: ${U.command.join(" ")}. Run 'seal-use help' for available commands.`);if(G==="webhook"&&(Q==="resource-pack"||Q==="pack"||Q==="material-pack")&&J==="preview"){let Z=U.command[3]??h(U.options.file)??h(U.options.input);if(!Z)throw Error("Usage: seal-use webhook resource-pack preview <资源包.zip>");await O_0(Z,gK(U.options));return}if(G==="openapi"){iS0(U);return}if(G==="mcp-config"){Zo();return}if(G==="skill"){Kg0(Q,J,U);return}if(G==="mcp"||G==="server"){await xS0(Q,U);return}if(G==="probe"){await sS0(Q,J,U);return}if(G==="doctor"){await PS0(Q,J,U);return}if(G==="test"){await Ao(Q,J,U);return}if(G==="config"){Hh0(Q,J,U);return}if(G==="service"){await Oo(Q,Y,U);return}if(G==="stop"){await Oo("stop",Y,U);return}if(G==="http"||G==="serve"){await SS0(U);return}if(K||G==="changelog"){if(K&&z!=="update")console.error(`⚠️ Notice: '${z}' is an alias for 'seal-use update'. Please use 'seal-use update' instead.`);let Z=Q?.toLowerCase(),q=G==="changelog"||Z==="changelog"||Z==="log"||Z==="history"||Z0(U.options.changelog)===!0,V=Z==="check"||Z0(U.options.check)===!0||Z0(U.options["check-only"])===!0,F=Z0(U.options["bg-save"])===!0||Z0(U.options["silent-save"])===!0,M=h(U.options.version)??h(U.options.tag)??(!q&&!V&&!F&&Q&&!Q.startsWith("-")?Q:void 0);await Rg0(Y,{checkOnly:V||F,changelogOnly:q,limit:s0(U.options.limit),force:Z0(U.options.force),targetVersion:M,repo:h(U.options.repo),bgSave:F});return}if(G==="tools"&&Q==="list"){wg0();return}if(G==="corps"||G==="corp"){if(Q==="regression"||Q==="test-regression"){await Ao("regression",J,U);return}await av0(Q,J,U);return}if(G==="delegation"&&Q==="create"&&(("from-link"in U.options)||("link"in U.options))){let Z=h(U.options["from-link"])??h(U.options.link);if(!Z)throw Error("Usage: seal-use delegation create --from-link [--note ]");await wh0(Z,h(U.options.note));return}if(G==="rules"&&Q==="lint"&&(("file"in U.options)||("f"in U.options))){let Z;try{Z=j1(h(U.options.corp))}catch{Z={id:"local",name:"Local Workspace",source:{type:"native"}}}await qo(Q,J,null,Z,U);return}if(G==="auth"&&(Q==="extract-keys"||Q==="extract-key")){await zh0(J,U);return}let W=j1(h(U.options.corp));if(G==="source"){await Hg0(Q,W);return}if(G==="auth"){await Qh0(Q,W,U);return}let X=await B1(W);if(G==="delegation"){await Mh0(Q,J,X,W,U);return}if(G==="users"){await yg0(Q,J,X,W,U);return}if(G==="contacts"){await Xh0(Q,J,X,W,U);return}if(G==="data"){await qh0(Q,X,W,U);return}if(G==="llm"){await yS0(Q,X,W,U);return}if(G==="permissions"){await nS0(Q,X,W,U);return}if(G==="billing"){await Kh0(Q,X,W,U);return}if(G==="webhook"||G==="webhooks"){await OT(Q,J,X,W,U);return}if(G==="context"){await Lh0(X,W,U);return}if(G==="rules"){await qo(Q,J,X,W,U);return}if(G==="approval-runs"){await N_0(Q,J,X,W,U);return}if(G==="analytics"){await A_0(Q,J,X,W,U);return}if(G==="simulation"){await Qg0(Q,J,X,W,U);return}if(G==="deploy"){await Nh0(Q,J,U.command[3],X,W,U);return}if(G==="preference"||G==="preferences"){await mS0(Q,J,U.command[3],U.command[4],X,W,U);return}if(G==="tool"){await Lg0(Q,X,W,U);return}throw Error(`Unknown command: ${U.command.join(" ")}. Run 'seal-use help' for available commands.`)}var xg0,xy1,fy1,uy1,fg0;var Wo=m(()=>{i8();e9();D_0();B_0();Ih0();Gh0();Wh0();Zh0();Vh0();Fh0();pl();Oh0();Dh0();TS0();gS0();kS0();fS0();cS0();pS0();lS0();aS0();tS0();No();Jg0();Gg0();Wg0();Vg0();Fg0();Mg0();gg0();Bo();kg0();Cl();L$();f4();D4();jl();J4();xg0=Eo(Eo(Eo(ky1(import.meta.url)))),xy1=new Set(["update","upgrade","up","self-update","selfupdate"]),fy1=new Set(["config","service","stop","http","serve","update","tools","corps","corp","tool","source","auth","delegation","users","contacts","data","llm","permissions","billing","webhook","webhooks","context","rules","approval-runs","analytics","simulation","deploy","preference","preferences","mcp","server","mcp-config","skill","openapi","probe","doctor","changelog","test"]),uy1=new Set(["http","server","web","mcp"]);fg0=Promise.resolve()});function dy1($){let{command:Y}=Mq($),U=(Y[0]??"").toLowerCase();return{area:cy1[U]??U,actionTokens:Y.slice(1).map((z)=>z.toLowerCase())}}function bg0($){let Y,U;try{({area:Y,actionTokens:U}=dy1($))}catch{return!1}if(U.length===0&&py1.has(Y))return!0;if(Y==="tool"){let Q=U[0];return Q!==void 0&&eR0(Q)}let z=ny1[Y];if(!z)return!1;return z.some((Q)=>{let J=Q.split(" ").filter(Boolean);if(J.length===0)return U.length===0;if(J.length>U.length)return!1;return J.every((I,K)=>I===U[K])})}var cy1,ny1,py1;var ig0=m(()=>{wq();D4();cy1={corp:"corps",webhooks:"webhook",preferences:"preference"},ny1={corps:["list","search","get","current"],rules:["count","list","versions","version","get","search","lint","linters","pull"],webhook:["ready","status","list","get","resource-pack export","resource-pack preview"],"approval-runs":["summary","stats","count","export","flow","list","search","pick","bridge","get","cited-rules","document-summary","attachments","result","link","url"],simulation:["batch-records","status","wait","specifications","approval-definitions","list","get","templates","integrations"],deploy:["hosecloud requirements","hosecloud list","hosecloud get","hosecloud status"],preference:["get","thinking-depth policies list"],config:["paths","get","mode","lint"],auth:["diagnose"],delegation:["list"],users:["search","get","delegation"],contacts:["departments","children","users","sync-time"],data:["expenses","invoices"],llm:["config","providers"],permissions:["available","configs"],billing:["status","plans","features"],analytics:["insight","risks","performance","export"],source:["config"],tools:["list"],skill:["dump","status"],service:["status","logs"],doctor:["","guide","paths","tenant"],openapi:[""]},py1=new Set(["version","v","help","changelog","mcp-config"])});var uS0={};x8(uS0,{tokenizeCommand:()=>_q,startServer:()=>rg0,resolveMcpEnabled:()=>lg0,createServer:()=>og0,SEAL_MCP_ENABLED_ENV:()=>dg0,SEAL_CLI_WRITE_TOOL_NAME:()=>kq,SEAL_CLI_TOOL_NAME:()=>lT,LEGACY_SEAL_MCP_ENABLED_ENV:()=>mg0});import{dirname as gq,resolve as cg0}from"node:path";import{fileURLToPath as my1}from"node:url";function lg0($=process.env[dg0]??process.env[mg0]){if($===void 0)return!1;return["1","true","yes","on"].includes($.trim().toLowerCase())}function og0($={}){let Y=$.enableCli??!0,U=new wH({name:"seal-use",version:P1},{capabilities:{tools:{}}});if(Y){let z=L.strictObject({command:L.string().describe("A seal-use CLI command, with or without the leading 'seal-use' or 'seal-home'.")});U.registerTool(lT,{title:"Run read-only seal-use CLI command",description:"Run a read-only seal-use CLI command and return its JSON stdout. Only commands that read tenant state without changing it are accepted here; anything that mutates tenant state, publishes configuration, mints credentials, self-updates or starts a server is "+`refused — use ${kq} for those after confirming with the user.`,inputSchema:z,annotations:{readOnlyHint:!0,destructiveHint:!1,idempotentHint:!0,openWorldHint:!0}},async({command:Q})=>ng0(Q,{requireReadOnly:!0})),U.registerTool(kq,{title:"Run mutating seal-use CLI command",description:"Run a seal-use CLI command that changes tenant state, publishes configuration, or sends things outward (create/update/push/mark/bind/sync/deploy/delete/reset-password, rule publishing, simulation batches, self-update). Confirm the exact command with the user before calling this tool.",inputSchema:z,annotations:{readOnlyHint:!1,destructiveHint:!0,idempotentHint:!1,openWorldHint:!0}},async({command:Q})=>ng0(Q,{requireReadOnly:!1}))}return U}async function ng0($,Y){let U=Y.requireReadOnly?lT:kq;if(!$?.trim())return yq({stdout:"",stderr:`${U} requires a non-empty command string`,isError:!0,exitCode:2});let z;try{if(z=CS0(_q($)),!z.length)throw Error(`${U} requires a non-empty command string`)}catch(Q){let J=hZ(Q);return yq({stdout:"",stderr:Q instanceof Error?Q.message:String(Q),isError:!0,exitCode:J.exitCode})}if(Y.requireReadOnly&&!bg0(z))return yq({stdout:"",stderr:`${lT} only runs read-only commands, and "${z.join(" ")}" is not one of them. Confirm the command with the user, then call ${kq}.`,isError:!0,exitCode:2});try{return yq(await vq(z,{appRoot:pg0,entryFile:o3,launcher:{command:process.execPath,args:[o3,"--seal-home-cli"]}}))}catch(Q){let J=hZ(Q);return yq({stdout:"",stderr:Q instanceof Error?Q.message:String(Q),isError:!0,exitCode:J.exitCode})}}function rg0(){let $=lg0(),Y=Ce(()=>og0({enableCli:$}));return console.error($?"seal-use MCP server running on stdio":"seal-use MCP server connected with seal_cli disabled by configuration"),Y}function yq($){return{content:[{type:"text",text:$.isError?$.stderr||$.stdout:$.stdout}],isError:$.isError}}async function ly1(){let $=await vq(process.argv.slice(3),{appRoot:pg0,entryFile:o3,launcher:{command:process.execPath,args:[o3,"--seal-use-cli"]}});if($.stdout)process.stdout.write($.stdout);if($.stderr)process.stderr.write(`${$.stderr}${$.stderr.endsWith(` `)?"":` `}`);process.exitCode=$.exitCode}var o3,pg0,lT="seal_cli",kq="seal_cli_write",dg0="SEAL_USE_MCP_ENABLED",mg0="SEAL_HOME_MCP_ENABLED",oy1;var bS0=m(async()=>{je();Re();A$();Wo();ig0();L$();e9();o3=my1(import.meta.url),pg0=o3.includes("/dist/mcp/")||o3.includes("\\dist\\mcp\\")?gq(gq(gq(o3))):gq(gq(o3));oy1=Boolean(I0.main==I0.module||!import.meta.url.includes("$bunfs")&&process.argv[1]&&cg0(process.argv[1])===cg0(o3));if(oy1)if(process.argv[2]==="--seal-use-cli"||process.argv[2]==="--seal-home-cli")await ly1();else try{rg0()}catch($){console.error($),process.exitCode=1}});await bS0();export{_q as tokenizeCommand,rg0 as startServer,lg0 as resolveMcpEnabled,og0 as createServer,dg0 as SEAL_MCP_ENABLED_ENV,kq as SEAL_CLI_WRITE_TOOL_NAME,lT as SEAL_CLI_TOOL_NAME,mg0 as LEGACY_SEAL_MCP_ENABLED_ENV}; diff --git a/src/cli/commands/approval-runs.ts b/src/cli/commands/approval-runs.ts index 87f9cb3..4c0cd04 100644 --- a/src/cli/commands/approval-runs.ts +++ b/src/cli/commands/approval-runs.ts @@ -54,7 +54,7 @@ export async function handleApprovalRunsCommand( } if (action === "stats") { - await runTool( + const result = (await runToolResult( "seal_approval_runs_stats", client, corp, @@ -64,9 +64,16 @@ export async function handleApprovalRunsCommand( status: stringOption(args.options.status), sourceSystem: stringOption(args.options.sourceSystem) ?? stringOption(args.options["source-system"]), taskMode: stringOption(args.options.taskMode) ?? stringOption(args.options["task-mode"]) - }, - outputOptions(args.options) - ); + } + )) as any; + + if (result && typeof result.duplicateRuns === "number" && result.duplicateRuns > 0) { + console.error( + `ℹ️ 单据去重提示: 总记录 ${result.total} 笔,涵盖 ${result.unique} 笔独立单据 (含 ${result.duplicateRuns} 笔修改重推/重跑记录)` + ); + } + + printJson(result, outputOptions(args.options)); return; } diff --git a/src/core/doctor/tenant-diagnose.ts b/src/core/doctor/tenant-diagnose.ts index 8d264b6..a7e5544 100644 --- a/src/core/doctor/tenant-diagnose.ts +++ b/src/core/doctor/tenant-diagnose.ts @@ -157,7 +157,7 @@ export async function diagnoseTenantContract( status: "fail", summary: `当前额度已耗尽 (余量 0 点),无法执行审批模拟或回归测试`, details: { balance, deductionAmount, estimatedRuns }, - recommendation: "请联系管理员为企业充值 AI 审批额度" + recommendation: `请前往后台充值补充额度 (可通过 seal-use auth link --corp ${corp.id} 免密直达)` }); } else if (estimatedRuns < 10) { quotaInfo.status = "low"; @@ -167,7 +167,7 @@ export async function diagnoseTenantContract( status: "warn", summary: `额度偏低:剩余 ${balance} 点 (单笔扣除 ${deductionAmount} 点),仅可支持约 ${estimatedRuns} 笔审核`, details: { balance, deductionAmount, estimatedRuns }, - recommendation: "建议在发起大规模自动化回归前充值补充额度" + recommendation: `建议补充额度 (可通过 seal-use auth link --corp ${corp.id} 免密直达)` }); } else { quotaInfo.status = "sufficient"; @@ -275,10 +275,9 @@ export async function diagnoseTenantContract( checks.push({ id: "webhook_integrations", name: "单据推送 Webhook 通道", - status: "warn", - summary: "未配置任何 Webhook 集成通道,执行重放测试时将自动创建临时回放通道", - details: { integrationCount: 0 }, - recommendation: "可运行 seal-use webhook add --name (回放通道) 手动注册专属通道" + status: "pass", + summary: "未配置任何 Webhook 集成通道 (日常审批无影响;若需自动化系统推流或单据重放将自动创建)", + details: { integrationCount: 0 } }); } else { checks.push({ @@ -418,6 +417,9 @@ export function formatTenantDoctorDashboard(diagnosis: TenantDoctorDiagnosis): s lines.push(" " + "─".repeat(60)); lines.push(` 检查汇总: 通过 ${summary.passedChecks} · 告警 ${summary.warningChecks} · 失败 ${summary.failedChecks}`); + if (quota.status === "exhausted" || quota.status === "low") { + lines.push(` 👉 Next action: seal-use auth link --corp ${corp.id}`); + } lines.push(""); return lines.join("\n"); diff --git a/src/domains/seal/tools.ts b/src/domains/seal/tools.ts index 456340e..93b6bce 100644 --- a/src/domains/seal/tools.ts +++ b/src/domains/seal/tools.ts @@ -2652,10 +2652,17 @@ export const sealTools = [ if (key) uniqueKeys.add(String(key)); } + const duplicateRuns = Math.max(0, records.length - uniqueKeys.size); + return { total: records.length, dedupeBy, unique: uniqueKeys.size, + duplicateRuns, + dedupeNote: + duplicateRuns > 0 + ? `存在 ${duplicateRuns} 笔重复运行记录 (同一单据重跑或修改重推)` + : "全部单据唯一,无重复记录", byStatus, bySourceSystem };