varsnap 1.12.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Varsnap.js v1.12.0 */
1
+ /*! Varsnap.js v1.14.0 */
2
2
  (function webpackUniversalModuleDefinition(root, factory) {
3
3
  if(typeof exports === 'object' && typeof module === 'object')
4
4
  module.exports = factory();
@@ -29,13 +29,13 @@ __webpack_require__.r(__webpack_exports__);
29
29
  /* harmony export */ varsnap: () => (/* binding */ varsnap),
30
30
  /* harmony export */ version: () => (/* binding */ version)
31
31
  /* harmony export */ });
32
- /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/axios.js");
32
+ /* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/axios.js");
33
33
 
34
34
  const produceURL = 'https://www.varsnap.com/api/snap/produce/';
35
35
  const consumeURL = 'https://www.varsnap.com/api/snap/consume/';
36
36
  const produceTrialURL = 'https://www.varsnap.com/api/trial/produce/';
37
37
  const trialGroupURL = 'https://www.varsnap.com/api/trial_group/';
38
- const version = '1.12.0';
38
+ const version = '1.14.0';
39
39
  const clientName = 'javascript.' + version;
40
40
  const defaultConfig = {
41
41
  varsnap: true,
@@ -176,7 +176,11 @@ class Producer {
176
176
  return true;
177
177
  }
178
178
  static serialize(data) {
179
- return JSON.stringify(data);
179
+ // Tag the payload with its format so the wire is self-describing and can
180
+ // grow other formats later. JavaScript only ever uses JSON (JSON.parse
181
+ // cannot execute code, so there is no unsafe-deserialization fallback like
182
+ // the Python client's pickle path).
183
+ return 'json:' + JSON.stringify(data);
180
184
  }
181
185
  static serialize_formatted(data) {
182
186
  return JSON.stringify(data, null, 2);
@@ -238,7 +242,10 @@ class Consumer {
238
242
  if (data === '') {
239
243
  return undefined;
240
244
  }
241
- return JSON.parse(data);
245
+ if (!data.startsWith('json:')) {
246
+ throw new Error('Unknown serialization format: ' + Util.limitString(data));
247
+ }
248
+ return JSON.parse(data.substring('json:'.length));
242
249
  }
243
250
  consume(trialGroup) {
244
251
  if (!this.isEnabled()) {
@@ -441,21 +448,21 @@ varsnap.runTests = runTests;
441
448
 
442
449
  /***/ },
443
450
 
444
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/adapters.js"
445
- /*!*************************************************************************************!*\
446
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/adapters.js ***!
447
- \*************************************************************************************/
451
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/adapters.js"
452
+ /*!********************************************************************************************************************************************!*\
453
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/adapters.js ***!
454
+ \********************************************************************************************************************************************/
448
455
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
449
456
 
450
457
  __webpack_require__.r(__webpack_exports__);
451
458
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
452
459
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
453
460
  /* harmony export */ });
454
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
455
- /* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./http.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/null.js");
456
- /* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./xhr.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/xhr.js");
457
- /* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fetch.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/fetch.js");
458
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js");
461
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
462
+ /* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./http.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/null.js");
463
+ /* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./xhr.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/xhr.js");
464
+ /* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fetch.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/fetch.js");
465
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
459
466
 
460
467
 
461
468
 
@@ -483,11 +490,13 @@ const knownAdapters = {
483
490
  _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(knownAdapters, (fn, value) => {
484
491
  if (fn) {
485
492
  try {
486
- Object.defineProperty(fn, 'name', { value });
493
+ // Null-proto descriptors so a polluted Object.prototype.get cannot turn
494
+ // these data descriptors into accessor descriptors on the way in.
495
+ Object.defineProperty(fn, 'name', { __proto__: null, value });
487
496
  } catch (e) {
488
497
  // eslint-disable-next-line no-empty
489
498
  }
490
- Object.defineProperty(fn, 'adapterName', { value });
499
+ Object.defineProperty(fn, 'adapterName', { __proto__: null, value });
491
500
  }
492
501
  });
493
502
 
@@ -563,7 +572,7 @@ function getAdapter(adapters, config) {
563
572
 
564
573
  throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__["default"](
565
574
  `There is no suitable adapter to dispatch the request ` + s,
566
- 'ERR_NOT_SUPPORT'
575
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__["default"].ERR_NOT_SUPPORT
567
576
  );
568
577
  }
569
578
 
@@ -590,10 +599,10 @@ function getAdapter(adapters, config) {
590
599
 
591
600
  /***/ },
592
601
 
593
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/fetch.js"
594
- /*!**********************************************************************************!*\
595
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/fetch.js ***!
596
- \**********************************************************************************/
602
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/fetch.js"
603
+ /*!*****************************************************************************************************************************************!*\
604
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/fetch.js ***!
605
+ \*****************************************************************************************************************************************/
597
606
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
598
607
 
599
608
  __webpack_require__.r(__webpack_exports__);
@@ -601,15 +610,21 @@ __webpack_require__.r(__webpack_exports__);
601
610
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
602
611
  /* harmony export */ getFetch: () => (/* binding */ getFetch)
603
612
  /* harmony export */ });
604
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js");
605
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
606
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js");
607
- /* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/composeSignals.js");
608
- /* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/trackStream.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/trackStream.js");
609
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js");
610
- /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/progressEventReducer.js");
611
- /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js");
612
- /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/settle.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/settle.js");
613
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
614
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
615
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
616
+ /* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/composeSignals.js");
617
+ /* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/trackStream.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/trackStream.js");
618
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
619
+ /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/progressEventReducer.js");
620
+ /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/resolveConfig.js");
621
+ /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/settle.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/settle.js");
622
+ /* harmony import */ var _helpers_estimateDataURLDecodedBytes_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../helpers/estimateDataURLDecodedBytes.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js");
623
+ /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../env/data.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/env/data.js");
624
+ /* harmony import */ var _helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../helpers/sanitizeHeaderValue.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js");
625
+
626
+
627
+
613
628
 
614
629
 
615
630
 
@@ -624,12 +639,34 @@ const DEFAULT_CHUNK_SIZE = 64 * 1024;
624
639
 
625
640
  const { isFunction } = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"];
626
641
 
627
- const globalFetchAPI = (({ Request, Response }) => ({
628
- Request,
629
- Response,
630
- }))(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].global);
642
+ /**
643
+ * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().
644
+ * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.
645
+ *
646
+ * @param {string} str The string to encode
647
+ *
648
+ * @returns {string} UTF-8 bytes as a Latin-1 string
649
+ */
650
+ const encodeUTF8 = (str) =>
651
+ encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>
652
+ String.fromCharCode(parseInt(hex, 16))
653
+ );
654
+
655
+ // Node's WHATWG URL parser returns `username` and `password` percent-encoded.
656
+ // Decode before composing the `auth` option so credentials such as
657
+ // `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the
658
+ // original value for malformed input so a bad encoding never throws.
659
+ const decodeURIComponentSafe = (value) => {
660
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(value)) {
661
+ return value;
662
+ }
631
663
 
632
- const { ReadableStream, TextEncoder } = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].global;
664
+ try {
665
+ return decodeURIComponent(value);
666
+ } catch (error) {
667
+ return value;
668
+ }
669
+ };
633
670
 
634
671
  const test = (fn, ...args) => {
635
672
  try {
@@ -639,12 +676,30 @@ const test = (fn, ...args) => {
639
676
  }
640
677
  };
641
678
 
679
+ const maybeWithAuthCredentials = (url) => {
680
+ const protocolIndex = url.indexOf('://');
681
+ let urlToCheck = url;
682
+ if (protocolIndex !== -1) {
683
+ urlToCheck = urlToCheck.slice(protocolIndex + 3);
684
+ }
685
+ return urlToCheck.includes('@') || urlToCheck.includes(':');
686
+ };
687
+
642
688
  const factory = (env) => {
689
+ const globalObject =
690
+ _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].global !== undefined && _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].global !== null
691
+ ? _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].global
692
+ : globalThis;
693
+ const { ReadableStream, TextEncoder } = globalObject;
694
+
643
695
  env = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].merge.call(
644
696
  {
645
697
  skipUndefined: true,
646
698
  },
647
- globalFetchAPI,
699
+ {
700
+ Request: globalObject.Request,
701
+ Response: globalObject.Response,
702
+ },
648
703
  env
649
704
  );
650
705
 
@@ -674,18 +729,20 @@ const factory = (env) => {
674
729
  test(() => {
675
730
  let duplexAccessed = false;
676
731
 
677
- const body = new ReadableStream();
678
-
679
- const hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin, {
680
- body,
732
+ const request = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin, {
733
+ body: new ReadableStream(),
681
734
  method: 'POST',
682
735
  get duplex() {
683
736
  duplexAccessed = true;
684
737
  return 'half';
685
738
  },
686
- }).headers.has('Content-Type');
739
+ });
687
740
 
688
- body.cancel();
741
+ const hasContentType = request.headers.has('Content-Type');
742
+
743
+ if (request.body != null) {
744
+ request.body.cancel();
745
+ }
689
746
 
690
747
  return duplexAccessed && !hasContentType;
691
748
  });
@@ -769,8 +826,14 @@ const factory = (env) => {
769
826
  headers,
770
827
  withCredentials = 'same-origin',
771
828
  fetchOptions,
829
+ maxContentLength,
830
+ maxBodyLength,
772
831
  } = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_7__["default"])(config);
773
832
 
833
+ const hasMaxContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNumber(maxContentLength) && maxContentLength > -1;
834
+ const hasMaxBodyLength = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNumber(maxBodyLength) && maxBodyLength > -1;
835
+ const own = (key) => (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(config, key) ? config[key] : undefined);
836
+
774
837
  let _fetch = envFetch || fetch;
775
838
 
776
839
  responseType = responseType ? (responseType + '').toLowerCase() : 'text';
@@ -791,34 +854,166 @@ const factory = (env) => {
791
854
 
792
855
  let requestContentLength;
793
856
 
857
+ // AxiosError we raise while the request body is being streamed. Captured
858
+ // by identity so the catch block can surface it directly, regardless of
859
+ // how the runtime wraps the resulting fetch rejection (undici exposes it
860
+ // as `err.cause`; some browsers drop the original error entirely).
861
+ let pendingBodyError = null;
862
+
863
+ const maxBodyLengthError = () =>
864
+ new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
865
+ 'Request body larger than maxBodyLength limit',
866
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_REQUEST,
867
+ config,
868
+ request
869
+ );
870
+
794
871
  try {
872
+ // HTTP basic authentication
873
+ let auth = undefined;
874
+ const configAuth = own('auth');
875
+
876
+ if (configAuth) {
877
+ const username = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].getSafeProp(configAuth, 'username') || '';
878
+ const password = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].getSafeProp(configAuth, 'password') || '';
879
+ auth = {
880
+ username,
881
+ password
882
+ };
883
+ }
884
+
885
+ if (maybeWithAuthCredentials(url)) {
886
+ const parsedURL = new URL(url, _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin);
887
+
888
+ if (!auth && (parsedURL.username || parsedURL.password)) {
889
+ const urlUsername = decodeURIComponentSafe(parsedURL.username);
890
+ const urlPassword = decodeURIComponentSafe(parsedURL.password);
891
+ auth = {
892
+ username: urlUsername,
893
+ password: urlPassword
894
+ };
895
+ }
896
+
897
+ if (parsedURL.username || parsedURL.password) {
898
+ parsedURL.username = '';
899
+ parsedURL.password = '';
900
+ url = parsedURL.href;
901
+ }
902
+ }
903
+
904
+ if (auth) {
905
+ headers.delete('authorization');
906
+ headers.set(
907
+ 'Authorization',
908
+ 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || '')))
909
+ );
910
+ }
911
+
912
+ // Enforce maxContentLength for data: URLs up-front so we never materialize
913
+ // an oversized payload. The HTTP adapter applies the same check (see http.js
914
+ // "if (protocol === 'data:')" branch).
915
+ if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) {
916
+ const estimated = (0,_helpers_estimateDataURLDecodedBytes_js__WEBPACK_IMPORTED_MODULE_9__["default"])(url);
917
+ if (estimated > maxContentLength) {
918
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
919
+ 'maxContentLength size of ' + maxContentLength + ' exceeded',
920
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_RESPONSE,
921
+ config,
922
+ request
923
+ );
924
+ }
925
+ }
926
+
927
+ // Enforce maxBodyLength against known-size bodies before dispatch using
928
+ // the body's *actual* size — never a caller-declared Content-Length,
929
+ // which could under-report to slip an oversized body past the check.
930
+ // Unknown-size streams return undefined here and are counted per-chunk
931
+ // below as fetch consumes them.
932
+ if (hasMaxBodyLength && method !== 'get' && method !== 'head') {
933
+ const outboundLength = await getBodyLength(data);
934
+ if (typeof outboundLength === 'number' && isFinite(outboundLength)) {
935
+ requestContentLength = outboundLength;
936
+ if (outboundLength > maxBodyLength) {
937
+ throw maxBodyLengthError();
938
+ }
939
+ }
940
+ }
941
+
942
+ // A streamed body under maxBodyLength must be counted as fetch consumes
943
+ // it; its size is never trusted from a caller-declared Content-Length.
944
+ const mustEnforceStreamBody =
945
+ hasMaxBodyLength && (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isReadableStream(data) || _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isStream(data));
946
+
947
+ const trackRequestStream = (stream, onProgress, flush) =>
948
+ (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__.trackStream)(
949
+ stream,
950
+ DEFAULT_CHUNK_SIZE,
951
+ (loadedBytes) => {
952
+ if (hasMaxBodyLength && loadedBytes > maxBodyLength) {
953
+ throw (pendingBodyError = maxBodyLengthError());
954
+ }
955
+ onProgress && onProgress(loadedBytes);
956
+ },
957
+ flush
958
+ );
959
+
795
960
  if (
796
- onUploadProgress &&
797
961
  supportsRequestStream &&
798
962
  method !== 'get' &&
799
963
  method !== 'head' &&
800
- (requestContentLength = await resolveBodyLength(headers, data)) !== 0
964
+ (onUploadProgress || mustEnforceStreamBody)
801
965
  ) {
802
- let _request = new Request(url, {
803
- method: 'POST',
804
- body: data,
805
- duplex: 'half',
806
- });
966
+ requestContentLength =
967
+ requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength;
807
968
 
808
- let contentTypeHeader;
969
+ // A declared length of 0 is only trusted to skip the wrap when we are
970
+ // not enforcing a stream limit (which must not rely on that header).
971
+ if (requestContentLength !== 0 || mustEnforceStreamBody) {
972
+ let _request = new Request(url, {
973
+ method: 'POST',
974
+ body: data,
975
+ duplex: 'half',
976
+ });
809
977
 
810
- if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
811
- headers.setContentType(contentTypeHeader);
812
- }
978
+ let contentTypeHeader;
813
979
 
814
- if (_request.body) {
815
- const [onProgress, flush] = (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventDecorator)(
816
- requestContentLength,
817
- (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.asyncDecorator)(onUploadProgress))
818
- );
980
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
981
+ headers.setContentType(contentTypeHeader);
982
+ }
983
+
984
+ if (_request.body) {
985
+ const [onProgress, flush] =
986
+ (onUploadProgress &&
987
+ (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventDecorator)(
988
+ requestContentLength,
989
+ (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.asyncDecorator)(onUploadProgress))
990
+ )) ||
991
+ [];
819
992
 
820
- data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
993
+ data = trackRequestStream(_request.body, onProgress, flush);
994
+ }
821
995
  }
996
+ } else if (
997
+ mustEnforceStreamBody &&
998
+ !isRequestSupported &&
999
+ isReadableStreamSupported &&
1000
+ method !== 'get' &&
1001
+ method !== 'head'
1002
+ ) {
1003
+ data = trackRequestStream(data);
1004
+ } else if (
1005
+ mustEnforceStreamBody &&
1006
+ isRequestSupported &&
1007
+ !supportsRequestStream &&
1008
+ method !== 'get' &&
1009
+ method !== 'head'
1010
+ ) {
1011
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
1012
+ 'Stream request bodies are not supported by the current fetch implementation',
1013
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NOT_SUPPORT,
1014
+ config,
1015
+ request
1016
+ );
822
1017
  }
823
1018
 
824
1019
  if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(withCredentials)) {
@@ -829,11 +1024,27 @@ const factory = (env) => {
829
1024
  // see https://github.com/cloudflare/workerd/issues/902
830
1025
  const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
831
1026
 
1027
+ // If data is FormData and Content-Type is multipart/form-data without boundary,
1028
+ // delete it so fetch can set it correctly with the boundary
1029
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFormData(data)) {
1030
+ const contentType = headers.getContentType();
1031
+ if (
1032
+ contentType &&
1033
+ /^multipart\/form-data/i.test(contentType) &&
1034
+ !/boundary=/i.test(contentType)
1035
+ ) {
1036
+ headers.delete('content-type');
1037
+ }
1038
+ }
1039
+
1040
+ // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js)
1041
+ headers.set('User-Agent', 'axios/' + _env_data_js__WEBPACK_IMPORTED_MODULE_10__.VERSION, false);
1042
+
832
1043
  const resolvedOptions = {
833
1044
  ...fetchOptions,
834
1045
  signal: composedSignal,
835
1046
  method: method.toUpperCase(),
836
- headers: headers.normalize().toJSON(),
1047
+ headers: (0,_helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_11__.toByteStringHeaderObject)(headers.normalize()),
837
1048
  body: data,
838
1049
  duplex: 'half',
839
1050
  credentials: isCredentialsSupported ? withCredentials : undefined,
@@ -845,17 +1056,37 @@ const factory = (env) => {
845
1056
  ? _fetch(request, fetchOptions)
846
1057
  : _fetch(url, resolvedOptions));
847
1058
 
1059
+ const responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_5__["default"].from(response.headers);
1060
+
1061
+ // Cheap pre-check: if the server honestly declares a content-length that
1062
+ // already exceeds the cap, reject before we start streaming.
1063
+ if (hasMaxContentLength) {
1064
+ const declaredLength = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].toFiniteNumber(responseHeaders.getContentLength());
1065
+ if (declaredLength != null && declaredLength > maxContentLength) {
1066
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
1067
+ 'maxContentLength size of ' + maxContentLength + ' exceeded',
1068
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_RESPONSE,
1069
+ config,
1070
+ request
1071
+ );
1072
+ }
1073
+ }
1074
+
848
1075
  const isStreamResponse =
849
1076
  supportsResponseStream && (responseType === 'stream' || responseType === 'response');
850
1077
 
851
- if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
1078
+ if (
1079
+ supportsResponseStream &&
1080
+ response.body &&
1081
+ (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe))
1082
+ ) {
852
1083
  const options = {};
853
1084
 
854
1085
  ['status', 'statusText', 'headers'].forEach((prop) => {
855
1086
  options[prop] = response[prop];
856
1087
  });
857
1088
 
858
- const responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].toFiniteNumber(response.headers.get('content-length'));
1089
+ const responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].toFiniteNumber(responseHeaders.getContentLength());
859
1090
 
860
1091
  const [onProgress, flush] =
861
1092
  (onDownloadProgress &&
@@ -865,8 +1096,24 @@ const factory = (env) => {
865
1096
  )) ||
866
1097
  [];
867
1098
 
