@feathersjs/client 4.5.11 → 4.5.12
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/CHANGELOG.md +11 -0
- package/dist/authentication.js +58 -42
- package/dist/authentication.js.map +1 -1
- package/dist/authentication.min.js +1 -1
- package/dist/core.js +84 -47
- package/dist/core.js.map +1 -1
- package/dist/core.min.js +1 -1
- package/dist/feathers.js +1512 -159
- package/dist/feathers.js.map +1 -1
- package/dist/feathers.min.js +1 -1
- package/dist/primus.js +36 -20
- package/dist/primus.js.map +1 -1
- package/dist/primus.min.js +1 -1
- package/dist/rest.js +1432 -100
- package/dist/rest.js.map +1 -1
- package/dist/rest.min.js +1 -1
- package/dist/socketio.js +36 -20
- package/dist/socketio.js.map +1 -1
- package/dist/socketio.min.js +1 -1
- package/package.json +21 -21
package/dist/rest.js
CHANGED
|
@@ -12,7 +12,7 @@ return /******/ (function() { // webpackBootstrap
|
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
14
|
/***/ "../../node_modules/debug/src/browser.js":
|
|
15
|
-
|
|
15
|
+
/*!***********************************************!*\
|
|
16
16
|
!*** ../../node_modules/debug/src/browser.js ***!
|
|
17
17
|
\***********************************************/
|
|
18
18
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -202,7 +202,7 @@ formatters.j = function (v) {
|
|
|
202
202
|
/***/ }),
|
|
203
203
|
|
|
204
204
|
/***/ "../../node_modules/debug/src/common.js":
|
|
205
|
-
|
|
205
|
+
/*!**********************************************!*\
|
|
206
206
|
!*** ../../node_modules/debug/src/common.js ***!
|
|
207
207
|
\**********************************************/
|
|
208
208
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
@@ -213,7 +213,7 @@ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread n
|
|
|
213
213
|
|
|
214
214
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
215
215
|
|
|
216
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator
|
|
216
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
217
217
|
|
|
218
218
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
219
219
|
|
|
@@ -250,7 +250,7 @@ function setup(env) {
|
|
|
250
250
|
createDebug.formatters = {};
|
|
251
251
|
/**
|
|
252
252
|
* Selects a color for a debug namespace
|
|
253
|
-
* @param {String} namespace The namespace string for the
|
|
253
|
+
* @param {String} namespace The namespace string for the debug instance to be colored
|
|
254
254
|
* @return {Number|String} An ANSI color code for the given namespace
|
|
255
255
|
* @api private
|
|
256
256
|
*/
|
|
@@ -278,6 +278,8 @@ function setup(env) {
|
|
|
278
278
|
function createDebug(namespace) {
|
|
279
279
|
var prevTime;
|
|
280
280
|
var enableOverride = null;
|
|
281
|
+
var namespacesCache;
|
|
282
|
+
var enabledCache;
|
|
281
283
|
|
|
282
284
|
function debug() {
|
|
283
285
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -341,7 +343,16 @@ function setup(env) {
|
|
|
341
343
|
enumerable: true,
|
|
342
344
|
configurable: false,
|
|
343
345
|
get: function get() {
|
|
344
|
-
|
|
346
|
+
if (enableOverride !== null) {
|
|
347
|
+
return enableOverride;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
if (namespacesCache !== createDebug.namespaces) {
|
|
351
|
+
namespacesCache = createDebug.namespaces;
|
|
352
|
+
enabledCache = createDebug.enabled(namespace);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
return enabledCache;
|
|
345
356
|
},
|
|
346
357
|
set: function set(v) {
|
|
347
358
|
enableOverride = v;
|
|
@@ -371,6 +382,7 @@ function setup(env) {
|
|
|
371
382
|
|
|
372
383
|
function enable(namespaces) {
|
|
373
384
|
createDebug.save(namespaces);
|
|
385
|
+
createDebug.namespaces = namespaces;
|
|
374
386
|
createDebug.names = [];
|
|
375
387
|
createDebug.skips = [];
|
|
376
388
|
var i;
|
|
@@ -485,7 +497,7 @@ module.exports = setup;
|
|
|
485
497
|
/***/ }),
|
|
486
498
|
|
|
487
499
|
/***/ "./src/rest.js":
|
|
488
|
-
|
|
500
|
+
/*!*********************!*\
|
|
489
501
|
!*** ./src/rest.js ***!
|
|
490
502
|
\*********************/
|
|
491
503
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
@@ -495,7 +507,7 @@ module.exports = __webpack_require__(/*! @feathersjs/rest-client */ "../rest-cli
|
|
|
495
507
|
/***/ }),
|
|
496
508
|
|
|
497
509
|
/***/ "../commons/lib/hooks.js":
|
|
498
|
-
|
|
510
|
+
/*!*******************************!*\
|
|
499
511
|
!*** ../commons/lib/hooks.js ***!
|
|
500
512
|
\*******************************/
|
|
501
513
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
@@ -503,7 +515,7 @@ module.exports = __webpack_require__(/*! @feathersjs/rest-client */ "../rest-cli
|
|
|
503
515
|
"use strict";
|
|
504
516
|
|
|
505
517
|
|
|
506
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
518
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
507
519
|
|
|
508
520
|
Object.defineProperty(exports, "__esModule", ({
|
|
509
521
|
value: true
|
|
@@ -515,7 +527,7 @@ var utils_1 = __webpack_require__(/*! ./utils */ "../commons/lib/utils.js");
|
|
|
515
527
|
var _utils_1$_ = utils_1._,
|
|
516
528
|
each = _utils_1$_.each,
|
|
517
529
|
pick = _utils_1$_.pick;
|
|
518
|
-
exports.ACTIVATE_HOOKS = utils_1.createSymbol('__feathersActivateHooks');
|
|
530
|
+
exports.ACTIVATE_HOOKS = (0, utils_1.createSymbol)('__feathersActivateHooks');
|
|
519
531
|
|
|
520
532
|
function createHookObject(method) {
|
|
521
533
|
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
@@ -728,7 +740,7 @@ exports.enableHooks = enableHooks;
|
|
|
728
740
|
/***/ }),
|
|
729
741
|
|
|
730
742
|
/***/ "../commons/lib/index.js":
|
|
731
|
-
|
|
743
|
+
/*!*******************************!*\
|
|
732
744
|
!*** ../commons/lib/index.js ***!
|
|
733
745
|
\*******************************/
|
|
734
746
|
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
@@ -790,7 +802,7 @@ exports.hooks = hookUtils;
|
|
|
790
802
|
/***/ }),
|
|
791
803
|
|
|
792
804
|
/***/ "../commons/lib/utils.js":
|
|
793
|
-
|
|
805
|
+
/*!*******************************!*\
|
|
794
806
|
!*** ../commons/lib/utils.js ***!
|
|
795
807
|
\*******************************/
|
|
796
808
|
/***/ (function(__unused_webpack_module, exports) {
|
|
@@ -800,7 +812,7 @@ exports.hooks = hookUtils;
|
|
|
800
812
|
|
|
801
813
|
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; }
|
|
802
814
|
|
|
803
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
815
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
804
816
|
|
|
805
817
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
806
818
|
|
|
@@ -810,7 +822,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
810
822
|
|
|
811
823
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
812
824
|
|
|
813
|
-
function _iterableToArrayLimit(arr, i) {
|
|
825
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
814
826
|
|
|
815
827
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
816
828
|
|
|
@@ -960,12 +972,12 @@ exports.createSymbol = createSymbol;
|
|
|
960
972
|
/***/ }),
|
|
961
973
|
|
|
962
974
|
/***/ "../errors/lib/index.js":
|
|
963
|
-
|
|
975
|
+
/*!******************************!*\
|
|
964
976
|
!*** ../errors/lib/index.js ***!
|
|
965
977
|
\******************************/
|
|
966
978
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
967
979
|
|
|
968
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
980
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
969
981
|
|
|
970
982
|
var debug = __webpack_require__(/*! debug */ "../../node_modules/debug/src/browser.js")('@feathersjs/errors');
|
|
971
983
|
|
|
@@ -1209,30 +1221,30 @@ module.exports = Object.assign({
|
|
|
1209
1221
|
/***/ }),
|
|
1210
1222
|
|
|
1211
1223
|
/***/ "../rest-client/lib/angular-http-client.js":
|
|
1212
|
-
|
|
1224
|
+
/*!*************************************************!*\
|
|
1213
1225
|
!*** ../rest-client/lib/angular-http-client.js ***!
|
|
1214
1226
|
\*************************************************/
|
|
1215
1227
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1216
1228
|
|
|
1217
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
1229
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
1218
1230
|
|
|
1219
1231
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1220
1232
|
|
|
1221
1233
|
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); } }
|
|
1222
1234
|
|
|
1223
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1235
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
1224
1236
|
|
|
1225
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1237
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1226
1238
|
|
|
1227
1239
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1228
1240
|
|
|
1229
1241
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
1230
1242
|
|
|
1231
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1243
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
1232
1244
|
|
|
1233
1245
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1234
1246
|
|
|
1235
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try {
|
|
1247
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
1236
1248
|
|
|
1237
1249
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1238
1250
|
|
|
@@ -1293,30 +1305,30 @@ module.exports = AngularHttpService;
|
|
|
1293
1305
|
/***/ }),
|
|
1294
1306
|
|
|
1295
1307
|
/***/ "../rest-client/lib/angular.js":
|
|
1296
|
-
|
|
1308
|
+
/*!*************************************!*\
|
|
1297
1309
|
!*** ../rest-client/lib/angular.js ***!
|
|
1298
1310
|
\*************************************/
|
|
1299
1311
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1300
1312
|
|
|
1301
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
1313
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
1302
1314
|
|
|
1303
1315
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1304
1316
|
|
|
1305
1317
|
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); } }
|
|
1306
1318
|
|
|
1307
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1319
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
1308
1320
|
|
|
1309
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1321
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1310
1322
|
|
|
1311
1323
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1312
1324
|
|
|
1313
1325
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
1314
1326
|
|
|
1315
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1327
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
1316
1328
|
|
|
1317
1329
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1318
1330
|
|
|
1319
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try {
|
|
1331
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
1320
1332
|
|
|
1321
1333
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1322
1334
|
|
|
@@ -1374,30 +1386,30 @@ module.exports = AngularService;
|
|
|
1374
1386
|
/***/ }),
|
|
1375
1387
|
|
|
1376
1388
|
/***/ "../rest-client/lib/axios.js":
|
|
1377
|
-
|
|
1389
|
+
/*!***********************************!*\
|
|
1378
1390
|
!*** ../rest-client/lib/axios.js ***!
|
|
1379
1391
|
\***********************************/
|
|
1380
1392
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1381
1393
|
|
|
1382
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
1394
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
1383
1395
|
|
|
1384
1396
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1385
1397
|
|
|
1386
1398
|
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); } }
|
|
1387
1399
|
|
|
1388
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1400
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
1389
1401
|
|
|
1390
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1402
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1391
1403
|
|
|
1392
1404
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1393
1405
|
|
|
1394
1406
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
1395
1407
|
|
|
1396
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1408
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
1397
1409
|
|
|
1398
1410
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1399
1411
|
|
|
1400
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try {
|
|
1412
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
1401
1413
|
|
|
1402
1414
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1403
1415
|
|
|
@@ -1442,7 +1454,7 @@ module.exports = AxiosService;
|
|
|
1442
1454
|
/***/ }),
|
|
1443
1455
|
|
|
1444
1456
|
/***/ "../rest-client/lib/base.js":
|
|
1445
|
-
|
|
1457
|
+
/*!**********************************!*\
|
|
1446
1458
|
!*** ../rest-client/lib/base.js ***!
|
|
1447
1459
|
\**********************************/
|
|
1448
1460
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
@@ -1451,7 +1463,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
1451
1463
|
|
|
1452
1464
|
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); } }
|
|
1453
1465
|
|
|
1454
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1466
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
1455
1467
|
|
|
1456
1468
|
var qs = __webpack_require__(/*! qs */ "../../node_modules/qs/lib/index.js");
|
|
1457
1469
|
|
|
@@ -1606,30 +1618,30 @@ module.exports = Base;
|
|
|
1606
1618
|
/***/ }),
|
|
1607
1619
|
|
|
1608
1620
|
/***/ "../rest-client/lib/fetch.js":
|
|
1609
|
-
|
|
1621
|
+
/*!***********************************!*\
|
|
1610
1622
|
!*** ../rest-client/lib/fetch.js ***!
|
|
1611
1623
|
\***********************************/
|
|
1612
1624
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1613
1625
|
|
|
1614
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
1626
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
1615
1627
|
|
|
1616
1628
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1617
1629
|
|
|
1618
1630
|
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); } }
|
|
1619
1631
|
|
|
1620
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1632
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
1621
1633
|
|
|
1622
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1634
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1623
1635
|
|
|
1624
1636
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1625
1637
|
|
|
1626
1638
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
1627
1639
|
|
|
1628
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1640
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
1629
1641
|
|
|
1630
1642
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1631
1643
|
|
|
1632
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try {
|
|
1644
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
1633
1645
|
|
|
1634
1646
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1635
1647
|
|
|
@@ -1692,7 +1704,7 @@ module.exports = FetchService;
|
|
|
1692
1704
|
/***/ }),
|
|
1693
1705
|
|
|
1694
1706
|
/***/ "../rest-client/lib/index.js":
|
|
1695
|
-
|
|
1707
|
+
/*!***********************************!*\
|
|
1696
1708
|
!*** ../rest-client/lib/index.js ***!
|
|
1697
1709
|
\***********************************/
|
|
1698
1710
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
@@ -1777,35 +1789,35 @@ module.exports = Object.assign(restClient, {
|
|
|
1777
1789
|
AngularClient: AngularClient,
|
|
1778
1790
|
AngularHttpClient: AngularHttpClient
|
|
1779
1791
|
});
|
|
1780
|
-
module.exports
|
|
1792
|
+
module.exports["default"] = restClient;
|
|
1781
1793
|
|
|
1782
1794
|
/***/ }),
|
|
1783
1795
|
|
|
1784
1796
|
/***/ "../rest-client/lib/jquery.js":
|
|
1785
|
-
|
|
1797
|
+
/*!************************************!*\
|
|
1786
1798
|
!*** ../rest-client/lib/jquery.js ***!
|
|
1787
1799
|
\************************************/
|
|
1788
1800
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1789
1801
|
|
|
1790
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
1802
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
1791
1803
|
|
|
1792
1804
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1793
1805
|
|
|
1794
1806
|
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); } }
|
|
1795
1807
|
|
|
1796
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1808
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
1797
1809
|
|
|
1798
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1810
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1799
1811
|
|
|
1800
1812
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1801
1813
|
|
|
1802
1814
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
1803
1815
|
|
|
1804
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1816
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
1805
1817
|
|
|
1806
1818
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1807
1819
|
|
|
1808
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try {
|
|
1820
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
1809
1821
|
|
|
1810
1822
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1811
1823
|
|
|
@@ -1868,30 +1880,30 @@ module.exports = JQueryService;
|
|
|
1868
1880
|
/***/ }),
|
|
1869
1881
|
|
|
1870
1882
|
/***/ "../rest-client/lib/request.js":
|
|
1871
|
-
|
|
1883
|
+
/*!*************************************!*\
|
|
1872
1884
|
!*** ../rest-client/lib/request.js ***!
|
|
1873
1885
|
\*************************************/
|
|
1874
1886
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1875
1887
|
|
|
1876
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
1888
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
1877
1889
|
|
|
1878
1890
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1879
1891
|
|
|
1880
1892
|
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); } }
|
|
1881
1893
|
|
|
1882
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1894
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
1883
1895
|
|
|
1884
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1896
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1885
1897
|
|
|
1886
1898
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1887
1899
|
|
|
1888
1900
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
1889
1901
|
|
|
1890
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1902
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
1891
1903
|
|
|
1892
1904
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1893
1905
|
|
|
1894
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try {
|
|
1906
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
1895
1907
|
|
|
1896
1908
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1897
1909
|
|
|
@@ -1950,30 +1962,30 @@ module.exports = RequestService;
|
|
|
1950
1962
|
/***/ }),
|
|
1951
1963
|
|
|
1952
1964
|
/***/ "../rest-client/lib/superagent.js":
|
|
1953
|
-
|
|
1965
|
+
/*!****************************************!*\
|
|
1954
1966
|
!*** ../rest-client/lib/superagent.js ***!
|
|
1955
1967
|
\****************************************/
|
|
1956
1968
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1957
1969
|
|
|
1958
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
1970
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
1959
1971
|
|
|
1960
1972
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
1961
1973
|
|
|
1962
1974
|
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); } }
|
|
1963
1975
|
|
|
1964
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1976
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
1965
1977
|
|
|
1966
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1978
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1967
1979
|
|
|
1968
1980
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1969
1981
|
|
|
1970
1982
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
1971
1983
|
|
|
1972
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1984
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
1973
1985
|
|
|
1974
1986
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
1975
1987
|
|
|
1976
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try {
|
|
1988
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
1977
1989
|
|
|
1978
1990
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1979
1991
|
|
|
@@ -2023,10 +2035,607 @@ var SuperagentService = /*#__PURE__*/function (_Base) {
|
|
|
2023
2035
|
|
|
2024
2036
|
module.exports = SuperagentService;
|
|
2025
2037
|
|
|
2038
|
+
/***/ }),
|
|
2039
|
+
|
|
2040
|
+
/***/ "../../node_modules/call-bind/callBound.js":
|
|
2041
|
+
/*!*************************************************!*\
|
|
2042
|
+
!*** ../../node_modules/call-bind/callBound.js ***!
|
|
2043
|
+
\*************************************************/
|
|
2044
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2045
|
+
|
|
2046
|
+
"use strict";
|
|
2047
|
+
|
|
2048
|
+
|
|
2049
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
|
|
2050
|
+
|
|
2051
|
+
var callBind = __webpack_require__(/*! ./ */ "../../node_modules/call-bind/index.js");
|
|
2052
|
+
|
|
2053
|
+
var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
|
|
2054
|
+
|
|
2055
|
+
module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
2056
|
+
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
2057
|
+
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
|
|
2058
|
+
return callBind(intrinsic);
|
|
2059
|
+
}
|
|
2060
|
+
return intrinsic;
|
|
2061
|
+
};
|
|
2062
|
+
|
|
2063
|
+
|
|
2064
|
+
/***/ }),
|
|
2065
|
+
|
|
2066
|
+
/***/ "../../node_modules/call-bind/index.js":
|
|
2067
|
+
/*!*********************************************!*\
|
|
2068
|
+
!*** ../../node_modules/call-bind/index.js ***!
|
|
2069
|
+
\*********************************************/
|
|
2070
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2071
|
+
|
|
2072
|
+
"use strict";
|
|
2073
|
+
|
|
2074
|
+
|
|
2075
|
+
var bind = __webpack_require__(/*! function-bind */ "../../node_modules/function-bind/index.js");
|
|
2076
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
|
|
2077
|
+
|
|
2078
|
+
var $apply = GetIntrinsic('%Function.prototype.apply%');
|
|
2079
|
+
var $call = GetIntrinsic('%Function.prototype.call%');
|
|
2080
|
+
var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
|
|
2081
|
+
|
|
2082
|
+
var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
|
|
2083
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
2084
|
+
var $max = GetIntrinsic('%Math.max%');
|
|
2085
|
+
|
|
2086
|
+
if ($defineProperty) {
|
|
2087
|
+
try {
|
|
2088
|
+
$defineProperty({}, 'a', { value: 1 });
|
|
2089
|
+
} catch (e) {
|
|
2090
|
+
// IE 8 has a broken defineProperty
|
|
2091
|
+
$defineProperty = null;
|
|
2092
|
+
}
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
module.exports = function callBind(originalFunction) {
|
|
2096
|
+
var func = $reflectApply(bind, $call, arguments);
|
|
2097
|
+
if ($gOPD && $defineProperty) {
|
|
2098
|
+
var desc = $gOPD(func, 'length');
|
|
2099
|
+
if (desc.configurable) {
|
|
2100
|
+
// original length, plus the receiver, minus any additional arguments (after the receiver)
|
|
2101
|
+
$defineProperty(
|
|
2102
|
+
func,
|
|
2103
|
+
'length',
|
|
2104
|
+
{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
|
|
2105
|
+
);
|
|
2106
|
+
}
|
|
2107
|
+
}
|
|
2108
|
+
return func;
|
|
2109
|
+
};
|
|
2110
|
+
|
|
2111
|
+
var applyBind = function applyBind() {
|
|
2112
|
+
return $reflectApply(bind, $apply, arguments);
|
|
2113
|
+
};
|
|
2114
|
+
|
|
2115
|
+
if ($defineProperty) {
|
|
2116
|
+
$defineProperty(module.exports, 'apply', { value: applyBind });
|
|
2117
|
+
} else {
|
|
2118
|
+
module.exports.apply = applyBind;
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2121
|
+
|
|
2122
|
+
/***/ }),
|
|
2123
|
+
|
|
2124
|
+
/***/ "../../node_modules/function-bind/implementation.js":
|
|
2125
|
+
/*!**********************************************************!*\
|
|
2126
|
+
!*** ../../node_modules/function-bind/implementation.js ***!
|
|
2127
|
+
\**********************************************************/
|
|
2128
|
+
/***/ (function(module) {
|
|
2129
|
+
|
|
2130
|
+
"use strict";
|
|
2131
|
+
|
|
2132
|
+
|
|
2133
|
+
/* eslint no-invalid-this: 1 */
|
|
2134
|
+
|
|
2135
|
+
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
2136
|
+
var slice = Array.prototype.slice;
|
|
2137
|
+
var toStr = Object.prototype.toString;
|
|
2138
|
+
var funcType = '[object Function]';
|
|
2139
|
+
|
|
2140
|
+
module.exports = function bind(that) {
|
|
2141
|
+
var target = this;
|
|
2142
|
+
if (typeof target !== 'function' || toStr.call(target) !== funcType) {
|
|
2143
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
2144
|
+
}
|
|
2145
|
+
var args = slice.call(arguments, 1);
|
|
2146
|
+
|
|
2147
|
+
var bound;
|
|
2148
|
+
var binder = function () {
|
|
2149
|
+
if (this instanceof bound) {
|
|
2150
|
+
var result = target.apply(
|
|
2151
|
+
this,
|
|
2152
|
+
args.concat(slice.call(arguments))
|
|
2153
|
+
);
|
|
2154
|
+
if (Object(result) === result) {
|
|
2155
|
+
return result;
|
|
2156
|
+
}
|
|
2157
|
+
return this;
|
|
2158
|
+
} else {
|
|
2159
|
+
return target.apply(
|
|
2160
|
+
that,
|
|
2161
|
+
args.concat(slice.call(arguments))
|
|
2162
|
+
);
|
|
2163
|
+
}
|
|
2164
|
+
};
|
|
2165
|
+
|
|
2166
|
+
var boundLength = Math.max(0, target.length - args.length);
|
|
2167
|
+
var boundArgs = [];
|
|
2168
|
+
for (var i = 0; i < boundLength; i++) {
|
|
2169
|
+
boundArgs.push('$' + i);
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
2173
|
+
|
|
2174
|
+
if (target.prototype) {
|
|
2175
|
+
var Empty = function Empty() {};
|
|
2176
|
+
Empty.prototype = target.prototype;
|
|
2177
|
+
bound.prototype = new Empty();
|
|
2178
|
+
Empty.prototype = null;
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
return bound;
|
|
2182
|
+
};
|
|
2183
|
+
|
|
2184
|
+
|
|
2185
|
+
/***/ }),
|
|
2186
|
+
|
|
2187
|
+
/***/ "../../node_modules/function-bind/index.js":
|
|
2188
|
+
/*!*************************************************!*\
|
|
2189
|
+
!*** ../../node_modules/function-bind/index.js ***!
|
|
2190
|
+
\*************************************************/
|
|
2191
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2192
|
+
|
|
2193
|
+
"use strict";
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
var implementation = __webpack_require__(/*! ./implementation */ "../../node_modules/function-bind/implementation.js");
|
|
2197
|
+
|
|
2198
|
+
module.exports = Function.prototype.bind || implementation;
|
|
2199
|
+
|
|
2200
|
+
|
|
2201
|
+
/***/ }),
|
|
2202
|
+
|
|
2203
|
+
/***/ "../../node_modules/get-intrinsic/index.js":
|
|
2204
|
+
/*!*************************************************!*\
|
|
2205
|
+
!*** ../../node_modules/get-intrinsic/index.js ***!
|
|
2206
|
+
\*************************************************/
|
|
2207
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2208
|
+
|
|
2209
|
+
"use strict";
|
|
2210
|
+
|
|
2211
|
+
|
|
2212
|
+
var undefined;
|
|
2213
|
+
|
|
2214
|
+
var $SyntaxError = SyntaxError;
|
|
2215
|
+
var $Function = Function;
|
|
2216
|
+
var $TypeError = TypeError;
|
|
2217
|
+
|
|
2218
|
+
// eslint-disable-next-line consistent-return
|
|
2219
|
+
var getEvalledConstructor = function (expressionSyntax) {
|
|
2220
|
+
try {
|
|
2221
|
+
return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
|
|
2222
|
+
} catch (e) {}
|
|
2223
|
+
};
|
|
2224
|
+
|
|
2225
|
+
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
2226
|
+
if ($gOPD) {
|
|
2227
|
+
try {
|
|
2228
|
+
$gOPD({}, '');
|
|
2229
|
+
} catch (e) {
|
|
2230
|
+
$gOPD = null; // this is IE 8, which has a broken gOPD
|
|
2231
|
+
}
|
|
2232
|
+
}
|
|
2233
|
+
|
|
2234
|
+
var throwTypeError = function () {
|
|
2235
|
+
throw new $TypeError();
|
|
2236
|
+
};
|
|
2237
|
+
var ThrowTypeError = $gOPD
|
|
2238
|
+
? (function () {
|
|
2239
|
+
try {
|
|
2240
|
+
// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
|
|
2241
|
+
arguments.callee; // IE 8 does not throw here
|
|
2242
|
+
return throwTypeError;
|
|
2243
|
+
} catch (calleeThrows) {
|
|
2244
|
+
try {
|
|
2245
|
+
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
2246
|
+
return $gOPD(arguments, 'callee').get;
|
|
2247
|
+
} catch (gOPDthrows) {
|
|
2248
|
+
return throwTypeError;
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
}())
|
|
2252
|
+
: throwTypeError;
|
|
2253
|
+
|
|
2254
|
+
var hasSymbols = __webpack_require__(/*! has-symbols */ "../../node_modules/has-symbols/index.js")();
|
|
2255
|
+
|
|
2256
|
+
var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
|
|
2257
|
+
|
|
2258
|
+
var needsEval = {};
|
|
2259
|
+
|
|
2260
|
+
var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
|
|
2261
|
+
|
|
2262
|
+
var INTRINSICS = {
|
|
2263
|
+
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
2264
|
+
'%Array%': Array,
|
|
2265
|
+
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
2266
|
+
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
|
|
2267
|
+
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
2268
|
+
'%AsyncFunction%': needsEval,
|
|
2269
|
+
'%AsyncGenerator%': needsEval,
|
|
2270
|
+
'%AsyncGeneratorFunction%': needsEval,
|
|
2271
|
+
'%AsyncIteratorPrototype%': needsEval,
|
|
2272
|
+
'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
|
|
2273
|
+
'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
|
|
2274
|
+
'%Boolean%': Boolean,
|
|
2275
|
+
'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
|
|
2276
|
+
'%Date%': Date,
|
|
2277
|
+
'%decodeURI%': decodeURI,
|
|
2278
|
+
'%decodeURIComponent%': decodeURIComponent,
|
|
2279
|
+
'%encodeURI%': encodeURI,
|
|
2280
|
+
'%encodeURIComponent%': encodeURIComponent,
|
|
2281
|
+
'%Error%': Error,
|
|
2282
|
+
'%eval%': eval, // eslint-disable-line no-eval
|
|
2283
|
+
'%EvalError%': EvalError,
|
|
2284
|
+
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
2285
|
+
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
2286
|
+
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
2287
|
+
'%Function%': $Function,
|
|
2288
|
+
'%GeneratorFunction%': needsEval,
|
|
2289
|
+
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
|
|
2290
|
+
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
|
|
2291
|
+
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
|
|
2292
|
+
'%isFinite%': isFinite,
|
|
2293
|
+
'%isNaN%': isNaN,
|
|
2294
|
+
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
2295
|
+
'%JSON%': typeof JSON === 'object' ? JSON : undefined,
|
|
2296
|
+
'%Map%': typeof Map === 'undefined' ? undefined : Map,
|
|
2297
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
2298
|
+
'%Math%': Math,
|
|
2299
|
+
'%Number%': Number,
|
|
2300
|
+
'%Object%': Object,
|
|
2301
|
+
'%parseFloat%': parseFloat,
|
|
2302
|
+
'%parseInt%': parseInt,
|
|
2303
|
+
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
2304
|
+
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
|
2305
|
+
'%RangeError%': RangeError,
|
|
2306
|
+
'%ReferenceError%': ReferenceError,
|
|
2307
|
+
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
2308
|
+
'%RegExp%': RegExp,
|
|
2309
|
+
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
2310
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
2311
|
+
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
|
|
2312
|
+
'%String%': String,
|
|
2313
|
+
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
|
|
2314
|
+
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
2315
|
+
'%SyntaxError%': $SyntaxError,
|
|
2316
|
+
'%ThrowTypeError%': ThrowTypeError,
|
|
2317
|
+
'%TypedArray%': TypedArray,
|
|
2318
|
+
'%TypeError%': $TypeError,
|
|
2319
|
+
'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
|
|
2320
|
+
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
|
2321
|
+
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
|
2322
|
+
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
|
2323
|
+
'%URIError%': URIError,
|
|
2324
|
+
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
2325
|
+
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
2326
|
+
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
2327
|
+
};
|
|
2328
|
+
|
|
2329
|
+
var doEval = function doEval(name) {
|
|
2330
|
+
var value;
|
|
2331
|
+
if (name === '%AsyncFunction%') {
|
|
2332
|
+
value = getEvalledConstructor('async function () {}');
|
|
2333
|
+
} else if (name === '%GeneratorFunction%') {
|
|
2334
|
+
value = getEvalledConstructor('function* () {}');
|
|
2335
|
+
} else if (name === '%AsyncGeneratorFunction%') {
|
|
2336
|
+
value = getEvalledConstructor('async function* () {}');
|
|
2337
|
+
} else if (name === '%AsyncGenerator%') {
|
|
2338
|
+
var fn = doEval('%AsyncGeneratorFunction%');
|
|
2339
|
+
if (fn) {
|
|
2340
|
+
value = fn.prototype;
|
|
2341
|
+
}
|
|
2342
|
+
} else if (name === '%AsyncIteratorPrototype%') {
|
|
2343
|
+
var gen = doEval('%AsyncGenerator%');
|
|
2344
|
+
if (gen) {
|
|
2345
|
+
value = getProto(gen.prototype);
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2348
|
+
|
|
2349
|
+
INTRINSICS[name] = value;
|
|
2350
|
+
|
|
2351
|
+
return value;
|
|
2352
|
+
};
|
|
2353
|
+
|
|
2354
|
+
var LEGACY_ALIASES = {
|
|
2355
|
+
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
2356
|
+
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
2357
|
+
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
2358
|
+
'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
|
|
2359
|
+
'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
|
|
2360
|
+
'%ArrayProto_values%': ['Array', 'prototype', 'values'],
|
|
2361
|
+
'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
|
|
2362
|
+
'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
|
|
2363
|
+
'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
|
|
2364
|
+
'%BooleanPrototype%': ['Boolean', 'prototype'],
|
|
2365
|
+
'%DataViewPrototype%': ['DataView', 'prototype'],
|
|
2366
|
+
'%DatePrototype%': ['Date', 'prototype'],
|
|
2367
|
+
'%ErrorPrototype%': ['Error', 'prototype'],
|
|
2368
|
+
'%EvalErrorPrototype%': ['EvalError', 'prototype'],
|
|
2369
|
+
'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
|
|
2370
|
+
'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
|
|
2371
|
+
'%FunctionPrototype%': ['Function', 'prototype'],
|
|
2372
|
+
'%Generator%': ['GeneratorFunction', 'prototype'],
|
|
2373
|
+
'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
|
|
2374
|
+
'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
|
|
2375
|
+
'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
|
|
2376
|
+
'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
|
|
2377
|
+
'%JSONParse%': ['JSON', 'parse'],
|
|
2378
|
+
'%JSONStringify%': ['JSON', 'stringify'],
|
|
2379
|
+
'%MapPrototype%': ['Map', 'prototype'],
|
|
2380
|
+
'%NumberPrototype%': ['Number', 'prototype'],
|
|
2381
|
+
'%ObjectPrototype%': ['Object', 'prototype'],
|
|
2382
|
+
'%ObjProto_toString%': ['Object', 'prototype', 'toString'],
|
|
2383
|
+
'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
|
|
2384
|
+
'%PromisePrototype%': ['Promise', 'prototype'],
|
|
2385
|
+
'%PromiseProto_then%': ['Promise', 'prototype', 'then'],
|
|
2386
|
+
'%Promise_all%': ['Promise', 'all'],
|
|
2387
|
+
'%Promise_reject%': ['Promise', 'reject'],
|
|
2388
|
+
'%Promise_resolve%': ['Promise', 'resolve'],
|
|
2389
|
+
'%RangeErrorPrototype%': ['RangeError', 'prototype'],
|
|
2390
|
+
'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
|
|
2391
|
+
'%RegExpPrototype%': ['RegExp', 'prototype'],
|
|
2392
|
+
'%SetPrototype%': ['Set', 'prototype'],
|
|
2393
|
+
'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
|
|
2394
|
+
'%StringPrototype%': ['String', 'prototype'],
|
|
2395
|
+
'%SymbolPrototype%': ['Symbol', 'prototype'],
|
|
2396
|
+
'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
|
|
2397
|
+
'%TypedArrayPrototype%': ['TypedArray', 'prototype'],
|
|
2398
|
+
'%TypeErrorPrototype%': ['TypeError', 'prototype'],
|
|
2399
|
+
'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
|
|
2400
|
+
'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
|
|
2401
|
+
'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
|
|
2402
|
+
'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
|
|
2403
|
+
'%URIErrorPrototype%': ['URIError', 'prototype'],
|
|
2404
|
+
'%WeakMapPrototype%': ['WeakMap', 'prototype'],
|
|
2405
|
+
'%WeakSetPrototype%': ['WeakSet', 'prototype']
|
|
2406
|
+
};
|
|
2407
|
+
|
|
2408
|
+
var bind = __webpack_require__(/*! function-bind */ "../../node_modules/function-bind/index.js");
|
|
2409
|
+
var hasOwn = __webpack_require__(/*! has */ "../../node_modules/has/src/index.js");
|
|
2410
|
+
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
2411
|
+
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
2412
|
+
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
2413
|
+
var $strSlice = bind.call(Function.call, String.prototype.slice);
|
|
2414
|
+
|
|
2415
|
+
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
2416
|
+
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
2417
|
+
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
2418
|
+
var stringToPath = function stringToPath(string) {
|
|
2419
|
+
var first = $strSlice(string, 0, 1);
|
|
2420
|
+
var last = $strSlice(string, -1);
|
|
2421
|
+
if (first === '%' && last !== '%') {
|
|
2422
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
|
|
2423
|
+
} else if (last === '%' && first !== '%') {
|
|
2424
|
+
throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
|
|
2425
|
+
}
|
|
2426
|
+
var result = [];
|
|
2427
|
+
$replace(string, rePropName, function (match, number, quote, subString) {
|
|
2428
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
|
|
2429
|
+
});
|
|
2430
|
+
return result;
|
|
2431
|
+
};
|
|
2432
|
+
/* end adaptation */
|
|
2433
|
+
|
|
2434
|
+
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
2435
|
+
var intrinsicName = name;
|
|
2436
|
+
var alias;
|
|
2437
|
+
if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
|
|
2438
|
+
alias = LEGACY_ALIASES[intrinsicName];
|
|
2439
|
+
intrinsicName = '%' + alias[0] + '%';
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
if (hasOwn(INTRINSICS, intrinsicName)) {
|
|
2443
|
+
var value = INTRINSICS[intrinsicName];
|
|
2444
|
+
if (value === needsEval) {
|
|
2445
|
+
value = doEval(intrinsicName);
|
|
2446
|
+
}
|
|
2447
|
+
if (typeof value === 'undefined' && !allowMissing) {
|
|
2448
|
+
throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2451
|
+
return {
|
|
2452
|
+
alias: alias,
|
|
2453
|
+
name: intrinsicName,
|
|
2454
|
+
value: value
|
|
2455
|
+
};
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
2459
|
+
};
|
|
2460
|
+
|
|
2461
|
+
module.exports = function GetIntrinsic(name, allowMissing) {
|
|
2462
|
+
if (typeof name !== 'string' || name.length === 0) {
|
|
2463
|
+
throw new $TypeError('intrinsic name must be a non-empty string');
|
|
2464
|
+
}
|
|
2465
|
+
if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
|
|
2466
|
+
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
var parts = stringToPath(name);
|
|
2470
|
+
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
2471
|
+
|
|
2472
|
+
var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
|
|
2473
|
+
var intrinsicRealName = intrinsic.name;
|
|
2474
|
+
var value = intrinsic.value;
|
|
2475
|
+
var skipFurtherCaching = false;
|
|
2476
|
+
|
|
2477
|
+
var alias = intrinsic.alias;
|
|
2478
|
+
if (alias) {
|
|
2479
|
+
intrinsicBaseName = alias[0];
|
|
2480
|
+
$spliceApply(parts, $concat([0, 1], alias));
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
for (var i = 1, isOwn = true; i < parts.length; i += 1) {
|
|
2484
|
+
var part = parts[i];
|
|
2485
|
+
var first = $strSlice(part, 0, 1);
|
|
2486
|
+
var last = $strSlice(part, -1);
|
|
2487
|
+
if (
|
|
2488
|
+
(
|
|
2489
|
+
(first === '"' || first === "'" || first === '`')
|
|
2490
|
+
|| (last === '"' || last === "'" || last === '`')
|
|
2491
|
+
)
|
|
2492
|
+
&& first !== last
|
|
2493
|
+
) {
|
|
2494
|
+
throw new $SyntaxError('property names with quotes must have matching quotes');
|
|
2495
|
+
}
|
|
2496
|
+
if (part === 'constructor' || !isOwn) {
|
|
2497
|
+
skipFurtherCaching = true;
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
|
+
intrinsicBaseName += '.' + part;
|
|
2501
|
+
intrinsicRealName = '%' + intrinsicBaseName + '%';
|
|
2502
|
+
|
|
2503
|
+
if (hasOwn(INTRINSICS, intrinsicRealName)) {
|
|
2504
|
+
value = INTRINSICS[intrinsicRealName];
|
|
2505
|
+
} else if (value != null) {
|
|
2506
|
+
if (!(part in value)) {
|
|
2507
|
+
if (!allowMissing) {
|
|
2508
|
+
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
2509
|
+
}
|
|
2510
|
+
return void undefined;
|
|
2511
|
+
}
|
|
2512
|
+
if ($gOPD && (i + 1) >= parts.length) {
|
|
2513
|
+
var desc = $gOPD(value, part);
|
|
2514
|
+
isOwn = !!desc;
|
|
2515
|
+
|
|
2516
|
+
// By convention, when a data property is converted to an accessor
|
|
2517
|
+
// property to emulate a data property that does not suffer from
|
|
2518
|
+
// the override mistake, that accessor's getter is marked with
|
|
2519
|
+
// an `originalValue` property. Here, when we detect this, we
|
|
2520
|
+
// uphold the illusion by pretending to see that original data
|
|
2521
|
+
// property, i.e., returning the value rather than the getter
|
|
2522
|
+
// itself.
|
|
2523
|
+
if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
|
|
2524
|
+
value = desc.get;
|
|
2525
|
+
} else {
|
|
2526
|
+
value = value[part];
|
|
2527
|
+
}
|
|
2528
|
+
} else {
|
|
2529
|
+
isOwn = hasOwn(value, part);
|
|
2530
|
+
value = value[part];
|
|
2531
|
+
}
|
|
2532
|
+
|
|
2533
|
+
if (isOwn && !skipFurtherCaching) {
|
|
2534
|
+
INTRINSICS[intrinsicRealName] = value;
|
|
2535
|
+
}
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2538
|
+
return value;
|
|
2539
|
+
};
|
|
2540
|
+
|
|
2541
|
+
|
|
2542
|
+
/***/ }),
|
|
2543
|
+
|
|
2544
|
+
/***/ "../../node_modules/has-symbols/index.js":
|
|
2545
|
+
/*!***********************************************!*\
|
|
2546
|
+
!*** ../../node_modules/has-symbols/index.js ***!
|
|
2547
|
+
\***********************************************/
|
|
2548
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2549
|
+
|
|
2550
|
+
"use strict";
|
|
2551
|
+
|
|
2552
|
+
|
|
2553
|
+
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
2554
|
+
var hasSymbolSham = __webpack_require__(/*! ./shams */ "../../node_modules/has-symbols/shams.js");
|
|
2555
|
+
|
|
2556
|
+
module.exports = function hasNativeSymbols() {
|
|
2557
|
+
if (typeof origSymbol !== 'function') { return false; }
|
|
2558
|
+
if (typeof Symbol !== 'function') { return false; }
|
|
2559
|
+
if (typeof origSymbol('foo') !== 'symbol') { return false; }
|
|
2560
|
+
if (typeof Symbol('bar') !== 'symbol') { return false; }
|
|
2561
|
+
|
|
2562
|
+
return hasSymbolSham();
|
|
2563
|
+
};
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
/***/ }),
|
|
2567
|
+
|
|
2568
|
+
/***/ "../../node_modules/has-symbols/shams.js":
|
|
2569
|
+
/*!***********************************************!*\
|
|
2570
|
+
!*** ../../node_modules/has-symbols/shams.js ***!
|
|
2571
|
+
\***********************************************/
|
|
2572
|
+
/***/ (function(module) {
|
|
2573
|
+
|
|
2574
|
+
"use strict";
|
|
2575
|
+
|
|
2576
|
+
|
|
2577
|
+
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
2578
|
+
module.exports = function hasSymbols() {
|
|
2579
|
+
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
2580
|
+
if (typeof Symbol.iterator === 'symbol') { return true; }
|
|
2581
|
+
|
|
2582
|
+
var obj = {};
|
|
2583
|
+
var sym = Symbol('test');
|
|
2584
|
+
var symObj = Object(sym);
|
|
2585
|
+
if (typeof sym === 'string') { return false; }
|
|
2586
|
+
|
|
2587
|
+
if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
|
|
2588
|
+
if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
|
|
2589
|
+
|
|
2590
|
+
// temp disabled per https://github.com/ljharb/object.assign/issues/17
|
|
2591
|
+
// if (sym instanceof Symbol) { return false; }
|
|
2592
|
+
// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
|
|
2593
|
+
// if (!(symObj instanceof Symbol)) { return false; }
|
|
2594
|
+
|
|
2595
|
+
// if (typeof Symbol.prototype.toString !== 'function') { return false; }
|
|
2596
|
+
// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
|
|
2597
|
+
|
|
2598
|
+
var symVal = 42;
|
|
2599
|
+
obj[sym] = symVal;
|
|
2600
|
+
for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
|
|
2601
|
+
if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
|
|
2602
|
+
|
|
2603
|
+
if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
|
|
2604
|
+
|
|
2605
|
+
var syms = Object.getOwnPropertySymbols(obj);
|
|
2606
|
+
if (syms.length !== 1 || syms[0] !== sym) { return false; }
|
|
2607
|
+
|
|
2608
|
+
if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
|
|
2609
|
+
|
|
2610
|
+
if (typeof Object.getOwnPropertyDescriptor === 'function') {
|
|
2611
|
+
var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
|
|
2612
|
+
if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2615
|
+
return true;
|
|
2616
|
+
};
|
|
2617
|
+
|
|
2618
|
+
|
|
2619
|
+
/***/ }),
|
|
2620
|
+
|
|
2621
|
+
/***/ "../../node_modules/has/src/index.js":
|
|
2622
|
+
/*!*******************************************!*\
|
|
2623
|
+
!*** ../../node_modules/has/src/index.js ***!
|
|
2624
|
+
\*******************************************/
|
|
2625
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2626
|
+
|
|
2627
|
+
"use strict";
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
var bind = __webpack_require__(/*! function-bind */ "../../node_modules/function-bind/index.js");
|
|
2631
|
+
|
|
2632
|
+
module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
2633
|
+
|
|
2634
|
+
|
|
2026
2635
|
/***/ }),
|
|
2027
2636
|
|
|
2028
2637
|
/***/ "../../node_modules/ms/index.js":
|
|
2029
|
-
|
|
2638
|
+
/*!**************************************!*\
|
|
2030
2639
|
!*** ../../node_modules/ms/index.js ***!
|
|
2031
2640
|
\**************************************/
|
|
2032
2641
|
/***/ (function(module) {
|
|
@@ -2195,13 +2804,534 @@ function plural(ms, msAbs, n, name) {
|
|
|
2195
2804
|
}
|
|
2196
2805
|
|
|
2197
2806
|
|
|
2807
|
+
/***/ }),
|
|
2808
|
+
|
|
2809
|
+
/***/ "../../node_modules/object-inspect/index.js":
|
|
2810
|
+
/*!**************************************************!*\
|
|
2811
|
+
!*** ../../node_modules/object-inspect/index.js ***!
|
|
2812
|
+
\**************************************************/
|
|
2813
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2814
|
+
|
|
2815
|
+
var hasMap = typeof Map === 'function' && Map.prototype;
|
|
2816
|
+
var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
|
|
2817
|
+
var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
|
|
2818
|
+
var mapForEach = hasMap && Map.prototype.forEach;
|
|
2819
|
+
var hasSet = typeof Set === 'function' && Set.prototype;
|
|
2820
|
+
var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
|
|
2821
|
+
var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
|
|
2822
|
+
var setForEach = hasSet && Set.prototype.forEach;
|
|
2823
|
+
var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
|
|
2824
|
+
var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
|
|
2825
|
+
var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
|
|
2826
|
+
var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
|
|
2827
|
+
var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
|
|
2828
|
+
var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
|
|
2829
|
+
var booleanValueOf = Boolean.prototype.valueOf;
|
|
2830
|
+
var objectToString = Object.prototype.toString;
|
|
2831
|
+
var functionToString = Function.prototype.toString;
|
|
2832
|
+
var $match = String.prototype.match;
|
|
2833
|
+
var $slice = String.prototype.slice;
|
|
2834
|
+
var $replace = String.prototype.replace;
|
|
2835
|
+
var $toUpperCase = String.prototype.toUpperCase;
|
|
2836
|
+
var $toLowerCase = String.prototype.toLowerCase;
|
|
2837
|
+
var $test = RegExp.prototype.test;
|
|
2838
|
+
var $concat = Array.prototype.concat;
|
|
2839
|
+
var $join = Array.prototype.join;
|
|
2840
|
+
var $arrSlice = Array.prototype.slice;
|
|
2841
|
+
var $floor = Math.floor;
|
|
2842
|
+
var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
|
|
2843
|
+
var gOPS = Object.getOwnPropertySymbols;
|
|
2844
|
+
var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
|
|
2845
|
+
var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
|
|
2846
|
+
// ie, `has-tostringtag/shams
|
|
2847
|
+
var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
|
|
2848
|
+
? Symbol.toStringTag
|
|
2849
|
+
: null;
|
|
2850
|
+
var isEnumerable = Object.prototype.propertyIsEnumerable;
|
|
2851
|
+
|
|
2852
|
+
var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
|
|
2853
|
+
[].__proto__ === Array.prototype // eslint-disable-line no-proto
|
|
2854
|
+
? function (O) {
|
|
2855
|
+
return O.__proto__; // eslint-disable-line no-proto
|
|
2856
|
+
}
|
|
2857
|
+
: null
|
|
2858
|
+
);
|
|
2859
|
+
|
|
2860
|
+
function addNumericSeparator(num, str) {
|
|
2861
|
+
if (
|
|
2862
|
+
num === Infinity
|
|
2863
|
+
|| num === -Infinity
|
|
2864
|
+
|| num !== num
|
|
2865
|
+
|| (num && num > -1000 && num < 1000)
|
|
2866
|
+
|| $test.call(/e/, str)
|
|
2867
|
+
) {
|
|
2868
|
+
return str;
|
|
2869
|
+
}
|
|
2870
|
+
var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
2871
|
+
if (typeof num === 'number') {
|
|
2872
|
+
var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
|
|
2873
|
+
if (int !== num) {
|
|
2874
|
+
var intStr = String(int);
|
|
2875
|
+
var dec = $slice.call(str, intStr.length + 1);
|
|
2876
|
+
return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
return $replace.call(str, sepRegex, '$&_');
|
|
2880
|
+
}
|
|
2881
|
+
|
|
2882
|
+
var inspectCustom = (__webpack_require__(/*! ./util.inspect */ "?c95a").custom);
|
|
2883
|
+
var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
|
|
2884
|
+
|
|
2885
|
+
module.exports = function inspect_(obj, options, depth, seen) {
|
|
2886
|
+
var opts = options || {};
|
|
2887
|
+
|
|
2888
|
+
if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
|
|
2889
|
+
throw new TypeError('option "quoteStyle" must be "single" or "double"');
|
|
2890
|
+
}
|
|
2891
|
+
if (
|
|
2892
|
+
has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
|
|
2893
|
+
? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
|
|
2894
|
+
: opts.maxStringLength !== null
|
|
2895
|
+
)
|
|
2896
|
+
) {
|
|
2897
|
+
throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
|
|
2898
|
+
}
|
|
2899
|
+
var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
|
|
2900
|
+
if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
|
|
2901
|
+
throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
|
|
2902
|
+
}
|
|
2903
|
+
|
|
2904
|
+
if (
|
|
2905
|
+
has(opts, 'indent')
|
|
2906
|
+
&& opts.indent !== null
|
|
2907
|
+
&& opts.indent !== '\t'
|
|
2908
|
+
&& !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
|
|
2909
|
+
) {
|
|
2910
|
+
throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
|
|
2911
|
+
}
|
|
2912
|
+
if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
|
|
2913
|
+
throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
|
|
2914
|
+
}
|
|
2915
|
+
var numericSeparator = opts.numericSeparator;
|
|
2916
|
+
|
|
2917
|
+
if (typeof obj === 'undefined') {
|
|
2918
|
+
return 'undefined';
|
|
2919
|
+
}
|
|
2920
|
+
if (obj === null) {
|
|
2921
|
+
return 'null';
|
|
2922
|
+
}
|
|
2923
|
+
if (typeof obj === 'boolean') {
|
|
2924
|
+
return obj ? 'true' : 'false';
|
|
2925
|
+
}
|
|
2926
|
+
|
|
2927
|
+
if (typeof obj === 'string') {
|
|
2928
|
+
return inspectString(obj, opts);
|
|
2929
|
+
}
|
|
2930
|
+
if (typeof obj === 'number') {
|
|
2931
|
+
if (obj === 0) {
|
|
2932
|
+
return Infinity / obj > 0 ? '0' : '-0';
|
|
2933
|
+
}
|
|
2934
|
+
var str = String(obj);
|
|
2935
|
+
return numericSeparator ? addNumericSeparator(obj, str) : str;
|
|
2936
|
+
}
|
|
2937
|
+
if (typeof obj === 'bigint') {
|
|
2938
|
+
var bigIntStr = String(obj) + 'n';
|
|
2939
|
+
return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
|
|
2940
|
+
}
|
|
2941
|
+
|
|
2942
|
+
var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
|
|
2943
|
+
if (typeof depth === 'undefined') { depth = 0; }
|
|
2944
|
+
if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
|
|
2945
|
+
return isArray(obj) ? '[Array]' : '[Object]';
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
var indent = getIndent(opts, depth);
|
|
2949
|
+
|
|
2950
|
+
if (typeof seen === 'undefined') {
|
|
2951
|
+
seen = [];
|
|
2952
|
+
} else if (indexOf(seen, obj) >= 0) {
|
|
2953
|
+
return '[Circular]';
|
|
2954
|
+
}
|
|
2955
|
+
|
|
2956
|
+
function inspect(value, from, noIndent) {
|
|
2957
|
+
if (from) {
|
|
2958
|
+
seen = $arrSlice.call(seen);
|
|
2959
|
+
seen.push(from);
|
|
2960
|
+
}
|
|
2961
|
+
if (noIndent) {
|
|
2962
|
+
var newOpts = {
|
|
2963
|
+
depth: opts.depth
|
|
2964
|
+
};
|
|
2965
|
+
if (has(opts, 'quoteStyle')) {
|
|
2966
|
+
newOpts.quoteStyle = opts.quoteStyle;
|
|
2967
|
+
}
|
|
2968
|
+
return inspect_(value, newOpts, depth + 1, seen);
|
|
2969
|
+
}
|
|
2970
|
+
return inspect_(value, opts, depth + 1, seen);
|
|
2971
|
+
}
|
|
2972
|
+
|
|
2973
|
+
if (typeof obj === 'function') {
|
|
2974
|
+
var name = nameOf(obj);
|
|
2975
|
+
var keys = arrObjKeys(obj, inspect);
|
|
2976
|
+
return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
|
|
2977
|
+
}
|
|
2978
|
+
if (isSymbol(obj)) {
|
|
2979
|
+
var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
|
|
2980
|
+
return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
|
|
2981
|
+
}
|
|
2982
|
+
if (isElement(obj)) {
|
|
2983
|
+
var s = '<' + $toLowerCase.call(String(obj.nodeName));
|
|
2984
|
+
var attrs = obj.attributes || [];
|
|
2985
|
+
for (var i = 0; i < attrs.length; i++) {
|
|
2986
|
+
s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
|
|
2987
|
+
}
|
|
2988
|
+
s += '>';
|
|
2989
|
+
if (obj.childNodes && obj.childNodes.length) { s += '...'; }
|
|
2990
|
+
s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
|
|
2991
|
+
return s;
|
|
2992
|
+
}
|
|
2993
|
+
if (isArray(obj)) {
|
|
2994
|
+
if (obj.length === 0) { return '[]'; }
|
|
2995
|
+
var xs = arrObjKeys(obj, inspect);
|
|
2996
|
+
if (indent && !singleLineValues(xs)) {
|
|
2997
|
+
return '[' + indentedJoin(xs, indent) + ']';
|
|
2998
|
+
}
|
|
2999
|
+
return '[ ' + $join.call(xs, ', ') + ' ]';
|
|
3000
|
+
}
|
|
3001
|
+
if (isError(obj)) {
|
|
3002
|
+
var parts = arrObjKeys(obj, inspect);
|
|
3003
|
+
if ('cause' in obj && !isEnumerable.call(obj, 'cause')) {
|
|
3004
|
+
return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
|
|
3005
|
+
}
|
|
3006
|
+
if (parts.length === 0) { return '[' + String(obj) + ']'; }
|
|
3007
|
+
return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
|
|
3008
|
+
}
|
|
3009
|
+
if (typeof obj === 'object' && customInspect) {
|
|
3010
|
+
if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
|
|
3011
|
+
return obj[inspectSymbol]();
|
|
3012
|
+
} else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
|
|
3013
|
+
return obj.inspect();
|
|
3014
|
+
}
|
|
3015
|
+
}
|
|
3016
|
+
if (isMap(obj)) {
|
|
3017
|
+
var mapParts = [];
|
|
3018
|
+
mapForEach.call(obj, function (value, key) {
|
|
3019
|
+
mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
|
|
3020
|
+
});
|
|
3021
|
+
return collectionOf('Map', mapSize.call(obj), mapParts, indent);
|
|
3022
|
+
}
|
|
3023
|
+
if (isSet(obj)) {
|
|
3024
|
+
var setParts = [];
|
|
3025
|
+
setForEach.call(obj, function (value) {
|
|
3026
|
+
setParts.push(inspect(value, obj));
|
|
3027
|
+
});
|
|
3028
|
+
return collectionOf('Set', setSize.call(obj), setParts, indent);
|
|
3029
|
+
}
|
|
3030
|
+
if (isWeakMap(obj)) {
|
|
3031
|
+
return weakCollectionOf('WeakMap');
|
|
3032
|
+
}
|
|
3033
|
+
if (isWeakSet(obj)) {
|
|
3034
|
+
return weakCollectionOf('WeakSet');
|
|
3035
|
+
}
|
|
3036
|
+
if (isWeakRef(obj)) {
|
|
3037
|
+
return weakCollectionOf('WeakRef');
|
|
3038
|
+
}
|
|
3039
|
+
if (isNumber(obj)) {
|
|
3040
|
+
return markBoxed(inspect(Number(obj)));
|
|
3041
|
+
}
|
|
3042
|
+
if (isBigInt(obj)) {
|
|
3043
|
+
return markBoxed(inspect(bigIntValueOf.call(obj)));
|
|
3044
|
+
}
|
|
3045
|
+
if (isBoolean(obj)) {
|
|
3046
|
+
return markBoxed(booleanValueOf.call(obj));
|
|
3047
|
+
}
|
|
3048
|
+
if (isString(obj)) {
|
|
3049
|
+
return markBoxed(inspect(String(obj)));
|
|
3050
|
+
}
|
|
3051
|
+
if (!isDate(obj) && !isRegExp(obj)) {
|
|
3052
|
+
var ys = arrObjKeys(obj, inspect);
|
|
3053
|
+
var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
|
|
3054
|
+
var protoTag = obj instanceof Object ? '' : 'null prototype';
|
|
3055
|
+
var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
|
|
3056
|
+
var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
|
|
3057
|
+
var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
|
|
3058
|
+
if (ys.length === 0) { return tag + '{}'; }
|
|
3059
|
+
if (indent) {
|
|
3060
|
+
return tag + '{' + indentedJoin(ys, indent) + '}';
|
|
3061
|
+
}
|
|
3062
|
+
return tag + '{ ' + $join.call(ys, ', ') + ' }';
|
|
3063
|
+
}
|
|
3064
|
+
return String(obj);
|
|
3065
|
+
};
|
|
3066
|
+
|
|
3067
|
+
function wrapQuotes(s, defaultStyle, opts) {
|
|
3068
|
+
var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
|
|
3069
|
+
return quoteChar + s + quoteChar;
|
|
3070
|
+
}
|
|
3071
|
+
|
|
3072
|
+
function quote(s) {
|
|
3073
|
+
return $replace.call(String(s), /"/g, '"');
|
|
3074
|
+
}
|
|
3075
|
+
|
|
3076
|
+
function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
3077
|
+
function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
3078
|
+
function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
3079
|
+
function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
3080
|
+
function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
3081
|
+
function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
3082
|
+
function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
|
|
3083
|
+
|
|
3084
|
+
// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
|
|
3085
|
+
function isSymbol(obj) {
|
|
3086
|
+
if (hasShammedSymbols) {
|
|
3087
|
+
return obj && typeof obj === 'object' && obj instanceof Symbol;
|
|
3088
|
+
}
|
|
3089
|
+
if (typeof obj === 'symbol') {
|
|
3090
|
+
return true;
|
|
3091
|
+
}
|
|
3092
|
+
if (!obj || typeof obj !== 'object' || !symToString) {
|
|
3093
|
+
return false;
|
|
3094
|
+
}
|
|
3095
|
+
try {
|
|
3096
|
+
symToString.call(obj);
|
|
3097
|
+
return true;
|
|
3098
|
+
} catch (e) {}
|
|
3099
|
+
return false;
|
|
3100
|
+
}
|
|
3101
|
+
|
|
3102
|
+
function isBigInt(obj) {
|
|
3103
|
+
if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
|
|
3104
|
+
return false;
|
|
3105
|
+
}
|
|
3106
|
+
try {
|
|
3107
|
+
bigIntValueOf.call(obj);
|
|
3108
|
+
return true;
|
|
3109
|
+
} catch (e) {}
|
|
3110
|
+
return false;
|
|
3111
|
+
}
|
|
3112
|
+
|
|
3113
|
+
var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
|
|
3114
|
+
function has(obj, key) {
|
|
3115
|
+
return hasOwn.call(obj, key);
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
function toStr(obj) {
|
|
3119
|
+
return objectToString.call(obj);
|
|
3120
|
+
}
|
|
3121
|
+
|
|
3122
|
+
function nameOf(f) {
|
|
3123
|
+
if (f.name) { return f.name; }
|
|
3124
|
+
var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
|
|
3125
|
+
if (m) { return m[1]; }
|
|
3126
|
+
return null;
|
|
3127
|
+
}
|
|
3128
|
+
|
|
3129
|
+
function indexOf(xs, x) {
|
|
3130
|
+
if (xs.indexOf) { return xs.indexOf(x); }
|
|
3131
|
+
for (var i = 0, l = xs.length; i < l; i++) {
|
|
3132
|
+
if (xs[i] === x) { return i; }
|
|
3133
|
+
}
|
|
3134
|
+
return -1;
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
function isMap(x) {
|
|
3138
|
+
if (!mapSize || !x || typeof x !== 'object') {
|
|
3139
|
+
return false;
|
|
3140
|
+
}
|
|
3141
|
+
try {
|
|
3142
|
+
mapSize.call(x);
|
|
3143
|
+
try {
|
|
3144
|
+
setSize.call(x);
|
|
3145
|
+
} catch (s) {
|
|
3146
|
+
return true;
|
|
3147
|
+
}
|
|
3148
|
+
return x instanceof Map; // core-js workaround, pre-v2.5.0
|
|
3149
|
+
} catch (e) {}
|
|
3150
|
+
return false;
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3153
|
+
function isWeakMap(x) {
|
|
3154
|
+
if (!weakMapHas || !x || typeof x !== 'object') {
|
|
3155
|
+
return false;
|
|
3156
|
+
}
|
|
3157
|
+
try {
|
|
3158
|
+
weakMapHas.call(x, weakMapHas);
|
|
3159
|
+
try {
|
|
3160
|
+
weakSetHas.call(x, weakSetHas);
|
|
3161
|
+
} catch (s) {
|
|
3162
|
+
return true;
|
|
3163
|
+
}
|
|
3164
|
+
return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
|
|
3165
|
+
} catch (e) {}
|
|
3166
|
+
return false;
|
|
3167
|
+
}
|
|
3168
|
+
|
|
3169
|
+
function isWeakRef(x) {
|
|
3170
|
+
if (!weakRefDeref || !x || typeof x !== 'object') {
|
|
3171
|
+
return false;
|
|
3172
|
+
}
|
|
3173
|
+
try {
|
|
3174
|
+
weakRefDeref.call(x);
|
|
3175
|
+
return true;
|
|
3176
|
+
} catch (e) {}
|
|
3177
|
+
return false;
|
|
3178
|
+
}
|
|
3179
|
+
|
|
3180
|
+
function isSet(x) {
|
|
3181
|
+
if (!setSize || !x || typeof x !== 'object') {
|
|
3182
|
+
return false;
|
|
3183
|
+
}
|
|
3184
|
+
try {
|
|
3185
|
+
setSize.call(x);
|
|
3186
|
+
try {
|
|
3187
|
+
mapSize.call(x);
|
|
3188
|
+
} catch (m) {
|
|
3189
|
+
return true;
|
|
3190
|
+
}
|
|
3191
|
+
return x instanceof Set; // core-js workaround, pre-v2.5.0
|
|
3192
|
+
} catch (e) {}
|
|
3193
|
+
return false;
|
|
3194
|
+
}
|
|
3195
|
+
|
|
3196
|
+
function isWeakSet(x) {
|
|
3197
|
+
if (!weakSetHas || !x || typeof x !== 'object') {
|
|
3198
|
+
return false;
|
|
3199
|
+
}
|
|
3200
|
+
try {
|
|
3201
|
+
weakSetHas.call(x, weakSetHas);
|
|
3202
|
+
try {
|
|
3203
|
+
weakMapHas.call(x, weakMapHas);
|
|
3204
|
+
} catch (s) {
|
|
3205
|
+
return true;
|
|
3206
|
+
}
|
|
3207
|
+
return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
|
|
3208
|
+
} catch (e) {}
|
|
3209
|
+
return false;
|
|
3210
|
+
}
|
|
3211
|
+
|
|
3212
|
+
function isElement(x) {
|
|
3213
|
+
if (!x || typeof x !== 'object') { return false; }
|
|
3214
|
+
if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
|
|
3215
|
+
return true;
|
|
3216
|
+
}
|
|
3217
|
+
return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3220
|
+
function inspectString(str, opts) {
|
|
3221
|
+
if (str.length > opts.maxStringLength) {
|
|
3222
|
+
var remaining = str.length - opts.maxStringLength;
|
|
3223
|
+
var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
|
|
3224
|
+
return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
|
|
3225
|
+
}
|
|
3226
|
+
// eslint-disable-next-line no-control-regex
|
|
3227
|
+
var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
|
|
3228
|
+
return wrapQuotes(s, 'single', opts);
|
|
3229
|
+
}
|
|
3230
|
+
|
|
3231
|
+
function lowbyte(c) {
|
|
3232
|
+
var n = c.charCodeAt(0);
|
|
3233
|
+
var x = {
|
|
3234
|
+
8: 'b',
|
|
3235
|
+
9: 't',
|
|
3236
|
+
10: 'n',
|
|
3237
|
+
12: 'f',
|
|
3238
|
+
13: 'r'
|
|
3239
|
+
}[n];
|
|
3240
|
+
if (x) { return '\\' + x; }
|
|
3241
|
+
return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
|
|
3242
|
+
}
|
|
3243
|
+
|
|
3244
|
+
function markBoxed(str) {
|
|
3245
|
+
return 'Object(' + str + ')';
|
|
3246
|
+
}
|
|
3247
|
+
|
|
3248
|
+
function weakCollectionOf(type) {
|
|
3249
|
+
return type + ' { ? }';
|
|
3250
|
+
}
|
|
3251
|
+
|
|
3252
|
+
function collectionOf(type, size, entries, indent) {
|
|
3253
|
+
var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
|
|
3254
|
+
return type + ' (' + size + ') {' + joinedEntries + '}';
|
|
3255
|
+
}
|
|
3256
|
+
|
|
3257
|
+
function singleLineValues(xs) {
|
|
3258
|
+
for (var i = 0; i < xs.length; i++) {
|
|
3259
|
+
if (indexOf(xs[i], '\n') >= 0) {
|
|
3260
|
+
return false;
|
|
3261
|
+
}
|
|
3262
|
+
}
|
|
3263
|
+
return true;
|
|
3264
|
+
}
|
|
3265
|
+
|
|
3266
|
+
function getIndent(opts, depth) {
|
|
3267
|
+
var baseIndent;
|
|
3268
|
+
if (opts.indent === '\t') {
|
|
3269
|
+
baseIndent = '\t';
|
|
3270
|
+
} else if (typeof opts.indent === 'number' && opts.indent > 0) {
|
|
3271
|
+
baseIndent = $join.call(Array(opts.indent + 1), ' ');
|
|
3272
|
+
} else {
|
|
3273
|
+
return null;
|
|
3274
|
+
}
|
|
3275
|
+
return {
|
|
3276
|
+
base: baseIndent,
|
|
3277
|
+
prev: $join.call(Array(depth + 1), baseIndent)
|
|
3278
|
+
};
|
|
3279
|
+
}
|
|
3280
|
+
|
|
3281
|
+
function indentedJoin(xs, indent) {
|
|
3282
|
+
if (xs.length === 0) { return ''; }
|
|
3283
|
+
var lineJoiner = '\n' + indent.prev + indent.base;
|
|
3284
|
+
return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
|
|
3285
|
+
}
|
|
3286
|
+
|
|
3287
|
+
function arrObjKeys(obj, inspect) {
|
|
3288
|
+
var isArr = isArray(obj);
|
|
3289
|
+
var xs = [];
|
|
3290
|
+
if (isArr) {
|
|
3291
|
+
xs.length = obj.length;
|
|
3292
|
+
for (var i = 0; i < obj.length; i++) {
|
|
3293
|
+
xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
|
|
3294
|
+
}
|
|
3295
|
+
}
|
|
3296
|
+
var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
|
|
3297
|
+
var symMap;
|
|
3298
|
+
if (hasShammedSymbols) {
|
|
3299
|
+
symMap = {};
|
|
3300
|
+
for (var k = 0; k < syms.length; k++) {
|
|
3301
|
+
symMap['$' + syms[k]] = syms[k];
|
|
3302
|
+
}
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
for (var key in obj) { // eslint-disable-line no-restricted-syntax
|
|
3306
|
+
if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
|
|
3307
|
+
if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
|
|
3308
|
+
if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
|
|
3309
|
+
// this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
|
|
3310
|
+
continue; // eslint-disable-line no-restricted-syntax, no-continue
|
|
3311
|
+
} else if ($test.call(/[^\w$]/, key)) {
|
|
3312
|
+
xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
|
|
3313
|
+
} else {
|
|
3314
|
+
xs.push(key + ': ' + inspect(obj[key], obj));
|
|
3315
|
+
}
|
|
3316
|
+
}
|
|
3317
|
+
if (typeof gOPS === 'function') {
|
|
3318
|
+
for (var j = 0; j < syms.length; j++) {
|
|
3319
|
+
if (isEnumerable.call(obj, syms[j])) {
|
|
3320
|
+
xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
|
|
3321
|
+
}
|
|
3322
|
+
}
|
|
3323
|
+
}
|
|
3324
|
+
return xs;
|
|
3325
|
+
}
|
|
3326
|
+
|
|
3327
|
+
|
|
2198
3328
|
/***/ }),
|
|
2199
3329
|
|
|
2200
3330
|
/***/ "../../node_modules/qs/lib/formats.js":
|
|
2201
|
-
|
|
3331
|
+
/*!********************************************!*\
|
|
2202
3332
|
!*** ../../node_modules/qs/lib/formats.js ***!
|
|
2203
3333
|
\********************************************/
|
|
2204
|
-
/***/ (function(module
|
|
3334
|
+
/***/ (function(module) {
|
|
2205
3335
|
|
|
2206
3336
|
"use strict";
|
|
2207
3337
|
|
|
@@ -2209,33 +3339,30 @@ function plural(ms, msAbs, n, name) {
|
|
|
2209
3339
|
var replace = String.prototype.replace;
|
|
2210
3340
|
var percentTwenties = /%20/g;
|
|
2211
3341
|
|
|
2212
|
-
var util = __webpack_require__(/*! ./utils */ "../../node_modules/qs/lib/utils.js");
|
|
2213
|
-
|
|
2214
3342
|
var Format = {
|
|
2215
3343
|
RFC1738: 'RFC1738',
|
|
2216
3344
|
RFC3986: 'RFC3986'
|
|
2217
3345
|
};
|
|
2218
3346
|
|
|
2219
|
-
module.exports =
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
return String(value);
|
|
2228
|
-
}
|
|
3347
|
+
module.exports = {
|
|
3348
|
+
'default': Format.RFC3986,
|
|
3349
|
+
formatters: {
|
|
3350
|
+
RFC1738: function (value) {
|
|
3351
|
+
return replace.call(value, percentTwenties, '+');
|
|
3352
|
+
},
|
|
3353
|
+
RFC3986: function (value) {
|
|
3354
|
+
return String(value);
|
|
2229
3355
|
}
|
|
2230
3356
|
},
|
|
2231
|
-
Format
|
|
2232
|
-
|
|
3357
|
+
RFC1738: Format.RFC1738,
|
|
3358
|
+
RFC3986: Format.RFC3986
|
|
3359
|
+
};
|
|
2233
3360
|
|
|
2234
3361
|
|
|
2235
3362
|
/***/ }),
|
|
2236
3363
|
|
|
2237
3364
|
/***/ "../../node_modules/qs/lib/index.js":
|
|
2238
|
-
|
|
3365
|
+
/*!******************************************!*\
|
|
2239
3366
|
!*** ../../node_modules/qs/lib/index.js ***!
|
|
2240
3367
|
\******************************************/
|
|
2241
3368
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
@@ -2257,7 +3384,7 @@ module.exports = {
|
|
|
2257
3384
|
/***/ }),
|
|
2258
3385
|
|
|
2259
3386
|
/***/ "../../node_modules/qs/lib/parse.js":
|
|
2260
|
-
|
|
3387
|
+
/*!******************************************!*\
|
|
2261
3388
|
!*** ../../node_modules/qs/lib/parse.js ***!
|
|
2262
3389
|
\******************************************/
|
|
2263
3390
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
@@ -2273,6 +3400,7 @@ var isArray = Array.isArray;
|
|
|
2273
3400
|
var defaults = {
|
|
2274
3401
|
allowDots: false,
|
|
2275
3402
|
allowPrototypes: false,
|
|
3403
|
+
allowSparse: false,
|
|
2276
3404
|
arrayLimit: 20,
|
|
2277
3405
|
charset: 'utf-8',
|
|
2278
3406
|
charsetSentinel: false,
|
|
@@ -2405,7 +3533,7 @@ var parseObject = function (chain, val, options, valuesParsed) {
|
|
|
2405
3533
|
}
|
|
2406
3534
|
}
|
|
2407
3535
|
|
|
2408
|
-
leaf = obj;
|
|
3536
|
+
leaf = obj;
|
|
2409
3537
|
}
|
|
2410
3538
|
|
|
2411
3539
|
return leaf;
|
|
@@ -2482,6 +3610,7 @@ var normalizeParseOptions = function normalizeParseOptions(opts) {
|
|
|
2482
3610
|
return {
|
|
2483
3611
|
allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
|
|
2484
3612
|
allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
|
|
3613
|
+
allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
|
|
2485
3614
|
arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
|
|
2486
3615
|
charset: charset,
|
|
2487
3616
|
charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
|
|
@@ -2518,6 +3647,10 @@ module.exports = function (str, opts) {
|
|
|
2518
3647
|
obj = utils.merge(obj, newObj, options);
|
|
2519
3648
|
}
|
|
2520
3649
|
|
|
3650
|
+
if (options.allowSparse === true) {
|
|
3651
|
+
return obj;
|
|
3652
|
+
}
|
|
3653
|
+
|
|
2521
3654
|
return utils.compact(obj);
|
|
2522
3655
|
};
|
|
2523
3656
|
|
|
@@ -2525,7 +3658,7 @@ module.exports = function (str, opts) {
|
|
|
2525
3658
|
/***/ }),
|
|
2526
3659
|
|
|
2527
3660
|
/***/ "../../node_modules/qs/lib/stringify.js":
|
|
2528
|
-
|
|
3661
|
+
/*!**********************************************!*\
|
|
2529
3662
|
!*** ../../node_modules/qs/lib/stringify.js ***!
|
|
2530
3663
|
\**********************************************/
|
|
2531
3664
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
@@ -2533,6 +3666,7 @@ module.exports = function (str, opts) {
|
|
|
2533
3666
|
"use strict";
|
|
2534
3667
|
|
|
2535
3668
|
|
|
3669
|
+
var getSideChannel = __webpack_require__(/*! side-channel */ "../../node_modules/side-channel/index.js");
|
|
2536
3670
|
var utils = __webpack_require__(/*! ./utils */ "../../node_modules/qs/lib/utils.js");
|
|
2537
3671
|
var formats = __webpack_require__(/*! ./formats */ "../../node_modules/qs/lib/formats.js");
|
|
2538
3672
|
var has = Object.prototype.hasOwnProperty;
|
|
@@ -2551,6 +3685,7 @@ var arrayPrefixGenerators = {
|
|
|
2551
3685
|
};
|
|
2552
3686
|
|
|
2553
3687
|
var isArray = Array.isArray;
|
|
3688
|
+
var split = String.prototype.split;
|
|
2554
3689
|
var push = Array.prototype.push;
|
|
2555
3690
|
var pushToArray = function (arr, valueOrArray) {
|
|
2556
3691
|
push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
|
|
@@ -2587,6 +3722,8 @@ var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
|
|
|
2587
3722
|
|| typeof v === 'bigint';
|
|
2588
3723
|
};
|
|
2589
3724
|
|
|
3725
|
+
var sentinel = {};
|
|
3726
|
+
|
|
2590
3727
|
var stringify = function stringify(
|
|
2591
3728
|
object,
|
|
2592
3729
|
prefix,
|
|
@@ -2598,11 +3735,33 @@ var stringify = function stringify(
|
|
|
2598
3735
|
sort,
|
|
2599
3736
|
allowDots,
|
|
2600
3737
|
serializeDate,
|
|
3738
|
+
format,
|
|
2601
3739
|
formatter,
|
|
2602
3740
|
encodeValuesOnly,
|
|
2603
|
-
charset
|
|
3741
|
+
charset,
|
|
3742
|
+
sideChannel
|
|
2604
3743
|
) {
|
|
2605
3744
|
var obj = object;
|
|
3745
|
+
|
|
3746
|
+
var tmpSc = sideChannel;
|
|
3747
|
+
var step = 0;
|
|
3748
|
+
var findFlag = false;
|
|
3749
|
+
while ((tmpSc = tmpSc.get(sentinel)) !== undefined && !findFlag) {
|
|
3750
|
+
// Where object last appeared in the ref tree
|
|
3751
|
+
var pos = tmpSc.get(object);
|
|
3752
|
+
step += 1;
|
|
3753
|
+
if (typeof pos !== 'undefined') {
|
|
3754
|
+
if (pos === step) {
|
|
3755
|
+
throw new RangeError('Cyclic object value');
|
|
3756
|
+
} else {
|
|
3757
|
+
findFlag = true; // Break while
|
|
3758
|
+
}
|
|
3759
|
+
}
|
|
3760
|
+
if (typeof tmpSc.get(sentinel) === 'undefined') {
|
|
3761
|
+
step = 0;
|
|
3762
|
+
}
|
|
3763
|
+
}
|
|
3764
|
+
|
|
2606
3765
|
if (typeof filter === 'function') {
|
|
2607
3766
|
obj = filter(prefix, obj);
|
|
2608
3767
|
} else if (obj instanceof Date) {
|
|
@@ -2613,12 +3772,12 @@ var stringify = function stringify(
|
|
|
2613
3772
|
return serializeDate(value);
|
|
2614
3773
|
}
|
|
2615
3774
|
return value;
|
|
2616
|
-
})
|
|
3775
|
+
});
|
|
2617
3776
|
}
|
|
2618
3777
|
|
|
2619
3778
|
if (obj === null) {
|
|
2620
3779
|
if (strictNullHandling) {
|
|
2621
|
-
return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key') : prefix;
|
|
3780
|
+
return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;
|
|
2622
3781
|
}
|
|
2623
3782
|
|
|
2624
3783
|
obj = '';
|
|
@@ -2626,8 +3785,16 @@ var stringify = function stringify(
|
|
|
2626
3785
|
|
|
2627
3786
|
if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
|
|
2628
3787
|
if (encoder) {
|
|
2629
|
-
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key');
|
|
2630
|
-
|
|
3788
|
+
var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
|
|
3789
|
+
if (generateArrayPrefix === 'comma' && encodeValuesOnly) {
|
|
3790
|
+
var valuesArray = split.call(String(obj), ',');
|
|
3791
|
+
var valuesJoined = '';
|
|
3792
|
+
for (var i = 0; i < valuesArray.length; ++i) {
|
|
3793
|
+
valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));
|
|
3794
|
+
}
|
|
3795
|
+
return [formatter(keyValue) + '=' + valuesJoined];
|
|
3796
|
+
}
|
|
3797
|
+
return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
|
|
2631
3798
|
}
|
|
2632
3799
|
return [formatter(prefix) + '=' + formatter(String(obj))];
|
|
2633
3800
|
}
|
|
@@ -2639,16 +3806,19 @@ var stringify = function stringify(
|
|
|
2639
3806
|
}
|
|
2640
3807
|
|
|
2641
3808
|
var objKeys;
|
|
2642
|
-
if (isArray(
|
|
3809
|
+
if (generateArrayPrefix === 'comma' && isArray(obj)) {
|
|
3810
|
+
// we need to join elements in
|
|
3811
|
+
objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : undefined }];
|
|
3812
|
+
} else if (isArray(filter)) {
|
|
2643
3813
|
objKeys = filter;
|
|
2644
3814
|
} else {
|
|
2645
3815
|
var keys = Object.keys(obj);
|
|
2646
3816
|
objKeys = sort ? keys.sort(sort) : keys;
|
|
2647
3817
|
}
|
|
2648
3818
|
|
|
2649
|
-
for (var
|
|
2650
|
-
var key = objKeys[
|
|
2651
|
-
var value = obj[key];
|
|
3819
|
+
for (var j = 0; j < objKeys.length; ++j) {
|
|
3820
|
+
var key = objKeys[j];
|
|
3821
|
+
var value = typeof key === 'object' && key.value !== undefined ? key.value : obj[key];
|
|
2652
3822
|
|
|
2653
3823
|
if (skipNulls && value === null) {
|
|
2654
3824
|
continue;
|
|
@@ -2658,6 +3828,9 @@ var stringify = function stringify(
|
|
|
2658
3828
|
? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix
|
|
2659
3829
|
: prefix + (allowDots ? '.' + key : '[' + key + ']');
|
|
2660
3830
|
|
|
3831
|
+
sideChannel.set(object, step);
|
|
3832
|
+
var valueSideChannel = getSideChannel();
|
|
3833
|
+
valueSideChannel.set(sentinel, sideChannel);
|
|
2661
3834
|
pushToArray(values, stringify(
|
|
2662
3835
|
value,
|
|
2663
3836
|
keyPrefix,
|
|
@@ -2669,9 +3842,11 @@ var stringify = function stringify(
|
|
|
2669
3842
|
sort,
|
|
2670
3843
|
allowDots,
|
|
2671
3844
|
serializeDate,
|
|
3845
|
+
format,
|
|
2672
3846
|
formatter,
|
|
2673
3847
|
encodeValuesOnly,
|
|
2674
|
-
charset
|
|
3848
|
+
charset,
|
|
3849
|
+
valueSideChannel
|
|
2675
3850
|
));
|
|
2676
3851
|
}
|
|
2677
3852
|
|
|
@@ -2716,6 +3891,7 @@ var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
|
|
|
2716
3891
|
encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
|
|
2717
3892
|
encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
|
|
2718
3893
|
filter: filter,
|
|
3894
|
+
format: format,
|
|
2719
3895
|
formatter: formatter,
|
|
2720
3896
|
serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,
|
|
2721
3897
|
skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,
|
|
@@ -2764,6 +3940,7 @@ module.exports = function (object, opts) {
|
|
|
2764
3940
|
objKeys.sort(options.sort);
|
|
2765
3941
|
}
|
|
2766
3942
|
|
|
3943
|
+
var sideChannel = getSideChannel();
|
|
2767
3944
|
for (var i = 0; i < objKeys.length; ++i) {
|
|
2768
3945
|
var key = objKeys[i];
|
|
2769
3946
|
|
|
@@ -2781,9 +3958,11 @@ module.exports = function (object, opts) {
|
|
|
2781
3958
|
options.sort,
|
|
2782
3959
|
options.allowDots,
|
|
2783
3960
|
options.serializeDate,
|
|
3961
|
+
options.format,
|
|
2784
3962
|
options.formatter,
|
|
2785
3963
|
options.encodeValuesOnly,
|
|
2786
|
-
options.charset
|
|
3964
|
+
options.charset,
|
|
3965
|
+
sideChannel
|
|
2787
3966
|
));
|
|
2788
3967
|
}
|
|
2789
3968
|
|
|
@@ -2807,14 +3986,16 @@ module.exports = function (object, opts) {
|
|
|
2807
3986
|
/***/ }),
|
|
2808
3987
|
|
|
2809
3988
|
/***/ "../../node_modules/qs/lib/utils.js":
|
|
2810
|
-
|
|
3989
|
+
/*!******************************************!*\
|
|
2811
3990
|
!*** ../../node_modules/qs/lib/utils.js ***!
|
|
2812
3991
|
\******************************************/
|
|
2813
|
-
/***/ (function(module) {
|
|
3992
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2814
3993
|
|
|
2815
3994
|
"use strict";
|
|
2816
3995
|
|
|
2817
3996
|
|
|
3997
|
+
var formats = __webpack_require__(/*! ./formats */ "../../node_modules/qs/lib/formats.js");
|
|
3998
|
+
|
|
2818
3999
|
var has = Object.prototype.hasOwnProperty;
|
|
2819
4000
|
var isArray = Array.isArray;
|
|
2820
4001
|
|
|
@@ -2935,7 +4116,7 @@ var decode = function (str, decoder, charset) {
|
|
|
2935
4116
|
}
|
|
2936
4117
|
};
|
|
2937
4118
|
|
|
2938
|
-
var encode = function encode(str, defaultEncoder, charset) {
|
|
4119
|
+
var encode = function encode(str, defaultEncoder, charset, kind, format) {
|
|
2939
4120
|
// This code was originally written by Brian White (mscdex) for the io.js core querystring library.
|
|
2940
4121
|
// It has been adapted here for stricter adherence to RFC 3986
|
|
2941
4122
|
if (str.length === 0) {
|
|
@@ -2967,6 +4148,7 @@ var encode = function encode(str, defaultEncoder, charset) {
|
|
|
2967
4148
|
|| (c >= 0x30 && c <= 0x39) // 0-9
|
|
2968
4149
|
|| (c >= 0x41 && c <= 0x5A) // a-z
|
|
2969
4150
|
|| (c >= 0x61 && c <= 0x7A) // A-Z
|
|
4151
|
+
|| (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
|
|
2970
4152
|
) {
|
|
2971
4153
|
out += string.charAt(i);
|
|
2972
4154
|
continue;
|
|
@@ -2989,6 +4171,7 @@ var encode = function encode(str, defaultEncoder, charset) {
|
|
|
2989
4171
|
|
|
2990
4172
|
i += 1;
|
|
2991
4173
|
c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
|
|
4174
|
+
/* eslint operator-linebreak: [2, "before"] */
|
|
2992
4175
|
out += hexTable[0xF0 | (c >> 18)]
|
|
2993
4176
|
+ hexTable[0x80 | ((c >> 12) & 0x3F)]
|
|
2994
4177
|
+ hexTable[0x80 | ((c >> 6) & 0x3F)]
|
|
@@ -3063,6 +4246,151 @@ module.exports = {
|
|
|
3063
4246
|
};
|
|
3064
4247
|
|
|
3065
4248
|
|
|
4249
|
+
/***/ }),
|
|
4250
|
+
|
|
4251
|
+
/***/ "../../node_modules/side-channel/index.js":
|
|
4252
|
+
/*!************************************************!*\
|
|
4253
|
+
!*** ../../node_modules/side-channel/index.js ***!
|
|
4254
|
+
\************************************************/
|
|
4255
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
4256
|
+
|
|
4257
|
+
"use strict";
|
|
4258
|
+
|
|
4259
|
+
|
|
4260
|
+
var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "../../node_modules/get-intrinsic/index.js");
|
|
4261
|
+
var callBound = __webpack_require__(/*! call-bind/callBound */ "../../node_modules/call-bind/callBound.js");
|
|
4262
|
+
var inspect = __webpack_require__(/*! object-inspect */ "../../node_modules/object-inspect/index.js");
|
|
4263
|
+
|
|
4264
|
+
var $TypeError = GetIntrinsic('%TypeError%');
|
|
4265
|
+
var $WeakMap = GetIntrinsic('%WeakMap%', true);
|
|
4266
|
+
var $Map = GetIntrinsic('%Map%', true);
|
|
4267
|
+
|
|
4268
|
+
var $weakMapGet = callBound('WeakMap.prototype.get', true);
|
|
4269
|
+
var $weakMapSet = callBound('WeakMap.prototype.set', true);
|
|
4270
|
+
var $weakMapHas = callBound('WeakMap.prototype.has', true);
|
|
4271
|
+
var $mapGet = callBound('Map.prototype.get', true);
|
|
4272
|
+
var $mapSet = callBound('Map.prototype.set', true);
|
|
4273
|
+
var $mapHas = callBound('Map.prototype.has', true);
|
|
4274
|
+
|
|
4275
|
+
/*
|
|
4276
|
+
* This function traverses the list returning the node corresponding to the
|
|
4277
|
+
* given key.
|
|
4278
|
+
*
|
|
4279
|
+
* That node is also moved to the head of the list, so that if it's accessed
|
|
4280
|
+
* again we don't need to traverse the whole list. By doing so, all the recently
|
|
4281
|
+
* used nodes can be accessed relatively quickly.
|
|
4282
|
+
*/
|
|
4283
|
+
var listGetNode = function (list, key) { // eslint-disable-line consistent-return
|
|
4284
|
+
for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
|
|
4285
|
+
if (curr.key === key) {
|
|
4286
|
+
prev.next = curr.next;
|
|
4287
|
+
curr.next = list.next;
|
|
4288
|
+
list.next = curr; // eslint-disable-line no-param-reassign
|
|
4289
|
+
return curr;
|
|
4290
|
+
}
|
|
4291
|
+
}
|
|
4292
|
+
};
|
|
4293
|
+
|
|
4294
|
+
var listGet = function (objects, key) {
|
|
4295
|
+
var node = listGetNode(objects, key);
|
|
4296
|
+
return node && node.value;
|
|
4297
|
+
};
|
|
4298
|
+
var listSet = function (objects, key, value) {
|
|
4299
|
+
var node = listGetNode(objects, key);
|
|
4300
|
+
if (node) {
|
|
4301
|
+
node.value = value;
|
|
4302
|
+
} else {
|
|
4303
|
+
// Prepend the new node to the beginning of the list
|
|
4304
|
+
objects.next = { // eslint-disable-line no-param-reassign
|
|
4305
|
+
key: key,
|
|
4306
|
+
next: objects.next,
|
|
4307
|
+
value: value
|
|
4308
|
+
};
|
|
4309
|
+
}
|
|
4310
|
+
};
|
|
4311
|
+
var listHas = function (objects, key) {
|
|
4312
|
+
return !!listGetNode(objects, key);
|
|
4313
|
+
};
|
|
4314
|
+
|
|
4315
|
+
module.exports = function getSideChannel() {
|
|
4316
|
+
var $wm;
|
|
4317
|
+
var $m;
|
|
4318
|
+
var $o;
|
|
4319
|
+
var channel = {
|
|
4320
|
+
assert: function (key) {
|
|
4321
|
+
if (!channel.has(key)) {
|
|
4322
|
+
throw new $TypeError('Side channel does not contain ' + inspect(key));
|
|
4323
|
+
}
|
|
4324
|
+
},
|
|
4325
|
+
get: function (key) { // eslint-disable-line consistent-return
|
|
4326
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
4327
|
+
if ($wm) {
|
|
4328
|
+
return $weakMapGet($wm, key);
|
|
4329
|
+
}
|
|
4330
|
+
} else if ($Map) {
|
|
4331
|
+
if ($m) {
|
|
4332
|
+
return $mapGet($m, key);
|
|
4333
|
+
}
|
|
4334
|
+
} else {
|
|
4335
|
+
if ($o) { // eslint-disable-line no-lonely-if
|
|
4336
|
+
return listGet($o, key);
|
|
4337
|
+
}
|
|
4338
|
+
}
|
|
4339
|
+
},
|
|
4340
|
+
has: function (key) {
|
|
4341
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
4342
|
+
if ($wm) {
|
|
4343
|
+
return $weakMapHas($wm, key);
|
|
4344
|
+
}
|
|
4345
|
+
} else if ($Map) {
|
|
4346
|
+
if ($m) {
|
|
4347
|
+
return $mapHas($m, key);
|
|
4348
|
+
}
|
|
4349
|
+
} else {
|
|
4350
|
+
if ($o) { // eslint-disable-line no-lonely-if
|
|
4351
|
+
return listHas($o, key);
|
|
4352
|
+
}
|
|
4353
|
+
}
|
|
4354
|
+
return false;
|
|
4355
|
+
},
|
|
4356
|
+
set: function (key, value) {
|
|
4357
|
+
if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
|
|
4358
|
+
if (!$wm) {
|
|
4359
|
+
$wm = new $WeakMap();
|
|
4360
|
+
}
|
|
4361
|
+
$weakMapSet($wm, key, value);
|
|
4362
|
+
} else if ($Map) {
|
|
4363
|
+
if (!$m) {
|
|
4364
|
+
$m = new $Map();
|
|
4365
|
+
}
|
|
4366
|
+
$mapSet($m, key, value);
|
|
4367
|
+
} else {
|
|
4368
|
+
if (!$o) {
|
|
4369
|
+
/*
|
|
4370
|
+
* Initialize the linked list as an empty node, so that we don't have
|
|
4371
|
+
* to special-case handling of the first node: we can always refer to
|
|
4372
|
+
* it as (previous node).next, instead of something like (list).head
|
|
4373
|
+
*/
|
|
4374
|
+
$o = { key: {}, next: null };
|
|
4375
|
+
}
|
|
4376
|
+
listSet($o, key, value);
|
|
4377
|
+
}
|
|
4378
|
+
}
|
|
4379
|
+
};
|
|
4380
|
+
return channel;
|
|
4381
|
+
};
|
|
4382
|
+
|
|
4383
|
+
|
|
4384
|
+
/***/ }),
|
|
4385
|
+
|
|
4386
|
+
/***/ "?c95a":
|
|
4387
|
+
/*!********************************!*\
|
|
4388
|
+
!*** ./util.inspect (ignored) ***!
|
|
4389
|
+
\********************************/
|
|
4390
|
+
/***/ (function() {
|
|
4391
|
+
|
|
4392
|
+
/* (ignored) */
|
|
4393
|
+
|
|
3066
4394
|
/***/ })
|
|
3067
4395
|
|
|
3068
4396
|
/******/ });
|
|
@@ -3073,8 +4401,9 @@ module.exports = {
|
|
|
3073
4401
|
/******/ // The require function
|
|
3074
4402
|
/******/ function __webpack_require__(moduleId) {
|
|
3075
4403
|
/******/ // Check if module is in cache
|
|
3076
|
-
/******/
|
|
3077
|
-
/******/
|
|
4404
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
4405
|
+
/******/ if (cachedModule !== undefined) {
|
|
4406
|
+
/******/ return cachedModule.exports;
|
|
3078
4407
|
/******/ }
|
|
3079
4408
|
/******/ // Create a new module (and put it into the cache)
|
|
3080
4409
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
@@ -3091,10 +4420,13 @@ module.exports = {
|
|
|
3091
4420
|
/******/ }
|
|
3092
4421
|
/******/
|
|
3093
4422
|
/************************************************************************/
|
|
3094
|
-
/******/
|
|
4423
|
+
/******/
|
|
3095
4424
|
/******/ // startup
|
|
3096
4425
|
/******/ // Load entry module and return exports
|
|
3097
|
-
/******/
|
|
4426
|
+
/******/ // This entry module used 'module' so it can't be inlined
|
|
4427
|
+
/******/ var __webpack_exports__ = __webpack_require__("./src/rest.js");
|
|
4428
|
+
/******/
|
|
4429
|
+
/******/ return __webpack_exports__;
|
|
3098
4430
|
/******/ })()
|
|
3099
4431
|
;
|
|
3100
4432
|
});
|