@bbn/bbn 1.0.202 → 1.0.203
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/bbn.js +136 -86
- package/dist/bbn.js.map +1 -1
- package/package.json +1 -1
package/dist/bbn.js
CHANGED
|
@@ -14258,7 +14258,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
14258
14258
|
/* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/axios/lib/core/AxiosError.js");
|
|
14259
14259
|
/* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/axios/lib/cancel/CanceledError.js");
|
|
14260
14260
|
/* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "./node_modules/axios/lib/helpers/parseProtocol.js");
|
|
14261
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/
|
|
14261
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js");
|
|
14262
14262
|
/* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/axios/lib/core/AxiosHeaders.js");
|
|
14263
14263
|
/* harmony import */ var _helpers_speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/speedometer.js */ "./node_modules/axios/lib/helpers/speedometer.js");
|
|
14264
14264
|
|
|
@@ -14312,7 +14312,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
14312
14312
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
14313
14313
|
let requestData = config.data;
|
|
14314
14314
|
const requestHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(config.headers).normalize();
|
|
14315
|
-
|
|
14315
|
+
let {responseType, withXSRFToken} = config;
|
|
14316
14316
|
let onCanceled;
|
|
14317
14317
|
function done() {
|
|
14318
14318
|
if (config.cancelToken) {
|
|
@@ -14327,13 +14327,12 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
14327
14327
|
let contentType;
|
|
14328
14328
|
|
|
14329
14329
|
if (_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isFormData(requestData)) {
|
|
14330
|
-
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_3__["default"].
|
|
14330
|
+
if (_platform_index_js__WEBPACK_IMPORTED_MODULE_3__["default"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_3__["default"].hasStandardBrowserWebWorkerEnv) {
|
|
14331
14331
|
requestHeaders.setContentType(false); // Let the browser set it
|
|
14332
|
-
} else if(
|
|
14333
|
-
requestHeaders.setContentType('multipart/form-data'); // mobile/desktop app frameworks
|
|
14334
|
-
} else if(_utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isString(contentType = requestHeaders.getContentType())){
|
|
14332
|
+
} else if ((contentType = requestHeaders.getContentType()) !== false) {
|
|
14335
14333
|
// fix semicolon duplication issue for ReactNative FormData implementation
|
|
14336
|
-
|
|
14334
|
+
const [type, ...tokens] = contentType ? contentType.split(';').map(token => token.trim()).filter(Boolean) : [];
|
|
14335
|
+
requestHeaders.setContentType([type || 'multipart/form-data', ...tokens].join('; '));
|
|
14337
14336
|
}
|
|
14338
14337
|
}
|
|
14339
14338
|
|
|
@@ -14449,13 +14448,16 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
|
14449
14448
|
// Add xsrf header
|
|
14450
14449
|
// This is only done if running in a standard browser environment.
|
|
14451
14450
|
// Specifically not if we're in a web worker, or react-native.
|
|
14452
|
-
if
|
|
14453
|
-
|
|
14454
|
-
const xsrfValue = (config.withCredentials || (0,_helpers_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_9__["default"])(fullPath))
|
|
14455
|
-
&& config.xsrfCookieName && _helpers_cookies_js__WEBPACK_IMPORTED_MODULE_10__["default"].read(config.xsrfCookieName);
|
|
14451
|
+
if(_platform_index_js__WEBPACK_IMPORTED_MODULE_3__["default"].hasStandardBrowserEnv) {
|
|
14452
|
+
withXSRFToken && _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(config));
|
|
14456
14453
|
|
|
14457
|
-
if (
|
|
14458
|
-
|
|
14454
|
+
if (withXSRFToken || (withXSRFToken !== false && (0,_helpers_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_9__["default"])(fullPath))) {
|
|
14455
|
+
// Add xsrf header
|
|
14456
|
+
const xsrfValue = config.xsrfHeaderName && config.xsrfCookieName && _helpers_cookies_js__WEBPACK_IMPORTED_MODULE_10__["default"].read(config.xsrfCookieName);
|
|
14457
|
+
|
|
14458
|
+
if (xsrfValue) {
|
|
14459
|
+
requestHeaders.set(config.xsrfHeaderName, xsrfValue);
|
|
14460
|
+
}
|
|
14459
14461
|
}
|
|
14460
14462
|
}
|
|
14461
14463
|
|
|
@@ -14899,7 +14901,31 @@ class Axios {
|
|
|
14899
14901
|
*
|
|
14900
14902
|
* @returns {Promise} The Promise to be fulfilled
|
|
14901
14903
|
*/
|
|
14902
|
-
request(configOrUrl, config) {
|
|
14904
|
+
async request(configOrUrl, config) {
|
|
14905
|
+
try {
|
|
14906
|
+
return await this._request(configOrUrl, config);
|
|
14907
|
+
} catch (err) {
|
|
14908
|
+
if (err instanceof Error) {
|
|
14909
|
+
let dummy;
|
|
14910
|
+
|
|
14911
|
+
Error.captureStackTrace ? Error.captureStackTrace(dummy = {}) : (dummy = new Error());
|
|
14912
|
+
|
|
14913
|
+
// slice off the Error: ... line
|
|
14914
|
+
const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
|
|
14915
|
+
|
|
14916
|
+
if (!err.stack) {
|
|
14917
|
+
err.stack = stack;
|
|
14918
|
+
// match without the 2 top stack lines
|
|
14919
|
+
} else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
|
|
14920
|
+
err.stack += '\n' + stack
|
|
14921
|
+
}
|
|
14922
|
+
}
|
|
14923
|
+
|
|
14924
|
+
throw err;
|
|
14925
|
+
}
|
|
14926
|
+
}
|
|
14927
|
+
|
|
14928
|
+
_request(configOrUrl, config) {
|
|
14903
14929
|
/*eslint no-param-reassign:0*/
|
|
14904
14930
|
// Allow for axios('example/url'[, config]) a la fetch API
|
|
14905
14931
|
if (typeof configOrUrl === 'string') {
|
|
@@ -15743,7 +15769,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15743
15769
|
|
|
15744
15770
|
|
|
15745
15771
|
|
|
15746
|
-
const headersToObject = (thing) => thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? thing
|
|
15772
|
+
const headersToObject = (thing) => thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_0__["default"] ? { ...thing } : thing;
|
|
15747
15773
|
|
|
15748
15774
|
/**
|
|
15749
15775
|
* Config-specific merge-function which creates a new config-object
|
|
@@ -15815,6 +15841,7 @@ function mergeConfig(config1, config2) {
|
|
|
15815
15841
|
timeout: defaultToConfig2,
|
|
15816
15842
|
timeoutMessage: defaultToConfig2,
|
|
15817
15843
|
withCredentials: defaultToConfig2,
|
|
15844
|
+
withXSRFToken: defaultToConfig2,
|
|
15818
15845
|
adapter: defaultToConfig2,
|
|
15819
15846
|
responseType: defaultToConfig2,
|
|
15820
15847
|
xsrfCookieName: defaultToConfig2,
|
|
@@ -15952,7 +15979,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
15952
15979
|
/* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transitional.js */ "./node_modules/axios/lib/defaults/transitional.js");
|
|
15953
15980
|
/* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toFormData.js */ "./node_modules/axios/lib/helpers/toFormData.js");
|
|
15954
15981
|
/* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "./node_modules/axios/lib/helpers/toURLEncodedForm.js");
|
|
15955
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/
|
|
15982
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js");
|
|
15956
15983
|
/* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "./node_modules/axios/lib/helpers/formDataToJSON.js");
|
|
15957
15984
|
|
|
15958
15985
|
|
|
@@ -16007,9 +16034,6 @@ const defaults = {
|
|
|
16007
16034
|
const isFormData = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFormData(data);
|
|
16008
16035
|
|
|
16009
16036
|
if (isFormData) {
|
|
16010
|
-
if (!hasJSONContentType) {
|
|
16011
|
-
return data;
|
|
16012
|
-
}
|
|
16013
16037
|
return hasJSONContentType ? JSON.stringify((0,_helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_2__["default"])(data)) : data;
|
|
16014
16038
|
}
|
|
16015
16039
|
|
|
@@ -16150,7 +16174,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16150
16174
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16151
16175
|
/* harmony export */ VERSION: () => (/* binding */ VERSION)
|
|
16152
16176
|
/* harmony export */ });
|
|
16153
|
-
const VERSION = "1.
|
|
16177
|
+
const VERSION = "1.6.8";
|
|
16154
16178
|
|
|
16155
16179
|
/***/ }),
|
|
16156
16180
|
|
|
@@ -16439,7 +16463,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16439
16463
|
*/
|
|
16440
16464
|
function combineURLs(baseURL, relativeURL) {
|
|
16441
16465
|
return relativeURL
|
|
16442
|
-
? baseURL.replace(
|
|
16466
|
+
? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '')
|
|
16443
16467
|
: baseURL;
|
|
16444
16468
|
}
|
|
16445
16469
|
|
|
@@ -16458,59 +16482,49 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16458
16482
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
16459
16483
|
/* harmony export */ });
|
|
16460
16484
|
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "./node_modules/axios/lib/utils.js");
|
|
16461
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/
|
|
16485
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js");
|
|
16462
16486
|
|
|
16463
16487
|
|
|
16464
16488
|
|
|
16489
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv ?
|
|
16465
16490
|
|
|
16491
|
+
// Standard browser envs support document.cookie
|
|
16492
|
+
{
|
|
16493
|
+
write(name, value, expires, path, domain, secure) {
|
|
16494
|
+
const cookie = [name + '=' + encodeURIComponent(value)];
|
|
16466
16495
|
|
|
16467
|
-
|
|
16496
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());
|
|
16468
16497
|
|
|
16469
|
-
|
|
16470
|
-
(function standardBrowserEnv() {
|
|
16471
|
-
return {
|
|
16472
|
-
write: function write(name, value, expires, path, domain, secure) {
|
|
16473
|
-
const cookie = [];
|
|
16474
|
-
cookie.push(name + '=' + encodeURIComponent(value));
|
|
16498
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(path) && cookie.push('path=' + path);
|
|
16475
16499
|
|
|
16476
|
-
|
|
16477
|
-
cookie.push('expires=' + new Date(expires).toGMTString());
|
|
16478
|
-
}
|
|
16500
|
+
_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(domain) && cookie.push('domain=' + domain);
|
|
16479
16501
|
|
|
16480
|
-
|
|
16481
|
-
cookie.push('path=' + path);
|
|
16482
|
-
}
|
|
16502
|
+
secure === true && cookie.push('secure');
|
|
16483
16503
|
|
|
16484
|
-
|
|
16485
|
-
|
|
16486
|
-
}
|
|
16504
|
+
document.cookie = cookie.join('; ');
|
|
16505
|
+
},
|
|
16487
16506
|
|
|
16488
|
-
|
|
16489
|
-
|
|
16490
|
-
|
|
16507
|
+
read(name) {
|
|
16508
|
+
const match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
|
|
16509
|
+
return (match ? decodeURIComponent(match[3]) : null);
|
|
16510
|
+
},
|
|
16491
16511
|
|
|
16492
|
-
|
|
16493
|
-
|
|
16512
|
+
remove(name) {
|
|
16513
|
+
this.write(name, '', Date.now() - 86400000);
|
|
16514
|
+
}
|
|
16515
|
+
}
|
|
16494
16516
|
|
|
16495
|
-
|
|
16496
|
-
const match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
|
|
16497
|
-
return (match ? decodeURIComponent(match[3]) : null);
|
|
16498
|
-
},
|
|
16517
|
+
:
|
|
16499
16518
|
|
|
16500
|
-
|
|
16501
|
-
|
|
16502
|
-
|
|
16503
|
-
|
|
16504
|
-
|
|
16519
|
+
// Non-standard browser env (web workers, react-native) lack needed support.
|
|
16520
|
+
{
|
|
16521
|
+
write() {},
|
|
16522
|
+
read() {
|
|
16523
|
+
return null;
|
|
16524
|
+
},
|
|
16525
|
+
remove() {}
|
|
16526
|
+
});
|
|
16505
16527
|
|
|
16506
|
-
// Non standard browser env (web workers, react-native) lack needed support.
|
|
16507
|
-
(function nonStandardBrowserEnv() {
|
|
16508
|
-
return {
|
|
16509
|
-
write: function write() {},
|
|
16510
|
-
read: function read() { return null; },
|
|
16511
|
-
remove: function remove() {}
|
|
16512
|
-
};
|
|
16513
|
-
})());
|
|
16514
16528
|
|
|
16515
16529
|
|
|
16516
16530
|
/***/ }),
|
|
@@ -16578,6 +16592,9 @@ function arrayToObject(arr) {
|
|
|
16578
16592
|
function formDataToJSON(formData) {
|
|
16579
16593
|
function buildPath(path, value, target, index) {
|
|
16580
16594
|
let name = path[index++];
|
|
16595
|
+
|
|
16596
|
+
if (name === '__proto__') return true;
|
|
16597
|
+
|
|
16581
16598
|
const isNumericKey = Number.isFinite(+name);
|
|
16582
16599
|
const isLast = index >= path.length;
|
|
16583
16600
|
name = !name && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(target) ? target.length : name;
|
|
@@ -16695,13 +16712,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16695
16712
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
16696
16713
|
/* harmony export */ });
|
|
16697
16714
|
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./../utils.js */ "./node_modules/axios/lib/utils.js");
|
|
16698
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/
|
|
16715
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js");
|
|
16699
16716
|
|
|
16700
16717
|
|
|
16701
16718
|
|
|
16702
16719
|
|
|
16703
16720
|
|
|
16704
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].
|
|
16721
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv ?
|
|
16705
16722
|
|
|
16706
16723
|
// Standard browser envs have full support of the APIs needed to test
|
|
16707
16724
|
// whether the request URL is of the same origin as current location.
|
|
@@ -16711,7 +16728,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
16711
16728
|
let originURL;
|
|
16712
16729
|
|
|
16713
16730
|
/**
|
|
16714
|
-
* Parse a URL to discover
|
|
16731
|
+
* Parse a URL to discover its components
|
|
16715
16732
|
*
|
|
16716
16733
|
* @param {String} url The URL to be parsed
|
|
16717
16734
|
* @returns {Object}
|
|
@@ -17239,7 +17256,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17239
17256
|
/* harmony export */ });
|
|
17240
17257
|
/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/axios/lib/utils.js");
|
|
17241
17258
|
/* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "./node_modules/axios/lib/helpers/toFormData.js");
|
|
17242
|
-
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/
|
|
17259
|
+
/* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/axios/lib/platform/index.js");
|
|
17243
17260
|
|
|
17244
17261
|
|
|
17245
17262
|
|
|
@@ -17444,6 +17461,34 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17444
17461
|
|
|
17445
17462
|
|
|
17446
17463
|
|
|
17464
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
17465
|
+
isBrowser: true,
|
|
17466
|
+
classes: {
|
|
17467
|
+
URLSearchParams: _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__["default"],
|
|
17468
|
+
FormData: _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
17469
|
+
Blob: _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__["default"]
|
|
17470
|
+
},
|
|
17471
|
+
protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
|
|
17472
|
+
});
|
|
17473
|
+
|
|
17474
|
+
|
|
17475
|
+
/***/ }),
|
|
17476
|
+
|
|
17477
|
+
/***/ "./node_modules/axios/lib/platform/common/utils.js":
|
|
17478
|
+
/*!*********************************************************!*\
|
|
17479
|
+
!*** ./node_modules/axios/lib/platform/common/utils.js ***!
|
|
17480
|
+
\*********************************************************/
|
|
17481
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
17482
|
+
|
|
17483
|
+
"use strict";
|
|
17484
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17485
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17486
|
+
/* harmony export */ hasBrowserEnv: () => (/* binding */ hasBrowserEnv),
|
|
17487
|
+
/* harmony export */ hasStandardBrowserEnv: () => (/* binding */ hasStandardBrowserEnv),
|
|
17488
|
+
/* harmony export */ hasStandardBrowserWebWorkerEnv: () => (/* binding */ hasStandardBrowserWebWorkerEnv)
|
|
17489
|
+
/* harmony export */ });
|
|
17490
|
+
const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
17491
|
+
|
|
17447
17492
|
/**
|
|
17448
17493
|
* Determine if we're running in a standard browser environment
|
|
17449
17494
|
*
|
|
@@ -17461,18 +17506,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
17461
17506
|
*
|
|
17462
17507
|
* @returns {boolean}
|
|
17463
17508
|
*/
|
|
17464
|
-
const
|
|
17465
|
-
|
|
17466
|
-
|
|
17467
|
-
|
|
17468
|
-
product === 'NativeScript' ||
|
|
17469
|
-
product === 'NS')
|
|
17470
|
-
) {
|
|
17471
|
-
return false;
|
|
17472
|
-
}
|
|
17473
|
-
|
|
17474
|
-
return typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
17475
|
-
})();
|
|
17509
|
+
const hasStandardBrowserEnv = (
|
|
17510
|
+
(product) => {
|
|
17511
|
+
return hasBrowserEnv && ['ReactNative', 'NativeScript', 'NS'].indexOf(product) < 0
|
|
17512
|
+
})(typeof navigator !== 'undefined' && navigator.product);
|
|
17476
17513
|
|
|
17477
17514
|
/**
|
|
17478
17515
|
* Determine if we're running in a standard browser webWorker environment
|
|
@@ -17483,7 +17520,7 @@ const isStandardBrowserEnv = (() => {
|
|
|
17483
17520
|
* `typeof window !== 'undefined' && typeof document !== 'undefined'`.
|
|
17484
17521
|
* This leads to a problem when axios post `FormData` in webWorker
|
|
17485
17522
|
*/
|
|
17486
|
-
|
|
17523
|
+
const hasStandardBrowserWebWorkerEnv = (() => {
|
|
17487
17524
|
return (
|
|
17488
17525
|
typeof WorkerGlobalScope !== 'undefined' &&
|
|
17489
17526
|
// eslint-disable-next-line no-undef
|
|
@@ -17493,16 +17530,29 @@ const isStandardBrowserEnv = (() => {
|
|
|
17493
17530
|
})();
|
|
17494
17531
|
|
|
17495
17532
|
|
|
17533
|
+
|
|
17534
|
+
|
|
17535
|
+
/***/ }),
|
|
17536
|
+
|
|
17537
|
+
/***/ "./node_modules/axios/lib/platform/index.js":
|
|
17538
|
+
/*!**************************************************!*\
|
|
17539
|
+
!*** ./node_modules/axios/lib/platform/index.js ***!
|
|
17540
|
+
\**************************************************/
|
|
17541
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
17542
|
+
|
|
17543
|
+
"use strict";
|
|
17544
|
+
__webpack_require__.r(__webpack_exports__);
|
|
17545
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
17546
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
17547
|
+
/* harmony export */ });
|
|
17548
|
+
/* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node/index.js */ "./node_modules/axios/lib/platform/browser/index.js");
|
|
17549
|
+
/* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./common/utils.js */ "./node_modules/axios/lib/platform/common/utils.js");
|
|
17550
|
+
|
|
17551
|
+
|
|
17552
|
+
|
|
17496
17553
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
|
|
17497
|
-
|
|
17498
|
-
|
|
17499
|
-
URLSearchParams: _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__["default"],
|
|
17500
|
-
FormData: _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
17501
|
-
Blob: _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__["default"]
|
|
17502
|
-
},
|
|
17503
|
-
isStandardBrowserEnv,
|
|
17504
|
-
isStandardBrowserWebWorkerEnv,
|
|
17505
|
-
protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
|
|
17554
|
+
..._common_utils_js__WEBPACK_IMPORTED_MODULE_0__,
|
|
17555
|
+
..._node_index_js__WEBPACK_IMPORTED_MODULE_1__["default"]
|
|
17506
17556
|
});
|
|
17507
17557
|
|
|
17508
17558
|
|