1099
+ let bytesRead = 0;
1100
+ const onChunkProgress = (loadedBytes) => {
1101
+ if (hasMaxContentLength) {
1102
+ bytesRead = loadedBytes;
1103
+ if (bytesRead > maxContentLength) {
1104
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
1105
+ 'maxContentLength size of ' + maxContentLength + ' exceeded',
1106
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_RESPONSE,
1107
+ config,
1108
+ request
1109
+ );
1110
+ }
1111
+ }
1112
+ onProgress && onProgress(loadedBytes);
1113
+ };
1114
+
868
1115
  response = new Response(
869
- (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
1116
+ (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => {
870
1117
  flush && flush();
871
1118
  unsubscribe && unsubscribe();
872
1119
  }),
@@ -881,6 +1128,33 @@ const factory = (env) => {
881
1128
  config
882
1129
  );
883
1130
 
1131
+ // Fallback enforcement for environments without ReadableStream support
1132
+ // (legacy runtimes). Detect materialized size from typed output; skip
1133
+ // streams/Response passthrough since the user will read those themselves.
1134
+ if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) {
1135
+ let materializedSize;
1136
+ if (responseData != null) {
1137
+ if (typeof responseData.byteLength === 'number') {
1138
+ materializedSize = responseData.byteLength;
1139
+ } else if (typeof responseData.size === 'number') {
1140
+ materializedSize = responseData.size;
1141
+ } else if (typeof responseData === 'string') {
1142
+ materializedSize =
1143
+ typeof TextEncoder === 'function'
1144
+ ? new TextEncoder().encode(responseData).byteLength
1145
+ : responseData.length;
1146
+ }
1147
+ }
1148
+ if (typeof materializedSize === 'number' && materializedSize > maxContentLength) {
1149
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
1150
+ 'maxContentLength size of ' + maxContentLength + ' exceeded',
1151
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_RESPONSE,
1152
+ config,
1153
+ request
1154
+ );
1155
+ }
1156
+ }
1157
+
884
1158
  !isStreamResponse && unsubscribe && unsubscribe();
885
1159
 
886
1160
  return await new Promise((resolve, reject) => {
@@ -896,19 +1170,62 @@ const factory = (env) => {
896
1170
  } catch (err) {
897
1171
  unsubscribe && unsubscribe();
898
1172
 
1173
+ // Safari can surface fetch aborts as a DOMException-like object whose
1174
+ // branded getters throw. Prefer our composed signal reason before reading
1175
+ // the caught error, preserving timeout vs cancellation semantics.
1176
+ if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]) {
1177
+ const canceledError = composedSignal.reason;
1178
+ canceledError.config = config;
1179
+ request && (canceledError.request = request);
1180
+ if (err !== canceledError) {
1181
+ // Non-enumerable to match native Error `cause` semantics so loggers
1182
+ // don't recurse into circular fetch internals (see #7205).
1183
+ Object.defineProperty(canceledError, 'cause', {
1184
+ __proto__: null,
1185
+ value: err,
1186
+ writable: true,
1187
+ enumerable: false,
1188
+ configurable: true,
1189
+ });
1190
+ }
1191
+ throw canceledError;
1192
+ }
1193
+
1194
+ // Surface a maxBodyLength violation we raised while the request body was
1195
+ // being streamed. Matching by identity (rather than reading
1196
+ // `err.cause.isAxiosError`) keeps the error deterministic across runtimes
1197
+ // and avoids both prototype-pollution reads and mis-attributing a foreign
1198
+ // AxiosError that merely happened to land in `err.cause`.
1199
+ if (pendingBodyError) {
1200
+ request && !pendingBodyError.request && (pendingBodyError.request = request);
1201
+ throw pendingBodyError;
1202
+ }
1203
+
1204
+ // Re-throw AxiosErrors we raised synchronously (data: URL / content-length
1205
+ // pre-checks, response size enforcement) without re-wrapping them.
1206
+ if (err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]) {
1207
+ request && !err.request && (err.request = request);
1208
+ throw err;
1209
+ }
1210
+
899
1211
  if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
900
- throw Object.assign(
901
- new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
902
- 'Network Error',
903
- _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NETWORK,
904
- config,
905
- request,
906
- err && err.response
907
- ),
908
- {
909
- cause: err.cause || err,
910
- }
1212
+ const networkError = new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
1213
+ 'Network Error',
1214
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NETWORK,
1215
+ config,
1216
+ request,
1217
+ err && err.response
911
1218
  );
1219
+ // Non-enumerable to match native Error `cause` semantics so loggers
1220
+ // don't recurse into circular fetch internals (see #7205).
1221
+ Object.defineProperty(networkError, 'cause', {
1222
+ __proto__: null,
1223
+ value: err.cause || err,
1224
+ writable: true,
1225
+ enumerable: false,
1226
+ configurable: true,
1227
+ });
1228
+ throw networkError;
912
1229
  }
913
1230
 
914
1231
  throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(err, err && err.code, config, request, err && err.response);
@@ -948,26 +1265,28 @@ const adapter = getFetch();
948
1265
 
949
1266
  /***/ },
950
1267
 
951
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/xhr.js"
952
- /*!********************************************************************************!*\
953
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/xhr.js ***!
954
- \********************************************************************************/
1268
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/xhr.js"
1269
+ /*!***************************************************************************************************************************************!*\
1270
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/xhr.js ***!
1271
+ \***************************************************************************************************************************************/
955
1272
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
956
1273
 
957
1274
  __webpack_require__.r(__webpack_exports__);
958
1275
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
959
1276
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
960
1277
  /* harmony export */ });
961
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
962
- /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/settle.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/settle.js");
963
- /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../defaults/transitional.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js");
964
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js");
965
- /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js");
966
- /* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseProtocol.js");
967
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js");
968
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js");
969
- /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/progressEventReducer.js");
970
- /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js");
1278
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
1279
+ /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/settle.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/settle.js");
1280
+ /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../defaults/transitional.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js");
1281
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
1282
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js");
1283
+ /* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseProtocol.js");
1284
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
1285
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
1286
+ /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/progressEventReducer.js");
1287
+ /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/resolveConfig.js");
1288
+ /* harmony import */ var _helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../helpers/sanitizeHeaderValue.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js");
1289
+
971
1290
 
972
1291
 
973
1292
 
@@ -1061,7 +1380,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1061
1380
  // will return status as 0 even though it's a successful request
1062
1381
  if (
1063
1382
  request.status === 0 &&
1064
- !(request.responseURL && request.responseURL.indexOf('file:') === 0)
1383
+ !(request.responseURL && request.responseURL.startsWith('file:'))
1065
1384
  ) {
1066
1385
  return;
1067
1386
  }
@@ -1078,6 +1397,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1078
1397
  }
1079
1398
 
1080
1399
  reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED, config, request));
1400
+ done();
1081
1401
 
1082
1402
  // Clean up request
1083
1403
  request = null;
@@ -1093,6 +1413,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1093
1413
  // attach the underlying event for consumers who want details
1094
1414
  err.event = event || null;
1095
1415
  reject(err);
1416
+ done();
1096
1417
  request = null;
1097
1418
  };
1098
1419
 
@@ -1113,6 +1434,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1113
1434
  request
1114
1435
  )
1115
1436
  );
1437
+ done();
1116
1438
 
1117
1439
  // Clean up request
1118
1440
  request = null;
@@ -1123,7 +1445,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1123
1445
 
1124
1446
  // Add headers to the request
1125
1447
  if ('setRequestHeader' in request) {
1126
- _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
1448
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach((0,_helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_10__.toByteStringHeaderObject)(requestHeaders), function setRequestHeader(val, key) {
1127
1449
  request.setRequestHeader(key, val);
1128
1450
  });
1129
1451
  }
@@ -1162,6 +1484,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1162
1484
  }
1163
1485
  reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_4__["default"](null, config, request) : cancel);
1164
1486
  request.abort();
1487
+ done();
1165
1488
  request = null;
1166
1489
  };
1167
1490
 
@@ -1175,7 +1498,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1175
1498
 
1176
1499
  const protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_5__["default"])(_config.url);
1177
1500
 
1178
- if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].protocols.indexOf(protocol) === -1) {
1501
+ if (protocol && !_platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].protocols.includes(protocol)) {
1179
1502
  reject(
1180
1503
  new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
1181
1504
  'Unsupported protocol ' + protocol + ':',
@@ -1183,6 +1506,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1183
1506
  config
1184
1507
  )
1185
1508
  );
1509
+ done();
1186
1510
  return;
1187
1511
  }
1188
1512
 
@@ -1194,33 +1518,33 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1194
1518
 
1195
1519
  /***/ },
1196
1520
 
1197
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/axios.js"
1198
- /*!*************************************************************************!*\
1199
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/axios.js ***!
1200
- \*************************************************************************/
1521
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/axios.js"
1522
+ /*!********************************************************************************************************************************!*\
1523
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/axios.js ***!
1524
+ \********************************************************************************************************************************/
1201
1525
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1202
1526
 
1203
1527
  __webpack_require__.r(__webpack_exports__);
1204
1528
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1205
1529
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1206
1530
  /* harmony export */ });
1207
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
1208
- /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/bind.js");
1209
- /* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./core/Axios.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/Axios.js");
1210
- /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js");
1211
- /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js");
1212
- /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToJSON.js");
1213
- /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js");
1214
- /* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CancelToken.js");
1215
- /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./cancel/isCancel.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js");
1216
- /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./env/data.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js");
1217
- /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./helpers/toFormData.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js");
1218
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./core/AxiosError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js");
1219
- /* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/spread.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/spread.js");
1220
- /* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAxiosError.js");
1221
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js");
1222
- /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/adapters.js");
1223
- /* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/HttpStatusCode.js");
1531
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
1532
+ /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/bind.js");
1533
+ /* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./core/Axios.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/Axios.js");
1534
+ /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js");
1535
+ /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/index.js");
1536
+ /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToJSON.js");
1537
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js");
1538
+ /* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CancelToken.js");
1539
+ /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./cancel/isCancel.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/isCancel.js");
1540
+ /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./env/data.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/env/data.js");
1541
+ /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./helpers/toFormData.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js");
1542
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./core/AxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
1543
+ /* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/spread.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/spread.js");
1544
+ /* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAxiosError.js");
1545
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
1546
+ /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/adapters.js");
1547
+ /* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/HttpStatusCode.js");
1224
1548
 
1225
1549
 
1226
1550
 
@@ -1314,17 +1638,17 @@ axios.default = axios;
1314
1638
 
1315
1639
  /***/ },
1316
1640
 
1317
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CancelToken.js"
1318
- /*!**************************************************************************************!*\
1319
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CancelToken.js ***!
1320
- \**************************************************************************************/
1641
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CancelToken.js"
1642
+ /*!*********************************************************************************************************************************************!*\
1643
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CancelToken.js ***!
1644
+ \*********************************************************************************************************************************************/
1321
1645
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1322
1646
 
1323
1647
  __webpack_require__.r(__webpack_exports__);
1324
1648
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1325
1649
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1326
1650
  /* harmony export */ });
1327
- /* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js");
1651
+ /* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js");
1328
1652
 
1329
1653
 
1330
1654
 
@@ -1464,17 +1788,17 @@ class CancelToken {
1464
1788
 
1465
1789
  /***/ },
1466
1790
 
1467
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js"
1468
- /*!****************************************************************************************!*\
1469
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js ***!
1470
- \****************************************************************************************/
1791
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js"
1792
+ /*!***********************************************************************************************************************************************!*\
1793
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js ***!
1794
+ \***********************************************************************************************************************************************/
1471
1795
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1472
1796
 
1473
1797
  __webpack_require__.r(__webpack_exports__);
1474
1798
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1475
1799
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1476
1800
  /* harmony export */ });
1477
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js");
1801
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
1478
1802
 
1479
1803
 
1480
1804
 
@@ -1501,10 +1825,10 @@ class CanceledError extends _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["de
1501
1825
 
1502
1826
  /***/ },
1503
1827
 
1504
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js"
1505
- /*!***********************************************************************************!*\
1506
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js ***!
1507
- \***********************************************************************************/
1828
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/isCancel.js"
1829
+ /*!******************************************************************************************************************************************!*\
1830
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/isCancel.js ***!
1831
+ \******************************************************************************************************************************************/
1508
1832
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1509
1833
 
1510
1834
  __webpack_require__.r(__webpack_exports__);
@@ -1520,25 +1844,25 @@ function isCancel(value) {
1520
1844
 
1521
1845
  /***/ },
1522
1846
 
1523
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/Axios.js"
1524
- /*!******************************************************************************!*\
1525
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/Axios.js ***!
1526
- \******************************************************************************/
1847
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/Axios.js"
1848
+ /*!*************************************************************************************************************************************!*\
1849
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/Axios.js ***!
1850
+ \*************************************************************************************************************************************/
1527
1851
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1528
1852
 
1529
1853
  __webpack_require__.r(__webpack_exports__);
1530
1854
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1531
1855
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1532
1856
  /* harmony export */ });
1533
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
1534
- /* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/buildURL.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/buildURL.js");
1535
- /* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./InterceptorManager.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/InterceptorManager.js");
1536
- /* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./dispatchRequest.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/dispatchRequest.js");
1537
- /* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./mergeConfig.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js");
1538
- /* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./buildFullPath.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/buildFullPath.js");
1539
- /* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/validator.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/validator.js");
1540
- /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js");
1541
- /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../defaults/transitional.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js");
1857
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
1858
+ /* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/buildURL.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/buildURL.js");
1859
+ /* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./InterceptorManager.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/InterceptorManager.js");
1860
+ /* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./dispatchRequest.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/dispatchRequest.js");
1861
+ /* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./mergeConfig.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js");
1862
+ /* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./buildFullPath.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/buildFullPath.js");
1863
+ /* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/validator.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/validator.js");
1864
+ /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
1865
+ /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../defaults/transitional.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js");
1542
1866
 
1543
1867
 
1544
1868
 
@@ -1587,13 +1911,29 @@ class Axios {
1587
1911
  Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());
1588
1912
 
1589
1913
  // slice off the Error: ... line
1590
- const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
1914
+ const stack = (() => {
1915
+ if (!dummy.stack) {
1916
+ return '';
1917
+ }
1918
+
1919
+ const firstNewlineIndex = dummy.stack.indexOf('\n');
1920
+
1921
+ return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1);
1922
+ })();
1591
1923
  try {
1592
1924
  if (!err.stack) {
1593
1925
  err.stack = stack;
1594
1926
  // match without the 2 top stack lines
1595
- } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
1596
- err.stack += '\n' + stack;
1927
+ } else if (stack) {
1928
+ const firstNewlineIndex = stack.indexOf('\n');
1929
+ const secondNewlineIndex =
1930
+ firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1);
1931
+ const stackWithoutTwoTopLines =
1932
+ secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1);
1933
+
1934
+ if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) {
1935
+ err.stack += '\n' + stack;
1936
+ }
1597
1937
  }
1598
1938
  } catch (e) {
1599
1939
  // ignore the case where "stack" is an un-writable property
@@ -1626,6 +1966,8 @@ class Axios {
1626
1966
  forcedJSONParsing: validators.transitional(validators.boolean),
1627
1967
  clarifyTimeoutError: validators.transitional(validators.boolean),
1628
1968
  legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
1969
+ advertiseZstdAcceptEncoding: validators.transitional(validators.boolean),
1970
+ validateStatusUndefinedResolves: validators.transitional(validators.boolean),
1629
1971
  },
1630
1972
  false
1631
1973
  );
@@ -1673,7 +2015,7 @@ class Axios {
1673
2015
  let contextHeaders = headers && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge(headers.common, headers[config.method]);
1674
2016
 
1675
2017
  headers &&
1676
- _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], (method) => {
2018
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => {
1677
2019
  delete headers[method];
1678
2020
  });
1679
2021
 
@@ -1732,17 +2074,35 @@ class Axios {
1732
2074
  const onFulfilled = requestInterceptorChain[i++];
1733
2075
  const onRejected = requestInterceptorChain[i++];
1734
2076
  try {
1735
- newConfig = onFulfilled(newConfig);
2077
+ newConfig = onFulfilled ? onFulfilled(newConfig) : newConfig;
1736
2078
  } catch (error) {
1737
- onRejected.call(this, error);
2079
+ if (!onRejected) {
2080
+ promise = Promise.reject(error);
2081
+ break;
2082
+ }
2083
+
2084
+ try {
2085
+ const rejectedResult = onRejected.call(this, error);
2086
+
2087
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isThenable(rejectedResult)) {
2088
+ promise = Promise.resolve(rejectedResult).then(() =>
2089
+ _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_3__["default"].call(this, newConfig)
2090
+ );
2091
+ }
2092
+ } catch (rejectedError) {
2093
+ promise = Promise.reject(rejectedError);
2094
+ }
2095
+
1738
2096
  break;
1739
2097
  }
1740
2098
  }
1741
2099
 
1742
- try {
1743
- promise = _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_3__["default"].call(this, newConfig);
1744
- } catch (error) {
1745
- return Promise.reject(error);
2100
+ if (!promise) {
2101
+ try {
2102
+ promise = _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_3__["default"].call(this, newConfig);
2103
+ } catch (error) {
2104
+ promise = Promise.reject(error);
2105
+ }
1746
2106
  }
1747
2107
 
1748
2108
  i = 0;
@@ -1757,7 +2117,7 @@ class Axios {
1757
2117
 
1758
2118
  getUri(config) {
1759
2119
  config = (0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_4__["default"])(this.defaults, config);
1760
- const fullPath = (0,_buildFullPath_js__WEBPACK_IMPORTED_MODULE_5__["default"])(config.baseURL, config.url, config.allowAbsoluteUrls);
2120
+ const fullPath = (0,_buildFullPath_js__WEBPACK_IMPORTED_MODULE_5__["default"])(config.baseURL, config.url, config.allowAbsoluteUrls, config);
1761
2121
  return (0,_helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_1__["default"])(fullPath, config.params, config.paramsSerializer);
1762
2122
  }
1763
2123
  }
@@ -1770,13 +2130,13 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
1770
2130
  (0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_4__["default"])(config || {}, {
1771
2131
  method,
1772
2132
  url,
1773
- data: (config || {}).data,
2133
+ data: config && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config, 'data') ? config.data : undefined,
1774
2134
  })
1775
2135
  );
1776
2136
  };
1777
2137
  });
1778
2138
 
1779
- _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
2139
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) {
1780
2140
  function generateHTTPMethod(isForm) {
1781
2141
  return function httpMethod(url, data, config) {
1782
2142
  return this.request(
@@ -1796,7 +2156,11 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['post', 'put', 'patch
1796
2156
 
1797
2157
  Axios.prototype[method] = generateHTTPMethod();
1798
2158
 
1799
- Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
2159
+ // QUERY is a safe/idempotent read method; multipart form bodies don't fit
2160
+ // its semantics, so no queryForm shorthand is generated.
2161
+ if (method !== 'query') {
2162
+ Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
2163
+ }
1800
2164
  });
1801
2165
 
1802
2166
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Axios);
@@ -1804,25 +2168,140 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['post', 'put', 'patch
1804
2168
 
1805
2169
  /***/ },
1806
2170
 
1807
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js"
1808
- /*!***********************************************************************************!*\
1809
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js ***!
1810
- \***********************************************************************************/
2171
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js"
2172
+ /*!******************************************************************************************************************************************!*\
2173
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js ***!
2174
+ \******************************************************************************************************************************************/
1811
2175
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1812
2176
 
1813
2177
  __webpack_require__.r(__webpack_exports__);
