@tempad-dev/mcp 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/README.md +5 -1
  2. package/README.zh-Hans.md +3 -1
  3. package/dist/{acquire-TEiVy85j.mjs → acquire-C1v5UQB2.mjs} +1 -1
  4. package/dist/{acquire-DkkzoJ5Z.mjs → acquire-DK4Fg36-.mjs} +6 -7
  5. package/dist/{acquire-DkkzoJ5Z.mjs.map → acquire-DK4Fg36-.mjs.map} +1 -1
  6. package/dist/{bootstrap-Cz9cxf6f.mjs → bootstrap-CNJpiOAm.mjs} +14 -15
  7. package/dist/{bootstrap-Cz9cxf6f.mjs.map → bootstrap-CNJpiOAm.mjs.map} +1 -1
  8. package/dist/cli.mjs +12 -13
  9. package/dist/cli.mjs.map +1 -1
  10. package/dist/{client-binding-CuHY1-__.mjs → client-binding-CvSSv9JC.mjs} +4 -5
  11. package/dist/{client-binding-CuHY1-__.mjs.map → client-binding-CvSSv9JC.mjs.map} +1 -1
  12. package/dist/{cold-start-DnlXxs4o.mjs → cold-start-BOLlW_0n.mjs} +11 -12
  13. package/dist/{cold-start-DnlXxs4o.mjs.map → cold-start-BOLlW_0n.mjs.map} +1 -1
  14. package/dist/{cold-start-r07QQPSK.mjs → cold-start-DeFnhN3x.mjs} +1 -1
  15. package/dist/{config-CM4LsvW5.mjs → config-Busa_Dqv.mjs} +42 -31
  16. package/dist/config-Busa_Dqv.mjs.map +1 -0
  17. package/dist/{design-task-store-C9DJ_EQq.mjs → design-task-store-BHR54v8-.mjs} +8 -10
  18. package/dist/{design-task-store-C9DJ_EQq.mjs.map → design-task-store-BHR54v8-.mjs.map} +1 -1
  19. package/dist/{durable-json-dsqpwT93.mjs → durable-json-_WKesGDj.mjs} +2 -3
  20. package/dist/{durable-json-dsqpwT93.mjs.map → durable-json-_WKesGDj.mjs.map} +1 -1
  21. package/dist/{edge-C5SyBEy3.mjs → edge-DP-CwLYS.mjs} +1 -1
  22. package/dist/{edge-DBOKhsN4.mjs → edge-m9VuTeju.mjs} +14 -15
  23. package/dist/{edge-DBOKhsN4.mjs.map → edge-m9VuTeju.mjs.map} +1 -1
  24. package/dist/{hook-receipts-DcO9rRhi.mjs → hook-receipts-QJU3AMoY.mjs} +4 -5
  25. package/dist/{hook-receipts-DcO9rRhi.mjs.map → hook-receipts-QJU3AMoY.mjs.map} +1 -1
  26. package/dist/{host-context-CRMK5AI5.mjs → host-context-9TVtjsSm.mjs} +3 -4
  27. package/dist/{host-context-CRMK5AI5.mjs.map → host-context-9TVtjsSm.mjs.map} +1 -1
  28. package/dist/{hub-control-591ZGr_p.mjs → hub-control-UlA4Fncg.mjs} +7 -9
  29. package/dist/{hub-control-591ZGr_p.mjs.map → hub-control-UlA4Fncg.mjs.map} +1 -1
  30. package/dist/{hub-runtime-j_CZJnWz.mjs → hub-runtime-BBnfo1yd.mjs} +162 -158
  31. package/dist/hub-runtime-BBnfo1yd.mjs.map +1 -0
  32. package/dist/{hub-runtime-_GWa0RDc.mjs → hub-runtime-U3Set0EC.mjs} +1 -1
  33. package/dist/hub.mjs +3 -4
  34. package/dist/{identity-BgzOQE2L.mjs → identity-CCaDEwgc.mjs} +4 -5
  35. package/dist/{identity-BgzOQE2L.mjs.map → identity-CCaDEwgc.mjs.map} +1 -1
  36. package/dist/{indexes-CCA-CTcL.mjs → indexes-zYqwqnU6.mjs} +10 -12
  37. package/dist/{indexes-CCA-CTcL.mjs.map → indexes-zYqwqnU6.mjs.map} +1 -1
  38. package/dist/log-transport.mjs +234 -143
  39. package/dist/log-transport.mjs.map +1 -1
  40. package/dist/managed-runtime.mjs +15 -17
  41. package/dist/managed-runtime.mjs.map +1 -1
  42. package/dist/{on-exit-leak-free-BvimJ0rP.mjs → on-exit-leak-free-By20-eFK.mjs} +6 -8
  43. package/dist/{on-exit-leak-free-BvimJ0rP.mjs.map → on-exit-leak-free-By20-eFK.mjs.map} +1 -1
  44. package/dist/{pino-CLoB7tK6.mjs → pino-BiEyUxFF.mjs} +56 -82
  45. package/dist/pino-BiEyUxFF.mjs.map +1 -0
  46. package/dist/{pino-abstract-transport-B0ISte63.mjs → pino-abstract-transport-BBwCGDga.mjs} +4 -6
  47. package/dist/{pino-abstract-transport-B0ISte63.mjs.map → pino-abstract-transport-BBwCGDga.mjs.map} +1 -1
  48. package/dist/pino-file.mjs +3 -4
  49. package/dist/pino-worker.mjs +6 -8
  50. package/dist/pino-worker.mjs.map +1 -1
  51. package/dist/{probe-B6KQJxXU.mjs → probe-CqjOWdnP.mjs} +40 -55
  52. package/dist/probe-CqjOWdnP.mjs.map +1 -0
  53. package/dist/{process-environment-DJDtCcdv.mjs → process-environment-DRRIdoL8.mjs} +2 -3
  54. package/dist/{process-environment-DJDtCcdv.mjs.map → process-environment-DRRIdoL8.mjs.map} +1 -1
  55. package/dist/{processes-n0G2xAWb.mjs → processes-BnvaDi81.mjs} +1 -1
  56. package/dist/{processes-CQvuh1Sl.mjs → processes-DOmrri5n.mjs} +17 -23
  57. package/dist/{processes-CQvuh1Sl.mjs.map → processes-DOmrri5n.mjs.map} +1 -1
  58. package/dist/{proper-lockfile-CisPoFAZ.mjs → proper-lockfile-BgKrOq5D.mjs} +19 -32
  59. package/dist/{proper-lockfile-CisPoFAZ.mjs.map → proper-lockfile-BgKrOq5D.mjs.map} +1 -1
  60. package/dist/{protocol-DNswG6F2.mjs → protocol-7m-E_iFu.mjs} +57 -108
  61. package/dist/protocol-7m-E_iFu.mjs.map +1 -0
  62. package/dist/{protocol-0jvK718o.mjs → protocol-COK3rM6m.mjs} +1 -1
  63. package/dist/{rolldown-runtime-CLlik3RS.mjs → rolldown-runtime-BH1-_iVd.mjs} +2 -3
  64. package/dist/{runtime-identity-BiWIlGgw.mjs → runtime-identity-D9V-g5M-.mjs} +2 -3
  65. package/dist/{runtime-identity-BiWIlGgw.mjs.map → runtime-identity-D9V-g5M-.mjs.map} +1 -1
  66. package/dist/runtime-installer.mjs +4 -5
  67. package/dist/runtime-manifest.json +109 -109
  68. package/dist/{runtime-platform-EULgJm_w.mjs → runtime-platform-CpunJOI4.mjs} +144 -45
  69. package/dist/runtime-platform-CpunJOI4.mjs.map +1 -0
  70. package/dist/{runtime-recovery-Dq3hD3IT.mjs → runtime-recovery-DAYSaVV2.mjs} +1 -1
  71. package/dist/{runtime-recovery-DpqftTl9.mjs → runtime-recovery-DaRaQ8qY.mjs} +5 -6
  72. package/dist/{runtime-recovery-DpqftTl9.mjs.map → runtime-recovery-DaRaQ8qY.mjs.map} +1 -1
  73. package/dist/runtime-verification.mjs +6 -6
  74. package/dist/{schemas-BgOH6OcJ.mjs → schemas-ZDdPV7RQ.mjs} +23 -39
  75. package/dist/schemas-ZDdPV7RQ.mjs.map +1 -0
  76. package/dist/{server-C-tcoOT7.mjs → server-CsCpY0Ft.mjs} +645 -287
  77. package/dist/server-CsCpY0Ft.mjs.map +1 -0
  78. package/dist/{shared--CO_WPTx.mjs → shared-8_j_xlsJ.mjs} +20 -22
  79. package/dist/{shared--CO_WPTx.mjs.map → shared-8_j_xlsJ.mjs.map} +1 -1
  80. package/dist/{state-3mPLv7lh.mjs → shared-Bvmw_Pv0.mjs} +1 -1
  81. package/dist/{src-BGNQgTr6.mjs → src-BSnzZMvK.mjs} +3 -4
  82. package/dist/{src-BGNQgTr6.mjs.map → src-BSnzZMvK.mjs.map} +1 -1
  83. package/dist/{stable-edge-DQmYi4Mf.mjs → stable-edge-VAAxSYSS.mjs} +10 -14
  84. package/dist/stable-edge-VAAxSYSS.mjs.map +1 -0
  85. package/dist/{startup-log-iSoBU74r.mjs → startup-log-BI24ryBR.mjs} +3 -4
  86. package/dist/{startup-log-iSoBU74r.mjs.map → startup-log-BI24ryBR.mjs.map} +1 -1
  87. package/dist/{startup-log-C4DVL-6M.mjs → startup-log-isQ9Wv18.mjs} +1 -1
  88. package/dist/{state-CnkSwi5E.mjs → state-4Dz7r-_n.mjs} +5 -6
  89. package/dist/{state-CnkSwi5E.mjs.map → state-4Dz7r-_n.mjs.map} +1 -1
  90. package/dist/{shared-B8lb63iG.mjs → state-DDpxeTVd.mjs} +1 -1
  91. package/dist/{stdio-CZb1NNIa.mjs → stdio-20SBFdww.mjs} +3 -4
  92. package/dist/{stdio-CZb1NNIa.mjs.map → stdio-20SBFdww.mjs.map} +1 -1
  93. package/dist/{supervisor-B9lkK4ey.mjs → supervisor-Cu-xRt1k.mjs} +23 -27
  94. package/dist/{supervisor-B9lkK4ey.mjs.map → supervisor-Cu-xRt1k.mjs.map} +1 -1
  95. package/dist/{task-storage-recovery-_JdAWD5X.mjs → task-storage-recovery-fSo2eskS.mjs} +6 -7
  96. package/dist/{task-storage-recovery-_JdAWD5X.mjs.map → task-storage-recovery-fSo2eskS.mjs.map} +1 -1
  97. package/dist/thread-stream-worker.mjs +5 -6
  98. package/dist/thread-stream-worker.mjs.map +1 -1
  99. package/dist/{types-BEqvvpHh.mjs → types-C8GH0osr.mjs} +1 -1
  100. package/dist/{types-gJ5HkL66.mjs → types-kNTSQOnR.mjs} +4 -6
  101. package/dist/{types-gJ5HkL66.mjs.map → types-kNTSQOnR.mjs.map} +1 -1
  102. package/package.json +1 -1
  103. package/dist/config-CM4LsvW5.mjs.map +0 -1
  104. package/dist/hub-runtime-j_CZJnWz.mjs.map +0 -1
  105. package/dist/pino-CLoB7tK6.mjs.map +0 -1
  106. package/dist/probe-B6KQJxXU.mjs.map +0 -1
  107. package/dist/protocol-DNswG6F2.mjs.map +0 -1
  108. package/dist/runtime-platform-EULgJm_w.mjs.map +0 -1
  109. package/dist/schemas-BgOH6OcJ.mjs.map +0 -1
  110. package/dist/server-C-tcoOT7.mjs.map +0 -1
  111. package/dist/stable-edge-DQmYi4Mf.mjs.map +0 -1
@@ -4,10 +4,10 @@ globalThis.__bundlerPathsOverrides = {
4
4
  'pino-worker': runtimeFilePath(new URL('./pino-worker.mjs', import.meta.url)),
5
5
  'pino/file': runtimeFilePath(new URL('./pino-file.mjs', import.meta.url))
6
6
  };
