@ohif/app 3.13.0-beta.6 → 3.13.0-beta.61

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.
Files changed (72) hide show
  1. package/dist/{1459.bundle.075e535250e3d4779923.js → 1459.bundle.4ad39e2c21e35cb2be1c.js} +5 -6
  2. package/dist/{1608.bundle.0687c661f1c9edfb3b8a.js → 1608.bundle.26306ea38618db59eff7.js} +12 -12
  3. package/dist/{1927.bundle.3050588e95f43cf57cdd.js → 1927.bundle.be67b3aafe238ca9f191.js} +27 -38
  4. package/dist/{1933.bundle.317997210b6a51079753.js → 1933.bundle.82822511235016082da4.js} +32 -27
  5. package/dist/{2018.bundle.31d14d6f9fb764b51bda.js → 2018.bundle.6f06faf8d0a5c91f5e7c.js} +18 -19
  6. package/dist/{6409.bundle.b36048896cb11c8571fb.js → 2075.bundle.23265b8e7597c398db4f.js} +327 -256
  7. package/dist/{2108.bundle.e84aa8d858d8c4f2413e.js → 2108.bundle.aea8d3b39486dd5ab39e.js} +569 -558
  8. package/dist/{213.bundle.363f9a3eb6c0d33e3921.js → 213.bundle.d8a8ffeec432cd8363c0.js} +3 -5
  9. package/dist/{2424.bundle.aa7f4df6cba71b817c87.js → 2424.bundle.c602ad458e7902f7f555.js} +3 -5
  10. package/dist/{2516.bundle.1ea0988d309a757bb6da.js → 2516.bundle.f62228e9a800de8d4b31.js} +6 -6
  11. package/dist/{2701.bundle.12bd01a80a9f8ea4cd94.js → 2701.bundle.6873805ddfdccc7a8b1e.js} +10 -10
  12. package/dist/{9195.bundle.adf6a548b6f7ae279c09.js → 2851.bundle.123d7f6fa1186ac1308a.js} +384 -169
  13. package/dist/{1730.bundle.1d137db2556d538263fb.js → 3138.bundle.bc81953147e0c5f3b23f.js} +16 -310
  14. package/dist/{3461.bundle.7024d5e66d12b4069031.js → 3461.bundle.f65494e79c37a14bc206.js} +131 -107
  15. package/dist/{147.bundle.37d627289453cb6c3937.js → 3754.bundle.fd4b67c2a29c4bc4a840.js} +486 -49
  16. package/dist/{4202.bundle.5a0f8e4004c5d8a68548.js → 4202.bundle.4fcd0de412907efd5b53.js} +6 -6
  17. package/dist/{4019.bundle.83a604779f7da0101ced.js → 4287.bundle.b7840e7b94cbbc102236.js} +348 -237
  18. package/dist/{5462.bundle.21beddaca145b7465c72.js → 4406.bundle.573d234b4641d23cf8db.js} +1083 -1308
  19. package/dist/{1403.bundle.40baf30d503370ce52c9.js → 4507.bundle.75bf28fe32a927130dec.js} +10 -305
  20. package/dist/{6347.bundle.784c48912700f281de1d.js → 4579.bundle.0a6b2f49a7e136a79e37.js} +561 -649
  21. package/dist/{4819.bundle.0c37918802ef7805586f.js → 4819.bundle.23965159795eaeb1ca1b.js} +39 -39
  22. package/dist/{4775.bundle.5d6203a2991902544266.js → 5015.bundle.54d7fda0f8e819aaa578.js} +29 -333
  23. package/dist/{5028.bundle.2cd4d2253b47845e6634.js → 5028.bundle.b806370179a0f878527b.js} +11 -13
  24. package/dist/{5261.bundle.6e1a017f8f1027557f5b.js → 5261.bundle.2655560097e9250eac44.js} +412 -345
  25. package/dist/{5457.bundle.15d4adb3ca43c45b044d.js → 5457.bundle.d1e9be8eab20c1620624.js} +16 -23
  26. package/dist/{5485.bundle.b9764a7846d57ee5710d.js → 5485.bundle.7de6ed76c9bf762fd395.js} +20 -32
  27. package/dist/{5491.bundle.2e01dd7ad29e4cc01bc1.js → 5491.bundle.4866d2ecb20dd089e071.js} +54 -51
  28. package/dist/{5802.bundle.3bf5e6b3ab330a594a47.js → 5802.bundle.26f84db0ff8851532c36.js} +79 -20
  29. package/dist/5802.css +1 -1
  30. package/dist/{5830.bundle.b073c265c4fcea1afff3.js → 5830.bundle.791019deddd536980a11.js} +3 -3
  31. package/dist/{5858.bundle.ff6b340cf7457db76a1a.js → 5858.bundle.466e58128de344ab53f3.js} +90 -86
  32. package/dist/{6027.bundle.55f4bf16015381255f33.js → 6027.bundle.11c8ba4581dca8a82b91.js} +3 -5
  33. package/dist/{6354.bundle.c387737dc09c9cab4ff2.js → 6354.bundle.929febcf6d326e582e00.js} +151 -140
  34. package/dist/{6376.bundle.9cb74d7bc08476e2f1a7.js → 6376.bundle.738c873196491232acb6.js} +6 -6
  35. package/dist/{2842.bundle.860b9f10fcdd9656947a.js → 6386.bundle.5d82d1f41d1c37a0358d.js} +904 -2298
  36. package/dist/6939.bundle.41fbdef87597b5172ec6.js +3 -3
  37. package/dist/{7159.bundle.a5991a5d4f0dd8f1c95f.js → 7159.bundle.fb9df255868960f69765.js} +7 -5
  38. package/dist/{3081.bundle.f0df1c7d93ef4be29102.js → 7166.bundle.6334b7a549c8d1f58bfd.js} +825 -410
  39. package/dist/{7190.bundle.e8f0193e0e06472f795c.js → 7190.bundle.3738008038e70525764f.js} +1129 -821
  40. package/dist/{732.bundle.6978ac30a1e36abf06db.js → 732.bundle.ea6f9d8504e37e01a208.js} +5 -13
  41. package/dist/{7431.bundle.b01791d10e6cf9f503b0.js → 7431.bundle.5e14641f2c71e852abe7.js} +28 -28
  42. package/dist/{4410.bundle.c5224cd7d6238a7d4660.js → 7537.bundle.1726a7f7a4c378296085.js} +5216 -2238
  43. package/dist/{7639.bundle.9057c381d5f455997d60.js → 7639.bundle.d7571b9b1bdd3c712fa7.js} +3 -5
  44. package/dist/7758.bundle.c8d106364298e7d288f0.js +3 -3
  45. package/dist/{8094.bundle.5c44190a325ac23e3e5c.js → 8094.bundle.148a66619607e37cbf19.js} +3 -4
  46. package/dist/{8305.bundle.2a215d860aa3bb1984f6.js → 8305.bundle.7ff9f067007c6fc02eff.js} +71 -66
  47. package/dist/{6163.bundle.18484c031c76e3835a71.js → 8499.bundle.b0d3892bff3f3163f747.js} +7 -302
  48. package/dist/8499.css +2 -0
  49. package/dist/{85.bundle.173a5ab4b47890e2f013.js → 85.bundle.203f56fd4f235891345a.js} +3 -5
  50. package/dist/{8558.bundle.52d7001a86845c8a91b8.js → 8558.bundle.ae26725ef258ef186524.js} +15 -309
  51. package/dist/{8583.bundle.e899badfa6f91f22b2f3.js → 8583.bundle.f56d7ead5b46d8d6f294.js} +24 -27
  52. package/dist/{997.bundle.822b33e561263084e18c.js → 9039.bundle.7afa93b103c3b26d4855.js} +3965 -2984
  53. package/dist/{7412.bundle.fab1742191b7fe937330.js → 9205.bundle.315c3b56464a7590235a.js} +6071 -3305
  54. package/dist/{3584.bundle.8cc0750425513433e9cc.js → 9567.bundle.be350438bed4e656f278.js} +3422 -2880
  55. package/dist/{9845.bundle.255e7c7f7a88193b4e47.js → 9845.bundle.8c450e8d65a78a5afcd3.js} +10 -10
  56. package/dist/{9862.bundle.3a8958a82c572015d25d.js → 9862.bundle.a5f7925840868fa4ecdb.js} +8 -6
  57. package/dist/{9927.bundle.0e4c7a7682b7acad3060.js → 9927.bundle.ceb2c44737524314f168.js} +4 -6
  58. package/dist/app-config.js +12 -0
  59. package/dist/{app.bundle.62d84a3df6ec149a44a6.js → app.bundle.97f04c5d27e5017d698b.js} +100613 -97645
  60. package/dist/app.bundle.css +3 -3
  61. package/dist/{polySeg.bundle.a5aa9130b4191253c410.js → compute.bundle.a41ec0ba4f935200ab93.js} +8 -20
  62. package/dist/{histogram-worker.bundle.d4e40a8018d2698b072e.js → histogram-worker.bundle.a2a50c4674d99c619ca7.js} +11 -23
  63. package/dist/index.html +1 -1
  64. package/dist/{interpolation.bundle.c70cb95d164dc494e6dc.js → interpolation.bundle.2559b710030605fc2bc6.js} +14 -26
  65. package/dist/{compute.bundle.64280c7af19ff567465f.js → polySeg.bundle.be57af5b834dd833a418.js} +10 -22
  66. package/dist/sw.js +1 -1
  67. package/package.json +23 -22
  68. package/dist/3343.bundle.d7578ce8f75d158c0bab.js +0 -297
  69. /package/dist/{1730.css → 3138.css} +0 -0
  70. /package/dist/{147.css → 3754.css} +0 -0
  71. /package/dist/{3343.css → 4972.css} +0 -0
  72. /package/dist/{6163.css → 7829.css} +0 -0