1814
2178
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2179
+ /* harmony export */ REDACTED: () => (/* binding */ REDACTED),
1815
2180
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1816
2181
  /* harmony export */ });
1817
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
2182
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
2183
+ /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
2184
+
2185
+
2186
+
2187
+
2188
+
2189
+ const REDACTED = '[REDACTED ****]';
2190
+
2191
+ function hasOwnOrPrototypeToJSON(source) {
2192
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(source, 'toJSON')) {
2193
+ return true;
2194
+ }
2195
+
2196
+ let prototype = Object.getPrototypeOf(source);
2197
+
2198
+ while (prototype && prototype !== Object.prototype) {
2199
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(prototype, 'toJSON')) {
2200
+ return true;
2201
+ }
2202
+
2203
+ prototype = Object.getPrototypeOf(prototype);
2204
+ }
2205
+
2206
+ return false;
2207
+ }
1818
2208
 
2209
+ // Build a plain-object snapshot of `config` and replace the value of any key
2210
+ // (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays
2211
+ // and AxiosHeaders, and short-circuits on circular references.
2212
+ function redactConfig(config, redactKeys) {
2213
+ const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase()));
2214
+ const seen = [];
2215
+
2216
+ const visit = (source) => {
2217
+ if (source === null || typeof source !== 'object') return source;
2218
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBuffer(source)) return source;
2219
+ if (seen.indexOf(source) !== -1) return undefined;
2220
+
2221
+ if (source instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"]) {
2222
+ source = source.toJSON();
2223
+ }
2224
+
2225
+ seen.push(source);
2226
+
2227
+ let result;
2228
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(source)) {
2229
+ result = [];
2230
+ source.forEach((v, i) => {
2231
+ const reducedValue = visit(v);
2232
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(reducedValue)) {
2233
+ result[i] = reducedValue;
2234
+ }
2235
+ });
2236
+ } else {
2237
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) {
2238
+ seen.pop();
2239
+ return source;
2240
+ }
2241
+
2242
+ result = Object.create(null);
2243
+ for (const [key, value] of Object.entries(source)) {
2244
+ const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value);
2245
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(reducedValue)) {
2246
+ result[key] = reducedValue;
2247
+ }
2248
+ }
2249
+ }
2250
+
2251
+ seen.pop();
2252
+ return result;
2253
+ };
2254
+
2255
+ return visit(config);
2256
+ }
2257
+
2258
+ function stringifySafely(value) {
2259
+ try {
2260
+ return String(value);
2261
+ } catch (err) {
2262
+ return '';
2263
+ }
2264
+ }
1819
2265
 
2266
+ function aggregateErrorMessage(error) {
2267
+ const message = error.errors
2268
+ .map((entry) => {
2269
+ try {
2270
+ return entry && entry.message ? stringifySafely(entry.message) : stringifySafely(entry);
2271
+ } catch (err) {
2272
+ return '';
2273
+ }
2274
+ })
2275
+ .filter(Boolean)
2276
+ .join('; ');
1820
2277
 
2278
+ return message || error.name || 'AggregateError';
2279
+ }
1821
2280
 
1822
2281
  class AxiosError extends Error {
1823
2282
  static from(error, code, config, request, response, customProps) {
1824
- const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
1825
- axiosError.cause = error;
2283
+ // `AggregateError` (thrown by Node on dual-stack/Happy-Eyeballs connection
2284
+ // failures) has an empty `message`; its detail lives in `errors[]`. Without
2285
+ // this, the wrapped error surfaces with a blank message (see #6721).
2286
+ let message = error.message;
2287
+ if (!message && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(error.errors) && error.errors.length) {
2288
+ message = aggregateErrorMessage(error);
2289
+ }
2290
+
2291
+ const axiosError = new AxiosError(message, code || error.code, config, request, response);
2292
+ // Match native `Error` `cause` semantics: non-enumerable. The wrapped
2293
+ // error often carries circular internals (sockets, requests, agents), so
2294
+ // an enumerable `cause` makes structured loggers (pino/winston) and any
2295
+ // own-property walk throw "Converting circular structure to JSON".
2296
+ // Regression from #6982; see #7205. `__proto__: null` mirrors the
2297
+ // `message` descriptor below (prototype-pollution-safe descriptor).
2298
+ Object.defineProperty(axiosError, 'cause', {
2299
+ __proto__: null,
2300
+ value: error,
2301
+ writable: true,
2302
+ enumerable: false,
2303
+ configurable: true,
2304
+ });
1826
2305
  axiosError.name = error.name;
1827
2306
 
1828
2307
  // Preserve status from the original error if not already set from response
@@ -1834,42 +2313,56 @@ class AxiosError extends Error {
1834
2313
  return axiosError;
1835
2314
  }
1836
2315
 
1837
- /**
1838
- * Create an Error with the specified message, config, error code, request and response.
1839
- *
1840
- * @param {string} message The error message.
1841
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
1842
- * @param {Object} [config] The config.
1843
- * @param {Object} [request] The request.
1844
- * @param {Object} [response] The response.
1845
- *
1846
- * @returns {Error} The created error.
1847
- */
1848
- constructor(message, code, config, request, response) {
1849
- super(message);
1850
-
1851
- // Make message enumerable to maintain backward compatibility
1852
- // The native Error constructor sets message as non-enumerable,
1853
- // but axios < v1.13.3 had it as enumerable
1854
- Object.defineProperty(this, 'message', {
1855
- value: message,
1856
- enumerable: true,
1857
- writable: true,
1858
- configurable: true
1859
- });
1860
-
1861
- this.name = 'AxiosError';
1862
- this.isAxiosError = true;
1863
- code && (this.code = code);
1864
- config && (this.config = config);
1865
- request && (this.request = request);
1866
- if (response) {
1867
- this.response = response;
1868
- this.status = response.status;
1869
- }
2316
+ /**
2317
+ * Create an Error with the specified message, config, error code, request and response.
2318
+ *
2319
+ * @param {string} message The error message.
2320
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
2321
+ * @param {Object} [config] The config.
2322
+ * @param {Object} [request] The request.
2323
+ * @param {Object} [response] The response.
2324
+ *
2325
+ * @returns {Error} The created error.
2326
+ */
2327
+ constructor(message, code, config, request, response) {
2328
+ super(message);
2329
+
2330
+ // Make message enumerable to maintain backward compatibility
2331
+ // The native Error constructor sets message as non-enumerable,
2332
+ // but axios < v1.13.3 had it as enumerable
2333
+ Object.defineProperty(this, 'message', {
2334
+ // Null-proto descriptor so a polluted Object.prototype.get cannot turn
2335
+ // this data descriptor into an accessor descriptor on the way in.
2336
+ __proto__: null,
2337
+ value: message,
2338
+ enumerable: true,
2339
+ writable: true,
2340
+ configurable: true,
2341
+ });
2342
+
2343
+ this.name = 'AxiosError';
2344
+ this.isAxiosError = true;
2345
+ code && (this.code = code);
2346
+ config && (this.config = config);
2347
+ request && (this.request = request);
2348
+ if (response) {
2349
+ this.response = response;
2350
+ this.status = response.status;
1870
2351
  }
2352
+ }
1871
2353
 
1872
2354
  toJSON() {
2355
+ // Opt-in redaction: when the request config carries a `redact` array, the
2356
+ // value of any matching key (case-insensitive, at any depth) is replaced
2357
+ // with REDACTED in the serialized snapshot. Undefined or empty leaves the
2358
+ // existing serialization behavior unchanged.
2359
+ const config = this.config;
2360
+ const redactKeys = config && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config, 'redact') ? config.redact : undefined;
2361
+ const serializedConfig =
2362
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(redactKeys) && redactKeys.length > 0
2363
+ ? redactConfig(config, redactKeys)
2364
+ : _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(config);
2365
+
1873
2366
  return {
1874
2367
  // Standard
1875
2368
  message: this.message,
@@ -1883,7 +2376,7 @@ class AxiosError extends Error {
1883
2376
  columnNumber: this.columnNumber,
1884
2377
  stack: this.stack,
1885
2378
  // Axios
1886
- config: _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(this.config),
2379
+ config: serializedConfig,
1887
2380
  code: this.code,
1888
2381
  status: this.status,
1889
2382
  };
@@ -1895,6 +2388,7 @@ AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
1895
2388
  AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
1896
2389
  AxiosError.ECONNABORTED = 'ECONNABORTED';
1897
2390
  AxiosError.ETIMEDOUT = 'ETIMEDOUT';
2391
+ AxiosError.ECONNREFUSED = 'ECONNREFUSED';
1898
2392
  AxiosError.ERR_NETWORK = 'ERR_NETWORK';
1899
2393
  AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
1900
2394
  AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';
@@ -1903,24 +2397,27 @@ AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
1903
2397
  AxiosError.ERR_CANCELED = 'ERR_CANCELED';
1904
2398
  AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
1905
2399
  AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
2400
+ AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED';
1906
2401
 
1907
2402
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AxiosError);
1908
2403
 
1909
2404
 
1910
2405
  /***/ },
1911
2406
 
1912
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js"
1913
- /*!*************************************************************************************!*\
1914
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js ***!
1915
- \*************************************************************************************/
2407
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js"
2408
+ /*!********************************************************************************************************************************************!*\
2409
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js ***!
2410
+ \********************************************************************************************************************************************/
1916
2411
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1917
2412
 
1918
2413
  __webpack_require__.r(__webpack_exports__);
1919
2414
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1920
2415
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1921
2416
  /* harmony export */ });
1922
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
1923
- /* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseHeaders.js");
2417
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
2418
+ /* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseHeaders.js");
2419
+ /* harmony import */ var _helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/sanitizeHeaderValue.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js");
2420
+
1924
2421
 
1925
2422
 
1926
2423
 
@@ -1937,9 +2434,7 @@ function normalizeValue(value) {
1937
2434
  return value;
1938
2435
  }
1939
2436
 
1940
- return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value)
1941
- ? value.map(normalizeValue)
1942
- : String(value).replace(/[\r\n]+$/, '');
2437
+ return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) ? value.map(normalizeValue) : (0,_helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_2__.sanitizeHeaderValue)(String(value));
1943
2438
  }
1944
2439
 
1945
2440
  function parseTokens(str) {
@@ -1954,6 +2449,124 @@ function parseTokens(str) {
1954
2449
  return tokens;
1955
2450
  }
1956
2451
 
2452
+ const parameterNameRE = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
2453
+
2454
+ function trimOWS(value) {
2455
+ let start = 0;
2456
+ let end = value.length;
2457
+
2458
+ while (start < end) {
2459
+ const code = value.charCodeAt(start);
2460
+
2461
+ if (code !== 0x09 && code !== 0x20) {
2462
+ break;
2463
+ }
2464
+
2465
+ start += 1;
2466
+ }
2467
+
2468
+ while (end > start) {
2469
+ const code = value.charCodeAt(end - 1);
2470
+
2471
+ if (code !== 0x09 && code !== 0x20) {
2472
+ break;
2473
+ }
2474
+
2475
+ end -= 1;
2476
+ }
2477
+
2478
+ return start === 0 && end === value.length ? value : value.slice(start, end);
2479
+ }
2480
+
2481
+ function decodeQuotedString(value) {
2482
+ const last = value.length - 1;
2483
+
2484
+ if (last < 1 || value.charCodeAt(0) !== 0x22 || value.charCodeAt(last) !== 0x22) {
2485
+ return value;
2486
+ }
2487
+
2488
+ let decoded = '';
2489
+
2490
+ for (let i = 1; i < last; i++) {
2491
+ const code = value.charCodeAt(i);
2492
+
2493
+ if (code === 0x22) {
2494
+ return value;
2495
+ }
2496
+
2497
+ if (code === 0x5c) {
2498
+ i += 1;
2499
+
2500
+ if (i >= last) {
2501
+ return value;
2502
+ }
2503
+ }
2504
+
2505
+ decoded += value[i];
2506
+ }
2507
+
2508
+ return decoded;
2509
+ }
2510
+
2511
+ function parseParameters(value) {
2512
+ const parameters = Object.create(null);
2513
+ const str = String(value);
2514
+ let start = 0;
2515
+ let quoted = false;
2516
+ let escaped = false;
2517
+
2518
+ function parseParameter(end) {
2519
+ const part = trimOWS(str.slice(start, end));
2520
+ const equals = part.indexOf('=');
2521
+
2522
+ if (equals < 1) {
2523
+ return;
2524
+ }
2525
+
2526
+ const name = trimOWS(part.slice(0, equals));
2527
+
2528
+ if (!parameterNameRE.test(name)) {
2529
+ return;
2530
+ }
2531
+
2532
+ const normalizedName = name.toLowerCase();
2533
+
2534
+ if (
2535
+ normalizedName === '__proto__' ||
2536
+ normalizedName === 'constructor' ||
2537
+ normalizedName === 'prototype'
2538
+ ) {
2539
+ return;
2540
+ }
2541
+
2542
+ const parameterValue = trimOWS(part.slice(equals + 1));
2543
+ parameters[normalizedName] = decodeQuotedString(parameterValue);
2544
+ }
2545
+
2546
+ for (let i = 0; i < str.length; i++) {
2547
+ const code = str.charCodeAt(i);
2548
+
2549
+ if (quoted) {
2550
+ if (escaped) {
2551
+ escaped = false;
2552
+ } else if (code === 0x5c) {
2553
+ escaped = true;
2554
+ } else if (code === 0x22) {
2555
+ quoted = false;
2556
+ }
2557
+ } else if (code === 0x22) {
2558
+ quoted = true;
2559
+ } else if (code === 0x2c || code === 0x3b) {
2560
+ parseParameter(i);
2561
+ start = i + 1;
2562
+ }
2563
+ }
2564
+
2565
+ parseParameter(str.length);
2566
+
2567
+ return parameters;
2568
+ }
2569
+
1957
2570
  const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
1958
2571
 
1959
2572
  function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
@@ -1990,6 +2603,9 @@ function buildAccessors(obj, header) {
1990
2603
 
1991
2604
  ['get', 'set', 'has'].forEach((methodName) => {
1992
2605
  Object.defineProperty(obj, methodName + accessorName, {
2606
+ // Null-proto descriptor so a polluted Object.prototype.get cannot turn
2607
+ // this data descriptor into an accessor descriptor on the way in.
2608
+ __proto__: null,
1993
2609
  value: function (arg1, arg2, arg3) {
1994
2610
  return this[methodName].call(this, header, arg1, arg2, arg3);
1995
2611
  },
@@ -2010,7 +2626,7 @@ class AxiosHeaders {
2010
2626
  const lHeader = normalizeHeader(_header);
2011
2627
 
2012
2628
  if (!lHeader) {
2013
- throw new Error('header name must be a non-empty string');
2629
+ return;
2014
2630
  }
2015
2631
 
2016
2632
  const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(self, lHeader);
@@ -2032,20 +2648,23 @@ class AxiosHeaders {
2032
2648
  setHeaders(header, valueOrRewrite);
2033
2649
  } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
2034
2650
  setHeaders((0,_helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"])(header), valueOrRewrite);
2035
- } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(header) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isIterable(header)) {
2036
- let obj = {},
2651
+ } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(header) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isSafeIterable(header)) {
2652
+ let obj = Object.create(null),
2037
2653
  dest,
2038
2654
  key;
2039
2655
  for (const entry of header) {
2040
2656
  if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(entry)) {
2041
- throw TypeError('Object iterator must return a key-value pair');
2657
+ throw new TypeError('Object iterator must return a key-value pair');
2042
2658
  }
2043
2659
 
2044
- obj[(key = entry[0])] = (dest = obj[key])
2045
- ? _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(dest)
2046
- ? [...dest, entry[1]]
2047
- : [dest, entry[1]]
2048
- : entry[1];
2660
+ key = entry[0];
2661
+
2662
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(obj, key)) {
2663
+ dest = obj[key];
2664
+ obj[key] = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]];
2665
+ } else {
2666
+ obj[key] = entry[1];
2667
+ }
2049
2668
  }
2050
2669
 
2051
2670
  setHeaders(obj, valueOrRewrite);
@@ -2199,7 +2818,8 @@ class AxiosHeaders {
2199
2818
  }
2200
2819
 
2201
2820
  getSetCookie() {
2202
- return this.get('set-cookie') || [];
2821
+ const value = this.get('set-cookie');
2822
+ return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) ? value : value == null || value === false ? [] : [value];
2203
2823
  }
2204
2824
 
2205
2825
  get [Symbol.toStringTag]() {
@@ -2210,6 +2830,10 @@ class AxiosHeaders {
2210
2830
  return thing instanceof this ? thing : new this(thing);
2211
2831
  }
2212
2832
 
2833
+ static parseParameters(value) {
2834
+ return parseParameters(value);
2835
+ }
2836
+
2213
2837
  static concat(first, ...targets) {
2214
2838
  const computed = new this(first);
2215
2839
 
@@ -2271,17 +2895,17 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
2271
2895
 
2272
2896
  /***/ },
2273
2897
 
2274
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/InterceptorManager.js"
2275
- /*!*******************************************************************************************!*\
2276
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/InterceptorManager.js ***!
2277
- \*******************************************************************************************/
2898
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/InterceptorManager.js"
2899
+ /*!**************************************************************************************************************************************************!*\
2900
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/InterceptorManager.js ***!
2901
+ \**************************************************************************************************************************************************/
2278
2902
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2279
2903
 
2280
2904
  __webpack_require__.r(__webpack_exports__);
2281
2905
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2282
2906
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2283
2907
  /* harmony export */ });
2284
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
2908
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
2285
2909
 
2286
2910
 
2287
2911
 
@@ -2358,22 +2982,87 @@ class InterceptorManager {
2358
2982
 
2359
2983
  /***/ },
2360
2984
 
2361
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/buildFullPath.js"
2362
- /*!**************************************************************************************!*\
2363
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/buildFullPath.js ***!
2364
- \**************************************************************************************/
2985
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/buildFullPath.js"
2986
+ /*!*********************************************************************************************************************************************!*\
2987
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/buildFullPath.js ***!
2988
+ \*********************************************************************************************************************************************/
2365
2989
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2366
2990
 
2367
2991
  __webpack_require__.r(__webpack_exports__);
2368
2992
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2369
2993
  /* harmony export */ "default": () => (/* binding */ buildFullPath)
2370
2994
  /* harmony export */ });
