@vercel/next 3.7.3 → 3.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1600,7 +1600,7 @@ const path_1 = __importDefault(__webpack_require__(5622));
1600
1600
  const estree_walker_1 = __webpack_require__(8079);
1601
1601
  const pluginutils_1 = __webpack_require__(5335);
1602
1602
  const static_eval_1 = __webpack_require__(3889);
1603
- const acorn_1 = __webpack_require__(5123);
1603
+ const acorn_1 = __webpack_require__(1666);
1604
1604
  const bindings_1 = __importDefault(__webpack_require__(3854));
1605
1605
  const ast_helpers_1 = __webpack_require__(3998);
1606
1606
  const glob_1 = __importDefault(__webpack_require__(549));
@@ -2544,7 +2544,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
2544
2544
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2545
2545
  exports.Job = exports.nodeFileTrace = void 0;
2546
2546
  const path_1 = __webpack_require__(5622);
2547
- const graceful_fs_1 = __importDefault(__webpack_require__(1317));
2547
+ const graceful_fs_1 = __importDefault(__webpack_require__(7156));
2548
2548
  const analyze_1 = __importDefault(__webpack_require__(8444));
2549
2549
  const resolve_dependency_1 = __importStar(__webpack_require__(7097));
2550
2550
  const micromatch_1 = __webpack_require__(3453);
@@ -3252,7 +3252,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3252
3252
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3253
3253
  exports.nbind = exports.pregyp = void 0;
3254
3254
  const path_1 = __importDefault(__webpack_require__(5622));
3255
- const graceful_fs_1 = __importDefault(__webpack_require__(1317));
3255
+ const graceful_fs_1 = __importDefault(__webpack_require__(7156));
3256
3256
  // pregyp
3257
3257
  const versioning = __webpack_require__(7123);
3258
3258
  const napi = __webpack_require__(7469);
@@ -3461,7 +3461,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
3461
3461
  const path_1 = __webpack_require__(5622);
3462
3462
  const resolve_dependency_1 = __importDefault(__webpack_require__(7097));
3463
3463
  const get_package_base_1 = __webpack_require__(3278);