@@ -1,7 +1,7 @@
1
1
  (globalThis["webpackChunk"] = globalThis["webpackChunk"] || []).push([[7190],{
2
2
 
3
- /***/ 54028:
4
- /***/ ((__unused_webpack_module, exports) => {
3
+ /***/ 54028
4
+ (__unused_webpack_module, exports) {
5
5
 
6
6
  "use strict";
7
7
 
@@ -156,10 +156,10 @@ function fromByteArray (uint8) {
156
156
  }
157
157
 
158
158
 
159
- /***/ }),
159
+ /***/ },
160
160
 
161
- /***/ 81429:
162
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
161
+ /***/ 81429
162
+ (__unused_webpack_module, exports, __webpack_require__) {
163
163
 
164
164
  "use strict";
165
165
  var __webpack_unused_export__;
@@ -1982,10 +1982,10 @@ var hexSliceLookupTable = (function () {
1982
1982
  })()
1983
1983
 
1984
1984
 
1985
- /***/ }),
1985
+ /***/ },
1986
1986
 
1987
- /***/ 55801:
1988
- /***/ ((__unused_webpack_module, exports) => {
1987
+ /***/ 55801
1988
+ (__unused_webpack_module, exports) {
1989
1989
 
1990
1990
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
1991
1991
  exports.read = function (buffer, offset, isLE, mLen, nBytes) {
@@ -2074,10 +2074,10 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
2074
2074
  }
2075
2075
 
2076
2076
 
2077
- /***/ }),
2077
+ /***/ },
2078
2078
 
2079
- /***/ 17739:
2080
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
2079
+ /***/ 17739
2080
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2081
2081
 
2082
2082
  "use strict";
2083
2083
 
@@ -2154,7 +2154,7 @@ const { isArray } = Array;
2154
2154
  *
2155
2155
  * @returns {boolean} True if the value is undefined, otherwise false
2156
2156
  */
2157
- const isUndefined = typeOfTest("undefined");
2157
+ const isUndefined = typeOfTest('undefined');
2158
2158
 
2159
2159
  /**
2160
2160
  * Determine if a value is a Buffer
@@ -2181,7 +2181,7 @@ function isBuffer(val) {
2181
2181
  *
2182
2182
  * @returns {boolean} True if value is an ArrayBuffer, otherwise false
2183
2183
  */
2184
- const isArrayBuffer = kindOfTest("ArrayBuffer");
2184
+ const isArrayBuffer = kindOfTest('ArrayBuffer');
2185
2185
 
2186
2186
  /**
2187
2187
  * Determine if a value is a view on an ArrayBuffer
@@ -2192,7 +2192,7 @@ const isArrayBuffer = kindOfTest("ArrayBuffer");
2192
2192
  */
2193
2193
  function isArrayBufferView(val) {
2194
2194
  let result;
2195
- if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
2195
+ if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
2196
2196
  result = ArrayBuffer.isView(val);
2197
2197
  } else {
2198
2198
  result = val && val.buffer && isArrayBuffer(val.buffer);
@@ -2207,7 +2207,7 @@ function isArrayBufferView(val) {
2207
2207
  *
2208
2208
  * @returns {boolean} True if value is a String, otherwise false
2209
2209
  */
2210
- const isString = typeOfTest("string");
2210
+ const isString = typeOfTest('string');
2211
2211
 
2212
2212
  /**
2213
2213
  * Determine if a value is a Function
@@ -2215,7 +2215,7 @@ const isString = typeOfTest("string");
2215
2215
  * @param {*} val The value to test
2216
2216
  * @returns {boolean} True if value is a Function, otherwise false
2217
2217
  */
2218
- const isFunction = typeOfTest("function");
2218
+ const isFunction = typeOfTest('function');
2219
2219
 
2220
2220
  /**
2221
2221
  * Determine if a value is a Number
@@ -2224,7 +2224,7 @@ const isFunction = typeOfTest("function");
2224
2224
  *
2225
2225
  * @returns {boolean} True if value is a Number, otherwise false
2226
2226
  */
2227
- const isNumber = typeOfTest("number");
2227
+ const isNumber = typeOfTest('number');
2228
2228
 
2229
2229
  /**
2230
2230
  * Determine if a value is an Object
@@ -2233,7 +2233,7 @@ const isNumber = typeOfTest("number");
2233
2233
  *
2234
2234
  * @returns {boolean} True if value is an Object, otherwise false
2235
2235
  */
2236
- const isObject = (thing) => thing !== null && typeof thing === "object";
2236
+ const isObject = (thing) => thing !== null && typeof thing === 'object';
2237
2237
 
2238
2238
  /**
2239
2239
  * Determine if a value is a Boolean
@@ -2251,7 +2251,7 @@ const isBoolean = (thing) => thing === true || thing === false;
2251
2251
  * @returns {boolean} True if value is a plain Object, otherwise false
2252
2252
  */
2253
2253
  const isPlainObject = (val) => {
2254
- if (kindOf(val) !== "object") {
2254
+ if (kindOf(val) !== 'object') {
2255
2255
  return false;
2256
2256
  }
2257
2257
 
@@ -2279,10 +2279,7 @@ const isEmptyObject = (val) => {
2279
2279
  }
2280
2280
 
2281
2281
  try {
2282
- return (
2283
- Object.keys(val).length === 0 &&
2284
- Object.getPrototypeOf(val) === Object.prototype
2285
- );
2282
+ return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
2286
2283
  } catch (e) {
2287
2284
  // Fallback for any other objects that might cause RangeError with Object.keys()
2288
2285
  return false;
@@ -2296,7 +2293,7 @@ const isEmptyObject = (val) => {
2296
2293
  *
2297
2294
  * @returns {boolean} True if value is a Date, otherwise false
2298
2295
  */
2299
- const isDate = kindOfTest("Date");
2296
+ const isDate = kindOfTest('Date');
2300
2297
 
2301
2298
  /**
2302
2299
  * Determine if a value is a File
@@ -2305,7 +2302,32 @@ const isDate = kindOfTest("Date");
2305
2302
  *
2306
2303
  * @returns {boolean} True if value is a File, otherwise false
2307
2304
  */
2308
- const isFile = kindOfTest("File");
2305
+ const isFile = kindOfTest('File');
2306
+
2307
+ /**
2308
+ * Determine if a value is a React Native Blob
2309
+ * React Native "blob": an object with a `uri` attribute. Optionally, it can
2310
+ * also have a `name` and `type` attribute to specify filename and content type
2311
+ *
2312
+ * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
2313
+ *
2314
+ * @param {*} value The value to test
2315
+ *
2316
+ * @returns {boolean} True if value is a React Native Blob, otherwise false
2317
+ */
2318
+ const isReactNativeBlob = (value) => {
2319
+ return !!(value && typeof value.uri !== 'undefined');
2320
+ }
2321
+
2322
+ /**
2323
+ * Determine if environment is React Native
2324
+ * ReactNative `FormData` has a non-standard `getParts()` method
2325
+ *
2326
+ * @param {*} formData The formData to test
2327
+ *
2328
+ * @returns {boolean} True if environment is React Native, otherwise false
2329
+ */
2330
+ const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';
2309
2331
 
2310
2332
  /**
2311
2333
  * Determine if a value is a Blob
@@ -2314,7 +2336,7 @@ const isFile = kindOfTest("File");
2314
2336
  *
2315
2337
  * @returns {boolean} True if value is a Blob, otherwise false
2316
2338
  */
2317
- const isBlob = kindOfTest("Blob");
2339
+ const isBlob = kindOfTest('Blob');
2318
2340
 
2319
2341
  /**
2320
2342
  * Determine if a value is a FileList
@@ -2323,7 +2345,7 @@ const isBlob = kindOfTest("Blob");
2323
2345
  *
2324
2346
  * @returns {boolean} True if value is a File, otherwise false
2325
2347
  */
2326
- const isFileList = kindOfTest("FileList");
2348
+ const isFileList = kindOfTest('FileList');
2327
2349
 
2328
2350
  /**
2329
2351
  * Determine if a value is a Stream
@@ -2341,17 +2363,27 @@ const isStream = (val) => isObject(val) && isFunction(val.pipe);
2341
2363
  *
2342
2364
  * @returns {boolean} True if value is an FormData, otherwise false
2343
2365
  */
2366
+ function getGlobal() {
2367
+ if (typeof globalThis !== 'undefined') return globalThis;
2368
+ if (typeof self !== 'undefined') return self;
2369
+ if (typeof window !== 'undefined') return window;
2370
+ if (typeof globalThis !== 'undefined') return globalThis;
2371
+ return {};
2372
+ }
2373
+
2374
+ const G = getGlobal();
2375
+ const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
2376
+
2344
2377
  const isFormData = (thing) => {
2345
2378
  let kind;
2346
- return (
2347
- thing &&
2348
- ((typeof FormData === "function" && thing instanceof FormData) ||
2349
- (isFunction(thing.append) &&
2350
- ((kind = kindOf(thing)) === "formdata" ||
2351
- // detect form-data instance
2352
- (kind === "object" &&
2353
- isFunction(thing.toString) &&
2354
- thing.toString() === "[object FormData]"))))
2379
+ return thing && (
2380
+ (FormDataCtor && thing instanceof FormDataCtor) || (
2381
+ isFunction(thing.append) && (
2382
+ (kind = kindOf(thing)) === 'formdata' ||
2383
+ // detect form-data instance
2384
+ (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
2385
+ )
2386
+ )
2355
2387
  );
2356
2388
  };
2357
2389
 
@@ -2362,13 +2394,13 @@ const isFormData = (thing) => {
2362
2394
  *
2363
2395
  * @returns {boolean} True if value is a URLSearchParams object, otherwise false
2364
2396
  */
2365
- const isURLSearchParams = kindOfTest("URLSearchParams");
2397
+ const isURLSearchParams = kindOfTest('URLSearchParams');
2366
2398
 
2367
2399
  const [isReadableStream, isRequest, isResponse, isHeaders] = [
2368
- "ReadableStream",
2369
- "Request",
2370
- "Response",
2371
- "Headers",
2400
+ 'ReadableStream',
2401
+ 'Request',
2402
+ 'Response',
2403
+ 'Headers',
2372
2404
  ].map(kindOfTest);
2373
2405
 
2374
2406
  /**
@@ -2378,9 +2410,9 @@ const [isReadableStream, isRequest, isResponse, isHeaders] = [
2378
2410
  *
2379
2411
  * @returns {String} The String freed of excess whitespace
2380
2412
  */
2381
- const trim = (str) =>
2382
- str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
2383
-
2413
+ const trim = (str) => {
2414
+ return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
2415
+ };
2384
2416
  /**
2385
2417
  * Iterate over an Array or an Object invoking a function for each item.
2386
2418
  *
@@ -2399,7 +2431,7 @@ const trim = (str) =>
2399
2431
  */
2400
2432
  function forEach(obj, fn, { allOwnKeys = false } = {}) {
2401
2433
  // Don't bother if no value provided
2402
- if (obj === null || typeof obj === "undefined") {
2434
+ if (obj === null || typeof obj === 'undefined') {
2403
2435
  return;
2404
2436
  }
2405
2437
 
@@ -2407,7 +2439,7 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
2407
2439
  let l;
2408
2440
 
2409
2441
  // Force an array if not already something iterable
2410
- if (typeof obj !== "object") {
2442
+ if (typeof obj !== 'object') {
2411
2443
  /*eslint no-param-reassign:0*/
2412
2444
  obj = [obj];
2413
2445
  }
@@ -2424,9 +2456,7 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
2424
2456
  }
2425
2457
 
2426
2458
  // Iterate over object keys
2427
- const keys = allOwnKeys
2428
- ? Object.getOwnPropertyNames(obj)
2429
- : Object.keys(obj);
2459
+ const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
2430
2460
  const len = keys.length;
2431
2461
  let key;
2432
2462
 
@@ -2437,6 +2467,14 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
2437
2467
  }
2438
2468
  }
2439
2469
 
2470
+ /**
2471
+ * Finds a key in an object, case-insensitive, returning the actual key name.
2472
+ * Returns null if the object is a Buffer or if no match is found.
2473
+ *
2474
+ * @param {Object} obj - The object to search.
2475
+ * @param {string} key - The key to find (case-insensitive).
2476
+ * @returns {?string} The actual key name if found, otherwise null.
2477
+ */
2440
2478
  function findKey(obj, key) {
2441
2479
  if (isBuffer(obj)) {
2442
2480
  return null;
@@ -2457,16 +2495,11 @@ function findKey(obj, key) {
2457
2495
 
2458
2496
  const _global = (() => {
2459
2497
  /*eslint no-undef:0*/
2460
- if (typeof globalThis !== "undefined") return globalThis;
2461
- return typeof self !== "undefined"
2462
- ? self
2463
- : typeof window !== "undefined"
2464
- ? window
2465
- : global;
2498
+ if (typeof globalThis !== 'undefined') return globalThis;
2499
+ return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : globalThis;
2466
2500
  })();
2467
2501
 
2468
- const isContextDefined = (context) =>
2469
- !isUndefined(context) && context !== _global;
2502
+ const isContextDefined = (context) => !isUndefined(context) && context !== _global;
2470
2503
 
2471
2504
  /**
2472
2505
  * Accepts varargs expecting each argument to be an object, then
@@ -2491,7 +2524,7 @@ function merge(/* obj1, obj2, obj3, ... */) {
2491
2524
  const result = {};
2492
2525
  const assignValue = (val, key) => {
2493
2526
  // Skip dangerous property names to prevent prototype pollution
2494
- if (key === "__proto__" || key === "constructor" || key === "prototype") {
2527
+ if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
2495
2528
  return;
2496
2529
  }
2497
2530
 
@@ -2544,7 +2577,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
2544
2577
  });
2545
2578
  }
2546
2579
  },
2547
- { allOwnKeys },
2580
+ { allOwnKeys }
2548
2581
  );
2549
2582
  return a;
2550
2583
  };
@@ -2573,17 +2606,14 @@ const stripBOM = (content) => {
2573
2606
  * @returns {void}
2574
2607
  */
2575
2608
  const inherits = (constructor, superConstructor, props, descriptors) => {
2576
- constructor.prototype = Object.create(
2577
- superConstructor.prototype,
2578
- descriptors,
2579
- );
2580
- Object.defineProperty(constructor.prototype, "constructor", {
2609
+ constructor.prototype = Object.create(superConstructor.prototype, descriptors);
2610
+ Object.defineProperty(constructor.prototype, 'constructor', {
2581
2611
  value: constructor,
2582
2612
  writable: true,
2583
2613
  enumerable: false,
2584
2614
  configurable: true,
2585
2615
  });
2586
- Object.defineProperty(constructor, "super", {
2616
+ Object.defineProperty(constructor, 'super', {
2587
2617
  value: superConstructor.prototype,
2588
2618
  });
2589
2619
  props && Object.assign(constructor.prototype, props);
@@ -2613,20 +2643,13 @@ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
2613
2643
  i = props.length;
2614
2644
  while (i-- > 0) {
2615
2645
  prop = props[i];
2616
- if (
2617
- (!propFilter || propFilter(prop, sourceObj, destObj)) &&
2618
- !merged[prop]
2619
- ) {
2646
+ if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
2620
2647
  destObj[prop] = sourceObj[prop];
2621
2648
  merged[prop] = true;
2622
2649
  }
2623
2650
  }
2624
2651
  sourceObj = filter !== false && getPrototypeOf(sourceObj);
2625
- } while (
2626
- sourceObj &&
2627
- (!filter || filter(sourceObj, destObj)) &&
2628
- sourceObj !== Object.prototype
2629
- );
2652
+ } while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
2630
2653
 
2631
2654
  return destObj;
2632
2655
  };
@@ -2683,7 +2706,7 @@ const isTypedArray = ((TypedArray) => {
2683
2706
  return (thing) => {
2684
2707
  return TypedArray && thing instanceof TypedArray;
2685
2708
  };
2686
- })(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
2709
+ })(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
2687
2710
 
2688
2711
  /**
2689
2712
  * For each entry in the object, call the function with the key and value.
@@ -2726,14 +2749,12 @@ const matchAll = (regExp, str) => {
2726
2749
  };
2727
2750
 
2728
2751
  /* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
2729
- const isHTMLForm = kindOfTest("HTMLFormElement");
2752
+ const isHTMLForm = kindOfTest('HTMLFormElement');
2730
2753
 
2731
2754
  const toCamelCase = (str) => {
2732
- return str
2733
- .toLowerCase()
2734
- .replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
2735
- return p1.toUpperCase() + p2;
2736
- });
2755
+ return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
2756
+ return p1.toUpperCase() + p2;
2757
+ });
2737
2758
  };
2738
2759
 
2739
2760
  /* Creating a function that will check if an object has a property. */
@@ -2750,7 +2771,7 @@ const utils_hasOwnProperty = (
2750
2771
  *
2751
2772
  * @returns {boolean} True if value is a RegExp object, otherwise false
2752
2773
  */
2753
- const isRegExp = kindOfTest("RegExp");
2774
+ const isRegExp = kindOfTest('RegExp');
2754
2775
 
2755
2776
  const reduceDescriptors = (obj, reducer) => {
2756
2777
  const descriptors = Object.getOwnPropertyDescriptors(obj);
@@ -2774,10 +2795,7 @@ const reduceDescriptors = (obj, reducer) => {
2774
2795
  const freezeMethods = (obj) => {
2775
2796
  reduceDescriptors(obj, (descriptor, name) => {
2776
2797
  // skip restricted props in strict mode
2777
- if (
2778
- isFunction(obj) &&
2779
- ["arguments", "caller", "callee"].indexOf(name) !== -1
2780
- ) {
2798
+ if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
2781
2799
  return false;
2782
2800
  }
2783
2801
 
@@ -2787,7 +2805,7 @@ const freezeMethods = (obj) => {
2787
2805
 
2788
2806
  descriptor.enumerable = false;
2789
2807
 
2790
- if ("writable" in descriptor) {
2808
+ if ('writable' in descriptor) {
2791
2809
  descriptor.writable = false;
2792
2810
  return;
2793
2811
  }
@@ -2800,6 +2818,14 @@ const freezeMethods = (obj) => {
2800
2818
  });
2801
2819
  };
2802
2820
 
2821
+ /**
2822
+ * Converts an array or a delimited string into an object set with values as keys and true as values.
2823
+ * Useful for fast membership checks.
2824
+ *
2825
+ * @param {Array|string} arrayOrString - The array or string to convert.
2826
+ * @param {string} delimiter - The delimiter to use if input is a string.
2827
+ * @returns {Object} An object with keys from the array or string, values set to true.
2828
+ */
2803
2829
  const toObjectSet = (arrayOrString, delimiter) => {
2804
2830
  const obj = {};
2805
2831
 
@@ -2809,9 +2835,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
2809
2835
  });
2810
2836
  };
2811
2837
 
2812
- isArray(arrayOrString)
2813
- ? define(arrayOrString)
2814
- : define(String(arrayOrString).split(delimiter));
2838
+ isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
2815
2839
 
2816
2840
  return obj;
2817
2841
  };
@@ -2819,9 +2843,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
2819
2843
  const noop = () => {};
2820
2844
 
2821
2845
  const toFiniteNumber = (value, defaultValue) => {
2822
- return value != null && Number.isFinite((value = +value))
2823
- ? value
2824
- : defaultValue;
2846
+ return value != null && Number.isFinite((value = +value)) ? value : defaultValue;
2825
2847
  };
2826
2848
 
2827
2849
  /**
@@ -2835,11 +2857,17 @@ function isSpecCompliantForm(thing) {
2835
2857
  return !!(
2836
2858
  thing &&
2837
2859
  isFunction(thing.append) &&
2838
- thing[toStringTag] === "FormData" &&
2860
+ thing[toStringTag] === 'FormData' &&
2839
2861
  thing[iterator]
2840
2862
  );
2841
2863
  }
2842
2864
 
2865
+ /**
2866
+ * Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.
2867
+ *
2868
+ * @param {Object} obj - The object to convert.
2869
+ * @returns {Object} The JSON-compatible object.
2870
+ */
2843
2871
  const toJSONObject = (obj) => {
2844
2872
  const stack = new Array(10);
2845
2873
 
@@ -2854,7 +2882,7 @@ const toJSONObject = (obj) => {
2854
2882
  return source;
2855
2883
  }
2856
2884
 
2857
- if (!("toJSON" in source)) {
2885
+ if (!('toJSON' in source)) {
2858
2886
  stack[i] = source;
2859
2887
  const target = isArray(source) ? [] : {};
2860
2888
 
@@ -2875,8 +2903,20 @@ const toJSONObject = (obj) => {
2875
2903
  return visit(obj, 0);
2876
2904
  };
2877
2905
 
2878
- const isAsyncFn = kindOfTest("AsyncFunction");
2906
+ /**
2907
+ * Determines if a value is an async function.
2908
+ *
2909
+ * @param {*} thing - The value to test.
2910
+ * @returns {boolean} True if value is an async function, otherwise false.
2911
+ */
2912
+ const isAsyncFn = kindOfTest('AsyncFunction');
2879
2913
 
2914
+ /**
2915
+ * Determines if a value is thenable (has then and catch methods).
2916
+ *
2917
+ * @param {*} thing - The value to test.
2918
+ * @returns {boolean} True if value is thenable, otherwise false.
2919
+ */
2880
2920
  const isThenable = (thing) =>
2881
2921
  thing &&
2882
2922
  (isObject(thing) || isFunction(thing)) &&
@@ -2886,6 +2926,14 @@ const isThenable = (thing) =>
2886
2926
  // original code
2887
2927
  // https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
2888
2928
 
2929
+ /**
2930
+ * Provides a cross-platform setImmediate implementation.
2931
+ * Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.
2932
+ *
2933
+ * @param {boolean} setImmediateSupported - Whether setImmediate is supported.
2934
+ * @param {boolean} postMessageSupported - Whether postMessage is supported.
2935
+ * @returns {Function} A function to schedule a callback asynchronously.
2936
+ */
2889
2937
  const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
2890
2938
  if (setImmediateSupported) {
2891
2939
  return setImmediate;
@@ -2894,27 +2942,33 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
2894
2942
  return postMessageSupported
2895
2943
  ? ((token, callbacks) => {
2896
2944
  _global.addEventListener(
2897
- "message",
2945
+ 'message',
2898
2946
  ({ source, data }) => {
2899
2947
  if (source === _global && data === token) {
2900
2948
  callbacks.length && callbacks.shift()();
2901
2949
  }
2902
2950
  },
2903
- false,
2951
+ false
2904
2952
  );
2905
2953
 
2906
2954
  return (cb) => {
2907
2955
  callbacks.push(cb);
2908
- _global.postMessage(token, "*");
2956
+ _global.postMessage(token, '*');
2909
2957
  };
2910
2958
  })(`axios@${Math.random()}`, [])
2911
2959
  : (cb) => setTimeout(cb);
2912
- })(typeof setImmediate === "function", isFunction(_global.postMessage));
2960
+ })(typeof setImmediate === 'function', isFunction(_global.postMessage));
2913
2961
 
2962
+ /**
2963
+ * Schedules a microtask or asynchronous callback as soon as possible.
2964
+ * Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.
2965
+ *
2966
+ * @type {Function}
2967
+ */
2914
2968
  const asap =
2915
- typeof queueMicrotask !== "undefined"
2969
+ typeof queueMicrotask !== 'undefined'
2916
2970
  ? queueMicrotask.bind(_global)
2917
- : (typeof process !== "undefined" && process.nextTick) || _setImmediate;
2971
+ : (typeof process !== 'undefined' && process.nextTick) || _setImmediate;
2918
2972
 
2919
2973
  // *********************
2920
2974
 
@@ -2939,6 +2993,8 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
2939
2993
  isUndefined,
2940
2994
  isDate,
2941
2995
  isFile,
2996
+ isReactNativeBlob,
2997
+ isReactNative,
2942
2998
  isBlob,
2943
2999
  isRegExp,
2944
3000
  isFunction,
@@ -2986,14 +3042,20 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
2986
3042
 
2987
3043
 
2988
3044
  class AxiosError extends Error {
2989
- static from(error, code, config, request, response, customProps) {
2990
- const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
2991
- axiosError.cause = error;
2992
- axiosError.name = error.name;
2993
- customProps && Object.assign(axiosError, customProps);
2994
- return axiosError;
3045
+ static from(error, code, config, request, response, customProps) {
3046
+ const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
3047
+ axiosError.cause = error;
3048
+ axiosError.name = error.name;
3049
+
3050
+ // Preserve status from the original error if not already set from response
3051
+ if (error.status != null && axiosError.status == null) {
3052
+ axiosError.status = error.status;
2995
3053
  }
2996
3054
 
3055
+ customProps && Object.assign(axiosError, customProps);
3056
+ return axiosError;
3057
+ }
3058
+
2997
3059
  /**
2998
3060
  * Create an Error with the specified message, config, error code, request and response.
2999
3061
  *
@@ -3006,37 +3068,48 @@ class AxiosError extends Error {
3006
3068
  * @returns {Error} The created error.
3007
3069
  */
3008
3070
  constructor(message, code, config, request, response) {
3009
- super(message);
3010
- this.name = 'AxiosError';
3011
- this.isAxiosError = true;
3012
- code && (this.code = code);
3013
- config && (this.config = config);
3014
- request && (this.request = request);
3015
- if (response) {
3016
- this.response = response;
3017
- this.status = response.status;
3018
- }
3071
+ super(message);
3072
+
3073
+ // Make message enumerable to maintain backward compatibility
3074
+ // The native Error constructor sets message as non-enumerable,
3075
+ // but axios < v1.13.3 had it as enumerable
3076
+ Object.defineProperty(this, 'message', {
3077
+ value: message,
3078
+ enumerable: true,
3079
+ writable: true,
3080
+ configurable: true
3081
+ });
3082
+
3083
+ this.name = 'AxiosError';
3084
+ this.isAxiosError = true;
3085
+ code && (this.code = code);
3086
+ config && (this.config = config);
3087
+ request && (this.request = request);
3088
+ if (response) {
3089
+ this.response = response;
3090
+ this.status = response.status;
3091
+ }
3019
3092
  }
3020
3093
 
3021
- toJSON() {
3022
- return {
3023
- // Standard
3024
- message: this.message,
3025
- name: this.name,
3026
- // Microsoft
3027
- description: this.description,
3028
- number: this.number,
3029
- // Mozilla
3030
- fileName: this.fileName,
3031
- lineNumber: this.lineNumber,
3032
- columnNumber: this.columnNumber,
3033
- stack: this.stack,
3034
- // Axios
3035
- config: utils.toJSONObject(this.config),
3036
- code: this.code,
3037
- status: this.status,
3038
- };
3039
- }
3094
+ toJSON() {
3095
+ return {
3096
+ // Standard
3097
+ message: this.message,
3098
+ name: this.name,
3099
+ // Microsoft
3100
+ description: this.description,
3101
+ number: this.number,
3102
+ // Mozilla
3103
+ fileName: this.fileName,
3104
+ lineNumber: this.lineNumber,
3105
+ columnNumber: this.columnNumber,
3106
+ stack: this.stack,
3107
+ // Axios
3108
+ config: utils.toJSONObject(this.config),
3109
+ code: this.code,
3110
+ status: this.status,
3111
+ };
3112
+ }
3040
3113
  }
3041
3114
 
3042
3115
  // This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
@@ -3101,11 +3174,14 @@ function removeBrackets(key) {
3101
3174
  */
3102
3175
  function renderKey(path, key, dots) {
3103
3176
  if (!path) return key;
3104
- return path.concat(key).map(function each(token, i) {
3105
- // eslint-disable-next-line no-param-reassign
3106
- token = removeBrackets(token);
3107
- return !dots && i ? '[' + token + ']' : token;
3108
- }).join(dots ? '.' : '');
3177
+ return path
3178
+ .concat(key)
3179
+ .map(function each(token, i) {
3180
+ // eslint-disable-next-line no-param-reassign
3181
+ token = removeBrackets(token);
3182
+ return !dots && i ? '[' + token + ']' : token;
3183
+ })
3184
+ .join(dots ? '.' : '');
3109
3185
  }
3110
3186
 
3111
3187
  /**
@@ -3155,21 +3231,26 @@ function toFormData(obj, formData, options) {
3155
3231
  formData = formData || new (helpers_null || FormData)();
3156
3232
 
3157
3233
  // eslint-disable-next-line no-param-reassign
3158
- options = utils.toFlatObject(options, {
3159
- metaTokens: true,
3160
- dots: false,
3161
- indexes: false
3162
- }, false, function defined(option, source) {
3163
- // eslint-disable-next-line no-eq-null,eqeqeq
3164
- return !utils.isUndefined(source[option]);
3165
- });
3234
+ options = utils.toFlatObject(
3235
+ options,
3236
+ {
3237
+ metaTokens: true,
3238
+ dots: false,
3239
+ indexes: false,
3240
+ },
3241
+ false,
3242
+ function defined(option, source) {
3243
+ // eslint-disable-next-line no-eq-null,eqeqeq
3244
+ return !utils.isUndefined(source[option]);
3245
+ }
3246
+ );
3166
3247
 
3167
3248
  const metaTokens = options.metaTokens;
3168
3249
  // eslint-disable-next-line no-use-before-define
3169
3250
  const visitor = options.visitor || defaultVisitor;
3170
3251
  const dots = options.dots;
3171
3252
  const indexes = options.indexes;
3172
- const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
3253
+ const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
3173
3254
  const useBlob = _Blob && utils.isSpecCompliantForm(formData);
3174
3255
 
3175
3256
  if (!utils.isFunction(visitor)) {
@@ -3211,6 +3292,11 @@ function toFormData(obj, formData, options) {
3211
3292
  function defaultVisitor(value, key, path) {
3212
3293
  let arr = value;
3213
3294
 
3295
+ if (utils.isReactNative(formData) && utils.isReactNativeBlob(value)) {
3296
+ formData.append(renderKey(path, key, dots), convertValue(value));
3297
+ return false;
3298
+ }
3299
+
3214
3300
  if (value && !path && typeof value === 'object') {
3215
3301
  if (utils.endsWith(key, '{}')) {
3216
3302
  // eslint-disable-next-line no-param-reassign
@@ -3219,17 +3305,22 @@ function toFormData(obj, formData, options) {
3219
3305
  value = JSON.stringify(value);
3220
3306
  } else if (
3221
3307
  (utils.isArray(value) && isFlatArray(value)) ||
3222
- ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))
3223
- )) {
3308
+ ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value)))
3309
+ ) {
3224
3310
  // eslint-disable-next-line no-param-reassign
3225
3311
  key = removeBrackets(key);
3226
3312
 
3227
3313
  arr.forEach(function each(el, index) {
3228
- !(utils.isUndefined(el) || el === null) && formData.append(
3229
- // eslint-disable-next-line no-nested-ternary
3230
- indexes === true ? renderKey([key], index, dots) : (indexes === null ? key : key + '[]'),
3231
- convertValue(el)
3232
- );
3314
+ !(utils.isUndefined(el) || el === null) &&
3315
+ formData.append(
3316
+ // eslint-disable-next-line no-nested-ternary
3317
+ indexes === true
3318
+ ? renderKey([key], index, dots)
3319
+ : indexes === null
3320
+ ? key
3321
+ : key + '[]',
3322
+ convertValue(el)
3323
+ );
3233
3324
  });
3234
3325
  return false;
3235
3326
  }
@@ -3249,7 +3340,7 @@ function toFormData(obj, formData, options) {
3249
3340
  const exposedHelpers = Object.assign(predicates, {
3250
3341
  defaultVisitor,
3251
3342
  convertValue,
3252
- isVisitable
3343
+ isVisitable,
3253
3344
  });
3254
3345
 
3255
3346
  function build(value, path) {
@@ -3262,9 +3353,9 @@ function toFormData(obj, formData, options) {
3262
3353
  stack.push(value);
3263
3354
 
3264
3355
  utils.forEach(value, function each(el, key) {
3265
- const result = !(utils.isUndefined(el) || el === null) && visitor.call(
3266
- formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers
3267
- );
3356
+ const result =
3357
+ !(utils.isUndefined(el) || el === null) &&
3358
+ visitor.call(formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers);
3268
3359
 
3269
3360
  if (result === true) {
3270
3361
  build(el, path ? path.concat(key) : [key]);
@@ -3306,7 +3397,7 @@ function encode(str) {
3306
3397
  ')': '%29',
3307
3398
  '~': '%7E',
3308
3399
  '%20': '+',
3309
- '%00': '\x00'
3400
+ '%00': '\x00',
3310
3401
  };
3311
3402
  return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
3312
3403
  return charMap[match];
@@ -3334,13 +3425,17 @@ AxiosURLSearchParams_prototype.append = function append(name, value) {
3334
3425
  };
3335
3426
 
3336
3427
  AxiosURLSearchParams_prototype.toString = function toString(encoder) {
3337
- const _encode = encoder ? function(value) {
3338
- return encoder.call(this, value, encode);
3339
- } : encode;
3428
+ const _encode = encoder
3429
+ ? function (value) {
3430
+ return encoder.call(this, value, encode);
3431
+ }
3432
+ : encode;
3340
3433
 
3341
- return this._pairs.map(function each(pair) {
3342
- return _encode(pair[0]) + '=' + _encode(pair[1]);
3343
- }, '').join('&');
3434
+ return this._pairs
3435
+ .map(function each(pair) {
3436
+ return _encode(pair[0]) + '=' + _encode(pair[1]);
3437
+ }, '')
3438
+ .join('&');
3344
3439
  };
3345
3440
 
3346
3441
  /* harmony default export */ const helpers_AxiosURLSearchParams = (AxiosURLSearchParams);
@@ -3352,19 +3447,19 @@ AxiosURLSearchParams_prototype.toString = function toString(encoder) {
3352
3447
 
3353
3448
 
3354
3449
  /**
3355
- * It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their
3356
- * URI encoded counterparts
3450
+ * It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with
3451
+ * their plain counterparts (`:`, `$`, `,`, `+`).
3357
3452
  *
3358
3453
  * @param {string} val The value to be encoded.
3359
3454
  *
3360
3455
  * @returns {string} The encoded value.
3361
3456
  */
3362
3457
  function buildURL_encode(val) {
3363
- return encodeURIComponent(val).
3364
- replace(/%3A/gi, ':').
3365
- replace(/%24/g, '$').
3366
- replace(/%2C/gi, ',').
3367
- replace(/%20/g, '+');
3458
+ return encodeURIComponent(val)
3459
+ .replace(/%3A/gi, ':')
3460
+ .replace(/%24/g, '$')
3461
+ .replace(/%2C/gi, ',')
3462
+ .replace(/%20/g, '+');
3368
3463
  }
3369
3464
 
3370
3465
  /**
@@ -3381,11 +3476,13 @@ function buildURL(url, params, options) {
3381
3476
  return url;
3382
3477
  }
3383
3478
 
3384
- const _encode = options && options.encode || buildURL_encode;
3479
+ const _encode = (options && options.encode) || buildURL_encode;
3385
3480
 
3386
- const _options = utils.isFunction(options) ? {
3387
- serialize: options
3388
- } : options;
3481
+ const _options = utils.isFunction(options)
3482
+ ? {
3483
+ serialize: options,
3484
+ }
3485
+ : options;
3389
3486
 
3390
3487
  const serializeFn = _options && _options.serialize;
3391
3488
 
@@ -3394,13 +3491,13 @@ function buildURL(url, params, options) {
3394
3491
  if (serializeFn) {
3395
3492
  serializedParams = serializeFn(params, _options);
3396
3493
  } else {
3397
- serializedParams = utils.isURLSearchParams(params) ?
3398
- params.toString() :
3399
- new helpers_AxiosURLSearchParams(params, _options).toString(_encode);
3494
+ serializedParams = utils.isURLSearchParams(params)
3495
+ ? params.toString()
3496
+ : new helpers_AxiosURLSearchParams(params, _options).toString(_encode);
3400
3497
  }
3401
3498
 
3402
3499
  if (serializedParams) {
3403
- const hashmarkIndex = url.indexOf("#");
3500
+ const hashmarkIndex = url.indexOf('#');
3404
3501
 
3405
3502
  if (hashmarkIndex !== -1) {
3406
3503
  url = url.slice(0, hashmarkIndex);
@@ -3435,7 +3532,7 @@ class InterceptorManager {
3435
3532
  fulfilled,
3436
3533
  rejected,
3437
3534
  synchronous: options ? options.synchronous : false,
3438
- runWhen: options ? options.runWhen : null
3535
+ runWhen: options ? options.runWhen : null,
3439
3536
  });
3440
3537
  return this.handlers.length - 1;
3441
3538
  }
@@ -3492,7 +3589,7 @@ class InterceptorManager {
3492
3589
  silentJSONParsing: true,
3493
3590
  forcedJSONParsing: true,
3494
3591
  clarifyTimeoutError: false,
3495
- legacyInterceptorReqResOrdering: true
3592
+ legacyInterceptorReqResOrdering: true,
3496
3593
  });
3497
3594
 
3498
3595
  ;// ../../../node_modules/axios/lib/platform/browser/classes/URLSearchParams.js
@@ -3521,15 +3618,15 @@ class InterceptorManager {
3521
3618
  classes: {
3522
3619
  URLSearchParams: classes_URLSearchParams,
3523
3620
  FormData: classes_FormData,
3524
- Blob: classes_Blob
3621
+ Blob: classes_Blob,
3525
3622
  },
3526
- protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
3623
+ protocols: ['http', 'https', 'file', 'blob', 'url', 'data'],
3527
3624
  });
3528
3625
 
3529
3626
  ;// ../../../node_modules/axios/lib/platform/common/utils.js
3530
3627
  const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
3531
3628
 
3532
- const _navigator = typeof navigator === 'object' && navigator || undefined;
3629
+ const _navigator = (typeof navigator === 'object' && navigator) || undefined;
3533
3630
 
3534
3631
  /**
3535
3632
  * Determine if we're running in a standard browser environment
@@ -3548,7 +3645,8 @@ const _navigator = typeof navigator === 'object' && navigator || undefined;
3548
3645
  *
3549
3646
  * @returns {boolean}
3550
3647
  */
3551
- const hasStandardBrowserEnv = hasBrowserEnv &&
3648
+ const hasStandardBrowserEnv =
3649
+ hasBrowserEnv &&
3552
3650
  (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
3553
3651
 
3554
3652
  /**
@@ -3569,7 +3667,7 @@ const hasStandardBrowserWebWorkerEnv = (() => {
3569
3667
  );
3570
3668
  })();
3571
3669
 
3572
- const origin = hasBrowserEnv && window.location.href || 'http://localhost';
3670
+ const origin = (hasBrowserEnv && window.location.href) || 'http://localhost';
3573
3671
 
3574
3672
 
3575
3673
 
@@ -3579,7 +3677,7 @@ const origin = hasBrowserEnv && window.location.href || 'http://localhost';
3579
3677
 
3580
3678
  /* harmony default export */ const platform = ({
3581
3679
  ...common_utils_namespaceObject,
3582
- ...browser
3680
+ ...browser,
3583
3681
  });
3584
3682
 
3585
3683
  ;// ../../../node_modules/axios/lib/helpers/toURLEncodedForm.js
@@ -3591,7 +3689,7 @@ const origin = hasBrowserEnv && window.location.href || 'http://localhost';
3591
3689
 
3592
3690
  function toURLEncodedForm(data, options) {
3593
3691
  return helpers_toFormData(data, new platform.classes.URLSearchParams(), {
3594
- visitor: function(value, key, path, helpers) {
3692
+ visitor: function (value, key, path, helpers) {
3595
3693
  if (platform.isNode && utils.isBuffer(value)) {
3596
3694
  this.append(key, value.toString('base64'));
3597
3695
  return false;
@@ -3599,7 +3697,7 @@ function toURLEncodedForm(data, options) {
3599
3697
 
3600
3698
  return helpers.defaultVisitor.apply(this, arguments);
3601
3699
  },
3602
- ...options
3700
+ ...options,
3603
3701
  });
3604
3702
  }
3605
3703
 
@@ -3620,7 +3718,7 @@ function parsePropPath(name) {
3620
3718
  // foo.x.y.z
3621
3719
  // foo-x-y-z
3622
3720
  // foo x y z
3623
- return utils.matchAll(/\w+|\[(\w*)]/g, name).map(match => {
3721
+ return utils.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
3624
3722
  return match[0] === '[]' ? '' : match[1] || match[0];
3625
3723
  });
3626
3724
  }
@@ -3737,96 +3835,107 @@ function stringifySafely(rawValue, parser, encoder) {
3737
3835
  }
3738
3836
 
3739
3837
  const defaults = {
3740
-
3741
3838
  transitional: defaults_transitional,
3742
3839
 
3743
3840
  adapter: ['xhr', 'http', 'fetch'],
3744
3841
 
3745
- transformRequest: [function transformRequest(data, headers) {
3746
- const contentType = headers.getContentType() || '';
3747
- const hasJSONContentType = contentType.indexOf('application/json') > -1;
3748
- const isObjectPayload = utils.isObject(data);
3842
+ transformRequest: [
3843
+ function transformRequest(data, headers) {
3844
+ const contentType = headers.getContentType() || '';
3845
+ const hasJSONContentType = contentType.indexOf('application/json') > -1;
3846
+ const isObjectPayload = utils.isObject(data);
3749
3847
 
3750
- if (isObjectPayload && utils.isHTMLForm(data)) {
3751
- data = new FormData(data);
3752
- }
3848
+ if (isObjectPayload && utils.isHTMLForm(data)) {
3849
+ data = new FormData(data);
3850
+ }
3753
3851
 
3754
- const isFormData = utils.isFormData(data);
3852
+ const isFormData = utils.isFormData(data);
3755
3853
 
3756
- if (isFormData) {
3757
- return hasJSONContentType ? JSON.stringify(helpers_formDataToJSON(data)) : data;
3758
- }
3854
+ if (isFormData) {
3855
+ return hasJSONContentType ? JSON.stringify(helpers_formDataToJSON(data)) : data;
3856
+ }
3759
3857
 
3760
- if (utils.isArrayBuffer(data) ||
3761
- utils.isBuffer(data) ||
3762
- utils.isStream(data) ||
3763
- utils.isFile(data) ||
3764
- utils.isBlob(data) ||
3765
- utils.isReadableStream(data)
3766
- ) {
3767
- return data;
3768
- }
3769
- if (utils.isArrayBufferView(data)) {
3770
- return data.buffer;
3771
- }
3772
- if (utils.isURLSearchParams(data)) {
3773
- headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
3774
- return data.toString();
3775
- }
3858
+ if (
3859
+ utils.isArrayBuffer(data) ||
3860
+ utils.isBuffer(data) ||
3861
+ utils.isStream(data) ||
3862
+ utils.isFile(data) ||
3863
+ utils.isBlob(data) ||
3864
+ utils.isReadableStream(data)
3865
+ ) {
3866
+ return data;
3867
+ }
3868
+ if (utils.isArrayBufferView(data)) {
3869
+ return data.buffer;
3870
+ }
3871
+ if (utils.isURLSearchParams(data)) {
3872
+ headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
3873
+ return data.toString();
3874
+ }
3776
3875
 
3777
- let isFileList;
3876
+ let isFileList;
3778
3877
 
3779
- if (isObjectPayload) {
3780
- if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
3781
- return toURLEncodedForm(data, this.formSerializer).toString();
3782
- }
3878
+ if (isObjectPayload) {
3879
+ if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
3880
+ return toURLEncodedForm(data, this.formSerializer).toString();
3881
+ }
3783
3882
 
3784
- if ((isFileList = utils.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
3785
- const _FormData = this.env && this.env.FormData;
3883
+ if (
3884
+ (isFileList = utils.isFileList(data)) ||
3885
+ contentType.indexOf('multipart/form-data') > -1
3886
+ ) {
3887
+ const _FormData = this.env && this.env.FormData;
3786
3888
 
3787
- return helpers_toFormData(
3788
- isFileList ? {'files[]': data} : data,
3789
- _FormData && new _FormData(),
3790
- this.formSerializer
3791
- );
3889
+ return helpers_toFormData(
3890
+ isFileList ? { 'files[]': data } : data,
3891
+ _FormData && new _FormData(),
3892
+ this.formSerializer
3893
+ );
3894
+ }
3792
3895
  }
3793
- }
3794
3896
 
3795
- if (isObjectPayload || hasJSONContentType ) {
3796
- headers.setContentType('application/json', false);
3797
- return stringifySafely(data);
3798
- }
3897
+ if (isObjectPayload || hasJSONContentType) {
3898
+ headers.setContentType('application/json', false);
3899
+ return stringifySafely(data);
3900
+ }
3799
3901
 
3800
- return data;
3801
- }],
3902
+ return data;
3903
+ },
3904
+ ],
3802
3905
 
3803
- transformResponse: [function transformResponse(data) {
3804
- const transitional = this.transitional || defaults.transitional;
3805
- const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
3806
- const JSONRequested = this.responseType === 'json';
3906
+ transformResponse: [
3907
+ function transformResponse(data) {
3908
+ const transitional = this.transitional || defaults.transitional;
3909
+ const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
3910
+ const JSONRequested = this.responseType === 'json';
3807
3911
 
3808
- if (utils.isResponse(data) || utils.isReadableStream(data)) {
3809
- return data;
3810
- }
3912
+ if (utils.isResponse(data) || utils.isReadableStream(data)) {
3913
+ return data;
3914
+ }
3811
3915
 
3812
- if (data && utils.isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {
3813
- const silentJSONParsing = transitional && transitional.silentJSONParsing;
3814
- const strictJSONParsing = !silentJSONParsing && JSONRequested;
3916
+ if (
3917
+ data &&
3918
+ utils.isString(data) &&
3919
+ ((forcedJSONParsing && !this.responseType) || JSONRequested)
3920
+ ) {
3921
+ const silentJSONParsing = transitional && transitional.silentJSONParsing;
3922
+ const strictJSONParsing = !silentJSONParsing && JSONRequested;
3815
3923
 
3816
- try {
3817
- return JSON.parse(data, this.parseReviver);
3818
- } catch (e) {
3819
- if (strictJSONParsing) {
3820
- if (e.name === 'SyntaxError') {
3821
- throw core_AxiosError.from(e, core_AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
3924
+ try {
3925
+ return JSON.parse(data, this.parseReviver);
3926
+ } catch (e) {
3927
+ if (strictJSONParsing) {
3928
+ if (e.name === 'SyntaxError') {
3929
+ throw core_AxiosError.from(e, core_AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
3930
+ }
3931
+ throw e;
3822
3932
  }
3823
- throw e;
3824
3933
  }
3825
3934
  }
3826
- }
3827
3935
 
3828
- return data;
3829
- }],
3936
+ return data;
3937
+ },
3938
+ ],
3830
3939
 
3831
3940
  /**
3832
3941
  * A timeout in milliseconds to abort a request. If set to 0 (default) a
@@ -3842,7 +3951,7 @@ const defaults = {
3842
3951
 
3843
3952
  env: {
3844
3953
  FormData: platform.classes.FormData,
3845
- Blob: platform.classes.Blob
3954
+ Blob: platform.classes.Blob,
3846
3955
  },
3847
3956
 
3848
3957
  validateStatus: function validateStatus(status) {
@@ -3851,10 +3960,10 @@ const defaults = {
3851
3960
 
3852
3961
  headers: {
3853
3962
  common: {
3854
- 'Accept': 'application/json, text/plain, */*',
3855
- 'Content-Type': undefined
3856
- }
3857
- }
3963
+ Accept: 'application/json, text/plain, */*',
3964
+ 'Content-Type': undefined,
3965
+ },
3966
+ },
3858
3967
  };
3859
3968
 
3860
3969
  utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
@@ -3871,10 +3980,23 @@ utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
3871
3980
  // RawAxiosHeaders whose duplicates are ignored by node
3872
3981
  // c.f. https://nodejs.org/api/http.html#http_message_headers
3873
3982
  const ignoreDuplicateOf = utils.toObjectSet([
3874
- 'age', 'authorization', 'content-length', 'content-type', 'etag',
3875
- 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
3876
- 'last-modified', 'location', 'max-forwards', 'proxy-authorization',
3877
- 'referer', 'retry-after', 'user-agent'
3983
+ 'age',
3984
+ 'authorization',
3985
+ 'content-length',
3986
+ 'content-type',
3987
+ 'etag',
3988
+ 'expires',
3989
+ 'from',
3990
+ 'host',
3991
+ 'if-modified-since',
3992
+ 'if-unmodified-since',
3993
+ 'last-modified',
3994
+ 'location',
3995
+ 'max-forwards',
3996
+ 'proxy-authorization',
3997
+ 'referer',
3998
+ 'retry-after',
3999
+ 'user-agent',
3878
4000
  ]);
3879
4001
 
3880
4002
  /**
@@ -3891,31 +4013,32 @@ const ignoreDuplicateOf = utils.toObjectSet([
3891
4013
  *
3892
4014
  * @returns {Object} Headers parsed into an object
3893
4015
  */
3894
- /* harmony default export */ const parseHeaders = (rawHeaders => {
4016
+ /* harmony default export */ const parseHeaders = ((rawHeaders) => {
3895
4017
  const parsed = {};
3896
4018
  let key;
3897
4019
  let val;
3898
4020
  let i;
3899
4021
 
3900
- rawHeaders && rawHeaders.split('\n').forEach(function parser(line) {
3901
- i = line.indexOf(':');
3902
- key = line.substring(0, i).trim().toLowerCase();
3903
- val = line.substring(i + 1).trim();
4022
+ rawHeaders &&
4023
+ rawHeaders.split('\n').forEach(function parser(line) {
4024
+ i = line.indexOf(':');
4025
+ key = line.substring(0, i).trim().toLowerCase();
4026
+ val = line.substring(i + 1).trim();
3904
4027
 
3905
- if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
3906
- return;
3907
- }
4028
+ if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
4029
+ return;
4030
+ }
3908
4031
 
3909
- if (key === 'set-cookie') {
3910
- if (parsed[key]) {
3911
- parsed[key].push(val);
4032
+ if (key === 'set-cookie') {
4033
+ if (parsed[key]) {
4034
+ parsed[key].push(val);
4035
+ } else {
4036
+ parsed[key] = [val];
4037
+ }
3912
4038
  } else {
3913
- parsed[key] = [val];
4039
+ parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
3914
4040
  }
3915
- } else {
3916
- parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
3917
- }
3918
- });
4041
+ });
3919
4042
 
3920
4043
  return parsed;
3921
4044
  });
@@ -3928,16 +4051,49 @@ const ignoreDuplicateOf = utils.toObjectSet([
3928
4051
 
3929
4052
  const $internals = Symbol('internals');
3930
4053
 
4054
+ const isValidHeaderValue = (value) => !/[\r\n]/.test(value);
4055
+
4056
+ function assertValidHeaderValue(value, header) {
4057
+ if (value === false || value == null) {
4058
+ return;
4059
+ }
4060
+
4061
+ if (utils.isArray(value)) {
4062
+ value.forEach((v) => assertValidHeaderValue(v, header));
4063
+ return;
4064
+ }
4065
+
4066
+ if (!isValidHeaderValue(String(value))) {
4067
+ throw new Error(`Invalid character in header content ["${header}"]`);
4068
+ }
4069
+ }
4070
+
3931
4071
  function normalizeHeader(header) {
3932
4072
  return header && String(header).trim().toLowerCase();
3933
4073
  }
3934
4074
 
4075
+ function stripTrailingCRLF(str) {
4076
+ let end = str.length;
4077
+
4078
+ while (end > 0) {
4079
+ const charCode = str.charCodeAt(end - 1);
4080
+
4081
+ if (charCode !== 10 && charCode !== 13) {
4082
+ break;
4083
+ }
4084
+
4085
+ end -= 1;
4086
+ }
4087
+
4088
+ return end === str.length ? str : str.slice(0, end);
4089
+ }
4090
+
3935
4091
  function normalizeValue(value) {
3936
4092
  if (value === false || value == null) {
3937
4093
  return value;
3938
4094
  }
3939
4095
 
3940
- return utils.isArray(value) ? value.map(normalizeValue) : String(value);
4096
+ return utils.isArray(value) ? value.map(normalizeValue) : stripTrailingCRLF(String(value));
3941
4097
  }
3942
4098
 
3943
4099
  function parseTokens(str) {
@@ -3975,8 +4131,10 @@ function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
3975
4131
  }
3976
4132
 
3977
4133
  function formatHeader(header) {
3978
- return header.trim()
3979
- .toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => {
4134
+ return header
4135
+ .trim()
4136
+ .toLowerCase()
4137
+ .replace(/([a-z\d])(\w*)/g, (w, char, str) => {
3980
4138
  return char.toUpperCase() + str;
3981
4139
  });
3982
4140
  }
@@ -3984,12 +4142,12 @@ function formatHeader(header) {
3984
4142
  function buildAccessors(obj, header) {
3985
4143
  const accessorName = utils.toCamelCase(' ' + header);
3986
4144
 
3987
- ['get', 'set', 'has'].forEach(methodName => {
4145
+ ['get', 'set', 'has'].forEach((methodName) => {
3988
4146
  Object.defineProperty(obj, methodName + accessorName, {
3989
- value: function(arg1, arg2, arg3) {
4147
+ value: function (arg1, arg2, arg3) {
3990
4148
  return this[methodName].call(this, header, arg1, arg2, arg3);
3991
4149
  },
3992
- configurable: true
4150
+ configurable: true,
3993
4151
  });
3994
4152
  });
3995
4153
  }
@@ -4011,7 +4169,13 @@ class AxiosHeaders {
4011
4169
 
4012
4170
  const key = utils.findKey(self, lHeader);
4013
4171
 
4014
- if(!key || self[key] === undefined || _rewrite === true || (_rewrite === undefined && self[key] !== false)) {
4172
+ if (
4173
+ !key ||
4174
+ self[key] === undefined ||
4175
+ _rewrite === true ||
4176
+ (_rewrite === undefined && self[key] !== false)
4177
+ ) {
4178
+ assertValidHeaderValue(_value, _header);
4015
4179
  self[key || _header] = normalizeValue(_value);
4016
4180
  }
4017
4181
  }
@@ -4020,21 +4184,26 @@ class AxiosHeaders {
4020
4184
  utils.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
4021
4185
 
4022
4186
  if (utils.isPlainObject(header) || header instanceof this.constructor) {
4023
- setHeaders(header, valueOrRewrite)
4024
- } else if(utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
4187
+ setHeaders(header, valueOrRewrite);
4188
+ } else if (utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
4025
4189
  setHeaders(parseHeaders(header), valueOrRewrite);
4026
4190
  } else if (utils.isObject(header) && utils.isIterable(header)) {
4027
- let obj = {}, dest, key;
4191
+ let obj = {},
4192
+ dest,
4193
+ key;
4028
4194
  for (const entry of header) {
4029
4195
  if (!utils.isArray(entry)) {
4030
4196
  throw TypeError('Object iterator must return a key-value pair');
4031
4197
  }
4032
4198
 
4033
- obj[key = entry[0]] = (dest = obj[key]) ?
4034
- (utils.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]) : entry[1];
4199
+ obj[(key = entry[0])] = (dest = obj[key])
4200
+ ? utils.isArray(dest)
4201
+ ? [...dest, entry[1]]
4202
+ : [dest, entry[1]]
4203
+ : entry[1];
4035
4204
  }
4036
4205
 
4037
- setHeaders(obj, valueOrRewrite)
4206
+ setHeaders(obj, valueOrRewrite);
4038
4207
  } else {
4039
4208
  header != null && setHeader(valueOrRewrite, header, rewrite);
4040
4209
  }
@@ -4078,7 +4247,11 @@ class AxiosHeaders {
4078
4247
  if (header) {
4079
4248
  const key = utils.findKey(this, header);
4080
4249
 
4081
- return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
4250
+ return !!(
4251
+ key &&
4252
+ this[key] !== undefined &&
4253
+ (!matcher || matchHeaderValue(this, this[key], key, matcher))
4254
+ );
4082
4255
  }
4083
4256
 
4084
4257
  return false;
@@ -4118,7 +4291,7 @@ class AxiosHeaders {
4118
4291
 
4119
4292
  while (i--) {
4120
4293
  const key = keys[i];
4121
- if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
4294
+ if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
4122
4295
  delete this[key];
4123
4296
  deleted = true;
4124
4297
  }
@@ -4162,7 +4335,9 @@ class AxiosHeaders {
4162
4335
  const obj = Object.create(null);
4163
4336
 
4164
4337
  utils.forEach(this, (value, header) => {
4165
- value != null && value !== false && (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);
4338
+ value != null &&
4339
+ value !== false &&
4340
+ (obj[header] = asStrings && utils.isArray(value) ? value.join(', ') : value);
4166
4341
  });
4167
4342
 
4168
4343
  return obj;
@@ -4173,11 +4348,13 @@ class AxiosHeaders {
4173
4348
  }
4174
4349
 
4175
4350
  toString() {
4176
- return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n');
4351
+ return Object.entries(this.toJSON())
4352
+ .map(([header, value]) => header + ': ' + value)
4353
+ .join('\n');
4177
4354
  }
4178
4355
 
4179
4356
  getSetCookie() {
4180
- return this.get("set-cookie") || [];
4357
+ return this.get('set-cookie') || [];
4181
4358
  }
4182
4359
 
4183
4360
  get [Symbol.toStringTag]() {
@@ -4197,9 +4374,12 @@ class AxiosHeaders {
4197
4374
  }
4198
4375
 
4199
4376
  static accessor(header) {
4200
- const internals = this[$internals] = (this[$internals] = {
4201
- accessors: {}
4202
- });
4377
+ const internals =
4378
+ (this[$internals] =
4379
+ this[$internals] =
4380
+ {
4381
+ accessors: {},
4382
+ });
4203
4383
 
4204
4384
  const accessors = internals.accessors;
4205
4385
  const prototype = this.prototype;
@@ -4219,17 +4399,24 @@ class AxiosHeaders {
4219
4399
  }
4220
4400
  }
4221
4401
 
4222
- AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
4402
+ AxiosHeaders.accessor([
4403
+ 'Content-Type',
4404
+ 'Content-Length',
4405
+ 'Accept',
4406
+ 'Accept-Encoding',
4407
+ 'User-Agent',
4408
+ 'Authorization',
4409
+ ]);
4223
4410
 
4224
4411
  // reserved names hotfix
4225
- utils.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
4412
+ utils.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
4226
4413
  let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
4227
4414
  return {
4228
4415
  get: () => value,
4229
4416
  set(headerValue) {
4230
4417
  this[mapped] = headerValue;
4231
- }
4232
- }
4418
+ },
4419
+ };
4233
4420
  });
4234
4421
 
4235
4422
  utils.freezeMethods(AxiosHeaders);
@@ -4316,13 +4503,17 @@ function settle(resolve, reject, response) {
4316
4503
  if (!response.status || !validateStatus || validateStatus(response.status)) {
4317
4504
  resolve(response);
4318
4505
  } else {
4319
- reject(new core_AxiosError(
4320
- 'Request failed with status code ' + response.status,
4321
- [core_AxiosError.ERR_BAD_REQUEST, core_AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
4322
- response.config,
4323
- response.request,
4324
- response
4325
- ));
4506
+ reject(
4507
+ new core_AxiosError(
4508
+ 'Request failed with status code ' + response.status,
4509
+ [core_AxiosError.ERR_BAD_REQUEST, core_AxiosError.ERR_BAD_RESPONSE][
4510
+ Math.floor(response.status / 100) - 4
4511
+ ],
4512
+ response.config,
4513
+ response.request,
4514
+ response
4515
+ )
4516
+ );
4326
4517
  }
4327
4518
  }
4328
4519
 
@@ -4331,7 +4522,7 @@ function settle(resolve, reject, response) {
4331
4522
 
4332
4523
  function parseProtocol(url) {
4333
4524
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
4334
- return match && match[1] || '';
4525
+ return (match && match[1]) || '';
4335
4526
  }
4336
4527
 
4337
4528
  ;// ../../../node_modules/axios/lib/helpers/speedometer.js
@@ -4385,7 +4576,7 @@ function speedometer(samplesCount, min) {
4385
4576
 
4386
4577
  const passed = startedAt && now - startedAt;
4387
4578
 
4388
- return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
4579
+ return passed ? Math.round((bytesCount * 1000) / passed) : undefined;
4389
4580
  };
4390
4581
  }
4391
4582
 
@@ -4412,23 +4603,23 @@ function throttle(fn, freq) {
4412
4603
  timer = null;
4413
4604
  }
4414
4605
  fn(...args);
4415
- }
4606
+ };
4416
4607
 
4417
4608
  const throttled = (...args) => {
4418
4609
  const now = Date.now();
4419
4610
  const passed = now - timestamp;
4420
- if ( passed >= threshold) {
4611
+ if (passed >= threshold) {
4421
4612
  invoke(args, now);
4422
4613
  } else {
4423
4614
  lastArgs = args;
4424
4615
  if (!timer) {
4425
4616
  timer = setTimeout(() => {
4426
4617
  timer = null;
4427
- invoke(lastArgs)
4618
+ invoke(lastArgs);
4428
4619
  }, threshold - passed);
4429
4620
  }
4430
4621
  }
4431
- }
4622
+ };
4432
4623
 
4433
4624
  const flush = () => lastArgs && invoke(lastArgs);
4434
4625
 
@@ -4446,7 +4637,7 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
4446
4637
  let bytesNotified = 0;
4447
4638
  const _speedometer = helpers_speedometer(50, 250);
4448
4639
 
4449
- return helpers_throttle(e => {
4640
+ return helpers_throttle((e) => {
4450
4641
  const loaded = e.loaded;
4451
4642
  const total = e.lengthComputable ? e.total : undefined;
4452
4643
  const progressBytes = loaded - bytesNotified;
@@ -4458,101 +4649,105 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
4458
4649
  const data = {
4459
4650
  loaded,
4460
4651
  total,
4461
- progress: total ? (loaded / total) : undefined,
4652
+ progress: total ? loaded / total : undefined,
4462
4653
  bytes: progressBytes,
4463
4654
  rate: rate ? rate : undefined,
4464
4655
  estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
4465
4656
  event: e,
4466
4657
  lengthComputable: total != null,
4467
- [isDownloadStream ? 'download' : 'upload']: true
4658
+ [isDownloadStream ? 'download' : 'upload']: true,
4468
4659
  };
4469
4660
 
4470
4661
  listener(data);
4471
4662
  }, freq);
4472
- }
4663
+ };
4473
4664
 
4474
4665
  const progressEventDecorator = (total, throttled) => {
4475
4666
  const lengthComputable = total != null;
4476
4667
 
4477
- return [(loaded) => throttled[0]({
4478
- lengthComputable,
4479
- total,
4480
- loaded
4481
- }), throttled[1]];
4482
- }
4668
+ return [
4669
+ (loaded) =>
4670
+ throttled[0]({
4671
+ lengthComputable,
4672
+ total,
4673
+ loaded,
4674
+ }),
4675
+ throttled[1],
4676
+ ];
4677
+ };
4483
4678
 
4484
- const asyncDecorator = (fn) => (...args) => utils.asap(() => fn(...args));
4679
+ const asyncDecorator =
4680
+ (fn) =>
4681
+ (...args) =>
4682
+ utils.asap(() => fn(...args));
4485
4683
 
4486
4684
  ;// ../../../node_modules/axios/lib/helpers/isURLSameOrigin.js
4487
4685
 
4488
4686
 
4489
- /* harmony default export */ const isURLSameOrigin = (platform.hasStandardBrowserEnv ? ((origin, isMSIE) => (url) => {
4490
- url = new URL(url, platform.origin);
4687
+ /* harmony default export */ const isURLSameOrigin = (platform.hasStandardBrowserEnv
4688
+ ? ((origin, isMSIE) => (url) => {
4689
+ url = new URL(url, platform.origin);
4491
4690
 
4492
- return (
4493
- origin.protocol === url.protocol &&
4494
- origin.host === url.host &&
4495
- (isMSIE || origin.port === url.port)
4496
- );
4497
- })(
4498
- new URL(platform.origin),
4499
- platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)
4500
- ) : () => true);
4691
+ return (
4692
+ origin.protocol === url.protocol &&
4693
+ origin.host === url.host &&
4694
+ (isMSIE || origin.port === url.port)
4695
+ );
4696
+ })(
4697
+ new URL(platform.origin),
4698
+ platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)
4699
+ )
4700
+ : () => true);
4501
4701
 
4502
4702
  ;// ../../../node_modules/axios/lib/helpers/cookies.js
4503
4703
 
4504
4704
 
4505
4705
 
4506
- /* harmony default export */ const cookies = (platform.hasStandardBrowserEnv ?
4706
+ /* harmony default export */ const cookies = (platform.hasStandardBrowserEnv
4707
+ ? // Standard browser envs support document.cookie
4708
+ {
4709
+ write(name, value, expires, path, domain, secure, sameSite) {
4710
+ if (typeof document === 'undefined') return;
4507
4711
 
4508
- // Standard browser envs support document.cookie
4509
- {
4510
- write(name, value, expires, path, domain, secure, sameSite) {
4511
- if (typeof document === 'undefined') return;
4712
+ const cookie = [`${name}=${encodeURIComponent(value)}`];
4512
4713
 
4513
- const cookie = [`${name}=${encodeURIComponent(value)}`];
4514
-
4515
- if (utils.isNumber(expires)) {
4516
- cookie.push(`expires=${new Date(expires).toUTCString()}`);
4517
- }
4518
- if (utils.isString(path)) {
4519
- cookie.push(`path=${path}`);
4520
- }
4521
- if (utils.isString(domain)) {
4522
- cookie.push(`domain=${domain}`);
4523
- }
4524
- if (secure === true) {
4525
- cookie.push('secure');
4526
- }
4527
- if (utils.isString(sameSite)) {
4528
- cookie.push(`SameSite=${sameSite}`);
4529
- }
4714
+ if (utils.isNumber(expires)) {
4715
+ cookie.push(`expires=${new Date(expires).toUTCString()}`);
4716
+ }
4717
+ if (utils.isString(path)) {
4718
+ cookie.push(`path=${path}`);
4719
+ }
4720
+ if (utils.isString(domain)) {
4721
+ cookie.push(`domain=${domain}`);
4722
+ }
4723
+ if (secure === true) {
4724
+ cookie.push('secure');
4725
+ }
4726
+ if (utils.isString(sameSite)) {
4727
+ cookie.push(`SameSite=${sameSite}`);
4728
+ }
4530
4729
 
4531
- document.cookie = cookie.join('; ');
4532
- },
4730
+ document.cookie = cookie.join('; ');
4731
+ },
4533
4732
 
4534
- read(name) {
4535
- if (typeof document === 'undefined') return null;
4536
- const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
4537
- return match ? decodeURIComponent(match[1]) : null;
4538
- },
4733
+ read(name) {
4734
+ if (typeof document === 'undefined') return null;
4735
+ const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
4736
+ return match ? decodeURIComponent(match[1]) : null;
4737
+ },
4539
4738
 
4540
- remove(name) {
4541
- this.write(name, '', Date.now() - 86400000, '/');
4739
+ remove(name) {
4740
+ this.write(name, '', Date.now() - 86400000, '/');
4741
+ },
4542
4742
  }
4543
- }
4544
-
4545
- :
4546
-
4547
- // Non-standard browser env (web workers, react-native) lack needed support.
4548
- {
4549
- write() {},
4550
- read() {
4551
- return null;
4552
- },
4553
- remove() {}
4554
- });
4555
-
4743
+ : // Non-standard browser env (web workers, react-native) lack needed support.
4744
+ {
4745
+ write() {},
4746
+ read() {
4747
+ return null;
4748
+ },
4749
+ remove() {},
4750
+ });
4556
4751
 
4557
4752
  ;// ../../../node_modules/axios/lib/helpers/isAbsoluteURL.js
4558
4753
 
@@ -4575,7 +4770,6 @@ function isAbsoluteURL(url) {
4575
4770
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
4576
4771
  }
4577
4772
 
4578
-
4579
4773
  ;// ../../../node_modules/axios/lib/helpers/combineURLs.js
4580
4774
 
4581
4775
 
@@ -4623,8 +4817,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
4623
4817
 
4624
4818
 
4625
4819
 
4626
- const headersToObject = (thing) =>
4627
- thing instanceof core_AxiosHeaders ? { ...thing } : thing;
4820
+ const headersToObject = (thing) => (thing instanceof core_AxiosHeaders ? { ...thing } : thing);
4628
4821
 
4629
4822
  /**
4630
4823
  * Config-specific merge-function which creates a new config-object
@@ -4717,23 +4910,12 @@ function mergeConfig(config1, config2) {
4717
4910
  mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),
4718
4911
  };
4719
4912
 
4720
- utils.forEach(
4721
- Object.keys({ ...config1, ...config2 }),
4722
- function computeConfigValue(prop) {
4723
- if (
4724
- prop === "__proto__" ||
4725
- prop === "constructor" ||
4726
- prop === "prototype"
4727
- )
4728
- return;
4729
- const merge = utils.hasOwnProp(mergeMap, prop)
4730
- ? mergeMap[prop]
4731
- : mergeDeepProperties;
4732
- const configValue = merge(config1[prop], config2[prop], prop);
4733
- (utils.isUndefined(configValue) && merge !== mergeDirectKeys) ||
4734
- (config[prop] = configValue);
4735
- },
4736
- );
4913
+ utils.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
4914
+ if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
4915
+ const merge = utils.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
4916
+ const configValue = merge(config1[prop], config2[prop], prop);
4917
+ (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
4918
+ });
4737
4919
 
4738
4920
  return config;
4739
4921
  }
@@ -4755,12 +4937,22 @@ function mergeConfig(config1, config2) {
4755
4937
 
4756
4938
  newConfig.headers = headers = core_AxiosHeaders.from(headers);
4757
4939
 
4758
- newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
4940
+ newConfig.url = buildURL(
4941
+ buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls),
4942
+ config.params,
4943
+ config.paramsSerializer
4944
+ );
4759
4945
 
4760
4946
  // HTTP basic authentication
4761
4947
  if (auth) {
4762
- headers.set('Authorization', 'Basic ' +
4763
- btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : ''))
4948
+ headers.set(
4949
+ 'Authorization',
4950
+ 'Basic ' +
4951
+ btoa(
4952
+ (auth.username || '') +
4953
+ ':' +
4954
+ (auth.password ? unescape(encodeURIComponent(auth.password)) : '')
4955
+ )
4764
4956
  );
4765
4957
  }
4766
4958
 
@@ -4778,7 +4970,7 @@ function mergeConfig(config1, config2) {
4778
4970
  }
4779
4971
  });
4780
4972
  }
4781
- }
4973
+ }
4782
4974
 
4783
4975
  // Add xsrf header
4784
4976
  // This is only done if running in a standard browser environment.
@@ -4800,7 +4992,6 @@ function mergeConfig(config1, config2) {
4800
4992
  return newConfig;
4801
4993
  });
4802
4994
 
4803
-
4804
4995
  ;// ../../../node_modules/axios/lib/adapters/xhr.js
4805
4996
 
4806
4997
 
@@ -4815,193 +5006,215 @@ function mergeConfig(config1, config2) {
4815
5006
 
4816
5007
  const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
4817
5008
 
4818
- /* harmony default export */ const xhr = (isXHRAdapterSupported && function (config) {
4819
- return new Promise(function dispatchXhrRequest(resolve, reject) {
4820
- const _config = resolveConfig(config);
4821
- let requestData = _config.data;
4822
- const requestHeaders = core_AxiosHeaders.from(_config.headers).normalize();
4823
- let {responseType, onUploadProgress, onDownloadProgress} = _config;
4824
- let onCanceled;
4825
- let uploadThrottled, downloadThrottled;
4826
- let flushUpload, flushDownload;
5009
+ /* harmony default export */ const xhr = (isXHRAdapterSupported &&
5010
+ function (config) {
5011
+ return new Promise(function dispatchXhrRequest(resolve, reject) {
5012
+ const _config = resolveConfig(config);
5013
+ let requestData = _config.data;
5014
+ const requestHeaders = core_AxiosHeaders.from(_config.headers).normalize();
5015
+ let { responseType, onUploadProgress, onDownloadProgress } = _config;
5016
+ let onCanceled;
5017
+ let uploadThrottled, downloadThrottled;
5018
+ let flushUpload, flushDownload;
4827
5019
 
4828
- function done() {
4829
- flushUpload && flushUpload(); // flush events
4830
- flushDownload && flushDownload(); // flush events
5020
+ function done() {
5021
+ flushUpload && flushUpload(); // flush events
5022
+ flushDownload && flushDownload(); // flush events
4831
5023
 
4832
- _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
5024
+ _config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
4833
5025
 
4834
- _config.signal && _config.signal.removeEventListener('abort', onCanceled);
4835
- }
5026
+ _config.signal && _config.signal.removeEventListener('abort', onCanceled);
5027
+ }
4836
5028
 
4837
- let request = new XMLHttpRequest();
5029
+ let request = new XMLHttpRequest();
4838
5030
 
4839
- request.open(_config.method.toUpperCase(), _config.url, true);
5031
+ request.open(_config.method.toUpperCase(), _config.url, true);
4840
5032
 
4841
- // Set the request timeout in MS
4842
- request.timeout = _config.timeout;
5033
+ // Set the request timeout in MS
5034
+ request.timeout = _config.timeout;
4843
5035
 
4844
- function onloadend() {
4845
- if (!request) {
4846
- return;
5036
+ function onloadend() {
5037
+ if (!request) {
5038
+ return;
5039
+ }
5040
+ // Prepare the response
5041
+ const responseHeaders = core_AxiosHeaders.from(
5042
+ 'getAllResponseHeaders' in request && request.getAllResponseHeaders()
5043
+ );
5044
+ const responseData =
5045
+ !responseType || responseType === 'text' || responseType === 'json'
5046
+ ? request.responseText
5047
+ : request.response;
5048
+ const response = {
5049
+ data: responseData,
5050
+ status: request.status,
5051
+ statusText: request.statusText,
5052
+ headers: responseHeaders,
5053
+ config,
5054
+ request,
5055
+ };
5056
+
5057
+ settle(
5058
+ function _resolve(value) {
5059
+ resolve(value);
5060
+ done();
5061
+ },
5062
+ function _reject(err) {
5063
+ reject(err);
5064
+ done();
5065
+ },
5066
+ response
5067
+ );
5068
+
5069
+ // Clean up request
5070
+ request = null;
4847
5071
  }
4848
- // Prepare the response
4849
- const responseHeaders = core_AxiosHeaders.from(
4850
- 'getAllResponseHeaders' in request && request.getAllResponseHeaders()
4851
- );
4852
- const responseData = !responseType || responseType === 'text' || responseType === 'json' ?
4853
- request.responseText : request.response;
4854
- const response = {
4855
- data: responseData,
4856
- status: request.status,
4857
- statusText: request.statusText,
4858
- headers: responseHeaders,
4859
- config,
4860
- request
4861
- };
4862
5072
 
4863
- settle(function _resolve(value) {
4864
- resolve(value);
4865
- done();
4866
- }, function _reject(err) {
4867
- reject(err);
4868
- done();
4869
- }, response);
5073
+ if ('onloadend' in request) {
5074
+ // Use onloadend if available
5075
+ request.onloadend = onloadend;
5076
+ } else {
5077
+ // Listen for ready state to emulate onloadend
5078
+ request.onreadystatechange = function handleLoad() {
5079
+ if (!request || request.readyState !== 4) {
5080
+ return;
5081
+ }
4870
5082
 
4871
- // Clean up request
4872
- request = null;
4873
- }
5083
+ // The request errored out and we didn't get a response, this will be
5084
+ // handled by onerror instead
5085
+ // With one exception: request that using file: protocol, most browsers
5086
+ // will return status as 0 even though it's a successful request
5087
+ if (
5088
+ request.status === 0 &&
5089
+ !(request.responseURL && request.responseURL.indexOf('file:') === 0)
5090
+ ) {
5091
+ return;
5092
+ }
5093
+ // readystate handler is calling before onerror or ontimeout handlers,
5094
+ // so we should call onloadend on the next 'tick'
5095
+ setTimeout(onloadend);
5096
+ };
5097
+ }
4874
5098
 
4875
- if ('onloadend' in request) {
4876
- // Use onloadend if available
4877
- request.onloadend = onloadend;
4878
- } else {
4879
- // Listen for ready state to emulate onloadend
4880
- request.onreadystatechange = function handleLoad() {
4881
- if (!request || request.readyState !== 4) {
5099
+ // Handle browser request cancellation (as opposed to a manual cancellation)
5100
+ request.onabort = function handleAbort() {
5101
+ if (!request) {
4882
5102
  return;
4883
5103
  }
4884
5104
 
4885
- // The request errored out and we didn't get a response, this will be
4886
- // handled by onerror instead
4887
- // With one exception: request that using file: protocol, most browsers
4888
- // will return status as 0 even though it's a successful request
4889
- if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
4890
- return;
4891
- }
4892
- // readystate handler is calling before onerror or ontimeout handlers,
4893
- // so we should call onloadend on the next 'tick'
4894
- setTimeout(onloadend);
5105
+ reject(new core_AxiosError('Request aborted', core_AxiosError.ECONNABORTED, config, request));
5106
+
5107
+ // Clean up request
5108
+ request = null;
4895
5109
  };
4896
- }
4897
5110
 
4898
- // Handle browser request cancellation (as opposed to a manual cancellation)
4899
- request.onabort = function handleAbort() {
4900
- if (!request) {
4901
- return;
4902
- }
5111
+ // Handle low level network errors
5112
+ request.onerror = function handleError(event) {
5113
+ // Browsers deliver a ProgressEvent in XHR onerror
5114
+ // (message may be empty; when present, surface it)
5115
+ // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
5116
+ const msg = event && event.message ? event.message : 'Network Error';
5117
+ const err = new core_AxiosError(msg, core_AxiosError.ERR_NETWORK, config, request);
5118
+ // attach the underlying event for consumers who want details
5119
+ err.event = event || null;
5120
+ reject(err);
5121
+ request = null;
5122
+ };
5123
+
5124
+ // Handle timeout
5125
+ request.ontimeout = function handleTimeout() {
5126
+ let timeoutErrorMessage = _config.timeout
5127
+ ? 'timeout of ' + _config.timeout + 'ms exceeded'
5128
+ : 'timeout exceeded';
5129
+ const transitional = _config.transitional || defaults_transitional;
5130
+ if (_config.timeoutErrorMessage) {
5131
+ timeoutErrorMessage = _config.timeoutErrorMessage;
5132
+ }
5133
+ reject(
5134
+ new core_AxiosError(
5135
+ timeoutErrorMessage,
5136
+ transitional.clarifyTimeoutError ? core_AxiosError.ETIMEDOUT : core_AxiosError.ECONNABORTED,
5137
+ config,
5138
+ request
5139
+ )
5140
+ );
4903
5141
 
4904
- reject(new core_AxiosError('Request aborted', core_AxiosError.ECONNABORTED, config, request));
5142
+ // Clean up request
5143
+ request = null;
5144
+ };
4905
5145
 
4906
- // Clean up request
4907
- request = null;
4908
- };
5146
+ // Remove Content-Type if data is undefined
5147
+ requestData === undefined && requestHeaders.setContentType(null);
4909
5148
 
4910
- // Handle low level network errors
4911
- request.onerror = function handleError(event) {
4912
- // Browsers deliver a ProgressEvent in XHR onerror
4913
- // (message may be empty; when present, surface it)
4914
- // See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
4915
- const msg = event && event.message ? event.message : 'Network Error';
4916
- const err = new core_AxiosError(msg, core_AxiosError.ERR_NETWORK, config, request);
4917
- // attach the underlying event for consumers who want details
4918
- err.event = event || null;
4919
- reject(err);
4920
- request = null;
4921
- };
4922
-
4923
- // Handle timeout
4924
- request.ontimeout = function handleTimeout() {
4925
- let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
4926
- const transitional = _config.transitional || defaults_transitional;
4927
- if (_config.timeoutErrorMessage) {
4928
- timeoutErrorMessage = _config.timeoutErrorMessage;
5149
+ // Add headers to the request
5150
+ if ('setRequestHeader' in request) {
5151
+ utils.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
5152
+ request.setRequestHeader(key, val);
5153
+ });
4929
5154
  }
4930
- reject(new core_AxiosError(
4931
- timeoutErrorMessage,
4932
- transitional.clarifyTimeoutError ? core_AxiosError.ETIMEDOUT : core_AxiosError.ECONNABORTED,
4933
- config,
4934
- request));
4935
-
4936
- // Clean up request
4937
- request = null;
4938
- };
4939
-
4940
- // Remove Content-Type if data is undefined
4941
- requestData === undefined && requestHeaders.setContentType(null);
4942
5155
 
4943
- // Add headers to the request
4944
- if ('setRequestHeader' in request) {
4945
- utils.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
4946
- request.setRequestHeader(key, val);
4947
- });
4948
- }
5156
+ // Add withCredentials to request if needed
5157
+ if (!utils.isUndefined(_config.withCredentials)) {
5158
+ request.withCredentials = !!_config.withCredentials;
5159
+ }
4949
5160
 
4950
- // Add withCredentials to request if needed
4951
- if (!utils.isUndefined(_config.withCredentials)) {
4952
- request.withCredentials = !!_config.withCredentials;
4953
- }
5161
+ // Add responseType to request if needed
5162
+ if (responseType && responseType !== 'json') {
5163
+ request.responseType = _config.responseType;
5164
+ }
4954
5165
 
4955
- // Add responseType to request if needed
4956
- if (responseType && responseType !== 'json') {
4957
- request.responseType = _config.responseType;
4958
- }
5166
+ // Handle progress if needed
5167
+ if (onDownloadProgress) {
5168
+ [downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);
5169
+ request.addEventListener('progress', downloadThrottled);
5170
+ }
4959
5171
 
4960
- // Handle progress if needed
4961
- if (onDownloadProgress) {
4962
- ([downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true));
4963
- request.addEventListener('progress', downloadThrottled);
4964
- }
5172
+ // Not all browsers support upload events
5173
+ if (onUploadProgress && request.upload) {
5174
+ [uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);
4965
5175
 
4966
- // Not all browsers support upload events
4967
- if (onUploadProgress && request.upload) {
4968
- ([uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress));
5176
+ request.upload.addEventListener('progress', uploadThrottled);
4969
5177
 
4970
- request.upload.addEventListener('progress', uploadThrottled);
5178
+ request.upload.addEventListener('loadend', flushUpload);
5179
+ }
4971
5180
 
4972
- request.upload.addEventListener('loadend', flushUpload);
4973
- }
5181
+ if (_config.cancelToken || _config.signal) {
5182
+ // Handle cancellation
5183
+ // eslint-disable-next-line func-names
5184
+ onCanceled = (cancel) => {
5185
+ if (!request) {
5186
+ return;
5187
+ }
5188
+ reject(!cancel || cancel.type ? new cancel_CanceledError(null, config, request) : cancel);
5189
+ request.abort();
5190
+ request = null;
5191
+ };
4974
5192
 
4975
- if (_config.cancelToken || _config.signal) {
4976
- // Handle cancellation
4977
- // eslint-disable-next-line func-names
4978
- onCanceled = cancel => {
4979
- if (!request) {
4980
- return;
5193
+ _config.cancelToken && _config.cancelToken.subscribe(onCanceled);
5194
+ if (_config.signal) {
5195
+ _config.signal.aborted
5196
+ ? onCanceled()
5197
+ : _config.signal.addEventListener('abort', onCanceled);
4981
5198
  }
4982
- reject(!cancel || cancel.type ? new cancel_CanceledError(null, config, request) : cancel);
4983
- request.abort();
4984
- request = null;
4985
- };
4986
-
4987
- _config.cancelToken && _config.cancelToken.subscribe(onCanceled);
4988
- if (_config.signal) {
4989
- _config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
4990
5199
  }
4991
- }
4992
5200
 
4993
- const protocol = parseProtocol(_config.url);
4994
-
4995
- if (protocol && platform.protocols.indexOf(protocol) === -1) {
4996
- reject(new core_AxiosError('Unsupported protocol ' + protocol + ':', core_AxiosError.ERR_BAD_REQUEST, config));
4997
- return;
4998
- }
5201
+ const protocol = parseProtocol(_config.url);
4999
5202
 
5203
+ if (protocol && platform.protocols.indexOf(protocol) === -1) {
5204
+ reject(
5205
+ new core_AxiosError(
5206
+ 'Unsupported protocol ' + protocol + ':',
5207
+ core_AxiosError.ERR_BAD_REQUEST,
5208
+ config
5209
+ )
5210
+ );
5211
+ return;
5212
+ }
5000
5213
 
5001
- // Send the request
5002
- request.send(requestData || null);
5214
+ // Send the request
5215
+ request.send(requestData || null);
5216
+ });
5003
5217
  });
5004
- });
5005
5218
 
5006
5219
  ;// ../../../node_modules/axios/lib/helpers/composeSignals.js
5007
5220
 
@@ -5009,7 +5222,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
5009
5222
 
5010
5223
 
5011
5224
  const composeSignals = (signals, timeout) => {
5012
- const {length} = (signals = signals ? signals.filter(Boolean) : []);
5225
+ const { length } = (signals = signals ? signals.filter(Boolean) : []);
5013
5226
 
5014
5227
  if (timeout || length) {
5015
5228
  let controller = new AbortController();
@@ -5021,40 +5234,47 @@ const composeSignals = (signals, timeout) => {
5021
5234
  aborted = true;
5022
5235
  unsubscribe();
5023
5236
  const err = reason instanceof Error ? reason : this.reason;
5024
- controller.abort(err instanceof core_AxiosError ? err : new cancel_CanceledError(err instanceof Error ? err.message : err));
5237
+ controller.abort(
5238
+ err instanceof core_AxiosError
5239
+ ? err
5240
+ : new cancel_CanceledError(err instanceof Error ? err.message : err)
5241
+ );
5025
5242
  }
5026
- }
5243
+ };
5027
5244
 
5028
- let timer = timeout && setTimeout(() => {
5029
- timer = null;
5030
- onabort(new core_AxiosError(`timeout of ${timeout}ms exceeded`, core_AxiosError.ETIMEDOUT))
5031
- }, timeout)
5245
+ let timer =
5246
+ timeout &&
5247
+ setTimeout(() => {
5248
+ timer = null;
5249
+ onabort(new core_AxiosError(`timeout of ${timeout}ms exceeded`, core_AxiosError.ETIMEDOUT));
5250
+ }, timeout);
5032
5251
 
5033
5252
  const unsubscribe = () => {
5034
5253
  if (signals) {
5035
5254
  timer && clearTimeout(timer);
5036
5255
  timer = null;
5037
- signals.forEach(signal => {
5038
- signal.unsubscribe ? signal.unsubscribe(onabort) : signal.removeEventListener('abort', onabort);
5256
+ signals.forEach((signal) => {
5257
+ signal.unsubscribe
5258
+ ? signal.unsubscribe(onabort)
5259
+ : signal.removeEventListener('abort', onabort);
5039
5260
  });
5040
5261
  signals = null;
5041
5262
  }
5042
- }
5263
+ };
5043
5264
 
5044
5265
  signals.forEach((signal) => signal.addEventListener('abort', onabort));
5045
5266
 
5046
- const {signal} = controller;
5267
+ const { signal } = controller;
5047
5268
 
5048
5269
  signal.unsubscribe = () => utils.asap(unsubscribe);
5049
5270
 
5050
5271
  return signal;
5051
5272
  }
5052
- }
5273
+ };
5053
5274
 
5054
5275
  /* harmony default export */ const helpers_composeSignals = (composeSignals);
5055
5276
 
5056
5277
  ;// ../../../node_modules/axios/lib/helpers/trackStream.js
5057
-
5058
5278
  const streamChunk = function* (chunk, chunkSize) {
5059
5279
  let len = chunk.byteLength;
5060
5280
 
@@ -5071,13 +5291,13 @@ const streamChunk = function* (chunk, chunkSize) {
5071
5291
  yield chunk.slice(pos, end);
5072
5292
  pos = end;
5073
5293
  }
5074
- }
5294
+ };
5075
5295
 
5076
5296
  const readBytes = async function* (iterable, chunkSize) {
5077
5297
  for await (const chunk of readStream(iterable)) {
5078
5298
  yield* streamChunk(chunk, chunkSize);
5079
5299
  }
5080
- }
5300
+ };
5081
5301
 
5082
5302
  const readStream = async function* (stream) {
5083
5303
  if (stream[Symbol.asyncIterator]) {
@@ -5088,7 +5308,7 @@ const readStream = async function* (stream) {
5088
5308
  const reader = stream.getReader();
5089
5309
  try {
5090
5310
  for (;;) {
5091
- const {done, value} = await reader.read();
5311
+ const { done, value } = await reader.read();
5092
5312
  if (done) {
5093
5313
  break;
5094
5314
  }
@@ -5097,7 +5317,7 @@ const readStream = async function* (stream) {
5097
5317
  } finally {
5098
5318
  await reader.cancel();
5099
5319
  }
5100
- }
5320
+ };
5101
5321
 
5102
5322
  const trackStream = (stream, chunkSize, onProgress, onFinish) => {
5103
5323
  const iterator = readBytes(stream, chunkSize);
@@ -5109,38 +5329,41 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
5109
5329
  done = true;
5110
5330
  onFinish && onFinish(e);
5111
5331
  }
5112
- }
5332
+ };
5113
5333
 
5114
- return new ReadableStream({
5115
- async pull(controller) {
5116
- try {
5117
- const {done, value} = await iterator.next();
5334
+ return new ReadableStream(
5335
+ {
5336
+ async pull(controller) {
5337
+ try {
5338
+ const { done, value } = await iterator.next();
5118
5339
 
5119
- if (done) {
5120
- _onFinish();
5121
- controller.close();
5122
- return;
5123
- }
5340
+ if (done) {
5341
+ _onFinish();
5342
+ controller.close();
5343
+ return;
5344
+ }
5124
5345
 
5125
- let len = value.byteLength;
5126
- if (onProgress) {
5127
- let loadedBytes = bytes += len;
5128
- onProgress(loadedBytes);
5346
+ let len = value.byteLength;
5347
+ if (onProgress) {
5348
+ let loadedBytes = (bytes += len);
5349
+ onProgress(loadedBytes);
5350
+ }
5351
+ controller.enqueue(new Uint8Array(value));
5352
+ } catch (err) {
5353
+ _onFinish(err);
5354
+ throw err;
5129
5355
  }
5130
- controller.enqueue(new Uint8Array(value));
5131
- } catch (err) {
5132
- _onFinish(err);
5133
- throw err;
5134
- }
5356
+ },
5357
+ cancel(reason) {
5358
+ _onFinish(reason);
5359
+ return iterator.return();
5360
+ },
5135
5361
  },
5136
- cancel(reason) {
5137
- _onFinish(reason);
5138
- return iterator.return();
5362
+ {
5363
+ highWaterMark: 2,
5139
5364
  }
5140
- }, {
5141
- highWaterMark: 2
5142
- })
5143
- }
5365
+ );
5366
+ };
5144
5367
 
5145
5368
  ;// ../../../node_modules/axios/lib/adapters/fetch.js
5146
5369
 
@@ -5155,31 +5378,33 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
5155
5378
 
5156
5379
  const DEFAULT_CHUNK_SIZE = 64 * 1024;
5157
5380
 
5158
- const {isFunction: fetch_isFunction} = utils;
5381
+ const { isFunction: fetch_isFunction } = utils;
5159
5382
 
5160
- const globalFetchAPI = (({Request, Response}) => ({
5161
- Request, Response
5383
+ const globalFetchAPI = (({ Request, Response }) => ({
5384
+ Request,
5385
+ Response,
5162
5386
  }))(utils.global);
5163
5387
 
5164
- const {
5165
- ReadableStream: fetch_ReadableStream, TextEncoder
5166
- } = utils.global;
5167
-
5388
+ const { ReadableStream: fetch_ReadableStream, TextEncoder } = utils.global;
5168
5389
 
5169
5390
  const test = (fn, ...args) => {
5170
5391
  try {
5171
5392
  return !!fn(...args);
5172
5393
  } catch (e) {
5173
- return false
5394
+ return false;
5174
5395
  }
5175
- }
5396
+ };
5176
5397
 
5177
5398
  const factory = (env) => {
5178
- env = utils.merge.call({
5179
- skipUndefined: true
5180
- }, globalFetchAPI, env);
5399
+ env = utils.merge.call(
5400
+ {
5401
+ skipUndefined: true,
5402
+ },
5403
+ globalFetchAPI,
5404
+ env
5405
+ );
5181
5406
 
5182
- const {fetch: envFetch, Request, Response} = env;
5407
+ const { fetch: envFetch, Request, Response } = env;
5183
5408
  const isFetchSupported = envFetch ? fetch_isFunction(envFetch) : typeof fetch === 'function';
5184
5409
  const isRequestSupported = fetch_isFunction(Request);
5185
5410
  const isResponseSupported = fetch_isFunction(Response);
@@ -5190,46 +5415,65 @@ const factory = (env) => {
5190
5415
 
5191
5416
  const isReadableStreamSupported = isFetchSupported && fetch_isFunction(fetch_ReadableStream);
5192
5417
 
5193
- const encodeText = isFetchSupported && (typeof TextEncoder === 'function' ?
5194
- ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) :
5195
- async (str) => new Uint8Array(await new Request(str).arrayBuffer())
5196
- );
5418
+ const encodeText =
5419
+ isFetchSupported &&
5420
+ (typeof TextEncoder === 'function'
5421
+ ? (
5422
+ (encoder) => (str) =>
5423
+ encoder.encode(str)
5424
+ )(new TextEncoder())
5425
+ : async (str) => new Uint8Array(await new Request(str).arrayBuffer()));
5197
5426
 
5198
- const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
5199
- let duplexAccessed = false;
5427
+ const supportsRequestStream =
5428
+ isRequestSupported &&
5429
+ isReadableStreamSupported &&
5430
+ test(() => {
5431
+ let duplexAccessed = false;
5200
5432
 
5201
- const hasContentType = new Request(platform.origin, {
5202
- body: new fetch_ReadableStream(),
5203
- method: 'POST',
5204
- get duplex() {
5205
- duplexAccessed = true;
5206
- return 'half';
5207
- },
5208
- }).headers.has('Content-Type');
5433
+ const body = new fetch_ReadableStream();
5209
5434
 
5210
- return duplexAccessed && !hasContentType;
5211
- });
5435
+ const hasContentType = new Request(platform.origin, {
5436
+ body,
5437
+ method: 'POST',
5438
+ get duplex() {
5439
+ duplexAccessed = true;
5440
+ return 'half';
5441
+ },
5442
+ }).headers.has('Content-Type');
5443
+
5444
+ body.cancel();
5445
+
5446
+ return duplexAccessed && !hasContentType;
5447
+ });
5212
5448
 
5213
- const supportsResponseStream = isResponseSupported && isReadableStreamSupported &&
5449
+ const supportsResponseStream =
5450
+ isResponseSupported &&
5451
+ isReadableStreamSupported &&
5214
5452
  test(() => utils.isReadableStream(new Response('').body));
5215
5453
 
5216
5454
  const resolvers = {
5217
- stream: supportsResponseStream && ((res) => res.body)
5455
+ stream: supportsResponseStream && ((res) => res.body),
5218
5456
  };
5219
5457
 
5220
- isFetchSupported && ((() => {
5221
- ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {
5222
- !resolvers[type] && (resolvers[type] = (res, config) => {
5223
- let method = res && res[type];
5458
+ isFetchSupported &&
5459
+ (() => {
5460
+ ['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {
5461
+ !resolvers[type] &&
5462
+ (resolvers[type] = (res, config) => {
5463
+ let method = res && res[type];
5224
5464
 
5225
- if (method) {
5226
- return method.call(res);
5227
- }
5465
+ if (method) {
5466
+ return method.call(res);
5467
+ }
5228
5468
 
5229
- throw new core_AxiosError(`Response type '${type}' is not supported`, core_AxiosError.ERR_NOT_SUPPORT, config);
5230
- })
5231
- });
5232
- })());
5469
+ throw new core_AxiosError(
5470
+ `Response type '${type}' is not supported`,
5471
+ core_AxiosError.ERR_NOT_SUPPORT,
5472
+ config
5473
+ );
5474
+ });
5475
+ });
5476
+ })();
5233
5477
 
5234
5478
  const getBodyLength = async (body) => {
5235
5479
  if (body == null) {
@@ -5259,13 +5503,13 @@ const factory = (env) => {
5259
5503
  if (utils.isString(body)) {
5260
5504
  return (await encodeText(body)).byteLength;
5261
5505
  }
5262
- }
5506
+ };
5263
5507
 
5264
5508
  const resolveBodyLength = async (headers, body) => {
5265
5509
  const length = utils.toFiniteNumber(headers.getContentLength());
5266
5510
 
5267
5511
  return length == null ? getBodyLength(body) : length;
5268
- }
5512
+ };
5269
5513
 
5270
5514
  return async (config) => {
5271
5515
  let {
@@ -5280,38 +5524,47 @@ const factory = (env) => {
5280
5524
  responseType,
5281
5525
  headers,
5282
5526
  withCredentials = 'same-origin',
5283
- fetchOptions
5527
+ fetchOptions,
5284
5528
  } = resolveConfig(config);
5285
5529
 
5286
5530
  let _fetch = envFetch || fetch;
5287
5531
 
5288
5532
  responseType = responseType ? (responseType + '').toLowerCase() : 'text';
5289
5533
 
5290
- let composedSignal = helpers_composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
5534
+ let composedSignal = helpers_composeSignals(
5535
+ [signal, cancelToken && cancelToken.toAbortSignal()],
5536
+ timeout
5537
+ );
5291
5538
 
5292
5539
  let request = null;
5293
5540
 
5294
- const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
5295
- composedSignal.unsubscribe();
5296
- });
5541
+ const unsubscribe =
5542
+ composedSignal &&
5543
+ composedSignal.unsubscribe &&
5544
+ (() => {
5545
+ composedSignal.unsubscribe();
5546
+ });
5297
5547
 
5298
5548
  let requestContentLength;
5299
5549
 
5300
5550
  try {
5301
5551
  if (
5302
- onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head' &&
5552
+ onUploadProgress &&
5553
+ supportsRequestStream &&
5554
+ method !== 'get' &&
5555
+ method !== 'head' &&
5303
5556
  (requestContentLength = await resolveBodyLength(headers, data)) !== 0
5304
5557
  ) {
5305
5558
  let _request = new Request(url, {
5306
5559
  method: 'POST',
5307
5560
  body: data,
5308
- duplex: "half"
5561
+ duplex: 'half',
5309
5562
  });
5310
5563
 
5311
5564
  let contentTypeHeader;
5312
5565
 
5313
5566
  if (utils.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
5314
- headers.setContentType(contentTypeHeader)
5567
+ headers.setContentType(contentTypeHeader);
5315
5568
  }
5316
5569
 
5317
5570
  if (_request.body) {
@@ -5330,7 +5583,7 @@ const factory = (env) => {
5330
5583
 
5331
5584
  // Cloudflare Workers throws when credentials are defined
5332
5585
  // see https://github.com/cloudflare/workerd/issues/902
5333
- const isCredentialsSupported = isRequestSupported && "credentials" in Request.prototype;
5586
+ const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
5334
5587
 
5335
5588
  const resolvedOptions = {
5336
5589
  ...fetchOptions,
@@ -5338,29 +5591,35 @@ const factory = (env) => {
5338
5591
  method: method.toUpperCase(),
5339
5592
  headers: headers.normalize().toJSON(),
5340
5593
  body: data,
5341
- duplex: "half",
5342
- credentials: isCredentialsSupported ? withCredentials : undefined
5594
+ duplex: 'half',
5595
+ credentials: isCredentialsSupported ? withCredentials : undefined,
5343
5596
  };
5344
5597
 
5345
5598
  request = isRequestSupported && new Request(url, resolvedOptions);
5346
5599
 
5347
- let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions));
5600
+ let response = await (isRequestSupported
5601
+ ? _fetch(request, fetchOptions)
5602
+ : _fetch(url, resolvedOptions));
5348
5603
 
5349
- const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
5604
+ const isStreamResponse =
5605
+ supportsResponseStream && (responseType === 'stream' || responseType === 'response');
5350
5606
 
5351
5607
  if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
5352
5608
  const options = {};
5353
5609
 
5354
- ['status', 'statusText', 'headers'].forEach(prop => {
5610
+ ['status', 'statusText', 'headers'].forEach((prop) => {
5355
5611
  options[prop] = response[prop];
5356
5612
  });
5357
5613
 
5358
5614
  const responseContentLength = utils.toFiniteNumber(response.headers.get('content-length'));
5359
5615
 
5360
- const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
5361
- responseContentLength,
5362
- progressEventReducer(asyncDecorator(onDownloadProgress), true)
5363
- ) || [];
5616
+ const [onProgress, flush] =
5617
+ (onDownloadProgress &&
5618
+ progressEventDecorator(
5619
+ responseContentLength,
5620
+ progressEventReducer(asyncDecorator(onDownloadProgress), true)
5621
+ )) ||
5622
+ [];
5364
5623
 
5365
5624
  response = new Response(
5366
5625
  trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
@@ -5373,7 +5632,10 @@ const factory = (env) => {
5373
5632
 
5374
5633
  responseType = responseType || 'text';
5375
5634
 
5376
- let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text'](response, config);
5635
+ let responseData = await resolvers[utils.findKey(resolvers, responseType) || 'text'](
5636
+ response,
5637
+ config
5638
+ );
5377
5639
 
5378
5640
  !isStreamResponse && unsubscribe && unsubscribe();
5379
5641
 
@@ -5384,43 +5646,50 @@ const factory = (env) => {
5384
5646
  status: response.status,
5385
5647
  statusText: response.statusText,
5386
5648
  config,
5387
- request
5388
- })
5389
- })
5649
+ request,
5650
+ });
5651
+ });
5390
5652
  } catch (err) {
5391
5653
  unsubscribe && unsubscribe();
5392
5654
 
5393
5655
  if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
5394
5656
  throw Object.assign(
5395
- new core_AxiosError('Network Error', core_AxiosError.ERR_NETWORK, config, request, err && err.response),
5657
+ new core_AxiosError(
5658
+ 'Network Error',
5659
+ core_AxiosError.ERR_NETWORK,
5660
+ config,
5661
+ request,
5662
+ err && err.response
5663
+ ),
5396
5664
  {
5397
- cause: err.cause || err
5665
+ cause: err.cause || err,
5398
5666
  }
5399
- )
5667
+ );
5400
5668
  }
5401
5669
 
5402
5670
  throw core_AxiosError.from(err, err && err.code, config, request, err && err.response);
5403
5671
  }
5404
- }
5405
- }
5672
+ };
5673
+ };
5406
5674
 
5407
5675
  const seedCache = new Map();
5408
5676
 
5409
5677
  const getFetch = (config) => {
5410
5678
  let env = (config && config.env) || {};
5411
- const {fetch, Request, Response} = env;
5412
- const seeds = [
5413
- Request, Response, fetch
5414
- ];
5679
+ const { fetch, Request, Response } = env;
5680
+ const seeds = [Request, Response, fetch];
5415
5681
 
5416
- let len = seeds.length, i = len,
5417
- seed, target, map = seedCache;
5682
+ let len = seeds.length,
5683
+ i = len,
5684
+ seed,
5685
+ target,
5686
+ map = seedCache;
5418
5687
 
5419
5688
  while (i--) {
5420
5689
  seed = seeds[i];
5421
5690
  target = map.get(seed);
5422
5691
 
5423
- target === undefined && map.set(seed, target = (i ? new Map() : factory(env)))
5692
+ target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));
5424
5693
 
5425
5694
  map = target;
5426
5695
  }
@@ -5445,7 +5714,7 @@ const adapter = getFetch();
5445
5714
  * - `http` for Node.js
5446
5715
  * - `xhr` for browsers
5447
5716
  * - `fetch` for fetch API-based requests
5448
- *
5717
+ *
5449
5718
  * @type {Object<string, Function|Object>}
5450
5719
  */
5451
5720
  const knownAdapters = {
@@ -5453,7 +5722,7 @@ const knownAdapters = {
5453
5722
  xhr: xhr,
5454
5723
  fetch: {
5455
5724
  get: getFetch,
5456
- }
5725
+ },
5457
5726
  };
5458
5727
 
5459
5728
  // Assign adapter names for easier debugging and identification
@@ -5470,7 +5739,7 @@ utils.forEach(knownAdapters, (fn, value) => {
5470
5739
 
5471
5740
  /**
5472
5741
  * Render a rejection reason string for unknown or unsupported adapters
5473
- *
5742
+ *
5474
5743
  * @param {string} reason
5475
5744
  * @returns {string}
5476
5745
  */
@@ -5478,17 +5747,18 @@ const renderReason = (reason) => `- ${reason}`;
5478
5747
 
5479
5748
  /**
5480
5749
  * Check if the adapter is resolved (function, null, or false)
5481
- *
5750
+ *
5482
5751
  * @param {Function|null|false} adapter
5483
5752
  * @returns {boolean}
5484
5753
  */
5485
- const isResolvedHandle = (adapter) => utils.isFunction(adapter) || adapter === null || adapter === false;
5754
+ const isResolvedHandle = (adapter) =>
5755
+ utils.isFunction(adapter) || adapter === null || adapter === false;
5486
5756
 
5487
5757
  /**
5488
5758
  * Get the first suitable adapter from the provided list.
5489
5759
  * Tries each adapter in order until a supported one is found.
5490
5760
  * Throws an AxiosError if no adapter is suitable.
5491
- *
5761
+ *
5492
5762
  * @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
5493
5763
  * @param {Object} config - Axios request configuration
5494
5764
  * @throws {AxiosError} If no suitable adapter is available
@@ -5525,14 +5795,17 @@ function getAdapter(adapters, config) {
5525
5795
  }
5526
5796
 
5527
5797
  if (!adapter) {
5528
- const reasons = Object.entries(rejectedReasons)
5529
- .map(([id, state]) => `adapter ${id} ` +
5798
+ const reasons = Object.entries(rejectedReasons).map(
5799
+ ([id, state]) =>
5800
+ `adapter ${id} ` +
5530
5801
  (state === false ? 'is not supported by the environment' : 'is not available in the build')
5531
- );
5802
+ );
5532
5803
 
5533
- let s = length ?
5534
- (reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
5535
- 'as no adapter specified';
5804
+ let s = length
5805
+ ? reasons.length > 1
5806
+ ? 'since :\n' + reasons.map(renderReason).join('\n')
5807
+ : ' ' + renderReason(reasons[0])
5808
+ : 'as no adapter specified';
5536
5809
 
5537
5810
  throw new core_AxiosError(
5538
5811
  `There is no suitable adapter to dispatch the request ` + s,
@@ -5557,7 +5830,7 @@ function getAdapter(adapters, config) {
5557
5830
  * Exposes all known adapters
5558
5831
  * @type {Object<string, Function|Object>}
5559
5832
  */
5560
- adapters: knownAdapters
5833
+ adapters: knownAdapters,
5561
5834
  });
5562
5835
 
5563
5836
  ;// ../../../node_modules/axios/lib/core/dispatchRequest.js
@@ -5600,10 +5873,7 @@ function dispatchRequest(config) {
5600
5873
  config.headers = core_AxiosHeaders.from(config.headers);
5601
5874
 
5602
5875
  // Transform request data
5603
- config.data = transformData.call(
5604
- config,
5605
- config.transformRequest
5606
- );
5876
+ config.data = transformData.call(config, config.transformRequest);
5607
5877
 
5608
5878
  if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
5609
5879
  config.headers.setContentType('application/x-www-form-urlencoded', false);
@@ -5611,40 +5881,39 @@ function dispatchRequest(config) {
5611
5881
 
5612
5882
  const adapter = adapters.getAdapter(config.adapter || lib_defaults.adapter, config);
5613
5883
 
5614
- return adapter(config).then(function onAdapterResolution(response) {
5615
- throwIfCancellationRequested(config);
5616
-
5617
- // Transform response data
5618
- response.data = transformData.call(
5619
- config,
5620
- config.transformResponse,
5621
- response
5622
- );
5623
-
5624
- response.headers = core_AxiosHeaders.from(response.headers);
5625
-
5626
- return response;
5627
- }, function onAdapterRejection(reason) {
5628
- if (!isCancel(reason)) {
5884
+ return adapter(config).then(
5885
+ function onAdapterResolution(response) {
5629
5886
  throwIfCancellationRequested(config);
5630
5887
 
5631
5888
  // Transform response data
5632
- if (reason && reason.response) {
5633
- reason.response.data = transformData.call(
5634
- config,
5635
- config.transformResponse,
5636
- reason.response
5637
- );
5638
- reason.response.headers = core_AxiosHeaders.from(reason.response.headers);
5889
+ response.data = transformData.call(config, config.transformResponse, response);
5890
+
5891
+ response.headers = core_AxiosHeaders.from(response.headers);
5892
+
5893
+ return response;
5894
+ },
5895
+ function onAdapterRejection(reason) {
5896
+ if (!isCancel(reason)) {
5897
+ throwIfCancellationRequested(config);
5898
+
5899
+ // Transform response data
5900
+ if (reason && reason.response) {
5901
+ reason.response.data = transformData.call(
5902
+ config,
5903
+ config.transformResponse,
5904
+ reason.response
5905
+ );
5906
+ reason.response.headers = core_AxiosHeaders.from(reason.response.headers);
5907
+ }
5639
5908
  }
5640
- }
5641
5909
 
5642
- return Promise.reject(reason);
5643
- });
5910
+ return Promise.reject(reason);
5911
+ }
5912
+ );
5644
5913
  }
5645
5914
 
5646
5915
  ;// ../../../node_modules/axios/lib/env/data.js
5647
- const VERSION = "1.13.5";
5916
+ const VERSION = "1.15.0";
5648
5917
  ;// ../../../node_modules/axios/lib/helpers/validator.js
5649
5918
 
5650
5919
 
@@ -5673,7 +5942,15 @@ const deprecatedWarnings = {};
5673
5942
  */
5674
5943
  validators.transitional = function transitional(validator, version, message) {
5675
5944
  function formatMessage(opt, desc) {
5676
- return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
5945
+ return (
5946
+ '[Axios v' +
5947
+ VERSION +
5948
+ "] Transitional option '" +
5949
+ opt +
5950
+ "'" +
5951
+ desc +
5952
+ (message ? '. ' + message : '')
5953
+ );
5677
5954
  }
5678
5955
 
5679
5956
  // eslint-disable-next-line func-names
@@ -5705,7 +5982,7 @@ validators.spelling = function spelling(correctSpelling) {
5705
5982
  // eslint-disable-next-line no-console
5706
5983
  console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
5707
5984
  return true;
5708
- }
5985
+ };
5709
5986
  };
5710
5987
 
5711
5988
  /**
@@ -5731,7 +6008,10 @@ function assertOptions(options, schema, allowUnknown) {
5731
6008
  const value = options[opt];
5732
6009
  const result = value === undefined || validator(value, opt, options);
5733
6010
  if (result !== true) {
5734
- throw new core_AxiosError('option ' + opt + ' must be ' + result, core_AxiosError.ERR_BAD_OPTION_VALUE);
6011
+ throw new core_AxiosError(
6012
+ 'option ' + opt + ' must be ' + result,
6013
+ core_AxiosError.ERR_BAD_OPTION_VALUE
6014
+ );
5735
6015
  }
5736
6016
  continue;
5737
6017
  }
@@ -5743,7 +6023,7 @@ function assertOptions(options, schema, allowUnknown) {
5743
6023
 
5744
6024
  /* harmony default export */ const validator = ({
5745
6025
  assertOptions,
5746
- validators
6026
+ validators,
5747
6027
  });
5748
6028
 
5749
6029
  ;// ../../../node_modules/axios/lib/core/Axios.js
@@ -5773,7 +6053,7 @@ class Axios {
5773
6053
  this.defaults = instanceConfig || {};
5774
6054
  this.interceptors = {
5775
6055
  request: new core_InterceptorManager(),
5776
- response: new core_InterceptorManager()
6056
+ response: new core_InterceptorManager(),
5777
6057
  };
5778
6058
  }
5779
6059
 
@@ -5795,13 +6075,29 @@ class Axios {
5795
6075
  Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());
5796
6076
 
5797
6077
  // slice off the Error: ... line
5798
- const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
6078
+ const stack = (() => {
6079
+ if (!dummy.stack) {
6080
+ return '';
6081
+ }
6082
+
6083
+ const firstNewlineIndex = dummy.stack.indexOf('\n');
6084
+
6085
+ return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1);
6086
+ })();
5799
6087
  try {
5800
6088
  if (!err.stack) {
5801
6089
  err.stack = stack;
5802
6090
  // match without the 2 top stack lines
5803
- } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
5804
- err.stack += '\n' + stack
6091
+ } else if (stack) {
6092
+ const firstNewlineIndex = stack.indexOf('\n');
6093
+ const secondNewlineIndex =
6094
+ firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1);
6095
+ const stackWithoutTwoTopLines =
6096
+ secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1);
6097
+
6098
+ if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) {
6099
+ err.stack += '\n' + stack;
6100
+ }
5805
6101
  }
5806
6102
  } catch (e) {
5807
6103
  // ignore the case where "stack" is an un-writable property
@@ -5824,27 +6120,35 @@ class Axios {
5824
6120
 
5825
6121
  config = mergeConfig(this.defaults, config);
5826
6122
 
5827
- const {transitional, paramsSerializer, headers} = config;
6123
+ const { transitional, paramsSerializer, headers } = config;
5828
6124
 
5829
6125
  if (transitional !== undefined) {
5830
- validator.assertOptions(transitional, {
5831
- silentJSONParsing: Axios_validators.transitional(Axios_validators.boolean),
5832
- forcedJSONParsing: Axios_validators.transitional(Axios_validators.boolean),
5833
- clarifyTimeoutError: Axios_validators.transitional(Axios_validators.boolean),
5834
- legacyInterceptorReqResOrdering: Axios_validators.transitional(Axios_validators.boolean)
5835
- }, false);
6126
+ validator.assertOptions(
6127
+ transitional,
6128
+ {
6129
+ silentJSONParsing: Axios_validators.transitional(Axios_validators.boolean),
6130
+ forcedJSONParsing: Axios_validators.transitional(Axios_validators.boolean),
6131
+ clarifyTimeoutError: Axios_validators.transitional(Axios_validators.boolean),
6132
+ legacyInterceptorReqResOrdering: Axios_validators.transitional(Axios_validators.boolean),
6133
+ },
6134
+ false
6135
+ );
5836
6136
  }
5837
6137
 
5838
6138
  if (paramsSerializer != null) {
5839
6139
  if (utils.isFunction(paramsSerializer)) {
5840
6140
  config.paramsSerializer = {
5841
- serialize: paramsSerializer
5842
- }
6141
+ serialize: paramsSerializer,
6142
+ };
5843
6143
  } else {
5844
- validator.assertOptions(paramsSerializer, {
5845
- encode: Axios_validators.function,
5846
- serialize: Axios_validators.function
5847
- }, true);
6144
+ validator.assertOptions(
6145
+ paramsSerializer,
6146
+ {
6147
+ encode: Axios_validators.function,
6148
+ serialize: Axios_validators.function,
6149
+ },
6150
+ true
6151
+ );
5848
6152
  }
5849
6153
  }
5850
6154
 
@@ -5857,26 +6161,25 @@ class Axios {
5857
6161
  config.allowAbsoluteUrls = true;
5858
6162
  }
5859
6163
 
5860
- validator.assertOptions(config, {
5861
- baseUrl: Axios_validators.spelling('baseURL'),
5862
- withXsrfToken: Axios_validators.spelling('withXSRFToken')
5863
- }, true);
6164
+ validator.assertOptions(
6165
+ config,
6166
+ {
6167
+ baseUrl: Axios_validators.spelling('baseURL'),
6168
+ withXsrfToken: Axios_validators.spelling('withXSRFToken'),
6169
+ },
6170
+ true
6171
+ );
5864
6172
 
5865
6173
  // Set config.method
5866
6174
  config.method = (config.method || this.defaults.method || 'get').toLowerCase();
5867
6175
 
5868
6176
  // Flatten headers
5869
- let contextHeaders = headers && utils.merge(
5870
- headers.common,
5871
- headers[config.method]
5872
- );
6177
+ let contextHeaders = headers && utils.merge(headers.common, headers[config.method]);
5873
6178
 
5874
- headers && utils.forEach(
5875
- ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
5876
- (method) => {
6179
+ headers &&
6180
+ utils.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], (method) => {
5877
6181
  delete headers[method];
5878
- }
5879
- );
6182
+ });
5880
6183
 
5881
6184
  config.headers = core_AxiosHeaders.concat(contextHeaders, headers);
5882
6185
 
@@ -5891,7 +6194,8 @@ class Axios {
5891
6194
  synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
5892
6195
 
5893
6196
  const transitional = config.transitional || defaults_transitional;
5894
- const legacyInterceptorReqResOrdering = transitional && transitional.legacyInterceptorReqResOrdering;
6197
+ const legacyInterceptorReqResOrdering =
6198
+ transitional && transitional.legacyInterceptorReqResOrdering;
5895
6199
 
5896
6200
  if (legacyInterceptorReqResOrdering) {
5897
6201
  requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
@@ -5965,28 +6269,32 @@ class Axios {
5965
6269
  // Provide aliases for supported request methods
5966
6270
  utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
5967
6271
  /*eslint func-names:0*/
5968
- Axios.prototype[method] = function(url, config) {
5969
- return this.request(mergeConfig(config || {}, {
5970
- method,
5971
- url,
5972
- data: (config || {}).data
5973
- }));
6272
+ Axios.prototype[method] = function (url, config) {
6273
+ return this.request(
6274
+ mergeConfig(config || {}, {
6275
+ method,
6276
+ url,
6277
+ data: (config || {}).data,
6278
+ })
6279
+ );
5974
6280
  };
5975
6281
  });
5976
6282
 
5977
6283
  utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
5978
- /*eslint func-names:0*/
5979
-
5980
6284
  function generateHTTPMethod(isForm) {
5981
6285
  return function httpMethod(url, data, config) {
5982
- return this.request(mergeConfig(config || {}, {
5983
- method,
5984
- headers: isForm ? {
5985
- 'Content-Type': 'multipart/form-data'
5986
- } : {},
5987
- url,
5988
- data
5989
- }));
6286
+ return this.request(
6287
+ mergeConfig(config || {}, {
6288
+ method,
6289
+ headers: isForm
6290
+ ? {
6291
+ 'Content-Type': 'multipart/form-data',
6292
+ }
6293
+ : {},
6294
+ url,
6295
+ data,
6296
+ })
6297
+ );
5990
6298
  };
5991
6299
  }
5992
6300
 
@@ -6024,7 +6332,7 @@ class CancelToken {
6024
6332
  const token = this;
6025
6333
 
6026
6334
  // eslint-disable-next-line func-names
6027
- this.promise.then(cancel => {
6335
+ this.promise.then((cancel) => {
6028
6336
  if (!token._listeners) return;
6029
6337
 
6030
6338
  let i = token._listeners.length;
@@ -6036,10 +6344,10 @@ class CancelToken {
6036
6344
  });
6037
6345
 
6038
6346
  // eslint-disable-next-line func-names
6039
- this.promise.then = onfulfilled => {
6347
+ this.promise.then = (onfulfilled) => {
6040
6348
  let _resolve;
6041
6349
  // eslint-disable-next-line func-names
6042
- const promise = new Promise(resolve => {
6350
+ const promise = new Promise((resolve) => {
6043
6351
  token.subscribe(resolve);
6044
6352
  _resolve = resolve;
6045
6353
  }).then(onfulfilled);
@@ -6127,7 +6435,7 @@ class CancelToken {
6127
6435
  });
6128
6436
  return {
6129
6437
  token,
6130
- cancel
6438
+ cancel,
6131
6439
  };
6132
6440
  }
6133
6441
  }
@@ -6177,7 +6485,7 @@ function spread(callback) {
6177
6485
  * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
6178
6486
  */
6179
6487
  function isAxiosError(payload) {
6180
- return utils.isObject(payload) && (payload.isAxiosError === true);
6488
+ return utils.isObject(payload) && payload.isAxiosError === true;
6181
6489
  }
6182
6490
 
6183
6491
  ;// ../../../node_modules/axios/lib/helpers/HttpStatusCode.js
@@ -6292,10 +6600,10 @@ function createInstance(defaultConfig) {
6292
6600
  const instance = bind(core_Axios.prototype.request, context);
6293
6601
 
6294
6602
  // Copy axios.prototype to instance
6295
- utils.extend(instance, core_Axios.prototype, context, {allOwnKeys: true});
6603
+ utils.extend(instance, core_Axios.prototype, context, { allOwnKeys: true });
6296
6604
 
6297
6605
  // Copy context to instance
6298
- utils.extend(instance, context, null, {allOwnKeys: true});
6606
+ utils.extend(instance, context, null, { allOwnKeys: true });
6299
6607
 
6300
6608
  // Factory for creating new instances
6301
6609
  instance.create = function create(instanceConfig) {
@@ -6339,7 +6647,7 @@ axios.mergeConfig = mergeConfig;
6339
6647
 
6340
6648
  axios.AxiosHeaders = core_AxiosHeaders;
6341
6649
 
6342
- axios.formToJSON = thing => helpers_formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
6650
+ axios.formToJSON = (thing) => helpers_formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
6343
6651
 
6344
6652
  axios.getAdapter = adapters.getAdapter;
6345
6653
 
@@ -6372,16 +6680,16 @@ const {
6372
6680
  HttpStatusCode: axios_HttpStatusCode,
6373
6681
  formToJSON,
6374
6682
  getAdapter: axios_getAdapter,
6375
- mergeConfig: axios_mergeConfig
6683
+ mergeConfig: axios_mergeConfig,
6376
6684
  } = lib_axios;
6377
6685
 
6378
6686
 
6379
6687
 
6380
6688
 
6381
- /***/ }),
6689
+ /***/ },
6382
6690
 
6383
- /***/ 47911:
6384
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
6691
+ /***/ 47911
6692
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
6385
6693
 
6386
6694
  "use strict";
6387
6695
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -6464,10 +6772,10 @@ function bufferToTypedArray(wasmType, buffer) {
6464
6772
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (bufferToTypedArray);
6465
6773
  //# sourceMappingURL=buffer-to-typed-array.js.map
6466
6774
 
6467
- /***/ }),
6775
+ /***/ },
6468
6776
 
6469
- /***/ 46619:
6470
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
6777
+ /***/ 46619
6778
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
6471
6779
 
6472
6780
  "use strict";
6473
6781
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -6510,10 +6818,10 @@ function getTransferable(data, noCopy) {
6510
6818
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getTransferables);
6511
6819
  //# sourceMappingURL=get-transferables.js.map
6512
6820
 
6513
- /***/ }),
6821
+ /***/ },
6514
6822
 
6515
- /***/ 74112:
6516
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
6823
+ /***/ 74112
6824
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
6517
6825
 
6518
6826
  "use strict";
6519
6827
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -6527,10 +6835,10 @@ const FloatTypes = {
6527
6835
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FloatTypes);
6528
6836
  //# sourceMappingURL=float-types.js.map
6529
6837
 
6530
- /***/ }),
6838
+ /***/ },
6531
6839
 
6532
- /***/ 44835:
6533
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
6840
+ /***/ 44835
6841
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
6534
6842
 
6535
6843
  "use strict";
6536
6844
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -6553,10 +6861,10 @@ const IntTypes = {
6553
6861
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (IntTypes);
6554
6862
  //# sourceMappingURL=int-types.js.map
6555
6863
 
6556
- /***/ }),
6864
+ /***/ },
6557
6865
 
6558
- /***/ 16881:
6559
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
6866
+ /***/ 16881
6867
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
6560
6868
 
6561
6869
  "use strict";
6562
6870
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -6575,10 +6883,10 @@ const InterfaceTypes = {
6575
6883
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (InterfaceTypes);
6576
6884
  //# sourceMappingURL=interface-types.js.map
6577
6885
 
6578
- /***/ }),
6886
+ /***/ },
6579
6887
 
6580
- /***/ 27295:
6581
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
6888
+ /***/ 27295
6889
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
6582
6890
 
6583
6891
  "use strict";
6584
6892
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -6593,10 +6901,10 @@ function imageTransferables(image) {
6593
6901
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (imageTransferables);
6594
6902
  //# sourceMappingURL=image-transferables.js.map
6595
6903
 
6596
- /***/ }),
6904
+ /***/ },
6597
6905
 
6598
- /***/ 50295:
6599
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
6906
+ /***/ 50295
6907
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
6600
6908
 
6601
6909
  "use strict";
6602
6910
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -6613,10 +6921,10 @@ function meshTransferables(mesh) {
6613
6921
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (meshTransferables);
6614
6922
  //# sourceMappingURL=mesh-transferables.js.map
6615
6923
 
6616
- /***/ }),
6924
+ /***/ },
6617
6925
 
6618
- /***/ 3099:
6619
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
6926
+ /***/ 3099
6927
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
6620
6928
 
6621
6929
  "use strict";
6622
6930
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -6636,10 +6944,10 @@ function polyDataTransferables(polyData) {
6636
6944
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (polyDataTransferables);
6637
6945
  //# sourceMappingURL=poly-data-transferables.js.map
6638
6946
 
6639
- /***/ }),
6947
+ /***/ },
6640
6948
 
6641
- /***/ 8792:
6642
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
6949
+ /***/ 8792
6950
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
6643
6951
 
6644
6952
  "use strict";
6645
6953
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
@@ -6996,6 +7304,6 @@ function runPipelineEmscripten(pipelineModule, args, outputs, inputs) {
6996
7304
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (runPipelineEmscripten);
6997
7305
  //# sourceMappingURL=run-pipeline-emscripten.js.map
6998
7306
 
6999
- /***/ })
7307
+ /***/ }
7000
7308
 
7001
7309
  }]);