2371
- /* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAbsoluteURL.js");
2372
- /* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/combineURLs.js");
2995
+ /* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
2996
+ /* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAbsoluteURL.js");
2997
+ /* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/combineURLs.js");
2998
+
2999
+
2373
3000
 
2374
3001
 
2375
3002
 
2376
3003
 
3004
+ const malformedHttpProtocol = /^https?:(?!\/\/)/i;
3005
+ const httpProtocolControlCharacters = /[\t\n\r]/g;
3006
+
3007
+ function stripLeadingC0ControlOrSpace(url) {
3008
+ let i = 0;
3009
+ while (i < url.length && url.charCodeAt(i) <= 0x20) {
3010
+ i++;
3011
+ }
3012
+ return url.slice(i);
3013
+ }
3014
+
3015
+ function normalizeURLForProtocolCheck(url) {
3016
+ return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, '');
3017
+ }
3018
+
3019
+ // Redact the parts of a URL that can carry secrets before it is embedded in an
3020
+ // error message. AxiosError.toJSON() serializes `message` verbatim and errors
3021
+ // are commonly logged, while the opt-in `config.redact` model only cleans
3022
+ // config keys — it cannot reach the message. Redact only the genuinely
3023
+ // sensitive substrings — userinfo (credentials), query parameter values and
3024
+ // fragment contents — with the same REDACTED marker the config redaction uses,
3025
+ // while keeping the scheme, host, path and parameter names so the offending
3026
+ // request stays accurately identifiable.
3027
+ function redactFragment(fragment) {
3028
+ if (!fragment) {
3029
+ return fragment;
3030
+ }
3031
+
3032
+ return fragment.replace(/(^|&)([^=&]*=)?[^&]+/g, (match, separator, parameterName = '') => {
3033
+ return `${separator}${parameterName}${_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__.REDACTED}`;
3034
+ });
3035
+ }
3036
+
3037
+ function redactSensitiveURLParts(url) {
3038
+ const redactedURL = url.replace(/^(https?:\/{0,2})[^/?#]*@/i, `$1${_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__.REDACTED}@`);
3039
+ const fragmentIndex = redactedURL.indexOf('#');
3040
+ const urlWithoutFragment =
3041
+ fragmentIndex === -1 ? redactedURL : redactedURL.slice(0, fragmentIndex);
3042
+ const redactedURLWithoutFragment = urlWithoutFragment.replace(
3043
+ /([?&][^=&#]*=)[^&#]*/g,
3044
+ `$1${_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__.REDACTED}`
3045
+ );
3046
+
3047
+ if (fragmentIndex === -1) {
3048
+ return redactedURLWithoutFragment;
3049
+ }
3050
+
3051
+ return `${redactedURLWithoutFragment}#${redactFragment(redactedURL.slice(fragmentIndex + 1))}`;
3052
+ }
3053
+
3054
+ function assertValidHttpProtocolURL(url, config) {
3055
+ if (typeof url === 'string') {
3056
+ const normalizedURL = normalizeURLForProtocolCheck(url);
3057
+ if (malformedHttpProtocol.test(normalizedURL)) {
3058
+ throw new _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](
3059
+ `Invalid URL ${JSON.stringify(redactSensitiveURLParts(normalizedURL))}: missing "//" after protocol`,
3060
+ _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_INVALID_URL,
3061
+ config
3062
+ );
3063
+ }
3064
+ }
3065
+ }
2377
3066
 
2378
3067
  /**
2379
3068
  * Creates a new URL by combining the baseURL with the requestedURL,
@@ -2385,10 +3074,12 @@ __webpack_require__.r(__webpack_exports__);
2385
3074
  *
2386
3075
  * @returns {string} The combined full path
2387
3076
  */
2388
- function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
2389
- let isRelativeUrl = !(0,_helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_0__["default"])(requestedURL);
2390
- if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
2391
- return (0,_helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_1__["default"])(baseURL, requestedURL);
3077
+ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {
3078
+ assertValidHttpProtocolURL(requestedURL, config);
3079
+ let isRelativeUrl = !(0,_helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_1__["default"])(requestedURL);
3080
+ if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) {
3081
+ assertValidHttpProtocolURL(baseURL, config);
3082
+ return (0,_helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_2__["default"])(baseURL, requestedURL);
2392
3083
  }
2393
3084
  return requestedURL;
2394
3085
  }
@@ -2396,22 +3087,22 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
2396
3087
 
2397
3088
  /***/ },
2398
3089
 
2399
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/dispatchRequest.js"
2400
- /*!****************************************************************************************!*\
2401
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/dispatchRequest.js ***!
2402
- \****************************************************************************************/
3090
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/dispatchRequest.js"
3091
+ /*!***********************************************************************************************************************************************!*\
3092
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/dispatchRequest.js ***!
3093
+ \***********************************************************************************************************************************************/
2403
3094
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2404
3095
 
2405
3096
  __webpack_require__.r(__webpack_exports__);
2406
3097
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2407
3098
  /* harmony export */ "default": () => (/* binding */ dispatchRequest)
2408
3099
  /* harmony export */ });
2409
- /* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./transformData.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/transformData.js");
2410
- /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/isCancel.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js");
2411
- /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../defaults/index.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js");
2412
- /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js");
2413
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js");
2414
- /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../adapters/adapters.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/adapters.js");
3100
+ /* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./transformData.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/transformData.js");
3101
+ /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/isCancel.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/isCancel.js");
3102
+ /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../defaults/index.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/index.js");
3103
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js");
3104
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
3105
+ /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../adapters/adapters.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/adapters.js");
2415
3106
 
2416
3107
 
2417
3108
 
@@ -2463,8 +3154,15 @@ function dispatchRequest(config) {
2463
3154
  function onAdapterResolution(response) {
2464
3155
  throwIfCancellationRequested(config);
2465
3156
 
2466
- // Transform response data
2467
- response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_0__["default"].call(config, config.transformResponse, response);
3157
+ // Expose the current response on config so that transformResponse can
3158
+ // attach it to any AxiosError it throws (e.g. on JSON parse failure).
3159
+ // We clean it up afterwards to avoid polluting the config object.
3160
+ config.response = response;
3161
+ try {
3162
+ response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_0__["default"].call(config, config.transformResponse, response);
3163
+ } finally {
3164
+ delete config.response;
3165
+ }
2468
3166
 
2469
3167
  response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__["default"].from(response.headers);
2470
3168
 
@@ -2476,11 +3174,16 @@ function dispatchRequest(config) {
2476
3174
 
2477
3175
  // Transform response data
2478
3176
  if (reason && reason.response) {
2479
- reason.response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_0__["default"].call(
2480
- config,
2481
- config.transformResponse,
2482
- reason.response
2483
- );
3177
+ config.response = reason.response;
3178
+ try {
3179
+ reason.response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_0__["default"].call(
3180
+ config,
3181
+ config.transformResponse,
3182
+ reason.response
3183
+ );
3184
+ } finally {
3185
+ delete config.response;
3186
+ }
2484
3187
  reason.response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__["default"].from(reason.response.headers);
2485
3188
  }
2486
3189
  }
@@ -2493,18 +3196,18 @@ function dispatchRequest(config) {
2493
3196
 
2494
3197
  /***/ },
2495
3198
 
2496
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js"
2497
- /*!************************************************************************************!*\
2498
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js ***!
2499
- \************************************************************************************/
3199
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js"
3200
+ /*!*******************************************************************************************************************************************!*\
3201
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js ***!
3202
+ \*******************************************************************************************************************************************/
2500
3203
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2501
3204
 
2502
3205
  __webpack_require__.r(__webpack_exports__);
2503
3206
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2504
3207
  /* harmony export */ "default": () => (/* binding */ mergeConfig)
2505
3208
  /* harmony export */ });
2506
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
2507
- /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js");
3209
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
3210
+ /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
2508
3211
 
2509
3212
 
2510
3213
 
@@ -2512,6 +3215,17 @@ __webpack_require__.r(__webpack_exports__);
2512
3215
 
2513
3216
  const headersToObject = (thing) => (thing instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"] ? { ...thing } : thing);
2514
3217
 
3218
+ const ownEnumerableKeys = (thing) => {
3219
+ if (Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor) {
3220
+ return Object.keys(thing).concat(
3221
+ Object.getOwnPropertySymbols(thing).filter(
3222
+ (symbol) => Object.getOwnPropertyDescriptor(thing, symbol).enumerable
3223
+ )
3224
+ );
3225
+ }
3226
+ return Object.keys(thing);
3227
+ };
3228
+
2515
3229
  /**
2516
3230
  * Config-specific merge-function which creates a new config-object
2517
3231
  * by merging two configuration objects together.
@@ -2523,8 +3237,23 @@ const headersToObject = (thing) => (thing instanceof _AxiosHeaders_js__WEBPACK_I
2523
3237
  */
2524
3238
  function mergeConfig(config1, config2) {
2525
3239
  // eslint-disable-next-line no-param-reassign
3240
+ config1 = config1 || {};
2526
3241
  config2 = config2 || {};
2527
- const config = {};
3242
+
3243
+ // Use a null-prototype object so that downstream reads such as `config.auth`
3244
+ // or `config.baseURL` cannot inherit polluted values from Object.prototype.
3245
+ // `hasOwnProperty` is restored as a non-enumerable own slot to preserve
3246
+ // ergonomics for user code that relies on it.
3247
+ const config = Object.create(null);
3248
+ Object.defineProperty(config, 'hasOwnProperty', {
3249
+ // Null-proto descriptor so a polluted Object.prototype.get cannot turn
3250
+ // this data descriptor into an accessor descriptor on the way in.
3251
+ __proto__: null,
3252
+ value: Object.prototype.hasOwnProperty,
3253
+ enumerable: false,
3254
+ writable: true,
3255
+ configurable: true,
3256
+ });
2528
3257
 
2529
3258
  function getMergedValue(target, source, prop, caseless) {
2530
3259
  if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(target) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(source)) {
@@ -2561,11 +3290,37 @@ function mergeConfig(config1, config2) {
2561
3290
  }
2562
3291
  }
2563
3292
 
3293
+ function getMergedTransitionalOption(prop) {
3294
+ const transitional2 = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config2, 'transitional')
3295
+ ? config2.transitional
3296
+ : undefined;
3297
+
3298
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(transitional2)) {
3299
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(transitional2)) {
3300
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(transitional2, prop)) {
3301
+ return transitional2[prop];
3302
+ }
3303
+ } else {
3304
+ return undefined;
3305
+ }
3306
+ }
3307
+
3308
+ const transitional1 = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config1, 'transitional')
3309
+ ? config1.transitional
3310
+ : undefined;
3311
+
3312
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(transitional1) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(transitional1, prop)) {
3313
+ return transitional1[prop];
3314
+ }
3315
+
3316
+ return undefined;
3317
+ }
3318
+
2564
3319
  // eslint-disable-next-line consistent-return
2565
3320
  function mergeDirectKeys(a, b, prop) {
2566
- if (prop in config2) {
3321
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config2, prop)) {
2567
3322
  return getMergedValue(a, b);
2568
- } else if (prop in config1) {
3323
+ } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config1, prop)) {
2569
3324
  return getMergedValue(undefined, a);
2570
3325
  }
2571
3326
  }
@@ -2597,36 +3352,92 @@ function mergeConfig(config1, config2) {
2597
3352
  httpsAgent: defaultToConfig2,
2598
3353
  cancelToken: defaultToConfig2,
2599
3354
  socketPath: defaultToConfig2,
3355
+ allowedSocketPaths: defaultToConfig2,
2600
3356
  responseEncoding: defaultToConfig2,
2601
3357
  validateStatus: mergeDirectKeys,
2602
3358
  headers: (a, b, prop) =>
2603
3359
  mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),
2604
3360
  };
2605
3361
 
2606
- _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
3362
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(ownEnumerableKeys({ ...config1, ...config2 }), function computeConfigValue(prop) {
2607
3363
  if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
2608
3364
  const merge = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
2609
- const configValue = merge(config1[prop], config2[prop], prop);
3365
+ const a = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config1, prop) ? config1[prop] : undefined;
3366
+ const b = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config2, prop) ? config2[prop] : undefined;
3367
+ const configValue = merge(a, b, prop);
2610
3368
  (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
2611
3369
  });
2612
3370
 
3371
+ if (
3372
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config2, 'validateStatus') &&
3373
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(config2.validateStatus) &&
3374
+ getMergedTransitionalOption('validateStatusUndefinedResolves') === false
3375
+ ) {
3376
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config1, 'validateStatus')) {
3377
+ config.validateStatus = getMergedValue(undefined, config1.validateStatus);
3378
+ } else {
3379
+ delete config.validateStatus;
3380
+ }
3381
+ }
3382
+
2613
3383
  return config;
2614
3384
  }
2615
3385
 
2616
3386
 
2617
3387
  /***/ },
2618
3388
 
2619
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/settle.js"
2620
- /*!*******************************************************************************!*\
2621
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/settle.js ***!
2622
- \*******************************************************************************/
3389
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/setFormDataHeaders.js"
3390
+ /*!**************************************************************************************************************************************************!*\
3391
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/setFormDataHeaders.js ***!
3392
+ \**************************************************************************************************************************************************/
3393
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3394
+
3395
+ __webpack_require__.r(__webpack_exports__);
3396
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3397
+ /* harmony export */ "default": () => (/* binding */ setFormDataHeaders)
3398
+ /* harmony export */ });
3399
+
3400
+
3401
+ const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length'];
3402
+
3403
+ /**
3404
+ * Apply the headers generated by a FormData implementation to the request headers,
3405
+ * honoring the `formDataHeaderPolicy` option: with 'content-only', copy only the
3406
+ * content-* headers; otherwise merge all of them.
3407
+ *
3408
+ * @param {AxiosHeaders} headers - the request headers to mutate
3409
+ * @param {Object | null | undefined} formHeaders - headers produced by the FormData implementation
3410
+ * @param {String} [policy] - the resolved `formDataHeaderPolicy` config value
3411
+ *
3412
+ * @returns {void}
3413
+ */
3414
+ function setFormDataHeaders(headers, formHeaders, policy) {
3415
+ if (policy !== 'content-only') {
3416
+ headers.set(formHeaders);
3417
+ return;
3418
+ }
3419
+
3420
+ Object.entries(formHeaders || {}).forEach(([key, val]) => {
3421
+ if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {
3422
+ headers.set(key, val);
3423
+ }
3424
+ });
3425
+ }
3426
+
3427
+
3428
+ /***/ },
3429
+
3430
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/settle.js"
3431
+ /*!**************************************************************************************************************************************!*\
3432
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/settle.js ***!
3433
+ \**************************************************************************************************************************************/
2623
3434
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2624
3435
 
2625
3436
  __webpack_require__.r(__webpack_exports__);
2626
3437
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2627
3438
  /* harmony export */ "default": () => (/* binding */ settle)
2628
3439
  /* harmony export */ });
2629
- /* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js");
3440
+ /* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
2630
3441
 
2631
3442
 
2632
3443
 
@@ -2645,36 +3456,32 @@ function settle(resolve, reject, response) {
2645
3456
  if (!response.status || !validateStatus || validateStatus(response.status)) {
2646
3457
  resolve(response);
2647
3458
  } else {
2648
- reject(
2649
- new _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](
2650
- 'Request failed with status code ' + response.status,
2651
- [_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_REQUEST, _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_RESPONSE][
2652
- Math.floor(response.status / 100) - 4
2653
- ],
2654
- response.config,
2655
- response.request,
2656
- response
2657
- )
2658
- );
3459
+ reject(new _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](
3460
+ 'Request failed with status code ' + response.status,
3461
+ response.status >= 400 && response.status < 500 ? _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_REQUEST : _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_BAD_RESPONSE,
3462
+ response.config,
3463
+ response.request,
3464
+ response
3465
+ ));
2659
3466
  }
2660
3467
  }
2661
3468
 
2662
3469
 
2663
3470
  /***/ },
2664
3471
 
2665
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/transformData.js"
2666
- /*!**************************************************************************************!*\
2667
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/transformData.js ***!
2668
- \**************************************************************************************/
3472
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/transformData.js"
3473
+ /*!*********************************************************************************************************************************************!*\
3474
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/transformData.js ***!
3475
+ \*********************************************************************************************************************************************/
2669
3476
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2670
3477
 
2671
3478
  __webpack_require__.r(__webpack_exports__);
2672
3479
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2673
3480
  /* harmony export */ "default": () => (/* binding */ transformData)
2674
3481
  /* harmony export */ });
2675
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
2676
- /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../defaults/index.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js");
2677
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js");
3482
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
3483
+ /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../defaults/index.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/index.js");
3484
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
2678
3485
 
2679
3486
 
2680
3487
 
@@ -2707,23 +3514,23 @@ function transformData(fns, response) {
2707
3514
 
2708
3515
  /***/ },
2709
3516
 
2710
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js"
2711
- /*!**********************************************************************************!*\
2712
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js ***!
2713
- \**********************************************************************************/
3517
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/index.js"
3518
+ /*!*****************************************************************************************************************************************!*\
3519
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/index.js ***!
3520
+ \*****************************************************************************************************************************************/
2714
3521
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2715
3522
 
2716
3523
  __webpack_require__.r(__webpack_exports__);
2717
3524
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2718
3525
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2719
3526
  /* harmony export */ });
2720
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
2721
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js");
2722
- /* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transitional.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js");
2723
- /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toFormData.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js");
2724
- /* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toURLEncodedForm.js");
2725
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js");
2726
- /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToJSON.js");
3527
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
3528
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
3529
+ /* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transitional.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js");
3530
+ /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toFormData.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js");
3531
+ /* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toURLEncodedForm.js");
3532
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
3533
+ /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToJSON.js");
2727
3534
 
2728
3535
 
2729
3536
 
@@ -2734,6 +3541,8 @@ __webpack_require__.r(__webpack_exports__);
2734
3541
 
2735
3542
 
2736
3543
 
3544
+ const own = (obj, key) => (obj != null && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(obj, key) ? obj[key] : undefined);
3545
+
2737
3546
  /**
2738
3547
  * It takes a string, tries to parse it, and if it fails, it returns the stringified version
2739
3548
  * of the input
@@ -2801,20 +3610,22 @@ const defaults = {
2801
3610
  let isFileList;
2802
3611
 
2803
3612
  if (isObjectPayload) {
3613
+ const formSerializer = own(this, 'formSerializer');
2804
3614
  if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
2805
- return (0,_helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_4__["default"])(data, this.formSerializer).toString();
3615
+ return (0,_helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_4__["default"])(data, formSerializer).toString();
2806
3616
  }
2807
3617
 
2808
3618
  if (
2809
3619
  (isFileList = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(data)) ||
2810
3620
  contentType.indexOf('multipart/form-data') > -1
2811
3621
  ) {
2812
- const _FormData = this.env && this.env.FormData;
3622
+ const env = own(this, 'env');
3623
+ const _FormData = env && env.FormData;
2813
3624
 
2814
3625
  return (0,_helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
2815
3626
  isFileList ? { 'files[]': data } : data,
2816
3627
  _FormData && new _FormData(),
2817
- this.formSerializer
3628
+ formSerializer
2818
3629
  );
2819
3630
  }
2820
3631
  }
@@ -2830,9 +3641,10 @@ const defaults = {
2830
3641
 
2831
3642
  transformResponse: [
2832
3643
  function transformResponse(data) {
2833
- const transitional = this.transitional || defaults.transitional;
3644
+ const transitional = own(this, 'transitional') || defaults.transitional;
2834
3645
  const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
2835
- const JSONRequested = this.responseType === 'json';
3646
+ const responseType = own(this, 'responseType');
3647
+ const JSONRequested = responseType === 'json';
2836
3648
 
2837
3649
  if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isResponse(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)) {
2838
3650
  return data;
@@ -2841,17 +3653,17 @@ const defaults = {
2841
3653
  if (
2842
3654
  data &&
2843
3655
  _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(data) &&
2844
- ((forcedJSONParsing && !this.responseType) || JSONRequested)
3656
+ ((forcedJSONParsing && !responseType) || JSONRequested)
2845
3657
  ) {
2846
3658
  const silentJSONParsing = transitional && transitional.silentJSONParsing;
2847
3659
  const strictJSONParsing = !silentJSONParsing && JSONRequested;
2848
3660
 
2849
3661
  try {
2850
- return JSON.parse(data, this.parseReviver);
3662
+ return JSON.parse(data, own(this, 'parseReviver'));
2851
3663
  } catch (e) {
2852
3664
  if (strictJSONParsing) {
2853
3665
  if (e.name === 'SyntaxError') {
2854
- throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(e, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_BAD_RESPONSE, this, null, this.response);
3666
+ throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].from(e, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_BAD_RESPONSE, this, null, own(this, 'response'));
2855
3667
  }
2856
3668
  throw e;
2857
3669
  }
@@ -2891,7 +3703,7 @@ const defaults = {
2891
3703
  },
2892
3704
  };
2893
3705
 
2894
- _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
3706
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => {
2895
3707
  defaults.headers[method] = {};
2896
3708
  });
2897
3709
 
@@ -2900,10 +3712,10 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
2900
3712
 
2901
3713
  /***/ },