3464
- const graceful_fs_1 = __webpack_require__(1317);
3464
+ const graceful_fs_1 = __webpack_require__(7156);
3465
3465
  const specialCases = {
3466
3466
  '@generated/photon'({ id, emitAssetDirectory }) {
3467
3467
  if (id.endsWith('@generated/photon/index.js')) {
@@ -4918,7 +4918,7 @@ function lexSort (a, b) {
4918
4918
 
4919
4919
  /***/ }),
4920
4920
 
4921
- /***/ 5123:
4921
+ /***/ 1666:
4922
4922
  /***/ (function(__unused_webpack_module, exports) {
4923
4923
 
4924
4924
  (function (global, factory) {
@@ -4927,13 +4927,13 @@ function lexSort (a, b) {
4927
4927
  })(this, (function (exports) { 'use strict';
4928
4928
 
4929
4929
  // This file was generated. Do not modify manually!
4930
- var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 154, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 161, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 19306, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 262, 6, 10, 9, 357, 0, 62, 13, 1495, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
4930
+ var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
4931
4931
 
4932
4932
  // This file was generated. Do not modify manually!
4933
- var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 85, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 190, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1070, 4050, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 46, 2, 18, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 482, 44, 11, 6, 17, 0, 322, 29, 19, 43, 1269, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4152, 8, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938];
4933
+ var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 3104, 541, 1507, 4938, 6, 4191];
4934
4934
 
4935
4935
  // This file was generated. Do not modify manually!
4936
- var nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";
4936
+ var nonASCIIidentifierChars = "\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0cf3\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ece\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";
4937
4937
 
4938
4938
  // This file was generated. Do not modify manually!
4939
4939
  var nonASCIIidentifierStartChars = "\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc";
@@ -4978,6 +4978,7 @@ function lexSort (a, b) {
4978
4978
  pos += set[i + 1];
4979
4979
  if (pos >= code) { return true }
4980
4980
  }
4981
+ return false
4981
4982
  }
4982
4983
 
4983
4984
  // Test whether a given character code starts an identifier.
@@ -5363,7 +5364,7 @@ function lexSort (a, b) {
5363
5364
  if (options.allowReserved == null)
5364
5365
  { options.allowReserved = options.ecmaVersion < 5; }
5365
5366
 
5366
- if (opts.allowHashBang == null)
5367
+ if (!opts || opts.allowHashBang == null)
5367
5368
  { options.allowHashBang = options.ecmaVersion >= 14; }
5368
5369
 
5369
5370
  if (isArray(options.onToken)) {
@@ -5763,10 +5764,10 @@ function lexSort (a, b) {
5763
5764
  // Statement) is allowed here. If context is not empty then only a Statement
5764
5765
  // is allowed. However, `let [` is an explicit negative lookahead for
5765
5766
  // ExpressionStatement, so special-case it first.
5766
- if (nextCh === 91 || nextCh === 92 || nextCh > 0xd7ff && nextCh < 0xdc00) { return true } // '[', '/', astral
5767
+ if (nextCh === 91 || nextCh === 92) { return true } // '[', '/'
5767
5768
  if (context) { return false }
5768
5769
 
5769
- if (nextCh === 123) { return true } // '{'
5770
+ if (nextCh === 123 || nextCh > 0xd7ff && nextCh < 0xdc00) { return true } // '{', astral
5770
5771
  if (isIdentifierStart(nextCh, true)) {
5771
5772
  var pos = next + 1;
5772
5773
  while (isIdentifierChar(nextCh = this.input.charCodeAt(pos), true)) { ++pos; }
@@ -6499,7 +6500,7 @@ function lexSort (a, b) {
6499
6500
  };
6500
6501
 
6501
6502
  pp$8.parseClassSuper = function(node) {
6502
- node.superClass = this.eat(types$1._extends) ? this.parseExprSubscripts(false) : null;
6503
+ node.superClass = this.eat(types$1._extends) ? this.parseExprSubscripts(null, false) : null;
6503
6504
  };
6504
6505
 
6505
6506
  pp$8.enterClassBody = function() {
@@ -8044,7 +8045,7 @@ function lexSort (a, b) {
8044
8045
  if (!isPattern && !containsEsc && this.options.ecmaVersion >= 8 && !isGenerator && this.isAsyncProp(prop)) {
8045
8046
  isAsync = true;
8046
8047
  isGenerator = this.options.ecmaVersion >= 9 && this.eat(types$1.star);
8047
- this.parsePropertyName(prop, refDestructuringErrors);
8048
+ this.parsePropertyName(prop);
8048
8049
  } else {
8049
8050
  isAsync = false;
8050
8051
  }
@@ -8293,7 +8294,7 @@ function lexSort (a, b) {
8293
8294
  // when parsing properties), it will also convert keywords into
8294
8295
  // identifiers.
8295
8296
 
8296
- pp$5.parseIdent = function(liberal, isBinding) {
8297
+ pp$5.parseIdent = function(liberal) {
8297
8298
  var node = this.startNode();
8298
8299
  if (this.type === types$1.name) {
8299
8300
  node.name = this.value;
@@ -8536,8 +8537,8 @@ function lexSort (a, b) {
8536
8537
  return newNode
8537
8538
  };
8538
8539
 
8539
- // This file contains Unicode properties extracted from the ECMAScript
8540
- // specification. The lists are extracted like so:
8540
+ // This file contains Unicode properties extracted from the ECMAScript specification.
8541
+ // The lists are extracted like so:
8541
8542
  // $$('#table-binary-unicode-properties > figure > table > tbody > tr > td:nth-child(1) code').map(el => el.innerText)
8542
8543
 
8543
8544
  // #table-binary-unicode-properties
@@ -8546,12 +8547,15 @@ function lexSort (a, b) {
8546
8547
  var ecma11BinaryProperties = ecma10BinaryProperties;
8547
8548
  var ecma12BinaryProperties = ecma11BinaryProperties + " EBase EComp EMod EPres ExtPict";
8548
8549
  var ecma13BinaryProperties = ecma12BinaryProperties;
8550
+ var ecma14BinaryProperties = ecma13BinaryProperties;
8551
+
8549
8552
  var unicodeBinaryProperties = {
8550
8553
  9: ecma9BinaryProperties,
8551
8554
  10: ecma10BinaryProperties,
8552
8555
  11: ecma11BinaryProperties,
8553
8556
  12: ecma12BinaryProperties,
8554
- 13: ecma13BinaryProperties
8557
+ 13: ecma13BinaryProperties,
8558
+ 14: ecma14BinaryProperties
8555
8559
  };
8556
8560
 
8557
8561
  // #table-unicode-general-category-values
@@ -8563,12 +8567,15 @@ function lexSort (a, b) {
8563
8567
  var ecma11ScriptValues = ecma10ScriptValues + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";
8564
8568
  var ecma12ScriptValues = ecma11ScriptValues + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";
8565
8569
  var ecma13ScriptValues = ecma12ScriptValues + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";
8570
+ var ecma14ScriptValues = ecma13ScriptValues + " Kawi Nag_Mundari Nagm";
8571
+
8566
8572
  var unicodeScriptValues = {
8567
8573
  9: ecma9ScriptValues,
8568
8574
  10: ecma10ScriptValues,
8569
8575
  11: ecma11ScriptValues,
8570
8576
  12: ecma12ScriptValues,
8571
- 13: ecma13ScriptValues
8577
+ 13: ecma13ScriptValues,
8578
+ 14: ecma14ScriptValues
8572
8579
  };
8573
8580
 
8574
8581
  var data = {};
@@ -8587,7 +8594,7 @@ function lexSort (a, b) {
8587
8594
  d.nonBinary.scx = d.nonBinary.Script_Extensions;
8588
8595
  }
8589
8596
 
8590
- for (var i = 0, list = [9, 10, 11, 12, 13]; i < list.length; i += 1) {
8597
+ for (var i = 0, list = [9, 10, 11, 12, 13, 14]; i < list.length; i += 1) {
8591
8598
  var ecmaVersion = list[i];
8592
8599
 
8593
8600
  buildUnicodeData(ecmaVersion);
@@ -8598,7 +8605,7 @@ function lexSort (a, b) {
8598
8605
  var RegExpValidationState = function RegExpValidationState(parser) {
8599
8606
  this.parser = parser;
8600
8607
  this.validFlags = "gim" + (parser.options.ecmaVersion >= 6 ? "uy" : "") + (parser.options.ecmaVersion >= 9 ? "s" : "") + (parser.options.ecmaVersion >= 13 ? "d" : "");
8601
- this.unicodeProperties = data[parser.options.ecmaVersion >= 13 ? 13 : parser.options.ecmaVersion];
8608
+ this.unicodeProperties = data[parser.options.ecmaVersion >= 14 ? 14 : parser.options.ecmaVersion];
8602
8609
  this.source = "";
8603
8610
  this.flags = "";
8604
8611
  this.start = 0;
@@ -10360,8 +10367,6 @@ function lexSort (a, b) {
10360
10367
  codePos,
10361
10368
  "Invalid escape sequence in template string"
10362
10369
  );
10363
-
10364
- return null
10365
10370
  }
10366
10371
  default:
10367
10372
  if (ch >= 48 && ch <= 55) {
@@ -10449,7 +10454,7 @@ function lexSort (a, b) {
10449
10454
 
10450
10455
  // Acorn is a tiny, fast JavaScript parser written in JavaScript.
10451
10456
 
10452
- var version = "8.8.1";
10457
+ var version = "8.8.2";
10453
10458
 
10454
10459
  Parser.acorn = {
10455
10460
  Parser: Parser,
@@ -10522,8 +10527,6 @@ function lexSort (a, b) {
10522
10527
  exports.tokenizer = tokenizer;
10523
10528
  exports.version = version;
10524
10529
 
10525
- Object.defineProperty(exports, '__esModule', { value: true });
10526
-
10527
10530
  }));
10528
10531
 
10529
10532
 
@@ -10821,7 +10824,7 @@ TrackerGroup.prototype.debug = function (depth) {
10821
10824
  "use strict";
10822
10825
 
10823
10826
  var util = __webpack_require__(1669)
10824
- var stream = __webpack_require__(7231)
10827
+ var stream = __webpack_require__(9650)
10825
10828
  var delegate = __webpack_require__(7990)
10826
10829
  var Tracker = __webpack_require__(2449)
10827
10830
 
@@ -20467,6 +20470,979 @@ function patch (fs) {
20467
20470
  }
20468
20471
 
20469
20472
 
20473
+ /***/ }),
20474
+
20475
+ /***/ 3016:
20476
+ /***/ ((module) => {
20477
+
20478
+ "use strict";
20479
+
20480
+
20481
+ module.exports = clone
20482
+
20483
+ var getPrototypeOf = Object.getPrototypeOf || function (obj) {
20484
+ return obj.__proto__
20485
+ }
20486
+
20487
+ function clone (obj) {
20488
+ if (obj === null || typeof obj !== 'object')
20489
+ return obj
20490
+
20491
+ if (obj instanceof Object)
20492
+ var copy = { __proto__: getPrototypeOf(obj) }
20493
+ else
20494
+ var copy = Object.create(null)
20495
+
20496
+ Object.getOwnPropertyNames(obj).forEach(function (key) {
20497
+ Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key))
20498
+ })
20499
+
20500
+ return copy
20501
+ }
20502
+
20503
+
20504
+ /***/ }),
20505
+
20506
+ /***/ 7156:
20507
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
20508
+
20509
+ var fs = __webpack_require__(5747)
20510
+ var polyfills = __webpack_require__(4692)
20511
+ var legacy = __webpack_require__(6465)
20512
+ var clone = __webpack_require__(3016)
20513
+
20514
+ var util = __webpack_require__(1669)
20515
+
20516
+ /* istanbul ignore next - node 0.x polyfill */
20517
+ var gracefulQueue
20518
+ var previousSymbol
20519
+
20520
+ /* istanbul ignore else - node 0.x polyfill */
20521
+ if (typeof Symbol === 'function' && typeof Symbol.for === 'function') {
20522
+ gracefulQueue = Symbol.for('graceful-fs.queue')
20523
+ // This is used in testing by future versions
20524
+ previousSymbol = Symbol.for('graceful-fs.previous')
20525
+ } else {
20526
+ gracefulQueue = '___graceful-fs.queue'
20527
+ previousSymbol = '___graceful-fs.previous'
20528
+ }
20529
+
20530
+ function noop () {}
20531
+
20532
+ function publishQueue(context, queue) {
20533
+ Object.defineProperty(context, gracefulQueue, {
20534
+ get: function() {
20535
+ return queue
20536
+ }
20537
+ })
20538
+ }
20539
+
20540
+ var debug = noop
20541
+ if (util.debuglog)
20542
+ debug = util.debuglog('gfs4')
20543
+ else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || ''))
20544
+ debug = function() {
20545
+ var m = util.format.apply(util, arguments)
20546
+ m = 'GFS4: ' + m.split(/\n/).join('\nGFS4: ')
20547
+ console.error(m)
20548
+ }
20549
+
20550
+ // Once time initialization
20551
+ if (!fs[gracefulQueue]) {
20552
+ // This queue can be shared by multiple loaded instances
20553
+ var queue = global[gracefulQueue] || []
20554
+ publishQueue(fs, queue)
20555
+
20556
+ // Patch fs.close/closeSync to shared queue version, because we need
20557
+ // to retry() whenever a close happens *anywhere* in the program.
20558
+ // This is essential when multiple graceful-fs instances are
20559
+ // in play at the same time.
20560
+ fs.close = (function (fs$close) {
20561
+ function close (fd, cb) {
20562
+ return fs$close.call(fs, fd, function (err) {
20563
+ // This function uses the graceful-fs shared queue
20564
+ if (!err) {
20565
+ resetQueue()
20566
+ }
20567
+
20568
+ if (typeof cb === 'function')
20569
+ cb.apply(this, arguments)
20570
+ })
20571
+ }
20572
+
20573
+ Object.defineProperty(close, previousSymbol, {
20574
+ value: fs$close
20575
+ })
20576
+ return close
20577
+ })(fs.close)
20578
+
20579
+ fs.closeSync = (function (fs$closeSync) {
20580
+ function closeSync (fd) {
20581
+ // This function uses the graceful-fs shared queue
20582
+ fs$closeSync.apply(fs, arguments)
20583
+ resetQueue()
20584
+ }
20585
+
20586
+ Object.defineProperty(closeSync, previousSymbol, {
20587
+ value: fs$closeSync
20588
+ })
20589
+ return closeSync
20590
+ })(fs.closeSync)
20591
+
20592
+ if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || '')) {
20593
+ process.on('exit', function() {
20594
+ debug(fs[gracefulQueue])
20595
+ __webpack_require__(2357).equal(fs[gracefulQueue].length, 0)
20596
+ })
20597
+ }
20598
+ }
20599
+
20600
+ if (!global[gracefulQueue]) {
20601
+ publishQueue(global, fs[gracefulQueue]);
20602
+ }
20603
+
20604
+ module.exports = patch(clone(fs))
20605
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs.__patched) {
20606
+ module.exports = patch(fs)
20607
+ fs.__patched = true;
20608
+ }
20609
+
20610
+ function patch (fs) {
20611
+ // Everything that references the open() function needs to be in here
20612
+ polyfills(fs)
20613
+ fs.gracefulify = patch
20614
+
20615
+ fs.createReadStream = createReadStream
20616
+ fs.createWriteStream = createWriteStream
20617
+ var fs$readFile = fs.readFile
20618
+ fs.readFile = readFile
20619
+ function readFile (path, options, cb) {
20620
+ if (typeof options === 'function')
20621
+ cb = options, options = null
20622
+
20623
+ return go$readFile(path, options, cb)
20624
+
20625
+ function go$readFile (path, options, cb, startTime) {
20626
+ return fs$readFile(path, options, function (err) {
20627
+ if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
20628
+ enqueue([go$readFile, [path, options, cb], err, startTime || Date.now(), Date.now()])
20629
+ else {
20630
+ if (typeof cb === 'function')
20631
+ cb.apply(this, arguments)
20632
+ }
20633
+ })
20634
+ }
20635
+ }
20636
+
20637
+ var fs$writeFile = fs.writeFile
20638
+ fs.writeFile = writeFile
20639
+ function writeFile (path, data, options, cb) {
20640
+ if (typeof options === 'function')
20641
+ cb = options, options = null
20642
+
20643
+ return go$writeFile(path, data, options, cb)
20644
+
20645
+ function go$writeFile (path, data, options, cb, startTime) {
20646
+ return fs$writeFile(path, data, options, function (err) {
20647
+ if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
20648
+ enqueue([go$writeFile, [path, data, options, cb], err, startTime || Date.now(), Date.now()])
20649
+ else {
20650
+ if (typeof cb === 'function')
20651
+ cb.apply(this, arguments)
20652
+ }
20653
+ })
20654
+ }
20655
+ }
20656
+
20657
+ var fs$appendFile = fs.appendFile
20658
+ if (fs$appendFile)
20659
+ fs.appendFile = appendFile
20660
+ function appendFile (path, data, options, cb) {
20661
+ if (typeof options === 'function')
20662
+ cb = options, options = null
20663
+
20664
+ return go$appendFile(path, data, options, cb)
20665
+
20666
+ function go$appendFile (path, data, options, cb, startTime) {
20667
+ return fs$appendFile(path, data, options, function (err) {
20668
+ if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
20669
+ enqueue([go$appendFile, [path, data, options, cb], err, startTime || Date.now(), Date.now()])
20670
+ else {
20671
+ if (typeof cb === 'function')
20672
+ cb.apply(this, arguments)
20673
+ }
20674
+ })
20675
+ }
20676
+ }
20677
+
20678
+ var fs$copyFile = fs.copyFile
20679
+ if (fs$copyFile)
20680
+ fs.copyFile = copyFile
20681
+ function copyFile (src, dest, flags, cb) {
20682
+ if (typeof flags === 'function') {
20683
+ cb = flags
20684
+ flags = 0
20685
+ }
20686
+ return go$copyFile(src, dest, flags, cb)
20687
+
20688
+ function go$copyFile (src, dest, flags, cb, startTime) {
20689
+ return fs$copyFile(src, dest, flags, function (err) {
20690
+ if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
20691
+ enqueue([go$copyFile, [src, dest, flags, cb], err, startTime || Date.now(), Date.now()])
20692
+ else {
20693
+ if (typeof cb === 'function')
20694
+ cb.apply(this, arguments)
20695
+ }
20696
+ })
20697
+ }
20698
+ }
20699
+
20700
+ var fs$readdir = fs.readdir
20701
+ fs.readdir = readdir
20702
+ var noReaddirOptionVersions = /^v[0-5]\./
20703
+ function readdir (path, options, cb) {
20704
+ if (typeof options === 'function')
20705
+ cb = options, options = null
20706
+
20707
+ var go$readdir = noReaddirOptionVersions.test(process.version)
20708
+ ? function go$readdir (path, options, cb, startTime) {
20709
+ return fs$readdir(path, fs$readdirCallback(
20710
+ path, options, cb, startTime
20711
+ ))
20712
+ }
20713
+ : function go$readdir (path, options, cb, startTime) {
20714
+ return fs$readdir(path, options, fs$readdirCallback(
20715
+ path, options, cb, startTime
20716
+ ))
20717
+ }
20718
+
20719
+ return go$readdir(path, options, cb)
20720
+
20721
+ function fs$readdirCallback (path, options, cb, startTime) {
20722
+ return function (err, files) {
20723
+ if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
20724
+ enqueue([
20725
+ go$readdir,
20726
+ [path, options, cb],
20727
+ err,
20728
+ startTime || Date.now(),
20729
+ Date.now()
20730
+ ])
20731
+ else {
20732
+ if (files && files.sort)
20733
+ files.sort()
20734
+
20735
+ if (typeof cb === 'function')
20736
+ cb.call(this, err, files)
20737
+ }
20738
+ }
20739
+ }
20740
+ }
20741
+
20742
+ if (process.version.substr(0, 4) === 'v0.8') {
20743
+ var legStreams = legacy(fs)
20744
+ ReadStream = legStreams.ReadStream
20745
+ WriteStream = legStreams.WriteStream
20746
+ }
20747
+
20748
+ var fs$ReadStream = fs.ReadStream
20749
+ if (fs$ReadStream) {
20750
+ ReadStream.prototype = Object.create(fs$ReadStream.prototype)
20751
+ ReadStream.prototype.open = ReadStream$open
20752
+ }
20753
+
20754
+ var fs$WriteStream = fs.WriteStream
20755
+ if (fs$WriteStream) {
20756
+ WriteStream.prototype = Object.create(fs$WriteStream.prototype)
20757
+ WriteStream.prototype.open = WriteStream$open
20758
+ }
20759
+
20760
+ Object.defineProperty(fs, 'ReadStream', {
20761
+ get: function () {
20762
+ return ReadStream
20763
+ },
20764
+ set: function (val) {
20765
+ ReadStream = val
20766
+ },
20767
+ enumerable: true,
20768
+ configurable: true
20769
+ })
20770
+ Object.defineProperty(fs, 'WriteStream', {
20771
+ get: function () {
20772
+ return WriteStream
20773
+ },
20774
+ set: function (val) {
20775
+ WriteStream = val
20776
+ },
20777
+ enumerable: true,
20778
+ configurable: true
20779
+ })
20780
+
20781
+ // legacy names
20782
+ var FileReadStream = ReadStream
20783
+ Object.defineProperty(fs, 'FileReadStream', {
20784
+ get: function () {
20785
+ return FileReadStream
20786
+ },
20787
+ set: function (val) {
20788
+ FileReadStream = val
20789
+ },
20790
+ enumerable: true,
20791
+ configurable: true
20792
+ })
20793
+ var FileWriteStream = WriteStream
20794
+ Object.defineProperty(fs, 'FileWriteStream', {
20795
+ get: function () {
20796
+ return FileWriteStream
20797
+ },
20798
+ set: function (val) {
20799
+ FileWriteStream = val
20800
+ },
20801
+ enumerable: true,
20802
+ configurable: true
20803
+ })
20804
+
20805
+ function ReadStream (path, options) {
20806
+ if (this instanceof ReadStream)
20807
+ return fs$ReadStream.apply(this, arguments), this
20808
+ else
20809
+ return ReadStream.apply(Object.create(ReadStream.prototype), arguments)
20810
+ }
20811
+
20812
+ function ReadStream$open () {
20813
+ var that = this
20814
+ open(that.path, that.flags, that.mode, function (err, fd) {
20815
+ if (err) {
20816
+ if (that.autoClose)
20817
+ that.destroy()
20818
+
20819
+ that.emit('error', err)
20820
+ } else {
20821
+ that.fd = fd
20822
+ that.emit('open', fd)
20823
+ that.read()
20824
+ }
20825
+ })
20826
+ }
20827
+
20828
+ function WriteStream (path, options) {
20829
+ if (this instanceof WriteStream)
20830
+ return fs$WriteStream.apply(this, arguments), this
20831
+ else
20832
+ return WriteStream.apply(Object.create(WriteStream.prototype), arguments)
20833
+ }
20834
+
20835
+ function WriteStream$open () {
20836
+ var that = this
20837
+ open(that.path, that.flags, that.mode, function (err, fd) {
20838
+ if (err) {
20839
+ that.destroy()
20840
+ that.emit('error', err)
20841
+ } else {
20842
+ that.fd = fd
20843
+ that.emit('open', fd)
20844
+ }
20845
+ })
20846
+ }
20847
+
20848
+ function createReadStream (path, options) {
20849
+ return new fs.ReadStream(path, options)
20850
+ }
20851
+
20852
+ function createWriteStream (path, options) {
20853
+ return new fs.WriteStream(path, options)
20854
+ }
20855
+
20856
+ var fs$open = fs.open
20857
+ fs.open = open
20858
+ function open (path, flags, mode, cb) {
20859
+ if (typeof mode === 'function')
20860
+ cb = mode, mode = null
20861
+
20862
+ return go$open(path, flags, mode, cb)
20863
+
20864
+ function go$open (path, flags, mode, cb, startTime) {
20865
+ return fs$open(path, flags, mode, function (err, fd) {
20866
+ if (err && (err.code === 'EMFILE' || err.code === 'ENFILE'))
20867
+ enqueue([go$open, [path, flags, mode, cb], err, startTime || Date.now(), Date.now()])
20868
+ else {
20869
+ if (typeof cb === 'function')
20870
+ cb.apply(this, arguments)
20871
+ }
20872
+ })
20873
+ }
20874
+ }
20875
+
20876
+ return fs
20877
+ }
20878
+
20879
+ function enqueue (elem) {
20880
+ debug('ENQUEUE', elem[0].name, elem[1])
20881
+ fs[gracefulQueue].push(elem)
20882
+ retry()
20883
+ }
20884
+
20885
+ // keep track of the timeout between retry() calls
20886
+ var retryTimer
20887
+
20888
+ // reset the startTime and lastTime to now
20889
+ // this resets the start of the 60 second overall timeout as well as the
20890
+ // delay between attempts so that we'll retry these jobs sooner
20891
+ function resetQueue () {
20892
+ var now = Date.now()
20893
+ for (var i = 0; i < fs[gracefulQueue].length; ++i) {
20894
+ // entries that are only a length of 2 are from an older version, don't
20895
+ // bother modifying those since they'll be retried anyway.
20896
+ if (fs[gracefulQueue][i].length > 2) {
20897
+ fs[gracefulQueue][i][3] = now // startTime
20898
+ fs[gracefulQueue][i][4] = now // lastTime
20899
+ }
20900
+ }
20901
+ // call retry to make sure we're actively processing the queue
20902
+ retry()
20903
+ }
20904
+
20905
+ function retry () {
20906
+ // clear the timer and remove it to help prevent unintended concurrency
20907
+ clearTimeout(retryTimer)
20908
+ retryTimer = undefined
20909
+
20910
+ if (fs[gracefulQueue].length === 0)
20911
+ return
20912
+
20913
+ var elem = fs[gracefulQueue].shift()
20914
+ var fn = elem[0]
20915
+ var args = elem[1]
20916
+ // these items may be unset if they were added by an older graceful-fs
20917
+ var err = elem[2]
20918
+ var startTime = elem[3]
20919
+ var lastTime = elem[4]
20920
+
20921
+ // if we don't have a startTime we have no way of knowing if we've waited
20922
+ // long enough, so go ahead and retry this item now
20923
+ if (startTime === undefined) {
20924
+ debug('RETRY', fn.name, args)
20925
+ fn.apply(null, args)
20926
+ } else if (Date.now() - startTime >= 60000) {
20927
+ // it's been more than 60 seconds total, bail now
20928
+ debug('TIMEOUT', fn.name, args)
20929
+ var cb = args.pop()
20930
+ if (typeof cb === 'function')
20931
+ cb.call(null, err)
20932
+ } else {
20933
+ // the amount of time between the last attempt and right now
20934
+ var sinceAttempt = Date.now() - lastTime
20935
+ // the amount of time between when we first tried, and when we last tried
20936
+ // rounded up to at least 1
20937
+ var sinceStart = Math.max(lastTime - startTime, 1)
20938
+ // backoff. wait longer than the total time we've been retrying, but only
20939
+ // up to a maximum of 100ms
20940
+ var desiredDelay = Math.min(sinceStart * 1.2, 100)
20941
+ // it's been long enough since the last retry, do it again
20942
+ if (sinceAttempt >= desiredDelay) {
20943
+ debug('RETRY', fn.name, args)
20944
+ fn.apply(null, args.concat([startTime]))
20945
+ } else {
20946
+ // if we can't do this job yet, push it to the end of the queue
20947
+ // and let the next iteration check again
20948
+ fs[gracefulQueue].push(elem)
20949
+ }
20950
+ }
20951
+
20952
+ // schedule our next run if one isn't already scheduled
20953
+ if (retryTimer === undefined) {
20954
+ retryTimer = setTimeout(retry, 0)
20955
+ }
20956
+ }
20957
+
20958
+
20959
+ /***/ }),
20960
+
20961
+ /***/ 6465:
20962
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
20963
+
20964
+ var Stream = __webpack_require__(2413).Stream
20965
+
20966
+ module.exports = legacy
20967
+
20968
+ function legacy (fs) {
20969
+ return {
20970
+ ReadStream: ReadStream,
20971
+ WriteStream: WriteStream
20972
+ }
20973
+
20974
+ function ReadStream (path, options) {
20975
+ if (!(this instanceof ReadStream)) return new ReadStream(path, options);
20976
+
20977
+ Stream.call(this);
20978
+
20979
+ var self = this;
20980
+
20981
+ this.path = path;
20982
+ this.fd = null;
20983
+ this.readable = true;
20984
+ this.paused = false;
20985
+
20986
+ this.flags = 'r';
20987
+ this.mode = 438; /*=0666*/
20988
+ this.bufferSize = 64 * 1024;
20989
+
20990
+ options = options || {};
20991
+
20992
+ // Mixin options into this
20993
+ var keys = Object.keys(options);
20994
+ for (var index = 0, length = keys.length; index < length; index++) {
20995
+ var key = keys[index];
20996
+ this[key] = options[key];
20997
+ }
20998
+
20999
+ if (this.encoding) this.setEncoding(this.encoding);
21000
+
21001
+ if (this.start !== undefined) {
21002
+ if ('number' !== typeof this.start) {
21003
+ throw TypeError('start must be a Number');
21004
+ }
21005
+ if (this.end === undefined) {
21006
+ this.end = Infinity;
21007
+ } else if ('number' !== typeof this.end) {
21008
+ throw TypeError('end must be a Number');
21009
+ }
21010
+
21011
+ if (this.start > this.end) {
21012
+ throw new Error('start must be <= end');
21013
+ }
21014
+
21015
+ this.pos = this.start;
21016
+ }
21017
+
21018
+ if (this.fd !== null) {
21019
+ process.nextTick(function() {
21020
+ self._read();
21021
+ });
21022
+ return;
21023
+ }
21024
+
21025
+ fs.open(this.path, this.flags, this.mode, function (err, fd) {
21026
+ if (err) {
21027
+ self.emit('error', err);
21028
+ self.readable = false;
21029
+ return;
21030
+ }
21031
+
21032
+ self.fd = fd;
21033
+ self.emit('open', fd);
21034
+ self._read();
21035
+ })
21036
+ }
21037
+
21038
+ function WriteStream (path, options) {
21039
+ if (!(this instanceof WriteStream)) return new WriteStream(path, options);
21040
+
21041
+ Stream.call(this);
21042
+
21043
+ this.path = path;
21044
+ this.fd = null;
21045
+ this.writable = true;
21046
+
21047
+ this.flags = 'w';
21048
+ this.encoding = 'binary';
21049
+ this.mode = 438; /*=0666*/
21050
+ this.bytesWritten = 0;
21051
+
21052
+ options = options || {};
21053
+
21054
+ // Mixin options into this
21055
+ var keys = Object.keys(options);
21056
+ for (var index = 0, length = keys.length; index < length; index++) {
21057
+ var key = keys[index];
21058
+ this[key] = options[key];
21059
+ }
21060
+
21061
+ if (this.start !== undefined) {
21062
+ if ('number' !== typeof this.start) {
21063
+ throw TypeError('start must be a Number');
21064
+ }
21065
+ if (this.start < 0) {
21066
+ throw new Error('start must be >= zero');
21067
+ }
21068
+
21069
+ this.pos = this.start;
21070
+ }
21071
+
21072
+ this.busy = false;
21073
+ this._queue = [];
21074
+
21075
+ if (this.fd === null) {
21076
+ this._open = fs.open;
21077
+ this._queue.push([this._open, this.path, this.flags, this.mode, undefined]);
21078
+ this.flush();
21079
+ }
21080
+ }
21081
+ }
21082
+
21083
+
21084
+ /***/ }),
21085
+
21086
+ /***/ 4692:
21087
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
21088
+
21089
+ var constants = __webpack_require__(7619)
21090
+
21091
+ var origCwd = process.cwd
21092
+ var cwd = null
21093
+
21094
+ var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform
21095
+
21096
+ process.cwd = function() {
21097
+ if (!cwd)
21098
+ cwd = origCwd.call(process)
21099
+ return cwd
21100
+ }
21101
+ try {
21102
+ process.cwd()
21103
+ } catch (er) {}
21104
+
21105
+ // This check is needed until node.js 12 is required
21106
+ if (typeof process.chdir === 'function') {
21107
+ var chdir = process.chdir
21108
+ process.chdir = function (d) {
21109
+ cwd = null
21110
+ chdir.call(process, d)
21111
+ }
21112
+ if (Object.setPrototypeOf) Object.setPrototypeOf(process.chdir, chdir)
21113
+ }
21114
+
21115
+ module.exports = patch
21116
+
21117
+ function patch (fs) {
21118
+ // (re-)implement some things that are known busted or missing.
21119
+
21120
+ // lchmod, broken prior to 0.6.2
21121
+ // back-port the fix here.
21122
+ if (constants.hasOwnProperty('O_SYMLINK') &&
21123
+ process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
21124
+ patchLchmod(fs)
21125
+ }
21126
+
21127
+ // lutimes implementation, or no-op
21128
+ if (!fs.lutimes) {
21129
+ patchLutimes(fs)
21130
+ }
21131
+
21132
+ // https://github.com/isaacs/node-graceful-fs/issues/4
21133
+ // Chown should not fail on einval or eperm if non-root.
21134
+ // It should not fail on enosys ever, as this just indicates
21135
+ // that a fs doesn't support the intended operation.
21136
+
21137
+ fs.chown = chownFix(fs.chown)
21138
+ fs.fchown = chownFix(fs.fchown)
21139
+ fs.lchown = chownFix(fs.lchown)
21140
+
21141
+ fs.chmod = chmodFix(fs.chmod)
21142
+ fs.fchmod = chmodFix(fs.fchmod)
21143
+ fs.lchmod = chmodFix(fs.lchmod)
21144
+
21145
+ fs.chownSync = chownFixSync(fs.chownSync)
21146
+ fs.fchownSync = chownFixSync(fs.fchownSync)
21147
+ fs.lchownSync = chownFixSync(fs.lchownSync)
21148
+
21149
+ fs.chmodSync = chmodFixSync(fs.chmodSync)
21150
+ fs.fchmodSync = chmodFixSync(fs.fchmodSync)
21151
+ fs.lchmodSync = chmodFixSync(fs.lchmodSync)
21152
+
21153
+ fs.stat = statFix(fs.stat)
21154
+ fs.fstat = statFix(fs.fstat)
21155
+ fs.lstat = statFix(fs.lstat)
21156
+
21157
+ fs.statSync = statFixSync(fs.statSync)
21158
+ fs.fstatSync = statFixSync(fs.fstatSync)
21159
+ fs.lstatSync = statFixSync(fs.lstatSync)
21160
+
21161
+ // if lchmod/lchown do not exist, then make them no-ops
21162
+ if (fs.chmod && !fs.lchmod) {
21163
+ fs.lchmod = function (path, mode, cb) {
21164
+ if (cb) process.nextTick(cb)
21165
+ }
21166
+ fs.lchmodSync = function () {}
21167
+ }
21168
+ if (fs.chown && !fs.lchown) {
21169
+ fs.lchown = function (path, uid, gid, cb) {
21170
+ if (cb) process.nextTick(cb)
21171
+ }
21172
+ fs.lchownSync = function () {}
21173
+ }
21174
+
21175
+ // on Windows, A/V software can lock the directory, causing this
21176
+ // to fail with an EACCES or EPERM if the directory contains newly
21177
+ // created files. Try again on failure, for up to 60 seconds.
21178
+
21179
+ // Set the timeout this long because some Windows Anti-Virus, such as Parity
21180
+ // bit9, may lock files for up to a minute, causing npm package install
21181
+ // failures. Also, take care to yield the scheduler. Windows scheduling gives
21182
+ // CPU to a busy looping process, which can cause the program causing the lock
21183
+ // contention to be starved of CPU by node, so the contention doesn't resolve.
21184
+ if (platform === "win32") {
21185
+ fs.rename = typeof fs.rename !== 'function' ? fs.rename
21186
+ : (function (fs$rename) {
21187
+ function rename (from, to, cb) {
21188
+ var start = Date.now()
21189
+ var backoff = 0;
21190
+ fs$rename(from, to, function CB (er) {
21191
+ if (er
21192
+ && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY")
21193
+ && Date.now() - start < 60000) {
21194
+ setTimeout(function() {
21195
+ fs.stat(to, function (stater, st) {
21196
+ if (stater && stater.code === "ENOENT")
21197
+ fs$rename(from, to, CB);
21198
+ else
21199
+ cb(er)
21200
+ })
21201
+ }, backoff)
21202
+ if (backoff < 100)
21203
+ backoff += 10;
21204
+ return;
21205
+ }
21206
+ if (cb) cb(er)
21207
+ })
21208
+ }
21209
+ if (Object.setPrototypeOf) Object.setPrototypeOf(rename, fs$rename)
21210
+ return rename
21211
+ })(fs.rename)
21212
+ }
21213
+
21214
+ // if read() returns EAGAIN, then just try it again.
21215
+ fs.read = typeof fs.read !== 'function' ? fs.read
21216
+ : (function (fs$read) {
21217
+ function read (fd, buffer, offset, length, position, callback_) {
21218
+ var callback
21219
+ if (callback_ && typeof callback_ === 'function') {
21220
+ var eagCounter = 0
21221
+ callback = function (er, _, __) {
21222
+ if (er && er.code === 'EAGAIN' && eagCounter < 10) {
21223
+ eagCounter ++
21224
+ return fs$read.call(fs, fd, buffer, offset, length, position, callback)
21225
+ }
21226
+ callback_.apply(this, arguments)
21227
+ }
21228
+ }
21229
+ return fs$read.call(fs, fd, buffer, offset, length, position, callback)
21230
+ }
21231
+
21232
+ // This ensures `util.promisify` works as it does for native `fs.read`.
21233
+ if (Object.setPrototypeOf) Object.setPrototypeOf(read, fs$read)
21234
+ return read
21235
+ })(fs.read)
21236
+
21237
+ fs.readSync = typeof fs.readSync !== 'function' ? fs.readSync
21238
+ : (function (fs$readSync) { return function (fd, buffer, offset, length, position) {
21239
+ var eagCounter = 0
21240
+ while (true) {
21241
+ try {
21242
+ return fs$readSync.call(fs, fd, buffer, offset, length, position)
21243
+ } catch (er) {
21244
+ if (er.code === 'EAGAIN' && eagCounter < 10) {
21245
+ eagCounter ++
21246
+ continue
21247
+ }
21248
+ throw er
21249
+ }
21250
+ }
21251
+ }})(fs.readSync)
21252
+
21253
+ function patchLchmod (fs) {
21254
+ fs.lchmod = function (path, mode, callback) {
21255
+ fs.open( path
21256
+ , constants.O_WRONLY | constants.O_SYMLINK
21257
+ , mode
21258
+ , function (err, fd) {
21259
+ if (err) {
21260
+ if (callback) callback(err)
21261
+ return
21262
+ }
21263
+ // prefer to return the chmod error, if one occurs,
21264
+ // but still try to close, and report closing errors if they occur.
21265
+ fs.fchmod(fd, mode, function (err) {
21266
+ fs.close(fd, function(err2) {
21267
+ if (callback) callback(err || err2)
21268
+ })
21269
+ })
21270
+ })
21271
+ }
21272
+
21273
+ fs.lchmodSync = function (path, mode) {
21274
+ var fd = fs.openSync(path, constants.O_WRONLY | constants.O_SYMLINK, mode)
21275
+
21276
+ // prefer to return the chmod error, if one occurs,
21277
+ // but still try to close, and report closing errors if they occur.
21278
+ var threw = true
21279
+ var ret
21280
+ try {
21281
+ ret = fs.fchmodSync(fd, mode)
21282
+ threw = false
21283
+ } finally {
21284
+ if (threw) {
21285
+ try {
21286
+ fs.closeSync(fd)
21287
+ } catch (er) {}
21288
+ } else {
21289
+ fs.closeSync(fd)
21290
+ }
21291
+ }
21292
+ return ret
21293
+ }
21294
+ }
21295
+
21296
+ function patchLutimes (fs) {
21297
+ if (constants.hasOwnProperty("O_SYMLINK") && fs.futimes) {
21298
+ fs.lutimes = function (path, at, mt, cb) {
21299
+ fs.open(path, constants.O_SYMLINK, function (er, fd) {
21300
+ if (er) {
21301
+ if (cb) cb(er)
21302
+ return
21303
+ }
21304
+ fs.futimes(fd, at, mt, function (er) {
21305
+ fs.close(fd, function (er2) {
21306
+ if (cb) cb(er || er2)
21307
+ })
21308
+ })
21309
+ })
21310
+ }
21311
+
21312
+ fs.lutimesSync = function (path, at, mt) {
21313
+ var fd = fs.openSync(path, constants.O_SYMLINK)
21314
+ var ret
21315
+ var threw = true
21316
+ try {
21317
+ ret = fs.futimesSync(fd, at, mt)
21318
+ threw = false
21319
+ } finally {
21320
+ if (threw) {
21321
+ try {
21322
+ fs.closeSync(fd)
21323
+ } catch (er) {}
21324
+ } else {
21325
+ fs.closeSync(fd)
21326
+ }
21327
+ }
21328
+ return ret
21329
+ }
21330
+
21331
+ } else if (fs.futimes) {
21332
+ fs.lutimes = function (_a, _b, _c, cb) { if (cb) process.nextTick(cb) }
21333
+ fs.lutimesSync = function () {}
21334
+ }
21335
+ }
21336
+
21337
+ function chmodFix (orig) {
21338
+ if (!orig) return orig
21339
+ return function (target, mode, cb) {
21340
+ return orig.call(fs, target, mode, function (er) {
21341
+ if (chownErOk(er)) er = null
21342
+ if (cb) cb.apply(this, arguments)
21343
+ })
21344
+ }
21345
+ }
21346
+
21347
+ function chmodFixSync (orig) {
21348
+ if (!orig) return orig
21349
+ return function (target, mode) {
21350
+ try {
21351
+ return orig.call(fs, target, mode)
21352
+ } catch (er) {
21353
+ if (!chownErOk(er)) throw er
21354
+ }
21355
+ }
21356
+ }
21357
+
21358
+
21359
+ function chownFix (orig) {
21360
+ if (!orig) return orig
21361
+ return function (target, uid, gid, cb) {
21362
+ return orig.call(fs, target, uid, gid, function (er) {
21363
+ if (chownErOk(er)) er = null
21364
+ if (cb) cb.apply(this, arguments)
21365
+ })
21366
+ }
21367
+ }
21368
+
21369
+ function chownFixSync (orig) {
21370
+ if (!orig) return orig
21371
+ return function (target, uid, gid) {
21372
+ try {
21373
+ return orig.call(fs, target, uid, gid)
21374
+ } catch (er) {
21375
+ if (!chownErOk(er)) throw er
21376
+ }
21377
+ }
21378
+ }
21379
+
21380
+ function statFix (orig) {
21381
+ if (!orig) return orig
21382
+ // Older versions of Node erroneously returned signed integers for
21383
+ // uid + gid.
21384
+ return function (target, options, cb) {
21385
+ if (typeof options === 'function') {
21386
+ cb = options
21387
+ options = null
21388
+ }
21389
+ function callback (er, stats) {
21390
+ if (stats) {
21391
+ if (stats.uid < 0) stats.uid += 0x100000000
21392
+ if (stats.gid < 0) stats.gid += 0x100000000
21393
+ }
21394
+ if (cb) cb.apply(this, arguments)
21395
+ }
21396
+ return options ? orig.call(fs, target, options, callback)
21397
+ : orig.call(fs, target, callback)
21398
+ }
21399
+ }
21400
+
21401
+ function statFixSync (orig) {
21402
+ if (!orig) return orig
21403
+ // Older versions of Node erroneously returned signed integers for
21404
+ // uid + gid.
21405
+ return function (target, options) {
21406
+ var stats = options ? orig.call(fs, target, options)
21407
+ : orig.call(fs, target)
21408
+ if (stats) {
21409
+ if (stats.uid < 0) stats.uid += 0x100000000
21410
+ if (stats.gid < 0) stats.gid += 0x100000000
21411
+ }
21412
+ return stats;
21413
+ }
21414
+ }
21415
+
21416
+ // ENOSYS means that the fs doesn't support the op. Just ignore
21417
+ // that, because it doesn't matter.
21418
+ //
21419
+ // if there's no getuid, or if getuid() is something other
21420
+ // than 0, and the error is EINVAL or EPERM, then just ignore
21421
+ // it.
21422
+ //
21423
+ // This specific case is a silent failure in cp, install, tar,
21424
+ // and most other unix tools that manage permissions.
21425
+ //
21426
+ // When running as root, or if other types of errors are
21427
+ // encountered, then it's strict.
21428
+ function chownErOk (er) {
21429
+ if (!er)
21430
+ return true
21431
+
21432
+ if (er.code === "ENOSYS")
21433
+ return true
21434
+
21435
+ var nonroot = !process.getuid || process.getuid() !== 0
21436
+ if (nonroot) {
21437
+ if (er.code === "EINVAL" || er.code === "EPERM")
21438
+ return true
21439
+ }
21440
+
21441
+ return false
21442
+ }
21443
+ }
21444
+
21445
+
20470
21446
  /***/ }),
20471
21447
 
20472
21448
  /***/ 8909:
@@ -20693,7 +21669,7 @@ module.exports = function(num) {
20693
21669
 
20694
21670
  var _fs
20695
21671
  try {
20696
- _fs = __webpack_require__(1317)
21672
+ _fs = __webpack_require__(7156)
20697
21673
  } catch (_) {
20698
21674
  _fs = __webpack_require__(5747)
20699
21675
  }
@@ -26721,7 +27697,7 @@ module.exports = (number, options) => {
26721
27697
 
26722
27698
  /***/ }),
26723
27699
 
26724
- /***/ 7970:
27700
+ /***/ 4857:
26725
27701
  /***/ ((module) => {
26726
27702
 
26727
27703
  "use strict";
@@ -26845,7 +27821,7 @@ module.exports.q = codes;
26845
27821
 
26846
27822
  /***/ }),
26847
27823
 
26848
- /***/ 6509:
27824
+ /***/ 4604:
26849
27825
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26850
27826
 
26851
27827
  "use strict";
@@ -26869,60 +27845,48 @@ module.exports.q = codes;
26869
27845
  // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
26870
27846
  // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
26871
27847
  // USE OR OTHER DEALINGS IN THE SOFTWARE.
27848
+
26872
27849
  // a duplex stream is just a stream that is both readable and writable.
26873
27850
  // Since JS doesn't have multiple prototypal inheritance, this class
26874
27851
  // prototypally inherits from Readable, and then parasitically from
26875
27852
  // Writable.
26876
27853
 
26877
- /*<replacement>*/
26878
27854
 
27855
+
27856
+ /*<replacement>*/
26879
27857
  var objectKeys = Object.keys || function (obj) {
26880
27858
  var keys = [];
26881
-
26882
- for (var key in obj) {
26883
- keys.push(key);
26884
- }
26885
-
27859
+ for (var key in obj) keys.push(key);
26886
27860
  return keys;
26887
27861
  };
26888
27862
  /*</replacement>*/
26889
27863
 
26890
-
26891
27864
  module.exports = Duplex;
26892
-
26893
- var Readable = __webpack_require__(5150);
26894
-
26895
- var Writable = __webpack_require__(5749);
26896
-
27865
+ var Readable = __webpack_require__(4769);
27866
+ var Writable = __webpack_require__(2560);
26897
27867
  __webpack_require__(834)(Duplex, Readable);
26898
-
26899
27868
  {
26900
27869
  // Allow the keys array to be GC'ed.
26901
27870
  var keys = objectKeys(Writable.prototype);
26902
-
26903
27871
  for (var v = 0; v < keys.length; v++) {
26904
27872
  var method = keys[v];
26905
27873
  if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method];
26906
27874
  }
26907
27875
  }
26908
-
26909
27876
  function Duplex(options) {
26910
27877
  if (!(this instanceof Duplex)) return new Duplex(options);
26911
27878
  Readable.call(this, options);
26912
27879
  Writable.call(this, options);
26913
27880
  this.allowHalfOpen = true;
26914
-
26915
27881
  if (options) {
26916
27882
  if (options.readable === false) this.readable = false;
26917
27883
  if (options.writable === false) this.writable = false;
26918
-
26919
27884
  if (options.allowHalfOpen === false) {
26920
27885
  this.allowHalfOpen = false;
26921
27886
  this.once('end', onend);
26922
27887
  }
26923
27888
  }
26924
27889
  }
26925
-
26926
27890
  Object.defineProperty(Duplex.prototype, 'writableHighWaterMark', {
26927
27891
  // making it explicit this property is not enumerable
26928
27892
  // because otherwise some prototype manipulation in
@@ -26949,20 +27913,20 @@ Object.defineProperty(Duplex.prototype, 'writableLength', {
26949
27913
  get: function get() {
26950
27914
  return this._writableState.length;
26951
27915
  }
26952
- }); // the no-half-open enforcer
27916
+ });
26953
27917
 
27918
+ // the no-half-open enforcer
26954
27919
  function onend() {
26955
27920
  // If the writable side ended, then we're ok.
26956
- if (this._writableState.ended) return; // no more data can be written.
26957
- // But allow more writes to happen in this tick.
27921
+ if (this._writableState.ended) return;
26958
27922
 
27923
+ // no more data can be written.
27924
+ // But allow more writes to happen in this tick.
26959
27925
  process.nextTick(onEndNT, this);
26960
27926
  }
26961
-
26962
27927
  function onEndNT(self) {
26963
27928
  self.end();
26964
27929
  }
26965
-
26966
27930
  Object.defineProperty(Duplex.prototype, 'destroyed', {
26967
27931
  // making it explicit this property is not enumerable
26968
27932
  // because otherwise some prototype manipulation in
@@ -26972,7 +27936,6 @@ Object.defineProperty(Duplex.prototype, 'destroyed', {
26972
27936
  if (this._readableState === undefined || this._writableState === undefined) {
26973
27937
  return false;
26974
27938
  }
26975
-
26976
27939
  return this._readableState.destroyed && this._writableState.destroyed;
26977
27940
  },
26978
27941
  set: function set(value) {
@@ -26980,10 +27943,10 @@ Object.defineProperty(Duplex.prototype, 'destroyed', {
26980
27943
  // has not been initialized yet
26981
27944
  if (this._readableState === undefined || this._writableState === undefined) {
26982
27945
  return;
26983
- } // backward compatibility, the user is explicitly
26984
- // managing destroyed
26985
-
27946
+ }
26986
27947
 
27948
+ // backward compatibility, the user is explicitly
27949
+ // managing destroyed
26987
27950
  this._readableState.destroyed = value;
26988
27951
  this._writableState.destroyed = value;
26989
27952
  }
@@ -26991,7 +27954,7 @@ Object.defineProperty(Duplex.prototype, 'destroyed', {
26991
27954
 
26992
27955
  /***/ }),
26993
27956
 
26994
- /***/ 6010:
27957
+ /***/ 7511:
26995
27958
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
26996
27959
 
26997
27960
  "use strict";
@@ -27015,29 +27978,27 @@ Object.defineProperty(Duplex.prototype, 'destroyed', {
27015
27978
  // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
27016
27979
  // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
27017
27980
  // USE OR OTHER DEALINGS IN THE SOFTWARE.
27981
+
27018
27982
  // a passthrough stream.
27019
27983
  // basically just the most minimal sort of Transform stream.
27020
27984
  // Every written chunk gets output as-is.
27021
27985
 
27022
27986
 
27023
- module.exports = PassThrough;
27024
-
27025
- var Transform = __webpack_require__(4838);
27026
27987
 
27988
+ module.exports = PassThrough;
27989
+ var Transform = __webpack_require__(4218);
27027
27990
  __webpack_require__(834)(PassThrough, Transform);
27028
-
27029
27991
  function PassThrough(options) {
27030
27992
  if (!(this instanceof PassThrough)) return new PassThrough(options);
27031
27993
  Transform.call(this, options);
27032
27994
  }
27033
-
27034
27995
  PassThrough.prototype._transform = function (chunk, encoding, cb) {
27035
27996
  cb(null, chunk);
27036
27997
  };
27037
27998
 
27038
27999
  /***/ }),
27039
28000
 
27040
- /***/ 5150:
28001
+ /***/ 4769:
27041
28002
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
27042
28003
 
27043
28004
  "use strict";
@@ -27063,47 +28024,38 @@ PassThrough.prototype._transform = function (chunk, encoding, cb) {
27063
28024
  // USE OR OTHER DEALINGS IN THE SOFTWARE.
27064
28025
 
27065
28026
 
28027
+
27066
28028
  module.exports = Readable;
27067
- /*<replacement>*/
27068
28029
 
28030
+ /*<replacement>*/
27069
28031
  var Duplex;
27070
28032
  /*</replacement>*/
27071
28033
 
27072
28034
  Readable.ReadableState = ReadableState;
27073
- /*<replacement>*/
27074
28035
 
28036
+ /*<replacement>*/
27075
28037
  var EE = __webpack_require__(8614).EventEmitter;
27076
-
27077
28038
  var EElistenerCount = function EElistenerCount(emitter, type) {
27078
28039
  return emitter.listeners(type).length;
27079
28040
  };
27080
28041
  /*</replacement>*/
27081
28042
 
27082
28043
  /*<replacement>*/
27083
-
27084
-
27085
- var Stream = __webpack_require__(4258);
28044
+ var Stream = __webpack_require__(309);
27086
28045
  /*</replacement>*/
27087
28046
 
27088
-
27089
28047
  var Buffer = __webpack_require__(4293).Buffer;
27090
-
27091
- var OurUint8Array = global.Uint8Array || function () {};
27092
-
28048
+ var OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {};
27093
28049
  function _uint8ArrayToBuffer(chunk) {
27094
28050
  return Buffer.from(chunk);
27095
28051
  }
27096
-
27097
28052
  function _isUint8Array(obj) {
27098
28053
  return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;
27099
28054
  }
27100
- /*<replacement>*/
27101
-
27102
28055
 
28056
+ /*<replacement>*/
27103
28057
  var debugUtil = __webpack_require__(1669);
27104
-
27105
28058
  var debug;
27106
-
27107
28059
  if (debugUtil && debugUtil.debuglog) {
27108
28060
  debug = debugUtil.debuglog('stream');
27109
28061
  } else {
@@ -27111,60 +28063,57 @@ if (debugUtil && debugUtil.debuglog) {
27111
28063
  }
27112
28064
  /*</replacement>*/
27113
28065
 
27114
-
27115
- var BufferList = __webpack_require__(8952);
27116
-
27117
- var destroyImpl = __webpack_require__(3089);
27118
-
27119
- var _require = __webpack_require__(2625),
27120
- getHighWaterMark = _require.getHighWaterMark;
27121
-
27122
- var _require$codes = __webpack_require__(7970)/* .codes */ .q,
27123
- ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,
27124
- ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF,
27125
- ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
27126
- ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; // Lazy loaded to improve the startup performance.
27127
-
27128
-
28066
+ var BufferList = __webpack_require__(1370);
28067
+ var destroyImpl = __webpack_require__(4403);
28068
+ var _require = __webpack_require__(7724),
28069
+ getHighWaterMark = _require.getHighWaterMark;
28070
+ var _require$codes = __webpack_require__(4857)/* .codes */ .q,
28071
+ ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,
28072
+ ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF,
28073
+ ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
28074
+ ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;
28075
+
28076
+ // Lazy loaded to improve the startup performance.
27129
28077
  var StringDecoder;
27130
28078
  var createReadableStreamAsyncIterator;
27131
28079
  var from;
27132
-
27133
28080
  __webpack_require__(834)(Readable, Stream);
27134
-
27135
28081
  var errorOrDestroy = destroyImpl.errorOrDestroy;
27136
28082
  var kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume'];
27137
-
27138
28083
  function prependListener(emitter, event, fn) {
27139
28084
  // Sadly this is not cacheable as some libraries bundle their own
27140
28085
  // event emitter implementation with them.
27141
- if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn); // This is a hack to make sure that our error handler is attached before any
28086
+ if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn);
28087
+
28088
+ // This is a hack to make sure that our error handler is attached before any
27142
28089
  // userland ones. NEVER DO THIS. This is here only because this code needs
27143
28090
  // to continue to work with older versions of Node.js that do not include
27144
28091
  // the prependListener() method. The goal is to eventually remove this hack.
27145
-
27146
28092
  if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (Array.isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]];
27147
28093
  }
27148
-
27149
28094
  function ReadableState(options, stream, isDuplex) {
27150
- Duplex = Duplex || __webpack_require__(6509);
27151
- options = options || {}; // Duplex streams are both readable and writable, but share
28095
+ Duplex = Duplex || __webpack_require__(4604);
28096
+ options = options || {};
28097
+
28098
+ // Duplex streams are both readable and writable, but share
27152
28099
  // the same options object.
27153
28100
  // However, some cases require setting options to different
27154
28101
  // values for the readable and the writable sides of the duplex stream.
27155
28102
  // These options can be provided separately as readableXXX and writableXXX.
28103
+ if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex;
27156
28104
 
27157
- if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag. Used to make read(n) ignore n and to
28105
+ // object stream flag. Used to make read(n) ignore n and to
27158
28106
  // make all the buffer merging and length checks go away
27159
-
27160
28107
  this.objectMode = !!options.objectMode;
27161
- if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode; // the point at which it stops calling _read() to fill the buffer
28108
+ if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;
28109
+
28110
+ // the point at which it stops calling _read() to fill the buffer
27162
28111
  // Note: 0 is a valid value, means "don't call _read preemptively ever"
28112
+ this.highWaterMark = getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex);
27163
28113
 
27164
- this.highWaterMark = getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex); // A linked list is used to store data chunks instead of an array because the
28114
+ // A linked list is used to store data chunks instead of an array because the
27165
28115
  // linked list can remove elements from the beginning faster than
27166
28116
  // array.shift()
27167
-
27168
28117
  this.buffer = new BufferList();
27169
28118
  this.length = 0;
27170
28119
  this.pipes = null;
@@ -27172,61 +28121,66 @@ function ReadableState(options, stream, isDuplex) {
27172
28121
  this.flowing = null;
27173
28122
  this.ended = false;
27174
28123
  this.endEmitted = false;
27175
- this.reading = false; // a flag to be able to tell if the event 'readable'/'data' is emitted
28124
+ this.reading = false;
28125
+
28126
+ // a flag to be able to tell if the event 'readable'/'data' is emitted
27176
28127
  // immediately, or on a later tick. We set this to true at first, because
27177
28128
  // any actions that shouldn't happen until "later" should generally also
27178
28129
  // not happen before the first read call.
28130
+ this.sync = true;
27179
28131
 
27180
- this.sync = true; // whenever we return null, then we set a flag to say
28132
+ // whenever we return null, then we set a flag to say
27181
28133
  // that we're awaiting a 'readable' event emission.
27182
-
27183
28134
  this.needReadable = false;
27184
28135
  this.emittedReadable = false;
27185
28136
  this.readableListening = false;
27186
28137
  this.resumeScheduled = false;
27187
- this.paused = true; // Should close be emitted on destroy. Defaults to true.
28138
+ this.paused = true;
27188
28139
 
27189
- this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'end' (and potentially 'finish')
28140
+ // Should close be emitted on destroy. Defaults to true.
28141
+ this.emitClose = options.emitClose !== false;
27190
28142
 
27191
- this.autoDestroy = !!options.autoDestroy; // has it been destroyed
28143
+ // Should .destroy() be called after 'end' (and potentially 'finish')
28144
+ this.autoDestroy = !!options.autoDestroy;
27192
28145
 
27193
- this.destroyed = false; // Crypto is kind of old and crusty. Historically, its default string
28146
+ // has it been destroyed
28147
+ this.destroyed = false;
28148
+
28149
+ // Crypto is kind of old and crusty. Historically, its default string
27194
28150
  // encoding is 'binary' so we have to make this configurable.
27195
28151
  // Everything else in the universe uses 'utf8', though.
28152
+ this.defaultEncoding = options.defaultEncoding || 'utf8';
27196
28153
 
27197
- this.defaultEncoding = options.defaultEncoding || 'utf8'; // the number of writers that are awaiting a drain event in .pipe()s
27198
-
27199
- this.awaitDrain = 0; // if true, a maybeReadMore has been scheduled
28154
+ // the number of writers that are awaiting a drain event in .pipe()s
28155
+ this.awaitDrain = 0;
27200
28156
 
28157
+ // if true, a maybeReadMore has been scheduled
27201
28158
  this.readingMore = false;
27202
28159
  this.decoder = null;
27203
28160
  this.encoding = null;
27204
-
27205
28161
  if (options.encoding) {
27206
28162
  if (!StringDecoder) StringDecoder = __webpack_require__(9811)/* .StringDecoder */ .s;
27207
28163
  this.decoder = new StringDecoder(options.encoding);
27208
28164
  this.encoding = options.encoding;
27209
28165
  }
27210
28166
  }
27211
-
27212
28167
  function Readable(options) {
27213
- Duplex = Duplex || __webpack_require__(6509);
27214
- if (!(this instanceof Readable)) return new Readable(options); // Checking for a Stream.Duplex instance is faster here instead of inside
27215
- // the ReadableState constructor, at least with V8 6.5
28168
+ Duplex = Duplex || __webpack_require__(4604);
28169
+ if (!(this instanceof Readable)) return new Readable(options);
27216
28170
 
28171
+ // Checking for a Stream.Duplex instance is faster here instead of inside
28172
+ // the ReadableState constructor, at least with V8 6.5
27217
28173
  var isDuplex = this instanceof Duplex;
27218
- this._readableState = new ReadableState(options, this, isDuplex); // legacy
28174
+ this._readableState = new ReadableState(options, this, isDuplex);
27219
28175
 
28176
+ // legacy
27220
28177
  this.readable = true;
27221
-
27222
28178
  if (options) {
27223
28179
  if (typeof options.read === 'function') this._read = options.read;
27224
28180
  if (typeof options.destroy === 'function') this._destroy = options.destroy;
27225
28181
  }
27226
-
27227
28182
  Stream.call(this);
27228
28183
  }
27229
-
27230
28184
  Object.defineProperty(Readable.prototype, 'destroyed', {
27231
28185
  // making it explicit this property is not enumerable
27232
28186
  // because otherwise some prototype manipulation in
@@ -27236,7 +28190,6 @@ Object.defineProperty(Readable.prototype, 'destroyed', {
27236
28190
  if (this._readableState === undefined) {
27237
28191
  return false;
27238
28192
  }
27239
-
27240
28193
  return this._readableState.destroyed;
27241
28194
  },
27242
28195
  set: function set(value) {
@@ -27244,69 +28197,60 @@ Object.defineProperty(Readable.prototype, 'destroyed', {
27244
28197
  // has not been initialized yet
27245
28198
  if (!this._readableState) {
27246
28199
  return;
27247
- } // backward compatibility, the user is explicitly
27248
- // managing destroyed
27249
-
28200
+ }
27250
28201
 
28202
+ // backward compatibility, the user is explicitly
28203
+ // managing destroyed
27251
28204
  this._readableState.destroyed = value;
27252
28205
  }
27253
28206
  });
27254
28207
  Readable.prototype.destroy = destroyImpl.destroy;
27255
28208
  Readable.prototype._undestroy = destroyImpl.undestroy;
27256
-
27257
28209
  Readable.prototype._destroy = function (err, cb) {
27258
28210
  cb(err);
27259
- }; // Manually shove something into the read() buffer.
28211
+ };
28212
+
28213
+ // Manually shove something into the read() buffer.
27260
28214
  // This returns true if the highWaterMark has not been hit yet,
27261
28215
  // similar to how Writable.write() returns true if you should
27262
28216
  // write() some more.
27263
-
27264
-
27265
28217
  Readable.prototype.push = function (chunk, encoding) {
27266
28218
  var state = this._readableState;
27267
28219
  var skipChunkCheck;
27268
-
27269
28220
  if (!state.objectMode) {
27270
28221
  if (typeof chunk === 'string') {
27271
28222
  encoding = encoding || state.defaultEncoding;
27272
-
27273
28223
  if (encoding !== state.encoding) {
27274
28224
  chunk = Buffer.from(chunk, encoding);
27275
28225
  encoding = '';
27276
28226
  }
27277
-
27278
28227
  skipChunkCheck = true;
27279
28228
  }
27280
28229
  } else {
27281
28230
  skipChunkCheck = true;
27282
28231
  }
27283
-
27284
28232
  return readableAddChunk(this, chunk, encoding, false, skipChunkCheck);
27285
- }; // Unshift should *always* be something directly out of read()
27286
-
28233
+ };
27287
28234
 
28235
+ // Unshift should *always* be something directly out of read()
27288
28236
  Readable.prototype.unshift = function (chunk) {
27289
28237
  return readableAddChunk(this, chunk, null, true, false);
27290
28238
  };
27291
-
27292
28239
  function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {
27293
28240
  debug('readableAddChunk', chunk);
27294
28241
  var state = stream._readableState;
27295
-
27296
28242
  if (chunk === null) {
27297
28243
  state.reading = false;
27298
28244
  onEofChunk(stream, state);
27299
28245
  } else {
27300
28246
  var er;
27301
28247
  if (!skipChunkCheck) er = chunkInvalid(state, chunk);
27302
-
27303
28248
  if (er) {
27304
28249
  errorOrDestroy(stream, er);
27305
28250
  } else if (state.objectMode || chunk && chunk.length > 0) {
27306
28251
  if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) {
27307
28252
  chunk = _uint8ArrayToBuffer(chunk);
27308
28253
  }
27309
-
27310
28254
  if (addToFront) {
27311
28255
  if (state.endEmitted) errorOrDestroy(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT());else addChunk(stream, state, chunk, true);
27312
28256
  } else if (state.ended) {
@@ -27315,7 +28259,6 @@ function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {
27315
28259
  return false;
27316
28260
  } else {
27317
28261
  state.reading = false;
27318
-
27319
28262
  if (state.decoder && !encoding) {
27320
28263
  chunk = state.decoder.write(chunk);
27321
28264
  if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state);
@@ -27327,14 +28270,13 @@ function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) {
27327
28270
  state.reading = false;
27328
28271
  maybeReadMore(stream, state);
27329
28272
  }
27330
- } // We can push more data if we are below the highWaterMark.
28273
+ }
28274
+
28275
+ // We can push more data if we are below the highWaterMark.
27331
28276
  // Also, if we have no data yet, we can stand some more bytes.
27332
28277
  // This is to work around cases where hwm=0, such as the repl.
27333
-
27334
-
27335
28278
  return !state.ended && (state.length < state.highWaterMark || state.length === 0);
27336
28279
  }
27337
-
27338
28280
  function addChunk(stream, state, chunk, addToFront) {
27339
28281
  if (state.flowing && state.length === 0 && !state.sync) {
27340
28282
  state.awaitDrain = 0;
@@ -27345,50 +28287,42 @@ function addChunk(stream, state, chunk, addToFront) {
27345
28287
  if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk);
27346
28288
  if (state.needReadable) emitReadable(stream);
27347
28289
  }
27348
-
27349
28290
  maybeReadMore(stream, state);
27350
28291
  }
27351
-
27352
28292
  function chunkInvalid(state, chunk) {
27353
28293
  var er;
27354
-
27355
28294
  if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) {
27356
28295
  er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer', 'Uint8Array'], chunk);
27357
28296
  }
27358
-
27359
28297
  return er;
27360
28298
  }
27361
-
27362
28299
  Readable.prototype.isPaused = function () {
27363
28300
  return this._readableState.flowing === false;
27364
- }; // backwards compatibility.
27365
-
28301
+ };
27366
28302
 
28303
+ // backwards compatibility.
27367
28304
  Readable.prototype.setEncoding = function (enc) {
27368
28305
  if (!StringDecoder) StringDecoder = __webpack_require__(9811)/* .StringDecoder */ .s;
27369
28306
  var decoder = new StringDecoder(enc);
27370
- this._readableState.decoder = decoder; // If setEncoding(null), decoder.encoding equals utf8
27371
-
27372
- this._readableState.encoding = this._readableState.decoder.encoding; // Iterate over current buffer to convert already stored Buffers:
28307
+ this._readableState.decoder = decoder;
28308
+ // If setEncoding(null), decoder.encoding equals utf8
28309
+ this._readableState.encoding = this._readableState.decoder.encoding;
27373
28310
 
28311
+ // Iterate over current buffer to convert already stored Buffers:
27374
28312
  var p = this._readableState.buffer.head;
27375
28313
  var content = '';
27376
-
27377
28314
  while (p !== null) {
27378
28315
  content += decoder.write(p.data);
27379
28316
  p = p.next;
27380
28317
  }
27381
-
27382
28318
  this._readableState.buffer.clear();
27383
-
27384
28319
  if (content !== '') this._readableState.buffer.push(content);
27385
28320
  this._readableState.length = content.length;
27386
28321
  return this;
27387
- }; // Don't raise the hwm > 1GB
27388
-
28322
+ };
27389
28323
 
28324
+ // Don't raise the hwm > 1GB
27390
28325
  var MAX_HWM = 0x40000000;
27391
-
27392
28326
  function computeNewHighWaterMark(n) {
27393
28327
  if (n >= MAX_HWM) {
27394
28328
  // TODO(ronag): Throw ERR_VALUE_OUT_OF_RANGE.
@@ -27404,55 +28338,54 @@ function computeNewHighWaterMark(n) {
27404
28338
  n |= n >>> 16;
27405
28339
  n++;
27406
28340
  }
27407
-
27408
28341
  return n;
27409
- } // This function is designed to be inlinable, so please take care when making
27410
- // changes to the function body.
27411
-
28342
+ }
27412
28343
 
28344
+ // This function is designed to be inlinable, so please take care when making
28345
+ // changes to the function body.
27413
28346
  function howMuchToRead(n, state) {
27414
28347
  if (n <= 0 || state.length === 0 && state.ended) return 0;
27415
28348
  if (state.objectMode) return 1;
27416
-
27417
28349
  if (n !== n) {
27418
28350
  // Only flow one buffer at a time
27419
28351
  if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length;
27420
- } // If we're asking for more than the current hwm, then raise the hwm.
27421
-
27422
-
28352
+ }
28353
+ // If we're asking for more than the current hwm, then raise the hwm.
27423
28354
  if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n);
27424
- if (n <= state.length) return n; // Don't have enough
27425
-
28355
+ if (n <= state.length) return n;
28356
+ // Don't have enough
27426
28357
  if (!state.ended) {
27427
28358
  state.needReadable = true;
27428
28359
  return 0;
27429
28360
  }
27430
-
27431
28361
  return state.length;
27432
- } // you can override either this method, or the async _read(n) below.
27433
-
28362
+ }
27434
28363
 
28364
+ // you can override either this method, or the async _read(n) below.
27435
28365
  Readable.prototype.read = function (n) {
27436
28366
  debug('read', n);
27437
28367
  n = parseInt(n, 10);
27438
28368
  var state = this._readableState;
27439
28369
  var nOrig = n;
27440
- if (n !== 0) state.emittedReadable = false; // if we're doing read(0) to trigger a readable event, but we
28370
+ if (n !== 0) state.emittedReadable = false;
28371
+
28372
+ // if we're doing read(0) to trigger a readable event, but we
27441
28373
  // already have a bunch of data in the buffer, then just trigger
27442
28374
  // the 'readable' event and move on.
27443
-
27444
28375
  if (n === 0 && state.needReadable && ((state.highWaterMark !== 0 ? state.length >= state.highWaterMark : state.length > 0) || state.ended)) {
27445
28376
  debug('read: emitReadable', state.length, state.ended);
27446
28377
  if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this);
27447
28378
  return null;
27448
28379
  }
28380
+ n = howMuchToRead(n, state);
27449
28381
 
27450
- n = howMuchToRead(n, state); // if we've ended, and we're now clear, then finish it up.
27451
-
28382
+ // if we've ended, and we're now clear, then finish it up.
27452
28383
  if (n === 0 && state.ended) {
27453
28384
  if (state.length === 0) endReadable(this);
27454
28385
  return null;
27455
- } // All the actual chunk generation logic needs to be
28386
+ }
28387
+
28388
+ // All the actual chunk generation logic needs to be
27456
28389
  // *below* the call to _read. The reason is that in certain
27457
28390
  // synthetic stream cases, such as passthrough streams, _read
27458
28391
  // may be a completely synchronous operation which may change
@@ -27473,40 +28406,37 @@ Readable.prototype.read = function (n) {
27473
28406
  // 'readable' etc.
27474
28407
  //
27475
28408
  // 3. Actually pull the requested chunks out of the buffer and return.
27476
- // if we need a readable event, then we need to do some reading.
27477
-
27478
28409
 
28410
+ // if we need a readable event, then we need to do some reading.
27479
28411
  var doRead = state.needReadable;
27480
- debug('need readable', doRead); // if we currently have less than the highWaterMark, then also read some
28412
+ debug('need readable', doRead);
27481
28413
 
28414
+ // if we currently have less than the highWaterMark, then also read some
27482
28415
  if (state.length === 0 || state.length - n < state.highWaterMark) {
27483
28416
  doRead = true;
27484
28417
  debug('length less than watermark', doRead);
27485
- } // however, if we've ended, then there's no point, and if we're already
27486
- // reading, then it's unnecessary.
27487
-
28418
+ }
27488
28419
 
28420
+ // however, if we've ended, then there's no point, and if we're already
28421
+ // reading, then it's unnecessary.
27489
28422
  if (state.ended || state.reading) {
27490
28423
  doRead = false;
27491
28424
  debug('reading or ended', doRead);
27492
28425
  } else if (doRead) {
27493
28426
  debug('do read');
27494
28427
  state.reading = true;
27495
- state.sync = true; // if the length is currently zero, then we *need* a readable event.
27496
-
27497
- if (state.length === 0) state.needReadable = true; // call internal read method
27498
-
28428
+ state.sync = true;
28429
+ // if the length is currently zero, then we *need* a readable event.
28430
+ if (state.length === 0) state.needReadable = true;
28431
+ // call internal read method
27499
28432
  this._read(state.highWaterMark);
27500
-
27501
- state.sync = false; // If _read pushed data synchronously, then `reading` will be false,
28433
+ state.sync = false;
28434
+ // If _read pushed data synchronously, then `reading` will be false,
27502
28435
  // and we need to re-evaluate how much data we can return to the user.
27503
-
27504
28436
  if (!state.reading) n = howMuchToRead(nOrig, state);
27505
28437
  }
27506
-
27507
28438
  var ret;
27508
28439
  if (n > 0) ret = fromList(n, state);else ret = null;
27509
-
27510
28440
  if (ret === null) {
27511
28441
  state.needReadable = state.length <= state.highWaterMark;
27512
28442
  n = 0;
@@ -27514,34 +28444,28 @@ Readable.prototype.read = function (n) {
27514
28444
  state.length -= n;
27515
28445
  state.awaitDrain = 0;
27516
28446
  }
27517
-
27518
28447
  if (state.length === 0) {
27519
28448
  // If we have nothing in the buffer, then we want to know
27520
28449
  // as soon as we *do* get something into the buffer.
27521
- if (!state.ended) state.needReadable = true; // If we tried to read() past the EOF, then emit end on the next tick.
28450
+ if (!state.ended) state.needReadable = true;
27522
28451
 
28452
+ // If we tried to read() past the EOF, then emit end on the next tick.
27523
28453
  if (nOrig !== n && state.ended) endReadable(this);
27524
28454
  }
27525
-
27526
28455
  if (ret !== null) this.emit('data', ret);
27527
28456
  return ret;
27528
28457
  };
27529
-
27530
28458
  function onEofChunk(stream, state) {
27531
28459
  debug('onEofChunk');
27532
28460
  if (state.ended) return;
27533
-
27534
28461
  if (state.decoder) {
27535
28462
  var chunk = state.decoder.end();
27536
-
27537
28463
  if (chunk && chunk.length) {
27538
28464
  state.buffer.push(chunk);
27539
28465
  state.length += state.objectMode ? 1 : chunk.length;
27540
28466
  }
27541
28467
  }
27542
-
27543
28468
  state.ended = true;
27544
-
27545
28469
  if (state.sync) {
27546
28470
  // if we are sync, wait until next tick to emit the data.
27547
28471
  // Otherwise we risk emitting data in the flow()
@@ -27550,61 +28474,56 @@ function onEofChunk(stream, state) {
27550
28474
  } else {
27551
28475
  // emit 'readable' now to make sure it gets picked up.
27552
28476
  state.needReadable = false;
27553
-
27554
28477
  if (!state.emittedReadable) {
27555
28478
  state.emittedReadable = true;
27556
28479
  emitReadable_(stream);
27557
28480
  }
27558
28481
  }
27559
- } // Don't emit readable right away in sync mode, because this can trigger
28482
+ }
28483
+
28484
+ // Don't emit readable right away in sync mode, because this can trigger
27560
28485
  // another read() call => stack overflow. This way, it might trigger
27561
28486
  // a nextTick recursion warning, but that's not so bad.
27562
-
27563
-
27564
28487
  function emitReadable(stream) {
27565
28488
  var state = stream._readableState;
27566
28489
  debug('emitReadable', state.needReadable, state.emittedReadable);
27567
28490
  state.needReadable = false;
27568
-
27569
28491
  if (!state.emittedReadable) {
27570
28492
  debug('emitReadable', state.flowing);
27571
28493
  state.emittedReadable = true;
27572
28494
  process.nextTick(emitReadable_, stream);
27573
28495
  }
27574
28496
  }
27575
-
27576
28497
  function emitReadable_(stream) {
27577
28498
  var state = stream._readableState;
27578
28499
  debug('emitReadable_', state.destroyed, state.length, state.ended);
27579
-
27580
28500
  if (!state.destroyed && (state.length || state.ended)) {
27581
28501
  stream.emit('readable');
27582
28502
  state.emittedReadable = false;
27583
- } // The stream needs another readable event if
28503
+ }
28504
+
28505
+ // The stream needs another readable event if
27584
28506
  // 1. It is not flowing, as the flow mechanism will take
27585
28507
  // care of it.
27586
28508
  // 2. It is not ended.
27587
28509
  // 3. It is below the highWaterMark, so we can schedule
27588
28510
  // another readable later.
27589
-
27590
-
27591
28511
  state.needReadable = !state.flowing && !state.ended && state.length <= state.highWaterMark;
27592
28512
  flow(stream);
27593
- } // at this point, the user has presumably seen the 'readable' event,
28513
+ }
28514
+
28515
+ // at this point, the user has presumably seen the 'readable' event,
27594
28516
  // and called read() to consume some data. that may have triggered