7
- import { i as __toESM, t as __commonJSMin } from "./rolldown-runtime-CLlik3RS.mjs";
8
- import { C as CreateTaskResultSchema, F as ErrorCode, N as EmptyResultSchema, S as CreateMessageResultWithToolsSchema, Y as InitializedNotificationSchema, an as SUPPORTED_PROTOCOL_VERSIONS, c as CallToolResultSchema, dt as ListRootsResultSchema, fn as SetLevelRequestSchema, gt as LoggingLevelSchema, k as ElicitResultSchema, q as InitializeRequestSchema, s as CallToolRequestSchema, tt as LATEST_PROTOCOL_VERSION, x as CreateMessageResultSchema, yt as McpError } from "./types-gJ5HkL66.mjs";
9
- import { D as safeParse, _ as Protocol, b as getLiteralValue, v as mergeCapabilities, x as getObjectShape } from "./protocol-DNswG6F2.mjs";
10
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
7
+ import { i as __toESM, t as __commonJSMin } from "./rolldown-runtime-BH1-_iVd.mjs";
8
+ import { D as safeParse, _ as Protocol, b as getLiteralValue, v as mergeCapabilities, x as getObjectShape } from "./protocol-7m-E_iFu.mjs";
9
+ import { C as CreateTaskResultSchema, F as ErrorCode, N as EmptyResultSchema, S as CreateMessageResultWithToolsSchema, Y as InitializedNotificationSchema, an as SUPPORTED_PROTOCOL_VERSIONS, c as CallToolResultSchema, dt as ListRootsResultSchema, fn as SetLevelRequestSchema, gt as LoggingLevelSchema, k as ElicitResultSchema, q as InitializeRequestSchema, s as CallToolRequestSchema, tt as LATEST_PROTOCOL_VERSION, x as CreateMessageResultSchema, yt as McpError } from "./types-kNTSQOnR.mjs";
10
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
11
11
  var require_code$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
@@ -141,8 +141,7 @@ var require_code$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
141
141
  }
142
142
  exports.regexpCode = regexpCode;
143
143
  }));
144
- //#endregion
145
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
144
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
146
145
  var require_scope = /* @__PURE__ */ __commonJSMin(((exports) => {
147
146
  Object.defineProperty(exports, "__esModule", { value: true });
148
147
  exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
@@ -278,8 +277,7 @@ var require_scope = /* @__PURE__ */ __commonJSMin(((exports) => {
278
277
  };
279
278
  exports.ValueScope = ValueScope;
280
279
  }));
281
- //#endregion
282
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
280
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
283
281
  var require_codegen = /* @__PURE__ */ __commonJSMin(((exports) => {
284
282
  Object.defineProperty(exports, "__esModule", { value: true });
285
283
  exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
@@ -947,8 +945,7 @@ var require_codegen = /* @__PURE__ */ __commonJSMin(((exports) => {
947
945
  return x instanceof code_1.Name ? x : (0, code_1._)`(${x})`;
948
946
  }
949
947
  }));
950
- //#endregion
951
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
948
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
952
949
  var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
953
950
  Object.defineProperty(exports, "__esModule", { value: true });
954
951
  exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
@@ -1088,8 +1085,7 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
1088
1085
  }
1089
1086
  exports.checkStrictMode = checkStrictMode;
1090
1087
  }));
1091
- //#endregion
1092
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
1088
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
1093
1089
  var require_names = /* @__PURE__ */ __commonJSMin(((exports) => {
1094
1090
  Object.defineProperty(exports, "__esModule", { value: true });
1095
1091
  const codegen_1 = require_codegen();
@@ -1112,8 +1108,7 @@ var require_names = /* @__PURE__ */ __commonJSMin(((exports) => {
1112
1108
  jsonPart: new codegen_1.Name("jsonPart")
1113
1109
  };
1114
1110
  }));
1115
- //#endregion
1116
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
1111
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
1117
1112
  var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
1118
1113
  Object.defineProperty(exports, "__esModule", { value: true });
1119
1114
  exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
@@ -1208,8 +1203,7 @@ var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
1208
1203
  if (propertyName) keyValues.push([E.propertyName, propertyName]);
1209
1204
  }
1210
1205
  }));