2902
3714
 
2903
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js"
2904
- /*!*****************************************************************************************!*\
2905
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js ***!
2906
- \*****************************************************************************************/
3715
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js"
3716
+ /*!************************************************************************************************************************************************!*\
3717
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js ***!
3718
+ \************************************************************************************************************************************************/
2907
3719
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2908
3720
 
2909
3721
  __webpack_require__.r(__webpack_exports__);
@@ -2917,36 +3729,38 @@ __webpack_require__.r(__webpack_exports__);
2917
3729
  forcedJSONParsing: true,
2918
3730
  clarifyTimeoutError: false,
2919
3731
  legacyInterceptorReqResOrdering: true,
3732
+ advertiseZstdAcceptEncoding: false,
3733
+ validateStatusUndefinedResolves: true,
2920
3734
  });
2921
3735
 
2922
3736
 
2923
3737
  /***/ },
2924
3738
 
2925
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js"
2926
- /*!****************************************************************************!*\
2927
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js ***!
2928
- \****************************************************************************/
3739
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/env/data.js"
3740
+ /*!***********************************************************************************************************************************!*\
3741
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/env/data.js ***!
3742
+ \***********************************************************************************************************************************/
2929
3743
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2930
3744
 
2931
3745
  __webpack_require__.r(__webpack_exports__);
2932
3746
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2933
3747
  /* harmony export */ VERSION: () => (/* binding */ VERSION)
2934
3748
  /* harmony export */ });
2935
- const VERSION = "1.14.0";
3749
+ const VERSION = "1.19.0";
2936
3750
 
2937
3751
  /***/ },
2938
3752
 
2939
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js"
2940
- /*!************************************************************************************************!*\
2941
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
2942
- \************************************************************************************************/
3753
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js"
3754
+ /*!*******************************************************************************************************************************************************!*\
3755
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
3756
+ \*******************************************************************************************************************************************************/
2943
3757
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2944
3758
 
2945
3759
  __webpack_require__.r(__webpack_exports__);
2946
3760
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2947
3761
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2948
3762
  /* harmony export */ });
2949
- /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js");
3763
+ /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js");
2950
3764
 
2951
3765
 
2952
3766
 
@@ -2967,9 +3781,8 @@ function encode(str) {
2967
3781
  ')': '%29',
2968
3782
  '~': '%7E',
2969
3783
  '%20': '+',
2970
- '%00': '\x00',
2971
3784
  };
2972
- return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
3785
+ return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) {
2973
3786
  return charMap[match];
2974
3787
  });
2975
3788
  }
@@ -2996,9 +3809,7 @@ prototype.append = function append(name, value) {
2996
3809
 
2997
3810
  prototype.toString = function toString(encoder) {
2998
3811
  const _encode = encoder
2999
- ? function (value) {
3000
- return encoder.call(this, value, encode);
3001
- }
3812
+ ? (value) => encoder.call(this, value, encode)
3002
3813
  : encode;
3003
3814
 
3004
3815
  return this._pairs
@@ -3013,10 +3824,10 @@ prototype.toString = function toString(encoder) {
3013
3824
 
3014
3825
  /***/ },
3015
3826
 
3016
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/HttpStatusCode.js"
3017
- /*!******************************************************************************************!*\
3018
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
3019
- \******************************************************************************************/
3827
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/HttpStatusCode.js"
3828
+ /*!*************************************************************************************************************************************************!*\
3829
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
3830
+ \*************************************************************************************************************************************************/
3020
3831
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3021
3832
 
3022
3833
  __webpack_require__.r(__webpack_exports__);
@@ -3087,6 +3898,7 @@ const HttpStatusCode = {
3087
3898
  LoopDetected: 508,
3088
3899
  NotExtended: 510,
3089
3900
  NetworkAuthenticationRequired: 511,
3901
+ WebServerReturnsAnUnknownError: 520,
3090
3902
  WebServerIsDown: 521,
3091
3903
  ConnectionTimedOut: 522,
3092
3904
  OriginIsUnreachable: 523,
@@ -3104,10 +3916,10 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
3104
3916
 
3105
3917
  /***/ },
3106
3918
 
3107
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/bind.js"
3108
- /*!********************************************************************************!*\
3109
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/bind.js ***!
3110
- \********************************************************************************/
3919
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/bind.js"
3920
+ /*!***************************************************************************************************************************************!*\
3921
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/bind.js ***!
3922
+ \***************************************************************************************************************************************/
3111
3923
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3112
3924
 
3113
3925
  __webpack_require__.r(__webpack_exports__);
@@ -3132,18 +3944,19 @@ function bind(fn, thisArg) {
3132
3944
 
3133
3945
  /***/ },
3134
3946
 
3135
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/buildURL.js"
3136
- /*!************************************************************************************!*\
3137
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/buildURL.js ***!
3138
- \************************************************************************************/
3947
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/buildURL.js"
3948
+ /*!*******************************************************************************************************************************************!*\
3949
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/buildURL.js ***!
3950
+ \*******************************************************************************************************************************************/
3139
3951
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3140
3952
 
3141
3953
  __webpack_require__.r(__webpack_exports__);
3142
3954
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3143
- /* harmony export */ "default": () => (/* binding */ buildURL)
3955
+ /* harmony export */ "default": () => (/* binding */ buildURL),
3956
+ /* harmony export */ encode: () => (/* binding */ encode)
3144
3957
  /* harmony export */ });
3145
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
3146
- /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/AxiosURLSearchParams.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
3958
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
3959
+ /* harmony import */ var _AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosURLSearchParams.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
3147
3960
 
3148
3961
 
3149
3962
 
@@ -3178,8 +3991,7 @@ function buildURL(url, params, options) {
3178
3991
  if (!params) {
3179
3992
  return url;
3180
3993
  }
3181
-
3182
- const _encode = (options && options.encode) || encode;
3994
+ url = url || '';
3183
3995
 
3184
3996
  const _options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(options)
3185
3997
  ? {
@@ -3187,7 +3999,11 @@ function buildURL(url, params, options) {
3187
3999
  }
3188
4000
  : options;
3189
4001
 
3190
- const serializeFn = _options && _options.serialize;
4002
+ // Read serializer options pollution-safely: own properties and methods on a
4003
+ // class/template prototype are honored, but values injected onto a polluted
4004
+ // Object.prototype are ignored.
4005
+ const _encode = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].getSafeProp(_options, 'encode') || encode;
4006
+ const serializeFn = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].getSafeProp(_options, 'serialize');
3191
4007
 
3192
4008
  let serializedParams;
3193
4009
 
@@ -3196,7 +4012,7 @@ function buildURL(url, params, options) {
3196
4012
  } else {
3197
4013
  serializedParams = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(params)
3198
4014
  ? params.toString()
3199
- : new _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__["default"](params, _options).toString(_encode);
4015
+ : new _AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__["default"](params, _options).toString(_encode);
3200
4016
  }
3201
4017
 
3202
4018
  if (serializedParams) {
@@ -3214,10 +4030,10 @@ function buildURL(url, params, options) {
3214
4030
 
3215
4031
  /***/ },
3216
4032
 
3217
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/combineURLs.js"
3218
- /*!***************************************************************************************!*\
3219
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/combineURLs.js ***!
3220
- \***************************************************************************************/
4033
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/combineURLs.js"
4034
+ /*!**********************************************************************************************************************************************!*\
4035
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/combineURLs.js ***!
4036
+ \**********************************************************************************************************************************************/
3221
4037
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3222
4038
 
3223
4039
  __webpack_require__.r(__webpack_exports__);
@@ -3235,80 +4051,100 @@ __webpack_require__.r(__webpack_exports__);
3235
4051
  * @returns {string} The combined URL
3236
4052
  */
3237
4053
  function combineURLs(baseURL, relativeURL) {
3238
- return relativeURL
3239
- ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '')
3240
- : baseURL;
4054
+ if (!relativeURL) {
4055
+ return baseURL;
4056
+ }
4057
+
4058
+ let end = baseURL.length;
4059
+
4060
+ while (end > 0 && baseURL.charCodeAt(end - 1) === 47) {
4061
+ end--;
4062
+ }
4063
+
4064
+ return baseURL.slice(0, end) + '/' + relativeURL.replace(/^\/+/, '');
3241
4065
  }
3242
4066
 
3243
4067
 
3244
4068
  /***/ },
3245
4069
 
3246
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/composeSignals.js"
3247
- /*!******************************************************************************************!*\
3248
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/composeSignals.js ***!
3249
- \******************************************************************************************/
4070
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/composeSignals.js"
4071
+ /*!*************************************************************************************************************************************************!*\
4072
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/composeSignals.js ***!
4073
+ \*************************************************************************************************************************************************/
3250
4074
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3251
4075
 
3252
4076
  __webpack_require__.r(__webpack_exports__);
3253
4077
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3254
4078
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3255
4079
  /* harmony export */ });
3256
- /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js");
3257
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js");
3258
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
4080
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js");
4081
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
4082
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
3259
4083
 
3260
4084
 
3261
4085
 
3262
4086
 
3263
4087
  const composeSignals = (signals, timeout) => {
3264
- const { length } = (signals = signals ? signals.filter(Boolean) : []);
3265
-
3266
- if (timeout || length) {
3267
- let controller = new AbortController();
3268
-
3269
- let aborted;
3270
-
3271
- const onabort = function (reason) {
3272
- if (!aborted) {
3273
- aborted = true;
3274
- unsubscribe();
3275
- const err = reason instanceof Error ? reason : this.reason;
3276
- controller.abort(
3277
- err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"]
3278
- ? err
3279
- : new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__["default"](err instanceof Error ? err.message : err)
3280
- );
3281
- }
3282
- };
4088
+ signals = signals ? signals.filter(Boolean) : [];
3283
4089
 
3284
- let timer =
3285
- timeout &&
3286
- setTimeout(() => {
3287
- timer = null;
3288
- onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](`timeout of ${timeout}ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ETIMEDOUT));
3289
- }, timeout);
3290
-
3291
- const unsubscribe = () => {
3292
- if (signals) {
3293
- timer && clearTimeout(timer);
3294
- timer = null;
3295
- signals.forEach((signal) => {
3296
- signal.unsubscribe
3297
- ? signal.unsubscribe(onabort)
3298
- : signal.removeEventListener('abort', onabort);
3299
- });
3300
- signals = null;
3301
- }
3302
- };
4090
+ if (!timeout && !signals.length) {
4091
+ return;
4092
+ }
3303
4093
 
3304
- signals.forEach((signal) => signal.addEventListener('abort', onabort));
4094
+ const controller = new AbortController();
3305
4095
 
3306
- const { signal } = controller;
4096
+ let aborted = false;
3307
4097
 
3308
- signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(unsubscribe);
4098
+ const onabort = function (reason) {
4099
+ if (!aborted) {
4100
+ aborted = true;
4101
+ unsubscribe();
4102
+ const err = reason instanceof Error ? reason : this.reason;
4103
+ controller.abort(
4104
+ err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"]
4105
+ ? err
4106
+ : new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__["default"](err instanceof Error ? err.message : err)
4107
+ );
4108
+ }
4109
+ };
3309
4110
 
3310
- return signal;
3311
- }
4111
+ let timer =
4112
+ timeout &&
4113
+ setTimeout(() => {
4114
+ timer = null;
4115
+ onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](`timeout of ${timeout}ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ETIMEDOUT));
4116
+ }, timeout);
4117
+
4118
+ const unsubscribe = () => {
4119
+ if (!signals) { return; }
4120
+ timer && clearTimeout(timer);
4121
+ timer = null;
4122
+ signals.forEach((signal) => {
4123
+ signal.unsubscribe
4124
+ ? signal.unsubscribe(onabort)
4125
+ : signal.removeEventListener('abort', onabort);
4126
+ });
4127
+ signals = null;
4128
+ };
4129
+
4130
+ signals.forEach((signal) => {
4131
+ if (aborted) {
4132
+ return;
4133
+ }
4134
+
4135
+ if (signal.aborted) {
4136
+ onabort.call(signal);
4137
+ return;
4138
+ }
4139
+
4140
+ signal.addEventListener('abort', onabort, { once: true });
4141
+ });
4142
+
4143
+ const { signal } = controller;
4144
+
4145
+ signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(unsubscribe);
4146
+
4147
+ return signal;
3312
4148
  };
3313
4149
 
3314
4150
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals);
@@ -3316,18 +4152,18 @@ const composeSignals = (signals, timeout) => {
3316
4152
 
3317
4153
  /***/ },
3318
4154
 
3319
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/cookies.js"
3320
- /*!***********************************************************************************!*\
3321
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/cookies.js ***!
3322
- \***********************************************************************************/
4155
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/cookies.js"
4156
+ /*!******************************************************************************************************************************************!*\
4157
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/cookies.js ***!
4158
+ \******************************************************************************************************************************************/
3323
4159
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3324
4160
 
3325
4161
  __webpack_require__.r(__webpack_exports__);
3326
4162
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3327
4163
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3328
4164
  /* harmony export */ });
3329
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
3330
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js");
4165
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
4166
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
3331
4167
 
3332
4168
 
3333
4169
 
@@ -3360,8 +4196,24 @@ __webpack_require__.r(__webpack_exports__);
3360
4196
 
3361
4197
  read(name) {
3362
4198
  if (typeof document === 'undefined') return null;
3363
- const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
3364
- return match ? decodeURIComponent(match[1]) : null;
4199
+ // Match name=value by splitting on the semicolon separator instead of building a
4200
+ // RegExp from `name` — interpolating an unescaped string into a RegExp would let
4201
+ // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or
4202
+ // match the wrong cookie. Browsers may serialize cookie pairs as either ";" or
4203
+ // "; ", so ignore optional whitespace before each cookie name.
4204
+ const cookies = document.cookie.split(';');
4205
+ for (let i = 0; i < cookies.length; i++) {
4206
+ const cookie = cookies[i].replace(/^\s+/, '');
4207
+ const eq = cookie.indexOf('=');
4208
+ if (eq !== -1 && cookie.slice(0, eq) === name) {
4209
+ try {
4210
+ return decodeURIComponent(cookie.slice(eq + 1));
4211
+ } catch (e) {
4212
+ return cookie.slice(eq + 1);
4213
+ }
4214
+ }
4215
+ }
4216
+ return null;
3365
4217
  },
3366
4218
 
3367
4219
  remove(name) {
@@ -3380,21 +4232,217 @@ __webpack_require__.r(__webpack_exports__);
3380
4232
 
3381
4233
  /***/ },
3382
4234
 
3383
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToJSON.js"
3384
- /*!******************************************************************************************!*\
3385
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToJSON.js ***!
3386
- \******************************************************************************************/
4235
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js"
4236
+ /*!**************************************************************************************************************************************************************!*\
4237
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js ***!
4238
+ \**************************************************************************************************************************************************************/
4239
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4240
+
4241
+ __webpack_require__.r(__webpack_exports__);
4242
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4243
+ /* harmony export */ "default": () => (/* binding */ estimateDataURLDecodedBytes),
4244
+ /* harmony export */ estimateDataURLBufferAllocation: () => (/* binding */ estimateDataURLBufferAllocation)
4245
+ /* harmony export */ });
4246
+ /**
4247
+ * Estimate data: URL byte lengths *without* allocating large buffers.
4248
+ * - Fetch percent-decodes a base64 body before decoding it.
4249
+ * - Node's Buffer.from(body, 'base64') sizes its backing allocation from the
4250
+ * raw body, including ignored characters and content after padding.
4251
+ * - Non-base64 data is percent-decoded and then encoded as UTF-8.
4252
+ */
4253
+ const isHexDigit = (charCode) =>
4254
+ (charCode >= 48 && charCode <= 57) ||
4255
+ (charCode >= 65 && charCode <= 70) ||
4256
+ (charCode >= 97 && charCode <= 102);
4257
+
4258
+ const isPercentEncodedByte = (str, i, len) =>
4259
+ i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2));
4260
+
4261
+ const hexValue = (charCode) => (charCode <= 57 ? charCode - 48 : (charCode & 0xdf) - 55);
4262
+
4263
+ const isBase64Char = (charCode) =>
4264
+ (charCode >= 65 && charCode <= 90) || // A-Z
4265
+ (charCode >= 97 && charCode <= 122) || // a-z
4266
+ (charCode >= 48 && charCode <= 57) || // 0-9
4267
+ charCode === 43 || // +
4268
+ charCode === 47 || // /
4269
+ charCode === 45 || // - (base64url)
4270
+ charCode === 95; // _ (base64url)
4271
+
4272
+ const isBase64Whitespace = (charCode) =>
4273
+ charCode === 9 || charCode === 10 || charCode === 12 || charCode === 13 || charCode === 32;
4274
+
4275
+ const base64Bytes = (significant) => {
4276
+ const groups = Math.floor(significant / 4);
4277
+ const remainder = significant % 4;
4278
+ return groups * 3 + (remainder === 2 ? 1 : remainder === 3 ? 2 : 0);
4279
+ };
4280
+
4281
+ // Buffer.byteLength(body, 'base64') uses the raw string length as an allocation
4282
+ // upper bound even when Buffer.from later ignores characters or stops at '='.
4283
+ const estimateBase64BufferAllocation = (body) => {
4284
+ const len = body.length;
4285
+ let padding = 0;
4286
+
4287
+ if (len > 0 && body.charCodeAt(len - 1) === 61 /* '=' */) {
4288
+ padding++;
4289
+
4290
+ if (len > 1 && body.charCodeAt(len - 2) === 61 /* '=' */) {
4291
+ padding++;
4292
+ }
4293
+ }
4294
+
4295
+ return Math.floor(((len - padding) * 3) / 4);
4296
+ };
4297
+
4298
+ const estimatePercentDecodedBase64Bytes = (body) => {
4299
+ const len = body.length;
4300
+ let significant = 0;
4301
+ let padding = 0;
4302
+ let invalid = false;
4303
+
4304
+ for (let i = 0; i < len; i++) {
4305
+ let code = body.charCodeAt(i);
4306
+
4307
+ if (code === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) {
4308
+ code = hexValue(body.charCodeAt(i + 1)) * 16 + hexValue(body.charCodeAt(i + 2));
4309
+ i += 2;
4310
+ }
4311
+
4312
+ if (isBase64Whitespace(code)) {
4313
+ continue;
4314
+ }
4315
+
4316
+ if (code === 61 /* '=' */) {
4317
+ padding++;
4318
+ continue;
4319
+ }
4320
+
4321
+ if (!isBase64Char(code) || padding > 0) {
4322
+ invalid = true;
4323
+ continue;
4324
+ }
4325
+
4326
+ significant++;
4327
+ }
4328
+
4329
+ // Fetch rejects malformed forgiving-base64 input. Returning the raw-size
4330
+ // allocation bound keeps that invalid input from becoming a pre-check bypass.
4331
+ if (
4332
+ invalid ||
4333
+ padding > 2 ||
4334
+ (padding > 0 && (significant + padding) % 4 !== 0) ||
4335
+ significant % 4 === 1
4336
+ ) {
4337
+ return estimateBase64BufferAllocation(body);
4338
+ }
4339
+
4340
+ return base64Bytes(significant);
4341
+ };
4342
+
4343
+ const estimateDataURLBytes = (url, estimateBase64) => {
4344
+ if (!url || typeof url !== 'string') return 0;
4345
+ if (!url.startsWith('data:')) return 0;
4346
+
4347
+ const comma = url.indexOf(',');
4348
+ if (comma < 0) return 0;
4349
+
4350
+ const meta = url.slice(5, comma);
4351
+ const body = url.slice(comma + 1);
4352
+ const isBase64 = /;base64/i.test(meta);
4353
+
4354
+ if (isBase64) {
4355
+ return estimateBase64(body);
4356
+ }
4357
+
4358
+ // Compute UTF-8 byte length directly from UTF-16 code units without allocating
4359
+ // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies).
4360
+ // Valid %XX triplets count as one decoded byte; this matches the bytes that
4361
+ // decodeURIComponent(body) would produce before Buffer re-encodes the string.
4362
+ let bytes = 0;
4363
+ for (let i = 0, len = body.length; i < len; i++) {
4364
+ const c = body.charCodeAt(i);
4365
+ if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) {
4366
+ bytes += 1;
4367
+ i += 2;
4368
+ } else if (c < 0x80) {
4369
+ bytes += 1;
4370
+ } else if (c < 0x800) {
4371
+ bytes += 2;
4372
+ } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) {
4373
+ const next = body.charCodeAt(i + 1);
4374
+ if (next >= 0xdc00 && next <= 0xdfff) {
4375
+ bytes += 4;
4376
+ i++;
4377
+ } else {
4378
+ bytes += 3;
4379
+ }
4380
+ } else {
4381
+ bytes += 3;
4382
+ }
4383
+ }
4384
+ return bytes;
4385
+ };
4386
+
4387
+ /**
4388
+ * Estimate the percent-decoded payload size used by Fetch data: URLs.
4389
+ *
4390
+ * @param {string} url
4391
+ * @returns {number}
4392
+ */
4393
+ function estimateDataURLDecodedBytes(url) {
4394
+ // Fetch removes URL fragments before processing a data: URL.
4395
+ const fragmentIndex = typeof url === 'string' ? url.indexOf('#') : -1;
4396
+
4397
+ return estimateDataURLBytes(
4398
+ fragmentIndex === -1 ? url : url.slice(0, fragmentIndex),
4399
+ estimatePercentDecodedBase64Bytes
4400
+ );
4401
+ }
4402
+
4403
+ /**
4404
+ * Estimate the Buffer backing allocation used by Node's raw base64 decoder.
4405
+ *
4406
+ * @param {string} url
4407
+ * @returns {number}
4408
+ */
4409
+ function estimateDataURLBufferAllocation(url) {
4410
+ return estimateDataURLBytes(url, estimateBase64BufferAllocation);
4411
+ }
4412
+
4413
+
4414
+ /***/ },
4415
+
4416
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToJSON.js"
4417
+ /*!*************************************************************************************************************************************************!*\
4418
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToJSON.js ***!
4419
+ \*************************************************************************************************************************************************/
3387
4420
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3388
4421
 