27595
28517
  // in turn another _read(n) call, in which case reading = true if
27596
28518
  // it's in progress.
27597
28519
  // However, if we're not ended, or reading, and the length < hwm,
27598
28520
  // then go ahead and try to read some more preemptively.
27599
-
27600
-
27601
28521
  function maybeReadMore(stream, state) {
27602
28522
  if (!state.readingMore) {
27603
28523
  state.readingMore = true;
27604
28524
  process.nextTick(maybeReadMore_, stream, state);
27605
28525
  }
27606
28526
  }
27607
-
27608
28527
  function maybeReadMore_(stream, state) {
27609
28528
  // Attempt to read more data if we should.
27610
28529
  //
@@ -27633,49 +28552,42 @@ function maybeReadMore_(stream, state) {
27633
28552
  var len = state.length;
27634
28553
  debug('maybeReadMore read 0');
27635
28554
  stream.read(0);
27636
- if (len === state.length) // didn't get any data, stop spinning.
28555
+ if (len === state.length)
28556
+ // didn't get any data, stop spinning.
27637
28557
  break;
27638
28558
  }
27639
-
27640
28559
  state.readingMore = false;
27641
- } // abstract method. to be overridden in specific implementation classes.
28560
+ }
28561
+
28562
+ // abstract method. to be overridden in specific implementation classes.
27642
28563
  // call cb(er, data) where data is <= n in length.