1211
- //#endregion
1212
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
1206
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
1213
1207
  var require_boolSchema = /* @__PURE__ */ __commonJSMin(((exports) => {
1214
1208
  Object.defineProperty(exports, "__esModule", { value: true });
1215
1209
  exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
@@ -1250,8 +1244,7 @@ var require_boolSchema = /* @__PURE__ */ __commonJSMin(((exports) => {
1250
1244
  (0, errors_1.reportError)(cxt, boolError, void 0, overrideAllErrors);
1251
1245
  }
1252
1246
  }));
1253
- //#endregion
1254
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
1247
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
1255
1248
  var require_rules = /* @__PURE__ */ __commonJSMin(((exports) => {
1256
1249
  Object.defineProperty(exports, "__esModule", { value: true });
1257
1250
  exports.getRules = exports.isJSONType = void 0;
@@ -1308,8 +1301,7 @@ var require_rules = /* @__PURE__ */ __commonJSMin(((exports) => {
1308
1301
  }
1309
1302
  exports.getRules = getRules;
1310
1303
  }));
1311
- //#endregion
1312
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
1304
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
1313
1305
  var require_applicability = /* @__PURE__ */ __commonJSMin(((exports) => {
1314
1306
  Object.defineProperty(exports, "__esModule", { value: true });
1315
1307
  exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
@@ -1328,8 +1320,7 @@ var require_applicability = /* @__PURE__ */ __commonJSMin(((exports) => {
1328
1320
  }
1329
1321
  exports.shouldUseRule = shouldUseRule;
1330
1322
  }));
1331
- //#endregion
1332
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
1323
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
1333
1324
  var require_dataType = /* @__PURE__ */ __commonJSMin(((exports) => {
1334
1325
  Object.defineProperty(exports, "__esModule", { value: true });
1335
1326
  exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
@@ -1492,8 +1483,7 @@ var require_dataType = /* @__PURE__ */ __commonJSMin(((exports) => {
1492
1483
  };
1493
1484
  }
1494
1485
  }));
1495
- //#endregion
1496
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
1486
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
1497
1487
  var require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {
1498
1488
  Object.defineProperty(exports, "__esModule", { value: true });
1499
1489
  exports.assignDefaults = void 0;
@@ -1518,8 +1508,7 @@ var require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {
1518
1508
  gen.if(condition, (0, codegen_1._)`${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);
1519
1509
  }
1520
1510
  }));
1521
- //#endregion
1522
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
1511
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
1523
1512
  var require_code = /* @__PURE__ */ __commonJSMin(((exports) => {
1524
1513
  Object.defineProperty(exports, "__esModule", { value: true });
1525
1514
  exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
@@ -1642,8 +1631,7 @@ var require_code = /* @__PURE__ */ __commonJSMin(((exports) => {
1642
1631
  }
1643
1632
  exports.validateUnion = validateUnion;
1644
1633
  }));
1645
- //#endregion
1646
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
1634
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
1647
1635
  var require_keyword = /* @__PURE__ */ __commonJSMin(((exports) => {
1648
1636
  Object.defineProperty(exports, "__esModule", { value: true });
1649
1637
  exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
@@ -1748,8 +1736,7 @@ var require_keyword = /* @__PURE__ */ __commonJSMin(((exports) => {
1748
1736
  }
1749
1737
  exports.validateKeywordUsage = validateKeywordUsage;
1750
1738
  }));
1751
- //#endregion
1752
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
1739
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
1753
1740
  var require_subschema = /* @__PURE__ */ __commonJSMin(((exports) => {
1754
1741
  Object.defineProperty(exports, "__esModule", { value: true });
1755
1742
  exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
@@ -1815,8 +1802,7 @@ var require_subschema = /* @__PURE__ */ __commonJSMin(((exports) => {
1815
1802
  }
1816
1803
  exports.extendSubschemaMode = extendSubschemaMode;
1817
1804
  }));
1818
- //#endregion
1819
- //#region ../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
1805
+ // ../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
1820
1806
  var require_fast_deep_equal = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1821
1807
  module.exports = function equal(a, b) {
1822
1808
  if (a === b) return true;
@@ -1845,8 +1831,7 @@ var require_fast_deep_equal = /* @__PURE__ */ __commonJSMin(((exports, module) =
1845
1831
  return a !== a && b !== b;
1846
1832
  };
1847
1833
  }));
1848
- //#endregion
1849
- //#region ../../node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
1834
+ // ../../node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
1850
1835
  var require_json_schema_traverse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1851
1836
  var traverse = module.exports = function(schema, opts, cb) {
1852
1837
  if (typeof opts == "function") {
@@ -1920,8 +1905,7 @@ var require_json_schema_traverse = /* @__PURE__ */ __commonJSMin(((exports, modu
1920
1905
  return str.replace(/~/g, "~0").replace(/\//g, "~1");
1921
1906
  }
1922
1907
  }));
1923
- //#endregion
1924
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
1908
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
1925
1909
  var require_resolve = /* @__PURE__ */ __commonJSMin(((exports) => {
1926
1910
  Object.defineProperty(exports, "__esModule", { value: true });
1927
1911
  exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
@@ -1972,11 +1956,11 @@ var require_resolve = /* @__PURE__ */ __commonJSMin(((exports) => {
1972
1956
  function countKeys(schema) {
1973
1957
  let count = 0;
1974
1958
  for (const key in schema) {
1975
- if (key === "$ref") return Infinity;
1959
+ if (key === "$ref") return 1e400;
1976
1960
  count++;
1977
1961
  if (SIMPLE_INLINED.has(key)) continue;
1978
1962
  if (typeof schema[key] == "object") (0, util_1.eachItem)(schema[key], (sch) => count += countKeys(sch));
1979
- if (count === Infinity) return Infinity;
1963
+ if (count === 1e400) return 1e400;
1980
1964
  }
1981
1965
  return count;
1982
1966
  }
@@ -2049,8 +2033,7 @@ var require_resolve = /* @__PURE__ */ __commonJSMin(((exports) => {
2049
2033
  }
2050
2034
  exports.getSchemaRefs = getSchemaRefs;
2051
2035
  }));
2052
- //#endregion
2053
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
2036
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
2054
2037
  var require_validate = /* @__PURE__ */ __commonJSMin(((exports) => {
2055
2038
  Object.defineProperty(exports, "__esModule", { value: true });
2056
2039
  exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
@@ -2468,8 +2451,7 @@ var require_validate = /* @__PURE__ */ __commonJSMin(((exports) => {
2468
2451
  }
2469
2452
  exports.getData = getData;
2470
2453
  }));
2471
- //#endregion
2472
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
2454
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
2473
2455
  var require_validation_error = /* @__PURE__ */ __commonJSMin(((exports) => {
2474
2456
  Object.defineProperty(exports, "__esModule", { value: true });
2475
2457
  var ValidationError = class extends Error {
@@ -2481,8 +2463,7 @@ var require_validation_error = /* @__PURE__ */ __commonJSMin(((exports) => {
2481
2463
  };
2482
2464
  exports.default = ValidationError;
2483
2465
  }));
2484
- //#endregion
2485
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
2466
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
2486
2467
  var require_ref_error = /* @__PURE__ */ __commonJSMin(((exports) => {
2487
2468
  Object.defineProperty(exports, "__esModule", { value: true });
2488
2469
  const resolve_1 = require_resolve();
@@ -2495,8 +2476,7 @@ var require_ref_error = /* @__PURE__ */ __commonJSMin(((exports) => {
2495
2476
  };
2496
2477
  exports.default = MissingRefError;
2497
2478
  }));
2498
- //#endregion
2499
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
2479
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
2500
2480
  var require_compile = /* @__PURE__ */ __commonJSMin(((exports) => {
2501
2481
  Object.defineProperty(exports, "__esModule", { value: true });
2502
2482
  exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
@@ -2709,8 +2689,7 @@ var require_compile = /* @__PURE__ */ __commonJSMin(((exports) => {
2709
2689
  if (env.schema !== env.root.schema) return env;
2710
2690
  }
2711
2691
  }));
2712
- //#endregion
2713
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
2692
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
2714
2693
  var require_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2715
2694
  module.exports = {
2716
2695
  "$id": "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
@@ -2724,19 +2703,34 @@ var require_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2724
2703
  "additionalProperties": false
2725
2704
  };
2726
2705
  }));
2727
- //#endregion
2728
- //#region ../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js
2706
+ // ../../node_modules/.pnpm/fast-uri@3.1.9/node_modules/fast-uri/lib/utils.js
2729
2707
  var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2730
2708
  /** @type {(value: string) => boolean} */
2731
2709
  const isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
2732
2710
  /** @type {(value: string) => boolean} */
2733
2711
  const isIPv4 = 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);
2734
2712
  /** @type {(value: string) => boolean} */
2713
+ const isPort = RegExp.prototype.test.bind(/^\d*$/u);
2714
+ /** @type {(value: string) => boolean} */
2735
2715
  const isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
2736
2716
  /** @type {(value: string) => boolean} */
2737
2717
  const isUnreserved = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);
2738
2718
  /** @type {(value: string) => boolean} */
2739
- const isPathCharacter = RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);
2719
+ const isPathCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u);
2720
+ /** @type {(value: string) => boolean} */
2721
+ const isQueryFragmentCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u);
2722
+ /** @type {(value: string) => boolean} */
2723
+ const isUserinfoCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u);
2724
+ const BYTE_HEX = new Array(256);
2725
+ {
2726
+ const HEX_DIGITS = "0123456789ABCDEF";
2727
+ for (let i = 0; i < 256; i++) BYTE_HEX[i] = "%" + HEX_DIGITS[i >> 4] + HEX_DIGITS[i & 15];
2728
+ }
2729
+ function percentEncodeNonAscii(cp) {
2730
+ if (cp < 2048) return BYTE_HEX[192 | cp >> 6] + BYTE_HEX[128 | cp & 63];
2731
+ if (cp < 65536) return BYTE_HEX[224 | cp >> 12] + BYTE_HEX[128 | cp >> 6 & 63] + BYTE_HEX[128 | cp & 63];
2732
+ return BYTE_HEX[240 | cp >> 18] + BYTE_HEX[128 | cp >> 12 & 63] + BYTE_HEX[128 | cp >> 6 & 63] + BYTE_HEX[128 | cp & 63];
2733
+ }
2740
2734
  /**
2741
2735
  * @param {Array<string>} input
2742
2736
  * @returns {string}
@@ -2759,121 +2753,162 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2759
2753
  }
2760
2754
  return acc;
2761
2755
  }
2762
- /**
2763
- * @typedef {Object} GetIPV6Result
2764
- * @property {boolean} error - Indicates if there was an error parsing the IPv6 address.
2765
- * @property {string} address - The parsed IPv6 address.
2766
- * @property {string} [zone] - The zone identifier, if present.
2767
- */
2756
+ /** @type {(value: string) => boolean} */
2757
+ const isHextet = RegExp.prototype.test.bind(/^[\dA-Fa-f]{1,4}$/);
2758
+ /** @type {(value: string) => boolean} */
2759
+ const isIPvFuture = RegExp.prototype.test.bind(/^[vV][\dA-Fa-f]+\.[A-Za-z\d\-._~!$&'()*+,;=:]+$/);
2760
+ /** @type {(value: string) => boolean} */
2761
+ const isZoneCharacter = RegExp.prototype.test.bind(/^[A-Za-z\d\-._~]$/);
2768
2762
  /**
2769
2763
  * @param {string} value
2770
2764
  * @returns {boolean}
2771
2765
  */
2772
2766
  const nonSimpleDomain = RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);
2773
2767
  /**
2774
- * @param {Array<string>} buffer
2768
+ * @param {string} zone
2775
2769
  * @returns {boolean}
2776
2770
  */
2777
- function consumeIsZone(buffer) {
2778
- buffer.length = 0;
2771
+ function isZoneIdentifier(zone) {
2772
+ if (zone.length === 0) return false;
2773
+ for (let i = 0; i < zone.length; i++) {
2774
+ if (isZoneCharacter(zone[i])) continue;
2775
+ if (zone[i] === "%" && i + 2 < zone.length && isHexPair(zone.slice(i + 1, i + 3))) {
2776
+ i += 2;
2777
+ continue;
2778
+ }
2779
+ return false;
2780
+ }
2779
2781
  return true;
2780
2782
  }
2781
2783
  /**
2782
- * @param {Array<string>} buffer
2783
- * @param {Array<string>} address
2784
- * @param {GetIPV6Result} output
2785
- * @returns {boolean}
2784
+ * Compresses the longest run of zero hextets to "::" per RFC 5952. A run of a
2785
+ * single zero hextet is left uncompressed. On ties the leftmost run wins.
2786
+ *
2787
+ * @param {string[]} hextets
2788
+ * @returns {string}
2786
2789
  */
2787
- function consumeHextets(buffer, address, output) {
2788
- if (buffer.length) {
2789
- const hex = stringArrayToHexStripped(buffer);
2790
- if (hex !== "") address.push(hex);
2791
- else {
2792
- output.error = true;
2793
- return false;
2790
+ function compressIPv6ZeroRun(hextets) {
2791
+ let bestStart = -1;
2792
+ let bestLength = 0;
2793
+ let runStart = -1;
2794
+ let runLength = 0;
2795
+ for (let i = 0; i < hextets.length; i++) if (hextets[i] === "0") {
2796
+ if (runStart === -1) runStart = i;
2797
+ runLength++;
2798
+ if (runLength > bestLength) {
2799
+ bestLength = runLength;
2800
+ bestStart = runStart;
2794
2801
  }
2795
- buffer.length = 0;
2802
+ } else {
2803
+ runStart = -1;
2804
+ runLength = 0;
2796
2805
  }
2797
- return true;
2806
+ if (bestLength < 2) return hextets.join(":");
2807
+ const head = hextets.slice(0, bestStart).join(":");
2808
+ const tail = hextets.slice(bestStart + bestLength).join(":");
2809
+ return head + "::" + tail;
2798
2810
  }
2799
2811
  /**
2812
+ * Validates an IPv6 address against the alternatives in RFC 3986 section
2813
+ * 3.2.2 and returns the same address with leading hextet zeroes removed.
2814
+ * An embedded IPv4 address counts as two hextets and is only valid at the end.
2815
+ *
2800
2816
  * @param {string} input
2801
- * @returns {GetIPV6Result}
2817
+ * @returns {string|undefined}
2802
2818
  */
2803
- function getIPV6(input) {
2804
- let tokenCount = 0;
2805
- const output = {
2806
- error: false,
2807
- address: "",
2808
- zone: ""
2809
- };
2810
- /** @type {Array<string>} */
2811
- const address = [];
2812
- /** @type {Array<string>} */
2813
- const buffer = [];
2814
- let endipv6Encountered = false;
2815
- let endIpv6 = false;
2816
- let consume = consumeHextets;
2817
- for (let i = 0; i < input.length; i++) {
2818
- const cursor = input[i];
2819
- if (cursor === "[" || cursor === "]") continue;
2820
- if (cursor === ":") {
2821
- if (endipv6Encountered === true) endIpv6 = true;
2822
- if (!consume(buffer, address, output)) break;
2823
- if (++tokenCount > 7) {
2824
- output.error = true;
2825
- break;
2826
- }
2827
- if (i > 0 && input[i - 1] === ":") endipv6Encountered = true;
2828
- address.push(":");
2829
- continue;
2830
- } else if (cursor === "%") {
2831
- if (!consume(buffer, address, output)) break;
2832
- consume = consumeIsZone;
2833
- } else {
2834
- buffer.push(cursor);
2819
+ function normalizeIPv6Address(input) {
2820
+ const compression = input.indexOf("::");
2821
+ if (compression !== -1 && input.indexOf("::", compression + 1) !== -1) return void 0;
2822
+ const left = compression === -1 ? input.split(":") : input.slice(0, compression).split(":");
2823
+ const right = compression === -1 ? [] : input.slice(compression + 2).split(":");
2824
+ if (compression !== -1) {
2825
+ if (left.length === 1 && left[0] === "") left.length = 0;
2826
+ if (right.length === 1 && right[0] === "") right.length = 0;
2827
+ }
2828
+ const parts = left.concat(right);
2829
+ let hextetCount = 0;
2830
+ for (let i = 0; i < parts.length; i++) {
2831
+ const part = parts[i];
2832
+ if (part === "") return void 0;
2833
+ if (part.indexOf(".") !== -1) {
2834
+ if (i !== parts.length - 1 || compression !== -1 && right.length === 0 || !isIPv4(part)) return void 0;
2835
+ hextetCount += 2;
2835
2836
  continue;
2836
2837
  }
2838
+ if (!isHextet(part)) return void 0;
2839
+ parts[i] = parseInt(part, 16).toString(16);
2840
+ hextetCount++;
2837
2841
  }
2838
- if (buffer.length) {
2839
- if (consume === consumeIsZone) output.zone = buffer.join("");
2840
- else if (endIpv6) address.push(buffer.join(""));
2841
- else address.push(stringArrayToHexStripped(buffer));
2842
+ if (compression === -1) {
2843
+ if (hextetCount !== 8) return void 0;
2844
+ return compressIPv6ZeroRun(parts);
2842
2845
  }
2843
- output.address = address.join("");
2844
- return output;
2846
+ if (hextetCount >= 8) return void 0;
2847
+ const expanded = parts.slice(0, left.length);
2848
+ for (let i = hextetCount; i < 8; i++) expanded.push("0");
2849
+ for (let i = left.length; i < parts.length; i++) expanded.push(parts[i]);
2850
+ return compressIPv6ZeroRun(expanded);
2845
2851
  }
2846
2852
  /**
2847
2853
  * @typedef {Object} NormalizeIPv6Result
2848
2854
  * @property {string} host - The normalized host.
2849
2855
  * @property {string} [escapedHost] - The escaped host.
2850
2856
  * @property {boolean} isIPV6 - Indicates if the host is an IPv6 address.
2857
+ * @property {boolean} [isIPVFuture] - Indicates if the host is an IPvFuture literal.
2858
+ * @property {boolean} [error] - Indicates if a bracketed IP literal is malformed.
2851
2859
  */
2852
2860
  /**
2861
+ * Validates and normalizes a bracketed IP literal. Raw zone separators remain
2862
+ * accepted for backwards compatibility, while encoded separators and zone
2863
+ * contents follow RFC 6874.
2864
+ *
2853
2865
  * @param {string} host
2854
2866
  * @returns {NormalizeIPv6Result}
2855
2867
  */
2856
2868
  function normalizeIPv6(host) {
2857
- if (findToken(host, ":") < 2) return {
2869
+ const bracketed = host[0] === "[" && host[host.length - 1] === "]";
2870
+ if ((host[0] === "[" || host[host.length - 1] === "]") && !bracketed) return {
2858
2871
  host,
2859
- isIPV6: false
2872
+ isIPV6: false,
2873
+ error: true
2860
2874
  };
2861
- const ipv6 = getIPV6(host);
2862
- if (!ipv6.error) {
2863
- let newHost = ipv6.address;
2864
- let escapedHost = ipv6.address;
2865
- if (ipv6.zone) {
2866
- newHost += "%" + ipv6.zone;
2867
- escapedHost += "%25" + ipv6.zone;
2868
- }
2875
+ let input = bracketed ? host.slice(1, -1) : host;
2876
+ if (bracketed && isIPvFuture(input)) {
2877
+ input = input.toLowerCase();
2869
2878
  return {
2870
- host: newHost,
2871
- isIPV6: true,
2872
- escapedHost
2879
+ host: `[${input}]`,
2880
+ escapedHost: input,
2881
+ isIPV6: false,
2882
+ isIPVFuture: true
2873
2883
  };
2874
- } else return {
2884
+ }
2885
+ if (findToken(input, ":") < 2) return {
2886
+ host,
2887
+ isIPV6: false,
2888
+ error: bracketed
2889
+ };
2890
+ let zoneIdentifier = "";
2891
+ const zoneSeparator = input.indexOf("%");
2892
+ if (zoneSeparator !== -1) {
2893
+ const separatorLength = input.slice(zoneSeparator, zoneSeparator + 3).toLowerCase() === "%25" ? 3 : 1;
2894
+ zoneIdentifier = input.slice(zoneSeparator + separatorLength);
2895
+ if (!isZoneIdentifier(zoneIdentifier)) return {
2896
+ host,
2897
+ isIPV6: false,
2898
+ error: true
2899
+ };
2900
+ input = input.slice(0, zoneSeparator);
2901
+ }
2902
+ const address = normalizeIPv6Address(input);
2903
+ if (address === void 0) return {
2875
2904
  host,
2876
- isIPV6: false
2905
+ isIPV6: false,
2906
+ error: true
2907
+ };
2908
+ return {
2909
+ host: address + (zoneIdentifier ? "%" + zoneIdentifier : ""),
2910
+ escapedHost: address + (zoneIdentifier ? "%25" + zoneIdentifier : ""),
2911
+ isIPV6: true
2877
2912
  };
2878
2913
  }
2879
2914
  /**
@@ -2962,6 +2997,38 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2962
2997
  return output.join("");
2963
2998
  }
2964
2999
  /**
3000
+ * Removes dot segments from the path of a relative reference (a path that does
3001
+ * not start with "/") without changing what it resolves to against any base.
3002
+ * Unlike `removeDotSegments`, leading ".." segments that cannot be collapsed
3003
+ * are kept, the result never becomes root-relative, and a result that would be
3004
+ * empty or start with an empty segment is prefixed with "." (an empty path
3005
+ * means "same document" and a leading "//" would introduce an authority).
3006
+ *
3007
+ * @param {string} path
3008
+ * @returns {string}
3009
+ */
3010
+ function removeDotSegmentsRelative(path) {
3011
+ if (path === "" || path[0] === "/") return removeDotSegments(path);
3012
+ const segments = path.split("/");
3013
+ const last = segments.length - 1;
3014
+ /** @type {string[]} */
3015
+ const output = [];
3016
+ let trailingDirectory = false;
3017
+ for (let i = 0; i <= last; i++) {
3018
+ const segment = segments[i];
3019
+ if (segment === "." || segment === "..") {
3020
+ if (segment === "..") {
3021
+ if (output.length !== 0 && output[output.length - 1] !== "..") output.pop();
3022
+ else output.push("..");
3023
+ }
3024
+ trailingDirectory = i === last;
3025
+ } else output.push(segment);
3026
+ }
3027
+ if (trailingDirectory && output[output.length - 1] !== "..") output.push("");
3028
+ if (output.length === 0 || output[0] === "" || output[0].includes(":")) output.unshift(".");
3029
+ return output.join("/");
3030
+ }
3031
+ /**
2965
3032
  * Re-escape RFC 3986 gen-delims that must not appear literally in the host.
2966
3033
  * After the URI regex parses, these characters cannot be literal in the host
2967
3034
  * field, so any that appear after decoding came from percent-encoding and
@@ -2987,7 +3054,7 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2987
3054
  }
2988
3055
  /**
2989
3056
  * Normalizes percent escapes and optionally decodes only unreserved ASCII bytes.
2990
- * Reserved delimiters such as `%2F` and `%2E` stay escaped.
3057
+ * Reserved delimiters such as `%2F` stay escaped; `%2E` is unreserved.
2991
3058
  *
2992
3059
  * @param {string} input
2993
3060
  * @param {boolean} [decodeUnreserved=false]
@@ -3023,7 +3090,8 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3023
3090
  function normalizePathEncoding(input) {
3024
3091
  let output = "";
3025
3092
  for (let i = 0; i < input.length; i++) {
3026
- if (input[i] === "%" && i + 2 < input.length) {
3093
+ const ch = input[i];
3094
+ if (ch === "%" && i + 2 < input.length) {
3027
3095
  const hex = input.slice(i + 1, i + 3);
3028
3096
  if (isHexPair(hex)) {
3029
3097
  const normalizedHex = hex.toUpperCase();
@@ -3034,8 +3102,168 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3034
3102
  continue;
3035
3103
  }
3036
3104
  }
3037
- if (isPathCharacter(input[i])) output += input[i];
3038
- else output += escape(input[i]);
3105
+ if (isPathCharacter(ch)) output += ch;
3106
+ else {
3107
+ const code = input.charCodeAt(i);
3108
+ if (code < 128) output += isEscapeSafe(code) ? ch : BYTE_HEX[code];
3109
+ else if (code < 55296 || code > 57343) output += percentEncodeNonAscii(code);
3110
+ else if (code <= 56319 && i + 1 < input.length) {
3111
+ const low = input.charCodeAt(i + 1);
3112
+ if (low >= 56320 && low <= 57343) {
3113
+ output += percentEncodeNonAscii(65536 + (code - 55296 << 10) + (low - 56320));
3114
+ i++;
3115
+ } else output += percentEncodeNonAscii(65533);
3116
+ } else output += percentEncodeNonAscii(65533);
3117
+ }
3118
+ }
3119
+ return output;
3120
+ }
3121
+ /**
3122
+ * Serializes a path without rewriting reserved data. Raw RFC 3986 path
3123
+ * characters remain literal, valid escapes are preserved and uppercased, and
3124
+ * everything else is UTF-8 percent-encoded. In a path-noscheme, a colon in the
3125
+ * first segment must be escaped so the result cannot be parsed as a scheme.
3126
+ *
3127
+ * @param {string} input
3128
+ * @param {boolean} [pathNoScheme=false]
3129
+ * @returns {string}
3130
+ */
3131
+ function serializePathEncoding(input, pathNoScheme = false) {
3132
+ let output = "";
3133
+ let firstSegment = pathNoScheme && input[0] !== "/";
3134
+ for (let i = 0; i < input.length; i++) {
3135
+ const ch = input[i];
3136
+ if (ch === "%" && i + 2 < input.length) {
3137
+ const hex = input.slice(i + 1, i + 3);
3138
+ if (isHexPair(hex)) {
3139
+ output += "%" + hex.toUpperCase();
3140
+ i += 2;
3141
+ continue;
3142
+ }
3143
+ }
3144
+ if (ch === "/") firstSegment = false;
3145
+ if (isPathCharacter(ch) && (ch !== ":" || !firstSegment)) output += ch;
3146
+ else {
3147
+ const code = input.charCodeAt(i);
3148
+ if (code < 128) output += BYTE_HEX[code];
3149
+ else if (code < 55296 || code > 57343) output += percentEncodeNonAscii(code);
3150
+ else if (code <= 56319 && i + 1 < input.length) {
3151
+ const low = input.charCodeAt(i + 1);
3152
+ if (low >= 56320 && low <= 57343) {
3153
+ output += percentEncodeNonAscii(65536 + (code - 55296 << 10) + (low - 56320));
3154
+ i++;
3155
+ } else output += percentEncodeNonAscii(65533);
3156
+ } else output += percentEncodeNonAscii(65533);
3157
+ }
3158
+ }
3159
+ return output;
3160
+ }
3161
+ /**
3162
+ * Percent-encodes a URI component using its RFC 3986 literal character set.
3163
+ * Existing valid escapes are preserved and normalized to uppercase hex.
3164
+ *
3165
+ * @param {string} input
3166
+ * @param {(value: string) => boolean} isAllowed
3167
+ * @returns {string}
3168
+ */
3169
+ function encodeComponent(input, isAllowed) {
3170
+ let output = "";
3171
+ for (let i = 0; i < input.length; i++) {
3172
+ const ch = input[i];
3173
+ if (ch === "%" && i + 2 < input.length) {
3174
+ const hex = input.slice(i + 1, i + 3);
3175
+ if (isHexPair(hex)) {
3176
+ output += "%" + hex.toUpperCase();
3177
+ i += 2;
3178
+ continue;
3179
+ }
3180
+ }
3181
+ if (isAllowed(ch)) output += ch;
3182
+ else {
3183
+ const code = input.charCodeAt(i);
3184
+ if (code < 128) output += BYTE_HEX[code];
3185
+ else if (code < 55296 || code > 57343) output += percentEncodeNonAscii(code);
3186
+ else if (code <= 56319 && i + 1 < input.length) {
3187
+ const low = input.charCodeAt(i + 1);
3188
+ if (low >= 56320 && low <= 57343) {
3189
+ output += percentEncodeNonAscii(65536 + (code - 55296 << 10) + (low - 56320));
3190
+ i++;
3191
+ } else output += percentEncodeNonAscii(65533);
3192
+ } else output += percentEncodeNonAscii(65533);
3193
+ }
3194
+ }
3195
+ return output;
3196
+ }
3197
+ /**
3198
+ * Encodes userinfo while preserving its RFC 3986 §3.2.1 literal characters.
3199
+ * In particular, authority delimiters such as `@`, `/`, `?`, and `#` are data.
3200
+ *
3201
+ * @param {string} input
3202
+ * @returns {string}
3203
+ */
3204
+ function encodeUserinfo(input) {
3205
+ return encodeComponent(input, isUserinfoCharacter);
3206
+ }
3207
+ /**
3208
+ * Encodes query data using the RFC 3986 §3.4 grammar. A literal `#` must be
3209
+ * escaped because it would otherwise begin the fragment component.
3210
+ *
3211
+ * @param {string} input
3212
+ * @returns {string}
3213
+ */
3214
+ function encodeQuery(input) {
3215
+ return encodeComponent(input, isQueryFragmentCharacter);
3216
+ }
3217
+ /**
3218
+ * Encodes fragment data using the RFC 3986 §3.5 grammar.
3219
+ *
3220
+ * @param {string} input
3221
+ * @returns {string}
3222
+ */
3223
+ function encodeFragment(input) {
3224
+ return encodeComponent(input, isQueryFragmentCharacter);
3225
+ }
3226
+ function isEscapeSafe(cp) {
3227
+ return cp >= 48 && cp <= 57 || cp >= 65 && cp <= 90 || cp >= 97 && cp <= 122 || cp === 42 || cp === 43 || cp === 45 || cp === 46 || cp === 47 || cp === 64 || cp === 95;
3228
+ }
3229
+ /**
3230
+ * Normalizes the percent-encoding of a query or fragment component.
3231
+ *
3232
+ * Like `normalizePathEncoding`, but uses the query/fragment character set
3233
+ * (which additionally allows `?`) and decodes `.` since it has no dot-segment
3234
+ * meaning outside of a path.
3235
+ *
3236
+ * @param {string} input
3237
+ * @returns {string}
3238
+ */
3239
+ function normalizeQueryFragmentEncoding(input) {
3240
+ let output = "";
3241
+ for (let i = 0; i < input.length; i++) {
3242
+ const ch = input[i];
3243
+ if (ch === "%" && i + 2 < input.length) {
3244
+ const hex = input.slice(i + 1, i + 3);
3245
+ if (isHexPair(hex)) {
3246
+ const normalizedHex = hex.toUpperCase();
3247
+ const decoded = String.fromCharCode(parseInt(normalizedHex, 16));
3248
+ if (isUnreserved(decoded)) output += decoded;
3249
+ else output += "%" + normalizedHex;
3250
+ i += 2;
3251
+ continue;
3252
+ }
3253
+ }
3254
+ if (isQueryFragmentCharacter(ch)) output += ch;
3255
+ else {
3256
+ const code = input.charCodeAt(i);
3257
+ if (code < 128) output += isEscapeSafe(code) ? ch : BYTE_HEX[code];
3258
+ else if (code < 55296 || code > 57343) output += percentEncodeNonAscii(code);
3259
+ else if (code <= 56319 && i + 1 < input.length) {
3260
+ const low = input.charCodeAt(i + 1);
3261
+ if (low >= 56320 && low <= 57343) {
3262
+ output += percentEncodeNonAscii(65536 + (code - 55296 << 10) + (low - 56320));
3263
+ i++;
3264
+ } else output += percentEncodeNonAscii(65533);
3265
+ } else output += percentEncodeNonAscii(65533);
3266
+ }
3039
3267
  }
3040
3268
  return output;
3041
3269
  }
@@ -3067,21 +3295,27 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3067
3295
  function recomposeAuthority(component) {
3068
3296
  const uriTokens = [];
3069
3297
  if (component.userinfo !== void 0) {
3070
- uriTokens.push(component.userinfo);
3298
+ uriTokens.push(encodeUserinfo(component.userinfo));
3071
3299
  uriTokens.push("@");
3072
3300
  }
3073
3301
  if (component.host !== void 0) {
3074
- let host = unescape(component.host);
3302
+ let host = component.host;
3075
3303
  if (!isIPv4(host)) {
3076
- const ipV6res = normalizeIPv6(host);
3077
- if (ipV6res.isIPV6 === true) host = `[${ipV6res.escapedHost}]`;
3304
+ let ipV6res = normalizeIPv6(host);
3305
+ if (ipV6res.isIPV6 !== true && ipV6res.isIPVFuture !== true) {
3306
+ host = normalizePercentEncoding(host, true);
3307
+ ipV6res = normalizeIPv6(host);
3308
+ }
3309
+ if (ipV6res.isIPV6 === true || ipV6res.isIPVFuture === true) host = `[${ipV6res.escapedHost}]`;
3078
3310
  else host = reescapeHostDelimiters(host, false);
3079
3311
  }
3080
3312
  uriTokens.push(host);
3081
3313
  }
3082
3314
  if (typeof component.port === "number" || typeof component.port === "string") {
3315
+ const port = String(component.port);
3316
+ if (!isPort(port)) throw new TypeError("URI port is malformed.");
3083
3317
  uriTokens.push(":");
3084
- uriTokens.push(String(component.port));
3318
+ uriTokens.push(port);
3085
3319
  }
3086
3320
  return uriTokens.length ? uriTokens.join("") : void 0;
3087
3321
  }
@@ -3091,19 +3325,24 @@ var require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3091
3325
  reescapeHostDelimiters,
3092
3326
  normalizePercentEncoding,
3093
3327
  normalizePathEncoding,
3328
+ serializePathEncoding,
3329
+ normalizeQueryFragmentEncoding,
3330
+ encodeUserinfo,
3331
+ encodeQuery,
3332
+ encodeFragment,
3094
3333
  escapePreservingEscapes,
3095
3334
  removeDotSegments,
3335
+ removeDotSegmentsRelative,
3096
3336
  isIPv4,
3097
3337
  isUUID,
3098
3338
  normalizeIPv6,
3099
3339
  stringArrayToHexStripped
3100
3340
  };
3101
3341
  }));
3102
- //#endregion
3103
- //#region ../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js
3342
+ // ../../node_modules/.pnpm/fast-uri@3.1.9/node_modules/fast-uri/lib/schemes.js
3104
3343
  var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3105
3344
  const { isUUID } = require_utils();
3106
- const URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
3345
+ const URN_REG = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu;
3107
3346
  const supportedSchemeNames = [
3108
3347
  "http",
3109
3348
  "https",
@@ -3174,9 +3413,10 @@ var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3174
3413
  wsComponent.secure = void 0;
3175
3414
  }
3176
3415
  if (wsComponent.resourceName) {
3177
- const [path, query] = wsComponent.resourceName.split("?");
3416
+ const queryIndex = wsComponent.resourceName.indexOf("?");
3417
+ const path = queryIndex === -1 ? wsComponent.resourceName : wsComponent.resourceName.slice(0, queryIndex);
3178
3418
  wsComponent.path = path && path !== "/" ? path : void 0;
3179
- wsComponent.query = query;
3419
+ wsComponent.query = queryIndex === -1 ? void 0 : wsComponent.resourceName.slice(queryIndex + 1);
3180
3420
  wsComponent.resourceName = void 0;
3181
3421
  }
3182
3422
  wsComponent.fragment = void 0;
@@ -3189,7 +3429,7 @@ var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3189
3429
  return urnComponent;
3190
3430
  }
3191
3431
  const matches = urnComponent.path.match(URN_REG);
3192
- if (matches) {
3432
+ if (matches && matches[0] === urnComponent.path) {
3193
3433
  const scheme = options.scheme || urnComponent.scheme || "urn";
3194
3434
  urnComponent.nid = matches[1].toLowerCase();
3195
3435
  urnComponent.nss = matches[2];
@@ -3282,11 +3522,27 @@ var require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3282
3522
  getSchemeHandler
3283
3523
  };
3284
3524
  }));
3285
- //#endregion
3286
- //#region ../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js
3525
+ // ../../node_modules/.pnpm/fast-uri@3.1.9/node_modules/fast-uri/index.js
3287
3526
  var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3288
- const { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
3527
+ const { normalizeIPv6, removeDotSegments, removeDotSegmentsRelative, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
3289
3528
  const { SCHEMES, getSchemeHandler } = require_schemes();
3529
+ const VALID_SCHEME = /^[A-Za-z][A-Za-z0-9+.-]*$/u;
3530
+ const MALFORMED_SCHEME_ERROR = "URI scheme is malformed.";
3531
+ const MALFORMED_HOST_ERROR = "URI host is malformed.";
3532
+ const FORBIDDEN_DOMAIN_HOST_CHARACTER = /[\0-\x20"#/:<>?@[\\\]^`{|}\x7F]/u;
3533
+ /**
3534
+ * RFC 3986 section 3.1 does not allow percent-encoding in a scheme, so the
3535
+ * scheme is validated as-is and never decoded. Decoding would let inert input
3536
+ * such as `%6Aavascript:` become a live `javascript:` scheme.
3537
+ *
3538
+ * @param {string} scheme
3539
+ * @returns {string}
3540
+ */
3541
+ function validateScheme(scheme) {
3542
+ const stringScheme = String(scheme);
3543
+ if (!VALID_SCHEME.test(stringScheme)) throw new TypeError(MALFORMED_SCHEME_ERROR);
3544
+ return stringScheme;
3545
+ }
3290
3546
  /**
3291
3547
  * @template {import('./types/index').URIComponent|string} T
3292
3548
  * @param {T} uri
@@ -3306,7 +3562,17 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3306
3562
  */
3307
3563
  function resolve(baseURI, relativeURI, options) {
3308
3564
  const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
3309
- const resolved = resolveComponent(parse(baseURI, schemelessOptions), parse(relativeURI, schemelessOptions), schemelessOptions, true);
3565
+ const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed, malformedPercentEncoding: baseMalformedPercentEncoding, malformedSchemeSpecific: baseMalformedSchemeSpecific, malformedHost: baseMalformedHost, malformedScheme: baseMalformedScheme } = parseWithStatus(baseURI, schemelessOptions);
3566
+ const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed, malformedPercentEncoding: relativeMalformedPercentEncoding, malformedSchemeSpecific: relativeMalformedSchemeSpecific, malformedHost: relativeMalformedHost, malformedScheme: relativeMalformedScheme } = parseWithStatus(relativeURI, schemelessOptions);
3567
+ if (baseMalformed || relativeMalformed || baseMalformedPercentEncoding || relativeMalformedPercentEncoding || baseMalformedSchemeSpecific || relativeMalformedSchemeSpecific || baseMalformedHost || relativeMalformedHost || baseMalformedScheme || relativeMalformedScheme) throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
3568
+ const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true);
3569
+ const resolvedSchemeHandler = getSchemeHandler(options && options.scheme || resolved.scheme);
3570
+ const resolvedHost = resolved.host;
3571
+ const resolvedHostIsIP = resolvedHost !== void 0 && resolvedHost !== "" && (isIPv4(resolvedHost) || normalizeIPv6(resolvedHost).isIPV6);
3572
+ if (hasForbiddenDomainHost(resolved, options || {}, resolvedSchemeHandler, resolvedHostIsIP)) throw new Error(MALFORMED_HOST_ERROR);
3573
+ canonicalizeHost(resolved, options || {}, resolvedSchemeHandler, resolvedHostIsIP);
3574
+ const encodedASCIIHost = resolvedHost && resolvedHost.indexOf("%") !== -1 && !/\P{ASCII}/u.test(resolvedHost);
3575
+ if (resolved.error && !encodedASCIIHost) throw new Error(resolved.error);
3310
3576
  schemelessOptions.skipEscape = true;
3311
3577
  return serialize(resolved, schemelessOptions);
3312
3578
  }
@@ -3347,10 +3613,11 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3347
3613
  } else {
3348
3614
  if (relative.path[0] === "/") target.path = removeDotSegments(relative.path);
3349
3615
  else {
3350
- if ((base.userinfo !== void 0 || base.host !== void 0 || base.port !== void 0) && !base.path) target.path = "/" + relative.path;
3616
+ const baseHasAuthority = base.userinfo !== void 0 || base.host !== void 0 || base.port !== void 0;
3617
+ if (baseHasAuthority && !base.path) target.path = "/" + relative.path;
3351
3618
  else if (!base.path) target.path = relative.path;
3352
3619
  else target.path = base.path.slice(0, base.path.lastIndexOf("/") + 1) + relative.path;
3353
- target.path = removeDotSegments(target.path);
3620
+ target.path = base.scheme === void 0 && !baseHasAuthority && target.path[0] !== "/" ? removeDotSegmentsRelative(target.path) : removeDotSegments(target.path);
3354
3621
  }
3355
3622
  target.query = relative.query;
3356
3623
  }
@@ -3372,7 +3639,7 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3372
3639
  function equal(uriA, uriB, options) {
3373
3640
  const normalizedA = normalizeComparableURI(uriA, options);
3374
3641
  const normalizedB = normalizeComparableURI(uriB, options);
3375
- return normalizedA !== void 0 && normalizedB !== void 0 && normalizedA.toLowerCase() === normalizedB.toLowerCase();
3642
+ return normalizedA !== void 0 && normalizedB !== void 0 && normalizedA === normalizedB;
3376
3643
  }
3377
3644
  /**
3378
3645
  * @param {Readonly<import('./types/index').URIComponent>} cmpts
@@ -3398,15 +3665,20 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3398
3665
  };
3399
3666
  const options = Object.assign({}, opts);
3400
3667
  const uriTokens = [];
3668
+ if (component.scheme) component.scheme = validateScheme(component.scheme);
3401
3669
  const schemeHandler = getSchemeHandler(options.scheme || component.scheme);
3402
3670
  if (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(component, options);
3671
+ const hasAuthority = component.userinfo !== void 0 || component.host !== void 0 || component.port !== void 0;
3672
+ const schemelessReference = (component.scheme === void 0 || options.reference === "suffix") && !hasAuthority;
3673
+ const pathNoScheme = !options.skipEscape && schemelessReference;
3403
3674
  if (component.path !== void 0) {
3404
- if (!options.skipEscape) {
3405
- component.path = escapePreservingEscapes(component.path);
3406
- if (component.scheme !== void 0) component.path = component.path.split("%3A").join(":");
3407
- } else component.path = normalizePercentEncoding(component.path);
3675
+ if (!options.skipEscape) component.path = serializePathEncoding(component.path, pathNoScheme);
3676
+ else component.path = normalizePercentEncoding(component.path);
3677
+ }
3678
+ if (options.reference !== "suffix" && component.scheme) {
3679
+ component.scheme = validateScheme(component.scheme);
3680
+ uriTokens.push(component.scheme, ":");
3408
3681
  }
3409
- if (options.reference !== "suffix" && component.scheme) uriTokens.push(component.scheme, ":");
3410
3682
  const authority = recomposeAuthority(component);
3411
3683
  if (authority !== void 0) {
3412
3684
  if (options.reference !== "suffix") uriTokens.push("//");
@@ -3415,15 +3687,18 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3415
3687
  }
3416
3688
  if (component.path !== void 0) {
3417
3689
  let s = component.path;
3418
- if (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) s = removeDotSegments(s);
3690
+ if (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) s = schemelessReference && s[0] !== "/" ? removeDotSegmentsRelative(s) : removeDotSegments(s);
3691
+ if (schemelessReference) s = serializePathEncoding(s, true);
3419
3692
  if (authority === void 0 && s[0] === "/" && s[1] === "/") s = "/%2F" + s.slice(2);
3420
3693
  uriTokens.push(s);
3421
3694
  }
3422
- if (component.query !== void 0) uriTokens.push("?", component.query);
3423
- if (component.fragment !== void 0) uriTokens.push("#", component.fragment);
3695
+ if (component.query !== void 0) uriTokens.push("?", encodeQuery(component.query));
3696
+ if (component.fragment !== void 0) uriTokens.push("#", encodeFragment(component.fragment));
3424
3697
  return uriTokens.join("");
3425
3698
  }
3426
3699
  const URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
3700
+ const AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
3701
+ const AUTHORITY_INTRODUCER_REGION = /^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;
3427
3702
  /**
3428
3703
  * @param {import('./types/index').URIComponent} parsed
3429
3704
  * @param {RegExpMatchArray} matches
@@ -3434,9 +3709,96 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3434
3709
  if (typeof parsed.port === "number" && (parsed.port < 0 || parsed.port > 65535)) return "URI port is malformed.";
3435
3710
  }
3436
3711
  /**
3712
+ * Checks percent syntax without decoding the represented octets. RFC 3986
3713
+ * percent-encoding is byte-oriented, so sequences such as `%FF` are valid even
3714
+ * though they are not independently valid UTF-8.
3715
+ *
3716
+ * @param {string|undefined} component
3717
+ * @returns {boolean}
3718
+ */
3719
+ function hasMalformedPercentEncoding(component) {
3720
+ if (component === void 0) return false;
3721
+ let percent = component.indexOf("%");
3722
+ while (percent !== -1) {
3723
+ if (percent + 2 >= component.length || !/^[\da-f]{2}$/iu.test(component.slice(percent + 1, percent + 3))) return true;
3724
+ percent = component.indexOf("%", percent + 3);
3725
+ }
3726
+ return false;
3727
+ }
3728
+ /**
3729
+ * Whether the host is a bracketed IP literal (RFC 3986 `IP-literal`).
3730
+ * An unterminated `[` is not a literal, so it must still be validated as a
3731
+ * reg-name instead of being waved through as an IP.
3732
+ *
3733
+ * @param {string} host
3734
+ * @returns {boolean}
3735
+ */
3736
+ function isIPLiteral(host) {
3737
+ return host[0] === "[" && host[host.length - 1] === "]";
3738
+ }
3739
+ /**
3740
+ * @param {RegExpMatchArray} matches
3741
+ * @returns {boolean}
3742
+ */
3743
+ function hasMalformedComponentPercentEncoding(matches) {
3744
+ const host = matches[4];
3745
+ return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !isIPLiteral(host) && hasMalformedPercentEncoding(host) || hasMalformedPercentEncoding(matches[6]) || hasMalformedPercentEncoding(matches[7]) || hasMalformedPercentEncoding(matches[8]);
3746
+ }
3747
+ /**
3748
+ * @param {import('./types/index').URIComponent} parsed
3749
+ * @param {import('./types/index').Options} options
3750
+ * @param {{ domainHost?: boolean, unicodeSupport?: boolean }|undefined} schemeHandler
3751
+ * @param {boolean} isIP
3752
+ * @returns {boolean} whether host conversion failed
3753
+ */
3754
+ function canonicalizeHost(parsed, options, schemeHandler, isIP) {
3755
+ if (hasForbiddenDomainHost(parsed, options, schemeHandler, isIP)) {
3756
+ parsed.error = parsed.error || MALFORMED_HOST_ERROR;
3757
+ return true;
3758
+ }
3759
+ if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
3760
+ let url;
3761
+ try {
3762
+ url = new URL("http://" + parsed.host);
3763
+ } catch (e) {
3764
+ parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
3765
+ return true;
3766
+ }
3767
+ if (!isHostOnlyURL(url)) {
3768
+ parsed.error = parsed.error || MALFORMED_HOST_ERROR;
3769
+ return true;
3770
+ }
3771
+ parsed.host = url.hostname;
3772
+ }
3773
+ return false;
3774
+ }
3775
+ /**
3776
+ * Whether a domain host contains an ASCII character that RFC 3986 does not
3777
+ * allow in a reg-name (unreserved, sub-delims, or pct-encoded). Such a host is
3778
+ * rejected instead of being handed to the WHATWG URL parser, which would treat
3779
+ * "@" as a userinfo delimiter (silently dropping the data before it) and strip
3780
+ * TAB, LF, and CR. Non-ASCII characters remain allowed for IDNs.
3781
+ *
3782
+ * @param {import('./types/index').URIComponent} parsed
3783
+ * @param {import('./types/index').Options} options
3784
+ * @param {{ domainHost?: boolean }|undefined} schemeHandler
3785
+ * @param {boolean} isIP
3786
+ * @returns {boolean}
3787
+ */
3788
+ function hasForbiddenDomainHost(parsed, options, schemeHandler, isIP) {
3789
+ return Boolean(parsed.host && isIP === false && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && FORBIDDEN_DOMAIN_HOST_CHARACTER.test(parsed.host));
3790
+ }
3791
+ /**
3792
+ * @param {URL} url
3793
+ * @returns {boolean}
3794
+ */
3795
+ function isHostOnlyURL(url) {
3796
+ return url.username === "" && url.password === "" && url.port === "" && url.pathname === "/" && url.search === "" && url.hash === "" && url.hostname !== "";
3797
+ }
3798
+ /**
3437
3799
  * @param {string} uri
3438
3800
  * @param {import('./types/index').Options} [opts]
3439
- * @returns {{ parsed: import('./types/index').URIComponent, malformedAuthorityOrPort: boolean }}
3801
+ * @returns {{ parsed: import('./types/index').URIComponent, malformedAuthorityOrPort: boolean, malformedPercentEncoding: boolean, malformedSchemeSpecific: boolean, malformedHost: boolean, malformedScheme: boolean }}
3440
3802
  */
3441
3803
  function parseWithStatus(uri, opts) {
3442
3804
  const options = Object.assign({}, opts);
@@ -3451,11 +3813,35 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3451
3813
  fragment: void 0
3452
3814
  };
3453
3815
  let malformedAuthorityOrPort = false;
3816
+ let malformedPercentEncoding = false;
3817
+ let malformedSchemeSpecific = false;
3818
+ let malformedHost = false;
3819
+ let malformedIPLiteral = false;
3820
+ let malformedScheme = false;
3454
3821
  let isIP = false;
3455
3822
  if (options.reference === "suffix") {
3456
3823
  if (options.scheme) uri = options.scheme + ":" + uri;
3457
3824
  else uri = "//" + uri;
3458
3825
  }
3826
+ const authorityMatch = uri.match(AUTHORITY_PREFIX);
3827
+ if (authorityMatch !== null && authorityMatch[1].indexOf("\\") !== -1) {
3828
+ parsed.error = "URI authority must not contain a literal backslash.";
3829
+ malformedAuthorityOrPort = true;
3830
+ }
3831
+ const introducerMatch = uri.match(AUTHORITY_INTRODUCER_REGION);
3832
+ if (introducerMatch !== null) {
3833
+ const region = introducerMatch[1];
3834
+ const normalizedRegion = region.replace(/[\t\n\r]/g, "");
3835
+ if (normalizedRegion.length >= 2) {
3836
+ if (normalizedRegion.slice(0, 2) !== "//") {
3837
+ parsed.error = parsed.error || "URI authority must not contain a literal backslash.";
3838
+ malformedAuthorityOrPort = true;
3839
+ } else if (region.length !== normalizedRegion.length) {
3840
+ parsed.error = parsed.error || "URI authority introducer must not contain whitespace.";
3841
+ malformedAuthorityOrPort = true;
3842
+ }
3843
+ }
3844
+ }
3459
3845
  const matches = uri.match(URI_PARSE);
3460
3846
  if (matches) {
3461
3847
  parsed.scheme = matches[1];
@@ -3465,6 +3851,15 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3465
3851
  parsed.path = matches[6] || "";
3466
3852
  parsed.query = matches[7];
3467
3853
  parsed.fragment = matches[8];
3854
+ if (parsed.scheme !== void 0) {
3855
+ if (VALID_SCHEME.test(parsed.scheme)) parsed.scheme = parsed.scheme.toLowerCase();
3856
+ else {
3857
+ parsed.error = parsed.error || MALFORMED_SCHEME_ERROR;
3858
+ malformedScheme = true;
3859
+ }
3860
+ }
3861
+ malformedPercentEncoding = hasMalformedComponentPercentEncoding(matches);
3862
+ if (malformedPercentEncoding) parsed.error = parsed.error || "URI contains malformed percent-encoding.";
3468
3863
  if (isNaN(parsed.port)) parsed.port = matches[5];
3469
3864
  const parseError = getParseError(parsed, matches);
3470
3865
  if (parseError !== void 0) {
@@ -3473,9 +3868,16 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3473
3868
  }
3474
3869
  if (parsed.host) {
3475
3870
  if (isIPv4(parsed.host) === false) {
3871
+ const bracketedIPLiteral = isIPLiteral(parsed.host);
3872
+ const hasIPLiteralBracket = parsed.host.indexOf("[") !== -1 || parsed.host.indexOf("]") !== -1;
3476
3873
  const ipv6result = normalizeIPv6(parsed.host);
3477
- parsed.host = ipv6result.host.toLowerCase();
3478
- isIP = ipv6result.isIPV6;
3874
+ isIP = ipv6result.isIPV6 || ipv6result.isIPVFuture === true;
3875
+ malformedIPLiteral = hasIPLiteralBracket && (!bracketedIPLiteral || ipv6result.error === true);
3876
+ parsed.host = isIP ? ipv6result.host : ipv6result.host.toLowerCase();
3877
+ if (malformedIPLiteral) {
3878
+ parsed.error = parsed.error || MALFORMED_HOST_ERROR;
3879
+ malformedAuthorityOrPort = true;
3880
+ }
3479
3881
  } else isIP = true;
3480
3882
  }
3481
3883
  if (parsed.scheme === void 0 && parsed.userinfo === void 0 && parsed.host === void 0 && parsed.port === void 0 && parsed.query === void 0 && !parsed.path) parsed.reference = "same-document";
@@ -3484,30 +3886,29 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3484
3886
  else parsed.reference = "uri";
3485
3887
  if (options.reference && options.reference !== "suffix" && options.reference !== parsed.reference) parsed.error = parsed.error || "URI is not a " + options.reference + " reference.";
3486
3888
  const schemeHandler = getSchemeHandler(options.scheme || parsed.scheme);
3487
- if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {
3488
- if (parsed.host && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) try {
3489
- parsed.host = URL.domainToASCII(parsed.host.toLowerCase());
3490
- } catch (e) {
3491
- parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
3492
- }
3889
+ if (!malformedIPLiteral) malformedHost = canonicalizeHost(parsed, options, schemeHandler, isIP);
3890
+ if (uri.indexOf("%") !== -1 && parsed.host !== void 0 && !malformedIPLiteral) {
3891
+ let host = isIP ? parsed.host : normalizePercentEncoding(parsed.host, true);
3892
+ if (!isIP) host = normalizePercentEncoding(host.toLowerCase());
3893
+ parsed.host = isIP || options.scheme !== "null" ? reescapeHostDelimiters(host, isIP) : host;
3493
3894
  }
3494
3895
  if (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {
3495
- if (uri.indexOf("%") !== -1) {
3496
- if (parsed.scheme !== void 0) parsed.scheme = unescape(parsed.scheme);
3497
- if (parsed.host !== void 0) parsed.host = reescapeHostDelimiters(unescape(parsed.host), isIP);
3498
- }
3499
3896
  if (parsed.path) parsed.path = normalizePathEncoding(parsed.path);
3500
- if (parsed.fragment) try {
3501
- parsed.fragment = encodeURI(decodeURIComponent(parsed.fragment));
3502
- } catch {
3503
- parsed.error = parsed.error || "URI malformed";
3504
- }
3897
+ if (parsed.query) parsed.query = normalizeQueryFragmentEncoding(parsed.query);
3898
+ if (parsed.fragment) parsed.fragment = normalizeQueryFragmentEncoding(parsed.fragment);
3899
+ }
3900
+ if (schemeHandler && schemeHandler.parse) {
3901
+ schemeHandler.parse(parsed, options);
3902
+ if (schemeHandler === SCHEMES.urn && parsed.nid === void 0) malformedSchemeSpecific = true;
3505
3903
  }
3506
- if (schemeHandler && schemeHandler.parse) schemeHandler.parse(parsed, options);
3507
3904
  } else parsed.error = parsed.error || "URI can not be parsed.";
3508
3905
  return {
3509
3906
  parsed,
3510
- malformedAuthorityOrPort
3907
+ malformedAuthorityOrPort,
3908
+ malformedPercentEncoding,
3909
+ malformedSchemeSpecific,
3910
+ malformedHost,
3911
+ malformedScheme
3511
3912
  };
3512
3913
  }
3513
3914
  /**
@@ -3529,13 +3930,17 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3529
3930
  /**
3530
3931
  * @param {string} uri
3531
3932
  * @param {import('./types/index').Options} [opts]
3532
- * @returns {{ normalized: string, malformedAuthorityOrPort: boolean }}
3933
+ * @returns {{ normalized: string, malformedAuthorityOrPort: boolean, malformedPercentEncoding: boolean, malformedSchemeSpecific: boolean, malformedHost: boolean, malformedScheme: boolean }}
3533
3934
  */
3534
3935
  function normalizeStringWithStatus(uri, opts) {
3535
- const { parsed, malformedAuthorityOrPort } = parseWithStatus(uri, opts);
3936
+ const { parsed, malformedAuthorityOrPort, malformedPercentEncoding, malformedSchemeSpecific, malformedHost, malformedScheme } = parseWithStatus(uri, opts);
3536
3937
  return {
3537
- normalized: malformedAuthorityOrPort ? uri : serialize(parsed, opts),
3538
- malformedAuthorityOrPort
3938
+ normalized: malformedAuthorityOrPort || malformedPercentEncoding || malformedSchemeSpecific || malformedHost || malformedScheme ? uri : serialize(parsed, opts),
3939
+ malformedAuthorityOrPort,
3940
+ malformedPercentEncoding,
3941
+ malformedSchemeSpecific,
3942
+ malformedHost,
3943
+ malformedScheme
3539
3944
  };
3540
3945
  }
3541
3946
  /**
@@ -3544,11 +3949,15 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3544
3949
  * @returns {string|undefined}
3545
3950
  */
3546
3951
  function normalizeComparableURI(uri, opts) {
3547
- if (typeof uri === "string") {
3548
- const { normalized, malformedAuthorityOrPort } = normalizeStringWithStatus(uri, opts);
3549
- return malformedAuthorityOrPort ? void 0 : normalized;
3952
+ if (typeof uri !== "string" && typeof uri !== "object") return;
3953
+ let value;
3954
+ try {
3955
+ value = typeof uri === "string" ? uri : serialize(uri, opts);
3956
+ } catch {
3957
+ return;
3550
3958
  }
3551
- if (typeof uri === "object") return serialize(uri, opts);
3959
+ const { normalized, malformedAuthorityOrPort, malformedPercentEncoding, malformedSchemeSpecific, malformedHost, malformedScheme } = normalizeStringWithStatus(value, opts);
3960
+ return malformedAuthorityOrPort || malformedPercentEncoding || malformedSchemeSpecific || malformedHost || malformedScheme ? void 0 : normalized;
3552
3961
  }
3553
3962
  const fastUri = {
3554
3963
  SCHEMES,
@@ -3563,16 +3972,14 @@ var require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {
3563
3972
  module.exports.default = fastUri;
3564
3973
  module.exports.fastUri = fastUri;
3565
3974
  }));
3566
- //#endregion
3567
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
3975
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
3568
3976
  var require_uri = /* @__PURE__ */ __commonJSMin(((exports) => {
3569
3977
  Object.defineProperty(exports, "__esModule", { value: true });
3570
3978
  const uri = require_fast_uri();
3571
3979
  uri.code = "require(\"ajv/dist/runtime/uri\").default";
3572
3980
  exports.default = uri;
3573
3981
  }));
3574
- //#endregion
3575
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js
3982
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js
3576
3983
  var require_core$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
3577
3984
  Object.defineProperty(exports, "__esModule", { value: true });
3578
3985
  exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
@@ -4140,8 +4547,7 @@ var require_core$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
4140
4547
  return { anyOf: [schema, $dataRef] };
4141
4548
  }
4142
4549
  }));