3389
4422
  __webpack_require__.r(__webpack_exports__);
3390
4423
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3391
4424
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3392
4425
  /* harmony export */ });
3393
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
4426
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
4427
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
4428
+ /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toFormData.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js");
4429
+
4430
+
3394
4431
 
3395
4432
 
3396
4433
 
3397
4434
 
4435
+ const MAX_DEPTH = _toFormData_js__WEBPACK_IMPORTED_MODULE_2__.DEFAULT_FORM_DATA_MAX_DEPTH;
4436
+
4437
+ function throwIfDepthExceeded(index) {
4438
+ if (index > MAX_DEPTH) {
4439
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](
4440
+ 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH,
4441
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_FORM_DATA_DEPTH_EXCEEDED
4442
+ );
4443
+ }
4444
+ }
4445
+
3398
4446
  /**
3399
4447
  * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']
3400
4448
  *
@@ -3403,13 +4451,26 @@ __webpack_require__.r(__webpack_exports__);
3403
4451
  * @returns An array of strings.
3404
4452
  */
3405
4453
  function parsePropPath(name) {
3406
- // foo[x][y][z]
3407
- // foo.x.y.z
3408
- // foo-x-y-z
3409
- // foo x y z
3410
- return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
3411
- return match[0] === '[]' ? '' : match[1] || match[0];
3412
- });
4454
+ // foo[x][y][z] -> ['foo', 'x', 'y', 'z']
4455
+ // foo.x.y.z -> ['foo', 'x', 'y', 'z']
4456
+ // A path is split on `.` and on `[...]` groups. A segment — whether written
4457
+ // in dot notation or captured inside brackets — may contain any character
4458
+ // except `.`, `[` and `]`, so a key like `user-name` or `user name` is kept
4459
+ // literal instead of being split (#5402). `.`, `[` and `]` keep their existing
4460
+ // meaning, e.g. `foo[bar.baz]` -> ['foo', 'bar', 'baz'] and `[]` is an array push.
4461
+ // Excluding `[` from the bracket group also makes the match fail fast at the
4462
+ // next `[`, so a malformed name cannot rescan to the end of the string from
4463
+ // every unmatched `[` — parsing stays linear in the length of the name.
4464
+ const path = [];
4465
+ const pattern = /[^.[\]]+|\[([^.[\]]*)]/g;
4466
+ let match;
4467
+
4468
+ while ((match = pattern.exec(name)) !== null) {
4469
+ throwIfDepthExceeded(path.length);
4470
+ path.push(match[0] === '[]' ? '' : match[1] || match[0]);
4471
+ }
4472
+
4473
+ return path;
3413
4474
  }
3414
4475
 
3415
4476
  /**
@@ -3441,6 +4502,8 @@ function arrayToObject(arr) {
3441
4502
  */
3442
4503
  function formDataToJSON(formData) {
3443
4504
  function buildPath(path, value, target, index) {
4505
+ throwIfDepthExceeded(index);
4506
+
3444
4507
  let name = path[index++];
3445
4508
 
3446
4509
  if (name === '__proto__') return true;
@@ -3451,7 +4514,9 @@ function formDataToJSON(formData) {
3451
4514
 
3452
4515
  if (isLast) {
3453
4516
  if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(target, name)) {
3454
- target[name] = [target[name], value];
4517
+ target[name] = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(target[name])
4518
+ ? target[name].concat(value)
4519
+ : [target[name], value];
3455
4520
  } else {
3456
4521
  target[name] = value;
3457
4522
  }
@@ -3459,7 +4524,7 @@ function formDataToJSON(formData) {
3459
4524
  return !isNumericKey;
3460
4525
  }
3461
4526
 
3462
- if (!target[name] || !_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(target[name])) {
4527
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(target, name) || !_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(target[name])) {
3463
4528
  target[name] = [];
3464
4529
  }
3465
4530
 
@@ -3490,10 +4555,10 @@ function formDataToJSON(formData) {
3490
4555
 
3491
4556
  /***/ },
3492
4557
 
3493
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAbsoluteURL.js"
3494
- /*!*****************************************************************************************!*\
3495
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
3496
- \*****************************************************************************************/
4558
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAbsoluteURL.js"
4559
+ /*!************************************************************************************************************************************************!*\
4560
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
4561
+ \************************************************************************************************************************************************/
3497
4562
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3498
4563
 
3499
4564
  __webpack_require__.r(__webpack_exports__);
@@ -3523,17 +4588,17 @@ function isAbsoluteURL(url) {
3523
4588
 
3524
4589
  /***/ },
3525
4590
 
3526
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAxiosError.js"
3527
- /*!****************************************************************************************!*\
3528
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAxiosError.js ***!
3529
- \****************************************************************************************/
4591
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAxiosError.js"
4592
+ /*!***********************************************************************************************************************************************!*\
4593
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAxiosError.js ***!
4594
+ \***********************************************************************************************************************************************/
3530
4595
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3531
4596
 
3532
4597
  __webpack_require__.r(__webpack_exports__);
3533
4598
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3534
4599
  /* harmony export */ "default": () => (/* binding */ isAxiosError)
3535
4600
  /* harmony export */ });
3536
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
4601
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
3537
4602
 
3538
4603
 
3539
4604
 
@@ -3552,17 +4617,17 @@ function isAxiosError(payload) {
3552
4617
 
3553
4618
  /***/ },
3554
4619
 
3555
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isURLSameOrigin.js"
3556
- /*!*******************************************************************************************!*\
3557
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
3558
- \*******************************************************************************************/
4620
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isURLSameOrigin.js"
4621
+ /*!**************************************************************************************************************************************************!*\
4622
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
4623
+ \**************************************************************************************************************************************************/
3559
4624
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3560
4625
 
3561
4626
  __webpack_require__.r(__webpack_exports__);
3562
4627
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3563
4628
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3564
4629
  /* harmony export */ });
3565
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js");
4630
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
3566
4631
 
3567
4632
 
3568
4633
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
@@ -3583,10 +4648,10 @@ __webpack_require__.r(__webpack_exports__);
3583
4648
 
3584
4649
  /***/ },
3585
4650
 
3586
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/null.js"
3587
- /*!********************************************************************************!*\
3588
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/null.js ***!
3589
- \********************************************************************************/
4651
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/null.js"
4652
+ /*!***************************************************************************************************************************************!*\
4653
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/null.js ***!
4654
+ \***************************************************************************************************************************************/
3590
4655
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3591
4656
 
3592
4657
  __webpack_require__.r(__webpack_exports__);
@@ -3599,17 +4664,17 @@ __webpack_require__.r(__webpack_exports__);
3599
4664
 
3600
4665
  /***/ },
3601
4666
 
3602
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseHeaders.js"
3603
- /*!****************************************************************************************!*\
3604
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseHeaders.js ***!
3605
- \****************************************************************************************/
4667
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseHeaders.js"
4668
+ /*!***********************************************************************************************************************************************!*\
4669
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseHeaders.js ***!
4670
+ \***********************************************************************************************************************************************/
3606
4671
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3607
4672
 
3608
4673
  __webpack_require__.r(__webpack_exports__);
3609
4674
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3610
4675
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3611
4676
  /* harmony export */ });
3612
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
4677
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
3613
4678
 
3614
4679
 
3615
4680
 
@@ -3662,18 +4727,20 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
3662
4727
  key = line.substring(0, i).trim().toLowerCase();
3663
4728
  val = line.substring(i + 1).trim();
3664
4729
 
3665
- if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
4730
+ const hasKey = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(parsed, key);
4731
+
4732
+ if (!key || (hasKey && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(ignoreDuplicateOf, key))) {
3666
4733
  return;
3667
4734
  }
3668
4735
 
3669
4736
  if (key === 'set-cookie') {
3670
- if (parsed[key]) {
4737
+ if (hasKey) {
3671
4738
  parsed[key].push(val);
3672
4739
  } else {
3673
4740
  parsed[key] = [val];
3674
4741
  }
3675
4742
  } else {
3676
- parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
4743
+ parsed[key] = hasKey ? parsed[key] + ', ' + val : val;
3677
4744
  }
3678
4745
  });
3679
4746
 
@@ -3683,10 +4750,10 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
3683
4750
 
3684
4751
  /***/ },
3685
4752
 
3686
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseProtocol.js"
3687
- /*!*****************************************************************************************!*\
3688
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseProtocol.js ***!
3689
- \*****************************************************************************************/
4753
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseProtocol.js"
4754
+ /*!************************************************************************************************************************************************!*\
4755
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseProtocol.js ***!
4756
+ \************************************************************************************************************************************************/
3690
4757
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3691
4758
 
3692
4759
  __webpack_require__.r(__webpack_exports__);
@@ -3696,17 +4763,17 @@ __webpack_require__.r(__webpack_exports__);
3696
4763
 
3697
4764
 
3698
4765
  function parseProtocol(url) {
3699
- const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
4766
+ const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url);
3700
4767
  return (match && match[1]) || '';
3701
4768
  }
3702
4769
 
3703
4770
 
3704
4771
  /***/ },
3705
4772
 
3706
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/progressEventReducer.js"
3707
- /*!************************************************************************************************!*\
3708
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/progressEventReducer.js ***!
3709
- \************************************************************************************************/
4773
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/progressEventReducer.js"
4774
+ /*!*******************************************************************************************************************************************************!*\
4775
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/progressEventReducer.js ***!
4776
+ \*******************************************************************************************************************************************************/
3710
4777
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3711
4778
 
3712
4779
  __webpack_require__.r(__webpack_exports__);
@@ -3715,9 +4782,9 @@ __webpack_require__.r(__webpack_exports__);
3715
4782
  /* harmony export */ progressEventDecorator: () => (/* binding */ progressEventDecorator),
3716
4783
  /* harmony export */ progressEventReducer: () => (/* binding */ progressEventReducer)
3717
4784
  /* harmony export */ });
3718
- /* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/speedometer.js");
3719
- /* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/throttle.js");
3720
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
4785
+ /* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/speedometer.js");
4786
+ /* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/throttle.js");
4787
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
3721
4788
 
3722
4789
 
3723
4790
 
@@ -3727,13 +4794,16 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
3727
4794
  const _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250);
3728
4795
 
3729
4796
  return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])((e) => {
3730
- const loaded = e.loaded;
4797
+ if (!e || typeof e.loaded !== 'number') {
4798
+ return;
4799
+ }
4800
+ const rawLoaded = e.loaded;
3731
4801
  const total = e.lengthComputable ? e.total : undefined;
3732
- const progressBytes = loaded - bytesNotified;
4802
+ const loaded = Math.max(0, total != null ? Math.min(rawLoaded, total) : rawLoaded);
4803
+ const progressBytes = Math.max(0, loaded - bytesNotified);
3733
4804
  const rate = _speedometer(progressBytes);
3734
- const inRange = loaded <= total;
3735
4805
 
3736
- bytesNotified = loaded;
4806
+ bytesNotified = Math.max(bytesNotified, loaded);
3737
4807
 
3738
4808
  const data = {
3739
4809
  loaded,
@@ -3741,7 +4811,7 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
3741
4811
  progress: total ? loaded / total : undefined,
3742
4812
  bytes: progressBytes,
3743
4813
  rate: rate ? rate : undefined,
3744
- estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
4814
+ estimated: rate && total ? (total - loaded) / rate : undefined,
3745
4815
  event: e,
3746
4816
  lengthComputable: total != null,
3747
4817
  [isDownloadStream ? 'download' : 'upload']: true,
@@ -3766,31 +4836,33 @@ const progressEventDecorator = (total, throttled) => {
3766
4836
  };
3767
4837
 
3768
4838
  const asyncDecorator =
3769
- (fn) =>
4839
+ (fn, scheduler = _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap) =>
3770
4840
  (...args) =>
3771
- _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(() => fn(...args));
4841
+ scheduler(() => fn(...args));
3772
4842
 
3773
4843
 
3774
4844
  /***/ },
3775
4845
 
3776
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js"
3777
- /*!*****************************************************************************************!*\
3778
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js ***!
3779
- \*****************************************************************************************/
4846
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/resolveConfig.js"
4847
+ /*!************************************************************************************************************************************************!*\
4848
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/resolveConfig.js ***!
4849
+ \************************************************************************************************************************************************/
3780
4850
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3781
4851
 
3782
4852
  __webpack_require__.r(__webpack_exports__);
3783
4853
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3784
4854
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3785
4855
  /* harmony export */ });
3786
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js");
3787
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
3788
- /* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isURLSameOrigin.js");
3789
- /* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./cookies.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/cookies.js");
3790
- /* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/buildFullPath.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/buildFullPath.js");
3791
- /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/mergeConfig.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js");
3792
- /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js");
3793
- /* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./buildURL.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/buildURL.js");
4856
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
4857
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
4858
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
4859
+ /* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isURLSameOrigin.js");
4860
+ /* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./cookies.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/cookies.js");
4861
+ /* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/buildFullPath.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/buildFullPath.js");
4862
+ /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../core/mergeConfig.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js");
4863
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
4864
+ /* harmony import */ var _core_setFormDataHeaders_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/setFormDataHeaders.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/setFormDataHeaders.js");
4865
+ /* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./buildURL.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/buildURL.js");
3794
4866
 
3795
4867
 
3796
4868
 
@@ -3800,45 +4872,71 @@ __webpack_require__.r(__webpack_exports__);
3800
4872
 
3801
4873
 
3802
4874
 
3803
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((config) => {
3804
- const newConfig = (0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_5__["default"])({}, config);
3805
4875
 
3806
- let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
3807
4876
 
3808
- newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_6__["default"].from(headers);
4877
+ /**
4878
+ * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().
4879
+ * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.
4880
+ *
4881
+ * @param {string} str The string to encode
4882
+ *
4883
+ * @returns {string} UTF-8 bytes as a Latin-1 string
4884
+ */
4885
+ const encodeUTF8 = (str) =>
4886
+ encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>
4887
+ String.fromCharCode(parseInt(hex, 16))
4888
+ );
3809
4889
 
3810
- newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_7__["default"])(
3811
- (0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_4__["default"])(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls),
3812
- config.params,
3813
- config.paramsSerializer
4890
+ function resolveConfig(config) {
4891
+ const newConfig = (0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_6__["default"])({}, config);
4892
+
4893
+ // Read only own properties to prevent prototype pollution gadgets
4894
+ // (e.g. Object.prototype.baseURL = 'https://evil.com').
4895
+ const own = (key) => (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(newConfig, key) ? newConfig[key] : undefined);
4896
+
4897
+ const data = own('data');
4898
+ let withXSRFToken = own('withXSRFToken');
4899
+ const xsrfHeaderName = own('xsrfHeaderName');
4900
+ const xsrfCookieName = own('xsrfCookieName');
4901
+ let headers = own('headers');
4902
+ const auth = own('auth');
4903
+ const baseURL = own('baseURL');
4904
+ const allowAbsoluteUrls = own('allowAbsoluteUrls');
4905
+ const url = own('url');
4906
+
4907
+ newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__["default"].from(headers);
4908
+
4909
+ newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_9__["default"])(
4910
+ (0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_5__["default"])(baseURL, url, allowAbsoluteUrls, newConfig),
4911
+ own('params'),
4912
+ own('paramsSerializer')
3814
4913
  );
3815
4914
 
3816
4915
  // HTTP basic authentication
3817
4916
  if (auth) {
3818
- headers.set(
3819
- 'Authorization',
3820
- 'Basic ' +
3821
- btoa(
3822
- (auth.username || '') +
3823
- ':' +
3824
- (auth.password ? unescape(encodeURIComponent(auth.password)) : '')
3825
- )
3826
- );
4917
+ const username = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].getSafeProp(auth, 'username') || '';
4918
+ const password = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].getSafeProp(auth, 'password') || '';
4919
+
4920
+ try {
4921
+ headers.set(
4922
+ 'Authorization',
4923
+ 'Basic ' + btoa(username + ':' + (password ? encodeUTF8(password) : ''))
4924
+ );
4925
+ } catch (e) {
4926
+ throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(e, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_OPTION_VALUE, config);
4927
+ }
3827
4928
  }
3828
4929
 