27643
28564
  // for virtual (non-string, non-buffer) streams, "length" is somewhat
27644
28565
  // arbitrary, and perhaps not very meaningful.
27645
-
27646
-
27647
28566
  Readable.prototype._read = function (n) {
27648
28567
  errorOrDestroy(this, new ERR_METHOD_NOT_IMPLEMENTED('_read()'));
27649
28568
  };
27650
-
27651
28569
  Readable.prototype.pipe = function (dest, pipeOpts) {
27652
28570
  var src = this;
27653
28571
  var state = this._readableState;
27654
-
27655
28572
  switch (state.pipesCount) {
27656
28573
  case 0:
27657
28574
  state.pipes = dest;
27658
28575
  break;
27659
-
27660
28576
  case 1:
27661
28577
  state.pipes = [state.pipes, dest];
27662
28578
  break;
27663
-
27664
28579
  default:
27665
28580
  state.pipes.push(dest);
27666
28581
  break;
27667
28582
  }
27668
-
27669
28583
  state.pipesCount += 1;
27670
28584
  debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);
27671
28585
  var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;
27672
28586
  var endFn = doEnd ? onend : unpipe;
27673
28587
  if (state.endEmitted) process.nextTick(endFn);else src.once('end', endFn);
27674
28588
  dest.on('unpipe', onunpipe);
27675
-
27676
28589
  function onunpipe(readable, unpipeInfo) {
27677
28590
  debug('onunpipe');
27678
-
27679
28591
  if (readable === src) {
27680
28592
  if (unpipeInfo && unpipeInfo.hasUnpiped === false) {
27681
28593
  unpipeInfo.hasUnpiped = true;
@@ -27683,23 +28595,21 @@ Readable.prototype.pipe = function (dest, pipeOpts) {
27683
28595
  }
27684
28596
  }
27685
28597
  }
27686
-
27687
28598
  function onend() {
27688
28599
  debug('onend');
27689
28600
  dest.end();
27690
- } // when the dest drains, it reduces the awaitDrain counter
28601
+ }
28602
+
28603
+ // when the dest drains, it reduces the awaitDrain counter
27691
28604
  // on the source. This would be more elegant with a .once()
27692
28605
  // handler in flow(), but adding and removing repeatedly is
27693
28606
  // too slow.
27694
-
27695
-
27696
28607
  var ondrain = pipeOnDrain(src);
27697
28608
  dest.on('drain', ondrain);
27698
28609
  var cleanedUp = false;
27699
-
27700
28610
  function cleanup() {
27701
- debug('cleanup'); // cleanup event handlers once the pipe is broken
27702
-
28611
+ debug('cleanup');
28612
+ // cleanup event handlers once the pipe is broken
27703
28613
  dest.removeListener('close', onclose);
27704
28614
  dest.removeListener('finish', onfinish);
27705
28615
  dest.removeListener('drain', ondrain);
@@ -27708,22 +28618,20 @@ Readable.prototype.pipe = function (dest, pipeOpts) {
27708
28618
  src.removeListener('end', onend);
27709
28619
  src.removeListener('end', unpipe);
27710
28620
  src.removeListener('data', ondata);
27711
- cleanedUp = true; // if the reader is waiting for a drain event from this
28621
+ cleanedUp = true;
28622
+
28623
+ // if the reader is waiting for a drain event from this
27712
28624
  // specific writer, then it would cause it to never start
27713
28625
  // flowing again.
27714
28626
  // So, if this is awaiting a drain, then we just call it now.
27715
28627
  // If we don't know, then assume that we are waiting for one.
27716
-
27717
28628
  if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain();
27718
28629
  }
27719
-
27720
28630
  src.on('data', ondata);
27721
-
27722
28631
  function ondata(chunk) {
27723
28632
  debug('ondata');
27724
28633
  var ret = dest.write(chunk);
27725
28634
  debug('dest.write', ret);
27726
-
27727
28635
  if (ret === false) {
27728
28636
  // If the user unpiped during `dest.write()`, it is possible
27729
28637
  // to get stuck in a permanently paused state if that write
@@ -27733,87 +28641,84 @@ Readable.prototype.pipe = function (dest, pipeOpts) {
27733
28641
  debug('false write response, pause', state.awaitDrain);
27734
28642
  state.awaitDrain++;
27735
28643
  }
27736
-
27737
28644
  src.pause();
27738
28645
  }
27739
- } // if the dest has an error, then stop piping into it.
27740
- // however, don't suppress the throwing behavior for this.
27741
-
28646
+ }
27742
28647
 
28648
+ // if the dest has an error, then stop piping into it.
28649
+ // however, don't suppress the throwing behavior for this.
27743
28650
  function onerror(er) {
27744
28651
  debug('onerror', er);
27745
28652
  unpipe();
27746
28653
  dest.removeListener('error', onerror);
27747
28654
  if (EElistenerCount(dest, 'error') === 0) errorOrDestroy(dest, er);
27748
- } // Make sure our error handler is attached before userland ones.
27749
-
28655
+ }
27750
28656
 
27751
- prependListener(dest, 'error', onerror); // Both close and finish should trigger unpipe, but only once.
28657
+ // Make sure our error handler is attached before userland ones.
28658
+ prependListener(dest, 'error', onerror);
27752
28659
 
28660
+ // Both close and finish should trigger unpipe, but only once.
27753
28661
  function onclose() {
27754
28662
  dest.removeListener('finish', onfinish);
27755
28663
  unpipe();
27756
28664
  }
27757
-
27758
28665
  dest.once('close', onclose);
27759
-
27760
28666
  function onfinish() {
27761
28667
  debug('onfinish');
27762
28668
  dest.removeListener('close', onclose);
27763
28669
  unpipe();
27764
28670
  }
27765
-
27766
28671
  dest.once('finish', onfinish);
27767
-
27768
28672
  function unpipe() {
27769
28673
  debug('unpipe');
27770
28674
  src.unpipe(dest);
27771
- } // tell the dest that it's being piped to
27772
-
28675
+ }
27773
28676
 
27774
- dest.emit('pipe', src); // start the flow if it hasn't been started already.
28677
+ // tell the dest that it's being piped to
28678
+ dest.emit('pipe', src);
27775
28679
 
28680
+ // start the flow if it hasn't been started already.
27776
28681
  if (!state.flowing) {
27777
28682
  debug('pipe resume');
27778
28683
  src.resume();
27779
28684
  }
27780
-
27781
28685
  return dest;
27782
28686
  };
27783
-
27784
28687
  function pipeOnDrain(src) {
27785
28688
  return function pipeOnDrainFunctionResult() {
27786
28689
  var state = src._readableState;
27787
28690
  debug('pipeOnDrain', state.awaitDrain);
27788
28691
  if (state.awaitDrain) state.awaitDrain--;
27789
-
27790
28692
  if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {
27791
28693
  state.flowing = true;
27792
28694
  flow(src);
27793
28695
  }
27794
28696
  };
27795
28697
  }
27796
-
27797
28698
  Readable.prototype.unpipe = function (dest) {
27798
28699
  var state = this._readableState;
27799
28700
  var unpipeInfo = {
27800
28701
  hasUnpiped: false
27801
- }; // if we're not piping anywhere, then do nothing.
28702
+ };
27802
28703
 
27803
- if (state.pipesCount === 0) return this; // just one destination. most common case.
28704
+ // if we're not piping anywhere, then do nothing.
28705
+ if (state.pipesCount === 0) return this;
27804
28706
 
