contentful 10.11.10 → 10.11.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contentful.browser.js +206 -1062
- package/dist/contentful.browser.js.map +1 -1
- package/dist/contentful.browser.min.js +1 -1
- package/dist/contentful.node.js +239 -1048
- package/dist/contentful.node.js.map +1 -1
- package/dist/contentful.node.min.js +1 -1
- package/package.json +2 -2
|
@@ -5061,7 +5061,7 @@ function createClient(params) {
|
|
|
5061
5061
|
environment: 'master',
|
|
5062
5062
|
};
|
|
5063
5063
|
const config = Object.assign(Object.assign({}, defaultConfig), params);
|
|
5064
|
-
const userAgentHeader = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(`contentful.js/${"10.11.
|
|
5064
|
+
const userAgentHeader = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(`contentful.js/${"10.11.11"}`, config.application, config.integration);
|
|
5065
5065
|
config.headers = Object.assign(Object.assign({}, config.headers), { 'Content-Type': 'application/vnd.contentful.delivery.v1+json', 'X-Contentful-User-Agent': userAgentHeader });
|
|
5066
5066
|
const http = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createHttpClient)(axios__WEBPACK_IMPORTED_MODULE_4__["default"], config);
|
|
5067
5067
|
if (!http.defaults.baseURL) {
|
|
@@ -5407,7 +5407,7 @@ function createContentfulApi({ http, getGlobalOptions }, options) {
|
|
|
5407
5407
|
http.defaults.baseURL = getGlobalOptions().environmentBaseUrl;
|
|
5408
5408
|
}
|
|
5409
5409
|
return {
|
|
5410
|
-
version: "10.11.
|
|
5410
|
+
version: "10.11.11",
|
|
5411
5411
|
getSpace,
|
|
5412
5412
|
getContentType,
|
|
5413
5413
|
getContentTypes,
|
|
@@ -11628,10 +11628,10 @@ var SHARED = '__core-js_shared__';
|
|
|
11628
11628
|
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
|
11629
11629
|
|
|
11630
11630
|
(store.versions || (store.versions = [])).push({
|
|
11631
|
-
version: '3.37.
|
|
11631
|
+
version: '3.37.0',
|
|
11632
11632
|
mode: IS_PURE ? 'pure' : 'global',
|
|
11633
11633
|
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
11634
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.37.
|
|
11634
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE',
|
|
11635
11635
|
source: 'https://github.com/zloirock/core-js'
|
|
11636
11636
|
});
|
|
11637
11637
|
|
|
@@ -15156,23 +15156,6 @@ $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
|
15156
15156
|
});
|
|
15157
15157
|
|
|
15158
15158
|
|
|
15159
|
-
/***/ }),
|
|
15160
|
-
|
|
15161
|
-
/***/ "../node_modules/core-js/modules/es.symbol.async-iterator.js":
|
|
15162
|
-
/*!*******************************************************************!*\
|
|
15163
|
-
!*** ../node_modules/core-js/modules/es.symbol.async-iterator.js ***!
|
|
15164
|
-
\*******************************************************************/
|
|
15165
|
-
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
15166
|
-
|
|
15167
|
-
"use strict";
|
|
15168
|
-
|
|
15169
|
-
var defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ "../node_modules/core-js/internals/well-known-symbol-define.js");
|
|
15170
|
-
|
|
15171
|
-
// `Symbol.asyncIterator` well-known symbol
|
|
15172
|
-
// https://tc39.es/ecma262/#sec-symbol.asynciterator
|
|
15173
|
-
defineWellKnownSymbol('asyncIterator');
|
|
15174
|
-
|
|
15175
|
-
|
|
15176
15159
|
/***/ }),
|
|
15177
15160
|
|
|
15178
15161
|
/***/ "../node_modules/core-js/modules/es.symbol.constructor.js":
|
|
@@ -17413,11 +17396,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17413
17396
|
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "../node_modules/core-js/modules/es.string.iterator.js");
|
|
17414
17397
|
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
17415
17398
|
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
17416
|
-
/* harmony import */ var
|
|
17399
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
17417
17400
|
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./http.js */ "../node_modules/axios/lib/helpers/null.js");
|
|
17418
17401
|
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./xhr.js */ "../node_modules/axios/lib/adapters/xhr.js");
|
|
17419
|
-
/* harmony import */ var
|
|
17420
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
17402
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
17421
17403
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
17422
17404
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17423
17405
|
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); }
|
|
@@ -17443,14 +17425,12 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
17443
17425
|
|
|
17444
17426
|
|
|
17445
17427
|
|
|
17446
|
-
|
|
17447
17428
|
|
|
17448
17429
|
var knownAdapters = {
|
|
17449
17430
|
http: _http_js__WEBPACK_IMPORTED_MODULE_16__["default"],
|
|
17450
|
-
xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_17__["default"]
|
|
17451
|
-
fetch: _fetch_js__WEBPACK_IMPORTED_MODULE_18__["default"]
|
|
17431
|
+
xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_17__["default"]
|
|
17452
17432
|
};
|
|
17453
|
-
|
|
17433
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_18__["default"].forEach(knownAdapters, function (fn, value) {
|
|
17454
17434
|
if (fn) {
|
|
17455
17435
|
try {
|
|
17456
17436
|
Object.defineProperty(fn, 'name', {
|
|
@@ -17468,11 +17448,11 @@ var renderReason = function renderReason(reason) {
|
|
|
17468
17448
|
return "- ".concat(reason);
|
|
17469
17449
|
};
|
|
17470
17450
|
var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
17471
|
-
return
|
|
17451
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_18__["default"].isFunction(adapter) || adapter === null || adapter === false;
|
|
17472
17452
|
};
|
|
17473
17453
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
17474
17454
|
getAdapter: function getAdapter(adapters) {
|
|
17475
|
-
adapters =
|
|
17455
|
+
adapters = _utils_js__WEBPACK_IMPORTED_MODULE_18__["default"].isArray(adapters) ? adapters : [adapters];
|
|
17476
17456
|
var _adapters = adapters,
|
|
17477
17457
|
length = _adapters.length;
|
|
17478
17458
|
var nameOrAdapter;
|
|
@@ -17485,7 +17465,7 @@ var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
|
17485
17465
|
if (!isResolvedHandle(nameOrAdapter)) {
|
|
17486
17466
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
17487
17467
|
if (adapter === undefined) {
|
|
17488
|
-
throw new
|
|
17468
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_19__["default"]("Unknown adapter '".concat(id, "'"));
|
|
17489
17469
|
}
|
|
17490
17470
|
}
|
|
17491
17471
|
if (adapter) {
|
|
@@ -17501,7 +17481,7 @@ var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
|
17501
17481
|
return "adapter ".concat(id, " ") + (state === false ? 'is not supported by the environment' : 'is not available in the build');
|
|
17502
17482
|
});
|
|
17503
17483
|
var s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
|
|
17504
|
-
throw new
|
|
17484
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_19__["default"]("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
|
|
17505
17485
|
}
|
|
17506
17486
|
return adapter;
|
|
17507
17487
|
},
|
|
@@ -17510,83 +17490,58 @@ var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
|
17510
17490
|
|
|
17511
17491
|
/***/ }),
|
|
17512
17492
|
|
|
17513
|
-
/***/ "../node_modules/axios/lib/adapters/
|
|
17514
|
-
|
|
17515
|
-
!*** ../node_modules/axios/lib/adapters/
|
|
17516
|
-
|
|
17493
|
+
/***/ "../node_modules/axios/lib/adapters/xhr.js":
|
|
17494
|
+
/*!*************************************************!*\
|
|
17495
|
+
!*** ../node_modules/axios/lib/adapters/xhr.js ***!
|
|
17496
|
+
\*************************************************/
|
|
17517
17497
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
17518
17498
|
|
|
17519
17499
|
"use strict";
|
|
17520
17500
|
__webpack_require__.r(__webpack_exports__);
|
|
17521
|
-
/* harmony import */ var
|
|
17522
|
-
/* harmony import */ var
|
|
17523
|
-
/* harmony import */ var
|
|
17524
|
-
/* harmony import */ var
|
|
17501
|
+
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ "../node_modules/core-js/modules/es.symbol.js");
|
|
17502
|
+
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../node_modules/core-js/modules/es.symbol.description.js");
|
|
17503
|
+
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "../node_modules/core-js/modules/es.symbol.iterator.js");
|
|
17504
|
+
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ "../node_modules/core-js/modules/es.array.concat.js");
|
|
17525
17505
|
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.filter.js */ "../node_modules/core-js/modules/es.array.filter.js");
|
|
17526
17506
|
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.from.js */ "../node_modules/core-js/modules/es.array.from.js");
|
|
17527
17507
|
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "../node_modules/core-js/modules/es.array.iterator.js");
|
|
17528
|
-
/* harmony import */ var
|
|
17529
|
-
/* harmony import */ var
|
|
17530
|
-
/* harmony import */ var
|
|
17531
|
-
/* harmony import */ var
|
|
17532
|
-
/* harmony import */ var
|
|
17533
|
-
/* harmony import */ var
|
|
17534
|
-
/* harmony import */ var
|
|
17535
|
-
/* harmony import */ var
|
|
17536
|
-
/* harmony import */ var
|
|
17537
|
-
/* harmony import */ var
|
|
17538
|
-
/* harmony import */ var
|
|
17539
|
-
/* harmony import */ var
|
|
17540
|
-
/* harmony import */ var
|
|
17541
|
-
/* harmony import */ var
|
|
17542
|
-
/* harmony import */ var
|
|
17543
|
-
/* harmony import */ var
|
|
17544
|
-
/* harmony import */ var
|
|
17545
|
-
/* harmony import */ var
|
|
17546
|
-
/* harmony import */ var
|
|
17547
|
-
/* harmony import */ var
|
|
17548
|
-
/* harmony import */ var
|
|
17549
|
-
/* harmony import */ var
|
|
17550
|
-
/* harmony import */ var
|
|
17551
|
-
/* harmony import */ var
|
|
17552
|
-
/* harmony import */ var
|
|
17553
|
-
|
|
17554
|
-
|
|
17555
|
-
|
|
17556
|
-
|
|
17557
|
-
|
|
17558
|
-
|
|
17559
|
-
/* harmony import */ var core_js_modules_es_typed_array_sort_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! core-js/modules/es.typed-array.sort.js */ "../node_modules/core-js/modules/es.typed-array.sort.js");
|
|
17560
|
-
/* harmony import */ var core_js_modules_es_typed_array_subarray_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! core-js/modules/es.typed-array.subarray.js */ "../node_modules/core-js/modules/es.typed-array.subarray.js");
|
|
17561
|
-
/* harmony import */ var core_js_modules_es_typed_array_to_locale_string_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-locale-string.js */ "../node_modules/core-js/modules/es.typed-array.to-locale-string.js");
|
|
17562
|
-
/* harmony import */ var core_js_modules_es_typed_array_to_string_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-string.js */ "../node_modules/core-js/modules/es.typed-array.to-string.js");
|
|
17563
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
17564
|
-
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
17565
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../platform/index.js */ "../node_modules/axios/lib/platform/index.js");
|
|
17566
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
17567
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
17568
|
-
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../node_modules/axios/lib/helpers/composeSignals.js");
|
|
17569
|
-
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../node_modules/axios/lib/helpers/trackStream.js");
|
|
17570
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../node_modules/axios/lib/core/AxiosHeaders.js");
|
|
17571
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
17572
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../node_modules/axios/lib/helpers/resolveConfig.js");
|
|
17573
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../core/settle.js */ "../node_modules/axios/lib/core/settle.js");
|
|
17574
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
17575
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
17576
|
-
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; }
|
|
17577
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
17508
|
+
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.join.js */ "../node_modules/core-js/modules/es.array.join.js");
|
|
17509
|
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ "../node_modules/core-js/modules/es.array.map.js");
|
|
17510
|
+
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ "../node_modules/core-js/modules/es.array.slice.js");
|
|
17511
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ "../node_modules/core-js/modules/es.function.name.js");
|
|
17512
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
17513
|
+
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "../node_modules/core-js/modules/es.promise.js");
|
|
17514
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "../node_modules/core-js/modules/es.regexp.exec.js");
|
|
17515
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "../node_modules/core-js/modules/es.regexp.to-string.js");
|
|
17516
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "../node_modules/core-js/modules/es.string.iterator.js");
|
|
17517
|
+
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "../node_modules/core-js/modules/es.string.trim.js");
|
|
17518
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
17519
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
17520
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
17521
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./../core/settle.js */ "../node_modules/axios/lib/core/settle.js");
|
|
17522
|
+
/* harmony import */ var _helpers_cookies_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./../helpers/cookies.js */ "../node_modules/axios/lib/helpers/cookies.js");
|
|
17523
|
+
/* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./../helpers/buildURL.js */ "../node_modules/axios/lib/helpers/buildURL.js");
|
|
17524
|
+
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../node_modules/axios/lib/core/buildFullPath.js");
|
|
17525
|
+
/* harmony import */ var _helpers_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./../helpers/isURLSameOrigin.js */ "../node_modules/axios/lib/helpers/isURLSameOrigin.js");
|
|
17526
|
+
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../defaults/transitional.js */ "../node_modules/axios/lib/defaults/transitional.js");
|
|
17527
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
17528
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../node_modules/axios/lib/cancel/CanceledError.js");
|
|
17529
|
+
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../node_modules/axios/lib/helpers/parseProtocol.js");
|
|
17530
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../platform/index.js */ "../node_modules/axios/lib/platform/index.js");
|
|
17531
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../node_modules/axios/lib/core/AxiosHeaders.js");
|
|
17532
|
+
/* harmony import */ var _helpers_speedometer_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../helpers/speedometer.js */ "../node_modules/axios/lib/helpers/speedometer.js");
|
|
17533
|
+
|
|
17534
|
+
|
|
17535
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
17536
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17537
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
17538
|
+
function _toArray(arr) { return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest(); }
|
|
17578
17539
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17579
17540
|
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); }
|
|
17580
17541
|
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; }
|
|
17581
|
-
function
|
|
17542
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
17582
17543
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
17583
17544
|
|
|
17584
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
17585
|
-
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
17586
|
-
|
|
17587
|
-
|
|
17588
|
-
|
|
17589
|
-
|
|
17590
17545
|
|
|
17591
17546
|
|
|
17592
17547
|
|
|
@@ -17618,343 +17573,79 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
|
|
17618
17573
|
|
|
17619
17574
|
|
|
17620
17575
|
|
|
17621
|
-
|
|
17622
|
-
|
|
17623
|
-
|
|
17624
|
-
|
|
17625
|
-
|
|
17626
|
-
|
|
17627
|
-
|
|
17628
|
-
|
|
17629
|
-
|
|
17630
|
-
|
|
17631
|
-
|
|
17632
|
-
|
|
17633
|
-
|
|
17634
|
-
|
|
17635
|
-
|
|
17636
|
-
|
|
17637
|
-
|
|
17638
|
-
|
|
17639
|
-
|
|
17640
|
-
|
|
17641
|
-
|
|
17642
|
-
return fn({
|
|
17643
|
-
lengthComputable: lengthComputable,
|
|
17644
|
-
total: total,
|
|
17645
|
-
loaded: loaded
|
|
17646
|
-
});
|
|
17647
|
-
});
|
|
17648
|
-
};
|
|
17649
|
-
};
|
|
17650
|
-
var isFetchSupported = typeof fetch === 'function' && typeof Request === 'function' && typeof Response === 'function';
|
|
17651
|
-
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === 'function';
|
|
17652
|
-
|
|
17653
|
-
// used only inside the fetch adapter
|
|
17654
|
-
var encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? function (encoder) {
|
|
17655
|
-
return function (str) {
|
|
17656
|
-
return encoder.encode(str);
|
|
17657
|
-
};
|
|
17658
|
-
}(new TextEncoder()) : ( /*#__PURE__*/function () {
|
|
17659
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(str) {
|
|
17660
|
-
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
17661
|
-
while (1) switch (_context.prev = _context.next) {
|
|
17662
|
-
case 0:
|
|
17663
|
-
_context.t0 = Uint8Array;
|
|
17664
|
-
_context.next = 3;
|
|
17665
|
-
return new Response(str).arrayBuffer();
|
|
17666
|
-
case 3:
|
|
17667
|
-
_context.t1 = _context.sent;
|
|
17668
|
-
return _context.abrupt("return", new _context.t0(_context.t1));
|
|
17669
|
-
case 5:
|
|
17670
|
-
case "end":
|
|
17671
|
-
return _context.stop();
|
|
17672
|
-
}
|
|
17673
|
-
}, _callee);
|
|
17674
|
-
}));
|
|
17675
|
-
return function (_x) {
|
|
17676
|
-
return _ref.apply(this, arguments);
|
|
17677
|
-
};
|
|
17678
|
-
}()));
|
|
17679
|
-
var supportsRequestStream = isReadableStreamSupported && function () {
|
|
17680
|
-
var duplexAccessed = false;
|
|
17681
|
-
var hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_44__["default"].origin, {
|
|
17682
|
-
body: new ReadableStream(),
|
|
17683
|
-
method: 'POST',
|
|
17684
|
-
get duplex() {
|
|
17685
|
-
duplexAccessed = true;
|
|
17686
|
-
return 'half';
|
|
17687
|
-
}
|
|
17688
|
-
}).headers.has('Content-Type');
|
|
17689
|
-
return duplexAccessed && !hasContentType;
|
|
17690
|
-
}();
|
|
17691
|
-
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
17692
|
-
var supportsResponseStream = isReadableStreamSupported && !!function () {
|
|
17693
|
-
try {
|
|
17694
|
-
return _utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isReadableStream(new Response('').body);
|
|
17695
|
-
} catch (err) {
|
|
17696
|
-
// return undefined
|
|
17697
|
-
}
|
|
17698
|
-
}();
|
|
17699
|
-
var resolvers = {
|
|
17700
|
-
stream: supportsResponseStream && function (res) {
|
|
17701
|
-
return res.body;
|
|
17702
|
-
}
|
|
17703
|
-
};
|
|
17704
|
-
isFetchSupported && function (res) {
|
|
17705
|
-
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(function (type) {
|
|
17706
|
-
!resolvers[type] && (resolvers[type] = _utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isFunction(res[type]) ? function (res) {
|
|
17707
|
-
return res[type]();
|
|
17708
|
-
} : function (_, config) {
|
|
17709
|
-
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__["default"]("Response type '".concat(type, "' is not supported"), _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__["default"].ERR_NOT_SUPPORT, config);
|
|
17710
|
-
});
|
|
17711
|
-
});
|
|
17712
|
-
}(new Response());
|
|
17713
|
-
var getBodyLength = /*#__PURE__*/function () {
|
|
17714
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(body) {
|
|
17715
|
-
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
17716
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
17717
|
-
case 0:
|
|
17718
|
-
if (!(body == null)) {
|
|
17719
|
-
_context2.next = 2;
|
|
17720
|
-
break;
|
|
17721
|
-
}
|
|
17722
|
-
return _context2.abrupt("return", 0);
|
|
17723
|
-
case 2:
|
|
17724
|
-
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isBlob(body)) {
|
|
17725
|
-
_context2.next = 4;
|
|
17726
|
-
break;
|
|
17727
|
-
}
|
|
17728
|
-
return _context2.abrupt("return", body.size);
|
|
17729
|
-
case 4:
|
|
17730
|
-
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isSpecCompliantForm(body)) {
|
|
17731
|
-
_context2.next = 8;
|
|
17732
|
-
break;
|
|
17733
|
-
}
|
|
17734
|
-
_context2.next = 7;
|
|
17735
|
-
return new Request(body).arrayBuffer();
|
|
17736
|
-
case 7:
|
|
17737
|
-
return _context2.abrupt("return", _context2.sent.byteLength);
|
|
17738
|
-
case 8:
|
|
17739
|
-
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isArrayBufferView(body)) {
|
|
17740
|
-
_context2.next = 10;
|
|
17741
|
-
break;
|
|
17742
|
-
}
|
|
17743
|
-
return _context2.abrupt("return", body.byteLength);
|
|
17744
|
-
case 10:
|
|
17745
|
-
if (_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isURLSearchParams(body)) {
|
|
17746
|
-
body = body + '';
|
|
17747
|
-
}
|
|
17748
|
-
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isString(body)) {
|
|
17749
|
-
_context2.next = 15;
|
|
17750
|
-
break;
|
|
17751
|
-
}
|
|
17752
|
-
_context2.next = 14;
|
|
17753
|
-
return encodeText(body);
|
|
17754
|
-
case 14:
|
|
17755
|
-
return _context2.abrupt("return", _context2.sent.byteLength);
|
|
17756
|
-
case 15:
|
|
17757
|
-
case "end":
|
|
17758
|
-
return _context2.stop();
|
|
17759
|
-
}
|
|
17760
|
-
}, _callee2);
|
|
17761
|
-
}));
|
|
17762
|
-
return function getBodyLength(_x2) {
|
|
17763
|
-
return _ref2.apply(this, arguments);
|
|
17764
|
-
};
|
|
17765
|
-
}();
|
|
17766
|
-
var resolveBodyLength = /*#__PURE__*/function () {
|
|
17767
|
-
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(headers, body) {
|
|
17768
|
-
var length;
|
|
17769
|
-
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
17770
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
17771
|
-
case 0:
|
|
17772
|
-
length = _utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].toFiniteNumber(headers.getContentLength());
|
|
17773
|
-
return _context3.abrupt("return", length == null ? getBodyLength(body) : length);
|
|
17774
|
-
case 2:
|
|
17775
|
-
case "end":
|
|
17776
|
-
return _context3.stop();
|
|
17777
|
-
}
|
|
17778
|
-
}, _callee3);
|
|
17779
|
-
}));
|
|
17780
|
-
return function resolveBodyLength(_x3, _x4) {
|
|
17781
|
-
return _ref3.apply(this, arguments);
|
|
17782
|
-
};
|
|
17783
|
-
}();
|
|
17784
|
-
/* harmony default export */ __webpack_exports__["default"] = (isFetchSupported && ( /*#__PURE__*/function () {
|
|
17785
|
-
var _ref4 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(config) {
|
|
17786
|
-
var _resolveConfig, url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, _resolveConfig$withCr, withCredentials, fetchOptions, _ref5, _ref6, composedSignal, stopTimeout, finished, request, onFinish, requestContentLength, _request, contentTypeHeader, response, isStreamResponse, options, responseContentLength, responseData;
|
|
17787
|
-
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
17788
|
-
while (1) switch (_context4.prev = _context4.next) {
|
|
17789
|
-
case 0:
|
|
17790
|
-
_resolveConfig = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_47__["default"])(config), url = _resolveConfig.url, method = _resolveConfig.method, data = _resolveConfig.data, signal = _resolveConfig.signal, cancelToken = _resolveConfig.cancelToken, timeout = _resolveConfig.timeout, onDownloadProgress = _resolveConfig.onDownloadProgress, onUploadProgress = _resolveConfig.onUploadProgress, responseType = _resolveConfig.responseType, headers = _resolveConfig.headers, _resolveConfig$withCr = _resolveConfig.withCredentials, withCredentials = _resolveConfig$withCr === void 0 ? 'same-origin' : _resolveConfig$withCr, fetchOptions = _resolveConfig.fetchOptions;
|
|
17791
|
-
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
17792
|
-
_ref5 = signal || cancelToken || timeout ? (0,_helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_48__["default"])([signal, cancelToken], timeout) : [], _ref6 = _slicedToArray(_ref5, 2), composedSignal = _ref6[0], stopTimeout = _ref6[1];
|
|
17793
|
-
onFinish = function onFinish() {
|
|
17794
|
-
!finished && setTimeout(function () {
|
|
17795
|
-
composedSignal && composedSignal.unsubscribe();
|
|
17796
|
-
});
|
|
17797
|
-
finished = true;
|
|
17798
|
-
};
|
|
17799
|
-
_context4.prev = 4;
|
|
17800
|
-
_context4.t0 = onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head';
|
|
17801
|
-
if (!_context4.t0) {
|
|
17802
|
-
_context4.next = 11;
|
|
17803
|
-
break;
|
|
17804
|
-
}
|
|
17805
|
-
_context4.next = 9;
|
|
17806
|
-
return resolveBodyLength(headers, data);
|
|
17807
|
-
case 9:
|
|
17808
|
-
_context4.t1 = requestContentLength = _context4.sent;
|
|
17809
|
-
_context4.t0 = _context4.t1 !== 0;
|
|
17810
|
-
case 11:
|
|
17811
|
-
if (!_context4.t0) {
|
|
17812
|
-
_context4.next = 15;
|
|
17813
|
-
break;
|
|
17814
|
-
}
|
|
17815
|
-
_request = new Request(url, {
|
|
17816
|
-
method: 'POST',
|
|
17817
|
-
body: data,
|
|
17818
|
-
duplex: "half"
|
|
17819
|
-
});
|
|
17820
|
-
if (_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
|
|
17821
|
-
headers.setContentType(contentTypeHeader);
|
|
17822
|
-
}
|
|
17823
|
-
if (_request.body) {
|
|
17824
|
-
data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_49__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, fetchProgressDecorator(requestContentLength, (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_50__["default"])(onUploadProgress)), null, encodeText);
|
|
17825
|
-
}
|
|
17826
|
-
case 15:
|
|
17827
|
-
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isString(withCredentials)) {
|
|
17828
|
-
withCredentials = withCredentials ? 'cors' : 'omit';
|
|
17829
|
-
}
|
|
17830
|
-
request = new Request(url, _objectSpread(_objectSpread({}, fetchOptions), {}, {
|
|
17831
|
-
signal: composedSignal,
|
|
17832
|
-
method: method.toUpperCase(),
|
|
17833
|
-
headers: headers.normalize().toJSON(),
|
|
17834
|
-
body: data,
|
|
17835
|
-
duplex: "half",
|
|
17836
|
-
withCredentials: withCredentials
|
|
17837
|
-
}));
|
|
17838
|
-
_context4.next = 19;
|
|
17839
|
-
return fetch(request);
|
|
17840
|
-
case 19:
|
|
17841
|
-
response = _context4.sent;
|
|
17842
|
-
isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
17843
|
-
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
|
17844
|
-
options = {};
|
|
17845
|
-
['status', 'statusText', 'headers'].forEach(function (prop) {
|
|
17846
|
-
options[prop] = response[prop];
|
|
17847
|
-
});
|
|
17848
|
-
responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].toFiniteNumber(response.headers.get('content-length'));
|
|
17849
|
-
response = new Response((0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_49__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onDownloadProgress && fetchProgressDecorator(responseContentLength, (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_50__["default"])(onDownloadProgress, true)), isStreamResponse && onFinish, encodeText), options);
|
|
17850
|
-
}
|
|
17851
|
-
responseType = responseType || 'text';
|
|
17852
|
-
_context4.next = 25;
|
|
17853
|
-
return resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].findKey(resolvers, responseType) || 'text'](response, config);
|
|
17854
|
-
case 25:
|
|
17855
|
-
responseData = _context4.sent;
|
|
17856
|
-
!isStreamResponse && onFinish();
|
|
17857
|
-
stopTimeout && stopTimeout();
|
|
17858
|
-
_context4.next = 30;
|
|
17859
|
-
return new Promise(function (resolve, reject) {
|
|
17860
|
-
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_51__["default"])(resolve, reject, {
|
|
17861
|
-
data: responseData,
|
|
17862
|
-
headers: _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_52__["default"].from(response.headers),
|
|
17863
|
-
status: response.status,
|
|
17864
|
-
statusText: response.statusText,
|
|
17865
|
-
config: config,
|
|
17866
|
-
request: request
|
|
17867
|
-
});
|
|
17868
|
-
});
|
|
17869
|
-
case 30:
|
|
17870
|
-
return _context4.abrupt("return", _context4.sent);
|
|
17871
|
-
case 33:
|
|
17872
|
-
_context4.prev = 33;
|
|
17873
|
-
_context4.t2 = _context4["catch"](4);
|
|
17874
|
-
onFinish();
|
|
17875
|
-
if (!(_context4.t2 && _context4.t2.name === 'TypeError' && /fetch/i.test(_context4.t2.message))) {
|
|
17876
|
-
_context4.next = 38;
|
|
17877
|
-
break;
|
|
17878
|
-
}
|
|
17879
|
-
throw Object.assign(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__["default"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__["default"].ERR_NETWORK, config, request), {
|
|
17880
|
-
cause: _context4.t2.cause || _context4.t2
|
|
17881
|
-
});
|
|
17882
|
-
case 38:
|
|
17883
|
-
throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__["default"].from(_context4.t2, _context4.t2 && _context4.t2.code, config, request);
|
|
17884
|
-
case 39:
|
|
17885
|
-
case "end":
|
|
17886
|
-
return _context4.stop();
|
|
17887
|
-
}
|
|
17888
|
-
}, _callee4, null, [[4, 33]]);
|
|
17889
|
-
}));
|
|
17890
|
-
return function (_x5) {
|
|
17891
|
-
return _ref4.apply(this, arguments);
|
|
17576
|
+
function progressEventReducer(listener, isDownloadStream) {
|
|
17577
|
+
var bytesNotified = 0;
|
|
17578
|
+
var _speedometer = (0,_helpers_speedometer_js__WEBPACK_IMPORTED_MODULE_19__["default"])(50, 250);
|
|
17579
|
+
return function (e) {
|
|
17580
|
+
var loaded = e.loaded;
|
|
17581
|
+
var total = e.lengthComputable ? e.total : undefined;
|
|
17582
|
+
var progressBytes = loaded - bytesNotified;
|
|
17583
|
+
var rate = _speedometer(progressBytes);
|
|
17584
|
+
var inRange = loaded <= total;
|
|
17585
|
+
bytesNotified = loaded;
|
|
17586
|
+
var data = {
|
|
17587
|
+
loaded: loaded,
|
|
17588
|
+
total: total,
|
|
17589
|
+
progress: total ? loaded / total : undefined,
|
|
17590
|
+
bytes: progressBytes,
|
|
17591
|
+
rate: rate ? rate : undefined,
|
|
17592
|
+
estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
|
|
17593
|
+
event: e
|
|
17594
|
+
};
|
|
17595
|
+
data[isDownloadStream ? 'download' : 'upload'] = true;
|
|
17596
|
+
listener(data);
|
|
17892
17597
|
};
|
|
17893
|
-
}
|
|
17894
|
-
|
|
17895
|
-
/***/ }),
|
|
17896
|
-
|
|
17897
|
-
/***/ "../node_modules/axios/lib/adapters/xhr.js":
|
|
17898
|
-
/*!*************************************************!*\
|
|
17899
|
-
!*** ../node_modules/axios/lib/adapters/xhr.js ***!
|
|
17900
|
-
\*************************************************/
|
|
17901
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
17902
|
-
|
|
17903
|
-
"use strict";
|
|
17904
|
-
__webpack_require__.r(__webpack_exports__);
|
|
17905
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
17906
|
-
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "../node_modules/core-js/modules/es.promise.js");
|
|
17907
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
17908
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
17909
|
-
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../core/settle.js */ "../node_modules/axios/lib/core/settle.js");
|
|
17910
|
-
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../defaults/transitional.js */ "../node_modules/axios/lib/defaults/transitional.js");
|
|
17911
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
17912
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../node_modules/axios/lib/cancel/CanceledError.js");
|
|
17913
|
-
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../node_modules/axios/lib/helpers/parseProtocol.js");
|
|
17914
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../platform/index.js */ "../node_modules/axios/lib/platform/index.js");
|
|
17915
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../node_modules/axios/lib/core/AxiosHeaders.js");
|
|
17916
|
-
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
17917
|
-
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../node_modules/axios/lib/helpers/resolveConfig.js");
|
|
17918
|
-
|
|
17919
|
-
|
|
17920
|
-
|
|
17921
|
-
|
|
17922
|
-
|
|
17923
|
-
|
|
17924
|
-
|
|
17925
|
-
|
|
17926
|
-
|
|
17927
|
-
|
|
17928
|
-
|
|
17929
|
-
|
|
17930
|
-
|
|
17598
|
+
}
|
|
17931
17599
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
17932
17600
|
/* harmony default export */ __webpack_exports__["default"] = (isXHRAdapterSupported && function (config) {
|
|
17933
17601
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
17934
|
-
var
|
|
17935
|
-
var
|
|
17936
|
-
var
|
|
17937
|
-
|
|
17602
|
+
var requestData = config.data;
|
|
17603
|
+
var requestHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_20__["default"].from(config.headers).normalize();
|
|
17604
|
+
var responseType = config.responseType,
|
|
17605
|
+
withXSRFToken = config.withXSRFToken;
|
|
17938
17606
|
var onCanceled;
|
|
17939
17607
|
function done() {
|
|
17940
|
-
if (
|
|
17941
|
-
|
|
17608
|
+
if (config.cancelToken) {
|
|
17609
|
+
config.cancelToken.unsubscribe(onCanceled);
|
|
17942
17610
|
}
|
|
17943
|
-
if (
|
|
17944
|
-
|
|
17611
|
+
if (config.signal) {
|
|
17612
|
+
config.signal.removeEventListener('abort', onCanceled);
|
|
17613
|
+
}
|
|
17614
|
+
}
|
|
17615
|
+
var contentType;
|
|
17616
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isFormData(requestData)) {
|
|
17617
|
+
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserWebWorkerEnv) {
|
|
17618
|
+
requestHeaders.setContentType(false); // Let the browser set it
|
|
17619
|
+
} else if ((contentType = requestHeaders.getContentType()) !== false) {
|
|
17620
|
+
// fix semicolon duplication issue for ReactNative FormData implementation
|
|
17621
|
+
var _ref = contentType ? contentType.split(';').map(function (token) {
|
|
17622
|
+
return token.trim();
|
|
17623
|
+
}).filter(Boolean) : [],
|
|
17624
|
+
_ref2 = _toArray(_ref),
|
|
17625
|
+
type = _ref2[0],
|
|
17626
|
+
tokens = _ref2.slice(1);
|
|
17627
|
+
requestHeaders.setContentType([type || 'multipart/form-data'].concat(_toConsumableArray(tokens)).join('; '));
|
|
17945
17628
|
}
|
|
17946
17629
|
}
|
|
17947
17630
|
var request = new XMLHttpRequest();
|
|
17948
|
-
|
|
17631
|
+
|
|
17632
|
+
// HTTP basic authentication
|
|
17633
|
+
if (config.auth) {
|
|
17634
|
+
var username = config.auth.username || '';
|
|
17635
|
+
var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
|
|
17636
|
+
requestHeaders.set('Authorization', 'Basic ' + btoa(username + ':' + password));
|
|
17637
|
+
}
|
|
17638
|
+
var fullPath = (0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_23__["default"])(config.baseURL, config.url);
|
|
17639
|
+
request.open(config.method.toUpperCase(), (0,_helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_24__["default"])(fullPath, config.params, config.paramsSerializer), true);
|
|
17949
17640
|
|
|
17950
17641
|
// Set the request timeout in MS
|
|
17951
|
-
request.timeout =
|
|
17642
|
+
request.timeout = config.timeout;
|
|
17952
17643
|
function onloadend() {
|
|
17953
17644
|
if (!request) {
|
|
17954
17645
|
return;
|
|
17955
17646
|
}
|
|
17956
17647
|
// Prepare the response
|
|
17957
|
-
var responseHeaders =
|
|
17648
|
+
var responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_20__["default"].from('getAllResponseHeaders' in request && request.getAllResponseHeaders());
|
|
17958
17649
|
var responseData = !responseType || responseType === 'text' || responseType === 'json' ? request.responseText : request.response;
|
|
17959
17650
|
var response = {
|
|
17960
17651
|
data: responseData,
|
|
@@ -17964,7 +17655,7 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
17964
17655
|
config: config,
|
|
17965
17656
|
request: request
|
|
17966
17657
|
};
|
|
17967
|
-
(0,
|
|
17658
|
+
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_25__["default"])(function _resolve(value) {
|
|
17968
17659
|
resolve(value);
|
|
17969
17660
|
done();
|
|
17970
17661
|
}, function _reject(err) {
|
|
@@ -18003,7 +17694,7 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
18003
17694
|
if (!request) {
|
|
18004
17695
|
return;
|
|
18005
17696
|
}
|
|
18006
|
-
reject(new
|
|
17697
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"].ECONNABORTED, config, request));
|
|
18007
17698
|
|
|
18008
17699
|
// Clean up request
|
|
18009
17700
|
request = null;
|
|
@@ -18013,7 +17704,7 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
18013
17704
|
request.onerror = function handleError() {
|
|
18014
17705
|
// Real errors are hidden from us by the browser
|
|
18015
17706
|
// onerror should only fire if it's a network error
|
|
18016
|
-
reject(new
|
|
17707
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"].ERR_NETWORK, config, request));
|
|
18017
17708
|
|
|
18018
17709
|
// Clean up request
|
|
18019
17710
|
request = null;
|
|
@@ -18021,65 +17712,79 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
18021
17712
|
|
|
18022
17713
|
// Handle timeout
|
|
18023
17714
|
request.ontimeout = function handleTimeout() {
|
|
18024
|
-
var timeoutErrorMessage =
|
|
18025
|
-
var transitional =
|
|
18026
|
-
if (
|
|
18027
|
-
timeoutErrorMessage =
|
|
17715
|
+
var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
17716
|
+
var transitional = config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_27__["default"];
|
|
17717
|
+
if (config.timeoutErrorMessage) {
|
|
17718
|
+
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
18028
17719
|
}
|
|
18029
|
-
reject(new
|
|
17720
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"](timeoutErrorMessage, transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"].ECONNABORTED, config, request));
|
|
18030
17721
|
|
|
18031
17722
|
// Clean up request
|
|
18032
17723
|
request = null;
|
|
18033
17724
|
};
|
|
18034
17725
|
|
|
17726
|
+
// Add xsrf header
|
|
17727
|
+
// This is only done if running in a standard browser environment.
|
|
17728
|
+
// Specifically not if we're in a web worker, or react-native.
|
|
17729
|
+
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserEnv) {
|
|
17730
|
+
withXSRFToken && _utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(config));
|
|
17731
|
+
if (withXSRFToken || withXSRFToken !== false && (0,_helpers_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_28__["default"])(fullPath)) {
|
|
17732
|
+
// Add xsrf header
|
|
17733
|
+
var xsrfValue = config.xsrfHeaderName && config.xsrfCookieName && _helpers_cookies_js__WEBPACK_IMPORTED_MODULE_29__["default"].read(config.xsrfCookieName);
|
|
17734
|
+
if (xsrfValue) {
|
|
17735
|
+
requestHeaders.set(config.xsrfHeaderName, xsrfValue);
|
|
17736
|
+
}
|
|
17737
|
+
}
|
|
17738
|
+
}
|
|
17739
|
+
|
|
18035
17740
|
// Remove Content-Type if data is undefined
|
|
18036
17741
|
requestData === undefined && requestHeaders.setContentType(null);
|
|
18037
17742
|
|
|
18038
17743
|
// Add headers to the request
|
|
18039
17744
|
if ('setRequestHeader' in request) {
|
|
18040
|
-
|
|
17745
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
|
|
18041
17746
|
request.setRequestHeader(key, val);
|
|
18042
17747
|
});
|
|
18043
17748
|
}
|
|
18044
17749
|
|
|
18045
17750
|
// Add withCredentials to request if needed
|
|
18046
|
-
if (!
|
|
18047
|
-
request.withCredentials = !!
|
|
17751
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isUndefined(config.withCredentials)) {
|
|
17752
|
+
request.withCredentials = !!config.withCredentials;
|
|
18048
17753
|
}
|
|
18049
17754
|
|
|
18050
17755
|
// Add responseType to request if needed
|
|
18051
17756
|
if (responseType && responseType !== 'json') {
|
|
18052
|
-
request.responseType =
|
|
17757
|
+
request.responseType = config.responseType;
|
|
18053
17758
|
}
|
|
18054
17759
|
|
|
18055
17760
|
// Handle progress if needed
|
|
18056
|
-
if (typeof
|
|
18057
|
-
request.addEventListener('progress', (
|
|
17761
|
+
if (typeof config.onDownloadProgress === 'function') {
|
|
17762
|
+
request.addEventListener('progress', progressEventReducer(config.onDownloadProgress, true));
|
|
18058
17763
|
}
|
|
18059
17764
|
|
|
18060
17765
|
// Not all browsers support upload events
|
|
18061
|
-
if (typeof
|
|
18062
|
-
request.upload.addEventListener('progress', (
|
|
17766
|
+
if (typeof config.onUploadProgress === 'function' && request.upload) {
|
|
17767
|
+
request.upload.addEventListener('progress', progressEventReducer(config.onUploadProgress));
|
|
18063
17768
|
}
|
|
18064
|
-
if (
|
|
17769
|
+
if (config.cancelToken || config.signal) {
|
|
18065
17770
|
// Handle cancellation
|
|
18066
17771
|
// eslint-disable-next-line func-names
|
|
18067
17772
|
onCanceled = function onCanceled(cancel) {
|
|
18068
17773
|
if (!request) {
|
|
18069
17774
|
return;
|
|
18070
17775
|
}
|
|
18071
|
-
reject(!cancel || cancel.type ? new
|
|
17776
|
+
reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_30__["default"](null, config, request) : cancel);
|
|
18072
17777
|
request.abort();
|
|
18073
17778
|
request = null;
|
|
18074
17779
|
};
|
|
18075
|
-
|
|
18076
|
-
if (
|
|
18077
|
-
|
|
17780
|
+
config.cancelToken && config.cancelToken.subscribe(onCanceled);
|
|
17781
|
+
if (config.signal) {
|
|
17782
|
+
config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);
|
|
18078
17783
|
}
|
|
18079
17784
|
}
|
|
18080
|
-
var protocol = (0,
|
|
18081
|
-
if (protocol &&
|
|
18082
|
-
reject(new
|
|
17785
|
+
var protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_31__["default"])(fullPath);
|
|
17786
|
+
if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].protocols.indexOf(protocol) === -1) {
|
|
17787
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"]('Unsupported protocol ' + protocol + ':', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_26__["default"].ERR_BAD_REQUEST, config));
|
|
18083
17788
|
return;
|
|
18084
17789
|
}
|
|
18085
17790
|
|
|
@@ -18507,15 +18212,11 @@ var Axios = /*#__PURE__*/function () {
|
|
|
18507
18212
|
|
|
18508
18213
|
// slice off the Error: ... line
|
|
18509
18214
|
stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
|
|
18510
|
-
|
|
18511
|
-
|
|
18512
|
-
|
|
18513
|
-
|
|
18514
|
-
|
|
18515
|
-
_context.t0.stack += '\n' + stack;
|
|
18516
|
-
}
|
|
18517
|
-
} catch (e) {
|
|
18518
|
-
// ignore the case where "stack" is an un-writable property
|
|
18215
|
+
if (!_context.t0.stack) {
|
|
18216
|
+
_context.t0.stack = stack;
|
|
18217
|
+
// match without the 2 top stack lines
|
|
18218
|
+
} else if (stack && !String(_context.t0.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
|
|
18219
|
+
_context.t0.stack += '\n' + stack;
|
|
18519
18220
|
}
|
|
18520
18221
|
}
|
|
18521
18222
|
throw _context.t0;
|
|
@@ -18808,11 +18509,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18808
18509
|
|
|
18809
18510
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
18810
18511
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
18811
|
-
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; }
|
|
18812
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18813
|
-
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
18814
18512
|
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); }
|
|
18815
18513
|
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; }
|
|
18514
|
+
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; }
|
|
18515
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18816
18516
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18817
18517
|
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); } }
|
|
18818
18518
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
@@ -18922,21 +18622,6 @@ var AxiosHeaders = /*#__PURE__*/function () {
|
|
|
18922
18622
|
setHeaders(header, valueOrRewrite);
|
|
18923
18623
|
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_23__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
18924
18624
|
setHeaders((0,_helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_24__["default"])(header), valueOrRewrite);
|
|
18925
|
-
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_23__["default"].isHeaders(header)) {
|
|
18926
|
-
var _iterator = _createForOfIteratorHelper(header.entries()),
|
|
18927
|
-
_step;
|
|
18928
|
-
try {
|
|
18929
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
18930
|
-
var _step$value = _slicedToArray(_step.value, 2),
|
|
18931
|
-
key = _step$value[0],
|
|
18932
|
-
value = _step$value[1];
|
|
18933
|
-
setHeader(value, key, rewrite);
|
|
18934
|
-
}
|
|
18935
|
-
} catch (err) {
|
|
18936
|
-
_iterator.e(err);
|
|
18937
|
-
} finally {
|
|
18938
|
-
_iterator.f();
|
|
18939
|
-
}
|
|
18940
18625
|
} else {
|
|
18941
18626
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
18942
18627
|
}
|
|
@@ -19638,7 +19323,7 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
19638
19323
|
}
|
|
19639
19324
|
var defaults = {
|
|
19640
19325
|
transitional: _transitional_js__WEBPACK_IMPORTED_MODULE_7__["default"],
|
|
19641
|
-
adapter: ['xhr', 'http'
|
|
19326
|
+
adapter: ['xhr', 'http'],
|
|
19642
19327
|
transformRequest: [function transformRequest(data, headers) {
|
|
19643
19328
|
var contentType = headers.getContentType() || '';
|
|
19644
19329
|
var hasJSONContentType = contentType.indexOf('application/json') > -1;
|
|
@@ -19650,7 +19335,7 @@ var defaults = {
|
|
|
19650
19335
|
if (isFormData) {
|
|
19651
19336
|
return hasJSONContentType ? JSON.stringify((0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_8__["default"])(data)) : data;
|
|
19652
19337
|
}
|
|
19653
|
-
if (_utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isArrayBuffer(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isBuffer(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isStream(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isFile(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isBlob(data)
|
|
19338
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isArrayBuffer(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isBuffer(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isStream(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isFile(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isBlob(data)) {
|
|
19654
19339
|
return data;
|
|
19655
19340
|
}
|
|
19656
19341
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isArrayBufferView(data)) {
|
|
@@ -19682,9 +19367,6 @@ var defaults = {
|
|
|
19682
19367
|
var transitional = this.transitional || defaults.transitional;
|
|
19683
19368
|
var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
19684
19369
|
var JSONRequested = this.responseType === 'json';
|
|
19685
|
-
if (_utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isResponse(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isReadableStream(data)) {
|
|
19686
|
-
return data;
|
|
19687
|
-
}
|
|
19688
19370
|
if (data && _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
|
|
19689
19371
|
var silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
19690
19372
|
var strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
@@ -19760,7 +19442,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19760
19442
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19761
19443
|
/* harmony export */ VERSION: function() { return /* binding */ VERSION; }
|
|
19762
19444
|
/* harmony export */ });
|
|
19763
|
-
var VERSION = "1.
|
|
19445
|
+
var VERSION = "1.6.8";
|
|
19764
19446
|
|
|
19765
19447
|
/***/ }),
|
|
19766
19448
|
|
|
@@ -20083,60 +19765,6 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
20083
19765
|
|
|
20084
19766
|
/***/ }),
|
|
20085
19767
|
|
|
20086
|
-
/***/ "../node_modules/axios/lib/helpers/composeSignals.js":
|
|
20087
|
-
/*!***********************************************************!*\
|
|
20088
|
-
!*** ../node_modules/axios/lib/helpers/composeSignals.js ***!
|
|
20089
|
-
\***********************************************************/
|
|
20090
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
20091
|
-
|
|
20092
|
-
"use strict";
|
|
20093
|
-
__webpack_require__.r(__webpack_exports__);
|
|
20094
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
20095
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
20096
|
-
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../node_modules/axios/lib/cancel/CanceledError.js");
|
|
20097
|
-
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
20098
|
-
|
|
20099
|
-
|
|
20100
|
-
|
|
20101
|
-
|
|
20102
|
-
var composeSignals = function composeSignals(signals, timeout) {
|
|
20103
|
-
var controller = new AbortController();
|
|
20104
|
-
var aborted;
|
|
20105
|
-
var onabort = function onabort(cancel) {
|
|
20106
|
-
if (!aborted) {
|
|
20107
|
-
aborted = true;
|
|
20108
|
-
unsubscribe();
|
|
20109
|
-
var err = cancel instanceof Error ? cancel : this.reason;
|
|
20110
|
-
controller.abort(err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"] ? err : new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_3__["default"](err instanceof Error ? err.message : err));
|
|
20111
|
-
}
|
|
20112
|
-
};
|
|
20113
|
-
var timer = timeout && setTimeout(function () {
|
|
20114
|
-
onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]("timeout ".concat(timeout, " of ms exceeded"), _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ETIMEDOUT));
|
|
20115
|
-
}, timeout);
|
|
20116
|
-
var unsubscribe = function unsubscribe() {
|
|
20117
|
-
if (signals) {
|
|
20118
|
-
timer && clearTimeout(timer);
|
|
20119
|
-
timer = null;
|
|
20120
|
-
signals.forEach(function (signal) {
|
|
20121
|
-
signal && (signal.removeEventListener ? signal.removeEventListener('abort', onabort) : signal.unsubscribe(onabort));
|
|
20122
|
-
});
|
|
20123
|
-
signals = null;
|
|
20124
|
-
}
|
|
20125
|
-
};
|
|
20126
|
-
signals.forEach(function (signal) {
|
|
20127
|
-
return signal && signal.addEventListener && signal.addEventListener('abort', onabort);
|
|
20128
|
-
});
|
|
20129
|
-
var signal = controller.signal;
|
|
20130
|
-
signal.unsubscribe = unsubscribe;
|
|
20131
|
-
return [signal, function () {
|
|
20132
|
-
timer && clearTimeout(timer);
|
|
20133
|
-
timer = null;
|
|
20134
|
-
}];
|
|
20135
|
-
};
|
|
20136
|
-
/* harmony default export */ __webpack_exports__["default"] = (composeSignals);
|
|
20137
|
-
|
|
20138
|
-
/***/ }),
|
|
20139
|
-
|
|
20140
19768
|
/***/ "../node_modules/axios/lib/helpers/cookies.js":
|
|
20141
19769
|
/*!****************************************************!*\
|
|
20142
19770
|
!*** ../node_modules/axios/lib/helpers/cookies.js ***!
|
|
@@ -20535,163 +20163,6 @@ function parseProtocol(url) {
|
|
|
20535
20163
|
|
|
20536
20164
|
/***/ }),
|
|
20537
20165
|
|
|
20538
|
-
/***/ "../node_modules/axios/lib/helpers/progressEventReducer.js":
|
|
20539
|
-
/*!*****************************************************************!*\
|
|
20540
|
-
!*** ../node_modules/axios/lib/helpers/progressEventReducer.js ***!
|
|
20541
|
-
\*****************************************************************/
|
|
20542
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
20543
|
-
|
|
20544
|
-
"use strict";
|
|
20545
|
-
__webpack_require__.r(__webpack_exports__);
|
|
20546
|
-
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../node_modules/axios/lib/helpers/speedometer.js");
|
|
20547
|
-
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../node_modules/axios/lib/helpers/throttle.js");
|
|
20548
|
-
|
|
20549
|
-
|
|
20550
|
-
/* harmony default export */ __webpack_exports__["default"] = (function (listener, isDownloadStream) {
|
|
20551
|
-
var freq = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3;
|
|
20552
|
-
var bytesNotified = 0;
|
|
20553
|
-
var _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250);
|
|
20554
|
-
return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function (e) {
|
|
20555
|
-
var loaded = e.loaded;
|
|
20556
|
-
var total = e.lengthComputable ? e.total : undefined;
|
|
20557
|
-
var progressBytes = loaded - bytesNotified;
|
|
20558
|
-
var rate = _speedometer(progressBytes);
|
|
20559
|
-
var inRange = loaded <= total;
|
|
20560
|
-
bytesNotified = loaded;
|
|
20561
|
-
var data = {
|
|
20562
|
-
loaded: loaded,
|
|
20563
|
-
total: total,
|
|
20564
|
-
progress: total ? loaded / total : undefined,
|
|
20565
|
-
bytes: progressBytes,
|
|
20566
|
-
rate: rate ? rate : undefined,
|
|
20567
|
-
estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
|
|
20568
|
-
event: e,
|
|
20569
|
-
lengthComputable: total != null
|
|
20570
|
-
};
|
|
20571
|
-
data[isDownloadStream ? 'download' : 'upload'] = true;
|
|
20572
|
-
listener(data);
|
|
20573
|
-
}, freq);
|
|
20574
|
-
});
|
|
20575
|
-
|
|
20576
|
-
/***/ }),
|
|
20577
|
-
|
|
20578
|
-
/***/ "../node_modules/axios/lib/helpers/resolveConfig.js":
|
|
20579
|
-
/*!**********************************************************!*\
|
|
20580
|
-
!*** ../node_modules/axios/lib/helpers/resolveConfig.js ***!
|
|
20581
|
-
\**********************************************************/
|
|
20582
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
20583
|
-
|
|
20584
|
-
"use strict";
|
|
20585
|
-
__webpack_require__.r(__webpack_exports__);
|
|
20586
|
-
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ "../node_modules/core-js/modules/es.symbol.js");
|
|
20587
|
-
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../node_modules/core-js/modules/es.symbol.description.js");
|
|
20588
|
-
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "../node_modules/core-js/modules/es.symbol.iterator.js");
|
|
20589
|
-
/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.array.concat.js */ "../node_modules/core-js/modules/es.array.concat.js");
|
|
20590
|
-
/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.filter.js */ "../node_modules/core-js/modules/es.array.filter.js");
|
|
20591
|
-
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.from.js */ "../node_modules/core-js/modules/es.array.from.js");
|
|
20592
|
-
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "../node_modules/core-js/modules/es.array.iterator.js");
|
|
20593
|
-
/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.join.js */ "../node_modules/core-js/modules/es.array.join.js");
|
|
20594
|
-
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ "../node_modules/core-js/modules/es.array.map.js");
|
|
20595
|
-
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ "../node_modules/core-js/modules/es.array.slice.js");
|
|
20596
|
-
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ "../node_modules/core-js/modules/es.function.name.js");
|
|
20597
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
20598
|
-
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "../node_modules/core-js/modules/es.regexp.exec.js");
|
|
20599
|
-
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "../node_modules/core-js/modules/es.regexp.to-string.js");
|
|
20600
|
-
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "../node_modules/core-js/modules/es.string.iterator.js");
|
|
20601
|
-
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "../node_modules/core-js/modules/es.string.trim.js");
|
|
20602
|
-
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
20603
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../platform/index.js */ "../node_modules/axios/lib/platform/index.js");
|
|
20604
|
-
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
20605
|
-
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../node_modules/axios/lib/helpers/isURLSameOrigin.js");
|
|
20606
|
-
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./cookies.js */ "../node_modules/axios/lib/helpers/cookies.js");
|
|
20607
|
-
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../node_modules/axios/lib/core/buildFullPath.js");
|
|
20608
|
-
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../node_modules/axios/lib/core/mergeConfig.js");
|
|
20609
|
-
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../node_modules/axios/lib/core/AxiosHeaders.js");
|
|
20610
|
-
/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./buildURL.js */ "../node_modules/axios/lib/helpers/buildURL.js");
|
|
20611
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
20612
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
20613
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
20614
|
-
|
|
20615
|
-
|
|
20616
|
-
|
|
20617
|
-
|
|
20618
|
-
|
|
20619
|
-
|
|
20620
|
-
|
|
20621
|
-
|
|
20622
|
-
|
|
20623
|
-
|
|
20624
|
-
|
|
20625
|
-
|
|
20626
|
-
|
|
20627
|
-
|
|
20628
|
-
|
|
20629
|
-
|
|
20630
|
-
|
|
20631
|
-
function _toArray(arr) { return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest(); }
|
|
20632
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
20633
|
-
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); }
|
|
20634
|
-
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; }
|
|
20635
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
20636
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
20637
|
-
|
|
20638
|
-
|
|
20639
|
-
|
|
20640
|
-
|
|
20641
|
-
|
|
20642
|
-
|
|
20643
|
-
|
|
20644
|
-
|
|
20645
|
-
/* harmony default export */ __webpack_exports__["default"] = (function (config) {
|
|
20646
|
-
var newConfig = (0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_17__["default"])({}, config);
|
|
20647
|
-
var data = newConfig.data,
|
|
20648
|
-
withXSRFToken = newConfig.withXSRFToken,
|
|
20649
|
-
xsrfHeaderName = newConfig.xsrfHeaderName,
|
|
20650
|
-
xsrfCookieName = newConfig.xsrfCookieName,
|
|
20651
|
-
headers = newConfig.headers,
|
|
20652
|
-
auth = newConfig.auth;
|
|
20653
|
-
newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_18__["default"].from(headers);
|
|
20654
|
-
newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_19__["default"])((0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_20__["default"])(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
20655
|
-
|
|
20656
|
-
// HTTP basic authentication
|
|
20657
|
-
if (auth) {
|
|
20658
|
-
headers.set('Authorization', 'Basic ' + btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : '')));
|
|
20659
|
-
}
|
|
20660
|
-
var contentType;
|
|
20661
|
-
if (_utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isFormData(data)) {
|
|
20662
|
-
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserWebWorkerEnv) {
|
|
20663
|
-
headers.setContentType(undefined); // Let the browser set it
|
|
20664
|
-
} else if ((contentType = headers.getContentType()) !== false) {
|
|
20665
|
-
// fix semicolon duplication issue for ReactNative FormData implementation
|
|
20666
|
-
var _ref = contentType ? contentType.split(';').map(function (token) {
|
|
20667
|
-
return token.trim();
|
|
20668
|
-
}).filter(Boolean) : [],
|
|
20669
|
-
_ref2 = _toArray(_ref),
|
|
20670
|
-
type = _ref2[0],
|
|
20671
|
-
tokens = _ref2.slice(1);
|
|
20672
|
-
headers.setContentType([type || 'multipart/form-data'].concat(_toConsumableArray(tokens)).join('; '));
|
|
20673
|
-
}
|
|
20674
|
-
}
|
|
20675
|
-
|
|
20676
|
-
// Add xsrf header
|
|
20677
|
-
// This is only done if running in a standard browser environment.
|
|
20678
|
-
// Specifically not if we're in a web worker, or react-native.
|
|
20679
|
-
|
|
20680
|
-
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserEnv) {
|
|
20681
|
-
withXSRFToken && _utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));
|
|
20682
|
-
if (withXSRFToken || withXSRFToken !== false && (0,_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_23__["default"])(newConfig.url)) {
|
|
20683
|
-
// Add xsrf header
|
|
20684
|
-
var xsrfValue = xsrfHeaderName && xsrfCookieName && _cookies_js__WEBPACK_IMPORTED_MODULE_24__["default"].read(xsrfCookieName);
|
|
20685
|
-
if (xsrfValue) {
|
|
20686
|
-
headers.set(xsrfHeaderName, xsrfValue);
|
|
20687
|
-
}
|
|
20688
|
-
}
|
|
20689
|
-
}
|
|
20690
|
-
return newConfig;
|
|
20691
|
-
});
|
|
20692
|
-
|
|
20693
|
-
/***/ }),
|
|
20694
|
-
|
|
20695
20166
|
/***/ "../node_modules/axios/lib/helpers/speedometer.js":
|
|
20696
20167
|
/*!********************************************************!*\
|
|
20697
20168
|
!*** ../node_modules/axios/lib/helpers/speedometer.js ***!
|
|
@@ -20787,51 +20258,6 @@ function spread(callback) {
|
|
|
20787
20258
|
|
|
20788
20259
|
/***/ }),
|
|
20789
20260
|
|
|
20790
|
-
/***/ "../node_modules/axios/lib/helpers/throttle.js":
|
|
20791
|
-
/*!*****************************************************!*\
|
|
20792
|
-
!*** ../node_modules/axios/lib/helpers/throttle.js ***!
|
|
20793
|
-
\*****************************************************/
|
|
20794
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
20795
|
-
|
|
20796
|
-
"use strict";
|
|
20797
|
-
__webpack_require__.r(__webpack_exports__);
|
|
20798
|
-
|
|
20799
|
-
|
|
20800
|
-
/**
|
|
20801
|
-
* Throttle decorator
|
|
20802
|
-
* @param {Function} fn
|
|
20803
|
-
* @param {Number} freq
|
|
20804
|
-
* @return {Function}
|
|
20805
|
-
*/
|
|
20806
|
-
function throttle(fn, freq) {
|
|
20807
|
-
var timestamp = 0;
|
|
20808
|
-
var threshold = 1000 / freq;
|
|
20809
|
-
var timer = null;
|
|
20810
|
-
return function throttled() {
|
|
20811
|
-
var _arguments = arguments;
|
|
20812
|
-
var force = this === true;
|
|
20813
|
-
var now = Date.now();
|
|
20814
|
-
if (force || now - timestamp > threshold) {
|
|
20815
|
-
if (timer) {
|
|
20816
|
-
clearTimeout(timer);
|
|
20817
|
-
timer = null;
|
|
20818
|
-
}
|
|
20819
|
-
timestamp = now;
|
|
20820
|
-
return fn.apply(null, arguments);
|
|
20821
|
-
}
|
|
20822
|
-
if (!timer) {
|
|
20823
|
-
timer = setTimeout(function () {
|
|
20824
|
-
timer = null;
|
|
20825
|
-
timestamp = Date.now();
|
|
20826
|
-
return fn.apply(null, _arguments);
|
|
20827
|
-
}, threshold - (now - timestamp));
|
|
20828
|
-
}
|
|
20829
|
-
};
|
|
20830
|
-
}
|
|
20831
|
-
/* harmony default export */ __webpack_exports__["default"] = (throttle);
|
|
20832
|
-
|
|
20833
|
-
/***/ }),
|
|
20834
|
-
|
|
20835
20261
|
/***/ "../node_modules/axios/lib/helpers/toFormData.js":
|
|
20836
20262
|
/*!*******************************************************!*\
|
|
20837
20263
|
!*** ../node_modules/axios/lib/helpers/toFormData.js ***!
|
|
@@ -21107,265 +20533,6 @@ function toURLEncodedForm(data, options) {
|
|
|
21107
20533
|
|
|
21108
20534
|
/***/ }),
|
|
21109
20535
|
|
|
21110
|
-
/***/ "../node_modules/axios/lib/helpers/trackStream.js":
|
|
21111
|
-
/*!********************************************************!*\
|
|
21112
|
-
!*** ../node_modules/axios/lib/helpers/trackStream.js ***!
|
|
21113
|
-
\********************************************************/
|
|
21114
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
21115
|
-
|
|
21116
|
-
"use strict";
|
|
21117
|
-
__webpack_require__.r(__webpack_exports__);
|
|
21118
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21119
|
-
/* harmony export */ readBytes: function() { return /* binding */ readBytes; },
|
|
21120
|
-
/* harmony export */ streamChunk: function() { return /* binding */ streamChunk; },
|
|
21121
|
-
/* harmony export */ trackStream: function() { return /* binding */ trackStream; }
|
|
21122
|
-
/* harmony export */ });
|
|
21123
|
-
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! regenerator-runtime/runtime.js */ "../node_modules/regenerator-runtime/runtime.js");
|
|
21124
|
-
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.js */ "../node_modules/core-js/modules/es.symbol.js");
|
|
21125
|
-
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../node_modules/core-js/modules/es.symbol.description.js");
|
|
21126
|
-
/* harmony import */ var core_js_modules_es_symbol_async_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.symbol.async-iterator.js */ "../node_modules/core-js/modules/es.symbol.async-iterator.js");
|
|
21127
|
-
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "../node_modules/core-js/modules/es.symbol.iterator.js");
|
|
21128
|
-
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "../node_modules/core-js/modules/es.array.iterator.js");
|
|
21129
|
-
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ "../node_modules/core-js/modules/es.array.slice.js");
|
|
21130
|
-
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
21131
|
-
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "../node_modules/core-js/modules/es.promise.js");
|
|
21132
|
-
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "../node_modules/core-js/modules/es.string.iterator.js");
|
|
21133
|
-
/* harmony import */ var core_js_modules_es_typed_array_uint8_array_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.typed-array.uint8-array.js */ "../node_modules/core-js/modules/es.typed-array.uint8-array.js");
|
|
21134
|
-
/* harmony import */ var core_js_modules_es_typed_array_copy_within_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.typed-array.copy-within.js */ "../node_modules/core-js/modules/es.typed-array.copy-within.js");
|
|
21135
|
-
/* harmony import */ var core_js_modules_es_typed_array_every_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.typed-array.every.js */ "../node_modules/core-js/modules/es.typed-array.every.js");
|
|
21136
|
-
/* harmony import */ var core_js_modules_es_typed_array_fill_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.typed-array.fill.js */ "../node_modules/core-js/modules/es.typed-array.fill.js");
|
|
21137
|
-
/* harmony import */ var core_js_modules_es_typed_array_filter_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.typed-array.filter.js */ "../node_modules/core-js/modules/es.typed-array.filter.js");
|
|
21138
|
-
/* harmony import */ var core_js_modules_es_typed_array_find_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.typed-array.find.js */ "../node_modules/core-js/modules/es.typed-array.find.js");
|
|
21139
|
-
/* harmony import */ var core_js_modules_es_typed_array_find_index_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.typed-array.find-index.js */ "../node_modules/core-js/modules/es.typed-array.find-index.js");
|
|
21140
|
-
/* harmony import */ var core_js_modules_es_typed_array_for_each_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/es.typed-array.for-each.js */ "../node_modules/core-js/modules/es.typed-array.for-each.js");
|
|
21141
|
-
/* harmony import */ var core_js_modules_es_typed_array_includes_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.typed-array.includes.js */ "../node_modules/core-js/modules/es.typed-array.includes.js");
|
|
21142
|
-
/* harmony import */ var core_js_modules_es_typed_array_index_of_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/es.typed-array.index-of.js */ "../node_modules/core-js/modules/es.typed-array.index-of.js");
|
|
21143
|
-
/* harmony import */ var core_js_modules_es_typed_array_iterator_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! core-js/modules/es.typed-array.iterator.js */ "../node_modules/core-js/modules/es.typed-array.iterator.js");
|
|
21144
|
-
/* harmony import */ var core_js_modules_es_typed_array_join_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.typed-array.join.js */ "../node_modules/core-js/modules/es.typed-array.join.js");
|
|
21145
|
-
/* harmony import */ var core_js_modules_es_typed_array_last_index_of_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! core-js/modules/es.typed-array.last-index-of.js */ "../node_modules/core-js/modules/es.typed-array.last-index-of.js");
|
|
21146
|
-
/* harmony import */ var core_js_modules_es_typed_array_map_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! core-js/modules/es.typed-array.map.js */ "../node_modules/core-js/modules/es.typed-array.map.js");
|
|
21147
|
-
/* harmony import */ var core_js_modules_es_typed_array_reduce_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! core-js/modules/es.typed-array.reduce.js */ "../node_modules/core-js/modules/es.typed-array.reduce.js");
|
|
21148
|
-
/* harmony import */ var core_js_modules_es_typed_array_reduce_right_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! core-js/modules/es.typed-array.reduce-right.js */ "../node_modules/core-js/modules/es.typed-array.reduce-right.js");
|
|
21149
|
-
/* harmony import */ var core_js_modules_es_typed_array_reverse_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! core-js/modules/es.typed-array.reverse.js */ "../node_modules/core-js/modules/es.typed-array.reverse.js");
|
|
21150
|
-
/* harmony import */ var core_js_modules_es_typed_array_set_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! core-js/modules/es.typed-array.set.js */ "../node_modules/core-js/modules/es.typed-array.set.js");
|
|
21151
|
-
/* harmony import */ var core_js_modules_es_typed_array_slice_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! core-js/modules/es.typed-array.slice.js */ "../node_modules/core-js/modules/es.typed-array.slice.js");
|
|
21152
|
-
/* harmony import */ var core_js_modules_es_typed_array_some_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! core-js/modules/es.typed-array.some.js */ "../node_modules/core-js/modules/es.typed-array.some.js");
|
|
21153
|
-
/* harmony import */ var core_js_modules_es_typed_array_sort_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! core-js/modules/es.typed-array.sort.js */ "../node_modules/core-js/modules/es.typed-array.sort.js");
|
|
21154
|
-
/* harmony import */ var core_js_modules_es_typed_array_subarray_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! core-js/modules/es.typed-array.subarray.js */ "../node_modules/core-js/modules/es.typed-array.subarray.js");
|
|
21155
|
-
/* harmony import */ var core_js_modules_es_typed_array_to_locale_string_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-locale-string.js */ "../node_modules/core-js/modules/es.typed-array.to-locale-string.js");
|
|
21156
|
-
/* harmony import */ var core_js_modules_es_typed_array_to_string_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-string.js */ "../node_modules/core-js/modules/es.typed-array.to-string.js");
|
|
21157
|
-
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
21158
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
21159
|
-
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
21160
|
-
|
|
21161
|
-
|
|
21162
|
-
|
|
21163
|
-
|
|
21164
|
-
|
|
21165
|
-
|
|
21166
|
-
|
|
21167
|
-
|
|
21168
|
-
|
|
21169
|
-
|
|
21170
|
-
|
|
21171
|
-
|
|
21172
|
-
|
|
21173
|
-
|
|
21174
|
-
|
|
21175
|
-
|
|
21176
|
-
|
|
21177
|
-
|
|
21178
|
-
|
|
21179
|
-
|
|
21180
|
-
|
|
21181
|
-
|
|
21182
|
-
|
|
21183
|
-
|
|
21184
|
-
|
|
21185
|
-
|
|
21186
|
-
|
|
21187
|
-
|
|
21188
|
-
|
|
21189
|
-
|
|
21190
|
-
|
|
21191
|
-
|
|
21192
|
-
|
|
21193
|
-
|
|
21194
|
-
|
|
21195
|
-
function _wrapAsyncGenerator(fn) { return function () { return new _AsyncGenerator(fn.apply(this, arguments)); }; }
|
|
21196
|
-
function _AsyncGenerator(gen) { var front, back; function send(key, arg) { return new Promise(function (resolve, reject) { var request = { key: key, arg: arg, resolve: resolve, reject: reject, next: null }; if (back) { back = back.next = request; } else { front = back = request; resume(key, arg); } }); } function resume(key, arg) { try { var result = gen[key](arg); var value = result.value; var wrappedAwait = value instanceof _AwaitValue; Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) { if (wrappedAwait) { resume(key === "return" ? "return" : "next", arg); return; } settle(result.done ? "return" : "normal", arg); }, function (err) { resume("throw", err); }); } catch (err) { settle("throw", err); } } function settle(type, value) { switch (type) { case "return": front.resolve({ value: value, done: true }); break; case "throw": front.reject(value); break; default: front.resolve({ value: value, done: false }); break; } front = front.next; if (front) { resume(front.key, front.arg); } else { back = null; } } this._invoke = send; if (typeof gen.return !== "function") { this.return = undefined; } }
|
|
21197
|
-
_AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; };
|
|
21198
|
-
_AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); };
|
|
21199
|
-
_AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); };
|
|
21200
|
-
_AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); };
|
|
21201
|
-
function _awaitAsyncGenerator(value) { return new _AwaitValue(value); }
|
|
21202
|
-
function _AwaitValue(value) { this.wrapped = value; }
|
|
21203
|
-
function _asyncGeneratorDelegate(inner, awaitWrap) { var iter = {}, waiting = false; function pump(key, value) { waiting = true; value = new Promise(function (resolve) { resolve(inner[key](value)); }); return { done: false, value: awaitWrap(value) }; } ; iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () { return this; }; iter.next = function (value) { if (waiting) { waiting = false; return value; } return pump("next", value); }; if (typeof inner.throw === "function") { iter.throw = function (value) { if (waiting) { waiting = false; throw value; } return pump("throw", value); }; } if (typeof inner.return === "function") { iter.return = function (value) { if (waiting) { waiting = false; return value; } return pump("return", value); }; } return iter; }
|
|
21204
|
-
function _asyncIterator(iterable) { var method, async, sync, retry = 2; for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) { if (async && null != (method = iterable[async])) return method.call(iterable); if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable)); async = "@@asyncIterator", sync = "@@iterator"; } throw new TypeError("Object is not async iterable"); }
|
|
21205
|
-
function AsyncFromSyncIterator(s) { function AsyncFromSyncIteratorContinuation(r) { if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); var done = r.done; return Promise.resolve(r.value).then(function (value) { return { value: value, done: done }; }); } return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) { this.s = s, this.n = s.next; }, AsyncFromSyncIterator.prototype = { s: null, n: null, next: function next() { return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); }, return: function _return(value) { var ret = this.s.return; return void 0 === ret ? Promise.resolve({ value: value, done: !0 }) : AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments)); }, throw: function _throw(value) { var thr = this.s.return; return void 0 === thr ? Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments)); } }, new AsyncFromSyncIterator(s); }
|
|
21206
|
-
var streamChunk = /*#__PURE__*/regeneratorRuntime.mark(function streamChunk(chunk, chunkSize) {
|
|
21207
|
-
var len, pos, end;
|
|
21208
|
-
return regeneratorRuntime.wrap(function streamChunk$(_context) {
|
|
21209
|
-
while (1) switch (_context.prev = _context.next) {
|
|
21210
|
-
case 0:
|
|
21211
|
-
len = chunk.byteLength;
|
|
21212
|
-
if (!(!chunkSize || len < chunkSize)) {
|
|
21213
|
-
_context.next = 5;
|
|
21214
|
-
break;
|
|
21215
|
-
}
|
|
21216
|
-
_context.next = 4;
|
|
21217
|
-
return chunk;
|
|
21218
|
-
case 4:
|
|
21219
|
-
return _context.abrupt("return");
|
|
21220
|
-
case 5:
|
|
21221
|
-
pos = 0;
|
|
21222
|
-
case 6:
|
|
21223
|
-
if (!(pos < len)) {
|
|
21224
|
-
_context.next = 13;
|
|
21225
|
-
break;
|
|
21226
|
-
}
|
|
21227
|
-
end = pos + chunkSize;
|
|
21228
|
-
_context.next = 10;
|
|
21229
|
-
return chunk.slice(pos, end);
|
|
21230
|
-
case 10:
|
|
21231
|
-
pos = end;
|
|
21232
|
-
_context.next = 6;
|
|
21233
|
-
break;
|
|
21234
|
-
case 13:
|
|
21235
|
-
case "end":
|
|
21236
|
-
return _context.stop();
|
|
21237
|
-
}
|
|
21238
|
-
}, streamChunk);
|
|
21239
|
-
});
|
|
21240
|
-
var readBytes = /*#__PURE__*/function () {
|
|
21241
|
-
var _ref = _wrapAsyncGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(iterable, chunkSize, encode) {
|
|
21242
|
-
var _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, chunk;
|
|
21243
|
-
return regeneratorRuntime.wrap(function _callee$(_context2) {
|
|
21244
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
21245
|
-
case 0:
|
|
21246
|
-
_iteratorAbruptCompletion = false;
|
|
21247
|
-
_didIteratorError = false;
|
|
21248
|
-
_context2.prev = 2;
|
|
21249
|
-
_iterator = _asyncIterator(iterable);
|
|
21250
|
-
case 4:
|
|
21251
|
-
_context2.next = 6;
|
|
21252
|
-
return _awaitAsyncGenerator(_iterator.next());
|
|
21253
|
-
case 6:
|
|
21254
|
-
if (!(_iteratorAbruptCompletion = !(_step = _context2.sent).done)) {
|
|
21255
|
-
_context2.next = 27;
|
|
21256
|
-
break;
|
|
21257
|
-
}
|
|
21258
|
-
chunk = _step.value;
|
|
21259
|
-
_context2.t0 = _asyncGeneratorDelegate;
|
|
21260
|
-
_context2.t1 = _asyncIterator;
|
|
21261
|
-
_context2.t2 = streamChunk;
|
|
21262
|
-
if (!ArrayBuffer.isView(chunk)) {
|
|
21263
|
-
_context2.next = 15;
|
|
21264
|
-
break;
|
|
21265
|
-
}
|
|
21266
|
-
_context2.t3 = chunk;
|
|
21267
|
-
_context2.next = 18;
|
|
21268
|
-
break;
|
|
21269
|
-
case 15:
|
|
21270
|
-
_context2.next = 17;
|
|
21271
|
-
return _awaitAsyncGenerator(encode(String(chunk)));
|
|
21272
|
-
case 17:
|
|
21273
|
-
_context2.t3 = _context2.sent;
|
|
21274
|
-
case 18:
|
|
21275
|
-
_context2.t4 = _context2.t3;
|
|
21276
|
-
_context2.t5 = chunkSize;
|
|
21277
|
-
_context2.t6 = (0, _context2.t2)(_context2.t4, _context2.t5);
|
|
21278
|
-
_context2.t7 = (0, _context2.t1)(_context2.t6);
|
|
21279
|
-
_context2.t8 = _awaitAsyncGenerator;
|
|
21280
|
-
return _context2.delegateYield((0, _context2.t0)(_context2.t7, _context2.t8), "t9", 24);
|
|
21281
|
-
case 24:
|
|
21282
|
-
_iteratorAbruptCompletion = false;
|
|
21283
|
-
_context2.next = 4;
|
|
21284
|
-
break;
|
|
21285
|
-
case 27:
|
|
21286
|
-
_context2.next = 33;
|
|
21287
|
-
break;
|
|
21288
|
-
case 29:
|
|
21289
|
-
_context2.prev = 29;
|
|
21290
|
-
_context2.t10 = _context2["catch"](2);
|
|
21291
|
-
_didIteratorError = true;
|
|
21292
|
-
_iteratorError = _context2.t10;
|
|
21293
|
-
case 33:
|
|
21294
|
-
_context2.prev = 33;
|
|
21295
|
-
_context2.prev = 34;
|
|
21296
|
-
if (!(_iteratorAbruptCompletion && _iterator.return != null)) {
|
|
21297
|
-
_context2.next = 38;
|
|
21298
|
-
break;
|
|
21299
|
-
}
|
|
21300
|
-
_context2.next = 38;
|
|
21301
|
-
return _awaitAsyncGenerator(_iterator.return());
|
|
21302
|
-
case 38:
|
|
21303
|
-
_context2.prev = 38;
|
|
21304
|
-
if (!_didIteratorError) {
|
|
21305
|
-
_context2.next = 41;
|
|
21306
|
-
break;
|
|
21307
|
-
}
|
|
21308
|
-
throw _iteratorError;
|
|
21309
|
-
case 41:
|
|
21310
|
-
return _context2.finish(38);
|
|
21311
|
-
case 42:
|
|
21312
|
-
return _context2.finish(33);
|
|
21313
|
-
case 43:
|
|
21314
|
-
case "end":
|
|
21315
|
-
return _context2.stop();
|
|
21316
|
-
}
|
|
21317
|
-
}, _callee, null, [[2, 29, 33, 43], [34,, 38, 42]]);
|
|
21318
|
-
}));
|
|
21319
|
-
return function readBytes(_x, _x2, _x3) {
|
|
21320
|
-
return _ref.apply(this, arguments);
|
|
21321
|
-
};
|
|
21322
|
-
}();
|
|
21323
|
-
var trackStream = function trackStream(stream, chunkSize, onProgress, onFinish, encode) {
|
|
21324
|
-
var iterator = readBytes(stream, chunkSize, encode);
|
|
21325
|
-
var bytes = 0;
|
|
21326
|
-
return new ReadableStream({
|
|
21327
|
-
type: 'bytes',
|
|
21328
|
-
pull: function pull(controller) {
|
|
21329
|
-
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
21330
|
-
var _yield$iterator$next, done, value, len;
|
|
21331
|
-
return regeneratorRuntime.wrap(function _callee2$(_context3) {
|
|
21332
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
21333
|
-
case 0:
|
|
21334
|
-
_context3.next = 2;
|
|
21335
|
-
return iterator.next();
|
|
21336
|
-
case 2:
|
|
21337
|
-
_yield$iterator$next = _context3.sent;
|
|
21338
|
-
done = _yield$iterator$next.done;
|
|
21339
|
-
value = _yield$iterator$next.value;
|
|
21340
|
-
if (!done) {
|
|
21341
|
-
_context3.next = 9;
|
|
21342
|
-
break;
|
|
21343
|
-
}
|
|
21344
|
-
controller.close();
|
|
21345
|
-
onFinish();
|
|
21346
|
-
return _context3.abrupt("return");
|
|
21347
|
-
case 9:
|
|
21348
|
-
len = value.byteLength;
|
|
21349
|
-
onProgress && onProgress(bytes += len);
|
|
21350
|
-
controller.enqueue(new Uint8Array(value));
|
|
21351
|
-
case 12:
|
|
21352
|
-
case "end":
|
|
21353
|
-
return _context3.stop();
|
|
21354
|
-
}
|
|
21355
|
-
}, _callee2);
|
|
21356
|
-
}))();
|
|
21357
|
-
},
|
|
21358
|
-
cancel: function cancel(reason) {
|
|
21359
|
-
onFinish(reason);
|
|
21360
|
-
return iterator.return();
|
|
21361
|
-
}
|
|
21362
|
-
}, {
|
|
21363
|
-
highWaterMark: 2
|
|
21364
|
-
});
|
|
21365
|
-
};
|
|
21366
|
-
|
|
21367
|
-
/***/ }),
|
|
21368
|
-
|
|
21369
20536
|
/***/ "../node_modules/axios/lib/helpers/validator.js":
|
|
21370
20537
|
/*!******************************************************!*\
|
|
21371
20538
|
!*** ../node_modules/axios/lib/helpers/validator.js ***!
|
|
@@ -21565,8 +20732,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21565
20732
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21566
20733
|
/* harmony export */ hasBrowserEnv: function() { return /* binding */ hasBrowserEnv; },
|
|
21567
20734
|
/* harmony export */ hasStandardBrowserEnv: function() { return /* binding */ hasStandardBrowserEnv; },
|
|
21568
|
-
/* harmony export */ hasStandardBrowserWebWorkerEnv: function() { return /* binding */ hasStandardBrowserWebWorkerEnv; }
|
|
21569
|
-
/* harmony export */ origin: function() { return /* binding */ origin; }
|
|
20735
|
+
/* harmony export */ hasStandardBrowserWebWorkerEnv: function() { return /* binding */ hasStandardBrowserWebWorkerEnv; }
|
|
21570
20736
|
/* harmony export */ });
|
|
21571
20737
|
var hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
21572
20738
|
|
|
@@ -21605,7 +20771,6 @@ var hasStandardBrowserWebWorkerEnv = function () {
|
|
|
21605
20771
|
// eslint-disable-next-line no-undef
|
|
21606
20772
|
self instanceof WorkerGlobalScope && typeof self.importScripts === 'function';
|
|
21607
20773
|
}();
|
|
21608
|
-
var origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
21609
20774
|
|
|
21610
20775
|
|
|
21611
20776
|
/***/ }),
|
|
@@ -21655,63 +20820,54 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
21655
20820
|
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.symbol.description.js */ "../node_modules/core-js/modules/es.symbol.description.js");
|
|
21656
20821
|
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "../node_modules/core-js/modules/es.symbol.iterator.js");
|
|
21657
20822
|
/* harmony import */ var core_js_modules_es_symbol_to_string_tag_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.symbol.to-string-tag.js */ "../node_modules/core-js/modules/es.symbol.to-string-tag.js");
|
|
21658
|
-
/* harmony import */ var
|
|
21659
|
-
/* harmony import */ var
|
|
21660
|
-
/* harmony import */ var
|
|
21661
|
-
/* harmony import */ var
|
|
21662
|
-
/* harmony import */ var
|
|
21663
|
-
/* harmony import */ var
|
|
21664
|
-
/* harmony import */ var
|
|
21665
|
-
/* harmony import */ var
|
|
21666
|
-
/* harmony import */ var
|
|
21667
|
-
/* harmony import */ var
|
|
21668
|
-
/* harmony import */ var
|
|
21669
|
-
/* harmony import */ var
|
|
21670
|
-
/* harmony import */ var
|
|
21671
|
-
/* harmony import */ var
|
|
21672
|
-
/* harmony import */ var
|
|
21673
|
-
/* harmony import */ var
|
|
21674
|
-
/* harmony import */ var
|
|
21675
|
-
/* harmony import */ var
|
|
21676
|
-
/* harmony import */ var
|
|
21677
|
-
/* harmony import */ var
|
|
21678
|
-
/* harmony import */ var
|
|
21679
|
-
/* harmony import */ var
|
|
21680
|
-
/* harmony import */ var
|
|
21681
|
-
/* harmony import */ var
|
|
21682
|
-
/* harmony import */ var
|
|
21683
|
-
/* harmony import */ var
|
|
21684
|
-
/* harmony import */ var
|
|
21685
|
-
/* harmony import */ var
|
|
21686
|
-
/* harmony import */ var
|
|
21687
|
-
/* harmony import */ var
|
|
21688
|
-
/* harmony import */ var
|
|
21689
|
-
/* harmony import */ var
|
|
21690
|
-
/* harmony import */ var
|
|
21691
|
-
/* harmony import */ var
|
|
21692
|
-
/* harmony import */ var
|
|
21693
|
-
/* harmony import */ var
|
|
21694
|
-
/* harmony import */ var
|
|
21695
|
-
/* harmony import */ var
|
|
21696
|
-
/* harmony import */ var
|
|
21697
|
-
/* harmony import */ var
|
|
21698
|
-
/* harmony import */ var
|
|
21699
|
-
/* harmony import */ var
|
|
21700
|
-
/* harmony import */ var
|
|
21701
|
-
/* harmony import */ var
|
|
21702
|
-
/* harmony import */ var
|
|
21703
|
-
/* harmony import */ var
|
|
21704
|
-
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
21705
|
-
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
21706
|
-
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./helpers/bind.js */ "../node_modules/axios/lib/helpers/bind.js");
|
|
20823
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ "../node_modules/core-js/modules/es.array.iterator.js");
|
|
20824
|
+
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ "../node_modules/core-js/modules/es.array.slice.js");
|
|
20825
|
+
/* harmony import */ var core_js_modules_es_array_buffer_constructor_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array-buffer.constructor.js */ "../node_modules/core-js/modules/es.array-buffer.constructor.js");
|
|
20826
|
+
/* harmony import */ var core_js_modules_es_json_to_string_tag_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.json.to-string-tag.js */ "../node_modules/core-js/modules/es.json.to-string-tag.js");
|
|
20827
|
+
/* harmony import */ var core_js_modules_es_math_to_string_tag_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.math.to-string-tag.js */ "../node_modules/core-js/modules/es.math.to-string-tag.js");
|
|
20828
|
+
/* harmony import */ var core_js_modules_es_number_is_finite_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.number.is-finite.js */ "../node_modules/core-js/modules/es.number.is-finite.js");
|
|
20829
|
+
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "../node_modules/core-js/modules/es.object.assign.js");
|
|
20830
|
+
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptors.js */ "../node_modules/core-js/modules/es.object.get-own-property-descriptors.js");
|
|
20831
|
+
/* harmony import */ var core_js_modules_es_object_get_own_property_names_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-names.js */ "../node_modules/core-js/modules/es.object.get-own-property-names.js");
|
|
20832
|
+
/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ "../node_modules/core-js/modules/es.object.get-prototype-of.js");
|
|
20833
|
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.object.keys.js */ "../node_modules/core-js/modules/es.object.keys.js");
|
|
20834
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
20835
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "../node_modules/core-js/modules/es.regexp.exec.js");
|
|
20836
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "../node_modules/core-js/modules/es.regexp.to-string.js");
|
|
20837
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "../node_modules/core-js/modules/es.string.iterator.js");
|
|
20838
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "../node_modules/core-js/modules/es.string.replace.js");
|
|
20839
|
+
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! core-js/modules/es.string.split.js */ "../node_modules/core-js/modules/es.string.split.js");
|
|
20840
|
+
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "../node_modules/core-js/modules/es.string.trim.js");
|
|
20841
|
+
/* harmony import */ var core_js_modules_es_typed_array_uint8_array_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! core-js/modules/es.typed-array.uint8-array.js */ "../node_modules/core-js/modules/es.typed-array.uint8-array.js");
|
|
20842
|
+
/* harmony import */ var core_js_modules_es_typed_array_copy_within_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! core-js/modules/es.typed-array.copy-within.js */ "../node_modules/core-js/modules/es.typed-array.copy-within.js");
|
|
20843
|
+
/* harmony import */ var core_js_modules_es_typed_array_every_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! core-js/modules/es.typed-array.every.js */ "../node_modules/core-js/modules/es.typed-array.every.js");
|
|
20844
|
+
/* harmony import */ var core_js_modules_es_typed_array_fill_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! core-js/modules/es.typed-array.fill.js */ "../node_modules/core-js/modules/es.typed-array.fill.js");
|
|
20845
|
+
/* harmony import */ var core_js_modules_es_typed_array_filter_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! core-js/modules/es.typed-array.filter.js */ "../node_modules/core-js/modules/es.typed-array.filter.js");
|
|
20846
|
+
/* harmony import */ var core_js_modules_es_typed_array_find_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! core-js/modules/es.typed-array.find.js */ "../node_modules/core-js/modules/es.typed-array.find.js");
|
|
20847
|
+
/* harmony import */ var core_js_modules_es_typed_array_find_index_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! core-js/modules/es.typed-array.find-index.js */ "../node_modules/core-js/modules/es.typed-array.find-index.js");
|
|
20848
|
+
/* harmony import */ var core_js_modules_es_typed_array_for_each_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! core-js/modules/es.typed-array.for-each.js */ "../node_modules/core-js/modules/es.typed-array.for-each.js");
|
|
20849
|
+
/* harmony import */ var core_js_modules_es_typed_array_includes_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! core-js/modules/es.typed-array.includes.js */ "../node_modules/core-js/modules/es.typed-array.includes.js");
|
|
20850
|
+
/* harmony import */ var core_js_modules_es_typed_array_index_of_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! core-js/modules/es.typed-array.index-of.js */ "../node_modules/core-js/modules/es.typed-array.index-of.js");
|
|
20851
|
+
/* harmony import */ var core_js_modules_es_typed_array_iterator_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! core-js/modules/es.typed-array.iterator.js */ "../node_modules/core-js/modules/es.typed-array.iterator.js");
|
|
20852
|
+
/* harmony import */ var core_js_modules_es_typed_array_join_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! core-js/modules/es.typed-array.join.js */ "../node_modules/core-js/modules/es.typed-array.join.js");
|
|
20853
|
+
/* harmony import */ var core_js_modules_es_typed_array_last_index_of_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! core-js/modules/es.typed-array.last-index-of.js */ "../node_modules/core-js/modules/es.typed-array.last-index-of.js");
|
|
20854
|
+
/* harmony import */ var core_js_modules_es_typed_array_map_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! core-js/modules/es.typed-array.map.js */ "../node_modules/core-js/modules/es.typed-array.map.js");
|
|
20855
|
+
/* harmony import */ var core_js_modules_es_typed_array_reduce_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! core-js/modules/es.typed-array.reduce.js */ "../node_modules/core-js/modules/es.typed-array.reduce.js");
|
|
20856
|
+
/* harmony import */ var core_js_modules_es_typed_array_reduce_right_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! core-js/modules/es.typed-array.reduce-right.js */ "../node_modules/core-js/modules/es.typed-array.reduce-right.js");
|
|
20857
|
+
/* harmony import */ var core_js_modules_es_typed_array_reverse_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! core-js/modules/es.typed-array.reverse.js */ "../node_modules/core-js/modules/es.typed-array.reverse.js");
|
|
20858
|
+
/* harmony import */ var core_js_modules_es_typed_array_set_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! core-js/modules/es.typed-array.set.js */ "../node_modules/core-js/modules/es.typed-array.set.js");
|
|
20859
|
+
/* harmony import */ var core_js_modules_es_typed_array_slice_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! core-js/modules/es.typed-array.slice.js */ "../node_modules/core-js/modules/es.typed-array.slice.js");
|
|
20860
|
+
/* harmony import */ var core_js_modules_es_typed_array_some_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! core-js/modules/es.typed-array.some.js */ "../node_modules/core-js/modules/es.typed-array.some.js");
|
|
20861
|
+
/* harmony import */ var core_js_modules_es_typed_array_sort_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! core-js/modules/es.typed-array.sort.js */ "../node_modules/core-js/modules/es.typed-array.sort.js");
|
|
20862
|
+
/* harmony import */ var core_js_modules_es_typed_array_subarray_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! core-js/modules/es.typed-array.subarray.js */ "../node_modules/core-js/modules/es.typed-array.subarray.js");
|
|
20863
|
+
/* harmony import */ var core_js_modules_es_typed_array_to_locale_string_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-locale-string.js */ "../node_modules/core-js/modules/es.typed-array.to-locale-string.js");
|
|
20864
|
+
/* harmony import */ var core_js_modules_es_typed_array_to_string_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-string.js */ "../node_modules/core-js/modules/es.typed-array.to-string.js");
|
|
20865
|
+
/* harmony import */ var core_js_modules_esnext_global_this_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! core-js/modules/esnext.global-this.js */ "../node_modules/core-js/modules/esnext.global-this.js");
|
|
20866
|
+
/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ "../node_modules/core-js/modules/web.dom-collections.for-each.js");
|
|
20867
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ "../node_modules/core-js/modules/web.dom-collections.iterator.js");
|
|
20868
|
+
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./helpers/bind.js */ "../node_modules/axios/lib/helpers/bind.js");
|
|
21707
20869
|
|
|
21708
20870
|
|
|
21709
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
21710
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
21711
|
-
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); }
|
|
21712
|
-
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; }
|
|
21713
|
-
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; }
|
|
21714
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
21715
20871
|
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); }
|
|
21716
20872
|
|
|
21717
20873
|
|
|
@@ -21760,9 +20916,6 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
21760
20916
|
|
|
21761
20917
|
|
|
21762
20918
|
|
|
21763
|
-
|
|
21764
|
-
|
|
21765
|
-
|
|
21766
20919
|
|
|
21767
20920
|
|
|
21768
20921
|
|
|
@@ -21975,12 +21128,6 @@ var isFormData = function isFormData(thing) {
|
|
|
21975
21128
|
* @returns {boolean} True if value is a URLSearchParams object, otherwise false
|
|
21976
21129
|
*/
|
|
21977
21130
|
var isURLSearchParams = kindOfTest('URLSearchParams');
|
|
21978
|
-
var _map = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest),
|
|
21979
|
-
_map2 = _slicedToArray(_map, 4),
|
|
21980
|
-
isReadableStream = _map2[0],
|
|
21981
|
-
isRequest = _map2[1],
|
|
21982
|
-
isResponse = _map2[2],
|
|
21983
|
-
isHeaders = _map2[3];
|
|
21984
21131
|
|
|
21985
21132
|
/**
|
|
21986
21133
|
* Trim excess whitespace off the beginning and end of a string
|
|
@@ -22118,7 +21265,7 @@ var extend = function extend(a, b, thisArg) {
|
|
|
22118
21265
|
allOwnKeys = _ref3.allOwnKeys;
|
|
22119
21266
|
forEach(b, function (val, key) {
|
|
22120
21267
|
if (thisArg && isFunction(val)) {
|
|
22121
|
-
a[key] = (0,
|
|
21268
|
+
a[key] = (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_49__["default"])(val, thisArg);
|
|
22122
21269
|
} else {
|
|
22123
21270
|
a[key] = val;
|
|
22124
21271
|
}
|
|
@@ -22354,7 +21501,8 @@ var toObjectSet = function toObjectSet(arrayOrString, delimiter) {
|
|
|
22354
21501
|
};
|
|
22355
21502
|
var noop = function noop() {};
|
|
22356
21503
|
var toFiniteNumber = function toFiniteNumber(value, defaultValue) {
|
|
22357
|
-
|
|
21504
|
+
value = +value;
|
|
21505
|
+
return Number.isFinite(value) ? value : defaultValue;
|
|
22358
21506
|
};
|
|
22359
21507
|
var ALPHA = 'abcdefghijklmnopqrstuvwxyz';
|
|
22360
21508
|
var DIGIT = '0123456789';
|
|
@@ -22421,10 +21569,6 @@ var isThenable = function isThenable(thing) {
|
|
|
22421
21569
|
isBoolean: isBoolean,
|
|
22422
21570
|
isObject: isObject,
|
|
22423
21571
|
isPlainObject: isPlainObject,
|
|
22424
|
-
isReadableStream: isReadableStream,
|
|
22425
|
-
isRequest: isRequest,
|
|
22426
|
-
isResponse: isResponse,
|
|
22427
|
-
isHeaders: isHeaders,
|
|
22428
21572
|
isUndefined: isUndefined,
|
|
22429
21573
|
isDate: isDate,
|
|
22430
21574
|
isFile: isFile,
|