@ian-pascoe/pi-mcp 0.3.0 → 0.3.2

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.
@@ -597,7 +597,7 @@ import { createHash } from "node:crypto";
597
597
  import { readFile as readFile2 } from "node:fs/promises";
598
598
  import { join as join2 } from "node:path";
599
599
 
600
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/memory/memory.mjs
600
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/memory/memory.mjs
601
601
  var memory_exports = {};
602
602
  __export(memory_exports, {
603
603
  Assign: () => Assign,
@@ -608,7 +608,7 @@ __export(memory_exports, {
608
608
  Update: () => Update
609
609
  });
610
610
 
611
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/memory/metrics.mjs
611
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/memory/metrics.mjs
612
612
  var Metrics = {
613
613
  assign: 0,
614
614
  create: 0,
@@ -617,13 +617,15 @@ var Metrics = {
617
617
  update: 0
618
618
  };
619
619
 
620
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/memory/assign.mjs
621
- function Assign(left, right) {
622
- Metrics.assign += 1;
623
- return { ...left, ...right };
624
- }
620
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/settings/settings.mjs
621
+ var settings_exports = {};
622
+ __export(settings_exports, {
623
+ Get: () => Get,
624
+ Reset: () => Reset,
625
+ Set: () => Set2
626
+ });
625
627
 
626
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/guard/guard.mjs
628
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/guard/guard.mjs
627
629
  var guard_exports = {};
628
630
  __export(guard_exports, {
629
631
  Counted: () => Counted,
@@ -666,7 +668,7 @@ __export(guard_exports, {
666
668
  Values: () => Values
667
669
  });
668
670
 
669
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/guard/string.mjs
671
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/guard/string.mjs
670
672
  function IsBetween(value, min, max) {
671
673
  return value >= min && value <= max;
672
674
  }
@@ -776,7 +778,7 @@ function IsMaxLength(value, maxLength) {
776
778
  return true;
777
779
  }
778
780
 
779
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/guard/guard.mjs
781
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/guard/guard.mjs
780
782
  function IsArray(value) {
781
783
  return Array.isArray(value);
782
784
  }
@@ -940,7 +942,7 @@ function IsDeepEqual(left, right) {
940
942
  return IsArray(left) ? DeepEqualArray(left, right) : IsObject(left) ? DeepEqualObject(left, right) : IsEqual(left, right);
941
943
  }
942
944
 
943
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/guard/globals.mjs
945
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/guard/globals.mjs
944
946
  var globals_exports = {};
945
947
  __export(globals_exports, {
946
948
  IsBigInt64Array: () => IsBigInt64Array,
@@ -1021,10 +1023,54 @@ function IsMap(value) {
1021
1023
  return value instanceof globalThis.Map;
1022
1024
  }
1023
1025
 
1024
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/guard/index.mjs
1026
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/guard/index.mjs
1025
1027
  var guard_default = guard_exports;
1026
1028
 
1027
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/memory/clone.mjs
1029
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/settings/settings.mjs
1030
+ var settings = {
1031
+ immutableTypes: false,
1032
+ maxErrors: 8,
1033
+ maxInstantiationCount: 128,
1034
+ useAcceleration: true,
1035
+ exactOptionalPropertyTypes: false,
1036
+ enumerableKind: false,
1037
+ correctiveParse: false,
1038
+ unionPrioritySort: true
1039
+ };
1040
+ function Reset() {
1041
+ settings.immutableTypes = false;
1042
+ settings.maxErrors = 8;
1043
+ settings.maxInstantiationCount = 128;
1044
+ settings.useAcceleration = true;
1045
+ settings.exactOptionalPropertyTypes = false;
1046
+ settings.enumerableKind = false;
1047
+ settings.correctiveParse = false;
1048
+ settings.unionPrioritySort = true;
1049
+ }
1050
+ function Set2(options) {
1051
+ for (const key of guard_exports.Keys(options)) {
1052
+ const value = options[key];
1053
+ if (value !== void 0) {
1054
+ Object.defineProperty(settings, key, { value });
1055
+ }
1056
+ }
1057
+ }
1058
+ function Get() {
1059
+ return settings;
1060
+ }
1061
+
1062
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/memory/freeze.mjs
1063
+ function Freeze(value) {
1064
+ return settings_exports.Get().immutableTypes ? Object.freeze(value) : value;
1065
+ }
1066
+
1067
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/memory/assign.mjs
1068
+ function Assign(left, right) {
1069
+ Metrics.assign += 1;
1070
+ return Freeze({ ...left, ...right });
1071
+ }
1072
+
1073
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/memory/clone.mjs
1028
1074
  function FromClassInstance(value) {
1029
1075
  return value;
1030
1076
  }
@@ -1084,46 +1130,7 @@ function Clone(value) {
1084
1130
  return FromValue(value);
1085
1131
  }
1086
1132
 
1087
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/settings/settings.mjs
1088
- var settings_exports = {};
1089
- __export(settings_exports, {
1090
- Get: () => Get,
1091
- Reset: () => Reset,
1092
- Set: () => Set2
1093
- });
1094
- var settings = {
1095
- immutableTypes: false,
1096
- maxErrors: 8,
1097
- maxInstantiationCount: 128,
1098
- useAcceleration: true,
1099
- exactOptionalPropertyTypes: false,
1100
- enumerableKind: false,
1101
- correctiveParse: false,
1102
- unionPrioritySort: true
1103
- };
1104
- function Reset() {
1105
- settings.immutableTypes = false;
1106
- settings.maxErrors = 8;
1107
- settings.maxInstantiationCount = 128;
1108
- settings.useAcceleration = true;
1109
- settings.exactOptionalPropertyTypes = false;
1110
- settings.enumerableKind = false;
1111
- settings.correctiveParse = false;
1112
- settings.unionPrioritySort = true;
1113
- }
1114
- function Set2(options) {
1115
- for (const key of guard_exports.Keys(options)) {
1116
- const value = options[key];
1117
- if (value !== void 0) {
1118
- Object.defineProperty(settings, key, { value });
1119
- }
1120
- }
1121
- }
1122
- function Get() {
1123
- return settings;
1124
- }
1125
-
1126
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/memory/create.mjs
1133
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/memory/create.mjs
1127
1134
  function MergeHidden(left, right) {
1128
1135
  for (const key of Object.keys(right)) {
1129
1136
  Object.defineProperty(left, key, {
@@ -1140,13 +1147,12 @@ function Merge(left, right) {
1140
1147
  }
1141
1148
  function Create(hidden, enumerable, options = {}) {
1142
1149
  Metrics.create += 1;
1143
- const settings2 = settings_exports.Get();
1144
1150
  const withOptions = Merge(enumerable, options);
1145
- const withHidden = settings2.enumerableKind ? Merge(withOptions, hidden) : MergeHidden(withOptions, hidden);
1146
- return settings2.immutableTypes ? Object.freeze(withHidden) : withHidden;
1151
+ const withHidden = settings_exports.Get().enumerableKind ? Merge(withOptions, hidden) : MergeHidden(withOptions, hidden);
1152
+ return Freeze(withHidden);
1147
1153
  }
1148
1154
 
1149
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/memory/discard.mjs
1155
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/memory/discard.mjs
1150
1156
  function Discard(value, propertyKeys) {
1151
1157
  Metrics.discard += 1;
1152
1158
  const result = {};
@@ -1157,10 +1163,10 @@ function Discard(value, propertyKeys) {
1157
1163
  descriptor.value = Clone(descriptor.value);
1158
1164
  Object.defineProperty(result, key, descriptor);
1159
1165
  }
1160
- return result;
1166
+ return Freeze(result);
1161
1167
  }
1162
1168
 
1163
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/memory/update.mjs
1169
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/memory/update.mjs
1164
1170
  function Update(current, hidden, enumerable) {
1165
1171
  Metrics.update += 1;
1166
1172
  const settings2 = settings_exports.Get();
@@ -1181,10 +1187,10 @@ function Update(current, hidden, enumerable) {
1181
1187
  value: enumerable[key]
1182
1188
  });
1183
1189
  }
1184
- return result;
1190
+ return Freeze(result);
1185
1191
  }
1186
1192
 
1187
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/schema.mjs
1193
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/schema.mjs
1188
1194
  function IsKind(value, kind) {
1189
1195
  return guard_exports.IsObject(value) && guard_exports.HasPropertyKey(value, "~kind") && guard_exports.IsEqual(value["~kind"], kind);
1190
1196
  }
@@ -1192,7 +1198,7 @@ function IsSchema(value) {
1192
1198
  return guard_exports.IsObject(value);
1193
1199
  }
1194
1200
 
1195
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/deferred.mjs
1201
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/deferred.mjs
1196
1202
  function Deferred(action, parameters, options) {
1197
1203
  return memory_exports.Create({ "~kind": "Deferred" }, { type: "deferred", action, parameters, options }, {});
1198
1204
  }
@@ -1200,7 +1206,7 @@ function IsDeferred(value) {
1200
1206
  return IsKind(value, "Deferred");
1201
1207
  }
1202
1208
 
1203
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs
1209
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs
1204
1210
  function AddReadonlyOperation(type) {
1205
1211
  return memory_exports.Update(type, { "~readonly": true }, {});
1206
1212
  }
@@ -1213,7 +1219,7 @@ function AddReadonlyInstantiate(context, state, type, options) {
1213
1219
  return AddReadonlyAction(instantiatedType, options);
1214
1220
  }
1215
1221
 
1216
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs
1222
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs
1217
1223
  function AddOptionalOperation(type) {
1218
1224
  return memory_exports.Update(type, { "~optional": true }, {});
1219
1225
  }
@@ -1226,7 +1232,7 @@ function AddOptionalInstantiate(context, state, type, options) {
1226
1232
  return AddOptionalAction(instantiatedType, options);
1227
1233
  }
1228
1234
 
1229
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/array.mjs
1235
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/array.mjs
1230
1236
  function _Array_(items, options) {
1231
1237
  return memory_exports.Create({ "~kind": "Array" }, { type: "array", items }, options);
1232
1238
  }
@@ -1237,7 +1243,7 @@ function ArrayOptions(type) {
1237
1243
  return memory_exports.Discard(type, ["~kind", "type", "items"]);
1238
1244
  }
1239
1245
 
1240
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/constructor.mjs
1246
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/constructor.mjs
1241
1247
  function Constructor(parameters, instanceType, options = {}) {
1242
1248
  return memory_exports.Create({ "~kind": "Constructor" }, { type: "constructor", parameters, instanceType }, options);
1243
1249
  }
@@ -1248,7 +1254,7 @@ function ConstructorOptions(type) {
1248
1254
  return memory_exports.Discard(type, ["~kind", "type", "parameters", "instanceType"]);
1249
1255
  }
1250
1256
 
1251
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/function.mjs
1257
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/function.mjs
1252
1258
  function _Function_(parameters, returnType, options = {}) {
1253
1259
  return memory_exports.Create({ ["~kind"]: "Function" }, { type: "function", parameters, returnType }, options);
1254
1260
  }
@@ -1259,7 +1265,7 @@ function FunctionOptions(type) {
1259
1265
  return memory_exports.Discard(type, ["~kind", "type", "parameters", "returnType"]);
1260
1266
  }
1261
1267
 
1262
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/ref.mjs
1268
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/ref.mjs
1263
1269
  function Ref(ref, options) {
1264
1270
  return memory_exports.Create({ ["~kind"]: "Ref" }, { $ref: ref }, options);
1265
1271
  }
@@ -1267,7 +1273,7 @@ function IsRef(value) {
1267
1273
  return IsKind(value, "Ref");
1268
1274
  }
1269
1275
 
1270
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/generic.mjs
1276
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/generic.mjs
1271
1277
  function Generic(parameters, expression) {
1272
1278
  return memory_exports.Create({ "~kind": "Generic" }, { type: "generic", parameters, expression });
1273
1279
  }
@@ -1275,7 +1281,7 @@ function IsGeneric(value) {
1275
1281
  return IsKind(value, "Generic");
1276
1282
  }
1277
1283
 
1278
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/any.mjs
1284
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/any.mjs
1279
1285
  function Any(options) {
1280
1286
  return memory_exports.Create({ ["~kind"]: "Any" }, {}, options);
1281
1287
  }
@@ -1283,7 +1289,7 @@ function IsAny(value) {
1283
1289
  return IsKind(value, "Any");
1284
1290
  }
1285
1291
 
1286
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/never.mjs
1292
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/never.mjs
1287
1293
  var NeverPattern = "(?!)";
1288
1294
  function Never(options) {
1289
1295
  return memory_exports.Create({ "~kind": "Never" }, { not: {} }, options);
@@ -1292,7 +1298,7 @@ function IsNever(value) {
1292
1298
  return IsKind(value, "Never");
1293
1299
  }
1294
1300
 
1295
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/_add_optional.mjs
1301
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/_add_optional.mjs
1296
1302
  function AddOptionalDeferred(type, options = {}) {
1297
1303
  return Deferred("AddOptional", [type], options);
1298
1304
  }
@@ -1300,7 +1306,7 @@ function AddOptional(type, options = {}) {
1300
1306
  return AddOptionalAction(type, options);
1301
1307
  }
1302
1308
 
1303
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/_optional.mjs
1309
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/_optional.mjs
1304
1310
  function Optional(type) {
1305
1311
  return AddOptional(type);
1306
1312
  }
@@ -1308,7 +1314,7 @@ function IsOptional(value) {
1308
1314
  return IsSchema(value) && guard_exports.HasPropertyKey(value, "~optional");
1309
1315
  }
1310
1316
 
1311
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/properties.mjs
1317
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/properties.mjs
1312
1318
  function RequiredArray(properties) {
1313
1319
  return guard_exports.Keys(properties).filter((key) => !IsOptional(properties[key]));
1314
1320
  }
@@ -1319,7 +1325,7 @@ function PropertyValues(properties) {
1319
1325
  return guard_exports.Values(properties);
1320
1326
  }
1321
1327
 
1322
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/object.mjs
1328
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/object.mjs
1323
1329
  function _Object_(properties, options = {}) {
1324
1330
  const requiredKeys = RequiredArray(properties);
1325
1331
  const required = requiredKeys.length > 0 ? { required: requiredKeys } : {};
@@ -1332,7 +1338,7 @@ function ObjectOptions(type) {
1332
1338
  return memory_exports.Discard(type, ["~kind", "type", "properties", "required"]);
1333
1339
  }
1334
1340
 
1335
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/unknown.mjs
1341
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/unknown.mjs
1336
1342
  function Unknown(options) {
1337
1343
  return memory_exports.Create({ ["~kind"]: "Unknown" }, {}, options);
1338
1344
  }
@@ -1340,7 +1346,7 @@ function IsUnknown(value) {
1340
1346
  return IsKind(value, "Unknown");
1341
1347
  }
1342
1348
 
1343
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/cyclic.mjs
1349
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/cyclic.mjs
1344
1350
  function Cyclic($defs, $ref, options) {
1345
1351
  const defs = guard_exports.Keys($defs).reduce((result, key) => {
1346
1352
  return { ...result, [key]: memory_exports.Update($defs[key], {}, { $id: key }) };
@@ -1351,7 +1357,7 @@ function IsCyclic(value) {
1351
1357
  return IsKind(value, "Cyclic");
1352
1358
  }
1353
1359
 
1354
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/unsafe.mjs
1360
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/unsafe.mjs
1355
1361
  function Unsafe(schema) {
1356
1362
  return memory_exports.Update(schema, { ["~unsafe"]: null }, {});
1357
1363
  }
@@ -1359,7 +1365,7 @@ function IsUnsafe(value) {
1359
1365
  return guard_exports.IsObjectNotArray(value) && guard_exports.HasPropertyKey(value, "~unsafe") && guard_exports.IsNull(value["~unsafe"]);
1360
1366
  }
1361
1367
 
1362
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/arguments/arguments.mjs
1368
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/arguments/arguments.mjs
1363
1369
  var arguments_exports = {};
1364
1370
  __export(arguments_exports, {
1365
1371
  Match: () => Match
@@ -1370,7 +1376,7 @@ function Match(args, match) {
1370
1376
  })();
1371
1377
  }
1372
1378
 
1373
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/infer.mjs
1379
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/infer.mjs
1374
1380
  function Infer(...args) {
1375
1381
  const [name, extends_] = arguments_exports.Match(args, {
1376
1382
  2: (name2, extends_2) => [name2, extends_2, extends_2],
@@ -1382,7 +1388,7 @@ function IsInfer(value) {
1382
1388
  return IsKind(value, "Infer");
1383
1389
  }
1384
1390
 
1385
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/dependent.mjs
1391
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/dependent.mjs
1386
1392
  function Dependent(if_, then_, else_, options = {}) {
1387
1393
  return memory_exports.Create({ "~kind": "Dependent" }, { if: if_, then: then_, else: else_ }, options);
1388
1394
  }
@@ -1393,7 +1399,7 @@ function DependentOptions(type) {
1393
1399
  return memory_exports.Discard(type, ["~kind", "if", "then", "else"]);
1394
1400
  }
1395
1401
 
1396
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs
1402
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs
1397
1403
  function IsTypeScriptEnumLike(value) {
1398
1404
  return guard_exports.IsObjectNotArray(value);
1399
1405
  }
@@ -1402,7 +1408,7 @@ function TypeScriptEnumToEnumValues(type) {
1402
1408
  return keys.reduce((result, key) => [...result, type[key]], []);
1403
1409
  }
1404
1410
 
1405
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/enum.mjs
1411
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/enum.mjs
1406
1412
  function IsEnumValue(value) {
1407
1413
  return guard_exports.IsString(value) || guard_exports.IsNumber(value);
1408
1414
  }
@@ -1414,7 +1420,7 @@ function IsEnum(value) {
1414
1420
  return IsKind(value, "Enum");
1415
1421
  }
1416
1422
 
1417
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/intersect.mjs
1423
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/intersect.mjs
1418
1424
  function Intersect(types, options = {}) {
1419
1425
  return memory_exports.Create({ "~kind": "Intersect" }, { allOf: types }, options);
1420
1426
  }
@@ -1425,19 +1431,19 @@ function IntersectOptions(type) {
1425
1431
  return memory_exports.Discard(type, ["~kind", "allOf"]);
1426
1432
  }
1427
1433
 
1428
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/hashing/hash.mjs
1434
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/hashing/hash.mjs
1429
1435
  var hash_exports = {};
1430
1436
  __export(hash_exports, {
1431
1437
  Hash: () => Hash,
1432
1438
  HashCode: () => HashCode
1433
1439
  });
1434
1440
 
1435
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/unreachable/unreachable.mjs
1441
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/unreachable/unreachable.mjs
1436
1442
  function Unreachable() {
1437
1443
  throw new Error("Unreachable");
1438
1444
  }
1439
1445
 
1440
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/hashing/hash.mjs
1446
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/hashing/hash.mjs
1441
1447
  function InstanceKeys(value) {
1442
1448
  const propertyKeys = /* @__PURE__ */ new Set();
1443
1449
  let current = value;
@@ -1571,7 +1577,7 @@ function Hash(value) {
1571
1577
  return HashCode(value).toString(16).padStart(16, "0");
1572
1578
  }
1573
1579
 
1574
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/locale/en_US.mjs
1580
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/locale/en_US.mjs
1575
1581
  function en_US(error) {
1576
1582
  switch (error.keyword) {
1577
1583
  case "additionalProperties":
@@ -1642,13 +1648,13 @@ function en_US(error) {
1642
1648
  }
1643
1649
  }
1644
1650
 
1645
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/system/locale/_config.mjs
1651
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/system/locale/_config.mjs
1646
1652
  var locale = en_US;
1647
1653
  function Get2() {
1648
1654
  return locale;
1649
1655
  }
1650
1656
 
1651
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/_codec.mjs
1657
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/_codec.mjs
1652
1658
  var EncodeBuilder = class {
1653
1659
  constructor(type, decode) {
1654
1660
  this.type = type;
@@ -1687,7 +1693,7 @@ function IsCodec(value) {
1687
1693
  return IsSchema(value) && guard_exports.HasPropertyKey(value, "~codec") && guard_exports.IsObject(value["~codec"]) && guard_exports.HasPropertyKey(value["~codec"], "encode") && guard_exports.HasPropertyKey(value["~codec"], "decode");
1688
1694
  }
1689
1695
 
1690
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/_immutable.mjs
1696
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/_immutable.mjs
1691
1697
  function Immutable(type) {
1692
1698
  return AddImmutable(type);
1693
1699
  }
@@ -1695,7 +1701,7 @@ function IsImmutable(value) {
1695
1701
  return IsSchema(value) && guard_exports.HasPropertyKey(value, "~immutable");
1696
1702
  }
1697
1703
 
1698
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/_add_readonly.mjs
1704
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/_add_readonly.mjs
1699
1705
  function AddReadonlyDeferred(type, options = {}) {
1700
1706
  return Deferred("AddReadonly", [type], options);
1701
1707
  }
@@ -1703,7 +1709,7 @@ function AddReadonly(type, options = {}) {
1703
1709
  return AddReadonlyAction(type, options);
1704
1710
  }
1705
1711
 
1706
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/_readonly.mjs
1712
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/_readonly.mjs
1707
1713
  function Readonly(type) {
1708
1714
  return AddReadonly(type);
1709
1715
  }
@@ -1711,7 +1717,7 @@ function IsReadonly(value) {
1711
1717
  return IsSchema(value) && guard_exports.HasPropertyKey(value, "~readonly");
1712
1718
  }
1713
1719
 
1714
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/_refine.mjs
1720
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/_refine.mjs
1715
1721
  function RefineAdd(type, refinement) {
1716
1722
  const refinements = IsRefine(type) ? [...type["~refine"], refinement] : [refinement];
1717
1723
  return memory_exports.Update(type, { "~refine": refinements }, {});
@@ -1730,7 +1736,7 @@ function IsRefine(value) {
1730
1736
  return IsSchema(value) && guard_exports.HasPropertyKey(value, "~refine") && guard_exports.IsArray(value["~refine"]) && guard_exports.Every(value["~refine"], 0, (value2) => IsRefinement(value2));
1731
1737
  }
1732
1738
 
1733
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/bigint.mjs
1739
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/bigint.mjs
1734
1740
  var BigIntPattern = "-?(?:0|[1-9][0-9]*)n";
1735
1741
  function BigInt2(options) {
1736
1742
  return memory_exports.Create({ "~kind": "BigInt" }, { type: "bigint" }, options);
@@ -1739,7 +1745,7 @@ function IsBigInt2(value) {
1739
1745
  return IsKind(value, "BigInt");
1740
1746
  }
1741
1747
 
1742
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/boolean.mjs
1748
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/boolean.mjs
1743
1749
  function Boolean2(options) {
1744
1750
  return memory_exports.Create({ "~kind": "Boolean" }, { type: "boolean" }, options);
1745
1751
  }
@@ -1747,7 +1753,7 @@ function IsBoolean3(value) {
1747
1753
  return IsKind(value, "Boolean");
1748
1754
  }
1749
1755
 
1750
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/identifier.mjs
1756
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/identifier.mjs
1751
1757
  function Identifier(name) {
1752
1758
  return memory_exports.Create({ "~kind": "Identifier" }, { name });
1753
1759
  }
@@ -1755,7 +1761,7 @@ function IsIdentifier(value) {
1755
1761
  return IsKind(value, "Identifier");
1756
1762
  }
1757
1763
 
1758
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/integer.mjs
1764
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/integer.mjs
1759
1765
  var IntegerPattern = "-?(?:0|[1-9][0-9]*)";
1760
1766
  function Integer(options) {
1761
1767
  return memory_exports.Create({ "~kind": "Integer" }, { type: "integer" }, options);
@@ -1764,7 +1770,7 @@ function IsInteger2(value) {
1764
1770
  return IsKind(value, "Integer");
1765
1771
  }
1766
1772
 
1767
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/literal.mjs
1773
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/literal.mjs
1768
1774
  var InvalidLiteralValue = class extends Error {
1769
1775
  constructor(value) {
1770
1776
  super(`Invalid Literal value`);
@@ -1803,7 +1809,7 @@ function IsLiteral(value) {
1803
1809
  return IsKind(value, "Literal");
1804
1810
  }
1805
1811
 
1806
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/null.mjs
1812
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/null.mjs
1807
1813
  function Null(options) {
1808
1814
  return memory_exports.Create({ "~kind": "Null" }, { type: "null" }, options);
1809
1815
  }
@@ -1811,7 +1817,7 @@ function IsNull2(value) {
1811
1817
  return IsKind(value, "Null");
1812
1818
  }
1813
1819
 
1814
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/number.mjs
1820
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/number.mjs
1815
1821
  var NumberPattern = "-?(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?";
1816
1822
  function Number2(options) {
1817
1823
  return memory_exports.Create({ "~kind": "Number" }, { type: "number" }, options);
@@ -1820,7 +1826,7 @@ function IsNumber3(value) {
1820
1826
  return IsKind(value, "Number");
1821
1827
  }
1822
1828
 
1823
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/symbol.mjs
1829
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/symbol.mjs
1824
1830
  function Symbol2(options) {
1825
1831
  return memory_exports.Create({ "~kind": "Symbol" }, { type: "symbol" }, options);
1826
1832
  }
@@ -1828,7 +1834,7 @@ function IsSymbol2(value) {
1828
1834
  return IsKind(value, "Symbol");
1829
1835
  }
1830
1836
 
1831
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/parameter.mjs
1837
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/parameter.mjs
1832
1838
  function Parameter(...args) {
1833
1839
  const [name, extends_, equals] = arguments_exports.Match(args, {
1834
1840
  3: (name2, extends_2, equals2) => [name2, extends_2, equals2],
@@ -1841,7 +1847,7 @@ function IsParameter(value) {
1841
1847
  return IsKind(value, "Parameter");
1842
1848
  }
1843
1849
 
1844
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/string.mjs
1850
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/string.mjs
1845
1851
  var StringPattern = ".*";
1846
1852
  function String2(options) {
1847
1853
  return memory_exports.Create({ "~kind": "String" }, { type: "string" }, options);
@@ -1850,7 +1856,7 @@ function IsString3(value) {
1850
1856
  return IsKind(value, "String");
1851
1857
  }
1852
1858
 
1853
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/union.mjs
1859
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/union.mjs
1854
1860
  function Union(anyOf, options = {}) {
1855
1861
  return memory_exports.Create({ "~kind": "Union" }, { anyOf }, options);
1856
1862
  }
@@ -1861,14 +1867,14 @@ function UnionOptions(type) {
1861
1867
  return memory_exports.Discard(type, ["~kind", "anyOf"]);
1862
1868
  }
1863
1869
 
1864
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/patterns/pattern.mjs
1870
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/patterns/pattern.mjs
1865
1871
  function ParsePatternIntoTypes(pattern) {
1866
1872
  const parsed = Pattern(pattern);
1867
1873
  const result = guard_exports.IsEqual(parsed.length, 2) ? parsed[0] : [];
1868
1874
  return result;
1869
1875
  }
1870
1876
 
1871
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs
1877
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs
1872
1878
  function FromLiteral(_value) {
1873
1879
  return true;
1874
1880
  }
@@ -1887,12 +1893,12 @@ function IsTemplateLiteralFinite(types) {
1887
1893
  return result;
1888
1894
  }
1889
1895
 
1890
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/template_literal/create.mjs
1896
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/template_literal/create.mjs
1891
1897
  function TemplateLiteralCreate(pattern) {
1892
1898
  return memory_exports.Create({ ["~kind"]: "TemplateLiteral" }, { type: "string", pattern }, {});
1893
1899
  }
1894
1900
 
1895
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/template_literal/decode.mjs
1901
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/template_literal/decode.mjs
1896
1902
  function FromLiteralPush(variants, value, result = []) {
1897
1903
  return guard_exports.ShiftLeft(variants, (left, right) => FromLiteralPush(right, value, [...result, `${left}${value}`]), () => result);
1898
1904
  }
@@ -1935,24 +1941,24 @@ function TemplateLiteralDecode(pattern) {
1935
1941
  return result;
1936
1942
  }
1937
1943
 
1938
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/record/record_create.mjs
1944
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/record/record_create.mjs
1939
1945
  function CreateRecord(key, value) {
1940
1946
  const type = "object";
1941
1947
  const patternProperties = { [key]: value };
1942
1948
  return memory_exports.Create({ ["~kind"]: "Record" }, { type, patternProperties });
1943
1949
  }
1944
1950
 
1945
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/record/from_key_any.mjs
1951
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/record/from_key_any.mjs
1946
1952
  function FromAnyKey(value) {
1947
1953
  return CreateRecord(StringKey, value);
1948
1954
  }
1949
1955
 
1950
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs
1956
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs
1951
1957
  function FromBooleanKey(value) {
1952
1958
  return _Object_({ true: value, false: value });
1953
1959
  }
1954
1960
 
1955
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/tuple.mjs
1961
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/tuple.mjs
1956
1962
  function Tuple(types, options = {}) {
1957
1963
  const [items, minItems, additionalItems] = [types, types.length, false];
1958
1964
  return memory_exports.Create({ ["~kind"]: "Tuple" }, { type: "array", additionalItems, items, minItems }, options);
@@ -1964,7 +1970,7 @@ function TupleOptions(type) {
1964
1970
  return memory_exports.Discard(type, ["~kind", "type", "items", "minItems", "additionalItems"]);
1965
1971
  }
1966
1972
 
1967
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs
1973
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs
1968
1974
  function RemoveReadonlyOperation(type) {
1969
1975
  return memory_exports.Discard(type, ["~readonly"]);
1970
1976
  }
@@ -1977,7 +1983,7 @@ function RemoveReadonlyInstantiate(context, state, type, options) {
1977
1983
  return RemoveReadonlyAction(instantiatedType, options);
1978
1984
  }
1979
1985
 
1980
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/_remove_readonly.mjs
1986
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/_remove_readonly.mjs
1981
1987
  function RemoveReadonlyDeferred(type, options = {}) {
1982
1988
  return Deferred("RemoveReadonly", [type], options);
1983
1989
  }
@@ -1985,7 +1991,7 @@ function RemoveReadonly(type, options = {}) {
1985
1991
  return RemoveReadonlyAction(type, options);
1986
1992
  }
1987
1993
 
1988
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs
1994
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs
1989
1995
  function RemoveOptionalOperation(type) {
1990
1996
  return memory_exports.Discard(type, ["~optional"]);
1991
1997
  }
@@ -1998,7 +2004,7 @@ function RemoveOptionalInstantiate(context, state, type, options) {
1998
2004
  return RemoveOptionalAction(instantiatedType, options);
1999
2005
  }
2000
2006
 
2001
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/_remove_optional.mjs
2007
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/_remove_optional.mjs
2002
2008
  function RemoveOptionalDeferred(type, options = {}) {
2003
2009
  return Deferred("RemoveOptional", [type], options);
2004
2010
  }
@@ -2006,7 +2012,7 @@ function RemoveOptional(type, options = {}) {
2006
2012
  return RemoveOptionalAction(type, options);
2007
2013
  }
2008
2014
 
2009
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/tuple/to_object.mjs
2015
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/tuple/to_object.mjs
2010
2016
  function TupleElementsToProperties(types) {
2011
2017
  const result = types.reduceRight((result2, right, index) => {
2012
2018
  return { [index]: right, ...result2 };
@@ -2019,7 +2025,7 @@ function TupleToObject(type) {
2019
2025
  return result;
2020
2026
  }
2021
2027
 
2022
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/evaluate/composite.mjs
2028
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/evaluate/composite.mjs
2023
2029
  function CanComposite(type) {
2024
2030
  return IsObject2(type) || IsTuple(type);
2025
2031
  }
@@ -2058,7 +2064,7 @@ function Composite(left, right) {
2058
2064
  return result;
2059
2065
  }
2060
2066
 
2061
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/evaluate/narrow.mjs
2067
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/evaluate/narrow.mjs
2062
2068
  function NarrowCompareRule(left, right) {
2063
2069
  const result = Compare(left, right);
2064
2070
  return guard_exports.IsEqual(result, CompareResultLeftInside) ? left : guard_exports.IsEqual(result, CompareResultRightInside) ? right : guard_exports.IsEqual(result, CompareResultEqual) ? right : Never();
@@ -2072,7 +2078,7 @@ function Narrow(left, right) {
2072
2078
  return IsNever(left) ? left : IsAny(left) ? left : IsUnknown(left) ? right : IsNever(right) ? right : IsAny(right) ? right : IsUnknown(right) ? left : NarrowCompositeRule(left, right);
2073
2079
  }
2074
2080
 
2075
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/evaluate/distribute.mjs
2081
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/evaluate/distribute.mjs
2076
2082
  function ShouldEvaluate(left, right) {
2077
2083
  const result = IsUnion(left) || IsUnion(right);
2078
2084
  return result;
@@ -2094,7 +2100,7 @@ function Distribute(types, result = []) {
2094
2100
  return guard_exports.ShiftLeft(types, (left, right) => IsUnion(left) ? Distribute(right, DistributeUnion(left.anyOf, result)) : Distribute(right, DistributeType(left, result)), () => result);
2095
2101
  }
2096
2102
 
2097
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/exclude/operation.mjs
2103
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/exclude/operation.mjs
2098
2104
  function ExcludeType(left, right) {
2099
2105
  const check = Extends({}, left, right);
2100
2106
  const result = result_exports.IsExtendsTrueLike(check) ? [] : [left];
@@ -2111,7 +2117,7 @@ function ExcludeOperation(left, right) {
2111
2117
  return result;
2112
2118
  }
2113
2119
 
2114
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs
2120
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs
2115
2121
  function EvaluateDependent(if_, then_, else_) {
2116
2122
  const intersected = EvaluateIntersect([if_, then_]);
2117
2123
  const excluded = ExcludeOperation(else_, if_);
@@ -2146,43 +2152,43 @@ function EvaluateUnionFast(types) {
2146
2152
  return result;
2147
2153
  }
2148
2154
 
2149
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/record/from_key_enum.mjs
2155
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/record/from_key_enum.mjs
2150
2156
  function FromEnumKey(values, value) {
2151
2157
  const unionKey = EvaluateEnum(values);
2152
2158
  const result = FromKey(unionKey, value);
2153
2159
  return result;
2154
2160
  }
2155
2161
 
2156
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/record/from_key_integer.mjs
2162
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/record/from_key_integer.mjs
2157
2163
  function FromIntegerKey(_key, value) {
2158
2164
  const result = CreateRecord(IntegerKey, value);
2159
2165
  return result;
2160
2166
  }
2161
2167
 
2162
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs
2168
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs
2163
2169
  function FromIntersectKey(types, value) {
2164
2170
  const evaluatedKey = EvaluateIntersect(types);
2165
2171
  const result = FromKey(evaluatedKey, value);
2166
2172
  return result;
2167
2173
  }
2168
2174
 
2169
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/record/from_key_literal.mjs
2175
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/record/from_key_literal.mjs
2170
2176
  function FromLiteralKey(key, value) {
2171
2177
  return guard_exports.IsString(key) || guard_exports.IsNumber(key) ? _Object_({ [key]: value }) : guard_exports.IsEqual(key, false) ? _Object_({ false: value }) : guard_exports.IsEqual(key, true) ? _Object_({ true: value }) : _Object_({});
2172
2178
  }
2173
2179
 
2174
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/record/from_key_number.mjs
2180
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/record/from_key_number.mjs
2175
2181
  function FromNumberKey(_key, value) {
2176
2182
  const result = CreateRecord(NumberKey, value);
2177
2183
  return result;
2178
2184
  }
2179
2185
 
2180
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/record/from_key_string.mjs
2186
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/record/from_key_string.mjs
2181
2187
  function FromStringKey(key, value) {
2182
2188
  return guard_exports.HasPropertyKey(key, "pattern") && (guard_exports.IsString(key.pattern) || key.pattern instanceof RegExp) ? CreateRecord(key.pattern.toString(), value) : CreateRecord(StringKey, value);
2183
2189
  }
2184
2190
 
2185
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs
2191
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs
2186
2192
  function FromTemplateKey(pattern, value) {
2187
2193
  const types = ParsePatternIntoTypes(pattern);
2188
2194
  const finite = IsTemplateLiteralFinite(types);
@@ -2190,7 +2196,7 @@ function FromTemplateKey(pattern, value) {
2190
2196
  return result;
2191
2197
  }
2192
2198
 
2193
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/evaluate/flatten.mjs
2199
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/evaluate/flatten.mjs
2194
2200
  function FlattenType(type) {
2195
2201
  const result = IsUnion(type) ? Flatten(type.anyOf) : [type];
2196
2202
  return result;
@@ -2199,7 +2205,7 @@ function Flatten(types, result = []) {
2199
2205
  return guard_exports.ShiftLeft(types, (left, right) => Flatten(right, [...result, ...FlattenType(left)]), () => result);
2200
2206
  }
2201
2207
 
2202
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/record/from_key_union.mjs
2208
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/record/from_key_union.mjs
2203
2209
  function StringOrNumberCheck(types) {
2204
2210
  return types.some((type) => IsString3(type) || IsNumber3(type) || IsInteger2(type));
2205
2211
  }
@@ -2222,13 +2228,13 @@ function FromUnionKey(types, value) {
2222
2228
  return IsSchema(record) ? record : CreateObject(flattened, value);
2223
2229
  }
2224
2230
 
2225
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/record/from_key.mjs
2231
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/record/from_key.mjs
2226
2232
  function FromKey(key, value) {
2227
2233
  const result = IsAny(key) ? FromAnyKey(value) : IsBoolean3(key) ? FromBooleanKey(value) : IsEnum(key) ? FromEnumKey(key.enum, value) : IsInteger2(key) ? FromIntegerKey(key, value) : IsIntersect(key) ? FromIntersectKey(key.allOf, value) : IsLiteral(key) ? FromLiteralKey(key.const, value) : IsNumber3(key) ? FromNumberKey(key, value) : IsUnion(key) ? FromUnionKey(key.anyOf, value) : IsString3(key) ? FromStringKey(key, value) : IsTemplateLiteral(key) ? FromTemplateKey(key.pattern, value) : _Object_({});
2228
2234
  return result;
2229
2235
  }
2230
2236
 
2231
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/record/instantiate.mjs
2237
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/record/instantiate.mjs
2232
2238
  function RecordAction(key, value, options) {
2233
2239
  const result = CanInstantiate([key]) ? memory_exports.Update(FromKey(key, value), {}, options) : RecordDeferred(key, value, options);
2234
2240
  return result;
@@ -2239,7 +2245,7 @@ function RecordInstantiate(context, state, key, value, options) {
2239
2245
  return RecordAction(instantiatedKey, instantiatedValue, options);
2240
2246
  }
2241
2247
 
2242
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/record.mjs
2248
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/record.mjs
2243
2249
  var IntegerKey = `^${IntegerPattern}$`;
2244
2250
  var NumberKey = `^${NumberPattern}$`;
2245
2251
  var StringKey = `^${StringPattern}$`;
@@ -2271,7 +2277,7 @@ function IsRecord(value) {
2271
2277
  return IsKind(value, "Record");
2272
2278
  }
2273
2279
 
2274
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/rest.mjs
2280
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/rest.mjs
2275
2281
  function Rest(type) {
2276
2282
  return memory_exports.Create({ "~kind": "Rest" }, { type: "rest", items: type }, {});
2277
2283
  }
@@ -2279,7 +2285,7 @@ function IsRest(value) {
2279
2285
  return IsKind(value, "Rest");
2280
2286
  }
2281
2287
 
2282
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/this.mjs
2288
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/this.mjs
2283
2289
  function This(options) {
2284
2290
  return memory_exports.Create({ ["~kind"]: "This" }, { $ref: "#" }, options);
2285
2291
  }
@@ -2287,7 +2293,7 @@ function IsThis(value) {
2287
2293
  return IsKind(value, "This");
2288
2294
  }
2289
2295
 
2290
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/undefined.mjs
2296
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/undefined.mjs
2291
2297
  function Undefined(options) {
2292
2298
  return memory_exports.Create({ "~kind": "Undefined" }, { type: "undefined" }, options);
2293
2299
  }
@@ -2295,7 +2301,7 @@ function IsUndefined2(value) {
2295
2301
  return IsKind(value, "Undefined");
2296
2302
  }
2297
2303
 
2298
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/void.mjs
2304
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/void.mjs
2299
2305
  function Void(options) {
2300
2306
  return memory_exports.Create({ "~kind": "Void" }, { type: "void" }, options);
2301
2307
  }
@@ -2303,7 +2309,7 @@ function IsVoid(value) {
2303
2309
  return IsKind(value, "Void");
2304
2310
  }
2305
2311
 
2306
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/mapping.mjs
2312
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/mapping.mjs
2307
2313
  function IntrinsicOrCall(ref, parameters) {
2308
2314
  return guard_exports.IsEqual(ref, "Array") ? _Array_(parameters[0]) : guard_exports.IsEqual(ref, "Capitalize") ? CapitalizeDeferred(parameters[0]) : guard_exports.IsEqual(ref, "ConstructorParameters") ? ConstructorParametersDeferred(parameters[0]) : guard_exports.IsEqual(ref, "Evaluate") ? EvaluateDeferred(parameters[0]) : guard_exports.IsEqual(ref, "Exclude") ? ExcludeDeferred(parameters[0], parameters[1]) : guard_exports.IsEqual(ref, "Extract") ? ExtractDeferred(parameters[0], parameters[1]) : guard_exports.IsEqual(ref, "Index") ? IndexDeferred(parameters[0], parameters[1]) : guard_exports.IsEqual(ref, "InstanceType") ? InstanceTypeDeferred(parameters[0]) : guard_exports.IsEqual(ref, "Lowercase") ? LowercaseDeferred(parameters[0]) : guard_exports.IsEqual(ref, "NonNullable") ? NonNullableDeferred(parameters[0]) : guard_exports.IsEqual(ref, "Omit") ? OmitDeferred(parameters[0], parameters[1]) : guard_exports.IsEqual(ref, "Parameters") ? ParametersDeferred(parameters[0]) : guard_exports.IsEqual(ref, "Partial") ? PartialDeferred(parameters[0]) : guard_exports.IsEqual(ref, "Pick") ? PickDeferred(parameters[0], parameters[1]) : guard_exports.IsEqual(ref, "Readonly") ? ReadonlyObjectDeferred(parameters[0]) : guard_exports.IsEqual(ref, "KeyOf") ? KeyOfDeferred(parameters[0]) : guard_exports.IsEqual(ref, "Record") ? RecordDeferred(parameters[0], parameters[1]) : guard_exports.IsEqual(ref, "Required") ? RequiredDeferred(parameters[0]) : guard_exports.IsEqual(ref, "ReturnType") ? ReturnTypeDeferred(parameters[0]) : guard_exports.IsEqual(ref, "Uncapitalize") ? UncapitalizeDeferred(parameters[0]) : guard_exports.IsEqual(ref, "Uppercase") ? UppercaseDeferred(parameters[0]) : CallConstruct(Ref(ref), parameters);
2309
2315
  }
@@ -2731,7 +2737,7 @@ function ScriptMapping(input) {
2731
2737
  return input;
2732
2738
  }
2733
2739
 
2734
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/internal/match.mjs
2740
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/internal/match.mjs
2735
2741
  function IsMatch(value) {
2736
2742
  return IsEqual(value.length, 2);
2737
2743
  }
@@ -2739,7 +2745,7 @@ function Match2(input, ok3, fail) {
2739
2745
  return IsMatch(input) ? ok3(input[0], input[1]) : fail();
2740
2746
  }
2741
2747
 
2742
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/internal/take.mjs
2748
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/internal/take.mjs
2743
2749
  function TakeVariant(variant, input) {
2744
2750
  return IsEqual(input.indexOf(variant), 0) ? [variant, input.slice(variant.length)] : [];
2745
2751
  }
@@ -2752,7 +2758,7 @@ function Take(variants, input) {
2752
2758
  return [];
2753
2759
  }
2754
2760
 
2755
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/internal/char.mjs
2761
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/internal/char.mjs
2756
2762
  function Range(start, end) {
2757
2763
  return Array.from({ length: end - start + 1 }, (_, i) => String.fromCharCode(start + i));
2758
2764
  }
@@ -2772,7 +2778,7 @@ var Dot = ".";
2772
2778
  var DollarSign = "$";
2773
2779
  var Hyphen = "-";
2774
2780
 
2775
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/internal/trim.mjs
2781
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/internal/trim.mjs
2776
2782
  var LineComment = "//";
2777
2783
  var OpenComment = "/*";
2778
2784
  var CloseComment = "*/";
@@ -2798,12 +2804,12 @@ function Trim(input) {
2798
2804
  return trimmed.startsWith(OpenComment) ? Trim(DiscardMultilineComment(trimmed.slice(2))) : trimmed.startsWith(LineComment) ? Trim(DiscardLineComment(trimmed.slice(2))) : trimmed;
2799
2805
  }
2800
2806
 
2801
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/internal/optional.mjs
2807
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/internal/optional.mjs
2802
2808
  function Optional2(value, input) {
2803
2809
  return Match2(Take([value], input), (Optional4, Rest2) => [Optional4, Rest2], () => ["", input]);
2804
2810
  }
2805
2811
 
2806
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/internal/many.mjs
2812
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/internal/many.mjs
2807
2813
  function IsDiscard(discard, input) {
2808
2814
  return discard.includes(input);
2809
2815
  }
@@ -2811,7 +2817,7 @@ function Many(allowed, discard, input, result = "") {
2811
2817
  return Match2(Take(allowed, input), (Char, Rest2) => IsDiscard(discard, Char) ? Many(allowed, discard, Rest2, result) : Many(allowed, discard, Rest2, `${result}${Char}`), () => [result, input]);
2812
2818
  }
2813
2819
 
2814
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/unsigned_integer.mjs
2820
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/unsigned_integer.mjs
2815
2821
  function TakeNonZero(input) {
2816
2822
  return Take(NonZero, input);
2817
2823
  }
@@ -2831,7 +2837,7 @@ function UnsignedInteger(input) {
2831
2837
  return TakeUnsignedInteger(Trim(input));
2832
2838
  }
2833
2839
 
2834
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/integer.mjs
2840
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/integer.mjs
2835
2841
  function TakeSign(input) {
2836
2842
  return Optional2(Hyphen, input);
2837
2843
  }
@@ -2847,7 +2853,7 @@ function Integer2(input) {
2847
2853
  return TakeSignedInteger(Trim(input));
2848
2854
  }
2849
2855
 
2850
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/bigint.mjs
2856
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/bigint.mjs
2851
2857
  function TakeBigInt(input) {
2852
2858
  return Match2(
2853
2859
  Integer2(input),
@@ -2860,7 +2866,7 @@ function BigInt3(input) {
2860
2866
  return TakeBigInt(input);
2861
2867
  }
2862
2868
 
2863
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/const.mjs
2869
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/const.mjs
2864
2870
  function TakeConst(const_, input) {
2865
2871
  return Take([const_], input);
2866
2872
  }
@@ -2868,7 +2874,7 @@ function Const(const_, input) {
2868
2874
  return IsEqual(const_, "") ? ["", input] : const_.startsWith(NewLine) ? TakeConst(const_, TrimWhitespace(input)) : const_.startsWith(WhiteSpace) ? TakeConst(const_, input) : TakeConst(const_, Trim(input));
2869
2875
  }
2870
2876
 
2871
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/ident.mjs
2877
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/ident.mjs
2872
2878
  var Initial = [...Alpha, UnderScore, DollarSign];
2873
2879
  function TakeInitial(input) {
2874
2880
  return Take(Initial, input);
@@ -2889,7 +2895,7 @@ function Ident(input) {
2889
2895
  return TakeIdent(Trim(input));
2890
2896
  }
2891
2897
 
2892
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/unsigned_number.mjs
2898
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/unsigned_number.mjs
2893
2899
  var AllowedDigits2 = [...Digit, UnderScore];
2894
2900
  function IsLeadingDot(input) {
2895
2901
  return IsMatch(Take([Dot], input));
@@ -2925,7 +2931,7 @@ function UnsignedNumber(input) {
2925
2931
  return TakeUnsignedNumber(Trim(input));
2926
2932
  }
2927
2933
 
2928
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/number.mjs
2934
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/number.mjs
2929
2935
  function TakeSign2(input) {
2930
2936
  return Optional2(Hyphen, input);
2931
2937
  }
@@ -2941,7 +2947,7 @@ function Number3(input) {
2941
2947
  return TakeSignedNumber(Trim(input));
2942
2948
  }
2943
2949
 
2944
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/until.mjs
2950
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/until.mjs
2945
2951
  function TakeOne(input) {
2946
2952
  const result = IsEqual(input, "") ? [] : [input.slice(0, 1), input.slice(1)];
2947
2953
  return result;
@@ -2957,7 +2963,7 @@ function Until(end, input, result = "") {
2957
2963
  );
2958
2964
  }
2959
2965
 
2960
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/span.mjs
2966
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/span.mjs
2961
2967
  function MultiLine(start, end, input) {
2962
2968
  return Match2(
2963
2969
  Take([start], input),
@@ -2988,7 +2994,7 @@ function Span(start, end, multiLine, input) {
2988
2994
  return multiLine ? MultiLine(start, end, Trim(input)) : SingleLine(start, end, Trim(input));
2989
2995
  }
2990
2996
 
2991
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/string.mjs
2997
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/string.mjs
2992
2998
  function TakeInitial2(quotes, input) {
2993
2999
  return Take(quotes, input);
2994
3000
  }
@@ -3002,12 +3008,12 @@ function String3(quotes, input) {
3002
3008
  return TakeString(quotes, Trim(input));
3003
3009
  }
3004
3010
 
3005
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/token/until_1.mjs
3011
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/token/until_1.mjs
3006
3012
  function Until_1(end, input) {
3007
3013
  return Match2(Until(end, input), (Until2, UntilRest) => IsEqual(Until2, "") ? [] : [Until2, UntilRest], () => []);
3008
3014
  }
3009
3015
 
3010
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/parser.mjs
3016
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/parser.mjs
3011
3017
  var If = (result, left, right = () => []) => result.length === 2 ? left(result) : right();
3012
3018
  var GenericParameterExtendsEquals = (input) => If(If(Ident(input), ([_0, input2]) => If(Const("extends", input2), ([_1, input3]) => If(Type(input3), ([_2, input4]) => If(Const("=", input4), ([_3, input5]) => If(Type(input5), ([_4, input6]) => [[_0, _1, _2, _3, _4], input6]))))), ([_0, input2]) => [GenericParameterExtendsEqualsMapping(_0), input2]);
3013
3019
  var GenericParameterExtends = (input) => If(If(Ident(input), ([_0, input2]) => If(Const("extends", input2), ([_1, input3]) => If(Type(input3), ([_2, input4]) => [[_0, _1, _2], input4]))), ([_0, input2]) => [GenericParameterExtendsMapping(_0), input2]);
@@ -3137,14 +3143,14 @@ var ModuleDeclaration = (input) => If(If(ExportKeyword(input), ([_0, input2]) =>
3137
3143
  var Module = (input) => If(If(ModuleDeclaration(input), ([_0, input2]) => If(ModuleDeclarationList(input2), ([_1, input3]) => [[_0, _1], input3])), ([_0, input2]) => [ModuleMapping(_0), input2]);
3138
3144
  var Script = (input) => If(If(Module(input), ([_0, input2]) => [_0, input2], () => If(GenericType(input), ([_0, input2]) => [_0, input2], () => If(Type(input), ([_0, input2]) => [_0, input2], () => []))), ([_0, input2]) => [ScriptMapping(_0), input2]);
3139
3145
 
3140
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/patterns/template.mjs
3146
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/patterns/template.mjs
3141
3147
  function ParseTemplateIntoTypes(template) {
3142
3148
  const parsed = TemplateLiteralTypes(`\`${template}\``);
3143
3149
  const result = guard_exports.IsEqual(parsed.length, 2) ? parsed[0] : Unreachable();
3144
3150
  return result;
3145
3151
  }
3146
3152
 
3147
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/template_literal/encode.mjs
3153
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/template_literal/encode.mjs
3148
3154
  function JoinString(input) {
3149
3155
  return input.join("|");
3150
3156
  }
@@ -3201,7 +3207,7 @@ function TemplateLiteralEncode(types) {
3201
3207
  return result;
3202
3208
  }
3203
3209
 
3204
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs
3210
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs
3205
3211
  function TemplateLiteralAction(types, options) {
3206
3212
  const result = CanInstantiate(types) ? memory_exports.Update(TemplateLiteralEncode(types), {}, options) : TemplateLiteralDeferred(types, options);
3207
3213
  return result;
@@ -3211,7 +3217,7 @@ function TemplateLiteralInstantiate(context, state, types, options) {
3211
3217
  return TemplateLiteralAction(instantiatedTypes, options);
3212
3218
  }
3213
3219
 
3214
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/template_literal.mjs
3220
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/template_literal.mjs
3215
3221
  function TemplateLiteralDeferred(types, options = {}) {
3216
3222
  return Deferred("TemplateLiteral", [types], options);
3217
3223
  }
@@ -3233,7 +3239,7 @@ function IsTemplateLiteral(value) {
3233
3239
  return IsKind(value, "TemplateLiteral");
3234
3240
  }
3235
3241
 
3236
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/result.mjs
3242
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/result.mjs
3237
3243
  var result_exports = {};
3238
3244
  __export(result_exports, {
3239
3245
  ExtendsFalse: () => ExtendsFalse,
@@ -3270,7 +3276,7 @@ function Match3(result, true_, false_) {
3270
3276
  return IsExtendsTrueLike(result) ? true_(result.inferred) : false_();
3271
3277
  }
3272
3278
 
3273
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/extends_right.mjs
3279
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/extends_right.mjs
3274
3280
  function ExtendsRightInfer(inferred, name, left, right) {
3275
3281
  return Match3(ExtendsLeft(inferred, left, right), (checkInferred) => ExtendsTrue(memory_exports.Assign(memory_exports.Assign(inferred, checkInferred), { [name]: left })), () => ExtendsFalse());
3276
3282
  }
@@ -3298,12 +3304,12 @@ function ExtendsRight(inferred, left, right) {
3298
3304
  return IsAny(right) ? ExtendsRightAny(inferred, left) : IsDependent(right) ? ExtendsRightDependent(inferred, left, right.if, right.then, right.else) : IsEnum(right) ? ExtendsRightEnum(inferred, left, right.enum) : IsInfer(right) ? ExtendsRightInfer(inferred, right.name, left, right.extends) : IsIntersect(right) ? ExtendsRightIntersect(inferred, left, right.allOf) : IsTemplateLiteral(right) ? ExtendsRightTemplateLiteral(inferred, left, right.pattern) : IsUnion(right) ? ExtendsRightUnion(inferred, left, right.anyOf) : IsUnknown(right) ? ExtendsTrue(inferred) : ExtendsFalse();
3299
3305
  }
3300
3306
 
3301
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/any.mjs
3307
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/any.mjs
3302
3308
  function ExtendsAny(inferred, left, right) {
3303
3309
  return IsInfer(right) ? ExtendsRight(inferred, left, right) : IsAny(right) ? ExtendsTrue(inferred) : IsUnknown(right) ? ExtendsTrue(inferred) : ExtendsUnion(inferred);
3304
3310
  }
3305
3311
 
3306
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/array.mjs
3312
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/array.mjs
3307
3313
  function ExtendsImmutable(left, right) {
3308
3314
  const isImmutableLeft = IsImmutable(left);
3309
3315
  const isImmutableRight = IsImmutable(right);
@@ -3313,17 +3319,17 @@ function ExtendsArray(inferred, arrayLeft, left, right) {
3313
3319
  return IsArray2(right) ? ExtendsImmutable(arrayLeft, right) ? ExtendsLeft(inferred, left, right.items) : ExtendsFalse() : ExtendsRight(inferred, arrayLeft, right);
3314
3320
  }
3315
3321
 
3316
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/bigint.mjs
3322
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/bigint.mjs
3317
3323
  function ExtendsBigInt(inferred, left, right) {
3318
3324
  return IsBigInt2(right) ? ExtendsTrue(inferred) : ExtendsRight(inferred, left, right);
3319
3325
  }
3320
3326
 
3321
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/boolean.mjs
3327
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/boolean.mjs
3322
3328
  function ExtendsBoolean(inferred, left, right) {
3323
3329
  return IsBoolean3(right) ? ExtendsTrue(inferred) : ExtendsRight(inferred, left, right);
3324
3330
  }
3325
3331
 
3326
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/parameters.mjs
3332
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/parameters.mjs
3327
3333
  function ParameterCompare(inferred, left, leftRest, right, rightRest) {
3328
3334
  const checkLeft = IsInfer(right) ? left : right;
3329
3335
  const checkRight = IsInfer(right) ? right : left;
@@ -3341,44 +3347,44 @@ function ExtendsParameters(inferred, left, right) {
3341
3347
  return ParametersLeft(inferred, left, right);
3342
3348
  }
3343
3349
 
3344
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/return_type.mjs
3350
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/return_type.mjs
3345
3351
  function ExtendsReturnType(inferred, left, right) {
3346
3352
  return IsVoid(right) ? ExtendsTrue(inferred) : ExtendsLeft(inferred, left, right);
3347
3353
  }
3348
3354
 
3349
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/constructor.mjs
3355
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/constructor.mjs
3350
3356
  function ExtendsConstructor(inferred, parameters, returnType, right) {
3351
3357
  return IsAny(right) ? ExtendsTrue(inferred) : IsUnknown(right) ? ExtendsTrue(inferred) : IsConstructor2(right) ? Match3(ExtendsParameters(inferred, parameters, right["parameters"]), (inferred2) => ExtendsReturnType(inferred2, returnType, right["instanceType"]), () => ExtendsFalse()) : ExtendsFalse();
3352
3358
  }
3353
3359
 
3354
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/dependent.mjs
3360
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/dependent.mjs
3355
3361
  function ExtendsDependent(inferred, if_, then_, else_, right) {
3356
3362
  return Match3(ExtendsLeft(inferred, if_, right), () => ExtendsLeft(inferred, then_, right), () => ExtendsLeft(inferred, else_, right));
3357
3363
  }
3358
3364
 
3359
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/enum.mjs
3365
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/enum.mjs
3360
3366
  function ExtendsEnum(inferred, left, right) {
3361
3367
  const evaluated = EvaluateEnum(left);
3362
3368
  return ExtendsLeft(inferred, evaluated, right);
3363
3369
  }
3364
3370
 
3365
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/function.mjs
3371
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/function.mjs
3366
3372
  function ExtendsFunction(inferred, parameters, returnType, right) {
3367
3373
  return IsAny(right) ? ExtendsTrue(inferred) : IsUnknown(right) ? ExtendsTrue(inferred) : IsFunction2(right) ? Match3(ExtendsParameters(inferred, parameters, right["parameters"]), (inferred2) => ExtendsReturnType(inferred2, returnType, right["returnType"]), () => ExtendsFalse()) : ExtendsFalse();
3368
3374
  }
3369
3375
 
3370
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/integer.mjs
3376
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/integer.mjs
3371
3377
  function ExtendsInteger(inferred, left, right) {
3372
3378
  return IsInteger2(right) ? ExtendsTrue(inferred) : IsNumber3(right) ? ExtendsTrue(inferred) : ExtendsRight(inferred, left, right);
3373
3379
  }
3374
3380
 
3375
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/intersect.mjs
3381
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/intersect.mjs
3376
3382
  function ExtendsIntersect(inferred, left, right) {
3377
3383
  const evaluated = EvaluateIntersect(left);
3378
3384
  return ExtendsLeft(inferred, evaluated, right);
3379
3385
  }
3380
3386
 
3381
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/literal.mjs
3387
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/literal.mjs
3382
3388
  function ExtendsLiteralValue(inferred, left, right) {
3383
3389
  return left === right ? ExtendsTrue(inferred) : ExtendsFalse();
3384
3390
  }
@@ -3398,22 +3404,22 @@ function ExtendsLiteral(inferred, left, right) {
3398
3404
  return guard_exports.IsBigInt(left.const) ? ExtendsLiteralBigInt(inferred, left.const, right) : guard_exports.IsBoolean(left.const) ? ExtendsLiteralBoolean(inferred, left.const, right) : guard_exports.IsNumber(left.const) ? ExtendsLiteralNumber(inferred, left.const, right) : guard_exports.IsString(left.const) ? ExtendsLiteralString(inferred, left.const, right) : Unreachable();
3399
3405
  }
3400
3406
 
3401
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/never.mjs
3407
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/never.mjs
3402
3408
  function ExtendsNever(inferred, left, right) {
3403
3409
  return IsInfer(right) ? ExtendsRight(inferred, left, right) : ExtendsTrue(inferred);
3404
3410
  }
3405
3411
 
3406
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/null.mjs
3412
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/null.mjs
3407
3413
  function ExtendsNull(inferred, left, right) {
3408
3414
  return IsNull2(right) ? ExtendsTrue(inferred) : ExtendsRight(inferred, left, right);
3409
3415
  }
3410
3416
 
3411
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/number.mjs
3417
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/number.mjs
3412
3418
  function ExtendsNumber(inferred, left, right) {
3413
3419
  return IsNumber3(right) ? ExtendsTrue(inferred) : ExtendsRight(inferred, left, right);
3414
3420
  }
3415
3421
 
3416
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/object.mjs
3422
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/object.mjs
3417
3423
  function ExtendsPropertyOptional(inferred, left, right) {
3418
3424
  return IsOptional(left) ? IsOptional(right) ? ExtendsTrue(inferred) : ExtendsFalse() : ExtendsTrue(inferred);
3419
3425
  }
@@ -3464,7 +3470,7 @@ function ExtendsObject(inferred, left, right) {
3464
3470
  return IsRecord(right) ? ExtendsObjectToRecord(inferred, left, RecordPattern(right), RecordValue(right)) : IsObject2(right) ? ExtendsObjectToObject(inferred, left, right.properties) : ExtendsRight(inferred, _Object_(left), right);
3465
3471
  }
3466
3472
 
3467
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/record.mjs
3473
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/record.mjs
3468
3474
  function FromObject3(inferred, properties) {
3469
3475
  return guard_exports.IsEqual(guard_exports.Keys(properties).length, 0) ? ExtendsTrue(inferred) : ExtendsFalse();
3470
3476
  }
@@ -3475,23 +3481,23 @@ function ExtendsRecord(inferred, leftPattern, leftValue, right) {
3475
3481
  return IsRecord(right) ? FromRecord(inferred, RecordPatternToType(leftPattern), leftValue, RecordPatternToType(RecordPattern(right)), RecordValue(right)) : IsObject2(right) ? FromObject3(inferred, right.properties) : IsAny(right) ? ExtendsTrue(inferred) : IsUnknown(right) ? ExtendsTrue(inferred) : ExtendsFalse();
3476
3482
  }
3477
3483
 
3478
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/string.mjs
3484
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/string.mjs
3479
3485
  function ExtendsString(inferred, left, right) {
3480
3486
  return IsString3(right) ? ExtendsTrue(inferred) : ExtendsRight(inferred, left, right);
3481
3487
  }
3482
3488
 
3483
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/symbol.mjs
3489
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/symbol.mjs
3484
3490
  function ExtendsSymbol(inferred, left, right) {
3485
3491
  return IsSymbol2(right) ? ExtendsTrue(inferred) : ExtendsRight(inferred, left, right);
3486
3492
  }
3487
3493
 
3488
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/template_literal.mjs
3494
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/template_literal.mjs
3489
3495
  function ExtendsTemplateLiteral(inferred, left, right) {
3490
3496
  const evaluated = EvaluateTemplateLiteral(left);
3491
3497
  return ExtendsLeft(inferred, evaluated, right);
3492
3498
  }
3493
3499
 
3494
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/inference.mjs
3500
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/inference.mjs
3495
3501
  function Inferrable(name, type) {
3496
3502
  return memory_exports.Create({ "~kind": "Inferrable" }, { name, type }, {});
3497
3503
  }
@@ -3516,7 +3522,7 @@ function InferUnionResult(inferred, name, left, right) {
3516
3522
  return guard_exports.IsArray(results) ? ExtendsTrue(memory_exports.Assign(inferred, { [name]: Union(results) })) : ExtendsFalse();
3517
3523
  }
3518
3524
 
3519
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/tuple.mjs
3525
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/tuple.mjs
3520
3526
  function Reverse(types) {
3521
3527
  return [...types].reverse();
3522
3528
  }
@@ -3558,12 +3564,12 @@ function ExtendsTuple(inferred, left, right) {
3558
3564
  return IsTuple(right) ? ExtendsTupleToTuple(inferred, instantiatedLeft, right.items) : IsArray2(right) ? ExtendsTupleToArray(inferred, instantiatedLeft, right.items) : ExtendsRight(inferred, Tuple(instantiatedLeft), right);
3559
3565
  }
3560
3566
 
3561
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/undefined.mjs
3567
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/undefined.mjs
3562
3568
  function ExtendsUndefined(inferred, left, right) {
3563
3569
  return IsVoid(right) ? ExtendsTrue(inferred) : IsUndefined2(right) ? ExtendsTrue(inferred) : ExtendsRight(inferred, left, right);
3564
3570
  }
3565
3571
 
3566
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/union.mjs
3572
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/union.mjs
3567
3573
  function ExtendsUnionSome(inferred, type, unionTypes) {
3568
3574
  return guard_exports.ShiftLeft(unionTypes, (head, tail) => Match3(ExtendsLeft(inferred, type, head), (inferred2) => ExtendsTrue(inferred2), () => ExtendsUnionSome(inferred, type, tail)), () => ExtendsFalse());
3569
3575
  }
@@ -3575,22 +3581,22 @@ function ExtendsUnion2(inferred, left, right) {
3575
3581
  return IsInferable(inferrable) ? InferUnionResult(inferred, inferrable.name, left, inferrable.type) : IsUnion(right) ? ExtendsUnionLeft(inferred, left, right.anyOf) : ExtendsUnionLeft(inferred, left, [right]);
3576
3582
  }
3577
3583
 
3578
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/unknown.mjs
3584
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/unknown.mjs
3579
3585
  function ExtendsUnknown(inferred, left, right) {
3580
3586
  return IsInfer(right) ? ExtendsRight(inferred, left, right) : IsAny(right) ? ExtendsTrue(inferred) : IsUnknown(right) ? ExtendsTrue(inferred) : ExtendsFalse();
3581
3587
  }
3582
3588
 
3583
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/void.mjs
3589
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/void.mjs
3584
3590
  function ExtendsVoid(inferred, left, right) {
3585
3591
  return IsVoid(right) ? ExtendsTrue(inferred) : ExtendsRight(inferred, left, right);
3586
3592
  }
3587
3593
 
3588
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/extends_left.mjs
3594
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/extends_left.mjs
3589
3595
  function ExtendsLeft(inferred, left, right) {
3590
3596
  return IsAny(left) ? ExtendsAny(inferred, left, right) : IsArray2(left) ? ExtendsArray(inferred, left, left.items, right) : IsBigInt2(left) ? ExtendsBigInt(inferred, left, right) : IsBoolean3(left) ? ExtendsBoolean(inferred, left, right) : IsConstructor2(left) ? ExtendsConstructor(inferred, left.parameters, left.instanceType, right) : IsDependent(left) ? ExtendsDependent(inferred, left.if, left.then, left.else, right) : IsEnum(left) ? ExtendsEnum(inferred, left.enum, right) : IsFunction2(left) ? ExtendsFunction(inferred, left.parameters, left.returnType, right) : IsInteger2(left) ? ExtendsInteger(inferred, left, right) : IsIntersect(left) ? ExtendsIntersect(inferred, left.allOf, right) : IsLiteral(left) ? ExtendsLiteral(inferred, left, right) : IsNever(left) ? ExtendsNever(inferred, left, right) : IsNull2(left) ? ExtendsNull(inferred, left, right) : IsNumber3(left) ? ExtendsNumber(inferred, left, right) : IsObject2(left) ? ExtendsObject(inferred, left.properties, right) : IsRecord(left) ? ExtendsRecord(inferred, RecordPattern(left), RecordValue(left), right) : IsString3(left) ? ExtendsString(inferred, left, right) : IsSymbol2(left) ? ExtendsSymbol(inferred, left, right) : IsTemplateLiteral(left) ? ExtendsTemplateLiteral(inferred, left.pattern, right) : IsTuple(left) ? ExtendsTuple(inferred, left.items, right) : IsUndefined2(left) ? ExtendsUndefined(inferred, left, right) : IsUnion(left) ? ExtendsUnion2(inferred, left.anyOf, right) : IsUnknown(left) ? ExtendsUnknown(inferred, left, right) : IsVoid(left) ? ExtendsVoid(inferred, left, right) : ExtendsFalse();
3591
3597
  }
3592
3598
 
3593
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/interface/instantiate.mjs
3599
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/interface/instantiate.mjs
3594
3600
  function InterfaceOperation(heritage, properties) {
3595
3601
  const result = EvaluateIntersect([...heritage, _Object_(properties)]);
3596
3602
  return result;
@@ -3605,7 +3611,7 @@ function InterfaceInstantiate(context, state, heritage, properties, options) {
3605
3611
  return InterfaceAction(instantiatedHeritage, instantiatedProperties, options);
3606
3612
  }
3607
3613
 
3608
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/interface.mjs
3614
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/interface.mjs
3609
3615
  function InterfaceDeferred(heritage, properties, options = {}) {
3610
3616
  return Deferred("Interface", [heritage, properties], options);
3611
3617
  }
@@ -3616,7 +3622,7 @@ function Interface(heritage, properties, options = {}) {
3616
3622
  return InterfaceAction(heritage, properties, options);
3617
3623
  }
3618
3624
 
3619
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/cyclic/check.mjs
3625
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/cyclic/check.mjs
3620
3626
  function FromRef(stack, context, ref) {
3621
3627
  return stack.includes(ref) ? true : FromType3([...stack, ref], context, context[ref]);
3622
3628
  }
@@ -3635,7 +3641,7 @@ function CyclicCheck(stack, context, type) {
3635
3641
  return result;
3636
3642
  }
3637
3643
 
3638
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/cyclic/candidates.mjs
3644
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/cyclic/candidates.mjs
3639
3645
  function ResolveCandidateKeys(context, keys) {
3640
3646
  return keys.reduce((result, left) => {
3641
3647
  return CyclicCheck([left], context, context[left]) ? [...result, left] : result;
@@ -3647,7 +3653,7 @@ function CyclicCandidates(context) {
3647
3653
  return result;
3648
3654
  }
3649
3655
 
3650
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs
3656
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs
3651
3657
  function FromRef2(context, ref, result) {
3652
3658
  return result.includes(ref) ? result : ref in context ? FromType4(context, context[ref], [...result, ref]) : Unreachable();
3653
3659
  }
@@ -3668,7 +3674,7 @@ function CyclicDependencies(context, key, type) {
3668
3674
  return result;
3669
3675
  }
3670
3676
 
3671
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/cyclic/extends.mjs
3677
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/cyclic/extends.mjs
3672
3678
  function FromRef3(_ref) {
3673
3679
  return Any();
3674
3680
  }
@@ -3692,7 +3698,7 @@ function CyclicExtends(type) {
3692
3698
  return CyclicAnyFromParameters(type.$defs, type.$ref);
3693
3699
  }
3694
3700
 
3695
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs
3701
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs
3696
3702
  function CyclicInterface(context, heritage, properties) {
3697
3703
  const instantiatedHeritage = InstantiateTypes(context, State([], []), heritage);
3698
3704
  const instantiatedProperties = InstantiateProperties({}, State([], []), properties);
@@ -3714,7 +3720,7 @@ function InstantiateCyclic(context, ref, type) {
3714
3720
  return result;
3715
3721
  }
3716
3722
 
3717
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/cyclic/target.mjs
3723
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/cyclic/target.mjs
3718
3724
  function Resolve(defs, ref) {
3719
3725
  return ref in defs ? IsRef(defs[ref]) ? Resolve(defs, defs[ref].$ref) : defs[ref] : Never();
3720
3726
  }
@@ -3723,7 +3729,7 @@ function CyclicTarget(defs, ref) {
3723
3729
  return result;
3724
3730
  }
3725
3731
 
3726
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/extends/extends.mjs
3732
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/extends/extends.mjs
3727
3733
  function Canonical(type) {
3728
3734
  return IsCyclic(type) ? CyclicExtends(type) : IsUnsafe(type) ? Unknown() : type;
3729
3735
  }
@@ -3733,7 +3739,7 @@ function Extends(inferred, left, right) {
3733
3739
  return ExtendsLeft(inferred, canonicalLeft, canonicalRight);
3734
3740
  }
3735
3741
 
3736
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/evaluate/compare.mjs
3742
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/evaluate/compare.mjs
3737
3743
  var CompareResultEqual = 0;
3738
3744
  var CompareResultDisjoint = 1;
3739
3745
  var CompareResultLeftInside = 2;
@@ -3743,7 +3749,7 @@ function Compare(left, right) {
3743
3749
  return result_exports.IsExtendsTrueLike(extendsCheck[0]) && result_exports.IsExtendsTrueLike(extendsCheck[1]) ? CompareResultEqual : result_exports.IsExtendsTrueLike(extendsCheck[0]) && result_exports.IsExtendsFalse(extendsCheck[1]) ? CompareResultLeftInside : result_exports.IsExtendsFalse(extendsCheck[0]) && result_exports.IsExtendsTrueLike(extendsCheck[1]) ? CompareResultRightInside : CompareResultDisjoint;
3744
3750
  }
3745
3751
 
3746
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/evaluate/broaden.mjs
3752
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/evaluate/broaden.mjs
3747
3753
  function BroadenFilter(type, types, result = [], all = types) {
3748
3754
  return guard_exports.ShiftLeft(types, (left, right) => {
3749
3755
  const compare = Compare(type, left);
@@ -3775,7 +3781,7 @@ function Broaden(types) {
3775
3781
  return flattened;
3776
3782
  }
3777
3783
 
3778
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs
3784
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs
3779
3785
  function EvaluateAction(type, options) {
3780
3786
  const result = memory_exports.Update(EvaluateType(type), {}, options);
3781
3787
  return result;
@@ -3785,7 +3791,7 @@ function EvaluateInstantiate(context, state, type, options) {
3785
3791
  return EvaluateAction(instantiatedType, options);
3786
3792
  }
3787
3793
 
3788
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs
3794
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs
3789
3795
  function CollectDistributionNames(expression, result = []) {
3790
3796
  return (
3791
3797
  // Conditional
@@ -3825,7 +3831,7 @@ function DistributeArguments(parameters, arguments_, expression) {
3825
3831
  return IsDeferred(expression) && guard_exports.IsEqual(expression.action, "Conditional") ? Distribute2(zippedArguments) : IsDeferred(expression) && guard_exports.IsEqual(expression.action, "Mapped") ? Distribute2(zippedArguments) : [arguments_];
3826
3832
  }
3827
3833
 
3828
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/call/resolve_target.mjs
3834
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/call/resolve_target.mjs
3829
3835
  function FromNotResolvable() {
3830
3836
  return ["(not-resolvable)", Never()];
3831
3837
  }
@@ -3845,7 +3851,7 @@ function ResolveTarget(context, target, arguments_) {
3845
3851
  return FromType6(context, "(anonymous)", target, arguments_);
3846
3852
  }
3847
3853
 
3848
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs
3854
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs
3849
3855
  function AssertArgumentExtends(name, type, extends_) {
3850
3856
  if (IsInfer(type) || IsCall(type) || result_exports.IsExtendsTrueLike(Extends({}, type, extends_)))
3851
3857
  return;
@@ -3869,7 +3875,7 @@ function ResolveArgumentsContext(context, state, parameters, arguments_) {
3869
3875
  return BindParameters(context, state, parameters, arguments_);
3870
3876
  }
3871
3877
 
3872
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/call/instantiate.mjs
3878
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/call/instantiate.mjs
3873
3879
  var instantiationDepth = 0;
3874
3880
  var instantiationCount = 0;
3875
3881
  function InstantiationAssert() {
@@ -3926,7 +3932,7 @@ function CallInstantiate(context, state, target, arguments_) {
3926
3932
  return result;
3927
3933
  }
3928
3934
 
3929
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/types/call.mjs
3935
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/types/call.mjs
3930
3936
  function CallConstruct(target, arguments_) {
3931
3937
  return memory_exports.Create({ ["~kind"]: "Call" }, { type: "call", target, arguments: arguments_ }, {});
3932
3938
  }
@@ -3937,7 +3943,7 @@ function IsCall(value) {
3937
3943
  return IsKind(value, "Call");
3938
3944
  }
3939
3945
 
3940
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs
3946
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs
3941
3947
  function RemoveImmutableOperation(type) {
3942
3948
  return memory_exports.Discard(type, ["~immutable"]);
3943
3949
  }
@@ -3950,35 +3956,35 @@ function RemoveImmutableInstantiate(context, state, type, options) {
3950
3956
  return RemoveImmutableAction(instantiatedType, options);
3951
3957
  }
3952
3958
 
3953
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs
3959
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs
3954
3960
  function ApplyMapping(mapping, value) {
3955
3961
  return mapping(value);
3956
3962
  }
3957
3963
 
3958
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs
3964
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs
3959
3965
  function FromLiteral3(mapping, value) {
3960
3966
  return guard_exports.IsString(value) ? Literal(ApplyMapping(mapping, value)) : Literal(value);
3961
3967
  }
3962
3968
 
3963
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs
3969
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs
3964
3970
  function FromTemplateLiteral(mapping, pattern) {
3965
3971
  const evaluated = EvaluateTemplateLiteral(pattern);
3966
3972
  const result = FromType7(mapping, evaluated);
3967
3973
  return result;
3968
3974
  }
3969
3975
 
3970
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs
3976
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs
3971
3977
  function FromUnion2(mapping, types) {
3972
3978
  const result = types.map((type) => FromType7(mapping, type));
3973
3979
  return Union(result);
3974
3980
  }
3975
3981
 
3976
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs
3982
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs
3977
3983
  function FromType7(mapping, type) {
3978
3984
  return IsLiteral(type) ? FromLiteral3(mapping, type.const) : IsTemplateLiteral(type) ? FromTemplateLiteral(mapping, type.pattern) : IsUnion(type) ? FromUnion2(mapping, type.anyOf) : type;
3979
3985
  }
3980
3986
 
3981
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/capitalize.mjs
3987
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/capitalize.mjs
3982
3988
  function CapitalizeDeferred(type, options = {}) {
3983
3989
  return Deferred("Capitalize", [type], options);
3984
3990
  }
@@ -3986,7 +3992,7 @@ function Capitalize(type, options = {}) {
3986
3992
  return CapitalizeAction(type, options);
3987
3993
  }
3988
3994
 
3989
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/lowercase.mjs
3995
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/lowercase.mjs
3990
3996
  function LowercaseDeferred(type, options = {}) {
3991
3997
  return Deferred("Lowercase", [type], options);
3992
3998
  }
@@ -3994,7 +4000,7 @@ function Lowercase(type, options = {}) {
3994
4000
  return LowercaseAction(type, options);
3995
4001
  }
3996
4002
 
3997
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/uncapitalize.mjs
4003
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/uncapitalize.mjs
3998
4004
  function UncapitalizeDeferred(type, options = {}) {
3999
4005
  return Deferred("Uncapitalize", [type], options);
4000
4006
  }
@@ -4002,7 +4008,7 @@ function Uncapitalize(type, options = {}) {
4002
4008
  return UncapitalizeAction(type, options);
4003
4009
  }
4004
4010
 
4005
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/uppercase.mjs
4011
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/uppercase.mjs
4006
4012
  function UppercaseDeferred(type, options = {}) {
4007
4013
  return Deferred("Uppercase", [type], options);
4008
4014
  }
@@ -4010,7 +4016,7 @@ function Uppercase(type, options = {}) {
4010
4016
  return UppercaseAction(type, options);
4011
4017
  }
4012
4018
 
4013
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs
4019
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs
4014
4020
  var CapitalizeMapping = (input) => input[0].toUpperCase() + input.slice(1);
4015
4021
  var LowercaseMapping = (input) => input.toLowerCase();
4016
4022
  var UncapitalizeMapping = (input) => input[0].toLowerCase() + input.slice(1);
@@ -4048,7 +4054,7 @@ function UppercaseInstantiate(context, state, type, options) {
4048
4054
  return UppercaseAction(instantiatedType, options);
4049
4055
  }
4050
4056
 
4051
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/conditional.mjs
4057
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/conditional.mjs
4052
4058
  function ConditionalDeferred(left, right, true_, false_, options = {}) {
4053
4059
  return Deferred("Conditional", [left, right, true_, false_], options);
4054
4060
  }
@@ -4056,7 +4062,7 @@ function Conditional(left, right, true_, false_, options = {}) {
4056
4062
  return ConditionalAction({}, State([], []), left, right, true_, false_, options);
4057
4063
  }
4058
4064
 
4059
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/conditional/instantiate.mjs
4065
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/conditional/instantiate.mjs
4060
4066
  function ConditionalOperation(context, state, left, right, true_, false_) {
4061
4067
  const extendsResult = Extends(context, left, right);
4062
4068
  return result_exports.IsExtendsUnion(extendsResult) ? Union([InstantiateType(extendsResult.inferred, state, true_), InstantiateType(context, state, false_)]) : result_exports.IsExtendsTrue(extendsResult) ? InstantiateType(extendsResult.inferred, state, true_) : InstantiateType(context, state, false_);
@@ -4071,7 +4077,7 @@ function ConditionalInstantiate(context, state, left, right, true_, false_, opti
4071
4077
  return ConditionalAction(context, state, instantiatedLeft, instantiatedRight, true_, false_, options);
4072
4078
  }
4073
4079
 
4074
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/constructor_parameters.mjs
4080
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/constructor_parameters.mjs
4075
4081
  function ConstructorParametersDeferred(type, options = {}) {
4076
4082
  return Deferred("ConstructorParameters", [type], options);
4077
4083
  }
@@ -4079,7 +4085,7 @@ function ConstructorParameters(type, options = {}) {
4079
4085
  return ConstructorParametersAction(type, options);
4080
4086
  }
4081
4087
 
4082
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs
4088
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs
4083
4089
  function ConstructorParametersOperation(type) {
4084
4090
  const parameters = IsConstructor2(type) ? type["parameters"] : [];
4085
4091
  const instantiatedParameters = InstantiateElements({}, State([], []), parameters);
@@ -4095,7 +4101,7 @@ function ConstructorParametersInstantiate(context, state, type, options) {
4095
4101
  return ConstructorParametersAction(instantiatedType, options);
4096
4102
  }
4097
4103
 
4098
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/exclude.mjs
4104
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/exclude.mjs
4099
4105
  function ExcludeDeferred(left, right, options = {}) {
4100
4106
  return Deferred("Exclude", [left, right], options);
4101
4107
  }
@@ -4103,7 +4109,7 @@ function Exclude(left, right, options = {}) {
4103
4109
  return ExcludeAction(left, right, options);
4104
4110
  }
4105
4111
 
4106
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/exclude/instantiate.mjs
4112
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/exclude/instantiate.mjs
4107
4113
  function ExcludeAction(left, right, options) {
4108
4114
  const result = CanInstantiate([left, right]) ? memory_exports.Update(ExcludeOperation(left, right), {}, options) : ExcludeDeferred(left, right, options);
4109
4115
  return result;
@@ -4114,7 +4120,7 @@ function ExcludeInstantiate(context, state, left, right, options) {
4114
4120
  return ExcludeAction(instantiatedLeft, instantiatedRight, options);
4115
4121
  }
4116
4122
 
4117
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/extract.mjs
4123
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/extract.mjs
4118
4124
  function ExtractDeferred(left, right, options = {}) {
4119
4125
  return Deferred("Extract", [left, right], options);
4120
4126
  }
@@ -4122,7 +4128,7 @@ function Extract(left, right, options = {}) {
4122
4128
  return ExtractAction(left, right, options);
4123
4129
  }
4124
4130
 
4125
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/extract/operation.mjs
4131
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/extract/operation.mjs
4126
4132
  function ExtractType(left, right) {
4127
4133
  const check = Extends({}, left, right);
4128
4134
  const result = result_exports.IsExtendsTrueLike(check) ? [left] : [];
@@ -4139,7 +4145,7 @@ function ExtractOperation(left, right) {
4139
4145
  return result;
4140
4146
  }
4141
4147
 
4142
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/extract/instantiate.mjs
4148
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/extract/instantiate.mjs
4143
4149
  function ExtractAction(left, right, options) {
4144
4150
  const result = CanInstantiate([left, right]) ? memory_exports.Update(ExtractOperation(left, right), {}, options) : ExtractDeferred(left, right, options);
4145
4151
  return result;
@@ -4150,7 +4156,7 @@ function ExtractInstantiate(context, state, left, right, options) {
4150
4156
  return ExtractAction(instantiatedLeft, instantiatedRight, options);
4151
4157
  }
4152
4158
 
4153
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs
4159
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs
4154
4160
  function KeysToLiterals(keys) {
4155
4161
  return keys.reduce((result, left) => {
4156
4162
  return IsLiteralValue(left) ? [...result, Literal(left)] : result;
@@ -4162,7 +4168,7 @@ function KeysToIndexer(keys) {
4162
4168
  return result;
4163
4169
  }
4164
4170
 
4165
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/indexed.mjs
4171
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/indexed.mjs
4166
4172
  function IndexDeferred(type, indexer, options = {}) {
4167
4173
  return Deferred("Index", [type, indexer], options);
4168
4174
  }
@@ -4171,21 +4177,21 @@ function Index(type, indexer_or_keys, options = {}) {
4171
4177
  return IndexAction(type, indexer, options);
4172
4178
  }
4173
4179
 
4174
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/object/from_cyclic.mjs
4180
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/object/from_cyclic.mjs
4175
4181
  function FromCyclic(defs, ref) {
4176
4182
  const target = CyclicTarget(defs, ref);
4177
4183
  const result = FromType8(target);
4178
4184
  return result;
4179
4185
  }
4180
4186
 
4181
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/object/from_dependent.mjs
4187
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/object/from_dependent.mjs
4182
4188
  function FromDependent(if_, then_, else_) {
4183
4189
  const evaluated = EvaluateDependent(if_, then_, else_);
4184
4190
  const result = FromType8(evaluated);
4185
4191
  return result;
4186
4192
  }
4187
4193
 
4188
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/object/from_intersect.mjs
4194
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/object/from_intersect.mjs
4189
4195
  function CollapseIntersectProperties(left, right) {
4190
4196
  const leftKeys = guard_exports.Keys(left).filter((key) => !guard_exports.HasPropertyKey(right, key));
4191
4197
  const rightKeys = guard_exports.Keys(right).filter((key) => !guard_exports.HasPropertyKey(left, key));
@@ -4203,19 +4209,19 @@ function FromIntersect(types) {
4203
4209
  }, {});
4204
4210
  }
4205
4211
 
4206
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/object/from_object.mjs
4212
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/object/from_object.mjs
4207
4213
  function FromObject4(properties) {
4208
4214
  return properties;
4209
4215
  }
4210
4216
 
4211
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/object/from_tuple.mjs
4217
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/object/from_tuple.mjs
4212
4218
  function FromTuple(types) {
4213
4219
  const object = TupleToObject(Tuple(types));
4214
4220
  const result = FromType8(object);
4215
4221
  return result;
4216
4222
  }
4217
4223
 
4218
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/object/from_union.mjs
4224
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/object/from_union.mjs
4219
4225
  function CollapseUnionProperties(left, right) {
4220
4226
  const sharedKeys = guard_exports.Keys(left).filter((key) => key in right);
4221
4227
  const result = sharedKeys.reduce((result2, key) => {
@@ -4230,26 +4236,26 @@ function FromUnion3(types) {
4230
4236
  return guard_exports.ShiftLeft(types, (left, right) => ReduceVariants(right, FromType8(left)), () => Unreachable());
4231
4237
  }
4232
4238
 
4233
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/object/from_type.mjs
4239
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/object/from_type.mjs
4234
4240
  function FromType8(type) {
4235
4241
  return IsCyclic(type) ? FromCyclic(type.$defs, type.$ref) : IsDependent(type) ? FromDependent(type.if, type.then, type.else) : IsIntersect(type) ? FromIntersect(type.allOf) : IsUnion(type) ? FromUnion3(type.anyOf) : IsTuple(type) ? FromTuple(type.items) : IsObject2(type) ? FromObject4(type.properties) : {};
4236
4242
  }
4237
4243
 
4238
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/object/collapse.mjs
4244
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/object/collapse.mjs
4239
4245
  function CollapseToObject(type) {
4240
4246
  const properties = FromType8(type);
4241
4247
  const result = _Object_(properties);
4242
4248
  return result;
4243
4249
  }
4244
4250
 
4245
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/helpers/keys.mjs
4251
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/helpers/keys.mjs
4246
4252
  var integerKeyPattern = new RegExp("^(?:0|[1-9][0-9]*)$");
4247
4253
  function ConvertToIntegerKey(value) {
4248
4254
  const normal = `${value}`;
4249
4255
  return integerKeyPattern.test(normal) ? parseInt(normal) : value;
4250
4256
  }
4251
4257
 
4252
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexed/from_array.mjs
4258
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexed/from_array.mjs
4253
4259
  function NormalizeLiteral(value) {
4254
4260
  return Literal(ConvertToIntegerKey(value));
4255
4261
  }
@@ -4269,66 +4275,66 @@ function FromArray3(type, indexer) {
4269
4275
  return result;
4270
4276
  }
4271
4277
 
4272
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs
4278
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs
4273
4279
  function FromCyclic2(defs, ref) {
4274
4280
  const target = CyclicTarget(defs, ref);
4275
4281
  const result = FromType9(target);
4276
4282
  return result;
4277
4283
  }
4278
4284
 
4279
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs
4285
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs
4280
4286
  function FromDependent2(if_, then_, else_) {
4281
4287
  const evaluated = EvaluateDependent(if_, then_, else_);
4282
4288
  const result = FromType9(evaluated);
4283
4289
  return result;
4284
4290
  }
4285
4291
 
4286
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexable/from_enum.mjs
4292
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexable/from_enum.mjs
4287
4293
  function FromEnum(values) {
4288
4294
  const evaluated = EvaluateEnum(values);
4289
4295
  const result = FromType9(evaluated);
4290
4296
  return result;
4291
4297
  }
4292
4298
 
4293
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs
4299
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs
4294
4300
  function FromIntersect2(types) {
4295
4301
  const evaluated = EvaluateIntersect(types);
4296
4302
  const result = FromType9(evaluated);
4297
4303
  return result;
4298
4304
  }
4299
4305
 
4300
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexable/from_literal.mjs
4306
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexable/from_literal.mjs
4301
4307
  function FromLiteral4(value) {
4302
4308
  const result = [`${value}`];
4303
4309
  return result;
4304
4310
  }
4305
4311
 
4306
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs
4312
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs
4307
4313
  function FromTemplateLiteral2(pattern) {
4308
4314
  const evaluated = EvaluateTemplateLiteral(pattern);
4309
4315
  const result = FromType9(evaluated);
4310
4316
  return result;
4311
4317
  }
4312
4318
 
4313
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexable/from_union.mjs
4319
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexable/from_union.mjs
4314
4320
  function FromUnion4(types) {
4315
4321
  return types.reduce((result, left) => {
4316
4322
  return [...result, ...FromType9(left)];
4317
4323
  }, []);
4318
4324
  }
4319
4325
 
4320
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexable/from_type.mjs
4326
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexable/from_type.mjs
4321
4327
  function FromType9(type) {
4322
4328
  return IsCyclic(type) ? FromCyclic2(type.$defs, type.$ref) : IsDependent(type) ? FromDependent2(type.if, type.then, type.else) : IsEnum(type) ? FromEnum(type.enum) : IsIntersect(type) ? FromIntersect2(type.allOf) : IsLiteral(type) ? FromLiteral4(type.const) : IsTemplateLiteral(type) ? FromTemplateLiteral2(type.pattern) : IsUnion(type) ? FromUnion4(type.anyOf) : [];
4323
4329
  }
4324
4330
 
4325
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs
4331
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs
4326
4332
  function ToIndexableKeys(type) {
4327
4333
  const result = FromType9(type);
4328
4334
  return result;
4329
4335
  }
4330
4336
 
4331
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/this/expand_this.mjs
4337
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/this/expand_this.mjs
4332
4338
  function FromTypes5(properties, types) {
4333
4339
  return types.map((type) => FromType10(properties, type));
4334
4340
  }
@@ -4340,7 +4346,7 @@ function ExpandThis(properties, type) {
4340
4346
  return result;
4341
4347
  }
4342
4348
 
4343
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexed/from_object.mjs
4349
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexed/from_object.mjs
4344
4350
  function IndexProperty(properties, key) {
4345
4351
  const selectedType = key in properties ? properties[key] : Never();
4346
4352
  const result = ExpandThis(properties, selectedType);
@@ -4374,7 +4380,7 @@ function FromObject5(properties, indexer) {
4374
4380
  return result;
4375
4381
  }
4376
4382
 
4377
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs
4383
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs
4378
4384
  function ConvertLiteral(value) {
4379
4385
  return Literal(ConvertToIntegerKey(value));
4380
4386
  }
@@ -4385,7 +4391,7 @@ function FormatArrayIndexer(type) {
4385
4391
  return IsIntersect(type) ? Intersect(ArrayIndexerTypes(type.allOf)) : IsUnion(type) ? Union(ArrayIndexerTypes(type.anyOf)) : IsLiteral(type) ? ConvertLiteral(type.const) : type;
4386
4392
  }
4387
4393
 
4388
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs
4394
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs
4389
4395
  function IndexElementsWithIndexer(types, indexer) {
4390
4396
  return types.reduceRight((result, right, index) => {
4391
4397
  const check = Extends({}, Literal(index), indexer);
@@ -4407,12 +4413,12 @@ function FromTuple2(types, indexer) {
4407
4413
  );
4408
4414
  }
4409
4415
 
4410
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexed/from_type.mjs
4416
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexed/from_type.mjs
4411
4417
  function FromType11(type, indexer) {
4412
4418
  return IsArray2(type) ? FromArray3(type.items, indexer) : IsObject2(type) ? FromObject5(type.properties, indexer) : IsTuple(type) ? FromTuple2(type.items, indexer) : Never();
4413
4419
  }
4414
4420
 
4415
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexed/instantiate.mjs
4421
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexed/instantiate.mjs
4416
4422
  function NormalizeType(type) {
4417
4423
  const result = IsCyclic(type) || IsDependent(type) || IsIntersect(type) || IsUnion(type) ? CollapseToObject(type) : type;
4418
4424
  return result;
@@ -4427,7 +4433,7 @@ function IndexInstantiate(context, state, type, indexer, options) {
4427
4433
  return IndexAction(instantiatedType, instantiatedIndexer, options);
4428
4434
  }
4429
4435
 
4430
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/instance_type.mjs
4436
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/instance_type.mjs
4431
4437
  function InstanceTypeDeferred(type, options = {}) {
4432
4438
  return Deferred("InstanceType", [type], options);
4433
4439
  }
@@ -4435,7 +4441,7 @@ function InstanceType(type, options = {}) {
4435
4441
  return InstanceTypeAction(type, options);
4436
4442
  }
4437
4443
 
4438
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs
4444
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs
4439
4445
  function InstanceTypeOperation(type) {
4440
4446
  return IsConstructor2(type) ? type["instanceType"] : Never();
4441
4447
  }
@@ -4448,7 +4454,7 @@ function InstanceTypeInstantiate(context, state, type, options = {}) {
4448
4454
  return InstanceTypeAction(instantiatedType, options);
4449
4455
  }
4450
4456
 
4451
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/keyof.mjs
4457
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/keyof.mjs
4452
4458
  function KeyOfDeferred(type, options = {}) {
4453
4459
  return Deferred("KeyOf", [type], options);
4454
4460
  }
@@ -4456,17 +4462,17 @@ function KeyOf2(type, options = {}) {
4456
4462
  return KeyOfAction(type, options);
4457
4463
  }
4458
4464
 
4459
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/keyof/from_any.mjs
4465
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/keyof/from_any.mjs
4460
4466
  function FromAny() {
4461
4467
  return Union([Number2(), String2(), Symbol2()]);
4462
4468
  }
4463
4469
 
4464
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/keyof/from_array.mjs
4470
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/keyof/from_array.mjs
4465
4471
  function FromArray4(_type) {
4466
4472
  return Number2();
4467
4473
  }
4468
4474
 
4469
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/keyof/from_object.mjs
4475
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/keyof/from_object.mjs
4470
4476
  function FromPropertyKeys(keys) {
4471
4477
  const result = keys.reduce((result2, left) => {
4472
4478
  return IsLiteralValue(left) ? [...result2, Literal(ConvertToIntegerKey(left))] : Unreachable();
@@ -4480,23 +4486,23 @@ function FromObject6(properties) {
4480
4486
  return result;
4481
4487
  }
4482
4488
 
4483
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/keyof/from_record.mjs
4489
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/keyof/from_record.mjs
4484
4490
  function FromRecord2(type) {
4485
4491
  return RecordKey(type);
4486
4492
  }
4487
4493
 
4488
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs
4494
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs
4489
4495
  function FromTuple3(types) {
4490
4496
  const result = types.map((_, index) => Literal(index));
4491
4497
  return EvaluateUnionFast(result);
4492
4498
  }
4493
4499
 
4494
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/keyof/from_type.mjs
4500
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/keyof/from_type.mjs
4495
4501
  function FromType12(type) {
4496
4502
  return IsAny(type) ? FromAny() : IsArray2(type) ? FromArray4(type.items) : IsObject2(type) ? FromObject6(type.properties) : IsRecord(type) ? FromRecord2(type) : IsTuple(type) ? FromTuple3(type.items) : Never();
4497
4503
  }
4498
4504
 
4499
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/keyof/instantiate.mjs
4505
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/keyof/instantiate.mjs
4500
4506
  function NormalizeType2(type) {
4501
4507
  const result = IsCyclic(type) || IsDependent(type) || IsIntersect(type) || IsUnion(type) ? CollapseToObject(type) : type;
4502
4508
  return result;
@@ -4509,7 +4515,7 @@ function KeyOfInstantiate(context, state, type, options) {
4509
4515
  return KeyOfAction(instantiatedType, options);
4510
4516
  }
4511
4517
 
4512
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/mapped.mjs
4518
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/mapped.mjs
4513
4519
  function MappedDeferred(identifier, type, as, property, options = {}) {
4514
4520
  return Deferred("Mapped", [identifier, type, as, property], options);
4515
4521
  }
@@ -4517,7 +4523,7 @@ function Mapped(identifier, type, as, property, options = {}) {
4517
4523
  return MappedAction({}, State([], []), identifier, type, as, property, options);
4518
4524
  }
4519
4525
 
4520
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs
4526
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs
4521
4527
  function FromTemplateLiteral3(pattern) {
4522
4528
  const evaluated = EvaluateTemplateLiteral(pattern);
4523
4529
  const result = FromType13(evaluated);
@@ -4546,7 +4552,7 @@ function MappedVariants(type) {
4546
4552
  return result;
4547
4553
  }
4548
4554
 
4549
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs
4555
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs
4550
4556
  function CanonicalAs(instantiatedAs) {
4551
4557
  const result = IsTemplateLiteral(instantiatedAs) ? EvaluateTemplateLiteral(instantiatedAs.pattern) : instantiatedAs;
4552
4558
  return result;
@@ -4576,7 +4582,7 @@ function MappedOperation(context, state, identifier, type, as, property) {
4576
4582
  return result;
4577
4583
  }
4578
4584
 
4579
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/mapped/instantiate.mjs
4585
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/mapped/instantiate.mjs
4580
4586
  function MappedAction(context, state, identifier, type, as, property, options) {
4581
4587
  const result = CanInstantiate([type]) ? memory_exports.Update(MappedOperation(context, state, identifier, type, as, property), {}, options) : MappedDeferred(identifier, type, as, property, options);
4582
4588
  return result;
@@ -4586,7 +4592,7 @@ function MappedInstantiate(context, state, identifier, type, as, property, optio
4586
4592
  return MappedAction(context, state, identifier, instantiatedType, as, property, options);
4587
4593
  }
4588
4594
 
4589
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/module/instantiate.mjs
4595
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/module/instantiate.mjs
4590
4596
  function InstantiateCyclics(context, declarations, cyclicKeys) {
4591
4597
  const declarationContext = memory_exports.Assign(context, declarations);
4592
4598
  const declarationKeys = guard_exports.Keys(declarations).filter((key) => cyclicKeys.includes(key));
@@ -4613,7 +4619,7 @@ function ModuleInstantiate(context, _state, declarations, options) {
4613
4619
  return instantiatedModule;
4614
4620
  }
4615
4621
 
4616
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/non_nullable.mjs
4622
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/non_nullable.mjs
4617
4623
  function NonNullableDeferred(type, options = {}) {
4618
4624
  return Deferred("NonNullable", [type], options);
4619
4625
  }
@@ -4621,7 +4627,7 @@ function NonNullable(type, options = {}) {
4621
4627
  return NonNullableAction(type, options);
4622
4628
  }
4623
4629
 
4624
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs
4630
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs
4625
4631
  function NonNullableOperation(type) {
4626
4632
  const excluded = Union([Null(), Undefined()]);
4627
4633
  return ExcludeAction(type, excluded, {});
@@ -4635,7 +4641,7 @@ function NonNullableInstantiate(context, state, type, options) {
4635
4641
  return NonNullableAction(instantiatedType, options);
4636
4642
  }
4637
4643
 
4638
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/omit.mjs
4644
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/omit.mjs
4639
4645
  function OmitDeferred(type, indexer, options = {}) {
4640
4646
  return Deferred("Omit", [type, indexer], options);
4641
4647
  }
@@ -4644,14 +4650,14 @@ function Omit(type, indexer_or_keys, options = {}) {
4644
4650
  return OmitAction(type, indexer, options);
4645
4651
  }
4646
4652
 
4647
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs
4653
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs
4648
4654
  function ToIndexable(type) {
4649
4655
  const collapsed = CollapseToObject(type);
4650
4656
  const result = IsObject2(collapsed) ? collapsed.properties : Unreachable();
4651
4657
  return result;
4652
4658
  }
4653
4659
 
4654
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/omit/from_type.mjs
4660
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/omit/from_type.mjs
4655
4661
  function FromKeys(properties, keys) {
4656
4662
  const result = guard_exports.Keys(properties).reduce((result2, key) => {
4657
4663
  return keys.includes(key) ? result2 : { ...result2, [key]: properties[key] };
@@ -4666,7 +4672,7 @@ function FromType14(type, indexer) {
4666
4672
  return result;
4667
4673
  }
4668
4674
 
4669
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/omit/instantiate.mjs
4675
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/omit/instantiate.mjs
4670
4676
  function OmitAction(type, indexer, options) {
4671
4677
  const result = CanInstantiate([type, indexer]) ? memory_exports.Update(FromType14(type, indexer), {}, options) : OmitDeferred(type, indexer, options);
4672
4678
  return result;
@@ -4677,7 +4683,7 @@ function OmitInstantiate(context, state, type, indexer, options) {
4677
4683
  return OmitAction(instantiatedType, instantiatedIndexer, options);
4678
4684
  }
4679
4685
 
4680
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/parameters.mjs
4686
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/parameters.mjs
4681
4687
  function ParametersDeferred(type, options = {}) {
4682
4688
  return Deferred("Parameters", [type], options);
4683
4689
  }
@@ -4685,7 +4691,7 @@ function Parameters(type, options = {}) {
4685
4691
  return ParametersAction(type, options);
4686
4692
  }
4687
4693
 
4688
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/parameters/instantiate.mjs
4694
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/parameters/instantiate.mjs
4689
4695
  function ParametersOperation(type) {
4690
4696
  const parameters = IsFunction2(type) ? type["parameters"] : [];
4691
4697
  const instantiatedParameters = InstantiateElements({}, State([], []), parameters);
@@ -4701,7 +4707,7 @@ function ParametersInstantiate(context, state, type, options) {
4701
4707
  return ParametersAction(instantiatedType, options);
4702
4708
  }
4703
4709
 
4704
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/partial.mjs
4710
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/partial.mjs
4705
4711
  function PartialDeferred(type, options = {}) {
4706
4712
  return Deferred("Partial", [type], options);
4707
4713
  }
@@ -4709,7 +4715,7 @@ function Partial(type, options = {}) {
4709
4715
  return PartialAction(type, options);
4710
4716
  }
4711
4717
 
4712
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs
4718
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs
4713
4719
  function FromCyclic3(defs, ref) {
4714
4720
  const target = CyclicTarget(defs, ref);
4715
4721
  const partial = FromType15(target);
@@ -4717,27 +4723,27 @@ function FromCyclic3(defs, ref) {
4717
4723
  return result;
4718
4724
  }
4719
4725
 
4720
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/partial/from_dependent.mjs
4726
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/partial/from_dependent.mjs
4721
4727
  function FromDependent3(if_, then_, else_) {
4722
4728
  const evaluated = EvaluateDependent(if_, then_, else_);
4723
4729
  const result = FromType15(evaluated);
4724
4730
  return result;
4725
4731
  }
4726
4732
 
4727
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/partial/from_intersect.mjs
4733
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/partial/from_intersect.mjs
4728
4734
  function FromIntersect3(types) {
4729
4735
  const evaluated = EvaluateIntersect(types);
4730
4736
  const result = FromType15(evaluated);
4731
4737
  return result;
4732
4738
  }
4733
4739
 
4734
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/partial/from_union.mjs
4740
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/partial/from_union.mjs
4735
4741
  function FromUnion6(types) {
4736
4742
  const result = types.map((type) => FromType15(type));
4737
4743
  return Union(result);
4738
4744
  }
4739
4745
 
4740
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/partial/from_object.mjs
4746
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/partial/from_object.mjs
4741
4747
  function FromObject7(properties) {
4742
4748
  const mapped = guard_exports.Keys(properties).reduce((result2, left) => {
4743
4749
  return { ...result2, [left]: AddOptional(properties[left]) };
@@ -4746,12 +4752,12 @@ function FromObject7(properties) {
4746
4752
  return result;
4747
4753
  }
4748
4754
 
4749
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/partial/from_type.mjs
4755
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/partial/from_type.mjs
4750
4756
  function FromType15(type) {
4751
4757
  return IsCyclic(type) ? FromCyclic3(type.$defs, type.$ref) : IsDependent(type) ? FromDependent3(type.if, type.then, type.else) : IsIntersect(type) ? FromIntersect3(type.allOf) : IsUnion(type) ? FromUnion6(type.anyOf) : IsObject2(type) ? FromObject7(type.properties) : _Object_({});
4752
4758
  }
4753
4759
 
4754
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/partial/instantiate.mjs
4760
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/partial/instantiate.mjs
4755
4761
  function PartialAction(type, options) {
4756
4762
  const result = CanInstantiate([type]) ? memory_exports.Update(FromType15(type), {}, options) : PartialDeferred(type, options);
4757
4763
  return result;
@@ -4761,7 +4767,7 @@ function PartialInstantiate(context, state, type, options) {
4761
4767
  return PartialAction(instantiatedType, options);
4762
4768
  }
4763
4769
 
4764
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/pick.mjs
4770
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/pick.mjs
4765
4771
  function PickDeferred(type, indexer, options = {}) {
4766
4772
  return Deferred("Pick", [type, indexer], options);
4767
4773
  }
@@ -4770,7 +4776,7 @@ function Pick(type, indexer_or_keys, options = {}) {
4770
4776
  return PickAction(type, indexer, options);
4771
4777
  }
4772
4778
 
4773
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/pick/from_type.mjs
4779
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/pick/from_type.mjs
4774
4780
  function FromKeys2(properties, keys) {
4775
4781
  const result = guard_exports.Keys(properties).reduce((result2, key) => {
4776
4782
  return keys.includes(key) ? memory_exports.Assign(result2, { [key]: properties[key] }) : result2;
@@ -4785,7 +4791,7 @@ function FromType16(type, indexer) {
4785
4791
  return result;
4786
4792
  }
4787
4793
 
4788
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/pick/instantiate.mjs
4794
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/pick/instantiate.mjs
4789
4795
  function PickAction(type, indexer, options) {
4790
4796
  const result = CanInstantiate([type, indexer]) ? memory_exports.Update(FromType16(type, indexer), {}, options) : PickDeferred(type, indexer, options);
4791
4797
  return result;
@@ -4796,7 +4802,7 @@ function PickInstantiate(context, state, type, indexer, options) {
4796
4802
  return PickAction(instantiatedType, instantiatedIndexer, options);
4797
4803
  }
4798
4804
 
4799
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/readonly_object.mjs
4805
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/readonly_object.mjs
4800
4806
  function ReadonlyObjectDeferred(type, options = {}) {
4801
4807
  return Deferred("ReadonlyObject", [type], options);
4802
4808
  }
@@ -4805,13 +4811,13 @@ function ReadonlyObject(type, options = {}) {
4805
4811
  }
4806
4812
  var ReadonlyType = ReadonlyObject;
4807
4813
 
4808
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs
4814
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs
4809
4815
  function FromArray5(type) {
4810
4816
  const result = AddImmutable(_Array_(type));
4811
4817
  return result;
4812
4818
  }
4813
4819
 
4814
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs
4820
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs
4815
4821
  function FromCyclic4(defs, ref) {
4816
4822
  const target = CyclicTarget(defs, ref);
4817
4823
  const partial = FromType17(target);
@@ -4819,21 +4825,21 @@ function FromCyclic4(defs, ref) {
4819
4825
  return result;
4820
4826
  }
4821
4827
 
4822
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs
4828
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs
4823
4829
  function FromDependent4(if_, then_, else_) {
4824
4830
  const evaluated = EvaluateDependent(if_, then_, else_);
4825
4831
  const result = FromType17(evaluated);
4826
4832
  return result;
4827
4833
  }
4828
4834
 
4829
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs
4835
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs
4830
4836
  function FromIntersect4(types) {
4831
4837
  const evaluated = EvaluateIntersect(types);
4832
4838
  const result = FromType17(evaluated);
4833
4839
  return result;
4834
4840
  }
4835
4841
 
4836
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs
4842
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs
4837
4843
  function FromObject8(properties) {
4838
4844
  const mapped = guard_exports.Keys(properties).reduce((result2, left) => {
4839
4845
  return { ...result2, [left]: AddReadonly(properties[left]) };
@@ -4842,24 +4848,24 @@ function FromObject8(properties) {
4842
4848
  return result;
4843
4849
  }
4844
4850
 
4845
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs
4851
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs
4846
4852
  function FromTuple4(types) {
4847
4853
  const result = AddImmutable(Tuple(types));
4848
4854
  return result;
4849
4855
  }
4850
4856
 
4851
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs
4857
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs
4852
4858
  function FromUnion7(types) {
4853
4859
  const result = types.map((type) => FromType17(type));
4854
4860
  return Union(result);
4855
4861
  }
4856
4862
 
4857
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs
4863
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs
4858
4864
  function FromType17(type) {
4859
4865
  return IsArray2(type) ? FromArray5(type.items) : IsCyclic(type) ? FromCyclic4(type.$defs, type.$ref) : IsDependent(type) ? FromDependent4(type.if, type.then, type.else) : IsIntersect(type) ? FromIntersect4(type.allOf) : IsObject2(type) ? FromObject8(type.properties) : IsTuple(type) ? FromTuple4(type.items) : IsUnion(type) ? FromUnion7(type.anyOf) : type;
4860
4866
  }
4861
4867
 
4862
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs
4868
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs
4863
4869
  function ReadonlyObjectAction(type, options) {
4864
4870
  const result = CanInstantiate([type]) ? memory_exports.Update(FromType17(type), {}, options) : ReadonlyObjectDeferred(type);
4865
4871
  return result;
@@ -4869,12 +4875,12 @@ function ReadonlyObjectInstantiate(context, state, type, options) {
4869
4875
  return ReadonlyObjectAction(instantiatedType, options);
4870
4876
  }
4871
4877
 
4872
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/ref/instantiate.mjs
4878
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/ref/instantiate.mjs
4873
4879
  function RefInstantiate(context, state, type, ref) {
4874
4880
  return state.visited.includes(ref) ? type : ref in context ? InstantiateType(context, State(state["callstack"], [...state["visited"], ref]), context[ref]) : type;
4875
4881
  }
4876
4882
 
4877
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/required/from_cyclic.mjs
4883
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/required/from_cyclic.mjs
4878
4884
  function FromCyclic5(defs, ref) {
4879
4885
  const target = CyclicTarget(defs, ref);
4880
4886
  const partial = FromType18(target);
@@ -4882,27 +4888,27 @@ function FromCyclic5(defs, ref) {
4882
4888
  return result;
4883
4889
  }
4884
4890
 
4885
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/required/from_dependent.mjs
4891
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/required/from_dependent.mjs
4886
4892
  function FromDependent5(if_, then_, else_) {
4887
4893
  const evaluated = EvaluateDependent(if_, then_, else_);
4888
4894
  const result = FromType18(evaluated);
4889
4895
  return result;
4890
4896
  }
4891
4897
 
4892
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/required/from_intersect.mjs
4898
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/required/from_intersect.mjs
4893
4899
  function FromIntersect5(types) {
4894
4900
  const evaluated = EvaluateIntersect(types);
4895
4901
  const result = FromType18(evaluated);
4896
4902
  return result;
4897
4903
  }
4898
4904
 
4899
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/required/from_union.mjs
4905
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/required/from_union.mjs
4900
4906
  function FromUnion8(types) {
4901
4907
  const result = types.map((type) => FromType18(type));
4902
4908
  return Union(result);
4903
4909
  }
4904
4910
 
4905
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/required/from_object.mjs
4911
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/required/from_object.mjs
4906
4912
  function FromObject9(properties) {
4907
4913
  const mapped = guard_exports.Keys(properties).reduce((result2, left) => {
4908
4914
  return { ...result2, [left]: RemoveOptional(properties[left]) };
@@ -4911,12 +4917,12 @@ function FromObject9(properties) {
4911
4917
  return result;
4912
4918
  }
4913
4919
 
4914
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/required/from_type.mjs
4920
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/required/from_type.mjs
4915
4921
  function FromType18(type) {
4916
4922
  return IsCyclic(type) ? FromCyclic5(type.$defs, type.$ref) : IsDependent(type) ? FromDependent5(type.if, type.then, type.else) : IsIntersect(type) ? FromIntersect5(type.allOf) : IsUnion(type) ? FromUnion8(type.anyOf) : IsObject2(type) ? FromObject9(type.properties) : _Object_({});
4917
4923
  }
4918
4924
 
4919
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/required.mjs
4925
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/required.mjs
4920
4926
  function RequiredDeferred(type, options = {}) {
4921
4927
  return Deferred("Required", [type], options);
4922
4928
  }
@@ -4924,7 +4930,7 @@ function Required(type, options = {}) {
4924
4930
  return RequiredAction(type, options);
4925
4931
  }
4926
4932
 
4927
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/required/instantiate.mjs
4933
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/required/instantiate.mjs
4928
4934
  function RequiredAction(type, options) {
4929
4935
  const result = CanInstantiate([type]) ? memory_exports.Update(FromType18(type), {}, options) : RequiredDeferred(type, options);
4930
4936
  return result;
@@ -4934,7 +4940,7 @@ function RequiredInstantiate(context, state, type, options) {
4934
4940
  return RequiredAction(instaniatedType, options);
4935
4941
  }
4936
4942
 
4937
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/return_type.mjs
4943
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/return_type.mjs
4938
4944
  function ReturnTypeDeferred(type, options = {}) {
4939
4945
  return Deferred("ReturnType", [type], options);
4940
4946
  }
@@ -4942,7 +4948,7 @@ function ReturnType(type, options = {}) {
4942
4948
  return ReturnTypeAction(type, options);
4943
4949
  }
4944
4950
 
4945
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/return_type/instantiate.mjs
4951
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/return_type/instantiate.mjs
4946
4952
  function ReturnTypeOperation(type) {
4947
4953
  return IsFunction2(type) ? type["returnType"] : Never();
4948
4954
  }
@@ -4955,7 +4961,7 @@ function ReturnTypeInstantiate(context, state, type, options = {}) {
4955
4961
  return ReturnTypeAction(instantiatedType, options);
4956
4962
  }
4957
4963
 
4958
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/with.mjs
4964
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/with.mjs
4959
4965
  function WithDeferred(type, options) {
4960
4966
  return Deferred("With", [type, options], {});
4961
4967
  }
@@ -4963,7 +4969,7 @@ function With2(type, options) {
4963
4969
  return WithAction(type, options);
4964
4970
  }
4965
4971
 
4966
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/with/instantiate.mjs
4972
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/with/instantiate.mjs
4967
4973
  function WithAction(type, options) {
4968
4974
  const result = CanInstantiate([type]) ? memory_exports.Update(type, {}, options) : WithDeferred(type, options);
4969
4975
  return result;
@@ -4973,7 +4979,7 @@ function WithInstantiate(context, state, type, options) {
4973
4979
  return WithAction(instaniatedType, options);
4974
4980
  }
4975
4981
 
4976
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/rest/spread.mjs
4982
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/rest/spread.mjs
4977
4983
  function SpreadElement(type) {
4978
4984
  const result = IsRest(type) ? IsTuple(type.items) ? RestSpread(type.items.items) : IsInfer(type.items) ? [type] : IsRef(type.items) ? [type] : [Never()] : [type];
4979
4985
  return result;
@@ -4985,7 +4991,7 @@ function RestSpread(types) {
4985
4991
  return result;
4986
4992
  }
4987
4993
 
4988
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/instantiate.mjs
4994
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/instantiate.mjs
4989
4995
  function State(callstack, visited2) {
4990
4996
  return { callstack, visited: visited2 };
4991
4997
  }
@@ -5033,7 +5039,7 @@ function Instantiate(context, type) {
5033
5039
  return InstantiateType(context, State([], []), type);
5034
5040
  }
5035
5041
 
5036
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs
5042
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs
5037
5043
  function AddImmutableOperation(type) {
5038
5044
  return memory_exports.Update(type, { "~immutable": true }, {});
5039
5045
  }
@@ -5046,7 +5052,7 @@ function AddImmutableInstantiate(context, state, type, options) {
5046
5052
  return AddImmutableAction(instantiatedType, options);
5047
5053
  }
5048
5054
 
5049
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/_add_immutable.mjs
5055
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/_add_immutable.mjs
5050
5056
  function AddImmutableDeferred(type, options = {}) {
5051
5057
  return Deferred("AddImmutable", [type], options);
5052
5058
  }
@@ -5054,7 +5060,7 @@ function AddImmutable(type, options = {}) {
5054
5060
  return AddImmutableAction(type, options);
5055
5061
  }
5056
5062
 
5057
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/evaluate.mjs
5063
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/evaluate.mjs
5058
5064
  function EvaluateDeferred(type, options = {}) {
5059
5065
  return Deferred("Evaluate", [type], options);
5060
5066
  }
@@ -5062,7 +5068,7 @@ function Evaluate(type, options = {}) {
5062
5068
  return EvaluateAction(type, options);
5063
5069
  }
5064
5070
 
5065
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/action/module.mjs
5071
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/action/module.mjs
5066
5072
  function ModuleDeferred(declarations, options = {}) {
5067
5073
  return Deferred("Module", [declarations], options);
5068
5074
  }
@@ -5070,7 +5076,7 @@ function Module2(declarations, options = {}) {
5070
5076
  return ModuleInstantiate({}, State([], []), declarations, options);
5071
5077
  }
5072
5078
 
5073
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/engine/priority/priority.mjs
5079
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/engine/priority/priority.mjs
5074
5080
  function Comparer(left, right) {
5075
5081
  const compareResult = Compare(left, right);
5076
5082
  return guard_exports.IsEqual(compareResult, CompareResultRightInside) ? 1 : guard_exports.IsEqual(compareResult, CompareResultDisjoint) ? 1 : 0;
@@ -5086,7 +5092,7 @@ function Priority(types) {
5086
5092
  return result;
5087
5093
  }
5088
5094
 
5089
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/type/script/script.mjs
5095
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/type/script/script.mjs
5090
5096
  function Script2(...args) {
5091
5097
  const [context, input, options] = arguments_exports.Match(args, {
5092
5098
  2: (script, options2) => guard_exports.IsString(script) ? [{}, script, options2] : [script, options2, {}],
@@ -5098,7 +5104,7 @@ function Script2(...args) {
5098
5104
  return memory_exports.Update(parsed, {}, options);
5099
5105
  }
5100
5106
 
5101
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/typebox.mjs
5107
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/typebox.mjs
5102
5108
  var typebox_exports = {};
5103
5109
  __export(typebox_exports, {
5104
5110
  Any: () => Any,
@@ -5220,12 +5226,12 @@ __export(typebox_exports, {
5220
5226
  With: () => With2
5221
5227
  });
5222
5228
 
5223
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/_refine.mjs
5229
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/_refine.mjs
5224
5230
  function IsRefine2(value) {
5225
5231
  return guard_exports.HasPropertyKey(value, "~refine") && guard_exports.IsArray(value["~refine"]) && guard_exports.Every(value["~refine"], 0, (value2) => guard_exports.IsObject(value2) && guard_exports.HasPropertyKey(value2, "check") && guard_exports.HasPropertyKey(value2, "error") && guard_exports.IsFunction(value2.check) && guard_exports.IsFunction(value2.error));
5226
5232
  }
5227
5233
 
5228
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/schema.mjs
5234
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/schema.mjs
5229
5235
  function IsSchemaObject2(value) {
5230
5236
  return guard_exports.IsObject(value) && !guard_exports.IsArray(value);
5231
5237
  }
@@ -5236,107 +5242,107 @@ function IsSchema2(value) {
5236
5242
  return IsSchemaObject2(value) || IsSchemaBoolean(value);
5237
5243
  }
5238
5244
 
5239
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/additionalItems.mjs
5245
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/additionalItems.mjs
5240
5246
  function IsAdditionalItems(schema) {
5241
5247
  return guard_exports.HasPropertyKey(schema, "additionalItems") && IsSchema2(schema.additionalItems);
5242
5248
  }
5243
5249
 
5244
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/additionalProperties.mjs
5250
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/additionalProperties.mjs
5245
5251
  function IsAdditionalProperties(schema) {
5246
5252
  return guard_exports.HasPropertyKey(schema, "additionalProperties") && IsSchema2(schema.additionalProperties);
5247
5253
  }
5248
5254
 
5249
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/allOf.mjs
5255
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/allOf.mjs
5250
5256
  function IsAllOf(schema) {
5251
5257
  return guard_exports.HasPropertyKey(schema, "allOf") && guard_exports.IsArray(schema.allOf) && schema.allOf.every((value) => IsSchema2(value));
5252
5258
  }
5253
5259
 
5254
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/anchor.mjs
5260
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/anchor.mjs
5255
5261
  function IsAnchor(schema) {
5256
5262
  return guard_exports.HasPropertyKey(schema, "$anchor") && guard_exports.IsString(schema.$anchor);
5257
5263
  }
5258
5264
 
5259
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/anyOf.mjs
5265
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/anyOf.mjs
5260
5266
  function IsAnyOf(schema) {
5261
5267
  return guard_exports.HasPropertyKey(schema, "anyOf") && guard_exports.IsArray(schema.anyOf) && schema.anyOf.every((value) => IsSchema2(value));
5262
5268
  }
5263
5269
 
5264
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/const.mjs
5270
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/const.mjs
5265
5271
  function IsConst(value) {
5266
5272
  return guard_exports.HasPropertyKey(value, "const");
5267
5273
  }
5268
5274
 
5269
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/contains.mjs
5275
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/contains.mjs
5270
5276
  function IsContains(schema) {
5271
5277
  return guard_exports.HasPropertyKey(schema, "contains") && IsSchema2(schema.contains);
5272
5278
  }
5273
5279
 
5274
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/default.mjs
5280
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/default.mjs
5275
5281
  function IsDefault(schema) {
5276
5282
  return guard_exports.HasPropertyKey(schema, "default");
5277
5283
  }
5278
5284
 
5279
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/dependencies.mjs
5285
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/dependencies.mjs
5280
5286
  function IsDependencies(schema) {
5281
5287
  return guard_exports.HasPropertyKey(schema, "dependencies") && guard_exports.IsObject(schema.dependencies) && Object.values(schema.dependencies).every((value) => IsSchema2(value) || guard_exports.IsArray(value) && value.every((value2) => guard_exports.IsString(value2)));
5282
5288
  }
5283
5289
 
5284
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/dependentRequired.mjs
5290
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/dependentRequired.mjs
5285
5291
  function IsDependentRequired(schema) {
5286
5292
  return guard_exports.HasPropertyKey(schema, "dependentRequired") && guard_exports.IsObject(schema.dependentRequired) && Object.values(schema.dependentRequired).every((value) => guard_exports.IsArray(value) && value.every((value2) => guard_exports.IsString(value2)));
5287
5293
  }
5288
5294
 
5289
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/dependentSchemas.mjs
5295
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/dependentSchemas.mjs
5290
5296
  function IsDependentSchemas(schema) {
5291
5297
  return guard_exports.HasPropertyKey(schema, "dependentSchemas") && guard_exports.IsObject(schema.dependentSchemas) && Object.values(schema.dependentSchemas).every((value) => IsSchema2(value));
5292
5298
  }
5293
5299
 
5294
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/dynamicAnchor.mjs
5300
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/dynamicAnchor.mjs
5295
5301
  function IsDynamicAnchor(schema) {
5296
5302
  return guard_exports.HasPropertyKey(schema, "$dynamicAnchor") && guard_exports.IsString(schema.$dynamicAnchor);
5297
5303
  }
5298
5304
 
5299
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/dynamicRef.mjs
5305
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/dynamicRef.mjs
5300
5306
  function IsDynamicRef(schema) {
5301
5307
  return guard_exports.HasPropertyKey(schema, "$dynamicRef") && guard_exports.IsString(schema.$dynamicRef);
5302
5308
  }
5303
5309
 
5304
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/else.mjs
5310
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/else.mjs
5305
5311
  function IsElse(schema) {
5306
5312
  return guard_exports.HasPropertyKey(schema, "else") && IsSchema2(schema.else);
5307
5313
  }
5308
5314
 
5309
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/enum.mjs
5315
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/enum.mjs
5310
5316
  function IsEnum2(schema) {
5311
5317
  return guard_exports.HasPropertyKey(schema, "enum") && guard_exports.IsArray(schema.enum);
5312
5318
  }
5313
5319
 
5314
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs
5320
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs
5315
5321
  function IsExclusiveMaximum(schema) {
5316
5322
  return guard_exports.HasPropertyKey(schema, "exclusiveMaximum") && (guard_exports.IsNumber(schema.exclusiveMaximum) || guard_exports.IsBigInt(schema.exclusiveMaximum));
5317
5323
  }
5318
5324
 
5319
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs
5325
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs
5320
5326
  function IsExclusiveMinimum(schema) {
5321
5327
  return guard_exports.HasPropertyKey(schema, "exclusiveMinimum") && (guard_exports.IsNumber(schema.exclusiveMinimum) || guard_exports.IsBigInt(schema.exclusiveMinimum));
5322
5328
  }
5323
5329
 
5324
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/format.mjs
5330
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/format.mjs
5325
5331
  function IsFormat(schema) {
5326
5332
  return guard_exports.HasPropertyKey(schema, "format") && guard_exports.IsString(schema.format);
5327
5333
  }
5328
5334
 
5329
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/id.mjs
5335
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/id.mjs
5330
5336
  function IsId(schema) {
5331
5337
  return guard_exports.HasPropertyKey(schema, "$id") && guard_exports.IsString(schema.$id);
5332
5338
  }
5333
5339
 
5334
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/if.mjs
5340
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/if.mjs
5335
5341
  function IsIf(schema) {
5336
5342
  return guard_exports.HasPropertyKey(schema, "if") && IsSchema2(schema.if);
5337
5343
  }
5338
5344
 
5339
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/items.mjs
5345
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/items.mjs
5340
5346
  function IsItems(schema) {
5341
5347
  return guard_exports.HasPropertyKey(schema, "items") && (IsSchema2(schema.items) || guard_exports.IsArray(schema.items) && schema.items.every((value) => {
5342
5348
  return IsSchema2(value);
@@ -5346,97 +5352,97 @@ function IsItemsSized(schema) {
5346
5352
  return IsItems(schema) && guard_exports.IsArray(schema.items);
5347
5353
  }
5348
5354
 
5349
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/maximum.mjs
5355
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/maximum.mjs
5350
5356
  function IsMaximum(schema) {
5351
5357
  return guard_exports.HasPropertyKey(schema, "maximum") && (guard_exports.IsNumber(schema.maximum) || guard_exports.IsBigInt(schema.maximum));
5352
5358
  }
5353
5359
 
5354
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/maxContains.mjs
5360
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/maxContains.mjs
5355
5361
  function IsMaxContains(schema) {
5356
5362
  return guard_exports.HasPropertyKey(schema, "maxContains") && guard_exports.IsNumber(schema.maxContains);
5357
5363
  }
5358
5364
 
5359
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/maxItems.mjs
5365
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/maxItems.mjs
5360
5366
  function IsMaxItems(schema) {
5361
5367
  return guard_exports.HasPropertyKey(schema, "maxItems") && guard_exports.IsNumber(schema.maxItems);
5362
5368
  }
5363
5369
 
5364
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/maxLength.mjs
5370
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/maxLength.mjs
5365
5371
  function IsMaxLength3(schema) {
5366
5372
  return guard_exports.HasPropertyKey(schema, "maxLength") && guard_exports.IsNumber(schema.maxLength);
5367
5373
  }
5368
5374
 
5369
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/maxProperties.mjs
5375
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/maxProperties.mjs
5370
5376
  function IsMaxProperties(schema) {
5371
5377
  return guard_exports.HasPropertyKey(schema, "maxProperties") && guard_exports.IsNumber(schema.maxProperties);
5372
5378
  }
5373
5379
 
5374
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/minimum.mjs
5380
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/minimum.mjs
5375
5381
  function IsMinimum(schema) {
5376
5382
  return guard_exports.HasPropertyKey(schema, "minimum") && (guard_exports.IsNumber(schema.minimum) || guard_exports.IsBigInt(schema.minimum));
5377
5383
  }
5378
5384
 
5379
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/minContains.mjs
5385
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/minContains.mjs
5380
5386
  function IsMinContains(schema) {
5381
5387
  return guard_exports.HasPropertyKey(schema, "minContains") && guard_exports.IsNumber(schema.minContains);
5382
5388
  }
5383
5389
 
5384
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/minItems.mjs
5390
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/minItems.mjs
5385
5391
  function IsMinItems(schema) {
5386
5392
  return guard_exports.HasPropertyKey(schema, "minItems") && guard_exports.IsNumber(schema.minItems);
5387
5393
  }
5388
5394
 
5389
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/minLength.mjs
5395
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/minLength.mjs
5390
5396
  function IsMinLength3(schema) {
5391
5397
  return guard_exports.HasPropertyKey(schema, "minLength") && guard_exports.IsNumber(schema.minLength);
5392
5398
  }
5393
5399
 
5394
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/minProperties.mjs
5400
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/minProperties.mjs
5395
5401
  function IsMinProperties(schema) {
5396
5402
  return guard_exports.HasPropertyKey(schema, "minProperties") && guard_exports.IsNumber(schema.minProperties);
5397
5403
  }
5398
5404
 
5399
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/multipleOf.mjs
5405
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/multipleOf.mjs
5400
5406
  function IsMultipleOf2(schema) {
5401
5407
  return guard_exports.HasPropertyKey(schema, "multipleOf") && (guard_exports.IsNumber(schema.multipleOf) || guard_exports.IsBigInt(schema.multipleOf));
5402
5408
  }
5403
5409
 
5404
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/not.mjs
5410
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/not.mjs
5405
5411
  function IsNot(schema) {
5406
5412
  return guard_exports.HasPropertyKey(schema, "not") && IsSchema2(schema.not);
5407
5413
  }
5408
5414
 
5409
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/oneOf.mjs
5415
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/oneOf.mjs
5410
5416
  function IsOneOf(schema) {
5411
5417
  return guard_exports.HasPropertyKey(schema, "oneOf") && guard_exports.IsArray(schema.oneOf) && schema.oneOf.every((value) => IsSchema2(value));
5412
5418
  }
5413
5419
 
5414
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/pattern.mjs
5420
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/pattern.mjs
5415
5421
  function IsPattern(schema) {
5416
5422
  return guard_exports.HasPropertyKey(schema, "pattern") && (guard_exports.IsString(schema.pattern) || schema.pattern instanceof RegExp);
5417
5423
  }
5418
5424
 
5419
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/patternProperties.mjs
5425
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/patternProperties.mjs
5420
5426
  function IsPatternProperties(schema) {
5421
5427
  return guard_exports.HasPropertyKey(schema, "patternProperties") && guard_exports.IsObject(schema.patternProperties) && Object.values(schema.patternProperties).every((value) => IsSchema2(value));
5422
5428
  }
5423
5429
 
5424
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/prefixItems.mjs
5430
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/prefixItems.mjs
5425
5431
  function IsPrefixItems(schema) {
5426
5432
  return guard_exports.HasPropertyKey(schema, "prefixItems") && guard_exports.IsArray(schema.prefixItems) && schema.prefixItems.every((schema2) => IsSchema2(schema2));
5427
5433
  }
5428
5434
 
5429
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/properties.mjs
5435
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/properties.mjs
5430
5436
  function IsProperties(schema) {
5431
5437
  return guard_exports.HasPropertyKey(schema, "properties") && guard_exports.IsObject(schema.properties) && Object.values(schema.properties).every((value) => IsSchema2(value));
5432
5438
  }
5433
5439
 
5434
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/propertyNames.mjs
5440
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/propertyNames.mjs
5435
5441
  function IsPropertyNames(schema) {
5436
5442
  return guard_exports.HasPropertyKey(schema, "propertyNames") && (guard_exports.IsObject(schema.propertyNames) || IsSchema2(schema.propertyNames));
5437
5443
  }
5438
5444
 
5439
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/recursiveAnchor.mjs
5445
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/recursiveAnchor.mjs
5440
5446
  function IsRecursiveAnchor(schema) {
5441
5447
  return guard_exports.HasPropertyKey(schema, "$recursiveAnchor") && guard_exports.IsBoolean(schema.$recursiveAnchor);
5442
5448
  }
@@ -5444,47 +5450,47 @@ function IsRecursiveAnchorTrue(schema) {
5444
5450
  return IsRecursiveAnchor(schema) && guard_exports.IsEqual(schema.$recursiveAnchor, true);
5445
5451
  }
5446
5452
 
5447
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/recursiveRef.mjs
5453
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/recursiveRef.mjs
5448
5454
  function IsRecursiveRef(schema) {
5449
5455
  return guard_exports.HasPropertyKey(schema, "$recursiveRef") && guard_exports.IsString(schema.$recursiveRef);
5450
5456
  }
5451
5457
 
5452
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/ref.mjs
5458
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/ref.mjs
5453
5459
  function IsRef2(schema) {
5454
5460
  return guard_exports.HasPropertyKey(schema, "$ref") && guard_exports.IsString(schema.$ref);
5455
5461
  }
5456
5462
 
5457
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/required.mjs
5463
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/required.mjs
5458
5464
  function IsRequired(schema) {
5459
5465
  return guard_exports.HasPropertyKey(schema, "required") && guard_exports.IsArray(schema.required) && schema.required.every((value) => guard_exports.IsString(value));
5460
5466
  }
5461
5467
 
5462
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/then.mjs
5468
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/then.mjs
5463
5469
  function IsThen(schema) {
5464
5470
  return guard_exports.HasPropertyKey(schema, "then") && IsSchema2(schema.then);
5465
5471
  }
5466
5472
 
5467
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/type.mjs
5473
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/type.mjs
5468
5474
  function IsType(schema) {
5469
5475
  return guard_exports.HasPropertyKey(schema, "type") && (guard_exports.IsString(schema.type) || guard_exports.IsArray(schema.type) && schema.type.every((value) => guard_exports.IsString(value)));
5470
5476
  }
5471
5477
 
5472
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/uniqueItems.mjs
5478
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/uniqueItems.mjs
5473
5479
  function IsUniqueItems(schema) {
5474
5480
  return guard_exports.HasPropertyKey(schema, "uniqueItems") && guard_exports.IsBoolean(schema.uniqueItems);
5475
5481
  }
5476
5482
 
5477
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/unevaluatedItems.mjs
5483
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/unevaluatedItems.mjs
5478
5484
  function IsUnevaluatedItems(schema) {
5479
5485
  return guard_exports.HasPropertyKey(schema, "unevaluatedItems") && IsSchema2(schema.unevaluatedItems);
5480
5486
  }
5481
5487
 
5482
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs
5488
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs
5483
5489
  function IsUnevaluatedProperties(schema) {
5484
5490
  return guard_exports.HasPropertyKey(schema, "unevaluatedProperties") && IsSchema2(schema.unevaluatedProperties);
5485
5491
  }
5486
5492
 
5487
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/_context.mjs
5493
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/_context.mjs
5488
5494
  var CheckContext = class {
5489
5495
  constructor() {
5490
5496
  const indices = /* @__PURE__ */ new Set();
@@ -5555,7 +5561,7 @@ var AccumulatedErrorContext = class extends ErrorContext {
5555
5561
  }
5556
5562
  };
5557
5563
 
5558
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/_refine.mjs
5564
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/_refine.mjs
5559
5565
  function CheckRefine(_stack, _context, schema, value) {
5560
5566
  return guard_exports.Every(schema["~refine"], 0, (refinement, _) => refinement.check(value));
5561
5567
  }
@@ -5570,7 +5576,7 @@ function ErrorRefine(_stack, context, schemaPath, instancePath, schema, value) {
5570
5576
  });
5571
5577
  }
5572
5578
 
5573
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/additionalItems.mjs
5579
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/additionalItems.mjs
5574
5580
  function IsValid(schema) {
5575
5581
  return IsItems(schema) && guard_exports.IsArray(schema.items);
5576
5582
  }
@@ -5593,12 +5599,12 @@ function ErrorAdditionalItems(stack, context, schemaPath, instancePath, schema,
5593
5599
  return isAdditionalItems;
5594
5600
  }
5595
5601
 
5596
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/_regexp.mjs
5602
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/_regexp.mjs
5597
5603
  function UnicodeRegExp(pattern) {
5598
5604
  return new RegExp(pattern, "u");
5599
5605
  }
5600
5606
 
5601
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/additionalProperties.mjs
5607
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/additionalProperties.mjs
5602
5608
  function GetPropertyKeyAsPattern(key) {
5603
5609
  const escaped = key.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
5604
5610
  return `^${escaped}$`;
@@ -5638,7 +5644,7 @@ function ErrorAdditionalProperties(stack, context, schemaPath, instancePath, sch
5638
5644
  });
5639
5645
  }
5640
5646
 
5641
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/allOf.mjs
5647
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/allOf.mjs
5642
5648
  function CheckAllOf(stack, context, schema, value) {
5643
5649
  const results = schema.allOf.reduce((result, schema2) => {
5644
5650
  const nextContext = new CheckContext();
@@ -5662,7 +5668,7 @@ function ErrorAllOf(stack, context, schemaPath, instancePath, schema, value) {
5662
5668
  return isAllOf;
5663
5669
  }
5664
5670
 
5665
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/anyOf.mjs
5671
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/anyOf.mjs
5666
5672
  function CheckAnyOf(stack, context, schema, value) {
5667
5673
  const results = schema.anyOf.reduce((result, schema2) => {
5668
5674
  const nextContext = new CheckContext();
@@ -5691,7 +5697,7 @@ function ErrorAnyOf(stack, context, schemaPath, instancePath, schema, value) {
5691
5697
  });
5692
5698
  }
5693
5699
 
5694
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/boolean.mjs
5700
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/boolean.mjs
5695
5701
  function CheckSchemaBoolean(_stack, _context, schema, _value) {
5696
5702
  return schema;
5697
5703
  }
@@ -5704,7 +5710,7 @@ function ErrorSchemaBoolean(stack, context, schemaPath, instancePath, schema, va
5704
5710
  });
5705
5711
  }
5706
5712
 
5707
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/const.mjs
5713
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/const.mjs
5708
5714
  function CheckConst(_stack, _context, schema, value) {
5709
5715
  return guard_exports.IsValueLike(schema.const) ? guard_exports.IsEqual(value, schema.const) : guard_exports.IsDeepEqual(value, schema.const);
5710
5716
  }
@@ -5717,7 +5723,7 @@ function ErrorConst(stack, context, schemaPath, instancePath, schema, value) {
5717
5723
  });
5718
5724
  }
5719
5725
 
5720
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/contains.mjs
5726
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/contains.mjs
5721
5727
  function IsValid2(schema) {
5722
5728
  return !(IsMinContains(schema) && guard_exports.IsEqual(schema.minContains, 0));
5723
5729
  }
@@ -5737,7 +5743,7 @@ function ErrorContains(stack, context, schemaPath, instancePath, schema, value)
5737
5743
  });
5738
5744
  }
5739
5745
 
5740
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/dependencies.mjs
5746
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/dependencies.mjs
5741
5747
  function CheckDependencies(stack, context, schema, value) {
5742
5748
  const isLength = guard_exports.IsEqual(guard_exports.Keys(value).length, 0);
5743
5749
  const isEvery = guard_exports.Every(guard_exports.Entries(schema.dependencies), 0, ([key, schema2]) => {
@@ -5759,7 +5765,7 @@ function ErrorDependencies(stack, context, schemaPath, instancePath, schema, val
5759
5765
  return isLength || isEvery;
5760
5766
  }
5761
5767
 
5762
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/dependentRequired.mjs
5768
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/dependentRequired.mjs
5763
5769
  function CheckDependentRequired(_stack, _context, schema, value) {
5764
5770
  const isLength = guard_exports.IsEqual(guard_exports.Keys(value).length, 0);
5765
5771
  const isEvery = guard_exports.Every(guard_exports.Entries(schema.dependentRequired), 0, ([key, keys]) => {
@@ -5780,7 +5786,7 @@ function ErrorDependentRequired(_stack, context, schemaPath, instancePath, schem
5780
5786
  return isLength || isEveryEntry;
5781
5787
  }
5782
5788
 
5783
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/dependentSchemas.mjs
5789
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/dependentSchemas.mjs
5784
5790
  function CheckDependentSchemas(stack, context, schema, value) {
5785
5791
  const isLength = guard_exports.IsEqual(guard_exports.Keys(value).length, 0);
5786
5792
  const isEvery = guard_exports.Every(guard_exports.Entries(schema.dependentSchemas), 0, ([key, schema2]) => {
@@ -5797,7 +5803,7 @@ function ErrorDependentSchemas(stack, context, schemaPath, instancePath, schema,
5797
5803
  return isLength || isEvery;
5798
5804
  }
5799
5805
 
5800
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/dynamicRef.mjs
5806
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/dynamicRef.mjs
5801
5807
  function CheckDynamicRef(stack, context, schema, value) {
5802
5808
  const target = stack.DynamicRef(schema) ?? false;
5803
5809
  return IsSchema2(target) && CheckSchema(stack, context, target, value);
@@ -5807,7 +5813,7 @@ function ErrorDynamicRef(stack, context, _schemaPath, instancePath, schema, valu
5807
5813
  return IsSchema2(target) && ErrorSchema(stack, context, "#", instancePath, target, value);
5808
5814
  }
5809
5815
 
5810
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/enum.mjs
5816
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/enum.mjs
5811
5817
  function CheckEnum(_stack, _context, schema, value) {
5812
5818
  return guard_exports.Some(schema.enum, (option) => guard_exports.IsValueLike(option) ? guard_exports.IsEqual(value, option) : guard_exports.IsDeepEqual(value, option));
5813
5819
  }
@@ -5820,7 +5826,7 @@ function ErrorEnum(stack, context, schemaPath, instancePath, schema, value) {
5820
5826
  });
5821
5827
  }
5822
5828
 
5823
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs
5829
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs
5824
5830
  function CheckExclusiveMaximum(_stack, _context, schema, value) {
5825
5831
  return guard_exports.IsLessThan(value, schema.exclusiveMaximum);
5826
5832
  }
@@ -5833,7 +5839,7 @@ function ErrorExclusiveMaximum(stack, context, schemaPath, instancePath, schema,
5833
5839
  });
5834
5840
  }
5835
5841
 
5836
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs
5842
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs
5837
5843
  function CheckExclusiveMinimum(_stack, _context, schema, value) {
5838
5844
  return guard_exports.IsGreaterThan(value, schema.exclusiveMinimum);
5839
5845
  }
@@ -5846,7 +5852,7 @@ function ErrorExclusiveMinimum(stack, context, schemaPath, instancePath, schema,
5846
5852
  });
5847
5853
  }
5848
5854
 
5849
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/format.mjs
5855
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/format.mjs
5850
5856
  var format_exports = {};
5851
5857
  __export(format_exports, {
5852
5858
  Clear: () => Clear,
@@ -5879,7 +5885,7 @@ __export(format_exports, {
5879
5885
  Test: () => Test
5880
5886
  });
5881
5887
 
5882
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/date.mjs
5888
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/date.mjs
5883
5889
  var DAYS = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
5884
5890
  var DATE = /^(\d\d\d\d)-(\d\d)-(\d\d)$/;
5885
5891
  function IsLeapYear(year) {
@@ -5895,7 +5901,7 @@ function IsDate2(value) {
5895
5901
  return month >= 1 && month <= 12 && day >= 1 && day <= (month === 2 && IsLeapYear(year) ? 29 : DAYS[month]);
5896
5902
  }
5897
5903
 
5898
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/time.mjs
5904
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/time.mjs
5899
5905
  var TIME = /^(\d\d):(\d\d):(\d\d)(?:\.\d+)?(?:([Zz])|([+-])(\d\d):(\d\d))?$/;
5900
5906
  function IsTime(value, strictTimeZone = true) {
5901
5907
  const matches = TIME.exec(value);
@@ -5923,25 +5929,25 @@ function IsTime(value, strictTimeZone = true) {
5923
5929
  return (totalUtcMin % 1440 + 1440) % 1440 === 1439;
5924
5930
  }
5925
5931
 
5926
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/date_time.mjs
5932
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/date_time.mjs
5927
5933
  function IsDateTime(value) {
5928
5934
  const dateTime = value.split(/T/i);
5929
5935
  return dateTime.length === 2 && IsDate2(dateTime[0]) && IsTime(dateTime[1]);
5930
5936
  }
5931
5937
 
5932
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/duration.mjs
5938
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/duration.mjs
5933
5939
  var Duration = /^P((\d+Y(\d+M(\d+D)?)?|\d+M(\d+D)?|\d+D)(T(\d+H(\d+M(\d+S)?)?|\d+M(\d+S)?|\d+S))?|T(\d+H(\d+M(\d+S)?)?|\d+M(\d+S)?|\d+S)|\d+W)$/;
5934
5940
  function IsDuration(value) {
5935
5941
  return Duration.test(value);
5936
5942
  }
5937
5943
 
5938
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/email.mjs
5939
- var Email = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[^"\\]|\\.)*")@(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*|\[(?:IPv6:[a-f0-9:]+|(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3})\])$/i;
5944
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/email.mjs
5945
+ var Email = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[^"\\]|\\[\x20-\x7e])*")@(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*|\[(?:IPv6:[a-f0-9:]+|(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])(?:\.(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3})\])$/i;
5940
5946
  function IsEmail(value) {
5941
5947
  return Email.test(value);
5942
5948
  }
5943
5949
 
5944
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/idna/pattern/pattern.mjs
5950
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/idna/pattern/pattern.mjs
5945
5951
  var RE_RULE_HYPHEN_PLACEMENT = /^(?!-).*(?<!-)$/;
5946
5952
  var RE_RULE_NOT_RESERVED_ACE = /^(?!..--)/;
5947
5953
  var RE_ASCII_LDH = /^[a-zA-Z0-9-]*$/;
@@ -5981,12 +5987,12 @@ var RE_PERMITTED_CATEGORY = new RegExp([
5981
5987
  RE_PVALID_EXCEPTIONS
5982
5988
  ].map((regexp) => regexp.source).join("|"), "u");
5983
5989
 
5984
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/idna/label/ascii.mjs
5990
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/idna/label/ascii.mjs
5985
5991
  function IsAsciiLabel(value) {
5986
5992
  return RE_RULE_HYPHEN_PLACEMENT.test(value) && RE_RULE_NOT_RESERVED_ACE.test(value) && RE_ASCII_LDH.test(value);
5987
5993
  }
5988
5994
 
5989
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/idna/format/puny.mjs
5995
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/idna/format/puny.mjs
5990
5996
  var PUNYCODE_BASE = 36;
5991
5997
  var PUNYCODE_TMIN = 1;
5992
5998
  var PUNYCODE_TMAX = 26;
@@ -6102,7 +6108,7 @@ function Encode2(input) {
6102
6108
  return result.join("");
6103
6109
  }
6104
6110
 
6105
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/idna/format/bidi.mjs
6111
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/idna/format/bidi.mjs
6106
6112
  var RE_RTL_ALLOWED = /^(?:R|AL|AN|EN|ES|CS|ET|ON|BN|NSM)$/;
6107
6113
  var RE_LTR_ALLOWED = /^(?:L|EN|ES|CS|ET|ON|BN|NSM)$/;
6108
6114
  var RE_RTL_CLASSES = /^(?:R|AL|AN)$/;
@@ -6157,7 +6163,7 @@ function SatisfiesBidiRule(value) {
6157
6163
  return true;
6158
6164
  }
6159
6165
 
6160
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/idna/label/unicode.mjs
6166
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/idna/label/unicode.mjs
6161
6167
  function ExceedsMaxALabelLength(value) {
6162
6168
  return RE_NON_ASCII.test(value) && Encode2(value).length + 4 > 63;
6163
6169
  }
@@ -6223,7 +6229,7 @@ function IsUnicodeLabel(value) {
6223
6229
  return true;
6224
6230
  }
6225
6231
 
6226
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/idna/label/puny.mjs
6232
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/idna/label/puny.mjs
6227
6233
  function IsPunyLabel(value) {
6228
6234
  if (!IsAcePrefixed(value))
6229
6235
  return false;
@@ -6240,7 +6246,7 @@ function IsPunyLabel(value) {
6240
6246
  }
6241
6247
  }
6242
6248
 
6243
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/idna/hostname.mjs
6249
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/idna/hostname.mjs
6244
6250
  function IsValidLabelLength(value) {
6245
6251
  return value.length > 0 && value.length <= 63;
6246
6252
  }
@@ -6255,7 +6261,7 @@ function IsHostname(value) {
6255
6261
  return value.split(".").every((label) => IsLabel(label));
6256
6262
  }
6257
6263
 
6258
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/idna/idn-hostname.mjs
6264
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/idna/idn-hostname.mjs
6259
6265
  function IsValidLabelLength2(value) {
6260
6266
  return value.length > 0 && value.length <= 63;
6261
6267
  }
@@ -6263,7 +6269,7 @@ function IsLabel2(value) {
6263
6269
  return IsValidLabelLength2(value) && (IsPunyLabel(value) || IsUnicodeLabel(value));
6264
6270
  }
6265
6271
  function NormalizeHostname(value) {
6266
- return value.normalize("NFC").replace(/[\u002E\u3002\uFF0E\uFF61]/g, ".");
6272
+ return value.replace(/[\uff01-\uff5e]/g, (char) => String.fromCharCode(char.charCodeAt(0) - 65248)).normalize("NFC").replace(/[\u00ad\u034f\u180b-\u180d\u200b\ufe00-\ufe0f\u{e0100}-\u{e01ef}]/gu, "").replace(/[\u002E\u3002\uFF0E\uFF61]/g, ".");
6267
6273
  }
6268
6274
  function IsIdnHostname(value) {
6269
6275
  if (value.length === 0 || value.includes(" "))
@@ -6276,42 +6282,42 @@ function IsIdnHostname(value) {
6276
6282
  return labels.every((label) => IsLabel2(label) && (!hasBidiChars || SatisfiesBidiRule(label)));
6277
6283
  }
6278
6284
 
6279
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/hostname.mjs
6285
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/hostname.mjs
6280
6286
  function IsHostname2(value) {
6281
6287
  return IsHostname(value);
6282
6288
  }
6283
6289
 
6284
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/idn_email.mjs
6290
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/idn_email.mjs
6285
6291
  var IdnEmail = /^(?:[A-Za-z0-9!#$%&'*+\/=?^_`{|}~\u{0080}-\u{10FFFF}-]+(?:\.[A-Za-z0-9!#$%&'*+\/=?^_`{|}~\u{0080}-\u{10FFFF}-]+)*|"(?:[^"\\]|\\.)*")@[\p{L}\p{N}](?:[\p{L}\p{N}-]{0,62})(?<!-)(?:\.[\p{L}\p{N}](?:[\p{L}\p{N}-]{0,62})(?<!-))*$/iu;
6286
6292
  function IsIdnEmail(value) {
6287
6293
  return IdnEmail.test(value.normalize("NFC"));
6288
6294
  }
6289
6295
 
6290
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/idn_hostname.mjs
6296
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/idn_hostname.mjs
6291
6297
  function IsIdnHostname2(value) {
6292
6298
  return IsIdnHostname(value);
6293
6299
  }
6294
6300
 
6295
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/ipv4.mjs
6301
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/ipv4.mjs
6296
6302
  var IPv4 = /^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/;
6297
6303
  function IsIPv4(value) {
6298
6304
  return IPv4.test(value);
6299
6305
  }
6300
6306
 
6301
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/ipv6.mjs
6307
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/ipv6.mjs
6302
6308
  var IPv6 = /^(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:)?[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)$/i;
6303
6309
  function IsIPv6(value) {
6304
6310
  return IPv6.test(value);
6305
6311
  }
6306
6312
 
6307
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/iri_reference.mjs
6313
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/iri_reference.mjs
6308
6314
  var InvalidIriChars = /[\x00-\x20\x7F\\]|%(?![0-9a-fA-F]{2})/;
6309
6315
  var MalformedScheme = /^[a-zA-Z][a-zA-Z0-9+\-.]*\/\//;
6310
6316
  function IsIriReference(value) {
6311
6317
  return !InvalidIriChars.test(value) && !MalformedScheme.test(value) && URL.canParse(value, "http://example.com");
6312
6318
  }
6313
6319
 
6314
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/iri.mjs
6320
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/iri.mjs
6315
6321
  var IpvFutureMatchMaxLength = 2048;
6316
6322
  var IpvFutureMatch = /\[[vV][0-9a-fA-F]+\.[^\]]+\]/;
6317
6323
  var InvalidIriChars2 = /[\x00-\x20<>\^`{|}\\]/;
@@ -6324,19 +6330,19 @@ function IsIri(value) {
6324
6330
  return URL.canParse(NarrowIpvFuture(value));
6325
6331
  }
6326
6332
 
6327
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs
6333
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs
6328
6334
  var JsonPointerUriFragment = /^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;
6329
6335
  function IsJsonPointerUriFragment(value) {
6330
6336
  return JsonPointerUriFragment.test(value);
6331
6337
  }
6332
6338
 
6333
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/json_pointer.mjs
6339
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/json_pointer.mjs
6334
6340
  var JsonPointer = /^(?:\/(?:[^~/]|~0|~1)*)*$/;
6335
6341
  function IsJsonPointer(value) {
6336
6342
  return JsonPointer.test(value);
6337
6343
  }
6338
6344
 
6339
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/regex.mjs
6345
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/regex.mjs
6340
6346
  function IsRegex(value) {
6341
6347
  try {
6342
6348
  new RegExp(value, "u");
@@ -6346,42 +6352,42 @@ function IsRegex(value) {
6346
6352
  }
6347
6353
  }
6348
6354
 
6349
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/relative_json_pointer.mjs
6355
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/relative_json_pointer.mjs
6350
6356
  var RelativeJsonPointer = /^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;
6351
6357
  function IsRelativeJsonPointer(value) {
6352
6358
  return RelativeJsonPointer.test(value);
6353
6359
  }
6354
6360
 
6355
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/uri_reference.mjs
6361
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/uri_reference.mjs
6356
6362
  var UriReference = /^(?:[a-z][a-z0-9+\-.]*:(?:\/\/(?:(?:[-a-z0-9._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:[\da-f]{1,4}:){6}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|::(?:[\da-f]{1,4}:){5}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:[\da-f]{1,4})?::(?:[\da-f]{1,4}:){4}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,1}[\da-f]{1,4})?::(?:[\da-f]{1,4}:){3}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4})?::(?:[\da-f]{1,4}:){2}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4})?::[\da-f]{1,4}:(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4})?::(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4})?::[\da-f]{1,4}|(?:(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4})?::)|v[0-9a-f]+\.[-a-z0-9._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)|(?:[-a-z0-9._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:\/\/(?:(?:[-a-z0-9._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:[\da-f]{1,4}:){6}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|::(?:[\da-f]{1,4}:){5}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:[\da-f]{1,4})?::(?:[\da-f]{1,4}:){4}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,1}[\da-f]{1,4})?::(?:[\da-f]{1,4}:){3}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4})?::(?:[\da-f]{1,4}:){2}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4})?::[\da-f]{1,4}:(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4})?::(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4})?::[\da-f]{1,4}|(?:(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4})?::)|v[0-9a-f]+\.[-a-z0-9._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)|(?:[-a-z0-9._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[-a-z0-9._~!$&'()*+,;=@]|%[0-9a-f]{2})+(?:\/(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?)(?:\?(?:[-a-z0-9._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[-a-z0-9._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;
6357
6363
  function IsUriReference(value) {
6358
6364
  return UriReference.test(value);
6359
6365
  }
6360
6366
 
6361
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/uri_template.mjs
6367
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/uri_template.mjs
6362
6368
  var UriTemplate = /^(?:(?:[^\x00-\x20"<>%\\^`{|}\x7f]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?:\.(?:[a-z0-9_]|%[0-9a-f]{2})+)*(?::[1-9]\d{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?:\.(?:[a-z0-9_]|%[0-9a-f]{2})+)*(?::[1-9]\d{0,3}|\*)?)*\})*$/i;
6363
6369
  function IsUriTemplate(value) {
6364
6370
  return UriTemplate.test(value);
6365
6371
  }
6366
6372
 
6367
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/uri.mjs
6373
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/uri.mjs
6368
6374
  var Uri = /^[a-z][a-z0-9+\-.]*:(?:\/\/(?:(?:[-a-z0-9._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:[\da-f]{1,4}:){6}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|::(?:[\da-f]{1,4}:){5}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:[\da-f]{1,4})?::(?:[\da-f]{1,4}:){4}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,1}[\da-f]{1,4})?::(?:[\da-f]{1,4}:){3}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4})?::(?:[\da-f]{1,4}:){2}(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4})?::[\da-f]{1,4}:(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4})?::(?:[\da-f]{1,4}:[\da-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d))|(?:(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4})?::[\da-f]{1,4}|(?:(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4})?::)|v[0-9a-f]+\.[-a-z0-9._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)|(?:[-a-z0-9._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[-a-z0-9._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[-a-z0-9._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[-a-z0-9._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;
6369
6375
  function IsUri(value) {
6370
6376
  return Uri.test(value);
6371
6377
  }
6372
6378
 
6373
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/url.mjs
6379
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/url.mjs
6374
6380
  function IsUrl(value) {
6375
6381
  return URL.canParse(value);
6376
6382
  }
6377
6383
 
6378
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/uuid.mjs
6384
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/uuid.mjs
6379
6385
  var Uuid = /^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;
6380
6386
  function IsUuid(value) {
6381
6387
  return Uuid.test(value);
6382
6388
  }
6383
6389
 
6384
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/format/_registry.mjs
6390
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/format/_registry.mjs
6385
6391
  var formats = /* @__PURE__ */ new Map();
6386
6392
  function Clear() {
6387
6393
  formats.clear();
@@ -6427,7 +6433,7 @@ function Reset2() {
6427
6433
  }
6428
6434
  Reset2();
6429
6435
 
6430
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/format.mjs
6436
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/format.mjs
6431
6437
  function CheckFormat(_stack, _context, schema, value) {
6432
6438
  return format_exports.Test(schema.format, value);
6433
6439
  }
@@ -6440,7 +6446,7 @@ function ErrorFormat(stack, context, schemaPath, instancePath, schema, value) {
6440
6446
  });
6441
6447
  }
6442
6448
 
6443
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/if.mjs
6449
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/if.mjs
6444
6450
  function CheckIf(stack, context, schema, value) {
6445
6451
  const thenSchema = IsThen(schema) ? schema.then : true;
6446
6452
  const elseSchema = IsElse(schema) ? schema.else : true;
@@ -6466,7 +6472,7 @@ function ErrorIf(stack, context, schemaPath, instancePath, schema, value) {
6466
6472
  return isIf;
6467
6473
  }
6468
6474
 
6469
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/items.mjs
6475
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/items.mjs
6470
6476
  function CheckItemsSized(stack, context, schema, value) {
6471
6477
  return guard_exports.Every(schema.items, 0, (schema2, index) => {
6472
6478
  return guard_exports.IsLessEqualThan(value.length, index) || CheckSchemaPushStack(stack, context, schema2, value[index]) && context.AddIndex(index);
@@ -6500,7 +6506,7 @@ function ErrorItems(stack, context, schemaPath, instancePath, schema, value) {
6500
6506
  return IsItemsSized(schema) ? ErrorItemsSized(stack, context, schemaPath, instancePath, schema, value) : ErrorItemsUnsized(stack, context, schemaPath, instancePath, schema, value);
6501
6507
  }
6502
6508
 
6503
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/maxContains.mjs
6509
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/maxContains.mjs
6504
6510
  function IsValid3(schema) {
6505
6511
  return IsContains(schema);
6506
6512
  }
@@ -6520,7 +6526,7 @@ function ErrorMaxContains(stack, context, schemaPath, instancePath, schema, valu
6520
6526
  });
6521
6527
  }
6522
6528
 
6523
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/maximum.mjs
6529
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/maximum.mjs
6524
6530
  function CheckMaximum(_stack, _context, schema, value) {
6525
6531
  return guard_exports.IsLessEqualThan(value, schema.maximum);
6526
6532
  }
@@ -6533,7 +6539,7 @@ function ErrorMaximum(stack, context, schemaPath, instancePath, schema, value) {
6533
6539
  });
6534
6540
  }
6535
6541
 
6536
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/maxItems.mjs
6542
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/maxItems.mjs
6537
6543
  function CheckMaxItems(_stack, _context, schema, value) {
6538
6544
  return guard_exports.IsLessEqualThan(value.length, schema.maxItems);
6539
6545
  }
@@ -6546,7 +6552,7 @@ function ErrorMaxItems(stack, context, schemaPath, instancePath, schema, value)
6546
6552
  });
6547
6553
  }
6548
6554
 
6549
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/maxLength.mjs
6555
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/maxLength.mjs
6550
6556
  function CheckMaxLength(_stack, _context, schema, value) {
6551
6557
  return guard_exports.IsMaxLength(value, schema.maxLength);
6552
6558
  }
@@ -6559,7 +6565,7 @@ function ErrorMaxLength(stack, context, schemaPath, instancePath, schema, value)
6559
6565
  });
6560
6566
  }
6561
6567
 
6562
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/maxProperties.mjs
6568
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/maxProperties.mjs
6563
6569
  function CheckMaxProperties(_stack, _context, schema, value) {
6564
6570
  return guard_exports.IsLessEqualThan(guard_exports.Keys(value).length, schema.maxProperties);
6565
6571
  }
@@ -6572,7 +6578,7 @@ function ErrorMaxProperties(stack, context, schemaPath, instancePath, schema, va
6572
6578
  });
6573
6579
  }
6574
6580
 
6575
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/minContains.mjs
6581
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/minContains.mjs
6576
6582
  function IsValid4(schema) {
6577
6583
  return IsContains(schema);
6578
6584
  }
@@ -6591,7 +6597,7 @@ function ErrorMinContains(stack, context, schemaPath, instancePath, schema, valu
6591
6597
  });
6592
6598
  }
6593
6599
 
6594
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/minimum.mjs
6600
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/minimum.mjs
6595
6601
  function CheckMinimum(_stack, _context, schema, value) {
6596
6602
  return guard_exports.IsGreaterEqualThan(value, schema.minimum);
6597
6603
  }
@@ -6604,7 +6610,7 @@ function ErrorMinimum(stack, context, schemaPath, instancePath, schema, value) {
6604
6610
  });
6605
6611
  }
6606
6612
 
6607
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/minItems.mjs
6613
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/minItems.mjs
6608
6614
  function CheckMinItems(_stack, _context, schema, value) {
6609
6615
  return guard_exports.IsGreaterEqualThan(value.length, schema.minItems);
6610
6616
  }
@@ -6617,7 +6623,7 @@ function ErrorMinItems(stack, context, schemaPath, instancePath, schema, value)
6617
6623
  });
6618
6624
  }
6619
6625
 
6620
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/minLength.mjs
6626
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/minLength.mjs
6621
6627
  function CheckMinLength(_stack, _context, schema, value) {
6622
6628
  return guard_exports.IsMinLength(value, schema.minLength);
6623
6629
  }
@@ -6630,7 +6636,7 @@ function ErrorMinLength(stack, context, schemaPath, instancePath, schema, value)
6630
6636
  });
6631
6637
  }
6632
6638
 
6633
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/minProperties.mjs
6639
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/minProperties.mjs
6634
6640
  function CheckMinProperties(_stack, _context, schema, value) {
6635
6641
  return guard_exports.IsGreaterEqualThan(guard_exports.Keys(value).length, schema.minProperties);
6636
6642
  }
@@ -6643,7 +6649,7 @@ function ErrorMinProperties(stack, context, schemaPath, instancePath, schema, va
6643
6649
  });
6644
6650
  }
6645
6651
 
6646
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/multipleOf.mjs
6652
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/multipleOf.mjs
6647
6653
  function CheckMultipleOf(_stack, _context, schema, value) {
6648
6654
  return guard_exports.IsMultipleOf(value, schema.multipleOf);
6649
6655
  }
@@ -6656,7 +6662,7 @@ function ErrorMultipleOf(stack, context, schemaPath, instancePath, schema, value
6656
6662
  });
6657
6663
  }
6658
6664
 
6659
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/not.mjs
6665
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/not.mjs
6660
6666
  function CheckNot(stack, context, schema, value) {
6661
6667
  const nextContext = new CheckContext();
6662
6668
  const isSchema = !CheckSchema(stack, nextContext, schema.not, value);
@@ -6672,7 +6678,7 @@ function ErrorNot(stack, context, schemaPath, instancePath, schema, value) {
6672
6678
  });
6673
6679
  }
6674
6680
 
6675
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/oneOf.mjs
6681
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/oneOf.mjs
6676
6682
  function CheckOneOf(stack, context, schema, value) {
6677
6683
  const passedContexts = schema.oneOf.reduce((result, schema2) => {
6678
6684
  const nextContext = new CheckContext();
@@ -6704,7 +6710,7 @@ function ErrorOneOf(stack, context, schemaPath, instancePath, schema, value) {
6704
6710
  });
6705
6711
  }
6706
6712
 
6707
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/pattern.mjs
6713
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/pattern.mjs
6708
6714
  function CheckPattern(_stack, _context, schema, value) {
6709
6715
  const regexp = guard_exports.IsString(schema.pattern) ? UnicodeRegExp(schema.pattern) : schema.pattern;
6710
6716
  return regexp.test(value);
@@ -6718,7 +6724,7 @@ function ErrorPattern(stack, context, schemaPath, instancePath, schema, value) {
6718
6724
  });
6719
6725
  }
6720
6726
 
6721
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/patternProperties.mjs
6727
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/patternProperties.mjs
6722
6728
  function CheckPatternProperties(stack, context, schema, value) {
6723
6729
  return guard_exports.Every(guard_exports.Entries(schema.patternProperties), 0, ([pattern, schema2]) => {
6724
6730
  const regexp = UnicodeRegExp(pattern);
@@ -6739,7 +6745,7 @@ function ErrorPatternProperties(stack, context, schemaPath, instancePath, schema
6739
6745
  });
6740
6746
  }
6741
6747
 
6742
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/prefixItems.mjs
6748
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/prefixItems.mjs
6743
6749
  function CheckPrefixItems(stack, context, schema, value) {
6744
6750
  return guard_exports.IsEqual(value.length, 0) || guard_exports.Every(schema.prefixItems, 0, (schema2, index) => {
6745
6751
  return guard_exports.IsLessEqualThan(value.length, index) || CheckSchemaPushStack(stack, context, schema2, value[index]) && context.AddIndex(index);
@@ -6753,7 +6759,7 @@ function ErrorPrefixItems(stack, context, schemaPath, instancePath, schema, valu
6753
6759
  });
6754
6760
  }
6755
6761
 
6756
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/_exact_optional.mjs
6762
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/_exact_optional.mjs
6757
6763
  function IsExactOptional(required, key) {
6758
6764
  return required.includes(key) || settings_exports.Get().exactOptionalPropertyTypes;
6759
6765
  }
@@ -6761,7 +6767,7 @@ function InexactOptionalCheck(value, key) {
6761
6767
  return guard_exports.IsUndefined(value[key]);
6762
6768
  }
6763
6769
 
6764
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/properties.mjs
6770
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/properties.mjs
6765
6771
  function CheckProperties(stack, context, schema, value) {
6766
6772
  const required = IsRequired(schema) ? schema.required : [];
6767
6773
  const isProperties = guard_exports.Every(guard_exports.Entries(schema.properties), 0, ([key, schema2]) => {
@@ -6781,7 +6787,7 @@ function ErrorProperties(stack, context, schemaPath, instancePath, schema, value
6781
6787
  return isProperties;
6782
6788
  }
6783
6789
 
6784
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/propertyNames.mjs
6790
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/propertyNames.mjs
6785
6791
  function CheckPropertyNames(stack, context, schema, value) {
6786
6792
  return guard_exports.Every(guard_exports.Keys(value), 0, (key, _index) => CheckSchema(stack, context, schema.propertyNames, key));
6787
6793
  }
@@ -6804,7 +6810,7 @@ function ErrorPropertyNames(stack, context, schemaPath, instancePath, schema, va
6804
6810
  });
6805
6811
  }
6806
6812
 
6807
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/recursiveRef.mjs
6813
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/recursiveRef.mjs
6808
6814
  function CheckRecursiveRef(stack, context, schema, value) {
6809
6815
  const target = stack.RecursiveRef(schema) ?? false;
6810
6816
  return IsSchema2(target) && CheckSchema(stack, context, target, value);
@@ -6814,7 +6820,7 @@ function ErrorRecursiveRef(stack, context, _schemaPath, instancePath, schema, va
6814
6820
  return IsSchema2(target) && ErrorSchema(stack, context, "#", instancePath, target, value);
6815
6821
  }
6816
6822
 
6817
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/ref.mjs
6823
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/ref.mjs
6818
6824
  function CheckRef(stack, context, schema, value) {
6819
6825
  const target = stack.Ref(schema) ?? false;
6820
6826
  const nextContext = new CheckContext();
@@ -6834,7 +6840,7 @@ function ErrorRef(stack, context, _schemaPath, instancePath, schema, value) {
6834
6840
  return result;
6835
6841
  }
6836
6842
 
6837
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/required.mjs
6843
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/required.mjs
6838
6844
  function CheckRequired(_stack, _context, schema, value) {
6839
6845
  return guard_exports.Every(schema.required, 0, (key) => guard_exports.HasPropertyKey(value, key));
6840
6846
  }
@@ -6854,7 +6860,7 @@ function ErrorRequired(_stack, context, schemaPath, instancePath, schema, value)
6854
6860
  });
6855
6861
  }
6856
6862
 
6857
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/type.mjs
6863
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/type.mjs
6858
6864
  function CheckTypeName(_stack, _context, type, _schema, value) {
6859
6865
  return (
6860
6866
  // jsonschema
@@ -6880,7 +6886,7 @@ function ErrorType(stack, context, schemaPath, instancePath, schema, value) {
6880
6886
  });
6881
6887
  }
6882
6888
 
6883
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs
6889
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs
6884
6890
  function CheckUnevaluatedItems(stack, context, schema, value) {
6885
6891
  const indices = context.GetIndices();
6886
6892
  return guard_exports.Every(value, 0, (item, index) => {
@@ -6905,7 +6911,7 @@ function ErrorUnevaluatedItems(stack, context, schemaPath, instancePath, schema,
6905
6911
  });
6906
6912
  }
6907
6913
 
6908
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs
6914
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs
6909
6915
  function CheckUnevaluatedProperties(stack, context, schema, value) {
6910
6916
  const keys = context.GetKeys();
6911
6917
  return guard_exports.Every(guard_exports.Entries(value), 0, ([key, prop]) => {
@@ -6930,7 +6936,7 @@ function ErrorUnevaluatedProperties(stack, context, schemaPath, instancePath, sc
6930
6936
  });
6931
6937
  }
6932
6938
 
6933
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/uniqueItems.mjs
6939
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/uniqueItems.mjs
6934
6940
  function IsValid5(schema) {
6935
6941
  return !guard_exports.IsEqual(schema.uniqueItems, false);
6936
6942
  }
@@ -6961,7 +6967,7 @@ function ErrorUniqueItems(_stack, context, schemaPath, instancePath, schema, val
6961
6967
  });
6962
6968
  }
6963
6969
 
6964
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/schema.mjs
6970
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/schema.mjs
6965
6971
  function CheckSchemaPushStack(stack, context, schema, value) {
6966
6972
  return context.Push() && CheckSchema(stack, context, schema, value) && context.Pop();
6967
6973
  }
@@ -6981,7 +6987,7 @@ function ErrorSchema(stack, context, schemaPath, instancePath, schema, value) {
6981
6987
  return result;
6982
6988
  }
6983
6989
 
6984
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/resolve/resolve.mjs
6990
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/resolve/resolve.mjs
6985
6991
  var resolve_exports = {};
6986
6992
  __export(resolve_exports, {
6987
6993
  DefaultBase: () => DefaultBase,
@@ -6989,7 +6995,7 @@ __export(resolve_exports, {
6989
6995
  Ref: () => Ref2
6990
6996
  });
6991
6997
 
6992
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/pointer/pointer.mjs
6998
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/pointer/pointer.mjs
6993
6999
  var pointer_exports = {};
6994
7000
  __export(pointer_exports, {
6995
7001
  Delete: () => Delete,
@@ -7076,7 +7082,7 @@ function Delete(value, pointer) {
7076
7082
  return value;
7077
7083
  }
7078
7084
 
7079
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/resolve/ref.mjs
7085
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/resolve/resolve.mjs
7080
7086
  var DefaultBase = new URL("https://json-schema.org");
7081
7087
  function MatchId(schema, base, ref) {
7082
7088
  if (schema.$id === ref.hash)
@@ -7156,13 +7162,32 @@ function FromValue3(schema, base, ref) {
7156
7162
  return FromObject10(schema, nextBase, ref);
7157
7163
  return void 0;
7158
7164
  }
7159
- function Ref2(schema, ref) {
7165
+ function CanonicalHref(url) {
7166
+ return url.href.split("#")[0];
7167
+ }
7168
+ function RefContext(context, ref) {
7169
+ return guard_exports.HasPropertyKey(context, ref) ? context[ref] : void 0;
7170
+ }
7171
+ function RefLocal(schema, base, ref) {
7172
+ return FromValue3(schema, base, ref);
7173
+ }
7174
+ function RefRemote(context, base, ref) {
7175
+ const targetDocumentHref = CanonicalHref(ref);
7176
+ if (guard_exports.IsEqual(targetDocumentHref, CanonicalHref(base)))
7177
+ return void 0;
7178
+ if (!guard_exports.HasPropertyKey(context, targetDocumentHref))
7179
+ return void 0;
7180
+ const remoteSchema = context[targetDocumentHref];
7181
+ const remoteBase = IsSchemaObject2(remoteSchema) && IsId(remoteSchema) ? new URL(remoteSchema.$id, DefaultBase.href) : new URL(targetDocumentHref);
7182
+ return FromValue3(remoteSchema, remoteBase, ref);
7183
+ }
7184
+ function Ref2(context, schema, ref) {
7160
7185
  const initialBase = IsId(schema) ? new URL(schema.$id, DefaultBase.href) : DefaultBase;
7161
7186
  const initialRef = new URL(ref, initialBase.href);
7162
- return FromValue3(schema, initialBase, initialRef);
7187
+ return RefContext(context, ref) ?? RefLocal(schema, initialBase, initialRef) ?? RefRemote(context, initialBase, initialRef);
7163
7188
  }
7164
- function DynamicRef(root, base, dynamicRef, dynamicAnchors) {
7165
- const fragmentTarget = dynamicRef.$dynamicRef.startsWith("#") ? Ref2(base, dynamicRef.$dynamicRef) : Ref2(root, dynamicRef.$dynamicRef);
7189
+ function DynamicRef(context, root, base, dynamicRef, dynamicAnchors) {
7190
+ const fragmentTarget = dynamicRef.$dynamicRef.startsWith("#") ? Ref2(context, base, dynamicRef.$dynamicRef) : Ref2(context, root, dynamicRef.$dynamicRef);
7166
7191
  if (guard_exports.IsUndefined(fragmentTarget))
7167
7192
  return void 0;
7168
7193
  if (!IsSchemaObject2(fragmentTarget) || !IsDynamicAnchor(fragmentTarget))
@@ -7174,7 +7199,7 @@ function DynamicRef(root, base, dynamicRef, dynamicAnchors) {
7174
7199
  return anchorTarget ?? fragmentTarget;
7175
7200
  }
7176
7201
 
7177
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/engine/_stack.mjs
7202
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/engine/_stack.mjs
7178
7203
  var __classPrivateFieldGet = function(receiver, state, kind, f) {
7179
7204
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
7180
7205
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
@@ -7183,8 +7208,6 @@ var __classPrivateFieldGet = function(receiver, state, kind, f) {
7183
7208
  var _Stack_instances;
7184
7209
  var _Stack_PushResourceAnchors;
7185
7210
  var _Stack_PopResourceAnchors;
7186
- var _Stack_FromContext;
7187
- var _Stack_FromRef;
7188
7211
  var Stack = class {
7189
7212
  constructor(context, schema) {
7190
7213
  _Stack_instances.add(this);
@@ -7235,21 +7258,25 @@ var Stack = class {
7235
7258
  if (IsDynamicAnchor(schema))
7236
7259
  this.dynamicAnchors.pop();
7237
7260
  }
7261
+ // ----------------------------------------------------------------
7262
+ // Ref
7263
+ // ----------------------------------------------------------------
7238
7264
  Ref(ref) {
7239
- return __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_FromContext).call(this, ref) ?? __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_FromRef).call(this, ref);
7265
+ const root = this.schema;
7266
+ return !ref.$ref.startsWith("#") ? resolve_exports.Ref(this.context, root, ref.$ref) : resolve_exports.Ref(this.context, this.Base(), ref.$ref);
7240
7267
  }
7241
7268
  // ----------------------------------------------------------------
7242
7269
  // RecursiveRef
7243
7270
  // ----------------------------------------------------------------
7244
7271
  RecursiveRef(recursiveRef) {
7245
- return IsRecursiveAnchorTrue(this.Base()) ? resolve_exports.Ref(this.recursiveAnchors[0], recursiveRef.$recursiveRef) : resolve_exports.Ref(this.Base(), recursiveRef.$recursiveRef);
7272
+ return IsRecursiveAnchorTrue(this.Base()) ? resolve_exports.Ref(this.context, this.recursiveAnchors[0], recursiveRef.$recursiveRef) : resolve_exports.Ref(this.context, this.Base(), recursiveRef.$recursiveRef);
7246
7273
  }
7247
7274
  // ----------------------------------------------------------------
7248
7275
  // DynamicRef
7249
7276
  // ----------------------------------------------------------------
7250
7277
  DynamicRef(dynamicRef) {
7251
7278
  const root = this.schema;
7252
- return resolve_exports.DynamicRef(root, this.Base(), dynamicRef, this.dynamicAnchors);
7279
+ return resolve_exports.DynamicRef(this.context, root, this.Base(), dynamicRef, this.dynamicAnchors);
7253
7280
  }
7254
7281
  };
7255
7282
  _Stack_instances = /* @__PURE__ */ new WeakSet(), _Stack_PushResourceAnchors = function _Stack_PushResourceAnchors2(schema, isRoot = true) {
@@ -7272,14 +7299,9 @@ _Stack_instances = /* @__PURE__ */ new WeakSet(), _Stack_PushResourceAnchors = f
7272
7299
  this.dynamicAnchors.pop();
7273
7300
  for (const key of guard_exports.Keys(current))
7274
7301
  __classPrivateFieldGet(this, _Stack_instances, "m", _Stack_PopResourceAnchors2).call(this, current[key], false);
7275
- }, _Stack_FromContext = function _Stack_FromContext2(ref) {
7276
- return guard_exports.HasPropertyKey(this.context, ref.$ref) ? this.context[ref.$ref] : void 0;
7277
- }, _Stack_FromRef = function _Stack_FromRef2(ref) {
7278
- const root = this.schema;
7279
- return !ref.$ref.startsWith("#") ? resolve_exports.Ref(root, ref.$ref) : resolve_exports.Ref(this.Base(), ref.$ref);
7280
7302
  };
7281
7303
 
7282
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/errors.mjs
7304
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/errors.mjs
7283
7305
  function Errors(...args) {
7284
7306
  const [context, schema, value] = arguments_exports.Match(args, {
7285
7307
  3: (context2, schema2, value2) => [context2, schema2, value2],
@@ -7298,7 +7320,7 @@ function Errors(...args) {
7298
7320
  return [result, errors];
7299
7321
  }
7300
7322
 
7301
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/schema/check.mjs
7323
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/schema/check.mjs
7302
7324
  function Check(...args) {
7303
7325
  const [context, schema, value] = arguments_exports.Match(args, {
7304
7326
  3: (context2, schema2, value2) => [context2, schema2, value2],
@@ -7309,7 +7331,7 @@ function Check(...args) {
7309
7331
  return CheckSchema(stack, checkContext, schema, value);
7310
7332
  }
7311
7333
 
7312
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/check/check.mjs
7334
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/check/check.mjs
7313
7335
  function Check2(...args) {
7314
7336
  const [context, type, value] = arguments_exports.Match(args, {
7315
7337
  3: (context2, type2, value2) => [context2, type2, value2],
@@ -7318,7 +7340,7 @@ function Check2(...args) {
7318
7340
  return Check(context, type, value);
7319
7341
  }
7320
7342
 
7321
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/errors/errors.mjs
7343
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/errors/errors.mjs
7322
7344
  function Errors2(...args) {
7323
7345
  const [context, type, value] = arguments_exports.Match(args, {
7324
7346
  3: (context2, type2, value2) => [context2, type2, value2],
@@ -7328,7 +7350,7 @@ function Errors2(...args) {
7328
7350
  return errors;
7329
7351
  }
7330
7352
 
7331
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/assert/assert.mjs
7353
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/assert/assert.mjs
7332
7354
  var AssertError = class extends Error {
7333
7355
  constructor(source, value, errors) {
7334
7356
  super(source);
@@ -7350,19 +7372,19 @@ function Assert(...args) {
7350
7372
  throw new AssertError("Assert", value, Errors2(context, type, value));
7351
7373
  }
7352
7374
 
7353
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/clean/from_array.mjs
7375
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/clean/from_array.mjs
7354
7376
  function FromArray7(context, type, value) {
7355
7377
  if (!guard_exports.IsArray(value))
7356
7378
  return value;
7357
7379
  return value.map((value2) => FromType19(context, type.items, value2));
7358
7380
  }
7359
7381
 
7360
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/clean/from_cyclic.mjs
7382
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/clean/from_cyclic.mjs
7361
7383
  function FromCyclic6(context, type, value) {
7362
7384
  return FromType19({ ...context, ...type.$defs }, Ref(type.$ref), value);
7363
7385
  }
7364
7386
 
7365
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/clean/from_intersect.mjs
7387
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/clean/from_intersect.mjs
7366
7388
  function EvaluateIntersection(context, type) {
7367
7389
  const additionalProperties = guard_exports.HasPropertyKey(type, "unevaluatedProperties") ? { additionalProperties: type.unevaluatedProperties } : {};
7368
7390
  const instantiated = Instantiate(context, type);
@@ -7374,13 +7396,13 @@ function FromIntersect6(context, type, value) {
7374
7396
  return FromType19(context, evaluated, value);
7375
7397
  }
7376
7398
 
7377
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/clean/additional.mjs
7399
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/clean/additional.mjs
7378
7400
  function GetAdditionalProperties(type) {
7379
7401
  const additionalProperties = guard_exports.HasPropertyKey(type, "additionalProperties") ? type.additionalProperties : void 0;
7380
7402
  return additionalProperties;
7381
7403
  }
7382
7404
 
7383
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/clean/from_object.mjs
7405
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/clean/from_object.mjs
7384
7406
  function FromObject11(context, type, value) {
7385
7407
  if (!guard_exports.IsObject(value) || guard_exports.IsArray(value))
7386
7408
  return value;
@@ -7403,7 +7425,7 @@ function FromObject11(context, type, value) {
7403
7425
  return value;
7404
7426
  }
7405
7427
 
7406
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/clean/from_record.mjs
7428
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/clean/from_record.mjs
7407
7429
  function FromRecord3(context, type, value) {
7408
7430
  if (!guard_exports.IsObject(value))
7409
7431
  return value;
@@ -7427,12 +7449,12 @@ function FromRecord3(context, type, value) {
7427
7449
  return value;
7428
7450
  }
7429
7451
 
7430
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/clean/from_ref.mjs
7452
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/clean/from_ref.mjs
7431
7453
  function FromRef5(context, type, value) {
7432
7454
  return guard_exports.HasPropertyKey(context, type.$ref) ? FromType19(context, context[type.$ref], value) : value;
7433
7455
  }
7434
7456
 
7435
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/clean/from_tuple.mjs
7457
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/clean/from_tuple.mjs
7436
7458
  function FromTuple5(context, schema, value) {
7437
7459
  if (!guard_exports.IsArray(value))
7438
7460
  return value;
@@ -7443,12 +7465,12 @@ function FromTuple5(context, schema, value) {
7443
7465
  return guard_exports.IsGreaterThan(value.length, length) ? value.slice(0, length) : value;
7444
7466
  }
7445
7467
 
7446
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/clone/clone.mjs
7468
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/clone/clone.mjs
7447
7469
  function Clone2(value) {
7448
7470
  return Clone(value);
7449
7471
  }
7450
7472
 
7451
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/clean/from_union.mjs
7473
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/clean/from_union.mjs
7452
7474
  function FromUnion9(context, type, value) {
7453
7475
  for (const schema of type.anyOf) {
7454
7476
  const clean = FromType19(context, schema, Clone2(value));
@@ -7458,12 +7480,12 @@ function FromUnion9(context, type, value) {
7458
7480
  return value;
7459
7481
  }
7460
7482
 
7461
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/clean/from_type.mjs
7483
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/clean/from_type.mjs
7462
7484
  function FromType19(context, type, value) {
7463
7485
  return IsArray2(type) ? FromArray7(context, type, value) : IsCyclic(type) ? FromCyclic6(context, type, value) : IsIntersect(type) ? FromIntersect6(context, type, value) : IsObject2(type) ? FromObject11(context, type, value) : IsRecord(type) ? FromRecord3(context, type, value) : IsRef(type) ? FromRef5(context, type, value) : IsTuple(type) ? FromTuple5(context, type, value) : IsUnion(type) ? FromUnion9(context, type, value) : value;
7464
7486
  }
7465
7487
 
7466
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/shared/union_priority_sort.mjs
7488
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/shared/union_priority_sort.mjs
7467
7489
  function Modifiers(type, next) {
7468
7490
  for (const key of guard_default.Keys(type)) {
7469
7491
  if (guard_default.HasPropertyKey(next, key))
@@ -7493,7 +7515,7 @@ function UnionPrioritySort(type) {
7493
7515
  return result;
7494
7516
  }
7495
7517
 
7496
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/clean/clean.mjs
7518
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/clean/clean.mjs
7497
7519
  function Clean(...args) {
7498
7520
  const [context, type, value] = arguments_exports.Match(args, {
7499
7521
  3: (context2, type2, value2) => [context2, type2, value2],
@@ -7503,7 +7525,7 @@ function Clean(...args) {
7503
7525
  return FromType19(context, sorted, value);
7504
7526
  }
7505
7527
 
7506
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/try/try.mjs
7528
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/try/try.mjs
7507
7529
  var try_exports = {};
7508
7530
  __export(try_exports, {
7509
7531
  Fail: () => Fail,
@@ -7518,7 +7540,7 @@ __export(try_exports, {
7518
7540
  TryUndefined: () => TryUndefined
7519
7541
  });
7520
7542
 
7521
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/try/try_result.mjs
7543
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/try/try_result.mjs
7522
7544
  function IsOk(value) {
7523
7545
  return guard_exports.IsObject(value) && guard_exports.HasPropertyKey(value, "value");
7524
7546
  }
@@ -7529,12 +7551,12 @@ function Fail() {
7529
7551
  return void 0;
7530
7552
  }
7531
7553
 
7532
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/try/try_array.mjs
7554
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/try/try_array.mjs
7533
7555
  function TryArray(value) {
7534
7556
  return guard_exports.IsArray(value) ? Ok(value) : Ok([value]);
7535
7557
  }
7536
7558
 
7537
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/try/try_bigint.mjs
7559
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/try/try_bigint.mjs
7538
7560
  function FromBoolean2(value) {
7539
7561
  return guard_exports.IsEqual(value, true) ? Ok(BigInt(1)) : Ok(BigInt(0));
7540
7562
  }
@@ -7558,7 +7580,7 @@ function TryBigInt(value) {
7558
7580
  return guard_exports.IsBigInt(value) ? Ok(value) : guard_exports.IsBoolean(value) ? FromBoolean2(value) : guard_exports.IsNumber(value) ? Ok(BigInt(Math.trunc(value))) : guard_exports.IsNull(value) ? Ok(BigInt(0)) : guard_exports.IsString(value) ? FromString2(value) : guard_exports.IsUndefined(value) ? Ok(BigInt(0)) : Fail();
7559
7581
  }
7560
7582
 
7561
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/try/try_boolean.mjs
7583
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/try/try_boolean.mjs
7562
7584
  function FromBigInt2(value) {
7563
7585
  return guard_exports.IsEqual(value, BigInt(0)) ? Ok(false) : guard_exports.IsEqual(value, BigInt(1)) ? Ok(true) : Fail();
7564
7586
  }
@@ -7572,7 +7594,7 @@ function TryBoolean(value) {
7572
7594
  return guard_exports.IsBigInt(value) ? FromBigInt2(value) : guard_exports.IsBoolean(value) ? Ok(value) : guard_exports.IsNumber(value) ? FromNumber2(value) : guard_exports.IsNull(value) ? Ok(false) : guard_exports.IsString(value) ? FromString3(value) : guard_exports.IsUndefined(value) ? Ok(false) : Fail();
7573
7595
  }
7574
7596
 
7575
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/try/try_null.mjs
7597
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/try/try_null.mjs
7576
7598
  function FromBigInt3(value) {
7577
7599
  return guard_exports.IsEqual(value, BigInt(0)) ? Ok(null) : Fail();
7578
7600
  }
@@ -7591,7 +7613,7 @@ function TryNull(value) {
7591
7613
  return guard_exports.IsBigInt(value) ? FromBigInt3(value) : guard_exports.IsBoolean(value) ? FromBoolean3(value) : guard_exports.IsNumber(value) ? FromNumber3(value) : guard_exports.IsNull(value) ? Ok(null) : guard_exports.IsString(value) ? FromString4(value) : guard_exports.IsUndefined(value) ? Ok(null) : Fail();
7592
7614
  }
7593
7615
 
7594
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/try/try_number.mjs
7616
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/try/try_number.mjs
7595
7617
  var maxBigInt = BigInt(Number.MAX_SAFE_INTEGER);
7596
7618
  var minBigInt = BigInt(Number.MIN_SAFE_INTEGER);
7597
7619
  function FromBigInt4(value) {
@@ -7618,12 +7640,12 @@ function TryNumber(value) {
7618
7640
  return guard_exports.IsBigInt(value) ? FromBigInt4(value) : guard_exports.IsBoolean(value) ? FromBoolean4(value) : guard_exports.IsNumber(value) ? Ok(value) : guard_exports.IsNull(value) ? Ok(0) : guard_exports.IsString(value) ? FromString5(value) : guard_exports.IsUndefined(value) ? Ok(0) : Fail();
7619
7641
  }
7620
7642
 
7621
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/try/try_string.mjs
7643
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/try/try_string.mjs
7622
7644
  function TryString(value) {
7623
7645
  return guard_exports.IsBigInt(value) ? Ok(value.toString()) : guard_exports.IsBoolean(value) ? Ok(value.toString()) : guard_exports.IsNumber(value) ? Ok(value.toString()) : guard_exports.IsNull(value) ? Ok("null") : guard_exports.IsString(value) ? Ok(value) : guard_exports.IsUndefined(value) ? Ok("") : Fail();
7624
7646
  }
7625
7647
 
7626
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/try/try_undefined.mjs
7648
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/try/try_undefined.mjs
7627
7649
  function FromBigInt5(value) {
7628
7650
  return guard_exports.IsEqual(value, BigInt(0)) ? Ok(void 0) : Fail();
7629
7651
  }
@@ -7642,48 +7664,48 @@ function TryUndefined(value) {
7642
7664
  return guard_exports.IsBigInt(value) ? FromBigInt5(value) : guard_exports.IsBoolean(value) ? FromBoolean5(value) : guard_exports.IsNumber(value) ? FromNumber4(value) : guard_exports.IsNull(value) ? Ok(void 0) : guard_exports.IsString(value) ? FromString6(value) : guard_exports.IsUndefined(value) ? Ok(value) : Fail();
7643
7665
  }
7644
7666
 
7645
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_array.mjs
7667
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_array.mjs
7646
7668
  function FromArray8(context, type, value) {
7647
7669
  const result = try_exports.TryArray(value);
7648
7670
  return result.value.map((value2) => FromType21(context, type.items, value2));
7649
7671
  }
7650
7672
 
7651
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_bigint.mjs
7673
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_bigint.mjs
7652
7674
  function FromBigInt6(_context, _type, value) {
7653
7675
  const result = try_exports.TryBigInt(value);
7654
7676
  return try_exports.IsOk(result) ? result.value : value;
7655
7677
  }
7656
7678
 
7657
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_boolean.mjs
7679
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_boolean.mjs
7658
7680
  function FromBoolean6(_context, _type, value) {
7659
7681
  const result = try_exports.TryBoolean(value);
7660
7682
  return try_exports.IsOk(result) ? result.value : value;
7661
7683
  }
7662
7684
 
7663
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_cyclic.mjs
7685
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_cyclic.mjs
7664
7686
  function FromCyclic7(context, type, value) {
7665
7687
  return FromType21({ ...context, ...type.$defs }, Ref(type.$ref), value);
7666
7688
  }
7667
7689
 
7668
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_enum.mjs
7690
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_enum.mjs
7669
7691
  function FromEnum3(context, type, value) {
7670
7692
  return FromType21(context, Evaluate(type), value);
7671
7693
  }
7672
7694
 
7673
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_integer.mjs
7695
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_integer.mjs
7674
7696
  function FromInteger(_context, _type, value) {
7675
7697
  const result = try_exports.TryNumber(value);
7676
7698
  return try_exports.IsOk(result) ? Math.trunc(result.value) : value;
7677
7699
  }
7678
7700
 
7679
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_intersect.mjs
7701
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_intersect.mjs
7680
7702
  function FromIntersect7(context, type, value) {
7681
7703
  const instantiated = Instantiate(context, type);
7682
7704
  const evaluated = Evaluate(instantiated);
7683
7705
  return FromType21(context, evaluated, value);
7684
7706
  }
7685
7707
 
7686
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_literal.mjs
7708
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_literal.mjs
7687
7709
  function FromLiteralBigInt(_context, type, value) {
7688
7710
  const result = try_exports.TryBigInt(value);
7689
7711
  return try_exports.IsOk(result) && guard_exports.IsEqual(type.const, result.value) ? result.value : value;
@@ -7706,19 +7728,19 @@ function FromLiteral6(context, type, value) {
7706
7728
  return IsLiteralBigInt(type) ? FromLiteralBigInt(context, type, value) : IsLiteralBoolean(type) ? FromLiteralBoolean(context, type, value) : IsLiteralNumber(type) ? FromLiteralNumber(context, type, value) : IsLiteralString(type) ? FromLiteralString(context, type, value) : Unreachable();
7707
7729
  }
7708
7730
 
7709
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_null.mjs
7731
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_null.mjs
7710
7732
  function FromNull2(_context, _type, value) {
7711
7733
  const result = try_exports.TryNull(value);
7712
7734
  return try_exports.IsOk(result) ? result.value : value;
7713
7735
  }
7714
7736
 
7715
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_number.mjs
7737
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_number.mjs
7716
7738
  function FromNumber5(_context, _type, value) {
7717
7739
  const result = try_exports.TryNumber(value);
7718
7740
  return try_exports.IsOk(result) ? result.value : value;
7719
7741
  }
7720
7742
 
7721
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_additional.mjs
7743
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_additional.mjs
7722
7744
  function FromAdditionalProperties(context, entries, additionalProperties, value) {
7723
7745
  const keys = guard_exports.Keys(value);
7724
7746
  for (const [regexp, _] of entries) {
@@ -7731,12 +7753,12 @@ function FromAdditionalProperties(context, entries, additionalProperties, value)
7731
7753
  return value;
7732
7754
  }
7733
7755
 
7734
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/shared/optional_undefined.mjs
7756
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/shared/optional_undefined.mjs
7735
7757
  function IsOptionalUndefined(property, key, value) {
7736
7758
  return IsOptional(property) && guard_exports.IsUndefined(value[key]);
7737
7759
  }
7738
7760
 
7739
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_object.mjs
7761
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_object.mjs
7740
7762
  function FromProperties5(context, type, value) {
7741
7763
  const entries = guard_exports.EntriesRegExp(type.properties);
7742
7764
  const keys = guard_exports.Keys(value);
@@ -7753,7 +7775,7 @@ function FromObject12(context, type, value) {
7753
7775
  return guard_exports.IsObjectNotArray(value) ? FromProperties5(context, type, value) : value;
7754
7776
  }
7755
7777
 
7756
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_record.mjs
7778
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_record.mjs
7757
7779
  function FromPatternProperties(context, type, value) {
7758
7780
  const entries = guard_exports.EntriesRegExp(type.patternProperties);
7759
7781
  const keys = guard_exports.Keys(value);
@@ -7770,23 +7792,23 @@ function FromRecord4(context, type, value) {
7770
7792
  return guard_exports.IsObjectNotArray(value) ? FromPatternProperties(context, type, value) : value;
7771
7793
  }
7772
7794
 
7773
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_ref.mjs
7795
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_ref.mjs
7774
7796
  function FromRef6(context, type, value) {
7775
7797
  return guard_exports.HasPropertyKey(context, type.$ref) ? FromType21(context, context[type.$ref], value) : value;
7776
7798
  }
7777
7799
 
7778
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_string.mjs
7800
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_string.mjs
7779
7801
  function FromString7(_context, _type, value) {
7780
7802
  const result = try_exports.TryString(value);
7781
7803
  return try_exports.IsOk(result) ? result.value : value;
7782
7804
  }
7783
7805
 
7784
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_template_literal.mjs
7806
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_template_literal.mjs
7785
7807
  function FromTemplateLiteral4(context, type, value) {
7786
7808
  return FromType21(context, Evaluate(type), value);
7787
7809
  }
7788
7810
 
7789
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_tuple.mjs
7811
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_tuple.mjs
7790
7812
  function FromTuple6(context, type, value) {
7791
7813
  if (!guard_exports.IsArray(value))
7792
7814
  return value;
@@ -7796,13 +7818,13 @@ function FromTuple6(context, type, value) {
7796
7818
  return value;
7797
7819
  }
7798
7820
 
7799
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_undefined.mjs
7821
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_undefined.mjs
7800
7822
  function FromUndefined2(_context, _type, value) {
7801
7823
  const result = try_exports.TryUndefined(value);
7802
7824
  return try_exports.IsOk(result) ? result.value : value;
7803
7825
  }
7804
7826
 
7805
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_union.mjs
7827
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_union.mjs
7806
7828
  function FromUnion10(context, type, value) {
7807
7829
  const matched = type.anyOf.some((type2) => Check2(context, type2, value));
7808
7830
  if (matched)
@@ -7812,18 +7834,18 @@ function FromUnion10(context, type, value) {
7812
7834
  return guard_exports.IsUndefined(selected) ? value : selected;
7813
7835
  }
7814
7836
 
7815
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_void.mjs
7837
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_void.mjs
7816
7838
  function FromVoid(_context, _type, value) {
7817
7839
  const result = try_exports.TryUndefined(value);
7818
7840
  return try_exports.IsOk(result) ? void 0 : value;
7819
7841
  }
7820
7842
 
7821
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/from_type.mjs
7843
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/from_type.mjs
7822
7844
  function FromType21(context, type, value) {
7823
7845
  return IsArray2(type) ? FromArray8(context, type, value) : IsBigInt2(type) ? FromBigInt6(context, type, value) : IsBoolean3(type) ? FromBoolean6(context, type, value) : IsCyclic(type) ? FromCyclic7(context, type, value) : IsEnum(type) ? FromEnum3(context, type, value) : IsInteger2(type) ? FromInteger(context, type, value) : IsIntersect(type) ? FromIntersect7(context, type, value) : IsLiteral(type) ? FromLiteral6(context, type, value) : IsNull2(type) ? FromNull2(context, type, value) : IsNumber3(type) ? FromNumber5(context, type, value) : IsObject2(type) ? FromObject12(context, type, value) : IsRecord(type) ? FromRecord4(context, type, value) : IsRef(type) ? FromRef6(context, type, value) : IsString3(type) ? FromString7(context, type, value) : IsTemplateLiteral(type) ? FromTemplateLiteral4(context, type, value) : IsTuple(type) ? FromTuple6(context, type, value) : IsUndefined2(type) ? FromUndefined2(context, type, value) : IsUnion(type) ? FromUnion10(context, type, value) : IsVoid(type) ? FromVoid(context, type, value) : value;
7824
7846
  }
7825
7847
 
7826
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/convert/convert.mjs
7848
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/convert/convert.mjs
7827
7849
  function Convert(...args) {
7828
7850
  const [context, type, value] = arguments_exports.Match(args, {
7829
7851
  3: (context2, type2, value2) => [context2, type2, value2],
@@ -7832,7 +7854,7 @@ function Convert(...args) {
7832
7854
  return FromType21(context, type, value);
7833
7855
  }
7834
7856
 
7835
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/default/from_array.mjs
7857
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/default/from_array.mjs
7836
7858
  function FromArray9(context, type, value) {
7837
7859
  if (!guard_exports.IsArray(value))
7838
7860
  return value;
@@ -7842,26 +7864,26 @@ function FromArray9(context, type, value) {
7842
7864
  return value;
7843
7865
  }
7844
7866
 
7845
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/default/from_cyclic.mjs
7867
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/default/from_cyclic.mjs
7846
7868
  function FromCyclic8(context, type, value) {
7847
7869
  return FromType22({ ...context, ...type.$defs }, Ref(type.$ref), value);
7848
7870
  }
7849
7871
 
7850
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/default/from_default.mjs
7872
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/default/from_default.mjs
7851
7873
  function FromDefault(type, value) {
7852
7874
  if (!guard_exports.IsUndefined(value))
7853
7875
  return value;
7854
7876
  return guard_exports.IsFunction(type.default) ? type.default() : Clone2(type.default);
7855
7877
  }
7856
7878
 
7857
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/default/from_intersect.mjs
7879
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/default/from_intersect.mjs
7858
7880
  function FromIntersect8(context, type, value) {
7859
7881
  const instantiated = Instantiate(context, type);
7860
7882
  const evaluated = Evaluate(instantiated);
7861
7883
  return FromType22(context, evaluated, value);
7862
7884
  }
7863
7885
 
7864
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/default/from_object.mjs
7886
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/default/from_object.mjs
7865
7887
  function FromObject13(context, type, value) {
7866
7888
  if (!guard_exports.IsObject(value))
7867
7889
  return value;
@@ -7883,7 +7905,7 @@ function FromObject13(context, type, value) {
7883
7905
  return value;
7884
7906
  }
7885
7907
 
7886
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/default/from_record.mjs
7908
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/default/from_record.mjs
7887
7909
  function FromRecord5(context, type, value) {
7888
7910
  if (!guard_exports.IsObject(value))
7889
7911
  return value;
@@ -7903,12 +7925,12 @@ function FromRecord5(context, type, value) {
7903
7925
  return value;
7904
7926
  }
7905
7927
 
7906
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/default/from_ref.mjs
7928
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/default/from_ref.mjs
7907
7929
  function FromRef7(context, type, value) {
7908
7930
  return guard_exports.HasPropertyKey(context, type.$ref) ? FromType22(context, context[type.$ref], value) : value;
7909
7931
  }
7910
7932
 
7911
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/default/from_tuple.mjs
7933
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/default/from_tuple.mjs
7912
7934
  function FromTuple7(context, schema, value) {
7913
7935
  if (!guard_exports.IsArray(value))
7914
7936
  return value;
@@ -7920,7 +7942,7 @@ function FromTuple7(context, schema, value) {
7920
7942
  return value;
7921
7943
  }
7922
7944
 
7923
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/default/from_union.mjs
7945
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/default/from_union.mjs
7924
7946
  function FromUnion11(context, schema, value) {
7925
7947
  for (const inner of schema.anyOf) {
7926
7948
  const result = FromType22(context, inner, Clone2(value));
@@ -7931,13 +7953,13 @@ function FromUnion11(context, schema, value) {
7931
7953
  return value;
7932
7954
  }
7933
7955
 
7934
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/default/from_type.mjs
7956
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/default/from_type.mjs
7935
7957
  function FromType22(context, type, value) {
7936
7958
  const defaulted = IsDefault(type) ? FromDefault(type, value) : value;
7937
7959
  return IsArray2(type) ? FromArray9(context, type, defaulted) : IsCyclic(type) ? FromCyclic8(context, type, defaulted) : IsIntersect(type) ? FromIntersect8(context, type, defaulted) : IsObject2(type) ? FromObject13(context, type, defaulted) : IsRecord(type) ? FromRecord5(context, type, defaulted) : IsRef(type) ? FromRef7(context, type, defaulted) : IsTuple(type) ? FromTuple7(context, type, defaulted) : IsUnion(type) ? FromUnion11(context, type, defaulted) : defaulted;
7938
7960
  }
7939
7961
 
7940
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/default/default.mjs
7962
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/default/default.mjs
7941
7963
  function Default(...args) {
7942
7964
  const [context, type, value] = arguments_exports.Match(args, {
7943
7965
  3: (context2, type2, value2) => [context2, type2, value2],
@@ -7946,7 +7968,7 @@ function Default(...args) {
7946
7968
  return FromType22(context, type, value);
7947
7969
  }
7948
7970
 
7949
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/pipeline/pipeline.mjs
7971
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/pipeline/pipeline.mjs
7950
7972
  function Pipeline(pipeline) {
7951
7973
  return (...args) => {
7952
7974
  const [context, type, value] = arguments_exports.Match(args, {
@@ -7957,7 +7979,7 @@ function Pipeline(pipeline) {
7957
7979
  };
7958
7980
  }
7959
7981
 
7960
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/codec/callback.mjs
7982
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/codec/callback.mjs
7961
7983
  function Decode3(_context, type, value) {
7962
7984
  return type["~codec"].decode(value);
7963
7985
  }
@@ -7970,7 +7992,7 @@ function Callback(direction, context, type, value) {
7970
7992
  return guard_exports.IsEqual(direction, "Decode") ? Decode3(context, type, value) : Encode3(context, type, value);
7971
7993
  }
7972
7994
 
7973
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/codec/from_array.mjs
7995
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/codec/from_array.mjs
7974
7996
  function Decode4(direction, context, type, value) {
7975
7997
  if (!guard_exports.IsArray(value))
7976
7998
  return value;
@@ -7992,13 +8014,13 @@ function FromArray10(direction, context, type, value) {
7992
8014
  return guard_exports.IsEqual(direction, "Decode") ? Decode4(direction, context, type, value) : Encode4(direction, context, type, value);
7993
8015
  }
7994
8016
 
7995
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/codec/from_cyclic.mjs
8017
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/codec/from_cyclic.mjs
7996
8018
  function FromCyclic9(direction, context, type, value) {
7997
8019
  value = FromType23(direction, { ...context, ...type.$defs }, Ref(type.$ref), value);
7998
8020
  return Callback(direction, context, type, value);
7999
8021
  }
8000
8022
 
8001
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/codec/from_intersect.mjs
8023
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/codec/from_intersect.mjs
8002
8024
  function MergeInteriors(interiors) {
8003
8025
  return interiors.reduce((results, interior) => ({ ...results, ...interior }), {});
8004
8026
  }
@@ -8030,7 +8052,7 @@ function FromIntersect9(direction, context, type, value) {
8030
8052
  return guard_exports.IsEqual(direction, "Decode") ? Decode5(direction, context, type, value) : Encode5(direction, context, type, value);
8031
8053
  }
8032
8054
 
8033
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/codec/from_object.mjs
8055
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/codec/from_object.mjs
8034
8056
  function Decode6(direction, context, type, value) {
8035
8057
  if (!guard_exports.IsObjectNotArray(value))
8036
8058
  return value;
@@ -8056,7 +8078,7 @@ function FromObject14(direction, context, type, value) {
8056
8078
  return guard_exports.IsEqual(direction, "Decode") ? Decode6(direction, context, type, value) : Encode6(direction, context, type, value);
8057
8079
  }
8058
8080
 
8059
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/codec/from_record.mjs
8081
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/codec/from_record.mjs
8060
8082
  function Decode7(direction, context, type, value) {
8061
8083
  if (!guard_exports.IsObjectNotArray(value))
8062
8084
  return value;
@@ -8084,7 +8106,7 @@ function FromRecord6(direction, context, type, value) {
8084
8106
  return guard_exports.IsEqual(direction, "Decode") ? Decode7(direction, context, type, value) : Encode7(direction, context, type, value);
8085
8107
  }
8086
8108
 
8087
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/codec/from_ref.mjs
8109
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/codec/from_ref.mjs
8088
8110
  function ResolveRef(direction, context, type, value) {
8089
8111
  return guard_exports.HasPropertyKey(context, type.$ref) ? FromType23(direction, context, context[type.$ref], value) : value;
8090
8112
  }
@@ -8092,7 +8114,7 @@ function FromRef8(direction, context, type, value) {
8092
8114
  return guard_exports.IsEqual(direction, "Decode") ? Callback(direction, context, type, ResolveRef(direction, context, type, value)) : ResolveRef(direction, context, type, Callback(direction, context, type, value));
8093
8115
  }
8094
8116
 
8095
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/codec/from_tuple.mjs
8117
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/codec/from_tuple.mjs
8096
8118
  function Decode8(direction, context, type, value) {
8097
8119
  if (!guard_exports.IsArray(value))
8098
8120
  return value;
@@ -8114,7 +8136,7 @@ function FromTuple8(direction, context, type, value) {
8114
8136
  return guard_exports.IsEqual(direction, "Decode") ? Decode8(direction, context, type, value) : Encode8(direction, context, type, value);
8115
8137
  }
8116
8138
 
8117
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/codec/from_union.mjs
8139
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/codec/from_union.mjs
8118
8140
  function Decode9(direction, context, type, value) {
8119
8141
  for (const schema of type.anyOf) {
8120
8142
  if (!Check2(context, schema, value))
@@ -8138,12 +8160,12 @@ function FromUnion12(direction, context, type, value) {
8138
8160
  return guard_exports.IsEqual(direction, "Decode") ? Decode9(direction, context, type, value) : Encode9(direction, context, type, value);
8139
8161
  }
8140
8162
 
8141
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/codec/from_type.mjs
8163
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/codec/from_type.mjs
8142
8164
  function FromType23(direction, context, type, value) {
8143
8165
  return IsArray2(type) ? FromArray10(direction, context, type, value) : IsCyclic(type) ? FromCyclic9(direction, context, type, value) : IsIntersect(type) ? FromIntersect9(direction, context, type, value) : IsObject2(type) ? FromObject14(direction, context, type, value) : IsRecord(type) ? FromRecord6(direction, context, type, value) : IsRef(type) ? FromRef8(direction, context, type, value) : IsTuple(type) ? FromTuple8(direction, context, type, value) : IsUnion(type) ? FromUnion12(direction, context, type, value) : Callback(direction, context, type, value);
8144
8166
  }
8145
8167
 
8146
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/codec/decode.mjs
8168
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/codec/decode.mjs
8147
8169
  var DecodeError = class extends AssertError {
8148
8170
  constructor(value, errors) {
8149
8171
  super("Decode", value, errors);
@@ -8174,7 +8196,7 @@ function Decode10(...args) {
8174
8196
  return Decoder(context, type, value);
8175
8197
  }
8176
8198
 
8177
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/codec/encode.mjs
8199
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/codec/encode.mjs
8178
8200
  var EncodeError = class extends AssertError {
8179
8201
  constructor(value, errors) {
8180
8202
  super("Encode", value, errors);
@@ -8205,7 +8227,7 @@ function Encode10(...args) {
8205
8227
  return Encoder(context, type, value);
8206
8228
  }
8207
8229
 
8208
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/codec/has.mjs
8230
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/codec/has.mjs
8209
8231
  function FromArray11(context, type) {
8210
8232
  return IsCodec(type) || FromType24(context, type.items);
8211
8233
  }
@@ -8248,7 +8270,7 @@ function HasCodec(...args) {
8248
8270
  return FromType24(context, type);
8249
8271
  }
8250
8272
 
8251
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/error.mjs
8273
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/error.mjs
8252
8274
  var CreateError = class extends Error {
8253
8275
  constructor(type, message) {
8254
8276
  super(message);
@@ -8256,12 +8278,12 @@ var CreateError = class extends Error {
8256
8278
  }
8257
8279
  };
8258
8280
 
8259
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_default.mjs
8281
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_default.mjs
8260
8282
  function FromDefault2(_context, schema) {
8261
8283
  return guard_exports.IsFunction(schema.default) ? schema.default(schema) : guard_exports.IsObject(schema.default) ? Clone2(schema.default) : schema.default;
8262
8284
  }
8263
8285
 
8264
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_array.mjs
8286
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_array.mjs
8265
8287
  function FromArray12(context, type) {
8266
8288
  if (IsUniqueItems(type) && !IsDefault(type))
8267
8289
  throw new CreateError(type, "Arrays with uniqueItems constraints must specify a default annotation");
@@ -8269,17 +8291,17 @@ function FromArray12(context, type) {
8269
8291
  return Array.from({ length }, () => FromType25(context, type.items));
8270
8292
  }
8271
8293
 
8272
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_bigint.mjs
8294
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_bigint.mjs
8273
8295
  function FromBigInt7(_context, type) {
8274
8296
  return IsExclusiveMinimum(type) ? BigInt(type.exclusiveMinimum) + BigInt(1) : IsMinimum(type) ? BigInt(type.minimum) : BigInt(0);
8275
8297
  }
8276
8298
 
8277
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_boolean.mjs
8299
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_boolean.mjs
8278
8300
  function FromBoolean7(_context, _type) {
8279
8301
  return false;
8280
8302
  }
8281
8303
 
8282
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_constructor.mjs
8304
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_constructor.mjs
8283
8305
  function FromConstructor2(context, type) {
8284
8306
  const instanceType = FromType25(context, type.instanceType);
8285
8307
  return class {
@@ -8289,55 +8311,55 @@ function FromConstructor2(context, type) {
8289
8311
  };
8290
8312
  }
8291
8313
 
8292
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_cyclic.mjs
8314
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_cyclic.mjs
8293
8315
  function FromCyclic11(context, type) {
8294
8316
  return FromType25({ ...context, ...type.$defs }, Ref(type.$ref));
8295
8317
  }
8296
8318
 
8297
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_enum.mjs
8319
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_enum.mjs
8298
8320
  function FromEnum4(context, type) {
8299
8321
  return FromType25(context, Evaluate(type));
8300
8322
  }
8301
8323
 
8302
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_function.mjs
8324
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_function.mjs
8303
8325
  function FromFunction2(context, type) {
8304
8326
  const returnType = FromType25(context, type.returnType);
8305
8327
  return () => returnType;
8306
8328
  }
8307
8329
 
8308
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_integer.mjs
8330
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_integer.mjs
8309
8331
  function FromInteger2(_context, type) {
8310
8332
  return IsExclusiveMinimum(type) && guard_exports.IsNumber(type.exclusiveMinimum) ? type.exclusiveMinimum + 1 : IsMinimum(type) ? type.minimum : 0;
8311
8333
  }
8312
8334
 
8313
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_intersect.mjs
8335
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_intersect.mjs
8314
8336
  function FromIntersect11(context, type) {
8315
8337
  const instantiated = Instantiate(context, type);
8316
8338
  const evaluated = Evaluate(instantiated);
8317
8339
  return FromType25(context, evaluated);
8318
8340
  }
8319
8341
 
8320
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_literal.mjs
8342
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_literal.mjs
8321
8343
  function FromLiteral7(_context, type) {
8322
8344
  return type.const;
8323
8345
  }
8324
8346
 
8325
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_never.mjs
8347
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_never.mjs
8326
8348
  function FromNever(_context, type) {
8327
8349
  throw new CreateError(type, "Cannot create TNever types");
8328
8350
  }
8329
8351
 
8330
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_null.mjs
8352
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_null.mjs
8331
8353
  function FromNull3(_context, _type) {
8332
8354
  return null;
8333
8355
  }
8334
8356
 
8335
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_number.mjs
8357
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_number.mjs
8336
8358
  function FromNumber6(_context, type) {
8337
8359
  return IsExclusiveMinimum(type) && guard_exports.IsNumber(type.exclusiveMinimum) ? type.exclusiveMinimum + 1 : IsMinimum(type) ? type.minimum : 0;
8338
8360
  }
8339
8361
 
8340
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_object.mjs
8362
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_object.mjs
8341
8363
  function FromObject16(context, type) {
8342
8364
  const required = guard_exports.IsUndefined(type.required) ? [] : type.required;
8343
8365
  return required.reduce((result, key) => {
@@ -8345,21 +8367,21 @@ function FromObject16(context, type) {
8345
8367
  }, {});
8346
8368
  }
8347
8369
 
8348
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_record.mjs
8370
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_record.mjs
8349
8371
  function FromRecord8(_context, type) {
8350
8372
  if (IsMinProperties(type) && !IsDefault(type))
8351
8373
  throw new CreateError(type, "Record with the minProperties constraint must have a default annotation");
8352
8374
  return {};
8353
8375
  }
8354
8376
 
8355
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_ref.mjs
8377
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_ref.mjs
8356
8378
  function FromRef10(context, type) {
8357
8379
  return guard_exports.HasPropertyKey(context, type.$ref) ? FromType25(context, context[type.$ref]) : (() => {
8358
8380
  throw new CreateError(type, "Unable to deref Ref");
8359
8381
  })();
8360
8382
  }
8361
8383
 
8362
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_string.mjs
8384
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_string.mjs
8363
8385
  function FromString8(_context, type) {
8364
8386
  const needsDefault = (IsPattern(type) || IsFormat(type)) && !IsDefault(type);
8365
8387
  if (needsDefault)
@@ -8368,12 +8390,12 @@ function FromString8(_context, type) {
8368
8390
  return "".padEnd(minLength);
8369
8391
  }
8370
8392
 
8371
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_symbol.mjs
8393
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_symbol.mjs
8372
8394
  function FromSymbol2(_context, _type) {
8373
8395
  return /* @__PURE__ */ Symbol();
8374
8396
  }
8375
8397
 
8376
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_template_literal.mjs
8398
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_template_literal.mjs
8377
8399
  function FromTemplateLiteral5(context, type) {
8378
8400
  const decoded = TemplateLiteralDecode(type.pattern);
8379
8401
  if (IsString3(decoded))
@@ -8381,17 +8403,17 @@ function FromTemplateLiteral5(context, type) {
8381
8403
  return FromType25(context, decoded);
8382
8404
  }
8383
8405
 
8384
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_tuple.mjs
8406
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_tuple.mjs
8385
8407
  function FromTuple10(context, type) {
8386
8408
  return Array.from({ length: type.minItems }, (_, i) => FromType25(context, type.items[i]));
8387
8409
  }
8388
8410
 
8389
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_undefined.mjs
8411
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_undefined.mjs
8390
8412
  function FromUndefined3(_context, _type) {
8391
8413
  return void 0;
8392
8414
  }
8393
8415
 
8394
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_union.mjs
8416
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_union.mjs
8395
8417
  function FromUnion14(context, type) {
8396
8418
  if (guard_exports.IsEqual(type.anyOf.length, 0)) {
8397
8419
  throw Error("Unable to create Union with no variants");
@@ -8399,12 +8421,12 @@ function FromUnion14(context, type) {
8399
8421
  return FromType25(context, type.anyOf[0]);
8400
8422
  }
8401
8423
 
8402
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_void.mjs
8424
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_void.mjs
8403
8425
  function FromVoid2(_context, _type) {
8404
8426
  return void 0;
8405
8427
  }
8406
8428
 
8407
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/from_type.mjs
8429
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/from_type.mjs
8408
8430
  function FromType25(context, type) {
8409
8431
  return (
8410
8432
  // -----------------------------------------------------
@@ -8419,7 +8441,7 @@ function FromType25(context, type) {
8419
8441
  );
8420
8442
  }
8421
8443
 
8422
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/create/create.mjs
8444
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/create/create.mjs
8423
8445
  function Create2(...args) {
8424
8446
  const [context, type] = arguments_exports.Match(args, {
8425
8447
  2: (context2, type2) => [context2, type2],
@@ -8428,17 +8450,17 @@ function Create2(...args) {
8428
8450
  return FromType25(context, type);
8429
8451
  }
8430
8452
 
8431
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/equal/equal.mjs
8453
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/equal/equal.mjs
8432
8454
  function Equal(left, right) {
8433
8455
  return guard_exports.IsDeepEqual(left, right);
8434
8456
  }
8435
8457
 
8436
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/hash/hash.mjs
8458
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/hash/hash.mjs
8437
8459
  function Hash2(value) {
8438
8460
  return hash_exports.Hash(value);
8439
8461
  }
8440
8462
 
8441
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/parse/parse.mjs
8463
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/parse/parse.mjs
8442
8464
  var ParseError2 = class extends AssertError {
8443
8465
  constructor(value, errors) {
8444
8466
  super("Parse", value, errors);
@@ -8469,7 +8491,7 @@ function Parse(...args) {
8469
8491
  throw new ParseError2(value, Errors2(context, type, value));
8470
8492
  }
8471
8493
 
8472
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/delta/diff.mjs
8494
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/delta/diff.mjs
8473
8495
  function CreateUpdate(path, value) {
8474
8496
  return { type: "update", path, value };
8475
8497
  }
@@ -8556,7 +8578,7 @@ function Diff(current, next) {
8556
8578
  return [...FromValue4("", current, next)];
8557
8579
  }
8558
8580
 
8559
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/delta/edit.mjs
8581
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/delta/edit.mjs
8560
8582
  var Insert2 = _Object_({
8561
8583
  type: Literal("insert"),
8562
8584
  path: String2(),
@@ -8573,7 +8595,7 @@ var Delete2 = _Object_({
8573
8595
  });
8574
8596
  var Edit = Union([Insert2, Update2, Delete2]);
8575
8597
 
8576
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/delta/patch.mjs
8598
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/delta/patch.mjs
8577
8599
  function IsRoot(edits) {
8578
8600
  return edits.length > 0 && edits[0].path === "" && edits[0].type === "update";
8579
8601
  }
@@ -8605,7 +8627,7 @@ function Patch(current, edits) {
8605
8627
  return clone;
8606
8628
  }
8607
8629
 
8608
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/repair/error.mjs
8630
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/repair/error.mjs
8609
8631
  var RepairError = class extends Error {
8610
8632
  constructor(context, type, value, message) {
8611
8633
  super(message);
@@ -8615,7 +8637,7 @@ var RepairError = class extends Error {
8615
8637
  }
8616
8638
  };
8617
8639
 
8618
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/repair/from_array.mjs
8640
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/repair/from_array.mjs
8619
8641
  function MakeUnique(values) {
8620
8642
  const [hashes, result] = [/* @__PURE__ */ new Set(), []];
8621
8643
  for (const value of values) {
@@ -8642,19 +8664,19 @@ function FromArray14(context, type, value) {
8642
8664
  return unique;
8643
8665
  }
8644
8666
 
8645
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/repair/from_enum.mjs
8667
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/repair/from_enum.mjs
8646
8668
  function FromEnum5(context, type, value) {
8647
8669
  return FromType26(context, Evaluate(type), value);
8648
8670
  }
8649
8671
 
8650
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/repair/from_intersect.mjs
8672
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/repair/from_intersect.mjs
8651
8673
  function FromIntersect12(context, type, value) {
8652
8674
  const instantiated = Instantiate(context, type);
8653
8675
  const evaluated = Evaluate(instantiated);
8654
8676
  return FromType26(context, evaluated, value);
8655
8677
  }
8656
8678
 
8657
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/repair/from_object.mjs
8679
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/repair/from_object.mjs
8658
8680
  function FromObject18(context, type, value) {
8659
8681
  if (Check2(context, type, value))
8660
8682
  return value;
@@ -8678,7 +8700,7 @@ function FromObject18(context, type, value) {
8678
8700
  return result;
8679
8701
  }
8680
8702
 
8681
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/repair/from_record.mjs
8703
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/repair/from_record.mjs
8682
8704
  function FromRecord9(context, type, value) {
8683
8705
  if (Check2(context, type, value))
8684
8706
  return value;
@@ -8704,20 +8726,20 @@ function FromRecord9(context, type, value) {
8704
8726
  return result;
8705
8727
  }
8706
8728
 
8707
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/repair/from_ref.mjs
8729
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/repair/from_ref.mjs
8708
8730
  function FromRef11(context, type, value) {
8709
8731
  return guard_exports.HasPropertyKey(context, type.$ref) ? FromType26(context, context[type.$ref], value) : (() => {
8710
8732
  throw new RepairError(context, type, value, "Unable to de-reference target type");
8711
8733
  })();
8712
8734
  }
8713
8735
 
8714
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/repair/from_template_literal.mjs
8736
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/repair/from_template_literal.mjs
8715
8737
  function FromTemplateLiteral6(context, type, value) {
8716
8738
  const decoded = TemplateLiteralDecode(type.pattern);
8717
8739
  return FromType26(context, decoded, value);
8718
8740
  }
8719
8741
 
8720
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/repair/from_tuple.mjs
8742
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/repair/from_tuple.mjs
8721
8743
  function FromTuple11(context, schema, value) {
8722
8744
  if (Check2(context, schema, value))
8723
8745
  return value;
@@ -8726,7 +8748,7 @@ function FromTuple11(context, schema, value) {
8726
8748
  return schema.items.map((schema2, index) => FromType26(context, schema2, value[index]));
8727
8749
  }
8728
8750
 
8729
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/shared/union_score_select.mjs
8751
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/shared/union_score_select.mjs
8730
8752
  function Deref(context, type, value) {
8731
8753
  return IsRef(type) ? guard_exports.HasPropertyKey(context, type.$ref) ? Deref(context, context[type.$ref], value) : (() => {
8732
8754
  throw new Error("Unable to Deref target");
@@ -8757,7 +8779,7 @@ function UnionScoreSelect(context, type, value) {
8757
8779
  return select;
8758
8780
  }
8759
8781
 
8760
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/repair/from_union.mjs
8782
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/repair/from_union.mjs
8761
8783
  function RepairUnion(context, type, value) {
8762
8784
  const union = Union(Flatten(type.anyOf));
8763
8785
  const schema = UnionScoreSelect(context, union, value);
@@ -8771,7 +8793,7 @@ function FromUnion15(context, type, value) {
8771
8793
  return RepairUnion(context, type, value);
8772
8794
  }
8773
8795
 
8774
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/repair/from_unknown.mjs
8796
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/repair/from_unknown.mjs
8775
8797
  function FromUnknown2(context, type, value) {
8776
8798
  if (Check2(context, type, value))
8777
8799
  return value;
@@ -8781,7 +8803,7 @@ function FromUnknown2(context, type, value) {
8781
8803
  return Create2(context, type);
8782
8804
  }
8783
8805
 
8784
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/repair/from_type.mjs
8806
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/repair/from_type.mjs
8785
8807
  function AssertRepairableValue(context, type, value) {
8786
8808
  const unsupported = globals_exports.IsDate(value) || globals_exports.IsMap(value) || globals_exports.IsSet(value) || globals_exports.IsTypeArray(value) || guard_exports.IsConstructor(value) || guard_exports.IsFunction(value);
8787
8809
  if (unsupported) {
@@ -8808,7 +8830,7 @@ function FromType26(context, type, value) {
8808
8830
  return FinalizeRepair(context, type, repaired);
8809
8831
  }
8810
8832
 
8811
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/repair/repair.mjs
8833
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/repair/repair.mjs
8812
8834
  function Repair(...args) {
8813
8835
  const [context, type, value] = arguments_exports.Match(args, {
8814
8836
  3: (context2, type2, value2) => [context2, type2, value2],
@@ -8819,7 +8841,7 @@ function Repair(...args) {
8819
8841
  return repaired;
8820
8842
  }
8821
8843
 
8822
- // ../../node_modules/.pnpm/typebox@1.3.14/node_modules/typebox/build/value/value.mjs
8844
+ // ../../node_modules/.pnpm/typebox@1.3.19/node_modules/typebox/build/value/value.mjs
8823
8845
  var value_exports = {};
8824
8846
  __export(value_exports, {
8825
8847
  Assert: () => Assert,
@@ -9466,7 +9488,7 @@ var McpAuthStore = class {
9466
9488
  import { execFile as execFileCallback } from "node:child_process";
9467
9489
  import { randomBytes, timingSafeEqual } from "node:crypto";
9468
9490
  import { createServer } from "node:http";
9469
- import { auth, resourceUrlFromServerUrl } from "@modelcontextprotocol/client";
9491
+ import { auth, checkResourceAllowed, resourceUrlFromServerUrl } from "@modelcontextprotocol/client";
9470
9492
  var McpOAuthPersistenceError = class extends Error {
9471
9493
  constructor(operation) {
9472
9494
  super(`MCP OAuth persistence failed during ${operation}`);
@@ -9681,7 +9703,10 @@ var McpOAuthProvider = class {
9681
9703
  return void 0;
9682
9704
  }
9683
9705
  const resource = discovery.protectedResourceMetadata?.resource;
9684
- if (resource !== void 0 && (typeof resource !== "string" || !URL.canParse(resource) || new URL(resource).href !== resourceUrlFromServerUrl(this.options.serverUrl).href)) {
9706
+ if (resource !== void 0 && (typeof resource !== "string" || !URL.canParse(resource) || !checkResourceAllowed({
9707
+ configuredResource: resource,
9708
+ requestedResource: resourceUrlFromServerUrl(this.options.serverUrl)
9709
+ }))) {
9685
9710
  return void 0;
9686
9711
  }
9687
9712
  const resourceMetadataUrl = discovery.resourceMetadataUrl;