28707
+ // just one destination. most common case.
27805
28708
  if (state.pipesCount === 1) {
27806
28709
  // passed in one, but it's not the right one.
27807
28710
  if (dest && dest !== state.pipes) return this;
27808
- if (!dest) dest = state.pipes; // got a match.
28711
+ if (!dest) dest = state.pipes;
27809
28712
 
28713
+ // got a match.
27810
28714
  state.pipes = null;
27811
28715
  state.pipesCount = 0;
27812
28716
  state.flowing = false;
27813
28717
  if (dest) dest.emit('unpipe', this, unpipeInfo);
27814
28718
  return this;
27815
- } // slow case. multiple pipe destinations.
28719
+ }
27816
28720
 
28721
+ // slow case. multiple pipe destinations.
27817
28722
 
27818
28723
  if (!dest) {
27819
28724
  // remove all.
@@ -27822,17 +28727,13 @@ Readable.prototype.unpipe = function (dest) {
27822
28727
  state.pipes = null;
27823
28728
  state.pipesCount = 0;
27824
28729
  state.flowing = false;
27825
-
27826
- for (var i = 0; i < len; i++) {
27827
- dests[i].emit('unpipe', this, {
27828
- hasUnpiped: false
27829
- });
27830
- }
27831
-
28730
+ for (var i = 0; i < len; i++) dests[i].emit('unpipe', this, {
28731
+ hasUnpiped: false
28732
+ });
27832
28733
  return this;
27833
- } // try to find the right one.
27834
-
28734
+ }
27835
28735
 
28736
+ // try to find the right one.
27836
28737
  var index = indexOf(state.pipes, dest);
27837
28738
  if (index === -1) return this;
27838
28739
  state.pipes.splice(index, 1);
@@ -27840,19 +28741,19 @@ Readable.prototype.unpipe = function (dest) {
27840
28741
  if (state.pipesCount === 1) state.pipes = state.pipes[0];
27841
28742
  dest.emit('unpipe', this, unpipeInfo);
27842
28743
  return this;
27843
- }; // set up data events if they are asked for
27844
- // Ensure readable listeners eventually get something
27845
-
28744
+ };
27846
28745
 
28746
+ // set up data events if they are asked for
28747
+ // Ensure readable listeners eventually get something
27847
28748
  Readable.prototype.on = function (ev, fn) {
27848
28749
  var res = Stream.prototype.on.call(this, ev, fn);
27849
28750
  var state = this._readableState;
27850
-
27851
28751
  if (ev === 'data') {
27852
28752
  // update readableListening so that resume() may be a no-op
27853
28753
  // a few lines down. This is needed to support once('readable').
27854
- state.readableListening = this.listenerCount('readable') > 0; // Try start flowing on next tick if stream isn't explicitly paused
28754
+ state.readableListening = this.listenerCount('readable') > 0;
27855
28755
 
28756
+ // Try start flowing on next tick if stream isn't explicitly paused
27856
28757
  if (state.flowing !== false) this.resume();
27857
28758
  } else if (ev === 'readable') {
27858
28759
  if (!state.endEmitted && !state.readableListening) {
@@ -27860,7 +28761,6 @@ Readable.prototype.on = function (ev, fn) {
27860
28761
  state.flowing = false;
27861
28762
  state.emittedReadable = false;
27862
28763
  debug('on readable', state.length, state.reading);
27863
-
27864
28764
  if (state.length) {
27865
28765
  emitReadable(this);
27866
28766
  } else if (!state.reading) {
@@ -27868,15 +28768,11 @@ Readable.prototype.on = function (ev, fn) {
27868
28768
  }
27869
28769
  }
27870
28770
  }
27871
-
27872
28771
  return res;
27873
28772
  };
27874
-
27875
28773
  Readable.prototype.addListener = Readable.prototype.on;
27876
-
27877
28774
  Readable.prototype.removeListener = function (ev, fn) {
27878
28775
  var res = Stream.prototype.removeListener.call(this, ev, fn);
27879
-
27880
28776
  if (ev === 'readable') {
27881
28777
  // We need to check if there is someone still listening to
27882
28778
  // readable and reset the state. However this needs to happen
@@ -27886,13 +28782,10 @@ Readable.prototype.removeListener = function (ev, fn) {
27886
28782
  // effect.
27887
28783
  process.nextTick(updateReadableListening, this);
27888
28784
  }
27889
-
27890
28785
  return res;
27891
28786
  };
27892
-
27893
28787
  Readable.prototype.removeAllListeners = function (ev) {
27894
28788
  var res = Stream.prototype.removeAllListeners.apply(this, arguments);
27895
-
27896
28789
  if (ev === 'readable' || ev === undefined) {
27897
28790
  // We need to check if there is someone still listening to
27898
28791
  // readable and reset the state. However this needs to happen
@@ -27902,121 +28795,103 @@ Readable.prototype.removeAllListeners = function (ev) {
27902
28795
  // effect.
27903
28796
  process.nextTick(updateReadableListening, this);
27904
28797
  }
27905
-
27906
28798
  return res;
27907
28799
  };
27908
-
27909
28800
  function updateReadableListening(self) {
27910
28801
  var state = self._readableState;
27911
28802
  state.readableListening = self.listenerCount('readable') > 0;
27912
-
27913
28803
  if (state.resumeScheduled && !state.paused) {
27914
28804
  // flowing needs to be set to true now, otherwise
27915
28805
  // the upcoming resume will not flow.
27916
- state.flowing = true; // crude way to check if we should resume
28806
+ state.flowing = true;
28807
+
28808
+ // crude way to check if we should resume
27917
28809
  } else if (self.listenerCount('data') > 0) {
27918
28810
  self.resume();
27919
28811
  }
27920
28812
  }
27921
-
27922
28813
  function nReadingNextTick(self) {
27923
28814
  debug('readable nexttick read 0');
27924
28815
  self.read(0);
27925
- } // pause() and resume() are remnants of the legacy readable stream API
27926
- // If the user uses them, then switch into old mode.
27927
-
28816
+ }
27928
28817
 
28818
+ // pause() and resume() are remnants of the legacy readable stream API
28819
+ // If the user uses them, then switch into old mode.
27929
28820
  Readable.prototype.resume = function () {
27930
28821
  var state = this._readableState;
27931
-
27932
28822
  if (!state.flowing) {
27933
- debug('resume'); // we flow only if there is no one listening
28823
+ debug('resume');
28824
+ // we flow only if there is no one listening
27934
28825
  // for readable, but we still have to call
27935
28826
  // resume()
27936
-
27937
28827
  state.flowing = !state.readableListening;
27938
28828
  resume(this, state);
27939
28829
  }
27940
-
27941
28830
  state.paused = false;
27942
28831
  return this;
27943
28832
  };
27944
-
27945
28833
  function resume(stream, state) {
27946
28834
  if (!state.resumeScheduled) {
27947
28835
  state.resumeScheduled = true;
27948
28836
  process.nextTick(resume_, stream, state);
27949
28837
  }
27950
28838
  }
27951
-
27952
28839
  function resume_(stream, state) {
27953
28840
  debug('resume', state.reading);
27954
-
27955
28841
  if (!state.reading) {
27956
28842
  stream.read(0);
27957
28843
  }
27958
-
27959
28844
  state.resumeScheduled = false;
27960
28845
  stream.emit('resume');
27961
28846
  flow(stream);
27962
28847
  if (state.flowing && !state.reading) stream.read(0);
27963
28848
  }
27964
-
27965
28849
  Readable.prototype.pause = function () {
27966
28850
  debug('call pause flowing=%j', this._readableState.flowing);
27967
-
27968
28851
  if (this._readableState.flowing !== false) {
27969
28852
  debug('pause');
27970
28853
  this._readableState.flowing = false;
27971
28854
  this.emit('pause');
27972
28855
  }
27973
-
27974
28856
  this._readableState.paused = true;
27975
28857
  return this;
27976
28858
  };
27977
-
27978
28859
  function flow(stream) {
27979
28860
  var state = stream._readableState;
27980
28861
  debug('flow', state.flowing);
28862
+ while (state.flowing && stream.read() !== null);
28863
+ }
27981
28864
 
27982
- while (state.flowing && stream.read() !== null) {
27983
- ;
27984
- }
27985
- } // wrap an old-style stream as the async data source.
28865
+ // wrap an old-style stream as the async data source.
27986
28866
  // This is *not* part of the readable stream interface.
27987
28867
  // It is an ugly unfortunate mess of history.
27988
-
27989
-
27990
28868
  Readable.prototype.wrap = function (stream) {
27991
28869
  var _this = this;
27992
-
27993
28870
  var state = this._readableState;
27994
28871
  var paused = false;
27995
28872
  stream.on('end', function () {
27996
28873
  debug('wrapped end');
27997
-
27998
28874
  if (state.decoder && !state.ended) {
27999
28875
  var chunk = state.decoder.end();
28000
28876
  if (chunk && chunk.length) _this.push(chunk);
28001
28877
  }
28002
-
28003
28878
  _this.push(null);
28004
28879
  });
28005
28880
  stream.on('data', function (chunk) {
28006
28881
  debug('wrapped data');
28007
- if (state.decoder) chunk = state.decoder.write(chunk); // don't skip over falsy values in objectMode
28882
+ if (state.decoder) chunk = state.decoder.write(chunk);
28008
28883
 
28884
+ // don't skip over falsy values in objectMode
28009
28885
  if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return;
28010
-
28011
28886
  var ret = _this.push(chunk);
28012
-
28013
28887
  if (!ret) {
28014
28888
  paused = true;
28015
28889
  stream.pause();
28016
28890
  }
28017
- }); // proxy all the other methods.
28018
- // important when wrapping filters and duplexes.
28891
+ });
28019
28892
 
28893
+ // proxy all the other methods.
28894
+ // important when wrapping filters and duplexes.
28020
28895
  for (var i in stream) {
28021
28896
  if (this[i] === undefined && typeof stream[i] === 'function') {
28022
28897
  this[i] = function methodWrap(method) {
@@ -28025,37 +28900,32 @@ Readable.prototype.wrap = function (stream) {
28025
28900
  };
28026
28901
  }(i);
28027
28902
  }
28028
- } // proxy certain important events.
28029
-
28903
+ }
28030
28904
 
28905
+ // proxy certain important events.
28031
28906
  for (var n = 0; n < kProxyEvents.length; n++) {
28032
28907
  stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n]));
28033
- } // when we try to consume some more bytes, simply unpause the
28034
- // underlying stream.
28035
-
28908
+ }
28036
28909
 
28910
+ // when we try to consume some more bytes, simply unpause the
28911
+ // underlying stream.
28037
28912
  this._read = function (n) {
28038
28913
  debug('wrapped _read', n);
28039
-
28040
28914
  if (paused) {
28041
28915
  paused = false;
28042
28916
  stream.resume();
28043
28917
  }
28044
28918
  };
28045
-
28046
28919
  return this;
28047
28920
  };
28048
-
28049
28921
  if (typeof Symbol === 'function') {
28050
28922
  Readable.prototype[Symbol.asyncIterator] = function () {
28051
28923
  if (createReadableStreamAsyncIterator === undefined) {
28052
- createReadableStreamAsyncIterator = __webpack_require__(6613);
28924
+ createReadableStreamAsyncIterator = __webpack_require__(3997);
28053
28925
  }
28054
-
28055
28926
  return createReadableStreamAsyncIterator(this);
28056
28927
  };
28057
28928
  }
28058
-
28059
28929
  Object.defineProperty(Readable.prototype, 'readableHighWaterMark', {
28060
28930
  // making it explicit this property is not enumerable
28061
28931
  // because otherwise some prototype manipulation in
@@ -28087,8 +28957,9 @@ Object.defineProperty(Readable.prototype, 'readableFlowing', {
28087
28957
  this._readableState.flowing = state;
28088
28958
  }
28089
28959
  }
28090
- }); // exposed for testing purposes only.
28960
+ });
28091
28961
 
28962
+ // exposed for testing purposes only.
28092
28963
  Readable._fromList = fromList;
28093
28964
  Object.defineProperty(Readable.prototype, 'readableLength', {
28094
28965
  // making it explicit this property is not enumerable
@@ -28098,11 +28969,12 @@ Object.defineProperty(Readable.prototype, 'readableLength', {
28098
28969
  get: function get() {
28099
28970
  return this._readableState.length;
28100
28971
  }
28101
- }); // Pluck off n bytes from an array of buffers.
28972
+ });
28973
+
28974
+ // Pluck off n bytes from an array of buffers.
28102
28975
  // Length is the combined lengths of all the buffers in the list.
28103
28976
  // This function is designed to be inlinable, so please take care when making
28104
28977
  // changes to the function body.
28105
-
28106
28978
  function fromList(n, state) {
28107
28979
  // nothing buffered
28108
28980
  if (state.length === 0) return null;
@@ -28117,58 +28989,50 @@ function fromList(n, state) {
28117
28989
  }
28118
28990
  return ret;
28119
28991
  }
28120
-
28121
28992
  function endReadable(stream) {
28122
28993
  var state = stream._readableState;
28123
28994
  debug('endReadable', state.endEmitted);
28124
-
28125
28995
  if (!state.endEmitted) {
28126
28996
  state.ended = true;
28127
28997
  process.nextTick(endReadableNT, state, stream);
28128
28998
  }
28129
28999
  }
28130
-
28131
29000
  function endReadableNT(state, stream) {
28132
- debug('endReadableNT', state.endEmitted, state.length); // Check that we didn't get one last unshift.
29001
+ debug('endReadableNT', state.endEmitted, state.length);
28133
29002
 
29003
+ // Check that we didn't get one last unshift.
28134
29004
  if (!state.endEmitted && state.length === 0) {
28135
29005
  state.endEmitted = true;
28136
29006
  stream.readable = false;
28137
29007
  stream.emit('end');
28138
-
28139
29008
  if (state.autoDestroy) {
28140
29009
  // In case of duplex streams we need a way to detect
28141
29010
  // if the writable side is ready for autoDestroy as well
28142
29011
  var wState = stream._writableState;
28143
-
28144
29012
  if (!wState || wState.autoDestroy && wState.finished) {
28145
29013
  stream.destroy();
28146
29014
  }
28147
29015
  }
28148
29016
  }
28149
29017
  }
28150
-
28151
29018
  if (typeof Symbol === 'function') {
28152
29019
  Readable.from = function (iterable, opts) {
28153
29020
  if (from === undefined) {
28154
- from = __webpack_require__(1123);
29021
+ from = __webpack_require__(766);
28155
29022
  }
28156
-
28157
29023
  return from(Readable, iterable, opts);
28158
29024
  };
28159
29025
  }
28160
-
28161
29026
  function indexOf(xs, x) {
28162
29027
  for (var i = 0, l = xs.length; i < l; i++) {
28163
29028
  if (xs[i] === x) return i;
28164
29029
  }
28165
-
28166
29030
  return -1;
28167
29031
  }
28168
29032
 
28169
29033
  /***/ }),
28170
29034
 
28171
- /***/ 4838:
29035
+ /***/ 4218:
28172
29036
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28173
29037
 
28174
29038
  "use strict";
@@ -28192,6 +29056,7 @@ function indexOf(xs, x) {
28192
29056
  // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
28193
29057
  // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
28194
29058
  // USE OR OTHER DEALINGS IN THE SOFTWARE.
29059
+
28195
29060
  // a transform stream is a readable/writable stream where you do
28196
29061
  // something with the data. Sometimes it's called a "filter",
28197
29062
  // but that's not a great name for it, since that implies a thing where
@@ -28235,40 +29100,34 @@ function indexOf(xs, x) {
28235
29100
  // the results of the previous transformed chunk were consumed.
28236
29101
 
28237
29102
 
28238
- module.exports = Transform;
28239
-
28240
- var _require$codes = __webpack_require__(7970)/* .codes */ .q,
28241
- ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
28242
- ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,
28243
- ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,
28244
- ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;
28245
-
28246
- var Duplex = __webpack_require__(6509);
28247
29103
 
29104
+ module.exports = Transform;
29105
+ var _require$codes = __webpack_require__(4857)/* .codes */ .q,
29106
+ ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
29107
+ ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,
29108
+ ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,
29109
+ ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0;
29110
+ var Duplex = __webpack_require__(4604);
28248
29111
  __webpack_require__(834)(Transform, Duplex);
28249
-
28250
29112
  function afterTransform(er, data) {
28251
29113
  var ts = this._transformState;
28252
29114
  ts.transforming = false;
28253
29115
  var cb = ts.writecb;
28254
-
28255
29116
  if (cb === null) {
28256
29117
  return this.emit('error', new ERR_MULTIPLE_CALLBACK());
28257
29118
  }
28258
-
28259
29119
  ts.writechunk = null;
28260
29120
  ts.writecb = null;
28261
- if (data != null) // single equals check for both `null` and `undefined`
29121
+ if (data != null)
29122
+ // single equals check for both `null` and `undefined`
28262
29123
  this.push(data);
28263
29124
  cb(er);
28264
29125
  var rs = this._readableState;
28265
29126
  rs.reading = false;
28266
-
28267
29127
  if (rs.needReadable || rs.length < rs.highWaterMark) {
28268
29128
  this._read(rs.highWaterMark);
28269
29129
  }
28270
29130
  }
28271
-
28272
29131
  function Transform(options) {
28273
29132
  if (!(this instanceof Transform)) return new Transform(options);
28274
29133
  Duplex.call(this, options);
@@ -28279,26 +29138,25 @@ function Transform(options) {
28279
29138
  writecb: null,
28280
29139
  writechunk: null,
28281
29140
  writeencoding: null
28282
- }; // start out asking for a readable event once data is transformed.
29141
+ };
28283
29142
 
28284
- this._readableState.needReadable = true; // we have implemented the _read method, and done the other things
29143
+ // start out asking for a readable event once data is transformed.
29144
+ this._readableState.needReadable = true;
29145
+
29146
+ // we have implemented the _read method, and done the other things
28285
29147
  // that Readable wants before the first _read call, so unset the
28286
29148
  // sync guard flag.
28287
-
28288
29149
  this._readableState.sync = false;
28289
-
28290
29150
  if (options) {
28291
29151
  if (typeof options.transform === 'function') this._transform = options.transform;
28292
29152
  if (typeof options.flush === 'function') this._flush = options.flush;
28293
- } // When the writable side finishes, then flush out anything remaining.
28294
-
29153
+ }
28295
29154
 
29155
+ // When the writable side finishes, then flush out anything remaining.
28296
29156
  this.on('prefinish', prefinish);
28297
29157
  }
