@rsdoctor/sdk 1.2.4-beta.2 → 1.2.4-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.cjs +972 -1250
  2. package/dist/index.js +977 -1263
  3. package/package.json +5 -6
package/dist/index.cjs CHANGED
@@ -1,12 +1,30 @@
1
1
  /*! For license information please see index.cjs.LICENSE.txt */
2
- let __rslib_import_meta_url__ = function() {
3
- return 'undefined' == typeof document ? new (require('url'.replace('', ''))).URL('file:' + __filename).href : document.currentScript && document.currentScript.src || new URL('main.js', document.baseURI).href;
4
- }();
2
+ let __rslib_import_meta_url__ = 'undefined' == typeof document ? new (require('url'.replace('', ''))).URL('file:' + __filename).href : document.currentScript && document.currentScript.src || new URL('main.js', document.baseURI).href;
5
3
  var __webpack_modules__ = {
6
4
  "../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/index.js": function(module, exports1, __webpack_require__) {
7
5
  "use strict";
8
6
  var deprecate = __webpack_require__("../../node_modules/.pnpm/depd@2.0.0/node_modules/depd/index.js")('body-parser'), parsers = Object.create(null);
9
- function bodyParser(options) {
7
+ function createParserGetter(name) {
8
+ return function() {
9
+ var parserName = name, parser = parsers[parserName];
10
+ if (void 0 !== parser) return parser;
11
+ switch(parserName){
12
+ case 'json':
13
+ parser = __webpack_require__("../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/types/json.js");
14
+ break;
15
+ case 'raw':
16
+ parser = __webpack_require__("../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/types/raw.js");
17
+ break;
18
+ case 'text':
19
+ parser = __webpack_require__("../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/types/text.js");
20
+ break;
21
+ case 'urlencoded':
22
+ parser = __webpack_require__("../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/types/urlencoded.js");
23
+ }
24
+ return parsers[parserName] = parser;
25
+ };
26
+ }
27
+ Object.defineProperty(exports1 = module.exports = deprecate.function(function(options) {
10
28
  var opts = Object.create(options || null, {
11
29
  type: {
12
30
  configurable: !0,
@@ -21,31 +39,7 @@ var __webpack_modules__ = {
21
39
  _urlencoded(req, res, next);
22
40
  });
23
41
  };
24
- }
25
- function createParserGetter(name) {
26
- return function() {
27
- return loadParser(name);
28
- };
29
- }
30
- function loadParser(parserName) {
31
- var parser = parsers[parserName];
32
- if (void 0 !== parser) return parser;
33
- switch(parserName){
34
- case 'json':
35
- parser = __webpack_require__("../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/types/json.js");
36
- break;
37
- case 'raw':
38
- parser = __webpack_require__("../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/types/raw.js");
39
- break;
40
- case 'text':
41
- parser = __webpack_require__("../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/types/text.js");
42
- break;
43
- case 'urlencoded':
44
- parser = __webpack_require__("../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/types/urlencoded.js");
45
- }
46
- return parsers[parserName] = parser;
47
- }
48
- Object.defineProperty(exports1 = module.exports = deprecate.function(bodyParser, 'bodyParser: use individual json/urlencoded middlewares'), "json", {
42
+ }, 'bodyParser: use individual json/urlencoded middlewares'), "json", {
49
43
  configurable: !0,
50
44
  enumerable: !0,
51
45
  get: createParserGetter('json')
@@ -66,55 +60,50 @@ var __webpack_modules__ = {
66
60
  "../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/read.js": function(module, __unused_webpack_exports, __webpack_require__) {
67
61
  "use strict";
68
62
  var createError = __webpack_require__("../../node_modules/.pnpm/http-errors@2.0.0/node_modules/http-errors/index.js"), destroy = __webpack_require__("../../node_modules/.pnpm/destroy@1.2.0/node_modules/destroy/index.js"), getBody = __webpack_require__("../../node_modules/.pnpm/raw-body@2.5.2/node_modules/raw-body/index.js"), iconv = __webpack_require__("../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/index.js"), onFinished = __webpack_require__("../../node_modules/.pnpm/on-finished@2.4.1/node_modules/on-finished/index.js"), unpipe = __webpack_require__("../../node_modules/.pnpm/unpipe@1.0.0/node_modules/unpipe/index.js"), zlib = __webpack_require__("zlib");
69
- function contentstream(req, debug, inflate) {
70
- var stream, encoding = (req.headers['content-encoding'] || 'identity').toLowerCase(), length = req.headers['content-length'];
71
- if (debug('content-encoding "%s"', encoding), !1 === inflate && 'identity' !== encoding) throw createError(415, 'content encoding unsupported', {
72
- encoding: encoding,
73
- type: 'encoding.unsupported'
74
- });
75
- switch(encoding){
76
- case 'deflate':
77
- stream = zlib.createInflate(), debug('inflate body'), req.pipe(stream);
78
- break;
79
- case 'gzip':
80
- stream = zlib.createGunzip(), debug('gunzip body'), req.pipe(stream);
81
- break;
82
- case 'identity':
83
- (stream = req).length = length;
84
- break;
85
- default:
86
- throw createError(415, 'unsupported content encoding "' + encoding + '"', {
63
+ module.exports = function(req, res, next, parse, debug, options) {
64
+ req._body = !0;
65
+ var length, stream, encoding = null !== options.encoding ? options.encoding : null, verify = options.verify;
66
+ try {
67
+ length = (stream = function(req, debug, inflate) {
68
+ var stream, encoding = (req.headers['content-encoding'] || 'identity').toLowerCase(), length = req.headers['content-length'];
69
+ if (debug('content-encoding "%s"', encoding), !1 === inflate && 'identity' !== encoding) throw createError(415, 'content encoding unsupported', {
87
70
  encoding: encoding,
88
71
  type: 'encoding.unsupported'
89
72
  });
90
- }
91
- return stream;
92
- }
93
- function dump(req, callback) {
94
- onFinished.isFinished(req) ? callback(null) : (onFinished(req, callback), req.resume());
95
- }
96
- module.exports = function read(req, res, next, parse, debug, options) {
97
- var length, stream, opts = options;
98
- req._body = !0;
99
- var encoding = null !== opts.encoding ? opts.encoding : null, verify = opts.verify;
100
- try {
101
- length = (stream = contentstream(req, debug, opts.inflate)).length, stream.length = void 0;
73
+ switch(encoding){
74
+ case 'deflate':
75
+ stream = zlib.createInflate(), debug('inflate body'), req.pipe(stream);
76
+ break;
77
+ case 'gzip':
78
+ stream = zlib.createGunzip(), debug('gunzip body'), req.pipe(stream);
79
+ break;
80
+ case 'identity':
81
+ (stream = req).length = length;
82
+ break;
83
+ default:
84
+ throw createError(415, 'unsupported content encoding "' + encoding + '"', {
85
+ encoding: encoding,
86
+ type: 'encoding.unsupported'
87
+ });
88
+ }
89
+ return stream;
90
+ }(req, debug, options.inflate)).length, stream.length = void 0;
102
91
  } catch (err) {
103
92
  return next(err);
104
93
  }
105
- if (opts.length = length, opts.encoding = verify ? null : encoding, null === opts.encoding && null !== encoding && !iconv.encodingExists(encoding)) return next(createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', {
94
+ if (options.length = length, options.encoding = verify ? null : encoding, null === options.encoding && null !== encoding && !iconv.encodingExists(encoding)) return next(createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', {
106
95
  charset: encoding.toLowerCase(),
107
96
  type: 'charset.unsupported'
108
97
  }));
109
- debug('read body'), getBody(stream, opts, function(error, body) {
98
+ debug('read body'), getBody(stream, options, function(error, body) {
110
99
  if (error) {
111
- var _error;
100
+ var _error, req1, callback;
112
101
  _error = 'encoding.unsupported' === error.type ? createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', {
113
102
  charset: encoding.toLowerCase(),
114
103
  type: 'charset.unsupported'
115
- }) : createError(400, error), stream !== req && (unpipe(req), destroy(stream, !0)), dump(req, function() {
104
+ }) : createError(400, error), stream !== req && (unpipe(req), destroy(stream, !0)), req1 = req, callback = function() {
116
105
  next(createError(400, _error));
117
- });
106
+ }, onFinished.isFinished(req1) ? callback(null) : (onFinished(req1, callback), req1.resume());
118
107
  return;
119
108
  }
120
109
  if (verify) try {
@@ -143,17 +132,33 @@ var __webpack_modules__ = {
143
132
  "../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/types/json.js": function(module, __unused_webpack_exports, __webpack_require__) {
144
133
  "use strict";
145
134
  var bytes = __webpack_require__("../../node_modules/.pnpm/bytes@3.1.2/node_modules/bytes/index.js"), contentType = __webpack_require__("../../node_modules/.pnpm/content-type@1.0.5/node_modules/content-type/index.js"), createError = __webpack_require__("../../node_modules/.pnpm/http-errors@2.0.0/node_modules/http-errors/index.js"), debug = __webpack_require__("../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/index.js")('body-parser:json'), read = __webpack_require__("../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/read.js"), typeis = __webpack_require__("../../node_modules/.pnpm/type-is@1.6.18/node_modules/type-is/index.js");
146
- module.exports = json;
147
- var FIRST_CHAR_REGEXP = /^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/, JSON_SYNTAX_CHAR = '#', JSON_SYNTAX_REGEXP = /#+/g;
148
- function json(options) {
149
- var opts = options || {}, limit = 'number' != typeof opts.limit ? bytes.parse(opts.limit || '100kb') : opts.limit, inflate = !1 !== opts.inflate, reviver = opts.reviver, strict = !1 !== opts.strict, type = opts.type || 'application/json', verify = opts.verify || !1;
135
+ module.exports = function(options) {
136
+ var type, opts = options || {}, limit = 'number' != typeof opts.limit ? bytes.parse(opts.limit || '100kb') : opts.limit, inflate = !1 !== opts.inflate, reviver = opts.reviver, strict = !1 !== opts.strict, type1 = opts.type || 'application/json', verify = opts.verify || !1;
150
137
  if (!1 !== verify && 'function' != typeof verify) throw TypeError('option verify must be function');
151
- var shouldParse = 'function' != typeof type ? typeChecker(type) : type;
138
+ var shouldParse = 'function' != typeof type1 ? (type = type1, function(req) {
139
+ return !!typeis(req, type);
140
+ }) : type1;
152
141
  function parse(body) {
153
142
  if (0 === body.length) return {};
154
143
  if (strict) {
155
- var first = firstchar(body);
156
- if ('{' !== first && '[' !== first) throw debug('strict violation'), createStrictSyntaxError(body, first);
144
+ var match, first = (match = FIRST_CHAR_REGEXP.exec(body)) ? match[1] : void 0;
145
+ if ('{' !== first && '[' !== first) throw debug('strict violation'), function(str, char) {
146
+ var index = str.indexOf(char), partial = '';
147
+ if (-1 !== index) {
148
+ partial = str.substring(0, index) + '#';
149
+ for(var i = index + 1; i < str.length; i++)partial += '#';
150
+ }
151
+ try {
152
+ throw JSON.parse(partial), SyntaxError('strict violation');
153
+ } catch (e) {
154
+ return normalizeJsonSyntaxError(e, {
155
+ message: e.message.replace(JSON_SYNTAX_REGEXP, function(placeholder) {
156
+ return str.substring(index, index + placeholder.length);
157
+ }),
158
+ stack: e.stack
159
+ });
160
+ }
161
+ }(body, first);
157
162
  }
158
163
  try {
159
164
  return debug('parse json'), JSON.parse(body, reviver);
@@ -177,7 +182,13 @@ var __webpack_modules__ = {
177
182
  debug('skip parsing'), next();
178
183
  return;
179
184
  }
180
- var charset = getCharset(req) || 'utf-8';
185
+ var charset = function(req) {
186
+ try {
187
+ return (contentType.parse(req).parameters.charset || '').toLowerCase();
188
+ } catch (e) {
189
+ return;
190
+ }
191
+ }(req) || 'utf-8';
181
192
  if ('utf-' !== charset.slice(0, 4)) {
182
193
  debug('invalid charset'), next(createError(415, 'unsupported charset "' + charset.toUpperCase() + '"', {
183
194
  charset: charset,
@@ -192,35 +203,8 @@ var __webpack_modules__ = {
192
203
  verify: verify
193
204
  });
194
205
  };
195
- }
196
- function createStrictSyntaxError(str, char) {
197
- var index = str.indexOf(char), partial = '';
198
- if (-1 !== index) {
199
- partial = str.substring(0, index) + JSON_SYNTAX_CHAR;
200
- for(var i = index + 1; i < str.length; i++)partial += JSON_SYNTAX_CHAR;
201
- }
202
- try {
203
- throw JSON.parse(partial), SyntaxError('strict violation');
204
- } catch (e) {
205
- return normalizeJsonSyntaxError(e, {
206
- message: e.message.replace(JSON_SYNTAX_REGEXP, function(placeholder) {
207
- return str.substring(index, index + placeholder.length);
208
- }),
209
- stack: e.stack
210
- });
211
- }
212
- }
213
- function firstchar(str) {
214
- var match = FIRST_CHAR_REGEXP.exec(str);
215
- return match ? match[1] : void 0;
216
- }
217
- function getCharset(req) {
218
- try {
219
- return (contentType.parse(req).parameters.charset || '').toLowerCase();
220
- } catch (e) {
221
- return;
222
- }
223
- }
206
+ };
207
+ var FIRST_CHAR_REGEXP = /^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/, JSON_SYNTAX_REGEXP = /#+/g;
224
208
  function normalizeJsonSyntaxError(error, obj) {
225
209
  for(var keys = Object.getOwnPropertyNames(error), i = 0; i < keys.length; i++){
226
210
  var key = keys[i];
@@ -228,24 +212,16 @@ var __webpack_modules__ = {
228
212
  }
229
213
  return error.stack = obj.stack.replace(error.message, obj.message), error.message = obj.message, error;
230
214
  }
231
- function typeChecker(type) {
232
- return function(req) {
233
- return !!typeis(req, type);
234
- };
235
- }
236
215
  },
237
216
  "../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/types/raw.js": function(module, __unused_webpack_exports, __webpack_require__) {
238
217
  "use strict";
239
218
  var bytes = __webpack_require__("../../node_modules/.pnpm/bytes@3.1.2/node_modules/bytes/index.js"), debug = __webpack_require__("../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/index.js")('body-parser:raw'), read = __webpack_require__("../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/read.js"), typeis = __webpack_require__("../../node_modules/.pnpm/type-is@1.6.18/node_modules/type-is/index.js");
240
- function typeChecker(type) {
241
- return function(req) {
242
- return !!typeis(req, type);
243
- };
244
- }
245
- module.exports = function raw(options) {
246
- var opts = options || {}, inflate = !1 !== opts.inflate, limit = 'number' != typeof opts.limit ? bytes.parse(opts.limit || '100kb') : opts.limit, type = opts.type || 'application/octet-stream', verify = opts.verify || !1;
219
+ module.exports = function(options) {
220
+ var type, opts = options || {}, inflate = !1 !== opts.inflate, limit = 'number' != typeof opts.limit ? bytes.parse(opts.limit || '100kb') : opts.limit, type1 = opts.type || 'application/octet-stream', verify = opts.verify || !1;
247
221
  if (!1 !== verify && 'function' != typeof verify) throw TypeError('option verify must be function');
248
- var shouldParse = 'function' != typeof type ? typeChecker(type) : type;
222
+ var shouldParse = 'function' != typeof type1 ? (type = type1, function(req) {
223
+ return !!typeis(req, type);
224
+ }) : type1;
249
225
  function parse(buf) {
250
226
  return buf;
251
227
  }
@@ -274,22 +250,12 @@ var __webpack_modules__ = {
274
250
  "../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/types/text.js": function(module, __unused_webpack_exports, __webpack_require__) {
275
251
  "use strict";
276
252
  var bytes = __webpack_require__("../../node_modules/.pnpm/bytes@3.1.2/node_modules/bytes/index.js"), contentType = __webpack_require__("../../node_modules/.pnpm/content-type@1.0.5/node_modules/content-type/index.js"), debug = __webpack_require__("../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/index.js")('body-parser:text'), read = __webpack_require__("../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/read.js"), typeis = __webpack_require__("../../node_modules/.pnpm/type-is@1.6.18/node_modules/type-is/index.js");
277
- function getCharset(req) {
278
- try {
279
- return (contentType.parse(req).parameters.charset || '').toLowerCase();
280
- } catch (e) {
281
- return;
282
- }
283
- }
284
- function typeChecker(type) {
285
- return function(req) {
286
- return !!typeis(req, type);
287
- };
288
- }
289
- module.exports = function text(options) {
290
- var opts = options || {}, defaultCharset = opts.defaultCharset || 'utf-8', inflate = !1 !== opts.inflate, limit = 'number' != typeof opts.limit ? bytes.parse(opts.limit || '100kb') : opts.limit, type = opts.type || 'text/plain', verify = opts.verify || !1;
253
+ module.exports = function(options) {
254
+ var type, opts = options || {}, defaultCharset = opts.defaultCharset || 'utf-8', inflate = !1 !== opts.inflate, limit = 'number' != typeof opts.limit ? bytes.parse(opts.limit || '100kb') : opts.limit, type1 = opts.type || 'text/plain', verify = opts.verify || !1;
291
255
  if (!1 !== verify && 'function' != typeof verify) throw TypeError('option verify must be function');
292
- var shouldParse = 'function' != typeof type ? typeChecker(type) : type;
256
+ var shouldParse = 'function' != typeof type1 ? (type = type1, function(req) {
257
+ return !!typeis(req, type);
258
+ }) : type1;
293
259
  function parse(buf) {
294
260
  return buf;
295
261
  }
@@ -306,7 +272,13 @@ var __webpack_modules__ = {
306
272
  debug('skip parsing'), next();
307
273
  return;
308
274
  }
309
- var charset = getCharset(req) || defaultCharset;
275
+ var charset = function(req) {
276
+ try {
277
+ return (contentType.parse(req).parameters.charset || '').toLowerCase();
278
+ } catch (e) {
279
+ return;
280
+ }
281
+ }(req) || defaultCharset;
310
282
  read(req, res, next, parse, debug, {
311
283
  encoding: charset,
312
284
  inflate: inflate,
@@ -319,14 +291,51 @@ var __webpack_modules__ = {
319
291
  "../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/types/urlencoded.js": function(module, __unused_webpack_exports, __webpack_require__) {
320
292
  "use strict";
321
293
  var bytes = __webpack_require__("../../node_modules/.pnpm/bytes@3.1.2/node_modules/bytes/index.js"), contentType = __webpack_require__("../../node_modules/.pnpm/content-type@1.0.5/node_modules/content-type/index.js"), createError = __webpack_require__("../../node_modules/.pnpm/http-errors@2.0.0/node_modules/http-errors/index.js"), debug = __webpack_require__("../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/index.js")('body-parser:urlencoded'), deprecate = __webpack_require__("../../node_modules/.pnpm/depd@2.0.0/node_modules/depd/index.js")('body-parser'), read = __webpack_require__("../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/lib/read.js"), typeis = __webpack_require__("../../node_modules/.pnpm/type-is@1.6.18/node_modules/type-is/index.js");
322
- module.exports = urlencoded;
323
- var parsers = Object.create(null);
324
- function urlencoded(options) {
325
- var opts = options || {};
294
+ module.exports = function(options) {
295
+ var type, opts = options || {};
326
296
  void 0 === opts.extended && deprecate('undefined extended: provide extended option');
327
- var extended = !1 !== opts.extended, inflate = !1 !== opts.inflate, limit = 'number' != typeof opts.limit ? bytes.parse(opts.limit || '100kb') : opts.limit, type = opts.type || 'application/x-www-form-urlencoded', verify = opts.verify || !1, depth = 'number' != typeof opts.depth ? Number(opts.depth || 32) : opts.depth;
297
+ var extended = !1 !== opts.extended, inflate = !1 !== opts.inflate, limit = 'number' != typeof opts.limit ? bytes.parse(opts.limit || '100kb') : opts.limit, type1 = opts.type || 'application/x-www-form-urlencoded', verify = opts.verify || !1, depth = 'number' != typeof opts.depth ? Number(opts.depth || 32) : opts.depth;
328
298
  if (!1 !== verify && 'function' != typeof verify) throw TypeError('option verify must be function');
329
- var queryparse = extended ? extendedparser(opts) : simpleparser(opts), shouldParse = 'function' != typeof type ? typeChecker(type) : type;
299
+ var queryparse = extended ? function(options) {
300
+ var parameterLimit = void 0 !== options.parameterLimit ? options.parameterLimit : 1000, depth = 'number' != typeof options.depth ? Number(options.depth || 32) : options.depth, parse = parser('qs');
301
+ if (isNaN(parameterLimit) || parameterLimit < 1) throw TypeError('option parameterLimit must be a positive number');
302
+ if (isNaN(depth) || depth < 0) throw TypeError('option depth must be a zero or a positive number');
303
+ return isFinite(parameterLimit) && (parameterLimit |= 0), function(body) {
304
+ var paramCount = parameterCount(body, parameterLimit);
305
+ if (void 0 === paramCount) throw debug('too many parameters'), createError(413, 'too many parameters', {
306
+ type: 'parameters.too.many'
307
+ });
308
+ var arrayLimit = Math.max(100, paramCount);
309
+ debug('parse extended urlencoding');
310
+ try {
311
+ return parse(body, {
312
+ allowPrototypes: !0,
313
+ arrayLimit: arrayLimit,
314
+ depth: depth,
315
+ strictDepth: !0,
316
+ parameterLimit: parameterLimit
317
+ });
318
+ } catch (err) {
319
+ if (err instanceof RangeError) throw createError(400, 'The input exceeded the depth', {
320
+ type: 'querystring.parse.rangeError'
321
+ });
322
+ throw err;
323
+ }
324
+ };
325
+ }(opts) : function(options) {
326
+ var parameterLimit = void 0 !== options.parameterLimit ? options.parameterLimit : 1000, parse = parser('querystring');
327
+ if (isNaN(parameterLimit) || parameterLimit < 1) throw TypeError('option parameterLimit must be a positive number');
328
+ return isFinite(parameterLimit) && (parameterLimit |= 0), function(body) {
329
+ if (void 0 === parameterCount(body, parameterLimit)) throw debug('too many parameters'), createError(413, 'too many parameters', {
330
+ type: 'parameters.too.many'
331
+ });
332
+ return debug('parse urlencoding'), parse(body, void 0, void 0, {
333
+ maxKeys: parameterLimit
334
+ });
335
+ };
336
+ }(opts), shouldParse = 'function' != typeof type1 ? (type = type1, function(req) {
337
+ return !!typeis(req, type);
338
+ }) : type1;
330
339
  function parse(body) {
331
340
  return body.length ? queryparse(body) : {};
332
341
  }
@@ -343,7 +352,13 @@ var __webpack_modules__ = {
343
352
  debug('skip parsing'), next();
344
353
  return;
345
354
  }
346
- var charset = getCharset(req) || 'utf-8';
355
+ var charset = function(req) {
356
+ try {
357
+ return (contentType.parse(req).parameters.charset || '').toLowerCase();
358
+ } catch (e) {
359
+ return;
360
+ }
361
+ }(req) || 'utf-8';
347
362
  if ('utf-8' !== charset) {
348
363
  debug('invalid charset'), next(createError(415, 'unsupported charset "' + charset.toUpperCase() + '"', {
349
364
  charset: charset,
@@ -360,41 +375,8 @@ var __webpack_modules__ = {
360
375
  depth: depth
361
376
  });
362
377
  };
363
- }
364
- function extendedparser(options) {
365
- var parameterLimit = void 0 !== options.parameterLimit ? options.parameterLimit : 1000, depth = 'number' != typeof options.depth ? Number(options.depth || 32) : options.depth, parse = parser('qs');
366
- if (isNaN(parameterLimit) || parameterLimit < 1) throw TypeError('option parameterLimit must be a positive number');
367
- if (isNaN(depth) || depth < 0) throw TypeError('option depth must be a zero or a positive number');
368
- return isFinite(parameterLimit) && (parameterLimit |= 0), function(body) {
369
- var paramCount = parameterCount(body, parameterLimit);
370
- if (void 0 === paramCount) throw debug('too many parameters'), createError(413, 'too many parameters', {
371
- type: 'parameters.too.many'
372
- });
373
- var arrayLimit = Math.max(100, paramCount);
374
- debug('parse extended urlencoding');
375
- try {
376
- return parse(body, {
377
- allowPrototypes: !0,
378
- arrayLimit: arrayLimit,
379
- depth: depth,
380
- strictDepth: !0,
381
- parameterLimit: parameterLimit
382
- });
383
- } catch (err) {
384
- if (err instanceof RangeError) throw createError(400, 'The input exceeded the depth', {
385
- type: 'querystring.parse.rangeError'
386
- });
387
- throw err;
388
- }
389
- };
390
- }
391
- function getCharset(req) {
392
- try {
393
- return (contentType.parse(req).parameters.charset || '').toLowerCase();
394
- } catch (e) {
395
- return;
396
- }
397
- }
378
+ };
379
+ var parsers = Object.create(null);
398
380
  function parameterCount(body, limit) {
399
381
  for(var count = 0, index = 0; -1 !== (index = body.indexOf('&', index));)if (count++, index++, count === limit) return;
400
382
  return count;
@@ -411,27 +393,12 @@ var __webpack_modules__ = {
411
393
  }
412
394
  return parsers[name] = mod, mod.parse;
413
395
  }
414
- function simpleparser(options) {
415
- var parameterLimit = void 0 !== options.parameterLimit ? options.parameterLimit : 1000, parse = parser('querystring');
416
- if (isNaN(parameterLimit) || parameterLimit < 1) throw TypeError('option parameterLimit must be a positive number');
417
- return isFinite(parameterLimit) && (parameterLimit |= 0), function(body) {
418
- if (void 0 === parameterCount(body, parameterLimit)) throw debug('too many parameters'), createError(413, 'too many parameters', {
419
- type: 'parameters.too.many'
420
- });
421
- return debug('parse urlencoding'), parse(body, void 0, void 0, {
422
- maxKeys: parameterLimit
423
- });
424
- };
425
- }
426
- function typeChecker(type) {
427
- return function(req) {
428
- return !!typeis(req, type);
429
- };
430
- }
431
396
  },
432
397
  "../../node_modules/.pnpm/bytes@3.1.2/node_modules/bytes/index.js": function(module) {
433
398
  "use strict";
434
- module.exports = bytes, module.exports.format = format, module.exports.parse = parse;
399
+ module.exports = function(value, options) {
400
+ return 'string' == typeof value ? parse(value) : 'number' == typeof value ? format(value, options) : null;
401
+ }, module.exports.format = format, module.exports.parse = parse;
435
402
  var formatThousandsRegExp = /\B(?=(\d{3})+(?!\d))/g, formatDecimalsRegExp = /(?:\.0*|(\.[^0]+)0+)$/, map = {
436
403
  b: 1,
437
404
  kb: 1024,
@@ -440,9 +407,6 @@ var __webpack_modules__ = {
440
407
  tb: 1099511627776,
441
408
  pb: 1125899906842624
442
409
  }, parseRegExp = /^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;
443
- function bytes(value, options) {
444
- return 'string' == typeof value ? parse(value) : 'number' == typeof value ? format(value, options) : null;
445
- }
446
410
  function format(value, options) {
447
411
  if (!Number.isFinite(value)) return null;
448
412
  var mag = Math.abs(value), thousandsSeparator = options && options.thousandsSeparator || '', unitSeparator = options && options.unitSeparator || '', decimalPlaces = options && void 0 !== options.decimalPlaces ? options.decimalPlaces : 2, fixedDecimals = !!(options && options.fixedDecimals), unit = options && options.unit || '';
@@ -499,9 +463,31 @@ var __webpack_modules__ = {
499
463
  "../../node_modules/.pnpm/content-type@1.0.5/node_modules/content-type/index.js": function(__unused_webpack_module, exports1) {
500
464
  "use strict";
501
465
  var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/, TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g, QUOTE_REGEXP = /([\\"])/g, TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
502
- function parse(string) {
466
+ function ContentType(type) {
467
+ this.parameters = Object.create(null), this.type = type;
468
+ }
469
+ exports1.format = function(obj) {
470
+ if (!obj || 'object' != typeof obj) throw TypeError('argument obj is required');
471
+ var parameters = obj.parameters, type = obj.type;
472
+ if (!type || !TYPE_REGEXP.test(type)) throw TypeError('invalid type');
473
+ var string = type;
474
+ if (parameters && 'object' == typeof parameters) for(var param, params = Object.keys(parameters).sort(), i = 0; i < params.length; i++){
475
+ if (param = params[i], !TOKEN_REGEXP.test(param)) throw TypeError('invalid parameter name');
476
+ string += '; ' + param + '=' + function(val) {
477
+ var str = String(val);
478
+ if (TOKEN_REGEXP.test(str)) return str;
479
+ if (str.length > 0 && !TEXT_REGEXP.test(str)) throw TypeError('invalid parameter value');
480
+ return '"' + str.replace(QUOTE_REGEXP, '\\$1') + '"';
481
+ }(parameters[param]);
482
+ }
483
+ return string;
484
+ }, exports1.parse = function(string) {
503
485
  if (!string) throw TypeError('argument string is required');
504
- var key, match, value, header = 'object' == typeof string ? getcontenttype(string) : string;
486
+ var key, match, value, header = 'object' == typeof string ? function(obj) {
487
+ var header;
488
+ if ('function' == typeof obj.getHeader ? header = obj.getHeader('content-type') : 'object' == typeof obj.headers && (header = obj.headers && obj.headers['content-type']), 'string' != typeof header) throw TypeError('content-type header is missing from object');
489
+ return header;
490
+ }(string) : string;
505
491
  if ('string' != typeof header) throw TypeError('argument string is required to be a string');
506
492
  var index = header.indexOf(';'), type = -1 !== index ? header.slice(0, index).trim() : header.trim();
507
493
  if (!TYPE_REGEXP.test(type)) throw TypeError('invalid media type');
@@ -514,38 +500,19 @@ var __webpack_modules__ = {
514
500
  if (index !== header.length) throw TypeError('invalid parameter format');
515
501
  }
516
502
  return obj;
517
- }
518
- function getcontenttype(obj) {
519
- var header;
520
- if ('function' == typeof obj.getHeader ? header = obj.getHeader('content-type') : 'object' == typeof obj.headers && (header = obj.headers && obj.headers['content-type']), 'string' != typeof header) throw TypeError('content-type header is missing from object');
521
- return header;
522
- }
523
- function qstring(val) {
524
- var str = String(val);
525
- if (TOKEN_REGEXP.test(str)) return str;
526
- if (str.length > 0 && !TEXT_REGEXP.test(str)) throw TypeError('invalid parameter value');
527
- return '"' + str.replace(QUOTE_REGEXP, '\\$1') + '"';
528
- }
529
- function ContentType(type) {
530
- this.parameters = Object.create(null), this.type = type;
531
- }
532
- exports1.format = function format(obj) {
533
- if (!obj || 'object' != typeof obj) throw TypeError('argument obj is required');
534
- var parameters = obj.parameters, type = obj.type;
535
- if (!type || !TYPE_REGEXP.test(type)) throw TypeError('invalid type');
536
- var string = type;
537
- if (parameters && 'object' == typeof parameters) for(var param, params = Object.keys(parameters).sort(), i = 0; i < params.length; i++){
538
- if (param = params[i], !TOKEN_REGEXP.test(param)) throw TypeError('invalid parameter name');
539
- string += '; ' + param + '=' + qstring(parameters[param]);
540
- }
541
- return string;
542
- }, exports1.parse = parse;
503
+ };
543
504
  },
544
505
  "../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/browser.js": function(module, exports1, __webpack_require__) {
545
- function useColors() {
546
- return 'undefined' != typeof window && !!window.process && 'renderer' === window.process.type || 'undefined' != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || 'undefined' != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || 'undefined' != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || 'undefined' != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
506
+ function load() {
507
+ var r;
508
+ try {
509
+ r = exports1.storage.debug;
510
+ } catch (e) {}
511
+ return !r && 'undefined' != typeof process && 'env' in process && (r = process.env.DEBUG), r;
547
512
  }
548
- function formatArgs(args) {
513
+ (exports1 = module.exports = __webpack_require__("../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/debug.js")).log = function() {
514
+ return 'object' == typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments);
515
+ }, exports1.formatArgs = function(args) {
549
516
  var useColors = this.useColors;
550
517
  if (args[0] = (useColors ? '%c' : '') + this.namespace + (useColors ? ' %c' : ' ') + args[0] + (useColors ? '%c ' : ' ') + '+' + exports1.humanize(this.diff), useColors) {
551
518
  var c = 'color: ' + this.color;
@@ -555,28 +522,17 @@ var __webpack_modules__ = {
555
522
  '%%' !== match && (index++, '%c' === match && (lastC = index));
556
523
  }), args.splice(lastC, 0, c);
557
524
  }
558
- }
559
- function log() {
560
- return 'object' == typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments);
561
- }
562
- function save(namespaces) {
525
+ }, exports1.save = function(namespaces) {
563
526
  try {
564
527
  null == namespaces ? exports1.storage.removeItem('debug') : exports1.storage.debug = namespaces;
565
528
  } catch (e) {}
566
- }
567
- function load() {
568
- var r;
569
- try {
570
- r = exports1.storage.debug;
571
- } catch (e) {}
572
- return !r && 'undefined' != typeof process && 'env' in process && (r = process.env.DEBUG), r;
573
- }
574
- function localstorage() {
529
+ }, exports1.load = load, exports1.useColors = function() {
530
+ return 'undefined' != typeof window && !!window.process && 'renderer' === window.process.type || 'undefined' != typeof document && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || 'undefined' != typeof window && window.console && (window.console.firebug || window.console.exception && window.console.table) || 'undefined' != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31 || 'undefined' != typeof navigator && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
531
+ }, exports1.storage = 'undefined' != typeof chrome && void 0 !== chrome.storage ? chrome.storage.local : function() {
575
532
  try {
576
533
  return window.localStorage;
577
534
  } catch (e) {}
578
- }
579
- (exports1 = module.exports = __webpack_require__("../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/debug.js")).log = log, exports1.formatArgs = formatArgs, exports1.save = save, exports1.load = load, exports1.useColors = useColors, exports1.storage = 'undefined' != typeof chrome && void 0 !== chrome.storage ? chrome.storage.local : localstorage(), exports1.colors = [
535
+ }(), exports1.colors = [
580
536
  'lightseagreen',
581
537
  'forestgreen',
582
538
  'goldenrod',
@@ -593,16 +549,11 @@ var __webpack_modules__ = {
593
549
  },
594
550
  "../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/debug.js": function(module, exports1, __webpack_require__) {
595
551
  var prevTime;
596
- function selectColor(namespace) {
597
- var i, hash = 0;
598
- for(i in namespace)hash = (hash << 5) - hash + namespace.charCodeAt(i) | 0;
599
- return exports1.colors[Math.abs(hash) % exports1.colors.length];
600
- }
601
552
  function createDebug(namespace) {
602
553
  function debug() {
603
554
  if (debug.enabled) {
604
- var self = debug, curr = +new Date(), ms = curr - (prevTime || curr);
605
- self.diff = ms, self.prev = prevTime, self.curr = curr, prevTime = curr;
555
+ var curr = +new Date();
556
+ debug.diff = curr - (prevTime || curr), debug.prev = prevTime, debug.curr = curr, prevTime = curr;
606
557
  for(var args = Array(arguments.length), i = 0; i < args.length; i++)args[i] = arguments[i];
607
558
  args[0] = exports1.coerce(args[0]), 'string' != typeof args[0] && args.unshift('%O');
608
559
  var index = 0;
@@ -612,40 +563,53 @@ var __webpack_modules__ = {
612
563
  var formatter = exports1.formatters[format];
613
564
  if ('function' == typeof formatter) {
614
565
  var val = args[index];
615
- match = formatter.call(self, val), args.splice(index, 1), index--;
566
+ match = formatter.call(debug, val), args.splice(index, 1), index--;
616
567
  }
617
568
  return match;
618
- }), exports1.formatArgs.call(self, args);
619
- var logFn = debug.log || exports1.log || console.log.bind(console);
620
- logFn.apply(self, args);
569
+ }), exports1.formatArgs.call(debug, args), (debug.log || exports1.log || console.log.bind(console)).apply(debug, args);
621
570
  }
622
571
  }
623
- return debug.namespace = namespace, debug.enabled = exports1.enabled(namespace), debug.useColors = exports1.useColors(), debug.color = selectColor(namespace), 'function' == typeof exports1.init && exports1.init(debug), debug;
572
+ return debug.namespace = namespace, debug.enabled = exports1.enabled(namespace), debug.useColors = exports1.useColors(), debug.color = function(namespace) {
573
+ var i, hash = 0;
574
+ for(i in namespace)hash = (hash << 5) - hash + namespace.charCodeAt(i) | 0;
575
+ return exports1.colors[Math.abs(hash) % exports1.colors.length];
576
+ }(namespace), 'function' == typeof exports1.init && exports1.init(debug), debug;
624
577
  }
625
- function enable(namespaces) {
578
+ (exports1 = module.exports = createDebug.debug = createDebug.default = createDebug).coerce = function(val) {
579
+ return val instanceof Error ? val.stack || val.message : val;
580
+ }, exports1.disable = function() {
581
+ exports1.enable('');
582
+ }, exports1.enable = function(namespaces) {
626
583
  exports1.save(namespaces), exports1.names = [], exports1.skips = [];
627
584
  for(var split = ('string' == typeof namespaces ? namespaces : '').split(/[\s,]+/), len = split.length, i = 0; i < len; i++)split[i] && ('-' === (namespaces = split[i].replace(/\*/g, '.*?'))[0] ? exports1.skips.push(RegExp('^' + namespaces.substr(1) + '$')) : exports1.names.push(RegExp('^' + namespaces + '$')));
628
- }
629
- function disable() {
630
- exports1.enable('');
631
- }
632
- function enabled(name) {
585
+ }, exports1.enabled = function(name) {
633
586
  var i, len;
634
587
  for(i = 0, len = exports1.skips.length; i < len; i++)if (exports1.skips[i].test(name)) return !1;
635
588
  for(i = 0, len = exports1.names.length; i < len; i++)if (exports1.names[i].test(name)) return !0;
636
589
  return !1;
637
- }
638
- function coerce(val) {
639
- return val instanceof Error ? val.stack || val.message : val;
640
- }
641
- (exports1 = module.exports = createDebug.debug = createDebug.default = createDebug).coerce = coerce, exports1.disable = disable, exports1.enable = enable, exports1.enabled = enabled, exports1.humanize = __webpack_require__("../../node_modules/.pnpm/ms@2.0.0/node_modules/ms/index.js"), exports1.names = [], exports1.skips = [], exports1.formatters = {};
590
+ }, exports1.humanize = __webpack_require__("../../node_modules/.pnpm/ms@2.0.0/node_modules/ms/index.js"), exports1.names = [], exports1.skips = [], exports1.formatters = {};
642
591
  },
643
592
  "../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
644
593
  'undefined' != typeof process && 'renderer' === process.type ? module.exports = __webpack_require__("../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/browser.js") : module.exports = __webpack_require__("../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/node.js");
645
594
  },
646
595
  "../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/node.js": function(module, exports1, __webpack_require__) {
647
596
  var tty = __webpack_require__("tty"), util = __webpack_require__("util");
648
- (exports1 = module.exports = __webpack_require__("../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/debug.js")).init = init, exports1.log = log, exports1.formatArgs = formatArgs, exports1.save = save, exports1.load = load, exports1.useColors = useColors, exports1.colors = [
597
+ (exports1 = module.exports = __webpack_require__("../../node_modules/.pnpm/debug@2.6.9/node_modules/debug/src/debug.js")).init = function(debug) {
598
+ debug.inspectOpts = {};
599
+ for(var keys = Object.keys(exports1.inspectOpts), i = 0; i < keys.length; i++)debug.inspectOpts[keys[i]] = exports1.inspectOpts[keys[i]];
600
+ }, exports1.log = function() {
601
+ return stream.write(util.format.apply(util, arguments) + '\n');
602
+ }, exports1.formatArgs = function(args) {
603
+ var name = this.namespace;
604
+ if (this.useColors) {
605
+ var c = this.color, prefix = ' \u001b[3' + c + ';1m' + name + " \x1b[0m";
606
+ args[0] = prefix + args[0].split('\n').join('\n' + prefix), args.push('\u001b[3' + c + 'm+' + exports1.humanize(this.diff) + '\u001b[0m');
607
+ } else args[0] = new Date().toUTCString() + ' ' + name + ' ' + args[0];
608
+ }, exports1.save = function(namespaces) {
609
+ null == namespaces ? delete process.env.DEBUG : process.env.DEBUG = namespaces;
610
+ }, exports1.load = load, exports1.useColors = function() {
611
+ return 'colors' in exports1.inspectOpts ? !!exports1.inspectOpts.colors : tty.isatty(fd);
612
+ }, exports1.colors = [
649
613
  6,
650
614
  2,
651
615
  3,
@@ -662,27 +626,7 @@ var __webpack_modules__ = {
662
626
  }, {});
663
627
  var fd = parseInt(process.env.DEBUG_FD, 10) || 2;
664
628
  1 !== fd && 2 !== fd && util.deprecate(function() {}, 'except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)')();
665
- var stream = 1 === fd ? process.stdout : 2 === fd ? process.stderr : createWritableStdioStream(fd);
666
- function useColors() {
667
- return 'colors' in exports1.inspectOpts ? !!exports1.inspectOpts.colors : tty.isatty(fd);
668
- }
669
- function formatArgs(args) {
670
- var name = this.namespace;
671
- if (this.useColors) {
672
- var c = this.color, prefix = ' \u001b[3' + c + ';1m' + name + " \x1b[0m";
673
- args[0] = prefix + args[0].split('\n').join('\n' + prefix), args.push('\u001b[3' + c + 'm+' + exports1.humanize(this.diff) + '\u001b[0m');
674
- } else args[0] = new Date().toUTCString() + ' ' + name + ' ' + args[0];
675
- }
676
- function log() {
677
- return stream.write(util.format.apply(util, arguments) + '\n');
678
- }
679
- function save(namespaces) {
680
- null == namespaces ? delete process.env.DEBUG : process.env.DEBUG = namespaces;
681
- }
682
- function load() {
683
- return process.env.DEBUG;
684
- }
685
- function createWritableStdioStream(fd) {
629
+ var stream = 1 === fd ? process.stdout : 2 === fd ? process.stderr : function(fd) {
686
630
  var stream;
687
631
  switch(process.binding('tty_wrap').guessHandleType(fd)){
688
632
  case 'TTY':
@@ -705,10 +649,9 @@ var __webpack_modules__ = {
705
649
  throw Error('Implement me. Unknown stream file type!');
706
650
  }
707
651
  return stream.fd = fd, stream._isStdio = !0, stream;
708
- }
709
- function init(debug) {
710
- debug.inspectOpts = {};
711
- for(var keys = Object.keys(exports1.inspectOpts), i = 0; i < keys.length; i++)debug.inspectOpts[keys[i]] = exports1.inspectOpts[keys[i]];
652
+ }(fd);
653
+ function load() {
654
+ return process.env.DEBUG;
712
655
  }
713
656
  exports1.formatters.o = function(v) {
714
657
  return this.inspectOpts.colors = this.useColors, util.inspect(v, this.inspectOpts).split('\n').map(function(str) {
@@ -720,7 +663,14 @@ var __webpack_modules__ = {
720
663
  },
721
664
  "../../node_modules/.pnpm/depd@2.0.0/node_modules/depd/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
722
665
  var relative = __webpack_require__("path").relative;
723
- module.exports = depd;
666
+ module.exports = function(namespace) {
667
+ var namespace1, namespace2;
668
+ if (!namespace) throw TypeError('argument namespace is required');
669
+ function deprecate(message) {
670
+ log.call(deprecate, message);
671
+ }
672
+ return deprecate._file = callSiteLocation(getStack()[1])[0], namespace1 = namespace, deprecate._ignored = !!process.noDeprecation || containsNamespace(process.env.NO_DEPRECATION || '', namespace1), deprecate._namespace = namespace, namespace2 = namespace, deprecate._traced = !!process.traceDeprecation || containsNamespace(process.env.TRACE_DEPRECATION || '', namespace2), deprecate._warned = Object.create(null), deprecate.function = wrapfunction, deprecate.property = wrapproperty, deprecate;
673
+ };
724
674
  var basePath = process.cwd();
725
675
  function containsNamespace(str, namespace) {
726
676
  for(var vals = str.split(/[ ,]+/), ns = String(namespace).toLowerCase(), i = 0; i < vals.length; i++){
@@ -729,42 +679,14 @@ var __webpack_modules__ = {
729
679
  }
730
680
  return !1;
731
681
  }
732
- function convertDataDescriptorToAccessor(obj, prop, message) {
733
- var descriptor = Object.getOwnPropertyDescriptor(obj, prop), value = descriptor.value;
734
- return descriptor.get = function() {
735
- return value;
736
- }, descriptor.writable && (descriptor.set = function(val) {
737
- return value = val;
738
- }), delete descriptor.value, delete descriptor.writable, Object.defineProperty(obj, prop, descriptor), descriptor;
739
- }
740
- function createArgumentsString(arity) {
741
- for(var str = '', i = 0; i < arity; i++)str += ', arg' + i;
742
- return str.substr(2);
743
- }
744
682
  function createStackString(stack) {
745
683
  var str = this.name + ': ' + this.namespace;
746
684
  this.message && (str += ' deprecated ' + this.message);
747
685
  for(var i = 0; i < stack.length; i++)str += '\n at ' + stack[i].toString();
748
686
  return str;
749
687
  }
750
- function depd(namespace) {
751
- if (!namespace) throw TypeError('argument namespace is required');
752
- function deprecate(message) {
753
- log.call(deprecate, message);
754
- }
755
- return deprecate._file = callSiteLocation(getStack()[1])[0], deprecate._ignored = isignored(namespace), deprecate._namespace = namespace, deprecate._traced = istraced(namespace), deprecate._warned = Object.create(null), deprecate.function = wrapfunction, deprecate.property = wrapproperty, deprecate;
756
- }
757
- function eehaslisteners(emitter, type) {
758
- return ('function' != typeof emitter.listenerCount ? emitter.listeners(type).length : emitter.listenerCount(type)) > 0;
759
- }
760
- function isignored(namespace) {
761
- return !!process.noDeprecation || containsNamespace(process.env.NO_DEPRECATION || '', namespace);
762
- }
763
- function istraced(namespace) {
764
- return !!process.traceDeprecation || containsNamespace(process.env.TRACE_DEPRECATION || '', namespace);
765
- }
766
688
  function log(message, site) {
767
- var caller, callFile, callSite, depSite, haslisteners = eehaslisteners(process, 'deprecation');
689
+ var emitter, type, caller, callFile, callSite, depSite, haslisteners = (type = 'deprecation', ('function' != typeof (emitter = process).listenerCount ? emitter.listeners(type).length : emitter.listenerCount(type)) > 0);
768
690
  if (haslisteners || !this._ignored) {
769
691
  var i = 0, seen = !1, stack = getStack(), file = this._file;
770
692
  for(site ? (depSite = site, (callSite = callSiteLocation(stack[1])).name = depSite.name, file = callSite[0]) : callSite = depSite = callSiteLocation(stack[i = 2]); i < stack.length; i++)if ((callFile = (caller = callSiteLocation(stack[i]))[0]) === file) seen = !0;
@@ -775,11 +697,40 @@ var __webpack_modules__ = {
775
697
  this._warned[key] = !0;
776
698
  var msg = message;
777
699
  if (msg || (msg = callSite !== depSite && callSite.name ? defaultMessage(callSite) : defaultMessage(depSite)), haslisteners) {
778
- var err = DeprecationError(this._namespace, msg, stack.slice(i));
700
+ var err = function DeprecationError(namespace, message, stack) {
701
+ var stackString, error = Error();
702
+ return Object.defineProperty(error, 'constructor', {
703
+ value: DeprecationError
704
+ }), Object.defineProperty(error, 'message', {
705
+ configurable: !0,
706
+ enumerable: !1,
707
+ value: message,
708
+ writable: !0
709
+ }), Object.defineProperty(error, 'name', {
710
+ enumerable: !1,
711
+ configurable: !0,
712
+ value: 'DeprecationError',
713
+ writable: !0
714
+ }), Object.defineProperty(error, 'namespace', {
715
+ configurable: !0,
716
+ enumerable: !1,
717
+ value: namespace,
718
+ writable: !0
719
+ }), Object.defineProperty(error, 'stack', {
720
+ configurable: !0,
721
+ enumerable: !1,
722
+ get: function() {
723
+ return void 0 !== stackString ? stackString : stackString = createStackString.call(this, stack);
724
+ },
725
+ set: function(val) {
726
+ stackString = val;
727
+ }
728
+ }), error;
729
+ }(this._namespace, msg, stack.slice(i));
779
730
  process.emit('deprecation', err);
780
731
  return;
781
732
  }
782
- var format = process.stderr.isTTY ? formatColor : formatPlain, output = format.call(this, msg, caller, stack.slice(i));
733
+ var output = (process.stderr.isTTY ? formatColor : formatPlain).call(this, msg, caller, stack.slice(i));
783
734
  process.stderr.write(output + '\n', 'utf8');
784
735
  }
785
736
  }
@@ -830,86 +781,34 @@ var __webpack_modules__ = {
830
781
  }
831
782
  function wrapfunction(fn, message) {
832
783
  if ('function' != typeof fn) throw TypeError('argument fn must be a function');
833
- var args = createArgumentsString(fn.length), site = callSiteLocation(getStack()[1]);
784
+ var args = function(arity) {
785
+ for(var str = '', i = 0; i < arity; i++)str += ', arg' + i;
786
+ return str.substr(2);
787
+ }(fn.length), site = callSiteLocation(getStack()[1]);
834
788
  return site.name = fn.name, Function('fn', 'log', 'deprecate', 'message', 'site', '"use strict"\nreturn function (' + args + ") {log.call(deprecate, message, site)\nreturn fn.apply(this, arguments)\n}")(fn, log, this, message, site);
835
789
  }
836
790
  function wrapproperty(obj, prop, message) {
837
791
  if (!obj || 'object' != typeof obj && 'function' != typeof obj) throw TypeError('argument obj must be object');
838
- var descriptor = Object.getOwnPropertyDescriptor(obj, prop);
839
- if (!descriptor) throw TypeError('must call property on owner object');
840
- if (!descriptor.configurable) throw TypeError('property must be configurable');
792
+ var descriptor, value, descriptor1 = Object.getOwnPropertyDescriptor(obj, prop);
793
+ if (!descriptor1) throw TypeError('must call property on owner object');
794
+ if (!descriptor1.configurable) throw TypeError('property must be configurable');
841
795
  var deprecate = this, site = callSiteLocation(getStack()[1]);
842
- site.name = prop, 'value' in descriptor && (descriptor = convertDataDescriptorToAccessor(obj, prop, message));
843
- var get = descriptor.get, set = descriptor.set;
844
- 'function' == typeof get && (descriptor.get = function() {
796
+ site.name = prop, 'value' in descriptor1 && (value = (descriptor = Object.getOwnPropertyDescriptor(obj, prop)).value, descriptor.get = function() {
797
+ return value;
798
+ }, descriptor.writable && (descriptor.set = function(val) {
799
+ return value = val;
800
+ }), delete descriptor.value, delete descriptor.writable, Object.defineProperty(obj, prop, descriptor), descriptor1 = descriptor);
801
+ var get = descriptor1.get, set = descriptor1.set;
802
+ 'function' == typeof get && (descriptor1.get = function() {
845
803
  return log.call(deprecate, message, site), get.apply(this, arguments);
846
- }), 'function' == typeof set && (descriptor.set = function() {
804
+ }), 'function' == typeof set && (descriptor1.set = function() {
847
805
  return log.call(deprecate, message, site), set.apply(this, arguments);
848
- }), Object.defineProperty(obj, prop, descriptor);
849
- }
850
- function DeprecationError(namespace, message, stack) {
851
- var stackString, error = Error();
852
- return Object.defineProperty(error, 'constructor', {
853
- value: DeprecationError
854
- }), Object.defineProperty(error, 'message', {
855
- configurable: !0,
856
- enumerable: !1,
857
- value: message,
858
- writable: !0
859
- }), Object.defineProperty(error, 'name', {
860
- enumerable: !1,
861
- configurable: !0,
862
- value: 'DeprecationError',
863
- writable: !0
864
- }), Object.defineProperty(error, 'namespace', {
865
- configurable: !0,
866
- enumerable: !1,
867
- value: namespace,
868
- writable: !0
869
- }), Object.defineProperty(error, 'stack', {
870
- configurable: !0,
871
- enumerable: !1,
872
- get: function() {
873
- return void 0 !== stackString ? stackString : stackString = createStackString.call(this, stack);
874
- },
875
- set: function(val) {
876
- stackString = val;
877
- }
878
- }), error;
806
+ }), Object.defineProperty(obj, prop, descriptor1);
879
807
  }
880
808
  },
881
809
  "../../node_modules/.pnpm/destroy@1.2.0/node_modules/destroy/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
882
810
  "use strict";
883
811
  var EventEmitter = __webpack_require__("events").EventEmitter, ReadStream = __webpack_require__("fs").ReadStream, Stream = __webpack_require__("stream"), Zlib = __webpack_require__("zlib");
884
- function destroyReadStream(stream) {
885
- stream.destroy(), 'function' == typeof stream.close && stream.on('open', onOpenClose);
886
- }
887
- function closeZlibStream(stream) {
888
- if (!0 === stream._hadError) {
889
- var prop = null === stream._binding ? '_binding' : '_handle';
890
- stream[prop] = {
891
- close: function() {
892
- this[prop] = null;
893
- }
894
- };
895
- }
896
- stream.close();
897
- }
898
- function destroyZlibStream(stream) {
899
- 'function' == typeof stream.destroy ? stream._binding ? (stream.destroy(), stream._processing ? (stream._needDrain = !0, stream.once('drain', onDrainClearBinding)) : stream._binding.clear()) : stream._destroy && stream._destroy !== Stream.Transform.prototype._destroy ? stream.destroy() : stream._destroy && 'function' == typeof stream.close ? (stream.destroyed = !0, stream.close()) : stream.destroy() : 'function' == typeof stream.close && closeZlibStream(stream);
900
- }
901
- function hasDestroy(stream) {
902
- return stream instanceof Stream && 'function' == typeof stream.destroy;
903
- }
904
- function isEventEmitter(val) {
905
- return val instanceof EventEmitter;
906
- }
907
- function isFsReadStream(stream) {
908
- return stream instanceof ReadStream;
909
- }
910
- function isZlibStream(stream) {
911
- return stream instanceof Zlib.Gzip || stream instanceof Zlib.Gunzip || stream instanceof Zlib.Deflate || stream instanceof Zlib.DeflateRaw || stream instanceof Zlib.Inflate || stream instanceof Zlib.InflateRaw || stream instanceof Zlib.Unzip;
912
- }
913
812
  function noop() {}
914
813
  function onDrainClearBinding() {
915
814
  this._binding.clear();
@@ -917,8 +816,19 @@ var __webpack_modules__ = {
917
816
  function onOpenClose() {
918
817
  'number' == typeof this.fd && this.close();
919
818
  }
920
- module.exports = function destroy(stream, suppress) {
921
- return isFsReadStream(stream) ? destroyReadStream(stream) : isZlibStream(stream) ? destroyZlibStream(stream) : hasDestroy(stream) && stream.destroy(), isEventEmitter(stream) && suppress && (stream.removeAllListeners('error'), stream.addListener('error', noop)), stream;
819
+ module.exports = function(stream, suppress) {
820
+ var stream1, stream2, stream3, stream4;
821
+ return stream instanceof ReadStream ? ((stream1 = stream).destroy(), 'function' == typeof stream1.close && stream1.on('open', onOpenClose)) : (stream2 = stream) instanceof Zlib.Gzip || stream2 instanceof Zlib.Gunzip || stream2 instanceof Zlib.Deflate || stream2 instanceof Zlib.DeflateRaw || stream2 instanceof Zlib.Inflate || stream2 instanceof Zlib.InflateRaw || stream2 instanceof Zlib.Unzip ? 'function' == typeof (stream3 = stream).destroy ? stream3._binding ? (stream3.destroy(), stream3._processing ? (stream3._needDrain = !0, stream3.once('drain', onDrainClearBinding)) : stream3._binding.clear()) : stream3._destroy && stream3._destroy !== Stream.Transform.prototype._destroy ? stream3.destroy() : stream3._destroy && 'function' == typeof stream3.close ? (stream3.destroyed = !0, stream3.close()) : stream3.destroy() : 'function' == typeof stream3.close && function(stream) {
822
+ if (!0 === stream._hadError) {
823
+ var prop = null === stream._binding ? '_binding' : '_handle';
824
+ stream[prop] = {
825
+ close: function() {
826
+ this[prop] = null;
827
+ }
828
+ };
829
+ }
830
+ stream.close();
831
+ }(stream3) : (stream4 = stream) instanceof Stream && 'function' == typeof stream4.destroy && stream.destroy(), stream instanceof EventEmitter && suppress && (stream.removeAllListeners('error'), stream.addListener('error', noop)), stream;
922
832
  };
923
833
  },
924
834
  "../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js": function(module, __unused_webpack_exports, __webpack_require__) {
@@ -938,19 +848,18 @@ var __webpack_modules__ = {
938
848
  },
939
849
  "../../node_modules/.pnpm/ee-first@1.1.1/node_modules/ee-first/index.js": function(module) {
940
850
  "use strict";
941
- function listener(event, done) {
942
- return function(arg1) {
943
- for(var args = Array(arguments.length), ee = this, err = 'error' === event ? arg1 : null, i = 0; i < args.length; i++)args[i] = arguments[i];
944
- done(err, ee, event, args);
945
- };
946
- }
947
- module.exports = function first(stuff, done) {
851
+ module.exports = function(stuff, done) {
948
852
  if (!Array.isArray(stuff)) throw TypeError('arg must be an array of [ee, events...] arrays');
949
853
  for(var cleanups = [], i = 0; i < stuff.length; i++){
950
854
  var arr = stuff[i];
951
855
  if (!Array.isArray(arr) || arr.length < 2) throw TypeError('each array member must be [ee, events...]');
952
856
  for(var ee = arr[0], j = 1; j < arr.length; j++){
953
- var event = arr[j], fn = listener(event, callback);
857
+ var event = arr[j], fn = function(event, done) {
858
+ return function(arg1) {
859
+ for(var args = Array(arguments.length), i = 0; i < args.length; i++)args[i] = arguments[i];
860
+ done('error' === event ? arg1 : null, this, event, args);
861
+ };
862
+ }(event, callback);
954
863
  ee.on(event, fn), cleanups.push({
955
864
  ee: ee,
956
865
  event: event,
@@ -1016,7 +925,7 @@ var __webpack_modules__ = {
1016
925
  },
1017
926
  "../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js": function(module) {
1018
927
  "use strict";
1019
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ', toStr = Object.prototype.toString, max = Math.max, funcType = '[object Function]', concatty = function(a, b) {
928
+ var toStr = Object.prototype.toString, max = Math.max, concatty = function(a, b) {
1020
929
  for(var arr = [], i = 0; i < a.length; i += 1)arr[i] = a[i];
1021
930
  for(var j = 0; j < b.length; j += 1)arr[j + a.length] = b[j];
1022
931
  return arr;
@@ -1029,15 +938,15 @@ var __webpack_modules__ = {
1029
938
  };
1030
939
  module.exports = function(that) {
1031
940
  var bound, target = this;
1032
- if ('function' != typeof target || toStr.apply(target) !== funcType) throw TypeError(ERROR_MESSAGE + target);
1033
- for(var args = slicy(arguments, 1), binder = function() {
941
+ if ('function' != typeof target || '[object Function]' !== toStr.apply(target)) throw TypeError('Function.prototype.bind called on incompatible ' + target);
942
+ for(var args = slicy(arguments, 1), boundLength = max(0, target.length - args.length), boundArgs = [], i = 0; i < boundLength; i++)boundArgs[i] = '$' + i;
943
+ if (bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(function() {
1034
944
  if (this instanceof bound) {
1035
945
  var result = target.apply(this, concatty(args, arguments));
1036
946
  return Object(result) === result ? result : this;
1037
947
  }
1038
948
  return target.apply(that, concatty(args, arguments));
1039
- }, boundLength = max(0, target.length - args.length), boundArgs = [], i = 0; i < boundLength; i++)boundArgs[i] = '$' + i;
1040
- if (bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder), target.prototype) {
949
+ }), target.prototype) {
1041
950
  var Empty = function() {};
1042
951
  Empty.prototype = target.prototype, bound.prototype = new Empty(), Empty.prototype = null;
1043
952
  }
@@ -1481,14 +1390,13 @@ var __webpack_modules__ = {
1481
1390
  if ('symbol' == typeof Symbol.iterator) return !0;
1482
1391
  var obj = {}, sym = Symbol('test'), symObj = Object(sym);
1483
1392
  if ('string' == typeof sym || '[object Symbol]' !== Object.prototype.toString.call(sym) || '[object Symbol]' !== Object.prototype.toString.call(symObj)) return !1;
1484
- var symVal = 42;
1485
- for(var _ in obj[sym] = symVal, obj)return !1;
1393
+ for(var _ in obj[sym] = 42, obj)return !1;
1486
1394
  if ('function' == typeof Object.keys && 0 !== Object.keys(obj).length || 'function' == typeof Object.getOwnPropertyNames && 0 !== Object.getOwnPropertyNames(obj).length) return !1;
1487
1395
  var syms = Object.getOwnPropertySymbols(obj);
1488
1396
  if (1 !== syms.length || syms[0] !== sym || !Object.prototype.propertyIsEnumerable.call(obj, sym)) return !1;
1489
1397
  if ('function' == typeof Object.getOwnPropertyDescriptor) {
1490
1398
  var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
1491
- if (descriptor.value !== symVal || !0 !== descriptor.enumerable) return !1;
1399
+ if (42 !== descriptor.value || !0 !== descriptor.enumerable) return !1;
1492
1400
  }
1493
1401
  return !0;
1494
1402
  };
@@ -1500,11 +1408,18 @@ var __webpack_modules__ = {
1500
1408
  },
1501
1409
  "../../node_modules/.pnpm/http-errors@2.0.0/node_modules/http-errors/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
1502
1410
  "use strict";
1503
- var deprecate = __webpack_require__("../../node_modules/.pnpm/depd@2.0.0/node_modules/depd/index.js")('http-errors'), setPrototypeOf = __webpack_require__("../../node_modules/.pnpm/setprototypeof@1.2.0/node_modules/setprototypeof/index.js"), statuses = __webpack_require__("../../node_modules/.pnpm/statuses@2.0.1/node_modules/statuses/index.js"), inherits = __webpack_require__("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"), toIdentifier = __webpack_require__("../../node_modules/.pnpm/toidentifier@1.0.1/node_modules/toidentifier/index.js");
1411
+ var HttpError, exports1, codes, HttpError1, deprecate = __webpack_require__("../../node_modules/.pnpm/depd@2.0.0/node_modules/depd/index.js")('http-errors'), setPrototypeOf = __webpack_require__("../../node_modules/.pnpm/setprototypeof@1.2.0/node_modules/setprototypeof/index.js"), statuses = __webpack_require__("../../node_modules/.pnpm/statuses@2.0.1/node_modules/statuses/index.js"), inherits = __webpack_require__("../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"), toIdentifier = __webpack_require__("../../node_modules/.pnpm/toidentifier@1.0.1/node_modules/toidentifier/index.js");
1504
1412
  function codeClass(status) {
1505
1413
  return Number(String(status).charAt(0) + '00');
1506
1414
  }
1507
- function createError() {
1415
+ function nameFunc(func, name) {
1416
+ var desc = Object.getOwnPropertyDescriptor(func, 'name');
1417
+ desc && desc.configurable && (desc.value = name, Object.defineProperty(func, 'name', desc));
1418
+ }
1419
+ function toClassName(name) {
1420
+ return 'Error' !== name.substr(-5) ? name + 'Error' : name;
1421
+ }
1422
+ module.exports = function createError() {
1508
1423
  for(var err, msg, status = 500, props = {}, i = 0; i < arguments.length; i++){
1509
1424
  var arg = arguments[i], type = typeof arg;
1510
1425
  if ('object' === type && arg instanceof Error) status = (err = arg).status || err.statusCode || status;
@@ -1517,81 +1432,64 @@ var __webpack_modules__ = {
1517
1432
  var HttpError = createError[status] || createError[codeClass(status)];
1518
1433
  for(var key in err || Error.captureStackTrace(err = HttpError ? new HttpError(msg) : Error(msg || statuses.message[status]), createError), HttpError && err instanceof HttpError && err.status === status || (err.expose = status < 500, err.status = err.statusCode = status), props)'status' !== key && 'statusCode' !== key && (err[key] = props[key]);
1519
1434
  return err;
1520
- }
1521
- function createHttpErrorConstructor() {
1435
+ }, module.exports.HttpError = function() {
1522
1436
  function HttpError() {
1523
1437
  throw TypeError('cannot construct abstract class');
1524
1438
  }
1525
1439
  return inherits(HttpError, Error), HttpError;
1526
- }
1527
- function createClientErrorConstructor(HttpError, name, code) {
1528
- var className = toClassName(name);
1529
- function ClientError(message) {
1530
- var msg = null != message ? message : statuses.message[code], err = Error(msg);
1531
- return Error.captureStackTrace(err, ClientError), setPrototypeOf(err, ClientError.prototype), Object.defineProperty(err, 'message', {
1532
- enumerable: !0,
1533
- configurable: !0,
1534
- value: msg,
1535
- writable: !0
1536
- }), Object.defineProperty(err, 'name', {
1537
- enumerable: !1,
1538
- configurable: !0,
1539
- value: className,
1540
- writable: !0
1541
- }), err;
1542
- }
1543
- return inherits(ClientError, HttpError), nameFunc(ClientError, className), ClientError.prototype.status = code, ClientError.prototype.statusCode = code, ClientError.prototype.expose = !0, ClientError;
1544
- }
1545
- function createIsHttpErrorFunction(HttpError) {
1546
- return function(val) {
1547
- return !!val && 'object' == typeof val && (val instanceof HttpError || val instanceof Error && 'boolean' == typeof val.expose && 'number' == typeof val.statusCode && val.status === val.statusCode);
1548
- };
1549
- }
1550
- function createServerErrorConstructor(HttpError, name, code) {
1551
- var className = toClassName(name);
1552
- function ServerError(message) {
1553
- var msg = null != message ? message : statuses.message[code], err = Error(msg);
1554
- return Error.captureStackTrace(err, ServerError), setPrototypeOf(err, ServerError.prototype), Object.defineProperty(err, 'message', {
1555
- enumerable: !0,
1556
- configurable: !0,
1557
- value: msg,
1558
- writable: !0
1559
- }), Object.defineProperty(err, 'name', {
1560
- enumerable: !1,
1561
- configurable: !0,
1562
- value: className,
1563
- writable: !0
1564
- }), err;
1440
+ }(), module.exports.isHttpError = (HttpError = module.exports.HttpError, function(val) {
1441
+ return !!val && 'object' == typeof val && (val instanceof HttpError || val instanceof Error && 'boolean' == typeof val.expose && 'number' == typeof val.statusCode && val.status === val.statusCode);
1442
+ }), exports1 = module.exports, codes = statuses.codes, HttpError1 = module.exports.HttpError, codes.forEach(function(code) {
1443
+ var CodeError, name = toIdentifier(statuses.message[code]);
1444
+ switch(codeClass(code)){
1445
+ case 400:
1446
+ CodeError = function(HttpError, name, code) {
1447
+ var className = toClassName(name);
1448
+ function ClientError(message) {
1449
+ var msg = null != message ? message : statuses.message[code], err = Error(msg);
1450
+ return Error.captureStackTrace(err, ClientError), setPrototypeOf(err, ClientError.prototype), Object.defineProperty(err, 'message', {
1451
+ enumerable: !0,
1452
+ configurable: !0,
1453
+ value: msg,
1454
+ writable: !0
1455
+ }), Object.defineProperty(err, 'name', {
1456
+ enumerable: !1,
1457
+ configurable: !0,
1458
+ value: className,
1459
+ writable: !0
1460
+ }), err;
1461
+ }
1462
+ return inherits(ClientError, HttpError), nameFunc(ClientError, className), ClientError.prototype.status = code, ClientError.prototype.statusCode = code, ClientError.prototype.expose = !0, ClientError;
1463
+ }(HttpError1, name, code);
1464
+ break;
1465
+ case 500:
1466
+ CodeError = function(HttpError, name, code) {
1467
+ var className = toClassName(name);
1468
+ function ServerError(message) {
1469
+ var msg = null != message ? message : statuses.message[code], err = Error(msg);
1470
+ return Error.captureStackTrace(err, ServerError), setPrototypeOf(err, ServerError.prototype), Object.defineProperty(err, 'message', {
1471
+ enumerable: !0,
1472
+ configurable: !0,
1473
+ value: msg,
1474
+ writable: !0
1475
+ }), Object.defineProperty(err, 'name', {
1476
+ enumerable: !1,
1477
+ configurable: !0,
1478
+ value: className,
1479
+ writable: !0
1480
+ }), err;
1481
+ }
1482
+ return inherits(ServerError, HttpError), nameFunc(ServerError, className), ServerError.prototype.status = code, ServerError.prototype.statusCode = code, ServerError.prototype.expose = !1, ServerError;
1483
+ }(HttpError1, name, code);
1565
1484
  }
1566
- return inherits(ServerError, HttpError), nameFunc(ServerError, className), ServerError.prototype.status = code, ServerError.prototype.statusCode = code, ServerError.prototype.expose = !1, ServerError;
1567
- }
1568
- function nameFunc(func, name) {
1569
- var desc = Object.getOwnPropertyDescriptor(func, 'name');
1570
- desc && desc.configurable && (desc.value = name, Object.defineProperty(func, 'name', desc));
1571
- }
1572
- function populateConstructorExports(exports1, codes, HttpError) {
1573
- codes.forEach(function(code) {
1574
- var CodeError, name = toIdentifier(statuses.message[code]);
1575
- switch(codeClass(code)){
1576
- case 400:
1577
- CodeError = createClientErrorConstructor(HttpError, name, code);
1578
- break;
1579
- case 500:
1580
- CodeError = createServerErrorConstructor(HttpError, name, code);
1581
- }
1582
- CodeError && (exports1[code] = CodeError, exports1[name] = CodeError);
1583
- });
1584
- }
1585
- function toClassName(name) {
1586
- return 'Error' !== name.substr(-5) ? name + 'Error' : name;
1587
- }
1588
- module.exports = createError, module.exports.HttpError = createHttpErrorConstructor(), module.exports.isHttpError = createIsHttpErrorFunction(module.exports.HttpError), populateConstructorExports(module.exports, statuses.codes, module.exports.HttpError);
1485
+ CodeError && (exports1[code] = CodeError, exports1[name] = CodeError);
1486
+ });
1589
1487
  },
1590
1488
  "../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/dbcs-codec.js": function(__unused_webpack_module, exports1, __webpack_require__) {
1591
1489
  "use strict";
1592
1490
  var Buffer1 = __webpack_require__("safer-buffer").Buffer;
1593
1491
  exports1._dbcs = DBCSCodec;
1594
- for(var UNASSIGNED = -1, GB18030_CODE = -2, SEQ_START = -10, NODE_START = -1000, UNASSIGNED_NODE = Array(0x100), DEF_CHAR = -1, i = 0; i < 0x100; i++)UNASSIGNED_NODE[i] = UNASSIGNED;
1492
+ for(var UNASSIGNED_NODE = Array(0x100), i = 0; i < 0x100; i++)UNASSIGNED_NODE[i] = -1;
1595
1493
  function DBCSCodec(codecOptions, iconv) {
1596
1494
  if (this.encodingName = codecOptions.encodingName, !codecOptions) throw Error("DBCS codec is called without the data.");
1597
1495
  if (!codecOptions.table) throw Error("Encoding '" + this.encodingName + "' has no data.");
@@ -1606,11 +1504,11 @@ var __webpack_modules__ = {
1606
1504
  else for(var j = val.from; j <= val.to; j++)skipEncodeChars[j] = !0;
1607
1505
  }
1608
1506
  if (this._fillEncodeTable(0, 0, skipEncodeChars), codecOptions.encodeAdd) for(var uChar in codecOptions.encodeAdd)Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar) && this._setEncodeChar(uChar.charCodeAt(0), codecOptions.encodeAdd[uChar]);
1609
- if (this.defCharSB = this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)], this.defCharSB === UNASSIGNED && (this.defCharSB = this.encodeTable[0]['?']), this.defCharSB === UNASSIGNED && (this.defCharSB = 63), 'function' == typeof codecOptions.gb18030) {
1507
+ if (this.defCharSB = this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)], -1 === this.defCharSB && (this.defCharSB = this.encodeTable[0]['?']), -1 === this.defCharSB && (this.defCharSB = 63), 'function' == typeof codecOptions.gb18030) {
1610
1508
  this.gb18030 = codecOptions.gb18030();
1611
- for(var thirdByteNodeIdx = this.decodeTables.length, thirdByteNode = this.decodeTables[thirdByteNodeIdx] = UNASSIGNED_NODE.slice(0), fourthByteNodeIdx = this.decodeTables.length, fourthByteNode = this.decodeTables[fourthByteNodeIdx] = UNASSIGNED_NODE.slice(0), i = 0x81; i <= 0xFE; i++)for(var secondByteNodeIdx = NODE_START - this.decodeTables[0][i], secondByteNode = this.decodeTables[secondByteNodeIdx], j = 0x30; j <= 0x39; j++)secondByteNode[j] = NODE_START - thirdByteNodeIdx;
1612
- for(var i = 0x81; i <= 0xFE; i++)thirdByteNode[i] = NODE_START - fourthByteNodeIdx;
1613
- for(var i = 0x30; i <= 0x39; i++)fourthByteNode[i] = GB18030_CODE;
1509
+ for(var thirdByteNodeIdx = this.decodeTables.length, thirdByteNode = this.decodeTables[thirdByteNodeIdx] = UNASSIGNED_NODE.slice(0), fourthByteNodeIdx = this.decodeTables.length, fourthByteNode = this.decodeTables[fourthByteNodeIdx] = UNASSIGNED_NODE.slice(0), i = 0x81; i <= 0xFE; i++)for(var secondByteNodeIdx = -1000 - this.decodeTables[0][i], secondByteNode = this.decodeTables[secondByteNodeIdx], j = 0x30; j <= 0x39; j++)secondByteNode[j] = -1000 - thirdByteNodeIdx;
1510
+ for(var i = 0x81; i <= 0xFE; i++)thirdByteNode[i] = -1000 - fourthByteNodeIdx;
1511
+ for(var i = 0x30; i <= 0x39; i++)fourthByteNode[i] = -2;
1614
1512
  }
1615
1513
  }
1616
1514
  function DBCSEncoder(options, codec) {
@@ -1632,8 +1530,8 @@ var __webpack_modules__ = {
1632
1530
  0 == bytes.length && bytes.push(0);
1633
1531
  for(var node = this.decodeTables[0], i = bytes.length - 1; i > 0; i--){
1634
1532
  var val = node[bytes[i]];
1635
- if (val == UNASSIGNED) node[bytes[i]] = NODE_START - this.decodeTables.length, this.decodeTables.push(node = UNASSIGNED_NODE.slice(0));
1636
- else if (val <= NODE_START) node = this.decodeTables[NODE_START - val];
1533
+ if (-1 == val) node[bytes[i]] = -1000 - this.decodeTables.length, this.decodeTables.push(node = UNASSIGNED_NODE.slice(0));
1534
+ else if (val <= -1000) node = this.decodeTables[-1000 - val];
1637
1535
  else throw Error("Overwrite byte in " + this.encodingName + ", addr: " + addr.toString(16));
1638
1536
  }
1639
1537
  return node;
@@ -1650,7 +1548,7 @@ var __webpack_modules__ = {
1650
1548
  else throw Error("Incorrect surrogate pair in " + this.encodingName + " at chunk " + chunk[0]);
1651
1549
  } else if (0x0FF0 < code && code <= 0x0FFF) {
1652
1550
  for(var len = 0xFFF - code + 2, seq = [], m = 0; m < len; m++)seq.push(part.charCodeAt(l++));
1653
- writeTable[curAddr++] = SEQ_START - this.decodeTableSeq.length, this.decodeTableSeq.push(seq);
1551
+ writeTable[curAddr++] = -10 - this.decodeTableSeq.length, this.decodeTableSeq.push(seq);
1654
1552
  } else writeTable[curAddr++] = code;
1655
1553
  }
1656
1554
  else if ("number" == typeof part) for(var charCode = writeTable[curAddr - 1] + 1, l = 0; l < part; l++)writeTable[curAddr++] = charCode++;
@@ -1662,19 +1560,19 @@ var __webpack_modules__ = {
1662
1560
  return void 0 === this.encodeTable[high] && (this.encodeTable[high] = UNASSIGNED_NODE.slice(0)), this.encodeTable[high];
1663
1561
  }, DBCSCodec.prototype._setEncodeChar = function(uCode, dbcsCode) {
1664
1562
  var bucket = this._getEncodeBucket(uCode), low = 0xFF & uCode;
1665
- bucket[low] <= SEQ_START ? this.encodeTableSeq[SEQ_START - bucket[low]][DEF_CHAR] = dbcsCode : bucket[low] == UNASSIGNED && (bucket[low] = dbcsCode);
1563
+ bucket[low] <= -10 ? this.encodeTableSeq[-10 - bucket[low]][-1] = dbcsCode : -1 == bucket[low] && (bucket[low] = dbcsCode);
1666
1564
  }, DBCSCodec.prototype._setEncodeSequence = function(seq, dbcsCode) {
1667
1565
  var node, uCode = seq[0], bucket = this._getEncodeBucket(uCode), low = 0xFF & uCode;
1668
- bucket[low] <= SEQ_START ? node = this.encodeTableSeq[SEQ_START - bucket[low]] : (node = {}, bucket[low] !== UNASSIGNED && (node[DEF_CHAR] = bucket[low]), bucket[low] = SEQ_START - this.encodeTableSeq.length, this.encodeTableSeq.push(node));
1566
+ bucket[low] <= -10 ? node = this.encodeTableSeq[-10 - bucket[low]] : (node = {}, -1 !== bucket[low] && (node[-1] = bucket[low]), bucket[low] = -10 - this.encodeTableSeq.length, this.encodeTableSeq.push(node));
1669
1567
  for(var j = 1; j < seq.length - 1; j++){
1670
1568
  var oldVal = node[uCode];
1671
- 'object' == typeof oldVal ? node = oldVal : (node = node[uCode] = {}, void 0 !== oldVal && (node[DEF_CHAR] = oldVal));
1569
+ 'object' == typeof oldVal ? node = oldVal : (node = node[uCode] = {}, void 0 !== oldVal && (node[-1] = oldVal));
1672
1570
  }
1673
1571
  node[uCode = seq[seq.length - 1]] = dbcsCode;
1674
1572
  }, DBCSCodec.prototype._fillEncodeTable = function(nodeIdx, prefix, skipEncodeChars) {
1675
1573
  for(var node = this.decodeTables[nodeIdx], i = 0; i < 0x100; i++){
1676
1574
  var uCode = node[i], mbCode = prefix + i;
1677
- !skipEncodeChars[mbCode] && (uCode >= 0 ? this._setEncodeChar(uCode, mbCode) : uCode <= NODE_START ? this._fillEncodeTable(NODE_START - uCode, mbCode << 8, skipEncodeChars) : uCode <= SEQ_START && this._setEncodeSequence(this.decodeTableSeq[SEQ_START - uCode], mbCode));
1575
+ !skipEncodeChars[mbCode] && (uCode >= 0 ? this._setEncodeChar(uCode, mbCode) : uCode <= -1000 ? this._fillEncodeTable(-1000 - uCode, mbCode << 8, skipEncodeChars) : uCode <= -10 && this._setEncodeSequence(this.decodeTableSeq[-10 - uCode], mbCode));
1678
1576
  }
1679
1577
  }, DBCSEncoder.prototype.write = function(str) {
1680
1578
  for(var newBuf = Buffer1.alloc(str.length * (this.gb18030 ? 4 : 3)), leadSurrogate = this.leadSurrogate, seqObj = this.seqObj, nextChar = -1, i = 0, j = 0;;){
@@ -1688,24 +1586,24 @@ var __webpack_modules__ = {
1688
1586
  if (0xD800 <= uCode && uCode < 0xE000) if (uCode < 0xDC00) if (-1 === leadSurrogate) {
1689
1587
  leadSurrogate = uCode;
1690
1588
  continue;
1691
- } else leadSurrogate = uCode, uCode = UNASSIGNED;
1692
- else -1 !== leadSurrogate ? (uCode = 0x10000 + (leadSurrogate - 0xD800) * 0x400 + (uCode - 0xDC00), leadSurrogate = -1) : uCode = UNASSIGNED;
1693
- else -1 !== leadSurrogate && (nextChar = uCode, uCode = UNASSIGNED, leadSurrogate = -1);
1694
- var dbcsCode = UNASSIGNED;
1695
- if (void 0 !== seqObj && uCode != UNASSIGNED) {
1589
+ } else leadSurrogate = uCode, uCode = -1;
1590
+ else -1 !== leadSurrogate ? (uCode = 0x10000 + (leadSurrogate - 0xD800) * 0x400 + (uCode - 0xDC00), leadSurrogate = -1) : uCode = -1;
1591
+ else -1 !== leadSurrogate && (nextChar = uCode, uCode = -1, leadSurrogate = -1);
1592
+ var dbcsCode = -1;
1593
+ if (void 0 !== seqObj && -1 != uCode) {
1696
1594
  var resCode = seqObj[uCode];
1697
1595
  if ('object' == typeof resCode) {
1698
1596
  seqObj = resCode;
1699
1597
  continue;
1700
1598
  }
1701
- 'number' == typeof resCode ? dbcsCode = resCode : void 0 == resCode && void 0 !== (resCode = seqObj[DEF_CHAR]) && (dbcsCode = resCode, nextChar = uCode), seqObj = void 0;
1599
+ 'number' == typeof resCode ? dbcsCode = resCode : void 0 == resCode && void 0 !== (resCode = seqObj[-1]) && (dbcsCode = resCode, nextChar = uCode), seqObj = void 0;
1702
1600
  } else if (uCode >= 0) {
1703
1601
  var subtable = this.encodeTable[uCode >> 8];
1704
- if (void 0 !== subtable && (dbcsCode = subtable[0xFF & uCode]), dbcsCode <= SEQ_START) {
1705
- seqObj = this.encodeTableSeq[SEQ_START - dbcsCode];
1602
+ if (void 0 !== subtable && (dbcsCode = subtable[0xFF & uCode]), dbcsCode <= -10) {
1603
+ seqObj = this.encodeTableSeq[-10 - dbcsCode];
1706
1604
  continue;
1707
1605
  }
1708
- if (dbcsCode == UNASSIGNED && this.gb18030) {
1606
+ if (-1 == dbcsCode && this.gb18030) {
1709
1607
  var idx = findIdx(this.gb18030.uChars, uCode);
1710
1608
  if (-1 != idx) {
1711
1609
  var dbcsCode = this.gb18030.gbChars[idx] + (uCode - this.gb18030.uChars[idx]);
@@ -1714,14 +1612,14 @@ var __webpack_modules__ = {
1714
1612
  }
1715
1613
  }
1716
1614
  }
1717
- dbcsCode === UNASSIGNED && (dbcsCode = this.defaultCharSingleByte), dbcsCode < 0x100 ? newBuf[j++] = dbcsCode : (dbcsCode < 0x10000 ? newBuf[j++] = dbcsCode >> 8 : (newBuf[j++] = dbcsCode >> 16, newBuf[j++] = dbcsCode >> 8 & 0xFF), newBuf[j++] = 0xFF & dbcsCode);
1615
+ -1 === dbcsCode && (dbcsCode = this.defaultCharSingleByte), dbcsCode < 0x100 ? newBuf[j++] = dbcsCode : (dbcsCode < 0x10000 ? newBuf[j++] = dbcsCode >> 8 : (newBuf[j++] = dbcsCode >> 16, newBuf[j++] = dbcsCode >> 8 & 0xFF), newBuf[j++] = 0xFF & dbcsCode);
1718
1616
  }
1719
1617
  return this.seqObj = seqObj, this.leadSurrogate = leadSurrogate, newBuf.slice(0, j);
1720
1618
  }, DBCSEncoder.prototype.end = function() {
1721
1619
  if (-1 !== this.leadSurrogate || void 0 !== this.seqObj) {
1722
1620
  var newBuf = Buffer1.alloc(10), j = 0;
1723
1621
  if (this.seqObj) {
1724
- var dbcsCode = this.seqObj[DEF_CHAR];
1622
+ var dbcsCode = this.seqObj[-1];
1725
1623
  void 0 !== dbcsCode && (dbcsCode < 0x100 ? newBuf[j++] = dbcsCode : (newBuf[j++] = dbcsCode >> 8, newBuf[j++] = 0xFF & dbcsCode)), this.seqObj = void 0;
1726
1624
  }
1727
1625
  return -1 !== this.leadSurrogate && (newBuf[j++] = this.defaultCharSingleByte, this.leadSurrogate = -1), newBuf.slice(0, j);
@@ -1735,15 +1633,15 @@ var __webpack_modules__ = {
1735
1633
  for(var i = 0, j = 0; i < buf.length; i++){
1736
1634
  var curByte = i >= 0 ? buf[i] : prevBuf[i + prevBufOffset], uCode = this.decodeTables[nodeIdx][curByte];
1737
1635
  if (uCode >= 0) ;
1738
- else if (uCode === UNASSIGNED) i = seqStart, uCode = this.defaultCharUnicode.charCodeAt(0);
1739
- else if (uCode === GB18030_CODE) {
1636
+ else if (-1 === uCode) i = seqStart, uCode = this.defaultCharUnicode.charCodeAt(0);
1637
+ else if (-2 === uCode) {
1740
1638
  var curSeq = seqStart >= 0 ? buf.slice(seqStart, i + 1) : prevBuf.slice(seqStart + prevBufOffset, i + 1 + prevBufOffset), ptr = (curSeq[0] - 0x81) * 12600 + (curSeq[1] - 0x30) * 1260 + (curSeq[2] - 0x81) * 10 + (curSeq[3] - 0x30), idx = findIdx(this.gb18030.gbChars, ptr);
1741
1639
  uCode = this.gb18030.uChars[idx] + ptr - this.gb18030.gbChars[idx];
1742
- } else if (uCode <= NODE_START) {
1743
- nodeIdx = NODE_START - uCode;
1640
+ } else if (uCode <= -1000) {
1641
+ nodeIdx = -1000 - uCode;
1744
1642
  continue;
1745
- } else if (uCode <= SEQ_START) {
1746
- for(var seq = this.decodeTableSeq[SEQ_START - uCode], k = 0; k < seq.length - 1; k++)uCode = seq[k], newBuf[j++] = 0xFF & uCode, newBuf[j++] = uCode >> 8;
1643
+ } else if (uCode <= -10) {
1644
+ for(var seq = this.decodeTableSeq[-10 - uCode], k = 0; k < seq.length - 1; k++)uCode = seq[k], newBuf[j++] = 0xFF & uCode, newBuf[j++] = uCode >> 8;
1747
1645
  uCode = seq[seq.length - 1];
1748
1646
  } else throw Error("iconv-lite internal error: invalid decoding table value " + uCode + " at " + nodeIdx + "/" + curByte);
1749
1647
  if (uCode > 0xFFFF) {
@@ -2668,7 +2566,6 @@ var __webpack_modules__ = {
2668
2566
  }).bind(this)));
2669
2567
  }, Utf7Encoder.prototype.end = function() {};
2670
2568
  for(var base64Regex = /[A-Za-z0-9\/+]/, base64Chars = [], i = 0; i < 256; i++)base64Chars[i] = base64Regex.test(String.fromCharCode(i));
2671
- var plusChar = 43, minusChar = 45, andChar = 38;
2672
2569
  function Utf7IMAPCodec(codecOptions, iconv) {
2673
2570
  this.iconv = iconv;
2674
2571
  }
@@ -2681,14 +2578,14 @@ var __webpack_modules__ = {
2681
2578
  Utf7Decoder.prototype.write = function(buf) {
2682
2579
  for(var res = "", lastI = 0, inBase64 = this.inBase64, base64Accum = this.base64Accum, i = 0; i < buf.length; i++)if (inBase64) {
2683
2580
  if (!base64Chars[buf[i]]) {
2684
- if (i == lastI && buf[i] == minusChar) res += "+";
2581
+ if (i == lastI && 45 == buf[i]) res += "+";
2685
2582
  else {
2686
2583
  var b64str = base64Accum + buf.slice(lastI, i).toString();
2687
2584
  res += this.iconv.decode(Buffer1.from(b64str, 'base64'), "utf16-be");
2688
2585
  }
2689
- buf[i] != minusChar && i--, lastI = i + 1, inBase64 = !1, base64Accum = '';
2586
+ 45 != buf[i] && i--, lastI = i + 1, inBase64 = !1, base64Accum = '';
2690
2587
  }
2691
- } else buf[i] == plusChar && (res += this.iconv.decode(buf.slice(lastI, i), "ascii"), lastI = i + 1, inBase64 = !0);
2588
+ } else 43 == buf[i] && (res += this.iconv.decode(buf.slice(lastI, i), "ascii"), lastI = i + 1, inBase64 = !0);
2692
2589
  if (inBase64) {
2693
2590
  var b64str = base64Accum + buf.slice(lastI).toString(), canBeDecoded = b64str.length - b64str.length % 8;
2694
2591
  base64Accum = b64str.slice(canBeDecoded), b64str = b64str.slice(0, canBeDecoded), res += this.iconv.decode(Buffer1.from(b64str, 'base64'), "utf16-be");
@@ -2700,25 +2597,25 @@ var __webpack_modules__ = {
2700
2597
  }, exports1.utf7imap = Utf7IMAPCodec, Utf7IMAPCodec.prototype.encoder = Utf7IMAPEncoder, Utf7IMAPCodec.prototype.decoder = Utf7IMAPDecoder, Utf7IMAPCodec.prototype.bomAware = !0, Utf7IMAPEncoder.prototype.write = function(str) {
2701
2598
  for(var inBase64 = this.inBase64, base64Accum = this.base64Accum, base64AccumIdx = this.base64AccumIdx, buf = Buffer1.alloc(5 * str.length + 10), bufIdx = 0, i = 0; i < str.length; i++){
2702
2599
  var uChar = str.charCodeAt(i);
2703
- 0x20 <= uChar && uChar <= 0x7E ? (inBase64 && (base64AccumIdx > 0 && (bufIdx += buf.write(base64Accum.slice(0, base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx), base64AccumIdx = 0), buf[bufIdx++] = minusChar, inBase64 = !1), inBase64 || (buf[bufIdx++] = uChar, uChar === andChar && (buf[bufIdx++] = minusChar))) : (inBase64 || (buf[bufIdx++] = andChar, inBase64 = !0), inBase64 && (base64Accum[base64AccumIdx++] = uChar >> 8, base64Accum[base64AccumIdx++] = 0xFF & uChar, base64AccumIdx == base64Accum.length && (bufIdx += buf.write(base64Accum.toString('base64').replace(/\//g, ','), bufIdx), base64AccumIdx = 0)));
2600
+ 0x20 <= uChar && uChar <= 0x7E ? (inBase64 && (base64AccumIdx > 0 && (bufIdx += buf.write(base64Accum.slice(0, base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx), base64AccumIdx = 0), buf[bufIdx++] = 45, inBase64 = !1), inBase64 || (buf[bufIdx++] = uChar, 38 === uChar && (buf[bufIdx++] = 45))) : (inBase64 || (buf[bufIdx++] = 38, inBase64 = !0), inBase64 && (base64Accum[base64AccumIdx++] = uChar >> 8, base64Accum[base64AccumIdx++] = 0xFF & uChar, base64AccumIdx == base64Accum.length && (bufIdx += buf.write(base64Accum.toString('base64').replace(/\//g, ','), bufIdx), base64AccumIdx = 0)));
2704
2601
  }
2705
2602
  return this.inBase64 = inBase64, this.base64AccumIdx = base64AccumIdx, buf.slice(0, bufIdx);
2706
2603
  }, Utf7IMAPEncoder.prototype.end = function() {
2707
2604
  var buf = Buffer1.alloc(10), bufIdx = 0;
2708
- return this.inBase64 && (this.base64AccumIdx > 0 && (bufIdx += buf.write(this.base64Accum.slice(0, this.base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx), this.base64AccumIdx = 0), buf[bufIdx++] = minusChar, this.inBase64 = !1), buf.slice(0, bufIdx);
2605
+ return this.inBase64 && (this.base64AccumIdx > 0 && (bufIdx += buf.write(this.base64Accum.slice(0, this.base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx), this.base64AccumIdx = 0), buf[bufIdx++] = 45, this.inBase64 = !1), buf.slice(0, bufIdx);
2709
2606
  };
2710
2607
  var base64IMAPChars = base64Chars.slice();
2711
2608
  base64IMAPChars[44] = !0, Utf7IMAPDecoder.prototype.write = function(buf) {
2712
2609
  for(var res = "", lastI = 0, inBase64 = this.inBase64, base64Accum = this.base64Accum, i = 0; i < buf.length; i++)if (inBase64) {
2713
2610
  if (!base64IMAPChars[buf[i]]) {
2714
- if (i == lastI && buf[i] == minusChar) res += "&";
2611
+ if (i == lastI && 45 == buf[i]) res += "&";
2715
2612
  else {
2716
2613
  var b64str = base64Accum + buf.slice(lastI, i).toString().replace(/,/g, '/');
2717
2614
  res += this.iconv.decode(Buffer1.from(b64str, 'base64'), "utf16-be");
2718
2615
  }
2719
- buf[i] != minusChar && i--, lastI = i + 1, inBase64 = !1, base64Accum = '';
2616
+ 45 != buf[i] && i--, lastI = i + 1, inBase64 = !1, base64Accum = '';
2720
2617
  }
2721
- } else buf[i] == andChar && (res += this.iconv.decode(buf.slice(lastI, i), "ascii"), lastI = i + 1, inBase64 = !0);
2618
+ } else 38 == buf[i] && (res += this.iconv.decode(buf.slice(lastI, i), "ascii"), lastI = i + 1, inBase64 = !0);
2722
2619
  if (inBase64) {
2723
2620
  var b64str = base64Accum + buf.slice(lastI).toString().replace(/,/g, '/'), canBeDecoded = b64str.length - b64str.length % 8;
2724
2621
  base64Accum = b64str.slice(canBeDecoded), b64str = b64str.slice(0, canBeDecoded), res += this.iconv.decode(Buffer1.from(b64str, 'base64'), "utf16-be");
@@ -2731,7 +2628,6 @@ var __webpack_modules__ = {
2731
2628
  },
2732
2629
  "../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/bom-handling.js": function(__unused_webpack_module, exports1) {
2733
2630
  "use strict";
2734
- var BOMChar = '\uFEFF';
2735
2631
  function PrependBOMWrapper(encoder, options) {
2736
2632
  this.encoder = encoder, this.addBOM = !0;
2737
2633
  }
@@ -2739,12 +2635,12 @@ var __webpack_modules__ = {
2739
2635
  this.decoder = decoder, this.pass = !1, this.options = options || {};
2740
2636
  }
2741
2637
  exports1.PrependBOM = PrependBOMWrapper, PrependBOMWrapper.prototype.write = function(str) {
2742
- return this.addBOM && (str = BOMChar + str, this.addBOM = !1), this.encoder.write(str);
2638
+ return this.addBOM && (str = '\uFEFF' + str, this.addBOM = !1), this.encoder.write(str);
2743
2639
  }, PrependBOMWrapper.prototype.end = function() {
2744
2640
  return this.encoder.end();
2745
2641
  }, exports1.StripBOM = StripBOMWrapper, StripBOMWrapper.prototype.write = function(buf) {
2746
2642
  var res = this.decoder.write(buf);
2747
- return this.pass || !res || (res[0] === BOMChar && (res = res.slice(1), 'function' == typeof this.options.stripBOM && this.options.stripBOM()), this.pass = !0), res;
2643
+ return this.pass || !res || ('\uFEFF' === res[0] && (res = res.slice(1), 'function' == typeof this.options.stripBOM && this.options.stripBOM()), this.pass = !0), res;
2748
2644
  }, StripBOMWrapper.prototype.end = function() {
2749
2645
  return this.decoder.end();
2750
2646
  };
@@ -2981,49 +2877,6 @@ var __webpack_modules__ = {
2981
2877
  }
2982
2878
  };
2983
2879
  },
2984
- "../../node_modules/.pnpm/json-cycle@1.5.0/node_modules/json-cycle/cycle.js": function(module) {
2985
- "use strict";
2986
- !function(global1, factory) {
2987
- 'function' == typeof define && define.amd ? define(factory) : module.exports ? module.exports = factory : global1.json = factory;
2988
- }(this, function() {
2989
- function decycle(object) {
2990
- var objects = [], paths = [];
2991
- return function derez(value, path) {
2992
- var i, name, nu, _value = value;
2993
- try {
2994
- _value = value.toJSON();
2995
- } catch (error) {}
2996
- if ('object' == typeof _value && _value) {
2997
- for(i = 0; i < objects.length; i += 1)if (objects[i] === _value) return {
2998
- $ref: paths[i]
2999
- };
3000
- if (objects.push(_value), paths.push(path), '[object Array]' === Object.prototype.toString.apply(_value)) for(i = 0, nu = []; i < _value.length; i += 1)nu[i] = derez(_value[i], path + '[' + i + ']');
3001
- else for(name in nu = {}, _value)Object.prototype.hasOwnProperty.call(_value, name) && (nu[name] = derez(_value[name], path + '[' + JSON.stringify(name) + ']'));
3002
- return nu;
3003
- }
3004
- return _value;
3005
- }(object, '$');
3006
- }
3007
- function retrocycle($) {
3008
- var px = /^\$(?:\[(?:\d+|\"(?:[^\\\"\u0000-\u001f]|\\([\\\"\/bfnrt]|u[0-9a-zA-Z]{4}))*\")\])*$/;
3009
- return !function rez(value) {
3010
- var i, item, name, path;
3011
- if (value && 'object' == typeof value) if ('[object Array]' === Object.prototype.toString.apply(value)) for(i = 0; i < value.length; i += 1)item = value[i], item && 'object' == typeof item && (path = item.$ref, 'string' == typeof path && px.test(path) ? value[i] = eval(path) : rez(item));
3012
- else for(name in value)'object' == typeof value[name] && (item = value[name], item && (path = item.$ref, 'string' == typeof path && px.test(path) ? value[name] = eval(path) : rez(item)));
3013
- }($), $;
3014
- }
3015
- return {
3016
- decycle: decycle,
3017
- retrocycle: retrocycle,
3018
- stringify: function(object, replacer, space) {
3019
- return JSON.stringify(decycle(object), replacer, space);
3020
- },
3021
- parse: function($, reviver) {
3022
- return retrocycle(JSON.parse($, reviver));
3023
- }
3024
- };
3025
- }());
3026
- },
3027
2880
  "../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js": function(module) {
3028
2881
  "use strict";
3029
2882
  module.exports = Math.abs;
@@ -3063,37 +2916,7 @@ var __webpack_modules__ = {
3063
2916
  },
3064
2917
  "../../node_modules/.pnpm/media-typer@0.3.0/node_modules/media-typer/index.js": function(__unused_webpack_module, exports1) {
3065
2918
  var paramRegExp = /; *([!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) *= *("(?:[ !\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u0020-\u007e])*"|[!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+) */g, textRegExp = /^[\u0020-\u007e\u0080-\u00ff]+$/, tokenRegExp = /^[!#$%&'\*\+\-\.0-9A-Z\^_`a-z\|~]+$/, qescRegExp = /\\([\u0000-\u007f])/g, quoteRegExp = /([\\"])/g, subtypeNameRegExp = /^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/, typeNameRegExp = /^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/, typeRegExp = /^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;
3066
- function parse(string) {
3067
- if (!string) throw TypeError('argument string is required');
3068
- if ('object' == typeof string && (string = getcontenttype(string)), 'string' != typeof string) throw TypeError('argument string is required to be a string');
3069
- var key, match, value, index = string.indexOf(';'), obj = splitType(-1 !== index ? string.substr(0, index) : string), params = {};
3070
- for(paramRegExp.lastIndex = index; match = paramRegExp.exec(string);){
3071
- if (match.index !== index) throw TypeError('invalid parameter format');
3072
- index += match[0].length, key = match[1].toLowerCase(), '"' === (value = match[2])[0] && (value = value.substr(1, value.length - 2).replace(qescRegExp, '$1')), params[key] = value;
3073
- }
3074
- if (-1 !== index && index !== string.length) throw TypeError('invalid parameter format');
3075
- return obj.parameters = params, obj;
3076
- }
3077
- function getcontenttype(obj) {
3078
- return 'function' == typeof obj.getHeader ? obj.getHeader('content-type') : 'object' == typeof obj.headers ? obj.headers && obj.headers['content-type'] : void 0;
3079
- }
3080
- function qstring(val) {
3081
- var str = String(val);
3082
- if (tokenRegExp.test(str)) return str;
3083
- if (str.length > 0 && !textRegExp.test(str)) throw TypeError('invalid parameter value');
3084
- return '"' + str.replace(quoteRegExp, '\\$1') + '"';
3085
- }
3086
- function splitType(string) {
3087
- var suffix, match = typeRegExp.exec(string.toLowerCase());
3088
- if (!match) throw TypeError('invalid media type');
3089
- var type = match[1], subtype = match[2], index = subtype.lastIndexOf('+');
3090
- return -1 !== index && (suffix = subtype.substr(index + 1), subtype = subtype.substr(0, index)), {
3091
- type: type,
3092
- subtype: subtype,
3093
- suffix: suffix
3094
- };
3095
- }
3096
- exports1.format = function format(obj) {
2919
+ exports1.format = function(obj) {
3097
2920
  if (!obj || 'object' != typeof obj) throw TypeError('argument obj is required');
3098
2921
  var parameters = obj.parameters, subtype = obj.subtype, suffix = obj.suffix, type = obj.type;
3099
2922
  if (!type || !typeNameRegExp.test(type)) throw TypeError('invalid type');
@@ -3105,23 +2928,49 @@ var __webpack_modules__ = {
3105
2928
  }
3106
2929
  if (parameters && 'object' == typeof parameters) for(var param, params = Object.keys(parameters).sort(), i = 0; i < params.length; i++){
3107
2930
  if (param = params[i], !tokenRegExp.test(param)) throw TypeError('invalid parameter name');
3108
- string += '; ' + param + '=' + qstring(parameters[param]);
2931
+ string += '; ' + param + '=' + function(val) {
2932
+ var str = String(val);
2933
+ if (tokenRegExp.test(str)) return str;
2934
+ if (str.length > 0 && !textRegExp.test(str)) throw TypeError('invalid parameter value');
2935
+ return '"' + str.replace(quoteRegExp, '\\$1') + '"';
2936
+ }(parameters[param]);
3109
2937
  }
3110
2938
  return string;
3111
- }, exports1.parse = parse;
2939
+ }, exports1.parse = function(string) {
2940
+ if (!string) throw TypeError('argument string is required');
2941
+ if ('object' == typeof string && (string = 'function' == typeof (obj = string).getHeader ? obj.getHeader('content-type') : 'object' == typeof obj.headers ? obj.headers && obj.headers['content-type'] : void 0), 'string' != typeof string) throw TypeError('argument string is required to be a string');
2942
+ var obj, key, match, value, index = string.indexOf(';'), obj1 = function(string) {
2943
+ var suffix, match = typeRegExp.exec(string.toLowerCase());
2944
+ if (!match) throw TypeError('invalid media type');
2945
+ var type = match[1], subtype = match[2], index = subtype.lastIndexOf('+');
2946
+ return -1 !== index && (suffix = subtype.substr(index + 1), subtype = subtype.substr(0, index)), {
2947
+ type: type,
2948
+ subtype: subtype,
2949
+ suffix: suffix
2950
+ };
2951
+ }(-1 !== index ? string.substr(0, index) : string), params = {};
2952
+ for(paramRegExp.lastIndex = index; match = paramRegExp.exec(string);){
2953
+ if (match.index !== index) throw TypeError('invalid parameter format');
2954
+ index += match[0].length, key = match[1].toLowerCase(), '"' === (value = match[2])[0] && (value = value.substr(1, value.length - 2).replace(qescRegExp, '$1')), params[key] = value;
2955
+ }
2956
+ if (-1 !== index && index !== string.length) throw TypeError('invalid parameter format');
2957
+ return obj1.parameters = params, obj1;
2958
+ };
3112
2959
  },
3113
2960
  "../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
3114
2961
  module.exports = __webpack_require__("../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/db.json");
3115
2962
  },
3116
2963
  "../../node_modules/.pnpm/mime-types@2.1.35/node_modules/mime-types/index.js": function(__unused_webpack_module, exports1, __webpack_require__) {
3117
2964
  "use strict";
3118
- var db = __webpack_require__("../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/index.js"), extname = __webpack_require__("path").extname, EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/, TEXT_TYPE_REGEXP = /^text\//i;
2965
+ var extensions, types, preference, db = __webpack_require__("../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/index.js"), extname = __webpack_require__("path").extname, EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/, TEXT_TYPE_REGEXP = /^text\//i;
3119
2966
  function charset(type) {
3120
2967
  if (!type || 'string' != typeof type) return !1;
3121
2968
  var match = EXTRACT_TYPE_REGEXP.exec(type), mime = match && db[match[1].toLowerCase()];
3122
2969
  return mime && mime.charset ? mime.charset : !!(match && TEXT_TYPE_REGEXP.test(match[1])) && 'UTF-8';
3123
2970
  }
3124
- function contentType(str) {
2971
+ exports1.charset = charset, exports1.charsets = {
2972
+ lookup: charset
2973
+ }, exports1.contentType = function(str) {
3125
2974
  if (!str || 'string' != typeof str) return !1;
3126
2975
  var mime = -1 === str.indexOf('/') ? exports1.lookup(str) : str;
3127
2976
  if (!mime) return !1;
@@ -3130,105 +2979,92 @@ var __webpack_modules__ = {
3130
2979
  charset && (mime += '; charset=' + charset.toLowerCase());
3131
2980
  }
3132
2981
  return mime;
3133
- }
3134
- function extension(type) {
2982
+ }, exports1.extension = function(type) {
3135
2983
  if (!type || 'string' != typeof type) return !1;
3136
2984
  var match = EXTRACT_TYPE_REGEXP.exec(type), exts = match && exports1.extensions[match[1].toLowerCase()];
3137
2985
  return !!exts && !!exts.length && exts[0];
3138
- }
3139
- function lookup(path) {
2986
+ }, exports1.extensions = Object.create(null), exports1.lookup = function(path) {
3140
2987
  if (!path || 'string' != typeof path) return !1;
3141
2988
  var extension = extname('x.' + path).toLowerCase().substr(1);
3142
2989
  return !!extension && (exports1.types[extension] || !1);
3143
- }
3144
- function populateMaps(extensions, types) {
3145
- var preference = [
3146
- 'nginx',
3147
- 'apache',
3148
- void 0,
3149
- 'iana'
3150
- ];
3151
- Object.keys(db).forEach(function(type) {
3152
- var mime = db[type], exts = mime.extensions;
3153
- if (exts && exts.length) {
3154
- extensions[type] = exts;
3155
- for(var i = 0; i < exts.length; i++){
3156
- var extension = exts[i];
3157
- if (types[extension]) {
3158
- var from = preference.indexOf(db[types[extension]].source), to = preference.indexOf(mime.source);
3159
- if ('application/octet-stream' !== types[extension] && (from > to || from === to && 'application/' === types[extension].substr(0, 12))) continue;
3160
- }
3161
- types[extension] = type;
2990
+ }, exports1.types = Object.create(null), extensions = exports1.extensions, types = exports1.types, preference = [
2991
+ 'nginx',
2992
+ 'apache',
2993
+ void 0,
2994
+ 'iana'
2995
+ ], Object.keys(db).forEach(function(type) {
2996
+ var mime = db[type], exts = mime.extensions;
2997
+ if (exts && exts.length) {
2998
+ extensions[type] = exts;
2999
+ for(var i = 0; i < exts.length; i++){
3000
+ var extension = exts[i];
3001
+ if (types[extension]) {
3002
+ var from = preference.indexOf(db[types[extension]].source), to = preference.indexOf(mime.source);
3003
+ if ('application/octet-stream' !== types[extension] && (from > to || from === to && 'application/' === types[extension].substr(0, 12))) continue;
3162
3004
  }
3005
+ types[extension] = type;
3163
3006
  }
3164
- });
3165
- }
3166
- exports1.charset = charset, exports1.charsets = {
3167
- lookup: charset
3168
- }, exports1.contentType = contentType, exports1.extension = extension, exports1.extensions = Object.create(null), exports1.lookup = lookup, exports1.types = Object.create(null), populateMaps(exports1.extensions, exports1.types);
3007
+ }
3008
+ });
3169
3009
  },
3170
3010
  "../../node_modules/.pnpm/ms@2.0.0/node_modules/ms/index.js": function(module) {
3171
- var s = 1000, m = 60000, h = 3600000, d = 86400000, y = 31557600000;
3172
- function parse(str) {
3173
- if (!((str = String(str)).length > 100)) {
3174
- var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str);
3175
- if (match) {
3176
- var n = parseFloat(match[1]), type = (match[2] || 'ms').toLowerCase();
3177
- switch(type){
3178
- case 'years':
3179
- case 'year':
3180
- case 'yrs':
3181
- case 'yr':
3182
- case 'y':
3183
- return n * y;
3184
- case 'days':
3185
- case 'day':
3186
- case 'd':
3187
- return n * d;
3188
- case 'hours':
3189
- case 'hour':
3190
- case 'hrs':
3191
- case 'hr':
3192
- case 'h':
3193
- return n * h;
3194
- case 'minutes':
3195
- case 'minute':
3196
- case 'mins':
3197
- case 'min':
3198
- case 'm':
3199
- return n * m;
3200
- case 'seconds':
3201
- case 'second':
3202
- case 'secs':
3203
- case 'sec':
3204
- case 's':
3205
- return n * s;
3206
- case 'milliseconds':
3207
- case 'millisecond':
3208
- case 'msecs':
3209
- case 'msec':
3210
- case 'ms':
3211
- return n;
3212
- default:
3213
- return;
3214
- }
3215
- }
3216
- }
3217
- }
3218
- function fmtShort(ms) {
3219
- return ms >= d ? Math.round(ms / d) + 'd' : ms >= h ? Math.round(ms / h) + 'h' : ms >= m ? Math.round(ms / m) + 'm' : ms >= s ? Math.round(ms / s) + 's' : ms + 'ms';
3220
- }
3221
- function fmtLong(ms) {
3222
- return plural(ms, d, 'day') || plural(ms, h, 'hour') || plural(ms, m, 'minute') || plural(ms, s, 'second') || ms + ' ms';
3223
- }
3224
3011
  function plural(ms, n, name) {
3225
3012
  if (!(ms < n)) return ms < 1.5 * n ? Math.floor(ms / n) + ' ' + name : Math.ceil(ms / n) + ' ' + name + 's';
3226
3013
  }
3227
3014
  module.exports = function(val, options) {
3228
3015
  options = options || {};
3229
- var type = typeof val;
3230
- if ('string' === type && val.length > 0) return parse(val);
3231
- if ('number' === type && !1 === isNaN(val)) return options.long ? fmtLong(val) : fmtShort(val);
3016
+ var ms, ms1, type = typeof val;
3017
+ if ('string' === type && val.length > 0) {
3018
+ var str = val;
3019
+ if (!((str = String(str)).length > 100)) {
3020
+ var match = /^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str);
3021
+ if (match) {
3022
+ var n = parseFloat(match[1]);
3023
+ switch((match[2] || 'ms').toLowerCase()){
3024
+ case 'years':
3025
+ case 'year':
3026
+ case 'yrs':
3027
+ case 'yr':
3028
+ case 'y':
3029
+ return 31557600000 * n;
3030
+ case 'days':
3031
+ case 'day':
3032
+ case 'd':
3033
+ return 86400000 * n;
3034
+ case 'hours':
3035
+ case 'hour':
3036
+ case 'hrs':
3037
+ case 'hr':
3038
+ case 'h':
3039
+ return 3600000 * n;
3040
+ case 'minutes':
3041
+ case 'minute':
3042
+ case 'mins':
3043
+ case 'min':
3044
+ case 'm':
3045
+ return 60000 * n;
3046
+ case 'seconds':
3047
+ case 'second':
3048
+ case 'secs':
3049
+ case 'sec':
3050
+ case 's':
3051
+ return 1000 * n;
3052
+ case 'milliseconds':
3053
+ case 'millisecond':
3054
+ case 'msecs':
3055
+ case 'msec':
3056
+ case 'ms':
3057
+ return n;
3058
+ default:
3059
+ break;
3060
+ }
3061
+ }
3062
+ }
3063
+ return;
3064
+ }
3065
+ if ('number' === type && !1 === isNaN(val)) {
3066
+ return options.long ? plural(ms = val, 86400000, 'day') || plural(ms, 3600000, 'hour') || plural(ms, 60000, 'minute') || plural(ms, 1000, 'second') || ms + ' ms' : (ms1 = val) >= 86400000 ? Math.round(ms1 / 86400000) + 'd' : ms1 >= 3600000 ? Math.round(ms1 / 3600000) + 'h' : ms1 >= 60000 ? Math.round(ms1 / 60000) + 'm' : ms1 >= 1000 ? Math.round(ms1 / 1000) + 's' : ms1 + 'ms';
3067
+ }
3232
3068
  throw Error('val is not a non-empty string or a valid number. val=' + JSON.stringify(val));
3233
3069
  };
3234
3070
  },
@@ -3261,30 +3097,12 @@ var __webpack_modules__ = {
3261
3097
  var quoteChar = quotes[opts.quoteStyle || defaultStyle];
3262
3098
  return quoteChar + s + quoteChar;
3263
3099
  }
3264
- function quote(s) {
3265
- return $replace.call(String(s), /"/g, '&quot;');
3266
- }
3267
3100
  function isArray(obj) {
3268
3101
  return '[object Array]' === toStr(obj) && (!toStringTag || !('object' == typeof obj && toStringTag in obj));
3269
3102
  }
3270
- function isDate(obj) {
3271
- return '[object Date]' === toStr(obj) && (!toStringTag || !('object' == typeof obj && toStringTag in obj));
3272
- }
3273
3103
  function isRegExp(obj) {
3274
3104
  return '[object RegExp]' === toStr(obj) && (!toStringTag || !('object' == typeof obj && toStringTag in obj));
3275
3105
  }
3276
- function isError(obj) {
3277
- return '[object Error]' === toStr(obj) && (!toStringTag || !('object' == typeof obj && toStringTag in obj));
3278
- }
3279
- function isString(obj) {
3280
- return '[object String]' === toStr(obj) && (!toStringTag || !('object' == typeof obj && toStringTag in obj));
3281
- }
3282
- function isNumber(obj) {
3283
- return '[object Number]' === toStr(obj) && (!toStringTag || !('object' == typeof obj && toStringTag in obj));
3284
- }
3285
- function isBoolean(obj) {
3286
- return '[object Boolean]' === toStr(obj) && (!toStringTag || !('object' == typeof obj && toStringTag in obj));
3287
- }
3288
3106
  function isSymbol(obj) {
3289
3107
  if (hasShammedSymbols) return obj && 'object' == typeof obj && obj instanceof Symbol;
3290
3108
  if ('symbol' == typeof obj) return !0;
@@ -3294,15 +3112,8 @@ var __webpack_modules__ = {
3294
3112
  } catch (e) {}
3295
3113
  return !1;
3296
3114
  }
3297
- function isBigInt(obj) {
3298
- if (!obj || 'object' != typeof obj || !bigIntValueOf) return !1;
3299
- try {
3300
- return bigIntValueOf.call(obj), !0;
3301
- } catch (e) {}
3302
- return !1;
3303
- }
3304
3115
  module.exports = function inspect_(obj, options, depth, seen) {
3305
- var opts = options || {};
3116
+ var obj1, obj2, obj3, obj4, obj5, opts = options || {};
3306
3117
  if (has(opts, 'quoteStyle') && !has(quotes, opts.quoteStyle)) throw TypeError('option "quoteStyle" must be "single" or "double"');
3307
3118
  if (has(opts, 'maxStringLength') && ('number' == typeof opts.maxStringLength ? opts.maxStringLength < 0 && opts.maxStringLength !== 1 / 0 : null !== opts.maxStringLength)) throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
3308
3119
  var customInspect = !has(opts, 'customInspect') || opts.customInspect;
@@ -3313,7 +3124,14 @@ var __webpack_modules__ = {
3313
3124
  if (void 0 === obj) return 'undefined';
3314
3125
  if (null === obj) return 'null';
3315
3126
  if ('boolean' == typeof obj) return obj ? 'true' : 'false';
3316
- if ('string' == typeof obj) return inspectString(obj, opts);
3127
+ if ('string' == typeof obj) return function inspectString(str, opts) {
3128
+ if (str.length > opts.maxStringLength) {
3129
+ var remaining = str.length - opts.maxStringLength;
3130
+ return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + ('... ' + remaining) + ' more character' + (remaining > 1 ? 's' : '');
3131
+ }
3132
+ var quoteRE = quoteREs[opts.quoteStyle || 'single'];
3133
+ return quoteRE.lastIndex = 0, wrapQuotes($replace.call($replace.call(str, quoteRE, '\\$1'), /[\x00-\x1f]/g, lowbyte), 'single', opts);
3134
+ }(obj, opts);
3317
3135
  if ('number' == typeof obj) {
3318
3136
  if (0 === obj) return 1 / 0 / obj > 0 ? '0' : '-0';
3319
3137
  var str = String(obj);
@@ -3325,7 +3143,18 @@ var __webpack_modules__ = {
3325
3143
  }
3326
3144
  var maxDepth = void 0 === opts.depth ? 5 : opts.depth;
3327
3145
  if (void 0 === depth && (depth = 0), depth >= maxDepth && maxDepth > 0 && 'object' == typeof obj) return isArray(obj) ? '[Array]' : '[Object]';
3328
- var indent = getIndent(opts, depth);
3146
+ var indent = function(opts, depth) {
3147
+ var baseIndent;
3148
+ if ('\t' === opts.indent) baseIndent = '\t';
3149
+ else {
3150
+ if ('number' != typeof opts.indent || !(opts.indent > 0)) return null;
3151
+ baseIndent = $join.call(Array(opts.indent + 1), ' ');
3152
+ }
3153
+ return {
3154
+ base: baseIndent,
3155
+ prev: $join.call(Array(depth + 1), baseIndent)
3156
+ };
3157
+ }(opts, depth);
3329
3158
  if (void 0 === seen) seen = [];
3330
3159
  else if (indexOf(seen, obj) >= 0) return '[Circular]';
3331
3160
  function inspect(value, from, noIndent) {
@@ -3338,23 +3167,32 @@ var __webpack_modules__ = {
3338
3167
  return inspect_(value, opts, depth + 1, seen);
3339
3168
  }
3340
3169
  if ('function' == typeof obj && !isRegExp(obj)) {
3341
- var name = nameOf(obj), keys = arrObjKeys(obj, inspect);
3170
+ var name = function(f) {
3171
+ if (f.name) return f.name;
3172
+ var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
3173
+ return m ? m[1] : null;
3174
+ }(obj), keys = arrObjKeys(obj, inspect);
3342
3175
  return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
3343
3176
  }
3344
3177
  if (isSymbol(obj)) {
3345
3178
  var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
3346
3179
  return 'object' != typeof obj || hasShammedSymbols ? symString : markBoxed(symString);
3347
3180
  }
3348
- if (isElement(obj)) {
3349
- for(var s = '<' + $toLowerCase.call(String(obj.nodeName)), attrs = obj.attributes || [], i = 0; i < attrs.length; i++)s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
3350
- return s += '>', obj.childNodes && obj.childNodes.length && (s += '...'), s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
3181
+ if ((x = obj) && 'object' == typeof x && ('undefined' != typeof HTMLElement && x instanceof HTMLElement || 'string' == typeof x.nodeName && 'function' == typeof x.getAttribute)) {
3182
+ for(var x, s, s1 = '<' + $toLowerCase.call(String(obj.nodeName)), attrs = obj.attributes || [], i = 0; i < attrs.length; i++){
3183
+ s1 += ' ' + attrs[i].name + '=' + wrapQuotes((s = attrs[i].value, $replace.call(String(s), /"/g, '&quot;')), 'double', opts);
3184
+ }
3185
+ return s1 += '>', obj.childNodes && obj.childNodes.length && (s1 += '...'), s1 += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
3351
3186
  }
3352
3187
  if (isArray(obj)) {
3353
3188
  if (0 === obj.length) return '[]';
3354
3189
  var xs = arrObjKeys(obj, inspect);
3355
- return indent && !singleLineValues(xs) ? '[' + indentedJoin(xs, indent) + ']' : '[ ' + $join.call(xs, ', ') + ' ]';
3190
+ return indent && !function(xs) {
3191
+ for(var i = 0; i < xs.length; i++)if (indexOf(xs[i], '\n') >= 0) return !1;
3192
+ return !0;
3193
+ }(xs) ? '[' + indentedJoin(xs, indent) + ']' : '[ ' + $join.call(xs, ', ') + ' ]';
3356
3194
  }
3357
- if (isError(obj)) {
3195
+ if ('[object Error]' === toStr(obj1 = obj) && (!toStringTag || !('object' == typeof obj1 && toStringTag in obj1))) {
3358
3196
  var parts = arrObjKeys(obj, inspect);
3359
3197
  return 'cause' in Error.prototype || !('cause' in obj) || isEnumerable.call(obj, 'cause') ? 0 === parts.length ? '[' + String(obj) + ']' : '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }' : '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
3360
3198
  }
@@ -3364,28 +3202,88 @@ var __webpack_modules__ = {
3364
3202
  });
3365
3203
  else if ('symbol' !== customInspect && 'function' == typeof obj.inspect) return obj.inspect();
3366
3204
  }
3367
- if (isMap(obj)) {
3205
+ if (function(x) {
3206
+ if (!mapSize || !x || 'object' != typeof x) return !1;
3207
+ try {
3208
+ mapSize.call(x);
3209
+ try {
3210
+ setSize.call(x);
3211
+ } catch (s) {
3212
+ return !0;
3213
+ }
3214
+ return x instanceof Map;
3215
+ } catch (e) {}
3216
+ return !1;
3217
+ }(obj)) {
3368
3218
  var mapParts = [];
3369
3219
  return mapForEach && mapForEach.call(obj, function(value, key) {
3370
3220
  mapParts.push(inspect(key, obj, !0) + ' => ' + inspect(value, obj));
3371
3221
  }), collectionOf('Map', mapSize.call(obj), mapParts, indent);
3372
3222
  }
3373
- if (isSet(obj)) {
3223
+ if (function(x) {
3224
+ if (!setSize || !x || 'object' != typeof x) return !1;
3225
+ try {
3226
+ setSize.call(x);
3227
+ try {
3228
+ mapSize.call(x);
3229
+ } catch (m) {
3230
+ return !0;
3231
+ }
3232
+ return x instanceof Set;
3233
+ } catch (e) {}
3234
+ return !1;
3235
+ }(obj)) {
3374
3236
  var setParts = [];
3375
3237
  return setForEach && setForEach.call(obj, function(value) {
3376
3238
  setParts.push(inspect(value, obj));
3377
3239
  }), collectionOf('Set', setSize.call(obj), setParts, indent);
3378
3240
  }
3379
- if (isWeakMap(obj)) return weakCollectionOf('WeakMap');
3380
- if (isWeakSet(obj)) return weakCollectionOf('WeakSet');
3381
- if (isWeakRef(obj)) return weakCollectionOf('WeakRef');
3382
- if (isNumber(obj)) return markBoxed(inspect(Number(obj)));
3383
- if (isBigInt(obj)) return markBoxed(inspect(bigIntValueOf.call(obj)));
3384
- if (isBoolean(obj)) return markBoxed(booleanValueOf.call(obj));
3385
- if (isString(obj)) return markBoxed(inspect(String(obj)));
3241
+ if (function(x) {
3242
+ if (!weakMapHas || !x || 'object' != typeof x) return !1;
3243
+ try {
3244
+ weakMapHas.call(x, weakMapHas);
3245
+ try {
3246
+ weakSetHas.call(x, weakSetHas);
3247
+ } catch (s) {
3248
+ return !0;
3249
+ }
3250
+ return x instanceof WeakMap;
3251
+ } catch (e) {}
3252
+ return !1;
3253
+ }(obj)) return weakCollectionOf('WeakMap');
3254
+ if (function(x) {
3255
+ if (!weakSetHas || !x || 'object' != typeof x) return !1;
3256
+ try {
3257
+ weakSetHas.call(x, weakSetHas);
3258
+ try {
3259
+ weakMapHas.call(x, weakMapHas);
3260
+ } catch (s) {
3261
+ return !0;
3262
+ }
3263
+ return x instanceof WeakSet;
3264
+ } catch (e) {}
3265
+ return !1;
3266
+ }(obj)) return weakCollectionOf('WeakSet');
3267
+ if (function(x) {
3268
+ if (!weakRefDeref || !x || 'object' != typeof x) return !1;
3269
+ try {
3270
+ return weakRefDeref.call(x), !0;
3271
+ } catch (e) {}
3272
+ return !1;
3273
+ }(obj)) return weakCollectionOf('WeakRef');
3274
+ if ('[object Number]' === toStr(obj2 = obj) && (!toStringTag || !('object' == typeof obj2 && toStringTag in obj2))) return markBoxed(inspect(Number(obj)));
3275
+ if (function(obj) {
3276
+ if (!obj || 'object' != typeof obj || !bigIntValueOf) return !1;
3277
+ try {
3278
+ return bigIntValueOf.call(obj), !0;
3279
+ } catch (e) {}
3280
+ return !1;
3281
+ }(obj)) return markBoxed(inspect(bigIntValueOf.call(obj)));
3282
+ if ('[object Boolean]' === toStr(obj3 = obj) && (!toStringTag || !('object' == typeof obj3 && toStringTag in obj3))) return markBoxed(booleanValueOf.call(obj));
3283
+ if ('[object String]' === toStr(obj4 = obj) && (!toStringTag || !('object' == typeof obj4 && toStringTag in obj4))) return markBoxed(inspect(String(obj)));
3386
3284
  if ('undefined' != typeof window && obj === window) return '{ [object Window] }';
3387
3285
  if ('undefined' != typeof globalThis && obj === globalThis || 'undefined' != typeof global && obj === global) return '{ [object globalThis] }';
3388
- if (!isDate(obj) && !isRegExp(obj)) {
3286
+ if (!('[object Date]' === toStr(obj5 = obj) && (!toStringTag || !('object' == typeof obj5 && toStringTag in obj5))) && !isRegExp(obj)) {
3389
3287
  var ys = arrObjKeys(obj, inspect), isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object, protoTag = obj instanceof Object ? '' : 'null prototype', stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '', tag = (isPlainObject || 'function' != typeof obj.constructor ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '') + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
3390
3288
  return 0 === ys.length ? tag + '{}' : indent ? tag + '{' + indentedJoin(ys, indent) + '}' : tag + '{ ' + $join.call(ys, ', ') + ' }';
3391
3289
  }
@@ -3400,86 +3298,11 @@ var __webpack_modules__ = {
3400
3298
  function toStr(obj) {
3401
3299
  return objectToString.call(obj);
3402
3300
  }
3403
- function nameOf(f) {
3404
- if (f.name) return f.name;
3405
- var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
3406
- return m ? m[1] : null;
3407
- }
3408
3301
  function indexOf(xs, x) {
3409
3302
  if (xs.indexOf) return xs.indexOf(x);
3410
3303
  for(var i = 0, l = xs.length; i < l; i++)if (xs[i] === x) return i;
3411
3304
  return -1;
3412
3305
  }
3413
- function isMap(x) {
3414
- if (!mapSize || !x || 'object' != typeof x) return !1;
3415
- try {
3416
- mapSize.call(x);
3417
- try {
3418
- setSize.call(x);
3419
- } catch (s) {
3420
- return !0;
3421
- }
3422
- return x instanceof Map;
3423
- } catch (e) {}
3424
- return !1;
3425
- }
3426
- function isWeakMap(x) {
3427
- if (!weakMapHas || !x || 'object' != typeof x) return !1;
3428
- try {
3429
- weakMapHas.call(x, weakMapHas);
3430
- try {
3431
- weakSetHas.call(x, weakSetHas);
3432
- } catch (s) {
3433
- return !0;
3434
- }
3435
- return x instanceof WeakMap;
3436
- } catch (e) {}
3437
- return !1;
3438
- }
3439
- function isWeakRef(x) {
3440
- if (!weakRefDeref || !x || 'object' != typeof x) return !1;
3441
- try {
3442
- return weakRefDeref.call(x), !0;
3443
- } catch (e) {}
3444
- return !1;
3445
- }
3446
- function isSet(x) {
3447
- if (!setSize || !x || 'object' != typeof x) return !1;
3448
- try {
3449
- setSize.call(x);
3450
- try {
3451
- mapSize.call(x);
3452
- } catch (m) {
3453
- return !0;
3454
- }
3455
- return x instanceof Set;
3456
- } catch (e) {}
3457
- return !1;
3458
- }
3459
- function isWeakSet(x) {
3460
- if (!weakSetHas || !x || 'object' != typeof x) return !1;
3461
- try {
3462
- weakSetHas.call(x, weakSetHas);
3463
- try {
3464
- weakMapHas.call(x, weakMapHas);
3465
- } catch (s) {
3466
- return !0;
3467
- }
3468
- return x instanceof WeakSet;
3469
- } catch (e) {}
3470
- return !1;
3471
- }
3472
- function isElement(x) {
3473
- return !!x && 'object' == typeof x && (!!('undefined' != typeof HTMLElement && x instanceof HTMLElement) || 'string' == typeof x.nodeName && 'function' == typeof x.getAttribute);
3474
- }
3475
- function inspectString(str, opts) {
3476
- if (str.length > opts.maxStringLength) {
3477
- var remaining = str.length - opts.maxStringLength, trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
3478
- return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
3479
- }
3480
- var quoteRE = quoteREs[opts.quoteStyle || 'single'];
3481
- return quoteRE.lastIndex = 0, wrapQuotes($replace.call($replace.call(str, quoteRE, '\\$1'), /[\x00-\x1f]/g, lowbyte), 'single', opts);
3482
- }
3483
3306
  function lowbyte(c) {
3484
3307
  var n = c.charCodeAt(0), x = {
3485
3308
  8: 'b',
@@ -3499,22 +3322,6 @@ var __webpack_modules__ = {
3499
3322
  function collectionOf(type, size, entries, indent) {
3500
3323
  return type + ' (' + size + ') {' + (indent ? indentedJoin(entries, indent) : $join.call(entries, ', ')) + '}';
3501
3324
  }
3502
- function singleLineValues(xs) {
3503
- for(var i = 0; i < xs.length; i++)if (indexOf(xs[i], '\n') >= 0) return !1;
3504
- return !0;
3505
- }
3506
- function getIndent(opts, depth) {
3507
- var baseIndent;
3508
- if ('\t' === opts.indent) baseIndent = '\t';
3509
- else {
3510
- if ('number' != typeof opts.indent || !(opts.indent > 0)) return null;
3511
- baseIndent = $join.call(Array(opts.indent + 1), ' ');
3512
- }
3513
- return {
3514
- base: baseIndent,
3515
- prev: $join.call(Array(depth + 1), baseIndent)
3516
- };
3517
- }
3518
3325
  function indentedJoin(xs, indent) {
3519
3326
  if (0 === xs.length) return '';
3520
3327
  var lineJoiner = '\n' + indent.prev + indent.base;
@@ -3542,70 +3349,55 @@ var __webpack_modules__ = {
3542
3349
  },
3543
3350
  "../../node_modules/.pnpm/on-finished@2.4.1/node_modules/on-finished/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
3544
3351
  "use strict";
3545
- module.exports = onFinished, module.exports.isFinished = isFinished;
3546
- var asyncHooks = tryRequireAsyncHooks(), first = __webpack_require__("../../node_modules/.pnpm/ee-first@1.1.1/node_modules/ee-first/index.js"), defer = 'function' == typeof setImmediate ? setImmediate : function(fn) {
3547
- process.nextTick(fn.bind.apply(fn, arguments));
3548
- };
3549
- function onFinished(msg, listener) {
3550
- return !1 !== isFinished(msg) ? defer(listener, null, msg) : attachListener(msg, wrap(listener)), msg;
3551
- }
3552
- function isFinished(msg) {
3553
- var socket = msg.socket;
3554
- return 'boolean' == typeof msg.finished ? !!(msg.finished || socket && !socket.writable) : 'boolean' == typeof msg.complete ? !!(msg.upgrade || !socket || !socket.readable || msg.complete && !msg.readable) : void 0;
3555
- }
3556
- function attachFinishedListener(msg, callback) {
3557
- var eeMsg, eeSocket, finished = !1;
3558
- function onFinish(error) {
3559
- eeMsg.cancel(), eeSocket.cancel(), finished = !0, callback(error);
3560
- }
3561
- function onSocket(socket) {
3562
- msg.removeListener('socket', onSocket), finished || eeMsg === eeSocket && (eeSocket = first([
3352
+ module.exports = function(msg, listener) {
3353
+ var fn, res, msg1, listener1, attached;
3354
+ return !1 !== isFinished(msg) ? defer(listener, null, msg) : (msg1 = msg, listener1 = (fn = listener, (asyncHooks.AsyncResource && (res = new asyncHooks.AsyncResource(fn.name || 'bound-anonymous-fn')), res && res.runInAsyncScope) ? res.runInAsyncScope.bind(res, fn, null) : fn), (attached = msg1.__onFinished) && attached.queue || (attached = msg1.__onFinished = function(msg) {
3355
+ function listener(err) {
3356
+ if (msg.__onFinished === listener && (msg.__onFinished = null), listener.queue) {
3357
+ var queue = listener.queue;
3358
+ listener.queue = null;
3359
+ for(var i = 0; i < queue.length; i++)queue[i](err, msg);
3360
+ }
3361
+ }
3362
+ return listener.queue = [], listener;
3363
+ }(msg1), function(msg, callback) {
3364
+ var res, callback1, assignSocket, eeMsg, eeSocket, finished = !1;
3365
+ function onFinish(error) {
3366
+ eeMsg.cancel(), eeSocket.cancel(), finished = !0, callback(error);
3367
+ }
3368
+ function onSocket(socket) {
3369
+ msg.removeListener('socket', onSocket), finished || eeMsg === eeSocket && (eeSocket = first([
3370
+ [
3371
+ socket,
3372
+ 'error',
3373
+ 'close'
3374
+ ]
3375
+ ], onFinish));
3376
+ }
3377
+ if (eeMsg = eeSocket = first([
3563
3378
  [
3564
- socket,
3565
- 'error',
3566
- 'close'
3379
+ msg,
3380
+ 'end',
3381
+ 'finish'
3567
3382
  ]
3568
- ], onFinish));
3569
- }
3570
- if (eeMsg = eeSocket = first([
3571
- [
3572
- msg,
3573
- 'end',
3574
- 'finish'
3575
- ]
3576
- ], onFinish), msg.socket) return void onSocket(msg.socket);
3577
- msg.on('socket', onSocket), void 0 === msg.socket && patchAssignSocket(msg, onSocket);
3578
- }
3579
- function attachListener(msg, listener) {
3580
- var attached = msg.__onFinished;
3581
- attached && attached.queue || (attached = msg.__onFinished = createListener(msg), attachFinishedListener(msg, attached)), attached.queue.push(listener);
3582
- }
3583
- function createListener(msg) {
3584
- function listener(err) {
3585
- if (msg.__onFinished === listener && (msg.__onFinished = null), listener.queue) {
3586
- var queue = listener.queue;
3587
- listener.queue = null;
3588
- for(var i = 0; i < queue.length; i++)queue[i](err, msg);
3589
- }
3590
- }
3591
- return listener.queue = [], listener;
3592
- }
3593
- function patchAssignSocket(res, callback) {
3594
- var assignSocket = res.assignSocket;
3595
- 'function' == typeof assignSocket && (res.assignSocket = function(socket) {
3596
- assignSocket.call(this, socket), callback(socket);
3597
- });
3598
- }
3599
- function tryRequireAsyncHooks() {
3383
+ ], onFinish), msg.socket) return onSocket(msg.socket);
3384
+ msg.on('socket', onSocket), void 0 === msg.socket && (res = msg, callback1 = onSocket, 'function' == typeof (assignSocket = res.assignSocket) && (res.assignSocket = function(socket) {
3385
+ assignSocket.call(this, socket), callback1(socket);
3386
+ }));
3387
+ }(msg1, attached)), attached.queue.push(listener1)), msg;
3388
+ }, module.exports.isFinished = isFinished;
3389
+ var asyncHooks = function() {
3600
3390
  try {
3601
3391
  return __webpack_require__("async_hooks");
3602
3392
  } catch (e) {
3603
3393
  return {};
3604
3394
  }
3605
- }
3606
- function wrap(fn) {
3607
- var res;
3608
- return (asyncHooks.AsyncResource && (res = new asyncHooks.AsyncResource(fn.name || 'bound-anonymous-fn')), res && res.runInAsyncScope) ? res.runInAsyncScope.bind(res, fn, null) : fn;
3395
+ }(), first = __webpack_require__("../../node_modules/.pnpm/ee-first@1.1.1/node_modules/ee-first/index.js"), defer = 'function' == typeof setImmediate ? setImmediate : function(fn) {
3396
+ process.nextTick(fn.bind.apply(fn, arguments));
3397
+ };
3398
+ function isFinished(msg) {
3399
+ var socket = msg.socket;
3400
+ return 'boolean' == typeof msg.finished ? !!(msg.finished || socket && !socket.writable) : 'boolean' == typeof msg.complete ? !!(msg.upgrade || !socket || !socket.readable || msg.complete && !msg.readable) : void 0;
3609
3401
  }
3610
3402
  },
3611
3403
  "../../node_modules/.pnpm/qs@6.13.0/node_modules/qs/lib/formats.js": function(module) {
@@ -3657,24 +3449,22 @@ var __webpack_modules__ = {
3657
3449
  plainObjects: !1,
3658
3450
  strictDepth: !1,
3659
3451
  strictNullHandling: !1
3660
- }, interpretNumericEntities = function(str) {
3661
- return str.replace(/&#(\d+);/g, function($0, numberStr) {
3662
- return String.fromCharCode(parseInt(numberStr, 10));
3663
- });
3664
3452
  }, parseArrayValue = function(val, options) {
3665
3453
  return val && 'string' == typeof val && options.comma && val.indexOf(',') > -1 ? val.split(',') : val;
3666
- }, isoSentinel = 'utf8=%26%2310003%3B', charsetSentinel = 'utf8=%E2%9C%93', parseValues = function(str, options) {
3454
+ }, parseValues = function(str, options) {
3667
3455
  var obj = {
3668
3456
  __proto__: null
3669
3457
  }, cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
3670
3458
  cleanStr = cleanStr.replace(/%5B/gi, '[').replace(/%5D/gi, ']');
3671
3459
  var limit = options.parameterLimit === 1 / 0 ? void 0 : options.parameterLimit, parts = cleanStr.split(options.delimiter, limit), skipIndex = -1, charset = options.charset;
3672
- if (options.charsetSentinel) for(i = 0; i < parts.length; ++i)0 === parts[i].indexOf('utf8=') && (parts[i] === charsetSentinel ? charset = 'utf-8' : parts[i] === isoSentinel && (charset = 'iso-8859-1'), skipIndex = i, i = parts.length);
3460
+ if (options.charsetSentinel) for(i = 0; i < parts.length; ++i)0 === parts[i].indexOf('utf8=') && ('utf8=%E2%9C%93' === parts[i] ? charset = 'utf-8' : 'utf8=%26%2310003%3B' === parts[i] && (charset = 'iso-8859-1'), skipIndex = i, i = parts.length);
3673
3461
  for(i = 0; i < parts.length; ++i)if (i !== skipIndex) {
3674
3462
  var i, key, val, part = parts[i], bracketEqualsPos = part.indexOf(']='), pos = -1 === bracketEqualsPos ? part.indexOf('=') : bracketEqualsPos + 1;
3675
3463
  -1 === pos ? (key = options.decoder(part, defaults.decoder, charset, 'key'), val = options.strictNullHandling ? null : '') : (key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key'), val = utils.maybeMap(parseArrayValue(part.slice(pos + 1), options), function(encodedVal) {
3676
3464
  return options.decoder(encodedVal, defaults.decoder, charset, 'value');
3677
- })), val && options.interpretNumericEntities && 'iso-8859-1' === charset && (val = interpretNumericEntities(val)), part.indexOf('[]=') > -1 && (val = isArray(val) ? [
3465
+ })), val && options.interpretNumericEntities && 'iso-8859-1' === charset && (val = val.replace(/&#(\d+);/g, function($0, numberStr) {
3466
+ return String.fromCharCode(parseInt(numberStr, 10));
3467
+ })), part.indexOf('[]=') > -1 && (val = isArray(val) ? [
3678
3468
  val
3679
3469
  ] : val);
3680
3470
  var existing = has.call(obj, key);
@@ -3697,7 +3487,7 @@ var __webpack_modules__ = {
3697
3487
  return leaf;
3698
3488
  }, parseKeys = function(givenKey, val, options, valuesParsed) {
3699
3489
  if (givenKey) {
3700
- var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey, brackets = /(\[[^[\]]*])/, child = /(\[[^[\]]*])/g, segment = options.depth > 0 && brackets.exec(key), parent = segment ? key.slice(0, segment.index) : key, keys = [];
3490
+ var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey, child = /(\[[^[\]]*])/g, segment = options.depth > 0 && /(\[[^[\]]*])/.exec(key), parent = segment ? key.slice(0, segment.index) : key, keys = [];
3701
3491
  if (parent) {
3702
3492
  if (!options.plainObjects && has.call(Object.prototype, parent) && !options.allowPrototypes) return;
3703
3493
  keys.push(parent);
@@ -3790,10 +3580,8 @@ var __webpack_modules__ = {
3790
3580
  },
3791
3581
  skipNulls: !1,
3792
3582
  strictNullHandling: !1
3793
- }, isNonNullishPrimitive = function(v) {
3794
- return 'string' == typeof v || 'number' == typeof v || 'boolean' == typeof v || 'symbol' == typeof v || 'bigint' == typeof v;
3795
3583
  }, sentinel = {}, stringify = function stringify(object, prefix, generateArrayPrefix, commaRoundTrip, allowEmptyArrays, strictNullHandling, skipNulls, encodeDotInKeys, encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel) {
3796
- for(var objKeys, obj = object, tmpSc = sideChannel, step = 0, findFlag = !1; void 0 !== (tmpSc = tmpSc.get(sentinel)) && !findFlag;){
3584
+ for(var v, objKeys, obj = object, tmpSc = sideChannel, step = 0, findFlag = !1; void 0 !== (tmpSc = tmpSc.get(sentinel)) && !findFlag;){
3797
3585
  var pos = tmpSc.get(object);
3798
3586
  if (step += 1, void 0 !== pos) if (pos === step) throw RangeError('Cyclic object value');
3799
3587
  else findFlag = !0;
@@ -3805,7 +3593,7 @@ var __webpack_modules__ = {
3805
3593
  if (strictNullHandling) return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;
3806
3594
  obj = '';
3807
3595
  }
3808
- if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) return encoder ? [
3596
+ if ('string' == typeof (v = obj) || 'number' == typeof v || 'boolean' == typeof v || 'symbol' == typeof v || 'bigint' == typeof v || utils.isBuffer(obj)) return encoder ? [
3809
3597
  formatter(encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format)) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))
3810
3598
  ] : [
3811
3599
  formatter(prefix) + '=' + formatter(String(obj))
@@ -3872,8 +3660,8 @@ var __webpack_modules__ = {
3872
3660
  };
3873
3661
  };
3874
3662
  module.exports = function(object, opts) {
3875
- var objKeys, filter, obj = object, options = normalizeStringifyOptions(opts);
3876
- 'function' == typeof options.filter ? obj = (filter = options.filter)('', obj) : isArray(options.filter) && (objKeys = filter = options.filter);
3663
+ var objKeys, obj = object, options = normalizeStringifyOptions(opts);
3664
+ 'function' == typeof options.filter ? obj = (0, options.filter)('', obj) : isArray(options.filter) && (objKeys = options.filter);
3877
3665
  var keys = [];
3878
3666
  if ('object' != typeof obj || null === obj) return '';
3879
3667
  var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat], commaRoundTrip = 'comma' === generateArrayPrefix && options.commaRoundTrip;
@@ -3902,33 +3690,7 @@ var __webpack_modules__ = {
3902
3690
  }, arrayToObject = function(source, options) {
3903
3691
  for(var obj = options && options.plainObjects ? Object.create(null) : {}, i = 0; i < source.length; ++i)void 0 !== source[i] && (obj[i] = source[i]);
3904
3692
  return obj;
3905
- }, merge = function merge(target, source, options) {
3906
- if (!source) return target;
3907
- if ('object' != typeof source) {
3908
- if (isArray(target)) target.push(source);
3909
- else {
3910
- if (!target || 'object' != typeof target) return [
3911
- target,
3912
- source
3913
- ];
3914
- (options && (options.plainObjects || options.allowPrototypes) || !has.call(Object.prototype, source)) && (target[source] = !0);
3915
- }
3916
- return target;
3917
- }
3918
- if (!target || 'object' != typeof target) return [
3919
- target
3920
- ].concat(source);
3921
- var mergeTarget = target;
3922
- return (isArray(target) && !isArray(source) && (mergeTarget = arrayToObject(target, options)), isArray(target) && isArray(source)) ? (source.forEach(function(item, i) {
3923
- if (has.call(target, i)) {
3924
- var targetItem = target[i];
3925
- targetItem && 'object' == typeof targetItem && item && 'object' == typeof item ? target[i] = merge(targetItem, item, options) : target.push(item);
3926
- } else target[i] = item;
3927
- }), target) : Object.keys(source).reduce(function(acc, key) {
3928
- var value = source[key];
3929
- return has.call(acc, key) ? acc[key] = merge(acc[key], value, options) : acc[key] = value, acc;
3930
- }, mergeTarget);
3931
- }, limit = 1024;
3693
+ };
3932
3694
  module.exports = {
3933
3695
  arrayToObject: arrayToObject,
3934
3696
  assign: function(target, source) {
@@ -3971,8 +3733,8 @@ var __webpack_modules__ = {
3971
3733
  if ('symbol' == typeof str ? string = Symbol.prototype.toString.call(str) : 'string' != typeof str && (string = String(str)), 'iso-8859-1' === charset) return escape(string).replace(/%u[0-9a-f]{4}/gi, function($0) {
3972
3734
  return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
3973
3735
  });
3974
- for(var out = '', j = 0; j < string.length; j += limit){
3975
- for(var segment = string.length >= limit ? string.slice(j, j + limit) : string, arr = [], i = 0; i < segment.length; ++i){
3736
+ for(var out = '', j = 0; j < string.length; j += 1024){
3737
+ for(var segment = string.length >= 1024 ? string.slice(j, j + 1024) : string, arr = [], i = 0; i < segment.length; ++i){
3976
3738
  var c = segment.charCodeAt(i);
3977
3739
  if (0x2D === c || 0x2E === c || 0x5F === c || 0x7E === c || c >= 0x30 && c <= 0x39 || c >= 0x41 && c <= 0x5A || c >= 0x61 && c <= 0x7A || format === formats.RFC1738 && (0x28 === c || 0x29 === c)) {
3978
3740
  arr[arr.length] = segment.charAt(i);
@@ -4009,28 +3771,46 @@ var __webpack_modules__ = {
4009
3771
  }
4010
3772
  return fn(val);
4011
3773
  },
4012
- merge: merge
3774
+ merge: function merge(target, source, options) {
3775
+ if (!source) return target;
3776
+ if ('object' != typeof source) {
3777
+ if (isArray(target)) target.push(source);
3778
+ else {
3779
+ if (!target || 'object' != typeof target) return [
3780
+ target,
3781
+ source
3782
+ ];
3783
+ (options && (options.plainObjects || options.allowPrototypes) || !has.call(Object.prototype, source)) && (target[source] = !0);
3784
+ }
3785
+ return target;
3786
+ }
3787
+ if (!target || 'object' != typeof target) return [
3788
+ target
3789
+ ].concat(source);
3790
+ var mergeTarget = target;
3791
+ return (isArray(target) && !isArray(source) && (mergeTarget = arrayToObject(target, options)), isArray(target) && isArray(source)) ? (source.forEach(function(item, i) {
3792
+ if (has.call(target, i)) {
3793
+ var targetItem = target[i];
3794
+ targetItem && 'object' == typeof targetItem && item && 'object' == typeof item ? target[i] = merge(targetItem, item, options) : target.push(item);
3795
+ } else target[i] = item;
3796
+ }), target) : Object.keys(source).reduce(function(acc, key) {
3797
+ var value = source[key];
3798
+ return has.call(acc, key) ? acc[key] = merge(acc[key], value, options) : acc[key] = value, acc;
3799
+ }, mergeTarget);
3800
+ }
4013
3801
  };
4014
3802
  },
4015
3803
  "../../node_modules/.pnpm/raw-body@2.5.2/node_modules/raw-body/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
4016
3804
  "use strict";
4017
- var asyncHooks = tryRequireAsyncHooks(), bytes = __webpack_require__("../../node_modules/.pnpm/bytes@3.1.2/node_modules/bytes/index.js"), createError = __webpack_require__("../../node_modules/.pnpm/http-errors@2.0.0/node_modules/http-errors/index.js"), iconv = __webpack_require__("../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/index.js"), unpipe = __webpack_require__("../../node_modules/.pnpm/unpipe@1.0.0/node_modules/unpipe/index.js");
4018
- module.exports = getRawBody;
4019
- var ICONV_ENCODING_MESSAGE_REGEXP = /^Encoding not recognized: /;
4020
- function getDecoder(encoding) {
4021
- if (!encoding) return null;
3805
+ var asyncHooks = function() {
4022
3806
  try {
4023
- return iconv.getDecoder(encoding);
3807
+ return __webpack_require__("async_hooks");
4024
3808
  } catch (e) {
4025
- if (!ICONV_ENCODING_MESSAGE_REGEXP.test(e.message)) throw e;
4026
- throw createError(415, 'specified encoding unsupported', {
4027
- encoding: encoding,
4028
- type: 'encoding.unsupported'
4029
- });
3809
+ return {};
4030
3810
  }
4031
- }
4032
- function getRawBody(stream, options, callback) {
4033
- var done = callback, opts = options || {};
3811
+ }(), bytes = __webpack_require__("../../node_modules/.pnpm/bytes@3.1.2/node_modules/bytes/index.js"), createError = __webpack_require__("../../node_modules/.pnpm/http-errors@2.0.0/node_modules/http-errors/index.js"), iconv = __webpack_require__("../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/lib/index.js"), unpipe = __webpack_require__("../../node_modules/.pnpm/unpipe@1.0.0/node_modules/unpipe/index.js");
3812
+ module.exports = function(stream, options, callback) {
3813
+ var fn, res, done = callback, opts = options || {};
4034
3814
  if (void 0 === stream) throw TypeError('argument stream is required');
4035
3815
  if ('object' != typeof stream || null === stream || 'function' != typeof stream.on) throw TypeError('argument stream must be a stream');
4036
3816
  if ((!0 === options || 'string' == typeof options) && (opts = {
@@ -4038,16 +3818,14 @@ var __webpack_modules__ = {
4038
3818
  }), 'function' == typeof options && (done = options, opts = {}), void 0 !== done && 'function' != typeof done) throw TypeError('argument callback must be a function');
4039
3819
  if (!done && !global.Promise) throw TypeError('argument callback is required');
4040
3820
  var encoding = !0 !== opts.encoding ? opts.encoding : 'utf-8', limit = bytes.parse(opts.limit), length = null == opts.length || isNaN(opts.length) ? null : parseInt(opts.length, 10);
4041
- return done ? readStream(stream, encoding, length, limit, wrap(done)) : new Promise(function(resolve, reject) {
3821
+ return done ? readStream(stream, encoding, length, limit, (fn = done, (asyncHooks.AsyncResource && (res = new asyncHooks.AsyncResource(fn.name || 'bound-anonymous-fn')), res && res.runInAsyncScope) ? res.runInAsyncScope.bind(res, fn, null) : fn)) : new Promise(function(resolve, reject) {
4042
3822
  readStream(stream, encoding, length, limit, function(err, buf) {
4043
3823
  if (err) return reject(err);
4044
3824
  resolve(buf);
4045
3825
  });
4046
3826
  });
4047
- }
4048
- function halt(stream) {
4049
- unpipe(stream), 'function' == typeof stream.pause && stream.pause();
4050
- }
3827
+ };
3828
+ var ICONV_ENCODING_MESSAGE_REGEXP = /^Encoding not recognized: /;
4051
3829
  function readStream(stream, encoding, length, limit, callback) {
4052
3830
  var decoder, complete = !1, sync = !0;
4053
3831
  if (null !== limit && null !== length && length > limit) return done(createError(413, 'request entity too large', {
@@ -4065,7 +3843,18 @@ var __webpack_modules__ = {
4065
3843
  }));
4066
3844
  var received = 0;
4067
3845
  try {
4068
- decoder = getDecoder(encoding);
3846
+ decoder = function(encoding) {
3847
+ if (!encoding) return null;
3848
+ try {
3849
+ return iconv.getDecoder(encoding);
3850
+ } catch (e) {
3851
+ if (!ICONV_ENCODING_MESSAGE_REGEXP.test(e.message)) throw e;
3852
+ throw createError(415, 'specified encoding unsupported', {
3853
+ encoding: encoding,
3854
+ type: 'encoding.unsupported'
3855
+ });
3856
+ }
3857
+ }(encoding);
4069
3858
  } catch (err) {
4070
3859
  return done(err);
4071
3860
  }
@@ -4073,7 +3862,7 @@ var __webpack_modules__ = {
4073
3862
  function done() {
4074
3863
  for(var args = Array(arguments.length), i = 0; i < args.length; i++)args[i] = arguments[i];
4075
3864
  function invokeCallback() {
4076
- cleanup(), args[0] && halt(stream), callback.apply(null, args);
3865
+ cleanup(), args[0] && (unpipe(stream), 'function' == typeof stream.pause && stream.pause()), callback.apply(null, args);
4077
3866
  }
4078
3867
  complete = !0, sync ? process.nextTick(invokeCallback) : invokeCallback();
4079
3868
  }
@@ -4109,30 +3898,17 @@ var __webpack_modules__ = {
4109
3898
  }
4110
3899
  stream.on('aborted', onAborted), stream.on('close', cleanup), stream.on('data', onData), stream.on('end', onEnd), stream.on('error', onEnd), sync = !1;
4111
3900
  }
4112
- function tryRequireAsyncHooks() {
4113
- try {
4114
- return __webpack_require__("async_hooks");
4115
- } catch (e) {
4116
- return {};
4117
- }
4118
- }
4119
- function wrap(fn) {
4120
- var res;
4121
- return (asyncHooks.AsyncResource && (res = new asyncHooks.AsyncResource(fn.name || 'bound-anonymous-fn')), res && res.runInAsyncScope) ? res.runInAsyncScope.bind(res, fn, null) : fn;
4122
- }
4123
3901
  },
4124
3902
  "../../node_modules/.pnpm/setprototypeof@1.2.0/node_modules/setprototypeof/index.js": function(module) {
4125
3903
  "use strict";
4126
- function setProtoOf(obj, proto) {
3904
+ module.exports = Object.setPrototypeOf || (({
3905
+ __proto__: []
3906
+ }) instanceof Array ? function(obj, proto) {
4127
3907
  return obj.__proto__ = proto, obj;
4128
- }
4129
- function mixinProperties(obj, proto) {
3908
+ } : function(obj, proto) {
4130
3909
  for(var prop in proto)Object.prototype.hasOwnProperty.call(obj, prop) || (obj[prop] = proto[prop]);
4131
3910
  return obj;
4132
- }
4133
- module.exports = Object.setPrototypeOf || (({
4134
- __proto__: []
4135
- }) instanceof Array ? setProtoOf : mixinProperties);
3911
+ });
4136
3912
  },
4137
3913
  "../../node_modules/.pnpm/side-channel-list@1.0.0/node_modules/side-channel-list/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
4138
3914
  "use strict";
@@ -4150,8 +3926,6 @@ var __webpack_modules__ = {
4150
3926
  next: objects.next,
4151
3927
  value: value
4152
3928
  };
4153
- }, listHas = function(objects, key) {
4154
- return !!objects && !!listGetNode(objects, key);
4155
3929
  }, listDelete = function(objects, key) {
4156
3930
  if (objects) return listGetNode(objects, key, !0);
4157
3931
  };
@@ -4168,7 +3942,8 @@ var __webpack_modules__ = {
4168
3942
  return listGet($o, key);
4169
3943
  },
4170
3944
  has: function(key) {
4171
- return listHas($o, key);
3945
+ var objects;
3946
+ return !!(objects = $o) && !!listGetNode(objects, key);
4172
3947
  },
4173
3948
  set: function(key, value) {
4174
3949
  $o || ($o = {
@@ -4294,13 +4069,10 @@ var __webpack_modules__ = {
4294
4069
  exports1.ArraySet = ArraySet;
4295
4070
  },
4296
4071
  "../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/base64-vlq.js": function(__unused_webpack_module, exports1, __webpack_require__) {
4297
- let base64 = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/base64.js"), VLQ_BASE_SHIFT = 5, VLQ_BASE_MASK = 31, VLQ_CONTINUATION_BIT = 32;
4298
- function toVLQSigned(aValue) {
4299
- return aValue < 0 ? (-aValue << 1) + 1 : (aValue << 1) + 0;
4300
- }
4072
+ let base64 = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/base64.js");
4301
4073
  exports1.encode = function(aValue) {
4302
- let digit, encoded = "", vlq = toVLQSigned(aValue);
4303
- do digit = vlq & VLQ_BASE_MASK, (vlq >>>= VLQ_BASE_SHIFT) > 0 && (digit |= VLQ_CONTINUATION_BIT), encoded += base64.encode(digit);
4074
+ let digit, encoded = "", vlq = aValue < 0 ? (-aValue << 1) + 1 : (aValue << 1) + 0;
4075
+ do digit = 31 & vlq, (vlq >>>= 5) > 0 && (digit |= 32), encoded += base64.encode(digit);
4304
4076
  while (vlq > 0);
4305
4077
  return encoded;
4306
4078
  };
@@ -4313,13 +4085,12 @@ var __webpack_modules__ = {
4313
4085
  };
4314
4086
  },
4315
4087
  "../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/binary-search.js": function(__unused_webpack_module, exports1) {
4316
- function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
4317
- let mid = Math.floor((aHigh - aLow) / 2) + aLow, cmp = aCompare(aNeedle, aHaystack[mid], !0);
4318
- return 0 === cmp ? mid : cmp > 0 ? aHigh - mid > 1 ? recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias) : aBias === exports1.LEAST_UPPER_BOUND ? aHigh < aHaystack.length ? aHigh : -1 : mid : mid - aLow > 1 ? recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias) : aBias == exports1.LEAST_UPPER_BOUND ? mid : aLow < 0 ? -1 : aLow;
4319
- }
4320
4088
  exports1.GREATEST_LOWER_BOUND = 1, exports1.LEAST_UPPER_BOUND = 2, exports1.search = function(aNeedle, aHaystack, aCompare, aBias) {
4321
4089
  if (0 === aHaystack.length) return -1;
4322
- let index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, aCompare, aBias || exports1.GREATEST_LOWER_BOUND);
4090
+ let index = function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {
4091
+ let mid = Math.floor((aHigh - aLow) / 2) + aLow, cmp = aCompare(aNeedle, aHaystack[mid], !0);
4092
+ return 0 === cmp ? mid : cmp > 0 ? aHigh - mid > 1 ? recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias) : aBias === exports1.LEAST_UPPER_BOUND ? aHigh < aHaystack.length ? aHigh : -1 : mid : mid - aLow > 1 ? recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias) : aBias == exports1.LEAST_UPPER_BOUND ? mid : aLow < 0 ? -1 : aLow;
4093
+ }(-1, aHaystack.length, aNeedle, aHaystack, aCompare, aBias || exports1.GREATEST_LOWER_BOUND);
4323
4094
  if (index < 0) return -1;
4324
4095
  for(; index - 1 >= 0 && 0 === aCompare(aHaystack[index], aHaystack[index - 1], !0);)--index;
4325
4096
  return index;
@@ -4327,11 +4098,7 @@ var __webpack_modules__ = {
4327
4098
  },
4328
4099
  "../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/mapping-list.js": function(__unused_webpack_module, exports1, __webpack_require__) {
4329
4100
  let util = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/util.js");
4330
- function generatedPositionAfter(mappingA, mappingB) {
4331
- let lineA = mappingA.generatedLine, lineB = mappingB.generatedLine, columnA = mappingA.generatedColumn, columnB = mappingB.generatedColumn;
4332
- return lineB > lineA || lineB == lineA && columnB >= columnA || 0 >= util.compareByGeneratedPositionsInflated(mappingA, mappingB);
4333
- }
4334
- class MappingList {
4101
+ exports1.MappingList = class {
4335
4102
  constructor(){
4336
4103
  this._array = [], this._sorted = !0, this._last = {
4337
4104
  generatedLine: -1,
@@ -4342,13 +4109,15 @@ var __webpack_modules__ = {
4342
4109
  this._array.forEach(aCallback, aThisArg);
4343
4110
  }
4344
4111
  add(aMapping) {
4345
- generatedPositionAfter(this._last, aMapping) ? this._last = aMapping : this._sorted = !1, this._array.push(aMapping);
4112
+ !function(mappingA, mappingB) {
4113
+ let lineA = mappingA.generatedLine, lineB = mappingB.generatedLine, columnA = mappingA.generatedColumn, columnB = mappingB.generatedColumn;
4114
+ return lineB > lineA || lineB == lineA && columnB >= columnA || 0 >= util.compareByGeneratedPositionsInflated(mappingA, mappingB);
4115
+ }(this._last, aMapping) ? this._sorted = !1 : this._last = aMapping, this._array.push(aMapping);
4346
4116
  }
4347
4117
  toArray() {
4348
4118
  return this._sorted || (this._array.sort(util.compareByGeneratedPositionsInflated), this._sorted = !0), this._array;
4349
4119
  }
4350
- }
4351
- exports1.MappingList = MappingList;
4120
+ };
4352
4121
  },
4353
4122
  "../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/read-wasm.js": function(module, __unused_webpack_exports, __webpack_require__) {
4354
4123
  "use strict";
@@ -4366,20 +4135,23 @@ var __webpack_modules__ = {
4366
4135
  };
4367
4136
  },
4368
4137
  "../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/source-map-consumer.js": function(__unused_webpack_module, exports1, __webpack_require__) {
4369
- var __webpack_unused_export__;
4370
4138
  let util = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/util.js"), binarySearch = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/binary-search.js"), ArraySet = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/array-set.js").ArraySet;
4371
4139
  __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/base64-vlq.js");
4372
4140
  let readWasm = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/read-wasm.js"), wasm = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/wasm.js"), INTERNAL = Symbol("smcInternal");
4373
4141
  class SourceMapConsumer {
4374
4142
  constructor(aSourceMap, aSourceMapURL){
4375
4143
  if (aSourceMap == INTERNAL) return Promise.resolve(this);
4376
- return _factory(aSourceMap, aSourceMapURL);
4144
+ return function(aSourceMap, aSourceMapURL) {
4145
+ let sourceMap = aSourceMap;
4146
+ return "string" == typeof aSourceMap && (sourceMap = util.parseSourceMapInput(aSourceMap)), Promise.resolve(null != sourceMap.sections ? new IndexedSourceMapConsumer(sourceMap, aSourceMapURL) : new BasicSourceMapConsumer(sourceMap, aSourceMapURL));
4147
+ }(aSourceMap, aSourceMapURL);
4377
4148
  }
4378
4149
  static initialize(opts) {
4379
4150
  readWasm.initialize(opts["lib/mappings.wasm"]);
4380
4151
  }
4381
4152
  static fromSourceMap(aSourceMap, aSourceMapURL) {
4382
- return _factoryBSM(aSourceMap, aSourceMapURL);
4153
+ var aSourceMap1, aSourceMapURL1;
4154
+ return aSourceMap1 = aSourceMap, aSourceMapURL1 = aSourceMapURL, BasicSourceMapConsumer.fromSourceMap(aSourceMap1, aSourceMapURL1);
4383
4155
  }
4384
4156
  static async with(rawSourceMap, sourceMapUrl, f) {
4385
4157
  let consumer = await new SourceMapConsumer(rawSourceMap, sourceMapUrl);
@@ -4574,7 +4346,7 @@ var __webpack_modules__ = {
4574
4346
  };
4575
4347
  }
4576
4348
  }
4577
- BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer, __webpack_unused_export__ = BasicSourceMapConsumer;
4349
+ BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;
4578
4350
  class IndexedSourceMapConsumer extends SourceMapConsumer {
4579
4351
  constructor(aSourceMap, aSourceMapURL){
4580
4352
  return super(INTERNAL).then((that)=>{
@@ -4678,13 +4450,6 @@ var __webpack_modules__ = {
4678
4450
  for(let i = 0; i < this._sections.length; i++)this._sections[i].consumer.destroy();
4679
4451
  }
4680
4452
  }
4681
- function _factory(aSourceMap, aSourceMapURL) {
4682
- let sourceMap = aSourceMap;
4683
- return "string" == typeof aSourceMap && (sourceMap = util.parseSourceMapInput(aSourceMap)), Promise.resolve(null != sourceMap.sections ? new IndexedSourceMapConsumer(sourceMap, aSourceMapURL) : new BasicSourceMapConsumer(sourceMap, aSourceMapURL));
4684
- }
4685
- function _factoryBSM(aSourceMap, aSourceMapURL) {
4686
- return BasicSourceMapConsumer.fromSourceMap(aSourceMap, aSourceMapURL);
4687
- }
4688
4453
  },
4689
4454
  "../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/source-map-generator.js": function(__unused_webpack_module, exports1, __webpack_require__) {
4690
4455
  let base64VLQ = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/base64-vlq.js"), util = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/util.js"), ArraySet = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/array-set.js").ArraySet, MappingList = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/mapping-list.js").MappingList;
@@ -4803,7 +4568,7 @@ var __webpack_modules__ = {
4803
4568
  SourceMapGenerator.prototype._version = 3, exports1.SourceMapGenerator = SourceMapGenerator;
4804
4569
  },
4805
4570
  "../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/source-node.js": function(__unused_webpack_module, exports1, __webpack_require__) {
4806
- let SourceMapGenerator = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/source-map-generator.js").SourceMapGenerator, util = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/util.js"), REGEX_NEWLINE = /(\r?\n)/, NEWLINE_CODE = 10, isSourceNode = "$$$isSourceNode$$$";
4571
+ let SourceMapGenerator = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/source-map-generator.js").SourceMapGenerator, util = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/util.js"), REGEX_NEWLINE = /(\r?\n)/, isSourceNode = "$$$isSourceNode$$$";
4807
4572
  class SourceNode {
4808
4573
  constructor(aLine, aColumn, aSource, aChunks, aName){
4809
4574
  this.children = [], this.sourceContents = {}, this.line = null == aLine ? null : aLine, this.column = null == aColumn ? null : aColumn, this.source = null == aSource ? null : aSource, this.name = null == aName ? null : aName, this[isSourceNode] = !0, null != aChunks && this.add(aChunks);
@@ -4909,7 +4674,7 @@ var __webpack_modules__ = {
4909
4674
  column: generated.column
4910
4675
  }
4911
4676
  }), lastOriginalSource = null, sourceMappingActive = !1);
4912
- for(let idx = 0, length = chunk.length; idx < length; idx++)chunk.charCodeAt(idx) === NEWLINE_CODE ? (generated.line++, generated.column = 0, idx + 1 === length ? (lastOriginalSource = null, sourceMappingActive = !1) : sourceMappingActive && map.addMapping({
4677
+ for(let idx = 0, length = chunk.length; idx < length; idx++)10 === chunk.charCodeAt(idx) ? (generated.line++, generated.column = 0, idx + 1 === length ? (lastOriginalSource = null, sourceMappingActive = !1) : sourceMappingActive && map.addMapping({
4913
4678
  source: original.source,
4914
4679
  original: {
4915
4680
  line: original.line,
@@ -4942,18 +4707,10 @@ var __webpack_modules__ = {
4942
4707
  if (3 == arguments.length) return aDefaultValue;
4943
4708
  throw Error('"' + aName + '" is a required argument.');
4944
4709
  };
4945
- let supportsNullProto = function() {
4946
- return !("__proto__" in Object.create(null));
4947
- }();
4710
+ let supportsNullProto = !("__proto__" in Object.create(null));
4948
4711
  function identity(s) {
4949
4712
  return s;
4950
4713
  }
4951
- function toSetString(aStr) {
4952
- return isProtoString(aStr) ? "$" + aStr : aStr;
4953
- }
4954
- function fromSetString(aStr) {
4955
- return isProtoString(aStr) ? aStr.slice(1) : aStr;
4956
- }
4957
4714
  function isProtoString(s) {
4958
4715
  if (!s) return !1;
4959
4716
  let length = s.length;
@@ -4964,7 +4721,11 @@ var __webpack_modules__ = {
4964
4721
  function strcmp(aStr1, aStr2) {
4965
4722
  return aStr1 === aStr2 ? 0 : null === aStr1 ? 1 : null === aStr2 ? -1 : aStr1 > aStr2 ? 1 : -1;
4966
4723
  }
4967
- exports1.toSetString = supportsNullProto ? identity : toSetString, exports1.fromSetString = supportsNullProto ? identity : fromSetString, exports1.compareByGeneratedPositionsInflated = function(mappingA, mappingB) {
4724
+ exports1.toSetString = supportsNullProto ? identity : function(aStr) {
4725
+ return isProtoString(aStr) ? "$" + aStr : aStr;
4726
+ }, exports1.fromSetString = supportsNullProto ? identity : function(aStr) {
4727
+ return isProtoString(aStr) ? aStr.slice(1) : aStr;
4728
+ }, exports1.compareByGeneratedPositionsInflated = function(mappingA, mappingB) {
4968
4729
  let cmp = mappingA.generatedLine - mappingB.generatedLine;
4969
4730
  return 0 !== cmp || 0 != (cmp = mappingA.generatedColumn - mappingB.generatedColumn) || 0 !== (cmp = strcmp(mappingA.source, mappingB.source)) || 0 != (cmp = mappingA.originalLine - mappingB.originalLine) || 0 != (cmp = mappingA.originalColumn - mappingB.originalColumn) ? cmp : strcmp(mappingA.name, mappingB.name);
4970
4731
  }, exports1.parseSourceMapInput = function(str) {
@@ -4982,15 +4743,14 @@ var __webpack_modules__ = {
4982
4743
  function withBase(url, base) {
4983
4744
  return new URL1(url, base).toString();
4984
4745
  }
4985
- function buildUniqueSegment(prefix, str) {
4986
- let id = 0;
4987
- for(;;){
4988
- let ident = prefix + id++;
4989
- if (-1 === str.indexOf(ident)) return ident;
4990
- }
4991
- }
4992
4746
  function buildSafeBase(str) {
4993
- let maxDotParts = str.split("..").length - 1, segment = buildUniqueSegment("p", str), base = `${PROTOCOL_AND_HOST}/`;
4747
+ let maxDotParts = str.split("..").length - 1, segment = function(prefix, str) {
4748
+ let id = 0;
4749
+ for(;;){
4750
+ let ident = "p" + id++;
4751
+ if (-1 === str.indexOf(ident)) return ident;
4752
+ }
4753
+ }(0, str), base = `${PROTOCOL_AND_HOST}/`;
4994
4754
  for(let i = 0; i < maxDotParts; i++)base += `${segment}/`;
4995
4755
  return base;
4996
4756
  }
@@ -5020,18 +4780,17 @@ var __webpack_modules__ = {
5020
4780
  let base = buildSafeBase(aPath + aRoot), newPath = withBase(aPath, withBase(aRoot, base));
5021
4781
  return computeRelativeURL(base, newPath);
5022
4782
  }
5023
- function relativeIfPossible(rootURL, targetURL) {
5024
- if (getURLType(rootURL) !== getURLType(targetURL)) return null;
5025
- let base = buildSafeBase(rootURL + targetURL), root = new URL1(rootURL, base), target = new URL1(targetURL, base);
5026
- try {
5027
- new URL1("", target.toString());
5028
- } catch (err) {
5029
- return null;
5030
- }
5031
- return target.protocol !== root.protocol || target.user !== root.user || target.password !== root.password || target.hostname !== root.hostname || target.port !== root.port ? null : computeRelativeURL(root, target);
5032
- }
5033
4783
  exports1.normalize = normalize, exports1.join = join, exports1.relative = function(rootURL, targetURL) {
5034
- let result = relativeIfPossible(rootURL, targetURL);
4784
+ let result = function(rootURL, targetURL) {
4785
+ if (getURLType(rootURL) !== getURLType(targetURL)) return null;
4786
+ let base = buildSafeBase(rootURL + targetURL), root = new URL1(rootURL, base), target = new URL1(targetURL, base);
4787
+ try {
4788
+ new URL1("", target.toString());
4789
+ } catch (err) {
4790
+ return null;
4791
+ }
4792
+ return target.protocol !== root.protocol || target.user !== root.user || target.password !== root.password || target.hostname !== root.hostname || target.port !== root.port ? null : computeRelativeURL(root, target);
4793
+ }(rootURL, targetURL);
5035
4794
  return "string" == typeof result ? result : normalize(targetURL);
5036
4795
  }, exports1.computeSourceURL = function(sourceRoot, sourceURL, sourceMapURL) {
5037
4796
  sourceRoot && "path-absolute" === getURLType(sourceURL) && (sourceURL = sourceURL.replace(/^\//, ""));
@@ -5113,29 +4872,11 @@ var __webpack_modules__ = {
5113
4872
  };
5114
4873
  },
5115
4874
  "../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/source-map.js": function(__unused_webpack_module, exports1, __webpack_require__) {
5116
- var __webpack_unused_export__;
5117
- __webpack_unused_export__ = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/source-map-generator.js").SourceMapGenerator, exports1.SourceMapConsumer = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/source-map-consumer.js").SourceMapConsumer, __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/source-node.js").SourceNode;
4875
+ __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/source-map-generator.js").SourceMapGenerator, exports1.SourceMapConsumer = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/source-map-consumer.js").SourceMapConsumer, __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/lib/source-node.js").SourceNode;
5118
4876
  },
5119
4877
  "../../node_modules/.pnpm/statuses@2.0.1/node_modules/statuses/index.js": function(module, __unused_webpack_exports, __webpack_require__) {
5120
4878
  "use strict";
5121
- var codes = __webpack_require__("../../node_modules/.pnpm/statuses@2.0.1/node_modules/statuses/codes.json");
5122
- function createMessageToStatusCodeMap(codes) {
5123
- var map = {};
5124
- return Object.keys(codes).forEach(function(code) {
5125
- var message = codes[code], status = Number(code);
5126
- map[message.toLowerCase()] = status;
5127
- }), map;
5128
- }
5129
- function createStatusCodeList(codes) {
5130
- return Object.keys(codes).map(function(code) {
5131
- return Number(code);
5132
- });
5133
- }
5134
- function getStatusCode(message) {
5135
- var msg = message.toLowerCase();
5136
- if (!Object.prototype.hasOwnProperty.call(status.code, msg)) throw Error('invalid status message: "' + message + '"');
5137
- return status.code[msg];
5138
- }
4879
+ var codes, map, codes1 = __webpack_require__("../../node_modules/.pnpm/statuses@2.0.1/node_modules/statuses/codes.json");
5139
4880
  function getStatusMessage(code) {
5140
4881
  if (!Object.prototype.hasOwnProperty.call(status.message, code)) throw Error('invalid status code: ' + code);
5141
4882
  return status.message[code];
@@ -5144,9 +4885,17 @@ var __webpack_modules__ = {
5144
4885
  if ('number' == typeof code) return getStatusMessage(code);
5145
4886
  if ('string' != typeof code) throw TypeError('code must be a number or string');
5146
4887
  var n = parseInt(code, 10);
5147
- return isNaN(n) ? getStatusCode(code) : getStatusMessage(n);
4888
+ if (!isNaN(n)) return getStatusMessage(n);
4889
+ var msg = code.toLowerCase();
4890
+ if (!Object.prototype.hasOwnProperty.call(status.code, msg)) throw Error('invalid status message: "' + code + '"');
4891
+ return status.code[msg];
5148
4892
  }
5149
- module.exports = status, status.message = codes, status.code = createMessageToStatusCodeMap(codes), status.codes = createStatusCodeList(codes), status.redirect = {
4893
+ module.exports = status, status.message = codes1, map = {}, Object.keys(codes = codes1).forEach(function(code) {
4894
+ var message = codes[code], status = Number(code);
4895
+ map[message.toLowerCase()] = status;
4896
+ }), status.code = map, status.codes = Object.keys(codes1).map(function(code) {
4897
+ return Number(code);
4898
+ }), status.redirect = {
5150
4899
  300: !0,
5151
4900
  301: !0,
5152
4901
  302: !0,
@@ -5166,7 +4915,7 @@ var __webpack_modules__ = {
5166
4915
  },
5167
4916
  "../../node_modules/.pnpm/toidentifier@1.0.1/node_modules/toidentifier/index.js": function(module) {
5168
4917
  "use strict";
5169
- module.exports = function toIdentifier(str) {
4918
+ module.exports = function(str) {
5170
4919
  return str.split(' ').map(function(token) {
5171
4920
  return token.slice(0, 1).toUpperCase() + token.slice(1);
5172
4921
  }).join('').replace(/[^ _0-9a-z]/gi, '');
@@ -5176,7 +4925,15 @@ var __webpack_modules__ = {
5176
4925
  "use strict";
5177
4926
  var typer = __webpack_require__("../../node_modules/.pnpm/media-typer@0.3.0/node_modules/media-typer/index.js"), mime = __webpack_require__("../../node_modules/.pnpm/mime-types@2.1.35/node_modules/mime-types/index.js");
5178
4927
  function typeis(value, types_) {
5179
- var i, type, types = types_, val = tryNormalizeType(value);
4928
+ var i, type, types = types_, val = function(value) {
4929
+ if (!value) return null;
4930
+ try {
4931
+ var type;
4932
+ return (type = typer.parse(value)).parameters = void 0, typer.format(type);
4933
+ } catch (err) {
4934
+ return null;
4935
+ }
4936
+ }(value);
5180
4937
  if (!val) return !1;
5181
4938
  if (types && !Array.isArray(types)) for(i = 0, types = Array(arguments.length - 1); i < types.length; i++)types[i] = arguments[i + 1];
5182
4939
  if (!types || !types.length) return val;
@@ -5201,19 +4958,7 @@ var __webpack_modules__ = {
5201
4958
  var actualParts = actual.split('/'), expectedParts = expected.split('/');
5202
4959
  return 2 === actualParts.length && 2 === expectedParts.length && ('*' === expectedParts[0] || expectedParts[0] === actualParts[0]) && ('*+' === expectedParts[1].substr(0, 2) ? expectedParts[1].length <= actualParts[1].length + 1 && expectedParts[1].substr(1) === actualParts[1].substr(1 - expectedParts[1].length) : '*' === expectedParts[1] || expectedParts[1] === actualParts[1]);
5203
4960
  }
5204
- function normalizeType(value) {
5205
- var type = typer.parse(value);
5206
- return type.parameters = void 0, typer.format(type);
5207
- }
5208
- function tryNormalizeType(value) {
5209
- if (!value) return null;
5210
- try {
5211
- return normalizeType(value);
5212
- } catch (err) {
5213
- return null;
5214
- }
5215
- }
5216
- module.exports = function typeofrequest(req, types_) {
4961
+ module.exports = function(req, types_) {
5217
4962
  var types = types_;
5218
4963
  if (!hasbody(req)) return null;
5219
4964
  if (arguments.length > 2) {
@@ -5225,14 +4970,13 @@ var __webpack_modules__ = {
5225
4970
  },
5226
4971
  "../../node_modules/.pnpm/unpipe@1.0.0/node_modules/unpipe/index.js": function(module) {
5227
4972
  "use strict";
5228
- function hasPipeDataListeners(stream) {
5229
- for(var listeners = stream.listeners('data'), i = 0; i < listeners.length; i++)if ('ondata' === listeners[i].name) return !0;
5230
- return !1;
5231
- }
5232
- module.exports = function unpipe(stream) {
4973
+ module.exports = function(stream) {
5233
4974
  if (!stream) throw TypeError('argument stream is required');
5234
4975
  if ('function' == typeof stream.unpipe) return void stream.unpipe();
5235
- if (hasPipeDataListeners(stream)) for(var listener, listeners = stream.listeners('close'), i = 0; i < listeners.length; i++)('cleanup' === (listener = listeners[i]).name || 'onclose' === listener.name) && listener.call(stream);
4976
+ if (function(stream) {
4977
+ for(var listeners = stream.listeners('data'), i = 0; i < listeners.length; i++)if ('ondata' === listeners[i].name) return !0;
4978
+ return !1;
4979
+ }(stream)) for(var listener, listeners = stream.listeners('close'), i = 0; i < listeners.length; i++)('cleanup' === (listener = listeners[i]).name || 'onclose' === listener.name) && listener.call(stream);
5236
4980
  };
5237
4981
  },
5238
4982
  async_hooks: function(module) {
@@ -5327,6 +5071,12 @@ var __webpack_modules__ = {
5327
5071
  "use strict";
5328
5072
  module.exports = require("zlib");
5329
5073
  },
5074
+ module: function(module) {
5075
+ "use strict";
5076
+ module.exports = import("module").then(function(module) {
5077
+ return module;
5078
+ });
5079
+ },
5330
5080
  "../../node_modules/.pnpm/iconv-lite@0.4.24/node_modules/iconv-lite/encodings/tables/big5-added.json": function(module) {
5331
5081
  "use strict";
5332
5082
  module.exports = JSON.parse('[["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],["88a1","ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛"],["8940","𪎩𡅅"],["8943","攊"],["8946","丽滝鵎釟"],["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],["89a1","琑糼緍楆竉刧"],["89ab","醌碸酞肼"],["89b0","贋胶𠧧"],["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],["89c1","溚舾甙"],["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],["8a40","𧶄唥"],["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],["8aac","䠋𠆩㿺塳𢶍"],["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],["8ac9","𪘁𠸉𢫏𢳉"],["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],["8ca1","𣏹椙橃𣱣泿"],["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],["8cc9","顨杫䉶圽"],["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],["8d40","𠮟"],["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],["9fae","酙隁酜"],["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],["9fc1","𤤙盖鮝个𠳔莾衂"],["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],["9fe7","毺蠘罸"],["9feb","嘠𪙊蹷齓"],["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],["a055","𡠻𦸅"],["a058","詾𢔛"],["a05b","惽癧髗鵄鍮鮏蟵"],["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],["a0a1","嵗𨯂迚𨸹"],["a0a6","僙𡵆礆匲阸𠼻䁥"],["a0ae","矾"],["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],["a3c0","␀",31,"␡"],["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23],["c740","す",58,"ァアィイ"],["c7a1","ゥ",81,"А",5,"ЁЖ",4],["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],["c8a1","龰冈龱𧘇"],["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],["c8f5","ʃɐɛɔɵœøŋʊɪ"],["f9fe","■"],["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]]');
@@ -5374,47 +5124,35 @@ function __webpack_require__(moduleId) {
5374
5124
  var module = __webpack_module_cache__[moduleId] = {
5375
5125
  exports: {}
5376
5126
  };
5377
- return __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__), module.exports;
5127
+ return __webpack_modules__[moduleId](module, module.exports, __webpack_require__), module.exports;
5378
5128
  }
5379
- __webpack_require__.m = __webpack_modules__, (()=>{
5380
- __webpack_require__.n = (module)=>{
5381
- var getter = module && module.__esModule ? ()=>module.default : ()=>module;
5382
- return __webpack_require__.d(getter, {
5383
- a: getter
5384
- }), getter;
5385
- };
5386
- })(), (()=>{
5387
- __webpack_require__.d = (exports1, definition)=>{
5388
- for(var key in definition)__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key) && Object.defineProperty(exports1, key, {
5389
- enumerable: !0,
5390
- get: definition[key]
5391
- });
5392
- };
5393
- })(), (()=>{
5394
- __webpack_require__.f = {}, __webpack_require__.e = (chunkId)=>Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key)=>(__webpack_require__.f[key](chunkId, promises), promises), []));
5395
- })(), (()=>{
5396
- __webpack_require__.u = (chunkId)=>"" + chunkId + ".cjs";
5397
- })(), (()=>{
5398
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
5399
- })(), (()=>{
5400
- __webpack_require__.r = (exports1)=>{
5401
- 'undefined' != typeof Symbol && Symbol.toStringTag && Object.defineProperty(exports1, Symbol.toStringTag, {
5402
- value: 'Module'
5403
- }), Object.defineProperty(exports1, '__esModule', {
5404
- value: !0
5405
- });
5406
- };
5407
- })(), (()=>{
5129
+ __webpack_require__.m = __webpack_modules__, __webpack_require__.n = (module)=>{
5130
+ var getter = module && module.__esModule ? ()=>module.default : ()=>module;
5131
+ return __webpack_require__.d(getter, {
5132
+ a: getter
5133
+ }), getter;
5134
+ }, __webpack_require__.d = (exports1, definition)=>{
5135
+ for(var key in definition)__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key) && Object.defineProperty(exports1, key, {
5136
+ enumerable: !0,
5137
+ get: definition[key]
5138
+ });
5139
+ }, __webpack_require__.f = {}, __webpack_require__.e = (chunkId)=>Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key)=>(__webpack_require__.f[key](chunkId, promises), promises), [])), __webpack_require__.u = (chunkId)=>"" + chunkId + ".cjs", __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop), __webpack_require__.r = (exports1)=>{
5140
+ 'undefined' != typeof Symbol && Symbol.toStringTag && Object.defineProperty(exports1, Symbol.toStringTag, {
5141
+ value: 'Module'
5142
+ }), Object.defineProperty(exports1, '__esModule', {
5143
+ value: !0
5144
+ });
5145
+ }, (()=>{
5408
5146
  var installedChunks = {
5409
5147
  410: 1
5410
- }, installChunk = (chunk)=>{
5411
- var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;
5412
- for(var moduleId in moreModules)__webpack_require__.o(moreModules, moduleId) && (__webpack_require__.m[moduleId] = moreModules[moduleId]);
5413
- runtime && runtime(__webpack_require__);
5414
- for(var i = 0; i < chunkIds.length; i++)installedChunks[chunkIds[i]] = 1;
5415
5148
  };
5416
5149
  __webpack_require__.f.require = (chunkId, promises)=>{
5417
- installedChunks[chunkId] || installChunk(require("./" + __webpack_require__.u(chunkId)));
5150
+ installedChunks[chunkId] || ((chunk)=>{
5151
+ var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;
5152
+ for(var moduleId in moreModules)__webpack_require__.o(moreModules, moduleId) && (__webpack_require__.m[moduleId] = moreModules[moduleId]);
5153
+ runtime && runtime(__webpack_require__);
5154
+ for(var i = 0; i < chunkIds.length; i++)installedChunks[chunkIds[i]] = 1;
5155
+ })(require("./" + __webpack_require__.u(chunkId)));
5418
5156
  };
5419
5157
  })();
5420
5158
  var __webpack_exports__ = {};
@@ -5440,34 +5178,11 @@ for(var __webpack_i__ in (()=>{
5440
5178
  ResolverAPI: ()=>ResolverAPI
5441
5179
  });
5442
5180
  var external_node_fs_ = __webpack_require__("node:fs"), external_node_fs_default = __webpack_require__.n(external_node_fs_), external_path_ = __webpack_require__("path"), external_path_default = __webpack_require__.n(external_path_);
5443
- let external_module_namespaceObject = require("module"), error_namespaceObject = require("@rsdoctor/utils/error"), types_namespaceObject = require("@rsdoctor/types"), build_namespaceObject = require("@rsdoctor/utils/build");
5181
+ let error_namespaceObject = require("@rsdoctor/utils/error"), types_namespaceObject = require("@rsdoctor/types"), build_namespaceObject = require("@rsdoctor/utils/build");
5444
5182
  var source_map = __webpack_require__("../../node_modules/.pnpm/source-map@0.7.6/node_modules/source-map/source-map.js");
5445
5183
  let graph_namespaceObject = require("@rsdoctor/graph"), logger_namespaceObject = require("@rsdoctor/utils/logger");
5446
5184
  var external_fs_ = __webpack_require__("fs"), external_fs_default = __webpack_require__.n(external_fs_);
5447
- function totalist(dir, callback, pre = '') {
5448
- dir = (0, external_path_.resolve)('.', dir);
5449
- let arr = (0, external_fs_.readdirSync)(dir), i = 0, abs, stats;
5450
- for(; i < arr.length; i++)abs = (0, external_path_.join)(dir, arr[i]), (stats = (0, external_fs_.statSync)(abs)).isDirectory() ? totalist(abs, callback, (0, external_path_.join)(pre, arr[i])) : callback((0, external_path_.join)(pre, arr[i]), abs, stats);
5451
- }
5452
- let external_node_querystring_namespaceObject = require("node:querystring");
5453
- function parse(req) {
5454
- let raw = req.url;
5455
- if (null == raw) return;
5456
- let prev = req._parsedUrl;
5457
- if (prev && prev.raw === raw) return prev;
5458
- let pathname = raw, search = '', query;
5459
- if (raw.length > 1) {
5460
- let idx = raw.indexOf('?', 1);
5461
- -1 !== idx && (search = raw.substring(idx), pathname = raw.substring(0, idx), search.length > 1 && (query = external_node_querystring_namespaceObject.parse(search.substring(1))));
5462
- }
5463
- return req._parsedUrl = {
5464
- pathname,
5465
- search,
5466
- query,
5467
- raw
5468
- };
5469
- }
5470
- let mimes = {
5185
+ let external_node_querystring_namespaceObject = require("node:querystring"), mimes = {
5471
5186
  "3g2": "video/3gpp2",
5472
5187
  "3gp": "video/3gpp",
5473
5188
  "3gpp": "video/3gpp",
@@ -5902,15 +5617,7 @@ for(var __webpack_i__ in (()=>{
5902
5617
  yin: "application/yin+xml",
5903
5618
  yml: "text/yaml",
5904
5619
  zip: "application/zip"
5905
- };
5906
- function mrmime_lookup(extn) {
5907
- let tmp = ('' + extn).trim().toLowerCase(), idx = tmp.lastIndexOf('.');
5908
- return mimes[!~idx ? tmp : tmp.substring(++idx)];
5909
- }
5910
- let noop = ()=>{};
5911
- function isMatch(uri, arr) {
5912
- for(let i = 0; i < arr.length; i++)if (arr[i].test(uri)) return !0;
5913
- }
5620
+ }, noop = ()=>{};
5914
5621
  function toAssume(uri, extns) {
5915
5622
  let i = 0, x, len = uri.length - 1;
5916
5623
  47 === uri.charCodeAt(len) && (uri = uri.substring(0, len));
@@ -5936,25 +5643,12 @@ for(var __webpack_i__ in (()=>{
5936
5643
  function is404(req, res) {
5937
5644
  return res.statusCode = 404, res.end();
5938
5645
  }
5939
- function send(req, res, file, stats, headers) {
5940
- let code = 200, tmp, opts = {};
5941
- for(let key in headers = {
5942
- ...headers
5943
- })(tmp = res.getHeader(key)) && (headers[key] = tmp);
5944
- if ((tmp = res.getHeader('content-type')) && (headers['Content-Type'] = tmp), req.headers.range) {
5945
- code = 206;
5946
- let [x, y] = req.headers.range.replace('bytes=', '').split('-'), end = opts.end = parseInt(y, 10) || stats.size - 1, start = opts.start = parseInt(x, 10) || 0;
5947
- if (end >= stats.size && (end = stats.size - 1), start >= stats.size) return res.setHeader('Content-Range', `bytes */${stats.size}`), res.statusCode = 416, res.end();
5948
- headers['Content-Range'] = `bytes ${start}-${end}/${stats.size}`, headers['Content-Length'] = end - start + 1, headers['Accept-Ranges'] = 'bytes';
5949
- }
5950
- res.writeHead(code, headers), external_fs_.createReadStream(file, opts).pipe(res);
5951
- }
5952
5646
  let ENCODING = {
5953
5647
  '.br': 'br',
5954
5648
  '.gz': 'gzip'
5955
5649
  };
5956
5650
  function toHeaders(name, stats, isEtag) {
5957
- let enc = ENCODING[name.slice(-3)], ctype = mrmime_lookup(name.slice(0, enc && -3)) || '';
5651
+ let tmp, idx, enc = ENCODING[name.slice(-3)], ctype = mimes[!~(idx = (tmp = ('' + name.slice(0, enc && -3)).trim().toLowerCase()).lastIndexOf('.')) ? tmp : tmp.substring(++idx)] || '';
5958
5652
  'text/html' === ctype && (ctype += ';charset=utf-8');
5959
5653
  let headers = {
5960
5654
  'Content-Length': stats.size,
@@ -5963,43 +5657,6 @@ for(var __webpack_i__ in (()=>{
5963
5657
  };
5964
5658
  return enc && (headers['Content-Encoding'] = enc), isEtag && (headers.ETag = `W/"${stats.size}-${stats.mtime.getTime()}"`), headers;
5965
5659
  }
5966
- function build(dir, opts = {}) {
5967
- dir = (0, external_path_.resolve)(dir || '.');
5968
- let isNotFound = opts.onNoMatch || is404, setHeaders = opts.setHeaders || noop, extensions = opts.extensions || [
5969
- 'html',
5970
- 'htm'
5971
- ], gzips = opts.gzip && extensions.map((x)=>`${x}.gz`).concat('gz'), brots = opts.brotli && extensions.map((x)=>`${x}.br`).concat('br'), FILES = {}, fallback = '/', isEtag = !!opts.etag, isSPA = !!opts.single;
5972
- if ('string' == typeof opts.single) {
5973
- let idx = opts.single.lastIndexOf('.');
5974
- fallback += ~idx ? opts.single.substring(0, idx) : opts.single;
5975
- }
5976
- let ignores = [];
5977
- !1 !== opts.ignores && (ignores.push(/[/]([A-Za-z\s\d~$._-]+\.\w+){1,}$/), opts.dotfiles ? ignores.push(/\/\.\w/) : ignores.push(/\/\.well-known/), [].concat(opts.ignores || []).forEach((x)=>{
5978
- ignores.push(RegExp(x, 'i'));
5979
- }));
5980
- let cc = null != opts.maxAge && `public,max-age=${opts.maxAge}`;
5981
- cc && opts.immutable ? cc += ',immutable' : cc && 0 === opts.maxAge && (cc += ',must-revalidate'), opts.dev || totalist(dir, (name, abs, stats)=>{
5982
- if (/\.well-known[\\+\/]/.test(name)) ;
5983
- else if (!opts.dotfiles && /(^\.|[\\+|\/+]\.)/.test(name)) return;
5984
- let headers = toHeaders(name, stats, isEtag);
5985
- cc && (headers['Cache-Control'] = cc), FILES['/' + name.normalize().replace(/\\+/g, '/')] = {
5986
- abs,
5987
- stats,
5988
- headers
5989
- };
5990
- });
5991
- let lookup = opts.dev ? viaLocal.bind(0, dir, isEtag) : viaCache.bind(0, FILES);
5992
- return function(req, res, next) {
5993
- let extns = [
5994
- ''
5995
- ], pathname = parse(req).pathname, val = req.headers['accept-encoding'] || '';
5996
- if (gzips && val.includes('gzip') && extns.unshift(...gzips), brots && /(br|brotli)/i.test(val) && extns.unshift(...brots), extns.push(...extensions), -1 !== pathname.indexOf('%')) try {
5997
- pathname = decodeURI(pathname);
5998
- } catch (err) {}
5999
- let data = lookup(pathname, extns) || isSPA && !isMatch(pathname, ignores) && lookup(fallback, extns);
6000
- return data ? isEtag && req.headers['if-none-match'] === data.headers.ETag ? (res.writeHead(304), res.end()) : void ((gzips || brots) && res.setHeader('Vary', 'Accept-Encoding'), setHeaders(res, pathname, data.stats), send(req, res, data.abs, data.stats, data.headers)) : next ? next() : isNotFound(req, res);
6001
- };
6002
- }
6003
5660
  let common_namespaceObject = require("@rsdoctor/utils/common"), external_assert_namespaceObject = require("assert");
6004
5661
  var external_assert_default = __webpack_require__.n(external_assert_namespaceObject), body_parser = __webpack_require__("../../node_modules/.pnpm/body-parser@1.20.3/node_modules/body-parser/index.js"), body_parser_default = __webpack_require__.n(body_parser);
6005
5662
  let index_js_namespaceObject = require("../compiled/cors/index.js");
@@ -6014,8 +5671,8 @@ for(var __webpack_i__ in (()=>{
6014
5671
  return this.options.sdk.getManifestData();
6015
5672
  }
6016
5673
  async loadData(key) {
6017
- let data = this.options.sdk.getStoreData(), sep = '.', res = data[key];
6018
- return key.includes(sep) && (res = key.split(sep).reduce((t, k)=>t[k], data)), res;
5674
+ let data = this.options.sdk.getStoreData(), res = data[key];
5675
+ return key.includes('.') && (res = key.split('.').reduce((t, k)=>t[k], data)), res;
6019
5676
  }
6020
5677
  get loadAPIData() {
6021
5678
  return this.dataLoader.loadAPI;
@@ -6150,16 +5807,10 @@ for(var __webpack_i__ in (()=>{
6150
5807
  return this.ctx.sdk.getManifestData();
6151
5808
  }
6152
5809
  async loadData(key) {
6153
- let data = this.ctx.sdk.getStoreData(), sep = '.', res = data[key];
6154
- return key.includes(sep) && (res = key.split(sep).reduce((t, k)=>t[k], data)), res;
5810
+ let data = this.ctx.sdk.getStoreData(), res = data[key];
5811
+ return key.includes('.') && (res = key.split('.').reduce((t, k)=>t[k], data)), res;
6155
5812
  }
6156
5813
  }
6157
- function _ts_decorate(decorators, target, key, desc) {
6158
- var d, c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
6159
- if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
6160
- else for(var i = decorators.length - 1; i >= 0; i--)(d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
6161
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6162
- }
6163
5814
  function _ts_metadata(k, v) {
6164
5815
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
6165
5816
  }
@@ -6181,7 +5832,12 @@ for(var __webpack_i__ in (()=>{
6181
5832
  function data_ts_metadata(k, v) {
6182
5833
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
6183
5834
  }
6184
- _ts_decorate([
5835
+ !function(decorators, target, key, desc) {
5836
+ var d, c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
5837
+ if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
5838
+ else for(var i = decorators.length - 1; i >= 0; i--)(d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
5839
+ c > 3 && r && Object.defineProperty(target, key, r);
5840
+ }([
6185
5841
  Router.post(types_namespaceObject.SDK.ServerAPI.API.GetPackageRelationAlertDetails),
6186
5842
  _ts_metadata("design:type", Function),
6187
5843
  _ts_metadata("design:paramtypes", []),
@@ -6197,12 +5853,6 @@ for(var __webpack_i__ in (()=>{
6197
5853
  await server.sendAPIDataToClient(api, data);
6198
5854
  }
6199
5855
  }
6200
- function fs_ts_decorate(decorators, target, key, desc) {
6201
- var d, c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
6202
- if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
6203
- else for(var i = decorators.length - 1; i >= 0; i--)(d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
6204
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6205
- }
6206
5856
  function fs_ts_metadata(k, v) {
6207
5857
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
6208
5858
  }
@@ -6219,8 +5869,8 @@ for(var __webpack_i__ in (()=>{
6219
5869
  ], DataAPI.prototype, "sendMessageToClient", null);
6220
5870
  class FileSystemAPI extends BaseAPI {
6221
5871
  async applyErrorFix() {
6222
- let { body } = this.ctx.req, data = body;
6223
- return await this.ctx.sdk.applyErrorFix(data.id), 'success';
5872
+ let { body } = this.ctx.req;
5873
+ return await this.ctx.sdk.applyErrorFix(body.id), 'success';
6224
5874
  }
6225
5875
  }
6226
5876
  function loader_ts_decorate(decorators, target, key, desc) {
@@ -6232,7 +5882,12 @@ for(var __webpack_i__ in (()=>{
6232
5882
  function loader_ts_metadata(k, v) {
6233
5883
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
6234
5884
  }
6235
- fs_ts_decorate([
5885
+ !function(decorators, target, key, desc) {
5886
+ var d, c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
5887
+ if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
5888
+ else for(var i = decorators.length - 1; i >= 0; i--)(d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
5889
+ c > 3 && r && Object.defineProperty(target, key, r);
5890
+ }([
6236
5891
  Router.post(types_namespaceObject.SDK.ServerAPI.API.ApplyErrorFix),
6237
5892
  fs_ts_metadata("design:type", Function),
6238
5893
  fs_ts_metadata("design:paramtypes", []),
@@ -6492,15 +6147,6 @@ for(var __webpack_i__ in (()=>{
6492
6147
  return this.dataLoader.loadAPI(types_namespaceObject.SDK.ServerAPI.API.GetClientRoutes);
6493
6148
  }
6494
6149
  }
6495
- function renderer_ts_decorate(decorators, target, key, desc) {
6496
- var d, c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
6497
- if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
6498
- else for(var i = decorators.length - 1; i >= 0; i--)(d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
6499
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6500
- }
6501
- function renderer_ts_metadata(k, v) {
6502
- if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
6503
- }
6504
6150
  project_ts_decorate([
6505
6151
  Router.get(types_namespaceObject.SDK.ServerAPI.API.Env),
6506
6152
  project_ts_metadata("design:type", Function),
@@ -6522,6 +6168,10 @@ for(var __webpack_i__ in (()=>{
6522
6168
  project_ts_metadata("design:paramtypes", []),
6523
6169
  project_ts_metadata("design:returntype", Promise)
6524
6170
  ], ProjectAPI.prototype, "getClientRoutes", null);
6171
+ let external_module_namespaceObject = require("module");
6172
+ function renderer_ts_metadata(k, v) {
6173
+ if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
6174
+ }
6525
6175
  let renderer_require = (0, external_module_namespaceObject.createRequire)(__rslib_import_meta_url__);
6526
6176
  class RendererAPI extends BaseAPI {
6527
6177
  async entryHtml() {
@@ -6538,7 +6188,12 @@ for(var __webpack_i__ in (()=>{
6538
6188
  function resolver_ts_metadata(k, v) {
6539
6189
  if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(k, v);
6540
6190
  }
6541
- renderer_ts_decorate([
6191
+ !function(decorators, target, key, desc) {
6192
+ var d, c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc;
6193
+ if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc);
6194
+ else for(var i = decorators.length - 1; i >= 0; i--)(d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
6195
+ c > 3 && r && Object.defineProperty(target, key, r);
6196
+ }([
6542
6197
  Router.get(types_namespaceObject.SDK.ServerAPI.API.EntryHtml),
6543
6198
  renderer_ts_metadata("design:type", Function),
6544
6199
  renderer_ts_metadata("design:paramtypes", []),
@@ -6647,7 +6302,77 @@ for(var __webpack_i__ in (()=>{
6647
6302
  limit: '500mb'
6648
6303
  }));
6649
6304
  let clientHtmlPath = this._innerClientPath ? this._innerClientPath : server_require.resolve('@rsdoctor/client'), clientDistPath = external_path_default().resolve(clientHtmlPath, '..');
6650
- this.app.use(build(clientDistPath, {
6305
+ this.app.use(function(dir, opts = {}) {
6306
+ dir = (0, external_path_.resolve)(dir || '.');
6307
+ let isNotFound = opts.onNoMatch || is404, setHeaders = opts.setHeaders || noop, extensions = opts.extensions || [
6308
+ 'html',
6309
+ 'htm'
6310
+ ], gzips = opts.gzip && extensions.map((x)=>`${x}.gz`).concat('gz'), brots = opts.brotli && extensions.map((x)=>`${x}.br`).concat('br'), FILES = {}, fallback = '/', isEtag = !!opts.etag, isSPA = !!opts.single;
6311
+ if ('string' == typeof opts.single) {
6312
+ let idx = opts.single.lastIndexOf('.');
6313
+ fallback += ~idx ? opts.single.substring(0, idx) : opts.single;
6314
+ }
6315
+ let ignores = [];
6316
+ !1 !== opts.ignores && (ignores.push(/[/]([A-Za-z\s\d~$._-]+\.\w+){1,}$/), opts.dotfiles ? ignores.push(/\/\.\w/) : ignores.push(/\/\.well-known/), [].concat(opts.ignores || []).forEach((x)=>{
6317
+ ignores.push(RegExp(x, 'i'));
6318
+ }));
6319
+ let cc = null != opts.maxAge && `public,max-age=${opts.maxAge}`;
6320
+ cc && opts.immutable ? cc += ',immutable' : cc && 0 === opts.maxAge && (cc += ',must-revalidate'), opts.dev || function totalist(dir, callback, pre = '') {
6321
+ dir = (0, external_path_.resolve)('.', dir);
6322
+ let arr = (0, external_fs_.readdirSync)(dir), i = 0, abs, stats;
6323
+ for(; i < arr.length; i++)abs = (0, external_path_.join)(dir, arr[i]), (stats = (0, external_fs_.statSync)(abs)).isDirectory() ? totalist(abs, callback, (0, external_path_.join)(pre, arr[i])) : callback((0, external_path_.join)(pre, arr[i]), abs, stats);
6324
+ }(dir, (name, abs, stats)=>{
6325
+ if (/\.well-known[\\+\/]/.test(name)) ;
6326
+ else if (!opts.dotfiles && /(^\.|[\\+|\/+]\.)/.test(name)) return;
6327
+ let headers = toHeaders(name, stats, isEtag);
6328
+ cc && (headers['Cache-Control'] = cc), FILES['/' + name.normalize().replace(/\\+/g, '/')] = {
6329
+ abs,
6330
+ stats,
6331
+ headers
6332
+ };
6333
+ });
6334
+ let lookup = opts.dev ? viaLocal.bind(0, dir, isEtag) : viaCache.bind(0, FILES);
6335
+ return function(req, res, next) {
6336
+ let extns = [
6337
+ ''
6338
+ ], pathname = function(req) {
6339
+ let raw = req.url;
6340
+ if (null == raw) return;
6341
+ let prev = req._parsedUrl;
6342
+ if (prev && prev.raw === raw) return prev;
6343
+ let pathname = raw, search = '', query;
6344
+ if (raw.length > 1) {
6345
+ let idx = raw.indexOf('?', 1);
6346
+ -1 !== idx && (search = raw.substring(idx), pathname = raw.substring(0, idx), search.length > 1 && (query = external_node_querystring_namespaceObject.parse(search.substring(1))));
6347
+ }
6348
+ return req._parsedUrl = {
6349
+ pathname,
6350
+ search,
6351
+ query,
6352
+ raw
6353
+ };
6354
+ }(req).pathname, val = req.headers['accept-encoding'] || '';
6355
+ if (gzips && val.includes('gzip') && extns.unshift(...gzips), brots && /(br|brotli)/i.test(val) && extns.unshift(...brots), extns.push(...extensions), -1 !== pathname.indexOf('%')) try {
6356
+ pathname = decodeURI(pathname);
6357
+ } catch (err) {}
6358
+ let data = lookup(pathname, extns) || isSPA && !function(uri, arr) {
6359
+ for(let i = 0; i < arr.length; i++)if (arr[i].test(uri)) return !0;
6360
+ }(pathname, ignores) && lookup(fallback, extns);
6361
+ return data ? isEtag && req.headers['if-none-match'] === data.headers.ETag ? (res.writeHead(304), res.end()) : void ((gzips || brots) && res.setHeader('Vary', 'Accept-Encoding'), setHeaders(res, pathname, data.stats), function(req, res, file, stats, headers) {
6362
+ let code = 200, tmp, opts = {};
6363
+ for(let key in headers = {
6364
+ ...headers
6365
+ })(tmp = res.getHeader(key)) && (headers[key] = tmp);
6366
+ if ((tmp = res.getHeader('content-type')) && (headers['Content-Type'] = tmp), req.headers.range) {
6367
+ code = 206;
6368
+ let [x, y] = req.headers.range.replace('bytes=', '').split('-'), end = opts.end = parseInt(y, 10) || stats.size - 1, start = opts.start = parseInt(x, 10) || 0;
6369
+ if (end >= stats.size && (end = stats.size - 1), start >= stats.size) return res.setHeader('Content-Range', `bytes */${stats.size}`), res.statusCode = 416, res.end();
6370
+ headers['Content-Range'] = `bytes ${start}-${end}/${stats.size}`, headers['Content-Length'] = end - start + 1, headers['Accept-Ranges'] = 'bytes';
6371
+ }
6372
+ res.writeHead(code, headers), external_fs_.createReadStream(file, opts).pipe(res);
6373
+ }(req, res, data.abs, data.stats, data.headers)) : next ? next() : isNotFound(req, res);
6374
+ };
6375
+ }(clientDistPath, {
6651
6376
  dev: !0
6652
6377
  })), await this._router.setup(), process.once('exit', this.dispose), process.once('SIGINT', this.dispose), process.once('SIGTERM', this.dispose), process.once('unhandledRejection', this.dispose), process.once('uncaughtException', this.dispose);
6653
6378
  }
@@ -6720,7 +6445,6 @@ for(var __webpack_i__ in (()=>{
6720
6445
  return firstPkgDir || null;
6721
6446
  }
6722
6447
  __webpack_require__.n(dayjs_index_js_namespaceObject)()().format('YYYYMMDD');
6723
- let transformDataUrls = (d)=>d.reduce((t, item)=>(t[item.name] = Array.isArray(item.files) ? item.files.map((e)=>e.path).concat(t[item.name] || []) : item.files, t), {}), jc = __webpack_require__("../../node_modules/.pnpm/json-cycle@1.5.0/node_modules/json-cycle/cycle.js");
6724
6448
  class SDKCore {
6725
6449
  constructor({ name, root }){
6726
6450
  this.hooks = {
@@ -6801,7 +6525,7 @@ for(var __webpack_i__ in (()=>{
6801
6525
  }
6802
6526
  let jsonStr = await (async ()=>{
6803
6527
  try {
6804
- if ('configs' === key) return JSON.stringify(jc.decycle(data));
6528
+ if ('configs' === key) return JSON.stringify((0, common_namespaceObject.decycle)(data));
6805
6529
  return JSON.stringify(data);
6806
6530
  } catch (error) {
6807
6531
  return build_namespaceObject.Json.stringify(data);
@@ -6817,7 +6541,7 @@ for(var __webpack_i__ in (()=>{
6817
6541
  client: {
6818
6542
  enableRoutes: this.getClientRoutes()
6819
6543
  },
6820
- data: transformDataUrls(dataUrls)
6544
+ data: dataUrls.reduce((t, item)=>(t[item.name] = Array.isArray(item.files) ? item.files.map((e)=>e.path).concat(t[item.name] || []) : item.files, t), {})
6821
6545
  };
6822
6546
  }
6823
6547
  async writeManifest() {
@@ -6846,7 +6570,13 @@ for(var __webpack_i__ in (()=>{
6846
6570
  }));
6847
6571
  }
6848
6572
  }
6849
- let sdk_require = (0, external_module_namespaceObject.createRequire)(__rslib_import_meta_url__), sdk_jc = sdk_require('json-cycle');
6573
+ async function resolveModule(moduleName) {
6574
+ try {
6575
+ if (void 0 !== globalThis.require && globalThis.require.resolve) return globalThis.require.resolve(moduleName);
6576
+ } catch {}
6577
+ let { createRequire } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "module"));
6578
+ return createRequire(__rslib_import_meta_url__).resolve(moduleName);
6579
+ }
6850
6580
  class RsdoctorSDK extends SDKCore {
6851
6581
  constructor(options){
6852
6582
  super(options), this._summary = {
@@ -6973,15 +6703,15 @@ for(var __webpack_i__ in (()=>{
6973
6703
  logger_namespaceObject.logger.debug("sdk.writeStore has run.", '[SDK.writeStore][end]');
6974
6704
  let htmlPath = '';
6975
6705
  if (this.extraConfig?.mode === types_namespaceObject.SDK.IMode[types_namespaceObject.SDK.IMode.brief]) {
6976
- let clientHtmlPath = this.extraConfig.innerClientPath ? this.extraConfig.innerClientPath : sdk_require.resolve('@rsdoctor/client');
6706
+ let clientHtmlPath = this.extraConfig.innerClientPath ? this.extraConfig.innerClientPath : await resolveModule('@rsdoctor/client');
6977
6707
  if (this.extraConfig?.brief?.type?.includes('json')) {
6978
- let data = this.getStoreData(), jsonData = {
6979
- data,
6980
- clientRoutes: this.getClientRoutes()
6981
- };
6708
+ let data = this.getStoreData(), clientRoutes = this.getClientRoutes();
6982
6709
  external_node_fs_default().mkdirSync(this.outputDir, {
6983
6710
  recursive: !0
6984
- }), external_node_fs_default().writeFileSync(external_path_default().resolve(this.outputDir, 'rsdoctor-data.json'), JSON.stringify(jsonData, null, 2));
6711
+ }), external_node_fs_default().writeFileSync(external_path_default().resolve(this.outputDir, 'rsdoctor-data.json'), JSON.stringify({
6712
+ data,
6713
+ clientRoutes
6714
+ }, null, 2));
6985
6715
  }
6986
6716
  return this.extraConfig.brief?.type?.includes('html') && (htmlPath = this.inlineScriptsAndStyles(clientHtmlPath)), htmlPath;
6987
6717
  }
@@ -7071,12 +6801,9 @@ for(var __webpack_i__ in (()=>{
7071
6801
  client: {
7072
6802
  enableRoutes: this.getClientRoutes()
7073
6803
  },
7074
- data: Object.keys(dataValue).reduce((t, e)=>{
7075
- let _e = e;
7076
- return dataValue[_e] && 'object' == typeof dataValue[_e] ? t[e] = [
6804
+ data: Object.keys(dataValue).reduce((t, e)=>(dataValue[e] && 'object' == typeof dataValue[e] ? t[e] = [
7077
6805
  `${this.server.origin}${types_namespaceObject.SDK.ServerAPI.API.LoadDataByKey}/${e}`
7078
- ] : t[e] = dataValue[_e], t;
7079
- }, {}),
6806
+ ] : t[e] = dataValue[e], t), {}),
7080
6807
  __LOCAL__SERVER__: !0,
7081
6808
  __SOCKET__PORT__: this.server.socketUrl.port.toString(),
7082
6809
  __SOCKET__URL__: this.server.socketUrl.socketUrl
@@ -7104,7 +6831,7 @@ for(var __webpack_i__ in (()=>{
7104
6831
  for (let key of Object.keys(storeData)){
7105
6832
  let data = storeData[key], jsonStrFn = ()=>{
7106
6833
  try {
7107
- if ('configs' === key) return JSON.stringify(sdk_jc.decycle(data));
6834
+ if ('configs' === key) return JSON.stringify((0, common_namespaceObject.decycle)(data));
7108
6835
  return JSON.stringify(data);
7109
6836
  } catch (error) {
7110
6837
  return console.error(error), '';
@@ -7115,31 +6842,26 @@ for(var __webpack_i__ in (()=>{
7115
6842
  return compressTextScripts = `${compressTextScripts} <script>window.${types_namespaceObject.Constants.WINDOW_RSDOCTOR_TAG}.enableRoutes=${JSON.stringify(this.getClientRoutes())}</script>`, htmlContent = htmlContent.replace('<body>', `<body>${compressTextScripts}`);
7116
6843
  }
7117
6844
  inlineScriptsAndStyles(htmlFilePath) {
7118
- function inlineScripts(basePath, scripts) {
7119
- return scripts.map((src)=>{
7120
- let scriptPath = external_path_default().resolve(basePath, src);
7121
- try {
7122
- let scriptContent = external_node_fs_default().readFileSync(scriptPath, 'utf-8');
7123
- return `<script>${scriptContent}</script>`;
7124
- } catch (error) {
7125
- return console.error(`Could not read script at ${scriptPath}:`, error), '';
7126
- }
7127
- }).join('');
7128
- }
7129
- function inlineCss(basePath, cssFiles) {
7130
- return cssFiles.map((href)=>{
7131
- let cssPath = external_path_default().resolve(basePath, href);
7132
- try {
7133
- let cssContent = external_node_fs_default().readFileSync(cssPath, 'utf-8');
7134
- return `<style>${cssContent}</style>`;
7135
- } catch (error) {
7136
- return console.error(`Could not read CSS at ${cssPath}:`, error), '';
7137
- }
7138
- }).join('');
7139
- }
7140
- let htmlContent = external_node_fs_default().readFileSync(htmlFilePath, 'utf-8'), basePath = external_path_default().dirname(htmlFilePath), scriptSrcs = Array.from(htmlContent.matchAll(/<script\s+(?:defer="defer"|defer)\s+src=["'](.+?)["']><\/script>/g), (m)=>m[1]), cssHrefs = Array.from(htmlContent.matchAll(/<link\s+href=["'](.+?)["']\s+rel="stylesheet">/g), (m)=>m[1]);
6845
+ var basePath, basePath1;
6846
+ let htmlContent = external_node_fs_default().readFileSync(htmlFilePath, 'utf-8'), basePath2 = external_path_default().dirname(htmlFilePath), scriptSrcs = Array.from(htmlContent.matchAll(/<script\s+(?:defer="defer"|defer)\s+src=["'](.+?)["']><\/script>/g), (m)=>m[1]), cssHrefs = Array.from(htmlContent.matchAll(/<link\s+href=["'](.+?)["']\s+rel="stylesheet">/g), (m)=>m[1]);
7141
6847
  htmlContent = (htmlContent = htmlContent.replace(/<script\s+.*?src=["'].*?["']><\/script>/g, '')).replace(/<link\s+.*?rel=["']stylesheet["'].*?>/g, '');
7142
- let inlinedScripts = inlineScripts(basePath, scriptSrcs), inlinedCss = inlineCss(basePath, cssHrefs), index = htmlContent.indexOf('</body>');
6848
+ let inlinedScripts = (basePath = basePath2, scriptSrcs.map((src)=>{
6849
+ let scriptPath = external_path_default().resolve(basePath, src);
6850
+ try {
6851
+ let scriptContent = external_node_fs_default().readFileSync(scriptPath, 'utf-8');
6852
+ return `<script>${scriptContent}</script>`;
6853
+ } catch (error) {
6854
+ return console.error(`Could not read script at ${scriptPath}:`, error), '';
6855
+ }
6856
+ }).join('')), inlinedCss = (basePath1 = basePath2, cssHrefs.map((href)=>{
6857
+ let cssPath = external_path_default().resolve(basePath1, href);
6858
+ try {
6859
+ let cssContent = external_node_fs_default().readFileSync(cssPath, 'utf-8');
6860
+ return `<style>${cssContent}</style>`;
6861
+ } catch (error) {
6862
+ return console.error(`Could not read CSS at ${cssPath}:`, error), '';
6863
+ }
6864
+ }).join('')), index = htmlContent.indexOf('</body>');
7143
6865
  htmlContent = htmlContent.slice(0, index) + inlinedCss + inlinedScripts + htmlContent.slice(index), htmlContent = this.addRsdoctorDataToHTML(this.getStoreData(), htmlContent);
7144
6866
  let outputFilePath = external_path_default().resolve(this.outputDir, this.extraConfig?.brief?.htmlOptions?.reportHtmlName || 'rsdoctor-report.html');
7145
6867
  return build_namespaceObject.File.fse.outputFileSync(outputFilePath, htmlContent, {