@magda/connector-test-utils 4.2.4-alpha.1 → 5.0.0-alpha.0
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/dist/index.js +1427 -327
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -953,9 +953,9 @@ var require_bytes = __commonJS({
|
|
|
953
953
|
}
|
|
954
954
|
});
|
|
955
955
|
|
|
956
|
-
// ../../node_modules/content-type/index.js
|
|
956
|
+
// ../../node_modules/body-parser/node_modules/content-type/index.js
|
|
957
957
|
var require_content_type = __commonJS({
|
|
958
|
-
"../../node_modules/content-type/index.js"(exports) {
|
|
958
|
+
"../../node_modules/body-parser/node_modules/content-type/index.js"(exports) {
|
|
959
959
|
"use strict";
|
|
960
960
|
init_cjs_shim();
|
|
961
961
|
var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g;
|
|
@@ -998,7 +998,7 @@ var require_content_type = __commonJS({
|
|
|
998
998
|
throw new TypeError("argument string is required to be a string");
|
|
999
999
|
}
|
|
1000
1000
|
var index = header.indexOf(";");
|
|
1001
|
-
var type = index !== -1 ? header.
|
|
1001
|
+
var type = index !== -1 ? header.slice(0, index).trim() : header.trim();
|
|
1002
1002
|
if (!TYPE_REGEXP.test(type)) {
|
|
1003
1003
|
throw new TypeError("invalid media type");
|
|
1004
1004
|
}
|
|
@@ -1015,8 +1015,11 @@ var require_content_type = __commonJS({
|
|
|
1015
1015
|
index += match[0].length;
|
|
1016
1016
|
key = match[1].toLowerCase();
|
|
1017
1017
|
value = match[2];
|
|
1018
|
-
if (value
|
|
1019
|
-
value = value.
|
|
1018
|
+
if (value.charCodeAt(0) === 34) {
|
|
1019
|
+
value = value.slice(1, -1);
|
|
1020
|
+
if (value.indexOf("\\") !== -1) {
|
|
1021
|
+
value = value.replace(QESC_REGEXP, "$1");
|
|
1022
|
+
}
|
|
1020
1023
|
}
|
|
1021
1024
|
obj.parameters[key] = value;
|
|
1022
1025
|
}
|
|
@@ -5505,6 +5508,11 @@ var require_raw_body = __commonJS({
|
|
|
5505
5508
|
function getRawBody(stream, options, callback) {
|
|
5506
5509
|
var done = callback;
|
|
5507
5510
|
var opts = options || {};
|
|
5511
|
+
if (stream === void 0) {
|
|
5512
|
+
throw new TypeError("argument stream is required");
|
|
5513
|
+
} else if (typeof stream !== "object" || stream === null || typeof stream.on !== "function") {
|
|
5514
|
+
throw new TypeError("argument stream must be a stream");
|
|
5515
|
+
}
|
|
5508
5516
|
if (options === true || typeof options === "string") {
|
|
5509
5517
|
opts = {
|
|
5510
5518
|
encoding: options
|
|
@@ -14489,6 +14497,8 @@ var require_json = __commonJS({
|
|
|
14489
14497
|
var typeis = require_type_is();
|
|
14490
14498
|
module2.exports = json;
|
|
14491
14499
|
var FIRST_CHAR_REGEXP = /^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/;
|
|
14500
|
+
var JSON_SYNTAX_CHAR = "#";
|
|
14501
|
+
var JSON_SYNTAX_REGEXP = /#+/g;
|
|
14492
14502
|
function json(options) {
|
|
14493
14503
|
var opts = options || {};
|
|
14494
14504
|
var limit = typeof opts.limit !== "number" ? bytes.parse(opts.limit || "100kb") : opts.limit;
|
|
@@ -14559,13 +14569,21 @@ var require_json = __commonJS({
|
|
|
14559
14569
|
}
|
|
14560
14570
|
function createStrictSyntaxError(str, char) {
|
|
14561
14571
|
var index = str.indexOf(char);
|
|
14562
|
-
var partial =
|
|
14572
|
+
var partial = "";
|
|
14573
|
+
if (index !== -1) {
|
|
14574
|
+
partial = str.substring(0, index) + JSON_SYNTAX_CHAR;
|
|
14575
|
+
for (var i = index + 1; i < str.length; i++) {
|
|
14576
|
+
partial += JSON_SYNTAX_CHAR;
|
|
14577
|
+
}
|
|
14578
|
+
}
|
|
14563
14579
|
try {
|
|
14564
14580
|
JSON.parse(partial);
|
|
14565
14581
|
throw new SyntaxError("strict violation");
|
|
14566
14582
|
} catch (e) {
|
|
14567
14583
|
return normalizeJsonSyntaxError(e, {
|
|
14568
|
-
message: e.message.replace(
|
|
14584
|
+
message: e.message.replace(JSON_SYNTAX_REGEXP, function(placeholder) {
|
|
14585
|
+
return str.substring(index, index + placeholder.length);
|
|
14586
|
+
}),
|
|
14569
14587
|
stack: e.stack
|
|
14570
14588
|
});
|
|
14571
14589
|
}
|
|
@@ -14725,9 +14743,72 @@ var require_text = __commonJS({
|
|
|
14725
14743
|
}
|
|
14726
14744
|
});
|
|
14727
14745
|
|
|
14728
|
-
// ../../node_modules/
|
|
14746
|
+
// ../../node_modules/es-errors/index.js
|
|
14747
|
+
var require_es_errors = __commonJS({
|
|
14748
|
+
"../../node_modules/es-errors/index.js"(exports, module2) {
|
|
14749
|
+
"use strict";
|
|
14750
|
+
init_cjs_shim();
|
|
14751
|
+
module2.exports = Error;
|
|
14752
|
+
}
|
|
14753
|
+
});
|
|
14754
|
+
|
|
14755
|
+
// ../../node_modules/es-errors/eval.js
|
|
14756
|
+
var require_eval = __commonJS({
|
|
14757
|
+
"../../node_modules/es-errors/eval.js"(exports, module2) {
|
|
14758
|
+
"use strict";
|
|
14759
|
+
init_cjs_shim();
|
|
14760
|
+
module2.exports = EvalError;
|
|
14761
|
+
}
|
|
14762
|
+
});
|
|
14763
|
+
|
|
14764
|
+
// ../../node_modules/es-errors/range.js
|
|
14765
|
+
var require_range = __commonJS({
|
|
14766
|
+
"../../node_modules/es-errors/range.js"(exports, module2) {
|
|
14767
|
+
"use strict";
|
|
14768
|
+
init_cjs_shim();
|
|
14769
|
+
module2.exports = RangeError;
|
|
14770
|
+
}
|
|
14771
|
+
});
|
|
14772
|
+
|
|
14773
|
+
// ../../node_modules/es-errors/ref.js
|
|
14774
|
+
var require_ref = __commonJS({
|
|
14775
|
+
"../../node_modules/es-errors/ref.js"(exports, module2) {
|
|
14776
|
+
"use strict";
|
|
14777
|
+
init_cjs_shim();
|
|
14778
|
+
module2.exports = ReferenceError;
|
|
14779
|
+
}
|
|
14780
|
+
});
|
|
14781
|
+
|
|
14782
|
+
// ../../node_modules/es-errors/syntax.js
|
|
14783
|
+
var require_syntax = __commonJS({
|
|
14784
|
+
"../../node_modules/es-errors/syntax.js"(exports, module2) {
|
|
14785
|
+
"use strict";
|
|
14786
|
+
init_cjs_shim();
|
|
14787
|
+
module2.exports = SyntaxError;
|
|
14788
|
+
}
|
|
14789
|
+
});
|
|
14790
|
+
|
|
14791
|
+
// ../../node_modules/es-errors/type.js
|
|
14792
|
+
var require_type = __commonJS({
|
|
14793
|
+
"../../node_modules/es-errors/type.js"(exports, module2) {
|
|
14794
|
+
"use strict";
|
|
14795
|
+
init_cjs_shim();
|
|
14796
|
+
module2.exports = TypeError;
|
|
14797
|
+
}
|
|
14798
|
+
});
|
|
14799
|
+
|
|
14800
|
+
// ../../node_modules/es-errors/uri.js
|
|
14801
|
+
var require_uri = __commonJS({
|
|
14802
|
+
"../../node_modules/es-errors/uri.js"(exports, module2) {
|
|
14803
|
+
"use strict";
|
|
14804
|
+
init_cjs_shim();
|
|
14805
|
+
module2.exports = URIError;
|
|
14806
|
+
}
|
|
14807
|
+
});
|
|
14808
|
+
|
|
14809
|
+
// ../../node_modules/has-symbols/shams.js
|
|
14729
14810
|
var require_shams = __commonJS({
|
|
14730
|
-
"../../node_modules/
|
|
14811
|
+
"../../node_modules/has-symbols/shams.js"(exports, module2) {
|
|
14731
14812
|
"use strict";
|
|
14732
14813
|
init_cjs_shim();
|
|
14733
14814
|
module2.exports = function hasSymbols() {
|
|
@@ -14778,12 +14859,12 @@ var require_shams = __commonJS({
|
|
|
14778
14859
|
}
|
|
14779
14860
|
});
|
|
14780
14861
|
|
|
14781
|
-
// ../../node_modules/
|
|
14862
|
+
// ../../node_modules/has-symbols/index.js
|
|
14782
14863
|
var require_has_symbols = __commonJS({
|
|
14783
|
-
"../../node_modules/
|
|
14864
|
+
"../../node_modules/has-symbols/index.js"(exports, module2) {
|
|
14784
14865
|
"use strict";
|
|
14785
14866
|
init_cjs_shim();
|
|
14786
|
-
var origSymbol =
|
|
14867
|
+
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
14787
14868
|
var hasSymbolSham = require_shams();
|
|
14788
14869
|
module2.exports = function hasNativeSymbols() {
|
|
14789
14870
|
if (typeof origSymbol !== "function") {
|
|
@@ -14803,45 +14884,86 @@ var require_has_symbols = __commonJS({
|
|
|
14803
14884
|
}
|
|
14804
14885
|
});
|
|
14805
14886
|
|
|
14806
|
-
// ../../node_modules/
|
|
14887
|
+
// ../../node_modules/has-proto/index.js
|
|
14888
|
+
var require_has_proto = __commonJS({
|
|
14889
|
+
"../../node_modules/has-proto/index.js"(exports, module2) {
|
|
14890
|
+
"use strict";
|
|
14891
|
+
init_cjs_shim();
|
|
14892
|
+
var test = {
|
|
14893
|
+
foo: {}
|
|
14894
|
+
};
|
|
14895
|
+
var $Object = Object;
|
|
14896
|
+
module2.exports = function hasProto() {
|
|
14897
|
+
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
14898
|
+
};
|
|
14899
|
+
}
|
|
14900
|
+
});
|
|
14901
|
+
|
|
14902
|
+
// ../../node_modules/qs/node_modules/function-bind/implementation.js
|
|
14807
14903
|
var require_implementation = __commonJS({
|
|
14808
|
-
"../../node_modules/function-bind/implementation.js"(exports, module2) {
|
|
14904
|
+
"../../node_modules/qs/node_modules/function-bind/implementation.js"(exports, module2) {
|
|
14809
14905
|
"use strict";
|
|
14810
14906
|
init_cjs_shim();
|
|
14811
14907
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
14812
|
-
var slice = Array.prototype.slice;
|
|
14813
14908
|
var toStr = Object.prototype.toString;
|
|
14909
|
+
var max = Math.max;
|
|
14814
14910
|
var funcType = "[object Function]";
|
|
14911
|
+
var concatty = function concatty2(a, b) {
|
|
14912
|
+
var arr = [];
|
|
14913
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
14914
|
+
arr[i] = a[i];
|
|
14915
|
+
}
|
|
14916
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
14917
|
+
arr[j + a.length] = b[j];
|
|
14918
|
+
}
|
|
14919
|
+
return arr;
|
|
14920
|
+
};
|
|
14921
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
14922
|
+
var arr = [];
|
|
14923
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
14924
|
+
arr[j] = arrLike[i];
|
|
14925
|
+
}
|
|
14926
|
+
return arr;
|
|
14927
|
+
};
|
|
14928
|
+
var joiny = function(arr, joiner) {
|
|
14929
|
+
var str = "";
|
|
14930
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
14931
|
+
str += arr[i];
|
|
14932
|
+
if (i + 1 < arr.length) {
|
|
14933
|
+
str += joiner;
|
|
14934
|
+
}
|
|
14935
|
+
}
|
|
14936
|
+
return str;
|
|
14937
|
+
};
|
|
14815
14938
|
module2.exports = function bind(that) {
|
|
14816
14939
|
var target = this;
|
|
14817
|
-
if (typeof target !== "function" || toStr.
|
|
14940
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
14818
14941
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
14819
14942
|
}
|
|
14820
|
-
var args =
|
|
14943
|
+
var args = slicy(arguments, 1);
|
|
14821
14944
|
var bound;
|
|
14822
14945
|
var binder = function() {
|
|
14823
14946
|
if (this instanceof bound) {
|
|
14824
14947
|
var result = target.apply(
|
|
14825
14948
|
this,
|
|
14826
|
-
args
|
|
14949
|
+
concatty(args, arguments)
|
|
14827
14950
|
);
|
|
14828
14951
|
if (Object(result) === result) {
|
|
14829
14952
|
return result;
|
|
14830
14953
|
}
|
|
14831
14954
|
return this;
|
|
14832
|
-
} else {
|
|
14833
|
-
return target.apply(
|
|
14834
|
-
that,
|
|
14835
|
-
args.concat(slice.call(arguments))
|
|
14836
|
-
);
|
|
14837
14955
|
}
|
|
14956
|
+
return target.apply(
|
|
14957
|
+
that,
|
|
14958
|
+
concatty(args, arguments)
|
|
14959
|
+
);
|
|
14838
14960
|
};
|
|
14839
|
-
var boundLength =
|
|
14961
|
+
var boundLength = max(0, target.length - args.length);
|
|
14840
14962
|
var boundArgs = [];
|
|
14841
14963
|
for (var i = 0; i < boundLength; i++) {
|
|
14842
|
-
boundArgs
|
|
14964
|
+
boundArgs[i] = "$" + i;
|
|
14843
14965
|
}
|
|
14844
|
-
bound = Function("binder", "return function (" + boundArgs
|
|
14966
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
14845
14967
|
if (target.prototype) {
|
|
14846
14968
|
var Empty = function Empty2() {
|
|
14847
14969
|
};
|
|
@@ -14854,9 +14976,9 @@ var require_implementation = __commonJS({
|
|
|
14854
14976
|
}
|
|
14855
14977
|
});
|
|
14856
14978
|
|
|
14857
|
-
// ../../node_modules/function-bind/index.js
|
|
14979
|
+
// ../../node_modules/qs/node_modules/function-bind/index.js
|
|
14858
14980
|
var require_function_bind = __commonJS({
|
|
14859
|
-
"../../node_modules/function-bind/index.js"(exports, module2) {
|
|
14981
|
+
"../../node_modules/qs/node_modules/function-bind/index.js"(exports, module2) {
|
|
14860
14982
|
"use strict";
|
|
14861
14983
|
init_cjs_shim();
|
|
14862
14984
|
var implementation = require_implementation();
|
|
@@ -14864,25 +14986,119 @@ var require_function_bind = __commonJS({
|
|
|
14864
14986
|
}
|
|
14865
14987
|
});
|
|
14866
14988
|
|
|
14867
|
-
// ../../node_modules/
|
|
14868
|
-
var
|
|
14869
|
-
"../../node_modules/
|
|
14989
|
+
// ../../node_modules/hasown/node_modules/function-bind/implementation.js
|
|
14990
|
+
var require_implementation2 = __commonJS({
|
|
14991
|
+
"../../node_modules/hasown/node_modules/function-bind/implementation.js"(exports, module2) {
|
|
14870
14992
|
"use strict";
|
|
14871
14993
|
init_cjs_shim();
|
|
14872
|
-
var
|
|
14873
|
-
|
|
14994
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
14995
|
+
var toStr = Object.prototype.toString;
|
|
14996
|
+
var max = Math.max;
|
|
14997
|
+
var funcType = "[object Function]";
|
|
14998
|
+
var concatty = function concatty2(a, b) {
|
|
14999
|
+
var arr = [];
|
|
15000
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
15001
|
+
arr[i] = a[i];
|
|
15002
|
+
}
|
|
15003
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
15004
|
+
arr[j + a.length] = b[j];
|
|
15005
|
+
}
|
|
15006
|
+
return arr;
|
|
15007
|
+
};
|
|
15008
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
15009
|
+
var arr = [];
|
|
15010
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
15011
|
+
arr[j] = arrLike[i];
|
|
15012
|
+
}
|
|
15013
|
+
return arr;
|
|
15014
|
+
};
|
|
15015
|
+
var joiny = function(arr, joiner) {
|
|
15016
|
+
var str = "";
|
|
15017
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
15018
|
+
str += arr[i];
|
|
15019
|
+
if (i + 1 < arr.length) {
|
|
15020
|
+
str += joiner;
|
|
15021
|
+
}
|
|
15022
|
+
}
|
|
15023
|
+
return str;
|
|
15024
|
+
};
|
|
15025
|
+
module2.exports = function bind(that) {
|
|
15026
|
+
var target = this;
|
|
15027
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
15028
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
15029
|
+
}
|
|
15030
|
+
var args = slicy(arguments, 1);
|
|
15031
|
+
var bound;
|
|
15032
|
+
var binder = function() {
|
|
15033
|
+
if (this instanceof bound) {
|
|
15034
|
+
var result = target.apply(
|
|
15035
|
+
this,
|
|
15036
|
+
concatty(args, arguments)
|
|
15037
|
+
);
|
|
15038
|
+
if (Object(result) === result) {
|
|
15039
|
+
return result;
|
|
15040
|
+
}
|
|
15041
|
+
return this;
|
|
15042
|
+
}
|
|
15043
|
+
return target.apply(
|
|
15044
|
+
that,
|
|
15045
|
+
concatty(args, arguments)
|
|
15046
|
+
);
|
|
15047
|
+
};
|
|
15048
|
+
var boundLength = max(0, target.length - args.length);
|
|
15049
|
+
var boundArgs = [];
|
|
15050
|
+
for (var i = 0; i < boundLength; i++) {
|
|
15051
|
+
boundArgs[i] = "$" + i;
|
|
15052
|
+
}
|
|
15053
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
15054
|
+
if (target.prototype) {
|
|
15055
|
+
var Empty = function Empty2() {
|
|
15056
|
+
};
|
|
15057
|
+
Empty.prototype = target.prototype;
|
|
15058
|
+
bound.prototype = new Empty();
|
|
15059
|
+
Empty.prototype = null;
|
|
15060
|
+
}
|
|
15061
|
+
return bound;
|
|
15062
|
+
};
|
|
14874
15063
|
}
|
|
14875
15064
|
});
|
|
14876
15065
|
|
|
14877
|
-
// ../../node_modules/
|
|
15066
|
+
// ../../node_modules/hasown/node_modules/function-bind/index.js
|
|
15067
|
+
var require_function_bind2 = __commonJS({
|
|
15068
|
+
"../../node_modules/hasown/node_modules/function-bind/index.js"(exports, module2) {
|
|
15069
|
+
"use strict";
|
|
15070
|
+
init_cjs_shim();
|
|
15071
|
+
var implementation = require_implementation2();
|
|
15072
|
+
module2.exports = Function.prototype.bind || implementation;
|
|
15073
|
+
}
|
|
15074
|
+
});
|
|
15075
|
+
|
|
15076
|
+
// ../../node_modules/hasown/index.js
|
|
15077
|
+
var require_hasown = __commonJS({
|
|
15078
|
+
"../../node_modules/hasown/index.js"(exports, module2) {
|
|
15079
|
+
"use strict";
|
|
15080
|
+
init_cjs_shim();
|
|
15081
|
+
var call = Function.prototype.call;
|
|
15082
|
+
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
15083
|
+
var bind = require_function_bind2();
|
|
15084
|
+
module2.exports = bind.call(call, $hasOwn);
|
|
15085
|
+
}
|
|
15086
|
+
});
|
|
15087
|
+
|
|
15088
|
+
// ../../node_modules/qs/node_modules/get-intrinsic/index.js
|
|
14878
15089
|
var require_get_intrinsic = __commonJS({
|
|
14879
|
-
"../../node_modules/
|
|
15090
|
+
"../../node_modules/qs/node_modules/get-intrinsic/index.js"(exports, module2) {
|
|
14880
15091
|
"use strict";
|
|
14881
15092
|
init_cjs_shim();
|
|
14882
15093
|
var undefined2;
|
|
14883
|
-
var $
|
|
15094
|
+
var $Error = require_es_errors();
|
|
15095
|
+
var $EvalError = require_eval();
|
|
15096
|
+
var $RangeError = require_range();
|
|
15097
|
+
var $ReferenceError = require_ref();
|
|
15098
|
+
var $SyntaxError = require_syntax();
|
|
15099
|
+
var $TypeError = require_type();
|
|
15100
|
+
var $URIError = require_uri();
|
|
14884
15101
|
var $Function = Function;
|
|
14885
|
-
var $TypeError = TypeError;
|
|
14886
15102
|
var getEvalledConstructor = function(expressionSyntax) {
|
|
14887
15103
|
try {
|
|
14888
15104
|
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
@@ -14913,16 +15129,18 @@ var require_get_intrinsic = __commonJS({
|
|
|
14913
15129
|
}
|
|
14914
15130
|
}() : throwTypeError;
|
|
14915
15131
|
var hasSymbols = require_has_symbols()();
|
|
14916
|
-
var
|
|
15132
|
+
var hasProto = require_has_proto()();
|
|
15133
|
+
var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
|
|
14917
15134
|
return x.__proto__;
|
|
14918
|
-
};
|
|
15135
|
+
} : null);
|
|
14919
15136
|
var needsEval = {};
|
|
14920
|
-
var TypedArray = typeof Uint8Array === "undefined" ? undefined2 : getProto(Uint8Array);
|
|
15137
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
14921
15138
|
var INTRINSICS = {
|
|
15139
|
+
__proto__: null,
|
|
14922
15140
|
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
14923
15141
|
"%Array%": Array,
|
|
14924
15142
|
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
14925
|
-
"%ArrayIteratorPrototype%": hasSymbols ? getProto([][Symbol.iterator]()) : undefined2,
|
|
15143
|
+
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
14926
15144
|
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
14927
15145
|
"%AsyncFunction%": needsEval,
|
|
14928
15146
|
"%AsyncGenerator%": needsEval,
|
|
@@ -14930,6 +15148,8 @@ var require_get_intrinsic = __commonJS({
|
|
|
14930
15148
|
"%AsyncIteratorPrototype%": needsEval,
|
|
14931
15149
|
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
14932
15150
|
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
15151
|
+
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
15152
|
+
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
14933
15153
|
"%Boolean%": Boolean,
|
|
14934
15154
|
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
14935
15155
|
"%Date%": Date,
|
|
@@ -14937,10 +15157,10 @@ var require_get_intrinsic = __commonJS({
|
|
|
14937
15157
|
"%decodeURIComponent%": decodeURIComponent,
|
|
14938
15158
|
"%encodeURI%": encodeURI,
|
|
14939
15159
|
"%encodeURIComponent%": encodeURIComponent,
|
|
14940
|
-
"%Error%": Error,
|
|
15160
|
+
"%Error%": $Error,
|
|
14941
15161
|
"%eval%": eval,
|
|
14942
15162
|
// eslint-disable-line no-eval
|
|
14943
|
-
"%EvalError%": EvalError,
|
|
15163
|
+
"%EvalError%": $EvalError,
|
|
14944
15164
|
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
14945
15165
|
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
14946
15166
|
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
@@ -14951,10 +15171,10 @@ var require_get_intrinsic = __commonJS({
|
|
|
14951
15171
|
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
14952
15172
|
"%isFinite%": isFinite,
|
|
14953
15173
|
"%isNaN%": isNaN,
|
|
14954
|
-
"%IteratorPrototype%": hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
15174
|
+
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
14955
15175
|
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
14956
15176
|
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
14957
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
15177
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
14958
15178
|
"%Math%": Math,
|
|
14959
15179
|
"%Number%": Number,
|
|
14960
15180
|
"%Object%": Object,
|
|
@@ -14962,15 +15182,15 @@ var require_get_intrinsic = __commonJS({
|
|
|
14962
15182
|
"%parseInt%": parseInt,
|
|
14963
15183
|
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
14964
15184
|
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
14965
|
-
"%RangeError%": RangeError,
|
|
14966
|
-
"%ReferenceError%": ReferenceError,
|
|
15185
|
+
"%RangeError%": $RangeError,
|
|
15186
|
+
"%ReferenceError%": $ReferenceError,
|
|
14967
15187
|
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
14968
15188
|
"%RegExp%": RegExp,
|
|
14969
15189
|
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
14970
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
15190
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
14971
15191
|
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
14972
15192
|
"%String%": String,
|
|
14973
|
-
"%StringIteratorPrototype%": hasSymbols ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
15193
|
+
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
14974
15194
|
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
14975
15195
|
"%SyntaxError%": $SyntaxError,
|
|
14976
15196
|
"%ThrowTypeError%": ThrowTypeError,
|
|
@@ -14980,11 +15200,20 @@ var require_get_intrinsic = __commonJS({
|
|
|
14980
15200
|
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
14981
15201
|
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
14982
15202
|
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
14983
|
-
"%URIError%": URIError,
|
|
15203
|
+
"%URIError%": $URIError,
|
|
14984
15204
|
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
14985
15205
|
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
14986
15206
|
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
14987
15207
|
};
|
|
15208
|
+
if (getProto) {
|
|
15209
|
+
try {
|
|
15210
|
+
null.error;
|
|
15211
|
+
} catch (e) {
|
|
15212
|
+
errorProto = getProto(getProto(e));
|
|
15213
|
+
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
15214
|
+
}
|
|
15215
|
+
}
|
|
15216
|
+
var errorProto;
|
|
14988
15217
|
var doEval = function doEval2(name) {
|
|
14989
15218
|
var value;
|
|
14990
15219
|
if (name === "%AsyncFunction%") {
|
|
@@ -15000,7 +15229,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
15000
15229
|
}
|
|
15001
15230
|
} else if (name === "%AsyncIteratorPrototype%") {
|
|
15002
15231
|
var gen = doEval2("%AsyncGenerator%");
|
|
15003
|
-
if (gen) {
|
|
15232
|
+
if (gen && getProto) {
|
|
15004
15233
|
value = getProto(gen.prototype);
|
|
15005
15234
|
}
|
|
15006
15235
|
}
|
|
@@ -15008,6 +15237,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
15008
15237
|
return value;
|
|
15009
15238
|
};
|
|
15010
15239
|
var LEGACY_ALIASES = {
|
|
15240
|
+
__proto__: null,
|
|
15011
15241
|
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
15012
15242
|
"%ArrayPrototype%": ["Array", "prototype"],
|
|
15013
15243
|
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
@@ -15061,11 +15291,12 @@ var require_get_intrinsic = __commonJS({
|
|
|
15061
15291
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
15062
15292
|
};
|
|
15063
15293
|
var bind = require_function_bind();
|
|
15064
|
-
var hasOwn =
|
|
15294
|
+
var hasOwn = require_hasown();
|
|
15065
15295
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
15066
15296
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
15067
15297
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
15068
15298
|
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
15299
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
15069
15300
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
15070
15301
|
var reEscapeChar = /\\(\\)?/g;
|
|
15071
15302
|
var stringToPath = function stringToPath2(string) {
|
|
@@ -15112,6 +15343,9 @@ var require_get_intrinsic = __commonJS({
|
|
|
15112
15343
|
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
15113
15344
|
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
15114
15345
|
}
|
|
15346
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
15347
|
+
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
15348
|
+
}
|
|
15115
15349
|
var parts = stringToPath(name);
|
|
15116
15350
|
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
15117
15351
|
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
@@ -15166,87 +15400,516 @@ var require_get_intrinsic = __commonJS({
|
|
|
15166
15400
|
}
|
|
15167
15401
|
});
|
|
15168
15402
|
|
|
15169
|
-
// ../../node_modules/
|
|
15170
|
-
var
|
|
15171
|
-
"../../node_modules/
|
|
15403
|
+
// ../../node_modules/es-define-property/node_modules/function-bind/implementation.js
|
|
15404
|
+
var require_implementation3 = __commonJS({
|
|
15405
|
+
"../../node_modules/es-define-property/node_modules/function-bind/implementation.js"(exports, module2) {
|
|
15172
15406
|
"use strict";
|
|
15173
15407
|
init_cjs_shim();
|
|
15174
|
-
|
|
15175
|
-
|
|
15176
|
-
|
|
15408
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
15409
|
+
var toStr = Object.prototype.toString;
|
|
15410
|
+
var max = Math.max;
|
|
15411
|
+
var funcType = "[object Function]";
|
|
15412
|
+
var concatty = function concatty2(a, b) {
|
|
15413
|
+
var arr = [];
|
|
15414
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
15415
|
+
arr[i] = a[i];
|
|
15177
15416
|
}
|
|
15178
|
-
|
|
15179
|
-
|
|
15417
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
15418
|
+
arr[j + a.length] = b[j];
|
|
15180
15419
|
}
|
|
15181
|
-
|
|
15182
|
-
|
|
15183
|
-
|
|
15184
|
-
|
|
15185
|
-
|
|
15420
|
+
return arr;
|
|
15421
|
+
};
|
|
15422
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
15423
|
+
var arr = [];
|
|
15424
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
15425
|
+
arr[j] = arrLike[i];
|
|
15186
15426
|
}
|
|
15187
|
-
|
|
15188
|
-
|
|
15427
|
+
return arr;
|
|
15428
|
+
};
|
|
15429
|
+
var joiny = function(arr, joiner) {
|
|
15430
|
+
var str = "";
|
|
15431
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
15432
|
+
str += arr[i];
|
|
15433
|
+
if (i + 1 < arr.length) {
|
|
15434
|
+
str += joiner;
|
|
15435
|
+
}
|
|
15189
15436
|
}
|
|
15190
|
-
|
|
15191
|
-
|
|
15437
|
+
return str;
|
|
15438
|
+
};
|
|
15439
|
+
module2.exports = function bind(that) {
|
|
15440
|
+
var target = this;
|
|
15441
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
15442
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
15192
15443
|
}
|
|
15193
|
-
var
|
|
15194
|
-
|
|
15195
|
-
|
|
15196
|
-
|
|
15444
|
+
var args = slicy(arguments, 1);
|
|
15445
|
+
var bound;
|
|
15446
|
+
var binder = function() {
|
|
15447
|
+
if (this instanceof bound) {
|
|
15448
|
+
var result = target.apply(
|
|
15449
|
+
this,
|
|
15450
|
+
concatty(args, arguments)
|
|
15451
|
+
);
|
|
15452
|
+
if (Object(result) === result) {
|
|
15453
|
+
return result;
|
|
15454
|
+
}
|
|
15455
|
+
return this;
|
|
15456
|
+
}
|
|
15457
|
+
return target.apply(
|
|
15458
|
+
that,
|
|
15459
|
+
concatty(args, arguments)
|
|
15460
|
+
);
|
|
15461
|
+
};
|
|
15462
|
+
var boundLength = max(0, target.length - args.length);
|
|
15463
|
+
var boundArgs = [];
|
|
15464
|
+
for (var i = 0; i < boundLength; i++) {
|
|
15465
|
+
boundArgs[i] = "$" + i;
|
|
15197
15466
|
}
|
|
15198
|
-
|
|
15199
|
-
|
|
15467
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
15468
|
+
if (target.prototype) {
|
|
15469
|
+
var Empty = function Empty2() {
|
|
15470
|
+
};
|
|
15471
|
+
Empty.prototype = target.prototype;
|
|
15472
|
+
bound.prototype = new Empty();
|
|
15473
|
+
Empty.prototype = null;
|
|
15200
15474
|
}
|
|
15201
|
-
|
|
15202
|
-
|
|
15475
|
+
return bound;
|
|
15476
|
+
};
|
|
15477
|
+
}
|
|
15478
|
+
});
|
|
15479
|
+
|
|
15480
|
+
// ../../node_modules/es-define-property/node_modules/function-bind/index.js
|
|
15481
|
+
var require_function_bind3 = __commonJS({
|
|
15482
|
+
"../../node_modules/es-define-property/node_modules/function-bind/index.js"(exports, module2) {
|
|
15483
|
+
"use strict";
|
|
15484
|
+
init_cjs_shim();
|
|
15485
|
+
var implementation = require_implementation3();
|
|
15486
|
+
module2.exports = Function.prototype.bind || implementation;
|
|
15487
|
+
}
|
|
15488
|
+
});
|
|
15489
|
+
|
|
15490
|
+
// ../../node_modules/es-define-property/node_modules/get-intrinsic/index.js
|
|
15491
|
+
var require_get_intrinsic2 = __commonJS({
|
|
15492
|
+
"../../node_modules/es-define-property/node_modules/get-intrinsic/index.js"(exports, module2) {
|
|
15493
|
+
"use strict";
|
|
15494
|
+
init_cjs_shim();
|
|
15495
|
+
var undefined2;
|
|
15496
|
+
var $Error = require_es_errors();
|
|
15497
|
+
var $EvalError = require_eval();
|
|
15498
|
+
var $RangeError = require_range();
|
|
15499
|
+
var $ReferenceError = require_ref();
|
|
15500
|
+
var $SyntaxError = require_syntax();
|
|
15501
|
+
var $TypeError = require_type();
|
|
15502
|
+
var $URIError = require_uri();
|
|
15503
|
+
var $Function = Function;
|
|
15504
|
+
var getEvalledConstructor = function(expressionSyntax) {
|
|
15505
|
+
try {
|
|
15506
|
+
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
15507
|
+
} catch (e) {
|
|
15203
15508
|
}
|
|
15204
|
-
|
|
15205
|
-
|
|
15206
|
-
|
|
15509
|
+
};
|
|
15510
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
15511
|
+
if ($gOPD) {
|
|
15512
|
+
try {
|
|
15513
|
+
$gOPD({}, "");
|
|
15514
|
+
} catch (e) {
|
|
15515
|
+
$gOPD = null;
|
|
15207
15516
|
}
|
|
15208
|
-
|
|
15209
|
-
|
|
15517
|
+
}
|
|
15518
|
+
var throwTypeError = function() {
|
|
15519
|
+
throw new $TypeError();
|
|
15520
|
+
};
|
|
15521
|
+
var ThrowTypeError = $gOPD ? function() {
|
|
15522
|
+
try {
|
|
15523
|
+
arguments.callee;
|
|
15524
|
+
return throwTypeError;
|
|
15525
|
+
} catch (calleeThrows) {
|
|
15526
|
+
try {
|
|
15527
|
+
return $gOPD(arguments, "callee").get;
|
|
15528
|
+
} catch (gOPDthrows) {
|
|
15529
|
+
return throwTypeError;
|
|
15530
|
+
}
|
|
15210
15531
|
}
|
|
15211
|
-
|
|
15212
|
-
|
|
15213
|
-
|
|
15214
|
-
|
|
15532
|
+
}() : throwTypeError;
|
|
15533
|
+
var hasSymbols = require_has_symbols()();
|
|
15534
|
+
var hasProto = require_has_proto()();
|
|
15535
|
+
var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
|
|
15536
|
+
return x.__proto__;
|
|
15537
|
+
} : null);
|
|
15538
|
+
var needsEval = {};
|
|
15539
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
15540
|
+
var INTRINSICS = {
|
|
15541
|
+
__proto__: null,
|
|
15542
|
+
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
15543
|
+
"%Array%": Array,
|
|
15544
|
+
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
15545
|
+
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
15546
|
+
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
15547
|
+
"%AsyncFunction%": needsEval,
|
|
15548
|
+
"%AsyncGenerator%": needsEval,
|
|
15549
|
+
"%AsyncGeneratorFunction%": needsEval,
|
|
15550
|
+
"%AsyncIteratorPrototype%": needsEval,
|
|
15551
|
+
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
15552
|
+
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
15553
|
+
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
15554
|
+
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
15555
|
+
"%Boolean%": Boolean,
|
|
15556
|
+
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
15557
|
+
"%Date%": Date,
|
|
15558
|
+
"%decodeURI%": decodeURI,
|
|
15559
|
+
"%decodeURIComponent%": decodeURIComponent,
|
|
15560
|
+
"%encodeURI%": encodeURI,
|
|
15561
|
+
"%encodeURIComponent%": encodeURIComponent,
|
|
15562
|
+
"%Error%": $Error,
|
|
15563
|
+
"%eval%": eval,
|
|
15564
|
+
// eslint-disable-line no-eval
|
|
15565
|
+
"%EvalError%": $EvalError,
|
|
15566
|
+
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
15567
|
+
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
15568
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
15569
|
+
"%Function%": $Function,
|
|
15570
|
+
"%GeneratorFunction%": needsEval,
|
|
15571
|
+
"%Int8Array%": typeof Int8Array === "undefined" ? undefined2 : Int8Array,
|
|
15572
|
+
"%Int16Array%": typeof Int16Array === "undefined" ? undefined2 : Int16Array,
|
|
15573
|
+
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
15574
|
+
"%isFinite%": isFinite,
|
|
15575
|
+
"%isNaN%": isNaN,
|
|
15576
|
+
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
15577
|
+
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
15578
|
+
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
15579
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
15580
|
+
"%Math%": Math,
|
|
15581
|
+
"%Number%": Number,
|
|
15582
|
+
"%Object%": Object,
|
|
15583
|
+
"%parseFloat%": parseFloat,
|
|
15584
|
+
"%parseInt%": parseInt,
|
|
15585
|
+
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
15586
|
+
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
15587
|
+
"%RangeError%": $RangeError,
|
|
15588
|
+
"%ReferenceError%": $ReferenceError,
|
|
15589
|
+
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
15590
|
+
"%RegExp%": RegExp,
|
|
15591
|
+
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
15592
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
15593
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
15594
|
+
"%String%": String,
|
|
15595
|
+
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
15596
|
+
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
15597
|
+
"%SyntaxError%": $SyntaxError,
|
|
15598
|
+
"%ThrowTypeError%": ThrowTypeError,
|
|
15599
|
+
"%TypedArray%": TypedArray,
|
|
15600
|
+
"%TypeError%": $TypeError,
|
|
15601
|
+
"%Uint8Array%": typeof Uint8Array === "undefined" ? undefined2 : Uint8Array,
|
|
15602
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
15603
|
+
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
15604
|
+
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
15605
|
+
"%URIError%": $URIError,
|
|
15606
|
+
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
15607
|
+
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
15608
|
+
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
15609
|
+
};
|
|
15610
|
+
if (getProto) {
|
|
15611
|
+
try {
|
|
15612
|
+
null.error;
|
|
15613
|
+
} catch (e) {
|
|
15614
|
+
errorProto = getProto(getProto(e));
|
|
15615
|
+
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
15616
|
+
}
|
|
15617
|
+
}
|
|
15618
|
+
var errorProto;
|
|
15619
|
+
var doEval = function doEval2(name) {
|
|
15620
|
+
var value;
|
|
15621
|
+
if (name === "%AsyncFunction%") {
|
|
15622
|
+
value = getEvalledConstructor("async function () {}");
|
|
15623
|
+
} else if (name === "%GeneratorFunction%") {
|
|
15624
|
+
value = getEvalledConstructor("function* () {}");
|
|
15625
|
+
} else if (name === "%AsyncGeneratorFunction%") {
|
|
15626
|
+
value = getEvalledConstructor("async function* () {}");
|
|
15627
|
+
} else if (name === "%AsyncGenerator%") {
|
|
15628
|
+
var fn = doEval2("%AsyncGeneratorFunction%");
|
|
15629
|
+
if (fn) {
|
|
15630
|
+
value = fn.prototype;
|
|
15631
|
+
}
|
|
15632
|
+
} else if (name === "%AsyncIteratorPrototype%") {
|
|
15633
|
+
var gen = doEval2("%AsyncGenerator%");
|
|
15634
|
+
if (gen && getProto) {
|
|
15635
|
+
value = getProto(gen.prototype);
|
|
15215
15636
|
}
|
|
15216
15637
|
}
|
|
15217
|
-
|
|
15638
|
+
INTRINSICS[name] = value;
|
|
15639
|
+
return value;
|
|
15640
|
+
};
|
|
15641
|
+
var LEGACY_ALIASES = {
|
|
15642
|
+
__proto__: null,
|
|
15643
|
+
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
15644
|
+
"%ArrayPrototype%": ["Array", "prototype"],
|
|
15645
|
+
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
15646
|
+
"%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
|
|
15647
|
+
"%ArrayProto_keys%": ["Array", "prototype", "keys"],
|
|
15648
|
+
"%ArrayProto_values%": ["Array", "prototype", "values"],
|
|
15649
|
+
"%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
|
|
15650
|
+
"%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
|
|
15651
|
+
"%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
|
|
15652
|
+
"%BooleanPrototype%": ["Boolean", "prototype"],
|
|
15653
|
+
"%DataViewPrototype%": ["DataView", "prototype"],
|
|
15654
|
+
"%DatePrototype%": ["Date", "prototype"],
|
|
15655
|
+
"%ErrorPrototype%": ["Error", "prototype"],
|
|
15656
|
+
"%EvalErrorPrototype%": ["EvalError", "prototype"],
|
|
15657
|
+
"%Float32ArrayPrototype%": ["Float32Array", "prototype"],
|
|
15658
|
+
"%Float64ArrayPrototype%": ["Float64Array", "prototype"],
|
|
15659
|
+
"%FunctionPrototype%": ["Function", "prototype"],
|
|
15660
|
+
"%Generator%": ["GeneratorFunction", "prototype"],
|
|
15661
|
+
"%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
|
|
15662
|
+
"%Int8ArrayPrototype%": ["Int8Array", "prototype"],
|
|
15663
|
+
"%Int16ArrayPrototype%": ["Int16Array", "prototype"],
|
|
15664
|
+
"%Int32ArrayPrototype%": ["Int32Array", "prototype"],
|
|
15665
|
+
"%JSONParse%": ["JSON", "parse"],
|
|
15666
|
+
"%JSONStringify%": ["JSON", "stringify"],
|
|
15667
|
+
"%MapPrototype%": ["Map", "prototype"],
|
|
15668
|
+
"%NumberPrototype%": ["Number", "prototype"],
|
|
15669
|
+
"%ObjectPrototype%": ["Object", "prototype"],
|
|
15670
|
+
"%ObjProto_toString%": ["Object", "prototype", "toString"],
|
|
15671
|
+
"%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
|
|
15672
|
+
"%PromisePrototype%": ["Promise", "prototype"],
|
|
15673
|
+
"%PromiseProto_then%": ["Promise", "prototype", "then"],
|
|
15674
|
+
"%Promise_all%": ["Promise", "all"],
|
|
15675
|
+
"%Promise_reject%": ["Promise", "reject"],
|
|
15676
|
+
"%Promise_resolve%": ["Promise", "resolve"],
|
|
15677
|
+
"%RangeErrorPrototype%": ["RangeError", "prototype"],
|
|
15678
|
+
"%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
|
|
15679
|
+
"%RegExpPrototype%": ["RegExp", "prototype"],
|
|
15680
|
+
"%SetPrototype%": ["Set", "prototype"],
|
|
15681
|
+
"%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
|
|
15682
|
+
"%StringPrototype%": ["String", "prototype"],
|
|
15683
|
+
"%SymbolPrototype%": ["Symbol", "prototype"],
|
|
15684
|
+
"%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
|
|
15685
|
+
"%TypedArrayPrototype%": ["TypedArray", "prototype"],
|
|
15686
|
+
"%TypeErrorPrototype%": ["TypeError", "prototype"],
|
|
15687
|
+
"%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
|
|
15688
|
+
"%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
|
|
15689
|
+
"%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
|
|
15690
|
+
"%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
|
|
15691
|
+
"%URIErrorPrototype%": ["URIError", "prototype"],
|
|
15692
|
+
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
15693
|
+
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
15694
|
+
};
|
|
15695
|
+
var bind = require_function_bind3();
|
|
15696
|
+
var hasOwn = require_hasown();
|
|
15697
|
+
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
15698
|
+
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
15699
|
+
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
15700
|
+
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
15701
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
15702
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
15703
|
+
var reEscapeChar = /\\(\\)?/g;
|
|
15704
|
+
var stringToPath = function stringToPath2(string) {
|
|
15705
|
+
var first = $strSlice(string, 0, 1);
|
|
15706
|
+
var last = $strSlice(string, -1);
|
|
15707
|
+
if (first === "%" && last !== "%") {
|
|
15708
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");
|
|
15709
|
+
} else if (last === "%" && first !== "%") {
|
|
15710
|
+
throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");
|
|
15711
|
+
}
|
|
15712
|
+
var result = [];
|
|
15713
|
+
$replace(string, rePropName, function(match, number, quote, subString) {
|
|
15714
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, "$1") : number || match;
|
|
15715
|
+
});
|
|
15716
|
+
return result;
|
|
15717
|
+
};
|
|
15718
|
+
var getBaseIntrinsic = function getBaseIntrinsic2(name, allowMissing) {
|
|
15719
|
+
var intrinsicName = name;
|
|
15720
|
+
var alias;
|
|
15721
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
15722
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
15723
|
+
intrinsicName = "%" + alias[0] + "%";
|
|
15724
|
+
}
|
|
15725
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
15726
|
+
var value = INTRINSICS[intrinsicName];
|
|
15727
|
+
if (value === needsEval) {
|
|
15728
|
+
value = doEval(intrinsicName);
|
|
15729
|
+
}
|
|
15730
|
+
if (typeof value === "undefined" && !allowMissing) {
|
|
15731
|
+
throw new $TypeError("intrinsic " + name + " exists, but is not available. Please file an issue!");
|
|
15732
|
+
}
|
|
15733
|
+
return {
|
|
15734
|
+
alias,
|
|
15735
|
+
name: intrinsicName,
|
|
15736
|
+
value
|
|
15737
|
+
};
|
|
15738
|
+
}
|
|
15739
|
+
throw new $SyntaxError("intrinsic " + name + " does not exist!");
|
|
15740
|
+
};
|
|
15741
|
+
module2.exports = function GetIntrinsic(name, allowMissing) {
|
|
15742
|
+
if (typeof name !== "string" || name.length === 0) {
|
|
15743
|
+
throw new $TypeError("intrinsic name must be a non-empty string");
|
|
15744
|
+
}
|
|
15745
|
+
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
15746
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
15747
|
+
}
|
|
15748
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
15749
|
+
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
15750
|
+
}
|
|
15751
|
+
var parts = stringToPath(name);
|
|
15752
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
15753
|
+
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
15754
|
+
var intrinsicRealName = intrinsic.name;
|
|
15755
|
+
var value = intrinsic.value;
|
|
15756
|
+
var skipFurtherCaching = false;
|
|
15757
|
+
var alias = intrinsic.alias;
|
|
15758
|
+
if (alias) {
|
|
15759
|
+
intrinsicBaseName = alias[0];
|
|
15760
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
15761
|
+
}
|
|
15762
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
15763
|
+
var part = parts[i];
|
|
15764
|
+
var first = $strSlice(part, 0, 1);
|
|
15765
|
+
var last = $strSlice(part, -1);
|
|
15766
|
+
if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
|
|
15767
|
+
throw new $SyntaxError("property names with quotes must have matching quotes");
|
|
15768
|
+
}
|
|
15769
|
+
if (part === "constructor" || !isOwn) {
|
|
15770
|
+
skipFurtherCaching = true;
|
|
15771
|
+
}
|
|
15772
|
+
intrinsicBaseName += "." + part;
|
|
15773
|
+
intrinsicRealName = "%" + intrinsicBaseName + "%";
|
|
15774
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
15775
|
+
value = INTRINSICS[intrinsicRealName];
|
|
15776
|
+
} else if (value != null) {
|
|
15777
|
+
if (!(part in value)) {
|
|
15778
|
+
if (!allowMissing) {
|
|
15779
|
+
throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
|
|
15780
|
+
}
|
|
15781
|
+
return void 0;
|
|
15782
|
+
}
|
|
15783
|
+
if ($gOPD && i + 1 >= parts.length) {
|
|
15784
|
+
var desc = $gOPD(value, part);
|
|
15785
|
+
isOwn = !!desc;
|
|
15786
|
+
if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
|
|
15787
|
+
value = desc.get;
|
|
15788
|
+
} else {
|
|
15789
|
+
value = value[part];
|
|
15790
|
+
}
|
|
15791
|
+
} else {
|
|
15792
|
+
isOwn = hasOwn(value, part);
|
|
15793
|
+
value = value[part];
|
|
15794
|
+
}
|
|
15795
|
+
if (isOwn && !skipFurtherCaching) {
|
|
15796
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
15797
|
+
}
|
|
15798
|
+
}
|
|
15799
|
+
}
|
|
15800
|
+
return value;
|
|
15218
15801
|
};
|
|
15219
15802
|
}
|
|
15220
15803
|
});
|
|
15221
15804
|
|
|
15222
|
-
// ../../node_modules/
|
|
15223
|
-
var
|
|
15224
|
-
"../../node_modules/
|
|
15805
|
+
// ../../node_modules/es-define-property/index.js
|
|
15806
|
+
var require_es_define_property = __commonJS({
|
|
15807
|
+
"../../node_modules/es-define-property/index.js"(exports, module2) {
|
|
15225
15808
|
"use strict";
|
|
15226
15809
|
init_cjs_shim();
|
|
15227
|
-
var
|
|
15228
|
-
var
|
|
15229
|
-
|
|
15230
|
-
|
|
15231
|
-
|
|
15810
|
+
var GetIntrinsic = require_get_intrinsic2();
|
|
15811
|
+
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false;
|
|
15812
|
+
if ($defineProperty) {
|
|
15813
|
+
try {
|
|
15814
|
+
$defineProperty({}, "a", { value: 1 });
|
|
15815
|
+
} catch (e) {
|
|
15816
|
+
$defineProperty = false;
|
|
15232
15817
|
}
|
|
15233
|
-
|
|
15234
|
-
|
|
15818
|
+
}
|
|
15819
|
+
module2.exports = $defineProperty;
|
|
15820
|
+
}
|
|
15821
|
+
});
|
|
15822
|
+
|
|
15823
|
+
// ../../node_modules/get-intrinsic/node_modules/function-bind/implementation.js
|
|
15824
|
+
var require_implementation4 = __commonJS({
|
|
15825
|
+
"../../node_modules/get-intrinsic/node_modules/function-bind/implementation.js"(exports, module2) {
|
|
15826
|
+
"use strict";
|
|
15827
|
+
init_cjs_shim();
|
|
15828
|
+
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
15829
|
+
var toStr = Object.prototype.toString;
|
|
15830
|
+
var max = Math.max;
|
|
15831
|
+
var funcType = "[object Function]";
|
|
15832
|
+
var concatty = function concatty2(a, b) {
|
|
15833
|
+
var arr = [];
|
|
15834
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
15835
|
+
arr[i] = a[i];
|
|
15235
15836
|
}
|
|
15236
|
-
|
|
15237
|
-
|
|
15837
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
15838
|
+
arr[j + a.length] = b[j];
|
|
15238
15839
|
}
|
|
15239
|
-
|
|
15240
|
-
|
|
15840
|
+
return arr;
|
|
15841
|
+
};
|
|
15842
|
+
var slicy = function slicy2(arrLike, offset) {
|
|
15843
|
+
var arr = [];
|
|
15844
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
15845
|
+
arr[j] = arrLike[i];
|
|
15241
15846
|
}
|
|
15242
|
-
return
|
|
15847
|
+
return arr;
|
|
15848
|
+
};
|
|
15849
|
+
var joiny = function(arr, joiner) {
|
|
15850
|
+
var str = "";
|
|
15851
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
15852
|
+
str += arr[i];
|
|
15853
|
+
if (i + 1 < arr.length) {
|
|
15854
|
+
str += joiner;
|
|
15855
|
+
}
|
|
15856
|
+
}
|
|
15857
|
+
return str;
|
|
15858
|
+
};
|
|
15859
|
+
module2.exports = function bind(that) {
|
|
15860
|
+
var target = this;
|
|
15861
|
+
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
15862
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
15863
|
+
}
|
|
15864
|
+
var args = slicy(arguments, 1);
|
|
15865
|
+
var bound;
|
|
15866
|
+
var binder = function() {
|
|
15867
|
+
if (this instanceof bound) {
|
|
15868
|
+
var result = target.apply(
|
|
15869
|
+
this,
|
|
15870
|
+
concatty(args, arguments)
|
|
15871
|
+
);
|
|
15872
|
+
if (Object(result) === result) {
|
|
15873
|
+
return result;
|
|
15874
|
+
}
|
|
15875
|
+
return this;
|
|
15876
|
+
}
|
|
15877
|
+
return target.apply(
|
|
15878
|
+
that,
|
|
15879
|
+
concatty(args, arguments)
|
|
15880
|
+
);
|
|
15881
|
+
};
|
|
15882
|
+
var boundLength = max(0, target.length - args.length);
|
|
15883
|
+
var boundArgs = [];
|
|
15884
|
+
for (var i = 0; i < boundLength; i++) {
|
|
15885
|
+
boundArgs[i] = "$" + i;
|
|
15886
|
+
}
|
|
15887
|
+
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
15888
|
+
if (target.prototype) {
|
|
15889
|
+
var Empty = function Empty2() {
|
|
15890
|
+
};
|
|
15891
|
+
Empty.prototype = target.prototype;
|
|
15892
|
+
bound.prototype = new Empty();
|
|
15893
|
+
Empty.prototype = null;
|
|
15894
|
+
}
|
|
15895
|
+
return bound;
|
|
15243
15896
|
};
|
|
15244
15897
|
}
|
|
15245
15898
|
});
|
|
15246
15899
|
|
|
15247
|
-
// ../../node_modules/
|
|
15248
|
-
var
|
|
15249
|
-
"../../node_modules/
|
|
15900
|
+
// ../../node_modules/get-intrinsic/node_modules/function-bind/index.js
|
|
15901
|
+
var require_function_bind4 = __commonJS({
|
|
15902
|
+
"../../node_modules/get-intrinsic/node_modules/function-bind/index.js"(exports, module2) {
|
|
15903
|
+
"use strict";
|
|
15904
|
+
init_cjs_shim();
|
|
15905
|
+
var implementation = require_implementation4();
|
|
15906
|
+
module2.exports = Function.prototype.bind || implementation;
|
|
15907
|
+
}
|
|
15908
|
+
});
|
|
15909
|
+
|
|
15910
|
+
// ../../node_modules/get-intrinsic/index.js
|
|
15911
|
+
var require_get_intrinsic3 = __commonJS({
|
|
15912
|
+
"../../node_modules/get-intrinsic/index.js"(exports, module2) {
|
|
15250
15913
|
"use strict";
|
|
15251
15914
|
init_cjs_shim();
|
|
15252
15915
|
var undefined2;
|
|
@@ -15282,17 +15945,18 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
15282
15945
|
}
|
|
15283
15946
|
}
|
|
15284
15947
|
}() : throwTypeError;
|
|
15285
|
-
var hasSymbols =
|
|
15286
|
-
var
|
|
15948
|
+
var hasSymbols = require_has_symbols()();
|
|
15949
|
+
var hasProto = require_has_proto()();
|
|
15950
|
+
var getProto = Object.getPrototypeOf || (hasProto ? function(x) {
|
|
15287
15951
|
return x.__proto__;
|
|
15288
|
-
};
|
|
15952
|
+
} : null);
|
|
15289
15953
|
var needsEval = {};
|
|
15290
|
-
var TypedArray = typeof Uint8Array === "undefined" ? undefined2 : getProto(Uint8Array);
|
|
15954
|
+
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
15291
15955
|
var INTRINSICS = {
|
|
15292
15956
|
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
15293
15957
|
"%Array%": Array,
|
|
15294
15958
|
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
15295
|
-
"%ArrayIteratorPrototype%": hasSymbols ? getProto([][Symbol.iterator]()) : undefined2,
|
|
15959
|
+
"%ArrayIteratorPrototype%": hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined2,
|
|
15296
15960
|
"%AsyncFromSyncIteratorPrototype%": undefined2,
|
|
15297
15961
|
"%AsyncFunction%": needsEval,
|
|
15298
15962
|
"%AsyncGenerator%": needsEval,
|
|
@@ -15300,6 +15964,8 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
15300
15964
|
"%AsyncIteratorPrototype%": needsEval,
|
|
15301
15965
|
"%Atomics%": typeof Atomics === "undefined" ? undefined2 : Atomics,
|
|
15302
15966
|
"%BigInt%": typeof BigInt === "undefined" ? undefined2 : BigInt,
|
|
15967
|
+
"%BigInt64Array%": typeof BigInt64Array === "undefined" ? undefined2 : BigInt64Array,
|
|
15968
|
+
"%BigUint64Array%": typeof BigUint64Array === "undefined" ? undefined2 : BigUint64Array,
|
|
15303
15969
|
"%Boolean%": Boolean,
|
|
15304
15970
|
"%DataView%": typeof DataView === "undefined" ? undefined2 : DataView,
|
|
15305
15971
|
"%Date%": Date,
|
|
@@ -15321,10 +15987,10 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
15321
15987
|
"%Int32Array%": typeof Int32Array === "undefined" ? undefined2 : Int32Array,
|
|
15322
15988
|
"%isFinite%": isFinite,
|
|
15323
15989
|
"%isNaN%": isNaN,
|
|
15324
|
-
"%IteratorPrototype%": hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
15990
|
+
"%IteratorPrototype%": hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined2,
|
|
15325
15991
|
"%JSON%": typeof JSON === "object" ? JSON : undefined2,
|
|
15326
15992
|
"%Map%": typeof Map === "undefined" ? undefined2 : Map,
|
|
15327
|
-
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
15993
|
+
"%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
15328
15994
|
"%Math%": Math,
|
|
15329
15995
|
"%Number%": Number,
|
|
15330
15996
|
"%Object%": Object,
|
|
@@ -15337,10 +16003,10 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
15337
16003
|
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
15338
16004
|
"%RegExp%": RegExp,
|
|
15339
16005
|
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
15340
|
-
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
16006
|
+
"%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols || !getProto ? undefined2 : getProto((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
15341
16007
|
"%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined2 : SharedArrayBuffer,
|
|
15342
16008
|
"%String%": String,
|
|
15343
|
-
"%StringIteratorPrototype%": hasSymbols ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
16009
|
+
"%StringIteratorPrototype%": hasSymbols && getProto ? getProto(""[Symbol.iterator]()) : undefined2,
|
|
15344
16010
|
"%Symbol%": hasSymbols ? Symbol : undefined2,
|
|
15345
16011
|
"%SyntaxError%": $SyntaxError,
|
|
15346
16012
|
"%ThrowTypeError%": ThrowTypeError,
|
|
@@ -15355,6 +16021,15 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
15355
16021
|
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
15356
16022
|
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
15357
16023
|
};
|
|
16024
|
+
if (getProto) {
|
|
16025
|
+
try {
|
|
16026
|
+
null.error;
|
|
16027
|
+
} catch (e) {
|
|
16028
|
+
errorProto = getProto(getProto(e));
|
|
16029
|
+
INTRINSICS["%Error.prototype%"] = errorProto;
|
|
16030
|
+
}
|
|
16031
|
+
}
|
|
16032
|
+
var errorProto;
|
|
15358
16033
|
var doEval = function doEval2(name) {
|
|
15359
16034
|
var value;
|
|
15360
16035
|
if (name === "%AsyncFunction%") {
|
|
@@ -15370,7 +16045,7 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
15370
16045
|
}
|
|
15371
16046
|
} else if (name === "%AsyncIteratorPrototype%") {
|
|
15372
16047
|
var gen = doEval2("%AsyncGenerator%");
|
|
15373
|
-
if (gen) {
|
|
16048
|
+
if (gen && getProto) {
|
|
15374
16049
|
value = getProto(gen.prototype);
|
|
15375
16050
|
}
|
|
15376
16051
|
}
|
|
@@ -15430,12 +16105,13 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
15430
16105
|
"%WeakMapPrototype%": ["WeakMap", "prototype"],
|
|
15431
16106
|
"%WeakSetPrototype%": ["WeakSet", "prototype"]
|
|
15432
16107
|
};
|
|
15433
|
-
var bind =
|
|
15434
|
-
var hasOwn =
|
|
16108
|
+
var bind = require_function_bind4();
|
|
16109
|
+
var hasOwn = require_hasown();
|
|
15435
16110
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
15436
16111
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
15437
16112
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
15438
16113
|
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
16114
|
+
var $exec = bind.call(Function.call, RegExp.prototype.exec);
|
|
15439
16115
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
15440
16116
|
var reEscapeChar = /\\(\\)?/g;
|
|
15441
16117
|
var stringToPath = function stringToPath2(string) {
|
|
@@ -15482,6 +16158,9 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
15482
16158
|
if (arguments.length > 1 && typeof allowMissing !== "boolean") {
|
|
15483
16159
|
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
15484
16160
|
}
|
|
16161
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
16162
|
+
throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
16163
|
+
}
|
|
15485
16164
|
var parts = stringToPath(name);
|
|
15486
16165
|
var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
|
|
15487
16166
|
var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
|
|
@@ -15536,39 +16215,174 @@ var require_get_intrinsic2 = __commonJS({
|
|
|
15536
16215
|
}
|
|
15537
16216
|
});
|
|
15538
16217
|
|
|
15539
|
-
// ../../node_modules/
|
|
15540
|
-
var
|
|
15541
|
-
"../../node_modules/
|
|
16218
|
+
// ../../node_modules/gopd/index.js
|
|
16219
|
+
var require_gopd = __commonJS({
|
|
16220
|
+
"../../node_modules/gopd/index.js"(exports, module2) {
|
|
15542
16221
|
"use strict";
|
|
15543
16222
|
init_cjs_shim();
|
|
15544
|
-
var
|
|
15545
|
-
var GetIntrinsic = require_get_intrinsic2();
|
|
15546
|
-
var $apply = GetIntrinsic("%Function.prototype.apply%");
|
|
15547
|
-
var $call = GetIntrinsic("%Function.prototype.call%");
|
|
15548
|
-
var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
|
|
16223
|
+
var GetIntrinsic = require_get_intrinsic3();
|
|
15549
16224
|
var $gOPD = GetIntrinsic("%Object.getOwnPropertyDescriptor%", true);
|
|
15550
|
-
|
|
15551
|
-
var $max = GetIntrinsic("%Math.max%");
|
|
15552
|
-
if ($defineProperty) {
|
|
16225
|
+
if ($gOPD) {
|
|
15553
16226
|
try {
|
|
15554
|
-
$
|
|
16227
|
+
$gOPD([], "length");
|
|
15555
16228
|
} catch (e) {
|
|
15556
|
-
$
|
|
16229
|
+
$gOPD = null;
|
|
15557
16230
|
}
|
|
15558
16231
|
}
|
|
15559
|
-
module2.exports =
|
|
15560
|
-
|
|
15561
|
-
|
|
15562
|
-
|
|
15563
|
-
|
|
15564
|
-
|
|
15565
|
-
|
|
16232
|
+
module2.exports = $gOPD;
|
|
16233
|
+
}
|
|
16234
|
+
});
|
|
16235
|
+
|
|
16236
|
+
// ../../node_modules/qs/node_modules/define-data-property/index.js
|
|
16237
|
+
var require_define_data_property = __commonJS({
|
|
16238
|
+
"../../node_modules/qs/node_modules/define-data-property/index.js"(exports, module2) {
|
|
16239
|
+
"use strict";
|
|
16240
|
+
init_cjs_shim();
|
|
16241
|
+
var $defineProperty = require_es_define_property();
|
|
16242
|
+
var $SyntaxError = require_syntax();
|
|
16243
|
+
var $TypeError = require_type();
|
|
16244
|
+
var gopd = require_gopd();
|
|
16245
|
+
module2.exports = function defineDataProperty(obj, property, value) {
|
|
16246
|
+
if (!obj || typeof obj !== "object" && typeof obj !== "function") {
|
|
16247
|
+
throw new $TypeError("`obj` must be an object or a function`");
|
|
16248
|
+
}
|
|
16249
|
+
if (typeof property !== "string" && typeof property !== "symbol") {
|
|
16250
|
+
throw new $TypeError("`property` must be a string or a symbol`");
|
|
16251
|
+
}
|
|
16252
|
+
if (arguments.length > 3 && typeof arguments[3] !== "boolean" && arguments[3] !== null) {
|
|
16253
|
+
throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");
|
|
16254
|
+
}
|
|
16255
|
+
if (arguments.length > 4 && typeof arguments[4] !== "boolean" && arguments[4] !== null) {
|
|
16256
|
+
throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");
|
|
16257
|
+
}
|
|
16258
|
+
if (arguments.length > 5 && typeof arguments[5] !== "boolean" && arguments[5] !== null) {
|
|
16259
|
+
throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");
|
|
16260
|
+
}
|
|
16261
|
+
if (arguments.length > 6 && typeof arguments[6] !== "boolean") {
|
|
16262
|
+
throw new $TypeError("`loose`, if provided, must be a boolean");
|
|
16263
|
+
}
|
|
16264
|
+
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
16265
|
+
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
16266
|
+
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
16267
|
+
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
16268
|
+
var desc = !!gopd && gopd(obj, property);
|
|
16269
|
+
if ($defineProperty) {
|
|
16270
|
+
$defineProperty(obj, property, {
|
|
16271
|
+
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
16272
|
+
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
16273
|
+
value,
|
|
16274
|
+
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
16275
|
+
});
|
|
16276
|
+
} else if (loose || !nonEnumerable && !nonWritable && !nonConfigurable) {
|
|
16277
|
+
obj[property] = value;
|
|
16278
|
+
} else {
|
|
16279
|
+
throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
16280
|
+
}
|
|
16281
|
+
};
|
|
16282
|
+
}
|
|
16283
|
+
});
|
|
16284
|
+
|
|
16285
|
+
// ../../node_modules/qs/node_modules/has-property-descriptors/index.js
|
|
16286
|
+
var require_has_property_descriptors = __commonJS({
|
|
16287
|
+
"../../node_modules/qs/node_modules/has-property-descriptors/index.js"(exports, module2) {
|
|
16288
|
+
"use strict";
|
|
16289
|
+
init_cjs_shim();
|
|
16290
|
+
var $defineProperty = require_es_define_property();
|
|
16291
|
+
var hasPropertyDescriptors = function hasPropertyDescriptors2() {
|
|
16292
|
+
return !!$defineProperty;
|
|
16293
|
+
};
|
|
16294
|
+
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
16295
|
+
if (!$defineProperty) {
|
|
16296
|
+
return null;
|
|
16297
|
+
}
|
|
16298
|
+
try {
|
|
16299
|
+
return $defineProperty([], "length", { value: 1 }).length !== 1;
|
|
16300
|
+
} catch (e) {
|
|
16301
|
+
return true;
|
|
16302
|
+
}
|
|
16303
|
+
};
|
|
16304
|
+
module2.exports = hasPropertyDescriptors;
|
|
16305
|
+
}
|
|
16306
|
+
});
|
|
16307
|
+
|
|
16308
|
+
// ../../node_modules/qs/node_modules/set-function-length/index.js
|
|
16309
|
+
var require_set_function_length = __commonJS({
|
|
16310
|
+
"../../node_modules/qs/node_modules/set-function-length/index.js"(exports, module2) {
|
|
16311
|
+
"use strict";
|
|
16312
|
+
init_cjs_shim();
|
|
16313
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
16314
|
+
var define2 = require_define_data_property();
|
|
16315
|
+
var hasDescriptors = require_has_property_descriptors()();
|
|
16316
|
+
var gOPD = require_gopd();
|
|
16317
|
+
var $TypeError = require_type();
|
|
16318
|
+
var $floor = GetIntrinsic("%Math.floor%");
|
|
16319
|
+
module2.exports = function setFunctionLength(fn, length) {
|
|
16320
|
+
if (typeof fn !== "function") {
|
|
16321
|
+
throw new $TypeError("`fn` is not a function");
|
|
16322
|
+
}
|
|
16323
|
+
if (typeof length !== "number" || length < 0 || length > 4294967295 || $floor(length) !== length) {
|
|
16324
|
+
throw new $TypeError("`length` must be a positive 32-bit integer");
|
|
16325
|
+
}
|
|
16326
|
+
var loose = arguments.length > 2 && !!arguments[2];
|
|
16327
|
+
var functionLengthIsConfigurable = true;
|
|
16328
|
+
var functionLengthIsWritable = true;
|
|
16329
|
+
if ("length" in fn && gOPD) {
|
|
16330
|
+
var desc = gOPD(fn, "length");
|
|
16331
|
+
if (desc && !desc.configurable) {
|
|
16332
|
+
functionLengthIsConfigurable = false;
|
|
16333
|
+
}
|
|
16334
|
+
if (desc && !desc.writable) {
|
|
16335
|
+
functionLengthIsWritable = false;
|
|
16336
|
+
}
|
|
16337
|
+
}
|
|
16338
|
+
if (functionLengthIsConfigurable || functionLengthIsWritable || !loose) {
|
|
16339
|
+
if (hasDescriptors) {
|
|
16340
|
+
define2(
|
|
16341
|
+
/** @type {Parameters<define>[0]} */
|
|
16342
|
+
fn,
|
|
15566
16343
|
"length",
|
|
15567
|
-
|
|
16344
|
+
length,
|
|
16345
|
+
true,
|
|
16346
|
+
true
|
|
16347
|
+
);
|
|
16348
|
+
} else {
|
|
16349
|
+
define2(
|
|
16350
|
+
/** @type {Parameters<define>[0]} */
|
|
16351
|
+
fn,
|
|
16352
|
+
"length",
|
|
16353
|
+
length
|
|
15568
16354
|
);
|
|
15569
16355
|
}
|
|
15570
16356
|
}
|
|
15571
|
-
return
|
|
16357
|
+
return fn;
|
|
16358
|
+
};
|
|
16359
|
+
}
|
|
16360
|
+
});
|
|
16361
|
+
|
|
16362
|
+
// ../../node_modules/qs/node_modules/call-bind/index.js
|
|
16363
|
+
var require_call_bind = __commonJS({
|
|
16364
|
+
"../../node_modules/qs/node_modules/call-bind/index.js"(exports, module2) {
|
|
16365
|
+
"use strict";
|
|
16366
|
+
init_cjs_shim();
|
|
16367
|
+
var bind = require_function_bind();
|
|
16368
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
16369
|
+
var setFunctionLength = require_set_function_length();
|
|
16370
|
+
var $TypeError = require_type();
|
|
16371
|
+
var $apply = GetIntrinsic("%Function.prototype.apply%");
|
|
16372
|
+
var $call = GetIntrinsic("%Function.prototype.call%");
|
|
16373
|
+
var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
|
|
16374
|
+
var $defineProperty = require_es_define_property();
|
|
16375
|
+
var $max = GetIntrinsic("%Math.max%");
|
|
16376
|
+
module2.exports = function callBind(originalFunction) {
|
|
16377
|
+
if (typeof originalFunction !== "function") {
|
|
16378
|
+
throw new $TypeError("a function is required");
|
|
16379
|
+
}
|
|
16380
|
+
var func = $reflectApply(bind, $call, arguments);
|
|
16381
|
+
return setFunctionLength(
|
|
16382
|
+
func,
|
|
16383
|
+
1 + $max(0, originalFunction.length - (arguments.length - 1)),
|
|
16384
|
+
true
|
|
16385
|
+
);
|
|
15572
16386
|
};
|
|
15573
16387
|
var applyBind = function applyBind2() {
|
|
15574
16388
|
return $reflectApply(bind, $apply, arguments);
|
|
@@ -15581,12 +16395,12 @@ var require_call_bind = __commonJS({
|
|
|
15581
16395
|
}
|
|
15582
16396
|
});
|
|
15583
16397
|
|
|
15584
|
-
// ../../node_modules/call-bind/callBound.js
|
|
16398
|
+
// ../../node_modules/qs/node_modules/call-bind/callBound.js
|
|
15585
16399
|
var require_callBound = __commonJS({
|
|
15586
|
-
"../../node_modules/call-bind/callBound.js"(exports, module2) {
|
|
16400
|
+
"../../node_modules/qs/node_modules/call-bind/callBound.js"(exports, module2) {
|
|
15587
16401
|
"use strict";
|
|
15588
16402
|
init_cjs_shim();
|
|
15589
|
-
var GetIntrinsic =
|
|
16403
|
+
var GetIntrinsic = require_get_intrinsic();
|
|
15590
16404
|
var callBind = require_call_bind();
|
|
15591
16405
|
var $indexOf = callBind(GetIntrinsic("String.prototype.indexOf"));
|
|
15592
16406
|
module2.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
@@ -15599,17 +16413,17 @@ var require_callBound = __commonJS({
|
|
|
15599
16413
|
}
|
|
15600
16414
|
});
|
|
15601
16415
|
|
|
15602
|
-
// ../../node_modules/object-inspect/util.inspect.js
|
|
16416
|
+
// ../../node_modules/qs/node_modules/object-inspect/util.inspect.js
|
|
15603
16417
|
var require_util_inspect = __commonJS({
|
|
15604
|
-
"../../node_modules/object-inspect/util.inspect.js"(exports, module2) {
|
|
16418
|
+
"../../node_modules/qs/node_modules/object-inspect/util.inspect.js"(exports, module2) {
|
|
15605
16419
|
init_cjs_shim();
|
|
15606
16420
|
module2.exports = __require("util").inspect;
|
|
15607
16421
|
}
|
|
15608
16422
|
});
|
|
15609
16423
|
|
|
15610
|
-
// ../../node_modules/object-inspect/index.js
|
|
16424
|
+
// ../../node_modules/qs/node_modules/object-inspect/index.js
|
|
15611
16425
|
var require_object_inspect = __commonJS({
|
|
15612
|
-
"../../node_modules/object-inspect/index.js"(exports, module2) {
|
|
16426
|
+
"../../node_modules/qs/node_modules/object-inspect/index.js"(exports, module2) {
|
|
15613
16427
|
init_cjs_shim();
|
|
15614
16428
|
var hasMap = typeof Map === "function" && Map.prototype;
|
|
15615
16429
|
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null;
|
|
@@ -15662,8 +16476,9 @@ var require_object_inspect = __commonJS({
|
|
|
15662
16476
|
}
|
|
15663
16477
|
return $replace.call(str, sepRegex, "$&_");
|
|
15664
16478
|
}
|
|
15665
|
-
var
|
|
15666
|
-
var
|
|
16479
|
+
var utilInspect = require_util_inspect();
|
|
16480
|
+
var inspectCustom = utilInspect.custom;
|
|
16481
|
+
var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;
|
|
15667
16482
|
module2.exports = function inspect_(obj, options, depth, seen) {
|
|
15668
16483
|
var opts = options || {};
|
|
15669
16484
|
if (has(opts, "quoteStyle") && (opts.quoteStyle !== "single" && opts.quoteStyle !== "double")) {
|
|
@@ -15735,7 +16550,7 @@ var require_object_inspect = __commonJS({
|
|
|
15735
16550
|
}
|
|
15736
16551
|
return inspect_(value, opts, depth + 1, seen);
|
|
15737
16552
|
}
|
|
15738
|
-
if (typeof obj === "function") {
|
|
16553
|
+
if (typeof obj === "function" && !isRegExp(obj)) {
|
|
15739
16554
|
var name = nameOf(obj);
|
|
15740
16555
|
var keys = arrObjKeys(obj, inspect);
|
|
15741
16556
|
return "[Function" + (name ? ": " + name : " (anonymous)") + "]" + (keys.length > 0 ? " { " + $join.call(keys, ", ") + " }" : "");
|
|
@@ -15769,7 +16584,7 @@ var require_object_inspect = __commonJS({
|
|
|
15769
16584
|
}
|
|
15770
16585
|
if (isError(obj)) {
|
|
15771
16586
|
var parts = arrObjKeys(obj, inspect);
|
|
15772
|
-
if ("cause" in obj && !isEnumerable.call(obj, "cause")) {
|
|
16587
|
+
if (!("cause" in Error.prototype) && "cause" in obj && !isEnumerable.call(obj, "cause")) {
|
|
15773
16588
|
return "{ [" + String(obj) + "] " + $join.call($concat.call("[cause]: " + inspect(obj.cause), parts), ", ") + " }";
|
|
15774
16589
|
}
|
|
15775
16590
|
if (parts.length === 0) {
|
|
@@ -15778,24 +16593,28 @@ var require_object_inspect = __commonJS({
|
|
|
15778
16593
|
return "{ [" + String(obj) + "] " + $join.call(parts, ", ") + " }";
|
|
15779
16594
|
}
|
|
15780
16595
|
if (typeof obj === "object" && customInspect) {
|
|
15781
|
-
if (inspectSymbol && typeof obj[inspectSymbol] === "function") {
|
|
15782
|
-
return obj
|
|
16596
|
+
if (inspectSymbol && typeof obj[inspectSymbol] === "function" && utilInspect) {
|
|
16597
|
+
return utilInspect(obj, { depth: maxDepth - depth });
|
|
15783
16598
|
} else if (customInspect !== "symbol" && typeof obj.inspect === "function") {
|
|
15784
16599
|
return obj.inspect();
|
|
15785
16600
|
}
|
|
15786
16601
|
}
|
|
15787
16602
|
if (isMap(obj)) {
|
|
15788
16603
|
var mapParts = [];
|
|
15789
|
-
|
|
15790
|
-
|
|
15791
|
-
|
|
16604
|
+
if (mapForEach) {
|
|
16605
|
+
mapForEach.call(obj, function(value, key) {
|
|
16606
|
+
mapParts.push(inspect(key, obj, true) + " => " + inspect(value, obj));
|
|
16607
|
+
});
|
|
16608
|
+
}
|
|
15792
16609
|
return collectionOf("Map", mapSize.call(obj), mapParts, indent);
|
|
15793
16610
|
}
|
|
15794
16611
|
if (isSet(obj)) {
|
|
15795
16612
|
var setParts = [];
|
|
15796
|
-
|
|
15797
|
-
|
|
15798
|
-
|
|
16613
|
+
if (setForEach) {
|
|
16614
|
+
setForEach.call(obj, function(value) {
|
|
16615
|
+
setParts.push(inspect(value, obj));
|
|
16616
|
+
});
|
|
16617
|
+
}
|
|
15799
16618
|
return collectionOf("Set", setSize.call(obj), setParts, indent);
|
|
15800
16619
|
}
|
|
15801
16620
|
if (isWeakMap(obj)) {
|
|
@@ -15819,6 +16638,12 @@ var require_object_inspect = __commonJS({
|
|
|
15819
16638
|
if (isString(obj)) {
|
|
15820
16639
|
return markBoxed(inspect(String(obj)));
|
|
15821
16640
|
}
|
|
16641
|
+
if (typeof window !== "undefined" && obj === window) {
|
|
16642
|
+
return "{ [object Window] }";
|
|
16643
|
+
}
|
|
16644
|
+
if (obj === global) {
|
|
16645
|
+
return "{ [object globalThis] }";
|
|
16646
|
+
}
|
|
15822
16647
|
if (!isDate(obj) && !isRegExp(obj)) {
|
|
15823
16648
|
var ys = arrObjKeys(obj, inspect);
|
|
15824
16649
|
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
@@ -16112,15 +16937,15 @@ var require_object_inspect = __commonJS({
|
|
|
16112
16937
|
}
|
|
16113
16938
|
});
|
|
16114
16939
|
|
|
16115
|
-
// ../../node_modules/side-channel/index.js
|
|
16940
|
+
// ../../node_modules/qs/node_modules/side-channel/index.js
|
|
16116
16941
|
var require_side_channel = __commonJS({
|
|
16117
|
-
"../../node_modules/side-channel/index.js"(exports, module2) {
|
|
16942
|
+
"../../node_modules/qs/node_modules/side-channel/index.js"(exports, module2) {
|
|
16118
16943
|
"use strict";
|
|
16119
16944
|
init_cjs_shim();
|
|
16120
16945
|
var GetIntrinsic = require_get_intrinsic();
|
|
16121
16946
|
var callBound = require_callBound();
|
|
16122
16947
|
var inspect = require_object_inspect();
|
|
16123
|
-
var $TypeError =
|
|
16948
|
+
var $TypeError = require_type();
|
|
16124
16949
|
var $WeakMap = GetIntrinsic("%WeakMap%", true);
|
|
16125
16950
|
var $Map = GetIntrinsic("%Map%", true);
|
|
16126
16951
|
var $weakMapGet = callBound("WeakMap.prototype.get", true);
|
|
@@ -16130,10 +16955,13 @@ var require_side_channel = __commonJS({
|
|
|
16130
16955
|
var $mapSet = callBound("Map.prototype.set", true);
|
|
16131
16956
|
var $mapHas = callBound("Map.prototype.has", true);
|
|
16132
16957
|
var listGetNode = function(list, key) {
|
|
16133
|
-
|
|
16958
|
+
var prev = list;
|
|
16959
|
+
var curr;
|
|
16960
|
+
for (; (curr = prev.next) !== null; prev = curr) {
|
|
16134
16961
|
if (curr.key === key) {
|
|
16135
16962
|
prev.next = curr.next;
|
|
16136
|
-
curr.next = list.next
|
|
16963
|
+
curr.next = /** @type {NonNullable<typeof list.next>} */
|
|
16964
|
+
list.next;
|
|
16137
16965
|
list.next = curr;
|
|
16138
16966
|
return curr;
|
|
16139
16967
|
}
|
|
@@ -16148,8 +16976,9 @@ var require_side_channel = __commonJS({
|
|
|
16148
16976
|
if (node) {
|
|
16149
16977
|
node.value = value;
|
|
16150
16978
|
} else {
|
|
16151
|
-
objects.next = {
|
|
16152
|
-
|
|
16979
|
+
objects.next = /** @type {import('.').ListNode<typeof value>} */
|
|
16980
|
+
{
|
|
16981
|
+
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
16153
16982
|
key,
|
|
16154
16983
|
next: objects.next,
|
|
16155
16984
|
value
|
|
@@ -16355,6 +17184,7 @@ var require_utils = __commonJS({
|
|
|
16355
17184
|
return strWithoutPlus;
|
|
16356
17185
|
}
|
|
16357
17186
|
};
|
|
17187
|
+
var limit = 1024;
|
|
16358
17188
|
var encode = function encode2(str, defaultEncoder, charset, kind, format) {
|
|
16359
17189
|
if (str.length === 0) {
|
|
16360
17190
|
return str;
|
|
@@ -16371,27 +17201,32 @@ var require_utils = __commonJS({
|
|
|
16371
17201
|
});
|
|
16372
17202
|
}
|
|
16373
17203
|
var out = "";
|
|
16374
|
-
for (var
|
|
16375
|
-
var
|
|
16376
|
-
|
|
16377
|
-
|
|
16378
|
-
|
|
16379
|
-
|
|
16380
|
-
|
|
16381
|
-
|
|
16382
|
-
|
|
16383
|
-
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
|
|
16387
|
-
|
|
16388
|
-
|
|
16389
|
-
|
|
16390
|
-
|
|
17204
|
+
for (var j = 0; j < string.length; j += limit) {
|
|
17205
|
+
var segment = string.length >= limit ? string.slice(j, j + limit) : string;
|
|
17206
|
+
var arr = [];
|
|
17207
|
+
for (var i = 0; i < segment.length; ++i) {
|
|
17208
|
+
var c = segment.charCodeAt(i);
|
|
17209
|
+
if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || format === formats.RFC1738 && (c === 40 || c === 41)) {
|
|
17210
|
+
arr[arr.length] = segment.charAt(i);
|
|
17211
|
+
continue;
|
|
17212
|
+
}
|
|
17213
|
+
if (c < 128) {
|
|
17214
|
+
arr[arr.length] = hexTable[c];
|
|
17215
|
+
continue;
|
|
17216
|
+
}
|
|
17217
|
+
if (c < 2048) {
|
|
17218
|
+
arr[arr.length] = hexTable[192 | c >> 6] + hexTable[128 | c & 63];
|
|
17219
|
+
continue;
|
|
17220
|
+
}
|
|
17221
|
+
if (c < 55296 || c >= 57344) {
|
|
17222
|
+
arr[arr.length] = hexTable[224 | c >> 12] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
17223
|
+
continue;
|
|
17224
|
+
}
|
|
17225
|
+
i += 1;
|
|
17226
|
+
c = 65536 + ((c & 1023) << 10 | segment.charCodeAt(i) & 1023);
|
|
17227
|
+
arr[arr.length] = hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
16391
17228
|
}
|
|
16392
|
-
|
|
16393
|
-
c = 65536 + ((c & 1023) << 10 | string.charCodeAt(i) & 1023);
|
|
16394
|
-
out += hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
17229
|
+
out += arr.join("");
|
|
16395
17230
|
}
|
|
16396
17231
|
return out;
|
|
16397
17232
|
};
|
|
@@ -16473,7 +17308,6 @@ var require_stringify = __commonJS({
|
|
|
16473
17308
|
}
|
|
16474
17309
|
};
|
|
16475
17310
|
var isArray = Array.isArray;
|
|
16476
|
-
var split = String.prototype.split;
|
|
16477
17311
|
var push = Array.prototype.push;
|
|
16478
17312
|
var pushToArray = function(arr, valueOrArray) {
|
|
16479
17313
|
push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
|
|
@@ -16483,10 +17317,13 @@ var require_stringify = __commonJS({
|
|
|
16483
17317
|
var defaults = {
|
|
16484
17318
|
addQueryPrefix: false,
|
|
16485
17319
|
allowDots: false,
|
|
17320
|
+
allowEmptyArrays: false,
|
|
17321
|
+
arrayFormat: "indices",
|
|
16486
17322
|
charset: "utf-8",
|
|
16487
17323
|
charsetSentinel: false,
|
|
16488
17324
|
delimiter: "&",
|
|
16489
17325
|
encode: true,
|
|
17326
|
+
encodeDotInKeys: false,
|
|
16490
17327
|
encoder: utils.encode,
|
|
16491
17328
|
encodeValuesOnly: false,
|
|
16492
17329
|
format: defaultFormat,
|
|
@@ -16503,7 +17340,7 @@ var require_stringify = __commonJS({
|
|
|
16503
17340
|
return typeof v === "string" || typeof v === "number" || typeof v === "boolean" || typeof v === "symbol" || typeof v === "bigint";
|
|
16504
17341
|
};
|
|
16505
17342
|
var sentinel = {};
|
|
16506
|
-
var stringify = function stringify2(object, prefix, generateArrayPrefix, commaRoundTrip, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) {
|
|
17343
|
+
var stringify = function stringify2(object, prefix, generateArrayPrefix, commaRoundTrip, allowEmptyArrays, strictNullHandling, skipNulls, encodeDotInKeys, encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) {
|
|
16507
17344
|
var obj = object;
|
|
16508
17345
|
var tmpSc = sideChannel;
|
|
16509
17346
|
var step = 0;
|
|
@@ -16543,14 +17380,6 @@ var require_stringify = __commonJS({
|
|
|
16543
17380
|
if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
|
|
16544
17381
|
if (encoder) {
|
|
16545
17382
|
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, "key", format);
|
|
16546
|
-
if (generateArrayPrefix === "comma" && encodeValuesOnly) {
|
|
16547
|
-
var valuesArray = split.call(String(obj), ",");
|
|
16548
|
-
var valuesJoined = "";
|
|
16549
|
-
for (var i = 0; i < valuesArray.length; ++i) {
|
|
16550
|
-
valuesJoined += (i === 0 ? "" : ",") + formatter(encoder(valuesArray[i], defaults.encoder, charset, "value", format));
|
|
16551
|
-
}
|
|
16552
|
-
return [formatter(keyValue) + (commaRoundTrip && isArray(obj) && valuesArray.length === 1 ? "[]" : "") + "=" + valuesJoined];
|
|
16553
|
-
}
|
|
16554
17383
|
return [formatter(keyValue) + "=" + formatter(encoder(obj, defaults.encoder, charset, "value", format))];
|
|
16555
17384
|
}
|
|
16556
17385
|
return [formatter(prefix) + "=" + formatter(String(obj))];
|
|
@@ -16561,6 +17390,9 @@ var require_stringify = __commonJS({
|
|
|
16561
17390
|
}
|
|
16562
17391
|
var objKeys;
|
|
16563
17392
|
if (generateArrayPrefix === "comma" && isArray(obj)) {
|
|
17393
|
+
if (encodeValuesOnly && encoder) {
|
|
17394
|
+
obj = utils.maybeMap(obj, encoder);
|
|
17395
|
+
}
|
|
16564
17396
|
objKeys = [{ value: obj.length > 0 ? obj.join(",") || null : void 0 }];
|
|
16565
17397
|
} else if (isArray(filter)) {
|
|
16566
17398
|
objKeys = filter;
|
|
@@ -16568,14 +17400,19 @@ var require_stringify = __commonJS({
|
|
|
16568
17400
|
var keys = Object.keys(obj);
|
|
16569
17401
|
objKeys = sort ? keys.sort(sort) : keys;
|
|
16570
17402
|
}
|
|
16571
|
-
var
|
|
17403
|
+
var encodedPrefix = encodeDotInKeys ? prefix.replace(/\./g, "%2E") : prefix;
|
|
17404
|
+
var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + "[]" : encodedPrefix;
|
|
17405
|
+
if (allowEmptyArrays && isArray(obj) && obj.length === 0) {
|
|
17406
|
+
return adjustedPrefix + "[]";
|
|
17407
|
+
}
|
|
16572
17408
|
for (var j = 0; j < objKeys.length; ++j) {
|
|
16573
17409
|
var key = objKeys[j];
|
|
16574
17410
|
var value = typeof key === "object" && typeof key.value !== "undefined" ? key.value : obj[key];
|
|
16575
17411
|
if (skipNulls && value === null) {
|
|
16576
17412
|
continue;
|
|
16577
17413
|
}
|
|
16578
|
-
var
|
|
17414
|
+
var encodedKey = allowDots && encodeDotInKeys ? key.replace(/\./g, "%2E") : key;
|
|
17415
|
+
var keyPrefix = isArray(obj) ? typeof generateArrayPrefix === "function" ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix : adjustedPrefix + (allowDots ? "." + encodedKey : "[" + encodedKey + "]");
|
|
16579
17416
|
sideChannel.set(object, step);
|
|
16580
17417
|
var valueSideChannel = getSideChannel();
|
|
16581
17418
|
valueSideChannel.set(sentinel, sideChannel);
|
|
@@ -16584,9 +17421,11 @@ var require_stringify = __commonJS({
|
|
|
16584
17421
|
keyPrefix,
|
|
16585
17422
|
generateArrayPrefix,
|
|
16586
17423
|
commaRoundTrip,
|
|
17424
|
+
allowEmptyArrays,
|
|
16587
17425
|
strictNullHandling,
|
|
16588
17426
|
skipNulls,
|
|
16589
|
-
|
|
17427
|
+
encodeDotInKeys,
|
|
17428
|
+
generateArrayPrefix === "comma" && encodeValuesOnly && isArray(obj) ? null : encoder,
|
|
16590
17429
|
filter,
|
|
16591
17430
|
sort,
|
|
16592
17431
|
allowDots,
|
|
@@ -16604,6 +17443,12 @@ var require_stringify = __commonJS({
|
|
|
16604
17443
|
if (!opts) {
|
|
16605
17444
|
return defaults;
|
|
16606
17445
|
}
|
|
17446
|
+
if (typeof opts.allowEmptyArrays !== "undefined" && typeof opts.allowEmptyArrays !== "boolean") {
|
|
17447
|
+
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
17448
|
+
}
|
|
17449
|
+
if (typeof opts.encodeDotInKeys !== "undefined" && typeof opts.encodeDotInKeys !== "boolean") {
|
|
17450
|
+
throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
17451
|
+
}
|
|
16607
17452
|
if (opts.encoder !== null && typeof opts.encoder !== "undefined" && typeof opts.encoder !== "function") {
|
|
16608
17453
|
throw new TypeError("Encoder has to be a function.");
|
|
16609
17454
|
}
|
|
@@ -16623,13 +17468,29 @@ var require_stringify = __commonJS({
|
|
|
16623
17468
|
if (typeof opts.filter === "function" || isArray(opts.filter)) {
|
|
16624
17469
|
filter = opts.filter;
|
|
16625
17470
|
}
|
|
17471
|
+
var arrayFormat;
|
|
17472
|
+
if (opts.arrayFormat in arrayPrefixGenerators) {
|
|
17473
|
+
arrayFormat = opts.arrayFormat;
|
|
17474
|
+
} else if ("indices" in opts) {
|
|
17475
|
+
arrayFormat = opts.indices ? "indices" : "repeat";
|
|
17476
|
+
} else {
|
|
17477
|
+
arrayFormat = defaults.arrayFormat;
|
|
17478
|
+
}
|
|
17479
|
+
if ("commaRoundTrip" in opts && typeof opts.commaRoundTrip !== "boolean") {
|
|
17480
|
+
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
17481
|
+
}
|
|
17482
|
+
var allowDots = typeof opts.allowDots === "undefined" ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
|
|
16626
17483
|
return {
|
|
16627
17484
|
addQueryPrefix: typeof opts.addQueryPrefix === "boolean" ? opts.addQueryPrefix : defaults.addQueryPrefix,
|
|
16628
|
-
allowDots
|
|
17485
|
+
allowDots,
|
|
17486
|
+
allowEmptyArrays: typeof opts.allowEmptyArrays === "boolean" ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
|
|
17487
|
+
arrayFormat,
|
|
16629
17488
|
charset,
|
|
16630
17489
|
charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
17490
|
+
commaRoundTrip: opts.commaRoundTrip,
|
|
16631
17491
|
delimiter: typeof opts.delimiter === "undefined" ? defaults.delimiter : opts.delimiter,
|
|
16632
17492
|
encode: typeof opts.encode === "boolean" ? opts.encode : defaults.encode,
|
|
17493
|
+
encodeDotInKeys: typeof opts.encodeDotInKeys === "boolean" ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
|
|
16633
17494
|
encoder: typeof opts.encoder === "function" ? opts.encoder : defaults.encoder,
|
|
16634
17495
|
encodeValuesOnly: typeof opts.encodeValuesOnly === "boolean" ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
|
|
16635
17496
|
filter,
|
|
@@ -16657,19 +17518,8 @@ var require_stringify = __commonJS({
|
|
|
16657
17518
|
if (typeof obj !== "object" || obj === null) {
|
|
16658
17519
|
return "";
|
|
16659
17520
|
}
|
|
16660
|
-
var arrayFormat;
|
|
16661
|
-
|
|
16662
|
-
arrayFormat = opts.arrayFormat;
|
|
16663
|
-
} else if (opts && "indices" in opts) {
|
|
16664
|
-
arrayFormat = opts.indices ? "indices" : "repeat";
|
|
16665
|
-
} else {
|
|
16666
|
-
arrayFormat = "indices";
|
|
16667
|
-
}
|
|
16668
|
-
var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
|
|
16669
|
-
if (opts && "commaRoundTrip" in opts && typeof opts.commaRoundTrip !== "boolean") {
|
|
16670
|
-
throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
|
|
16671
|
-
}
|
|
16672
|
-
var commaRoundTrip = generateArrayPrefix === "comma" && opts && opts.commaRoundTrip;
|
|
17521
|
+
var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];
|
|
17522
|
+
var commaRoundTrip = generateArrayPrefix === "comma" && options.commaRoundTrip;
|
|
16673
17523
|
if (!objKeys) {
|
|
16674
17524
|
objKeys = Object.keys(obj);
|
|
16675
17525
|
}
|
|
@@ -16687,8 +17537,10 @@ var require_stringify = __commonJS({
|
|
|
16687
17537
|
key,
|
|
16688
17538
|
generateArrayPrefix,
|
|
16689
17539
|
commaRoundTrip,
|
|
17540
|
+
options.allowEmptyArrays,
|
|
16690
17541
|
options.strictNullHandling,
|
|
16691
17542
|
options.skipNulls,
|
|
17543
|
+
options.encodeDotInKeys,
|
|
16692
17544
|
options.encode ? options.encoder : null,
|
|
16693
17545
|
options.filter,
|
|
16694
17546
|
options.sort,
|
|
@@ -16725,20 +17577,24 @@ var require_parse2 = __commonJS({
|
|
|
16725
17577
|
var isArray = Array.isArray;
|
|
16726
17578
|
var defaults = {
|
|
16727
17579
|
allowDots: false,
|
|
17580
|
+
allowEmptyArrays: false,
|
|
16728
17581
|
allowPrototypes: false,
|
|
16729
17582
|
allowSparse: false,
|
|
16730
17583
|
arrayLimit: 20,
|
|
16731
17584
|
charset: "utf-8",
|
|
16732
17585
|
charsetSentinel: false,
|
|
16733
17586
|
comma: false,
|
|
17587
|
+
decodeDotInKeys: false,
|
|
16734
17588
|
decoder: utils.decode,
|
|
16735
17589
|
delimiter: "&",
|
|
16736
17590
|
depth: 5,
|
|
17591
|
+
duplicates: "combine",
|
|
16737
17592
|
ignoreQueryPrefix: false,
|
|
16738
17593
|
interpretNumericEntities: false,
|
|
16739
17594
|
parameterLimit: 1e3,
|
|
16740
17595
|
parseArrays: true,
|
|
16741
17596
|
plainObjects: false,
|
|
17597
|
+
strictDepth: false,
|
|
16742
17598
|
strictNullHandling: false
|
|
16743
17599
|
};
|
|
16744
17600
|
var interpretNumericEntities = function(str) {
|
|
@@ -16755,8 +17611,9 @@ var require_parse2 = __commonJS({
|
|
|
16755
17611
|
var isoSentinel = "utf8=%26%2310003%3B";
|
|
16756
17612
|
var charsetSentinel = "utf8=%E2%9C%93";
|
|
16757
17613
|
var parseValues = function parseQueryStringValues(str, options) {
|
|
16758
|
-
var obj = {};
|
|
17614
|
+
var obj = { __proto__: null };
|
|
16759
17615
|
var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, "") : str;
|
|
17616
|
+
cleanStr = cleanStr.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
16760
17617
|
var limit = options.parameterLimit === Infinity ? void 0 : options.parameterLimit;
|
|
16761
17618
|
var parts = cleanStr.split(options.delimiter, limit);
|
|
16762
17619
|
var skipIndex = -1;
|
|
@@ -16801,9 +17658,10 @@ var require_parse2 = __commonJS({
|
|
|
16801
17658
|
if (part.indexOf("[]=") > -1) {
|
|
16802
17659
|
val = isArray(val) ? [val] : val;
|
|
16803
17660
|
}
|
|
16804
|
-
|
|
17661
|
+
var existing = has.call(obj, key);
|
|
17662
|
+
if (existing && options.duplicates === "combine") {
|
|
16805
17663
|
obj[key] = utils.combine(obj[key], val);
|
|
16806
|
-
} else {
|
|
17664
|
+
} else if (!existing || options.duplicates === "last") {
|
|
16807
17665
|
obj[key] = val;
|
|
16808
17666
|
}
|
|
16809
17667
|
}
|
|
@@ -16815,18 +17673,19 @@ var require_parse2 = __commonJS({
|
|
|
16815
17673
|
var obj;
|
|
16816
17674
|
var root = chain[i];
|
|
16817
17675
|
if (root === "[]" && options.parseArrays) {
|
|
16818
|
-
obj = [].concat(leaf);
|
|
17676
|
+
obj = options.allowEmptyArrays && (leaf === "" || options.strictNullHandling && leaf === null) ? [] : [].concat(leaf);
|
|
16819
17677
|
} else {
|
|
16820
17678
|
obj = options.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
|
|
16821
17679
|
var cleanRoot = root.charAt(0) === "[" && root.charAt(root.length - 1) === "]" ? root.slice(1, -1) : root;
|
|
16822
|
-
var
|
|
16823
|
-
|
|
17680
|
+
var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, ".") : cleanRoot;
|
|
17681
|
+
var index = parseInt(decodedRoot, 10);
|
|
17682
|
+
if (!options.parseArrays && decodedRoot === "") {
|
|
16824
17683
|
obj = { 0: leaf };
|
|
16825
|
-
} else if (!isNaN(index) && root !==
|
|
17684
|
+
} else if (!isNaN(index) && root !== decodedRoot && String(index) === decodedRoot && index >= 0 && (options.parseArrays && index <= options.arrayLimit)) {
|
|
16826
17685
|
obj = [];
|
|
16827
17686
|
obj[index] = leaf;
|
|
16828
|
-
} else if (
|
|
16829
|
-
obj[
|
|
17687
|
+
} else if (decodedRoot !== "__proto__") {
|
|
17688
|
+
obj[decodedRoot] = leaf;
|
|
16830
17689
|
}
|
|
16831
17690
|
}
|
|
16832
17691
|
leaf = obj;
|
|
@@ -16862,6 +17721,9 @@ var require_parse2 = __commonJS({
|
|
|
16862
17721
|
keys.push(segment[1]);
|
|
16863
17722
|
}
|
|
16864
17723
|
if (segment) {
|
|
17724
|
+
if (options.strictDepth === true) {
|
|
17725
|
+
throw new RangeError("Input depth exceeded depth option of " + options.depth + " and strictDepth is true");
|
|
17726
|
+
}
|
|
16865
17727
|
keys.push("[" + key.slice(segment.index) + "]");
|
|
16866
17728
|
}
|
|
16867
17729
|
return parseObject(keys, val, options, valuesParsed);
|
|
@@ -16870,30 +17732,45 @@ var require_parse2 = __commonJS({
|
|
|
16870
17732
|
if (!opts) {
|
|
16871
17733
|
return defaults;
|
|
16872
17734
|
}
|
|
16873
|
-
if (
|
|
17735
|
+
if (typeof opts.allowEmptyArrays !== "undefined" && typeof opts.allowEmptyArrays !== "boolean") {
|
|
17736
|
+
throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
17737
|
+
}
|
|
17738
|
+
if (typeof opts.decodeDotInKeys !== "undefined" && typeof opts.decodeDotInKeys !== "boolean") {
|
|
17739
|
+
throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
|
|
17740
|
+
}
|
|
17741
|
+
if (opts.decoder !== null && typeof opts.decoder !== "undefined" && typeof opts.decoder !== "function") {
|
|
16874
17742
|
throw new TypeError("Decoder has to be a function.");
|
|
16875
17743
|
}
|
|
16876
17744
|
if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
|
|
16877
17745
|
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
16878
17746
|
}
|
|
16879
17747
|
var charset = typeof opts.charset === "undefined" ? defaults.charset : opts.charset;
|
|
17748
|
+
var duplicates = typeof opts.duplicates === "undefined" ? defaults.duplicates : opts.duplicates;
|
|
17749
|
+
if (duplicates !== "combine" && duplicates !== "first" && duplicates !== "last") {
|
|
17750
|
+
throw new TypeError("The duplicates option must be either combine, first, or last");
|
|
17751
|
+
}
|
|
17752
|
+
var allowDots = typeof opts.allowDots === "undefined" ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
|
|
16880
17753
|
return {
|
|
16881
|
-
allowDots
|
|
17754
|
+
allowDots,
|
|
17755
|
+
allowEmptyArrays: typeof opts.allowEmptyArrays === "boolean" ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
|
|
16882
17756
|
allowPrototypes: typeof opts.allowPrototypes === "boolean" ? opts.allowPrototypes : defaults.allowPrototypes,
|
|
16883
17757
|
allowSparse: typeof opts.allowSparse === "boolean" ? opts.allowSparse : defaults.allowSparse,
|
|
16884
17758
|
arrayLimit: typeof opts.arrayLimit === "number" ? opts.arrayLimit : defaults.arrayLimit,
|
|
16885
17759
|
charset,
|
|
16886
17760
|
charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
16887
17761
|
comma: typeof opts.comma === "boolean" ? opts.comma : defaults.comma,
|
|
17762
|
+
decodeDotInKeys: typeof opts.decodeDotInKeys === "boolean" ? opts.decodeDotInKeys : defaults.decodeDotInKeys,
|
|
16888
17763
|
decoder: typeof opts.decoder === "function" ? opts.decoder : defaults.decoder,
|
|
16889
17764
|
delimiter: typeof opts.delimiter === "string" || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
|
|
16890
17765
|
// eslint-disable-next-line no-implicit-coercion, no-extra-parens
|
|
16891
17766
|
depth: typeof opts.depth === "number" || opts.depth === false ? +opts.depth : defaults.depth,
|
|
17767
|
+
duplicates,
|
|
16892
17768
|
ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
|
|
16893
17769
|
interpretNumericEntities: typeof opts.interpretNumericEntities === "boolean" ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
|
|
16894
17770
|
parameterLimit: typeof opts.parameterLimit === "number" ? opts.parameterLimit : defaults.parameterLimit,
|
|
16895
17771
|
parseArrays: opts.parseArrays !== false,
|
|
16896
17772
|
plainObjects: typeof opts.plainObjects === "boolean" ? opts.plainObjects : defaults.plainObjects,
|
|
17773
|
+
strictDepth: typeof opts.strictDepth === "boolean" ? !!opts.strictDepth : defaults.strictDepth,
|
|
16897
17774
|
strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults.strictNullHandling
|
|
16898
17775
|
};
|
|
16899
17776
|
};
|
|
@@ -16958,6 +17835,7 @@ var require_urlencoded = __commonJS({
|
|
|
16958
17835
|
var limit = typeof opts.limit !== "number" ? bytes.parse(opts.limit || "100kb") : opts.limit;
|
|
16959
17836
|
var type = opts.type || "application/x-www-form-urlencoded";
|
|
16960
17837
|
var verify = opts.verify || false;
|
|
17838
|
+
var depth = typeof opts.depth !== "number" ? Number(opts.depth || 32) : opts.depth;
|
|
16961
17839
|
if (verify !== false && typeof verify !== "function") {
|
|
16962
17840
|
throw new TypeError("option verify must be function");
|
|
16963
17841
|
}
|
|
@@ -16998,16 +17876,21 @@ var require_urlencoded = __commonJS({
|
|
|
16998
17876
|
encoding: charset,
|
|
16999
17877
|
inflate,
|
|
17000
17878
|
limit,
|
|
17001
|
-
verify
|
|
17879
|
+
verify,
|
|
17880
|
+
depth
|
|
17002
17881
|
});
|
|
17003
17882
|
};
|
|
17004
17883
|
}
|
|
17005
17884
|
function extendedparser(options) {
|
|
17006
17885
|
var parameterLimit = options.parameterLimit !== void 0 ? options.parameterLimit : 1e3;
|
|
17886
|
+
var depth = typeof options.depth !== "number" ? Number(options.depth || 32) : options.depth;
|
|
17007
17887
|
var parse = parser("qs");
|
|
17008
17888
|
if (isNaN(parameterLimit) || parameterLimit < 1) {
|
|
17009
17889
|
throw new TypeError("option parameterLimit must be a positive number");
|
|
17010
17890
|
}
|
|
17891
|
+
if (isNaN(depth) || depth < 0) {
|
|
17892
|
+
throw new TypeError("option depth must be a zero or a positive number");
|
|
17893
|
+
}
|
|
17011
17894
|
if (isFinite(parameterLimit)) {
|
|
17012
17895
|
parameterLimit = parameterLimit | 0;
|
|
17013
17896
|
}
|
|
@@ -17021,12 +17904,23 @@ var require_urlencoded = __commonJS({
|
|
|
17021
17904
|
}
|
|
17022
17905
|
var arrayLimit = Math.max(100, paramCount);
|
|
17023
17906
|
debug("parse extended urlencoding");
|
|
17024
|
-
|
|
17025
|
-
|
|
17026
|
-
|
|
17027
|
-
|
|
17028
|
-
|
|
17029
|
-
|
|
17907
|
+
try {
|
|
17908
|
+
return parse(body, {
|
|
17909
|
+
allowPrototypes: true,
|
|
17910
|
+
arrayLimit,
|
|
17911
|
+
depth,
|
|
17912
|
+
strictDepth: true,
|
|
17913
|
+
parameterLimit
|
|
17914
|
+
});
|
|
17915
|
+
} catch (err) {
|
|
17916
|
+
if (err instanceof RangeError) {
|
|
17917
|
+
throw createError(400, "The input exceeded the depth", {
|
|
17918
|
+
type: "querystring.parse.rangeError"
|
|
17919
|
+
});
|
|
17920
|
+
} else {
|
|
17921
|
+
throw err;
|
|
17922
|
+
}
|
|
17923
|
+
}
|
|
17030
17924
|
};
|
|
17031
17925
|
}
|
|
17032
17926
|
function getCharset(req) {
|
|
@@ -17629,7 +18523,7 @@ var require_node2 = __commonJS({
|
|
|
17629
18523
|
});
|
|
17630
18524
|
|
|
17631
18525
|
// ../../node_modules/finalhandler/node_modules/debug/src/index.js
|
|
17632
|
-
var
|
|
18526
|
+
var require_src2 = __commonJS({
|
|
17633
18527
|
"../../node_modules/finalhandler/node_modules/debug/src/index.js"(exports, module2) {
|
|
17634
18528
|
init_cjs_shim();
|
|
17635
18529
|
if (typeof process !== "undefined" && process.type === "renderer") {
|
|
@@ -17646,7 +18540,7 @@ var require_encodeurl = __commonJS({
|
|
|
17646
18540
|
"use strict";
|
|
17647
18541
|
init_cjs_shim();
|
|
17648
18542
|
module2.exports = encodeUrl;
|
|
17649
|
-
var ENCODE_CHARS_REGEXP = /(?:[^\x21\
|
|
18543
|
+
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;
|
|
17650
18544
|
var UNMATCHED_SURROGATE_PAIR_REGEXP = /(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g;
|
|
17651
18545
|
var UNMATCHED_SURROGATE_PAIR_REPLACE = "$1\uFFFD$2";
|
|
17652
18546
|
function encodeUrl(url2) {
|
|
@@ -17787,7 +18681,7 @@ var require_finalhandler = __commonJS({
|
|
|
17787
18681
|
"../../node_modules/finalhandler/index.js"(exports, module2) {
|
|
17788
18682
|
"use strict";
|
|
17789
18683
|
init_cjs_shim();
|
|
17790
|
-
var debug =
|
|
18684
|
+
var debug = require_src2()("finalhandler");
|
|
17791
18685
|
var encodeUrl = require_encodeurl();
|
|
17792
18686
|
var escapeHtml = require_escape_html();
|
|
17793
18687
|
var onFinished = require_on_finished();
|
|
@@ -17835,7 +18729,9 @@ var require_finalhandler = __commonJS({
|
|
|
17835
18729
|
}
|
|
17836
18730
|
if (headersSent(res)) {
|
|
17837
18731
|
debug("cannot %d after headers sent", status);
|
|
17838
|
-
req.socket
|
|
18732
|
+
if (req.socket) {
|
|
18733
|
+
req.socket.destroy();
|
|
18734
|
+
}
|
|
17839
18735
|
return;
|
|
17840
18736
|
}
|
|
17841
18737
|
send(req, res, status, headers, msg);
|
|
@@ -17893,7 +18789,9 @@ var require_finalhandler = __commonJS({
|
|
|
17893
18789
|
function write() {
|
|
17894
18790
|
var body = createHtmlDocument(message);
|
|
17895
18791
|
res.statusCode = status;
|
|
17896
|
-
|
|
18792
|
+
if (req.httpVersionMajor < 2) {
|
|
18793
|
+
res.statusMessage = statuses.message[status];
|
|
18794
|
+
}
|
|
17897
18795
|
res.removeHeader("Content-Encoding");
|
|
17898
18796
|
res.removeHeader("Content-Language");
|
|
17899
18797
|
res.removeHeader("Content-Range");
|
|
@@ -18357,7 +19255,7 @@ var require_node3 = __commonJS({
|
|
|
18357
19255
|
});
|
|
18358
19256
|
|
|
18359
19257
|
// ../../node_modules/express/node_modules/debug/src/index.js
|
|
18360
|
-
var
|
|
19258
|
+
var require_src3 = __commonJS({
|
|
18361
19259
|
"../../node_modules/express/node_modules/debug/src/index.js"(exports, module2) {
|
|
18362
19260
|
init_cjs_shim();
|
|
18363
19261
|
if (typeof process !== "undefined" && process.type === "renderer") {
|
|
@@ -18409,23 +19307,28 @@ var require_array_flatten = __commonJS({
|
|
|
18409
19307
|
var require_path_to_regexp = __commonJS({
|
|
18410
19308
|
"../../node_modules/express/node_modules/path-to-regexp/index.js"(exports, module2) {
|
|
18411
19309
|
init_cjs_shim();
|
|
18412
|
-
module2.exports =
|
|
18413
|
-
var MATCHING_GROUP_REGEXP =
|
|
18414
|
-
function
|
|
19310
|
+
module2.exports = pathToRegexp;
|
|
19311
|
+
var MATCHING_GROUP_REGEXP = /\\.|\((?:\?<(.*?)>)?(?!\?)/g;
|
|
19312
|
+
function pathToRegexp(path3, keys, options) {
|
|
18415
19313
|
options = options || {};
|
|
18416
19314
|
keys = keys || [];
|
|
18417
19315
|
var strict = options.strict;
|
|
18418
19316
|
var end = options.end !== false;
|
|
18419
19317
|
var flags = options.sensitive ? "" : "i";
|
|
19318
|
+
var lookahead = options.lookahead !== false;
|
|
18420
19319
|
var extraOffset = 0;
|
|
18421
19320
|
var keysOffset = keys.length;
|
|
18422
19321
|
var i = 0;
|
|
18423
19322
|
var name = 0;
|
|
19323
|
+
var pos = 0;
|
|
19324
|
+
var backtrack = "";
|
|
18424
19325
|
var m;
|
|
18425
19326
|
if (path3 instanceof RegExp) {
|
|
18426
19327
|
while (m = MATCHING_GROUP_REGEXP.exec(path3.source)) {
|
|
19328
|
+
if (m[0][0] === "\\")
|
|
19329
|
+
continue;
|
|
18427
19330
|
keys.push({
|
|
18428
|
-
name: name++,
|
|
19331
|
+
name: m[1] || name++,
|
|
18429
19332
|
optional: false,
|
|
18430
19333
|
offset: m.index
|
|
18431
19334
|
});
|
|
@@ -18434,39 +19337,61 @@ var require_path_to_regexp = __commonJS({
|
|
|
18434
19337
|
}
|
|
18435
19338
|
if (Array.isArray(path3)) {
|
|
18436
19339
|
path3 = path3.map(function(value) {
|
|
18437
|
-
return
|
|
18438
|
-
});
|
|
18439
|
-
return new RegExp("(?:" + path3.join("|") + ")", flags);
|
|
18440
|
-
}
|
|
18441
|
-
path3 = ("^" + path3 + (strict ? "" : path3[path3.length - 1] === "/" ? "?" : "/?")).replace(/\/\(/g, "/(?:").replace(/([\/\.])/g, "\\$1").replace(/(\\\/)?(\\\.)?:(\w+)(\(.*?\))?(\*)?(\?)?/g, function(match, slash, format, key, capture, star, optional, offset) {
|
|
18442
|
-
slash = slash || "";
|
|
18443
|
-
format = format || "";
|
|
18444
|
-
capture = capture || "([^\\/" + format + "]+?)";
|
|
18445
|
-
optional = optional || "";
|
|
18446
|
-
keys.push({
|
|
18447
|
-
name: key,
|
|
18448
|
-
optional: !!optional,
|
|
18449
|
-
offset: offset + extraOffset
|
|
19340
|
+
return pathToRegexp(value, keys, options).source;
|
|
18450
19341
|
});
|
|
18451
|
-
|
|
18452
|
-
|
|
18453
|
-
|
|
18454
|
-
|
|
18455
|
-
|
|
18456
|
-
|
|
18457
|
-
|
|
19342
|
+
return new RegExp(path3.join("|"), flags);
|
|
19343
|
+
}
|
|
19344
|
+
if (typeof path3 !== "string") {
|
|
19345
|
+
throw new TypeError("path must be a string, array of strings, or regular expression");
|
|
19346
|
+
}
|
|
19347
|
+
path3 = path3.replace(
|
|
19348
|
+
/\\.|(\/)?(\.)?:(\w+)(\(.*?\))?(\*)?(\?)?|[.*]|\/\(/g,
|
|
19349
|
+
function(match, slash, format, key, capture, star, optional, offset) {
|
|
19350
|
+
if (match[0] === "\\") {
|
|
19351
|
+
backtrack += match;
|
|
19352
|
+
pos += 2;
|
|
19353
|
+
return match;
|
|
19354
|
+
}
|
|
19355
|
+
if (match === ".") {
|
|
19356
|
+
backtrack += "\\.";
|
|
19357
|
+
extraOffset += 1;
|
|
19358
|
+
pos += 1;
|
|
19359
|
+
return "\\.";
|
|
19360
|
+
}
|
|
19361
|
+
if (slash || format) {
|
|
19362
|
+
backtrack = "";
|
|
19363
|
+
} else {
|
|
19364
|
+
backtrack += path3.slice(pos, offset);
|
|
19365
|
+
}
|
|
19366
|
+
pos = offset + match.length;
|
|
19367
|
+
if (match === "*") {
|
|
19368
|
+
extraOffset += 3;
|
|
19369
|
+
return "(.*)";
|
|
19370
|
+
}
|
|
19371
|
+
if (match === "/(") {
|
|
19372
|
+
backtrack += "/";
|
|
19373
|
+
extraOffset += 2;
|
|
19374
|
+
return "/(?:";
|
|
19375
|
+
}
|
|
19376
|
+
slash = slash || "";
|
|
19377
|
+
format = format ? "\\." : "";
|
|
19378
|
+
optional = optional || "";
|
|
19379
|
+
capture = capture ? capture.replace(/\\.|\*/, function(m2) {
|
|
19380
|
+
return m2 === "*" ? "(.*)" : m2;
|
|
19381
|
+
}) : backtrack ? "((?:(?!/|" + backtrack + ").)+?)" : "([^/" + format + "]+?)";
|
|
19382
|
+
keys.push({
|
|
19383
|
+
name: key,
|
|
19384
|
+
optional: !!optional,
|
|
19385
|
+
offset: offset + extraOffset
|
|
19386
|
+
});
|
|
19387
|
+
var result = "(?:" + format + slash + capture + (star ? "((?:[/" + format + "].+?)?)" : "") + ")" + optional;
|
|
19388
|
+
extraOffset += result.length - match.length;
|
|
19389
|
+
return result;
|
|
18458
19390
|
}
|
|
18459
|
-
|
|
18460
|
-
});
|
|
19391
|
+
);
|
|
18461
19392
|
while (m = MATCHING_GROUP_REGEXP.exec(path3)) {
|
|
18462
|
-
|
|
18463
|
-
var index = m.index;
|
|
18464
|
-
while (path3.charAt(--index) === "\\") {
|
|
18465
|
-
escapeCount++;
|
|
18466
|
-
}
|
|
18467
|
-
if (escapeCount % 2 === 1) {
|
|
19393
|
+
if (m[0][0] === "\\")
|
|
18468
19394
|
continue;
|
|
18469
|
-
}
|
|
18470
19395
|
if (keysOffset + i === keys.length || keys[keysOffset + i].offset > m.index) {
|
|
18471
19396
|
keys.splice(keysOffset + i, 0, {
|
|
18472
19397
|
name: name++,
|
|
@@ -18477,8 +19402,13 @@ var require_path_to_regexp = __commonJS({
|
|
|
18477
19402
|
}
|
|
18478
19403
|
i++;
|
|
18479
19404
|
}
|
|
18480
|
-
path3 +=
|
|
18481
|
-
|
|
19405
|
+
path3 += strict ? "" : path3[path3.length - 1] === "/" ? "?" : "/?";
|
|
19406
|
+
if (end) {
|
|
19407
|
+
path3 += "$";
|
|
19408
|
+
} else if (path3[path3.length - 1] !== "/") {
|
|
19409
|
+
path3 += lookahead ? "(?=/|$)" : "(?:/|$)";
|
|
19410
|
+
}
|
|
19411
|
+
return new RegExp("^" + path3, flags);
|
|
18482
19412
|
}
|
|
18483
19413
|
}
|
|
18484
19414
|
});
|
|
@@ -18489,7 +19419,7 @@ var require_layer = __commonJS({
|
|
|
18489
19419
|
"use strict";
|
|
18490
19420
|
init_cjs_shim();
|
|
18491
19421
|
var pathRegexp = require_path_to_regexp();
|
|
18492
|
-
var debug =
|
|
19422
|
+
var debug = require_src3()("express:router:layer");
|
|
18493
19423
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
18494
19424
|
module2.exports = Layer;
|
|
18495
19425
|
function Layer(path3, options, fn) {
|
|
@@ -18629,7 +19559,7 @@ var require_route = __commonJS({
|
|
|
18629
19559
|
"../../node_modules/express/lib/router/route.js"(exports, module2) {
|
|
18630
19560
|
"use strict";
|
|
18631
19561
|
init_cjs_shim();
|
|
18632
|
-
var debug =
|
|
19562
|
+
var debug = require_src3()("express:router:route");
|
|
18633
19563
|
var flatten = require_array_flatten();
|
|
18634
19564
|
var Layer = require_layer();
|
|
18635
19565
|
var methods = require_methods();
|
|
@@ -18646,7 +19576,7 @@ var require_route = __commonJS({
|
|
|
18646
19576
|
if (this.methods._all) {
|
|
18647
19577
|
return true;
|
|
18648
19578
|
}
|
|
18649
|
-
var name = method.toLowerCase();
|
|
19579
|
+
var name = typeof method === "string" ? method.toLowerCase() : method;
|
|
18650
19580
|
if (name === "head" && !this.methods["head"]) {
|
|
18651
19581
|
name = "get";
|
|
18652
19582
|
}
|
|
@@ -18669,7 +19599,7 @@ var require_route = __commonJS({
|
|
|
18669
19599
|
if (stack.length === 0) {
|
|
18670
19600
|
return done();
|
|
18671
19601
|
}
|
|
18672
|
-
var method = req.method.toLowerCase();
|
|
19602
|
+
var method = typeof req.method === "string" ? req.method.toLowerCase() : req.method;
|
|
18673
19603
|
if (method === "head" && !this.methods["head"]) {
|
|
18674
19604
|
method = "get";
|
|
18675
19605
|
}
|
|
@@ -18761,7 +19691,7 @@ var require_router = __commonJS({
|
|
|
18761
19691
|
var Layer = require_layer();
|
|
18762
19692
|
var methods = require_methods();
|
|
18763
19693
|
var mixin = require_utils_merge();
|
|
18764
|
-
var debug =
|
|
19694
|
+
var debug = require_src3()("express:router");
|
|
18765
19695
|
var deprecate = require_depd()("express");
|
|
18766
19696
|
var flatten = require_array_flatten();
|
|
18767
19697
|
var parseUrl = require_parseurl();
|
|
@@ -19195,7 +20125,7 @@ var require_view = __commonJS({
|
|
|
19195
20125
|
"../../node_modules/express/lib/view.js"(exports, module2) {
|
|
19196
20126
|
"use strict";
|
|
19197
20127
|
init_cjs_shim();
|
|
19198
|
-
var debug =
|
|
20128
|
+
var debug = require_src3()("express:view");
|
|
19199
20129
|
var path3 = __require("path");
|
|
19200
20130
|
var fs = __require("fs");
|
|
19201
20131
|
var dirname2 = path3.dirname;
|
|
@@ -19494,6 +20424,108 @@ var require_content_disposition = __commonJS({
|
|
|
19494
20424
|
}
|
|
19495
20425
|
});
|
|
19496
20426
|
|
|
20427
|
+
// ../../node_modules/content-type/index.js
|
|
20428
|
+
var require_content_type2 = __commonJS({
|
|
20429
|
+
"../../node_modules/content-type/index.js"(exports) {
|
|
20430
|
+
"use strict";
|
|
20431
|
+
init_cjs_shim();
|
|
20432
|
+
var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g;
|
|
20433
|
+
var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/;
|
|
20434
|
+
var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
|
20435
|
+
var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g;
|
|
20436
|
+
var QUOTE_REGEXP = /([\\"])/g;
|
|
20437
|
+
var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
|
|
20438
|
+
exports.format = format;
|
|
20439
|
+
exports.parse = parse;
|
|
20440
|
+
function format(obj) {
|
|
20441
|
+
if (!obj || typeof obj !== "object") {
|
|
20442
|
+
throw new TypeError("argument obj is required");
|
|
20443
|
+
}
|
|
20444
|
+
var parameters = obj.parameters;
|
|
20445
|
+
var type = obj.type;
|
|
20446
|
+
if (!type || !TYPE_REGEXP.test(type)) {
|
|
20447
|
+
throw new TypeError("invalid type");
|
|
20448
|
+
}
|
|
20449
|
+
var string = type;
|
|
20450
|
+
if (parameters && typeof parameters === "object") {
|
|
20451
|
+
var param;
|
|
20452
|
+
var params = Object.keys(parameters).sort();
|
|
20453
|
+
for (var i = 0; i < params.length; i++) {
|
|
20454
|
+
param = params[i];
|
|
20455
|
+
if (!TOKEN_REGEXP.test(param)) {
|
|
20456
|
+
throw new TypeError("invalid parameter name");
|
|
20457
|
+
}
|
|
20458
|
+
string += "; " + param + "=" + qstring(parameters[param]);
|
|
20459
|
+
}
|
|
20460
|
+
}
|
|
20461
|
+
return string;
|
|
20462
|
+
}
|
|
20463
|
+
function parse(string) {
|
|
20464
|
+
if (!string) {
|
|
20465
|
+
throw new TypeError("argument string is required");
|
|
20466
|
+
}
|
|
20467
|
+
var header = typeof string === "object" ? getcontenttype(string) : string;
|
|
20468
|
+
if (typeof header !== "string") {
|
|
20469
|
+
throw new TypeError("argument string is required to be a string");
|
|
20470
|
+
}
|
|
20471
|
+
var index = header.indexOf(";");
|
|
20472
|
+
var type = index !== -1 ? header.substr(0, index).trim() : header.trim();
|
|
20473
|
+
if (!TYPE_REGEXP.test(type)) {
|
|
20474
|
+
throw new TypeError("invalid media type");
|
|
20475
|
+
}
|
|
20476
|
+
var obj = new ContentType(type.toLowerCase());
|
|
20477
|
+
if (index !== -1) {
|
|
20478
|
+
var key;
|
|
20479
|
+
var match;
|
|
20480
|
+
var value;
|
|
20481
|
+
PARAM_REGEXP.lastIndex = index;
|
|
20482
|
+
while (match = PARAM_REGEXP.exec(header)) {
|
|
20483
|
+
if (match.index !== index) {
|
|
20484
|
+
throw new TypeError("invalid parameter format");
|
|
20485
|
+
}
|
|
20486
|
+
index += match[0].length;
|
|
20487
|
+
key = match[1].toLowerCase();
|
|
20488
|
+
value = match[2];
|
|
20489
|
+
if (value[0] === '"') {
|
|
20490
|
+
value = value.substr(1, value.length - 2).replace(QESC_REGEXP, "$1");
|
|
20491
|
+
}
|
|
20492
|
+
obj.parameters[key] = value;
|
|
20493
|
+
}
|
|
20494
|
+
if (index !== header.length) {
|
|
20495
|
+
throw new TypeError("invalid parameter format");
|
|
20496
|
+
}
|
|
20497
|
+
}
|
|
20498
|
+
return obj;
|
|
20499
|
+
}
|
|
20500
|
+
function getcontenttype(obj) {
|
|
20501
|
+
var header;
|
|
20502
|
+
if (typeof obj.getHeader === "function") {
|
|
20503
|
+
header = obj.getHeader("content-type");
|
|
20504
|
+
} else if (typeof obj.headers === "object") {
|
|
20505
|
+
header = obj.headers && obj.headers["content-type"];
|
|
20506
|
+
}
|
|
20507
|
+
if (typeof header !== "string") {
|
|
20508
|
+
throw new TypeError("content-type header is missing from object");
|
|
20509
|
+
}
|
|
20510
|
+
return header;
|
|
20511
|
+
}
|
|
20512
|
+
function qstring(val) {
|
|
20513
|
+
var str = String(val);
|
|
20514
|
+
if (TOKEN_REGEXP.test(str)) {
|
|
20515
|
+
return str;
|
|
20516
|
+
}
|
|
20517
|
+
if (str.length > 0 && !TEXT_REGEXP.test(str)) {
|
|
20518
|
+
throw new TypeError("invalid parameter value");
|
|
20519
|
+
}
|
|
20520
|
+
return '"' + str.replace(QUOTE_REGEXP, "\\$1") + '"';
|
|
20521
|
+
}
|
|
20522
|
+
function ContentType(type) {
|
|
20523
|
+
this.parameters = /* @__PURE__ */ Object.create(null);
|
|
20524
|
+
this.type = type;
|
|
20525
|
+
}
|
|
20526
|
+
}
|
|
20527
|
+
});
|
|
20528
|
+
|
|
19497
20529
|
// ../../node_modules/send/node_modules/debug/node_modules/ms/index.js
|
|
19498
20530
|
var require_ms4 = __commonJS({
|
|
19499
20531
|
"../../node_modules/send/node_modules/debug/node_modules/ms/index.js"(exports, module2) {
|
|
@@ -19922,7 +20954,7 @@ var require_node4 = __commonJS({
|
|
|
19922
20954
|
});
|
|
19923
20955
|
|
|
19924
20956
|
// ../../node_modules/send/node_modules/debug/src/index.js
|
|
19925
|
-
var
|
|
20957
|
+
var require_src4 = __commonJS({
|
|
19926
20958
|
"../../node_modules/send/node_modules/debug/src/index.js"(exports, module2) {
|
|
19927
20959
|
init_cjs_shim();
|
|
19928
20960
|
if (typeof process !== "undefined" && process.type === "renderer") {
|
|
@@ -19933,6 +20965,21 @@ var require_src5 = __commonJS({
|
|
|
19933
20965
|
}
|
|
19934
20966
|
});
|
|
19935
20967
|
|
|
20968
|
+
// ../../node_modules/send/node_modules/encodeurl/index.js
|
|
20969
|
+
var require_encodeurl2 = __commonJS({
|
|
20970
|
+
"../../node_modules/send/node_modules/encodeurl/index.js"(exports, module2) {
|
|
20971
|
+
"use strict";
|
|
20972
|
+
init_cjs_shim();
|
|
20973
|
+
module2.exports = encodeUrl;
|
|
20974
|
+
var ENCODE_CHARS_REGEXP = /(?:[^\x21\x25\x26-\x3B\x3D\x3F-\x5B\x5D\x5F\x61-\x7A\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g;
|
|
20975
|
+
var UNMATCHED_SURROGATE_PAIR_REGEXP = /(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g;
|
|
20976
|
+
var UNMATCHED_SURROGATE_PAIR_REPLACE = "$1\uFFFD$2";
|
|
20977
|
+
function encodeUrl(url2) {
|
|
20978
|
+
return String(url2).replace(UNMATCHED_SURROGATE_PAIR_REGEXP, UNMATCHED_SURROGATE_PAIR_REPLACE).replace(ENCODE_CHARS_REGEXP, encodeURI);
|
|
20979
|
+
}
|
|
20980
|
+
}
|
|
20981
|
+
});
|
|
20982
|
+
|
|
19936
20983
|
// ../../node_modules/etag/index.js
|
|
19937
20984
|
var require_etag = __commonJS({
|
|
19938
20985
|
"../../node_modules/etag/index.js"(exports, module2) {
|
|
@@ -20317,10 +21364,10 @@ var require_send = __commonJS({
|
|
|
20317
21364
|
"use strict";
|
|
20318
21365
|
init_cjs_shim();
|
|
20319
21366
|
var createError = require_http_errors();
|
|
20320
|
-
var debug =
|
|
21367
|
+
var debug = require_src4()("send");
|
|
20321
21368
|
var deprecate = require_depd()("send");
|
|
20322
21369
|
var destroy = require_destroy();
|
|
20323
|
-
var encodeUrl =
|
|
21370
|
+
var encodeUrl = require_encodeurl2();
|
|
20324
21371
|
var escapeHtml = require_escape_html();
|
|
20325
21372
|
var etag = require_etag();
|
|
20326
21373
|
var fresh = require_fresh();
|
|
@@ -20521,7 +21568,7 @@ var require_send = __commonJS({
|
|
|
20521
21568
|
return;
|
|
20522
21569
|
}
|
|
20523
21570
|
var loc = encodeUrl(collapseLeadingSlashes(this.path + "/"));
|
|
20524
|
-
var doc = createHtmlDocument("Redirecting",
|
|
21571
|
+
var doc = createHtmlDocument("Redirecting", "Redirecting to " + escapeHtml(loc));
|
|
20525
21572
|
res.statusCode = 301;
|
|
20526
21573
|
res.setHeader("Content-Type", "text/html; charset=UTF-8");
|
|
20527
21574
|
res.setHeader("Content-Length", Buffer.byteLength(doc));
|
|
@@ -21707,7 +22754,7 @@ var require_utils2 = __commonJS({
|
|
|
21707
22754
|
init_cjs_shim();
|
|
21708
22755
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
21709
22756
|
var contentDisposition = require_content_disposition();
|
|
21710
|
-
var contentType =
|
|
22757
|
+
var contentType = require_content_type2();
|
|
21711
22758
|
var deprecate = require_depd()("express");
|
|
21712
22759
|
var flatten = require_array_flatten();
|
|
21713
22760
|
var mime = require_send().mime;
|
|
@@ -21743,9 +22790,9 @@ var require_utils2 = __commonJS({
|
|
|
21743
22790
|
contentDisposition,
|
|
21744
22791
|
"utils.contentDisposition: use content-disposition npm module instead"
|
|
21745
22792
|
);
|
|
21746
|
-
function acceptParams(str
|
|
22793
|
+
function acceptParams(str) {
|
|
21747
22794
|
var parts = str.split(/ *; */);
|
|
21748
|
-
var ret = { value: parts[0], quality: 1, params: {}
|
|
22795
|
+
var ret = { value: parts[0], quality: 1, params: {} };
|
|
21749
22796
|
for (var i = 1; i < parts.length; ++i) {
|
|
21750
22797
|
var pms = parts[i].split(/ *= */);
|
|
21751
22798
|
if ("q" === pms[0]) {
|
|
@@ -21852,7 +22899,7 @@ var require_application = __commonJS({
|
|
|
21852
22899
|
var methods = require_methods();
|
|
21853
22900
|
var middleware = require_init();
|
|
21854
22901
|
var query = require_query();
|
|
21855
|
-
var debug =
|
|
22902
|
+
var debug = require_src3()("express:application");
|
|
21856
22903
|
var View = require_view();
|
|
21857
22904
|
var http = __require("http");
|
|
21858
22905
|
var compileETag = require_utils2().compileETag;
|
|
@@ -31542,68 +32589,96 @@ var require_cookie = __commonJS({
|
|
|
31542
32589
|
exports.parse = parse;
|
|
31543
32590
|
exports.serialize = serialize;
|
|
31544
32591
|
var __toString = Object.prototype.toString;
|
|
31545
|
-
var
|
|
31546
|
-
|
|
32592
|
+
var cookieNameRegExp = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
|
|
32593
|
+
var cookieValueRegExp = /^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/;
|
|
32594
|
+
var domainValueRegExp = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i;
|
|
32595
|
+
var pathValueRegExp = /^[\u0020-\u003A\u003D-\u007E]*$/;
|
|
32596
|
+
function parse(str, opt) {
|
|
31547
32597
|
if (typeof str !== "string") {
|
|
31548
32598
|
throw new TypeError("argument str must be a string");
|
|
31549
32599
|
}
|
|
31550
32600
|
var obj = {};
|
|
31551
|
-
var
|
|
31552
|
-
|
|
32601
|
+
var len = str.length;
|
|
32602
|
+
if (len < 2)
|
|
32603
|
+
return obj;
|
|
32604
|
+
var dec = opt && opt.decode || decode;
|
|
31553
32605
|
var index = 0;
|
|
31554
|
-
|
|
31555
|
-
|
|
31556
|
-
|
|
32606
|
+
var eqIdx = 0;
|
|
32607
|
+
var endIdx = 0;
|
|
32608
|
+
do {
|
|
32609
|
+
eqIdx = str.indexOf("=", index);
|
|
32610
|
+
if (eqIdx === -1)
|
|
31557
32611
|
break;
|
|
31558
|
-
|
|
31559
|
-
var endIdx = str.indexOf(";", index);
|
|
32612
|
+
endIdx = str.indexOf(";", index);
|
|
31560
32613
|
if (endIdx === -1) {
|
|
31561
|
-
endIdx =
|
|
31562
|
-
} else if (
|
|
32614
|
+
endIdx = len;
|
|
32615
|
+
} else if (eqIdx > endIdx) {
|
|
31563
32616
|
index = str.lastIndexOf(";", eqIdx - 1) + 1;
|
|
31564
32617
|
continue;
|
|
31565
32618
|
}
|
|
31566
|
-
var
|
|
31567
|
-
|
|
31568
|
-
|
|
31569
|
-
|
|
31570
|
-
|
|
31571
|
-
|
|
32619
|
+
var keyStartIdx = startIndex(str, index, eqIdx);
|
|
32620
|
+
var keyEndIdx = endIndex(str, eqIdx, keyStartIdx);
|
|
32621
|
+
var key = str.slice(keyStartIdx, keyEndIdx);
|
|
32622
|
+
if (!obj.hasOwnProperty(key)) {
|
|
32623
|
+
var valStartIdx = startIndex(str, eqIdx + 1, endIdx);
|
|
32624
|
+
var valEndIdx = endIndex(str, endIdx, valStartIdx);
|
|
32625
|
+
if (str.charCodeAt(valStartIdx) === 34 && str.charCodeAt(valEndIdx - 1) === 34) {
|
|
32626
|
+
valStartIdx++;
|
|
32627
|
+
valEndIdx--;
|
|
32628
|
+
}
|
|
32629
|
+
var val = str.slice(valStartIdx, valEndIdx);
|
|
31572
32630
|
obj[key] = tryDecode(val, dec);
|
|
31573
32631
|
}
|
|
31574
32632
|
index = endIdx + 1;
|
|
31575
|
-
}
|
|
32633
|
+
} while (index < len);
|
|
31576
32634
|
return obj;
|
|
31577
32635
|
}
|
|
31578
|
-
function
|
|
31579
|
-
|
|
31580
|
-
|
|
32636
|
+
function startIndex(str, index, max) {
|
|
32637
|
+
do {
|
|
32638
|
+
var code = str.charCodeAt(index);
|
|
32639
|
+
if (code !== 32 && code !== 9)
|
|
32640
|
+
return index;
|
|
32641
|
+
} while (++index < max);
|
|
32642
|
+
return max;
|
|
32643
|
+
}
|
|
32644
|
+
function endIndex(str, index, min) {
|
|
32645
|
+
while (index > min) {
|
|
32646
|
+
var code = str.charCodeAt(--index);
|
|
32647
|
+
if (code !== 32 && code !== 9)
|
|
32648
|
+
return index + 1;
|
|
32649
|
+
}
|
|
32650
|
+
return min;
|
|
32651
|
+
}
|
|
32652
|
+
function serialize(name, val, opt) {
|
|
32653
|
+
var enc = opt && opt.encode || encodeURIComponent;
|
|
31581
32654
|
if (typeof enc !== "function") {
|
|
31582
32655
|
throw new TypeError("option encode is invalid");
|
|
31583
32656
|
}
|
|
31584
|
-
if (!
|
|
32657
|
+
if (!cookieNameRegExp.test(name)) {
|
|
31585
32658
|
throw new TypeError("argument name is invalid");
|
|
31586
32659
|
}
|
|
31587
32660
|
var value = enc(val);
|
|
31588
|
-
if (
|
|
32661
|
+
if (!cookieValueRegExp.test(value)) {
|
|
31589
32662
|
throw new TypeError("argument val is invalid");
|
|
31590
32663
|
}
|
|
31591
32664
|
var str = name + "=" + value;
|
|
32665
|
+
if (!opt)
|
|
32666
|
+
return str;
|
|
31592
32667
|
if (null != opt.maxAge) {
|
|
31593
|
-
var maxAge = opt.maxAge
|
|
31594
|
-
if (
|
|
32668
|
+
var maxAge = Math.floor(opt.maxAge);
|
|
32669
|
+
if (!isFinite(maxAge)) {
|
|
31595
32670
|
throw new TypeError("option maxAge is invalid");
|
|
31596
32671
|
}
|
|
31597
|
-
str += "; Max-Age=" +
|
|
32672
|
+
str += "; Max-Age=" + maxAge;
|
|
31598
32673
|
}
|
|
31599
32674
|
if (opt.domain) {
|
|
31600
|
-
if (!
|
|
32675
|
+
if (!domainValueRegExp.test(opt.domain)) {
|
|
31601
32676
|
throw new TypeError("option domain is invalid");
|
|
31602
32677
|
}
|
|
31603
32678
|
str += "; Domain=" + opt.domain;
|
|
31604
32679
|
}
|
|
31605
32680
|
if (opt.path) {
|
|
31606
|
-
if (!
|
|
32681
|
+
if (!pathValueRegExp.test(opt.path)) {
|
|
31607
32682
|
throw new TypeError("option path is invalid");
|
|
31608
32683
|
}
|
|
31609
32684
|
str += "; Path=" + opt.path;
|
|
@@ -31621,6 +32696,9 @@ var require_cookie = __commonJS({
|
|
|
31621
32696
|
if (opt.secure) {
|
|
31622
32697
|
str += "; Secure";
|
|
31623
32698
|
}
|
|
32699
|
+
if (opt.partitioned) {
|
|
32700
|
+
str += "; Partitioned";
|
|
32701
|
+
}
|
|
31624
32702
|
if (opt.priority) {
|
|
31625
32703
|
var priority = typeof opt.priority === "string" ? opt.priority.toLowerCase() : opt.priority;
|
|
31626
32704
|
switch (priority) {
|
|
@@ -31661,11 +32739,8 @@ var require_cookie = __commonJS({
|
|
|
31661
32739
|
function decode(str) {
|
|
31662
32740
|
return str.indexOf("%") !== -1 ? decodeURIComponent(str) : str;
|
|
31663
32741
|
}
|
|
31664
|
-
function encode(val) {
|
|
31665
|
-
return encodeURIComponent(val);
|
|
31666
|
-
}
|
|
31667
32742
|
function isDate(val) {
|
|
31668
|
-
return __toString.call(val) === "[object Date]"
|
|
32743
|
+
return __toString.call(val) === "[object Date]";
|
|
31669
32744
|
}
|
|
31670
32745
|
function tryDecode(str, decode2) {
|
|
31671
32746
|
try {
|
|
@@ -32109,6 +33184,14 @@ var require_response = __commonJS({
|
|
|
32109
33184
|
return this.getHeader(field);
|
|
32110
33185
|
};
|
|
32111
33186
|
res.clearCookie = function clearCookie(name, options) {
|
|
33187
|
+
if (options) {
|
|
33188
|
+
if (options.maxAge) {
|
|
33189
|
+
deprecate('res.clearCookie: Passing "options.maxAge" is deprecated. In v5.0.0 of Express, this option will be ignored, as res.clearCookie will automatically set cookies to expire immediately. Please update your code to omit this option.');
|
|
33190
|
+
}
|
|
33191
|
+
if (options.expires) {
|
|
33192
|
+
deprecate('res.clearCookie: Passing "options.expires" is deprecated. In v5.0.0 of Express, this option will be ignored, as res.clearCookie will automatically set cookies to expire immediately. Please update your code to omit this option.');
|
|
33193
|
+
}
|
|
33194
|
+
}
|
|
32112
33195
|
var opts = merge2({ expires: /* @__PURE__ */ new Date(1), path: "/" }, options);
|
|
32113
33196
|
return this.cookie(name, "", opts);
|
|
32114
33197
|
};
|
|
@@ -32137,9 +33220,12 @@ var require_response = __commonJS({
|
|
|
32137
33220
|
return this;
|
|
32138
33221
|
};
|
|
32139
33222
|
res.location = function location(url2) {
|
|
32140
|
-
var loc
|
|
33223
|
+
var loc;
|
|
32141
33224
|
if (url2 === "back") {
|
|
33225
|
+
deprecate('res.location("back"): use res.location(req.get("Referrer") || "/") and refer to https://dub.sh/security-redirect for best practices');
|
|
32142
33226
|
loc = this.req.get("Referrer") || "/";
|
|
33227
|
+
} else {
|
|
33228
|
+
loc = String(url2);
|
|
32143
33229
|
}
|
|
32144
33230
|
return this.set("Location", encodeUrl(loc));
|
|
32145
33231
|
};
|
|
@@ -32163,7 +33249,7 @@ var require_response = __commonJS({
|
|
|
32163
33249
|
},
|
|
32164
33250
|
html: function() {
|
|
32165
33251
|
var u = escapeHtml(address);
|
|
32166
|
-
body = "<p>" + statuses.message[status] +
|
|
33252
|
+
body = "<p>" + statuses.message[status] + ". Redirecting to " + u + "</p>";
|
|
32167
33253
|
},
|
|
32168
33254
|
default: function() {
|
|
32169
33255
|
body = "";
|
|
@@ -32390,7 +33476,7 @@ var require_serve_static = __commonJS({
|
|
|
32390
33476
|
originalUrl.path = null;
|
|
32391
33477
|
originalUrl.pathname = collapseLeadingSlashes(originalUrl.pathname + "/");
|
|
32392
33478
|
var loc = encodeUrl(url2.format(originalUrl));
|
|
32393
|
-
var doc = createHtmlDocument("Redirecting",
|
|
33479
|
+
var doc = createHtmlDocument("Redirecting", "Redirecting to " + escapeHtml(loc));
|
|
32394
33480
|
res.statusCode = 301;
|
|
32395
33481
|
res.setHeader("Content-Type", "text/html; charset=UTF-8");
|
|
32396
33482
|
res.setHeader("Content-Length", Buffer.byteLength(doc));
|
|
@@ -38382,7 +39468,7 @@ var require_types2 = __commonJS({
|
|
|
38382
39468
|
});
|
|
38383
39469
|
|
|
38384
39470
|
// ../../node_modules/djv/lib/validators/type.js
|
|
38385
|
-
var
|
|
39471
|
+
var require_type2 = __commonJS({
|
|
38386
39472
|
"../../node_modules/djv/lib/validators/type.js"(exports, module2) {
|
|
38387
39473
|
init_cjs_shim();
|
|
38388
39474
|
var types = require_types2();
|
|
@@ -38399,7 +39485,7 @@ var require_type = __commonJS({
|
|
|
38399
39485
|
});
|
|
38400
39486
|
|
|
38401
39487
|
// ../../node_modules/djv/lib/validators/$ref.js
|
|
38402
|
-
var
|
|
39488
|
+
var require_ref2 = __commonJS({
|
|
38403
39489
|
"../../node_modules/djv/lib/validators/$ref.js"(exports, module2) {
|
|
38404
39490
|
init_cjs_shim();
|
|
38405
39491
|
var { hasProperty } = require_utils3();
|
|
@@ -38763,8 +39849,8 @@ var require_validators = __commonJS({
|
|
|
38763
39849
|
var required = require_required();
|
|
38764
39850
|
var format = require_format();
|
|
38765
39851
|
var property = require_property();
|
|
38766
|
-
var type =
|
|
38767
|
-
var $ref =
|
|
39852
|
+
var type = require_type2();
|
|
39853
|
+
var $ref = require_ref2();
|
|
38768
39854
|
var not = require_not();
|
|
38769
39855
|
var anyOf = require_anyOf();
|
|
38770
39856
|
var oneOf = require_oneOf();
|
|
@@ -38818,7 +39904,7 @@ var require_validators = __commonJS({
|
|
|
38818
39904
|
});
|
|
38819
39905
|
|
|
38820
39906
|
// ../../node_modules/djv/lib/utils/uri.js
|
|
38821
|
-
var
|
|
39907
|
+
var require_uri2 = __commonJS({
|
|
38822
39908
|
"../../node_modules/djv/lib/utils/uri.js"(exports, module2) {
|
|
38823
39909
|
init_cjs_shim();
|
|
38824
39910
|
var REGEXP_URI = /:\/\//;
|
|
@@ -38894,7 +39980,7 @@ var require_state = __commonJS({
|
|
|
38894
39980
|
isFullUri,
|
|
38895
39981
|
fragment,
|
|
38896
39982
|
keys
|
|
38897
|
-
} =
|
|
39983
|
+
} = require_uri2();
|
|
38898
39984
|
var {
|
|
38899
39985
|
is: isSchema,
|
|
38900
39986
|
transform: transformSchema
|
|
@@ -39104,7 +40190,7 @@ var require_environment = __commonJS({
|
|
|
39104
40190
|
var keywords = require_keywords();
|
|
39105
40191
|
var validators = require_validators();
|
|
39106
40192
|
var formats = require_formats2();
|
|
39107
|
-
var { keys } =
|
|
40193
|
+
var { keys } = require_uri2();
|
|
39108
40194
|
var { transformation } = require_schema();
|
|
39109
40195
|
var environmentConfig = {};
|
|
39110
40196
|
function add(version, config) {
|
|
@@ -39891,6 +40977,20 @@ content-disposition/index.js:
|
|
|
39891
40977
|
* MIT Licensed
|
|
39892
40978
|
*)
|
|
39893
40979
|
|
|
40980
|
+
content-type/index.js:
|
|
40981
|
+
(*!
|
|
40982
|
+
* content-type
|
|
40983
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
40984
|
+
* MIT Licensed
|
|
40985
|
+
*)
|
|
40986
|
+
|
|
40987
|
+
encodeurl/index.js:
|
|
40988
|
+
(*!
|
|
40989
|
+
* encodeurl
|
|
40990
|
+
* Copyright(c) 2016 Douglas Christopher Wilson
|
|
40991
|
+
* MIT Licensed
|
|
40992
|
+
*)
|
|
40993
|
+
|
|
39894
40994
|
etag/index.js:
|
|
39895
40995
|
(*!
|
|
39896
40996
|
* etag
|