28298
-
28299
29158
  function prefinish() {
28300
29159
  var _this = this;
28301
-
28302
29160
  if (typeof this._flush === 'function' && !this._readableState.destroyed) {
28303
29161
  this._flush(function (er, data) {
28304
29162
  done(_this, er, data);
@@ -28307,11 +29165,12 @@ function prefinish() {
28307
29165
  done(this, null, null);
28308
29166
  }
28309
29167
  }
28310
-
28311
29168
  Transform.prototype.push = function (chunk, encoding) {
28312
29169
  this._transformState.needTransform = false;
28313
29170
  return Duplex.prototype.push.call(this, chunk, encoding);
28314
- }; // This is the part where you do stuff!
29171
+ };
29172
+
29173
+ // This is the part where you do stuff!
28315
29174
  // override this function in implementation classes.
28316
29175
  // 'chunk' is an input chunk.
28317
29176
  //
@@ -28321,33 +29180,27 @@ Transform.prototype.push = function (chunk, encoding) {
28321
29180
  // Call `cb(err)` when you are done with this chunk. If you pass
28322
29181
  // an error, then that'll put the hurt on the whole operation. If you
28323
29182
  // never call cb(), then you'll never get another chunk.
28324
-
28325
-
28326
29183
  Transform.prototype._transform = function (chunk, encoding, cb) {
28327
29184
  cb(new ERR_METHOD_NOT_IMPLEMENTED('_transform()'));
28328
29185
  };
28329
-
28330
29186
  Transform.prototype._write = function (chunk, encoding, cb) {
28331
29187
  var ts = this._transformState;
28332
29188
  ts.writecb = cb;
28333
29189
  ts.writechunk = chunk;
28334
29190
  ts.writeencoding = encoding;
28335
-
28336
29191
  if (!ts.transforming) {
28337
29192
  var rs = this._readableState;
28338
29193
  if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark);
28339
29194
  }
28340
- }; // Doesn't matter what the args are here.
29195
+ };
29196
+
29197
+ // Doesn't matter what the args are here.
28341
29198
  // _transform does all the work.
28342
29199
  // That we got here means that the readable side wants more data.
28343
-
28344
-
28345
29200
  Transform.prototype._read = function (n) {
28346
29201
  var ts = this._transformState;
28347
-
28348
29202
  if (ts.writechunk !== null && !ts.transforming) {
28349
29203
  ts.transforming = true;
28350
-
28351
29204
  this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);
28352
29205
  } else {
28353
29206
  // mark that we need a transform, so that any data that comes in
@@ -28355,20 +29208,20 @@ Transform.prototype._read = function (n) {
28355
29208
  ts.needTransform = true;
28356
29209
  }
28357
29210
  };
28358
-
28359
29211
  Transform.prototype._destroy = function (err, cb) {
28360
29212
  Duplex.prototype._destroy.call(this, err, function (err2) {
28361
29213
  cb(err2);
28362
29214
  });
28363
29215
  };
28364
-
28365
29216
  function done(stream, er, data) {
28366
29217
  if (er) return stream.emit('error', er);
28367
- if (data != null) // single equals check for both `null` and `undefined`
28368
- stream.push(data); // TODO(BridgeAR): Write a test for these two error cases
29218
+ if (data != null)
29219
+ // single equals check for both `null` and `undefined`
29220
+ stream.push(data);
29221
+
29222
+ // TODO(BridgeAR): Write a test for these two error cases
28369
29223
  // if there's nothing in the write buffer, then that means
28370
29224
  // that nothing more will ever be provided
28371
-
28372
29225
  if (stream._writableState.length) throw new ERR_TRANSFORM_WITH_LENGTH_0();
28373
29226
  if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING();
28374
29227
  return stream.push(null);
@@ -28376,7 +29229,7 @@ function done(stream, er, data) {
28376
29229
 
28377
29230
  /***/ }),
28378
29231
 
28379
- /***/ 5749:
29232
+ /***/ 2560:
28380
29233
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
28381
29234
 
28382
29235
  "use strict";
@@ -28400,29 +29253,29 @@ function done(stream, er, data) {
28400
29253
  // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
28401
29254
  // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
28402
29255
  // USE OR OTHER DEALINGS IN THE SOFTWARE.
29256
+
28403
29257
  // A bit simpler than readable streams.
28404
29258
  // Implement an async ._write(chunk, encoding, cb), and it'll handle all
28405
29259
  // the drain event emission and buffering.
28406
29260
 
28407
29261
 
29262
+
28408
29263
  module.exports = Writable;
28409
- /* <replacement> */
28410
29264
 
29265
+ /* <replacement> */
28411
29266
  function WriteReq(chunk, encoding, cb) {
28412
29267
  this.chunk = chunk;
28413
29268
  this.encoding = encoding;
28414
29269
  this.callback = cb;
28415
29270
  this.next = null;
28416
- } // It seems a linked list but it is not
28417
- // there will be only 2 of these for each stream
28418
-
29271
+ }
28419
29272
 
29273
+ // It seems a linked list but it is not
29274
+ // there will be only 2 of these for each stream
28420
29275
  function CorkedRequest(state) {
28421
29276
  var _this = this;
28422
-
28423
29277
  this.next = null;
28424
29278
  this.entry = null;
28425
-
28426
29279
  this.finish = function () {
28427
29280
  onCorkedFinish(_this, state);
28428
29281
  };
@@ -28430,155 +29283,159 @@ function CorkedRequest(state) {
28430
29283
  /* </replacement> */
28431
29284
 
28432
29285
  /*<replacement>*/
28433
-
28434
-
28435
29286
  var Duplex;
28436
29287
  /*</replacement>*/
28437
29288
 
28438
29289
  Writable.WritableState = WritableState;
28439
- /*<replacement>*/
28440
29290
 
29291
+ /*<replacement>*/
28441
29292
  var internalUtil = {
28442
29293
  deprecate: __webpack_require__(9357)
28443
29294
  };
28444
29295
  /*</replacement>*/
28445
29296
 
28446
29297
  /*<replacement>*/
28447
-
28448
- var Stream = __webpack_require__(4258);
29298
+ var Stream = __webpack_require__(309);
28449
29299
  /*</replacement>*/
28450
29300
 
28451
-
28452
29301
  var Buffer = __webpack_require__(4293).Buffer;
28453
-
28454
- var OurUint8Array = global.Uint8Array || function () {};
28455
-
29302
+ var OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {};
28456
29303
  function _uint8ArrayToBuffer(chunk) {
28457
29304
  return Buffer.from(chunk);
28458
29305
  }
28459
-
28460
29306
  function _isUint8Array(obj) {
28461
29307
  return Buffer.isBuffer(obj) || obj instanceof OurUint8Array;
28462
29308
  }
28463
-
28464
- var destroyImpl = __webpack_require__(3089);
28465
-
28466
- var _require = __webpack_require__(2625),
28467
- getHighWaterMark = _require.getHighWaterMark;
28468
-
28469
- var _require$codes = __webpack_require__(7970)/* .codes */ .q,
28470
- ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,
28471
- ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
28472
- ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,
28473
- ERR_STREAM_CANNOT_PIPE = _require$codes.ERR_STREAM_CANNOT_PIPE,
28474
- ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED,
28475
- ERR_STREAM_NULL_VALUES = _require$codes.ERR_STREAM_NULL_VALUES,
28476
- ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END,
28477
- ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;
28478
-
29309
+ var destroyImpl = __webpack_require__(4403);
29310
+ var _require = __webpack_require__(7724),
29311
+ getHighWaterMark = _require.getHighWaterMark;
29312
+ var _require$codes = __webpack_require__(4857)/* .codes */ .q,
29313
+ ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,
29314
+ ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
29315
+ ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,
29316
+ ERR_STREAM_CANNOT_PIPE = _require$codes.ERR_STREAM_CANNOT_PIPE,
29317
+ ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED,
29318
+ ERR_STREAM_NULL_VALUES = _require$codes.ERR_STREAM_NULL_VALUES,
29319
+ ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END,
29320
+ ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING;
28479
29321
  var errorOrDestroy = destroyImpl.errorOrDestroy;
28480
-
28481
29322
  __webpack_require__(834)(Writable, Stream);
28482
-
28483
29323
  function nop() {}
28484
-
28485
29324
  function WritableState(options, stream, isDuplex) {
28486
- Duplex = Duplex || __webpack_require__(6509);
28487
- options = options || {}; // Duplex streams are both readable and writable, but share
29325
+ Duplex = Duplex || __webpack_require__(4604);
29326
+ options = options || {};
29327
+
29328
+ // Duplex streams are both readable and writable, but share
28488
29329
  // the same options object.
28489
29330
  // However, some cases require setting options to different
28490
29331
  // values for the readable and the writable sides of the duplex stream,
28491
29332
  // e.g. options.readableObjectMode vs. options.writableObjectMode, etc.
29333
+ if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex;
28492
29334
 
28493
- if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag to indicate whether or not this stream
29335
+ // object stream flag to indicate whether or not this stream
28494
29336
  // contains buffers or objects.
28495
-
28496
29337
  this.objectMode = !!options.objectMode;
28497
- if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode; // the point at which write() starts returning false
29338
+ if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;
29339
+
29340
+ // the point at which write() starts returning false
28498
29341
  // Note: 0 is a valid value, means that we always return false if
28499
29342
  // the entire buffer is not flushed immediately on write()
29343
+ this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex);
28500
29344
 
28501
- this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex); // if _final has been called
28502
-
28503
- this.finalCalled = false; // drain event flag.
28504
-
28505
- this.needDrain = false; // at the start of calling end()
29345
+ // if _final has been called
29346
+ this.finalCalled = false;
28506
29347
 
28507
- this.ending = false; // when end() has been called, and returned
28508
-
28509
- this.ended = false; // when 'finish' is emitted
29348
+ // drain event flag.
29349
+ this.needDrain = false;
29350
+ // at the start of calling end()
29351
+ this.ending = false;
29352
+ // when end() has been called, and returned
29353
+ this.ended = false;
29354
+ // when 'finish' is emitted
29355
+ this.finished = false;
28510
29356
 
28511
- this.finished = false; // has it been destroyed
29357
+ // has it been destroyed
29358
+ this.destroyed = false;
28512
29359
 
28513
- this.destroyed = false; // should we decode strings into buffers before passing to _write?
29360
+ // should we decode strings into buffers before passing to _write?
28514
29361
  // this is here so that some node-core streams can optimize string
28515
29362
  // handling at a lower level.
28516
-
28517
29363
  var noDecode = options.decodeStrings === false;
28518
- this.decodeStrings = !noDecode; // Crypto is kind of old and crusty. Historically, its default string
29364
+ this.decodeStrings = !noDecode;
29365
+
29366
+ // Crypto is kind of old and crusty. Historically, its default string
28519
29367
  // encoding is 'binary' so we have to make this configurable.
28520
29368
  // Everything else in the universe uses 'utf8', though.
29369
+ this.defaultEncoding = options.defaultEncoding || 'utf8';
28521
29370
 
28522
- this.defaultEncoding = options.defaultEncoding || 'utf8'; // not an actual buffer we keep track of, but a measurement
29371
+ // not an actual buffer we keep track of, but a measurement
28523
29372
  // of how much we're waiting to get pushed to some underlying
28524
29373
  // socket or file.
29374
+ this.length = 0;
28525
29375
 
28526
- this.length = 0; // a flag to see when we're in the middle of a write.
29376
+ // a flag to see when we're in the middle of a write.
29377
+ this.writing = false;
28527
29378
 
28528
- this.writing = false; // when true all writes will be buffered until .uncork() call
29379
+ // when true all writes will be buffered until .uncork() call
29380
+ this.corked = 0;
28529
29381
 
28530
- this.corked = 0; // a flag to be able to tell if the onwrite cb is called immediately,
29382
+ // a flag to be able to tell if the onwrite cb is called immediately,
28531
29383
  // or on a later tick. We set this to true at first, because any
28532
29384
  // actions that shouldn't happen until "later" should generally also
28533
29385
  // not happen before the first write call.
29386
+ this.sync = true;
28534
29387
 
28535
- this.sync = true; // a flag to know if we're processing previously buffered items, which
29388
+ // a flag to know if we're processing previously buffered items, which
28536
29389
  // may call the _write() callback in the same tick, so that we don't
28537
29390
  // end up in an overlapped onwrite situation.
29391
+ this.bufferProcessing = false;
28538
29392
 
28539
- this.bufferProcessing = false; // the callback that's passed to _write(chunk,cb)
28540
-
29393
+ // the callback that's passed to _write(chunk,cb)
28541
29394
  this.onwrite = function (er) {
28542
29395
  onwrite(stream, er);
28543
- }; // the callback that the user supplies to write(chunk,encoding,cb)
28544
-
29396
+ };
28545
29397
 
28546
- this.writecb = null; // the amount that is being written when _write is called.
29398
+ // the callback that the user supplies to write(chunk,encoding,cb)
29399
+ this.writecb = null;
28547
29400
 
29401
+ // the amount that is being written when _write is called.
28548
29402
  this.writelen = 0;
28549
29403
  this.bufferedRequest = null;
28550
- this.lastBufferedRequest = null; // number of pending user-supplied write callbacks
29404
+ this.lastBufferedRequest = null;
29405
+
29406
+ // number of pending user-supplied write callbacks
28551
29407
  // this must be 0 before 'finish' can be emitted
29408
+ this.pendingcb = 0;
28552
29409
 
28553
- this.pendingcb = 0; // emit prefinish if the only thing we're waiting for is _write cbs
29410
+ // emit prefinish if the only thing we're waiting for is _write cbs
28554
29411
  // This is relevant for synchronous Transform streams
29412
+ this.prefinished = false;
28555
29413
 
28556
- this.prefinished = false; // True if the error was already emitted and should not be thrown again
29414
+ // True if the error was already emitted and should not be thrown again
29415
+ this.errorEmitted = false;
28557
29416
 
28558
- this.errorEmitted = false; // Should close be emitted on destroy. Defaults to true.
29417
+ // Should close be emitted on destroy. Defaults to true.
29418
+ this.emitClose = options.emitClose !== false;
28559
29419
 
28560
- this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'finish' (and potentially 'end')
29420
+ // Should .destroy() be called after 'finish' (and potentially 'end')
29421
+ this.autoDestroy = !!options.autoDestroy;
28561
29422
 
28562
- this.autoDestroy = !!options.autoDestroy; // count buffered requests
29423
+ // count buffered requests
29424
+ this.bufferedRequestCount = 0;
28563
29425
 
28564
- this.bufferedRequestCount = 0; // allocate the first CorkedRequest, there is always
29426
+ // allocate the first CorkedRequest, there is always
28565
29427
  // one allocated and free to use, and we maintain at most two
28566
-
28567
29428
  this.corkedRequestsFree = new CorkedRequest(this);
28568
29429
  }
28569
-
28570
29430
  WritableState.prototype.getBuffer = function getBuffer() {
28571
29431
  var current = this.bufferedRequest;
28572
29432
  var out = [];
28573
-
28574
29433
  while (current) {
28575
29434
  out.push(current);
28576
29435
  current = current.next;
28577
29436
  }
28578
-
28579
29437
  return out;
28580
29438
  };
28581
-
28582
29439
  (function () {
28583
29440
  try {
28584
29441
  Object.defineProperty(WritableState.prototype, 'buffer', {
@@ -28587,12 +29444,11 @@ WritableState.prototype.getBuffer = function getBuffer() {
28587
29444
  }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003')
28588
29445
  });
28589
29446
  } catch (_) {}
28590
- })(); // Test _writableState for inheritance to account for Duplex streams,
28591
- // whose prototype chain only points to Readable.
28592
-
29447
+ })();
28593
29448
 
29449
+ // Test _writableState for inheritance to account for Duplex streams,
29450
+ // whose prototype chain only points to Readable.
28594
29451
  var realHasInstance;
28595
-
28596
29452
  if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') {
28597
29453
  realHasInstance = Function.prototype[Symbol.hasInstance];
28598
29454
  Object.defineProperty(Writable, Symbol.hasInstance, {
@@ -28607,81 +29463,73 @@ if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.protot
28607
29463
  return object instanceof this;
28608
29464
  };
28609
29465
  }
28610
-
28611
29466
  function Writable(options) {
28612
- Duplex = Duplex || __webpack_require__(6509); // Writable ctor is applied to Duplexes, too.
29467
+ Duplex = Duplex || __webpack_require__(4604);
29468
+
29469
+ // Writable ctor is applied to Duplexes, too.
28613
29470
  // `realHasInstance` is necessary because using plain `instanceof`
28614
29471
  // would return false, as no `_writableState` property is attached.
29472
+
28615
29473
  // Trying to use the custom `instanceof` for Writable here will also break the
28616
29474
  // Node.js LazyTransform implementation, which has a non-trivial getter for
28617
29475
  // `_writableState` that would lead to infinite recursion.
29476
+
28618
29477
  // Checking for a Stream.Duplex instance is faster here instead of inside
28619
29478
  // the WritableState constructor, at least with V8 6.5
28620
-
28621
29479
  var isDuplex = this instanceof Duplex;
28622
29480
  if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options);
28623
- this._writableState = new WritableState(options, this, isDuplex); // legacy.
29481
+ this._writableState = new WritableState(options, this, isDuplex);
28624
29482
 
29483
+ // legacy.
28625
29484
  this.writable = true;
28626
-
28627
29485
  if (options) {
28628
29486
  if (typeof options.write === 'function') this._write = options.write;
28629
29487
  if (typeof options.writev === 'function') this._writev = options.writev;
28630
29488
  if (typeof options.destroy === 'function') this._destroy = options.destroy;
28631
29489
  if (typeof options.final === 'function') this._final = options.final;
28632
29490
  }
28633
-
28634
29491
  Stream.call(this);
28635
- } // Otherwise people can pipe Writable streams, which is just wrong.
28636
-
29492
+ }
28637
29493
 
29494
+ // Otherwise people can pipe Writable streams, which is just wrong.
28638
29495
  Writable.prototype.pipe = function () {
28639
29496
  errorOrDestroy(this, new ERR_STREAM_CANNOT_PIPE());
28640
29497
  };
28641
-
28642
29498
  function writeAfterEnd(stream, cb) {
28643
- var er = new ERR_STREAM_WRITE_AFTER_END(); // TODO: defer error events consistently everywhere, not just the cb
28644
-
29499
+ var er = new ERR_STREAM_WRITE_AFTER_END();
29500
+ // TODO: defer error events consistently everywhere, not just the cb
28645
29501
  errorOrDestroy(stream, er);
28646
29502
  process.nextTick(cb, er);
28647
- } // Checks that a user-supplied chunk is valid, especially for the particular
29503
+ }
29504
+
29505
+ // Checks that a user-supplied chunk is valid, especially for the particular
28648
29506
  // mode the stream is in. Currently this means that `null` is never accepted
28649
29507
  // and undefined/non-string values are only allowed in object mode.
28650
-
28651
-
28652
29508
  function validChunk(stream, state, chunk, cb) {
28653
29509
  var er;
28654
-
28655
29510
  if (chunk === null) {
28656
29511
  er = new ERR_STREAM_NULL_VALUES();
28657
29512
  } else if (typeof chunk !== 'string' && !state.objectMode) {
28658
29513
  er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer'], chunk);
28659
29514
  }
28660
-
28661
29515
  if (er) {
28662
29516
  errorOrDestroy(stream, er);
28663
29517
  process.nextTick(cb, er);
28664
29518
  return false;
28665
29519
  }
28666
-
28667
29520
  return true;
28668
29521
  }
28669
-
28670
29522
  Writable.prototype.write = function (chunk, encoding, cb) {
28671
29523
  var state = this._writableState;
28672
29524
  var ret = false;
28673
-
28674
29525
  var isBuf = !state.objectMode && _isUint8Array(chunk);
28675
-
28676
29526
  if (isBuf && !Buffer.isBuffer(chunk)) {
28677
29527
  chunk = _uint8ArrayToBuffer(chunk);
28678
29528
  }
28679
-
28680
29529
  if (typeof encoding === 'function') {
28681
29530
  cb = encoding;
28682
29531
  encoding = null;
28683
29532
  }
28684
-
28685
29533
  if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding;
28686
29534
  if (typeof cb !== 'function') cb = nop;
28687
29535
  if (state.ending) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) {
@@ -28690,20 +29538,16 @@ Writable.prototype.write = function (chunk, encoding, cb) {
28690
29538
  }
28691
29539
  return ret;
28692
29540
  };
28693
-
28694
29541
  Writable.prototype.cork = function () {
28695
29542
  this._writableState.corked++;
28696
29543
  };
28697
-
28698
29544
  Writable.prototype.uncork = function () {
28699
29545
  var state = this._writableState;
28700
-
28701
29546
  if (state.corked) {
28702
29547
  state.corked--;
28703
29548
  if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state);
28704
29549
  }
28705
29550
  };
