contentful 10.12.0 → 11.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contentful.browser.js +1060 -204
- package/dist/contentful.browser.js.map +1 -1
- package/dist/contentful.browser.min.js +1 -1
- package/dist/contentful.node.js +1047 -238
- 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/${"
|
|
5064
|
+
const userAgentHeader = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(`contentful.js/${"11.0.0"}`, 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: "
|
|
5410
|
+
version: "11.0.0",
|
|
5411
5411
|
getSpace,
|
|
5412
5412
|
getContentType,
|
|
5413
5413
|
getContentTypes,
|
|
@@ -15156,6 +15156,23 @@ $({ 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
|
+
|
|
15159
15176
|
/***/ }),
|
|
15160
15177
|
|
|
15161
15178
|
/***/ "../node_modules/core-js/modules/es.symbol.constructor.js":
|
|
@@ -17398,10 +17415,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17398
17415
|
/* 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");
|
|
17399
17416
|
/* 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");
|
|
17400
17417
|
/* 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");
|
|
17401
|
-
/* harmony import */ var
|
|
17418
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
17402
17419
|
/* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./http.js */ "../node_modules/axios/lib/helpers/null.js");
|
|
17403
17420
|
/* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./xhr.js */ "../node_modules/axios/lib/adapters/xhr.js");
|
|
17404
|
-
/* harmony import */ var
|
|
17421
|
+
/* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./fetch.js */ "../node_modules/axios/lib/adapters/fetch.js");
|
|
17422
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
17405
17423
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
17406
17424
|
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."); }
|
|
17407
17425
|
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); }
|
|
@@ -17427,12 +17445,14 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
17427
17445
|
|
|
17428
17446
|
|
|
17429
17447
|
|
|
17448
|
+
|
|
17430
17449
|
|
|
17431
17450
|
var knownAdapters = {
|
|
17432
17451
|
http: _http_js__WEBPACK_IMPORTED_MODULE_16__["default"],
|
|
17433
|
-
xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_17__["default"]
|
|
17452
|
+
xhr: _xhr_js__WEBPACK_IMPORTED_MODULE_17__["default"],
|
|
17453
|
+
fetch: _fetch_js__WEBPACK_IMPORTED_MODULE_18__["default"]
|
|
17434
17454
|
};
|
|
17435
|
-
|
|
17455
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_19__["default"].forEach(knownAdapters, function (fn, value) {
|
|
17436
17456
|
if (fn) {
|
|
17437
17457
|
try {
|
|
17438
17458
|
Object.defineProperty(fn, 'name', {
|
|
@@ -17450,11 +17470,11 @@ var renderReason = function renderReason(reason) {
|
|
|
17450
17470
|
return "- ".concat(reason);
|
|
17451
17471
|
};
|
|
17452
17472
|
var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
17453
|
-
return
|
|
17473
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_19__["default"].isFunction(adapter) || adapter === null || adapter === false;
|
|
17454
17474
|
};
|
|
17455
17475
|
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
17456
17476
|
getAdapter: function getAdapter(adapters) {
|
|
17457
|
-
adapters =
|
|
17477
|
+
adapters = _utils_js__WEBPACK_IMPORTED_MODULE_19__["default"].isArray(adapters) ? adapters : [adapters];
|
|
17458
17478
|
var _adapters = adapters,
|
|
17459
17479
|
length = _adapters.length;
|
|
17460
17480
|
var nameOrAdapter;
|
|
@@ -17467,7 +17487,7 @@ var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
|
17467
17487
|
if (!isResolvedHandle(nameOrAdapter)) {
|
|
17468
17488
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
17469
17489
|
if (adapter === undefined) {
|
|
17470
|
-
throw new
|
|
17490
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_20__["default"]("Unknown adapter '".concat(id, "'"));
|
|
17471
17491
|
}
|
|
17472
17492
|
}
|
|
17473
17493
|
if (adapter) {
|
|
@@ -17483,7 +17503,7 @@ var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
|
17483
17503
|
return "adapter ".concat(id, " ") + (state === false ? 'is not supported by the environment' : 'is not available in the build');
|
|
17484
17504
|
});
|
|
17485
17505
|
var s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
|
|
17486
|
-
throw new
|
|
17506
|
+
throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_20__["default"]("There is no suitable adapter to dispatch the request " + s, 'ERR_NOT_SUPPORT');
|
|
17487
17507
|
}
|
|
17488
17508
|
return adapter;
|
|
17489
17509
|
},
|
|
@@ -17492,58 +17512,79 @@ var isResolvedHandle = function isResolvedHandle(adapter) {
|
|
|
17492
17512
|
|
|
17493
17513
|
/***/ }),
|
|
17494
17514
|
|
|
17495
|
-
/***/ "../node_modules/axios/lib/adapters/
|
|
17496
|
-
|
|
17497
|
-
!*** ../node_modules/axios/lib/adapters/
|
|
17498
|
-
|
|
17515
|
+
/***/ "../node_modules/axios/lib/adapters/fetch.js":
|
|
17516
|
+
/*!***************************************************!*\
|
|
17517
|
+
!*** ../node_modules/axios/lib/adapters/fetch.js ***!
|
|
17518
|
+
\***************************************************/
|
|
17499
17519
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
17500
17520
|
|
|
17501
17521
|
"use strict";
|
|
17502
17522
|
__webpack_require__.r(__webpack_exports__);
|
|
17503
|
-
/* harmony import */ var
|
|
17504
|
-
/* harmony import */ var
|
|
17505
|
-
/* harmony import */ var
|
|
17506
|
-
/* harmony import */ var
|
|
17523
|
+
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! regenerator-runtime/runtime.js */ "../node_modules/regenerator-runtime/runtime.js");
|
|
17524
|
+
/* 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");
|
|
17525
|
+
/* 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");
|
|
17526
|
+
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.symbol.iterator.js */ "../node_modules/core-js/modules/es.symbol.iterator.js");
|
|
17507
17527
|
/* 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");
|
|
17508
17528
|
/* 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");
|
|
17509
17529
|
/* 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");
|
|
17510
|
-
/* harmony import */ var
|
|
17511
|
-
/* harmony import */ var
|
|
17512
|
-
/* harmony import */ var
|
|
17513
|
-
/* harmony import */ var
|
|
17514
|
-
/* harmony import */ var
|
|
17515
|
-
/* harmony import */ var
|
|
17516
|
-
/* harmony import */ var
|
|
17517
|
-
/* harmony import */ var
|
|
17518
|
-
/* harmony import */ var
|
|
17519
|
-
/* harmony import */ var
|
|
17520
|
-
/* harmony import */ var
|
|
17521
|
-
/* harmony import */ var
|
|
17522
|
-
/* harmony import */ var
|
|
17523
|
-
/* harmony import */ var
|
|
17524
|
-
/* harmony import */ var
|
|
17525
|
-
/* harmony import */ var
|
|
17526
|
-
/* harmony import */ var
|
|
17527
|
-
/* harmony import */ var
|
|
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
|
-
|
|
17536
|
-
|
|
17537
|
-
|
|
17538
|
-
|
|
17539
|
-
|
|
17540
|
-
|
|
17530
|
+
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ "../node_modules/core-js/modules/es.array.slice.js");
|
|
17531
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ "../node_modules/core-js/modules/es.function.name.js");
|
|
17532
|
+
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "../node_modules/core-js/modules/es.object.assign.js");
|
|
17533
|
+
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptor.js */ "../node_modules/core-js/modules/es.object.get-own-property-descriptor.js");
|
|
17534
|
+
/* 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");
|
|
17535
|
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.object.keys.js */ "../node_modules/core-js/modules/es.object.keys.js");
|
|
17536
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
17537
|
+
/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.promise.js */ "../node_modules/core-js/modules/es.promise.js");
|
|
17538
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "../node_modules/core-js/modules/es.regexp.exec.js");
|
|
17539
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "../node_modules/core-js/modules/es.regexp.to-string.js");
|
|
17540
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "../node_modules/core-js/modules/es.string.iterator.js");
|
|
17541
|
+
/* harmony import */ var core_js_modules_es_typed_array_uint8_array_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.typed-array.uint8-array.js */ "../node_modules/core-js/modules/es.typed-array.uint8-array.js");
|
|
17542
|
+
/* harmony import */ var core_js_modules_es_typed_array_copy_within_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/es.typed-array.copy-within.js */ "../node_modules/core-js/modules/es.typed-array.copy-within.js");
|
|
17543
|
+
/* harmony import */ var core_js_modules_es_typed_array_every_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! core-js/modules/es.typed-array.every.js */ "../node_modules/core-js/modules/es.typed-array.every.js");
|
|
17544
|
+
/* harmony import */ var core_js_modules_es_typed_array_fill_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.typed-array.fill.js */ "../node_modules/core-js/modules/es.typed-array.fill.js");
|
|
17545
|
+
/* harmony import */ var core_js_modules_es_typed_array_filter_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! core-js/modules/es.typed-array.filter.js */ "../node_modules/core-js/modules/es.typed-array.filter.js");
|
|
17546
|
+
/* harmony import */ var core_js_modules_es_typed_array_find_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! core-js/modules/es.typed-array.find.js */ "../node_modules/core-js/modules/es.typed-array.find.js");
|
|
17547
|
+
/* harmony import */ var core_js_modules_es_typed_array_find_index_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! core-js/modules/es.typed-array.find-index.js */ "../node_modules/core-js/modules/es.typed-array.find-index.js");
|
|
17548
|
+
/* harmony import */ var core_js_modules_es_typed_array_for_each_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! core-js/modules/es.typed-array.for-each.js */ "../node_modules/core-js/modules/es.typed-array.for-each.js");
|
|
17549
|
+
/* harmony import */ var core_js_modules_es_typed_array_includes_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! core-js/modules/es.typed-array.includes.js */ "../node_modules/core-js/modules/es.typed-array.includes.js");
|
|
17550
|
+
/* harmony import */ var core_js_modules_es_typed_array_index_of_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! core-js/modules/es.typed-array.index-of.js */ "../node_modules/core-js/modules/es.typed-array.index-of.js");
|
|
17551
|
+
/* harmony import */ var core_js_modules_es_typed_array_iterator_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! core-js/modules/es.typed-array.iterator.js */ "../node_modules/core-js/modules/es.typed-array.iterator.js");
|
|
17552
|
+
/* harmony import */ var core_js_modules_es_typed_array_join_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! core-js/modules/es.typed-array.join.js */ "../node_modules/core-js/modules/es.typed-array.join.js");
|
|
17553
|
+
/* harmony import */ var core_js_modules_es_typed_array_last_index_of_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! core-js/modules/es.typed-array.last-index-of.js */ "../node_modules/core-js/modules/es.typed-array.last-index-of.js");
|
|
17554
|
+
/* harmony import */ var core_js_modules_es_typed_array_map_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! core-js/modules/es.typed-array.map.js */ "../node_modules/core-js/modules/es.typed-array.map.js");
|
|
17555
|
+
/* harmony import */ var core_js_modules_es_typed_array_reduce_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! core-js/modules/es.typed-array.reduce.js */ "../node_modules/core-js/modules/es.typed-array.reduce.js");
|
|
17556
|
+
/* harmony import */ var core_js_modules_es_typed_array_reduce_right_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! core-js/modules/es.typed-array.reduce-right.js */ "../node_modules/core-js/modules/es.typed-array.reduce-right.js");
|
|
17557
|
+
/* harmony import */ var core_js_modules_es_typed_array_reverse_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! core-js/modules/es.typed-array.reverse.js */ "../node_modules/core-js/modules/es.typed-array.reverse.js");
|
|
17558
|
+
/* harmony import */ var core_js_modules_es_typed_array_set_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! core-js/modules/es.typed-array.set.js */ "../node_modules/core-js/modules/es.typed-array.set.js");
|
|
17559
|
+
/* harmony import */ var core_js_modules_es_typed_array_slice_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! core-js/modules/es.typed-array.slice.js */ "../node_modules/core-js/modules/es.typed-array.slice.js");
|
|
17560
|
+
/* harmony import */ var core_js_modules_es_typed_array_some_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! core-js/modules/es.typed-array.some.js */ "../node_modules/core-js/modules/es.typed-array.some.js");
|
|
17561
|
+
/* 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");
|
|
17562
|
+
/* 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");
|
|
17563
|
+
/* 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");
|
|
17564
|
+
/* 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");
|
|
17565
|
+
/* 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");
|
|
17566
|
+
/* 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");
|
|
17567
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../platform/index.js */ "../node_modules/axios/lib/platform/index.js");
|
|
17568
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
17569
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
17570
|
+
/* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "../node_modules/axios/lib/helpers/composeSignals.js");
|
|
17571
|
+
/* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../helpers/trackStream.js */ "../node_modules/axios/lib/helpers/trackStream.js");
|
|
17572
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../node_modules/axios/lib/core/AxiosHeaders.js");
|
|
17573
|
+
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
17574
|
+
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../node_modules/axios/lib/helpers/resolveConfig.js");
|
|
17575
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../core/settle.js */ "../node_modules/axios/lib/core/settle.js");
|
|
17576
|
+
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; }
|
|
17577
|
+
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; }
|
|
17578
|
+
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; }
|
|
17579
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
17541
17580
|
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."); }
|
|
17542
17581
|
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); }
|
|
17543
17582
|
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; }
|
|
17544
|
-
function
|
|
17583
|
+
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; }
|
|
17545
17584
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
17546
17585
|
|
|
17586
|
+
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); } }
|
|
17587
|
+
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); }); }; }
|
|
17547
17588
|
|
|
17548
17589
|
|
|
17549
17590
|
|
|
@@ -17575,79 +17616,347 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
17575
17616
|
|
|
17576
17617
|
|
|
17577
17618
|
|
|
17578
|
-
|
|
17579
|
-
|
|
17580
|
-
|
|
17581
|
-
|
|
17582
|
-
|
|
17583
|
-
|
|
17584
|
-
|
|
17585
|
-
|
|
17586
|
-
|
|
17587
|
-
|
|
17588
|
-
|
|
17589
|
-
|
|
17590
|
-
|
|
17591
|
-
|
|
17592
|
-
|
|
17593
|
-
|
|
17594
|
-
|
|
17595
|
-
|
|
17596
|
-
|
|
17597
|
-
|
|
17598
|
-
|
|
17619
|
+
|
|
17620
|
+
|
|
17621
|
+
|
|
17622
|
+
|
|
17623
|
+
|
|
17624
|
+
|
|
17625
|
+
|
|
17626
|
+
|
|
17627
|
+
|
|
17628
|
+
|
|
17629
|
+
|
|
17630
|
+
|
|
17631
|
+
|
|
17632
|
+
|
|
17633
|
+
|
|
17634
|
+
|
|
17635
|
+
|
|
17636
|
+
|
|
17637
|
+
|
|
17638
|
+
|
|
17639
|
+
|
|
17640
|
+
var fetchProgressDecorator = function fetchProgressDecorator(total, fn) {
|
|
17641
|
+
var lengthComputable = total != null;
|
|
17642
|
+
return function (loaded) {
|
|
17643
|
+
return setTimeout(function () {
|
|
17644
|
+
return fn({
|
|
17645
|
+
lengthComputable: lengthComputable,
|
|
17646
|
+
total: total,
|
|
17647
|
+
loaded: loaded
|
|
17648
|
+
});
|
|
17649
|
+
});
|
|
17599
17650
|
};
|
|
17600
|
-
}
|
|
17651
|
+
};
|
|
17652
|
+
var isFetchSupported = typeof fetch === 'function' && typeof Request === 'function' && typeof Response === 'function';
|
|
17653
|
+
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === 'function';
|
|
17654
|
+
|
|
17655
|
+
// used only inside the fetch adapter
|
|
17656
|
+
var encodeText = isFetchSupported && (typeof TextEncoder === 'function' ? function (encoder) {
|
|
17657
|
+
return function (str) {
|
|
17658
|
+
return encoder.encode(str);
|
|
17659
|
+
};
|
|
17660
|
+
}(new TextEncoder()) : ( /*#__PURE__*/function () {
|
|
17661
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(str) {
|
|
17662
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
17663
|
+
while (1) switch (_context.prev = _context.next) {
|
|
17664
|
+
case 0:
|
|
17665
|
+
_context.t0 = Uint8Array;
|
|
17666
|
+
_context.next = 3;
|
|
17667
|
+
return new Response(str).arrayBuffer();
|
|
17668
|
+
case 3:
|
|
17669
|
+
_context.t1 = _context.sent;
|
|
17670
|
+
return _context.abrupt("return", new _context.t0(_context.t1));
|
|
17671
|
+
case 5:
|
|
17672
|
+
case "end":
|
|
17673
|
+
return _context.stop();
|
|
17674
|
+
}
|
|
17675
|
+
}, _callee);
|
|
17676
|
+
}));
|
|
17677
|
+
return function (_x) {
|
|
17678
|
+
return _ref.apply(this, arguments);
|
|
17679
|
+
};
|
|
17680
|
+
}()));
|
|
17681
|
+
var supportsRequestStream = isReadableStreamSupported && function () {
|
|
17682
|
+
var duplexAccessed = false;
|
|
17683
|
+
var hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_44__["default"].origin, {
|
|
17684
|
+
body: new ReadableStream(),
|
|
17685
|
+
method: 'POST',
|
|
17686
|
+
get duplex() {
|
|
17687
|
+
duplexAccessed = true;
|
|
17688
|
+
return 'half';
|
|
17689
|
+
}
|
|
17690
|
+
}).headers.has('Content-Type');
|
|
17691
|
+
return duplexAccessed && !hasContentType;
|
|
17692
|
+
}();
|
|
17693
|
+
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
17694
|
+
var supportsResponseStream = isReadableStreamSupported && !!function () {
|
|
17695
|
+
try {
|
|
17696
|
+
return _utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isReadableStream(new Response('').body);
|
|
17697
|
+
} catch (err) {
|
|
17698
|
+
// return undefined
|
|
17699
|
+
}
|
|
17700
|
+
}();
|
|
17701
|
+
var resolvers = {
|
|
17702
|
+
stream: supportsResponseStream && function (res) {
|
|
17703
|
+
return res.body;
|
|
17704
|
+
}
|
|
17705
|
+
};
|
|
17706
|
+
isFetchSupported && function (res) {
|
|
17707
|
+
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(function (type) {
|
|
17708
|
+
!resolvers[type] && (resolvers[type] = _utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isFunction(res[type]) ? function (res) {
|
|
17709
|
+
return res[type]();
|
|
17710
|
+
} : function (_, config) {
|
|
17711
|
+
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);
|
|
17712
|
+
});
|
|
17713
|
+
});
|
|
17714
|
+
}(new Response());
|
|
17715
|
+
var getBodyLength = /*#__PURE__*/function () {
|
|
17716
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(body) {
|
|
17717
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
17718
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
17719
|
+
case 0:
|
|
17720
|
+
if (!(body == null)) {
|
|
17721
|
+
_context2.next = 2;
|
|
17722
|
+
break;
|
|
17723
|
+
}
|
|
17724
|
+
return _context2.abrupt("return", 0);
|
|
17725
|
+
case 2:
|
|
17726
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isBlob(body)) {
|
|
17727
|
+
_context2.next = 4;
|
|
17728
|
+
break;
|
|
17729
|
+
}
|
|
17730
|
+
return _context2.abrupt("return", body.size);
|
|
17731
|
+
case 4:
|
|
17732
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isSpecCompliantForm(body)) {
|
|
17733
|
+
_context2.next = 8;
|
|
17734
|
+
break;
|
|
17735
|
+
}
|
|
17736
|
+
_context2.next = 7;
|
|
17737
|
+
return new Request(body).arrayBuffer();
|
|
17738
|
+
case 7:
|
|
17739
|
+
return _context2.abrupt("return", _context2.sent.byteLength);
|
|
17740
|
+
case 8:
|
|
17741
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isArrayBufferView(body)) {
|
|
17742
|
+
_context2.next = 10;
|
|
17743
|
+
break;
|
|
17744
|
+
}
|
|
17745
|
+
return _context2.abrupt("return", body.byteLength);
|
|
17746
|
+
case 10:
|
|
17747
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isURLSearchParams(body)) {
|
|
17748
|
+
body = body + '';
|
|
17749
|
+
}
|
|
17750
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isString(body)) {
|
|
17751
|
+
_context2.next = 15;
|
|
17752
|
+
break;
|
|
17753
|
+
}
|
|
17754
|
+
_context2.next = 14;
|
|
17755
|
+
return encodeText(body);
|
|
17756
|
+
case 14:
|
|
17757
|
+
return _context2.abrupt("return", _context2.sent.byteLength);
|
|
17758
|
+
case 15:
|
|
17759
|
+
case "end":
|
|
17760
|
+
return _context2.stop();
|
|
17761
|
+
}
|
|
17762
|
+
}, _callee2);
|
|
17763
|
+
}));
|
|
17764
|
+
return function getBodyLength(_x2) {
|
|
17765
|
+
return _ref2.apply(this, arguments);
|
|
17766
|
+
};
|
|
17767
|
+
}();
|
|
17768
|
+
var resolveBodyLength = /*#__PURE__*/function () {
|
|
17769
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(headers, body) {
|
|
17770
|
+
var length;
|
|
17771
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
17772
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
17773
|
+
case 0:
|
|
17774
|
+
length = _utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].toFiniteNumber(headers.getContentLength());
|
|
17775
|
+
return _context3.abrupt("return", length == null ? getBodyLength(body) : length);
|
|
17776
|
+
case 2:
|
|
17777
|
+
case "end":
|
|
17778
|
+
return _context3.stop();
|
|
17779
|
+
}
|
|
17780
|
+
}, _callee3);
|
|
17781
|
+
}));
|
|
17782
|
+
return function resolveBodyLength(_x3, _x4) {
|
|
17783
|
+
return _ref3.apply(this, arguments);
|
|
17784
|
+
};
|
|
17785
|
+
}();
|
|
17786
|
+
/* harmony default export */ __webpack_exports__["default"] = (isFetchSupported && ( /*#__PURE__*/function () {
|
|
17787
|
+
var _ref4 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(config) {
|
|
17788
|
+
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;
|
|
17789
|
+
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
17790
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
17791
|
+
case 0:
|
|
17792
|
+
_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;
|
|
17793
|
+
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
17794
|
+
_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];
|
|
17795
|
+
onFinish = function onFinish() {
|
|
17796
|
+
!finished && setTimeout(function () {
|
|
17797
|
+
composedSignal && composedSignal.unsubscribe();
|
|
17798
|
+
});
|
|
17799
|
+
finished = true;
|
|
17800
|
+
};
|
|
17801
|
+
_context4.prev = 4;
|
|
17802
|
+
_context4.t0 = onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head';
|
|
17803
|
+
if (!_context4.t0) {
|
|
17804
|
+
_context4.next = 11;
|
|
17805
|
+
break;
|
|
17806
|
+
}
|
|
17807
|
+
_context4.next = 9;
|
|
17808
|
+
return resolveBodyLength(headers, data);
|
|
17809
|
+
case 9:
|
|
17810
|
+
_context4.t1 = requestContentLength = _context4.sent;
|
|
17811
|
+
_context4.t0 = _context4.t1 !== 0;
|
|
17812
|
+
case 11:
|
|
17813
|
+
if (!_context4.t0) {
|
|
17814
|
+
_context4.next = 15;
|
|
17815
|
+
break;
|
|
17816
|
+
}
|
|
17817
|
+
_request = new Request(url, {
|
|
17818
|
+
method: 'POST',
|
|
17819
|
+
body: data,
|
|
17820
|
+
duplex: "half"
|
|
17821
|
+
});
|
|
17822
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
|
|
17823
|
+
headers.setContentType(contentTypeHeader);
|
|
17824
|
+
}
|
|
17825
|
+
if (_request.body) {
|
|
17826
|
+
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);
|
|
17827
|
+
}
|
|
17828
|
+
case 15:
|
|
17829
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].isString(withCredentials)) {
|
|
17830
|
+
withCredentials = withCredentials ? 'cors' : 'omit';
|
|
17831
|
+
}
|
|
17832
|
+
request = new Request(url, _objectSpread(_objectSpread({}, fetchOptions), {}, {
|
|
17833
|
+
signal: composedSignal,
|
|
17834
|
+
method: method.toUpperCase(),
|
|
17835
|
+
headers: headers.normalize().toJSON(),
|
|
17836
|
+
body: data,
|
|
17837
|
+
duplex: "half",
|
|
17838
|
+
withCredentials: withCredentials
|
|
17839
|
+
}));
|
|
17840
|
+
_context4.next = 19;
|
|
17841
|
+
return fetch(request);
|
|
17842
|
+
case 19:
|
|
17843
|
+
response = _context4.sent;
|
|
17844
|
+
isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
17845
|
+
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
|
17846
|
+
options = {};
|
|
17847
|
+
['status', 'statusText', 'headers'].forEach(function (prop) {
|
|
17848
|
+
options[prop] = response[prop];
|
|
17849
|
+
});
|
|
17850
|
+
responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].toFiniteNumber(response.headers.get('content-length'));
|
|
17851
|
+
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);
|
|
17852
|
+
}
|
|
17853
|
+
responseType = responseType || 'text';
|
|
17854
|
+
_context4.next = 25;
|
|
17855
|
+
return resolvers[_utils_js__WEBPACK_IMPORTED_MODULE_45__["default"].findKey(resolvers, responseType) || 'text'](response, config);
|
|
17856
|
+
case 25:
|
|
17857
|
+
responseData = _context4.sent;
|
|
17858
|
+
!isStreamResponse && onFinish();
|
|
17859
|
+
stopTimeout && stopTimeout();
|
|
17860
|
+
_context4.next = 30;
|
|
17861
|
+
return new Promise(function (resolve, reject) {
|
|
17862
|
+
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_51__["default"])(resolve, reject, {
|
|
17863
|
+
data: responseData,
|
|
17864
|
+
headers: _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_52__["default"].from(response.headers),
|
|
17865
|
+
status: response.status,
|
|
17866
|
+
statusText: response.statusText,
|
|
17867
|
+
config: config,
|
|
17868
|
+
request: request
|
|
17869
|
+
});
|
|
17870
|
+
});
|
|
17871
|
+
case 30:
|
|
17872
|
+
return _context4.abrupt("return", _context4.sent);
|
|
17873
|
+
case 33:
|
|
17874
|
+
_context4.prev = 33;
|
|
17875
|
+
_context4.t2 = _context4["catch"](4);
|
|
17876
|
+
onFinish();
|
|
17877
|
+
if (!(_context4.t2 && _context4.t2.name === 'TypeError' && /fetch/i.test(_context4.t2.message))) {
|
|
17878
|
+
_context4.next = 38;
|
|
17879
|
+
break;
|
|
17880
|
+
}
|
|
17881
|
+
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), {
|
|
17882
|
+
cause: _context4.t2.cause || _context4.t2
|
|
17883
|
+
});
|
|
17884
|
+
case 38:
|
|
17885
|
+
throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_46__["default"].from(_context4.t2, _context4.t2 && _context4.t2.code, config, request);
|
|
17886
|
+
case 39:
|
|
17887
|
+
case "end":
|
|
17888
|
+
return _context4.stop();
|
|
17889
|
+
}
|
|
17890
|
+
}, _callee4, null, [[4, 33]]);
|
|
17891
|
+
}));
|
|
17892
|
+
return function (_x5) {
|
|
17893
|
+
return _ref4.apply(this, arguments);
|
|
17894
|
+
};
|
|
17895
|
+
}()));
|
|
17896
|
+
|
|
17897
|
+
/***/ }),
|
|
17898
|
+
|
|
17899
|
+
/***/ "../node_modules/axios/lib/adapters/xhr.js":
|
|
17900
|
+
/*!*************************************************!*\
|
|
17901
|
+
!*** ../node_modules/axios/lib/adapters/xhr.js ***!
|
|
17902
|
+
\*************************************************/
|
|
17903
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
17904
|
+
|
|
17905
|
+
"use strict";
|
|
17906
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17907
|
+
/* 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");
|
|
17908
|
+
/* 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");
|
|
17909
|
+
/* 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");
|
|
17910
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
17911
|
+
/* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./../core/settle.js */ "../node_modules/axios/lib/core/settle.js");
|
|
17912
|
+
/* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../defaults/transitional.js */ "../node_modules/axios/lib/defaults/transitional.js");
|
|
17913
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
17914
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../node_modules/axios/lib/cancel/CanceledError.js");
|
|
17915
|
+
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "../node_modules/axios/lib/helpers/parseProtocol.js");
|
|
17916
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../platform/index.js */ "../node_modules/axios/lib/platform/index.js");
|
|
17917
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../node_modules/axios/lib/core/AxiosHeaders.js");
|
|
17918
|
+
/* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "../node_modules/axios/lib/helpers/progressEventReducer.js");
|
|
17919
|
+
/* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "../node_modules/axios/lib/helpers/resolveConfig.js");
|
|
17920
|
+
|
|
17921
|
+
|
|
17922
|
+
|
|
17923
|
+
|
|
17924
|
+
|
|
17925
|
+
|
|
17926
|
+
|
|
17927
|
+
|
|
17928
|
+
|
|
17929
|
+
|
|
17930
|
+
|
|
17931
|
+
|
|
17932
|
+
|
|
17601
17933
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
17602
17934
|
/* harmony default export */ __webpack_exports__["default"] = (isXHRAdapterSupported && function (config) {
|
|
17603
17935
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
17604
|
-
var
|
|
17605
|
-
var
|
|
17606
|
-
var
|
|
17607
|
-
|
|
17936
|
+
var _config = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_3__["default"])(config);
|
|
17937
|
+
var requestData = _config.data;
|
|
17938
|
+
var requestHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__["default"].from(_config.headers).normalize();
|
|
17939
|
+
var responseType = _config.responseType;
|
|
17608
17940
|
var onCanceled;
|
|
17609
17941
|
function done() {
|
|
17610
|
-
if (
|
|
17611
|
-
|
|
17942
|
+
if (_config.cancelToken) {
|
|
17943
|
+
_config.cancelToken.unsubscribe(onCanceled);
|
|
17612
17944
|
}
|
|
17613
|
-
if (
|
|
17614
|
-
|
|
17615
|
-
}
|
|
17616
|
-
}
|
|
17617
|
-
var contentType;
|
|
17618
|
-
if (_utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isFormData(requestData)) {
|
|
17619
|
-
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserWebWorkerEnv) {
|
|
17620
|
-
requestHeaders.setContentType(false); // Let the browser set it
|
|
17621
|
-
} else if ((contentType = requestHeaders.getContentType()) !== false) {
|
|
17622
|
-
// fix semicolon duplication issue for ReactNative FormData implementation
|
|
17623
|
-
var _ref = contentType ? contentType.split(';').map(function (token) {
|
|
17624
|
-
return token.trim();
|
|
17625
|
-
}).filter(Boolean) : [],
|
|
17626
|
-
_ref2 = _toArray(_ref),
|
|
17627
|
-
type = _ref2[0],
|
|
17628
|
-
tokens = _ref2.slice(1);
|
|
17629
|
-
requestHeaders.setContentType([type || 'multipart/form-data'].concat(_toConsumableArray(tokens)).join('; '));
|
|
17945
|
+
if (_config.signal) {
|
|
17946
|
+
_config.signal.removeEventListener('abort', onCanceled);
|
|
17630
17947
|
}
|
|
17631
17948
|
}
|
|
17632
17949
|
var request = new XMLHttpRequest();
|
|
17633
|
-
|
|
17634
|
-
// HTTP basic authentication
|
|
17635
|
-
if (config.auth) {
|
|
17636
|
-
var username = config.auth.username || '';
|
|
17637
|
-
var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
|
|
17638
|
-
requestHeaders.set('Authorization', 'Basic ' + btoa(username + ':' + password));
|
|
17639
|
-
}
|
|
17640
|
-
var fullPath = (0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_23__["default"])(config.baseURL, config.url);
|
|
17641
|
-
request.open(config.method.toUpperCase(), (0,_helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_24__["default"])(fullPath, config.params, config.paramsSerializer), true);
|
|
17950
|
+
request.open(_config.method.toUpperCase(), _config.url, true);
|
|
17642
17951
|
|
|
17643
17952
|
// Set the request timeout in MS
|
|
17644
|
-
request.timeout =
|
|
17953
|
+
request.timeout = _config.timeout;
|
|
17645
17954
|
function onloadend() {
|
|
17646
17955
|
if (!request) {
|
|
17647
17956
|
return;
|
|
17648
17957
|
}
|
|
17649
17958
|
// Prepare the response
|
|
17650
|
-
var responseHeaders =
|
|
17959
|
+
var responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__["default"].from('getAllResponseHeaders' in request && request.getAllResponseHeaders());
|
|
17651
17960
|
var responseData = !responseType || responseType === 'text' || responseType === 'json' ? request.responseText : request.response;
|
|
17652
17961
|
var response = {
|
|
17653
17962
|
data: responseData,
|
|
@@ -17657,7 +17966,7 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
17657
17966
|
config: config,
|
|
17658
17967
|
request: request
|
|
17659
17968
|
};
|
|
17660
|
-
(0,
|
|
17969
|
+
(0,_core_settle_js__WEBPACK_IMPORTED_MODULE_5__["default"])(function _resolve(value) {
|
|
17661
17970
|
resolve(value);
|
|
17662
17971
|
done();
|
|
17663
17972
|
}, function _reject(err) {
|
|
@@ -17696,7 +18005,7 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
17696
18005
|
if (!request) {
|
|
17697
18006
|
return;
|
|
17698
18007
|
}
|
|
17699
|
-
reject(new
|
|
18008
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_6__["default"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_6__["default"].ECONNABORTED, _config, request));
|
|
17700
18009
|
|
|
17701
18010
|
// Clean up request
|
|
17702
18011
|
request = null;
|
|
@@ -17706,7 +18015,7 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
17706
18015
|
request.onerror = function handleError() {
|
|
17707
18016
|
// Real errors are hidden from us by the browser
|
|
17708
18017
|
// onerror should only fire if it's a network error
|
|
17709
|
-
reject(new
|
|
18018
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_6__["default"]('Network Error', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_6__["default"].ERR_NETWORK, _config, request));
|
|
17710
18019
|
|
|
17711
18020
|
// Clean up request
|
|
17712
18021
|
request = null;
|
|
@@ -17714,79 +18023,65 @@ var isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
17714
18023
|
|
|
17715
18024
|
// Handle timeout
|
|
17716
18025
|
request.ontimeout = function handleTimeout() {
|
|
17717
|
-
var timeoutErrorMessage =
|
|
17718
|
-
var transitional =
|
|
17719
|
-
if (
|
|
17720
|
-
timeoutErrorMessage =
|
|
18026
|
+
var timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
18027
|
+
var transitional = _config.transitional || _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_7__["default"];
|
|
18028
|
+
if (_config.timeoutErrorMessage) {
|
|
18029
|
+
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
17721
18030
|
}
|
|
17722
|
-
reject(new
|
|
18031
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_6__["default"](timeoutErrorMessage, transitional.clarifyTimeoutError ? _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_6__["default"].ETIMEDOUT : _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_6__["default"].ECONNABORTED, _config, request));
|
|
17723
18032
|
|
|
17724
18033
|
// Clean up request
|
|
17725
18034
|
request = null;
|
|
17726
18035
|
};
|
|
17727
18036
|
|
|
17728
|
-
// Add xsrf header
|
|
17729
|
-
// This is only done if running in a standard browser environment.
|
|
17730
|
-
// Specifically not if we're in a web worker, or react-native.
|
|
17731
|
-
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserEnv) {
|
|
17732
|
-
withXSRFToken && _utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(config));
|
|
17733
|
-
if (withXSRFToken || withXSRFToken !== false && (0,_helpers_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_28__["default"])(fullPath)) {
|
|
17734
|
-
// Add xsrf header
|
|
17735
|
-
var xsrfValue = config.xsrfHeaderName && config.xsrfCookieName && _helpers_cookies_js__WEBPACK_IMPORTED_MODULE_29__["default"].read(config.xsrfCookieName);
|
|
17736
|
-
if (xsrfValue) {
|
|
17737
|
-
requestHeaders.set(config.xsrfHeaderName, xsrfValue);
|
|
17738
|
-
}
|
|
17739
|
-
}
|
|
17740
|
-
}
|
|
17741
|
-
|
|
17742
18037
|
// Remove Content-Type if data is undefined
|
|
17743
18038
|
requestData === undefined && requestHeaders.setContentType(null);
|
|
17744
18039
|
|
|
17745
18040
|
// Add headers to the request
|
|
17746
18041
|
if ('setRequestHeader' in request) {
|
|
17747
|
-
|
|
18042
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_8__["default"].forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
|
|
17748
18043
|
request.setRequestHeader(key, val);
|
|
17749
18044
|
});
|
|
17750
18045
|
}
|
|
17751
18046
|
|
|
17752
18047
|
// Add withCredentials to request if needed
|
|
17753
|
-
if (!
|
|
17754
|
-
request.withCredentials = !!
|
|
18048
|
+
if (!_utils_js__WEBPACK_IMPORTED_MODULE_8__["default"].isUndefined(_config.withCredentials)) {
|
|
18049
|
+
request.withCredentials = !!_config.withCredentials;
|
|
17755
18050
|
}
|
|
17756
18051
|
|
|
17757
18052
|
// Add responseType to request if needed
|
|
17758
18053
|
if (responseType && responseType !== 'json') {
|
|
17759
|
-
request.responseType =
|
|
18054
|
+
request.responseType = _config.responseType;
|
|
17760
18055
|
}
|
|
17761
18056
|
|
|
17762
18057
|
// Handle progress if needed
|
|
17763
|
-
if (typeof
|
|
17764
|
-
request.addEventListener('progress',
|
|
18058
|
+
if (typeof _config.onDownloadProgress === 'function') {
|
|
18059
|
+
request.addEventListener('progress', (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_9__["default"])(_config.onDownloadProgress, true));
|
|
17765
18060
|
}
|
|
17766
18061
|
|
|
17767
18062
|
// Not all browsers support upload events
|
|
17768
|
-
if (typeof
|
|
17769
|
-
request.upload.addEventListener('progress',
|
|
18063
|
+
if (typeof _config.onUploadProgress === 'function' && request.upload) {
|
|
18064
|
+
request.upload.addEventListener('progress', (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_9__["default"])(_config.onUploadProgress));
|
|
17770
18065
|
}
|
|
17771
|
-
if (
|
|
18066
|
+
if (_config.cancelToken || _config.signal) {
|
|
17772
18067
|
// Handle cancellation
|
|
17773
18068
|
// eslint-disable-next-line func-names
|
|
17774
18069
|
onCanceled = function onCanceled(cancel) {
|
|
17775
18070
|
if (!request) {
|
|
17776
18071
|
return;
|
|
17777
18072
|
}
|
|
17778
|
-
reject(!cancel || cancel.type ? new
|
|
18073
|
+
reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_10__["default"](null, config, request) : cancel);
|
|
17779
18074
|
request.abort();
|
|
17780
18075
|
request = null;
|
|
17781
18076
|
};
|
|
17782
|
-
|
|
17783
|
-
if (
|
|
17784
|
-
|
|
18077
|
+
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
18078
|
+
if (_config.signal) {
|
|
18079
|
+
_config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
|
|
17785
18080
|
}
|
|
17786
18081
|
}
|
|
17787
|
-
var protocol = (0,
|
|
17788
|
-
if (protocol &&
|
|
17789
|
-
reject(new
|
|
18082
|
+
var protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_11__["default"])(_config.url);
|
|
18083
|
+
if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_12__["default"].protocols.indexOf(protocol) === -1) {
|
|
18084
|
+
reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_6__["default"]('Unsupported protocol ' + protocol + ':', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_6__["default"].ERR_BAD_REQUEST, config));
|
|
17790
18085
|
return;
|
|
17791
18086
|
}
|
|
17792
18087
|
|
|
@@ -18214,11 +18509,15 @@ var Axios = /*#__PURE__*/function () {
|
|
|
18214
18509
|
|
|
18215
18510
|
// slice off the Error: ... line
|
|
18216
18511
|
stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
|
|
18217
|
-
|
|
18218
|
-
_context.t0.stack
|
|
18219
|
-
|
|
18220
|
-
|
|
18221
|
-
_context.t0.stack
|
|
18512
|
+
try {
|
|
18513
|
+
if (!_context.t0.stack) {
|
|
18514
|
+
_context.t0.stack = stack;
|
|
18515
|
+
// match without the 2 top stack lines
|
|
18516
|
+
} else if (stack && !String(_context.t0.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
|
|
18517
|
+
_context.t0.stack += '\n' + stack;
|
|
18518
|
+
}
|
|
18519
|
+
} catch (e) {
|
|
18520
|
+
// ignore the case where "stack" is an un-writable property
|
|
18222
18521
|
}
|
|
18223
18522
|
}
|
|
18224
18523
|
throw _context.t0;
|
|
@@ -18511,10 +18810,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
18511
18810
|
|
|
18512
18811
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
18513
18812
|
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."); }
|
|
18514
|
-
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); }
|
|
18515
|
-
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; }
|
|
18516
18813
|
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; }
|
|
18517
18814
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18815
|
+
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; } } }; }
|
|
18816
|
+
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); }
|
|
18817
|
+
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; }
|
|
18518
18818
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18519
18819
|
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); } }
|
|
18520
18820
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
@@ -18624,6 +18924,21 @@ var AxiosHeaders = /*#__PURE__*/function () {
|
|
|
18624
18924
|
setHeaders(header, valueOrRewrite);
|
|
18625
18925
|
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_23__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
18626
18926
|
setHeaders((0,_helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_24__["default"])(header), valueOrRewrite);
|
|
18927
|
+
} else if (_utils_js__WEBPACK_IMPORTED_MODULE_23__["default"].isHeaders(header)) {
|
|
18928
|
+
var _iterator = _createForOfIteratorHelper(header.entries()),
|
|
18929
|
+
_step;
|
|
18930
|
+
try {
|
|
18931
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
18932
|
+
var _step$value = _slicedToArray(_step.value, 2),
|
|
18933
|
+
key = _step$value[0],
|
|
18934
|
+
value = _step$value[1];
|
|
18935
|
+
setHeader(value, key, rewrite);
|
|
18936
|
+
}
|
|
18937
|
+
} catch (err) {
|
|
18938
|
+
_iterator.e(err);
|
|
18939
|
+
} finally {
|
|
18940
|
+
_iterator.f();
|
|
18941
|
+
}
|
|
18627
18942
|
} else {
|
|
18628
18943
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
18629
18944
|
}
|
|
@@ -19325,7 +19640,7 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
19325
19640
|
}
|
|
19326
19641
|
var defaults = {
|
|
19327
19642
|
transitional: _transitional_js__WEBPACK_IMPORTED_MODULE_7__["default"],
|
|
19328
|
-
adapter: ['xhr', 'http'],
|
|
19643
|
+
adapter: ['xhr', 'http', 'fetch'],
|
|
19329
19644
|
transformRequest: [function transformRequest(data, headers) {
|
|
19330
19645
|
var contentType = headers.getContentType() || '';
|
|
19331
19646
|
var hasJSONContentType = contentType.indexOf('application/json') > -1;
|
|
@@ -19337,7 +19652,7 @@ var defaults = {
|
|
|
19337
19652
|
if (isFormData) {
|
|
19338
19653
|
return hasJSONContentType ? JSON.stringify((0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_8__["default"])(data)) : data;
|
|
19339
19654
|
}
|
|
19340
|
-
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)) {
|
|
19655
|
+
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) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isReadableStream(data)) {
|
|
19341
19656
|
return data;
|
|
19342
19657
|
}
|
|
19343
19658
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isArrayBufferView(data)) {
|
|
@@ -19369,6 +19684,9 @@ var defaults = {
|
|
|
19369
19684
|
var transitional = this.transitional || defaults.transitional;
|
|
19370
19685
|
var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
19371
19686
|
var JSONRequested = this.responseType === 'json';
|
|
19687
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isResponse(data) || _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isReadableStream(data)) {
|
|
19688
|
+
return data;
|
|
19689
|
+
}
|
|
19372
19690
|
if (data && _utils_js__WEBPACK_IMPORTED_MODULE_6__["default"].isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
|
|
19373
19691
|
var silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
19374
19692
|
var strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
@@ -19444,7 +19762,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19444
19762
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19445
19763
|
/* harmony export */ VERSION: function() { return /* binding */ VERSION; }
|
|
19446
19764
|
/* harmony export */ });
|
|
19447
|
-
var VERSION = "1.
|
|
19765
|
+
var VERSION = "1.7.2";
|
|
19448
19766
|
|
|
19449
19767
|
/***/ }),
|
|
19450
19768
|
|
|
@@ -19767,6 +20085,60 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
19767
20085
|
|
|
19768
20086
|
/***/ }),
|
|
19769
20087
|
|
|
20088
|
+
/***/ "../node_modules/axios/lib/helpers/composeSignals.js":
|
|
20089
|
+
/*!***********************************************************!*\
|
|
20090
|
+
!*** ../node_modules/axios/lib/helpers/composeSignals.js ***!
|
|
20091
|
+
\***********************************************************/
|
|
20092
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
20093
|
+
|
|
20094
|
+
"use strict";
|
|
20095
|
+
__webpack_require__.r(__webpack_exports__);
|
|
20096
|
+
/* 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");
|
|
20097
|
+
/* 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");
|
|
20098
|
+
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "../node_modules/axios/lib/cancel/CanceledError.js");
|
|
20099
|
+
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "../node_modules/axios/lib/core/AxiosError.js");
|
|
20100
|
+
|
|
20101
|
+
|
|
20102
|
+
|
|
20103
|
+
|
|
20104
|
+
var composeSignals = function composeSignals(signals, timeout) {
|
|
20105
|
+
var controller = new AbortController();
|
|
20106
|
+
var aborted;
|
|
20107
|
+
var onabort = function onabort(cancel) {
|
|
20108
|
+
if (!aborted) {
|
|
20109
|
+
aborted = true;
|
|
20110
|
+
unsubscribe();
|
|
20111
|
+
var err = cancel instanceof Error ? cancel : this.reason;
|
|
20112
|
+
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));
|
|
20113
|
+
}
|
|
20114
|
+
};
|
|
20115
|
+
var timer = timeout && setTimeout(function () {
|
|
20116
|
+
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));
|
|
20117
|
+
}, timeout);
|
|
20118
|
+
var unsubscribe = function unsubscribe() {
|
|
20119
|
+
if (signals) {
|
|
20120
|
+
timer && clearTimeout(timer);
|
|
20121
|
+
timer = null;
|
|
20122
|
+
signals.forEach(function (signal) {
|
|
20123
|
+
signal && (signal.removeEventListener ? signal.removeEventListener('abort', onabort) : signal.unsubscribe(onabort));
|
|
20124
|
+
});
|
|
20125
|
+
signals = null;
|
|
20126
|
+
}
|
|
20127
|
+
};
|
|
20128
|
+
signals.forEach(function (signal) {
|
|
20129
|
+
return signal && signal.addEventListener && signal.addEventListener('abort', onabort);
|
|
20130
|
+
});
|
|
20131
|
+
var signal = controller.signal;
|
|
20132
|
+
signal.unsubscribe = unsubscribe;
|
|
20133
|
+
return [signal, function () {
|
|
20134
|
+
timer && clearTimeout(timer);
|
|
20135
|
+
timer = null;
|
|
20136
|
+
}];
|
|
20137
|
+
};
|
|
20138
|
+
/* harmony default export */ __webpack_exports__["default"] = (composeSignals);
|
|
20139
|
+
|
|
20140
|
+
/***/ }),
|
|
20141
|
+
|
|
19770
20142
|
/***/ "../node_modules/axios/lib/helpers/cookies.js":
|
|
19771
20143
|
/*!****************************************************!*\
|
|
19772
20144
|
!*** ../node_modules/axios/lib/helpers/cookies.js ***!
|
|
@@ -20165,6 +20537,163 @@ function parseProtocol(url) {
|
|
|
20165
20537
|
|
|
20166
20538
|
/***/ }),
|
|
20167
20539
|
|
|
20540
|
+
/***/ "../node_modules/axios/lib/helpers/progressEventReducer.js":
|
|
20541
|
+
/*!*****************************************************************!*\
|
|
20542
|
+
!*** ../node_modules/axios/lib/helpers/progressEventReducer.js ***!
|
|
20543
|
+
\*****************************************************************/
|
|
20544
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
20545
|
+
|
|
20546
|
+
"use strict";
|
|
20547
|
+
__webpack_require__.r(__webpack_exports__);
|
|
20548
|
+
/* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "../node_modules/axios/lib/helpers/speedometer.js");
|
|
20549
|
+
/* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "../node_modules/axios/lib/helpers/throttle.js");
|
|
20550
|
+
|
|
20551
|
+
|
|
20552
|
+
/* harmony default export */ __webpack_exports__["default"] = (function (listener, isDownloadStream) {
|
|
20553
|
+
var freq = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3;
|
|
20554
|
+
var bytesNotified = 0;
|
|
20555
|
+
var _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250);
|
|
20556
|
+
return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])(function (e) {
|
|
20557
|
+
var loaded = e.loaded;
|
|
20558
|
+
var total = e.lengthComputable ? e.total : undefined;
|
|
20559
|
+
var progressBytes = loaded - bytesNotified;
|
|
20560
|
+
var rate = _speedometer(progressBytes);
|
|
20561
|
+
var inRange = loaded <= total;
|
|
20562
|
+
bytesNotified = loaded;
|
|
20563
|
+
var data = {
|
|
20564
|
+
loaded: loaded,
|
|
20565
|
+
total: total,
|
|
20566
|
+
progress: total ? loaded / total : undefined,
|
|
20567
|
+
bytes: progressBytes,
|
|
20568
|
+
rate: rate ? rate : undefined,
|
|
20569
|
+
estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
|
|
20570
|
+
event: e,
|
|
20571
|
+
lengthComputable: total != null
|
|
20572
|
+
};
|
|
20573
|
+
data[isDownloadStream ? 'download' : 'upload'] = true;
|
|
20574
|
+
listener(data);
|
|
20575
|
+
}, freq);
|
|
20576
|
+
});
|
|
20577
|
+
|
|
20578
|
+
/***/ }),
|
|
20579
|
+
|
|
20580
|
+
/***/ "../node_modules/axios/lib/helpers/resolveConfig.js":
|
|
20581
|
+
/*!**********************************************************!*\
|
|
20582
|
+
!*** ../node_modules/axios/lib/helpers/resolveConfig.js ***!
|
|
20583
|
+
\**********************************************************/
|
|
20584
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
20585
|
+
|
|
20586
|
+
"use strict";
|
|
20587
|
+
__webpack_require__.r(__webpack_exports__);
|
|
20588
|
+
/* 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");
|
|
20589
|
+
/* 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");
|
|
20590
|
+
/* 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");
|
|
20591
|
+
/* 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");
|
|
20592
|
+
/* 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");
|
|
20593
|
+
/* 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");
|
|
20594
|
+
/* 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");
|
|
20595
|
+
/* 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");
|
|
20596
|
+
/* 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");
|
|
20597
|
+
/* 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");
|
|
20598
|
+
/* 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");
|
|
20599
|
+
/* 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");
|
|
20600
|
+
/* 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");
|
|
20601
|
+
/* 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");
|
|
20602
|
+
/* 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");
|
|
20603
|
+
/* 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");
|
|
20604
|
+
/* 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");
|
|
20605
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../platform/index.js */ "../node_modules/axios/lib/platform/index.js");
|
|
20606
|
+
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../utils.js */ "../node_modules/axios/lib/utils.js");
|
|
20607
|
+
/* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "../node_modules/axios/lib/helpers/isURLSameOrigin.js");
|
|
20608
|
+
/* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./cookies.js */ "../node_modules/axios/lib/helpers/cookies.js");
|
|
20609
|
+
/* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../core/buildFullPath.js */ "../node_modules/axios/lib/core/buildFullPath.js");
|
|
20610
|
+
/* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../core/mergeConfig.js */ "../node_modules/axios/lib/core/mergeConfig.js");
|
|
20611
|
+
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "../node_modules/axios/lib/core/AxiosHeaders.js");
|
|
20612
|
+
/* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./buildURL.js */ "../node_modules/axios/lib/helpers/buildURL.js");
|
|
20613
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
20614
|
+
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."); }
|
|
20615
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
20616
|
+
|
|
20617
|
+
|
|
20618
|
+
|
|
20619
|
+
|
|
20620
|
+
|
|
20621
|
+
|
|
20622
|
+
|
|
20623
|
+
|
|
20624
|
+
|
|
20625
|
+
|
|
20626
|
+
|
|
20627
|
+
|
|
20628
|
+
|
|
20629
|
+
|
|
20630
|
+
|
|
20631
|
+
|
|
20632
|
+
|
|
20633
|
+
function _toArray(arr) { return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest(); }
|
|
20634
|
+
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."); }
|
|
20635
|
+
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); }
|
|
20636
|
+
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; }
|
|
20637
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
20638
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
20639
|
+
|
|
20640
|
+
|
|
20641
|
+
|
|
20642
|
+
|
|
20643
|
+
|
|
20644
|
+
|
|
20645
|
+
|
|
20646
|
+
|
|
20647
|
+
/* harmony default export */ __webpack_exports__["default"] = (function (config) {
|
|
20648
|
+
var newConfig = (0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_17__["default"])({}, config);
|
|
20649
|
+
var data = newConfig.data,
|
|
20650
|
+
withXSRFToken = newConfig.withXSRFToken,
|
|
20651
|
+
xsrfHeaderName = newConfig.xsrfHeaderName,
|
|
20652
|
+
xsrfCookieName = newConfig.xsrfCookieName,
|
|
20653
|
+
headers = newConfig.headers,
|
|
20654
|
+
auth = newConfig.auth;
|
|
20655
|
+
newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_18__["default"].from(headers);
|
|
20656
|
+
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);
|
|
20657
|
+
|
|
20658
|
+
// HTTP basic authentication
|
|
20659
|
+
if (auth) {
|
|
20660
|
+
headers.set('Authorization', 'Basic ' + btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : '')));
|
|
20661
|
+
}
|
|
20662
|
+
var contentType;
|
|
20663
|
+
if (_utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isFormData(data)) {
|
|
20664
|
+
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserWebWorkerEnv) {
|
|
20665
|
+
headers.setContentType(undefined); // Let the browser set it
|
|
20666
|
+
} else if ((contentType = headers.getContentType()) !== false) {
|
|
20667
|
+
// fix semicolon duplication issue for ReactNative FormData implementation
|
|
20668
|
+
var _ref = contentType ? contentType.split(';').map(function (token) {
|
|
20669
|
+
return token.trim();
|
|
20670
|
+
}).filter(Boolean) : [],
|
|
20671
|
+
_ref2 = _toArray(_ref),
|
|
20672
|
+
type = _ref2[0],
|
|
20673
|
+
tokens = _ref2.slice(1);
|
|
20674
|
+
headers.setContentType([type || 'multipart/form-data'].concat(_toConsumableArray(tokens)).join('; '));
|
|
20675
|
+
}
|
|
20676
|
+
}
|
|
20677
|
+
|
|
20678
|
+
// Add xsrf header
|
|
20679
|
+
// This is only done if running in a standard browser environment.
|
|
20680
|
+
// Specifically not if we're in a web worker, or react-native.
|
|
20681
|
+
|
|
20682
|
+
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_22__["default"].hasStandardBrowserEnv) {
|
|
20683
|
+
withXSRFToken && _utils_js__WEBPACK_IMPORTED_MODULE_21__["default"].isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));
|
|
20684
|
+
if (withXSRFToken || withXSRFToken !== false && (0,_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_23__["default"])(newConfig.url)) {
|
|
20685
|
+
// Add xsrf header
|
|
20686
|
+
var xsrfValue = xsrfHeaderName && xsrfCookieName && _cookies_js__WEBPACK_IMPORTED_MODULE_24__["default"].read(xsrfCookieName);
|
|
20687
|
+
if (xsrfValue) {
|
|
20688
|
+
headers.set(xsrfHeaderName, xsrfValue);
|
|
20689
|
+
}
|
|
20690
|
+
}
|
|
20691
|
+
}
|
|
20692
|
+
return newConfig;
|
|
20693
|
+
});
|
|
20694
|
+
|
|
20695
|
+
/***/ }),
|
|
20696
|
+
|
|
20168
20697
|
/***/ "../node_modules/axios/lib/helpers/speedometer.js":
|
|
20169
20698
|
/*!********************************************************!*\
|
|
20170
20699
|
!*** ../node_modules/axios/lib/helpers/speedometer.js ***!
|
|
@@ -20260,6 +20789,51 @@ function spread(callback) {
|
|
|
20260
20789
|
|
|
20261
20790
|
/***/ }),
|
|
20262
20791
|
|
|
20792
|
+
/***/ "../node_modules/axios/lib/helpers/throttle.js":
|
|
20793
|
+
/*!*****************************************************!*\
|
|
20794
|
+
!*** ../node_modules/axios/lib/helpers/throttle.js ***!
|
|
20795
|
+
\*****************************************************/
|
|
20796
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
20797
|
+
|
|
20798
|
+
"use strict";
|
|
20799
|
+
__webpack_require__.r(__webpack_exports__);
|
|
20800
|
+
|
|
20801
|
+
|
|
20802
|
+
/**
|
|
20803
|
+
* Throttle decorator
|
|
20804
|
+
* @param {Function} fn
|
|
20805
|
+
* @param {Number} freq
|
|
20806
|
+
* @return {Function}
|
|
20807
|
+
*/
|
|
20808
|
+
function throttle(fn, freq) {
|
|
20809
|
+
var timestamp = 0;
|
|
20810
|
+
var threshold = 1000 / freq;
|
|
20811
|
+
var timer = null;
|
|
20812
|
+
return function throttled() {
|
|
20813
|
+
var _arguments = arguments;
|
|
20814
|
+
var force = this === true;
|
|
20815
|
+
var now = Date.now();
|
|
20816
|
+
if (force || now - timestamp > threshold) {
|
|
20817
|
+
if (timer) {
|
|
20818
|
+
clearTimeout(timer);
|
|
20819
|
+
timer = null;
|
|
20820
|
+
}
|
|
20821
|
+
timestamp = now;
|
|
20822
|
+
return fn.apply(null, arguments);
|
|
20823
|
+
}
|
|
20824
|
+
if (!timer) {
|
|
20825
|
+
timer = setTimeout(function () {
|
|
20826
|
+
timer = null;
|
|
20827
|
+
timestamp = Date.now();
|
|
20828
|
+
return fn.apply(null, _arguments);
|
|
20829
|
+
}, threshold - (now - timestamp));
|
|
20830
|
+
}
|
|
20831
|
+
};
|
|
20832
|
+
}
|
|
20833
|
+
/* harmony default export */ __webpack_exports__["default"] = (throttle);
|
|
20834
|
+
|
|
20835
|
+
/***/ }),
|
|
20836
|
+
|
|
20263
20837
|
/***/ "../node_modules/axios/lib/helpers/toFormData.js":
|
|
20264
20838
|
/*!*******************************************************!*\
|
|
20265
20839
|
!*** ../node_modules/axios/lib/helpers/toFormData.js ***!
|
|
@@ -20535,6 +21109,265 @@ function toURLEncodedForm(data, options) {
|
|
|
20535
21109
|
|
|
20536
21110
|
/***/ }),
|
|
20537
21111
|
|
|
21112
|
+
/***/ "../node_modules/axios/lib/helpers/trackStream.js":
|
|
21113
|
+
/*!********************************************************!*\
|
|
21114
|
+
!*** ../node_modules/axios/lib/helpers/trackStream.js ***!
|
|
21115
|
+
\********************************************************/
|
|
21116
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
21117
|
+
|
|
21118
|
+
"use strict";
|
|
21119
|
+
__webpack_require__.r(__webpack_exports__);
|
|
21120
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21121
|
+
/* harmony export */ readBytes: function() { return /* binding */ readBytes; },
|
|
21122
|
+
/* harmony export */ streamChunk: function() { return /* binding */ streamChunk; },
|
|
21123
|
+
/* harmony export */ trackStream: function() { return /* binding */ trackStream; }
|
|
21124
|
+
/* harmony export */ });
|
|
21125
|
+
/* harmony import */ var regenerator_runtime_runtime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! regenerator-runtime/runtime.js */ "../node_modules/regenerator-runtime/runtime.js");
|
|
21126
|
+
/* 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");
|
|
21127
|
+
/* 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");
|
|
21128
|
+
/* 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");
|
|
21129
|
+
/* 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");
|
|
21130
|
+
/* 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");
|
|
21131
|
+
/* 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");
|
|
21132
|
+
/* 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");
|
|
21133
|
+
/* 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");
|
|
21134
|
+
/* 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");
|
|
21135
|
+
/* 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");
|
|
21136
|
+
/* 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");
|
|
21137
|
+
/* 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");
|
|
21138
|
+
/* 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");
|
|
21139
|
+
/* 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");
|
|
21140
|
+
/* 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");
|
|
21141
|
+
/* 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");
|
|
21142
|
+
/* 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");
|
|
21143
|
+
/* 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");
|
|
21144
|
+
/* 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");
|
|
21145
|
+
/* 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");
|
|
21146
|
+
/* 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");
|
|
21147
|
+
/* 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");
|
|
21148
|
+
/* 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");
|
|
21149
|
+
/* 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");
|
|
21150
|
+
/* 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");
|
|
21151
|
+
/* 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");
|
|
21152
|
+
/* 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");
|
|
21153
|
+
/* 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");
|
|
21154
|
+
/* 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");
|
|
21155
|
+
/* 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");
|
|
21156
|
+
/* 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");
|
|
21157
|
+
/* 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");
|
|
21158
|
+
/* 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");
|
|
21159
|
+
/* 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");
|
|
21160
|
+
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); } }
|
|
21161
|
+
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); }); }; }
|
|
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
|
+
|
|
21196
|
+
|
|
21197
|
+
function _wrapAsyncGenerator(fn) { return function () { return new _AsyncGenerator(fn.apply(this, arguments)); }; }
|
|
21198
|
+
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; } }
|
|
21199
|
+
_AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; };
|
|
21200
|
+
_AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); };
|
|
21201
|
+
_AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); };
|
|
21202
|
+
_AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); };
|
|
21203
|
+
function _awaitAsyncGenerator(value) { return new _AwaitValue(value); }
|
|
21204
|
+
function _AwaitValue(value) { this.wrapped = value; }
|
|
21205
|
+
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; }
|
|
21206
|
+
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"); }
|
|
21207
|
+
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); }
|
|
21208
|
+
var streamChunk = /*#__PURE__*/regeneratorRuntime.mark(function streamChunk(chunk, chunkSize) {
|
|
21209
|
+
var len, pos, end;
|
|
21210
|
+
return regeneratorRuntime.wrap(function streamChunk$(_context) {
|
|
21211
|
+
while (1) switch (_context.prev = _context.next) {
|
|
21212
|
+
case 0:
|
|
21213
|
+
len = chunk.byteLength;
|
|
21214
|
+
if (!(!chunkSize || len < chunkSize)) {
|
|
21215
|
+
_context.next = 5;
|
|
21216
|
+
break;
|
|
21217
|
+
}
|
|
21218
|
+
_context.next = 4;
|
|
21219
|
+
return chunk;
|
|
21220
|
+
case 4:
|
|
21221
|
+
return _context.abrupt("return");
|
|
21222
|
+
case 5:
|
|
21223
|
+
pos = 0;
|
|
21224
|
+
case 6:
|
|
21225
|
+
if (!(pos < len)) {
|
|
21226
|
+
_context.next = 13;
|
|
21227
|
+
break;
|
|
21228
|
+
}
|
|
21229
|
+
end = pos + chunkSize;
|
|
21230
|
+
_context.next = 10;
|
|
21231
|
+
return chunk.slice(pos, end);
|
|
21232
|
+
case 10:
|
|
21233
|
+
pos = end;
|
|
21234
|
+
_context.next = 6;
|
|
21235
|
+
break;
|
|
21236
|
+
case 13:
|
|
21237
|
+
case "end":
|
|
21238
|
+
return _context.stop();
|
|
21239
|
+
}
|
|
21240
|
+
}, streamChunk);
|
|
21241
|
+
});
|
|
21242
|
+
var readBytes = /*#__PURE__*/function () {
|
|
21243
|
+
var _ref = _wrapAsyncGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(iterable, chunkSize, encode) {
|
|
21244
|
+
var _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, chunk;
|
|
21245
|
+
return regeneratorRuntime.wrap(function _callee$(_context2) {
|
|
21246
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
21247
|
+
case 0:
|
|
21248
|
+
_iteratorAbruptCompletion = false;
|
|
21249
|
+
_didIteratorError = false;
|
|
21250
|
+
_context2.prev = 2;
|
|
21251
|
+
_iterator = _asyncIterator(iterable);
|
|
21252
|
+
case 4:
|
|
21253
|
+
_context2.next = 6;
|
|
21254
|
+
return _awaitAsyncGenerator(_iterator.next());
|
|
21255
|
+
case 6:
|
|
21256
|
+
if (!(_iteratorAbruptCompletion = !(_step = _context2.sent).done)) {
|
|
21257
|
+
_context2.next = 27;
|
|
21258
|
+
break;
|
|
21259
|
+
}
|
|
21260
|
+
chunk = _step.value;
|
|
21261
|
+
_context2.t0 = _asyncGeneratorDelegate;
|
|
21262
|
+
_context2.t1 = _asyncIterator;
|
|
21263
|
+
_context2.t2 = streamChunk;
|
|
21264
|
+
if (!ArrayBuffer.isView(chunk)) {
|
|
21265
|
+
_context2.next = 15;
|
|
21266
|
+
break;
|
|
21267
|
+
}
|
|
21268
|
+
_context2.t3 = chunk;
|
|
21269
|
+
_context2.next = 18;
|
|
21270
|
+
break;
|
|
21271
|
+
case 15:
|
|
21272
|
+
_context2.next = 17;
|
|
21273
|
+
return _awaitAsyncGenerator(encode(String(chunk)));
|
|
21274
|
+
case 17:
|
|
21275
|
+
_context2.t3 = _context2.sent;
|
|
21276
|
+
case 18:
|
|
21277
|
+
_context2.t4 = _context2.t3;
|
|
21278
|
+
_context2.t5 = chunkSize;
|
|
21279
|
+
_context2.t6 = (0, _context2.t2)(_context2.t4, _context2.t5);
|
|
21280
|
+
_context2.t7 = (0, _context2.t1)(_context2.t6);
|
|
21281
|
+
_context2.t8 = _awaitAsyncGenerator;
|
|
21282
|
+
return _context2.delegateYield((0, _context2.t0)(_context2.t7, _context2.t8), "t9", 24);
|
|
21283
|
+
case 24:
|
|
21284
|
+
_iteratorAbruptCompletion = false;
|
|
21285
|
+
_context2.next = 4;
|
|
21286
|
+
break;
|
|
21287
|
+
case 27:
|
|
21288
|
+
_context2.next = 33;
|
|
21289
|
+
break;
|
|
21290
|
+
case 29:
|
|
21291
|
+
_context2.prev = 29;
|
|
21292
|
+
_context2.t10 = _context2["catch"](2);
|
|
21293
|
+
_didIteratorError = true;
|
|
21294
|
+
_iteratorError = _context2.t10;
|
|
21295
|
+
case 33:
|
|
21296
|
+
_context2.prev = 33;
|
|
21297
|
+
_context2.prev = 34;
|
|
21298
|
+
if (!(_iteratorAbruptCompletion && _iterator.return != null)) {
|
|
21299
|
+
_context2.next = 38;
|
|
21300
|
+
break;
|
|
21301
|
+
}
|
|
21302
|
+
_context2.next = 38;
|
|
21303
|
+
return _awaitAsyncGenerator(_iterator.return());
|
|
21304
|
+
case 38:
|
|
21305
|
+
_context2.prev = 38;
|
|
21306
|
+
if (!_didIteratorError) {
|
|
21307
|
+
_context2.next = 41;
|
|
21308
|
+
break;
|
|
21309
|
+
}
|
|
21310
|
+
throw _iteratorError;
|
|
21311
|
+
case 41:
|
|
21312
|
+
return _context2.finish(38);
|
|
21313
|
+
case 42:
|
|
21314
|
+
return _context2.finish(33);
|
|
21315
|
+
case 43:
|
|
21316
|
+
case "end":
|
|
21317
|
+
return _context2.stop();
|
|
21318
|
+
}
|
|
21319
|
+
}, _callee, null, [[2, 29, 33, 43], [34,, 38, 42]]);
|
|
21320
|
+
}));
|
|
21321
|
+
return function readBytes(_x, _x2, _x3) {
|
|
21322
|
+
return _ref.apply(this, arguments);
|
|
21323
|
+
};
|
|
21324
|
+
}();
|
|
21325
|
+
var trackStream = function trackStream(stream, chunkSize, onProgress, onFinish, encode) {
|
|
21326
|
+
var iterator = readBytes(stream, chunkSize, encode);
|
|
21327
|
+
var bytes = 0;
|
|
21328
|
+
return new ReadableStream({
|
|
21329
|
+
type: 'bytes',
|
|
21330
|
+
pull: function pull(controller) {
|
|
21331
|
+
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
21332
|
+
var _yield$iterator$next, done, value, len;
|
|
21333
|
+
return regeneratorRuntime.wrap(function _callee2$(_context3) {
|
|
21334
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
21335
|
+
case 0:
|
|
21336
|
+
_context3.next = 2;
|
|
21337
|
+
return iterator.next();
|
|
21338
|
+
case 2:
|
|
21339
|
+
_yield$iterator$next = _context3.sent;
|
|
21340
|
+
done = _yield$iterator$next.done;
|
|
21341
|
+
value = _yield$iterator$next.value;
|
|
21342
|
+
if (!done) {
|
|
21343
|
+
_context3.next = 9;
|
|
21344
|
+
break;
|
|
21345
|
+
}
|
|
21346
|
+
controller.close();
|
|
21347
|
+
onFinish();
|
|
21348
|
+
return _context3.abrupt("return");
|
|
21349
|
+
case 9:
|
|
21350
|
+
len = value.byteLength;
|
|
21351
|
+
onProgress && onProgress(bytes += len);
|
|
21352
|
+
controller.enqueue(new Uint8Array(value));
|
|
21353
|
+
case 12:
|
|
21354
|
+
case "end":
|
|
21355
|
+
return _context3.stop();
|
|
21356
|
+
}
|
|
21357
|
+
}, _callee2);
|
|
21358
|
+
}))();
|
|
21359
|
+
},
|
|
21360
|
+
cancel: function cancel(reason) {
|
|
21361
|
+
onFinish(reason);
|
|
21362
|
+
return iterator.return();
|
|
21363
|
+
}
|
|
21364
|
+
}, {
|
|
21365
|
+
highWaterMark: 2
|
|
21366
|
+
});
|
|
21367
|
+
};
|
|
21368
|
+
|
|
21369
|
+
/***/ }),
|
|
21370
|
+
|
|
20538
21371
|
/***/ "../node_modules/axios/lib/helpers/validator.js":
|
|
20539
21372
|
/*!******************************************************!*\
|
|
20540
21373
|
!*** ../node_modules/axios/lib/helpers/validator.js ***!
|
|
@@ -20734,7 +21567,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20734
21567
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20735
21568
|
/* harmony export */ hasBrowserEnv: function() { return /* binding */ hasBrowserEnv; },
|
|
20736
21569
|
/* harmony export */ hasStandardBrowserEnv: function() { return /* binding */ hasStandardBrowserEnv; },
|
|
20737
|
-
/* harmony export */ hasStandardBrowserWebWorkerEnv: function() { return /* binding */ hasStandardBrowserWebWorkerEnv; }
|
|
21570
|
+
/* harmony export */ hasStandardBrowserWebWorkerEnv: function() { return /* binding */ hasStandardBrowserWebWorkerEnv; },
|
|
21571
|
+
/* harmony export */ origin: function() { return /* binding */ origin; }
|
|
20738
21572
|
/* harmony export */ });
|
|
20739
21573
|
var hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
20740
21574
|
|
|
@@ -20773,6 +21607,7 @@ var hasStandardBrowserWebWorkerEnv = function () {
|
|
|
20773
21607
|
// eslint-disable-next-line no-undef
|
|
20774
21608
|
self instanceof WorkerGlobalScope && typeof self.importScripts === 'function';
|
|
20775
21609
|
}();
|
|
21610
|
+
var origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
20776
21611
|
|
|
20777
21612
|
|
|
20778
21613
|
/***/ }),
|
|
@@ -20822,54 +21657,63 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
20822
21657
|
/* 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");
|
|
20823
21658
|
/* 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");
|
|
20824
21659
|
/* 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");
|
|
20825
|
-
/* harmony import */ var
|
|
20826
|
-
/* harmony import */ var
|
|
20827
|
-
/* harmony import */ var
|
|
20828
|
-
/* harmony import */ var
|
|
20829
|
-
/* harmony import */ var
|
|
20830
|
-
/* harmony import */ var
|
|
20831
|
-
/* harmony import */ var
|
|
20832
|
-
/* harmony import */ var
|
|
20833
|
-
/* harmony import */ var
|
|
20834
|
-
/* harmony import */ var
|
|
20835
|
-
/* harmony import */ var
|
|
20836
|
-
/* harmony import */ var
|
|
20837
|
-
/* harmony import */ var
|
|
20838
|
-
/* harmony import */ var
|
|
20839
|
-
/* harmony import */ var
|
|
20840
|
-
/* harmony import */ var
|
|
20841
|
-
/* harmony import */ var
|
|
20842
|
-
/* harmony import */ var
|
|
20843
|
-
/* harmony import */ var
|
|
20844
|
-
/* harmony import */ var
|
|
20845
|
-
/* harmony import */ var
|
|
20846
|
-
/* harmony import */ var
|
|
20847
|
-
/* harmony import */ var
|
|
20848
|
-
/* harmony import */ var
|
|
20849
|
-
/* harmony import */ var
|
|
20850
|
-
/* harmony import */ var
|
|
20851
|
-
/* harmony import */ var
|
|
20852
|
-
/* harmony import */ var
|
|
20853
|
-
/* harmony import */ var
|
|
20854
|
-
/* harmony import */ var
|
|
20855
|
-
/* harmony import */ var
|
|
20856
|
-
/* harmony import */ var
|
|
20857
|
-
/* harmony import */ var
|
|
20858
|
-
/* harmony import */ var
|
|
20859
|
-
/* harmony import */ var
|
|
20860
|
-
/* harmony import */ var
|
|
20861
|
-
/* harmony import */ var
|
|
20862
|
-
/* harmony import */ var
|
|
20863
|
-
/* harmony import */ var
|
|
20864
|
-
/* harmony import */ var
|
|
20865
|
-
/* harmony import */ var
|
|
20866
|
-
/* harmony import */ var
|
|
20867
|
-
/* harmony import */ var
|
|
20868
|
-
/* harmony import */ var
|
|
20869
|
-
/* harmony import */ var
|
|
20870
|
-
/* harmony import */ var
|
|
21660
|
+
/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/es.array.from.js */ "../node_modules/core-js/modules/es.array.from.js");
|
|
21661
|
+
/* 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");
|
|
21662
|
+
/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! core-js/modules/es.array.map.js */ "../node_modules/core-js/modules/es.array.map.js");
|
|
21663
|
+
/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! core-js/modules/es.array.slice.js */ "../node_modules/core-js/modules/es.array.slice.js");
|
|
21664
|
+
/* harmony import */ var core_js_modules_es_array_buffer_constructor_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! core-js/modules/es.array-buffer.constructor.js */ "../node_modules/core-js/modules/es.array-buffer.constructor.js");
|
|
21665
|
+
/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ "../node_modules/core-js/modules/es.function.name.js");
|
|
21666
|
+
/* harmony import */ var core_js_modules_es_json_to_string_tag_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! core-js/modules/es.json.to-string-tag.js */ "../node_modules/core-js/modules/es.json.to-string-tag.js");
|
|
21667
|
+
/* harmony import */ var core_js_modules_es_math_to_string_tag_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! core-js/modules/es.math.to-string-tag.js */ "../node_modules/core-js/modules/es.math.to-string-tag.js");
|
|
21668
|
+
/* harmony import */ var core_js_modules_es_number_is_finite_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! core-js/modules/es.number.is-finite.js */ "../node_modules/core-js/modules/es.number.is-finite.js");
|
|
21669
|
+
/* harmony import */ var core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! core-js/modules/es.object.assign.js */ "../node_modules/core-js/modules/es.object.assign.js");
|
|
21670
|
+
/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-descriptors.js */ "../node_modules/core-js/modules/es.object.get-own-property-descriptors.js");
|
|
21671
|
+
/* harmony import */ var core_js_modules_es_object_get_own_property_names_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! core-js/modules/es.object.get-own-property-names.js */ "../node_modules/core-js/modules/es.object.get-own-property-names.js");
|
|
21672
|
+
/* harmony import */ var core_js_modules_es_object_get_prototype_of_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! core-js/modules/es.object.get-prototype-of.js */ "../node_modules/core-js/modules/es.object.get-prototype-of.js");
|
|
21673
|
+
/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! core-js/modules/es.object.keys.js */ "../node_modules/core-js/modules/es.object.keys.js");
|
|
21674
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ "../node_modules/core-js/modules/es.object.to-string.js");
|
|
21675
|
+
/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ "../node_modules/core-js/modules/es.regexp.exec.js");
|
|
21676
|
+
/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! core-js/modules/es.regexp.to-string.js */ "../node_modules/core-js/modules/es.regexp.to-string.js");
|
|
21677
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ "../node_modules/core-js/modules/es.string.iterator.js");
|
|
21678
|
+
/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ "../node_modules/core-js/modules/es.string.replace.js");
|
|
21679
|
+
/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! core-js/modules/es.string.split.js */ "../node_modules/core-js/modules/es.string.split.js");
|
|
21680
|
+
/* harmony import */ var core_js_modules_es_string_trim_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! core-js/modules/es.string.trim.js */ "../node_modules/core-js/modules/es.string.trim.js");
|
|
21681
|
+
/* harmony import */ var core_js_modules_es_typed_array_uint8_array_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! core-js/modules/es.typed-array.uint8-array.js */ "../node_modules/core-js/modules/es.typed-array.uint8-array.js");
|
|
21682
|
+
/* harmony import */ var core_js_modules_es_typed_array_copy_within_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! core-js/modules/es.typed-array.copy-within.js */ "../node_modules/core-js/modules/es.typed-array.copy-within.js");
|
|
21683
|
+
/* harmony import */ var core_js_modules_es_typed_array_every_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! core-js/modules/es.typed-array.every.js */ "../node_modules/core-js/modules/es.typed-array.every.js");
|
|
21684
|
+
/* harmony import */ var core_js_modules_es_typed_array_fill_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! core-js/modules/es.typed-array.fill.js */ "../node_modules/core-js/modules/es.typed-array.fill.js");
|
|
21685
|
+
/* harmony import */ var core_js_modules_es_typed_array_filter_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! core-js/modules/es.typed-array.filter.js */ "../node_modules/core-js/modules/es.typed-array.filter.js");
|
|
21686
|
+
/* harmony import */ var core_js_modules_es_typed_array_find_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! core-js/modules/es.typed-array.find.js */ "../node_modules/core-js/modules/es.typed-array.find.js");
|
|
21687
|
+
/* harmony import */ var core_js_modules_es_typed_array_find_index_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! core-js/modules/es.typed-array.find-index.js */ "../node_modules/core-js/modules/es.typed-array.find-index.js");
|
|
21688
|
+
/* harmony import */ var core_js_modules_es_typed_array_for_each_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! core-js/modules/es.typed-array.for-each.js */ "../node_modules/core-js/modules/es.typed-array.for-each.js");
|
|
21689
|
+
/* harmony import */ var core_js_modules_es_typed_array_includes_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! core-js/modules/es.typed-array.includes.js */ "../node_modules/core-js/modules/es.typed-array.includes.js");
|
|
21690
|
+
/* harmony import */ var core_js_modules_es_typed_array_index_of_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! core-js/modules/es.typed-array.index-of.js */ "../node_modules/core-js/modules/es.typed-array.index-of.js");
|
|
21691
|
+
/* harmony import */ var core_js_modules_es_typed_array_iterator_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! core-js/modules/es.typed-array.iterator.js */ "../node_modules/core-js/modules/es.typed-array.iterator.js");
|
|
21692
|
+
/* harmony import */ var core_js_modules_es_typed_array_join_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! core-js/modules/es.typed-array.join.js */ "../node_modules/core-js/modules/es.typed-array.join.js");
|
|
21693
|
+
/* harmony import */ var core_js_modules_es_typed_array_last_index_of_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! core-js/modules/es.typed-array.last-index-of.js */ "../node_modules/core-js/modules/es.typed-array.last-index-of.js");
|
|
21694
|
+
/* harmony import */ var core_js_modules_es_typed_array_map_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! core-js/modules/es.typed-array.map.js */ "../node_modules/core-js/modules/es.typed-array.map.js");
|
|
21695
|
+
/* harmony import */ var core_js_modules_es_typed_array_reduce_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! core-js/modules/es.typed-array.reduce.js */ "../node_modules/core-js/modules/es.typed-array.reduce.js");
|
|
21696
|
+
/* harmony import */ var core_js_modules_es_typed_array_reduce_right_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! core-js/modules/es.typed-array.reduce-right.js */ "../node_modules/core-js/modules/es.typed-array.reduce-right.js");
|
|
21697
|
+
/* harmony import */ var core_js_modules_es_typed_array_reverse_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! core-js/modules/es.typed-array.reverse.js */ "../node_modules/core-js/modules/es.typed-array.reverse.js");
|
|
21698
|
+
/* harmony import */ var core_js_modules_es_typed_array_set_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! core-js/modules/es.typed-array.set.js */ "../node_modules/core-js/modules/es.typed-array.set.js");
|
|
21699
|
+
/* harmony import */ var core_js_modules_es_typed_array_slice_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! core-js/modules/es.typed-array.slice.js */ "../node_modules/core-js/modules/es.typed-array.slice.js");
|
|
21700
|
+
/* harmony import */ var core_js_modules_es_typed_array_some_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! core-js/modules/es.typed-array.some.js */ "../node_modules/core-js/modules/es.typed-array.some.js");
|
|
21701
|
+
/* harmony import */ var core_js_modules_es_typed_array_sort_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! core-js/modules/es.typed-array.sort.js */ "../node_modules/core-js/modules/es.typed-array.sort.js");
|
|
21702
|
+
/* harmony import */ var core_js_modules_es_typed_array_subarray_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! core-js/modules/es.typed-array.subarray.js */ "../node_modules/core-js/modules/es.typed-array.subarray.js");
|
|
21703
|
+
/* harmony import */ var core_js_modules_es_typed_array_to_locale_string_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-locale-string.js */ "../node_modules/core-js/modules/es.typed-array.to-locale-string.js");
|
|
21704
|
+
/* harmony import */ var core_js_modules_es_typed_array_to_string_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! core-js/modules/es.typed-array.to-string.js */ "../node_modules/core-js/modules/es.typed-array.to-string.js");
|
|
21705
|
+
/* harmony import */ var core_js_modules_esnext_global_this_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! core-js/modules/esnext.global-this.js */ "../node_modules/core-js/modules/esnext.global-this.js");
|
|
21706
|
+
/* 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");
|
|
21707
|
+
/* 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");
|
|
21708
|
+
/* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./helpers/bind.js */ "../node_modules/axios/lib/helpers/bind.js");
|
|
20871
21709
|
|
|
20872
21710
|
|
|
21711
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
21712
|
+
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."); }
|
|
21713
|
+
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); }
|
|
21714
|
+
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; }
|
|
21715
|
+
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; }
|
|
21716
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
20873
21717
|
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); }
|
|
20874
21718
|
|
|
20875
21719
|
|
|
@@ -20918,6 +21762,9 @@ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" =
|
|
|
20918
21762
|
|
|
20919
21763
|
|
|
20920
21764
|
|
|
21765
|
+
|
|
21766
|
+
|
|
21767
|
+
|
|
20921
21768
|
|
|
20922
21769
|
|
|
20923
21770
|
|
|
@@ -21130,6 +21977,12 @@ var isFormData = function isFormData(thing) {
|
|
|
21130
21977
|
* @returns {boolean} True if value is a URLSearchParams object, otherwise false
|
|
21131
21978
|
*/
|
|
21132
21979
|
var isURLSearchParams = kindOfTest('URLSearchParams');
|
|
21980
|
+
var _map = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest),
|
|
21981
|
+
_map2 = _slicedToArray(_map, 4),
|
|
21982
|
+
isReadableStream = _map2[0],
|
|
21983
|
+
isRequest = _map2[1],
|
|
21984
|
+
isResponse = _map2[2],
|
|
21985
|
+
isHeaders = _map2[3];
|
|
21133
21986
|
|
|
21134
21987
|
/**
|
|
21135
21988
|
* Trim excess whitespace off the beginning and end of a string
|
|
@@ -21267,7 +22120,7 @@ var extend = function extend(a, b, thisArg) {
|
|
|
21267
22120
|
allOwnKeys = _ref3.allOwnKeys;
|
|
21268
22121
|
forEach(b, function (val, key) {
|
|
21269
22122
|
if (thisArg && isFunction(val)) {
|
|
21270
|
-
a[key] = (0,
|
|
22123
|
+
a[key] = (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_52__["default"])(val, thisArg);
|
|
21271
22124
|
} else {
|
|
21272
22125
|
a[key] = val;
|
|
21273
22126
|
}
|
|
@@ -21503,8 +22356,7 @@ var toObjectSet = function toObjectSet(arrayOrString, delimiter) {
|
|
|
21503
22356
|
};
|
|
21504
22357
|
var noop = function noop() {};
|
|
21505
22358
|
var toFiniteNumber = function toFiniteNumber(value, defaultValue) {
|
|
21506
|
-
value = +value;
|
|
21507
|
-
return Number.isFinite(value) ? value : defaultValue;
|
|
22359
|
+
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
21508
22360
|
};
|
|
21509
22361
|
var ALPHA = 'abcdefghijklmnopqrstuvwxyz';
|
|
21510
22362
|
var DIGIT = '0123456789';
|
|
@@ -21571,6 +22423,10 @@ var isThenable = function isThenable(thing) {
|
|
|
21571
22423
|
isBoolean: isBoolean,
|
|
21572
22424
|
isObject: isObject,
|
|
21573
22425
|
isPlainObject: isPlainObject,
|
|
22426
|
+
isReadableStream: isReadableStream,
|
|
22427
|
+
isRequest: isRequest,
|
|
22428
|
+
isResponse: isResponse,
|
|
22429
|
+
isHeaders: isHeaders,
|
|
21574
22430
|
isUndefined: isUndefined,
|
|
21575
22431
|
isDate: isDate,
|
|
21576
22432
|
isFile: isFile,
|