3829
4930
  if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFormData(data)) {
3830
- if (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv || _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserWebWorkerEnv) {
3831
- headers.setContentType(undefined); // browser handles it
4931
+ if (
4932
+ _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv ||
4933
+ _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserWebWorkerEnv ||
4934
+ _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isReactNative(data)
4935
+ ) {
4936
+ headers.setContentType(undefined); // browser/web worker/RN handles it
3832
4937
  } else if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFunction(data.getHeaders)) {
3833
4938
  // Node.js FormData (like form-data package)
3834
- const formHeaders = data.getHeaders();
3835
- // Only set safe headers to avoid overwriting security headers
3836
- const allowedHeaders = ['content-type', 'content-length'];
3837
- Object.entries(formHeaders).forEach(([key, val]) => {
3838
- if (allowedHeaders.includes(key.toLowerCase())) {
3839
- headers.set(key, val);
3840
- }
3841
- });
4939
+ (0,_core_setFormDataHeaders_js__WEBPACK_IMPORTED_MODULE_8__["default"])(headers, data.getHeaders(), own('formDataHeaderPolicy'));
3842
4940
  }
3843
4941
  }
3844
4942
 
@@ -3847,11 +4945,18 @@ __webpack_require__.r(__webpack_exports__);
3847
4945
  // Specifically not if we're in a web worker, or react-native.
3848
4946
 
3849
4947
  if (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv) {
3850
- withXSRFToken && _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));
4948
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFunction(withXSRFToken)) {
4949
+ withXSRFToken = withXSRFToken(newConfig);
4950
+ }
4951
+
4952
+ // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1)
4953
+ // and misconfigurations (e.g. "false") from short-circuiting the same-origin check and leaking
4954
+ // the XSRF token cross-origin.
4955
+ const shouldSendXSRF =
4956
+ withXSRFToken === true || (withXSRFToken == null && (0,_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_3__["default"])(newConfig.url));
3851
4957
 
3852
- if (withXSRFToken || (withXSRFToken !== false && (0,_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_2__["default"])(newConfig.url))) {
3853
- // Add xsrf header
3854
- const xsrfValue = xsrfHeaderName && xsrfCookieName && _cookies_js__WEBPACK_IMPORTED_MODULE_3__["default"].read(xsrfCookieName);
4958
+ if (shouldSendXSRF) {
4959
+ const xsrfValue = xsrfHeaderName && xsrfCookieName && _cookies_js__WEBPACK_IMPORTED_MODULE_4__["default"].read(xsrfCookieName);
3855
4960
 
3856
4961
  if (xsrfValue) {
3857
4962
  headers.set(xsrfHeaderName, xsrfValue);
@@ -3860,15 +4965,94 @@ __webpack_require__.r(__webpack_exports__);
3860
4965
  }
3861
4966
 
3862
4967
  return newConfig;
3863
- });
4968
+ }
4969
+
4970
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (resolveConfig);
4971
+
4972
+
4973
+ /***/ },
4974
+
4975
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js"
4976
+ /*!******************************************************************************************************************************************************!*\
4977
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js ***!
4978
+ \******************************************************************************************************************************************************/
4979
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4980
+
4981
+ __webpack_require__.r(__webpack_exports__);
4982
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4983
+ /* harmony export */ sanitizeByteStringHeaderValue: () => (/* binding */ sanitizeByteStringHeaderValue),
4984
+ /* harmony export */ sanitizeHeaderValue: () => (/* binding */ sanitizeHeaderValue),
4985
+ /* harmony export */ toByteStringHeaderObject: () => (/* binding */ toByteStringHeaderObject)
4986
+ /* harmony export */ });
4987
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
4988
+
4989
+
4990
+
4991
+
4992
+ function trimSPorHTAB(str) {
4993
+ let start = 0;
4994
+ let end = str.length;
4995
+
4996
+ while (start < end) {
4997
+ const code = str.charCodeAt(start);
4998
+
4999
+ if (code !== 0x09 && code !== 0x20) {
5000
+ break;
5001
+ }
5002
+
5003
+ start += 1;
5004
+ }
5005
+
5006
+ while (end > start) {
5007
+ const code = str.charCodeAt(end - 1);
5008
+
5009
+ if (code !== 0x09 && code !== 0x20) {
5010
+ break;
5011
+ }
5012
+
5013
+ end -= 1;
5014
+ }
5015
+
5016
+ return start === 0 && end === str.length ? str : str.slice(start, end);
5017
+ }
5018
+
5019
+ // The control-code ranges are intentional: header sanitization strips C0/DEL bytes.
5020
+ // eslint-disable-next-line no-control-regex
5021
+ const INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+', 'g');
5022
+ // eslint-disable-next-line no-control-regex
5023
+ const INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+', 'g');
5024
+
5025
+ function sanitizeValue(value, invalidChars) {
5026
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value)) {
5027
+ return value.map((item) => sanitizeValue(item, invalidChars));
5028
+ }
5029
+
5030
+ return trimSPorHTAB(String(value).replace(invalidChars, ''));
5031
+ }
5032
+
5033
+ const sanitizeHeaderValue = (value) =>
5034
+ sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS);
5035
+
5036
+ const sanitizeByteStringHeaderValue = (value) =>
5037
+ sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS);
5038
+
5039
+ function toByteStringHeaderObject(headers) {
5040
+ const byteStringHeaders = Object.create(null);
5041
+
5042
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(headers.toJSON(), (value, header) => {
5043
+ byteStringHeaders[header] = sanitizeByteStringHeaderValue(value);
5044
+ });
5045
+
5046
+ return byteStringHeaders;
5047
+ }
3864
5048
 
3865
5049
 
3866
5050
  /***/ },
3867
5051
 
3868
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/speedometer.js"
3869
- /*!***************************************************************************************!*\
3870
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/speedometer.js ***!
3871
- \***************************************************************************************/
5052
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/speedometer.js"
5053
+ /*!**********************************************************************************************************************************************!*\
5054
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/speedometer.js ***!
5055
+ \**********************************************************************************************************************************************/
3872
5056
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3873
5057
 
3874
5058
  __webpack_require__.r(__webpack_exports__);
@@ -3934,10 +5118,10 @@ function speedometer(samplesCount, min) {
3934
5118
 
3935
5119
  /***/ },
3936
5120
 
3937
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/spread.js"
3938
- /*!**********************************************************************************!*\
3939
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/spread.js ***!
3940
- \**********************************************************************************/
5121
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/spread.js"
5122
+ /*!*****************************************************************************************************************************************!*\
5123
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/spread.js ***!
5124
+ \*****************************************************************************************************************************************/
3941
5125
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3942
5126
 
3943
5127
  __webpack_require__.r(__webpack_exports__);
@@ -3976,10 +5160,10 @@ function spread(callback) {
3976
5160
 
3977
5161
  /***/ },
3978
5162
 
3979
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/throttle.js"
3980
- /*!************************************************************************************!*\
3981
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/throttle.js ***!
3982
- \************************************************************************************/
5163
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/throttle.js"
5164
+ /*!*******************************************************************************************************************************************!*\
5165
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/throttle.js ***!
5166
+ \*******************************************************************************************************************************************/
3983
5167
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3984
5168
 
3985
5169
  __webpack_require__.r(__webpack_exports__);
@@ -4034,19 +5218,20 @@ function throttle(fn, freq) {
4034
5218
 
4035
5219
  /***/ },
4036
5220
 
4037
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js"
4038
- /*!**************************************************************************************!*\
4039
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js ***!
4040
- \**************************************************************************************/
5221
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js"
5222
+ /*!*********************************************************************************************************************************************!*\
5223
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js ***!
5224
+ \*********************************************************************************************************************************************/
4041
5225
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4042
5226
 
4043
5227
  __webpack_require__.r(__webpack_exports__);
4044
5228
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
5229
+ /* harmony export */ DEFAULT_FORM_DATA_MAX_DEPTH: () => (/* binding */ DEFAULT_FORM_DATA_MAX_DEPTH),
4045
5230
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4046
5231
  /* harmony export */ });
4047
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
4048
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js");
4049
- /* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/null.js");
5232
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
5233
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
5234
+ /* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../platform/node/classes/Buffer.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/null.js");
4050
5235
 
4051
5236
 
4052
5237
 
@@ -4054,6 +5239,11 @@ __webpack_require__.r(__webpack_exports__);
4054
5239
  // temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored
4055
5240
 
4056
5241
 
5242
+
5243
+ // Default nesting limit shared with the inverse transform (formDataToJSON) so
5244
+ // the FormData <-> JSON round-trip stays symmetric.
5245
+ const DEFAULT_FORM_DATA_MAX_DEPTH = 100;
5246
+
4057
5247
  /**
4058
5248
  * Determines if the given thing is a array or js object.
4059
5249
  *
@@ -4164,7 +5354,9 @@ function toFormData(obj, formData, options) {
4164
5354
  const dots = options.dots;
4165
5355
  const indexes = options.indexes;
4166
5356
  const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
5357
+ const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth;
4167
5358
  const useBlob = _Blob && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isSpecCompliantForm(formData);
5359
+ const stack = [];
4168
5360
 
4169
5361
  if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(visitor)) {
4170
5362
  throw new TypeError('visitor must be a function');
@@ -4186,12 +5378,50 @@ function toFormData(obj, formData, options) {
4186
5378
  }
4187
5379
 
4188
5380
  if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArrayBuffer(value) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isTypedArray(value)) {
4189
- return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);
5381
+ if (useBlob && typeof _Blob === 'function') {
5382
+ return new _Blob([value]);
5383
+ }
5384
+ if (_platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_2__["default"] && _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_2__["default"].isBufferAvailable()) {
5385
+ return _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(value);
5386
+ }
5387
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"]('Blob is not supported. Use a Buffer instead.', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_NOT_SUPPORT);
4190
5388
  }
4191
5389
 
4192
5390
  return value;
4193
5391
  }
4194
5392
 
5393
+ function throwIfMaxDepthExceeded(depth) {
5394
+ if (depth > maxDepth) {
5395
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](
5396
+ 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth,
5397
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_FORM_DATA_DEPTH_EXCEEDED
5398
+ );
5399
+ }
5400
+ }
5401
+
5402
+ function stringifyWithDepthLimit(value, depth) {
5403
+ if (maxDepth === Infinity) {
5404
+ return JSON.stringify(value);
5405
+ }
5406
+
5407
+ const ancestors = [];
5408
+
5409
+ return JSON.stringify(value, function limitDepth(_key, currentValue) {
5410
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(currentValue)) {
5411
+ return currentValue;
5412
+ }
5413
+
5414
+ while (ancestors.length && ancestors[ancestors.length - 1] !== this) {
5415
+ ancestors.pop();
5416
+ }
5417
+
5418
+ ancestors.push(currentValue);
5419
+ throwIfMaxDepthExceeded(depth + ancestors.length - 1);
5420
+
5421
+ return currentValue;
5422
+ });
5423
+ }
5424
+
4195
5425
  /**
4196
5426
  * Default visitor.
4197
5427
  *
@@ -4215,7 +5445,7 @@ function toFormData(obj, formData, options) {
4215
5445
  // eslint-disable-next-line no-param-reassign
4216
5446
  key = metaTokens ? key : key.slice(0, -2);
4217
5447
  // eslint-disable-next-line no-param-reassign
4218
- value = JSON.stringify(value);
5448
+ value = stringifyWithDepthLimit(value, 1);
4219
5449
  } else if (
4220
5450
  (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) && isFlatArray(value)) ||
4221
5451
  ((_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(value) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].endsWith(key, '[]')) && (arr = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toArray(value)))
@@ -4248,19 +5478,19 @@ function toFormData(obj, formData, options) {
4248
5478
  return false;
4249
5479
  }
4250
5480
 
4251
- const stack = [];
4252
-
4253
5481
  const exposedHelpers = Object.assign(predicates, {
4254
5482
  defaultVisitor,
4255
5483
  convertValue,
4256
5484
  isVisitable,
4257
5485
  });
4258
5486
 
4259
- function build(value, path) {
5487
+ function build(value, path, depth = 0) {
4260
5488
  if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(value)) return;
4261
5489
 
5490
+ throwIfMaxDepthExceeded(depth);
5491
+
4262
5492
  if (stack.indexOf(value) !== -1) {
4263
- throw Error('Circular reference detected in ' + path.join('.'));
5493
+ throw new Error('Circular reference detected in ' + path.join('.'));
4264
5494
  }
4265
5495
 
4266
5496
  stack.push(value);
@@ -4271,7 +5501,7 @@ function toFormData(obj, formData, options) {
4271
5501
  visitor.call(formData, el, _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(key) ? key.trim() : key, path, exposedHelpers);
4272
5502
 
4273
5503
  if (result === true) {
4274
- build(el, path ? path.concat(key) : [key]);
5504
+ build(el, path ? path.concat(key) : [key], depth + 1);
4275
5505
  }
4276
5506
  });
4277
5507
 
@@ -4292,19 +5522,19 @@ function toFormData(obj, formData, options) {
4292
5522
 
4293
5523
  /***/ },
4294
5524
 
4295
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toURLEncodedForm.js"
4296
- /*!********************************************************************************************!*\
4297
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
4298
- \********************************************************************************************/
5525
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toURLEncodedForm.js"
5526
+ /*!***************************************************************************************************************************************************!*\
5527
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
5528
+ \***************************************************************************************************************************************************/
4299
5529
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4300
5530
 
4301
5531
  __webpack_require__.r(__webpack_exports__);
4302
5532
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4303
5533
  /* harmony export */ "default": () => (/* binding */ toURLEncodedForm)
4304
5534
  /* harmony export */ });
4305
- /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js");
4306
- /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toFormData.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js");
4307
- /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js");
5535
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js");
5536
+ /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toFormData.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js");
5537
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
4308
5538
 
4309
5539
 
4310
5540
 
@@ -4328,10 +5558,10 @@ function toURLEncodedForm(data, options) {
4328
5558
 
4329
5559
  /***/ },
4330
5560
 
4331
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/trackStream.js"
4332
- /*!***************************************************************************************!*\
4333
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/trackStream.js ***!
4334
- \***************************************************************************************/
5561
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/trackStream.js"
5562
+ /*!**********************************************************************************************************************************************!*\
5563
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/trackStream.js ***!
5564
+ \**********************************************************************************************************************************************/
4335
5565
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4336
5566
 
4337
5567
  __webpack_require__.r(__webpack_exports__);
@@ -4433,18 +5663,18 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
4433
5663
 
4434
5664
  /***/ },
4435
5665
 
4436
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/validator.js"
4437
- /*!*************************************************************************************!*\
4438
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/validator.js ***!
4439
- \*************************************************************************************/
5666
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/validator.js"
5667
+ /*!********************************************************************************************************************************************!*\
5668
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/validator.js ***!
5669
+ \********************************************************************************************************************************************/
4440
5670
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4441
5671
 
4442
5672
  __webpack_require__.r(__webpack_exports__);
4443
5673
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4444
5674
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4445
5675
  /* harmony export */ });
4446
- /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js");
4447
- /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js");
5676
+ /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/env/data.js");
5677
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
4448
5678
 
4449
5679
 
4450
5680
 
@@ -4526,14 +5756,16 @@ validators.spelling = function spelling(correctSpelling) {
4526
5756
  */
4527
5757
 
4528
5758
  function assertOptions(options, schema, allowUnknown) {
4529
- if (typeof options !== 'object') {
5759
+ if (typeof options !== 'object' || options === null) {
4530
5760
  throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"]('options must be an object', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_BAD_OPTION_VALUE);
4531
5761
  }
4532
5762
  const keys = Object.keys(options);
4533
5763
  let i = keys.length;
4534
5764
  while (i-- > 0) {
4535
5765
  const opt = keys[i];
4536
- const validator = schema[opt];
5766
+ // Use hasOwnProperty so a polluted Object.prototype.<opt> cannot supply
5767
+ // a non-function validator and cause a TypeError.
5768
+ const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined;
4537
5769
  if (validator) {
4538
5770
  const value = options[opt];
4539
5771
  const result = value === undefined || validator(value, opt, options);
@@ -4559,10 +5791,10 @@ function assertOptions(options, schema, allowUnknown) {
4559
5791
 
4560
5792
  /***/ },
4561
5793
 
4562
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/Blob.js"
4563
- /*!*************************************************************************************************!*\
4564
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
4565
- \*************************************************************************************************/
5794
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/Blob.js"
5795
+ /*!********************************************************************************************************************************************************!*\
5796
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
5797
+ \********************************************************************************************************************************************************/
4566
5798
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4567
5799
 
4568
5800
  __webpack_require__.r(__webpack_exports__);
@@ -4576,10 +5808,10 @@ __webpack_require__.r(__webpack_exports__);
4576
5808
 
4577
5809
  /***/ },
4578
5810
 
4579
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/FormData.js"
4580
- /*!*****************************************************************************************************!*\
4581
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
4582
- \*****************************************************************************************************/
5811
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/FormData.js"
5812
+ /*!************************************************************************************************************************************************************!*\
5813
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
5814
+ \************************************************************************************************************************************************************/
4583
5815
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4584
5816
 
4585
5817
  __webpack_require__.r(__webpack_exports__);
@@ -4593,17 +5825,17 @@ __webpack_require__.r(__webpack_exports__);
4593
5825
 
4594
5826
  /***/ },
4595
5827
 
4596
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js"
4597
- /*!************************************************************************************************************!*\
4598
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
4599
- \************************************************************************************************************/
5828
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js"
5829
+ /*!*******************************************************************************************************************************************************************!*\
5830
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
5831
+ \*******************************************************************************************************************************************************************/
4600
5832
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4601
5833
 
4602
5834
  __webpack_require__.r(__webpack_exports__);
4603
5835
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4604
5836
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4605
5837
  /* harmony export */ });
4606
- /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
5838
+ /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
4607
5839
 
4608
5840
 
4609
5841
 
@@ -4612,19 +5844,19 @@ __webpack_require__.r(__webpack_exports__);
4612
5844
 
4613
5845
  /***/ },
4614
5846
 
4615
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/index.js"
4616
- /*!******************************************************************************************!*\
4617
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/index.js ***!
4618
- \******************************************************************************************/
5847
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/index.js"
5848
+ /*!*************************************************************************************************************************************************!*\
5849
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/index.js ***!
5850
+ \*************************************************************************************************************************************************/
4619
5851
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4620
5852
 
4621
5853
  __webpack_require__.r(__webpack_exports__);
4622
5854
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4623
5855
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4624
5856
  /* harmony export */ });
4625
- /* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js");
4626
- /* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/FormData.js");
4627
- /* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/Blob.js");
5857
+ /* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js");
5858
+ /* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/FormData.js");
5859
+ /* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/Blob.js");
4628
5860
 
4629
5861
 
4630
5862
 
@@ -4642,10 +5874,10 @@ __webpack_require__.r(__webpack_exports__);
4642
5874
 
4643
5875
  /***/ },
4644
5876
 
4645
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/common/utils.js"
4646
- /*!*****************************************************************************************!*\
4647
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/common/utils.js ***!
4648
- \*****************************************************************************************/
5877
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/common/utils.js"
5878
+ /*!************************************************************************************************************************************************!*\
5879
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/common/utils.js ***!
5880
+ \************************************************************************************************************************************************/
4649
5881
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4650
5882
 
4651
5883
  __webpack_require__.r(__webpack_exports__);
@@ -4706,18 +5938,18 @@ const origin = (hasBrowserEnv && window.location.href) || 'http://localhost';
4706
5938
 
4707
5939
  /***/ },
4708
5940
 