28706
-
28707
29551
  Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {
28708
29552
  // node::ParseEncoding() requires lower case.
28709
29553
  if (typeof encoding === 'string') encoding = encoding.toLowerCase();
@@ -28711,7 +29555,6 @@ Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {
28711
29555
  this._writableState.defaultEncoding = encoding;
28712
29556
  return this;
28713
29557
  };
28714
-
28715
29558
  Object.defineProperty(Writable.prototype, 'writableBuffer', {
28716
29559
  // making it explicit this property is not enumerable
28717
29560
  // because otherwise some prototype manipulation in
@@ -28721,15 +29564,12 @@ Object.defineProperty(Writable.prototype, 'writableBuffer', {
28721
29564
  return this._writableState && this._writableState.getBuffer();
28722
29565
  }
28723
29566
  });
28724
-
28725
29567
  function decodeChunk(state, chunk, encoding) {
28726
29568
  if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {
28727
29569
  chunk = Buffer.from(chunk, encoding);
28728
29570
  }
28729
-
28730
29571
  return chunk;
28731
29572
  }
28732
-
28733
29573
  Object.defineProperty(Writable.prototype, 'writableHighWaterMark', {
28734
29574
  // making it explicit this property is not enumerable
28735
29575
  // because otherwise some prototype manipulation in
@@ -28738,27 +29578,25 @@ Object.defineProperty(Writable.prototype, 'writableHighWaterMark', {
28738
29578
  get: function get() {
28739
29579
  return this._writableState.highWaterMark;
28740
29580
  }
28741
- }); // if we're already writing something, then just put this
29581
+ });
29582
+
29583
+ // if we're already writing something, then just put this
28742
29584
  // in the queue, and wait our turn. Otherwise, call _write
28743
29585
  // If we return false, then we need a drain event, so set that flag.
28744
-
28745
29586
  function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {
28746
29587
  if (!isBuf) {
28747
29588
  var newChunk = decodeChunk(state, chunk, encoding);
28748
-
28749
29589
  if (chunk !== newChunk) {
28750
29590
  isBuf = true;
28751
29591
  encoding = 'buffer';
28752
29592
  chunk = newChunk;
28753
29593
  }
28754
29594
  }
28755
-
28756
29595
  var len = state.objectMode ? 1 : chunk.length;
28757
29596
  state.length += len;
28758
- var ret = state.length < state.highWaterMark; // we must ensure that previous needDrain will not be reset to false.
28759
-
29597
+ var ret = state.length < state.highWaterMark;
29598
+ // we must ensure that previous needDrain will not be reset to false.
28760
29599
  if (!ret) state.needDrain = true;
28761
-
28762
29600
  if (state.writing || state.corked) {
28763
29601
  var last = state.lastBufferedRequest;
28764
29602
  state.lastBufferedRequest = {
@@ -28768,21 +29606,17 @@ function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) {
28768
29606
  callback: cb,
28769
29607
  next: null
28770
29608
  };
28771
-
28772
29609
  if (last) {
28773
29610
  last.next = state.lastBufferedRequest;
28774
29611
  } else {
28775
29612
  state.bufferedRequest = state.lastBufferedRequest;
28776
29613
  }
28777
-
28778
29614
  state.bufferedRequestCount += 1;
28779
29615
  } else {
28780
29616
  doWrite(stream, state, false, len, chunk, encoding, cb);
28781
29617
  }
28782
-
28783
29618
  return ret;
28784
29619
  }
28785
-
28786
29620
  function doWrite(stream, state, writev, len, chunk, encoding, cb) {
28787
29621
  state.writelen = len;
28788
29622
  state.writecb = cb;
@@ -28791,16 +29625,14 @@ function doWrite(stream, state, writev, len, chunk, encoding, cb) {
28791
29625
  if (state.destroyed) state.onwrite(new ERR_STREAM_DESTROYED('write'));else if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite);
28792
29626
  state.sync = false;
28793
29627
  }
28794
-
28795
29628
  function onwriteError(stream, state, sync, er, cb) {
28796
29629
  --state.pendingcb;
28797
-
28798
29630
  if (sync) {
28799
29631
  // defer the callback if we are being called synchronously
28800
29632
  // to avoid piling up things on the stack
28801
- process.nextTick(cb, er); // this can emit finish, and it will always happen
29633
+ process.nextTick(cb, er);
29634
+ // this can emit finish, and it will always happen
28802
29635
  // after error
28803
-
28804
29636
  process.nextTick(finishMaybe, stream, state);
28805
29637
  stream._writableState.errorEmitted = true;
28806
29638
  errorOrDestroy(stream, er);
@@ -28809,20 +29641,18 @@ function onwriteError(stream, state, sync, er, cb) {
28809
29641
  // it is async
28810
29642
  cb(er);
28811
29643
  stream._writableState.errorEmitted = true;
28812
- errorOrDestroy(stream, er); // this can emit finish, but finish must
29644
+ errorOrDestroy(stream, er);
29645
+ // this can emit finish, but finish must
28813
29646
  // always follow error
28814
-
28815
29647
  finishMaybe(stream, state);
28816
29648
  }
28817
29649
  }
28818
-
28819
29650
  function onwriteStateUpdate(state) {
28820
29651
  state.writing = false;
28821
29652
  state.writecb = null;
28822
29653
  state.length -= state.writelen;
28823
29654
  state.writelen = 0;
28824
29655
  }
28825
-
28826
29656
  function onwrite(stream, er) {
28827
29657
  var state = stream._writableState;
28828
29658
  var sync = state.sync;
@@ -28832,11 +29662,9 @@ function onwrite(stream, er) {
28832
29662
  if (er) onwriteError(stream, state, sync, er, cb);else {
28833
29663
  // Check if we're actually ready to finish, but don't emit yet
28834
29664
  var finished = needFinish(state) || stream.destroyed;
28835
-
28836
29665
  if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {
28837
29666
  clearBuffer(stream, state);
28838
29667
  }
28839
-
28840
29668
  if (sync) {
28841
29669
  process.nextTick(afterWrite, stream, state, finished, cb);
28842
29670
  } else {
@@ -28844,29 +29672,27 @@ function onwrite(stream, er) {
28844
29672
  }
28845
29673
  }
28846
29674
  }
28847
-
28848
29675
  function afterWrite(stream, state, finished, cb) {
28849
29676
  if (!finished) onwriteDrain(stream, state);
28850
29677
  state.pendingcb--;
28851
29678
  cb();
28852
29679
  finishMaybe(stream, state);
28853
- } // Must force callback to be called on nextTick, so that we don't
29680
+ }
29681
+
29682
+ // Must force callback to be called on nextTick, so that we don't
28854
29683
  // emit 'drain' before the write() consumer gets the 'false' return
28855
29684
  // value, and has a chance to attach a 'drain' listener.
28856
-
28857
-
28858
29685
  function onwriteDrain(stream, state) {
28859
29686
  if (state.length === 0 && state.needDrain) {
28860
29687
  state.needDrain = false;
28861
29688
  stream.emit('drain');
28862
29689
  }
28863
- } // if there's something in the buffer waiting, then process it
28864
-
29690
+ }
28865
29691
 
29692
+ // if there's something in the buffer waiting, then process it
28866
29693
  function clearBuffer(stream, state) {
28867
29694
  state.bufferProcessing = true;
28868
29695
  var entry = state.bufferedRequest;
28869
-
28870
29696
  if (stream._writev && entry && entry.next) {
28871
29697
  // Fast case, write everything using _writev()
28872
29698
  var l = state.bufferedRequestCount;
@@ -28875,28 +29701,25 @@ function clearBuffer(stream, state) {
28875
29701
  holder.entry = entry;
28876
29702
  var count = 0;
28877
29703
  var allBuffers = true;
28878
-
28879
29704
  while (entry) {
28880
29705
  buffer[count] = entry;
28881
29706
  if (!entry.isBuf) allBuffers = false;
28882
29707
  entry = entry.next;
28883
29708
  count += 1;
28884
29709
  }
28885
-
28886
29710
  buffer.allBuffers = allBuffers;
28887
- doWrite(stream, state, true, state.length, buffer, '', holder.finish); // doWrite is almost always async, defer these to save a bit of time
28888
- // as the hot path ends with doWrite
29711
+ doWrite(stream, state, true, state.length, buffer, '', holder.finish);
28889
29712
 
29713
+ // doWrite is almost always async, defer these to save a bit of time
29714
+ // as the hot path ends with doWrite
28890
29715
  state.pendingcb++;
28891
29716
  state.lastBufferedRequest = null;
28892
-
28893
29717
  if (holder.next) {
28894
29718
  state.corkedRequestsFree = holder.next;
28895
29719
  holder.next = null;
28896
29720
  } else {
28897
29721
  state.corkedRequestsFree = new CorkedRequest(state);
28898
29722
  }
28899
-
28900
29723
  state.bufferedRequestCount = 0;
28901
29724
  } else {
28902
29725
  // Slow case, write chunks one-by-one
@@ -28907,32 +29730,26 @@ function clearBuffer(stream, state) {
28907
29730
  var len = state.objectMode ? 1 : chunk.length;
28908
29731
  doWrite(stream, state, false, len, chunk, encoding, cb);
28909
29732
  entry = entry.next;
28910
- state.bufferedRequestCount--; // if we didn't call the onwrite immediately, then
29733
+ state.bufferedRequestCount--;
29734
+ // if we didn't call the onwrite immediately, then
28911
29735
  // it means that we need to wait until it does.
28912
29736
  // also, that means that the chunk and cb are currently
28913
29737
  // being processed, so move the buffer counter past them.
28914
-
28915
29738
  if (state.writing) {
28916
29739
  break;
28917
29740
  }
28918
29741
  }
28919
-
28920
29742
  if (entry === null) state.lastBufferedRequest = null;
28921
29743
  }
28922
-
28923
29744
  state.bufferedRequest = entry;
28924
29745
  state.bufferProcessing = false;
28925
29746
  }
28926
-
28927
29747
  Writable.prototype._write = function (chunk, encoding, cb) {
28928
29748
  cb(new ERR_METHOD_NOT_IMPLEMENTED('_write()'));
28929
29749
  };
28930
-
28931
29750
  Writable.prototype._writev = null;
28932
-
28933
29751
  Writable.prototype.end = function (chunk, encoding, cb) {
28934
29752
  var state = this._writableState;
28935
-
28936
29753
  if (typeof chunk === 'function') {
28937
29754
  cb = chunk;
28938
29755
  chunk = null;
@@ -28941,19 +29758,18 @@ Writable.prototype.end = function (chunk, encoding, cb) {
28941
29758
  cb = encoding;
28942
29759
  encoding = null;
28943
29760
  }
29761
+ if (chunk !== null && chunk !== undefined) this.write(chunk, encoding);
28944
29762
 
28945
- if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); // .end() fully uncorks
28946
-
29763
+ // .end() fully uncorks
28947
29764
  if (state.corked) {
28948
29765
  state.corked = 1;
28949
29766
  this.uncork();
28950
- } // ignore unnecessary end() calls.
28951
-
29767
+ }
28952
29768
 
29769
+ // ignore unnecessary end() calls.
28953
29770
  if (!state.ending) endWritable(this, state, cb);
28954
29771
  return this;
28955
29772
  };
28956
-
28957
29773
  Object.defineProperty(Writable.prototype, 'writableLength', {
28958
29774
  // making it explicit this property is not enumerable
28959
29775
  // because otherwise some prototype manipulation in
@@ -28963,25 +29779,20 @@ Object.defineProperty(Writable.prototype, 'writableLength', {
28963
29779
  return this._writableState.length;
28964
29780
  }
28965
29781
  });
28966
-
28967
29782
  function needFinish(state) {
28968
29783
  return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;
28969
29784
  }
28970
-
28971
29785
  function callFinal(stream, state) {
28972
29786
  stream._final(function (err) {
28973
29787
  state.pendingcb--;
28974
-
28975
29788
  if (err) {
28976
29789
  errorOrDestroy(stream, err);
28977
29790
  }
28978
-
28979
29791
  state.prefinished = true;
28980
29792
  stream.emit('prefinish');
28981
29793
  finishMaybe(stream, state);
28982
29794
  });
28983
29795
  }
28984
-
28985
29796
  function prefinish(stream, state) {
28986
29797
  if (!state.prefinished && !state.finalCalled) {
28987
29798
  if (typeof stream._final === 'function' && !state.destroyed) {
@@ -28994,59 +29805,47 @@ function prefinish(stream, state) {
28994
29805
  }
28995
29806
  }
28996
29807
  }
28997
-
28998
29808
  function finishMaybe(stream, state) {
28999
29809
  var need = needFinish(state);
29000
-
29001
29810
  if (need) {
29002
29811
  prefinish(stream, state);
29003
-
29004
29812
  if (state.pendingcb === 0) {
29005
29813
  state.finished = true;
29006
29814
  stream.emit('finish');
29007
-
29008
29815
  if (state.autoDestroy) {
29009
29816
  // In case of duplex streams we need a way to detect
29010
29817
  // if the readable side is ready for autoDestroy as well
29011
29818
  var rState = stream._readableState;
29012
-
29013
29819
  if (!rState || rState.autoDestroy && rState.endEmitted) {
29014
29820
  stream.destroy();
29015
29821
  }
29016
29822
  }
29017
29823
  }
29018
29824
  }
29019
-
29020
29825
  return need;
29021
29826
  }
29022
-
29023
29827
  function endWritable(stream, state, cb) {
29024
29828
  state.ending = true;
29025
29829
  finishMaybe(stream, state);
29026
-
29027
29830
  if (cb) {
29028
29831
  if (state.finished) process.nextTick(cb);else stream.once('finish', cb);
29029
29832
  }
29030
-
29031
29833
  state.ended = true;
29032
29834
  stream.writable = false;
29033
29835
  }
29034
-
29035
29836
  function onCorkedFinish(corkReq, state, err) {
29036
29837
  var entry = corkReq.entry;
29037
29838
  corkReq.entry = null;
29038
-
29039
29839
  while (entry) {
29040
29840
  var cb = entry.callback;
29041
29841
  state.pendingcb--;
29042
29842
  cb(err);
29043
29843
  entry = entry.next;
29044
- } // reuse the free corkReq.
29045
-
29844
+ }
29046
29845
 
29846
+ // reuse the free corkReq.
29047
29847
  state.corkedRequestsFree.next = corkReq;
29048
29848
  }
29049
-
29050
29849
  Object.defineProperty(Writable.prototype, 'destroyed', {
29051
29850
  // making it explicit this property is not enumerable
29052
29851
  // because otherwise some prototype manipulation in
@@ -29056,7 +29855,6 @@ Object.defineProperty(Writable.prototype, 'destroyed', {
29056
29855
  if (this._writableState === undefined) {
29057
29856
  return false;
29058
29857
  }
29059
-
29060
29858
  return this._writableState.destroyed;
29061
29859
  },
29062
29860
  set: function set(value) {
@@ -29064,34 +29862,32 @@ Object.defineProperty(Writable.prototype, 'destroyed', {
29064
29862
  // has not been initialized yet
29065
29863
  if (!this._writableState) {
29066
29864
  return;
29067
- } // backward compatibility, the user is explicitly
29068
- // managing destroyed
29069
-
29865
+ }
29070
29866
 
29867
+ // backward compatibility, the user is explicitly
29868
+ // managing destroyed
29071
29869
  this._writableState.destroyed = value;
29072
29870
  }
29073
29871
  });
29074
29872
  Writable.prototype.destroy = destroyImpl.destroy;
29075
29873
  Writable.prototype._undestroy = destroyImpl.undestroy;
29076
-
29077
29874
  Writable.prototype._destroy = function (err, cb) {
29078
29875
  cb(err);
29079
29876
  };
29080
29877
 
29081
29878
  /***/ }),
29082
29879
 
29083
- /***/ 6613:
29880
+ /***/ 3997:
29084
29881
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29085
29882
 
29086
29883
  "use strict";
29087
29884
 
29088
29885
 
29089
29886
  var _Object$setPrototypeO;
29090
-
29091
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
29092
-
29093
- var finished = __webpack_require__(4398);
29094
-
29887
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
29888
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
29889
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
29890
+ var finished = __webpack_require__(5141);
29095
29891
  var kLastResolve = Symbol('lastResolve');
29096
29892
  var kLastReject = Symbol('lastReject');
29097
29893
  var kError = Symbol('error');
@@ -29099,22 +29895,19 @@ var kEnded = Symbol('ended');
29099
29895
  var kLastPromise = Symbol('lastPromise');
29100
29896
  var kHandlePromise = Symbol('handlePromise');
29101
29897
  var kStream = Symbol('stream');
29102
-
29103
29898
  function createIterResult(value, done) {
29104
29899
  return {
29105
29900
  value: value,
29106
29901
  done: done
29107
29902
  };
29108
29903
  }
29109
-
29110
29904
  function readAndResolve(iter) {
29111
29905
  var resolve = iter[kLastResolve];
29112
-
29113
29906
  if (resolve !== null) {
29114
- var data = iter[kStream].read(); // we defer if data is null
29907
+ var data = iter[kStream].read();
29908
+ // we defer if data is null
29115
29909
  // we can be expecting either 'end' or
29116
29910
  // 'error'
29117
-
29118
29911
  if (data !== null) {
29119
29912
  iter[kLastPromise] = null;
29120
29913
  iter[kLastResolve] = null;
@@ -29123,13 +29916,11 @@ function readAndResolve(iter) {
29123
29916
  }
29124
29917
  }
29125
29918
  }
29126
-
29127
29919
  function onReadable(iter) {
29128
29920
  // we wait for the next tick, because it might
29129
29921
  // emit an error with process.nextTick
29130
29922
  process.nextTick(readAndResolve, iter);
29131
29923
  }
29132
-
29133
29924
  function wrapForNext(lastPromise, iter) {
29134
29925
  return function (resolve, reject) {
29135
29926
  lastPromise.then(function () {
@@ -29137,33 +29928,26 @@ function wrapForNext(lastPromise, iter) {
29137
29928
  resolve(createIterResult(undefined, true));
29138
29929
  return;
29139
29930
  }
29140
-
29141
29931
  iter[kHandlePromise](resolve, reject);
29142
29932
  }, reject);
29143
29933
  };
29144
29934
  }
29145
-
29146
29935
  var AsyncIteratorPrototype = Object.getPrototypeOf(function () {});
29147
29936
  var ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPrototypeO = {
29148
29937
  get stream() {
29149
29938
  return this[kStream];
29150
29939
  },
29151
-
29152
29940
  next: function next() {
29153
29941
  var _this = this;
29154
-
29155
29942
  // if we have detected an error in the meanwhile
29156
29943
  // reject straight away
29157
29944
  var error = this[kError];
29158
-
29159
29945
  if (error !== null) {
29160
29946
  return Promise.reject(error);
29161
29947
  }
29162
-
29163
29948
  if (this[kEnded]) {
29164
29949
  return Promise.resolve(createIterResult(undefined, true));
29165
29950
  }
29166
-
29167
29951
  if (this[kStream].destroyed) {
29168
29952
  // We need to defer via nextTick because if .destroy(err) is
29169
29953
  // called, the error will be emitted via nextTick, and
@@ -29178,29 +29962,25 @@ var ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPro
29178
29962
  }
29179
29963
  });
29180
29964
  });
29181
- } // if we have multiple next() calls
29965
+ }
29966
+
29967
+ // if we have multiple next() calls
29182
29968
  // we will wait for the previous Promise to finish
29183
29969
  // this logic is optimized to support for await loops,
29184
29970
  // where next() is only called once at a time
29185
-
29186
-
29187
29971
  var lastPromise = this[kLastPromise];
29188
29972
  var promise;
29189
-
29190
29973
  if (lastPromise) {
29191
29974
  promise = new Promise(wrapForNext(lastPromise, this));
29192
29975
  } else {
29193
29976
  // fast path needed to support multiple this.push()
29194
29977
  // without triggering the next() queue
29195
29978
  var data = this[kStream].read();
29196
-
29197
29979
  if (data !== null) {
29198
29980
  return Promise.resolve(createIterResult(data, false));
29199
29981
  }
29200
-
29201
29982
  promise = new Promise(this[kHandlePromise]);
29202
29983
  }
29203
-
29204
29984
  this[kLastPromise] = promise;
29205
29985
  return promise;
29206
29986
  }
@@ -29208,7 +29988,6 @@ var ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPro
29208
29988
  return this;
29209
29989
  }), _defineProperty(_Object$setPrototypeO, "return", function _return() {
29210
29990
  var _this2 = this;
29211
-
29212
29991
  // destroy(err, cb) is a private API
29213
29992
  // we can guarantee we have that here, because we control the
29214
29993
  // Readable class this is attached to
@@ -29218,15 +29997,12 @@ var ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPro
29218
29997
  reject(err);
29219
29998
  return;
29220
29999
  }
29221
-
29222
30000
  resolve(createIterResult(undefined, true));
29223
30001
  });
29224
30002
  });
29225
30003
  }), _Object$setPrototypeO), AsyncIteratorPrototype);