4143
- //#endregion
4144
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
4550
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
4145
4551
  var require_id = /* @__PURE__ */ __commonJSMin(((exports) => {
4146
4552
  Object.defineProperty(exports, "__esModule", { value: true });
4147
4553
  exports.default = {
@@ -4151,8 +4557,7 @@ var require_id = /* @__PURE__ */ __commonJSMin(((exports) => {
4151
4557
  }
4152
4558
  };
4153
4559
  }));
4154
- //#endregion
4155
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
4560
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
4156
4561
  var require_ref = /* @__PURE__ */ __commonJSMin(((exports) => {
4157
4562
  Object.defineProperty(exports, "__esModule", { value: true });
4158
4563
  exports.callRef = exports.getValidate = void 0;
@@ -4258,8 +4663,7 @@ var require_ref = /* @__PURE__ */ __commonJSMin(((exports) => {
4258
4663
  exports.callRef = callRef;
4259
4664
  exports.default = def;
4260
4665
  }));
4261
- //#endregion
4262
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
4666
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
4263
4667
  var require_core = /* @__PURE__ */ __commonJSMin(((exports) => {
4264
4668
  Object.defineProperty(exports, "__esModule", { value: true });
4265
4669
  const id_1 = require_id();
@@ -4275,8 +4679,7 @@ var require_core = /* @__PURE__ */ __commonJSMin(((exports) => {
4275
4679
  ref_1.default
4276
4680
  ];
4277
4681
  }));
4278
- //#endregion
4279
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
4682
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
4280
4683
  var require_limitNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
4281
4684
  Object.defineProperty(exports, "__esModule", { value: true });
4282
4685
  const codegen_1 = require_codegen();
@@ -4318,8 +4721,7 @@ var require_limitNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
4318
4721
  }
4319
4722
  };
4320
4723
  }));
4321
- //#endregion
4322
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
4724
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
4323
4725
  var require_multipleOf = /* @__PURE__ */ __commonJSMin(((exports) => {
4324
4726
  Object.defineProperty(exports, "__esModule", { value: true });
4325
4727
  const codegen_1 = require_codegen();
@@ -4341,8 +4743,7 @@ var require_multipleOf = /* @__PURE__ */ __commonJSMin(((exports) => {
4341
4743
  }
4342
4744
  };
4343
4745
  }));
4344
- //#endregion
4345
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
4746
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
4346
4747
  var require_ucs2length = /* @__PURE__ */ __commonJSMin(((exports) => {
4347
4748
  Object.defineProperty(exports, "__esModule", { value: true });
4348
4749
  function ucs2length(str) {
@@ -4363,8 +4764,7 @@ var require_ucs2length = /* @__PURE__ */ __commonJSMin(((exports) => {
4363
4764
  exports.default = ucs2length;
4364
4765
  ucs2length.code = "require(\"ajv/dist/runtime/ucs2length\").default";
4365
4766
  }));
4366
- //#endregion
4367
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
4767
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
4368
4768
  var require_limitLength = /* @__PURE__ */ __commonJSMin(((exports) => {
4369
4769
  Object.defineProperty(exports, "__esModule", { value: true });
4370
4770
  const codegen_1 = require_codegen();
@@ -4390,8 +4790,7 @@ var require_limitLength = /* @__PURE__ */ __commonJSMin(((exports) => {
4390
4790
  }
4391
4791
  };
4392
4792
  }));
4393
- //#endregion
4394
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
4793
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
4395
4794
  var require_pattern = /* @__PURE__ */ __commonJSMin(((exports) => {
4396
4795
  Object.defineProperty(exports, "__esModule", { value: true });
4397
4796
  const code_1 = require_code();
@@ -4422,8 +4821,7 @@ var require_pattern = /* @__PURE__ */ __commonJSMin(((exports) => {
4422
4821
  }
4423
4822
  };
4424
4823
  }));
4425
- //#endregion
4426
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
4824
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
4427
4825
  var require_limitProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
4428
4826
  Object.defineProperty(exports, "__esModule", { value: true });
4429
4827
  const codegen_1 = require_codegen();
@@ -4446,8 +4844,7 @@ var require_limitProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
4446
4844
  }
4447
4845
  };
4448
4846
  }));
4449
- //#endregion
4450
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
4847
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
4451
4848
  var require_required = /* @__PURE__ */ __commonJSMin(((exports) => {
4452
4849
  Object.defineProperty(exports, "__esModule", { value: true });
4453
4850
  const code_1 = require_code();
@@ -4512,8 +4909,7 @@ var require_required = /* @__PURE__ */ __commonJSMin(((exports) => {
4512
4909
  }
4513
4910
  };
4514
4911
  }));
4515
- //#endregion
4516
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
4912
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
4517
4913
  var require_limitItems = /* @__PURE__ */ __commonJSMin(((exports) => {
4518
4914
  Object.defineProperty(exports, "__esModule", { value: true });
4519
4915
  const codegen_1 = require_codegen();
@@ -4536,16 +4932,14 @@ var require_limitItems = /* @__PURE__ */ __commonJSMin(((exports) => {
4536
4932
  }
4537
4933
  };
4538
4934
  }));
4539
- //#endregion
4540
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
4935
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
4541
4936
  var require_equal = /* @__PURE__ */ __commonJSMin(((exports) => {
4542
4937
  Object.defineProperty(exports, "__esModule", { value: true });
4543
4938
  const equal = require_fast_deep_equal();
4544
4939
  equal.code = "require(\"ajv/dist/runtime/equal\").default";
4545
4940
  exports.default = equal;
4546
4941
  }));
4547
- //#endregion
4548
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
4942
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
4549
4943
  var require_uniqueItems = /* @__PURE__ */ __commonJSMin(((exports) => {
4550
4944
  Object.defineProperty(exports, "__esModule", { value: true });
4551
4945
  const dataType_1 = require_dataType();
@@ -4607,8 +5001,7 @@ var require_uniqueItems = /* @__PURE__ */ __commonJSMin(((exports) => {
4607
5001
  }
4608
5002
  };
4609
5003
  }));
4610
- //#endregion
4611
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
5004
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
4612
5005
  var require_const = /* @__PURE__ */ __commonJSMin(((exports) => {
4613
5006
  Object.defineProperty(exports, "__esModule", { value: true });
4614
5007
  const codegen_1 = require_codegen();
@@ -4628,8 +5021,7 @@ var require_const = /* @__PURE__ */ __commonJSMin(((exports) => {
4628
5021
  }
4629
5022
  };
4630
5023
  }));
4631
- //#endregion
4632
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
5024
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
4633
5025
  var require_enum = /* @__PURE__ */ __commonJSMin(((exports) => {
4634
5026
  Object.defineProperty(exports, "__esModule", { value: true });
4635
5027
  const codegen_1 = require_codegen();
@@ -4671,8 +5063,7 @@ var require_enum = /* @__PURE__ */ __commonJSMin(((exports) => {
4671
5063
  }
4672
5064
  };
4673
5065
  }));
4674
- //#endregion
4675
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
5066
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
4676
5067
  var require_validation = /* @__PURE__ */ __commonJSMin(((exports) => {
4677
5068
  Object.defineProperty(exports, "__esModule", { value: true });
4678
5069
  const limitNumber_1 = require_limitNumber();
@@ -4706,8 +5097,7 @@ var require_validation = /* @__PURE__ */ __commonJSMin(((exports) => {
4706
5097
  enum_1.default
4707
5098
  ];
4708
5099
  }));
4709
- //#endregion
4710
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
5100
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
4711
5101
  var require_additionalItems = /* @__PURE__ */ __commonJSMin(((exports) => {
4712
5102
  Object.defineProperty(exports, "__esModule", { value: true });
4713
5103
  exports.validateAdditionalItems = void 0;
@@ -4758,8 +5148,7 @@ var require_additionalItems = /* @__PURE__ */ __commonJSMin(((exports) => {
4758
5148
  exports.validateAdditionalItems = validateAdditionalItems;
4759
5149
  exports.default = def;
4760
5150
  }));
4761
- //#endregion
4762
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
5151
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
4763
5152
  var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
4764
5153
  Object.defineProperty(exports, "__esModule", { value: true });
4765
5154
  exports.validateTuple = void 0;
@@ -4811,8 +5200,7 @@ var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
4811
5200
  exports.validateTuple = validateTuple;
4812
5201
  exports.default = def;
4813
5202
  }));
4814
- //#endregion
4815
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
5203
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
4816
5204
  var require_prefixItems = /* @__PURE__ */ __commonJSMin(((exports) => {
4817
5205
  Object.defineProperty(exports, "__esModule", { value: true });
4818
5206
  const items_1 = require_items();
@@ -4824,8 +5212,7 @@ var require_prefixItems = /* @__PURE__ */ __commonJSMin(((exports) => {
4824
5212
  code: (cxt) => (0, items_1.validateTuple)(cxt, "items")
4825
5213
  };
4826
5214
  }));
4827
- //#endregion
4828
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
5215
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
4829
5216
  var require_items2020 = /* @__PURE__ */ __commonJSMin(((exports) => {
4830
5217
  Object.defineProperty(exports, "__esModule", { value: true });
4831
5218
  const codegen_1 = require_codegen();
@@ -4851,8 +5238,7 @@ var require_items2020 = /* @__PURE__ */ __commonJSMin(((exports) => {
4851
5238
  }
4852
5239
  };
4853
5240
  }));
4854
- //#endregion
4855
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
5241
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
4856
5242
  var require_contains = /* @__PURE__ */ __commonJSMin(((exports) => {
4857
5243
  Object.defineProperty(exports, "__esModule", { value: true });
4858
5244
  const codegen_1 = require_codegen();
@@ -4935,8 +5321,7 @@ var require_contains = /* @__PURE__ */ __commonJSMin(((exports) => {
4935
5321
  }
4936
5322
  };
4937
5323
  }));
4938
- //#endregion
4939
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
5324
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
4940
5325
  var require_dependencies = /* @__PURE__ */ __commonJSMin(((exports) => {
4941
5326
  Object.defineProperty(exports, "__esModule", { value: true });
4942
5327
  exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
@@ -5016,8 +5401,7 @@ var require_dependencies = /* @__PURE__ */ __commonJSMin(((exports) => {
5016
5401
  exports.validateSchemaDeps = validateSchemaDeps;
5017
5402
  exports.default = def;
5018
5403
  }));
5019
- //#endregion
5020
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
5404
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
5021
5405
  var require_propertyNames = /* @__PURE__ */ __commonJSMin(((exports) => {
5022
5406
  Object.defineProperty(exports, "__esModule", { value: true });
5023
5407
  const codegen_1 = require_codegen();
@@ -5052,8 +5436,7 @@ var require_propertyNames = /* @__PURE__ */ __commonJSMin(((exports) => {
5052
5436
  }
5053
5437
  };
5054
5438
  }));
5055
- //#endregion
5056
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
5439
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
5057
5440
  var require_additionalProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
5058
5441
  Object.defineProperty(exports, "__esModule", { value: true });
5059
5442
  const code_1 = require_code();
@@ -5141,8 +5524,7 @@ var require_additionalProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
5141
5524
  }
5142
5525
  };
5143
5526
  }));
5144
- //#endregion
5145
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
5527
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
5146
5528
  var require_properties = /* @__PURE__ */ __commonJSMin(((exports) => {
5147
5529
  Object.defineProperty(exports, "__esModule", { value: true });
5148
5530
  const validate_1 = require_validate();
@@ -5186,8 +5568,7 @@ var require_properties = /* @__PURE__ */ __commonJSMin(((exports) => {
5186
5568
  }
5187
5569
  };
5188
5570
  }));
5189
- //#endregion
5190
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
5571
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
5191
5572
  var require_patternProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
5192
5573
  Object.defineProperty(exports, "__esModule", { value: true });
5193
5574
  const code_1 = require_code();
@@ -5241,8 +5622,7 @@ var require_patternProperties = /* @__PURE__ */ __commonJSMin(((exports) => {
5241
5622
  }
5242
5623
  };
5243
5624
  }));
5244
- //#endregion
5245
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
5625
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
5246
5626
  var require_not = /* @__PURE__ */ __commonJSMin(((exports) => {
5247
5627
  Object.defineProperty(exports, "__esModule", { value: true });
5248
5628
  const util_1 = require_util();
@@ -5268,8 +5648,7 @@ var require_not = /* @__PURE__ */ __commonJSMin(((exports) => {
5268
5648
  error: { message: "must NOT be valid" }
5269
5649
  };
5270
5650
  }));
5271
- //#endregion
5272
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
5651
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
5273
5652
  var require_anyOf = /* @__PURE__ */ __commonJSMin(((exports) => {
5274
5653
  Object.defineProperty(exports, "__esModule", { value: true });
5275
5654
  exports.default = {
@@ -5280,8 +5659,7 @@ var require_anyOf = /* @__PURE__ */ __commonJSMin(((exports) => {
5280
5659
  error: { message: "must match a schema in anyOf" }
5281
5660
  };
5282
5661
  }));
5283
- //#endregion
5284
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
5662
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
5285
5663
  var require_oneOf = /* @__PURE__ */ __commonJSMin(((exports) => {
5286
5664
  Object.defineProperty(exports, "__esModule", { value: true });
5287
5665
  const codegen_1 = require_codegen();
@@ -5326,8 +5704,7 @@ var require_oneOf = /* @__PURE__ */ __commonJSMin(((exports) => {
5326
5704
  }
5327
5705
  };
5328
5706
  }));
5329
- //#endregion
5330
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
5707
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
5331
5708
  var require_allOf = /* @__PURE__ */ __commonJSMin(((exports) => {
5332
5709
  Object.defineProperty(exports, "__esModule", { value: true });
5333
5710
  const util_1 = require_util();
@@ -5351,8 +5728,7 @@ var require_allOf = /* @__PURE__ */ __commonJSMin(((exports) => {
5351
5728
  }
5352
5729
  };
5353
5730
  }));
5354
- //#endregion
5355
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
5731
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
5356
5732
  var require_if = /* @__PURE__ */ __commonJSMin(((exports) => {
5357
5733
  Object.defineProperty(exports, "__esModule", { value: true });
5358
5734
  const codegen_1 = require_codegen();
@@ -5408,8 +5784,7 @@ var require_if = /* @__PURE__ */ __commonJSMin(((exports) => {
5408
5784
  }
5409
5785
  exports.default = def;
5410
5786
  }));
5411
- //#endregion
5412
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
5787
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
5413
5788
  var require_thenElse = /* @__PURE__ */ __commonJSMin(((exports) => {
5414
5789
  Object.defineProperty(exports, "__esModule", { value: true });
5415
5790
  const util_1 = require_util();
@@ -5421,8 +5796,7 @@ var require_thenElse = /* @__PURE__ */ __commonJSMin(((exports) => {
5421
5796
  }
5422
5797
  };
5423
5798
  }));
5424
- //#endregion
5425
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
5799
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
5426
5800
  var require_applicator = /* @__PURE__ */ __commonJSMin(((exports) => {
5427
5801
  Object.defineProperty(exports, "__esModule", { value: true });
5428
5802
  const additionalItems_1 = require_additionalItems();
@@ -5462,8 +5836,7 @@ var require_applicator = /* @__PURE__ */ __commonJSMin(((exports) => {
5462
5836
  }
5463
5837
  exports.default = getApplicator;
5464
5838
  }));
5465
- //#endregion
5466
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
5839
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
5467
5840
  var require_format$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
5468
5841
  Object.defineProperty(exports, "__esModule", { value: true });
5469
5842
  const codegen_1 = require_codegen();
@@ -5550,14 +5923,12 @@ var require_format$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
5550
5923
  }
5551
5924
  };
5552
5925
  }));
5553
- //#endregion
5554
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
5926
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
5555
5927
  var require_format = /* @__PURE__ */ __commonJSMin(((exports) => {
5556
5928
  Object.defineProperty(exports, "__esModule", { value: true });
5557
5929
  exports.default = [require_format$1().default];
5558
5930
  }));
5559
- //#endregion
5560
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
5931
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
5561
5932
  var require_metadata = /* @__PURE__ */ __commonJSMin(((exports) => {
5562
5933
  Object.defineProperty(exports, "__esModule", { value: true });
5563
5934
  exports.contentVocabulary = exports.metadataVocabulary = void 0;
@@ -5576,8 +5947,7 @@ var require_metadata = /* @__PURE__ */ __commonJSMin(((exports) => {
5576
5947
  "contentSchema"
5577
5948
  ];
5578
5949
  }));
5579
- //#endregion
5580
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
5950
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
5581
5951
  var require_draft7 = /* @__PURE__ */ __commonJSMin(((exports) => {
5582
5952
  Object.defineProperty(exports, "__esModule", { value: true });
5583
5953
  const core_1 = require_core();
@@ -5594,8 +5964,7 @@ var require_draft7 = /* @__PURE__ */ __commonJSMin(((exports) => {
5594
5964
  metadata_1.contentVocabulary
5595
5965
  ];
5596
5966
  }));
5597
- //#endregion
5598
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
5967
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
5599
5968
  var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
5600
5969
  Object.defineProperty(exports, "__esModule", { value: true });
5601
5970
  exports.DiscrError = void 0;
@@ -5605,8 +5974,7 @@ var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
5605
5974
  DiscrError["Mapping"] = "mapping";
5606
5975
  })(DiscrError || (exports.DiscrError = DiscrError = {}));
5607
5976
  }));
5608
- //#endregion
5609
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
5977
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
5610
5978
  var require_discriminator = /* @__PURE__ */ __commonJSMin(((exports) => {
5611
5979
  Object.defineProperty(exports, "__esModule", { value: true });
5612
5980
  const codegen_1 = require_codegen();
@@ -5698,8 +6066,7 @@ var require_discriminator = /* @__PURE__ */ __commonJSMin(((exports) => {
5698
6066
  }
5699
6067
  };
5700
6068
  }));
5701
- //#endregion
5702
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
6069
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
5703
6070
  var require_json_schema_draft_07 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5704
6071
  module.exports = {
5705
6072
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -5836,8 +6203,7 @@ var require_json_schema_draft_07 = /* @__PURE__ */ __commonJSMin(((exports, modu
5836
6203
  "default": true
5837
6204
  };
5838
6205
  }));
5839
- //#endregion
5840
- //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js
6206
+ // ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js
5841
6207
  var require_ajv = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5842
6208
  Object.defineProperty(exports, "__esModule", { value: true });
5843
6209
  exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
@@ -5928,8 +6294,7 @@ var require_ajv = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5928
6294
  }
5929
6295
  });
5930
6296
  }));
5931
- //#endregion
5932
- //#region ../../node_modules/.pnpm/ajv-formats@3.0.1/node_modules/ajv-formats/dist/formats.js
6297
+ // ../../node_modules/.pnpm/ajv-formats@3.0.1/node_modules/ajv-formats/dist/formats.js
5933
6298
  var require_formats = /* @__PURE__ */ __commonJSMin(((exports) => {
5934
6299
  Object.defineProperty(exports, "__esModule", { value: true });
5935
6300
  exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
@@ -6116,8 +6481,7 @@ var require_formats = /* @__PURE__ */ __commonJSMin(((exports) => {
6116
6481
  }
6117
6482
  }
6118
6483
  }));
6119
- //#endregion
6120
- //#region ../../node_modules/.pnpm/ajv-formats@3.0.1/node_modules/ajv-formats/dist/limit.js
6484
+ // ../../node_modules/.pnpm/ajv-formats@3.0.1/node_modules/ajv-formats/dist/limit.js
6121
6485
  var require_limit = /* @__PURE__ */ __commonJSMin(((exports) => {
6122
6486
  Object.defineProperty(exports, "__esModule", { value: true });
6123
6487
  exports.formatLimitDefinition = void 0;
@@ -6194,8 +6558,7 @@ var require_limit = /* @__PURE__ */ __commonJSMin(((exports) => {
6194
6558
  };
6195
6559
  exports.default = formatLimitPlugin;
6196
6560
  }));
6197
- //#endregion
6198
- //#region ../../node_modules/.pnpm/ajv-formats@3.0.1/node_modules/ajv-formats/dist/index.js
6561
+ // ../../node_modules/.pnpm/ajv-formats@3.0.1/node_modules/ajv-formats/dist/index.js
6199
6562
  var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6200
6563
  Object.defineProperty(exports, "__esModule", { value: true });
6201
6564
  const formats_1 = require_formats();
@@ -6228,8 +6591,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6228
6591
  Object.defineProperty(exports, "__esModule", { value: true });
6229
6592
  exports.default = formatsPlugin;
6230
6593
  }));
6231
- //#endregion
6232
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_supports-color@7.2.0_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
6594
+ // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_supports-color@7.2.0_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
6233
6595
  var import_ajv = /* @__PURE__ */ __toESM(require_ajv(), 1);
6234
6596
  var import_dist = /* @__PURE__ */ __toESM(require_dist(), 1);
6235
6597
  function createDefaultAjvInstance() {
@@ -6304,8 +6666,7 @@ var AjvJsonSchemaValidator = class {
6304
6666
  };
6305
6667
  }
6306
6668
  };
6307
- //#endregion
6308
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_supports-color@7.2.0_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
6669
+ // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_supports-color@7.2.0_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
6309
6670
  /**
6310
6671
  * Experimental server task features for MCP SDK.
6311
6672
  * WARNING: These APIs are experimental and may change without notice.
@@ -6522,8 +6883,7 @@ var ExperimentalServerTasks = class {
6522
6883
  return this._server.cancelTask({ taskId }, options);
6523
6884
  }
6524
6885
  };
6525
- //#endregion
6526
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_supports-color@7.2.0_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
6886
+ // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_supports-color@7.2.0_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
6527
6887
  /**
6528
6888
  * Experimental task capability assertion helpers.
6529
6889
  * WARNING: These APIs are experimental and may change without notice.
@@ -6567,8 +6927,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
6567
6927
  case "elicitation/create": if (!requests.elicitation?.create) throw new Error(`${entityName} does not support task creation for elicitation/create (required for ${method})`);
6568
6928
  }
6569
6929
  }
6570
- //#endregion
6571
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.1_supports-color@7.2.0_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
6930
+ // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.32.2_supports-color@7.2.0_zod@4.6.7/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
6572
6931
  /**
6573
6932
  * An MCP server on top of a pluggable transport.
6574
6933
  *
@@ -6890,7 +7249,6 @@ var Server = class extends Protocol {
6890
7249
  return this.notification({ method: "notifications/prompts/list_changed" });
6891
7250
  }
6892
7251
  };
6893
- //#endregion
6894
7252
  export { AjvJsonSchemaValidator as i, assertClientRequestTaskCapability as n, assertToolsCallTaskCapability as r, Server as t };
6895
7253
 
6896
- //# sourceMappingURL=server-C-tcoOT7.mjs.map
7254
+ //# sourceMappingURL=server-CsCpY0Ft.mjs.map