4709
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js"
4710
- /*!**********************************************************************************!*\
4711
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js ***!
4712
- \**********************************************************************************/
5941
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/index.js"
5942
+ /*!*****************************************************************************************************************************************!*\
5943
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/index.js ***!
5944
+ \*****************************************************************************************************************************************/
4713
5945
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4714
5946
 
4715
5947
  __webpack_require__.r(__webpack_exports__);
4716
5948
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4717
5949
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4718
5950
  /* harmony export */ });
4719
- /* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node/index.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/index.js");
4720
- /* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./common/utils.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/common/utils.js");
5951
+ /* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node/index.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/browser/index.js");
5952
+ /* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./common/utils.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/common/utils.js");
4721
5953
 
4722
5954
 
4723
5955
 
@@ -4729,17 +5961,17 @@ __webpack_require__.r(__webpack_exports__);
4729
5961
 
4730
5962
  /***/ },
4731
5963
 
4732
- /***/ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js"
4733
- /*!*************************************************************************!*\
4734
- !*** ./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js ***!
4735
- \*************************************************************************/
5964
+ /***/ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js"
5965
+ /*!********************************************************************************************************************************!*\
5966
+ !*** ./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js ***!
5967
+ \********************************************************************************************************************************/
4736
5968
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4737
5969
 
4738
5970
  __webpack_require__.r(__webpack_exports__);
4739
5971
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4740
5972
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4741
5973
  /* harmony export */ });
4742
- /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "./node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/bind.js");
5974
+ /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "./node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/bind.js");
4743
5975
 
4744
5976
 
4745
5977
 
@@ -4750,6 +5982,57 @@ const { toString } = Object.prototype;
4750
5982
  const { getPrototypeOf } = Object;
4751
5983
  const { iterator, toStringTag } = Symbol;
4752
5984
 
5985
+ /* Creating a function that will check if an object has a property. */
5986
+ const hasOwnProperty = (
5987
+ ({ hasOwnProperty }) =>
5988
+ (obj, prop) =>
5989
+ hasOwnProperty.call(obj, prop)
5990
+ )(Object.prototype);
5991
+
5992
+ /**
5993
+ * Walk the prototype chain (excluding the shared Object.prototype) looking for
5994
+ * an own `prop`. This distinguishes genuine own/inherited members — including
5995
+ * class accessors and template prototypes — from members injected via
5996
+ * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which
5997
+ * live on Object.prototype itself and are therefore never matched.
5998
+ *
5999
+ * @param {*} thing The value whose chain to inspect
6000
+ * @param {string|symbol} prop The property key to look for
6001
+ *
6002
+ * @returns {boolean} True when `prop` is owned below Object.prototype
6003
+ */
6004
+ const hasOwnInPrototypeChain = (thing, prop) => {
6005
+ let obj = thing;
6006
+ const seen = [];
6007
+
6008
+ while (obj != null && obj !== Object.prototype) {
6009
+ if (seen.indexOf(obj) !== -1) {
6010
+ return false;
6011
+ }
6012
+ seen.push(obj);
6013
+
6014
+ if (hasOwnProperty(obj, prop)) {
6015
+ return true;
6016
+ }
6017
+ obj = getPrototypeOf(obj);
6018
+ }
6019
+ return false;
6020
+ };
6021
+
6022
+ /**
6023
+ * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own
6024
+ * properties and members inherited from a non-Object.prototype source (a class
6025
+ * instance or template object) are honored; a value reachable only through a
6026
+ * polluted Object.prototype is ignored and `undefined` is returned.
6027
+ *
6028
+ * @param {*} obj The source object
6029
+ * @param {string|symbol} prop The property key to read
6030
+ *
6031
+ * @returns {*} The resolved value, or undefined when unsafe/absent
6032
+ */
6033
+ const getSafeProp = (obj, prop) =>
6034
+ obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined;
6035
+
4753
6036
  const kindOf = ((cache) => (thing) => {
4754
6037
  const str = toString.call(thing);
4755
6038
  return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
@@ -4875,7 +6158,7 @@ const isBoolean = (thing) => thing === true || thing === false;
4875
6158
  * @returns {boolean} True if value is a plain Object, otherwise false
4876
6159
  */
4877
6160
  const isPlainObject = (val) => {
4878
- if (kindOf(val) !== 'object') {
6161
+ if (!isObject(val)) {
4879
6162
  return false;
4880
6163
  }
4881
6164
 
@@ -4883,9 +6166,12 @@ const isPlainObject = (val) => {
4883
6166
  return (
4884
6167
  (prototype === null ||
4885
6168
  prototype === Object.prototype ||
4886
- Object.getPrototypeOf(prototype) === null) &&
4887
- !(toStringTag in val) &&
4888
- !(iterator in val)
6169
+ getPrototypeOf(prototype) === null) &&
6170
+ // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or
6171
+ // Symbol.iterator as evidence the value is a tagged/iterable type rather
6172
+ // than a plain object, while ignoring keys injected onto Object.prototype.
6173
+ !hasOwnInPrototypeChain(val, toStringTag) &&
6174
+ !hasOwnInPrototypeChain(val, iterator)
4889
6175
  );
4890
6176
  };
4891
6177
 
@@ -4934,21 +6220,21 @@ const isFile = kindOfTest('File');
4934
6220
  * also have a `name` and `type` attribute to specify filename and content type
4935
6221
  *
4936
6222
  * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
4937
- *
6223
+ *
4938
6224
  * @param {*} value The value to test
4939
- *
6225
+ *
4940
6226
  * @returns {boolean} True if value is a React Native Blob, otherwise false
4941
6227
  */
4942
6228
  const isReactNativeBlob = (value) => {
4943
6229
  return !!(value && typeof value.uri !== 'undefined');
4944
- }
6230
+ };
4945
6231
 
4946
6232
  /**
4947
6233
  * Determine if environment is React Native
4948
6234
  * ReactNative `FormData` has a non-standard `getParts()` method
4949
- *
6235
+ *
4950
6236
  * @param {*} formData The formData to test
4951
- *
6237
+ *
4952
6238
  * @returns {boolean} True if environment is React Native, otherwise false
4953
6239
  */
4954
6240
  const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';
@@ -4967,9 +6253,10 @@ const isBlob = kindOfTest('Blob');
4967
6253
  *
4968
6254
  * @param {*} val The value to test
4969
6255
  *
4970
- * @returns {boolean} True if value is a File, otherwise false
6256
+ * @returns {boolean} True if value is a FileList, otherwise false
4971
6257
  */
4972
6258
  const isFileList = kindOfTest('FileList');
6259
+ const isSet = kindOfTest('Set');
4973
6260
 
4974
6261
  /**
4975
6262
  * Determine if a value is a Stream
@@ -4999,15 +6286,17 @@ const G = getGlobal();
4999
6286
  const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
5000
6287
 
5001
6288
  const isFormData = (thing) => {
5002
- let kind;
5003
- return thing && (
5004
- (FormDataCtor && thing instanceof FormDataCtor) || (
5005
- isFunction(thing.append) && (
5006
- (kind = kindOf(thing)) === 'formdata' ||
5007
- // detect form-data instance
5008
- (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
5009
- )
5010
- )
6289
+ if (!thing) return false;
6290
+ if (FormDataCtor && thing instanceof FormDataCtor) return true;
6291
+ // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData.
6292
+ const proto = getPrototypeOf(thing);
6293
+ if (!proto || proto === Object.prototype) return false;
6294
+ if (!isFunction(thing.append)) return false;
6295
+ const kind = kindOf(thing);
6296
+ return (
6297
+ kind === 'formdata' ||
6298
+ // detect form-data instance
6299
+ (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
5011
6300
  );
5012
6301
  };
5013
6302
 
@@ -5143,7 +6432,7 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
5143
6432
  *
5144
6433
  * @returns {Object} Result of all merge properties
5145
6434
  */
5146
- function merge(/* obj1, obj2, obj3, ... */) {
6435
+ function merge(...objs) {
5147
6436
  const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};
5148
6437
  const result = {};
5149
6438
  const assignValue = (val, key) => {
@@ -5152,9 +6441,15 @@ function merge(/* obj1, obj2, obj3, ... */) {
5152
6441
  return;
5153
6442
  }
5154
6443
 
5155
- const targetKey = (caseless && findKey(result, key)) || key;
5156
- if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
5157
- result[targetKey] = merge(result[targetKey], val);
6444
+ // findKey lowercases the key, so caseless lookup only applies to strings —
6445
+ // symbol keys are identity-matched.
6446
+ const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key;
6447
+ // Read via own-prop only — a bare `result[targetKey]` walks the prototype
6448
+ // chain, so a polluted Object.prototype value could surface here and get
6449
+ // copied into the merged result.
6450
+ const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined;
6451
+ if (isPlainObject(existing) && isPlainObject(val)) {
6452
+ result[targetKey] = merge(existing, val);
5158
6453
  } else if (isPlainObject(val)) {
5159
6454
  result[targetKey] = merge({}, val);
5160
6455
  } else if (isArray(val)) {
@@ -5164,8 +6459,25 @@ function merge(/* obj1, obj2, obj3, ... */) {
5164
6459
  }
5165
6460
  };
5166
6461
 
5167
- for (let i = 0, l = arguments.length; i < l; i++) {
5168
- arguments[i] && forEach(arguments[i], assignValue);
6462
+ for (let i = 0, l = objs.length; i < l; i++) {
6463
+ const source = objs[i];
6464
+ if (!source || isBuffer(source)) {
6465
+ continue;
6466
+ }
6467
+
6468
+ forEach(source, assignValue);
6469
+
6470
+ if (typeof source !== 'object' || isArray(source)) {
6471
+ continue;
6472
+ }
6473
+
6474
+ const symbols = Object.getOwnPropertySymbols(source);
6475
+ for (let j = 0; j < symbols.length; j++) {
6476
+ const symbol = symbols[j];
6477
+ if (propertyIsEnumerable.call(source, symbol)) {
6478
+ assignValue(source[symbol], symbol);
6479
+ }
6480
+ }
5169
6481
  }
5170
6482
  return result;
5171
6483
  }
@@ -5187,6 +6499,9 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
5187
6499
  (val, key) => {
5188
6500
  if (thisArg && isFunction(val)) {
5189
6501
  Object.defineProperty(a, key, {
6502
+ // Null-proto descriptor so a polluted Object.prototype.get cannot
6503
+ // hijack defineProperty's accessor-vs-data resolution.
6504
+ __proto__: null,
5190
6505
  value: (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__["default"])(val, thisArg),
5191
6506
  writable: true,
5192
6507
  enumerable: true,
@@ -5194,6 +6509,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
5194
6509
  });
5195
6510
  } else {
5196
6511
  Object.defineProperty(a, key, {
6512
+ __proto__: null,
5197
6513
  value: val,
5198
6514
  writable: true,
5199
6515
  enumerable: true,
@@ -5232,12 +6548,14 @@ const stripBOM = (content) => {
5232
6548
  const inherits = (constructor, superConstructor, props, descriptors) => {
5233
6549
  constructor.prototype = Object.create(superConstructor.prototype, descriptors);
5234
6550
  Object.defineProperty(constructor.prototype, 'constructor', {
6551
+ __proto__: null,
5235
6552
  value: constructor,
5236
6553
  writable: true,
5237
6554
  enumerable: false,
5238
6555
  configurable: true,
5239
6556
  });
5240
6557
  Object.defineProperty(constructor, 'super', {
6558
+ __proto__: null,
5241
6559
  value: superConstructor.prototype,
5242
6560
  });
5243
6561
  props && Object.assign(constructor.prototype, props);
@@ -5381,12 +6699,7 @@ const toCamelCase = (str) => {
5381
6699
  });
5382
6700
  };
5383
6701
 
5384
- /* Creating a function that will check if an object has a property. */
5385
- const hasOwnProperty = (
5386
- ({ hasOwnProperty }) =>
5387
- (obj, prop) =>
5388
- hasOwnProperty.call(obj, prop)
5389
- )(Object.prototype);
6702
+ const { propertyIsEnumerable } = Object.prototype;
5390
6703
 
5391
6704
  /**
5392
6705
  * Determine if a value is a RegExp object
@@ -5419,7 +6732,7 @@ const reduceDescriptors = (obj, reducer) => {
5419
6732
  const freezeMethods = (obj) => {
5420
6733
  reduceDescriptors(obj, (descriptor, name) => {
5421
6734
  // skip restricted props in strict mode
5422
- if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
6735
+ if (isFunction(obj) && ['arguments', 'caller', 'callee'].includes(name)) {
5423
6736
  return false;
5424
6737
  }
5425
6738
 
@@ -5493,11 +6806,11 @@ function isSpecCompliantForm(thing) {
5493
6806
  * @returns {Object} The JSON-compatible object.
5494
6807
  */
5495
6808
  const toJSONObject = (obj) => {
5496
- const stack = new Array(10);
6809
+ const visited = new WeakSet();
5497
6810
 
5498
- const visit = (source, i) => {
6811
+ const visit = (source) => {
5499
6812
  if (isObject(source)) {
5500
- if (stack.indexOf(source) >= 0) {
6813
+ if (visited.has(source)) {
5501
6814
  return;
5502
6815
  }
5503
6816
 
@@ -5507,15 +6820,27 @@ const toJSONObject = (obj) => {
5507
6820
  }
5508
6821
 
5509
6822
  if (!('toJSON' in source)) {
5510
- stack[i] = source;
5511
- const target = isArray(source) ? [] : {};
6823
+ // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230).
6824
+ visited.add(source);
5512
6825
 
5513
- forEach(source, (value, key) => {
5514
- const reducedValue = visit(value, i + 1);
5515
- !isUndefined(reducedValue) && (target[key] = reducedValue);
5516
- });
6826
+ let target;
6827
+
6828
+ if (isSet(source)) {
6829
+ target = [];
6830
+ for (const value of source) {
6831
+ const reducedValue = visit(value);
6832
+ !isUndefined(reducedValue) && target.push(reducedValue);
6833
+ }
6834
+ } else {
6835
+ target = isArray(source) ? [] : {};
6836
+
6837
+ forEach(source, (value, key) => {
6838
+ const reducedValue = visit(value);
6839
+ !isUndefined(reducedValue) && (target[key] = reducedValue);
6840
+ });
6841
+ }
5517
6842
 
5518
- stack[i] = undefined;
6843
+ visited.delete(source);
5519
6844
 
5520
6845
  return target;
5521
6846
  }
@@ -5524,7 +6849,7 @@ const toJSONObject = (obj) => {
5524
6849
  return source;
5525
6850
  };
5526
6851
 
5527
- return visit(obj, 0);
6852
+ return visit(obj);
5528
6853
  };
5529
6854
 
5530
6855
  /**
@@ -5598,6 +6923,20 @@ const asap =
5598
6923
 
5599
6924
  const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5600
6925
 
6926
+ /**
6927
+ * Determine if a value is iterable via an iterator that is NOT sourced solely
6928
+ * from a polluted Object.prototype. Use this instead of `isIterable` whenever
6929
+ * the iterable comes from untrusted input (e.g. user-supplied header sources),
6930
+ * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object
6931
+ * into an attacker-controlled entries iterator.
6932
+ *
6933
+ * @param {*} thing The value to test
6934
+ *
6935
+ * @returns {boolean} True if value has a non-polluted iterator
6936
+ */
6937
+ const isSafeIterable = (thing) =>
6938
+ thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing);
6939
+
5601
6940
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
5602
6941
  isArray,
5603
6942
  isArrayBuffer,
@@ -5642,6 +6981,8 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5642
6981
  isHTMLForm,
5643
6982
  hasOwnProperty,
5644
6983
  hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection
6984
+ hasOwnInPrototypeChain,
6985
+ getSafeProp,
5645
6986
  reduceDescriptors,
5646
6987
  freezeMethods,
5647
6988
  toObjectSet,
@@ -5658,6 +6999,7 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5658
6999
  setImmediate: _setImmediate,
5659
7000
  asap,
5660
7001
  isIterable,
7002
+ isSafeIterable,
5661
7003
  });
5662
7004
 
5663
7005
 
@@ -5666,17 +7008,17 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5666
7008
  /******/ });
5667
7009
  /************************************************************************/
5668
7010
  /******/ // The module cache
5669
- /******/ var __webpack_module_cache__ = {};
7011
+ /******/ const __webpack_module_cache__ = {};
5670
7012
  /******/
5671
7013
  /******/ // The require function
5672
7014
  /******/ function __webpack_require__(moduleId) {
5673
7015
  /******/ // Check if module is in cache
5674
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
7016
+ /******/ const cachedModule = __webpack_module_cache__[moduleId];
5675
7017
  /******/ if (cachedModule !== undefined) {
5676
7018
  /******/ return cachedModule.exports;
5677
7019
  /******/ }
5678
7020
  /******/ // Create a new module (and put it into the cache)
5679
- /******/ var module = __webpack_module_cache__[moduleId] = {
7021
+ /******/ const module = __webpack_module_cache__[moduleId] = {
5680
7022
  /******/ // no module.id needed
5681
7023
  /******/ // no module.loaded needed
5682
7024
  /******/ exports: {}
@@ -5685,7 +7027,7 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5685
7027
  /******/ // Execute the module function
5686
7028
  /******/ if (!(moduleId in __webpack_modules__)) {
5687
7029
  /******/ delete __webpack_module_cache__[moduleId];
5688
- /******/ var e = new Error("Cannot find module '" + moduleId + "'");
7030
+ /******/ const e = new Error("Cannot find module '" + moduleId + "'");
5689
7031
  /******/ e.code = 'MODULE_NOT_FOUND';
5690
7032
  /******/ throw e;
5691
7033
  /******/ }
@@ -5698,11 +7040,26 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5698
7040
  /************************************************************************/
5699
7041
  /******/ /* webpack/runtime/define property getters */
5700
7042
  /******/ (() => {
5701
- /******/ // define getter functions for harmony exports
7043
+ /******/ // define getter/value functions for harmony exports
5702
7044
  /******/ __webpack_require__.d = (exports, definition) => {
5703
- /******/ for(var key in definition) {
5704
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
5705
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
7045
+ /******/ if(Array.isArray(definition)) {
7046
+ /******/ var i = 0;
7047
+ /******/ while(i < definition.length) {
7048
+ /******/ var key = definition[i++];
7049
+ /******/ var binding = definition[i++];
7050
+ /******/ if(!__webpack_require__.o(exports, key)) {
7051
+ /******/ if(binding === 0) {
7052
+ /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
7053
+ /******/ } else {
7054
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
7055
+ /******/ }
7056
+ /******/ } else if(binding === 0) { i++; }
7057
+ /******/ }
7058
+ /******/ } else {
7059
+ /******/ for(var key in definition) {
7060
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
7061
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
7062
+ /******/ }
5706
7063
  /******/ }
5707
7064
  /******/ }
5708
7065
  /******/ };
@@ -5729,7 +7086,7 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5729
7086
  /******/ (() => {
5730
7087
  /******/ // define __esModule on exports
5731
7088
  /******/ __webpack_require__.r = (exports) => {
5732
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
7089
+ /******/ if(Symbol.toStringTag) {
5733
7090
  /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5734
7091
  /******/ }
5735
7092
  /******/ Object.defineProperty(exports, '__esModule', { value: true });
@@ -5737,7 +7094,7 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5737
7094
  /******/ })();
5738
7095
  /******/
5739
7096
  /************************************************************************/
5740
- var __webpack_exports__ = {};
7097
+ let __webpack_exports__ = {};
5741
7098
  // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
5742
7099
  (() => {
5743
7100
  /*!**************************!*\