29226
-
29227
30004
  var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) {
29228
30005
  var _Object$create;
29229
-
29230
30006
  var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {
29231
30007
  value: stream,
29232
30008
  writable: true
@@ -29245,7 +30021,6 @@ var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterat
29245
30021
  }), _defineProperty(_Object$create, kHandlePromise, {
29246
30022
  value: function value(resolve, reject) {
29247
30023
  var data = iterator[kStream].read();
29248
-
29249
30024
  if (data) {
29250
30025
  iterator[kLastPromise] = null;
29251
30026
  iterator[kLastResolve] = null;
@@ -29261,80 +30036,63 @@ var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterat
29261
30036
  iterator[kLastPromise] = null;
29262
30037
  finished(stream, function (err) {
29263
30038
  if (err && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') {
29264
- var reject = iterator[kLastReject]; // reject if we are waiting for data in the Promise
30039
+ var reject = iterator[kLastReject];
30040
+ // reject if we are waiting for data in the Promise
29265
30041
  // returned by next() and store the error
29266
-
29267
30042
  if (reject !== null) {
29268
30043
  iterator[kLastPromise] = null;
29269
30044
  iterator[kLastResolve] = null;
29270
30045
  iterator[kLastReject] = null;
29271
30046
  reject(err);
29272
30047
  }
29273
-
29274
30048
  iterator[kError] = err;
29275
30049
  return;
29276
30050
  }
29277
-
29278
30051
  var resolve = iterator[kLastResolve];
29279
-
29280
30052
  if (resolve !== null) {
29281
30053
  iterator[kLastPromise] = null;
29282
30054
  iterator[kLastResolve] = null;
29283
30055
  iterator[kLastReject] = null;
29284
30056
  resolve(createIterResult(undefined, true));
29285
30057
  }
29286
-
29287
30058
  iterator[kEnded] = true;
29288
30059
  });
29289
30060
  stream.on('readable', onReadable.bind(null, iterator));
29290
30061
  return iterator;
29291
30062
  };
29292
-
29293
30063
  module.exports = createReadableStreamAsyncIterator;
29294
30064
 
29295
30065
  /***/ }),
29296
30066
 
29297
- /***/ 8952:
30067
+ /***/ 1370:
29298
30068
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29299
30069
 
29300
30070
  "use strict";
29301
30071
 
29302
30072
 
29303
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
29304
-
29305
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
29306
-
29307
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
29308
-
30073
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
30074
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
30075
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
29309
30076
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
29310
-
29311
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
29312
-
29313
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
29314
-
30077
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
30078
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
30079
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
30080
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
29315
30081
  var _require = __webpack_require__(4293),
29316
- Buffer = _require.Buffer;
29317
-
30082
+ Buffer = _require.Buffer;
29318
30083
  var _require2 = __webpack_require__(1669),
29319
- inspect = _require2.inspect;
29320
-
30084
+ inspect = _require2.inspect;
29321
30085
  var custom = inspect && inspect.custom || 'inspect';
29322
-
29323
30086
  function copyBuffer(src, target, offset) {
29324
30087
  Buffer.prototype.copy.call(src, target, offset);
29325
30088
  }
29326
-
29327
- module.exports =
29328
- /*#__PURE__*/
29329
- function () {
30089
+ module.exports = /*#__PURE__*/function () {
29330
30090
  function BufferList() {
29331
30091
  _classCallCheck(this, BufferList);
29332
-
29333
30092
  this.head = null;
29334
30093
  this.tail = null;
29335
30094
  this.length = 0;
29336
30095
  }
29337
-
29338
30096
  _createClass(BufferList, [{
29339
30097
  key: "push",
29340
30098
  value: function push(v) {
@@ -29378,11 +30136,7 @@ function () {
29378
30136
  if (this.length === 0) return '';
29379
30137
  var p = this.head;
29380
30138
  var ret = '' + p.data;
29381
-
29382
- while (p = p.next) {
29383
- ret += s + p.data;
29384
- }
29385
-
30139
+ while (p = p.next) ret += s + p.data;
29386
30140
  return ret;
29387
30141
  }
29388
30142
  }, {
@@ -29392,21 +30146,19 @@ function () {
29392
30146
  var ret = Buffer.allocUnsafe(n >>> 0);
29393
30147
  var p = this.head;
29394
30148
  var i = 0;
29395
-
29396
30149
  while (p) {
29397
30150
  copyBuffer(p.data, ret, i);
29398
30151
  i += p.data.length;
29399
30152
  p = p.next;
29400
30153
  }
29401
-
29402
30154
  return ret;
29403
- } // Consumes a specified amount of bytes or characters from the buffered data.
30155
+ }
29404
30156
 
30157
+ // Consumes a specified amount of bytes or characters from the buffered data.
29405
30158
  }, {
29406
30159
  key: "consume",
29407
30160
  value: function consume(n, hasStrings) {
29408
30161
  var ret;
29409
-
29410
30162
  if (n < this.head.data.length) {
29411
30163
  // `slice` is the same for buffers and strings.
29412
30164
  ret = this.head.data.slice(0, n);
@@ -29418,15 +30170,15 @@ function () {
29418
30170
  // Result spans more than one buffer.
29419
30171
  ret = hasStrings ? this._getString(n) : this._getBuffer(n);
29420
30172
  }
29421
-
29422
30173
  return ret;
29423
30174
  }
29424
30175
  }, {
29425
30176
  key: "first",
29426
30177
  value: function first() {
29427
30178
  return this.head.data;
29428
- } // Consumes a specified amount of characters from the buffered data.
30179
+ }
29429
30180
 
30181
+ // Consumes a specified amount of characters from the buffered data.
29430
30182
  }, {
29431
30183
  key: "_getString",
29432
30184
  value: function _getString(n) {
@@ -29434,13 +30186,11 @@ function () {
29434
30186
  var c = 1;
29435
30187
  var ret = p.data;
29436
30188
  n -= ret.length;
29437
-
29438
30189
  while (p = p.next) {
29439
30190
  var str = p.data;
29440
30191
  var nb = n > str.length ? str.length : n;
29441
30192
  if (nb === str.length) ret += str;else ret += str.slice(0, n);
29442
30193
  n -= nb;
29443
-
29444
30194
  if (n === 0) {
29445
30195
  if (nb === str.length) {
29446
30196
  ++c;
@@ -29449,17 +30199,15 @@ function () {
29449
30199
  this.head = p;
29450
30200
  p.data = str.slice(nb);
29451
30201
  }
29452
-
29453
30202
  break;
29454
30203
  }
29455
-
29456
30204
  ++c;
29457
30205
  }
29458
-
29459
30206
  this.length -= c;
29460
30207
  return ret;
29461
- } // Consumes a specified amount of bytes from the buffered data.
30208
+ }
29462
30209
 
30210
+ // Consumes a specified amount of bytes from the buffered data.
29463
30211
  }, {
29464
30212
  key: "_getBuffer",
29465
30213
  value: function _getBuffer(n) {
@@ -29468,13 +30216,11 @@ function () {
29468
30216
  var c = 1;
29469
30217
  p.data.copy(ret);
29470
30218
  n -= p.data.length;
29471
-
29472
30219
  while (p = p.next) {
29473
30220
  var buf = p.data;
29474
30221
  var nb = n > buf.length ? buf.length : n;
29475
30222
  buf.copy(ret, ret.length - n, 0, nb);
29476
30223
  n -= nb;
29477
-
29478
30224
  if (n === 0) {
29479
30225
  if (nb === buf.length) {
29480
30226
  ++c;
@@ -29483,21 +30229,19 @@ function () {
29483
30229
  this.head = p;
29484
30230
  p.data = buf.slice(nb);
29485
30231
  }
29486
-
29487
30232
  break;
29488
30233
  }
29489
-
29490
30234
  ++c;
29491
30235
  }
29492
-
29493
30236
  this.length -= c;
29494
30237
  return ret;
29495
- } // Make sure the linked list only shows the minimal necessary information.
30238
+ }
29496
30239
 
30240
+ // Make sure the linked list only shows the minimal necessary information.
29497
30241
  }, {
29498
30242
  key: custom,
29499
30243
  value: function value(_, options) {
29500
- return inspect(this, _objectSpread({}, options, {
30244
+ return inspect(this, _objectSpread(_objectSpread({}, options), {}, {
29501
30245
  // Only inspect one level.
29502
30246
  depth: 0,
29503
30247
  // It should not recurse.
@@ -29505,24 +30249,22 @@ function () {
29505
30249
  }));
29506
30250
  }
29507
30251
  }]);
29508
-
29509
30252
  return BufferList;
29510
30253
  }();
29511
30254
 
29512
30255
  /***/ }),
29513
30256
 
29514
- /***/ 3089:
30257
+ /***/ 4403:
29515
30258
  /***/ ((module) => {
29516
30259
 
29517
30260
  "use strict";
29518
- // undocumented cb() API, needed for core, not for public API
29519
30261
 
30262
+
30263
+ // undocumented cb() API, needed for core, not for public API
29520
30264
  function destroy(err, cb) {
29521
30265
  var _this = this;
29522
-
29523
30266
  var readableDestroyed = this._readableState && this._readableState.destroyed;
29524
30267
  var writableDestroyed = this._writableState && this._writableState.destroyed;
29525
-
29526
30268
  if (readableDestroyed || writableDestroyed) {
29527
30269
  if (cb) {
29528
30270
  cb(err);
@@ -29534,21 +30276,20 @@ function destroy(err, cb) {
29534
30276
  process.nextTick(emitErrorNT, this, err);
29535
30277
  }
29536
30278
  }
29537
-
29538
30279
  return this;
29539
- } // we set destroyed to true before firing error callbacks in order
29540
- // to make it re-entrance safe in case destroy() is called within callbacks
30280
+ }
29541
30281
 
30282
+ // we set destroyed to true before firing error callbacks in order
30283
+ // to make it re-entrance safe in case destroy() is called within callbacks
29542
30284
 
29543
30285
  if (this._readableState) {
29544
30286
  this._readableState.destroyed = true;
29545
- } // if this is a duplex stream mark the writable part as destroyed as well
29546
-
30287
+ }
29547
30288
 
30289
+ // if this is a duplex stream mark the writable part as destroyed as well
29548
30290
  if (this._writableState) {
29549
30291
  this._writableState.destroyed = true;
29550
30292
  }
29551
-
29552
30293
  this._destroy(err || null, function (err) {
29553
30294
  if (!cb && err) {
29554
30295
  if (!_this._writableState) {
@@ -29566,21 +30307,17 @@ function destroy(err, cb) {
29566
30307
  process.nextTick(emitCloseNT, _this);
29567
30308
  }
29568
30309
  });
29569
-
29570
30310
  return this;
29571
30311
  }
29572
-
29573
30312
  function emitErrorAndCloseNT(self, err) {
29574
30313
  emitErrorNT(self, err);
29575
30314
  emitCloseNT(self);
29576
30315
  }
29577
-
29578
30316
  function emitCloseNT(self) {
29579
30317
  if (self._writableState && !self._writableState.emitClose) return;
29580
30318
  if (self._readableState && !self._readableState.emitClose) return;
29581
30319
  self.emit('close');
29582
30320
  }
29583
-
29584
30321
  function undestroy() {
29585
30322
  if (this._readableState) {
29586
30323
  this._readableState.destroyed = false;
@@ -29588,7 +30325,6 @@ function undestroy() {
29588
30325
  this._readableState.ended = false;
29589
30326
  this._readableState.endEmitted = false;
29590
30327
  }
29591
-
29592
30328
  if (this._writableState) {
29593
30329
  this._writableState.destroyed = false;
29594
30330
  this._writableState.ended = false;
@@ -29599,22 +30335,20 @@ function undestroy() {
29599
30335
  this._writableState.errorEmitted = false;
29600
30336
  }
29601
30337
  }
29602
-
29603
30338
  function emitErrorNT(self, err) {
29604
30339
  self.emit('error', err);
29605
30340
  }
29606
-
29607
30341
  function errorOrDestroy(stream, err) {
29608
30342
  // We have tests that rely on errors being emitted
29609
30343
  // in the same tick, so changing this is semver major.
29610
30344
  // For now when you opt-in to autoDestroy we allow
29611
30345
  // the error to be emitted nextTick. In a future
29612
30346
  // semver major update we should change the default to this.
30347
+
29613
30348
  var rState = stream._readableState;
29614
30349
  var wState = stream._writableState;
29615
30350
  if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);else stream.emit('error', err);
29616
30351
  }
29617
-
29618
30352
  module.exports = {
29619
30353
  destroy: destroy,
29620
30354
  undestroy: undestroy,
@@ -29623,7 +30357,7 @@ module.exports = {
29623
30357
 
29624
30358
  /***/ }),
29625
30359
 
29626
- /***/ 4398:
30360
+ /***/ 5141:
29627
30361
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29628
30362
 
29629
30363
  "use strict";
@@ -29631,77 +30365,61 @@ module.exports = {
29631
30365
  // permission from the author, Mathias Buus (@mafintosh).
29632
30366
 
29633
30367
 
29634
- var ERR_STREAM_PREMATURE_CLOSE = __webpack_require__(7970)/* .codes.ERR_STREAM_PREMATURE_CLOSE */ .q.ERR_STREAM_PREMATURE_CLOSE;
29635
30368
 
30369
+ var ERR_STREAM_PREMATURE_CLOSE = __webpack_require__(4857)/* .codes.ERR_STREAM_PREMATURE_CLOSE */ .q.ERR_STREAM_PREMATURE_CLOSE;
29636
30370
  function once(callback) {
29637
30371
  var called = false;
29638
30372
  return function () {
29639
30373
  if (called) return;
29640
30374
  called = true;
29641
-
29642
30375
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
29643
30376
  args[_key] = arguments[_key];
29644
30377
  }
29645
-
29646
30378
  callback.apply(this, args);
29647
30379
  };
29648
30380
  }
29649
-
29650
30381
  function noop() {}
29651
-
29652
30382
  function isRequest(stream) {
29653
30383
  return stream.setHeader && typeof stream.abort === 'function';
29654
30384
  }
29655
-
29656
30385
  function eos(stream, opts, callback) {
29657
30386
  if (typeof opts === 'function') return eos(stream, null, opts);
29658
30387
  if (!opts) opts = {};
29659
30388
  callback = once(callback || noop);
29660
30389
  var readable = opts.readable || opts.readable !== false && stream.readable;
29661
30390
  var writable = opts.writable || opts.writable !== false && stream.writable;
29662
-
29663
30391
  var onlegacyfinish = function onlegacyfinish() {
29664
30392
  if (!stream.writable) onfinish();
29665
30393
  };
29666
-
29667
30394
  var writableEnded = stream._writableState && stream._writableState.finished;
29668
-
29669
30395
  var onfinish = function onfinish() {
29670
30396
  writable = false;
29671
30397
  writableEnded = true;
29672
30398
  if (!readable) callback.call(stream);
29673
30399
  };
29674
-
29675
30400
  var readableEnded = stream._readableState && stream._readableState.endEmitted;
29676
-
29677
30401
  var onend = function onend() {
29678
30402
  readable = false;
29679
30403
  readableEnded = true;
29680
30404
  if (!writable) callback.call(stream);
29681
30405
  };
29682
-
29683
30406
  var onerror = function onerror(err) {
29684
30407
  callback.call(stream, err);
29685
30408
  };
29686
-
29687
30409
  var onclose = function onclose() {
29688
30410
  var err;
29689
-
29690
30411
  if (readable && !readableEnded) {
29691
30412
  if (!stream._readableState || !stream._readableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();
29692
30413
  return callback.call(stream, err);
29693
30414
  }
29694
-
29695
30415
  if (writable && !writableEnded) {
29696
30416
  if (!stream._writableState || !stream._writableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE();
29697
30417
  return callback.call(stream, err);
29698
30418
  }
29699
30419
  };
29700
-
29701
30420
  var onrequest = function onrequest() {
29702
30421
  stream.req.on('finish', onfinish);
29703
30422
  };
29704
-
29705
30423
  if (isRequest(stream)) {
29706
30424
  stream.on('complete', onfinish);
29707
30425
  stream.on('abort', onclose);
@@ -29711,7 +30429,6 @@ function eos(stream, opts, callback) {
29711
30429
  stream.on('end', onlegacyfinish);
29712
30430
  stream.on('close', onlegacyfinish);
29713
30431
  }
29714
-
29715
30432
  stream.on('end', onend);
29716
30433
  stream.on('finish', onfinish);
29717
30434
  if (opts.error !== false) stream.on('error', onerror);
@@ -29729,64 +30446,53 @@ function eos(stream, opts, callback) {
29729
30446
  stream.removeListener('close', onclose);
29730
30447
  };
29731
30448
  }
29732
-
29733
30449
  module.exports = eos;
29734
30450
 
29735
30451
  /***/ }),
29736
30452
 
29737
- /***/ 1123:
30453
+ /***/ 766:
29738
30454
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29739
30455
 
29740
30456
  "use strict";
29741
30457
 
29742
30458
 
29743
30459
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
29744
-
29745
30460
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
29746
-
29747
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
29748
-
29749
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
29750
-
29751
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
29752
-
29753
- var ERR_INVALID_ARG_TYPE = __webpack_require__(7970)/* .codes.ERR_INVALID_ARG_TYPE */ .q.ERR_INVALID_ARG_TYPE;
29754
-
30461
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
30462
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
30463
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
30464
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
30465
+ function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
30466
+ var ERR_INVALID_ARG_TYPE = __webpack_require__(4857)/* .codes.ERR_INVALID_ARG_TYPE */ .q.ERR_INVALID_ARG_TYPE;
29755
30467
  function from(Readable, iterable, opts) {
29756
30468
  var iterator;
29757
-
29758
30469
  if (iterable && typeof iterable.next === 'function') {
29759
30470
  iterator = iterable;
29760
30471
  } else if (iterable && iterable[Symbol.asyncIterator]) iterator = iterable[Symbol.asyncIterator]();else if (iterable && iterable[Symbol.iterator]) iterator = iterable[Symbol.iterator]();else throw new ERR_INVALID_ARG_TYPE('iterable', ['Iterable'], iterable);
29761
-
29762
30472
  var readable = new Readable(_objectSpread({
29763
30473
  objectMode: true
29764
- }, opts)); // Reading boolean to protect against _read
30474
+ }, opts));
30475
+ // Reading boolean to protect against _read
29765
30476
  // being called before last iteration completion.
29766
-
29767
30477
  var reading = false;
29768
-
29769
30478
  readable._read = function () {
29770
30479
  if (!reading) {
29771
30480
  reading = true;
29772
30481
  next();
29773
30482
  }
29774
30483
  };
29775
-
29776
30484
  function next() {
29777
30485
  return _next2.apply(this, arguments);
29778
30486
  }
29779
-
29780
30487
  function _next2() {
29781
30488
  _next2 = _asyncToGenerator(function* () {
29782
30489
  try {
29783
- var _ref = yield iterator.next(),
29784
- value = _ref.value,
29785
- done = _ref.done;
29786
-
30490
+ var _yield$iterator$next = yield iterator.next(),
30491
+ value = _yield$iterator$next.value,
30492
+ done = _yield$iterator$next.done;
29787
30493
  if (done) {
29788
30494
  readable.push(null);
29789
- } else if (readable.push((yield value))) {
30495
+ } else if (readable.push(yield value)) {
29790
30496
  next();
29791
30497
  } else {
29792
30498
  reading = false;
@@ -29797,15 +30503,14 @@ function from(Readable, iterable, opts) {
29797
30503
  });
29798
30504
  return _next2.apply(this, arguments);
29799
30505
  }
29800
-
29801
30506
  return readable;
29802
30507
  }
29803
-
29804
30508
  module.exports = from;
29805
30509
 
30510
+
29806
30511
  /***/ }),
29807
30512
 
29808
- /***/ 4926:
30513
+ /***/ 2419:
29809
30514
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29810
30515
 
29811
30516
  "use strict";
@@ -29813,8 +30518,8 @@ module.exports = from;
29813
30518
  // permission from the author, Mathias Buus (@mafintosh).
29814
30519
 
29815
30520
 
29816
- var eos;
29817
30521
 
30522
+ var eos;
29818
30523
  function once(callback) {
29819
30524
  var called = false;
29820
30525
  return function () {
@@ -29823,27 +30528,23 @@ function once(callback) {
29823
30528
  callback.apply(void 0, arguments);
29824
30529
  };
29825
30530
  }
29826
-
29827
- var _require$codes = __webpack_require__(7970)/* .codes */ .q,
29828
- ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,
29829
- ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;
29830
-
30531
+ var _require$codes = __webpack_require__(4857)/* .codes */ .q,
30532
+ ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,
30533
+ ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;
29831
30534
  function noop(err) {
29832
30535
  // Rethrow the error if it exists to avoid swallowing it
29833
30536
  if (err) throw err;
29834
30537
  }
29835
-
29836
30538
  function isRequest(stream) {
29837
30539
  return stream.setHeader && typeof stream.abort === 'function';
29838
30540
  }
29839
-
29840
30541
  function destroyer(stream, reading, writing, callback) {
29841
30542
  callback = once(callback);
29842
30543
  var closed = false;
29843
30544
  stream.on('close', function () {
29844
30545
  closed = true;
29845
30546
  });
29846
- if (eos === undefined) eos = __webpack_require__(4398);
30547
+ if (eos === undefined) eos = __webpack_require__(5141);
29847
30548
  eos(stream, {
29848
30549
  readable: reading,
29849
30550
  writable: writing
@@ -29856,40 +30557,34 @@ function destroyer(stream, reading, writing, callback) {
29856
30557
  return function (err) {
29857
30558
  if (closed) return;
29858
30559
  if (destroyed) return;
29859
- destroyed = true; // request.destroy just do .end - .abort is what we want
30560
+ destroyed = true;
29860
30561
 
30562
+ // request.destroy just do .end - .abort is what we want
29861
30563
  if (isRequest(stream)) return stream.abort();
29862
30564
  if (typeof stream.destroy === 'function') return stream.destroy();
29863
30565
  callback(err || new ERR_STREAM_DESTROYED('pipe'));
29864
30566
  };
29865
30567
  }
29866
-
29867
30568
  function call(fn) {
29868
30569
  fn();
29869
30570
  }
29870
-
29871
30571
  function pipe(from, to) {
29872
30572
  return from.pipe(to);
29873
30573
  }
29874
-
29875
30574
  function popCallback(streams) {
29876
30575
  if (!streams.length) return noop;
29877
30576
  if (typeof streams[streams.length - 1] !== 'function') return noop;
29878
30577
  return streams.pop();
29879
30578
  }
29880
-
29881
30579
  function pipeline() {
29882
30580
  for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) {
29883
30581
  streams[_key] = arguments[_key];
29884
30582
  }
29885
-
29886
30583
  var callback = popCallback(streams);
29887
30584
  if (Array.isArray(streams[0])) streams = streams[0];
29888
-
29889
30585
  if (streams.length < 2) {
29890
30586
  throw new ERR_MISSING_ARGS('streams');
29891
30587
  }
29892
-
29893
30588
  var error;
29894
30589
  var destroys = streams.map(function (stream, i) {
29895
30590
  var reading = i < streams.length - 1;
@@ -29904,46 +30599,40 @@ function pipeline() {
29904
30599
  });
29905
30600
  return streams.reduce(pipe);
29906
30601
  }
29907
-
29908
30602
  module.exports = pipeline;
29909
30603
 
29910
30604
  /***/ }),
29911
30605
 
29912
- /***/ 2625:
30606
+ /***/ 7724:
29913
30607
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29914
30608
 
29915
30609
  "use strict";
29916
30610
 
29917
30611
 
29918
- var ERR_INVALID_OPT_VALUE = __webpack_require__(7970)/* .codes.ERR_INVALID_OPT_VALUE */ .q.ERR_INVALID_OPT_VALUE;
29919
-
30612
+ var ERR_INVALID_OPT_VALUE = __webpack_require__(4857)/* .codes.ERR_INVALID_OPT_VALUE */ .q.ERR_INVALID_OPT_VALUE;
29920
30613
  function highWaterMarkFrom(options, isDuplex, duplexKey) {
29921
30614
  return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;
29922
30615
  }
29923
-
29924
30616
  function getHighWaterMark(state, options, duplexKey, isDuplex) {
29925
30617
  var hwm = highWaterMarkFrom(options, isDuplex, duplexKey);
29926
-
29927
30618
  if (hwm != null) {
29928
30619
  if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) {
29929
30620
  var name = isDuplex ? duplexKey : 'highWaterMark';
29930
30621
  throw new ERR_INVALID_OPT_VALUE(name, hwm);
29931
30622
  }
29932
-
29933
30623
  return Math.floor(hwm);
29934
- } // Default value
29935
-
30624
+ }
29936
30625
 
30626
+ // Default value
29937
30627
  return state.objectMode ? 16 : 16 * 1024;
29938
30628
  }
29939
-
29940
30629
  module.exports = {
29941
30630
  getHighWaterMark: getHighWaterMark
29942
30631
  };
29943
30632
 
29944
30633
  /***/ }),
29945
30634
 
29946
- /***/ 4258:
30635
+ /***/ 309:
29947
30636
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
29948
30637
 
29949
30638
  module.exports = __webpack_require__(2413);
@@ -29951,7 +30640,7 @@ module.exports = __webpack_require__(2413);
29951
30640
 
29952
30641
  /***/ }),
29953
30642
 
29954
- /***/ 7231:
30643
+ /***/ 9650:
29955
30644
  /***/ ((module, exports, __webpack_require__) => {
29956
30645
 
29957
30646
  var Stream = __webpack_require__(2413);
@@ -29960,15 +30649,15 @@ if (process.env.READABLE_STREAM === 'disable' && Stream) {
29960
30649
  Object.assign(module.exports, Stream);
29961
30650
  module.exports.Stream = Stream;
29962
30651
  } else {
29963
- exports = module.exports = __webpack_require__(5150);
30652
+ exports = module.exports = __webpack_require__(4769);
29964
30653
  exports.Stream = Stream || exports;
29965
30654
  exports.Readable = exports;
29966
- exports.Writable = __webpack_require__(5749);
29967
- exports.Duplex = __webpack_require__(6509);
29968
- exports.Transform = __webpack_require__(4838);
29969
- exports.PassThrough = __webpack_require__(6010);
29970
- exports.finished = __webpack_require__(4398);
29971
- exports.pipeline = __webpack_require__(4926);
30655
+ exports.Writable = __webpack_require__(2560);
30656
+ exports.Duplex = __webpack_require__(4604);
30657
+ exports.Transform = __webpack_require__(4218);
30658
+ exports.PassThrough = __webpack_require__(7511);
30659
+ exports.finished = __webpack_require__(5141);
30660
+ exports.pipeline = __webpack_require__(2419);
29972
30661
  }
29973
30662
 
29974
30663
 
@@ -40867,7 +41556,7 @@ const build = async ({ files, workPath, repoRootPath, entrypoint, config = {}, m
40867
41556
  handler: '___next_launcher.cjs',
40868
41557
  runtime: nodeVersion.runtime,
40869
41558
  ...lambdaOptions,
40870
- operationType: 'SSR',
41559
+ operationType: 'Page',
40871
41560
  shouldAddHelpers: false,
40872
41561
  shouldAddSourcemapSupport: false,
40873
41562
  supportsMultiPayloads: !!process.env.NEXT_PRIVATE_MULTI_PAYLOAD,
@@ -42989,6 +43678,7 @@ async function serverBuild({ dynamicPages, pagesDir, config = {}, privateOutputs
42989
43678
  isCorrectMiddlewareOrder,
42990
43679
  prerenderBypassToken: prerenderManifest.bypassToken || '',
42991
43680
  nextVersion,
43681
+ appPathRoutesManifest: appPathRoutesManifest || {},
42992
43682
  });
42993
43683
  const isNextDataServerResolving = middleware.staticRoutes.length > 0 &&
42994
43684
  semver_1.default.gte(nextVersion, NEXT_DATA_MIDDLEWARE_RESOLVING_VERSION);
@@ -45152,7 +45842,7 @@ async function getPrivateOutputs(dir, entries) {
45152
45842
  return { files, routes };
45153
45843
  }
45154
45844
  exports.getPrivateOutputs = getPrivateOutputs;
45155
- async function getMiddlewareBundle({ entryPath, outputDirectory, routesManifest, isCorrectMiddlewareOrder, prerenderBypassToken, nextVersion, }) {
45845
+ async function getMiddlewareBundle({ entryPath, outputDirectory, routesManifest, isCorrectMiddlewareOrder, prerenderBypassToken, nextVersion, appPathRoutesManifest, }) {
45156
45846
  const middlewareManifest = await getMiddlewareManifest(entryPath, outputDirectory);
45157
45847
  const sortedFunctions = [
45158
45848
  ...(!middlewareManifest
@@ -45269,9 +45959,12 @@ async function getMiddlewareBundle({ entryPath, outputDirectory, routesManifest,
45269
45959
  }
45270
45960
  else if (shortPath.startsWith('app/') &&
45271
45961
  (shortPath.endsWith('/page') || shortPath.endsWith('/route'))) {
45272
- shortPath =
45273
- shortPath.replace(/^app\//, '').replace(/(^|\/)(page|route)$/, '') ||
45274
- 'index';
45962
+ const ogRoute = shortPath.replace(/^app\//, '/');
45963
+ shortPath = (appPathRoutesManifest[ogRoute] ||
45964
+ shortPath.replace(/(^|\/)(page|route)$/, '')).replace(/^\//, '');
45965
+ if (!shortPath || shortPath === '/') {
45966
+ shortPath = 'index';
45967
+ }
45275
45968
  }
45276
45969
  if (routesManifest?.basePath) {
45277
45970
  shortPath = path_1.default.posix
@@ -45437,7 +46130,7 @@ function getOperationType({ group, prerenderManifest, pageFileName, }) {
45437
46130
  return 'ISR';
45438
46131
  }
45439
46132
  }
45440
- return 'SSR';
46133
+ return 'Page'; // aka SSR
45441
46134
  }
45442
46135
  exports.getOperationType = getOperationType;
45443
46136
  function isApiPage(page) {