meshy-node 0.0.1 → 0.0.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.
- package/README.md +1 -1
- package/{main.js → main.cjs} +912 -819
- package/package.json +6 -6
package/{main.js → main.cjs}
RENAMED
|
@@ -1,16 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
1
3
|
var __create = Object.create;
|
|
2
4
|
var __defProp = Object.defineProperty;
|
|
3
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var
|
|
8
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
9
|
-
}) : x)(function(x) {
|
|
10
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
11
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
12
|
-
});
|
|
13
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
9
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
14
10
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
11
|
};
|
|
16
12
|
var __export = (target, all) => {
|
|
@@ -33,10 +29,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
29
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
34
30
|
mod
|
|
35
31
|
));
|
|
32
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
36
33
|
|
|
37
34
|
// ../../node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.js
|
|
38
35
|
var require_eventemitter3 = __commonJS({
|
|
39
|
-
"../../node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.js"(
|
|
36
|
+
"../../node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.js"(exports2, module2) {
|
|
40
37
|
"use strict";
|
|
41
38
|
var has = Object.prototype.hasOwnProperty;
|
|
42
39
|
var prefix = "~";
|
|
@@ -190,18 +187,18 @@ var require_eventemitter3 = __commonJS({
|
|
|
190
187
|
EventEmitter2.prototype.addListener = EventEmitter2.prototype.on;
|
|
191
188
|
EventEmitter2.prefixed = prefix;
|
|
192
189
|
EventEmitter2.EventEmitter = EventEmitter2;
|
|
193
|
-
if ("undefined" !== typeof
|
|
194
|
-
|
|
190
|
+
if ("undefined" !== typeof module2) {
|
|
191
|
+
module2.exports = EventEmitter2;
|
|
195
192
|
}
|
|
196
193
|
}
|
|
197
194
|
});
|
|
198
195
|
|
|
199
196
|
// ../../node_modules/.pnpm/depd@2.0.0/node_modules/depd/index.js
|
|
200
197
|
var require_depd = __commonJS({
|
|
201
|
-
"../../node_modules/.pnpm/depd@2.0.0/node_modules/depd/index.js"(
|
|
198
|
+
"../../node_modules/.pnpm/depd@2.0.0/node_modules/depd/index.js"(exports2, module2) {
|
|
202
199
|
"use strict";
|
|
203
|
-
var relative2 =
|
|
204
|
-
|
|
200
|
+
var relative2 = require("path").relative;
|
|
201
|
+
module2.exports = depd;
|
|
205
202
|
var basePath = process.cwd();
|
|
206
203
|
function containsNamespace(str, namespace) {
|
|
207
204
|
var vals = str.split(/[ ,]+/);
|
|
@@ -505,11 +502,11 @@ var require_depd = __commonJS({
|
|
|
505
502
|
|
|
506
503
|
// ../../node_modules/.pnpm/bytes@3.1.2/node_modules/bytes/index.js
|
|
507
504
|
var require_bytes = __commonJS({
|
|
508
|
-
"../../node_modules/.pnpm/bytes@3.1.2/node_modules/bytes/index.js"(
|
|
505
|
+
"../../node_modules/.pnpm/bytes@3.1.2/node_modules/bytes/index.js"(exports2, module2) {
|
|
509
506
|
"use strict";
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
507
|
+
module2.exports = bytes;
|
|
508
|
+
module2.exports.format = format;
|
|
509
|
+
module2.exports.parse = parse;
|
|
513
510
|
var formatThousandsRegExp = /\B(?=(\d{3})+(?!\d))/g;
|
|
514
511
|
var formatDecimalsRegExp = /(?:\.0*|(\.[^0]+)0+)$/;
|
|
515
512
|
var map = {
|
|
@@ -594,7 +591,7 @@ var require_bytes = __commonJS({
|
|
|
594
591
|
|
|
595
592
|
// ../../node_modules/.pnpm/content-type@1.0.5/node_modules/content-type/index.js
|
|
596
593
|
var require_content_type = __commonJS({
|
|
597
|
-
"../../node_modules/.pnpm/content-type@1.0.5/node_modules/content-type/index.js"(
|
|
594
|
+
"../../node_modules/.pnpm/content-type@1.0.5/node_modules/content-type/index.js"(exports2) {
|
|
598
595
|
"use strict";
|
|
599
596
|
var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g;
|
|
600
597
|
var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/;
|
|
@@ -602,8 +599,8 @@ var require_content_type = __commonJS({
|
|
|
602
599
|
var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g;
|
|
603
600
|
var QUOTE_REGEXP = /([\\"])/g;
|
|
604
601
|
var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
|
605
|
-
|
|
606
|
-
|
|
602
|
+
exports2.format = format;
|
|
603
|
+
exports2.parse = parse;
|
|
607
604
|
function format(obj) {
|
|
608
605
|
if (!obj || typeof obj !== "object") {
|
|
609
606
|
throw new TypeError("argument obj is required");
|
|
@@ -698,9 +695,9 @@ var require_content_type = __commonJS({
|
|
|
698
695
|
|
|
699
696
|
// ../../node_modules/.pnpm/setprototypeof@1.2.0/node_modules/setprototypeof/index.js
|
|
700
697
|
var require_setprototypeof = __commonJS({
|
|
701
|
-
"../../node_modules/.pnpm/setprototypeof@1.2.0/node_modules/setprototypeof/index.js"(
|
|
698
|
+
"../../node_modules/.pnpm/setprototypeof@1.2.0/node_modules/setprototypeof/index.js"(exports2, module2) {
|
|
702
699
|
"use strict";
|
|
703
|
-
|
|
700
|
+
module2.exports = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties);
|
|
704
701
|
function setProtoOf(obj, proto) {
|
|
705
702
|
obj.__proto__ = proto;
|
|
706
703
|
return obj;
|
|
@@ -718,8 +715,8 @@ var require_setprototypeof = __commonJS({
|
|
|
718
715
|
|
|
719
716
|
// ../../node_modules/.pnpm/statuses@2.0.2/node_modules/statuses/codes.json
|
|
720
717
|
var require_codes = __commonJS({
|
|
721
|
-
"../../node_modules/.pnpm/statuses@2.0.2/node_modules/statuses/codes.json"(
|
|
722
|
-
|
|
718
|
+
"../../node_modules/.pnpm/statuses@2.0.2/node_modules/statuses/codes.json"(exports2, module2) {
|
|
719
|
+
module2.exports = {
|
|
723
720
|
"100": "Continue",
|
|
724
721
|
"101": "Switching Protocols",
|
|
725
722
|
"102": "Processing",
|
|
@@ -789,10 +786,10 @@ var require_codes = __commonJS({
|
|
|
789
786
|
|
|
790
787
|
// ../../node_modules/.pnpm/statuses@2.0.2/node_modules/statuses/index.js
|
|
791
788
|
var require_statuses = __commonJS({
|
|
792
|
-
"../../node_modules/.pnpm/statuses@2.0.2/node_modules/statuses/index.js"(
|
|
789
|
+
"../../node_modules/.pnpm/statuses@2.0.2/node_modules/statuses/index.js"(exports2, module2) {
|
|
793
790
|
"use strict";
|
|
794
791
|
var codes = require_codes();
|
|
795
|
-
|
|
792
|
+
module2.exports = status;
|
|
796
793
|
status.message = codes;
|
|
797
794
|
status.code = createMessageToStatusCodeMap(codes);
|
|
798
795
|
status.codes = createStatusCodeList(codes);
|
|
@@ -860,10 +857,10 @@ var require_statuses = __commonJS({
|
|
|
860
857
|
|
|
861
858
|
// ../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js
|
|
862
859
|
var require_inherits_browser = __commonJS({
|
|
863
|
-
"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(
|
|
860
|
+
"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(exports2, module2) {
|
|
864
861
|
"use strict";
|
|
865
862
|
if (typeof Object.create === "function") {
|
|
866
|
-
|
|
863
|
+
module2.exports = function inherits(ctor, superCtor) {
|
|
867
864
|
if (superCtor) {
|
|
868
865
|
ctor.super_ = superCtor;
|
|
869
866
|
ctor.prototype = Object.create(superCtor.prototype, {
|
|
@@ -877,7 +874,7 @@ var require_inherits_browser = __commonJS({
|
|
|
877
874
|
}
|
|
878
875
|
};
|
|
879
876
|
} else {
|
|
880
|
-
|
|
877
|
+
module2.exports = function inherits(ctor, superCtor) {
|
|
881
878
|
if (superCtor) {
|
|
882
879
|
ctor.super_ = superCtor;
|
|
883
880
|
var TempCtor = function() {
|
|
@@ -893,14 +890,14 @@ var require_inherits_browser = __commonJS({
|
|
|
893
890
|
|
|
894
891
|
// ../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js
|
|
895
892
|
var require_inherits = __commonJS({
|
|
896
|
-
"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"(
|
|
893
|
+
"../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"(exports2, module2) {
|
|
897
894
|
"use strict";
|
|
898
895
|
try {
|
|
899
|
-
util2 =
|
|
896
|
+
util2 = require("util");
|
|
900
897
|
if (typeof util2.inherits !== "function") throw "";
|
|
901
|
-
|
|
898
|
+
module2.exports = util2.inherits;
|
|
902
899
|
} catch (e) {
|
|
903
|
-
|
|
900
|
+
module2.exports = require_inherits_browser();
|
|
904
901
|
}
|
|
905
902
|
var util2;
|
|
906
903
|
}
|
|
@@ -908,9 +905,9 @@ var require_inherits = __commonJS({
|
|
|
908
905
|
|
|
909
906
|
// ../../node_modules/.pnpm/toidentifier@1.0.1/node_modules/toidentifier/index.js
|
|
910
907
|
var require_toidentifier = __commonJS({
|
|
911
|
-
"../../node_modules/.pnpm/toidentifier@1.0.1/node_modules/toidentifier/index.js"(
|
|
908
|
+
"../../node_modules/.pnpm/toidentifier@1.0.1/node_modules/toidentifier/index.js"(exports2, module2) {
|
|
912
909
|
"use strict";
|
|
913
|
-
|
|
910
|
+
module2.exports = toIdentifier;
|
|
914
911
|
function toIdentifier(str) {
|
|
915
912
|
return str.split(" ").map(function(token) {
|
|
916
913
|
return token.slice(0, 1).toUpperCase() + token.slice(1);
|
|
@@ -921,17 +918,17 @@ var require_toidentifier = __commonJS({
|
|
|
921
918
|
|
|
922
919
|
// ../../node_modules/.pnpm/http-errors@2.0.1/node_modules/http-errors/index.js
|
|
923
920
|
var require_http_errors = __commonJS({
|
|
924
|
-
"../../node_modules/.pnpm/http-errors@2.0.1/node_modules/http-errors/index.js"(
|
|
921
|
+
"../../node_modules/.pnpm/http-errors@2.0.1/node_modules/http-errors/index.js"(exports2, module2) {
|
|
925
922
|
"use strict";
|
|
926
923
|
var deprecate = require_depd()("http-errors");
|
|
927
924
|
var setPrototypeOf = require_setprototypeof();
|
|
928
925
|
var statuses = require_statuses();
|
|
929
926
|
var inherits = require_inherits();
|
|
930
927
|
var toIdentifier = require_toidentifier();
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
populateConstructorExports(
|
|
928
|
+
module2.exports = createError;
|
|
929
|
+
module2.exports.HttpError = createHttpErrorConstructor();
|
|
930
|
+
module2.exports.isHttpError = createIsHttpErrorFunction(module2.exports.HttpError);
|
|
931
|
+
populateConstructorExports(module2.exports, statuses.codes, module2.exports.HttpError);
|
|
935
932
|
function codeClass(status) {
|
|
936
933
|
return Number(String(status).charAt(0) + "00");
|
|
937
934
|
}
|
|
@@ -1059,7 +1056,7 @@ var require_http_errors = __commonJS({
|
|
|
1059
1056
|
Object.defineProperty(func, "name", desc);
|
|
1060
1057
|
}
|
|
1061
1058
|
}
|
|
1062
|
-
function populateConstructorExports(
|
|
1059
|
+
function populateConstructorExports(exports3, codes, HttpError) {
|
|
1063
1060
|
codes.forEach(function forEachCode(code) {
|
|
1064
1061
|
var CodeError;
|
|
1065
1062
|
var name = toIdentifier(statuses.message[code]);
|
|
@@ -1072,8 +1069,8 @@ var require_http_errors = __commonJS({
|
|
|
1072
1069
|
break;
|
|
1073
1070
|
}
|
|
1074
1071
|
if (CodeError) {
|
|
1075
|
-
|
|
1076
|
-
|
|
1072
|
+
exports3[code] = CodeError;
|
|
1073
|
+
exports3[name] = CodeError;
|
|
1077
1074
|
}
|
|
1078
1075
|
});
|
|
1079
1076
|
}
|
|
@@ -1085,14 +1082,14 @@ var require_http_errors = __commonJS({
|
|
|
1085
1082
|
|
|
1086
1083
|
// ../../node_modules/.pnpm/ms@2.0.0/node_modules/ms/index.js
|
|
1087
1084
|
var require_ms = __commonJS({
|
|
1088
|
-
"../../node_modules/.pnpm/ms@2.0.0/node_modules/ms/index.js"(
|
|
1085
|
+
"../../node_modules/.pnpm/ms@2.0.0/node_modules/ms/index.js"(exports2, module2) {
|
|
1089
1086
|
"use strict";
|
|
1090
1087
|
var s = 1e3;
|
|
1091
1088
|
var m = s * 60;
|
|
1092
1089
|
var h = m * 60;
|
|
1093
1090
|
var d = h * 24;
|
|
1094
1091
|
var y = d * 365.25;
|
|
1095
|
-
|
|
1092
|
+
module2.exports = function(val, options) {
|
|
1096
1093
|
options = options || {};
|
|
1097
1094
|
var type = typeof val;
|
|
1098
1095
|
if (type === "string" && val.length > 0) {
|
|
@@ -1188,17 +1185,17 @@ var require_ms = __commonJS({
|
|
|
1188
1185
|
|
|
1189
1186
|
// ../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/debug.js
|
|
1190
1187
|
var require_debug = __commonJS({
|
|
1191
|
-
"../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/debug.js"(
|
|
1188
|
+
"../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/debug.js"(exports2, module2) {
|
|
1192
1189
|
"use strict";
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1190
|
+
exports2 = module2.exports = createDebug.debug = createDebug["default"] = createDebug;
|
|
1191
|
+
exports2.coerce = coerce2;
|
|
1192
|
+
exports2.disable = disable;
|
|
1193
|
+
exports2.enable = enable;
|
|
1194
|
+
exports2.enabled = enabled;
|
|
1195
|
+
exports2.humanize = require_ms();
|
|
1196
|
+
exports2.names = [];
|
|
1197
|
+
exports2.skips = [];
|
|
1198
|
+
exports2.formatters = {};
|
|
1202
1199
|
var prevTime;
|
|
1203
1200
|
function selectColor(namespace) {
|
|
1204
1201
|
var hash = 0, i;
|
|
@@ -1206,7 +1203,7 @@ var require_debug = __commonJS({
|
|
|
1206
1203
|
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
1207
1204
|
hash |= 0;
|
|
1208
1205
|
}
|
|
1209
|
-
return
|
|
1206
|
+
return exports2.colors[Math.abs(hash) % exports2.colors.length];
|
|
1210
1207
|
}
|
|
1211
1208
|
function createDebug(namespace) {
|
|
1212
1209
|
function debug() {
|
|
@@ -1222,7 +1219,7 @@ var require_debug = __commonJS({
|
|
|
1222
1219
|
for (var i = 0; i < args.length; i++) {
|
|
1223
1220
|
args[i] = arguments[i];
|
|
1224
1221
|
}
|
|
1225
|
-
args[0] =
|
|
1222
|
+
args[0] = exports2.coerce(args[0]);
|
|
1226
1223
|
if ("string" !== typeof args[0]) {
|
|
1227
1224
|
args.unshift("%O");
|
|
1228
1225
|
}
|
|
@@ -1230,7 +1227,7 @@ var require_debug = __commonJS({
|
|
|
1230
1227
|
args[0] = args[0].replace(/%([a-zA-Z%])/g, function(match, format) {
|
|
1231
1228
|
if (match === "%%") return match;
|
|
1232
1229
|
index++;
|
|
1233
|
-
var formatter =
|
|
1230
|
+
var formatter = exports2.formatters[format];
|
|
1234
1231
|
if ("function" === typeof formatter) {
|
|
1235
1232
|
var val = args[index];
|
|
1236
1233
|
match = formatter.call(self, val);
|
|
@@ -1239,47 +1236,47 @@ var require_debug = __commonJS({
|
|
|
1239
1236
|
}
|
|
1240
1237
|
return match;
|
|
1241
1238
|
});
|
|
1242
|
-
|
|
1243
|
-
var logFn = debug.log ||
|
|
1239
|
+
exports2.formatArgs.call(self, args);
|
|
1240
|
+
var logFn = debug.log || exports2.log || console.log.bind(console);
|
|
1244
1241
|
logFn.apply(self, args);
|
|
1245
1242
|
}
|
|
1246
1243
|
debug.namespace = namespace;
|
|
1247
|
-
debug.enabled =
|
|
1248
|
-
debug.useColors =
|
|
1244
|
+
debug.enabled = exports2.enabled(namespace);
|
|
1245
|
+
debug.useColors = exports2.useColors();
|
|
1249
1246
|
debug.color = selectColor(namespace);
|
|
1250
|
-
if ("function" === typeof
|
|
1251
|
-
|
|
1247
|
+
if ("function" === typeof exports2.init) {
|
|
1248
|
+
exports2.init(debug);
|
|
1252
1249
|
}
|
|
1253
1250
|
return debug;
|
|
1254
1251
|
}
|
|
1255
1252
|
function enable(namespaces) {
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1253
|
+
exports2.save(namespaces);
|
|
1254
|
+
exports2.names = [];
|
|
1255
|
+
exports2.skips = [];
|
|
1259
1256
|
var split = (typeof namespaces === "string" ? namespaces : "").split(/[\s,]+/);
|
|
1260
1257
|
var len = split.length;
|
|
1261
1258
|
for (var i = 0; i < len; i++) {
|
|
1262
1259
|
if (!split[i]) continue;
|
|
1263
1260
|
namespaces = split[i].replace(/\*/g, ".*?");
|
|
1264
1261
|
if (namespaces[0] === "-") {
|
|
1265
|
-
|
|
1262
|
+
exports2.skips.push(new RegExp("^" + namespaces.substr(1) + "$"));
|
|
1266
1263
|
} else {
|
|
1267
|
-
|
|
1264
|
+
exports2.names.push(new RegExp("^" + namespaces + "$"));
|
|
1268
1265
|
}
|
|
1269
1266
|
}
|
|
1270
1267
|
}
|
|
1271
1268
|
function disable() {
|
|
1272
|
-
|
|
1269
|
+
exports2.enable("");
|
|
1273
1270
|
}
|
|
1274
1271
|
function enabled(name) {
|
|
1275
1272
|
var i, len;
|
|
1276
|
-
for (i = 0, len =
|
|
1277
|
-
if (
|
|
1273
|
+
for (i = 0, len = exports2.skips.length; i < len; i++) {
|
|
1274
|
+
if (exports2.skips[i].test(name)) {
|
|
1278
1275
|
return false;
|
|
1279
1276
|
}
|
|
1280
1277
|
}
|
|
1281
|
-
for (i = 0, len =
|
|
1282
|
-
if (
|
|
1278
|
+
for (i = 0, len = exports2.names.length; i < len; i++) {
|
|
1279
|
+
if (exports2.names[i].test(name)) {
|
|
1283
1280
|
return true;
|
|
1284
1281
|
}
|
|
1285
1282
|
}
|
|
@@ -1294,16 +1291,16 @@ var require_debug = __commonJS({
|
|
|
1294
1291
|
|
|
1295
1292
|
// ../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/browser.js
|
|
1296
1293
|
var require_browser = __commonJS({
|
|
1297
|
-
"../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/browser.js"(
|
|
1294
|
+
"../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/browser.js"(exports2, module2) {
|
|
1298
1295
|
"use strict";
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1296
|
+
exports2 = module2.exports = require_debug();
|
|
1297
|
+
exports2.log = log;
|
|
1298
|
+
exports2.formatArgs = formatArgs;
|
|
1299
|
+
exports2.save = save;
|
|
1300
|
+
exports2.load = load;
|
|
1301
|
+
exports2.useColors = useColors;
|
|
1302
|
+
exports2.storage = "undefined" != typeof chrome && "undefined" != typeof chrome.storage ? chrome.storage.local : localstorage();
|
|
1303
|
+
exports2.colors = [
|
|
1307
1304
|
"lightseagreen",
|
|
1308
1305
|
"forestgreen",
|
|
1309
1306
|
"goldenrod",
|
|
@@ -1321,7 +1318,7 @@ var require_browser = __commonJS({
|
|
|
1321
1318
|
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || // double check webkit in userAgent just in case we are in a worker
|
|
1322
1319
|
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
1323
1320
|
}
|
|
1324
|
-
|
|
1321
|
+
exports2.formatters.j = function(v) {
|
|
1325
1322
|
try {
|
|
1326
1323
|
return JSON.stringify(v);
|
|
1327
1324
|
} catch (err) {
|
|
@@ -1330,7 +1327,7 @@ var require_browser = __commonJS({
|
|
|
1330
1327
|
};
|
|
1331
1328
|
function formatArgs(args) {
|
|
1332
1329
|
var useColors2 = this.useColors;
|
|
1333
|
-
args[0] = (useColors2 ? "%c" : "") + this.namespace + (useColors2 ? " %c" : " ") + args[0] + (useColors2 ? "%c " : " ") + "+" +
|
|
1330
|
+
args[0] = (useColors2 ? "%c" : "") + this.namespace + (useColors2 ? " %c" : " ") + args[0] + (useColors2 ? "%c " : " ") + "+" + exports2.humanize(this.diff);
|
|
1334
1331
|
if (!useColors2) return;
|
|
1335
1332
|
var c = "color: " + this.color;
|
|
1336
1333
|
args.splice(1, 0, c, "color: inherit");
|
|
@@ -1351,9 +1348,9 @@ var require_browser = __commonJS({
|
|
|
1351
1348
|
function save(namespaces) {
|
|
1352
1349
|
try {
|
|
1353
1350
|
if (null == namespaces) {
|
|
1354
|
-
|
|
1351
|
+
exports2.storage.removeItem("debug");
|
|
1355
1352
|
} else {
|
|
1356
|
-
|
|
1353
|
+
exports2.storage.debug = namespaces;
|
|
1357
1354
|
}
|
|
1358
1355
|
} catch (e) {
|
|
1359
1356
|
}
|
|
@@ -1361,7 +1358,7 @@ var require_browser = __commonJS({
|
|
|
1361
1358
|
function load() {
|
|
1362
1359
|
var r;
|
|
1363
1360
|
try {
|
|
1364
|
-
r =
|
|
1361
|
+
r = exports2.storage.debug;
|
|
1365
1362
|
} catch (e) {
|
|
1366
1363
|
}
|
|
1367
1364
|
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
@@ -1369,7 +1366,7 @@ var require_browser = __commonJS({
|
|
|
1369
1366
|
}
|
|
1370
1367
|
return r;
|
|
1371
1368
|
}
|
|
1372
|
-
|
|
1369
|
+
exports2.enable(load());
|
|
1373
1370
|
function localstorage() {
|
|
1374
1371
|
try {
|
|
1375
1372
|
return window.localStorage;
|
|
@@ -1381,19 +1378,19 @@ var require_browser = __commonJS({
|
|
|
1381
1378
|
|
|
1382
1379
|
// ../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/node.js
|
|
1383
1380
|
var require_node = __commonJS({
|
|
1384
|
-
"../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/node.js"(
|
|
1381
|
+
"../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/node.js"(exports2, module2) {
|
|
1385
1382
|
"use strict";
|
|
1386
|
-
var tty =
|
|
1387
|
-
var util2 =
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1383
|
+
var tty = require("tty");
|
|
1384
|
+
var util2 = require("util");
|
|
1385
|
+
exports2 = module2.exports = require_debug();
|
|
1386
|
+
exports2.init = init;
|
|
1387
|
+
exports2.log = log;
|
|
1388
|
+
exports2.formatArgs = formatArgs;
|
|
1389
|
+
exports2.save = save;
|
|
1390
|
+
exports2.load = load;
|
|
1391
|
+
exports2.useColors = useColors;
|
|
1392
|
+
exports2.colors = [6, 2, 3, 4, 5, 1];
|
|
1393
|
+
exports2.inspectOpts = Object.keys(process.env).filter(function(key) {
|
|
1397
1394
|
return /^debug_/i.test(key);
|
|
1398
1395
|
}).reduce(function(obj, key) {
|
|
1399
1396
|
var prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, function(_, k) {
|
|
@@ -1414,15 +1411,15 @@ var require_node = __commonJS({
|
|
|
1414
1411
|
}
|
|
1415
1412
|
var stream = 1 === fd ? process.stdout : 2 === fd ? process.stderr : createWritableStdioStream(fd);
|
|
1416
1413
|
function useColors() {
|
|
1417
|
-
return "colors" in
|
|
1414
|
+
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty.isatty(fd);
|
|
1418
1415
|
}
|
|
1419
|
-
|
|
1416
|
+
exports2.formatters.o = function(v) {
|
|
1420
1417
|
this.inspectOpts.colors = this.useColors;
|
|
1421
1418
|
return util2.inspect(v, this.inspectOpts).split("\n").map(function(str) {
|
|
1422
1419
|
return str.trim();
|
|
1423
1420
|
}).join(" ");
|
|
1424
1421
|
};
|
|
1425
|
-
|
|
1422
|
+
exports2.formatters.O = function(v) {
|
|
1426
1423
|
this.inspectOpts.colors = this.useColors;
|
|
1427
1424
|
return util2.inspect(v, this.inspectOpts);
|
|
1428
1425
|
};
|
|
@@ -1433,7 +1430,7 @@ var require_node = __commonJS({
|
|
|
1433
1430
|
var c = this.color;
|
|
1434
1431
|
var prefix = " \x1B[3" + c + ";1m" + name + " \x1B[0m";
|
|
1435
1432
|
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
1436
|
-
args.push("\x1B[3" + c + "m+" +
|
|
1433
|
+
args.push("\x1B[3" + c + "m+" + exports2.humanize(this.diff) + "\x1B[0m");
|
|
1437
1434
|
} else {
|
|
1438
1435
|
args[0] = (/* @__PURE__ */ new Date()).toUTCString() + " " + name + " " + args[0];
|
|
1439
1436
|
}
|
|
@@ -1463,13 +1460,13 @@ var require_node = __commonJS({
|
|
|
1463
1460
|
}
|
|
1464
1461
|
break;
|
|
1465
1462
|
case "FILE":
|
|
1466
|
-
var
|
|
1467
|
-
stream2 = new
|
|
1463
|
+
var fs17 = require("fs");
|
|
1464
|
+
stream2 = new fs17.SyncWriteStream(fd2, { autoClose: false });
|
|
1468
1465
|
stream2._type = "fs";
|
|
1469
1466
|
break;
|
|
1470
1467
|
case "PIPE":
|
|
1471
1468
|
case "TCP":
|
|
1472
|
-
var net =
|
|
1469
|
+
var net = require("net");
|
|
1473
1470
|
stream2 = new net.Socket({
|
|
1474
1471
|
fd: fd2,
|
|
1475
1472
|
readable: false,
|
|
@@ -1491,36 +1488,36 @@ var require_node = __commonJS({
|
|
|
1491
1488
|
}
|
|
1492
1489
|
function init(debug) {
|
|
1493
1490
|
debug.inspectOpts = {};
|
|
1494
|
-
var keys = Object.keys(
|
|
1491
|
+
var keys = Object.keys(exports2.inspectOpts);
|
|
1495
1492
|
for (var i = 0; i < keys.length; i++) {
|
|
1496
|
-
debug.inspectOpts[keys[i]] =
|
|
1493
|
+
debug.inspectOpts[keys[i]] = exports2.inspectOpts[keys[i]];
|
|
1497
1494
|
}
|
|
1498
1495
|
}
|
|
1499
|
-
|
|
1496
|
+
exports2.enable(load());
|
|
1500
1497
|
}
|
|
1501
1498
|
});
|
|
1502
1499
|
|
|
1503
1500
|
// ../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/index.js
|
|
1504
1501
|
var require_src = __commonJS({
|
|
1505
|
-
"../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/index.js"(
|
|
1502
|
+
"../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/index.js"(exports2, module2) {
|
|
1506
1503
|
"use strict";
|
|
1507
1504
|
if (typeof process !== "undefined" && process.type === "renderer") {
|
|
1508
|
-
|
|
1505
|
+
module2.exports = require_browser();
|
|
1509
1506
|
} else {
|
|
1510
|
-
|
|
1507
|
+
module2.exports = require_node();
|
|
1511
1508
|
}
|
|
1512
1509
|
}
|
|
1513
1510
|
});
|
|
1514
1511
|
|
|
1515
1512
|
// ../../node_modules/.pnpm/destroy@1.2.0/node_modules/destroy/index.js
|
|
1516
1513
|
var require_destroy = __commonJS({
|
|
1517
|
-
"../../node_modules/.pnpm/destroy@1.2.0/node_modules/destroy/index.js"(
|
|
1514
|
+
"../../node_modules/.pnpm/destroy@1.2.0/node_modules/destroy/index.js"(exports2, module2) {
|
|
1518
1515
|
"use strict";
|
|
1519
|
-
var EventEmitter2 =
|
|
1520
|
-
var ReadStream =
|
|
1521
|
-
var Stream =
|
|
1522
|
-
var Zlib =
|
|
1523
|
-
|
|
1516
|
+
var EventEmitter2 = require("events").EventEmitter;
|
|
1517
|
+
var ReadStream = require("fs").ReadStream;
|
|
1518
|
+
var Stream = require("stream");
|
|
1519
|
+
var Zlib = require("zlib");
|
|
1520
|
+
module2.exports = destroy;
|
|
1524
1521
|
function destroy(stream, suppress) {
|
|
1525
1522
|
if (isFsReadStream(stream)) {
|
|
1526
1523
|
destroyReadStream(stream);
|
|
@@ -1601,9 +1598,9 @@ var require_destroy = __commonJS({
|
|
|
1601
1598
|
|
|
1602
1599
|
// ../../node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.js
|
|
1603
1600
|
var require_safer = __commonJS({
|
|
1604
|
-
"../../node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.js"(
|
|
1601
|
+
"../../node_modules/.pnpm/safer-buffer@2.1.2/node_modules/safer-buffer/safer.js"(exports2, module2) {
|
|
1605
1602
|
"use strict";
|
|
1606
|
-
var buffer =
|
|
1603
|
+
var buffer = require("buffer");
|
|
1607
1604
|
var Buffer2 = buffer.Buffer;
|
|
1608
1605
|
var safer = {};
|
|
1609
1606
|
var key;
|
|
@@ -1663,16 +1660,16 @@ var require_safer = __commonJS({
|
|
|
1663
1660
|
safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength;
|
|
1664
1661
|
}
|
|
1665
1662
|
}
|
|
1666
|
-
|
|
1663
|
+
module2.exports = safer;
|
|
1667
1664
|
}
|
|
1668
1665
|
});
|
|
1669
1666
|
|
|
1670
1667
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/bom-handling.js
|
|
1671
1668
|
var require_bom_handling = __commonJS({
|
|
1672
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/bom-handling.js"(
|
|
1669
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/bom-handling.js"(exports2) {
|
|
1673
1670
|
"use strict";
|
|
1674
1671
|
var BOMChar = "\uFEFF";
|
|
1675
|
-
|
|
1672
|
+
exports2.PrependBOM = PrependBOMWrapper;
|
|
1676
1673
|
function PrependBOMWrapper(encoder, options) {
|
|
1677
1674
|
this.encoder = encoder;
|
|
1678
1675
|
this.addBOM = true;
|
|
@@ -1687,7 +1684,7 @@ var require_bom_handling = __commonJS({
|
|
|
1687
1684
|
PrependBOMWrapper.prototype.end = function() {
|
|
1688
1685
|
return this.encoder.end();
|
|
1689
1686
|
};
|
|
1690
|
-
|
|
1687
|
+
exports2.StripBOM = StripBOMWrapper;
|
|
1691
1688
|
function StripBOMWrapper(decoder, options) {
|
|
1692
1689
|
this.decoder = decoder;
|
|
1693
1690
|
this.pass = false;
|
|
@@ -1713,10 +1710,10 @@ var require_bom_handling = __commonJS({
|
|
|
1713
1710
|
|
|
1714
1711
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/internal.js
|
|
1715
1712
|
var require_internal = __commonJS({
|
|
1716
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/internal.js"(
|
|
1713
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/internal.js"(exports2, module2) {
|
|
1717
1714
|
"use strict";
|
|
1718
1715
|
var Buffer2 = require_safer().Buffer;
|
|
1719
|
-
|
|
1716
|
+
module2.exports = {
|
|
1720
1717
|
// Encodings
|
|
1721
1718
|
utf8: { type: "_internal", bomAware: true },
|
|
1722
1719
|
cesu8: { type: "_internal", bomAware: true },
|
|
@@ -1745,7 +1742,7 @@ var require_internal = __commonJS({
|
|
|
1745
1742
|
}
|
|
1746
1743
|
InternalCodec.prototype.encoder = InternalEncoder;
|
|
1747
1744
|
InternalCodec.prototype.decoder = InternalDecoder;
|
|
1748
|
-
var StringDecoder =
|
|
1745
|
+
var StringDecoder = require("string_decoder").StringDecoder;
|
|
1749
1746
|
if (!StringDecoder.prototype.end)
|
|
1750
1747
|
StringDecoder.prototype.end = function() {
|
|
1751
1748
|
};
|
|
@@ -1857,10 +1854,10 @@ var require_internal = __commonJS({
|
|
|
1857
1854
|
|
|
1858
1855
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/utf16.js
|
|
1859
1856
|
var require_utf16 = __commonJS({
|
|
1860
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/utf16.js"(
|
|
1857
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/utf16.js"(exports2) {
|
|
1861
1858
|
"use strict";
|
|
1862
1859
|
var Buffer2 = require_safer().Buffer;
|
|
1863
|
-
|
|
1860
|
+
exports2.utf16be = Utf16BECodec;
|
|
1864
1861
|
function Utf16BECodec() {
|
|
1865
1862
|
}
|
|
1866
1863
|
Utf16BECodec.prototype.encoder = Utf16BEEncoder;
|
|
@@ -1901,7 +1898,7 @@ var require_utf16 = __commonJS({
|
|
|
1901
1898
|
};
|
|
1902
1899
|
Utf16BEDecoder.prototype.end = function() {
|
|
1903
1900
|
};
|
|
1904
|
-
|
|
1901
|
+
exports2.utf16 = Utf16Codec;
|
|
1905
1902
|
function Utf16Codec(codecOptions, iconv) {
|
|
1906
1903
|
this.iconv = iconv;
|
|
1907
1904
|
}
|
|
@@ -1973,11 +1970,11 @@ var require_utf16 = __commonJS({
|
|
|
1973
1970
|
|
|
1974
1971
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/utf7.js
|
|
1975
1972
|
var require_utf7 = __commonJS({
|
|
1976
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/utf7.js"(
|
|
1973
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/utf7.js"(exports2) {
|
|
1977
1974
|
"use strict";
|
|
1978
1975
|
var Buffer2 = require_safer().Buffer;
|
|
1979
|
-
|
|
1980
|
-
|
|
1976
|
+
exports2.utf7 = Utf7Codec;
|
|
1977
|
+
exports2.unicode11utf7 = "utf7";
|
|
1981
1978
|
function Utf7Codec(codecOptions, iconv) {
|
|
1982
1979
|
this.iconv = iconv;
|
|
1983
1980
|
}
|
|
@@ -2054,7 +2051,7 @@ var require_utf7 = __commonJS({
|
|
|
2054
2051
|
this.base64Accum = "";
|
|
2055
2052
|
return res;
|
|
2056
2053
|
};
|
|
2057
|
-
|
|
2054
|
+
exports2.utf7imap = Utf7IMAPCodec;
|
|
2058
2055
|
function Utf7IMAPCodec(codecOptions, iconv) {
|
|
2059
2056
|
this.iconv = iconv;
|
|
2060
2057
|
}
|
|
@@ -2174,10 +2171,10 @@ var require_utf7 = __commonJS({
|
|
|
2174
2171
|
|
|
2175
2172
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/sbcs-codec.js
|
|
2176
2173
|
var require_sbcs_codec = __commonJS({
|
|
2177
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/sbcs-codec.js"(
|
|
2174
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/sbcs-codec.js"(exports2) {
|
|
2178
2175
|
"use strict";
|
|
2179
2176
|
var Buffer2 = require_safer().Buffer;
|
|
2180
|
-
|
|
2177
|
+
exports2._sbcs = SBCSCodec;
|
|
2181
2178
|
function SBCSCodec(codecOptions, iconv) {
|
|
2182
2179
|
if (!codecOptions)
|
|
2183
2180
|
throw new Error("SBCS codec is called without the data.");
|
|
@@ -2230,9 +2227,9 @@ var require_sbcs_codec = __commonJS({
|
|
|
2230
2227
|
|
|
2231
2228
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/sbcs-data.js
|
|
2232
2229
|
var require_sbcs_data = __commonJS({
|
|
2233
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/sbcs-data.js"(
|
|
2230
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/sbcs-data.js"(exports2, module2) {
|
|
2234
2231
|
"use strict";
|
|
2235
|
-
|
|
2232
|
+
module2.exports = {
|
|
2236
2233
|
// Not supported by iconv, not sure why.
|
|
2237
2234
|
"10029": "maccenteuro",
|
|
2238
2235
|
"maccenteuro": {
|
|
@@ -2379,9 +2376,9 @@ var require_sbcs_data = __commonJS({
|
|
|
2379
2376
|
|
|
2380
2377
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/sbcs-data-generated.js
|
|
2381
2378
|
var require_sbcs_data_generated = __commonJS({
|
|
2382
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/sbcs-data-generated.js"(
|
|
2379
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/sbcs-data-generated.js"(exports2, module2) {
|
|
2383
2380
|
"use strict";
|
|
2384
|
-
|
|
2381
|
+
module2.exports = {
|
|
2385
2382
|
"437": "cp437",
|
|
2386
2383
|
"737": "cp737",
|
|
2387
2384
|
"775": "cp775",
|
|
@@ -2834,10 +2831,10 @@ var require_sbcs_data_generated = __commonJS({
|
|
|
2834
2831
|
|
|
2835
2832
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/dbcs-codec.js
|
|
2836
2833
|
var require_dbcs_codec = __commonJS({
|
|
2837
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/dbcs-codec.js"(
|
|
2834
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/dbcs-codec.js"(exports2) {
|
|
2838
2835
|
"use strict";
|
|
2839
2836
|
var Buffer2 = require_safer().Buffer;
|
|
2840
|
-
|
|
2837
|
+
exports2._dbcs = DBCSCodec;
|
|
2841
2838
|
var UNASSIGNED = -1;
|
|
2842
2839
|
var GB18030_CODE = -2;
|
|
2843
2840
|
var SEQ_START = -10;
|
|
@@ -3215,8 +3212,8 @@ var require_dbcs_codec = __commonJS({
|
|
|
3215
3212
|
|
|
3216
3213
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/shiftjis.json
|
|
3217
3214
|
var require_shiftjis = __commonJS({
|
|
3218
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/shiftjis.json"(
|
|
3219
|
-
|
|
3215
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/shiftjis.json"(exports2, module2) {
|
|
3216
|
+
module2.exports = [
|
|
3220
3217
|
["0", "\0", 128],
|
|
3221
3218
|
["a1", "\uFF61", 62],
|
|
3222
3219
|
["8140", "\u3000\u3001\u3002\uFF0C\uFF0E\u30FB\uFF1A\uFF1B\uFF1F\uFF01\u309B\u309C\xB4\uFF40\xA8\uFF3E\uFFE3\uFF3F\u30FD\u30FE\u309D\u309E\u3003\u4EDD\u3005\u3006\u3007\u30FC\u2015\u2010\uFF0F\uFF3C\uFF5E\u2225\uFF5C\u2026\u2025\u2018\u2019\u201C\u201D\uFF08\uFF09\u3014\u3015\uFF3B\uFF3D\uFF5B\uFF5D\u3008", 9, "\uFF0B\uFF0D\xB1\xD7"],
|
|
@@ -3346,8 +3343,8 @@ var require_shiftjis = __commonJS({
|
|
|
3346
3343
|
|
|
3347
3344
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/eucjp.json
|
|
3348
3345
|
var require_eucjp = __commonJS({
|
|
3349
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/eucjp.json"(
|
|
3350
|
-
|
|
3346
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/eucjp.json"(exports2, module2) {
|
|
3347
|
+
module2.exports = [
|
|
3351
3348
|
["0", "\0", 127],
|
|
3352
3349
|
["8ea1", "\uFF61", 62],
|
|
3353
3350
|
["a1a1", "\u3000\u3001\u3002\uFF0C\uFF0E\u30FB\uFF1A\uFF1B\uFF1F\uFF01\u309B\u309C\xB4\uFF40\xA8\uFF3E\uFFE3\uFF3F\u30FD\u30FE\u309D\u309E\u3003\u4EDD\u3005\u3006\u3007\u30FC\u2015\u2010\uFF0F\uFF3C\uFF5E\u2225\uFF5C\u2026\u2025\u2018\u2019\u201C\u201D\uFF08\uFF09\u3014\u3015\uFF3B\uFF3D\uFF5B\uFF5D\u3008", 9, "\uFF0B\uFF0D\xB1\xD7\xF7\uFF1D\u2260\uFF1C\uFF1E\u2266\u2267\u221E\u2234\u2642\u2640\xB0\u2032\u2033\u2103\uFFE5\uFF04\uFFE0\uFFE1\uFF05\uFF03\uFF06\uFF0A\uFF20\xA7\u2606\u2605\u25CB\u25CF\u25CE\u25C7"],
|
|
@@ -3534,8 +3531,8 @@ var require_eucjp = __commonJS({
|
|
|
3534
3531
|
|
|
3535
3532
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/cp936.json
|
|
3536
3533
|
var require_cp936 = __commonJS({
|
|
3537
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/cp936.json"(
|
|
3538
|
-
|
|
3534
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/cp936.json"(exports2, module2) {
|
|
3535
|
+
module2.exports = [
|
|
3539
3536
|
["0", "\0", 127, "\u20AC"],
|
|
3540
3537
|
["8140", "\u4E02\u4E04\u4E05\u4E06\u4E0F\u4E12\u4E17\u4E1F\u4E20\u4E21\u4E23\u4E26\u4E29\u4E2E\u4E2F\u4E31\u4E33\u4E35\u4E37\u4E3C\u4E40\u4E41\u4E42\u4E44\u4E46\u4E4A\u4E51\u4E55\u4E57\u4E5A\u4E5B\u4E62\u4E63\u4E64\u4E65\u4E67\u4E68\u4E6A", 5, "\u4E72\u4E74", 9, "\u4E7F", 6, "\u4E87\u4E8A"],
|
|
3541
3538
|
["8180", "\u4E90\u4E96\u4E97\u4E99\u4E9C\u4E9D\u4E9E\u4EA3\u4EAA\u4EAF\u4EB0\u4EB1\u4EB4\u4EB6\u4EB7\u4EB8\u4EB9\u4EBC\u4EBD\u4EBE\u4EC8\u4ECC\u4ECF\u4ED0\u4ED2\u4EDA\u4EDB\u4EDC\u4EE0\u4EE2\u4EE6\u4EE7\u4EE9\u4EED\u4EEE\u4EEF\u4EF1\u4EF4\u4EF8\u4EF9\u4EFA\u4EFC\u4EFE\u4F00\u4F02", 6, "\u4F0B\u4F0C\u4F12", 4, "\u4F1C\u4F1D\u4F21\u4F23\u4F28\u4F29\u4F2C\u4F2D\u4F2E\u4F31\u4F33\u4F35\u4F37\u4F39\u4F3B\u4F3E", 4, "\u4F44\u4F45\u4F47", 5, "\u4F52\u4F54\u4F56\u4F61\u4F62\u4F66\u4F68\u4F6A\u4F6B\u4F6D\u4F6E\u4F71\u4F72\u4F75\u4F77\u4F78\u4F79\u4F7A\u4F7D\u4F80\u4F81\u4F82\u4F85\u4F86\u4F87\u4F8A\u4F8C\u4F8E\u4F90\u4F92\u4F93\u4F95\u4F96\u4F98\u4F99\u4F9A\u4F9C\u4F9E\u4F9F\u4FA1\u4FA2"],
|
|
@@ -3804,8 +3801,8 @@ var require_cp936 = __commonJS({
|
|
|
3804
3801
|
|
|
3805
3802
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/gbk-added.json
|
|
3806
3803
|
var require_gbk_added = __commonJS({
|
|
3807
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/gbk-added.json"(
|
|
3808
|
-
|
|
3804
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/gbk-added.json"(exports2, module2) {
|
|
3805
|
+
module2.exports = [
|
|
3809
3806
|
["a140", "\uE4C6", 62],
|
|
3810
3807
|
["a180", "\uE505", 32],
|
|
3811
3808
|
["a240", "\uE526", 62],
|
|
@@ -3865,15 +3862,15 @@ var require_gbk_added = __commonJS({
|
|
|
3865
3862
|
|
|
3866
3863
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json
|
|
3867
3864
|
var require_gb18030_ranges = __commonJS({
|
|
3868
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json"(
|
|
3869
|
-
|
|
3865
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json"(exports2, module2) {
|
|
3866
|
+
module2.exports = { uChars: [128, 165, 169, 178, 184, 216, 226, 235, 238, 244, 248, 251, 253, 258, 276, 284, 300, 325, 329, 334, 364, 463, 465, 467, 469, 471, 473, 475, 477, 506, 594, 610, 712, 716, 730, 930, 938, 962, 970, 1026, 1104, 1106, 8209, 8215, 8218, 8222, 8231, 8241, 8244, 8246, 8252, 8365, 8452, 8454, 8458, 8471, 8482, 8556, 8570, 8596, 8602, 8713, 8720, 8722, 8726, 8731, 8737, 8740, 8742, 8748, 8751, 8760, 8766, 8777, 8781, 8787, 8802, 8808, 8816, 8854, 8858, 8870, 8896, 8979, 9322, 9372, 9548, 9588, 9616, 9622, 9634, 9652, 9662, 9672, 9676, 9680, 9702, 9735, 9738, 9793, 9795, 11906, 11909, 11913, 11917, 11928, 11944, 11947, 11951, 11956, 11960, 11964, 11979, 12284, 12292, 12312, 12319, 12330, 12351, 12436, 12447, 12535, 12543, 12586, 12842, 12850, 12964, 13200, 13215, 13218, 13253, 13263, 13267, 13270, 13384, 13428, 13727, 13839, 13851, 14617, 14703, 14801, 14816, 14964, 15183, 15471, 15585, 16471, 16736, 17208, 17325, 17330, 17374, 17623, 17997, 18018, 18212, 18218, 18301, 18318, 18760, 18811, 18814, 18820, 18823, 18844, 18848, 18872, 19576, 19620, 19738, 19887, 40870, 59244, 59336, 59367, 59413, 59417, 59423, 59431, 59437, 59443, 59452, 59460, 59478, 59493, 63789, 63866, 63894, 63976, 63986, 64016, 64018, 64021, 64025, 64034, 64037, 64042, 65074, 65093, 65107, 65112, 65127, 65132, 65375, 65510, 65536], gbChars: [0, 36, 38, 45, 50, 81, 89, 95, 96, 100, 103, 104, 105, 109, 126, 133, 148, 172, 175, 179, 208, 306, 307, 308, 309, 310, 311, 312, 313, 341, 428, 443, 544, 545, 558, 741, 742, 749, 750, 805, 819, 820, 7922, 7924, 7925, 7927, 7934, 7943, 7944, 7945, 7950, 8062, 8148, 8149, 8152, 8164, 8174, 8236, 8240, 8262, 8264, 8374, 8380, 8381, 8384, 8388, 8390, 8392, 8393, 8394, 8396, 8401, 8406, 8416, 8419, 8424, 8437, 8439, 8445, 8482, 8485, 8496, 8521, 8603, 8936, 8946, 9046, 9050, 9063, 9066, 9076, 9092, 9100, 9108, 9111, 9113, 9131, 9162, 9164, 9218, 9219, 11329, 11331, 11334, 11336, 11346, 11361, 11363, 11366, 11370, 11372, 11375, 11389, 11682, 11686, 11687, 11692, 11694, 11714, 11716, 11723, 11725, 11730, 11736, 11982, 11989, 12102, 12336, 12348, 12350, 12384, 12393, 12395, 12397, 12510, 12553, 12851, 12962, 12973, 13738, 13823, 13919, 13933, 14080, 14298, 14585, 14698, 15583, 15847, 16318, 16434, 16438, 16481, 16729, 17102, 17122, 17315, 17320, 17402, 17418, 17859, 17909, 17911, 17915, 17916, 17936, 17939, 17961, 18664, 18703, 18814, 18962, 19043, 33469, 33470, 33471, 33484, 33485, 33490, 33497, 33501, 33505, 33513, 33520, 33536, 33550, 37845, 37921, 37948, 38029, 38038, 38064, 38065, 38066, 38069, 38075, 38076, 38078, 39108, 39109, 39113, 39114, 39115, 39116, 39265, 39394, 189e3] };
|
|
3870
3867
|
}
|
|
3871
3868
|
});
|
|
3872
3869
|
|
|
3873
3870
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/cp949.json
|
|
3874
3871
|
var require_cp949 = __commonJS({
|
|
3875
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/cp949.json"(
|
|
3876
|
-
|
|
3872
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/cp949.json"(exports2, module2) {
|
|
3873
|
+
module2.exports = [
|
|
3877
3874
|
["0", "\0", 127],
|
|
3878
3875
|
["8141", "\uAC02\uAC03\uAC05\uAC06\uAC0B", 4, "\uAC18\uAC1E\uAC1F\uAC21\uAC22\uAC23\uAC25", 6, "\uAC2E\uAC32\uAC33\uAC34"],
|
|
3879
3876
|
["8161", "\uAC35\uAC36\uAC37\uAC3A\uAC3B\uAC3D\uAC3E\uAC3F\uAC41", 9, "\uAC4C\uAC4E", 5, "\uAC55"],
|
|
@@ -4151,8 +4148,8 @@ var require_cp949 = __commonJS({
|
|
|
4151
4148
|
|
|
4152
4149
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/cp950.json
|
|
4153
4150
|
var require_cp950 = __commonJS({
|
|
4154
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/cp950.json"(
|
|
4155
|
-
|
|
4151
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/cp950.json"(exports2, module2) {
|
|
4152
|
+
module2.exports = [
|
|
4156
4153
|
["0", "\0", 127],
|
|
4157
4154
|
["a140", "\u3000\uFF0C\u3001\u3002\uFF0E\u2027\uFF1B\uFF1A\uFF1F\uFF01\uFE30\u2026\u2025\uFE50\uFE51\uFE52\xB7\uFE54\uFE55\uFE56\uFE57\uFF5C\u2013\uFE31\u2014\uFE33\u2574\uFE34\uFE4F\uFF08\uFF09\uFE35\uFE36\uFF5B\uFF5D\uFE37\uFE38\u3014\u3015\uFE39\uFE3A\u3010\u3011\uFE3B\uFE3C\u300A\u300B\uFE3D\uFE3E\u3008\u3009\uFE3F\uFE40\u300C\u300D\uFE41\uFE42\u300E\u300F\uFE43\uFE44\uFE59\uFE5A"],
|
|
4158
4155
|
["a1a1", "\uFE5B\uFE5C\uFE5D\uFE5E\u2018\u2019\u201C\u201D\u301D\u301E\u2035\u2032\uFF03\uFF06\uFF0A\u203B\xA7\u3003\u25CB\u25CF\u25B3\u25B2\u25CE\u2606\u2605\u25C7\u25C6\u25A1\u25A0\u25BD\u25BC\u32A3\u2105\xAF\uFFE3\uFF3F\u02CD\uFE49\uFE4A\uFE4D\uFE4E\uFE4B\uFE4C\uFE5F\uFE60\uFE61\uFF0B\uFF0D\xD7\xF7\xB1\u221A\uFF1C\uFF1E\uFF1D\u2266\u2267\u2260\u221E\u2252\u2261\uFE62", 4, "\uFF5E\u2229\u222A\u22A5\u2220\u221F\u22BF\u33D2\u33D1\u222B\u222E\u2235\u2234\u2640\u2642\u2295\u2299\u2191\u2193\u2190\u2192\u2196\u2197\u2199\u2198\u2225\u2223\uFF0F"],
|
|
@@ -4334,8 +4331,8 @@ var require_cp950 = __commonJS({
|
|
|
4334
4331
|
|
|
4335
4332
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/big5-added.json
|
|
4336
4333
|
var require_big5_added = __commonJS({
|
|
4337
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/big5-added.json"(
|
|
4338
|
-
|
|
4334
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/big5-added.json"(exports2, module2) {
|
|
4335
|
+
module2.exports = [
|
|
4339
4336
|
["8740", "\u43F0\u4C32\u4603\u45A6\u4578\u{27267}\u4D77\u45B3\u{27CB1}\u4CE2\u{27CC5}\u3B95\u4736\u4744\u4C47\u4C40\u{242BF}\u{23617}\u{27352}\u{26E8B}\u{270D2}\u4C57\u{2A351}\u474F\u45DA\u4C85\u{27C6C}\u4D07\u4AA4\u46A1\u{26B23}\u7225\u{25A54}\u{21A63}\u{23E06}\u{23F61}\u664D\u56FB"],
|
|
4340
4337
|
["8767", "\u7D95\u591D\u{28BB9}\u3DF4\u9734\u{27BEF}\u5BDB\u{21D5E}\u5AA4\u3625\u{29EB0}\u5AD1\u5BB7\u5CFC\u676E\u8593\u{29945}\u7461\u749D\u3875\u{21D53}\u{2369E}\u{26021}\u3EEC"],
|
|
4341
4338
|
["87a1", "\u{258DE}\u3AF5\u7AFC\u9F97\u{24161}\u{2890D}\u{231EA}\u{20A8A}\u{2325E}\u430A\u8484\u9F96\u942F\u4930\u8613\u5896\u974A\u9218\u79D0\u7A32\u6660\u6A29\u889D\u744C\u7BC5\u6782\u7A2C\u524F\u9046\u34E6\u73C4\u{25DB9}\u74C6\u9FC7\u57B3\u492F\u544C\u4131\u{2368E}\u5818\u7A72\u{27B65}\u8B8F\u46AE\u{26E88}\u4181\u{25D99}\u7BAE\u{224BC}\u9FC8\u{224C1}\u{224C9}\u{224CC}\u9FC9\u8504\u{235BB}\u40B4\u9FCA\u44E1\u{2ADFF}\u62C1\u706E\u9FCB"],
|
|
@@ -4462,9 +4459,9 @@ var require_big5_added = __commonJS({
|
|
|
4462
4459
|
|
|
4463
4460
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/dbcs-data.js
|
|
4464
4461
|
var require_dbcs_data = __commonJS({
|
|
4465
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/dbcs-data.js"(
|
|
4462
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/dbcs-data.js"(exports2, module2) {
|
|
4466
4463
|
"use strict";
|
|
4467
|
-
|
|
4464
|
+
module2.exports = {
|
|
4468
4465
|
// == Japanese/ShiftJIS ====================================================
|
|
4469
4466
|
// All japanese encodings are based on JIS X set of standards:
|
|
4470
4467
|
// JIS X 0201 - Single-byte encoding of ASCII + ¥ + Kana chars at 0xA1-0xDF.
|
|
@@ -4637,7 +4634,7 @@ var require_dbcs_data = __commonJS({
|
|
|
4637
4634
|
|
|
4638
4635
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/index.js
|
|
4639
4636
|
var require_encodings = __commonJS({
|
|
4640
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/index.js"(
|
|
4637
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/index.js"(exports2, module2) {
|
|
4641
4638
|
"use strict";
|
|
4642
4639
|
var modules = [
|
|
4643
4640
|
require_internal(),
|
|
@@ -4650,12 +4647,12 @@ var require_encodings = __commonJS({
|
|
|
4650
4647
|
require_dbcs_data()
|
|
4651
4648
|
];
|
|
4652
4649
|
for (i = 0; i < modules.length; i++) {
|
|
4653
|
-
|
|
4654
|
-
for (enc in
|
|
4655
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
4656
|
-
|
|
4650
|
+
module2 = modules[i];
|
|
4651
|
+
for (enc in module2)
|
|
4652
|
+
if (Object.prototype.hasOwnProperty.call(module2, enc))
|
|
4653
|
+
exports2[enc] = module2[enc];
|
|
4657
4654
|
}
|
|
4658
|
-
var
|
|
4655
|
+
var module2;
|
|
4659
4656
|
var enc;
|
|
4660
4657
|
var i;
|
|
4661
4658
|
}
|
|
@@ -4663,11 +4660,11 @@ var require_encodings = __commonJS({
|
|
|
4663
4660
|
|
|
4664
4661
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/streams.js
|
|
4665
4662
|
var require_streams = __commonJS({
|
|
4666
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/streams.js"(
|
|
4663
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/streams.js"(exports2, module2) {
|
|
4667
4664
|
"use strict";
|
|
4668
|
-
var Buffer2 =
|
|
4669
|
-
var Transform =
|
|
4670
|
-
|
|
4665
|
+
var Buffer2 = require("buffer").Buffer;
|
|
4666
|
+
var Transform = require("stream").Transform;
|
|
4667
|
+
module2.exports = function(iconv) {
|
|
4671
4668
|
iconv.encodeStream = function encodeStream(encoding, options) {
|
|
4672
4669
|
return new IconvLiteEncoderStream(iconv.getEncoder(encoding, options), options);
|
|
4673
4670
|
};
|
|
@@ -4764,10 +4761,10 @@ var require_streams = __commonJS({
|
|
|
4764
4761
|
|
|
4765
4762
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/extend-node.js
|
|
4766
4763
|
var require_extend_node = __commonJS({
|
|
4767
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/extend-node.js"(
|
|
4764
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/extend-node.js"(exports2, module2) {
|
|
4768
4765
|
"use strict";
|
|
4769
|
-
var Buffer2 =
|
|
4770
|
-
|
|
4766
|
+
var Buffer2 = require("buffer").Buffer;
|
|
4767
|
+
module2.exports = function(iconv) {
|
|
4771
4768
|
var original = void 0;
|
|
4772
4769
|
iconv.supportsNodeEncodingsExtension = !(Buffer2.from || new Buffer2(0) instanceof Uint8Array);
|
|
4773
4770
|
iconv.extendNodeEncodings = function extendNodeEncodings() {
|
|
@@ -4793,7 +4790,7 @@ var require_extend_node = __commonJS({
|
|
|
4793
4790
|
Buffer2.isNativeEncoding = function(enc) {
|
|
4794
4791
|
return enc && nodeNativeEncodings[enc.toLowerCase()];
|
|
4795
4792
|
};
|
|
4796
|
-
var SlowBuffer =
|
|
4793
|
+
var SlowBuffer = require("buffer").SlowBuffer;
|
|
4797
4794
|
original.SlowBufferToString = SlowBuffer.prototype.toString;
|
|
4798
4795
|
SlowBuffer.prototype.toString = function(encoding, start, end) {
|
|
4799
4796
|
encoding = String(encoding || "utf8").toLowerCase();
|
|
@@ -4891,7 +4888,7 @@ var require_extend_node = __commonJS({
|
|
|
4891
4888
|
return length;
|
|
4892
4889
|
};
|
|
4893
4890
|
if (iconv.supportsStreams) {
|
|
4894
|
-
var Readable =
|
|
4891
|
+
var Readable = require("stream").Readable;
|
|
4895
4892
|
original.ReadableSetEncoding = Readable.prototype.setEncoding;
|
|
4896
4893
|
Readable.prototype.setEncoding = function setEncoding(enc, options) {
|
|
4897
4894
|
this._readableState.decoder = iconv.getDecoder(enc, options);
|
|
@@ -4906,7 +4903,7 @@ var require_extend_node = __commonJS({
|
|
|
4906
4903
|
if (!original)
|
|
4907
4904
|
throw new Error("require('iconv-lite').undoExtendNodeEncodings(): Nothing to undo; extendNodeEncodings() is not called.");
|
|
4908
4905
|
delete Buffer2.isNativeEncoding;
|
|
4909
|
-
var SlowBuffer =
|
|
4906
|
+
var SlowBuffer = require("buffer").SlowBuffer;
|
|
4910
4907
|
SlowBuffer.prototype.toString = original.SlowBufferToString;
|
|
4911
4908
|
SlowBuffer.prototype.write = original.SlowBufferWrite;
|
|
4912
4909
|
Buffer2.isEncoding = original.BufferIsEncoding;
|
|
@@ -4914,7 +4911,7 @@ var require_extend_node = __commonJS({
|
|
|
4914
4911
|
Buffer2.prototype.toString = original.BufferToString;
|
|
4915
4912
|
Buffer2.prototype.write = original.BufferWrite;
|
|
4916
4913
|
if (iconv.supportsStreams) {
|
|
4917
|
-
var Readable =
|
|
4914
|
+
var Readable = require("stream").Readable;
|
|
4918
4915
|
Readable.prototype.setEncoding = original.ReadableSetEncoding;
|
|
4919
4916
|
delete Readable.prototype.collect;
|
|
4920
4917
|
}
|
|
@@ -4926,11 +4923,11 @@ var require_extend_node = __commonJS({
|
|
|
4926
4923
|
|
|
4927
4924
|
// ../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/index.js
|
|
4928
4925
|
var require_lib = __commonJS({
|
|
4929
|
-
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/index.js"(
|
|
4926
|
+
"../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/index.js"(exports2, module2) {
|
|
4930
4927
|
"use strict";
|
|
4931
4928
|
var Buffer2 = require_safer().Buffer;
|
|
4932
4929
|
var bomHandling = require_bom_handling();
|
|
4933
|
-
var iconv =
|
|
4930
|
+
var iconv = module2.exports;
|
|
4934
4931
|
iconv.encodings = null;
|
|
4935
4932
|
iconv.defaultCharUnicode = "\uFFFD";
|
|
4936
4933
|
iconv.defaultCharSingleByte = "?";
|
|
@@ -5029,9 +5026,9 @@ var require_lib = __commonJS({
|
|
|
5029
5026
|
|
|
5030
5027
|
// ../../node_modules/.pnpm/unpipe@1.0.0/node_modules/unpipe/index.js
|
|
5031
5028
|
var require_unpipe = __commonJS({
|
|
5032
|
-
"../../node_modules/.pnpm/unpipe@1.0.0/node_modules/unpipe/index.js"(
|
|
5029
|
+
"../../node_modules/.pnpm/unpipe@1.0.0/node_modules/unpipe/index.js"(exports2, module2) {
|
|
5033
5030
|
"use strict";
|
|
5034
|
-
|
|
5031
|
+
module2.exports = unpipe;
|
|
5035
5032
|
function hasPipeDataListeners(stream) {
|
|
5036
5033
|
var listeners = stream.listeners("data");
|
|
5037
5034
|
for (var i = 0; i < listeners.length; i++) {
|
|
@@ -5067,14 +5064,14 @@ var require_unpipe = __commonJS({
|
|
|
5067
5064
|
|
|
5068
5065
|
// ../../node_modules/.pnpm/raw-body@2.5.3/node_modules/raw-body/index.js
|
|
5069
5066
|
var require_raw_body = __commonJS({
|
|
5070
|
-
"../../node_modules/.pnpm/raw-body@2.5.3/node_modules/raw-body/index.js"(
|
|
5067
|
+
"../../node_modules/.pnpm/raw-body@2.5.3/node_modules/raw-body/index.js"(exports2, module2) {
|
|
5071
5068
|
"use strict";
|
|
5072
5069
|
var asyncHooks = tryRequireAsyncHooks();
|
|
5073
5070
|
var bytes = require_bytes();
|
|
5074
5071
|
var createError = require_http_errors();
|
|
5075
5072
|
var iconv = require_lib();
|
|
5076
5073
|
var unpipe = require_unpipe();
|
|
5077
|
-
|
|
5074
|
+
module2.exports = getRawBody;
|
|
5078
5075
|
var ICONV_ENCODING_MESSAGE_REGEXP = /^Encoding not recognized: /;
|
|
5079
5076
|
function getDecoder(encoding) {
|
|
5080
5077
|
if (!encoding) return null;
|
|
@@ -5236,7 +5233,7 @@ var require_raw_body = __commonJS({
|
|
|
5236
5233
|
}
|
|
5237
5234
|
function tryRequireAsyncHooks() {
|
|
5238
5235
|
try {
|
|
5239
|
-
return
|
|
5236
|
+
return require("async_hooks");
|
|
5240
5237
|
} catch (e) {
|
|
5241
5238
|
return {};
|
|
5242
5239
|
}
|
|
@@ -5256,9 +5253,9 @@ var require_raw_body = __commonJS({
|
|
|
5256
5253
|
|
|
5257
5254
|
// ../../node_modules/.pnpm/ee-first@1.1.1/node_modules/ee-first/index.js
|
|
5258
5255
|
var require_ee_first = __commonJS({
|
|
5259
|
-
"../../node_modules/.pnpm/ee-first@1.1.1/node_modules/ee-first/index.js"(
|
|
5256
|
+
"../../node_modules/.pnpm/ee-first@1.1.1/node_modules/ee-first/index.js"(exports2, module2) {
|
|
5260
5257
|
"use strict";
|
|
5261
|
-
|
|
5258
|
+
module2.exports = first;
|
|
5262
5259
|
function first(stuff, done) {
|
|
5263
5260
|
if (!Array.isArray(stuff))
|
|
5264
5261
|
throw new TypeError("arg must be an array of [ee, events...] arrays");
|
|
@@ -5312,10 +5309,10 @@ var require_ee_first = __commonJS({
|
|
|
5312
5309
|
|
|
5313
5310
|
// ../../node_modules/.pnpm/on-finished@2.4.1/node_modules/on-finished/index.js
|
|
5314
5311
|
var require_on_finished = __commonJS({
|
|
5315
|
-
"../../node_modules/.pnpm/on-finished@2.4.1/node_modules/on-finished/index.js"(
|
|
5312
|
+
"../../node_modules/.pnpm/on-finished@2.4.1/node_modules/on-finished/index.js"(exports2, module2) {
|
|
5316
5313
|
"use strict";
|
|
5317
|
-
|
|
5318
|
-
|
|
5314
|
+
module2.exports = onFinished;
|
|
5315
|
+
module2.exports.isFinished = isFinished;
|
|
5319
5316
|
var asyncHooks = tryRequireAsyncHooks();
|
|
5320
5317
|
var first = require_ee_first();
|
|
5321
5318
|
var defer = typeof setImmediate === "function" ? setImmediate : function(fn) {
|
|
@@ -5396,7 +5393,7 @@ var require_on_finished = __commonJS({
|
|
|
5396
5393
|
}
|
|
5397
5394
|
function tryRequireAsyncHooks() {
|
|
5398
5395
|
try {
|
|
5399
|
-
return
|
|
5396
|
+
return require("async_hooks");
|
|
5400
5397
|
} catch (e) {
|
|
5401
5398
|
return {};
|
|
5402
5399
|
}
|
|
@@ -5416,7 +5413,7 @@ var require_on_finished = __commonJS({
|
|
|
5416
5413
|
|
|
5417
5414
|
// ../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/read.js
|
|
5418
5415
|
var require_read = __commonJS({
|
|
5419
|
-
"../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/read.js"(
|
|
5416
|
+
"../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/read.js"(exports2, module2) {
|
|
5420
5417
|
"use strict";
|
|
5421
5418
|
var createError = require_http_errors();
|
|
5422
5419
|
var destroy = require_destroy();
|
|
@@ -5424,8 +5421,8 @@ var require_read = __commonJS({
|
|
|
5424
5421
|
var iconv = require_lib();
|
|
5425
5422
|
var onFinished = require_on_finished();
|
|
5426
5423
|
var unpipe = require_unpipe();
|
|
5427
|
-
var zlib =
|
|
5428
|
-
|
|
5424
|
+
var zlib = require("zlib");
|
|
5425
|
+
module2.exports = read;
|
|
5429
5426
|
function read(req, res, next, parse, debug, options) {
|
|
5430
5427
|
var length;
|
|
5431
5428
|
var opts = options;
|
|
@@ -5543,7 +5540,7 @@ var require_read = __commonJS({
|
|
|
5543
5540
|
|
|
5544
5541
|
// ../../node_modules/.pnpm/media-typer@0.3.0/node_modules/media-typer/index.js
|
|
5545
5542
|
var require_media_typer = __commonJS({
|
|
5546
|
-
"../../node_modules/.pnpm/media-typer@0.3.0/node_modules/media-typer/index.js"(
|
|
5543
|
+
"../../node_modules/.pnpm/media-typer@0.3.0/node_modules/media-typer/index.js"(exports2) {
|
|
5547
5544
|
"use strict";
|
|
5548
5545
|
var paramRegExp = /; *([!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) *= *("(?:[ !\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u0020-\u007e])*"|[!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) */g;
|
|
5549
5546
|
var textRegExp = /^[\u0020-\u007e\u0080-\u00ff]+$/;
|
|
@@ -5553,8 +5550,8 @@ var require_media_typer = __commonJS({
|
|
|
5553
5550
|
var subtypeNameRegExp = /^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/;
|
|
5554
5551
|
var typeNameRegExp = /^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/;
|
|
5555
5552
|
var typeRegExp = /^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;
|
|
5556
|
-
|
|
5557
|
-
|
|
5553
|
+
exports2.format = format;
|
|
5554
|
+
exports2.parse = parse;
|
|
5558
5555
|
function format(obj) {
|
|
5559
5556
|
if (!obj || typeof obj !== "object") {
|
|
5560
5557
|
throw new TypeError("argument obj is required");
|
|
@@ -5668,8 +5665,8 @@ var require_media_typer = __commonJS({
|
|
|
5668
5665
|
|
|
5669
5666
|
// ../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/db.json
|
|
5670
5667
|
var require_db = __commonJS({
|
|
5671
|
-
"../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/db.json"(
|
|
5672
|
-
|
|
5668
|
+
"../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/db.json"(exports2, module2) {
|
|
5669
|
+
module2.exports = {
|
|
5673
5670
|
"application/1d-interleaved-parityfec": {
|
|
5674
5671
|
source: "iana"
|
|
5675
5672
|
},
|
|
@@ -14193,28 +14190,28 @@ var require_db = __commonJS({
|
|
|
14193
14190
|
|
|
14194
14191
|
// ../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/index.js
|
|
14195
14192
|
var require_mime_db = __commonJS({
|
|
14196
|
-
"../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/index.js"(
|
|
14193
|
+
"../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/index.js"(exports2, module2) {
|
|
14197
14194
|
"use strict";
|
|
14198
|
-
|
|
14195
|
+
module2.exports = require_db();
|
|
14199
14196
|
}
|
|
14200
14197
|
});
|
|
14201
14198
|
|
|
14202
14199
|
// ../../node_modules/.pnpm/mime-types@2.1.35/node_modules/mime-types/index.js
|
|
14203
14200
|
var require_mime_types = __commonJS({
|
|
14204
|
-
"../../node_modules/.pnpm/mime-types@2.1.35/node_modules/mime-types/index.js"(
|
|
14201
|
+
"../../node_modules/.pnpm/mime-types@2.1.35/node_modules/mime-types/index.js"(exports2) {
|
|
14205
14202
|
"use strict";
|
|
14206
14203
|
var db = require_mime_db();
|
|
14207
|
-
var extname3 =
|
|
14204
|
+
var extname3 = require("path").extname;
|
|
14208
14205
|
var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/;
|
|
14209
14206
|
var TEXT_TYPE_REGEXP = /^text\//i;
|
|
14210
|
-
|
|
14211
|
-
|
|
14212
|
-
|
|
14213
|
-
|
|
14214
|
-
|
|
14215
|
-
|
|
14216
|
-
|
|
14217
|
-
populateMaps(
|
|
14207
|
+
exports2.charset = charset;
|
|
14208
|
+
exports2.charsets = { lookup: charset };
|
|
14209
|
+
exports2.contentType = contentType;
|
|
14210
|
+
exports2.extension = extension;
|
|
14211
|
+
exports2.extensions = /* @__PURE__ */ Object.create(null);
|
|
14212
|
+
exports2.lookup = lookup;
|
|
14213
|
+
exports2.types = /* @__PURE__ */ Object.create(null);
|
|
14214
|
+
populateMaps(exports2.extensions, exports2.types);
|
|
14218
14215
|
function charset(type) {
|
|
14219
14216
|
if (!type || typeof type !== "string") {
|
|
14220
14217
|
return false;
|
|
@@ -14233,12 +14230,12 @@ var require_mime_types = __commonJS({
|
|
|
14233
14230
|
if (!str || typeof str !== "string") {
|
|
14234
14231
|
return false;
|
|
14235
14232
|
}
|
|
14236
|
-
var mime = str.indexOf("/") === -1 ?
|
|
14233
|
+
var mime = str.indexOf("/") === -1 ? exports2.lookup(str) : str;
|
|
14237
14234
|
if (!mime) {
|
|
14238
14235
|
return false;
|
|
14239
14236
|
}
|
|
14240
14237
|
if (mime.indexOf("charset") === -1) {
|
|
14241
|
-
var charset2 =
|
|
14238
|
+
var charset2 = exports2.charset(mime);
|
|
14242
14239
|
if (charset2) mime += "; charset=" + charset2.toLowerCase();
|
|
14243
14240
|
}
|
|
14244
14241
|
return mime;
|
|
@@ -14248,21 +14245,21 @@ var require_mime_types = __commonJS({
|
|
|
14248
14245
|
return false;
|
|
14249
14246
|
}
|
|
14250
14247
|
var match = EXTRACT_TYPE_REGEXP.exec(type);
|
|
14251
|
-
var exts = match &&
|
|
14248
|
+
var exts = match && exports2.extensions[match[1].toLowerCase()];
|
|
14252
14249
|
if (!exts || !exts.length) {
|
|
14253
14250
|
return false;
|
|
14254
14251
|
}
|
|
14255
14252
|
return exts[0];
|
|
14256
14253
|
}
|
|
14257
|
-
function lookup(
|
|
14258
|
-
if (!
|
|
14254
|
+
function lookup(path16) {
|
|
14255
|
+
if (!path16 || typeof path16 !== "string") {
|
|
14259
14256
|
return false;
|
|
14260
14257
|
}
|
|
14261
|
-
var extension2 = extname3("x." +
|
|
14258
|
+
var extension2 = extname3("x." + path16).toLowerCase().substr(1);
|
|
14262
14259
|
if (!extension2) {
|
|
14263
14260
|
return false;
|
|
14264
14261
|
}
|
|
14265
|
-
return
|
|
14262
|
+
return exports2.types[extension2] || false;
|
|
14266
14263
|
}
|
|
14267
14264
|
function populateMaps(extensions, types) {
|
|
14268
14265
|
var preference = ["nginx", "apache", void 0, "iana"];
|
|
@@ -14291,15 +14288,15 @@ var require_mime_types = __commonJS({
|
|
|
14291
14288
|
|
|
14292
14289
|
// ../../node_modules/.pnpm/type-is@1.6.18/node_modules/type-is/index.js
|
|
14293
14290
|
var require_type_is = __commonJS({
|
|
14294
|
-
"../../node_modules/.pnpm/type-is@1.6.18/node_modules/type-is/index.js"(
|
|
14291
|
+
"../../node_modules/.pnpm/type-is@1.6.18/node_modules/type-is/index.js"(exports2, module2) {
|
|
14295
14292
|
"use strict";
|
|
14296
14293
|
var typer = require_media_typer();
|
|
14297
14294
|
var mime = require_mime_types();
|
|
14298
|
-
|
|
14299
|
-
|
|
14300
|
-
|
|
14301
|
-
|
|
14302
|
-
|
|
14295
|
+
module2.exports = typeofrequest;
|
|
14296
|
+
module2.exports.is = typeis;
|
|
14297
|
+
module2.exports.hasBody = hasbody;
|
|
14298
|
+
module2.exports.normalize = normalize;
|
|
14299
|
+
module2.exports.match = mimeMatch;
|
|
14303
14300
|
function typeis(value, types_) {
|
|
14304
14301
|
var i;
|
|
14305
14302
|
var types = types_;
|
|
@@ -14396,7 +14393,7 @@ var require_type_is = __commonJS({
|
|
|
14396
14393
|
|
|
14397
14394
|
// ../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/types/json.js
|
|
14398
14395
|
var require_json = __commonJS({
|
|
14399
|
-
"../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/types/json.js"(
|
|
14396
|
+
"../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/types/json.js"(exports2, module2) {
|
|
14400
14397
|
"use strict";
|
|
14401
14398
|
var bytes = require_bytes();
|
|
14402
14399
|
var contentType = require_content_type();
|
|
@@ -14404,7 +14401,7 @@ var require_json = __commonJS({
|
|
|
14404
14401
|
var debug = require_src()("body-parser:json");
|
|
14405
14402
|
var read = require_read();
|
|
14406
14403
|
var typeis = require_type_is();
|
|
14407
|
-
|
|
14404
|
+
module2.exports = json;
|
|
14408
14405
|
var FIRST_CHAR_REGEXP = /^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/;
|
|
14409
14406
|
var JSON_SYNTAX_CHAR = "#";
|
|
14410
14407
|
var JSON_SYNTAX_REGEXP = /#+/g;
|
|
@@ -14530,13 +14527,13 @@ var require_json = __commonJS({
|
|
|
14530
14527
|
|
|
14531
14528
|
// ../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/types/raw.js
|
|
14532
14529
|
var require_raw = __commonJS({
|
|
14533
|
-
"../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/types/raw.js"(
|
|
14530
|
+
"../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/types/raw.js"(exports2, module2) {
|
|
14534
14531
|
"use strict";
|
|
14535
14532
|
var bytes = require_bytes();
|
|
14536
14533
|
var debug = require_src()("body-parser:raw");
|
|
14537
14534
|
var read = require_read();
|
|
14538
14535
|
var typeis = require_type_is();
|
|
14539
|
-
|
|
14536
|
+
module2.exports = raw;
|
|
14540
14537
|
function raw(options) {
|
|
14541
14538
|
var opts = options || {};
|
|
14542
14539
|
var inflate = opts.inflate !== false;
|
|
@@ -14586,14 +14583,14 @@ var require_raw = __commonJS({
|
|
|
14586
14583
|
|
|
14587
14584
|
// ../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/types/text.js
|
|
14588
14585
|
var require_text = __commonJS({
|
|
14589
|
-
"../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/types/text.js"(
|
|
14586
|
+
"../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/types/text.js"(exports2, module2) {
|
|
14590
14587
|
"use strict";
|
|
14591
14588
|
var bytes = require_bytes();
|
|
14592
14589
|
var contentType = require_content_type();
|
|
14593
14590
|
var debug = require_src()("body-parser:text");
|
|
14594
14591
|
var read = require_read();
|
|
14595
14592
|
var typeis = require_type_is();
|
|
14596
|
-
|
|
14593
|
+
module2.exports = text;
|
|
14597
14594
|
function text(options) {
|
|
14598
14595
|
var opts = options || {};
|
|
14599
14596
|
var defaultCharset = opts.defaultCharset || "utf-8";
|
|
@@ -14652,23 +14649,23 @@ var require_text = __commonJS({
|
|
|
14652
14649
|
|
|
14653
14650
|
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js
|
|
14654
14651
|
var require_type = __commonJS({
|
|
14655
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(
|
|
14652
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(exports2, module2) {
|
|
14656
14653
|
"use strict";
|
|
14657
|
-
|
|
14654
|
+
module2.exports = TypeError;
|
|
14658
14655
|
}
|
|
14659
14656
|
});
|
|
14660
14657
|
|
|
14661
14658
|
// ../../node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/util.inspect.js
|
|
14662
14659
|
var require_util_inspect = __commonJS({
|
|
14663
|
-
"../../node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/util.inspect.js"(
|
|
14660
|
+
"../../node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/util.inspect.js"(exports2, module2) {
|
|
14664
14661
|
"use strict";
|
|
14665
|
-
|
|
14662
|
+
module2.exports = require("util").inspect;
|
|
14666
14663
|
}
|
|
14667
14664
|
});
|
|
14668
14665
|
|
|
14669
14666
|
// ../../node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/index.js
|
|
14670
14667
|
var require_object_inspect = __commonJS({
|
|
14671
|
-
"../../node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/index.js"(
|
|
14668
|
+
"../../node_modules/.pnpm/object-inspect@1.13.4/node_modules/object-inspect/index.js"(exports2, module2) {
|
|
14672
14669
|
"use strict";
|
|
14673
14670
|
var hasMap = typeof Map === "function" && Map.prototype;
|
|
14674
14671
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
|
|
@@ -14734,7 +14731,7 @@ var require_object_inspect = __commonJS({
|
|
|
14734
14731
|
"double": /(["\\])/g,
|
|
14735
14732
|
single: /(['\\])/g
|
|
14736
14733
|
};
|
|
14737
|
-
|
|
14734
|
+
module2.exports = function inspect_(obj, options, depth, seen) {
|
|
14738
14735
|
var opts = options || {};
|
|
14739
14736
|
if (has(opts, "quoteStyle") && !has(quotes, opts.quoteStyle)) {
|
|
14740
14737
|
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
@@ -15200,7 +15197,7 @@ var require_object_inspect = __commonJS({
|
|
|
15200
15197
|
|
|
15201
15198
|
// ../../node_modules/.pnpm/side-channel-list@1.0.0/node_modules/side-channel-list/index.js
|
|
15202
15199
|
var require_side_channel_list = __commonJS({
|
|
15203
|
-
"../../node_modules/.pnpm/side-channel-list@1.0.0/node_modules/side-channel-list/index.js"(
|
|
15200
|
+
"../../node_modules/.pnpm/side-channel-list@1.0.0/node_modules/side-channel-list/index.js"(exports2, module2) {
|
|
15204
15201
|
"use strict";
|
|
15205
15202
|
var inspect = require_object_inspect();
|
|
15206
15203
|
var $TypeError = require_type();
|
|
@@ -15251,7 +15248,7 @@ var require_side_channel_list = __commonJS({
|
|
|
15251
15248
|
return listGetNode(objects, key, true);
|
|
15252
15249
|
}
|
|
15253
15250
|
};
|
|
15254
|
-
|
|
15251
|
+
module2.exports = function getSideChannelList() {
|
|
15255
15252
|
var $o;
|
|
15256
15253
|
var channel = {
|
|
15257
15254
|
assert: function(key) {
|
|
@@ -15294,113 +15291,113 @@ var require_side_channel_list = __commonJS({
|
|
|
15294
15291
|
|
|
15295
15292
|
// ../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js
|
|
15296
15293
|
var require_es_object_atoms = __commonJS({
|
|
15297
|
-
"../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(
|
|
15294
|
+
"../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(exports2, module2) {
|
|
15298
15295
|
"use strict";
|
|
15299
|
-
|
|
15296
|
+
module2.exports = Object;
|
|
15300
15297
|
}
|
|
15301
15298
|
});
|
|
15302
15299
|
|
|
15303
15300
|
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js
|
|
15304
15301
|
var require_es_errors = __commonJS({
|
|
15305
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(
|
|
15302
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(exports2, module2) {
|
|
15306
15303
|
"use strict";
|
|
15307
|
-
|
|
15304
|
+
module2.exports = Error;
|
|
15308
15305
|
}
|
|
15309
15306
|
});
|
|
15310
15307
|
|
|
15311
15308
|
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js
|
|
15312
15309
|
var require_eval = __commonJS({
|
|
15313
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(
|
|
15310
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(exports2, module2) {
|
|
15314
15311
|
"use strict";
|
|
15315
|
-
|
|
15312
|
+
module2.exports = EvalError;
|
|
15316
15313
|
}
|
|
15317
15314
|
});
|
|
15318
15315
|
|
|
15319
15316
|
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js
|
|
15320
15317
|
var require_range = __commonJS({
|
|
15321
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(
|
|
15318
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(exports2, module2) {
|
|
15322
15319
|
"use strict";
|
|
15323
|
-
|
|
15320
|
+
module2.exports = RangeError;
|
|
15324
15321
|
}
|
|
15325
15322
|
});
|
|
15326
15323
|
|
|
15327
15324
|
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js
|
|
15328
15325
|
var require_ref = __commonJS({
|
|
15329
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(
|
|
15326
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(exports2, module2) {
|
|
15330
15327
|
"use strict";
|
|
15331
|
-
|
|
15328
|
+
module2.exports = ReferenceError;
|
|
15332
15329
|
}
|
|
15333
15330
|
});
|
|
15334
15331
|
|
|
15335
15332
|
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js
|
|
15336
15333
|
var require_syntax = __commonJS({
|
|
15337
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(
|
|
15334
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(exports2, module2) {
|
|
15338
15335
|
"use strict";
|
|
15339
|
-
|
|
15336
|
+
module2.exports = SyntaxError;
|
|
15340
15337
|
}
|
|
15341
15338
|
});
|
|
15342
15339
|
|
|
15343
15340
|
// ../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js
|
|
15344
15341
|
var require_uri = __commonJS({
|
|
15345
|
-
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(
|
|
15342
|
+
"../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(exports2, module2) {
|
|
15346
15343
|
"use strict";
|
|
15347
|
-
|
|
15344
|
+
module2.exports = URIError;
|
|
15348
15345
|
}
|
|
15349
15346
|
});
|
|
15350
15347
|
|
|
15351
15348
|
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js
|
|
15352
15349
|
var require_abs = __commonJS({
|
|
15353
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(
|
|
15350
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(exports2, module2) {
|
|
15354
15351
|
"use strict";
|
|
15355
|
-
|
|
15352
|
+
module2.exports = Math.abs;
|
|
15356
15353
|
}
|
|
15357
15354
|
});
|
|
15358
15355
|
|
|
15359
15356
|
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js
|
|
15360
15357
|
var require_floor = __commonJS({
|
|
15361
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(
|
|
15358
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(exports2, module2) {
|
|
15362
15359
|
"use strict";
|
|
15363
|
-
|
|
15360
|
+
module2.exports = Math.floor;
|
|
15364
15361
|
}
|
|
15365
15362
|
});
|
|
15366
15363
|
|
|
15367
15364
|
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js
|
|
15368
15365
|
var require_max = __commonJS({
|
|
15369
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(
|
|
15366
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(exports2, module2) {
|
|
15370
15367
|
"use strict";
|
|
15371
|
-
|
|
15368
|
+
module2.exports = Math.max;
|
|
15372
15369
|
}
|
|
15373
15370
|
});
|
|
15374
15371
|
|
|
15375
15372
|
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js
|
|
15376
15373
|
var require_min = __commonJS({
|
|
15377
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(
|
|
15374
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(exports2, module2) {
|
|
15378
15375
|
"use strict";
|
|
15379
|
-
|
|
15376
|
+
module2.exports = Math.min;
|
|
15380
15377
|
}
|
|
15381
15378
|
});
|
|
15382
15379
|
|
|
15383
15380
|
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js
|
|
15384
15381
|
var require_pow = __commonJS({
|
|
15385
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(
|
|
15382
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(exports2, module2) {
|
|
15386
15383
|
"use strict";
|
|
15387
|
-
|
|
15384
|
+
module2.exports = Math.pow;
|
|
15388
15385
|
}
|
|
15389
15386
|
});
|
|
15390
15387
|
|
|
15391
15388
|
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js
|
|
15392
15389
|
var require_round = __commonJS({
|
|
15393
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(
|
|
15390
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(exports2, module2) {
|
|
15394
15391
|
"use strict";
|
|
15395
|
-
|
|
15392
|
+
module2.exports = Math.round;
|
|
15396
15393
|
}
|
|
15397
15394
|
});
|
|
15398
15395
|
|
|
15399
15396
|
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js
|
|
15400
15397
|
var require_isNaN = __commonJS({
|
|
15401
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(
|
|
15398
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(exports2, module2) {
|
|
15402
15399
|
"use strict";
|
|
15403
|
-
|
|
15400
|
+
module2.exports = Number.isNaN || function isNaN2(a) {
|
|
15404
15401
|
return a !== a;
|
|
15405
15402
|
};
|
|
15406
15403
|
}
|
|
@@ -15408,10 +15405,10 @@ var require_isNaN = __commonJS({
|
|
|
15408
15405
|
|
|
15409
15406
|
// ../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js
|
|
15410
15407
|
var require_sign = __commonJS({
|
|
15411
|
-
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(
|
|
15408
|
+
"../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(exports2, module2) {
|
|
15412
15409
|
"use strict";
|
|
15413
15410
|
var $isNaN = require_isNaN();
|
|
15414
|
-
|
|
15411
|
+
module2.exports = function sign(number) {
|
|
15415
15412
|
if ($isNaN(number) || number === 0) {
|
|
15416
15413
|
return number;
|
|
15417
15414
|
}
|
|
@@ -15422,15 +15419,15 @@ var require_sign = __commonJS({
|
|
|
15422
15419
|
|
|
15423
15420
|
// ../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js
|
|
15424
15421
|
var require_gOPD = __commonJS({
|
|
15425
|
-
"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(
|
|
15422
|
+
"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(exports2, module2) {
|
|
15426
15423
|
"use strict";
|
|
15427
|
-
|
|
15424
|
+
module2.exports = Object.getOwnPropertyDescriptor;
|
|
15428
15425
|
}
|
|
15429
15426
|
});
|
|
15430
15427
|
|
|
15431
15428
|
// ../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js
|
|
15432
15429
|
var require_gopd = __commonJS({
|
|
15433
|
-
"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(
|
|
15430
|
+
"../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(exports2, module2) {
|
|
15434
15431
|
"use strict";
|
|
15435
15432
|
var $gOPD = require_gOPD();
|
|
15436
15433
|
if ($gOPD) {
|
|
@@ -15440,13 +15437,13 @@ var require_gopd = __commonJS({
|
|
|
15440
15437
|
$gOPD = null;
|
|
15441
15438
|
}
|
|
15442
15439
|
}
|
|
15443
|
-
|
|
15440
|
+
module2.exports = $gOPD;
|
|
15444
15441
|
}
|
|
15445
15442
|
});
|
|
15446
15443
|
|
|
15447
15444
|
// ../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js
|
|
15448
15445
|
var require_es_define_property = __commonJS({
|
|
15449
|
-
"../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(
|
|
15446
|
+
"../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(exports2, module2) {
|
|
15450
15447
|
"use strict";
|
|
15451
15448
|
var $defineProperty = Object.defineProperty || false;
|
|
15452
15449
|
if ($defineProperty) {
|
|
@@ -15456,15 +15453,15 @@ var require_es_define_property = __commonJS({
|
|
|
15456
15453
|
$defineProperty = false;
|
|
15457
15454
|
}
|
|
15458
15455
|
}
|
|
15459
|
-
|
|
15456
|
+
module2.exports = $defineProperty;
|
|
15460
15457
|
}
|
|
15461
15458
|
});
|
|
15462
15459
|
|
|
15463
15460
|
// ../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js
|
|
15464
15461
|
var require_shams = __commonJS({
|
|
15465
|
-
"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(
|
|
15462
|
+
"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(exports2, module2) {
|
|
15466
15463
|
"use strict";
|
|
15467
|
-
|
|
15464
|
+
module2.exports = function hasSymbols() {
|
|
15468
15465
|
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
|
|
15469
15466
|
return false;
|
|
15470
15467
|
}
|
|
@@ -15517,11 +15514,11 @@ var require_shams = __commonJS({
|
|
|
15517
15514
|
|
|
15518
15515
|
// ../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js
|
|
15519
15516
|
var require_has_symbols = __commonJS({
|
|
15520
|
-
"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(
|
|
15517
|
+
"../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(exports2, module2) {
|
|
15521
15518
|
"use strict";
|
|
15522
15519
|
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
15523
15520
|
var hasSymbolSham = require_shams();
|
|
15524
|
-
|
|
15521
|
+
module2.exports = function hasNativeSymbols() {
|
|
15525
15522
|
if (typeof origSymbol !== "function") {
|
|
15526
15523
|
return false;
|
|
15527
15524
|
}
|
|
@@ -15541,24 +15538,24 @@ var require_has_symbols = __commonJS({
|
|
|
15541
15538
|
|
|
15542
15539
|
// ../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js
|
|
15543
15540
|
var require_Reflect_getPrototypeOf = __commonJS({
|
|
15544
|
-
"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(
|
|
15541
|
+
"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(exports2, module2) {
|
|
15545
15542
|
"use strict";
|
|
15546
|
-
|
|
15543
|
+
module2.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
|
|
15547
15544
|
}
|
|
15548
15545
|
});
|
|
15549
15546
|
|
|
15550
15547
|
// ../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js
|
|
15551
15548
|
var require_Object_getPrototypeOf = __commonJS({
|
|
15552
|
-
"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(
|
|
15549
|
+
"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(exports2, module2) {
|
|
15553
15550
|
"use strict";
|
|
15554
15551
|
var $Object = require_es_object_atoms();
|
|
15555
|
-
|
|
15552
|
+
module2.exports = $Object.getPrototypeOf || null;
|
|
15556
15553
|
}
|
|
15557
15554
|
});
|
|
15558
15555
|
|
|
15559
15556
|
// ../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js
|
|
15560
15557
|
var require_implementation = __commonJS({
|
|
15561
|
-
"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(
|
|
15558
|
+
"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(exports2, module2) {
|
|
15562
15559
|
"use strict";
|
|
15563
15560
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
15564
15561
|
var toStr = Object.prototype.toString;
|
|
@@ -15591,7 +15588,7 @@ var require_implementation = __commonJS({
|
|
|
15591
15588
|
}
|
|
15592
15589
|
return str;
|
|
15593
15590
|
};
|
|
15594
|
-
|
|
15591
|
+
module2.exports = function bind(that) {
|
|
15595
15592
|
var target = this;
|
|
15596
15593
|
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
15597
15594
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
@@ -15634,58 +15631,58 @@ var require_implementation = __commonJS({
|
|
|
15634
15631
|
|
|
15635
15632
|
// ../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js
|
|
15636
15633
|
var require_function_bind = __commonJS({
|
|
15637
|
-
"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(
|
|
15634
|
+
"../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(exports2, module2) {
|
|
15638
15635
|
"use strict";
|
|
15639
15636
|
var implementation = require_implementation();
|
|
15640
|
-
|
|
15637
|
+
module2.exports = Function.prototype.bind || implementation;
|
|
15641
15638
|
}
|
|
15642
15639
|
});
|
|
15643
15640
|
|
|
15644
15641
|
// ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js
|
|
15645
15642
|
var require_functionCall = __commonJS({
|
|
15646
|
-
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(
|
|
15643
|
+
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(exports2, module2) {
|
|
15647
15644
|
"use strict";
|
|
15648
|
-
|
|
15645
|
+
module2.exports = Function.prototype.call;
|
|
15649
15646
|
}
|
|
15650
15647
|
});
|
|
15651
15648
|
|
|
15652
15649
|
// ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js
|
|
15653
15650
|
var require_functionApply = __commonJS({
|
|
15654
|
-
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(
|
|
15651
|
+
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(exports2, module2) {
|
|
15655
15652
|
"use strict";
|
|
15656
|
-
|
|
15653
|
+
module2.exports = Function.prototype.apply;
|
|
15657
15654
|
}
|
|
15658
15655
|
});
|
|
15659
15656
|
|
|
15660
15657
|
// ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js
|
|
15661
15658
|
var require_reflectApply = __commonJS({
|
|
15662
|
-
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(
|
|
15659
|
+
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(exports2, module2) {
|
|
15663
15660
|
"use strict";
|
|
15664
|
-
|
|
15661
|
+
module2.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
15665
15662
|
}
|
|
15666
15663
|
});
|
|
15667
15664
|
|
|
15668
15665
|
// ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js
|
|
15669
15666
|
var require_actualApply = __commonJS({
|
|
15670
|
-
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(
|
|
15667
|
+
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(exports2, module2) {
|
|
15671
15668
|
"use strict";
|
|
15672
15669
|
var bind = require_function_bind();
|
|
15673
15670
|
var $apply = require_functionApply();
|
|
15674
15671
|
var $call = require_functionCall();
|
|
15675
15672
|
var $reflectApply = require_reflectApply();
|
|
15676
|
-
|
|
15673
|
+
module2.exports = $reflectApply || bind.call($call, $apply);
|
|
15677
15674
|
}
|
|
15678
15675
|
});
|
|
15679
15676
|
|
|
15680
15677
|
// ../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js
|
|
15681
15678
|
var require_call_bind_apply_helpers = __commonJS({
|
|
15682
|
-
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(
|
|
15679
|
+
"../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(exports2, module2) {
|
|
15683
15680
|
"use strict";
|
|
15684
15681
|
var bind = require_function_bind();
|
|
15685
15682
|
var $TypeError = require_type();
|
|
15686
15683
|
var $call = require_functionCall();
|
|
15687
15684
|
var $actualApply = require_actualApply();
|
|
15688
|
-
|
|
15685
|
+
module2.exports = function callBindBasic(args) {
|
|
15689
15686
|
if (args.length < 1 || typeof args[0] !== "function") {
|
|
15690
15687
|
throw new $TypeError("a function is required");
|
|
15691
15688
|
}
|
|
@@ -15696,7 +15693,7 @@ var require_call_bind_apply_helpers = __commonJS({
|
|
|
15696
15693
|
|
|
15697
15694
|
// ../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js
|
|
15698
15695
|
var require_get = __commonJS({
|
|
15699
|
-
"../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(
|
|
15696
|
+
"../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(exports2, module2) {
|
|
15700
15697
|
"use strict";
|
|
15701
15698
|
var callBind = require_call_bind_apply_helpers();
|
|
15702
15699
|
var gOPD = require_gopd();
|
|
@@ -15716,7 +15713,7 @@ var require_get = __commonJS({
|
|
|
15716
15713
|
);
|
|
15717
15714
|
var $Object = Object;
|
|
15718
15715
|
var $getPrototypeOf = $Object.getPrototypeOf;
|
|
15719
|
-
|
|
15716
|
+
module2.exports = desc && typeof desc.get === "function" ? callBind([desc.get]) : typeof $getPrototypeOf === "function" ? (
|
|
15720
15717
|
/** @type {import('./get')} */
|
|
15721
15718
|
function getDunder(value) {
|
|
15722
15719
|
return $getPrototypeOf(value == null ? value : $Object(value));
|
|
@@ -15727,12 +15724,12 @@ var require_get = __commonJS({
|
|
|
15727
15724
|
|
|
15728
15725
|
// ../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js
|
|
15729
15726
|
var require_get_proto = __commonJS({
|
|
15730
|
-
"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(
|
|
15727
|
+
"../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(exports2, module2) {
|
|
15731
15728
|
"use strict";
|
|
15732
15729
|
var reflectGetProto = require_Reflect_getPrototypeOf();
|
|
15733
15730
|
var originalGetProto = require_Object_getPrototypeOf();
|
|
15734
15731
|
var getDunderProto = require_get();
|
|
15735
|
-
|
|
15732
|
+
module2.exports = reflectGetProto ? function getProto(O) {
|
|
15736
15733
|
return reflectGetProto(O);
|
|
15737
15734
|
} : originalGetProto ? function getProto(O) {
|
|
15738
15735
|
if (!O || typeof O !== "object" && typeof O !== "function") {
|
|
@@ -15747,18 +15744,18 @@ var require_get_proto = __commonJS({
|
|
|
15747
15744
|
|
|
15748
15745
|
// ../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js
|
|
15749
15746
|
var require_hasown = __commonJS({
|
|
15750
|
-
"../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(
|
|
15747
|
+
"../../node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(exports2, module2) {
|
|
15751
15748
|
"use strict";
|
|
15752
15749
|
var call = Function.prototype.call;
|
|
15753
15750
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
15754
15751
|
var bind = require_function_bind();
|
|
15755
|
-
|
|
15752
|
+
module2.exports = bind.call(call, $hasOwn);
|
|
15756
15753
|
}
|
|
15757
15754
|
});
|
|
15758
15755
|
|
|
15759
15756
|
// ../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js
|
|
15760
15757
|
var require_get_intrinsic = __commonJS({
|
|
15761
|
-
"../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(
|
|
15758
|
+
"../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(exports2, module2) {
|
|
15762
15759
|
"use strict";
|
|
15763
15760
|
var undefined2;
|
|
15764
15761
|
var $Object = require_es_object_atoms();
|
|
@@ -16023,7 +16020,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
16023
16020
|
}
|
|
16024
16021
|
throw new $SyntaxError("intrinsic " + name + " does not exist!");
|
|
16025
16022
|
};
|
|
16026
|
-
|
|
16023
|
+
module2.exports = function GetIntrinsic(name, allowMissing) {
|
|
16027
16024
|
if (typeof name !== "string" || name.length === 0) {
|
|
16028
16025
|
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
16029
16026
|
}
|
|
@@ -16089,12 +16086,12 @@ var require_get_intrinsic = __commonJS({
|
|
|
16089
16086
|
|
|
16090
16087
|
// ../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js
|
|
16091
16088
|
var require_call_bound = __commonJS({
|
|
16092
|
-
"../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(
|
|
16089
|
+
"../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(exports2, module2) {
|
|
16093
16090
|
"use strict";
|
|
16094
16091
|
var GetIntrinsic = require_get_intrinsic();
|
|
16095
16092
|
var callBindBasic = require_call_bind_apply_helpers();
|
|
16096
16093
|
var $indexOf = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]);
|
|
16097
|
-
|
|
16094
|
+
module2.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
16098
16095
|
var intrinsic = (
|
|
16099
16096
|
/** @type {(this: unknown, ...args: unknown[]) => unknown} */
|
|
16100
16097
|
GetIntrinsic(name, !!allowMissing)
|
|
@@ -16112,7 +16109,7 @@ var require_call_bound = __commonJS({
|
|
|
16112
16109
|
|
|
16113
16110
|
// ../../node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.js
|
|
16114
16111
|
var require_side_channel_map = __commonJS({
|
|
16115
|
-
"../../node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.js"(
|
|
16112
|
+
"../../node_modules/.pnpm/side-channel-map@1.0.1/node_modules/side-channel-map/index.js"(exports2, module2) {
|
|
16116
16113
|
"use strict";
|
|
16117
16114
|
var GetIntrinsic = require_get_intrinsic();
|
|
16118
16115
|
var callBound = require_call_bound();
|
|
@@ -16124,7 +16121,7 @@ var require_side_channel_map = __commonJS({
|
|
|
16124
16121
|
var $mapHas = callBound("Map.prototype.has", true);
|
|
16125
16122
|
var $mapDelete = callBound("Map.prototype.delete", true);
|
|
16126
16123
|
var $mapSize = callBound("Map.prototype.size", true);
|
|
16127
|
-
|
|
16124
|
+
module2.exports = !!$Map && /** @type {Exclude<import('.'), false>} */
|
|
16128
16125
|
function getSideChannelMap() {
|
|
16129
16126
|
var $m;
|
|
16130
16127
|
var channel = {
|
|
@@ -16168,7 +16165,7 @@ var require_side_channel_map = __commonJS({
|
|
|
16168
16165
|
|
|
16169
16166
|
// ../../node_modules/.pnpm/side-channel-weakmap@1.0.2/node_modules/side-channel-weakmap/index.js
|
|
16170
16167
|
var require_side_channel_weakmap = __commonJS({
|
|
16171
|
-
"../../node_modules/.pnpm/side-channel-weakmap@1.0.2/node_modules/side-channel-weakmap/index.js"(
|
|
16168
|
+
"../../node_modules/.pnpm/side-channel-weakmap@1.0.2/node_modules/side-channel-weakmap/index.js"(exports2, module2) {
|
|
16172
16169
|
"use strict";
|
|
16173
16170
|
var GetIntrinsic = require_get_intrinsic();
|
|
16174
16171
|
var callBound = require_call_bound();
|
|
@@ -16180,7 +16177,7 @@ var require_side_channel_weakmap = __commonJS({
|
|
|
16180
16177
|
var $weakMapSet = callBound("WeakMap.prototype.set", true);
|
|
16181
16178
|
var $weakMapHas = callBound("WeakMap.prototype.has", true);
|
|
16182
16179
|
var $weakMapDelete = callBound("WeakMap.prototype.delete", true);
|
|
16183
|
-
|
|
16180
|
+
module2.exports = $WeakMap ? (
|
|
16184
16181
|
/** @type {Exclude<import('.'), false>} */
|
|
16185
16182
|
function getSideChannelWeakMap() {
|
|
16186
16183
|
var $wm;
|
|
@@ -16241,7 +16238,7 @@ var require_side_channel_weakmap = __commonJS({
|
|
|
16241
16238
|
|
|
16242
16239
|
// ../../node_modules/.pnpm/side-channel@1.1.0/node_modules/side-channel/index.js
|
|
16243
16240
|
var require_side_channel = __commonJS({
|
|
16244
|
-
"../../node_modules/.pnpm/side-channel@1.1.0/node_modules/side-channel/index.js"(
|
|
16241
|
+
"../../node_modules/.pnpm/side-channel@1.1.0/node_modules/side-channel/index.js"(exports2, module2) {
|
|
16245
16242
|
"use strict";
|
|
16246
16243
|
var $TypeError = require_type();
|
|
16247
16244
|
var inspect = require_object_inspect();
|
|
@@ -16249,7 +16246,7 @@ var require_side_channel = __commonJS({
|
|
|
16249
16246
|
var getSideChannelMap = require_side_channel_map();
|
|
16250
16247
|
var getSideChannelWeakMap = require_side_channel_weakmap();
|
|
16251
16248
|
var makeChannel = getSideChannelWeakMap || getSideChannelMap || getSideChannelList;
|
|
16252
|
-
|
|
16249
|
+
module2.exports = function getSideChannel() {
|
|
16253
16250
|
var $channelData;
|
|
16254
16251
|
var channel = {
|
|
16255
16252
|
assert: function(key) {
|
|
@@ -16280,7 +16277,7 @@ var require_side_channel = __commonJS({
|
|
|
16280
16277
|
|
|
16281
16278
|
// ../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/formats.js
|
|
16282
16279
|
var require_formats = __commonJS({
|
|
16283
|
-
"../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/formats.js"(
|
|
16280
|
+
"../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/formats.js"(exports2, module2) {
|
|
16284
16281
|
"use strict";
|
|
16285
16282
|
var replace = String.prototype.replace;
|
|
16286
16283
|
var percentTwenties = /%20/g;
|
|
@@ -16288,7 +16285,7 @@ var require_formats = __commonJS({
|
|
|
16288
16285
|
RFC1738: "RFC1738",
|
|
16289
16286
|
RFC3986: "RFC3986"
|
|
16290
16287
|
};
|
|
16291
|
-
|
|
16288
|
+
module2.exports = {
|
|
16292
16289
|
"default": Format.RFC3986,
|
|
16293
16290
|
formatters: {
|
|
16294
16291
|
RFC1738: function(value) {
|
|
@@ -16306,7 +16303,7 @@ var require_formats = __commonJS({
|
|
|
16306
16303
|
|
|
16307
16304
|
// ../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/utils.js
|
|
16308
16305
|
var require_utils = __commonJS({
|
|
16309
|
-
"../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/utils.js"(
|
|
16306
|
+
"../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/utils.js"(exports2, module2) {
|
|
16310
16307
|
"use strict";
|
|
16311
16308
|
var formats = require_formats();
|
|
16312
16309
|
var getSideChannel = require_side_channel();
|
|
@@ -16549,7 +16546,7 @@ var require_utils = __commonJS({
|
|
|
16549
16546
|
}
|
|
16550
16547
|
return fn(val);
|
|
16551
16548
|
};
|
|
16552
|
-
|
|
16549
|
+
module2.exports = {
|
|
16553
16550
|
arrayToObject,
|
|
16554
16551
|
assign,
|
|
16555
16552
|
combine,
|
|
@@ -16568,7 +16565,7 @@ var require_utils = __commonJS({
|
|
|
16568
16565
|
|
|
16569
16566
|
// ../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/stringify.js
|
|
16570
16567
|
var require_stringify = __commonJS({
|
|
16571
|
-
"../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/stringify.js"(
|
|
16568
|
+
"../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/stringify.js"(exports2, module2) {
|
|
16572
16569
|
"use strict";
|
|
16573
16570
|
var getSideChannel = require_side_channel();
|
|
16574
16571
|
var utils = require_utils();
|
|
@@ -16783,7 +16780,7 @@ var require_stringify = __commonJS({
|
|
|
16783
16780
|
strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults.strictNullHandling
|
|
16784
16781
|
};
|
|
16785
16782
|
};
|
|
16786
|
-
|
|
16783
|
+
module2.exports = function(object, opts) {
|
|
16787
16784
|
var obj = object;
|
|
16788
16785
|
var options = normalizeStringifyOptions(opts);
|
|
16789
16786
|
var objKeys;
|
|
@@ -16851,7 +16848,7 @@ var require_stringify = __commonJS({
|
|
|
16851
16848
|
|
|
16852
16849
|
// ../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/parse.js
|
|
16853
16850
|
var require_parse = __commonJS({
|
|
16854
|
-
"../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/parse.js"(
|
|
16851
|
+
"../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/parse.js"(exports2, module2) {
|
|
16855
16852
|
"use strict";
|
|
16856
16853
|
var utils = require_utils();
|
|
16857
16854
|
var has = Object.prototype.hasOwnProperty;
|
|
@@ -17125,7 +17122,7 @@ var require_parse = __commonJS({
|
|
|
17125
17122
|
throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === "boolean" ? opts.throwOnLimitExceeded : false
|
|
17126
17123
|
};
|
|
17127
17124
|
};
|
|
17128
|
-
|
|
17125
|
+
module2.exports = function(str, opts) {
|
|
17129
17126
|
var options = normalizeParseOptions(opts);
|
|
17130
17127
|
if (str === "" || str === null || typeof str === "undefined") {
|
|
17131
17128
|
return options.plainObjects ? { __proto__: null } : {};
|
|
@@ -17148,12 +17145,12 @@ var require_parse = __commonJS({
|
|
|
17148
17145
|
|
|
17149
17146
|
// ../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/index.js
|
|
17150
17147
|
var require_lib2 = __commonJS({
|
|
17151
|
-
"../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/index.js"(
|
|
17148
|
+
"../../node_modules/.pnpm/qs@6.14.2/node_modules/qs/lib/index.js"(exports2, module2) {
|
|
17152
17149
|
"use strict";
|
|
17153
17150
|
var stringify = require_stringify();
|
|
17154
17151
|
var parse = require_parse();
|
|
17155
17152
|
var formats = require_formats();
|
|
17156
|
-
|
|
17153
|
+
module2.exports = {
|
|
17157
17154
|
formats,
|
|
17158
17155
|
parse,
|
|
17159
17156
|
stringify
|
|
@@ -17163,7 +17160,7 @@ var require_lib2 = __commonJS({
|
|
|
17163
17160
|
|
|
17164
17161
|
// ../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/types/urlencoded.js
|
|
17165
17162
|
var require_urlencoded = __commonJS({
|
|
17166
|
-
"../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/types/urlencoded.js"(
|
|
17163
|
+
"../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/lib/types/urlencoded.js"(exports2, module2) {
|
|
17167
17164
|
"use strict";
|
|
17168
17165
|
var bytes = require_bytes();
|
|
17169
17166
|
var contentType = require_content_type();
|
|
@@ -17172,7 +17169,7 @@ var require_urlencoded = __commonJS({
|
|
|
17172
17169
|
var deprecate = require_depd()("body-parser");
|
|
17173
17170
|
var read = require_read();
|
|
17174
17171
|
var typeis = require_type_is();
|
|
17175
|
-
|
|
17172
|
+
module2.exports = urlencoded;
|
|
17176
17173
|
var parsers = /* @__PURE__ */ Object.create(null);
|
|
17177
17174
|
function urlencoded(options) {
|
|
17178
17175
|
var opts = options || {};
|
|
@@ -17299,7 +17296,7 @@ var require_urlencoded = __commonJS({
|
|
|
17299
17296
|
mod = require_lib2();
|
|
17300
17297
|
break;
|
|
17301
17298
|
case "querystring":
|
|
17302
|
-
mod =
|
|
17299
|
+
mod = require("querystring");
|
|
17303
17300
|
break;
|
|
17304
17301
|
}
|
|
17305
17302
|
parsers[name] = mod;
|
|
@@ -17336,30 +17333,30 @@ var require_urlencoded = __commonJS({
|
|
|
17336
17333
|
|
|
17337
17334
|
// ../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/index.js
|
|
17338
17335
|
var require_body_parser = __commonJS({
|
|
17339
|
-
"../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/index.js"(
|
|
17336
|
+
"../../node_modules/.pnpm/body-parser@1.20.4/node_modules/body-parser/index.js"(exports2, module2) {
|
|
17340
17337
|
"use strict";
|
|
17341
17338
|
var deprecate = require_depd()("body-parser");
|
|
17342
17339
|
var parsers = /* @__PURE__ */ Object.create(null);
|
|
17343
|
-
|
|
17340
|
+
exports2 = module2.exports = deprecate.function(
|
|
17344
17341
|
bodyParser,
|
|
17345
17342
|
"bodyParser: use individual json/urlencoded middlewares"
|
|
17346
17343
|
);
|
|
17347
|
-
Object.defineProperty(
|
|
17344
|
+
Object.defineProperty(exports2, "json", {
|
|
17348
17345
|
configurable: true,
|
|
17349
17346
|
enumerable: true,
|
|
17350
17347
|
get: createParserGetter("json")
|
|
17351
17348
|
});
|
|
17352
|
-
Object.defineProperty(
|
|
17349
|
+
Object.defineProperty(exports2, "raw", {
|
|
17353
17350
|
configurable: true,
|
|
17354
17351
|
enumerable: true,
|
|
17355
17352
|
get: createParserGetter("raw")
|
|
17356
17353
|
});
|
|
17357
|
-
Object.defineProperty(
|
|
17354
|
+
Object.defineProperty(exports2, "text", {
|
|
17358
17355
|
configurable: true,
|
|
17359
17356
|
enumerable: true,
|
|
17360
17357
|
get: createParserGetter("text")
|
|
17361
17358
|
});
|
|
17362
|
-
Object.defineProperty(
|
|
17359
|
+
Object.defineProperty(exports2, "urlencoded", {
|
|
17363
17360
|
configurable: true,
|
|
17364
17361
|
enumerable: true,
|
|
17365
17362
|
get: createParserGetter("urlencoded")
|
|
@@ -17373,8 +17370,8 @@ var require_body_parser = __commonJS({
|
|
|
17373
17370
|
writable: true
|
|
17374
17371
|
}
|
|
17375
17372
|
});
|
|
17376
|
-
var _urlencoded =
|
|
17377
|
-
var _json =
|
|
17373
|
+
var _urlencoded = exports2.urlencoded(opts);
|
|
17374
|
+
var _json = exports2.json(opts);
|
|
17378
17375
|
return function bodyParser2(req, res, next) {
|
|
17379
17376
|
_json(req, res, function(err) {
|
|
17380
17377
|
if (err) return next(err);
|
|
@@ -17413,9 +17410,9 @@ var require_body_parser = __commonJS({
|
|
|
17413
17410
|
|
|
17414
17411
|
// ../../node_modules/.pnpm/merge-descriptors@1.0.3/node_modules/merge-descriptors/index.js
|
|
17415
17412
|
var require_merge_descriptors = __commonJS({
|
|
17416
|
-
"../../node_modules/.pnpm/merge-descriptors@1.0.3/node_modules/merge-descriptors/index.js"(
|
|
17413
|
+
"../../node_modules/.pnpm/merge-descriptors@1.0.3/node_modules/merge-descriptors/index.js"(exports2, module2) {
|
|
17417
17414
|
"use strict";
|
|
17418
|
-
|
|
17415
|
+
module2.exports = merge;
|
|
17419
17416
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
17420
17417
|
function merge(dest, src, redefine) {
|
|
17421
17418
|
if (!dest) {
|
|
@@ -17441,9 +17438,9 @@ var require_merge_descriptors = __commonJS({
|
|
|
17441
17438
|
|
|
17442
17439
|
// ../../node_modules/.pnpm/encodeurl@2.0.0/node_modules/encodeurl/index.js
|
|
17443
17440
|
var require_encodeurl = __commonJS({
|
|
17444
|
-
"../../node_modules/.pnpm/encodeurl@2.0.0/node_modules/encodeurl/index.js"(
|
|
17441
|
+
"../../node_modules/.pnpm/encodeurl@2.0.0/node_modules/encodeurl/index.js"(exports2, module2) {
|
|
17445
17442
|
"use strict";
|
|
17446
|
-
|
|
17443
|
+
module2.exports = encodeUrl;
|
|
17447
17444
|
var ENCODE_CHARS_REGEXP = /(?:[^\x21\x23-\x3B\x3D\x3F-\x5F\x61-\x7A\x7C\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g;
|
|
17448
17445
|
var UNMATCHED_SURROGATE_PAIR_REGEXP = /(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g;
|
|
17449
17446
|
var UNMATCHED_SURROGATE_PAIR_REPLACE = "$1\uFFFD$2";
|
|
@@ -17455,10 +17452,10 @@ var require_encodeurl = __commonJS({
|
|
|
17455
17452
|
|
|
17456
17453
|
// ../../node_modules/.pnpm/escape-html@1.0.3/node_modules/escape-html/index.js
|
|
17457
17454
|
var require_escape_html = __commonJS({
|
|
17458
|
-
"../../node_modules/.pnpm/escape-html@1.0.3/node_modules/escape-html/index.js"(
|
|
17455
|
+
"../../node_modules/.pnpm/escape-html@1.0.3/node_modules/escape-html/index.js"(exports2, module2) {
|
|
17459
17456
|
"use strict";
|
|
17460
17457
|
var matchHtmlRegExp = /["'&<>]/;
|
|
17461
|
-
|
|
17458
|
+
module2.exports = escapeHtml;
|
|
17462
17459
|
function escapeHtml(string) {
|
|
17463
17460
|
var str = "" + string;
|
|
17464
17461
|
var match = matchHtmlRegExp.exec(str);
|
|
@@ -17502,13 +17499,13 @@ var require_escape_html = __commonJS({
|
|
|
17502
17499
|
|
|
17503
17500
|
// ../../node_modules/.pnpm/parseurl@1.3.3/node_modules/parseurl/index.js
|
|
17504
17501
|
var require_parseurl = __commonJS({
|
|
17505
|
-
"../../node_modules/.pnpm/parseurl@1.3.3/node_modules/parseurl/index.js"(
|
|
17502
|
+
"../../node_modules/.pnpm/parseurl@1.3.3/node_modules/parseurl/index.js"(exports2, module2) {
|
|
17506
17503
|
"use strict";
|
|
17507
|
-
var url =
|
|
17504
|
+
var url = require("url");
|
|
17508
17505
|
var parse = url.parse;
|
|
17509
17506
|
var Url = url.Url;
|
|
17510
|
-
|
|
17511
|
-
|
|
17507
|
+
module2.exports = parseurl;
|
|
17508
|
+
module2.exports.original = originalurl;
|
|
17512
17509
|
function parseurl(req) {
|
|
17513
17510
|
var url2 = req.url;
|
|
17514
17511
|
if (url2 === void 0) {
|
|
@@ -17586,7 +17583,7 @@ var require_parseurl = __commonJS({
|
|
|
17586
17583
|
|
|
17587
17584
|
// ../../node_modules/.pnpm/finalhandler@1.3.2/node_modules/finalhandler/index.js
|
|
17588
17585
|
var require_finalhandler = __commonJS({
|
|
17589
|
-
"../../node_modules/.pnpm/finalhandler@1.3.2/node_modules/finalhandler/index.js"(
|
|
17586
|
+
"../../node_modules/.pnpm/finalhandler@1.3.2/node_modules/finalhandler/index.js"(exports2, module2) {
|
|
17590
17587
|
"use strict";
|
|
17591
17588
|
var debug = require_src()("finalhandler");
|
|
17592
17589
|
var encodeUrl = require_encodeurl();
|
|
@@ -17605,7 +17602,7 @@ var require_finalhandler = __commonJS({
|
|
|
17605
17602
|
var body = escapeHtml(message).replace(NEWLINE_REGEXP, "<br>").replace(DOUBLE_SPACE_REGEXP, " ");
|
|
17606
17603
|
return '<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>Error</title>\n</head>\n<body>\n<pre>' + body + "</pre>\n</body>\n</html>\n";
|
|
17607
17604
|
}
|
|
17608
|
-
|
|
17605
|
+
module2.exports = finalhandler;
|
|
17609
17606
|
function finalhandler(req, res, options) {
|
|
17610
17607
|
var opts = options || {};
|
|
17611
17608
|
var env = opts.env || process.env.NODE_ENV || "development";
|
|
@@ -17736,9 +17733,9 @@ var require_finalhandler = __commonJS({
|
|
|
17736
17733
|
|
|
17737
17734
|
// ../../node_modules/.pnpm/array-flatten@1.1.1/node_modules/array-flatten/array-flatten.js
|
|
17738
17735
|
var require_array_flatten = __commonJS({
|
|
17739
|
-
"../../node_modules/.pnpm/array-flatten@1.1.1/node_modules/array-flatten/array-flatten.js"(
|
|
17736
|
+
"../../node_modules/.pnpm/array-flatten@1.1.1/node_modules/array-flatten/array-flatten.js"(exports2, module2) {
|
|
17740
17737
|
"use strict";
|
|
17741
|
-
|
|
17738
|
+
module2.exports = arrayFlatten;
|
|
17742
17739
|
function flattenWithDepth(array, result, depth) {
|
|
17743
17740
|
for (var i = 0; i < array.length; i++) {
|
|
17744
17741
|
var value = array[i];
|
|
@@ -17772,11 +17769,11 @@ var require_array_flatten = __commonJS({
|
|
|
17772
17769
|
|
|
17773
17770
|
// ../../node_modules/.pnpm/path-to-regexp@0.1.13/node_modules/path-to-regexp/index.js
|
|
17774
17771
|
var require_path_to_regexp = __commonJS({
|
|
17775
|
-
"../../node_modules/.pnpm/path-to-regexp@0.1.13/node_modules/path-to-regexp/index.js"(
|
|
17772
|
+
"../../node_modules/.pnpm/path-to-regexp@0.1.13/node_modules/path-to-regexp/index.js"(exports2, module2) {
|
|
17776
17773
|
"use strict";
|
|
17777
|
-
|
|
17774
|
+
module2.exports = pathToRegexp;
|
|
17778
17775
|
var MATCHING_GROUP_REGEXP = /\\.|\((?:\?<(.*?)>)?(?!\?)/g;
|
|
17779
|
-
function pathToRegexp(
|
|
17776
|
+
function pathToRegexp(path16, keys, options) {
|
|
17780
17777
|
options = options || {};
|
|
17781
17778
|
keys = keys || [];
|
|
17782
17779
|
var strict = options.strict;
|
|
@@ -17790,8 +17787,8 @@ var require_path_to_regexp = __commonJS({
|
|
|
17790
17787
|
var pos = 0;
|
|
17791
17788
|
var backtrack = "";
|
|
17792
17789
|
var m;
|
|
17793
|
-
if (
|
|
17794
|
-
while (m = MATCHING_GROUP_REGEXP.exec(
|
|
17790
|
+
if (path16 instanceof RegExp) {
|
|
17791
|
+
while (m = MATCHING_GROUP_REGEXP.exec(path16.source)) {
|
|
17795
17792
|
if (m[0][0] === "\\") continue;
|
|
17796
17793
|
keys.push({
|
|
17797
17794
|
name: m[1] || name++,
|
|
@@ -17799,18 +17796,18 @@ var require_path_to_regexp = __commonJS({
|
|
|
17799
17796
|
offset: m.index
|
|
17800
17797
|
});
|
|
17801
17798
|
}
|
|
17802
|
-
return
|
|
17799
|
+
return path16;
|
|
17803
17800
|
}
|
|
17804
|
-
if (Array.isArray(
|
|
17805
|
-
|
|
17801
|
+
if (Array.isArray(path16)) {
|
|
17802
|
+
path16 = path16.map(function(value) {
|
|
17806
17803
|
return pathToRegexp(value, keys, options).source;
|
|
17807
17804
|
});
|
|
17808
|
-
return new RegExp(
|
|
17805
|
+
return new RegExp(path16.join("|"), flags);
|
|
17809
17806
|
}
|
|
17810
|
-
if (typeof
|
|
17807
|
+
if (typeof path16 !== "string") {
|
|
17811
17808
|
throw new TypeError("path must be a string, array of strings, or regular expression");
|
|
17812
17809
|
}
|
|
17813
|
-
|
|
17810
|
+
path16 = path16.replace(
|
|
17814
17811
|
/\\.|(\/)?(\.)?:(\w+)(\(.*?\))?(\*)?(\?)?|[.*]|\/\(/g,
|
|
17815
17812
|
function(match, slash, format, key, capture, star, optional, offset) {
|
|
17816
17813
|
if (match[0] === "\\") {
|
|
@@ -17827,7 +17824,7 @@ var require_path_to_regexp = __commonJS({
|
|
|
17827
17824
|
if (slash || format) {
|
|
17828
17825
|
backtrack = "";
|
|
17829
17826
|
} else {
|
|
17830
|
-
backtrack +=
|
|
17827
|
+
backtrack += path16.slice(pos, offset);
|
|
17831
17828
|
}
|
|
17832
17829
|
pos = offset + match.length;
|
|
17833
17830
|
if (match === "*") {
|
|
@@ -17857,7 +17854,7 @@ var require_path_to_regexp = __commonJS({
|
|
|
17857
17854
|
return result;
|
|
17858
17855
|
}
|
|
17859
17856
|
);
|
|
17860
|
-
while (m = MATCHING_GROUP_REGEXP.exec(
|
|
17857
|
+
while (m = MATCHING_GROUP_REGEXP.exec(path16)) {
|
|
17861
17858
|
if (m[0][0] === "\\") continue;
|
|
17862
17859
|
if (keysOffset + i === keys.length || keys[keysOffset + i].offset > m.index) {
|
|
17863
17860
|
keys.splice(keysOffset + i, 0, {
|
|
@@ -17869,38 +17866,38 @@ var require_path_to_regexp = __commonJS({
|
|
|
17869
17866
|
}
|
|
17870
17867
|
i++;
|
|
17871
17868
|
}
|
|
17872
|
-
|
|
17869
|
+
path16 += strict ? "" : path16[path16.length - 1] === "/" ? "?" : "/?";
|
|
17873
17870
|
if (end) {
|
|
17874
|
-
|
|
17875
|
-
} else if (
|
|
17876
|
-
|
|
17871
|
+
path16 += "$";
|
|
17872
|
+
} else if (path16[path16.length - 1] !== "/") {
|
|
17873
|
+
path16 += lookahead ? "(?=/|$)" : "(?:/|$)";
|
|
17877
17874
|
}
|
|
17878
|
-
return new RegExp("^" +
|
|
17875
|
+
return new RegExp("^" + path16, flags);
|
|
17879
17876
|
}
|
|
17880
17877
|
}
|
|
17881
17878
|
});
|
|
17882
17879
|
|
|
17883
17880
|
// ../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/router/layer.js
|
|
17884
17881
|
var require_layer = __commonJS({
|
|
17885
|
-
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/router/layer.js"(
|
|
17882
|
+
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/router/layer.js"(exports2, module2) {
|
|
17886
17883
|
"use strict";
|
|
17887
17884
|
var pathRegexp = require_path_to_regexp();
|
|
17888
17885
|
var debug = require_src()("express:router:layer");
|
|
17889
17886
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
17890
|
-
|
|
17891
|
-
function Layer(
|
|
17887
|
+
module2.exports = Layer;
|
|
17888
|
+
function Layer(path16, options, fn) {
|
|
17892
17889
|
if (!(this instanceof Layer)) {
|
|
17893
|
-
return new Layer(
|
|
17890
|
+
return new Layer(path16, options, fn);
|
|
17894
17891
|
}
|
|
17895
|
-
debug("new %o",
|
|
17892
|
+
debug("new %o", path16);
|
|
17896
17893
|
var opts = options || {};
|
|
17897
17894
|
this.handle = fn;
|
|
17898
17895
|
this.name = fn.name || "<anonymous>";
|
|
17899
17896
|
this.params = void 0;
|
|
17900
17897
|
this.path = void 0;
|
|
17901
|
-
this.regexp = pathRegexp(
|
|
17902
|
-
this.regexp.fast_star =
|
|
17903
|
-
this.regexp.fast_slash =
|
|
17898
|
+
this.regexp = pathRegexp(path16, this.keys = [], opts);
|
|
17899
|
+
this.regexp.fast_star = path16 === "*";
|
|
17900
|
+
this.regexp.fast_slash = path16 === "/" && opts.end === false;
|
|
17904
17901
|
}
|
|
17905
17902
|
Layer.prototype.handle_error = function handle_error(error, req, res, next) {
|
|
17906
17903
|
var fn = this.handle;
|
|
@@ -17924,20 +17921,20 @@ var require_layer = __commonJS({
|
|
|
17924
17921
|
next(err);
|
|
17925
17922
|
}
|
|
17926
17923
|
};
|
|
17927
|
-
Layer.prototype.match = function match(
|
|
17924
|
+
Layer.prototype.match = function match(path16) {
|
|
17928
17925
|
var match2;
|
|
17929
|
-
if (
|
|
17926
|
+
if (path16 != null) {
|
|
17930
17927
|
if (this.regexp.fast_slash) {
|
|
17931
17928
|
this.params = {};
|
|
17932
17929
|
this.path = "";
|
|
17933
17930
|
return true;
|
|
17934
17931
|
}
|
|
17935
17932
|
if (this.regexp.fast_star) {
|
|
17936
|
-
this.params = { "0": decode_param(
|
|
17937
|
-
this.path =
|
|
17933
|
+
this.params = { "0": decode_param(path16) };
|
|
17934
|
+
this.path = path16;
|
|
17938
17935
|
return true;
|
|
17939
17936
|
}
|
|
17940
|
-
match2 = this.regexp.exec(
|
|
17937
|
+
match2 = this.regexp.exec(path16);
|
|
17941
17938
|
}
|
|
17942
17939
|
if (!match2) {
|
|
17943
17940
|
this.params = void 0;
|
|
@@ -17977,10 +17974,10 @@ var require_layer = __commonJS({
|
|
|
17977
17974
|
|
|
17978
17975
|
// ../../node_modules/.pnpm/methods@1.1.2/node_modules/methods/index.js
|
|
17979
17976
|
var require_methods = __commonJS({
|
|
17980
|
-
"../../node_modules/.pnpm/methods@1.1.2/node_modules/methods/index.js"(
|
|
17977
|
+
"../../node_modules/.pnpm/methods@1.1.2/node_modules/methods/index.js"(exports2, module2) {
|
|
17981
17978
|
"use strict";
|
|
17982
|
-
var http2 =
|
|
17983
|
-
|
|
17979
|
+
var http2 = require("http");
|
|
17980
|
+
module2.exports = getCurrentNodeMethods() || getBasicNodeMethods();
|
|
17984
17981
|
function getCurrentNodeMethods() {
|
|
17985
17982
|
return http2.METHODS && http2.METHODS.map(function lowerCaseMethod(method) {
|
|
17986
17983
|
return method.toLowerCase();
|
|
@@ -18021,7 +18018,7 @@ var require_methods = __commonJS({
|
|
|
18021
18018
|
|
|
18022
18019
|
// ../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/router/route.js
|
|
18023
18020
|
var require_route = __commonJS({
|
|
18024
|
-
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/router/route.js"(
|
|
18021
|
+
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/router/route.js"(exports2, module2) {
|
|
18025
18022
|
"use strict";
|
|
18026
18023
|
var debug = require_src()("express:router:route");
|
|
18027
18024
|
var flatten = require_array_flatten();
|
|
@@ -18029,11 +18026,11 @@ var require_route = __commonJS({
|
|
|
18029
18026
|
var methods = require_methods();
|
|
18030
18027
|
var slice = Array.prototype.slice;
|
|
18031
18028
|
var toString = Object.prototype.toString;
|
|
18032
|
-
|
|
18033
|
-
function Route(
|
|
18034
|
-
this.path =
|
|
18029
|
+
module2.exports = Route;
|
|
18030
|
+
function Route(path16) {
|
|
18031
|
+
this.path = path16;
|
|
18035
18032
|
this.stack = [];
|
|
18036
|
-
debug("new %o",
|
|
18033
|
+
debug("new %o", path16);
|
|
18037
18034
|
this.methods = {};
|
|
18038
18035
|
}
|
|
18039
18036
|
Route.prototype._handles_method = function _handles_method(method) {
|
|
@@ -18133,9 +18130,9 @@ var require_route = __commonJS({
|
|
|
18133
18130
|
|
|
18134
18131
|
// ../../node_modules/.pnpm/utils-merge@1.0.1/node_modules/utils-merge/index.js
|
|
18135
18132
|
var require_utils_merge = __commonJS({
|
|
18136
|
-
"../../node_modules/.pnpm/utils-merge@1.0.1/node_modules/utils-merge/index.js"(
|
|
18133
|
+
"../../node_modules/.pnpm/utils-merge@1.0.1/node_modules/utils-merge/index.js"(exports2, module2) {
|
|
18137
18134
|
"use strict";
|
|
18138
|
-
|
|
18135
|
+
exports2 = module2.exports = function(a, b) {
|
|
18139
18136
|
if (a && b) {
|
|
18140
18137
|
for (var key in b) {
|
|
18141
18138
|
a[key] = b[key];
|
|
@@ -18148,7 +18145,7 @@ var require_utils_merge = __commonJS({
|
|
|
18148
18145
|
|
|
18149
18146
|
// ../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/router/index.js
|
|
18150
18147
|
var require_router = __commonJS({
|
|
18151
|
-
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/router/index.js"(
|
|
18148
|
+
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/router/index.js"(exports2, module2) {
|
|
18152
18149
|
"use strict";
|
|
18153
18150
|
var Route = require_route();
|
|
18154
18151
|
var Layer = require_layer();
|
|
@@ -18162,7 +18159,7 @@ var require_router = __commonJS({
|
|
|
18162
18159
|
var objectRegExp = /^\[object (\S+)\]$/;
|
|
18163
18160
|
var slice = Array.prototype.slice;
|
|
18164
18161
|
var toString = Object.prototype.toString;
|
|
18165
|
-
var proto =
|
|
18162
|
+
var proto = module2.exports = function(options) {
|
|
18166
18163
|
var opts = options || {};
|
|
18167
18164
|
function router(req, res, next) {
|
|
18168
18165
|
router.handle(req, res, next);
|
|
@@ -18246,8 +18243,8 @@ var require_router = __commonJS({
|
|
|
18246
18243
|
if (++sync > 100) {
|
|
18247
18244
|
return setImmediate(next, err);
|
|
18248
18245
|
}
|
|
18249
|
-
var
|
|
18250
|
-
if (
|
|
18246
|
+
var path16 = getPathname(req);
|
|
18247
|
+
if (path16 == null) {
|
|
18251
18248
|
return done(layerError);
|
|
18252
18249
|
}
|
|
18253
18250
|
var layer;
|
|
@@ -18255,7 +18252,7 @@ var require_router = __commonJS({
|
|
|
18255
18252
|
var route;
|
|
18256
18253
|
while (match !== true && idx < stack.length) {
|
|
18257
18254
|
layer = stack[idx++];
|
|
18258
|
-
match = matchLayer(layer,
|
|
18255
|
+
match = matchLayer(layer, path16);
|
|
18259
18256
|
route = layer.route;
|
|
18260
18257
|
if (typeof match !== "boolean") {
|
|
18261
18258
|
layerError = layerError || match;
|
|
@@ -18293,18 +18290,18 @@ var require_router = __commonJS({
|
|
|
18293
18290
|
} else if (route) {
|
|
18294
18291
|
layer.handle_request(req, res, next);
|
|
18295
18292
|
} else {
|
|
18296
|
-
trim_prefix(layer, layerError, layerPath,
|
|
18293
|
+
trim_prefix(layer, layerError, layerPath, path16);
|
|
18297
18294
|
}
|
|
18298
18295
|
sync = 0;
|
|
18299
18296
|
});
|
|
18300
18297
|
}
|
|
18301
|
-
function trim_prefix(layer, layerError, layerPath,
|
|
18298
|
+
function trim_prefix(layer, layerError, layerPath, path16) {
|
|
18302
18299
|
if (layerPath.length !== 0) {
|
|
18303
|
-
if (layerPath !==
|
|
18300
|
+
if (layerPath !== path16.slice(0, layerPath.length)) {
|
|
18304
18301
|
next(layerError);
|
|
18305
18302
|
return;
|
|
18306
18303
|
}
|
|
18307
|
-
var c =
|
|
18304
|
+
var c = path16[layerPath.length];
|
|
18308
18305
|
if (c && c !== "/" && c !== ".") return next(layerError);
|
|
18309
18306
|
debug("trim prefix (%s) from url %s", layerPath, req.url);
|
|
18310
18307
|
removed = layerPath;
|
|
@@ -18382,7 +18379,7 @@ var require_router = __commonJS({
|
|
|
18382
18379
|
};
|
|
18383
18380
|
proto.use = function use(fn) {
|
|
18384
18381
|
var offset = 0;
|
|
18385
|
-
var
|
|
18382
|
+
var path16 = "/";
|
|
18386
18383
|
if (typeof fn !== "function") {
|
|
18387
18384
|
var arg = fn;
|
|
18388
18385
|
while (Array.isArray(arg) && arg.length !== 0) {
|
|
@@ -18390,7 +18387,7 @@ var require_router = __commonJS({
|
|
|
18390
18387
|
}
|
|
18391
18388
|
if (typeof arg !== "function") {
|
|
18392
18389
|
offset = 1;
|
|
18393
|
-
|
|
18390
|
+
path16 = fn;
|
|
18394
18391
|
}
|
|
18395
18392
|
}
|
|
18396
18393
|
var callbacks = flatten(slice.call(arguments, offset));
|
|
@@ -18402,8 +18399,8 @@ var require_router = __commonJS({
|
|
|
18402
18399
|
if (typeof fn !== "function") {
|
|
18403
18400
|
throw new TypeError("Router.use() requires a middleware function but got a " + gettype(fn));
|
|
18404
18401
|
}
|
|
18405
|
-
debug("use %o %s",
|
|
18406
|
-
var layer = new Layer(
|
|
18402
|
+
debug("use %o %s", path16, fn.name || "<anonymous>");
|
|
18403
|
+
var layer = new Layer(path16, {
|
|
18407
18404
|
sensitive: this.caseSensitive,
|
|
18408
18405
|
strict: false,
|
|
18409
18406
|
end: false
|
|
@@ -18413,9 +18410,9 @@ var require_router = __commonJS({
|
|
|
18413
18410
|
}
|
|
18414
18411
|
return this;
|
|
18415
18412
|
};
|
|
18416
|
-
proto.route = function route(
|
|
18417
|
-
var route2 = new Route(
|
|
18418
|
-
var layer = new Layer(
|
|
18413
|
+
proto.route = function route(path16) {
|
|
18414
|
+
var route2 = new Route(path16);
|
|
18415
|
+
var layer = new Layer(path16, {
|
|
18419
18416
|
sensitive: this.caseSensitive,
|
|
18420
18417
|
strict: this.strict,
|
|
18421
18418
|
end: true
|
|
@@ -18425,8 +18422,8 @@ var require_router = __commonJS({
|
|
|
18425
18422
|
return route2;
|
|
18426
18423
|
};
|
|
18427
18424
|
methods.concat("all").forEach(function(method) {
|
|
18428
|
-
proto[method] = function(
|
|
18429
|
-
var route = this.route(
|
|
18425
|
+
proto[method] = function(path16) {
|
|
18426
|
+
var route = this.route(path16);
|
|
18430
18427
|
route[method].apply(route, slice.call(arguments, 1));
|
|
18431
18428
|
return this;
|
|
18432
18429
|
};
|
|
@@ -18462,9 +18459,9 @@ var require_router = __commonJS({
|
|
|
18462
18459
|
}
|
|
18463
18460
|
return toString.call(obj).replace(objectRegExp, "$1");
|
|
18464
18461
|
}
|
|
18465
|
-
function matchLayer(layer,
|
|
18462
|
+
function matchLayer(layer, path16) {
|
|
18466
18463
|
try {
|
|
18467
|
-
return layer.match(
|
|
18464
|
+
return layer.match(path16);
|
|
18468
18465
|
} catch (err) {
|
|
18469
18466
|
return err;
|
|
18470
18467
|
}
|
|
@@ -18531,10 +18528,10 @@ var require_router = __commonJS({
|
|
|
18531
18528
|
|
|
18532
18529
|
// ../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/middleware/init.js
|
|
18533
18530
|
var require_init = __commonJS({
|
|
18534
|
-
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/middleware/init.js"(
|
|
18531
|
+
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/middleware/init.js"(exports2) {
|
|
18535
18532
|
"use strict";
|
|
18536
18533
|
var setPrototypeOf = require_setprototypeof();
|
|
18537
|
-
|
|
18534
|
+
exports2.init = function(app) {
|
|
18538
18535
|
return function expressInit(req, res, next) {
|
|
18539
18536
|
if (app.enabled("x-powered-by")) res.setHeader("X-Powered-By", "Express");
|
|
18540
18537
|
req.res = res;
|
|
@@ -18551,12 +18548,12 @@ var require_init = __commonJS({
|
|
|
18551
18548
|
|
|
18552
18549
|
// ../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/middleware/query.js
|
|
18553
18550
|
var require_query = __commonJS({
|
|
18554
|
-
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/middleware/query.js"(
|
|
18551
|
+
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/middleware/query.js"(exports2, module2) {
|
|
18555
18552
|
"use strict";
|
|
18556
18553
|
var merge = require_utils_merge();
|
|
18557
18554
|
var parseUrl = require_parseurl();
|
|
18558
18555
|
var qs = require_lib2();
|
|
18559
|
-
|
|
18556
|
+
module2.exports = function query(options) {
|
|
18560
18557
|
var opts = merge({}, options);
|
|
18561
18558
|
var queryparse = qs.parse;
|
|
18562
18559
|
if (typeof options === "function") {
|
|
@@ -18579,17 +18576,17 @@ var require_query = __commonJS({
|
|
|
18579
18576
|
|
|
18580
18577
|
// ../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/view.js
|
|
18581
18578
|
var require_view = __commonJS({
|
|
18582
|
-
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/view.js"(
|
|
18579
|
+
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/view.js"(exports2, module2) {
|
|
18583
18580
|
"use strict";
|
|
18584
18581
|
var debug = require_src()("express:view");
|
|
18585
|
-
var
|
|
18586
|
-
var
|
|
18587
|
-
var dirname3 =
|
|
18588
|
-
var basename4 =
|
|
18589
|
-
var extname3 =
|
|
18590
|
-
var
|
|
18591
|
-
var resolve10 =
|
|
18592
|
-
|
|
18582
|
+
var path16 = require("path");
|
|
18583
|
+
var fs17 = require("fs");
|
|
18584
|
+
var dirname3 = path16.dirname;
|
|
18585
|
+
var basename4 = path16.basename;
|
|
18586
|
+
var extname3 = path16.extname;
|
|
18587
|
+
var join12 = path16.join;
|
|
18588
|
+
var resolve10 = path16.resolve;
|
|
18589
|
+
module2.exports = View;
|
|
18593
18590
|
function View(name, options) {
|
|
18594
18591
|
var opts = options || {};
|
|
18595
18592
|
this.defaultEngine = opts.defaultEngine;
|
|
@@ -18607,7 +18604,7 @@ var require_view = __commonJS({
|
|
|
18607
18604
|
if (!opts.engines[this.ext]) {
|
|
18608
18605
|
var mod = this.ext.slice(1);
|
|
18609
18606
|
debug('require "%s"', mod);
|
|
18610
|
-
var fn =
|
|
18607
|
+
var fn = require(mod).__express;
|
|
18611
18608
|
if (typeof fn !== "function") {
|
|
18612
18609
|
throw new Error('Module "' + mod + '" does not provide a view engine.');
|
|
18613
18610
|
}
|
|
@@ -18617,17 +18614,17 @@ var require_view = __commonJS({
|
|
|
18617
18614
|
this.path = this.lookup(fileName);
|
|
18618
18615
|
}
|
|
18619
18616
|
View.prototype.lookup = function lookup(name) {
|
|
18620
|
-
var
|
|
18617
|
+
var path17;
|
|
18621
18618
|
var roots = [].concat(this.root);
|
|
18622
18619
|
debug('lookup "%s"', name);
|
|
18623
|
-
for (var i = 0; i < roots.length && !
|
|
18620
|
+
for (var i = 0; i < roots.length && !path17; i++) {
|
|
18624
18621
|
var root = roots[i];
|
|
18625
18622
|
var loc = resolve10(root, name);
|
|
18626
18623
|
var dir = dirname3(loc);
|
|
18627
18624
|
var file = basename4(loc);
|
|
18628
|
-
|
|
18625
|
+
path17 = this.resolve(dir, file);
|
|
18629
18626
|
}
|
|
18630
|
-
return
|
|
18627
|
+
return path17;
|
|
18631
18628
|
};
|
|
18632
18629
|
View.prototype.render = function render(options, callback) {
|
|
18633
18630
|
debug('render "%s"', this.path);
|
|
@@ -18635,21 +18632,21 @@ var require_view = __commonJS({
|
|
|
18635
18632
|
};
|
|
18636
18633
|
View.prototype.resolve = function resolve11(dir, file) {
|
|
18637
18634
|
var ext = this.ext;
|
|
18638
|
-
var
|
|
18639
|
-
var stat = tryStat(
|
|
18635
|
+
var path17 = join12(dir, file);
|
|
18636
|
+
var stat = tryStat(path17);
|
|
18640
18637
|
if (stat && stat.isFile()) {
|
|
18641
|
-
return
|
|
18638
|
+
return path17;
|
|
18642
18639
|
}
|
|
18643
|
-
|
|
18644
|
-
stat = tryStat(
|
|
18640
|
+
path17 = join12(dir, basename4(file, ext), "index" + ext);
|
|
18641
|
+
stat = tryStat(path17);
|
|
18645
18642
|
if (stat && stat.isFile()) {
|
|
18646
|
-
return
|
|
18643
|
+
return path17;
|
|
18647
18644
|
}
|
|
18648
18645
|
};
|
|
18649
|
-
function tryStat(
|
|
18650
|
-
debug('stat "%s"',
|
|
18646
|
+
function tryStat(path17) {
|
|
18647
|
+
debug('stat "%s"', path17);
|
|
18651
18648
|
try {
|
|
18652
|
-
return
|
|
18649
|
+
return fs17.statSync(path17);
|
|
18653
18650
|
} catch (e) {
|
|
18654
18651
|
return void 0;
|
|
18655
18652
|
}
|
|
@@ -18659,9 +18656,9 @@ var require_view = __commonJS({
|
|
|
18659
18656
|
|
|
18660
18657
|
// ../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js
|
|
18661
18658
|
var require_safe_buffer = __commonJS({
|
|
18662
|
-
"../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js"(
|
|
18659
|
+
"../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js"(exports2, module2) {
|
|
18663
18660
|
"use strict";
|
|
18664
|
-
var buffer =
|
|
18661
|
+
var buffer = require("buffer");
|
|
18665
18662
|
var Buffer2 = buffer.Buffer;
|
|
18666
18663
|
function copyProps(src, dst) {
|
|
18667
18664
|
for (var key in src) {
|
|
@@ -18669,10 +18666,10 @@ var require_safe_buffer = __commonJS({
|
|
|
18669
18666
|
}
|
|
18670
18667
|
}
|
|
18671
18668
|
if (Buffer2.from && Buffer2.alloc && Buffer2.allocUnsafe && Buffer2.allocUnsafeSlow) {
|
|
18672
|
-
|
|
18669
|
+
module2.exports = buffer;
|
|
18673
18670
|
} else {
|
|
18674
|
-
copyProps(buffer,
|
|
18675
|
-
|
|
18671
|
+
copyProps(buffer, exports2);
|
|
18672
|
+
exports2.Buffer = SafeBuffer;
|
|
18676
18673
|
}
|
|
18677
18674
|
function SafeBuffer(arg, encodingOrOffset, length) {
|
|
18678
18675
|
return Buffer2(arg, encodingOrOffset, length);
|
|
@@ -18718,11 +18715,11 @@ var require_safe_buffer = __commonJS({
|
|
|
18718
18715
|
|
|
18719
18716
|
// ../../node_modules/.pnpm/content-disposition@0.5.4/node_modules/content-disposition/index.js
|
|
18720
18717
|
var require_content_disposition = __commonJS({
|
|
18721
|
-
"../../node_modules/.pnpm/content-disposition@0.5.4/node_modules/content-disposition/index.js"(
|
|
18718
|
+
"../../node_modules/.pnpm/content-disposition@0.5.4/node_modules/content-disposition/index.js"(exports2, module2) {
|
|
18722
18719
|
"use strict";
|
|
18723
|
-
|
|
18724
|
-
|
|
18725
|
-
var basename4 =
|
|
18720
|
+
module2.exports = contentDisposition;
|
|
18721
|
+
module2.exports.parse = parse;
|
|
18722
|
+
var basename4 = require("path").basename;
|
|
18726
18723
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
18727
18724
|
var ENCODE_URL_ATTR_CHAR_REGEXP = /[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g;
|
|
18728
18725
|
var HEX_ESCAPE_REGEXP = /%[0-9A-Fa-f]{2}/;
|
|
@@ -18881,11 +18878,11 @@ var require_content_disposition = __commonJS({
|
|
|
18881
18878
|
|
|
18882
18879
|
// ../../node_modules/.pnpm/etag@1.8.1/node_modules/etag/index.js
|
|
18883
18880
|
var require_etag = __commonJS({
|
|
18884
|
-
"../../node_modules/.pnpm/etag@1.8.1/node_modules/etag/index.js"(
|
|
18881
|
+
"../../node_modules/.pnpm/etag@1.8.1/node_modules/etag/index.js"(exports2, module2) {
|
|
18885
18882
|
"use strict";
|
|
18886
|
-
|
|
18887
|
-
var crypto3 =
|
|
18888
|
-
var Stats =
|
|
18883
|
+
module2.exports = etag;
|
|
18884
|
+
var crypto3 = require("crypto");
|
|
18885
|
+
var Stats = require("fs").Stats;
|
|
18889
18886
|
var toString = Object.prototype.toString;
|
|
18890
18887
|
function entitytag(entity) {
|
|
18891
18888
|
if (entity.length === 0) {
|
|
@@ -18923,10 +18920,10 @@ var require_etag = __commonJS({
|
|
|
18923
18920
|
|
|
18924
18921
|
// ../../node_modules/.pnpm/fresh@0.5.2/node_modules/fresh/index.js
|
|
18925
18922
|
var require_fresh = __commonJS({
|
|
18926
|
-
"../../node_modules/.pnpm/fresh@0.5.2/node_modules/fresh/index.js"(
|
|
18923
|
+
"../../node_modules/.pnpm/fresh@0.5.2/node_modules/fresh/index.js"(exports2, module2) {
|
|
18927
18924
|
"use strict";
|
|
18928
18925
|
var CACHE_CONTROL_NO_CACHE_REGEXP = /(?:^|,)\s*?no-cache\s*?(?:,|$)/;
|
|
18929
|
-
|
|
18926
|
+
module2.exports = fresh;
|
|
18930
18927
|
function fresh(reqHeaders, resHeaders) {
|
|
18931
18928
|
var modifiedSince = reqHeaders["if-modified-since"];
|
|
18932
18929
|
var noneMatch = reqHeaders["if-none-match"];
|
|
@@ -18996,17 +18993,17 @@ var require_fresh = __commonJS({
|
|
|
18996
18993
|
|
|
18997
18994
|
// ../../node_modules/.pnpm/mime@1.6.0/node_modules/mime/types.json
|
|
18998
18995
|
var require_types = __commonJS({
|
|
18999
|
-
"../../node_modules/.pnpm/mime@1.6.0/node_modules/mime/types.json"(
|
|
19000
|
-
module.exports = { "application/andrew-inset": ["ez"], "application/applixware": ["aw"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomsvc+xml": ["atomsvc"], "application/bdoc": ["bdoc"], "application/ccxml+xml": ["ccxml"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cu-seeme": ["cu"], "application/dash+xml": ["mpd"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma"], "application/emma+xml": ["emma"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/font-tdpfr": ["pfr"], "application/font-woff": [], "application/font-woff2": [], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["js", "mjs"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["mp4s", "m4p"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/patch-ops-error+xml": ["xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-signature": ["asc", "sig"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/prs.cww": ["cww"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/vnd.3gpp.pic-bw-large": ["plb"], "application/vnd.3gpp.pic-bw-small": ["psb"], "application/vnd.3gpp.pic-bw-var": ["pvb"], "application/vnd.3gpp2.tcap": ["tcap"], "application/vnd.3m.post-it-notes": ["pwn"], "application/vnd.accpac.simply.aso": ["aso"], "application/vnd.accpac.simply.imp": ["imp"], "application/vnd.acucobol": ["acu"], "application/vnd.acucorp": ["atc", "acutc"], "application/vnd.adobe.air-application-installer-package+zip": ["air"], "application/vnd.adobe.formscentral.fcdt": ["fcdt"], "application/vnd.adobe.fxp": ["fxp", "fxpl"], "application/vnd.adobe.xdp+xml": ["xdp"], "application/vnd.adobe.xfdf": ["xfdf"], "application/vnd.ahead.space": ["ahead"], "application/vnd.airzip.filesecure.azf": ["azf"], "application/vnd.airzip.filesecure.azs": ["azs"], "application/vnd.amazon.ebook": ["azw"], "application/vnd.americandynamics.acc": ["acc"], "application/vnd.amiga.ami": ["ami"], "application/vnd.android.package-archive": ["apk"], "application/vnd.anser-web-certificate-issue-initiation": ["cii"], "application/vnd.anser-web-funds-transfer-initiation": ["fti"], "application/vnd.antix.game-component": ["atx"], "application/vnd.apple.installer+xml": ["mpkg"], "application/vnd.apple.mpegurl": ["m3u8"], "application/vnd.apple.pkpass": ["pkpass"], "application/vnd.aristanetworks.swi": ["swi"], "application/vnd.astraea-software.iota": ["iota"], "application/vnd.audiograph": ["aep"], "application/vnd.blueice.multipass": ["mpm"], "application/vnd.bmi": ["bmi"], "application/vnd.businessobjects": ["rep"], "application/vnd.chemdraw+xml": ["cdxml"], "application/vnd.chipnuts.karaoke-mmd": ["mmd"], "application/vnd.cinderella": ["cdy"], "application/vnd.claymore": ["cla"], "application/vnd.cloanto.rp9": ["rp9"], "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"], "application/vnd.cluetrust.cartomobile-config": ["c11amc"], "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"], "application/vnd.commonspace": ["csp"], "application/vnd.contact.cmsg": ["cdbcmsg"], "application/vnd.cosmocaller": ["cmc"], "application/vnd.crick.clicker": ["clkx"], "application/vnd.crick.clicker.keyboard": ["clkk"], "application/vnd.crick.clicker.palette": ["clkp"], "application/vnd.crick.clicker.template": ["clkt"], "application/vnd.crick.clicker.wordbank": ["clkw"], "application/vnd.criticaltools.wbs+xml": ["wbs"], "application/vnd.ctc-posml": ["pml"], "application/vnd.cups-ppd": ["ppd"], "application/vnd.curl.car": ["car"], "application/vnd.curl.pcurl": ["pcurl"], "application/vnd.dart": ["dart"], "application/vnd.data-vision.rdz": ["rdz"], "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"], "application/vnd.dece.ttml+xml": ["uvt", "uvvt"], "application/vnd.dece.unspecified": ["uvx", "uvvx"], "application/vnd.dece.zip": ["uvz", "uvvz"], "application/vnd.denovo.fcselayout-link": ["fe_launch"], "application/vnd.dna": ["dna"], "application/vnd.dolby.mlp": ["mlp"], "application/vnd.dpgraph": ["dpg"], "application/vnd.dreamfactory": ["dfac"], "application/vnd.ds-keypoint": ["kpxx"], "application/vnd.dvb.ait": ["ait"], "application/vnd.dvb.service": ["svc"], "application/vnd.dynageo": ["geo"], "application/vnd.ecowin.chart": ["mag"], "application/vnd.enliven": ["nml"], "application/vnd.epson.esf": ["esf"], "application/vnd.epson.msf": ["msf"], "application/vnd.epson.quickanime": ["qam"], "application/vnd.epson.salt": ["slt"], "application/vnd.epson.ssf": ["ssf"], "application/vnd.eszigno3+xml": ["es3", "et3"], "application/vnd.ezpix-album": ["ez2"], "application/vnd.ezpix-package": ["ez3"], "application/vnd.fdf": ["fdf"], "application/vnd.fdsn.mseed": ["mseed"], "application/vnd.fdsn.seed": ["seed", "dataless"], "application/vnd.flographit": ["gph"], "application/vnd.fluxtime.clip": ["ftc"], "application/vnd.framemaker": ["fm", "frame", "maker", "book"], "application/vnd.frogans.fnc": ["fnc"], "application/vnd.frogans.ltf": ["ltf"], "application/vnd.fsc.weblaunch": ["fsc"], "application/vnd.fujitsu.oasys": ["oas"], "application/vnd.fujitsu.oasys2": ["oa2"], "application/vnd.fujitsu.oasys3": ["oa3"], "application/vnd.fujitsu.oasysgp": ["fg5"], "application/vnd.fujitsu.oasysprs": ["bh2"], "application/vnd.fujixerox.ddd": ["ddd"], "application/vnd.fujixerox.docuworks": ["xdw"], "application/vnd.fujixerox.docuworks.binder": ["xbd"], "application/vnd.fuzzysheet": ["fzs"], "application/vnd.genomatix.tuxedo": ["txd"], "application/vnd.geogebra.file": ["ggb"], "application/vnd.geogebra.tool": ["ggt"], "application/vnd.geometry-explorer": ["gex", "gre"], "application/vnd.geonext": ["gxt"], "application/vnd.geoplan": ["g2w"], "application/vnd.geospace": ["g3w"], "application/vnd.gmx": ["gmx"], "application/vnd.google-apps.document": ["gdoc"], "application/vnd.google-apps.presentation": ["gslides"], "application/vnd.google-apps.spreadsheet": ["gsheet"], "application/vnd.google-earth.kml+xml": ["kml"], "application/vnd.google-earth.kmz": ["kmz"], "application/vnd.grafeq": ["gqf", "gqs"], "application/vnd.groove-account": ["gac"], "application/vnd.groove-help": ["ghf"], "application/vnd.groove-identity-message": ["gim"], "application/vnd.groove-injector": ["grv"], "application/vnd.groove-tool-message": ["gtm"], "application/vnd.groove-tool-template": ["tpl"], "application/vnd.groove-vcard": ["vcg"], "application/vnd.hal+xml": ["hal"], "application/vnd.handheld-entertainment+xml": ["zmm"], "application/vnd.hbci": ["hbci"], "application/vnd.hhe.lesson-player": ["les"], "application/vnd.hp-hpgl": ["hpgl"], "application/vnd.hp-hpid": ["hpid"], "application/vnd.hp-hps": ["hps"], "application/vnd.hp-jlyt": ["jlt"], "application/vnd.hp-pcl": ["pcl"], "application/vnd.hp-pclxl": ["pclxl"], "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"], "application/vnd.ibm.minipay": ["mpy"], "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"], "application/vnd.ibm.rights-management": ["irm"], "application/vnd.ibm.secure-container": ["sc"], "application/vnd.iccprofile": ["icc", "icm"], "application/vnd.igloader": ["igl"], "application/vnd.immervision-ivp": ["ivp"], "application/vnd.immervision-ivu": ["ivu"], "application/vnd.insors.igm": ["igm"], "application/vnd.intercon.formnet": ["xpw", "xpx"], "application/vnd.intergeo": ["i2g"], "application/vnd.intu.qbo": ["qbo"], "application/vnd.intu.qfx": ["qfx"], "application/vnd.ipunplugged.rcprofile": ["rcprofile"], "application/vnd.irepository.package+xml": ["irp"], "application/vnd.is-xpr": ["xpr"], "application/vnd.isac.fcs": ["fcs"], "application/vnd.jam": ["jam"], "application/vnd.jcp.javame.midlet-rms": ["rms"], "application/vnd.jisp": ["jisp"], "application/vnd.joost.joda-archive": ["joda"], "application/vnd.kahootz": ["ktz", "ktr"], "application/vnd.kde.karbon": ["karbon"], "application/vnd.kde.kchart": ["chrt"], "application/vnd.kde.kformula": ["kfo"], "application/vnd.kde.kivio": ["flw"], "application/vnd.kde.kontour": ["kon"], "application/vnd.kde.kpresenter": ["kpr", "kpt"], "application/vnd.kde.kspread": ["ksp"], "application/vnd.kde.kword": ["kwd", "kwt"], "application/vnd.kenameaapp": ["htke"], "application/vnd.kidspiration": ["kia"], "application/vnd.kinar": ["kne", "knp"], "application/vnd.koan": ["skp", "skd", "skt", "skm"], "application/vnd.kodak-descriptor": ["sse"], "application/vnd.las.las+xml": ["lasxml"], "application/vnd.llamagraphics.life-balance.desktop": ["lbd"], "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"], "application/vnd.lotus-1-2-3": ["123"], "application/vnd.lotus-approach": ["apr"], "application/vnd.lotus-freelance": ["pre"], "application/vnd.lotus-notes": ["nsf"], "application/vnd.lotus-organizer": ["org"], "application/vnd.lotus-screencam": ["scm"], "application/vnd.lotus-wordpro": ["lwp"], "application/vnd.macports.portpkg": ["portpkg"], "application/vnd.mcd": ["mcd"], "application/vnd.medcalcdata": ["mc1"], "application/vnd.mediastation.cdkey": ["cdkey"], "application/vnd.mfer": ["mwf"], "application/vnd.mfmp": ["mfm"], "application/vnd.micrografx.flo": ["flo"], "application/vnd.micrografx.igx": ["igx"], "application/vnd.mif": ["mif"], "application/vnd.mobius.daf": ["daf"], "application/vnd.mobius.dis": ["dis"], "application/vnd.mobius.mbk": ["mbk"], "application/vnd.mobius.mqy": ["mqy"], "application/vnd.mobius.msl": ["msl"], "application/vnd.mobius.plc": ["plc"], "application/vnd.mobius.txf": ["txf"], "application/vnd.mophun.application": ["mpn"], "application/vnd.mophun.certificate": ["mpc"], "application/vnd.mozilla.xul+xml": ["xul"], "application/vnd.ms-artgalry": ["cil"], "application/vnd.ms-cab-compressed": ["cab"], "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"], "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"], "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"], "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"], "application/vnd.ms-excel.template.macroenabled.12": ["xltm"], "application/vnd.ms-fontobject": ["eot"], "application/vnd.ms-htmlhelp": ["chm"], "application/vnd.ms-ims": ["ims"], "application/vnd.ms-lrm": ["lrm"], "application/vnd.ms-officetheme": ["thmx"], "application/vnd.ms-outlook": ["msg"], "application/vnd.ms-pki.seccat": ["cat"], "application/vnd.ms-pki.stl": ["stl"], "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"], "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"], "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"], "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"], "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"], "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"], "application/vnd.ms-project": ["mpp", "mpt"], "application/vnd.ms-word.document.macroenabled.12": ["docm"], "application/vnd.ms-word.template.macroenabled.12": ["dotm"], "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"], "application/vnd.ms-wpl": ["wpl"], "application/vnd.ms-xpsdocument": ["xps"], "application/vnd.mseq": ["mseq"], "application/vnd.musician": ["mus"], "application/vnd.muvee.style": ["msty"], "application/vnd.mynfc": ["taglet"], "application/vnd.neurolanguage.nlu": ["nlu"], "application/vnd.nitf": ["ntf", "nitf"], "application/vnd.noblenet-directory": ["nnd"], "application/vnd.noblenet-sealer": ["nns"], "application/vnd.noblenet-web": ["nnw"], "application/vnd.nokia.n-gage.data": ["ngdat"], "application/vnd.nokia.n-gage.symbian.install": ["n-gage"], "application/vnd.nokia.radio-preset": ["rpst"], "application/vnd.nokia.radio-presets": ["rpss"], "application/vnd.novadigm.edm": ["edm"], "application/vnd.novadigm.edx": ["edx"], "application/vnd.novadigm.ext": ["ext"], "application/vnd.oasis.opendocument.chart": ["odc"], "application/vnd.oasis.opendocument.chart-template": ["otc"], "application/vnd.oasis.opendocument.database": ["odb"], "application/vnd.oasis.opendocument.formula": ["odf"], "application/vnd.oasis.opendocument.formula-template": ["odft"], "application/vnd.oasis.opendocument.graphics": ["odg"], "application/vnd.oasis.opendocument.graphics-template": ["otg"], "application/vnd.oasis.opendocument.image": ["odi"], "application/vnd.oasis.opendocument.image-template": ["oti"], "application/vnd.oasis.opendocument.presentation": ["odp"], "application/vnd.oasis.opendocument.presentation-template": ["otp"], "application/vnd.oasis.opendocument.spreadsheet": ["ods"], "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"], "application/vnd.oasis.opendocument.text": ["odt"], "application/vnd.oasis.opendocument.text-master": ["odm"], "application/vnd.oasis.opendocument.text-template": ["ott"], "application/vnd.oasis.opendocument.text-web": ["oth"], "application/vnd.olpc-sugar": ["xo"], "application/vnd.oma.dd2+xml": ["dd2"], "application/vnd.openofficeorg.extension": ["oxt"], "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"], "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"], "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"], "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"], "application/vnd.osgeo.mapguide.package": ["mgp"], "application/vnd.osgi.dp": ["dp"], "application/vnd.osgi.subsystem": ["esa"], "application/vnd.palm": ["pdb", "pqa", "oprc"], "application/vnd.pawaafile": ["paw"], "application/vnd.pg.format": ["str"], "application/vnd.pg.osasli": ["ei6"], "application/vnd.picsel": ["efif"], "application/vnd.pmi.widget": ["wg"], "application/vnd.pocketlearn": ["plf"], "application/vnd.powerbuilder6": ["pbd"], "application/vnd.previewsystems.box": ["box"], "application/vnd.proteus.magazine": ["mgz"], "application/vnd.publishare-delta-tree": ["qps"], "application/vnd.pvi.ptid1": ["ptid"], "application/vnd.quark.quarkxpress": ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"], "application/vnd.realvnc.bed": ["bed"], "application/vnd.recordare.musicxml": ["mxl"], "application/vnd.recordare.musicxml+xml": ["musicxml"], "application/vnd.rig.cryptonote": ["cryptonote"], "application/vnd.rim.cod": ["cod"], "application/vnd.rn-realmedia": ["rm"], "application/vnd.rn-realmedia-vbr": ["rmvb"], "application/vnd.route66.link66+xml": ["link66"], "application/vnd.sailingtracker.track": ["st"], "application/vnd.seemail": ["see"], "application/vnd.sema": ["sema"], "application/vnd.semd": ["semd"], "application/vnd.semf": ["semf"], "application/vnd.shana.informed.formdata": ["ifm"], "application/vnd.shana.informed.formtemplate": ["itp"], "application/vnd.shana.informed.interchange": ["iif"], "application/vnd.shana.informed.package": ["ipk"], "application/vnd.simtech-mindmapper": ["twd", "twds"], "application/vnd.smaf": ["mmf"], "application/vnd.smart.teacher": ["teacher"], "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"], "application/vnd.spotfire.dxp": ["dxp"], "application/vnd.spotfire.sfs": ["sfs"], "application/vnd.stardivision.calc": ["sdc"], "application/vnd.stardivision.draw": ["sda"], "application/vnd.stardivision.impress": ["sdd"], "application/vnd.stardivision.math": ["smf"], "application/vnd.stardivision.writer": ["sdw", "vor"], "application/vnd.stardivision.writer-global": ["sgl"], "application/vnd.stepmania.package": ["smzip"], "application/vnd.stepmania.stepchart": ["sm"], "application/vnd.sun.wadl+xml": ["wadl"], "application/vnd.sun.xml.calc": ["sxc"], "application/vnd.sun.xml.calc.template": ["stc"], "application/vnd.sun.xml.draw": ["sxd"], "application/vnd.sun.xml.draw.template": ["std"], "application/vnd.sun.xml.impress": ["sxi"], "application/vnd.sun.xml.impress.template": ["sti"], "application/vnd.sun.xml.math": ["sxm"], "application/vnd.sun.xml.writer": ["sxw"], "application/vnd.sun.xml.writer.global": ["sxg"], "application/vnd.sun.xml.writer.template": ["stw"], "application/vnd.sus-calendar": ["sus", "susp"], "application/vnd.svd": ["svd"], "application/vnd.symbian.install": ["sis", "sisx"], "application/vnd.syncml+xml": ["xsm"], "application/vnd.syncml.dm+wbxml": ["bdm"], "application/vnd.syncml.dm+xml": ["xdm"], "application/vnd.tao.intent-module-archive": ["tao"], "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"], "application/vnd.tmobile-livetv": ["tmo"], "application/vnd.trid.tpt": ["tpt"], "application/vnd.triscape.mxs": ["mxs"], "application/vnd.trueapp": ["tra"], "application/vnd.ufdl": ["ufd", "ufdl"], "application/vnd.uiq.theme": ["utz"], "application/vnd.umajin": ["umj"], "application/vnd.unity": ["unityweb"], "application/vnd.uoml+xml": ["uoml"], "application/vnd.vcx": ["vcx"], "application/vnd.visio": ["vsd", "vst", "vss", "vsw"], "application/vnd.visionary": ["vis"], "application/vnd.vsf": ["vsf"], "application/vnd.wap.wbxml": ["wbxml"], "application/vnd.wap.wmlc": ["wmlc"], "application/vnd.wap.wmlscriptc": ["wmlsc"], "application/vnd.webturbo": ["wtb"], "application/vnd.wolfram.player": ["nbp"], "application/vnd.wordperfect": ["wpd"], "application/vnd.wqd": ["wqd"], "application/vnd.wt.stf": ["stf"], "application/vnd.xara": ["xar"], "application/vnd.xfdl": ["xfdl"], "application/vnd.yamaha.hv-dic": ["hvd"], "application/vnd.yamaha.hv-script": ["hvs"], "application/vnd.yamaha.hv-voice": ["hvp"], "application/vnd.yamaha.openscoreformat": ["osf"], "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"], "application/vnd.yamaha.smaf-audio": ["saf"], "application/vnd.yamaha.smaf-phrase": ["spf"], "application/vnd.yellowriver-custom-menu": ["cmp"], "application/vnd.zul": ["zir", "zirz"], "application/vnd.zzazz.deck+xml": ["zaz"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/x-7z-compressed": ["7z"], "application/x-abiword": ["abw"], "application/x-ace-compressed": ["ace"], "application/x-apple-diskimage": [], "application/x-arj": ["arj"], "application/x-authorware-bin": ["aab", "x32", "u32", "vox"], "application/x-authorware-map": ["aam"], "application/x-authorware-seg": ["aas"], "application/x-bcpio": ["bcpio"], "application/x-bdoc": [], "application/x-bittorrent": ["torrent"], "application/x-blorb": ["blb", "blorb"], "application/x-bzip": ["bz"], "application/x-bzip2": ["bz2", "boz"], "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"], "application/x-cdlink": ["vcd"], "application/x-cfs-compressed": ["cfs"], "application/x-chat": ["chat"], "application/x-chess-pgn": ["pgn"], "application/x-chrome-extension": ["crx"], "application/x-cocoa": ["cco"], "application/x-conference": ["nsc"], "application/x-cpio": ["cpio"], "application/x-csh": ["csh"], "application/x-debian-package": ["udeb"], "application/x-dgc-compressed": ["dgc"], "application/x-director": ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"], "application/x-doom": ["wad"], "application/x-dtbncx+xml": ["ncx"], "application/x-dtbook+xml": ["dtb"], "application/x-dtbresource+xml": ["res"], "application/x-dvi": ["dvi"], "application/x-envoy": ["evy"], "application/x-eva": ["eva"], "application/x-font-bdf": ["bdf"], "application/x-font-ghostscript": ["gsf"], "application/x-font-linux-psf": ["psf"], "application/x-font-pcf": ["pcf"], "application/x-font-snf": ["snf"], "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"], "application/x-freearc": ["arc"], "application/x-futuresplash": ["spl"], "application/x-gca-compressed": ["gca"], "application/x-glulx": ["ulx"], "application/x-gnumeric": ["gnumeric"], "application/x-gramps-xml": ["gramps"], "application/x-gtar": ["gtar"], "application/x-hdf": ["hdf"], "application/x-httpd-php": ["php"], "application/x-install-instructions": ["install"], "application/x-iso9660-image": [], "application/x-java-archive-diff": ["jardiff"], "application/x-java-jnlp-file": ["jnlp"], "application/x-latex": ["latex"], "application/x-lua-bytecode": ["luac"], "application/x-lzh-compressed": ["lzh", "lha"], "application/x-makeself": ["run"], "application/x-mie": ["mie"], "application/x-mobipocket-ebook": ["prc", "mobi"], "application/x-ms-application": ["application"], "application/x-ms-shortcut": ["lnk"], "application/x-ms-wmd": ["wmd"], "application/x-ms-wmz": ["wmz"], "application/x-ms-xbap": ["xbap"], "application/x-msaccess": ["mdb"], "application/x-msbinder": ["obd"], "application/x-mscardfile": ["crd"], "application/x-msclip": ["clp"], "application/x-msdos-program": [], "application/x-msdownload": ["com", "bat"], "application/x-msmediaview": ["mvb", "m13", "m14"], "application/x-msmetafile": ["wmf", "emf", "emz"], "application/x-msmoney": ["mny"], "application/x-mspublisher": ["pub"], "application/x-msschedule": ["scd"], "application/x-msterminal": ["trm"], "application/x-mswrite": ["wri"], "application/x-netcdf": ["nc", "cdf"], "application/x-ns-proxy-autoconfig": ["pac"], "application/x-nzb": ["nzb"], "application/x-perl": ["pl", "pm"], "application/x-pilot": [], "application/x-pkcs12": ["p12", "pfx"], "application/x-pkcs7-certificates": ["p7b", "spc"], "application/x-pkcs7-certreqresp": ["p7r"], "application/x-rar-compressed": ["rar"], "application/x-redhat-package-manager": ["rpm"], "application/x-research-info-systems": ["ris"], "application/x-sea": ["sea"], "application/x-sh": ["sh"], "application/x-shar": ["shar"], "application/x-shockwave-flash": ["swf"], "application/x-silverlight-app": ["xap"], "application/x-sql": ["sql"], "application/x-stuffit": ["sit"], "application/x-stuffitx": ["sitx"], "application/x-subrip": ["srt"], "application/x-sv4cpio": ["sv4cpio"], "application/x-sv4crc": ["sv4crc"], "application/x-t3vm-image": ["t3"], "application/x-tads": ["gam"], "application/x-tar": ["tar"], "application/x-tcl": ["tcl", "tk"], "application/x-tex": ["tex"], "application/x-tex-tfm": ["tfm"], "application/x-texinfo": ["texinfo", "texi"], "application/x-tgif": ["obj"], "application/x-ustar": ["ustar"], "application/x-virtualbox-hdd": ["hdd"], "application/x-virtualbox-ova": ["ova"], "application/x-virtualbox-ovf": ["ovf"], "application/x-virtualbox-vbox": ["vbox"], "application/x-virtualbox-vbox-extpack": ["vbox-extpack"], "application/x-virtualbox-vdi": ["vdi"], "application/x-virtualbox-vhd": ["vhd"], "application/x-virtualbox-vmdk": ["vmdk"], "application/x-wais-source": ["src"], "application/x-web-app-manifest+json": ["webapp"], "application/x-x509-ca-cert": ["der", "crt", "pem"], "application/x-xfig": ["fig"], "application/x-xliff+xml": ["xlf"], "application/x-xpinstall": ["xpi"], "application/x-xz": ["xz"], "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"], "application/xaml+xml": ["xaml"], "application/xcap-diff+xml": ["xdf"], "application/xenc+xml": ["xenc"], "application/xhtml+xml": ["xhtml", "xht"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": [], "audio/adpcm": ["adp"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mp3": [], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/vnd.dece.audio": ["uva", "uvva"], "audio/vnd.digital-winds": ["eol"], "audio/vnd.dra": ["dra"], "audio/vnd.dts": ["dts"], "audio/vnd.dts.hd": ["dtshd"], "audio/vnd.lucent.voice": ["lvp"], "audio/vnd.ms-playready.media.pya": ["pya"], "audio/vnd.nuera.ecelp4800": ["ecelp4800"], "audio/vnd.nuera.ecelp7470": ["ecelp7470"], "audio/vnd.nuera.ecelp9600": ["ecelp9600"], "audio/vnd.rip": ["rip"], "audio/wav": ["wav"], "audio/wave": [], "audio/webm": ["weba"], "audio/x-aac": ["aac"], "audio/x-aiff": ["aif", "aiff", "aifc"], "audio/x-caf": ["caf"], "audio/x-flac": ["flac"], "audio/x-m4a": [], "audio/x-matroska": ["mka"], "audio/x-mpegurl": ["m3u"], "audio/x-ms-wax": ["wax"], "audio/x-ms-wma": ["wma"], "audio/x-pn-realaudio": ["ram", "ra"], "audio/x-pn-realaudio-plugin": ["rmp"], "audio/x-realaudio": [], "audio/x-wav": [], "audio/xm": ["xm"], "chemical/x-cdx": ["cdx"], "chemical/x-cif": ["cif"], "chemical/x-cmdf": ["cmdf"], "chemical/x-cml": ["cml"], "chemical/x-csml": ["csml"], "chemical/x-xyz": ["xyz"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/apng": ["apng"], "image/bmp": ["bmp"], "image/cgm": ["cgm"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/ief": ["ief"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jpm": ["jpm"], "image/jpx": ["jpx", "jpf"], "image/ktx": ["ktx"], "image/png": ["png"], "image/prs.btif": ["btif"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/tiff": ["tiff", "tif"], "image/vnd.adobe.photoshop": ["psd"], "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"], "image/vnd.djvu": ["djvu", "djv"], "image/vnd.dvb.subtitle": [], "image/vnd.dwg": ["dwg"], "image/vnd.dxf": ["dxf"], "image/vnd.fastbidsheet": ["fbs"], "image/vnd.fpx": ["fpx"], "image/vnd.fst": ["fst"], "image/vnd.fujixerox.edmics-mmr": ["mmr"], "image/vnd.fujixerox.edmics-rlc": ["rlc"], "image/vnd.ms-modi": ["mdi"], "image/vnd.ms-photo": ["wdp"], "image/vnd.net-fpx": ["npx"], "image/vnd.wap.wbmp": ["wbmp"], "image/vnd.xiff": ["xif"], "image/webp": ["webp"], "image/x-3ds": ["3ds"], "image/x-cmu-raster": ["ras"], "image/x-cmx": ["cmx"], "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"], "image/x-icon": ["ico"], "image/x-jng": ["jng"], "image/x-mrsid-image": ["sid"], "image/x-ms-bmp": [], "image/x-pcx": ["pcx"], "image/x-pict": ["pic", "pct"], "image/x-portable-anymap": ["pnm"], "image/x-portable-bitmap": ["pbm"], "image/x-portable-graymap": ["pgm"], "image/x-portable-pixmap": ["ppm"], "image/x-rgb": ["rgb"], "image/x-tga": ["tga"], "image/x-xbitmap": ["xbm"], "image/x-xpixmap": ["xpm"], "image/x-xwindowdump": ["xwd"], "message/rfc822": ["eml", "mime"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/mesh": ["msh", "mesh", "silo"], "model/vnd.collada+xml": ["dae"], "model/vnd.dwf": ["dwf"], "model/vnd.gdl": ["gdl"], "model/vnd.gtw": ["gtw"], "model/vnd.mts": ["mts"], "model/vnd.vtu": ["vtu"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["x3db", "x3dbz"], "model/x3d+vrml": ["x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/hjson": ["hjson"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["markdown", "md"], "text/mathml": ["mml"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/prs.lines.tag": ["dsc"], "text/richtext": ["rtx"], "text/rtf": [], "text/sgml": ["sgml", "sgm"], "text/slim": ["slim", "slm"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vnd.curl": ["curl"], "text/vnd.curl.dcurl": ["dcurl"], "text/vnd.curl.mcurl": ["mcurl"], "text/vnd.curl.scurl": ["scurl"], "text/vnd.dvb.subtitle": ["sub"], "text/vnd.fly": ["fly"], "text/vnd.fmi.flexstor": ["flx"], "text/vnd.graphviz": ["gv"], "text/vnd.in3d.3dml": ["3dml"], "text/vnd.in3d.spot": ["spot"], "text/vnd.sun.j2me.app-descriptor": ["jad"], "text/vnd.wap.wml": ["wml"], "text/vnd.wap.wmlscript": ["wmls"], "text/vtt": ["vtt"], "text/x-asm": ["s", "asm"], "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"], "text/x-component": ["htc"], "text/x-fortran": ["f", "for", "f77", "f90"], "text/x-handlebars-template": ["hbs"], "text/x-java-source": ["java"], "text/x-lua": ["lua"], "text/x-markdown": ["mkd"], "text/x-nfo": ["nfo"], "text/x-opml": ["opml"], "text/x-org": [], "text/x-pascal": ["p", "pas"], "text/x-processing": ["pde"], "text/x-sass": ["sass"], "text/x-scss": ["scss"], "text/x-setext": ["etx"], "text/x-sfv": ["sfv"], "text/x-suse-ymp": ["ymp"], "text/x-uuencode": ["uu"], "text/x-vcalendar": ["vcs"], "text/x-vcard": ["vcf"], "text/xml": [], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/jpeg": ["jpgv"], "video/jpm": ["jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/vnd.dece.hd": ["uvh", "uvvh"], "video/vnd.dece.mobile": ["uvm", "uvvm"], "video/vnd.dece.pd": ["uvp", "uvvp"], "video/vnd.dece.sd": ["uvs", "uvvs"], "video/vnd.dece.video": ["uvv", "uvvv"], "video/vnd.dvb.file": ["dvb"], "video/vnd.fvt": ["fvt"], "video/vnd.mpegurl": ["mxu", "m4u"], "video/vnd.ms-playready.media.pyv": ["pyv"], "video/vnd.uvvu.mp4": ["uvu", "uvvu"], "video/vnd.vivo": ["viv"], "video/webm": ["webm"], "video/x-f4v": ["f4v"], "video/x-fli": ["fli"], "video/x-flv": ["flv"], "video/x-m4v": ["m4v"], "video/x-matroska": ["mkv", "mk3d", "mks"], "video/x-mng": ["mng"], "video/x-ms-asf": ["asf", "asx"], "video/x-ms-vob": ["vob"], "video/x-ms-wm": ["wm"], "video/x-ms-wmv": ["wmv"], "video/x-ms-wmx": ["wmx"], "video/x-ms-wvx": ["wvx"], "video/x-msvideo": ["avi"], "video/x-sgi-movie": ["movie"], "video/x-smv": ["smv"], "x-conference/x-cooltalk": ["ice"] };
|
|
18996
|
+
"../../node_modules/.pnpm/mime@1.6.0/node_modules/mime/types.json"(exports2, module2) {
|
|
18997
|
+
module2.exports = { "application/andrew-inset": ["ez"], "application/applixware": ["aw"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomsvc+xml": ["atomsvc"], "application/bdoc": ["bdoc"], "application/ccxml+xml": ["ccxml"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cu-seeme": ["cu"], "application/dash+xml": ["mpd"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma"], "application/emma+xml": ["emma"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/font-tdpfr": ["pfr"], "application/font-woff": [], "application/font-woff2": [], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["js", "mjs"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["mp4s", "m4p"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/patch-ops-error+xml": ["xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-signature": ["asc", "sig"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/prs.cww": ["cww"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/vnd.3gpp.pic-bw-large": ["plb"], "application/vnd.3gpp.pic-bw-small": ["psb"], "application/vnd.3gpp.pic-bw-var": ["pvb"], "application/vnd.3gpp2.tcap": ["tcap"], "application/vnd.3m.post-it-notes": ["pwn"], "application/vnd.accpac.simply.aso": ["aso"], "application/vnd.accpac.simply.imp": ["imp"], "application/vnd.acucobol": ["acu"], "application/vnd.acucorp": ["atc", "acutc"], "application/vnd.adobe.air-application-installer-package+zip": ["air"], "application/vnd.adobe.formscentral.fcdt": ["fcdt"], "application/vnd.adobe.fxp": ["fxp", "fxpl"], "application/vnd.adobe.xdp+xml": ["xdp"], "application/vnd.adobe.xfdf": ["xfdf"], "application/vnd.ahead.space": ["ahead"], "application/vnd.airzip.filesecure.azf": ["azf"], "application/vnd.airzip.filesecure.azs": ["azs"], "application/vnd.amazon.ebook": ["azw"], "application/vnd.americandynamics.acc": ["acc"], "application/vnd.amiga.ami": ["ami"], "application/vnd.android.package-archive": ["apk"], "application/vnd.anser-web-certificate-issue-initiation": ["cii"], "application/vnd.anser-web-funds-transfer-initiation": ["fti"], "application/vnd.antix.game-component": ["atx"], "application/vnd.apple.installer+xml": ["mpkg"], "application/vnd.apple.mpegurl": ["m3u8"], "application/vnd.apple.pkpass": ["pkpass"], "application/vnd.aristanetworks.swi": ["swi"], "application/vnd.astraea-software.iota": ["iota"], "application/vnd.audiograph": ["aep"], "application/vnd.blueice.multipass": ["mpm"], "application/vnd.bmi": ["bmi"], "application/vnd.businessobjects": ["rep"], "application/vnd.chemdraw+xml": ["cdxml"], "application/vnd.chipnuts.karaoke-mmd": ["mmd"], "application/vnd.cinderella": ["cdy"], "application/vnd.claymore": ["cla"], "application/vnd.cloanto.rp9": ["rp9"], "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"], "application/vnd.cluetrust.cartomobile-config": ["c11amc"], "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"], "application/vnd.commonspace": ["csp"], "application/vnd.contact.cmsg": ["cdbcmsg"], "application/vnd.cosmocaller": ["cmc"], "application/vnd.crick.clicker": ["clkx"], "application/vnd.crick.clicker.keyboard": ["clkk"], "application/vnd.crick.clicker.palette": ["clkp"], "application/vnd.crick.clicker.template": ["clkt"], "application/vnd.crick.clicker.wordbank": ["clkw"], "application/vnd.criticaltools.wbs+xml": ["wbs"], "application/vnd.ctc-posml": ["pml"], "application/vnd.cups-ppd": ["ppd"], "application/vnd.curl.car": ["car"], "application/vnd.curl.pcurl": ["pcurl"], "application/vnd.dart": ["dart"], "application/vnd.data-vision.rdz": ["rdz"], "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"], "application/vnd.dece.ttml+xml": ["uvt", "uvvt"], "application/vnd.dece.unspecified": ["uvx", "uvvx"], "application/vnd.dece.zip": ["uvz", "uvvz"], "application/vnd.denovo.fcselayout-link": ["fe_launch"], "application/vnd.dna": ["dna"], "application/vnd.dolby.mlp": ["mlp"], "application/vnd.dpgraph": ["dpg"], "application/vnd.dreamfactory": ["dfac"], "application/vnd.ds-keypoint": ["kpxx"], "application/vnd.dvb.ait": ["ait"], "application/vnd.dvb.service": ["svc"], "application/vnd.dynageo": ["geo"], "application/vnd.ecowin.chart": ["mag"], "application/vnd.enliven": ["nml"], "application/vnd.epson.esf": ["esf"], "application/vnd.epson.msf": ["msf"], "application/vnd.epson.quickanime": ["qam"], "application/vnd.epson.salt": ["slt"], "application/vnd.epson.ssf": ["ssf"], "application/vnd.eszigno3+xml": ["es3", "et3"], "application/vnd.ezpix-album": ["ez2"], "application/vnd.ezpix-package": ["ez3"], "application/vnd.fdf": ["fdf"], "application/vnd.fdsn.mseed": ["mseed"], "application/vnd.fdsn.seed": ["seed", "dataless"], "application/vnd.flographit": ["gph"], "application/vnd.fluxtime.clip": ["ftc"], "application/vnd.framemaker": ["fm", "frame", "maker", "book"], "application/vnd.frogans.fnc": ["fnc"], "application/vnd.frogans.ltf": ["ltf"], "application/vnd.fsc.weblaunch": ["fsc"], "application/vnd.fujitsu.oasys": ["oas"], "application/vnd.fujitsu.oasys2": ["oa2"], "application/vnd.fujitsu.oasys3": ["oa3"], "application/vnd.fujitsu.oasysgp": ["fg5"], "application/vnd.fujitsu.oasysprs": ["bh2"], "application/vnd.fujixerox.ddd": ["ddd"], "application/vnd.fujixerox.docuworks": ["xdw"], "application/vnd.fujixerox.docuworks.binder": ["xbd"], "application/vnd.fuzzysheet": ["fzs"], "application/vnd.genomatix.tuxedo": ["txd"], "application/vnd.geogebra.file": ["ggb"], "application/vnd.geogebra.tool": ["ggt"], "application/vnd.geometry-explorer": ["gex", "gre"], "application/vnd.geonext": ["gxt"], "application/vnd.geoplan": ["g2w"], "application/vnd.geospace": ["g3w"], "application/vnd.gmx": ["gmx"], "application/vnd.google-apps.document": ["gdoc"], "application/vnd.google-apps.presentation": ["gslides"], "application/vnd.google-apps.spreadsheet": ["gsheet"], "application/vnd.google-earth.kml+xml": ["kml"], "application/vnd.google-earth.kmz": ["kmz"], "application/vnd.grafeq": ["gqf", "gqs"], "application/vnd.groove-account": ["gac"], "application/vnd.groove-help": ["ghf"], "application/vnd.groove-identity-message": ["gim"], "application/vnd.groove-injector": ["grv"], "application/vnd.groove-tool-message": ["gtm"], "application/vnd.groove-tool-template": ["tpl"], "application/vnd.groove-vcard": ["vcg"], "application/vnd.hal+xml": ["hal"], "application/vnd.handheld-entertainment+xml": ["zmm"], "application/vnd.hbci": ["hbci"], "application/vnd.hhe.lesson-player": ["les"], "application/vnd.hp-hpgl": ["hpgl"], "application/vnd.hp-hpid": ["hpid"], "application/vnd.hp-hps": ["hps"], "application/vnd.hp-jlyt": ["jlt"], "application/vnd.hp-pcl": ["pcl"], "application/vnd.hp-pclxl": ["pclxl"], "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"], "application/vnd.ibm.minipay": ["mpy"], "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"], "application/vnd.ibm.rights-management": ["irm"], "application/vnd.ibm.secure-container": ["sc"], "application/vnd.iccprofile": ["icc", "icm"], "application/vnd.igloader": ["igl"], "application/vnd.immervision-ivp": ["ivp"], "application/vnd.immervision-ivu": ["ivu"], "application/vnd.insors.igm": ["igm"], "application/vnd.intercon.formnet": ["xpw", "xpx"], "application/vnd.intergeo": ["i2g"], "application/vnd.intu.qbo": ["qbo"], "application/vnd.intu.qfx": ["qfx"], "application/vnd.ipunplugged.rcprofile": ["rcprofile"], "application/vnd.irepository.package+xml": ["irp"], "application/vnd.is-xpr": ["xpr"], "application/vnd.isac.fcs": ["fcs"], "application/vnd.jam": ["jam"], "application/vnd.jcp.javame.midlet-rms": ["rms"], "application/vnd.jisp": ["jisp"], "application/vnd.joost.joda-archive": ["joda"], "application/vnd.kahootz": ["ktz", "ktr"], "application/vnd.kde.karbon": ["karbon"], "application/vnd.kde.kchart": ["chrt"], "application/vnd.kde.kformula": ["kfo"], "application/vnd.kde.kivio": ["flw"], "application/vnd.kde.kontour": ["kon"], "application/vnd.kde.kpresenter": ["kpr", "kpt"], "application/vnd.kde.kspread": ["ksp"], "application/vnd.kde.kword": ["kwd", "kwt"], "application/vnd.kenameaapp": ["htke"], "application/vnd.kidspiration": ["kia"], "application/vnd.kinar": ["kne", "knp"], "application/vnd.koan": ["skp", "skd", "skt", "skm"], "application/vnd.kodak-descriptor": ["sse"], "application/vnd.las.las+xml": ["lasxml"], "application/vnd.llamagraphics.life-balance.desktop": ["lbd"], "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"], "application/vnd.lotus-1-2-3": ["123"], "application/vnd.lotus-approach": ["apr"], "application/vnd.lotus-freelance": ["pre"], "application/vnd.lotus-notes": ["nsf"], "application/vnd.lotus-organizer": ["org"], "application/vnd.lotus-screencam": ["scm"], "application/vnd.lotus-wordpro": ["lwp"], "application/vnd.macports.portpkg": ["portpkg"], "application/vnd.mcd": ["mcd"], "application/vnd.medcalcdata": ["mc1"], "application/vnd.mediastation.cdkey": ["cdkey"], "application/vnd.mfer": ["mwf"], "application/vnd.mfmp": ["mfm"], "application/vnd.micrografx.flo": ["flo"], "application/vnd.micrografx.igx": ["igx"], "application/vnd.mif": ["mif"], "application/vnd.mobius.daf": ["daf"], "application/vnd.mobius.dis": ["dis"], "application/vnd.mobius.mbk": ["mbk"], "application/vnd.mobius.mqy": ["mqy"], "application/vnd.mobius.msl": ["msl"], "application/vnd.mobius.plc": ["plc"], "application/vnd.mobius.txf": ["txf"], "application/vnd.mophun.application": ["mpn"], "application/vnd.mophun.certificate": ["mpc"], "application/vnd.mozilla.xul+xml": ["xul"], "application/vnd.ms-artgalry": ["cil"], "application/vnd.ms-cab-compressed": ["cab"], "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"], "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"], "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"], "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"], "application/vnd.ms-excel.template.macroenabled.12": ["xltm"], "application/vnd.ms-fontobject": ["eot"], "application/vnd.ms-htmlhelp": ["chm"], "application/vnd.ms-ims": ["ims"], "application/vnd.ms-lrm": ["lrm"], "application/vnd.ms-officetheme": ["thmx"], "application/vnd.ms-outlook": ["msg"], "application/vnd.ms-pki.seccat": ["cat"], "application/vnd.ms-pki.stl": ["stl"], "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"], "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"], "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"], "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"], "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"], "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"], "application/vnd.ms-project": ["mpp", "mpt"], "application/vnd.ms-word.document.macroenabled.12": ["docm"], "application/vnd.ms-word.template.macroenabled.12": ["dotm"], "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"], "application/vnd.ms-wpl": ["wpl"], "application/vnd.ms-xpsdocument": ["xps"], "application/vnd.mseq": ["mseq"], "application/vnd.musician": ["mus"], "application/vnd.muvee.style": ["msty"], "application/vnd.mynfc": ["taglet"], "application/vnd.neurolanguage.nlu": ["nlu"], "application/vnd.nitf": ["ntf", "nitf"], "application/vnd.noblenet-directory": ["nnd"], "application/vnd.noblenet-sealer": ["nns"], "application/vnd.noblenet-web": ["nnw"], "application/vnd.nokia.n-gage.data": ["ngdat"], "application/vnd.nokia.n-gage.symbian.install": ["n-gage"], "application/vnd.nokia.radio-preset": ["rpst"], "application/vnd.nokia.radio-presets": ["rpss"], "application/vnd.novadigm.edm": ["edm"], "application/vnd.novadigm.edx": ["edx"], "application/vnd.novadigm.ext": ["ext"], "application/vnd.oasis.opendocument.chart": ["odc"], "application/vnd.oasis.opendocument.chart-template": ["otc"], "application/vnd.oasis.opendocument.database": ["odb"], "application/vnd.oasis.opendocument.formula": ["odf"], "application/vnd.oasis.opendocument.formula-template": ["odft"], "application/vnd.oasis.opendocument.graphics": ["odg"], "application/vnd.oasis.opendocument.graphics-template": ["otg"], "application/vnd.oasis.opendocument.image": ["odi"], "application/vnd.oasis.opendocument.image-template": ["oti"], "application/vnd.oasis.opendocument.presentation": ["odp"], "application/vnd.oasis.opendocument.presentation-template": ["otp"], "application/vnd.oasis.opendocument.spreadsheet": ["ods"], "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"], "application/vnd.oasis.opendocument.text": ["odt"], "application/vnd.oasis.opendocument.text-master": ["odm"], "application/vnd.oasis.opendocument.text-template": ["ott"], "application/vnd.oasis.opendocument.text-web": ["oth"], "application/vnd.olpc-sugar": ["xo"], "application/vnd.oma.dd2+xml": ["dd2"], "application/vnd.openofficeorg.extension": ["oxt"], "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"], "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"], "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"], "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"], "application/vnd.osgeo.mapguide.package": ["mgp"], "application/vnd.osgi.dp": ["dp"], "application/vnd.osgi.subsystem": ["esa"], "application/vnd.palm": ["pdb", "pqa", "oprc"], "application/vnd.pawaafile": ["paw"], "application/vnd.pg.format": ["str"], "application/vnd.pg.osasli": ["ei6"], "application/vnd.picsel": ["efif"], "application/vnd.pmi.widget": ["wg"], "application/vnd.pocketlearn": ["plf"], "application/vnd.powerbuilder6": ["pbd"], "application/vnd.previewsystems.box": ["box"], "application/vnd.proteus.magazine": ["mgz"], "application/vnd.publishare-delta-tree": ["qps"], "application/vnd.pvi.ptid1": ["ptid"], "application/vnd.quark.quarkxpress": ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"], "application/vnd.realvnc.bed": ["bed"], "application/vnd.recordare.musicxml": ["mxl"], "application/vnd.recordare.musicxml+xml": ["musicxml"], "application/vnd.rig.cryptonote": ["cryptonote"], "application/vnd.rim.cod": ["cod"], "application/vnd.rn-realmedia": ["rm"], "application/vnd.rn-realmedia-vbr": ["rmvb"], "application/vnd.route66.link66+xml": ["link66"], "application/vnd.sailingtracker.track": ["st"], "application/vnd.seemail": ["see"], "application/vnd.sema": ["sema"], "application/vnd.semd": ["semd"], "application/vnd.semf": ["semf"], "application/vnd.shana.informed.formdata": ["ifm"], "application/vnd.shana.informed.formtemplate": ["itp"], "application/vnd.shana.informed.interchange": ["iif"], "application/vnd.shana.informed.package": ["ipk"], "application/vnd.simtech-mindmapper": ["twd", "twds"], "application/vnd.smaf": ["mmf"], "application/vnd.smart.teacher": ["teacher"], "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"], "application/vnd.spotfire.dxp": ["dxp"], "application/vnd.spotfire.sfs": ["sfs"], "application/vnd.stardivision.calc": ["sdc"], "application/vnd.stardivision.draw": ["sda"], "application/vnd.stardivision.impress": ["sdd"], "application/vnd.stardivision.math": ["smf"], "application/vnd.stardivision.writer": ["sdw", "vor"], "application/vnd.stardivision.writer-global": ["sgl"], "application/vnd.stepmania.package": ["smzip"], "application/vnd.stepmania.stepchart": ["sm"], "application/vnd.sun.wadl+xml": ["wadl"], "application/vnd.sun.xml.calc": ["sxc"], "application/vnd.sun.xml.calc.template": ["stc"], "application/vnd.sun.xml.draw": ["sxd"], "application/vnd.sun.xml.draw.template": ["std"], "application/vnd.sun.xml.impress": ["sxi"], "application/vnd.sun.xml.impress.template": ["sti"], "application/vnd.sun.xml.math": ["sxm"], "application/vnd.sun.xml.writer": ["sxw"], "application/vnd.sun.xml.writer.global": ["sxg"], "application/vnd.sun.xml.writer.template": ["stw"], "application/vnd.sus-calendar": ["sus", "susp"], "application/vnd.svd": ["svd"], "application/vnd.symbian.install": ["sis", "sisx"], "application/vnd.syncml+xml": ["xsm"], "application/vnd.syncml.dm+wbxml": ["bdm"], "application/vnd.syncml.dm+xml": ["xdm"], "application/vnd.tao.intent-module-archive": ["tao"], "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"], "application/vnd.tmobile-livetv": ["tmo"], "application/vnd.trid.tpt": ["tpt"], "application/vnd.triscape.mxs": ["mxs"], "application/vnd.trueapp": ["tra"], "application/vnd.ufdl": ["ufd", "ufdl"], "application/vnd.uiq.theme": ["utz"], "application/vnd.umajin": ["umj"], "application/vnd.unity": ["unityweb"], "application/vnd.uoml+xml": ["uoml"], "application/vnd.vcx": ["vcx"], "application/vnd.visio": ["vsd", "vst", "vss", "vsw"], "application/vnd.visionary": ["vis"], "application/vnd.vsf": ["vsf"], "application/vnd.wap.wbxml": ["wbxml"], "application/vnd.wap.wmlc": ["wmlc"], "application/vnd.wap.wmlscriptc": ["wmlsc"], "application/vnd.webturbo": ["wtb"], "application/vnd.wolfram.player": ["nbp"], "application/vnd.wordperfect": ["wpd"], "application/vnd.wqd": ["wqd"], "application/vnd.wt.stf": ["stf"], "application/vnd.xara": ["xar"], "application/vnd.xfdl": ["xfdl"], "application/vnd.yamaha.hv-dic": ["hvd"], "application/vnd.yamaha.hv-script": ["hvs"], "application/vnd.yamaha.hv-voice": ["hvp"], "application/vnd.yamaha.openscoreformat": ["osf"], "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"], "application/vnd.yamaha.smaf-audio": ["saf"], "application/vnd.yamaha.smaf-phrase": ["spf"], "application/vnd.yellowriver-custom-menu": ["cmp"], "application/vnd.zul": ["zir", "zirz"], "application/vnd.zzazz.deck+xml": ["zaz"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/x-7z-compressed": ["7z"], "application/x-abiword": ["abw"], "application/x-ace-compressed": ["ace"], "application/x-apple-diskimage": [], "application/x-arj": ["arj"], "application/x-authorware-bin": ["aab", "x32", "u32", "vox"], "application/x-authorware-map": ["aam"], "application/x-authorware-seg": ["aas"], "application/x-bcpio": ["bcpio"], "application/x-bdoc": [], "application/x-bittorrent": ["torrent"], "application/x-blorb": ["blb", "blorb"], "application/x-bzip": ["bz"], "application/x-bzip2": ["bz2", "boz"], "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"], "application/x-cdlink": ["vcd"], "application/x-cfs-compressed": ["cfs"], "application/x-chat": ["chat"], "application/x-chess-pgn": ["pgn"], "application/x-chrome-extension": ["crx"], "application/x-cocoa": ["cco"], "application/x-conference": ["nsc"], "application/x-cpio": ["cpio"], "application/x-csh": ["csh"], "application/x-debian-package": ["udeb"], "application/x-dgc-compressed": ["dgc"], "application/x-director": ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"], "application/x-doom": ["wad"], "application/x-dtbncx+xml": ["ncx"], "application/x-dtbook+xml": ["dtb"], "application/x-dtbresource+xml": ["res"], "application/x-dvi": ["dvi"], "application/x-envoy": ["evy"], "application/x-eva": ["eva"], "application/x-font-bdf": ["bdf"], "application/x-font-ghostscript": ["gsf"], "application/x-font-linux-psf": ["psf"], "application/x-font-pcf": ["pcf"], "application/x-font-snf": ["snf"], "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"], "application/x-freearc": ["arc"], "application/x-futuresplash": ["spl"], "application/x-gca-compressed": ["gca"], "application/x-glulx": ["ulx"], "application/x-gnumeric": ["gnumeric"], "application/x-gramps-xml": ["gramps"], "application/x-gtar": ["gtar"], "application/x-hdf": ["hdf"], "application/x-httpd-php": ["php"], "application/x-install-instructions": ["install"], "application/x-iso9660-image": [], "application/x-java-archive-diff": ["jardiff"], "application/x-java-jnlp-file": ["jnlp"], "application/x-latex": ["latex"], "application/x-lua-bytecode": ["luac"], "application/x-lzh-compressed": ["lzh", "lha"], "application/x-makeself": ["run"], "application/x-mie": ["mie"], "application/x-mobipocket-ebook": ["prc", "mobi"], "application/x-ms-application": ["application"], "application/x-ms-shortcut": ["lnk"], "application/x-ms-wmd": ["wmd"], "application/x-ms-wmz": ["wmz"], "application/x-ms-xbap": ["xbap"], "application/x-msaccess": ["mdb"], "application/x-msbinder": ["obd"], "application/x-mscardfile": ["crd"], "application/x-msclip": ["clp"], "application/x-msdos-program": [], "application/x-msdownload": ["com", "bat"], "application/x-msmediaview": ["mvb", "m13", "m14"], "application/x-msmetafile": ["wmf", "emf", "emz"], "application/x-msmoney": ["mny"], "application/x-mspublisher": ["pub"], "application/x-msschedule": ["scd"], "application/x-msterminal": ["trm"], "application/x-mswrite": ["wri"], "application/x-netcdf": ["nc", "cdf"], "application/x-ns-proxy-autoconfig": ["pac"], "application/x-nzb": ["nzb"], "application/x-perl": ["pl", "pm"], "application/x-pilot": [], "application/x-pkcs12": ["p12", "pfx"], "application/x-pkcs7-certificates": ["p7b", "spc"], "application/x-pkcs7-certreqresp": ["p7r"], "application/x-rar-compressed": ["rar"], "application/x-redhat-package-manager": ["rpm"], "application/x-research-info-systems": ["ris"], "application/x-sea": ["sea"], "application/x-sh": ["sh"], "application/x-shar": ["shar"], "application/x-shockwave-flash": ["swf"], "application/x-silverlight-app": ["xap"], "application/x-sql": ["sql"], "application/x-stuffit": ["sit"], "application/x-stuffitx": ["sitx"], "application/x-subrip": ["srt"], "application/x-sv4cpio": ["sv4cpio"], "application/x-sv4crc": ["sv4crc"], "application/x-t3vm-image": ["t3"], "application/x-tads": ["gam"], "application/x-tar": ["tar"], "application/x-tcl": ["tcl", "tk"], "application/x-tex": ["tex"], "application/x-tex-tfm": ["tfm"], "application/x-texinfo": ["texinfo", "texi"], "application/x-tgif": ["obj"], "application/x-ustar": ["ustar"], "application/x-virtualbox-hdd": ["hdd"], "application/x-virtualbox-ova": ["ova"], "application/x-virtualbox-ovf": ["ovf"], "application/x-virtualbox-vbox": ["vbox"], "application/x-virtualbox-vbox-extpack": ["vbox-extpack"], "application/x-virtualbox-vdi": ["vdi"], "application/x-virtualbox-vhd": ["vhd"], "application/x-virtualbox-vmdk": ["vmdk"], "application/x-wais-source": ["src"], "application/x-web-app-manifest+json": ["webapp"], "application/x-x509-ca-cert": ["der", "crt", "pem"], "application/x-xfig": ["fig"], "application/x-xliff+xml": ["xlf"], "application/x-xpinstall": ["xpi"], "application/x-xz": ["xz"], "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"], "application/xaml+xml": ["xaml"], "application/xcap-diff+xml": ["xdf"], "application/xenc+xml": ["xenc"], "application/xhtml+xml": ["xhtml", "xht"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": [], "audio/adpcm": ["adp"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mp3": [], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/vnd.dece.audio": ["uva", "uvva"], "audio/vnd.digital-winds": ["eol"], "audio/vnd.dra": ["dra"], "audio/vnd.dts": ["dts"], "audio/vnd.dts.hd": ["dtshd"], "audio/vnd.lucent.voice": ["lvp"], "audio/vnd.ms-playready.media.pya": ["pya"], "audio/vnd.nuera.ecelp4800": ["ecelp4800"], "audio/vnd.nuera.ecelp7470": ["ecelp7470"], "audio/vnd.nuera.ecelp9600": ["ecelp9600"], "audio/vnd.rip": ["rip"], "audio/wav": ["wav"], "audio/wave": [], "audio/webm": ["weba"], "audio/x-aac": ["aac"], "audio/x-aiff": ["aif", "aiff", "aifc"], "audio/x-caf": ["caf"], "audio/x-flac": ["flac"], "audio/x-m4a": [], "audio/x-matroska": ["mka"], "audio/x-mpegurl": ["m3u"], "audio/x-ms-wax": ["wax"], "audio/x-ms-wma": ["wma"], "audio/x-pn-realaudio": ["ram", "ra"], "audio/x-pn-realaudio-plugin": ["rmp"], "audio/x-realaudio": [], "audio/x-wav": [], "audio/xm": ["xm"], "chemical/x-cdx": ["cdx"], "chemical/x-cif": ["cif"], "chemical/x-cmdf": ["cmdf"], "chemical/x-cml": ["cml"], "chemical/x-csml": ["csml"], "chemical/x-xyz": ["xyz"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/apng": ["apng"], "image/bmp": ["bmp"], "image/cgm": ["cgm"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/ief": ["ief"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jpm": ["jpm"], "image/jpx": ["jpx", "jpf"], "image/ktx": ["ktx"], "image/png": ["png"], "image/prs.btif": ["btif"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/tiff": ["tiff", "tif"], "image/vnd.adobe.photoshop": ["psd"], "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"], "image/vnd.djvu": ["djvu", "djv"], "image/vnd.dvb.subtitle": [], "image/vnd.dwg": ["dwg"], "image/vnd.dxf": ["dxf"], "image/vnd.fastbidsheet": ["fbs"], "image/vnd.fpx": ["fpx"], "image/vnd.fst": ["fst"], "image/vnd.fujixerox.edmics-mmr": ["mmr"], "image/vnd.fujixerox.edmics-rlc": ["rlc"], "image/vnd.ms-modi": ["mdi"], "image/vnd.ms-photo": ["wdp"], "image/vnd.net-fpx": ["npx"], "image/vnd.wap.wbmp": ["wbmp"], "image/vnd.xiff": ["xif"], "image/webp": ["webp"], "image/x-3ds": ["3ds"], "image/x-cmu-raster": ["ras"], "image/x-cmx": ["cmx"], "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"], "image/x-icon": ["ico"], "image/x-jng": ["jng"], "image/x-mrsid-image": ["sid"], "image/x-ms-bmp": [], "image/x-pcx": ["pcx"], "image/x-pict": ["pic", "pct"], "image/x-portable-anymap": ["pnm"], "image/x-portable-bitmap": ["pbm"], "image/x-portable-graymap": ["pgm"], "image/x-portable-pixmap": ["ppm"], "image/x-rgb": ["rgb"], "image/x-tga": ["tga"], "image/x-xbitmap": ["xbm"], "image/x-xpixmap": ["xpm"], "image/x-xwindowdump": ["xwd"], "message/rfc822": ["eml", "mime"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/mesh": ["msh", "mesh", "silo"], "model/vnd.collada+xml": ["dae"], "model/vnd.dwf": ["dwf"], "model/vnd.gdl": ["gdl"], "model/vnd.gtw": ["gtw"], "model/vnd.mts": ["mts"], "model/vnd.vtu": ["vtu"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["x3db", "x3dbz"], "model/x3d+vrml": ["x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/hjson": ["hjson"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["markdown", "md"], "text/mathml": ["mml"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/prs.lines.tag": ["dsc"], "text/richtext": ["rtx"], "text/rtf": [], "text/sgml": ["sgml", "sgm"], "text/slim": ["slim", "slm"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vnd.curl": ["curl"], "text/vnd.curl.dcurl": ["dcurl"], "text/vnd.curl.mcurl": ["mcurl"], "text/vnd.curl.scurl": ["scurl"], "text/vnd.dvb.subtitle": ["sub"], "text/vnd.fly": ["fly"], "text/vnd.fmi.flexstor": ["flx"], "text/vnd.graphviz": ["gv"], "text/vnd.in3d.3dml": ["3dml"], "text/vnd.in3d.spot": ["spot"], "text/vnd.sun.j2me.app-descriptor": ["jad"], "text/vnd.wap.wml": ["wml"], "text/vnd.wap.wmlscript": ["wmls"], "text/vtt": ["vtt"], "text/x-asm": ["s", "asm"], "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"], "text/x-component": ["htc"], "text/x-fortran": ["f", "for", "f77", "f90"], "text/x-handlebars-template": ["hbs"], "text/x-java-source": ["java"], "text/x-lua": ["lua"], "text/x-markdown": ["mkd"], "text/x-nfo": ["nfo"], "text/x-opml": ["opml"], "text/x-org": [], "text/x-pascal": ["p", "pas"], "text/x-processing": ["pde"], "text/x-sass": ["sass"], "text/x-scss": ["scss"], "text/x-setext": ["etx"], "text/x-sfv": ["sfv"], "text/x-suse-ymp": ["ymp"], "text/x-uuencode": ["uu"], "text/x-vcalendar": ["vcs"], "text/x-vcard": ["vcf"], "text/xml": [], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/jpeg": ["jpgv"], "video/jpm": ["jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/vnd.dece.hd": ["uvh", "uvvh"], "video/vnd.dece.mobile": ["uvm", "uvvm"], "video/vnd.dece.pd": ["uvp", "uvvp"], "video/vnd.dece.sd": ["uvs", "uvvs"], "video/vnd.dece.video": ["uvv", "uvvv"], "video/vnd.dvb.file": ["dvb"], "video/vnd.fvt": ["fvt"], "video/vnd.mpegurl": ["mxu", "m4u"], "video/vnd.ms-playready.media.pyv": ["pyv"], "video/vnd.uvvu.mp4": ["uvu", "uvvu"], "video/vnd.vivo": ["viv"], "video/webm": ["webm"], "video/x-f4v": ["f4v"], "video/x-fli": ["fli"], "video/x-flv": ["flv"], "video/x-m4v": ["m4v"], "video/x-matroska": ["mkv", "mk3d", "mks"], "video/x-mng": ["mng"], "video/x-ms-asf": ["asf", "asx"], "video/x-ms-vob": ["vob"], "video/x-ms-wm": ["wm"], "video/x-ms-wmv": ["wmv"], "video/x-ms-wmx": ["wmx"], "video/x-ms-wvx": ["wvx"], "video/x-msvideo": ["avi"], "video/x-sgi-movie": ["movie"], "video/x-smv": ["smv"], "x-conference/x-cooltalk": ["ice"] };
|
|
19001
18998
|
}
|
|
19002
18999
|
});
|
|
19003
19000
|
|
|
19004
19001
|
// ../../node_modules/.pnpm/mime@1.6.0/node_modules/mime/mime.js
|
|
19005
19002
|
var require_mime = __commonJS({
|
|
19006
|
-
"../../node_modules/.pnpm/mime@1.6.0/node_modules/mime/mime.js"(
|
|
19003
|
+
"../../node_modules/.pnpm/mime@1.6.0/node_modules/mime/mime.js"(exports2, module2) {
|
|
19007
19004
|
"use strict";
|
|
19008
|
-
var
|
|
19009
|
-
var
|
|
19005
|
+
var path16 = require("path");
|
|
19006
|
+
var fs17 = require("fs");
|
|
19010
19007
|
function Mime() {
|
|
19011
19008
|
this.types = /* @__PURE__ */ Object.create(null);
|
|
19012
19009
|
this.extensions = /* @__PURE__ */ Object.create(null);
|
|
@@ -19027,7 +19024,7 @@ var require_mime = __commonJS({
|
|
|
19027
19024
|
};
|
|
19028
19025
|
Mime.prototype.load = function(file) {
|
|
19029
19026
|
this._loading = file;
|
|
19030
|
-
var map = {}, content =
|
|
19027
|
+
var map = {}, content = fs17.readFileSync(file, "ascii"), lines = content.split(/[\r\n]+/);
|
|
19031
19028
|
lines.forEach(function(line) {
|
|
19032
19029
|
var fields = line.replace(/\s*#.*|^\s*|\s*$/g, "").split(/\s+/);
|
|
19033
19030
|
map[fields.shift()] = fields;
|
|
@@ -19035,8 +19032,8 @@ var require_mime = __commonJS({
|
|
|
19035
19032
|
this.define(map);
|
|
19036
19033
|
this._loading = null;
|
|
19037
19034
|
};
|
|
19038
|
-
Mime.prototype.lookup = function(
|
|
19039
|
-
var ext =
|
|
19035
|
+
Mime.prototype.lookup = function(path17, fallback) {
|
|
19036
|
+
var ext = path17.replace(/^.*[\.\/\\]/, "").toLowerCase();
|
|
19040
19037
|
return this.types[ext] || fallback || this.default_type;
|
|
19041
19038
|
};
|
|
19042
19039
|
Mime.prototype.extension = function(mimeType) {
|
|
@@ -19052,13 +19049,13 @@ var require_mime = __commonJS({
|
|
|
19052
19049
|
return /^text\/|^application\/(javascript|json)/.test(mimeType) ? "UTF-8" : fallback;
|
|
19053
19050
|
}
|
|
19054
19051
|
};
|
|
19055
|
-
|
|
19052
|
+
module2.exports = mime;
|
|
19056
19053
|
}
|
|
19057
19054
|
});
|
|
19058
19055
|
|
|
19059
19056
|
// ../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js
|
|
19060
19057
|
var require_ms2 = __commonJS({
|
|
19061
|
-
"../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"(
|
|
19058
|
+
"../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"(exports2, module2) {
|
|
19062
19059
|
"use strict";
|
|
19063
19060
|
var s = 1e3;
|
|
19064
19061
|
var m = s * 60;
|
|
@@ -19066,7 +19063,7 @@ var require_ms2 = __commonJS({
|
|
|
19066
19063
|
var d = h * 24;
|
|
19067
19064
|
var w = d * 7;
|
|
19068
19065
|
var y = d * 365.25;
|
|
19069
|
-
|
|
19066
|
+
module2.exports = function(val, options) {
|
|
19070
19067
|
options = options || {};
|
|
19071
19068
|
var type = typeof val;
|
|
19072
19069
|
if (type === "string" && val.length > 0) {
|
|
@@ -19175,9 +19172,9 @@ var require_ms2 = __commonJS({
|
|
|
19175
19172
|
|
|
19176
19173
|
// ../../node_modules/.pnpm/range-parser@1.2.1/node_modules/range-parser/index.js
|
|
19177
19174
|
var require_range_parser = __commonJS({
|
|
19178
|
-
"../../node_modules/.pnpm/range-parser@1.2.1/node_modules/range-parser/index.js"(
|
|
19175
|
+
"../../node_modules/.pnpm/range-parser@1.2.1/node_modules/range-parser/index.js"(exports2, module2) {
|
|
19179
19176
|
"use strict";
|
|
19180
|
-
|
|
19177
|
+
module2.exports = rangeParser;
|
|
19181
19178
|
function rangeParser(size, str, options) {
|
|
19182
19179
|
if (typeof str !== "string") {
|
|
19183
19180
|
throw new TypeError("argument str must be a string");
|
|
@@ -19256,7 +19253,7 @@ var require_range_parser = __commonJS({
|
|
|
19256
19253
|
|
|
19257
19254
|
// ../../node_modules/.pnpm/send@0.19.2/node_modules/send/index.js
|
|
19258
19255
|
var require_send = __commonJS({
|
|
19259
|
-
"../../node_modules/.pnpm/send@0.19.2/node_modules/send/index.js"(
|
|
19256
|
+
"../../node_modules/.pnpm/send@0.19.2/node_modules/send/index.js"(exports2, module2) {
|
|
19260
19257
|
"use strict";
|
|
19261
19258
|
var createError = require_http_errors();
|
|
19262
19259
|
var debug = require_src()("send");
|
|
@@ -19266,33 +19263,33 @@ var require_send = __commonJS({
|
|
|
19266
19263
|
var escapeHtml = require_escape_html();
|
|
19267
19264
|
var etag = require_etag();
|
|
19268
19265
|
var fresh = require_fresh();
|
|
19269
|
-
var
|
|
19266
|
+
var fs17 = require("fs");
|
|
19270
19267
|
var mime = require_mime();
|
|
19271
19268
|
var ms = require_ms2();
|
|
19272
19269
|
var onFinished = require_on_finished();
|
|
19273
19270
|
var parseRange = require_range_parser();
|
|
19274
|
-
var
|
|
19271
|
+
var path16 = require("path");
|
|
19275
19272
|
var statuses = require_statuses();
|
|
19276
|
-
var Stream =
|
|
19277
|
-
var util2 =
|
|
19278
|
-
var extname3 =
|
|
19279
|
-
var
|
|
19280
|
-
var normalize =
|
|
19281
|
-
var resolve10 =
|
|
19282
|
-
var sep3 =
|
|
19273
|
+
var Stream = require("stream");
|
|
19274
|
+
var util2 = require("util");
|
|
19275
|
+
var extname3 = path16.extname;
|
|
19276
|
+
var join12 = path16.join;
|
|
19277
|
+
var normalize = path16.normalize;
|
|
19278
|
+
var resolve10 = path16.resolve;
|
|
19279
|
+
var sep3 = path16.sep;
|
|
19283
19280
|
var BYTES_RANGE_REGEXP = /^ *bytes=/;
|
|
19284
19281
|
var MAX_MAXAGE = 60 * 60 * 24 * 365 * 1e3;
|
|
19285
19282
|
var UP_PATH_REGEXP = /(?:^|[\\/])\.\.(?:[\\/]|$)/;
|
|
19286
|
-
|
|
19287
|
-
|
|
19288
|
-
function send(req,
|
|
19289
|
-
return new SendStream(req,
|
|
19283
|
+
module2.exports = send;
|
|
19284
|
+
module2.exports.mime = mime;
|
|
19285
|
+
function send(req, path17, options) {
|
|
19286
|
+
return new SendStream(req, path17, options);
|
|
19290
19287
|
}
|
|
19291
|
-
function SendStream(req,
|
|
19288
|
+
function SendStream(req, path17, options) {
|
|
19292
19289
|
Stream.call(this);
|
|
19293
19290
|
var opts = options || {};
|
|
19294
19291
|
this.options = opts;
|
|
19295
|
-
this.path =
|
|
19292
|
+
this.path = path17;
|
|
19296
19293
|
this.req = req;
|
|
19297
19294
|
this._acceptRanges = opts.acceptRanges !== void 0 ? Boolean(opts.acceptRanges) : true;
|
|
19298
19295
|
this._cacheControl = opts.cacheControl !== void 0 ? Boolean(opts.cacheControl) : true;
|
|
@@ -19338,8 +19335,8 @@ var require_send = __commonJS({
|
|
|
19338
19335
|
this._index = index2;
|
|
19339
19336
|
return this;
|
|
19340
19337
|
}, "send.index: pass index as option");
|
|
19341
|
-
SendStream.prototype.root = function root(
|
|
19342
|
-
this._root = resolve10(String(
|
|
19338
|
+
SendStream.prototype.root = function root(path17) {
|
|
19339
|
+
this._root = resolve10(String(path17));
|
|
19343
19340
|
debug("root %s", this._root);
|
|
19344
19341
|
return this;
|
|
19345
19342
|
};
|
|
@@ -19452,10 +19449,10 @@ var require_send = __commonJS({
|
|
|
19452
19449
|
var lastModified = this.res.getHeader("Last-Modified");
|
|
19453
19450
|
return parseHttpDate(lastModified) <= parseHttpDate(ifRange);
|
|
19454
19451
|
};
|
|
19455
|
-
SendStream.prototype.redirect = function redirect(
|
|
19452
|
+
SendStream.prototype.redirect = function redirect(path17) {
|
|
19456
19453
|
var res = this.res;
|
|
19457
19454
|
if (hasListeners(this, "directory")) {
|
|
19458
|
-
this.emit("directory", res,
|
|
19455
|
+
this.emit("directory", res, path17);
|
|
19459
19456
|
return;
|
|
19460
19457
|
}
|
|
19461
19458
|
if (this.hasTrailingSlash()) {
|
|
@@ -19475,42 +19472,42 @@ var require_send = __commonJS({
|
|
|
19475
19472
|
SendStream.prototype.pipe = function pipe(res) {
|
|
19476
19473
|
var root = this._root;
|
|
19477
19474
|
this.res = res;
|
|
19478
|
-
var
|
|
19479
|
-
if (
|
|
19475
|
+
var path17 = decode(this.path);
|
|
19476
|
+
if (path17 === -1) {
|
|
19480
19477
|
this.error(400);
|
|
19481
19478
|
return res;
|
|
19482
19479
|
}
|
|
19483
|
-
if (~
|
|
19480
|
+
if (~path17.indexOf("\0")) {
|
|
19484
19481
|
this.error(400);
|
|
19485
19482
|
return res;
|
|
19486
19483
|
}
|
|
19487
19484
|
var parts;
|
|
19488
19485
|
if (root !== null) {
|
|
19489
|
-
if (
|
|
19490
|
-
|
|
19486
|
+
if (path17) {
|
|
19487
|
+
path17 = normalize("." + sep3 + path17);
|
|
19491
19488
|
}
|
|
19492
|
-
if (UP_PATH_REGEXP.test(
|
|
19493
|
-
debug('malicious path "%s"',
|
|
19489
|
+
if (UP_PATH_REGEXP.test(path17)) {
|
|
19490
|
+
debug('malicious path "%s"', path17);
|
|
19494
19491
|
this.error(403);
|
|
19495
19492
|
return res;
|
|
19496
19493
|
}
|
|
19497
|
-
parts =
|
|
19498
|
-
|
|
19494
|
+
parts = path17.split(sep3);
|
|
19495
|
+
path17 = normalize(join12(root, path17));
|
|
19499
19496
|
} else {
|
|
19500
|
-
if (UP_PATH_REGEXP.test(
|
|
19501
|
-
debug('malicious path "%s"',
|
|
19497
|
+
if (UP_PATH_REGEXP.test(path17)) {
|
|
19498
|
+
debug('malicious path "%s"', path17);
|
|
19502
19499
|
this.error(403);
|
|
19503
19500
|
return res;
|
|
19504
19501
|
}
|
|
19505
|
-
parts = normalize(
|
|
19506
|
-
|
|
19502
|
+
parts = normalize(path17).split(sep3);
|
|
19503
|
+
path17 = resolve10(path17);
|
|
19507
19504
|
}
|
|
19508
19505
|
if (containsDotFile(parts)) {
|
|
19509
19506
|
var access = this._dotfiles;
|
|
19510
19507
|
if (access === void 0) {
|
|
19511
19508
|
access = parts[parts.length - 1][0] === "." ? this._hidden ? "allow" : "ignore" : "allow";
|
|
19512
19509
|
}
|
|
19513
|
-
debug('%s dotfile "%s"', access,
|
|
19510
|
+
debug('%s dotfile "%s"', access, path17);
|
|
19514
19511
|
switch (access) {
|
|
19515
19512
|
case "allow":
|
|
19516
19513
|
break;
|
|
@@ -19524,13 +19521,13 @@ var require_send = __commonJS({
|
|
|
19524
19521
|
}
|
|
19525
19522
|
}
|
|
19526
19523
|
if (this._index.length && this.hasTrailingSlash()) {
|
|
19527
|
-
this.sendIndex(
|
|
19524
|
+
this.sendIndex(path17);
|
|
19528
19525
|
return res;
|
|
19529
19526
|
}
|
|
19530
|
-
this.sendFile(
|
|
19527
|
+
this.sendFile(path17);
|
|
19531
19528
|
return res;
|
|
19532
19529
|
};
|
|
19533
|
-
SendStream.prototype.send = function send2(
|
|
19530
|
+
SendStream.prototype.send = function send2(path17, stat) {
|
|
19534
19531
|
var len = stat.size;
|
|
19535
19532
|
var options = this.options;
|
|
19536
19533
|
var opts = {};
|
|
@@ -19542,9 +19539,9 @@ var require_send = __commonJS({
|
|
|
19542
19539
|
this.headersAlreadySent();
|
|
19543
19540
|
return;
|
|
19544
19541
|
}
|
|
19545
|
-
debug('pipe "%s"',
|
|
19546
|
-
this.setHeader(
|
|
19547
|
-
this.type(
|
|
19542
|
+
debug('pipe "%s"', path17);
|
|
19543
|
+
this.setHeader(path17, stat);
|
|
19544
|
+
this.type(path17);
|
|
19548
19545
|
if (this.isConditionalGET()) {
|
|
19549
19546
|
if (this.isPreconditionFailure()) {
|
|
19550
19547
|
this.error(412);
|
|
@@ -19593,28 +19590,28 @@ var require_send = __commonJS({
|
|
|
19593
19590
|
res.end();
|
|
19594
19591
|
return;
|
|
19595
19592
|
}
|
|
19596
|
-
this.stream(
|
|
19593
|
+
this.stream(path17, opts);
|
|
19597
19594
|
};
|
|
19598
|
-
SendStream.prototype.sendFile = function sendFile(
|
|
19595
|
+
SendStream.prototype.sendFile = function sendFile(path17) {
|
|
19599
19596
|
var i = 0;
|
|
19600
19597
|
var self = this;
|
|
19601
|
-
debug('stat "%s"',
|
|
19602
|
-
|
|
19603
|
-
if (err && err.code === "ENOENT" && !extname3(
|
|
19598
|
+
debug('stat "%s"', path17);
|
|
19599
|
+
fs17.stat(path17, function onstat(err, stat) {
|
|
19600
|
+
if (err && err.code === "ENOENT" && !extname3(path17) && path17[path17.length - 1] !== sep3) {
|
|
19604
19601
|
return next(err);
|
|
19605
19602
|
}
|
|
19606
19603
|
if (err) return self.onStatError(err);
|
|
19607
|
-
if (stat.isDirectory()) return self.redirect(
|
|
19608
|
-
self.emit("file",
|
|
19609
|
-
self.send(
|
|
19604
|
+
if (stat.isDirectory()) return self.redirect(path17);
|
|
19605
|
+
self.emit("file", path17, stat);
|
|
19606
|
+
self.send(path17, stat);
|
|
19610
19607
|
});
|
|
19611
19608
|
function next(err) {
|
|
19612
19609
|
if (self._extensions.length <= i) {
|
|
19613
19610
|
return err ? self.onStatError(err) : self.error(404);
|
|
19614
19611
|
}
|
|
19615
|
-
var p =
|
|
19612
|
+
var p = path17 + "." + self._extensions[i++];
|
|
19616
19613
|
debug('stat "%s"', p);
|
|
19617
|
-
|
|
19614
|
+
fs17.stat(p, function(err2, stat) {
|
|
19618
19615
|
if (err2) return next(err2);
|
|
19619
19616
|
if (stat.isDirectory()) return next();
|
|
19620
19617
|
self.emit("file", p, stat);
|
|
@@ -19622,7 +19619,7 @@ var require_send = __commonJS({
|
|
|
19622
19619
|
});
|
|
19623
19620
|
}
|
|
19624
19621
|
};
|
|
19625
|
-
SendStream.prototype.sendIndex = function sendIndex(
|
|
19622
|
+
SendStream.prototype.sendIndex = function sendIndex(path17) {
|
|
19626
19623
|
var i = -1;
|
|
19627
19624
|
var self = this;
|
|
19628
19625
|
function next(err) {
|
|
@@ -19630,9 +19627,9 @@ var require_send = __commonJS({
|
|
|
19630
19627
|
if (err) return self.onStatError(err);
|
|
19631
19628
|
return self.error(404);
|
|
19632
19629
|
}
|
|
19633
|
-
var p =
|
|
19630
|
+
var p = join12(path17, self._index[i]);
|
|
19634
19631
|
debug('stat "%s"', p);
|
|
19635
|
-
|
|
19632
|
+
fs17.stat(p, function(err2, stat) {
|
|
19636
19633
|
if (err2) return next(err2);
|
|
19637
19634
|
if (stat.isDirectory()) return next();
|
|
19638
19635
|
self.emit("file", p, stat);
|
|
@@ -19641,10 +19638,10 @@ var require_send = __commonJS({
|
|
|
19641
19638
|
}
|
|
19642
19639
|
next();
|
|
19643
19640
|
};
|
|
19644
|
-
SendStream.prototype.stream = function stream(
|
|
19641
|
+
SendStream.prototype.stream = function stream(path17, options) {
|
|
19645
19642
|
var self = this;
|
|
19646
19643
|
var res = this.res;
|
|
19647
|
-
var stream2 =
|
|
19644
|
+
var stream2 = fs17.createReadStream(path17, options);
|
|
19648
19645
|
this.emit("stream", stream2);
|
|
19649
19646
|
stream2.pipe(res);
|
|
19650
19647
|
function cleanup() {
|
|
@@ -19659,10 +19656,10 @@ var require_send = __commonJS({
|
|
|
19659
19656
|
self.emit("end");
|
|
19660
19657
|
});
|
|
19661
19658
|
};
|
|
19662
|
-
SendStream.prototype.type = function type(
|
|
19659
|
+
SendStream.prototype.type = function type(path17) {
|
|
19663
19660
|
var res = this.res;
|
|
19664
19661
|
if (res.getHeader("Content-Type")) return;
|
|
19665
|
-
var type2 = mime.lookup(
|
|
19662
|
+
var type2 = mime.lookup(path17);
|
|
19666
19663
|
if (!type2) {
|
|
19667
19664
|
debug("no content-type");
|
|
19668
19665
|
return;
|
|
@@ -19671,9 +19668,9 @@ var require_send = __commonJS({
|
|
|
19671
19668
|
debug("content-type %s", type2);
|
|
19672
19669
|
res.setHeader("Content-Type", type2 + (charset ? "; charset=" + charset : ""));
|
|
19673
19670
|
};
|
|
19674
|
-
SendStream.prototype.setHeader = function setHeader(
|
|
19671
|
+
SendStream.prototype.setHeader = function setHeader(path17, stat) {
|
|
19675
19672
|
var res = this.res;
|
|
19676
|
-
this.emit("headers", res,
|
|
19673
|
+
this.emit("headers", res, path17, stat);
|
|
19677
19674
|
if (this._acceptRanges && !res.getHeader("Accept-Ranges")) {
|
|
19678
19675
|
debug("accept ranges");
|
|
19679
19676
|
res.setHeader("Accept-Ranges", "bytes");
|
|
@@ -19732,9 +19729,9 @@ var require_send = __commonJS({
|
|
|
19732
19729
|
}
|
|
19733
19730
|
return err instanceof Error ? createError(status, err, { expose: false }) : createError(status, err);
|
|
19734
19731
|
}
|
|
19735
|
-
function decode(
|
|
19732
|
+
function decode(path17) {
|
|
19736
19733
|
try {
|
|
19737
|
-
return decodeURIComponent(
|
|
19734
|
+
return decodeURIComponent(path17);
|
|
19738
19735
|
} catch (err) {
|
|
19739
19736
|
return -1;
|
|
19740
19737
|
}
|
|
@@ -19801,9 +19798,9 @@ var require_send = __commonJS({
|
|
|
19801
19798
|
|
|
19802
19799
|
// ../../node_modules/.pnpm/forwarded@0.2.0/node_modules/forwarded/index.js
|
|
19803
19800
|
var require_forwarded = __commonJS({
|
|
19804
|
-
"../../node_modules/.pnpm/forwarded@0.2.0/node_modules/forwarded/index.js"(
|
|
19801
|
+
"../../node_modules/.pnpm/forwarded@0.2.0/node_modules/forwarded/index.js"(exports2, module2) {
|
|
19805
19802
|
"use strict";
|
|
19806
|
-
|
|
19803
|
+
module2.exports = forwarded;
|
|
19807
19804
|
function forwarded(req) {
|
|
19808
19805
|
if (!req) {
|
|
19809
19806
|
throw new TypeError("argument req is required");
|
|
@@ -19848,14 +19845,14 @@ var require_forwarded = __commonJS({
|
|
|
19848
19845
|
|
|
19849
19846
|
// ../../node_modules/.pnpm/ipaddr.js@1.9.1/node_modules/ipaddr.js/lib/ipaddr.js
|
|
19850
19847
|
var require_ipaddr = __commonJS({
|
|
19851
|
-
"../../node_modules/.pnpm/ipaddr.js@1.9.1/node_modules/ipaddr.js/lib/ipaddr.js"(
|
|
19848
|
+
"../../node_modules/.pnpm/ipaddr.js@1.9.1/node_modules/ipaddr.js/lib/ipaddr.js"(exports2, module2) {
|
|
19852
19849
|
"use strict";
|
|
19853
19850
|
(function() {
|
|
19854
19851
|
var expandIPv6, ipaddr, ipv4Part, ipv4Regexes, ipv6Part, ipv6Regexes, matchCIDR, root, zoneIndex;
|
|
19855
19852
|
ipaddr = {};
|
|
19856
19853
|
root = this;
|
|
19857
|
-
if (typeof
|
|
19858
|
-
|
|
19854
|
+
if (typeof module2 !== "undefined" && module2 !== null && module2.exports) {
|
|
19855
|
+
module2.exports = ipaddr;
|
|
19859
19856
|
} else {
|
|
19860
19857
|
root["ipaddr"] = ipaddr;
|
|
19861
19858
|
}
|
|
@@ -20465,17 +20462,17 @@ var require_ipaddr = __commonJS({
|
|
|
20465
20462
|
return addr;
|
|
20466
20463
|
}
|
|
20467
20464
|
};
|
|
20468
|
-
}).call(
|
|
20465
|
+
}).call(exports2);
|
|
20469
20466
|
}
|
|
20470
20467
|
});
|
|
20471
20468
|
|
|
20472
20469
|
// ../../node_modules/.pnpm/proxy-addr@2.0.7/node_modules/proxy-addr/index.js
|
|
20473
20470
|
var require_proxy_addr = __commonJS({
|
|
20474
|
-
"../../node_modules/.pnpm/proxy-addr@2.0.7/node_modules/proxy-addr/index.js"(
|
|
20471
|
+
"../../node_modules/.pnpm/proxy-addr@2.0.7/node_modules/proxy-addr/index.js"(exports2, module2) {
|
|
20475
20472
|
"use strict";
|
|
20476
|
-
|
|
20477
|
-
|
|
20478
|
-
|
|
20473
|
+
module2.exports = proxyaddr;
|
|
20474
|
+
module2.exports.all = alladdrs;
|
|
20475
|
+
module2.exports.compile = compile;
|
|
20479
20476
|
var forwarded = require_forwarded();
|
|
20480
20477
|
var ipaddr = require_ipaddr();
|
|
20481
20478
|
var DIGIT_REGEXP = /^[0-9]+$/;
|
|
@@ -20630,7 +20627,7 @@ var require_proxy_addr = __commonJS({
|
|
|
20630
20627
|
|
|
20631
20628
|
// ../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/utils.js
|
|
20632
20629
|
var require_utils2 = __commonJS({
|
|
20633
|
-
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/utils.js"(
|
|
20630
|
+
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/utils.js"(exports2) {
|
|
20634
20631
|
"use strict";
|
|
20635
20632
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
20636
20633
|
var contentDisposition = require_content_disposition();
|
|
@@ -20641,29 +20638,29 @@ var require_utils2 = __commonJS({
|
|
|
20641
20638
|
var etag = require_etag();
|
|
20642
20639
|
var proxyaddr = require_proxy_addr();
|
|
20643
20640
|
var qs = require_lib2();
|
|
20644
|
-
var querystring =
|
|
20645
|
-
|
|
20646
|
-
|
|
20647
|
-
|
|
20648
|
-
if ("/" ===
|
|
20649
|
-
if (":" ===
|
|
20650
|
-
if ("\\\\" ===
|
|
20651
|
-
};
|
|
20652
|
-
|
|
20641
|
+
var querystring = require("querystring");
|
|
20642
|
+
exports2.etag = createETagGenerator({ weak: false });
|
|
20643
|
+
exports2.wetag = createETagGenerator({ weak: true });
|
|
20644
|
+
exports2.isAbsolute = function(path16) {
|
|
20645
|
+
if ("/" === path16[0]) return true;
|
|
20646
|
+
if (":" === path16[1] && ("\\" === path16[2] || "/" === path16[2])) return true;
|
|
20647
|
+
if ("\\\\" === path16.substring(0, 2)) return true;
|
|
20648
|
+
};
|
|
20649
|
+
exports2.flatten = deprecate.function(
|
|
20653
20650
|
flatten,
|
|
20654
20651
|
"utils.flatten: use array-flatten npm module instead"
|
|
20655
20652
|
);
|
|
20656
|
-
|
|
20653
|
+
exports2.normalizeType = function(type) {
|
|
20657
20654
|
return ~type.indexOf("/") ? acceptParams(type) : { value: mime.lookup(type), params: {} };
|
|
20658
20655
|
};
|
|
20659
|
-
|
|
20656
|
+
exports2.normalizeTypes = function(types) {
|
|
20660
20657
|
var ret = [];
|
|
20661
20658
|
for (var i = 0; i < types.length; ++i) {
|
|
20662
|
-
ret.push(
|
|
20659
|
+
ret.push(exports2.normalizeType(types[i]));
|
|
20663
20660
|
}
|
|
20664
20661
|
return ret;
|
|
20665
20662
|
};
|
|
20666
|
-
|
|
20663
|
+
exports2.contentDisposition = deprecate.function(
|
|
20667
20664
|
contentDisposition,
|
|
20668
20665
|
"utils.contentDisposition: use content-disposition npm module instead"
|
|
20669
20666
|
);
|
|
@@ -20680,7 +20677,7 @@ var require_utils2 = __commonJS({
|
|
|
20680
20677
|
}
|
|
20681
20678
|
return ret;
|
|
20682
20679
|
}
|
|
20683
|
-
|
|
20680
|
+
exports2.compileETag = function(val) {
|
|
20684
20681
|
var fn;
|
|
20685
20682
|
if (typeof val === "function") {
|
|
20686
20683
|
return val;
|
|
@@ -20688,19 +20685,19 @@ var require_utils2 = __commonJS({
|
|
|
20688
20685
|
switch (val) {
|
|
20689
20686
|
case true:
|
|
20690
20687
|
case "weak":
|
|
20691
|
-
fn =
|
|
20688
|
+
fn = exports2.wetag;
|
|
20692
20689
|
break;
|
|
20693
20690
|
case false:
|
|
20694
20691
|
break;
|
|
20695
20692
|
case "strong":
|
|
20696
|
-
fn =
|
|
20693
|
+
fn = exports2.etag;
|
|
20697
20694
|
break;
|
|
20698
20695
|
default:
|
|
20699
20696
|
throw new TypeError("unknown value for etag function: " + val);
|
|
20700
20697
|
}
|
|
20701
20698
|
return fn;
|
|
20702
20699
|
};
|
|
20703
|
-
|
|
20700
|
+
exports2.compileQueryParser = function compileQueryParser(val) {
|
|
20704
20701
|
var fn;
|
|
20705
20702
|
if (typeof val === "function") {
|
|
20706
20703
|
return val;
|
|
@@ -20721,7 +20718,7 @@ var require_utils2 = __commonJS({
|
|
|
20721
20718
|
}
|
|
20722
20719
|
return fn;
|
|
20723
20720
|
};
|
|
20724
|
-
|
|
20721
|
+
exports2.compileTrust = function(val) {
|
|
20725
20722
|
if (typeof val === "function") return val;
|
|
20726
20723
|
if (val === true) {
|
|
20727
20724
|
return function() {
|
|
@@ -20740,7 +20737,7 @@ var require_utils2 = __commonJS({
|
|
|
20740
20737
|
}
|
|
20741
20738
|
return proxyaddr.compile(val || []);
|
|
20742
20739
|
};
|
|
20743
|
-
|
|
20740
|
+
exports2.setCharset = function setCharset(type, charset) {
|
|
20744
20741
|
if (!type || !charset) {
|
|
20745
20742
|
return type;
|
|
20746
20743
|
}
|
|
@@ -20767,7 +20764,7 @@ var require_utils2 = __commonJS({
|
|
|
20767
20764
|
|
|
20768
20765
|
// ../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/application.js
|
|
20769
20766
|
var require_application = __commonJS({
|
|
20770
|
-
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/application.js"(
|
|
20767
|
+
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/application.js"(exports2, module2) {
|
|
20771
20768
|
"use strict";
|
|
20772
20769
|
var finalhandler = require_finalhandler();
|
|
20773
20770
|
var Router7 = require_router();
|
|
@@ -20776,18 +20773,18 @@ var require_application = __commonJS({
|
|
|
20776
20773
|
var query = require_query();
|
|
20777
20774
|
var debug = require_src()("express:application");
|
|
20778
20775
|
var View = require_view();
|
|
20779
|
-
var http2 =
|
|
20776
|
+
var http2 = require("http");
|
|
20780
20777
|
var compileETag = require_utils2().compileETag;
|
|
20781
20778
|
var compileQueryParser = require_utils2().compileQueryParser;
|
|
20782
20779
|
var compileTrust = require_utils2().compileTrust;
|
|
20783
20780
|
var deprecate = require_depd()("express");
|
|
20784
20781
|
var flatten = require_array_flatten();
|
|
20785
20782
|
var merge = require_utils_merge();
|
|
20786
|
-
var resolve10 =
|
|
20783
|
+
var resolve10 = require("path").resolve;
|
|
20787
20784
|
var setPrototypeOf = require_setprototypeof();
|
|
20788
20785
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
20789
20786
|
var slice = Array.prototype.slice;
|
|
20790
|
-
var app =
|
|
20787
|
+
var app = exports2 = module2.exports = {};
|
|
20791
20788
|
var trustProxyDefaultSymbol = "@@symbol:trust_proxy_default";
|
|
20792
20789
|
app.init = function init() {
|
|
20793
20790
|
this.cache = {};
|
|
@@ -20858,7 +20855,7 @@ var require_application = __commonJS({
|
|
|
20858
20855
|
};
|
|
20859
20856
|
app.use = function use(fn) {
|
|
20860
20857
|
var offset = 0;
|
|
20861
|
-
var
|
|
20858
|
+
var path16 = "/";
|
|
20862
20859
|
if (typeof fn !== "function") {
|
|
20863
20860
|
var arg = fn;
|
|
20864
20861
|
while (Array.isArray(arg) && arg.length !== 0) {
|
|
@@ -20866,7 +20863,7 @@ var require_application = __commonJS({
|
|
|
20866
20863
|
}
|
|
20867
20864
|
if (typeof arg !== "function") {
|
|
20868
20865
|
offset = 1;
|
|
20869
|
-
|
|
20866
|
+
path16 = fn;
|
|
20870
20867
|
}
|
|
20871
20868
|
}
|
|
20872
20869
|
var fns = flatten(slice.call(arguments, offset));
|
|
@@ -20877,12 +20874,12 @@ var require_application = __commonJS({
|
|
|
20877
20874
|
var router = this._router;
|
|
20878
20875
|
fns.forEach(function(fn2) {
|
|
20879
20876
|
if (!fn2 || !fn2.handle || !fn2.set) {
|
|
20880
|
-
return router.use(
|
|
20877
|
+
return router.use(path16, fn2);
|
|
20881
20878
|
}
|
|
20882
|
-
debug(".use app under %s",
|
|
20883
|
-
fn2.mountpath =
|
|
20879
|
+
debug(".use app under %s", path16);
|
|
20880
|
+
fn2.mountpath = path16;
|
|
20884
20881
|
fn2.parent = this;
|
|
20885
|
-
router.use(
|
|
20882
|
+
router.use(path16, function mounted_app(req, res, next) {
|
|
20886
20883
|
var orig = req.app;
|
|
20887
20884
|
fn2.handle(req, res, function(err) {
|
|
20888
20885
|
setPrototypeOf(req, orig.request);
|
|
@@ -20894,9 +20891,9 @@ var require_application = __commonJS({
|
|
|
20894
20891
|
}, this);
|
|
20895
20892
|
return this;
|
|
20896
20893
|
};
|
|
20897
|
-
app.route = function route(
|
|
20894
|
+
app.route = function route(path16) {
|
|
20898
20895
|
this.lazyrouter();
|
|
20899
|
-
return this._router.route(
|
|
20896
|
+
return this._router.route(path16);
|
|
20900
20897
|
};
|
|
20901
20898
|
app.engine = function engine(ext, fn) {
|
|
20902
20899
|
if (typeof fn !== "function") {
|
|
@@ -20947,7 +20944,7 @@ var require_application = __commonJS({
|
|
|
20947
20944
|
}
|
|
20948
20945
|
return this;
|
|
20949
20946
|
};
|
|
20950
|
-
app.path = function
|
|
20947
|
+
app.path = function path16() {
|
|
20951
20948
|
return this.parent ? this.parent.path() + this.mountpath : "";
|
|
20952
20949
|
};
|
|
20953
20950
|
app.enabled = function enabled(setting) {
|
|
@@ -20963,19 +20960,19 @@ var require_application = __commonJS({
|
|
|
20963
20960
|
return this.set(setting, false);
|
|
20964
20961
|
};
|
|
20965
20962
|
methods.forEach(function(method) {
|
|
20966
|
-
app[method] = function(
|
|
20963
|
+
app[method] = function(path16) {
|
|
20967
20964
|
if (method === "get" && arguments.length === 1) {
|
|
20968
|
-
return this.set(
|
|
20965
|
+
return this.set(path16);
|
|
20969
20966
|
}
|
|
20970
20967
|
this.lazyrouter();
|
|
20971
|
-
var route = this._router.route(
|
|
20968
|
+
var route = this._router.route(path16);
|
|
20972
20969
|
route[method].apply(route, slice.call(arguments, 1));
|
|
20973
20970
|
return this;
|
|
20974
20971
|
};
|
|
20975
20972
|
});
|
|
20976
|
-
app.all = function all(
|
|
20973
|
+
app.all = function all(path16) {
|
|
20977
20974
|
this.lazyrouter();
|
|
20978
|
-
var route = this._router.route(
|
|
20975
|
+
var route = this._router.route(path16);
|
|
20979
20976
|
var args = slice.call(arguments, 1);
|
|
20980
20977
|
for (var i = 0; i < methods.length; i++) {
|
|
20981
20978
|
route[methods[i]].apply(route, args);
|
|
@@ -21043,10 +21040,10 @@ var require_application = __commonJS({
|
|
|
21043
21040
|
|
|
21044
21041
|
// ../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/lib/charset.js
|
|
21045
21042
|
var require_charset = __commonJS({
|
|
21046
|
-
"../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/lib/charset.js"(
|
|
21043
|
+
"../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/lib/charset.js"(exports2, module2) {
|
|
21047
21044
|
"use strict";
|
|
21048
|
-
|
|
21049
|
-
|
|
21045
|
+
module2.exports = preferredCharsets;
|
|
21046
|
+
module2.exports.preferredCharsets = preferredCharsets;
|
|
21050
21047
|
var simpleCharsetRegExp = /^\s*([^\s;]+)\s*(?:;(.*))?$/;
|
|
21051
21048
|
function parseAcceptCharset(accept) {
|
|
21052
21049
|
var accepts = accept.split(",");
|
|
@@ -21130,10 +21127,10 @@ var require_charset = __commonJS({
|
|
|
21130
21127
|
|
|
21131
21128
|
// ../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/lib/encoding.js
|
|
21132
21129
|
var require_encoding = __commonJS({
|
|
21133
|
-
"../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/lib/encoding.js"(
|
|
21130
|
+
"../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/lib/encoding.js"(exports2, module2) {
|
|
21134
21131
|
"use strict";
|
|
21135
|
-
|
|
21136
|
-
|
|
21132
|
+
module2.exports = preferredEncodings;
|
|
21133
|
+
module2.exports.preferredEncodings = preferredEncodings;
|
|
21137
21134
|
var simpleEncodingRegExp = /^\s*([^\s;]+)\s*(?:;(.*))?$/;
|
|
21138
21135
|
function parseAcceptEncoding(accept) {
|
|
21139
21136
|
var accepts = accept.split(",");
|
|
@@ -21228,10 +21225,10 @@ var require_encoding = __commonJS({
|
|
|
21228
21225
|
|
|
21229
21226
|
// ../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/lib/language.js
|
|
21230
21227
|
var require_language = __commonJS({
|
|
21231
|
-
"../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/lib/language.js"(
|
|
21228
|
+
"../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/lib/language.js"(exports2, module2) {
|
|
21232
21229
|
"use strict";
|
|
21233
|
-
|
|
21234
|
-
|
|
21230
|
+
module2.exports = preferredLanguages;
|
|
21231
|
+
module2.exports.preferredLanguages = preferredLanguages;
|
|
21235
21232
|
var simpleLanguageRegExp = /^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;
|
|
21236
21233
|
function parseAcceptLanguage(accept) {
|
|
21237
21234
|
var accepts = accept.split(",");
|
|
@@ -21323,10 +21320,10 @@ var require_language = __commonJS({
|
|
|
21323
21320
|
|
|
21324
21321
|
// ../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/lib/mediaType.js
|
|
21325
21322
|
var require_mediaType = __commonJS({
|
|
21326
|
-
"../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/lib/mediaType.js"(
|
|
21323
|
+
"../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/lib/mediaType.js"(exports2, module2) {
|
|
21327
21324
|
"use strict";
|
|
21328
|
-
|
|
21329
|
-
|
|
21325
|
+
module2.exports = preferredMediaTypes;
|
|
21326
|
+
module2.exports.preferredMediaTypes = preferredMediaTypes;
|
|
21330
21327
|
var simpleMediaTypeRegExp = /^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;
|
|
21331
21328
|
function parseAccept(accept) {
|
|
21332
21329
|
var accepts = splitMediaTypes(accept);
|
|
@@ -21485,14 +21482,14 @@ var require_mediaType = __commonJS({
|
|
|
21485
21482
|
|
|
21486
21483
|
// ../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/index.js
|
|
21487
21484
|
var require_negotiator = __commonJS({
|
|
21488
|
-
"../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/index.js"(
|
|
21485
|
+
"../../node_modules/.pnpm/negotiator@0.6.3/node_modules/negotiator/index.js"(exports2, module2) {
|
|
21489
21486
|
"use strict";
|
|
21490
21487
|
var preferredCharsets = require_charset();
|
|
21491
21488
|
var preferredEncodings = require_encoding();
|
|
21492
21489
|
var preferredLanguages = require_language();
|
|
21493
21490
|
var preferredMediaTypes = require_mediaType();
|
|
21494
|
-
|
|
21495
|
-
|
|
21491
|
+
module2.exports = Negotiator;
|
|
21492
|
+
module2.exports.Negotiator = Negotiator;
|
|
21496
21493
|
function Negotiator(request) {
|
|
21497
21494
|
if (!(this instanceof Negotiator)) {
|
|
21498
21495
|
return new Negotiator(request);
|
|
@@ -21540,11 +21537,11 @@ var require_negotiator = __commonJS({
|
|
|
21540
21537
|
|
|
21541
21538
|
// ../../node_modules/.pnpm/accepts@1.3.8/node_modules/accepts/index.js
|
|
21542
21539
|
var require_accepts = __commonJS({
|
|
21543
|
-
"../../node_modules/.pnpm/accepts@1.3.8/node_modules/accepts/index.js"(
|
|
21540
|
+
"../../node_modules/.pnpm/accepts@1.3.8/node_modules/accepts/index.js"(exports2, module2) {
|
|
21544
21541
|
"use strict";
|
|
21545
21542
|
var Negotiator = require_negotiator();
|
|
21546
21543
|
var mime = require_mime_types();
|
|
21547
|
-
|
|
21544
|
+
module2.exports = Accepts;
|
|
21548
21545
|
function Accepts(req) {
|
|
21549
21546
|
if (!(this instanceof Accepts)) {
|
|
21550
21547
|
return new Accepts(req);
|
|
@@ -21621,19 +21618,19 @@ var require_accepts = __commonJS({
|
|
|
21621
21618
|
|
|
21622
21619
|
// ../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/request.js
|
|
21623
21620
|
var require_request = __commonJS({
|
|
21624
|
-
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/request.js"(
|
|
21621
|
+
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/request.js"(exports2, module2) {
|
|
21625
21622
|
"use strict";
|
|
21626
21623
|
var accepts = require_accepts();
|
|
21627
21624
|
var deprecate = require_depd()("express");
|
|
21628
|
-
var isIP =
|
|
21625
|
+
var isIP = require("net").isIP;
|
|
21629
21626
|
var typeis = require_type_is();
|
|
21630
|
-
var http2 =
|
|
21627
|
+
var http2 = require("http");
|
|
21631
21628
|
var fresh = require_fresh();
|
|
21632
21629
|
var parseRange = require_range_parser();
|
|
21633
21630
|
var parse = require_parseurl();
|
|
21634
21631
|
var proxyaddr = require_proxy_addr();
|
|
21635
21632
|
var req = Object.create(http2.IncomingMessage.prototype);
|
|
21636
|
-
|
|
21633
|
+
module2.exports = req;
|
|
21637
21634
|
req.get = req.header = function header(name) {
|
|
21638
21635
|
if (!name) {
|
|
21639
21636
|
throw new TypeError("name argument is required to req.get");
|
|
@@ -21734,7 +21731,7 @@ var require_request = __commonJS({
|
|
|
21734
21731
|
var subdomains2 = !isIP(hostname2) ? hostname2.split(".").reverse() : [hostname2];
|
|
21735
21732
|
return subdomains2.slice(offset);
|
|
21736
21733
|
});
|
|
21737
|
-
defineGetter(req, "path", function
|
|
21734
|
+
defineGetter(req, "path", function path16() {
|
|
21738
21735
|
return parse(this).pathname;
|
|
21739
21736
|
});
|
|
21740
21737
|
defineGetter(req, "hostname", function hostname2() {
|
|
@@ -21785,18 +21782,18 @@ var require_request = __commonJS({
|
|
|
21785
21782
|
|
|
21786
21783
|
// ../../node_modules/.pnpm/cookie-signature@1.0.7/node_modules/cookie-signature/index.js
|
|
21787
21784
|
var require_cookie_signature = __commonJS({
|
|
21788
|
-
"../../node_modules/.pnpm/cookie-signature@1.0.7/node_modules/cookie-signature/index.js"(
|
|
21785
|
+
"../../node_modules/.pnpm/cookie-signature@1.0.7/node_modules/cookie-signature/index.js"(exports2) {
|
|
21789
21786
|
"use strict";
|
|
21790
|
-
var crypto3 =
|
|
21791
|
-
|
|
21787
|
+
var crypto3 = require("crypto");
|
|
21788
|
+
exports2.sign = function(val, secret) {
|
|
21792
21789
|
if ("string" !== typeof val) throw new TypeError("Cookie value must be provided as a string.");
|
|
21793
21790
|
if (null == secret) throw new TypeError("Secret key must be provided.");
|
|
21794
21791
|
return val + "." + crypto3.createHmac("sha256", secret).update(val).digest("base64").replace(/\=+$/, "");
|
|
21795
21792
|
};
|
|
21796
|
-
|
|
21793
|
+
exports2.unsign = function(val, secret) {
|
|
21797
21794
|
if ("string" !== typeof val) throw new TypeError("Signed cookie string must be provided.");
|
|
21798
21795
|
if (null == secret) throw new TypeError("Secret key must be provided.");
|
|
21799
|
-
var str = val.slice(0, val.lastIndexOf(".")), mac =
|
|
21796
|
+
var str = val.slice(0, val.lastIndexOf(".")), mac = exports2.sign(str, secret);
|
|
21800
21797
|
return sha1(mac) == sha1(val) ? str : false;
|
|
21801
21798
|
};
|
|
21802
21799
|
function sha1(str) {
|
|
@@ -21807,10 +21804,10 @@ var require_cookie_signature = __commonJS({
|
|
|
21807
21804
|
|
|
21808
21805
|
// ../../node_modules/.pnpm/cookie@0.7.2/node_modules/cookie/index.js
|
|
21809
21806
|
var require_cookie = __commonJS({
|
|
21810
|
-
"../../node_modules/.pnpm/cookie@0.7.2/node_modules/cookie/index.js"(
|
|
21807
|
+
"../../node_modules/.pnpm/cookie@0.7.2/node_modules/cookie/index.js"(exports2) {
|
|
21811
21808
|
"use strict";
|
|
21812
|
-
|
|
21813
|
-
|
|
21809
|
+
exports2.parse = parse;
|
|
21810
|
+
exports2.serialize = serialize;
|
|
21814
21811
|
var __toString = Object.prototype.toString;
|
|
21815
21812
|
var __hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
21816
21813
|
var cookieNameRegExp = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
|
|
@@ -21973,10 +21970,10 @@ var require_cookie = __commonJS({
|
|
|
21973
21970
|
|
|
21974
21971
|
// ../../node_modules/.pnpm/vary@1.1.2/node_modules/vary/index.js
|
|
21975
21972
|
var require_vary = __commonJS({
|
|
21976
|
-
"../../node_modules/.pnpm/vary@1.1.2/node_modules/vary/index.js"(
|
|
21973
|
+
"../../node_modules/.pnpm/vary@1.1.2/node_modules/vary/index.js"(exports2, module2) {
|
|
21977
21974
|
"use strict";
|
|
21978
|
-
|
|
21979
|
-
|
|
21975
|
+
module2.exports = vary;
|
|
21976
|
+
module2.exports.append = append;
|
|
21980
21977
|
var FIELD_NAME_REGEXP = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
|
|
21981
21978
|
function append(header, field) {
|
|
21982
21979
|
if (typeof header !== "string") {
|
|
@@ -22046,7 +22043,7 @@ var require_vary = __commonJS({
|
|
|
22046
22043
|
|
|
22047
22044
|
// ../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/response.js
|
|
22048
22045
|
var require_response = __commonJS({
|
|
22049
|
-
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/response.js"(
|
|
22046
|
+
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/response.js"(exports2, module2) {
|
|
22050
22047
|
"use strict";
|
|
22051
22048
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
22052
22049
|
var contentDisposition = require_content_disposition();
|
|
@@ -22054,10 +22051,10 @@ var require_response = __commonJS({
|
|
|
22054
22051
|
var deprecate = require_depd()("express");
|
|
22055
22052
|
var encodeUrl = require_encodeurl();
|
|
22056
22053
|
var escapeHtml = require_escape_html();
|
|
22057
|
-
var http2 =
|
|
22054
|
+
var http2 = require("http");
|
|
22058
22055
|
var isAbsolute2 = require_utils2().isAbsolute;
|
|
22059
22056
|
var onFinished = require_on_finished();
|
|
22060
|
-
var
|
|
22057
|
+
var path16 = require("path");
|
|
22061
22058
|
var statuses = require_statuses();
|
|
22062
22059
|
var merge = require_utils_merge();
|
|
22063
22060
|
var sign = require_cookie_signature().sign;
|
|
@@ -22066,12 +22063,12 @@ var require_response = __commonJS({
|
|
|
22066
22063
|
var setCharset = require_utils2().setCharset;
|
|
22067
22064
|
var cookie = require_cookie();
|
|
22068
22065
|
var send = require_send();
|
|
22069
|
-
var extname3 =
|
|
22066
|
+
var extname3 = path16.extname;
|
|
22070
22067
|
var mime = send.mime;
|
|
22071
|
-
var resolve10 =
|
|
22068
|
+
var resolve10 = path16.resolve;
|
|
22072
22069
|
var vary = require_vary();
|
|
22073
22070
|
var res = Object.create(http2.ServerResponse.prototype);
|
|
22074
|
-
|
|
22071
|
+
module2.exports = res;
|
|
22075
22072
|
var charsetRegExp = /;\s*charset\s*=/;
|
|
22076
22073
|
res.status = function status(code) {
|
|
22077
22074
|
if ((typeof code === "string" || Math.floor(code) !== code) && code > 99 && code < 1e3) {
|
|
@@ -22245,26 +22242,26 @@ var require_response = __commonJS({
|
|
|
22245
22242
|
this.type("txt");
|
|
22246
22243
|
return this.send(body);
|
|
22247
22244
|
};
|
|
22248
|
-
res.sendFile = function sendFile(
|
|
22245
|
+
res.sendFile = function sendFile(path17, options, callback) {
|
|
22249
22246
|
var done = callback;
|
|
22250
22247
|
var req = this.req;
|
|
22251
22248
|
var res2 = this;
|
|
22252
22249
|
var next = req.next;
|
|
22253
22250
|
var opts = options || {};
|
|
22254
|
-
if (!
|
|
22251
|
+
if (!path17) {
|
|
22255
22252
|
throw new TypeError("path argument is required to res.sendFile");
|
|
22256
22253
|
}
|
|
22257
|
-
if (typeof
|
|
22254
|
+
if (typeof path17 !== "string") {
|
|
22258
22255
|
throw new TypeError("path must be a string to res.sendFile");
|
|
22259
22256
|
}
|
|
22260
22257
|
if (typeof options === "function") {
|
|
22261
22258
|
done = options;
|
|
22262
22259
|
opts = {};
|
|
22263
22260
|
}
|
|
22264
|
-
if (!opts.root && !isAbsolute2(
|
|
22261
|
+
if (!opts.root && !isAbsolute2(path17)) {
|
|
22265
22262
|
throw new TypeError("path must be absolute or specify root to res.sendFile");
|
|
22266
22263
|
}
|
|
22267
|
-
var pathname = encodeURI(
|
|
22264
|
+
var pathname = encodeURI(path17);
|
|
22268
22265
|
var file = send(req, pathname, opts);
|
|
22269
22266
|
sendfile(res2, file, opts, function(err) {
|
|
22270
22267
|
if (done) return done(err);
|
|
@@ -22274,7 +22271,7 @@ var require_response = __commonJS({
|
|
|
22274
22271
|
}
|
|
22275
22272
|
});
|
|
22276
22273
|
};
|
|
22277
|
-
res.sendfile = function(
|
|
22274
|
+
res.sendfile = function(path17, options, callback) {
|
|
22278
22275
|
var done = callback;
|
|
22279
22276
|
var req = this.req;
|
|
22280
22277
|
var res2 = this;
|
|
@@ -22284,7 +22281,7 @@ var require_response = __commonJS({
|
|
|
22284
22281
|
done = options;
|
|
22285
22282
|
opts = {};
|
|
22286
22283
|
}
|
|
22287
|
-
var file = send(req,
|
|
22284
|
+
var file = send(req, path17, opts);
|
|
22288
22285
|
sendfile(res2, file, opts, function(err) {
|
|
22289
22286
|
if (done) return done(err);
|
|
22290
22287
|
if (err && err.code === "EISDIR") return next();
|
|
@@ -22297,7 +22294,7 @@ var require_response = __commonJS({
|
|
|
22297
22294
|
res.sendfile,
|
|
22298
22295
|
"res.sendfile: Use res.sendFile instead"
|
|
22299
22296
|
);
|
|
22300
|
-
res.download = function download(
|
|
22297
|
+
res.download = function download(path17, filename, options, callback) {
|
|
22301
22298
|
var done = callback;
|
|
22302
22299
|
var name = filename;
|
|
22303
22300
|
var opts = options || null;
|
|
@@ -22314,7 +22311,7 @@ var require_response = __commonJS({
|
|
|
22314
22311
|
opts = filename;
|
|
22315
22312
|
}
|
|
22316
22313
|
var headers = {
|
|
22317
|
-
"Content-Disposition": contentDisposition(name ||
|
|
22314
|
+
"Content-Disposition": contentDisposition(name || path17)
|
|
22318
22315
|
};
|
|
22319
22316
|
if (opts && opts.headers) {
|
|
22320
22317
|
var keys = Object.keys(opts.headers);
|
|
@@ -22327,7 +22324,7 @@ var require_response = __commonJS({
|
|
|
22327
22324
|
}
|
|
22328
22325
|
opts = Object.create(opts);
|
|
22329
22326
|
opts.headers = headers;
|
|
22330
|
-
var fullPath = !opts.root ? resolve10(
|
|
22327
|
+
var fullPath = !opts.root ? resolve10(path17) : path17;
|
|
22331
22328
|
return this.sendFile(fullPath, opts, done);
|
|
22332
22329
|
};
|
|
22333
22330
|
res.contentType = res.type = function contentType(type) {
|
|
@@ -22588,16 +22585,16 @@ var require_response = __commonJS({
|
|
|
22588
22585
|
|
|
22589
22586
|
// ../../node_modules/.pnpm/serve-static@1.16.3/node_modules/serve-static/index.js
|
|
22590
22587
|
var require_serve_static = __commonJS({
|
|
22591
|
-
"../../node_modules/.pnpm/serve-static@1.16.3/node_modules/serve-static/index.js"(
|
|
22588
|
+
"../../node_modules/.pnpm/serve-static@1.16.3/node_modules/serve-static/index.js"(exports2, module2) {
|
|
22592
22589
|
"use strict";
|
|
22593
22590
|
var encodeUrl = require_encodeurl();
|
|
22594
22591
|
var escapeHtml = require_escape_html();
|
|
22595
22592
|
var parseUrl = require_parseurl();
|
|
22596
|
-
var resolve10 =
|
|
22593
|
+
var resolve10 = require("path").resolve;
|
|
22597
22594
|
var send = require_send();
|
|
22598
|
-
var url =
|
|
22599
|
-
|
|
22600
|
-
|
|
22595
|
+
var url = require("url");
|
|
22596
|
+
module2.exports = serveStatic;
|
|
22597
|
+
module2.exports.mime = send.mime;
|
|
22601
22598
|
function serveStatic(root, options) {
|
|
22602
22599
|
if (!root) {
|
|
22603
22600
|
throw new TypeError("root path required");
|
|
@@ -22628,11 +22625,11 @@ var require_serve_static = __commonJS({
|
|
|
22628
22625
|
}
|
|
22629
22626
|
var forwardError = !fallthrough;
|
|
22630
22627
|
var originalUrl = parseUrl.original(req);
|
|
22631
|
-
var
|
|
22632
|
-
if (
|
|
22633
|
-
|
|
22628
|
+
var path16 = parseUrl(req).pathname;
|
|
22629
|
+
if (path16 === "/" && originalUrl.pathname.substr(-1) !== "/") {
|
|
22630
|
+
path16 = "";
|
|
22634
22631
|
}
|
|
22635
|
-
var stream = send(req,
|
|
22632
|
+
var stream = send(req, path16, opts);
|
|
22636
22633
|
stream.on("directory", onDirectory);
|
|
22637
22634
|
if (setHeaders) {
|
|
22638
22635
|
stream.on("headers", setHeaders);
|
|
@@ -22693,17 +22690,17 @@ var require_serve_static = __commonJS({
|
|
|
22693
22690
|
|
|
22694
22691
|
// ../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/express.js
|
|
22695
22692
|
var require_express = __commonJS({
|
|
22696
|
-
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/express.js"(
|
|
22693
|
+
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/lib/express.js"(exports2, module2) {
|
|
22697
22694
|
"use strict";
|
|
22698
22695
|
var bodyParser = require_body_parser();
|
|
22699
|
-
var EventEmitter2 =
|
|
22696
|
+
var EventEmitter2 = require("events").EventEmitter;
|
|
22700
22697
|
var mixin = require_merge_descriptors();
|
|
22701
22698
|
var proto = require_application();
|
|
22702
22699
|
var Route = require_route();
|
|
22703
22700
|
var Router7 = require_router();
|
|
22704
22701
|
var req = require_request();
|
|
22705
22702
|
var res = require_response();
|
|
22706
|
-
|
|
22703
|
+
exports2 = module2.exports = createApplication;
|
|
22707
22704
|
function createApplication() {
|
|
22708
22705
|
var app = function(req2, res2, next) {
|
|
22709
22706
|
app.handle(req2, res2, next);
|
|
@@ -22719,17 +22716,17 @@ var require_express = __commonJS({
|
|
|
22719
22716
|
app.init();
|
|
22720
22717
|
return app;
|
|
22721
22718
|
}
|
|
22722
|
-
|
|
22723
|
-
|
|
22724
|
-
|
|
22725
|
-
|
|
22726
|
-
|
|
22727
|
-
|
|
22728
|
-
|
|
22729
|
-
|
|
22730
|
-
|
|
22731
|
-
|
|
22732
|
-
|
|
22719
|
+
exports2.application = proto;
|
|
22720
|
+
exports2.request = req;
|
|
22721
|
+
exports2.response = res;
|
|
22722
|
+
exports2.Route = Route;
|
|
22723
|
+
exports2.Router = Router7;
|
|
22724
|
+
exports2.json = bodyParser.json;
|
|
22725
|
+
exports2.query = require_query();
|
|
22726
|
+
exports2.raw = bodyParser.raw;
|
|
22727
|
+
exports2.static = require_serve_static();
|
|
22728
|
+
exports2.text = bodyParser.text;
|
|
22729
|
+
exports2.urlencoded = bodyParser.urlencoded;
|
|
22733
22730
|
var removedMiddlewares = [
|
|
22734
22731
|
"bodyParser",
|
|
22735
22732
|
"compress",
|
|
@@ -22750,7 +22747,7 @@ var require_express = __commonJS({
|
|
|
22750
22747
|
"staticCache"
|
|
22751
22748
|
];
|
|
22752
22749
|
removedMiddlewares.forEach(function(name) {
|
|
22753
|
-
Object.defineProperty(
|
|
22750
|
+
Object.defineProperty(exports2, name, {
|
|
22754
22751
|
get: function() {
|
|
22755
22752
|
throw new Error("Most middleware (like " + name + ") is no longer bundled with Express and must be installed separately. Please see https://github.com/senchalabs/connect#middleware.");
|
|
22756
22753
|
},
|
|
@@ -22762,21 +22759,38 @@ var require_express = __commonJS({
|
|
|
22762
22759
|
|
|
22763
22760
|
// ../../node_modules/.pnpm/express@4.22.1/node_modules/express/index.js
|
|
22764
22761
|
var require_express2 = __commonJS({
|
|
22765
|
-
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/index.js"(
|
|
22762
|
+
"../../node_modules/.pnpm/express@4.22.1/node_modules/express/index.js"(exports2, module2) {
|
|
22766
22763
|
"use strict";
|
|
22767
|
-
|
|
22764
|
+
module2.exports = require_express();
|
|
22768
22765
|
}
|
|
22769
22766
|
});
|
|
22770
22767
|
|
|
22771
22768
|
// src/main.ts
|
|
22772
|
-
|
|
22773
|
-
|
|
22774
|
-
|
|
22775
|
-
|
|
22769
|
+
var main_exports = {};
|
|
22770
|
+
__export(main_exports, {
|
|
22771
|
+
DEFAULT_CONFIG: () => DEFAULT_CONFIG3,
|
|
22772
|
+
DEFAULT_NODE_NAME: () => DEFAULT_NODE_NAME,
|
|
22773
|
+
DEFAULT_NODE_PORT: () => DEFAULT_NODE_PORT,
|
|
22774
|
+
createDefaultConfig: () => createDefaultConfig,
|
|
22775
|
+
createRuntimeDefaultConfig: () => createRuntimeDefaultConfig,
|
|
22776
|
+
formatBanner: () => formatBanner,
|
|
22777
|
+
getDefaultNodeName: () => getDefaultNodeName,
|
|
22778
|
+
isDirectRunPath: () => isDirectRunPath,
|
|
22779
|
+
loadConfigFile: () => loadConfigFile,
|
|
22780
|
+
main: () => main,
|
|
22781
|
+
mergeConfig: () => mergeConfig,
|
|
22782
|
+
parseArgs: () => parseArgs,
|
|
22783
|
+
promptStartOptions: () => promptStartOptions,
|
|
22784
|
+
shouldPromptForStartOptions: () => shouldPromptForStartOptions
|
|
22785
|
+
});
|
|
22786
|
+
module.exports = __toCommonJS(main_exports);
|
|
22787
|
+
var fs16 = __toESM(require("fs"), 1);
|
|
22788
|
+
var nodePath = __toESM(require("path"), 1);
|
|
22789
|
+
var readline = __toESM(require("readline/promises"), 1);
|
|
22776
22790
|
|
|
22777
22791
|
// ../../packages/core/src/logger.ts
|
|
22778
|
-
|
|
22779
|
-
|
|
22792
|
+
var fs = __toESM(require("fs"), 1);
|
|
22793
|
+
var path = __toESM(require("path"), 1);
|
|
22780
22794
|
var LOG_LEVEL_PRIORITIES = {
|
|
22781
22795
|
debug: 10,
|
|
22782
22796
|
info: 20,
|
|
@@ -22982,9 +22996,51 @@ function getTaskInitialMessageContent(task) {
|
|
|
22982
22996
|
return normalizeTaskUserMessageContent(task.description || task.title);
|
|
22983
22997
|
}
|
|
22984
22998
|
|
|
22999
|
+
// ../../packages/core/src/node-metadata.ts
|
|
23000
|
+
var fs2 = __toESM(require("fs"), 1);
|
|
23001
|
+
var os = __toESM(require("os"), 1);
|
|
23002
|
+
var path2 = __toESM(require("path"), 1);
|
|
23003
|
+
function getDeviceNodeName() {
|
|
23004
|
+
return os.hostname();
|
|
23005
|
+
}
|
|
23006
|
+
function getNodeMetadataPath(storagePath) {
|
|
23007
|
+
return path2.join(storagePath, "metadata.json");
|
|
23008
|
+
}
|
|
23009
|
+
function readNodeMetadata(storagePath) {
|
|
23010
|
+
const metadataPath = getNodeMetadataPath(storagePath);
|
|
23011
|
+
try {
|
|
23012
|
+
const raw = JSON.parse(fs2.readFileSync(metadataPath, "utf-8"));
|
|
23013
|
+
return typeof raw === "object" && raw !== null ? raw : {};
|
|
23014
|
+
} catch {
|
|
23015
|
+
return {};
|
|
23016
|
+
}
|
|
23017
|
+
}
|
|
23018
|
+
function resolveDefaultNodeName(storagePath, deviceName = getDeviceNodeName()) {
|
|
23019
|
+
const preferredName = readNodeMetadata(storagePath).defaultNodeName?.trim();
|
|
23020
|
+
return preferredName && preferredName.length > 0 ? preferredName : deviceName;
|
|
23021
|
+
}
|
|
23022
|
+
function persistDefaultNodeName(storagePath, name, deviceName = getDeviceNodeName()) {
|
|
23023
|
+
const metadataPath = getNodeMetadataPath(storagePath);
|
|
23024
|
+
const metadata = readNodeMetadata(storagePath);
|
|
23025
|
+
const normalizedName = name.trim();
|
|
23026
|
+
if (normalizedName.length > 0 && normalizedName !== deviceName) {
|
|
23027
|
+
metadata.defaultNodeName = normalizedName;
|
|
23028
|
+
} else {
|
|
23029
|
+
delete metadata.defaultNodeName;
|
|
23030
|
+
}
|
|
23031
|
+
if (Object.keys(metadata).length === 0) {
|
|
23032
|
+
if (fs2.existsSync(metadataPath)) {
|
|
23033
|
+
fs2.rmSync(metadataPath, { force: true });
|
|
23034
|
+
}
|
|
23035
|
+
return;
|
|
23036
|
+
}
|
|
23037
|
+
fs2.mkdirSync(storagePath, { recursive: true });
|
|
23038
|
+
fs2.writeFileSync(metadataPath, JSON.stringify(metadata, null, 2) + "\n", "utf-8");
|
|
23039
|
+
}
|
|
23040
|
+
|
|
22985
23041
|
// ../../packages/core/src/file-store.ts
|
|
22986
|
-
|
|
22987
|
-
|
|
23042
|
+
var fs3 = __toESM(require("fs"), 1);
|
|
23043
|
+
var path3 = __toESM(require("path"), 1);
|
|
22988
23044
|
|
|
22989
23045
|
// ../../packages/core/src/types.ts
|
|
22990
23046
|
var MeshyError = class extends Error {
|
|
@@ -23049,13 +23105,13 @@ var FileStore = class {
|
|
|
23049
23105
|
election = /* @__PURE__ */ new Map();
|
|
23050
23106
|
dirtySections = /* @__PURE__ */ new Set();
|
|
23051
23107
|
constructor(options = {}) {
|
|
23052
|
-
this.fileSystem = options.fileSystem ??
|
|
23108
|
+
this.fileSystem = options.fileSystem ?? fs3;
|
|
23053
23109
|
}
|
|
23054
23110
|
open(dataDir) {
|
|
23055
23111
|
if (this.dataDir !== null) {
|
|
23056
23112
|
this.close();
|
|
23057
23113
|
}
|
|
23058
|
-
const resolvedDir =
|
|
23114
|
+
const resolvedDir = path3.resolve(dataDir);
|
|
23059
23115
|
this.fileSystem.mkdirSync(resolvedDir, { recursive: true });
|
|
23060
23116
|
this.dataDir = resolvedDir;
|
|
23061
23117
|
this.cluster = this.loadCluster();
|
|
@@ -23354,7 +23410,7 @@ var FileStore = class {
|
|
|
23354
23410
|
}
|
|
23355
23411
|
}
|
|
23356
23412
|
getFilePath(section) {
|
|
23357
|
-
return
|
|
23413
|
+
return path3.join(this.ensureOpen(), FILE_NAMES[section]);
|
|
23358
23414
|
}
|
|
23359
23415
|
ensureOpen() {
|
|
23360
23416
|
if (this.dataDir === null) {
|
|
@@ -23540,11 +23596,11 @@ async function fetchWithTimeout(url, init, timeoutMs = DEFAULT_NODE_REQUEST_TIME
|
|
|
23540
23596
|
cleanup();
|
|
23541
23597
|
}
|
|
23542
23598
|
}
|
|
23543
|
-
async function fetchNodeWithFallback(node,
|
|
23599
|
+
async function fetchNodeWithFallback(node, path16, init, timeoutMs = DEFAULT_NODE_REQUEST_TIMEOUT_MS) {
|
|
23544
23600
|
let lastError;
|
|
23545
23601
|
for (const endpoint of getNodeRequestEndpoints(node)) {
|
|
23546
23602
|
try {
|
|
23547
|
-
const response = await fetchWithTimeout(`${endpoint}${
|
|
23603
|
+
const response = await fetchWithTimeout(`${endpoint}${path16}`, init, timeoutMs);
|
|
23548
23604
|
return { endpoint, response };
|
|
23549
23605
|
} catch (error) {
|
|
23550
23606
|
lastError = error;
|
|
@@ -23934,9 +23990,9 @@ var LeaderElection = class {
|
|
|
23934
23990
|
};
|
|
23935
23991
|
|
|
23936
23992
|
// ../../packages/core/src/task-engine.ts
|
|
23937
|
-
|
|
23938
|
-
|
|
23939
|
-
|
|
23993
|
+
var import_node_crypto = require("crypto");
|
|
23994
|
+
var fs4 = __toESM(require("fs"), 1);
|
|
23995
|
+
var path4 = __toESM(require("path"), 1);
|
|
23940
23996
|
var PRIORITY_ORDER = {
|
|
23941
23997
|
low: 0,
|
|
23942
23998
|
normal: 1,
|
|
@@ -23963,7 +24019,7 @@ var TaskEngine = class {
|
|
|
23963
24019
|
}
|
|
23964
24020
|
const now = Date.now();
|
|
23965
24021
|
const task = {
|
|
23966
|
-
id: randomUUID(),
|
|
24022
|
+
id: (0, import_node_crypto.randomUUID)(),
|
|
23967
24023
|
title: input.title,
|
|
23968
24024
|
description: input.description,
|
|
23969
24025
|
agent: input.agent,
|
|
@@ -24024,9 +24080,9 @@ var TaskEngine = class {
|
|
|
24024
24080
|
if (!deleted) return false;
|
|
24025
24081
|
this.previousAssignments.delete(id);
|
|
24026
24082
|
if (this.logDir) {
|
|
24027
|
-
const logFile =
|
|
24083
|
+
const logFile = path4.join(this.logDir, `${id}.jsonl`);
|
|
24028
24084
|
try {
|
|
24029
|
-
|
|
24085
|
+
fs4.unlinkSync(logFile);
|
|
24030
24086
|
} catch {
|
|
24031
24087
|
}
|
|
24032
24088
|
}
|
|
@@ -24424,28 +24480,28 @@ async function readDispatchFailureDetail(response) {
|
|
|
24424
24480
|
}
|
|
24425
24481
|
|
|
24426
24482
|
// ../../packages/core/src/heartbeat.ts
|
|
24427
|
-
|
|
24483
|
+
var import_node_crypto2 = require("crypto");
|
|
24428
24484
|
|
|
24429
24485
|
// ../../packages/core/src/work-dir.ts
|
|
24430
|
-
|
|
24431
|
-
|
|
24486
|
+
var fs5 = __toESM(require("fs"), 1);
|
|
24487
|
+
var path5 = __toESM(require("path"), 1);
|
|
24432
24488
|
function resolveTaskWorkDir(taskProject, nodeWorkDir) {
|
|
24433
24489
|
let resolved;
|
|
24434
24490
|
if (!taskProject) {
|
|
24435
|
-
resolved =
|
|
24436
|
-
} else if (
|
|
24491
|
+
resolved = path5.resolve(nodeWorkDir);
|
|
24492
|
+
} else if (path5.isAbsolute(taskProject)) {
|
|
24437
24493
|
resolved = taskProject;
|
|
24438
24494
|
} else {
|
|
24439
|
-
resolved =
|
|
24495
|
+
resolved = path5.resolve(nodeWorkDir, taskProject);
|
|
24440
24496
|
}
|
|
24441
|
-
if (!
|
|
24442
|
-
|
|
24497
|
+
if (!fs5.existsSync(resolved)) {
|
|
24498
|
+
fs5.mkdirSync(resolved, { recursive: true });
|
|
24443
24499
|
}
|
|
24444
24500
|
return resolved;
|
|
24445
24501
|
}
|
|
24446
24502
|
function listWorkDirFolders(workDir) {
|
|
24447
24503
|
try {
|
|
24448
|
-
const entries =
|
|
24504
|
+
const entries = fs5.readdirSync(workDir, { withFileTypes: true });
|
|
24449
24505
|
return entries.filter((e) => e.isDirectory() && !e.name.startsWith(".")).map((e) => e.name).sort();
|
|
24450
24506
|
} catch {
|
|
24451
24507
|
return [];
|
|
@@ -24541,7 +24597,7 @@ var HeartbeatMonitor = class {
|
|
|
24541
24597
|
requestWorkerControl(nodeId, request, timeoutMs = 2e4) {
|
|
24542
24598
|
const fullRequest = {
|
|
24543
24599
|
...request,
|
|
24544
|
-
requestId:
|
|
24600
|
+
requestId: (0, import_node_crypto2.randomUUID)()
|
|
24545
24601
|
};
|
|
24546
24602
|
const queued = this.queuedControlRequests.get(nodeId) ?? [];
|
|
24547
24603
|
queued.push(fullRequest);
|
|
@@ -24974,9 +25030,9 @@ var DataRouter = class {
|
|
|
24974
25030
|
/**
|
|
24975
25031
|
* Returns true if the request should be proxied to the leader.
|
|
24976
25032
|
*/
|
|
24977
|
-
shouldProxy(method,
|
|
25033
|
+
shouldProxy(method, path16) {
|
|
24978
25034
|
if (this.election.isLeader()) return false;
|
|
24979
|
-
if (this.isExcludedPath(
|
|
25035
|
+
if (this.isExcludedPath(path16)) return false;
|
|
24980
25036
|
if (method.toUpperCase() === "GET") return false;
|
|
24981
25037
|
return WRITE_METHODS.has(method.toUpperCase());
|
|
24982
25038
|
}
|
|
@@ -25077,14 +25133,14 @@ var DataRouter = class {
|
|
|
25077
25133
|
};
|
|
25078
25134
|
}
|
|
25079
25135
|
// ── Helpers ───────────────────────────────────────────────────────────
|
|
25080
|
-
isExcludedPath(
|
|
25081
|
-
return EXCLUDED_PATH_PREFIXES.some((prefix) =>
|
|
25136
|
+
isExcludedPath(path16) {
|
|
25137
|
+
return EXCLUDED_PATH_PREFIXES.some((prefix) => path16.startsWith(prefix)) || EXCLUDED_PATH_SUFFIXES.some((suffix) => path16.endsWith(suffix));
|
|
25082
25138
|
}
|
|
25083
25139
|
};
|
|
25084
25140
|
|
|
25085
25141
|
// ../../packages/core/src/execution-engine.ts
|
|
25086
|
-
|
|
25087
|
-
|
|
25142
|
+
var fs6 = __toESM(require("fs"), 1);
|
|
25143
|
+
var path6 = __toESM(require("path"), 1);
|
|
25088
25144
|
var ExecutionEngine = class {
|
|
25089
25145
|
constructor(eventBus, logDir, taskEngine, logger) {
|
|
25090
25146
|
this.eventBus = eventBus;
|
|
@@ -25128,17 +25184,17 @@ var ExecutionEngine = class {
|
|
|
25128
25184
|
}
|
|
25129
25185
|
ensureLogDir() {
|
|
25130
25186
|
if (!this.logDirCreated) {
|
|
25131
|
-
|
|
25187
|
+
fs6.mkdirSync(this.logDir, { recursive: true });
|
|
25132
25188
|
this.logDirCreated = true;
|
|
25133
25189
|
}
|
|
25134
25190
|
}
|
|
25135
25191
|
appendLog(taskId, event) {
|
|
25136
25192
|
this.ensureLogDir();
|
|
25137
|
-
const logFile =
|
|
25193
|
+
const logFile = path6.join(this.logDir, `${taskId}.jsonl`);
|
|
25138
25194
|
const line = JSON.stringify(event) + "\n";
|
|
25139
25195
|
const pendingWrite = this.logWrites.get(logFile) ?? Promise.resolve();
|
|
25140
25196
|
const nextWrite = pendingWrite.catch(() => void 0).then(async () => {
|
|
25141
|
-
await
|
|
25197
|
+
await fs6.promises.appendFile(logFile, line);
|
|
25142
25198
|
}).catch((error) => {
|
|
25143
25199
|
this.logger.error("failed to append execution log", {
|
|
25144
25200
|
taskId,
|
|
@@ -25156,7 +25212,7 @@ var ExecutionEngine = class {
|
|
|
25156
25212
|
this.appendLog(taskId, event);
|
|
25157
25213
|
}
|
|
25158
25214
|
getLogPath(taskId) {
|
|
25159
|
-
return
|
|
25215
|
+
return path6.join(this.logDir, `${taskId}.jsonl`);
|
|
25160
25216
|
}
|
|
25161
25217
|
trackProcess(taskId, proc) {
|
|
25162
25218
|
const previous = this.activeProcesses.get(taskId);
|
|
@@ -25339,19 +25395,19 @@ function registerLeaderForwarding(eventBus, nodeRegistry, log, taskId, agent) {
|
|
|
25339
25395
|
}
|
|
25340
25396
|
|
|
25341
25397
|
// ../../packages/core/src/engines/claude-code-engine.ts
|
|
25342
|
-
|
|
25343
|
-
|
|
25344
|
-
|
|
25398
|
+
var fs7 = __toESM(require("fs"), 1);
|
|
25399
|
+
var path7 = __toESM(require("path"), 1);
|
|
25400
|
+
var import_node_child_process = require("child_process");
|
|
25345
25401
|
function resolveClaudeInvocation() {
|
|
25346
25402
|
if (process.platform !== "win32") {
|
|
25347
25403
|
return { command: "claude", argsPrefix: [] };
|
|
25348
25404
|
}
|
|
25349
|
-
const pathEntries = (process.env.PATH ?? "").split(
|
|
25405
|
+
const pathEntries = (process.env.PATH ?? "").split(path7.delimiter).filter(Boolean);
|
|
25350
25406
|
for (const entry of pathEntries) {
|
|
25351
|
-
const shimPath =
|
|
25352
|
-
if (!
|
|
25353
|
-
const cliPath =
|
|
25354
|
-
if (
|
|
25407
|
+
const shimPath = path7.join(entry, "claude.cmd");
|
|
25408
|
+
if (!fs7.existsSync(shimPath)) continue;
|
|
25409
|
+
const cliPath = path7.join(entry, "node_modules", "@anthropic-ai", "claude-code", "cli.js");
|
|
25410
|
+
if (fs7.existsSync(cliPath)) {
|
|
25355
25411
|
return {
|
|
25356
25412
|
command: process.execPath,
|
|
25357
25413
|
argsPrefix: [cliPath]
|
|
@@ -25369,7 +25425,7 @@ var ClaudeCodeEngine = class extends ExecutionEngine {
|
|
|
25369
25425
|
if (task.agent !== "claudecode") continue;
|
|
25370
25426
|
const sessionId = task.payload.sessionId;
|
|
25371
25427
|
if (!sessionId) continue;
|
|
25372
|
-
const cwd =
|
|
25428
|
+
const cwd = path7.resolve(
|
|
25373
25429
|
task.payload.sessionCwd ?? task.effectiveProjectPath ?? task.project ?? process.cwd()
|
|
25374
25430
|
);
|
|
25375
25431
|
this.sessions.set(task.id, { sessionId, cwd, title: task.title });
|
|
@@ -25403,7 +25459,7 @@ var ClaudeCodeEngine = class extends ExecutionEngine {
|
|
|
25403
25459
|
this.ensureLogDir();
|
|
25404
25460
|
this.logger.info("Spawning claude CLI", { taskId: task.id, title: task.title, cwd });
|
|
25405
25461
|
const invocation = resolveClaudeInvocation();
|
|
25406
|
-
const proc = spawn(invocation.command, [...invocation.argsPrefix, ...args], {
|
|
25462
|
+
const proc = (0, import_node_child_process.spawn)(invocation.command, [...invocation.argsPrefix, ...args], {
|
|
25407
25463
|
cwd,
|
|
25408
25464
|
stdio: ["pipe", "pipe", "pipe"]
|
|
25409
25465
|
});
|
|
@@ -25513,7 +25569,7 @@ var ClaudeCodeEngine = class extends ExecutionEngine {
|
|
|
25513
25569
|
"stream-json"
|
|
25514
25570
|
];
|
|
25515
25571
|
const invocation = resolveClaudeInvocation();
|
|
25516
|
-
const proc = spawn(invocation.command, [...invocation.argsPrefix, ...args], {
|
|
25572
|
+
const proc = (0, import_node_child_process.spawn)(invocation.command, [...invocation.argsPrefix, ...args], {
|
|
25517
25573
|
cwd: session.cwd,
|
|
25518
25574
|
stdio: ["pipe", "pipe", "pipe"]
|
|
25519
25575
|
});
|
|
@@ -25618,8 +25674,8 @@ var ClaudeCodeEngine = class extends ExecutionEngine {
|
|
|
25618
25674
|
/** Recover a session by scanning the JSONL log file for the last system.init event. */
|
|
25619
25675
|
recoverSession(taskId) {
|
|
25620
25676
|
const logPath = this.getLogPath(taskId);
|
|
25621
|
-
if (!
|
|
25622
|
-
const content =
|
|
25677
|
+
if (!fs7.existsSync(logPath)) return null;
|
|
25678
|
+
const content = fs7.readFileSync(logPath, "utf-8").trim();
|
|
25623
25679
|
if (!content) return null;
|
|
25624
25680
|
const lines = content.split("\n");
|
|
25625
25681
|
for (let i = lines.length - 1; i >= 0; i--) {
|
|
@@ -25632,7 +25688,7 @@ var ClaudeCodeEngine = class extends ExecutionEngine {
|
|
|
25632
25688
|
const persistedCwd = typeof task?.payload.sessionCwd === "string" ? task.payload.sessionCwd : void 0;
|
|
25633
25689
|
return {
|
|
25634
25690
|
sessionId: event.session_id,
|
|
25635
|
-
cwd:
|
|
25691
|
+
cwd: path7.resolve(
|
|
25636
25692
|
(typeof event.cwd === "string" ? event.cwd : persistedCwd) ?? task?.effectiveProjectPath ?? task?.project ?? process.cwd()
|
|
25637
25693
|
),
|
|
25638
25694
|
title: task?.title ?? taskId
|
|
@@ -25646,9 +25702,9 @@ var ClaudeCodeEngine = class extends ExecutionEngine {
|
|
|
25646
25702
|
};
|
|
25647
25703
|
|
|
25648
25704
|
// ../../packages/core/src/engines/codex-engine.ts
|
|
25649
|
-
|
|
25650
|
-
|
|
25651
|
-
|
|
25705
|
+
var fs8 = __toESM(require("fs"), 1);
|
|
25706
|
+
var path8 = __toESM(require("path"), 1);
|
|
25707
|
+
var import_node_child_process2 = require("child_process");
|
|
25652
25708
|
function buildAssistantEvent(text, timestamp = (/* @__PURE__ */ new Date()).toISOString()) {
|
|
25653
25709
|
return {
|
|
25654
25710
|
type: "assistant",
|
|
@@ -25690,7 +25746,7 @@ var CodexEngine = class extends ExecutionEngine {
|
|
|
25690
25746
|
if (task.agent !== "codex") continue;
|
|
25691
25747
|
const sessionId = task.payload.sessionId;
|
|
25692
25748
|
if (!sessionId) continue;
|
|
25693
|
-
const cwd =
|
|
25749
|
+
const cwd = path8.resolve(
|
|
25694
25750
|
task.payload.sessionCwd ?? task.effectiveProjectPath ?? task.project ?? process.cwd()
|
|
25695
25751
|
);
|
|
25696
25752
|
this.sessions.set(task.id, { sessionId, cwd, title: task.title });
|
|
@@ -25707,7 +25763,7 @@ var CodexEngine = class extends ExecutionEngine {
|
|
|
25707
25763
|
const args = this.buildArgs(prompt, imagePaths, { model: config.model });
|
|
25708
25764
|
this.ensureLogDir();
|
|
25709
25765
|
this.logger.info("Spawning codex CLI", { taskId: task.id, title: task.title, cwd });
|
|
25710
|
-
const proc =
|
|
25766
|
+
const proc = (0, import_node_child_process2.spawn)("codex", args, {
|
|
25711
25767
|
cwd,
|
|
25712
25768
|
stdio: ["ignore", "pipe", "pipe"]
|
|
25713
25769
|
});
|
|
@@ -25734,7 +25790,7 @@ var CodexEngine = class extends ExecutionEngine {
|
|
|
25734
25790
|
const { prompt, imagePaths } = this.prepareAssets(taskId, content);
|
|
25735
25791
|
const args = this.buildArgs(prompt, imagePaths, { model, sessionId: session.sessionId });
|
|
25736
25792
|
this.logger.info("Sending Codex follow-up message", { taskId, sessionId: session.sessionId });
|
|
25737
|
-
const proc =
|
|
25793
|
+
const proc = (0, import_node_child_process2.spawn)("codex", args, {
|
|
25738
25794
|
cwd: session.cwd,
|
|
25739
25795
|
stdio: ["ignore", "pipe", "pipe"]
|
|
25740
25796
|
});
|
|
@@ -25863,13 +25919,13 @@ var CodexEngine = class extends ExecutionEngine {
|
|
|
25863
25919
|
if (images.length === 0) {
|
|
25864
25920
|
return { prompt, imagePaths: [] };
|
|
25865
25921
|
}
|
|
25866
|
-
const attachmentDir =
|
|
25867
|
-
|
|
25922
|
+
const attachmentDir = path8.join(this.logDir, "attachments", taskId);
|
|
25923
|
+
fs8.mkdirSync(attachmentDir, { recursive: true });
|
|
25868
25924
|
const imagePaths = images.map((image, index) => {
|
|
25869
25925
|
const fallbackName = `image-${Date.now()}-${index}.${inferExtension(image.mediaType)}`;
|
|
25870
25926
|
const filename = sanitizeFilename(image.filename ?? fallbackName);
|
|
25871
|
-
const filePath =
|
|
25872
|
-
|
|
25927
|
+
const filePath = path8.join(attachmentDir, filename);
|
|
25928
|
+
fs8.writeFileSync(filePath, Buffer.from(image.data, "base64"));
|
|
25873
25929
|
return filePath;
|
|
25874
25930
|
});
|
|
25875
25931
|
return { prompt, imagePaths };
|
|
@@ -25888,8 +25944,8 @@ var CodexEngine = class extends ExecutionEngine {
|
|
|
25888
25944
|
/** Recover a session by scanning the JSONL log for the thread.started event. */
|
|
25889
25945
|
recoverSession(taskId) {
|
|
25890
25946
|
const logPath = this.getLogPath(taskId);
|
|
25891
|
-
if (!
|
|
25892
|
-
const content =
|
|
25947
|
+
if (!fs8.existsSync(logPath)) return null;
|
|
25948
|
+
const content = fs8.readFileSync(logPath, "utf-8").trim();
|
|
25893
25949
|
if (!content) return null;
|
|
25894
25950
|
const lines = content.split("\n");
|
|
25895
25951
|
for (let i = lines.length - 1; i >= 0; i--) {
|
|
@@ -25902,7 +25958,7 @@ var CodexEngine = class extends ExecutionEngine {
|
|
|
25902
25958
|
const persistedCwd = typeof task?.payload.sessionCwd === "string" ? task.payload.sessionCwd : void 0;
|
|
25903
25959
|
return {
|
|
25904
25960
|
sessionId: event.thread_id,
|
|
25905
|
-
cwd:
|
|
25961
|
+
cwd: path8.resolve(persistedCwd ?? task?.effectiveProjectPath ?? task?.project ?? process.cwd()),
|
|
25906
25962
|
title: task?.title ?? taskId
|
|
25907
25963
|
};
|
|
25908
25964
|
}
|
|
@@ -25914,8 +25970,8 @@ var CodexEngine = class extends ExecutionEngine {
|
|
|
25914
25970
|
};
|
|
25915
25971
|
|
|
25916
25972
|
// ../../packages/core/src/storage-paths.ts
|
|
25917
|
-
|
|
25918
|
-
|
|
25973
|
+
var os2 = __toESM(require("os"), 1);
|
|
25974
|
+
var path9 = __toESM(require("path"), 1);
|
|
25919
25975
|
function resolveDefaultStorageMode(options = {}) {
|
|
25920
25976
|
const envMode = options.env?.MESHY_STORAGE_MODE;
|
|
25921
25977
|
if (envMode === "cwd" || envMode === "home") {
|
|
@@ -25930,16 +25986,16 @@ function resolveDefaultStorageMode(options = {}) {
|
|
|
25930
25986
|
function resolveDefaultStoragePath(options = {}) {
|
|
25931
25987
|
const mode = resolveDefaultStorageMode(options);
|
|
25932
25988
|
const envBaseDir = options.env?.MESHY_STORAGE_BASE_DIR;
|
|
25933
|
-
const baseDir = mode === "cwd" ? envBaseDir ?? options.cwd ?? process.cwd() : options.homeDir ??
|
|
25934
|
-
return
|
|
25989
|
+
const baseDir = mode === "cwd" ? envBaseDir ?? options.cwd ?? process.cwd() : options.homeDir ?? os2.homedir();
|
|
25990
|
+
return path9.resolve(baseDir, ".meshy");
|
|
25935
25991
|
}
|
|
25936
25992
|
|
|
25937
25993
|
// ../../packages/core/src/node.ts
|
|
25938
|
-
|
|
25939
|
-
|
|
25994
|
+
var fs9 = __toESM(require("fs"), 1);
|
|
25995
|
+
var path10 = __toESM(require("path"), 1);
|
|
25940
25996
|
|
|
25941
25997
|
// ../../node_modules/.pnpm/nanoid@5.1.7/node_modules/nanoid/index.js
|
|
25942
|
-
|
|
25998
|
+
var import_node_crypto3 = require("crypto");
|
|
25943
25999
|
|
|
25944
26000
|
// ../../node_modules/.pnpm/nanoid@5.1.7/node_modules/nanoid/url-alphabet/index.js
|
|
25945
26001
|
var urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
@@ -25951,10 +26007,10 @@ var poolOffset;
|
|
|
25951
26007
|
function fillPool(bytes) {
|
|
25952
26008
|
if (!pool || pool.length < bytes) {
|
|
25953
26009
|
pool = Buffer.allocUnsafe(bytes * POOL_SIZE_MULTIPLIER);
|
|
25954
|
-
|
|
26010
|
+
import_node_crypto3.webcrypto.getRandomValues(pool);
|
|
25955
26011
|
poolOffset = 0;
|
|
25956
26012
|
} else if (poolOffset + bytes > pool.length) {
|
|
25957
|
-
|
|
26013
|
+
import_node_crypto3.webcrypto.getRandomValues(pool);
|
|
25958
26014
|
poolOffset = 0;
|
|
25959
26015
|
}
|
|
25960
26016
|
poolOffset += bytes;
|
|
@@ -26004,7 +26060,7 @@ var MeshyNode = class {
|
|
|
26004
26060
|
const endpoint = await this.transport.getEndpoint();
|
|
26005
26061
|
const nodeId = this.loadOrCreateNodeId();
|
|
26006
26062
|
const now = Date.now();
|
|
26007
|
-
const workDir =
|
|
26063
|
+
const workDir = path10.resolve(this.config.node.workDir ?? process.cwd());
|
|
26008
26064
|
this.selfInfo = {
|
|
26009
26065
|
id: nodeId,
|
|
26010
26066
|
name: this.config.node.name,
|
|
@@ -26033,7 +26089,7 @@ var MeshyNode = class {
|
|
|
26033
26089
|
},
|
|
26034
26090
|
this.logger
|
|
26035
26091
|
);
|
|
26036
|
-
const logDir =
|
|
26092
|
+
const logDir = path10.join(this.config.storage.path, "task-logs");
|
|
26037
26093
|
this.taskEngine = new TaskEngine(this.store, this.nodeRegistry, this.eventBus, logDir);
|
|
26038
26094
|
this.heartbeat.setGetAssignedTasks((nodeId2) => {
|
|
26039
26095
|
const result = this.taskEngine.listTasks({ assignedTo: nodeId2, status: "assigned" });
|
|
@@ -26388,13 +26444,13 @@ ${joinErrors.map((e) => ` - ${e}`).join("\n")}`
|
|
|
26388
26444
|
}
|
|
26389
26445
|
getIdentityPath() {
|
|
26390
26446
|
const safeName = this.config.node.name.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
26391
|
-
return
|
|
26447
|
+
return path10.join(this.config.storage.path, `node-identity-${safeName}.json`);
|
|
26392
26448
|
}
|
|
26393
26449
|
loadOrCreateNodeId() {
|
|
26394
26450
|
const identityPath = this.getIdentityPath();
|
|
26395
26451
|
try {
|
|
26396
|
-
if (
|
|
26397
|
-
const raw = JSON.parse(
|
|
26452
|
+
if (fs9.existsSync(identityPath)) {
|
|
26453
|
+
const raw = JSON.parse(fs9.readFileSync(identityPath, "utf-8"));
|
|
26398
26454
|
if (typeof raw.id === "string" && raw.id.length > 0) {
|
|
26399
26455
|
return raw.id;
|
|
26400
26456
|
}
|
|
@@ -26402,8 +26458,8 @@ ${joinErrors.map((e) => ` - ${e}`).join("\n")}`
|
|
|
26402
26458
|
} catch {
|
|
26403
26459
|
}
|
|
26404
26460
|
const id = nanoid();
|
|
26405
|
-
|
|
26406
|
-
|
|
26461
|
+
fs9.mkdirSync(path10.dirname(identityPath), { recursive: true });
|
|
26462
|
+
fs9.writeFileSync(
|
|
26407
26463
|
identityPath,
|
|
26408
26464
|
JSON.stringify({ id, name: this.config.node.name }, null, 2) + "\n",
|
|
26409
26465
|
"utf-8"
|
|
@@ -26890,8 +26946,8 @@ function getErrorMap() {
|
|
|
26890
26946
|
|
|
26891
26947
|
// ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js
|
|
26892
26948
|
var makeIssue = (params) => {
|
|
26893
|
-
const { data, path:
|
|
26894
|
-
const fullPath = [...
|
|
26949
|
+
const { data, path: path16, errorMaps, issueData } = params;
|
|
26950
|
+
const fullPath = [...path16, ...issueData.path || []];
|
|
26895
26951
|
const fullIssue = {
|
|
26896
26952
|
...issueData,
|
|
26897
26953
|
path: fullPath
|
|
@@ -27007,11 +27063,11 @@ var errorUtil;
|
|
|
27007
27063
|
|
|
27008
27064
|
// ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js
|
|
27009
27065
|
var ParseInputLazyPath = class {
|
|
27010
|
-
constructor(parent, value,
|
|
27066
|
+
constructor(parent, value, path16, key) {
|
|
27011
27067
|
this._cachedPath = [];
|
|
27012
27068
|
this.parent = parent;
|
|
27013
27069
|
this.data = value;
|
|
27014
|
-
this._path =
|
|
27070
|
+
this._path = path16;
|
|
27015
27071
|
this._key = key;
|
|
27016
27072
|
}
|
|
27017
27073
|
get path() {
|
|
@@ -30643,10 +30699,9 @@ var BatchTaskIdsBody = external_exports.object({
|
|
|
30643
30699
|
});
|
|
30644
30700
|
|
|
30645
30701
|
// ../../packages/api/src/server.ts
|
|
30702
|
+
var path15 = __toESM(require("path"), 1);
|
|
30703
|
+
var fs15 = __toESM(require("fs"), 1);
|
|
30646
30704
|
var import_express7 = __toESM(require_express2(), 1);
|
|
30647
|
-
import * as path14 from "path";
|
|
30648
|
-
import * as fs14 from "fs";
|
|
30649
|
-
import { fileURLToPath } from "url";
|
|
30650
30705
|
|
|
30651
30706
|
// ../../packages/api/src/middleware/auth.ts
|
|
30652
30707
|
var SKIP_AUTH_PATHS = ["/api/system/health"];
|
|
@@ -30863,29 +30918,29 @@ function assertCanChangeNodeDevTunnel(taskEngine, nodeId) {
|
|
|
30863
30918
|
}
|
|
30864
30919
|
|
|
30865
30920
|
// ../../packages/api/src/worker-control.ts
|
|
30866
|
-
|
|
30867
|
-
|
|
30921
|
+
var fs12 = __toESM(require("fs"), 1);
|
|
30922
|
+
var path13 = __toESM(require("path"), 1);
|
|
30868
30923
|
|
|
30869
30924
|
// ../../packages/api/src/preview/preview-server.ts
|
|
30870
|
-
|
|
30871
|
-
|
|
30872
|
-
|
|
30873
|
-
|
|
30925
|
+
var crypto2 = __toESM(require("crypto"), 1);
|
|
30926
|
+
var fs10 = __toESM(require("fs"), 1);
|
|
30927
|
+
var path11 = __toESM(require("path"), 1);
|
|
30928
|
+
var http = __toESM(require("http"), 1);
|
|
30874
30929
|
function resolvePreviewPath(rootPath, relativePath) {
|
|
30875
30930
|
const sanitizedPath = relativePath.replace(/\\/g, "/");
|
|
30876
|
-
const resolvedPath =
|
|
30877
|
-
const normalizedRoot =
|
|
30878
|
-
if (!resolvedPath.startsWith(normalizedRoot +
|
|
30931
|
+
const resolvedPath = path11.resolve(rootPath, sanitizedPath);
|
|
30932
|
+
const normalizedRoot = path11.resolve(rootPath);
|
|
30933
|
+
if (!resolvedPath.startsWith(normalizedRoot + path11.sep) && resolvedPath !== normalizedRoot) {
|
|
30879
30934
|
throw new Error("Invalid preview path");
|
|
30880
30935
|
}
|
|
30881
30936
|
return {
|
|
30882
30937
|
absolutePath: resolvedPath,
|
|
30883
|
-
normalizedPath:
|
|
30938
|
+
normalizedPath: path11.relative(normalizedRoot, resolvedPath).split(path11.sep).join("/")
|
|
30884
30939
|
};
|
|
30885
30940
|
}
|
|
30886
30941
|
function resolvePreviewEntryPath(rootPath, entryPath) {
|
|
30887
30942
|
const { absolutePath, normalizedPath } = resolvePreviewPath(rootPath, entryPath ?? "index.html");
|
|
30888
|
-
if (!
|
|
30943
|
+
if (!fs10.existsSync(absolutePath) || !fs10.statSync(absolutePath).isFile()) {
|
|
30889
30944
|
throw new Error("Preview entry not found");
|
|
30890
30945
|
}
|
|
30891
30946
|
return normalizedPath;
|
|
@@ -30949,7 +31004,7 @@ var MIME_MAP = {
|
|
|
30949
31004
|
".pdf": "application/pdf"
|
|
30950
31005
|
};
|
|
30951
31006
|
function getMime(filePath) {
|
|
30952
|
-
return MIME_MAP[
|
|
31007
|
+
return MIME_MAP[path11.extname(filePath).toLowerCase()] ?? "application/octet-stream";
|
|
30953
31008
|
}
|
|
30954
31009
|
var PreviewServer = class {
|
|
30955
31010
|
server = null;
|
|
@@ -31011,13 +31066,13 @@ var PreviewServer = class {
|
|
|
31011
31066
|
res.end("Invalid path");
|
|
31012
31067
|
return;
|
|
31013
31068
|
}
|
|
31014
|
-
if (!
|
|
31069
|
+
if (!fs10.existsSync(resolved) || !fs10.statSync(resolved).isFile()) {
|
|
31015
31070
|
res.writeHead(404, { "Content-Type": "text/plain" });
|
|
31016
31071
|
res.end("File not found");
|
|
31017
31072
|
return;
|
|
31018
31073
|
}
|
|
31019
31074
|
const mime = getMime(resolved);
|
|
31020
|
-
const content =
|
|
31075
|
+
const content = fs10.readFileSync(resolved);
|
|
31021
31076
|
res.writeHead(200, {
|
|
31022
31077
|
"Content-Type": mime,
|
|
31023
31078
|
"Content-Length": content.length,
|
|
@@ -31028,8 +31083,8 @@ var PreviewServer = class {
|
|
|
31028
31083
|
};
|
|
31029
31084
|
|
|
31030
31085
|
// ../../packages/api/src/output/helpers.ts
|
|
31031
|
-
|
|
31032
|
-
|
|
31086
|
+
var fs11 = __toESM(require("fs"), 1);
|
|
31087
|
+
var path12 = __toESM(require("path"), 1);
|
|
31033
31088
|
var MAX_INLINE_SIZE = 512 * 1024;
|
|
31034
31089
|
var TEXT_EXTENSIONS = /* @__PURE__ */ new Set([
|
|
31035
31090
|
".txt",
|
|
@@ -31142,15 +31197,15 @@ function mimeForExt(ext) {
|
|
|
31142
31197
|
return MIME_MAP2[ext] ?? "application/octet-stream";
|
|
31143
31198
|
}
|
|
31144
31199
|
function resolveOutputPath(root, relativePath) {
|
|
31145
|
-
const resolved =
|
|
31146
|
-
const normalizedRoot =
|
|
31147
|
-
if (!resolved.startsWith(normalizedRoot +
|
|
31200
|
+
const resolved = path12.resolve(root, relativePath);
|
|
31201
|
+
const normalizedRoot = path12.resolve(root);
|
|
31202
|
+
if (!resolved.startsWith(normalizedRoot + path12.sep) && resolved !== normalizedRoot) {
|
|
31148
31203
|
throw new Error("Path traversal detected");
|
|
31149
31204
|
}
|
|
31150
31205
|
return resolved;
|
|
31151
31206
|
}
|
|
31152
31207
|
function classifyFile(filePath) {
|
|
31153
|
-
const ext =
|
|
31208
|
+
const ext = path12.extname(filePath).toLowerCase();
|
|
31154
31209
|
if (ext === ".json" || ext === ".jsonl" || ext === ".ndjson") {
|
|
31155
31210
|
return { kind: "json", mimeType: "application/json" };
|
|
31156
31211
|
}
|
|
@@ -31177,14 +31232,14 @@ function classifyFile(filePath) {
|
|
|
31177
31232
|
}
|
|
31178
31233
|
function listDirectory(root, relativePath) {
|
|
31179
31234
|
const absPath = resolveOutputPath(root, relativePath);
|
|
31180
|
-
if (!
|
|
31235
|
+
if (!fs11.existsSync(absPath) || !fs11.statSync(absPath).isDirectory()) {
|
|
31181
31236
|
return [];
|
|
31182
31237
|
}
|
|
31183
|
-
const entries =
|
|
31238
|
+
const entries = fs11.readdirSync(absPath, { withFileTypes: true });
|
|
31184
31239
|
const result = [];
|
|
31185
31240
|
for (const entry of entries) {
|
|
31186
31241
|
if (entry.name.startsWith(".")) continue;
|
|
31187
|
-
const entryRelPath =
|
|
31242
|
+
const entryRelPath = path12.join(relativePath || ".", entry.name).split(path12.sep).join("/");
|
|
31188
31243
|
if (entry.isDirectory()) {
|
|
31189
31244
|
result.push({
|
|
31190
31245
|
path: entryRelPath,
|
|
@@ -31192,8 +31247,8 @@ function listDirectory(root, relativePath) {
|
|
|
31192
31247
|
type: "directory"
|
|
31193
31248
|
});
|
|
31194
31249
|
} else if (entry.isFile()) {
|
|
31195
|
-
const fullPath =
|
|
31196
|
-
const stat =
|
|
31250
|
+
const fullPath = path12.join(absPath, entry.name);
|
|
31251
|
+
const stat = fs11.statSync(fullPath);
|
|
31197
31252
|
const { kind, mimeType } = classifyFile(entry.name);
|
|
31198
31253
|
result.push({
|
|
31199
31254
|
path: entryRelPath,
|
|
@@ -31213,11 +31268,11 @@ function listDirectory(root, relativePath) {
|
|
|
31213
31268
|
}
|
|
31214
31269
|
function detectHtmlEntries(root) {
|
|
31215
31270
|
const entries = [];
|
|
31216
|
-
if (
|
|
31271
|
+
if (fs11.existsSync(path12.join(root, "index.html"))) {
|
|
31217
31272
|
entries.push({ path: "index.html", label: "index.html" });
|
|
31218
31273
|
}
|
|
31219
31274
|
try {
|
|
31220
|
-
const topLevel =
|
|
31275
|
+
const topLevel = fs11.readdirSync(root, { withFileTypes: true });
|
|
31221
31276
|
const htmlFiles = topLevel.filter(
|
|
31222
31277
|
(e) => e.isFile() && e.name.endsWith(".html") && !e.name.startsWith(".")
|
|
31223
31278
|
);
|
|
@@ -31228,8 +31283,8 @@ function detectHtmlEntries(root) {
|
|
|
31228
31283
|
}
|
|
31229
31284
|
const subdirs = topLevel.filter((e) => e.isDirectory() && !e.name.startsWith("."));
|
|
31230
31285
|
for (const dir of subdirs) {
|
|
31231
|
-
const subIndex =
|
|
31232
|
-
if (
|
|
31286
|
+
const subIndex = path12.join(root, dir.name, "index.html");
|
|
31287
|
+
if (fs11.existsSync(subIndex)) {
|
|
31233
31288
|
entries.push({
|
|
31234
31289
|
path: `${dir.name}/index.html`,
|
|
31235
31290
|
label: `${dir.name}/index.html`
|
|
@@ -31241,11 +31296,11 @@ function detectHtmlEntries(root) {
|
|
|
31241
31296
|
return entries;
|
|
31242
31297
|
}
|
|
31243
31298
|
function getOutputSummary(root) {
|
|
31244
|
-
const rootName =
|
|
31299
|
+
const rootName = path12.basename(root);
|
|
31245
31300
|
const htmlEntries = detectHtmlEntries(root);
|
|
31246
31301
|
let fileCount;
|
|
31247
31302
|
try {
|
|
31248
|
-
const entries =
|
|
31303
|
+
const entries = fs11.readdirSync(root, { withFileTypes: true });
|
|
31249
31304
|
fileCount = entries.filter((e) => !e.name.startsWith(".")).length;
|
|
31250
31305
|
} catch {
|
|
31251
31306
|
fileCount = void 0;
|
|
@@ -31261,14 +31316,14 @@ function getOutputSummary(root) {
|
|
|
31261
31316
|
}
|
|
31262
31317
|
function readFileContent(root, relativePath) {
|
|
31263
31318
|
const absPath = resolveOutputPath(root, relativePath);
|
|
31264
|
-
if (!
|
|
31319
|
+
if (!fs11.existsSync(absPath) || !fs11.statSync(absPath).isFile()) {
|
|
31265
31320
|
throw new Error("File not found");
|
|
31266
31321
|
}
|
|
31267
|
-
const stat =
|
|
31322
|
+
const stat = fs11.statSync(absPath);
|
|
31268
31323
|
const { kind, mimeType } = classifyFile(absPath);
|
|
31269
31324
|
if (kind === "image" || kind === "pdf" || kind === "binary") {
|
|
31270
31325
|
const truncated2 = stat.size > MAX_INLINE_SIZE;
|
|
31271
|
-
const buffer = truncated2 ? Buffer.alloc(0) :
|
|
31326
|
+
const buffer = truncated2 ? Buffer.alloc(0) : fs11.readFileSync(absPath);
|
|
31272
31327
|
return {
|
|
31273
31328
|
path: relativePath,
|
|
31274
31329
|
kind,
|
|
@@ -31279,7 +31334,7 @@ function readFileContent(root, relativePath) {
|
|
|
31279
31334
|
};
|
|
31280
31335
|
}
|
|
31281
31336
|
const truncated = stat.size > MAX_INLINE_SIZE;
|
|
31282
|
-
const content = truncated ?
|
|
31337
|
+
const content = truncated ? fs11.readFileSync(absPath, "utf-8").slice(0, MAX_INLINE_SIZE) : fs11.readFileSync(absPath, "utf-8");
|
|
31283
31338
|
return {
|
|
31284
31339
|
path: relativePath,
|
|
31285
31340
|
kind,
|
|
@@ -31291,10 +31346,10 @@ function readFileContent(root, relativePath) {
|
|
|
31291
31346
|
}
|
|
31292
31347
|
|
|
31293
31348
|
// ../../packages/api/src/output/git-diff.ts
|
|
31294
|
-
|
|
31349
|
+
var import_node_child_process3 = require("child_process");
|
|
31295
31350
|
function git(args, cwd) {
|
|
31296
31351
|
try {
|
|
31297
|
-
return execFileSync("git", ["-C", cwd, ...args], {
|
|
31352
|
+
return (0, import_node_child_process3.execFileSync)("git", ["-C", cwd, ...args], {
|
|
31298
31353
|
encoding: "utf-8",
|
|
31299
31354
|
timeout: 1e4,
|
|
31300
31355
|
stdio: ["pipe", "pipe", "pipe"]
|
|
@@ -31576,12 +31631,12 @@ async function executeWorkerControlRequest(deps, request) {
|
|
|
31576
31631
|
const rootPath = getTaskOutputRoot(deps.taskEngine, request.taskId ?? "");
|
|
31577
31632
|
try {
|
|
31578
31633
|
const absolutePath = resolveOutputPath(rootPath, request.path ?? "");
|
|
31579
|
-
if (!
|
|
31634
|
+
if (!fs12.existsSync(absolutePath) || !fs12.statSync(absolutePath).isFile()) {
|
|
31580
31635
|
throw new MeshyError("TASK_NOT_FOUND", `File not found: ${request.path}`, 404);
|
|
31581
31636
|
}
|
|
31582
31637
|
const { mimeType } = classifyFile(absolutePath);
|
|
31583
|
-
const fileName =
|
|
31584
|
-
return binaryResponse(request.requestId, 200,
|
|
31638
|
+
const fileName = path13.basename(absolutePath).replace(/"/g, "");
|
|
31639
|
+
return binaryResponse(request.requestId, 200, fs12.readFileSync(absolutePath), {
|
|
31585
31640
|
"Content-Type": mimeType,
|
|
31586
31641
|
"Content-Disposition": `inline; filename="${fileName}"`,
|
|
31587
31642
|
"Cache-Control": "no-cache"
|
|
@@ -31675,11 +31730,12 @@ function createNodeRoutes() {
|
|
|
31675
31730
|
res.json({ node, tasks: taskSummary });
|
|
31676
31731
|
}));
|
|
31677
31732
|
router.patch("/:id", asyncHandler2(async (req, res) => {
|
|
31678
|
-
const { nodeRegistry } = req.app.locals.deps;
|
|
31733
|
+
const { nodeRegistry, persistNodeNamePreference } = req.app.locals.deps;
|
|
31679
31734
|
const updates = UpdateNodeBody.parse(req.body);
|
|
31680
|
-
const
|
|
31735
|
+
const nodeId = req.params.id;
|
|
31736
|
+
const node = nodeRegistry.getNode(nodeId);
|
|
31681
31737
|
if (!node) {
|
|
31682
|
-
throw new MeshyError("NODE_NOT_FOUND", `Node ${
|
|
31738
|
+
throw new MeshyError("NODE_NOT_FOUND", `Node ${nodeId} not found`, 404);
|
|
31683
31739
|
}
|
|
31684
31740
|
if (updates.name !== void 0) {
|
|
31685
31741
|
node.name = updates.name;
|
|
@@ -31688,6 +31744,12 @@ function createNodeRoutes() {
|
|
|
31688
31744
|
node.capabilities = updates.capabilities;
|
|
31689
31745
|
}
|
|
31690
31746
|
nodeRegistry.addNode(node);
|
|
31747
|
+
if (node.id === nodeRegistry.getSelf().id) {
|
|
31748
|
+
nodeRegistry.setSelf(node);
|
|
31749
|
+
if (updates.name !== void 0) {
|
|
31750
|
+
persistNodeNamePreference?.(updates.name);
|
|
31751
|
+
}
|
|
31752
|
+
}
|
|
31691
31753
|
res.json(node);
|
|
31692
31754
|
}));
|
|
31693
31755
|
router.delete("/:id", asyncHandler2(async (req, res) => {
|
|
@@ -31789,12 +31851,12 @@ function createNodeRoutes() {
|
|
|
31789
31851
|
}
|
|
31790
31852
|
|
|
31791
31853
|
// ../../packages/api/src/routes/tasks.ts
|
|
31854
|
+
var fs14 = __toESM(require("fs"), 1);
|
|
31855
|
+
var path14 = __toESM(require("path"), 1);
|
|
31792
31856
|
var import_express3 = __toESM(require_express2(), 1);
|
|
31793
|
-
import * as fs13 from "fs";
|
|
31794
|
-
import * as path13 from "path";
|
|
31795
31857
|
|
|
31796
31858
|
// ../../packages/api/src/task-route-utils.ts
|
|
31797
|
-
|
|
31859
|
+
var fs13 = __toESM(require("fs"), 1);
|
|
31798
31860
|
function restoreTaskState(taskEngine, task) {
|
|
31799
31861
|
taskEngine.updateTask(task.id, {
|
|
31800
31862
|
status: task.status,
|
|
@@ -31809,10 +31871,10 @@ function readLocalTaskLogs(engineRegistry, taskId, after, agent) {
|
|
|
31809
31871
|
throw new MeshyError("VALIDATION_ERROR", `Engine not registered for agent: ${agent}`, 400);
|
|
31810
31872
|
}
|
|
31811
31873
|
const logPath = engine.getLogPath(taskId);
|
|
31812
|
-
if (!
|
|
31874
|
+
if (!fs13.existsSync(logPath)) {
|
|
31813
31875
|
return { logs: [], total: 0 };
|
|
31814
31876
|
}
|
|
31815
|
-
const content =
|
|
31877
|
+
const content = fs13.readFileSync(logPath, "utf-8");
|
|
31816
31878
|
const allLines = content.trim().split("\n").filter(Boolean);
|
|
31817
31879
|
const logs = [];
|
|
31818
31880
|
for (let i = after; i < allLines.length; i++) {
|
|
@@ -32390,12 +32452,12 @@ function createTaskRoutes() {
|
|
|
32390
32452
|
if (root === null) return;
|
|
32391
32453
|
try {
|
|
32392
32454
|
const absolutePath = resolveOutputPath(root, query.path);
|
|
32393
|
-
if (!
|
|
32455
|
+
if (!fs14.existsSync(absolutePath) || !fs14.statSync(absolutePath).isFile()) {
|
|
32394
32456
|
throw new MeshyError("TASK_NOT_FOUND", `File not found: ${query.path}`, 404);
|
|
32395
32457
|
}
|
|
32396
32458
|
const { mimeType } = classifyFile(absolutePath);
|
|
32397
|
-
const fileName =
|
|
32398
|
-
const content =
|
|
32459
|
+
const fileName = path14.basename(absolutePath).replace(/"/g, "");
|
|
32460
|
+
const content = fs14.readFileSync(absolutePath);
|
|
32399
32461
|
res.setHeader("Content-Type", mimeType);
|
|
32400
32462
|
res.setHeader("Content-Disposition", `inline; filename="${fileName}"`);
|
|
32401
32463
|
res.setHeader("Cache-Control", "no-cache");
|
|
@@ -32842,18 +32904,29 @@ data: ${JSON.stringify(data)}
|
|
|
32842
32904
|
// ../../packages/api/src/server.ts
|
|
32843
32905
|
var JSON_BODY_LIMIT = "1mb";
|
|
32844
32906
|
var JSON_BODY_LIMIT_LARGE = "25mb";
|
|
32907
|
+
function resolveRuntimeBaseDir() {
|
|
32908
|
+
const entryPath = process.argv[1];
|
|
32909
|
+
if (typeof entryPath === "string" && entryPath.length > 0) {
|
|
32910
|
+
return path15.dirname(path15.resolve(entryPath));
|
|
32911
|
+
}
|
|
32912
|
+
return process.cwd();
|
|
32913
|
+
}
|
|
32845
32914
|
function resolveStaticDir(baseDir) {
|
|
32846
32915
|
const envStaticDir = process.env.MESHY_STATIC_DIR;
|
|
32847
32916
|
const candidateDirs = [
|
|
32848
32917
|
envStaticDir,
|
|
32849
|
-
|
|
32850
|
-
|
|
32851
|
-
|
|
32852
|
-
|
|
32853
|
-
|
|
32918
|
+
path15.resolve(baseDir, "dashboard"),
|
|
32919
|
+
path15.resolve(baseDir, "../dashboard"),
|
|
32920
|
+
path15.resolve(baseDir, "../../dashboard/dist"),
|
|
32921
|
+
path15.resolve(baseDir, "../../../packages/dashboard/dist"),
|
|
32922
|
+
path15.resolve(baseDir, "../public"),
|
|
32923
|
+
path15.resolve(baseDir, "../../packages/api/public"),
|
|
32924
|
+
path15.resolve(baseDir, "../../../packages/api/public"),
|
|
32925
|
+
path15.resolve(process.cwd(), "packages/dashboard/dist"),
|
|
32926
|
+
path15.resolve(process.cwd(), "packages/api/public")
|
|
32854
32927
|
].filter((value) => typeof value === "string" && value.length > 0);
|
|
32855
32928
|
for (const candidate of candidateDirs) {
|
|
32856
|
-
if (
|
|
32929
|
+
if (fs15.existsSync(candidate)) {
|
|
32857
32930
|
return candidate;
|
|
32858
32931
|
}
|
|
32859
32932
|
}
|
|
@@ -32865,8 +32938,8 @@ function createServer2(deps) {
|
|
|
32865
32938
|
if (typeof deps.heartbeat.setControlRequestHandler === "function") {
|
|
32866
32939
|
deps.heartbeat.setControlRequestHandler((request) => executeWorkerControlRequest(deps, request));
|
|
32867
32940
|
}
|
|
32868
|
-
const
|
|
32869
|
-
const staticDir = resolveStaticDir(
|
|
32941
|
+
const runtimeBaseDir = resolveRuntimeBaseDir();
|
|
32942
|
+
const staticDir = resolveStaticDir(runtimeBaseDir);
|
|
32870
32943
|
if (staticDir) {
|
|
32871
32944
|
app.use(import_express7.default.static(staticDir));
|
|
32872
32945
|
}
|
|
@@ -32882,8 +32955,8 @@ function createServer2(deps) {
|
|
|
32882
32955
|
app.use("/api/system", createSystemRoutes());
|
|
32883
32956
|
app.use("/api/events", createEventRoutes());
|
|
32884
32957
|
if (staticDir) {
|
|
32885
|
-
const indexPath =
|
|
32886
|
-
if (
|
|
32958
|
+
const indexPath = path15.join(staticDir, "index.html");
|
|
32959
|
+
if (fs15.existsSync(indexPath)) {
|
|
32887
32960
|
app.get("*", (_req, res) => {
|
|
32888
32961
|
res.sendFile(indexPath);
|
|
32889
32962
|
});
|
|
@@ -32894,10 +32967,10 @@ function createServer2(deps) {
|
|
|
32894
32967
|
}
|
|
32895
32968
|
|
|
32896
32969
|
// ../../packages/transport/src/direct.ts
|
|
32897
|
-
|
|
32898
|
-
|
|
32970
|
+
var import_node_os = require("os");
|
|
32971
|
+
var import_node_http = require("http");
|
|
32899
32972
|
function detectLocalIp() {
|
|
32900
|
-
const nets = networkInterfaces();
|
|
32973
|
+
const nets = (0, import_node_os.networkInterfaces)();
|
|
32901
32974
|
for (const entries of Object.values(nets)) {
|
|
32902
32975
|
if (!entries) continue;
|
|
32903
32976
|
for (const entry of entries) {
|
|
@@ -32910,7 +32983,7 @@ function detectLocalIp() {
|
|
|
32910
32983
|
}
|
|
32911
32984
|
function detectAvailablePort() {
|
|
32912
32985
|
return new Promise((resolve10, reject) => {
|
|
32913
|
-
const srv =
|
|
32986
|
+
const srv = (0, import_node_http.createServer)();
|
|
32914
32987
|
srv.listen(0, () => {
|
|
32915
32988
|
const addr = srv.address();
|
|
32916
32989
|
const port = addr && typeof addr !== "string" ? addr.port : 0;
|
|
@@ -32959,10 +33032,10 @@ var DirectTransport = class {
|
|
|
32959
33032
|
};
|
|
32960
33033
|
|
|
32961
33034
|
// ../../packages/transport/src/devtunnel.ts
|
|
32962
|
-
|
|
33035
|
+
var import_node_child_process4 = require("child_process");
|
|
32963
33036
|
function isInstalled(cmd) {
|
|
32964
33037
|
try {
|
|
32965
|
-
execSync(process.platform === "win32" ? `where ${cmd}` : `command -v ${cmd}`, { stdio: "pipe" });
|
|
33038
|
+
(0, import_node_child_process4.execSync)(process.platform === "win32" ? `where ${cmd}` : `command -v ${cmd}`, { stdio: "pipe" });
|
|
32966
33039
|
return true;
|
|
32967
33040
|
} catch {
|
|
32968
33041
|
return false;
|
|
@@ -32981,13 +33054,13 @@ var DevTunnelTransport = class {
|
|
|
32981
33054
|
);
|
|
32982
33055
|
}
|
|
32983
33056
|
try {
|
|
32984
|
-
execSync("devtunnel user show", { stdio: "pipe" });
|
|
33057
|
+
(0, import_node_child_process4.execSync)("devtunnel user show", { stdio: "pipe" });
|
|
32985
33058
|
} catch {
|
|
32986
33059
|
throw new Error(
|
|
32987
33060
|
"Not logged in to devtunnel. Run: devtunnel user login"
|
|
32988
33061
|
);
|
|
32989
33062
|
}
|
|
32990
|
-
const child =
|
|
33063
|
+
const child = (0, import_node_child_process4.spawn)("devtunnel", ["host", "-p", String(localPort), "-a"], {
|
|
32991
33064
|
stdio: ["pipe", "pipe", "pipe"]
|
|
32992
33065
|
});
|
|
32993
33066
|
this.process = child;
|
|
@@ -33092,20 +33165,24 @@ function createTransport(config) {
|
|
|
33092
33165
|
|
|
33093
33166
|
// src/main.ts
|
|
33094
33167
|
function getDefaultNodeName() {
|
|
33095
|
-
return
|
|
33168
|
+
return getDeviceNodeName();
|
|
33096
33169
|
}
|
|
33097
33170
|
var DEFAULT_NODE_NAME = getDefaultNodeName();
|
|
33098
33171
|
var DEFAULT_NODE_PORT = 12345;
|
|
33099
33172
|
var SUPPORTED_TRANSPORTS = ["direct", "devtunnel", "tailscale"];
|
|
33100
|
-
function createDefaultConfig() {
|
|
33173
|
+
function createDefaultConfig(storagePath = resolveDefaultStoragePath(), nodeName = DEFAULT_NODE_NAME) {
|
|
33101
33174
|
return {
|
|
33102
|
-
node: { name:
|
|
33175
|
+
node: { name: nodeName, port: DEFAULT_NODE_PORT },
|
|
33103
33176
|
transport: { type: "direct" },
|
|
33104
33177
|
cluster: { seeds: [], heartbeatInterval: 3e3, electionTimeout: 9e3, apiKey: "" },
|
|
33105
|
-
storage: { path:
|
|
33178
|
+
storage: { path: storagePath }
|
|
33106
33179
|
};
|
|
33107
33180
|
}
|
|
33108
33181
|
var DEFAULT_CONFIG3 = createDefaultConfig();
|
|
33182
|
+
function createRuntimeDefaultConfig(fileConfig) {
|
|
33183
|
+
const storagePath = fileConfig.storage?.path ?? resolveDefaultStoragePath();
|
|
33184
|
+
return createDefaultConfig(storagePath, resolveDefaultNodeName(storagePath));
|
|
33185
|
+
}
|
|
33109
33186
|
function parseArgs(argv) {
|
|
33110
33187
|
const result = {};
|
|
33111
33188
|
for (let i = 0; i < argv.length; i++) {
|
|
@@ -33146,9 +33223,9 @@ function parseArgs(argv) {
|
|
|
33146
33223
|
}
|
|
33147
33224
|
return result;
|
|
33148
33225
|
}
|
|
33149
|
-
function loadConfigFile(
|
|
33226
|
+
function loadConfigFile(path16) {
|
|
33150
33227
|
try {
|
|
33151
|
-
const raw =
|
|
33228
|
+
const raw = fs16.readFileSync(path16, "utf-8");
|
|
33152
33229
|
return JSON.parse(raw);
|
|
33153
33230
|
} catch {
|
|
33154
33231
|
return {};
|
|
@@ -33266,12 +33343,24 @@ function formatBanner(info) {
|
|
|
33266
33343
|
const body = lines.map((line) => ` \u2502 ${line.padEnd(maxLen + 2)}\u2502`);
|
|
33267
33344
|
return [top, ...body, bottom].join("\n");
|
|
33268
33345
|
}
|
|
33346
|
+
function isDirectRunPath(entryPath) {
|
|
33347
|
+
if (!entryPath) {
|
|
33348
|
+
return false;
|
|
33349
|
+
}
|
|
33350
|
+
const entryName = entryPath.split(/[/\\]/).pop()?.toLowerCase();
|
|
33351
|
+
if (!entryName) {
|
|
33352
|
+
return false;
|
|
33353
|
+
}
|
|
33354
|
+
return entryName === "meshy" || entryName === "meshy.cmd" || entryName === "main.js" || entryName === "main.cjs" || entryName === "main.ts";
|
|
33355
|
+
}
|
|
33269
33356
|
async function main() {
|
|
33270
33357
|
const args = parseArgs(process.argv.slice(2));
|
|
33271
33358
|
const configPath = args.config ?? "./config.json";
|
|
33272
33359
|
const fileConfig = loadConfigFile(configPath);
|
|
33273
|
-
const
|
|
33274
|
-
const
|
|
33360
|
+
const defaults = createRuntimeDefaultConfig(fileConfig);
|
|
33361
|
+
const resolvedArgs = await promptStartOptions(args, fileConfig, defaults);
|
|
33362
|
+
const config = mergeConfig(defaults, fileConfig, resolvedArgs);
|
|
33363
|
+
persistDefaultNodeName(config.storage.path, config.node.name);
|
|
33275
33364
|
const logDir = nodePath.join(config.storage.path, "logs");
|
|
33276
33365
|
const logger = createLogger({
|
|
33277
33366
|
component: "node",
|
|
@@ -33332,6 +33421,7 @@ async function main() {
|
|
|
33332
33421
|
logger: meshyNode.getLogger(),
|
|
33333
33422
|
config: { apiKey: config.cluster.apiKey },
|
|
33334
33423
|
workDir: meshyNode.getWorkDir(),
|
|
33424
|
+
persistNodeNamePreference: (name) => persistDefaultNodeName(config.storage.path, name),
|
|
33335
33425
|
switchTransport: async (type) => {
|
|
33336
33426
|
return meshyNode.switchTransport(type);
|
|
33337
33427
|
},
|
|
@@ -33407,27 +33497,30 @@ async function main() {
|
|
|
33407
33497
|
process.on("SIGINT", shutdown);
|
|
33408
33498
|
process.on("SIGTERM", shutdown);
|
|
33409
33499
|
}
|
|
33410
|
-
var isDirectRun = typeof process !== "undefined" &&
|
|
33500
|
+
var isDirectRun = typeof process !== "undefined" && isDirectRunPath(process.argv[1]);
|
|
33411
33501
|
if (isDirectRun) {
|
|
33412
33502
|
main().catch((err) => {
|
|
33413
33503
|
console.error("Fatal error:", err);
|
|
33414
33504
|
process.exit(1);
|
|
33415
33505
|
});
|
|
33416
33506
|
}
|
|
33417
|
-
export
|
|
33418
|
-
|
|
33507
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
33508
|
+
0 && (module.exports = {
|
|
33509
|
+
DEFAULT_CONFIG,
|
|
33419
33510
|
DEFAULT_NODE_NAME,
|
|
33420
33511
|
DEFAULT_NODE_PORT,
|
|
33421
33512
|
createDefaultConfig,
|
|
33513
|
+
createRuntimeDefaultConfig,
|
|
33422
33514
|
formatBanner,
|
|
33423
33515
|
getDefaultNodeName,
|
|
33516
|
+
isDirectRunPath,
|
|
33424
33517
|
loadConfigFile,
|
|
33425
33518
|
main,
|
|
33426
33519
|
mergeConfig,
|
|
33427
33520
|
parseArgs,
|
|
33428
33521
|
promptStartOptions,
|
|
33429
33522
|
shouldPromptForStartOptions
|
|
33430
|
-
};
|
|
33523
|
+
});
|
|
33431
33524
|
/*! Bundled license information:
|
|
33432
33525
|
|
|
33433
33526
|
depd/index.js:
|
|
@@ -33733,4 +33826,4 @@ serve-static/index.js:
|
|
|
33733
33826
|
* MIT Licensed
|
|
33734
33827
|
*)
|
|
33735
33828
|
*/
|
|
33736
|
-
//# sourceMappingURL=main.
|
|
33829
|
+
//# sourceMappingURL=main.cjs.map
|