varsnap 1.12.0 → 1.13.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.13.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.18.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.13.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,6 +242,11 @@ class Consumer {
238
242
  if (data === '') {
239
243
  return undefined;
240
244
  }
245
+ if (data.startsWith('json:')) {
246
+ return JSON.parse(data.substring('json:'.length));
247
+ }
248
+ // Backwards compatibility: snaps recorded before the format prefix are
249
+ // stored as plain, unprefixed JSON.
241
250
  return JSON.parse(data);
242
251
  }
243
252
  consume(trialGroup) {
@@ -441,21 +450,21 @@ varsnap.runTests = runTests;
441
450
 
442
451
  /***/ },
443
452
 
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
- \*************************************************************************************/
453
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/adapters/adapters.js"
454
+ /*!**********************************************************************************************************!*\
455
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/adapters/adapters.js ***!
456
+ \**********************************************************************************************************/
448
457
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
449
458
 
450
459
  __webpack_require__.r(__webpack_exports__);
451
460
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
452
461
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
453
462
  /* 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");
463
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
464
+ /* harmony import */ var _http_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./http.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/null.js");
465
+ /* harmony import */ var _xhr_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./xhr.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/adapters/xhr.js");
466
+ /* harmony import */ var _fetch_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fetch.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/adapters/fetch.js");
467
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
459
468
 
460
469
 
461
470
 
@@ -483,11 +492,13 @@ const knownAdapters = {
483
492
  _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(knownAdapters, (fn, value) => {
484
493
  if (fn) {
485
494
  try {
486
- Object.defineProperty(fn, 'name', { value });
495
+ // Null-proto descriptors so a polluted Object.prototype.get cannot turn
496
+ // these data descriptors into accessor descriptors on the way in.
497
+ Object.defineProperty(fn, 'name', { __proto__: null, value });
487
498
  } catch (e) {
488
499
  // eslint-disable-next-line no-empty
489
500
  }
490
- Object.defineProperty(fn, 'adapterName', { value });
501
+ Object.defineProperty(fn, 'adapterName', { __proto__: null, value });
491
502
  }
492
503
  });
493
504
 
@@ -563,7 +574,7 @@ function getAdapter(adapters, config) {
563
574
 
564
575
  throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__["default"](
565
576
  `There is no suitable adapter to dispatch the request ` + s,
566
- 'ERR_NOT_SUPPORT'
577
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_4__["default"].ERR_NOT_SUPPORT
567
578
  );
568
579
  }
569
580
 
@@ -590,10 +601,10 @@ function getAdapter(adapters, config) {
590
601
 
591
602
  /***/ },
592
603
 
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
- \**********************************************************************************/
604
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/adapters/fetch.js"
605
+ /*!*******************************************************************************************************!*\
606
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/adapters/fetch.js ***!
607
+ \*******************************************************************************************************/
597
608
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
598
609
 
599
610
  __webpack_require__.r(__webpack_exports__);
@@ -601,15 +612,21 @@ __webpack_require__.r(__webpack_exports__);
601
612
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
602
613
  /* harmony export */ getFetch: () => (/* binding */ getFetch)
603
614
  /* 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");
615
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
616
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
617
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
618
+ /* harmony import */ var _helpers_composeSignals_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/composeSignals.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/composeSignals.js");
619
+ /* harmony import */ var _helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/trackStream.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/trackStream.js");
620
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
621
+ /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/progressEventReducer.js");
622
+ /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/resolveConfig.js");
623
+ /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../core/settle.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/settle.js");
624
+ /* harmony import */ var _helpers_estimateDataURLDecodedBytes_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../helpers/estimateDataURLDecodedBytes.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js");
625
+ /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../env/data.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/env/data.js");
626
+ /* harmony import */ var _helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../helpers/sanitizeHeaderValue.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js");
627
+
628
+
629
+
613
630
 
614
631
 
615
632
 
@@ -624,12 +641,34 @@ const DEFAULT_CHUNK_SIZE = 64 * 1024;
624
641
 
625
642
  const { isFunction } = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"];
626
643
 
627
- const globalFetchAPI = (({ Request, Response }) => ({
628
- Request,
629
- Response,
630
- }))(_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].global);
644
+ /**
645
+ * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().
646
+ * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.
647
+ *
648
+ * @param {string} str The string to encode
649
+ *
650
+ * @returns {string} UTF-8 bytes as a Latin-1 string
651
+ */
652
+ const encodeUTF8 = (str) =>
653
+ encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>
654
+ String.fromCharCode(parseInt(hex, 16))
655
+ );
656
+
657
+ // Node's WHATWG URL parser returns `username` and `password` percent-encoded.
658
+ // Decode before composing the `auth` option so credentials such as
659
+ // `my%40email.com:pass` are sent as `my@email.com:pass`. Falls back to the
660
+ // original value for malformed input so a bad encoding never throws.
661
+ const decodeURIComponentSafe = (value) => {
662
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(value)) {
663
+ return value;
664
+ }
631
665
 
632
- const { ReadableStream, TextEncoder } = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].global;
666
+ try {
667
+ return decodeURIComponent(value);
668
+ } catch (error) {
669
+ return value;
670
+ }
671
+ };
633
672
 
634
673
  const test = (fn, ...args) => {
635
674
  try {
@@ -639,12 +678,30 @@ const test = (fn, ...args) => {
639
678
  }
640
679
  };
641
680
 
681
+ const maybeWithAuthCredentials = (url) => {
682
+ const protocolIndex = url.indexOf('://');
683
+ let urlToCheck = url;
684
+ if (protocolIndex !== -1) {
685
+ urlToCheck = urlToCheck.slice(protocolIndex + 3);
686
+ }
687
+ return urlToCheck.includes('@') || urlToCheck.includes(':');
688
+ };
689
+
642
690
  const factory = (env) => {
691
+ const globalObject =
692
+ _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].global !== undefined && _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].global !== null
693
+ ? _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].global
694
+ : globalThis;
695
+ const { ReadableStream, TextEncoder } = globalObject;
696
+
643
697
  env = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].merge.call(
644
698
  {
645
699
  skipUndefined: true,
646
700
  },
647
- globalFetchAPI,
701
+ {
702
+ Request: globalObject.Request,
703
+ Response: globalObject.Response,
704
+ },
648
705
  env
649
706
  );
650
707
 
@@ -674,18 +731,20 @@ const factory = (env) => {
674
731
  test(() => {
675
732
  let duplexAccessed = false;
676
733
 
677
- const body = new ReadableStream();
678
-
679
- const hasContentType = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin, {
680
- body,
734
+ const request = new Request(_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin, {
735
+ body: new ReadableStream(),
681
736
  method: 'POST',
682
737
  get duplex() {
683
738
  duplexAccessed = true;
684
739
  return 'half';
685
740
  },
686
- }).headers.has('Content-Type');
741
+ });
687
742
 
688
- body.cancel();
743
+ const hasContentType = request.headers.has('Content-Type');
744
+
745
+ if (request.body != null) {
746
+ request.body.cancel();
747
+ }
689
748
 
690
749
  return duplexAccessed && !hasContentType;
691
750
  });
@@ -769,8 +828,14 @@ const factory = (env) => {
769
828
  headers,
770
829
  withCredentials = 'same-origin',
771
830
  fetchOptions,
831
+ maxContentLength,
832
+ maxBodyLength,
772
833
  } = (0,_helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_7__["default"])(config);
773
834
 
835
+ const hasMaxContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNumber(maxContentLength) && maxContentLength > -1;
836
+ const hasMaxBodyLength = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isNumber(maxBodyLength) && maxBodyLength > -1;
837
+ const own = (key) => (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(config, key) ? config[key] : undefined);
838
+
774
839
  let _fetch = envFetch || fetch;
775
840
 
776
841
  responseType = responseType ? (responseType + '').toLowerCase() : 'text';
@@ -791,34 +856,166 @@ const factory = (env) => {
791
856
 
792
857
  let requestContentLength;
793
858
 
859
+ // AxiosError we raise while the request body is being streamed. Captured
860
+ // by identity so the catch block can surface it directly, regardless of
861
+ // how the runtime wraps the resulting fetch rejection (undici exposes it
862
+ // as `err.cause`; some browsers drop the original error entirely).
863
+ let pendingBodyError = null;
864
+
865
+ const maxBodyLengthError = () =>
866
+ new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
867
+ 'Request body larger than maxBodyLength limit',
868
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_REQUEST,
869
+ config,
870
+ request
871
+ );
872
+
794
873
  try {
874
+ // HTTP basic authentication
875
+ let auth = undefined;
876
+ const configAuth = own('auth');
877
+
878
+ if (configAuth) {
879
+ const username = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].getSafeProp(configAuth, 'username') || '';
880
+ const password = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].getSafeProp(configAuth, 'password') || '';
881
+ auth = {
882
+ username,
883
+ password
884
+ };
885
+ }
886
+
887
+ if (maybeWithAuthCredentials(url)) {
888
+ const parsedURL = new URL(url, _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].origin);
889
+
890
+ if (!auth && (parsedURL.username || parsedURL.password)) {
891
+ const urlUsername = decodeURIComponentSafe(parsedURL.username);
892
+ const urlPassword = decodeURIComponentSafe(parsedURL.password);
893
+ auth = {
894
+ username: urlUsername,
895
+ password: urlPassword
896
+ };
897
+ }
898
+
899
+ if (parsedURL.username || parsedURL.password) {
900
+ parsedURL.username = '';
901
+ parsedURL.password = '';
902
+ url = parsedURL.href;
903
+ }
904
+ }
905
+
906
+ if (auth) {
907
+ headers.delete('authorization');
908
+ headers.set(
909
+ 'Authorization',
910
+ 'Basic ' + btoa(encodeUTF8((auth.username || '') + ':' + (auth.password || '')))
911
+ );
912
+ }
913
+
914
+ // Enforce maxContentLength for data: URLs up-front so we never materialize
915
+ // an oversized payload. The HTTP adapter applies the same check (see http.js
916
+ // "if (protocol === 'data:')" branch).
917
+ if (hasMaxContentLength && typeof url === 'string' && url.startsWith('data:')) {
918
+ const estimated = (0,_helpers_estimateDataURLDecodedBytes_js__WEBPACK_IMPORTED_MODULE_9__["default"])(url);
919
+ if (estimated > maxContentLength) {
920
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
921
+ 'maxContentLength size of ' + maxContentLength + ' exceeded',
922
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_RESPONSE,
923
+ config,
924
+ request
925
+ );
926
+ }
927
+ }
928
+
929
+ // Enforce maxBodyLength against known-size bodies before dispatch using
930
+ // the body's *actual* size — never a caller-declared Content-Length,
931
+ // which could under-report to slip an oversized body past the check.
932
+ // Unknown-size streams return undefined here and are counted per-chunk
933
+ // below as fetch consumes them.
934
+ if (hasMaxBodyLength && method !== 'get' && method !== 'head') {
935
+ const outboundLength = await getBodyLength(data);
936
+ if (typeof outboundLength === 'number' && isFinite(outboundLength)) {
937
+ requestContentLength = outboundLength;
938
+ if (outboundLength > maxBodyLength) {
939
+ throw maxBodyLengthError();
940
+ }
941
+ }
942
+ }
943
+
944
+ // A streamed body under maxBodyLength must be counted as fetch consumes
945
+ // it; its size is never trusted from a caller-declared Content-Length.
946
+ const mustEnforceStreamBody =
947
+ hasMaxBodyLength && (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isReadableStream(data) || _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isStream(data));
948
+
949
+ const trackRequestStream = (stream, onProgress, flush) =>
950
+ (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__.trackStream)(
951
+ stream,
952
+ DEFAULT_CHUNK_SIZE,
953
+ (loadedBytes) => {
954
+ if (hasMaxBodyLength && loadedBytes > maxBodyLength) {
955
+ throw (pendingBodyError = maxBodyLengthError());
956
+ }
957
+ onProgress && onProgress(loadedBytes);
958
+ },
959
+ flush
960
+ );
961
+
795
962
  if (
796
- onUploadProgress &&
797
963
  supportsRequestStream &&
798
964
  method !== 'get' &&
799
965
  method !== 'head' &&
800
- (requestContentLength = await resolveBodyLength(headers, data)) !== 0
966
+ (onUploadProgress || mustEnforceStreamBody)
801
967
  ) {
802
- let _request = new Request(url, {
803
- method: 'POST',
804
- body: data,
805
- duplex: 'half',
806
- });
968
+ requestContentLength =
969
+ requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength;
807
970
 
808
- let contentTypeHeader;
971
+ // A declared length of 0 is only trusted to skip the wrap when we are
972
+ // not enforcing a stream limit (which must not rely on that header).
973
+ if (requestContentLength !== 0 || mustEnforceStreamBody) {
974
+ let _request = new Request(url, {
975
+ method: 'POST',
976
+ body: data,
977
+ duplex: 'half',
978
+ });
809
979
 
810
- if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
811
- headers.setContentType(contentTypeHeader);
812
- }
980
+ let contentTypeHeader;
813
981
 
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
- );
982
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
983
+ headers.setContentType(contentTypeHeader);
984
+ }
985
+
986
+ if (_request.body) {
987
+ const [onProgress, flush] =
988
+ (onUploadProgress &&
989
+ (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventDecorator)(
990
+ requestContentLength,
991
+ (0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.progressEventReducer)((0,_helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_6__.asyncDecorator)(onUploadProgress))
992
+ )) ||
993
+ [];
819
994
 
820
- data = (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__.trackStream)(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
995
+ data = trackRequestStream(_request.body, onProgress, flush);
996
+ }
821
997
  }
998
+ } else if (
999
+ mustEnforceStreamBody &&
1000
+ !isRequestSupported &&
1001
+ isReadableStreamSupported &&
1002
+ method !== 'get' &&
1003
+ method !== 'head'
1004
+ ) {
1005
+ data = trackRequestStream(data);
1006
+ } else if (
1007
+ mustEnforceStreamBody &&
1008
+ isRequestSupported &&
1009
+ !supportsRequestStream &&
1010
+ method !== 'get' &&
1011
+ method !== 'head'
1012
+ ) {
1013
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
1014
+ 'Stream request bodies are not supported by the current fetch implementation',
1015
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NOT_SUPPORT,
1016
+ config,
1017
+ request
1018
+ );
822
1019
  }
823
1020
 
824
1021
  if (!_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isString(withCredentials)) {
@@ -829,11 +1026,27 @@ const factory = (env) => {
829
1026
  // see https://github.com/cloudflare/workerd/issues/902
830
1027
  const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
831
1028
 
1029
+ // If data is FormData and Content-Type is multipart/form-data without boundary,
1030
+ // delete it so fetch can set it correctly with the boundary
1031
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFormData(data)) {
1032
+ const contentType = headers.getContentType();
1033
+ if (
1034
+ contentType &&
1035
+ /^multipart\/form-data/i.test(contentType) &&
1036
+ !/boundary=/i.test(contentType)
1037
+ ) {
1038
+ headers.delete('content-type');
1039
+ }
1040
+ }
1041
+
1042
+ // Set User-Agent header if not already set (fetch defaults to 'node' in Node.js)
1043
+ headers.set('User-Agent', 'axios/' + _env_data_js__WEBPACK_IMPORTED_MODULE_10__.VERSION, false);
1044
+
832
1045
  const resolvedOptions = {
833
1046
  ...fetchOptions,
834
1047
  signal: composedSignal,
835
1048
  method: method.toUpperCase(),
836
- headers: headers.normalize().toJSON(),
1049
+ headers: (0,_helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_11__.toByteStringHeaderObject)(headers.normalize()),
837
1050
  body: data,
838
1051
  duplex: 'half',
839
1052
  credentials: isCredentialsSupported ? withCredentials : undefined,
@@ -845,17 +1058,37 @@ const factory = (env) => {
845
1058
  ? _fetch(request, fetchOptions)
846
1059
  : _fetch(url, resolvedOptions));
847
1060
 
1061
+ const responseHeaders = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_5__["default"].from(response.headers);
1062
+
1063
+ // Cheap pre-check: if the server honestly declares a content-length that
1064
+ // already exceeds the cap, reject before we start streaming.
1065
+ if (hasMaxContentLength) {
1066
+ const declaredLength = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].toFiniteNumber(responseHeaders.getContentLength());
1067
+ if (declaredLength != null && declaredLength > maxContentLength) {
1068
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
1069
+ 'maxContentLength size of ' + maxContentLength + ' exceeded',
1070
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_RESPONSE,
1071
+ config,
1072
+ request
1073
+ );
1074
+ }
1075
+ }
1076
+
848
1077
  const isStreamResponse =
849
1078
  supportsResponseStream && (responseType === 'stream' || responseType === 'response');
850
1079
 
851
- if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
1080
+ if (
1081
+ supportsResponseStream &&
1082
+ response.body &&
1083
+ (onDownloadProgress || hasMaxContentLength || (isStreamResponse && unsubscribe))
1084
+ ) {
852
1085
  const options = {};
853
1086
 
854
1087
  ['status', 'statusText', 'headers'].forEach((prop) => {
855
1088
  options[prop] = response[prop];
856
1089
  });
857
1090
 
858
- const responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].toFiniteNumber(response.headers.get('content-length'));
1091
+ const responseContentLength = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].toFiniteNumber(responseHeaders.getContentLength());
859
1092
 
860
1093
  const [onProgress, flush] =
861
1094
  (onDownloadProgress &&
@@ -865,8 +1098,24 @@ const factory = (env) => {
865
1098
  )) ||
866
1099
  [];
867
1100
 
1101
+ let bytesRead = 0;
1102
+ const onChunkProgress = (loadedBytes) => {
1103
+ if (hasMaxContentLength) {
1104
+ bytesRead = loadedBytes;
1105
+ if (bytesRead > maxContentLength) {
1106
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
1107
+ 'maxContentLength size of ' + maxContentLength + ' exceeded',
1108
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_RESPONSE,
1109
+ config,
1110
+ request
1111
+ );
1112
+ }
1113
+ }
1114
+ onProgress && onProgress(loadedBytes);
1115
+ };
1116
+
868
1117
  response = new Response(
869
- (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
1118
+ (0,_helpers_trackStream_js__WEBPACK_IMPORTED_MODULE_4__.trackStream)(response.body, DEFAULT_CHUNK_SIZE, onChunkProgress, () => {
870
1119
  flush && flush();
871
1120
  unsubscribe && unsubscribe();
872
1121
  }),
@@ -881,6 +1130,33 @@ const factory = (env) => {
881
1130
  config
882
1131
  );
883
1132
 
1133
+ // Fallback enforcement for environments without ReadableStream support
1134
+ // (legacy runtimes). Detect materialized size from typed output; skip
1135
+ // streams/Response passthrough since the user will read those themselves.
1136
+ if (hasMaxContentLength && !supportsResponseStream && !isStreamResponse) {
1137
+ let materializedSize;
1138
+ if (responseData != null) {
1139
+ if (typeof responseData.byteLength === 'number') {
1140
+ materializedSize = responseData.byteLength;
1141
+ } else if (typeof responseData.size === 'number') {
1142
+ materializedSize = responseData.size;
1143
+ } else if (typeof responseData === 'string') {
1144
+ materializedSize =
1145
+ typeof TextEncoder === 'function'
1146
+ ? new TextEncoder().encode(responseData).byteLength
1147
+ : responseData.length;
1148
+ }
1149
+ }
1150
+ if (typeof materializedSize === 'number' && materializedSize > maxContentLength) {
1151
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
1152
+ 'maxContentLength size of ' + maxContentLength + ' exceeded',
1153
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_RESPONSE,
1154
+ config,
1155
+ request
1156
+ );
1157
+ }
1158
+ }
1159
+
884
1160
  !isStreamResponse && unsubscribe && unsubscribe();
885
1161
 
886
1162
  return await new Promise((resolve, reject) => {
@@ -896,19 +1172,62 @@ const factory = (env) => {
896
1172
  } catch (err) {
897
1173
  unsubscribe && unsubscribe();
898
1174
 
1175
+ // Safari can surface fetch aborts as a DOMException-like object whose
1176
+ // branded getters throw. Prefer our composed signal reason before reading
1177
+ // the caught error, preserving timeout vs cancellation semantics.
1178
+ if (composedSignal && composedSignal.aborted && composedSignal.reason instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]) {
1179
+ const canceledError = composedSignal.reason;
1180
+ canceledError.config = config;
1181
+ request && (canceledError.request = request);
1182
+ if (err !== canceledError) {
1183
+ // Non-enumerable to match native Error `cause` semantics so loggers
1184
+ // don't recurse into circular fetch internals (see #7205).
1185
+ Object.defineProperty(canceledError, 'cause', {
1186
+ __proto__: null,
1187
+ value: err,
1188
+ writable: true,
1189
+ enumerable: false,
1190
+ configurable: true,
1191
+ });
1192
+ }
1193
+ throw canceledError;
1194
+ }
1195
+
1196
+ // Surface a maxBodyLength violation we raised while the request body was
1197
+ // being streamed. Matching by identity (rather than reading
1198
+ // `err.cause.isAxiosError`) keeps the error deterministic across runtimes
1199
+ // and avoids both prototype-pollution reads and mis-attributing a foreign
1200
+ // AxiosError that merely happened to land in `err.cause`.
1201
+ if (pendingBodyError) {
1202
+ request && !pendingBodyError.request && (pendingBodyError.request = request);
1203
+ throw pendingBodyError;
1204
+ }
1205
+
1206
+ // Re-throw AxiosErrors we raised synchronously (data: URL / content-length
1207
+ // pre-checks, response size enforcement) without re-wrapping them.
1208
+ if (err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"]) {
1209
+ request && !err.request && (err.request = request);
1210
+ throw err;
1211
+ }
1212
+
899
1213
  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
- }
1214
+ const networkError = new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"](
1215
+ 'Network Error',
1216
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_NETWORK,
1217
+ config,
1218
+ request,
1219
+ err && err.response
911
1220
  );
1221
+ // Non-enumerable to match native Error `cause` semantics so loggers
1222
+ // don't recurse into circular fetch internals (see #7205).
1223
+ Object.defineProperty(networkError, 'cause', {
1224
+ __proto__: null,
1225
+ value: err.cause || err,
1226
+ writable: true,
1227
+ enumerable: false,
1228
+ configurable: true,
1229
+ });
1230
+ throw networkError;
912
1231
  }
913
1232
 
914
1233
  throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(err, err && err.code, config, request, err && err.response);
@@ -948,26 +1267,28 @@ const adapter = getFetch();
948
1267
 
949
1268
  /***/ },
950
1269
 
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
- \********************************************************************************/
1270
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/adapters/xhr.js"
1271
+ /*!*****************************************************************************************************!*\
1272
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/adapters/xhr.js ***!
1273
+ \*****************************************************************************************************/
955
1274
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
956
1275
 
957
1276
  __webpack_require__.r(__webpack_exports__);
958
1277
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
959
1278
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
960
1279
  /* 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");
1280
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
1281
+ /* harmony import */ var _core_settle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/settle.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/settle.js");
1282
+ /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../defaults/transitional.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js");
1283
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
1284
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js");
1285
+ /* harmony import */ var _helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../helpers/parseProtocol.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/parseProtocol.js");
1286
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
1287
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
1288
+ /* harmony import */ var _helpers_progressEventReducer_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../helpers/progressEventReducer.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/progressEventReducer.js");
1289
+ /* harmony import */ var _helpers_resolveConfig_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../helpers/resolveConfig.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/resolveConfig.js");
1290
+ /* harmony import */ var _helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../helpers/sanitizeHeaderValue.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js");
1291
+
971
1292
 
972
1293
 
973
1294
 
@@ -1061,7 +1382,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1061
1382
  // will return status as 0 even though it's a successful request
1062
1383
  if (
1063
1384
  request.status === 0 &&
1064
- !(request.responseURL && request.responseURL.indexOf('file:') === 0)
1385
+ !(request.responseURL && request.responseURL.startsWith('file:'))
1065
1386
  ) {
1066
1387
  return;
1067
1388
  }
@@ -1078,6 +1399,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1078
1399
  }
1079
1400
 
1080
1401
  reject(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"]('Request aborted', _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"].ECONNABORTED, config, request));
1402
+ done();
1081
1403
 
1082
1404
  // Clean up request
1083
1405
  request = null;
@@ -1093,6 +1415,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1093
1415
  // attach the underlying event for consumers who want details
1094
1416
  err.event = event || null;
1095
1417
  reject(err);
1418
+ done();
1096
1419
  request = null;
1097
1420
  };
1098
1421
 
@@ -1113,6 +1436,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1113
1436
  request
1114
1437
  )
1115
1438
  );
1439
+ done();
1116
1440
 
1117
1441
  // Clean up request
1118
1442
  request = null;
@@ -1123,7 +1447,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1123
1447
 
1124
1448
  // Add headers to the request
1125
1449
  if ('setRequestHeader' in request) {
1126
- _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
1450
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach((0,_helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_10__.toByteStringHeaderObject)(requestHeaders), function setRequestHeader(val, key) {
1127
1451
  request.setRequestHeader(key, val);
1128
1452
  });
1129
1453
  }
@@ -1162,6 +1486,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1162
1486
  }
1163
1487
  reject(!cancel || cancel.type ? new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_4__["default"](null, config, request) : cancel);
1164
1488
  request.abort();
1489
+ done();
1165
1490
  request = null;
1166
1491
  };
1167
1492
 
@@ -1175,7 +1500,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1175
1500
 
1176
1501
  const protocol = (0,_helpers_parseProtocol_js__WEBPACK_IMPORTED_MODULE_5__["default"])(_config.url);
1177
1502
 
1178
- if (protocol && _platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].protocols.indexOf(protocol) === -1) {
1503
+ if (protocol && !_platform_index_js__WEBPACK_IMPORTED_MODULE_6__["default"].protocols.includes(protocol)) {
1179
1504
  reject(
1180
1505
  new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_3__["default"](
1181
1506
  'Unsupported protocol ' + protocol + ':',
@@ -1183,6 +1508,7 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1183
1508
  config
1184
1509
  )
1185
1510
  );
1511
+ done();
1186
1512
  return;
1187
1513
  }
1188
1514
 
@@ -1194,33 +1520,33 @@ const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
1194
1520
 
1195
1521
  /***/ },
1196
1522
 
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
- \*************************************************************************/
1523
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/axios.js"
1524
+ /*!**********************************************************************************************!*\
1525
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/axios.js ***!
1526
+ \**********************************************************************************************/
1201
1527
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1202
1528
 
1203
1529
  __webpack_require__.r(__webpack_exports__);
1204
1530
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1205
1531
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1206
1532
  /* 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");
1533
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
1534
+ /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers/bind.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/bind.js");
1535
+ /* harmony import */ var _core_Axios_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./core/Axios.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/Axios.js");
1536
+ /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core/mergeConfig.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js");
1537
+ /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./defaults/index.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/defaults/index.js");
1538
+ /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./helpers/formDataToJSON.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToJSON.js");
1539
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./cancel/CanceledError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js");
1540
+ /* harmony import */ var _cancel_CancelToken_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./cancel/CancelToken.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/CancelToken.js");
1541
+ /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./cancel/isCancel.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/isCancel.js");
1542
+ /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./env/data.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/env/data.js");
1543
+ /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./helpers/toFormData.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js");
1544
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./core/AxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
1545
+ /* harmony import */ var _helpers_spread_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./helpers/spread.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/spread.js");
1546
+ /* harmony import */ var _helpers_isAxiosError_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./helpers/isAxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/isAxiosError.js");
1547
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
1548
+ /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./adapters/adapters.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/adapters/adapters.js");
1549
+ /* harmony import */ var _helpers_HttpStatusCode_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./helpers/HttpStatusCode.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/HttpStatusCode.js");
1224
1550
 
1225
1551
 
1226
1552
 
@@ -1314,17 +1640,17 @@ axios.default = axios;
1314
1640
 
1315
1641
  /***/ },
1316
1642
 
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
- \**************************************************************************************/
1643
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/CancelToken.js"
1644
+ /*!***********************************************************************************************************!*\
1645
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/CancelToken.js ***!
1646
+ \***********************************************************************************************************/
1321
1647
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1322
1648
 
1323
1649
  __webpack_require__.r(__webpack_exports__);
1324
1650
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1325
1651
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1326
1652
  /* 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");
1653
+ /* harmony import */ var _CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./CanceledError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js");
1328
1654
 
1329
1655
 
1330
1656
 
@@ -1464,17 +1790,17 @@ class CancelToken {
1464
1790
 
1465
1791
  /***/ },
1466
1792
 
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
- \****************************************************************************************/
1793
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js"
1794
+ /*!*************************************************************************************************************!*\
1795
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js ***!
1796
+ \*************************************************************************************************************/
1471
1797
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1472
1798
 
1473
1799
  __webpack_require__.r(__webpack_exports__);
1474
1800
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1475
1801
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1476
1802
  /* 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");
1803
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
1478
1804
 
1479
1805
 
1480
1806
 
@@ -1501,10 +1827,10 @@ class CanceledError extends _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["de
1501
1827
 
1502
1828
  /***/ },
1503
1829
 
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
- \***********************************************************************************/
1830
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/isCancel.js"
1831
+ /*!********************************************************************************************************!*\
1832
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/isCancel.js ***!
1833
+ \********************************************************************************************************/
1508
1834
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1509
1835
 
1510
1836
  __webpack_require__.r(__webpack_exports__);
@@ -1520,25 +1846,25 @@ function isCancel(value) {
1520
1846
 
1521
1847
  /***/ },
1522
1848
 
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
- \******************************************************************************/
1849
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/Axios.js"
1850
+ /*!***************************************************************************************************!*\
1851
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/Axios.js ***!
1852
+ \***************************************************************************************************/
1527
1853
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1528
1854
 
1529
1855
  __webpack_require__.r(__webpack_exports__);
1530
1856
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1531
1857
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1532
1858
  /* 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");
1859
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
1860
+ /* harmony import */ var _helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/buildURL.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/buildURL.js");
1861
+ /* harmony import */ var _InterceptorManager_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./InterceptorManager.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/InterceptorManager.js");
1862
+ /* harmony import */ var _dispatchRequest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./dispatchRequest.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/dispatchRequest.js");
1863
+ /* harmony import */ var _mergeConfig_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./mergeConfig.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js");
1864
+ /* harmony import */ var _buildFullPath_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./buildFullPath.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/buildFullPath.js");
1865
+ /* harmony import */ var _helpers_validator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/validator.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/validator.js");
1866
+ /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
1867
+ /* harmony import */ var _defaults_transitional_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../defaults/transitional.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js");
1542
1868
 
1543
1869
 
1544
1870
 
@@ -1587,13 +1913,29 @@ class Axios {
1587
1913
  Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());
1588
1914
 
1589
1915
  // slice off the Error: ... line
1590
- const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
1916
+ const stack = (() => {
1917
+ if (!dummy.stack) {
1918
+ return '';
1919
+ }
1920
+
1921
+ const firstNewlineIndex = dummy.stack.indexOf('\n');
1922
+
1923
+ return firstNewlineIndex === -1 ? '' : dummy.stack.slice(firstNewlineIndex + 1);
1924
+ })();
1591
1925
  try {
1592
1926
  if (!err.stack) {
1593
1927
  err.stack = stack;
1594
1928
  // match without the 2 top stack lines
1595
- } else if (stack && !String(err.stack).endsWith(stack.replace(/^.+\n.+\n/, ''))) {
1596
- err.stack += '\n' + stack;
1929
+ } else if (stack) {
1930
+ const firstNewlineIndex = stack.indexOf('\n');
1931
+ const secondNewlineIndex =
1932
+ firstNewlineIndex === -1 ? -1 : stack.indexOf('\n', firstNewlineIndex + 1);
1933
+ const stackWithoutTwoTopLines =
1934
+ secondNewlineIndex === -1 ? '' : stack.slice(secondNewlineIndex + 1);
1935
+
1936
+ if (!String(err.stack).endsWith(stackWithoutTwoTopLines)) {
1937
+ err.stack += '\n' + stack;
1938
+ }
1597
1939
  }
1598
1940
  } catch (e) {
1599
1941
  // ignore the case where "stack" is an un-writable property
@@ -1626,6 +1968,8 @@ class Axios {
1626
1968
  forcedJSONParsing: validators.transitional(validators.boolean),
1627
1969
  clarifyTimeoutError: validators.transitional(validators.boolean),
1628
1970
  legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
1971
+ advertiseZstdAcceptEncoding: validators.transitional(validators.boolean),
1972
+ validateStatusUndefinedResolves: validators.transitional(validators.boolean),
1629
1973
  },
1630
1974
  false
1631
1975
  );
@@ -1673,7 +2017,7 @@ class Axios {
1673
2017
  let contextHeaders = headers && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].merge(headers.common, headers[config.method]);
1674
2018
 
1675
2019
  headers &&
1676
- _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], (method) => {
2020
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query', 'common'], (method) => {
1677
2021
  delete headers[method];
1678
2022
  });
1679
2023
 
@@ -1757,7 +2101,7 @@ class Axios {
1757
2101
 
1758
2102
  getUri(config) {
1759
2103
  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);
2104
+ const fullPath = (0,_buildFullPath_js__WEBPACK_IMPORTED_MODULE_5__["default"])(config.baseURL, config.url, config.allowAbsoluteUrls, config);
1761
2105
  return (0,_helpers_buildURL_js__WEBPACK_IMPORTED_MODULE_1__["default"])(fullPath, config.params, config.paramsSerializer);
1762
2106
  }
1763
2107
  }
@@ -1770,13 +2114,13 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
1770
2114
  (0,_mergeConfig_js__WEBPACK_IMPORTED_MODULE_4__["default"])(config || {}, {
1771
2115
  method,
1772
2116
  url,
1773
- data: (config || {}).data,
2117
+ data: config && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config, 'data') ? config.data : undefined,
1774
2118
  })
1775
2119
  );
1776
2120
  };
1777
2121
  });
1778
2122
 
1779
- _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
2123
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['post', 'put', 'patch', 'query'], function forEachMethodWithData(method) {
1780
2124
  function generateHTTPMethod(isForm) {
1781
2125
  return function httpMethod(url, data, config) {
1782
2126
  return this.request(
@@ -1796,7 +2140,11 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['post', 'put', 'patch
1796
2140
 
1797
2141
  Axios.prototype[method] = generateHTTPMethod();
1798
2142
 
1799
- Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
2143
+ // QUERY is a safe/idempotent read method; multipart form bodies don't fit
2144
+ // its semantics, so no queryForm shorthand is generated.
2145
+ if (method !== 'query') {
2146
+ Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
2147
+ }
1800
2148
  });
1801
2149
 
1802
2150
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Axios);
@@ -1804,25 +2152,108 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['post', 'put', 'patch
1804
2152
 
1805
2153
  /***/ },
1806
2154
 
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
- \***********************************************************************************/
2155
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js"
2156
+ /*!********************************************************************************************************!*\
2157
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js ***!
2158
+ \********************************************************************************************************/
1811
2159
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1812
2160
 
1813
2161
  __webpack_require__.r(__webpack_exports__);
1814
2162
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1815
2163
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1816
2164
  /* 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");
2165
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
2166
+ /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
2167
+
2168
+
2169
+
2170
+
2171
+
2172
+ const REDACTED = '[REDACTED ****]';
2173
+
2174
+ function hasOwnOrPrototypeToJSON(source) {
2175
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(source, 'toJSON')) {
2176
+ return true;
2177
+ }
2178
+
2179
+ let prototype = Object.getPrototypeOf(source);
2180
+
2181
+ while (prototype && prototype !== Object.prototype) {
2182
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(prototype, 'toJSON')) {
2183
+ return true;
2184
+ }
2185
+
2186
+ prototype = Object.getPrototypeOf(prototype);
2187
+ }
2188
+
2189
+ return false;
2190
+ }
1818
2191
 
2192
+ // Build a plain-object snapshot of `config` and replace the value of any key
2193
+ // (case-insensitive) listed in `redactKeys` with REDACTED. Walks through arrays
2194
+ // and AxiosHeaders, and short-circuits on circular references.
2195
+ function redactConfig(config, redactKeys) {
2196
+ const lowerKeys = new Set(redactKeys.map((k) => String(k).toLowerCase()));
2197
+ const seen = [];
1819
2198
 
2199
+ const visit = (source) => {
2200
+ if (source === null || typeof source !== 'object') return source;
2201
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isBuffer(source)) return source;
2202
+ if (seen.indexOf(source) !== -1) return undefined;
1820
2203
 
2204
+ if (source instanceof _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__["default"]) {
2205
+ source = source.toJSON();
2206
+ }
2207
+
2208
+ seen.push(source);
2209
+
2210
+ let result;
2211
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(source)) {
2212
+ result = [];
2213
+ source.forEach((v, i) => {
2214
+ const reducedValue = visit(v);
2215
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(reducedValue)) {
2216
+ result[i] = reducedValue;
2217
+ }
2218
+ });
2219
+ } else {
2220
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(source) && hasOwnOrPrototypeToJSON(source)) {
2221
+ seen.pop();
2222
+ return source;
2223
+ }
2224
+
2225
+ result = Object.create(null);
2226
+ for (const [key, value] of Object.entries(source)) {
2227
+ const reducedValue = lowerKeys.has(key.toLowerCase()) ? REDACTED : visit(value);
2228
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(reducedValue)) {
2229
+ result[key] = reducedValue;
2230
+ }
2231
+ }
2232
+ }
2233
+
2234
+ seen.pop();
2235
+ return result;
2236
+ };
2237
+
2238
+ return visit(config);
2239
+ }
1821
2240
 
1822
2241
  class AxiosError extends Error {
1823
2242
  static from(error, code, config, request, response, customProps) {
1824
2243
  const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
1825
- axiosError.cause = error;
2244
+ // Match native `Error` `cause` semantics: non-enumerable. The wrapped
2245
+ // error often carries circular internals (sockets, requests, agents), so
2246
+ // an enumerable `cause` makes structured loggers (pino/winston) and any
2247
+ // own-property walk throw "Converting circular structure to JSON".
2248
+ // Regression from #6982; see #7205. `__proto__: null` mirrors the
2249
+ // `message` descriptor below (prototype-pollution-safe descriptor).
2250
+ Object.defineProperty(axiosError, 'cause', {
2251
+ __proto__: null,
2252
+ value: error,
2253
+ writable: true,
2254
+ enumerable: false,
2255
+ configurable: true,
2256
+ });
1826
2257
  axiosError.name = error.name;
1827
2258
 
1828
2259
  // Preserve status from the original error if not already set from response
@@ -1834,42 +2265,56 @@ class AxiosError extends Error {
1834
2265
  return axiosError;
1835
2266
  }
1836
2267
 
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
- }
2268
+ /**
2269
+ * Create an Error with the specified message, config, error code, request and response.
2270
+ *
2271
+ * @param {string} message The error message.
2272
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
2273
+ * @param {Object} [config] The config.
2274
+ * @param {Object} [request] The request.
2275
+ * @param {Object} [response] The response.
2276
+ *
2277
+ * @returns {Error} The created error.
2278
+ */
2279
+ constructor(message, code, config, request, response) {
2280
+ super(message);
2281
+
2282
+ // Make message enumerable to maintain backward compatibility
2283
+ // The native Error constructor sets message as non-enumerable,
2284
+ // but axios < v1.13.3 had it as enumerable
2285
+ Object.defineProperty(this, 'message', {
2286
+ // Null-proto descriptor so a polluted Object.prototype.get cannot turn
2287
+ // this data descriptor into an accessor descriptor on the way in.
2288
+ __proto__: null,
2289
+ value: message,
2290
+ enumerable: true,
2291
+ writable: true,
2292
+ configurable: true,
2293
+ });
2294
+
2295
+ this.name = 'AxiosError';
2296
+ this.isAxiosError = true;
2297
+ code && (this.code = code);
2298
+ config && (this.config = config);
2299
+ request && (this.request = request);
2300
+ if (response) {
2301
+ this.response = response;
2302
+ this.status = response.status;
1870
2303
  }
2304
+ }
1871
2305
 
1872
2306
  toJSON() {
2307
+ // Opt-in redaction: when the request config carries a `redact` array, the
2308
+ // value of any matching key (case-insensitive, at any depth) is replaced
2309
+ // with REDACTED in the serialized snapshot. Undefined or empty leaves the
2310
+ // existing serialization behavior unchanged.
2311
+ const config = this.config;
2312
+ const redactKeys = config && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config, 'redact') ? config.redact : undefined;
2313
+ const serializedConfig =
2314
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(redactKeys) && redactKeys.length > 0
2315
+ ? redactConfig(config, redactKeys)
2316
+ : _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(config);
2317
+
1873
2318
  return {
1874
2319
  // Standard
1875
2320
  message: this.message,
@@ -1883,7 +2328,7 @@ class AxiosError extends Error {
1883
2328
  columnNumber: this.columnNumber,
1884
2329
  stack: this.stack,
1885
2330
  // Axios
1886
- config: _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toJSONObject(this.config),
2331
+ config: serializedConfig,
1887
2332
  code: this.code,
1888
2333
  status: this.status,
1889
2334
  };
@@ -1895,6 +2340,7 @@ AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
1895
2340
  AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
1896
2341
  AxiosError.ECONNABORTED = 'ECONNABORTED';
1897
2342
  AxiosError.ETIMEDOUT = 'ETIMEDOUT';
2343
+ AxiosError.ECONNREFUSED = 'ECONNREFUSED';
1898
2344
  AxiosError.ERR_NETWORK = 'ERR_NETWORK';
1899
2345
  AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
1900
2346
  AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';
@@ -1903,24 +2349,27 @@ AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
1903
2349
  AxiosError.ERR_CANCELED = 'ERR_CANCELED';
1904
2350
  AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
1905
2351
  AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
2352
+ AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = 'ERR_FORM_DATA_DEPTH_EXCEEDED';
1906
2353
 
1907
2354
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AxiosError);
1908
2355
 
1909
2356
 
1910
2357
  /***/ },
1911
2358
 
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
- \*************************************************************************************/
2359
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js"
2360
+ /*!**********************************************************************************************************!*\
2361
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js ***!
2362
+ \**********************************************************************************************************/
1916
2363
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
1917
2364
 
1918
2365
  __webpack_require__.r(__webpack_exports__);
1919
2366
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1920
2367
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1921
2368
  /* 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");
2369
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
2370
+ /* harmony import */ var _helpers_parseHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/parseHeaders.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/parseHeaders.js");
2371
+ /* harmony import */ var _helpers_sanitizeHeaderValue_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/sanitizeHeaderValue.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js");
2372
+
1924
2373
 
1925
2374
 
1926
2375
 
@@ -1937,9 +2386,7 @@ function normalizeValue(value) {
1937
2386
  return value;
1938
2387
  }
1939
2388
 
1940
- return _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value)
1941
- ? value.map(normalizeValue)
1942
- : String(value).replace(/[\r\n]+$/, '');
2389
+ 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
2390
  }
1944
2391
 
1945
2392
  function parseTokens(str) {
@@ -1990,6 +2437,9 @@ function buildAccessors(obj, header) {
1990
2437
 
1991
2438
  ['get', 'set', 'has'].forEach((methodName) => {
1992
2439
  Object.defineProperty(obj, methodName + accessorName, {
2440
+ // Null-proto descriptor so a polluted Object.prototype.get cannot turn
2441
+ // this data descriptor into an accessor descriptor on the way in.
2442
+ __proto__: null,
1993
2443
  value: function (arg1, arg2, arg3) {
1994
2444
  return this[methodName].call(this, header, arg1, arg2, arg3);
1995
2445
  },
@@ -2010,7 +2460,7 @@ class AxiosHeaders {
2010
2460
  const lHeader = normalizeHeader(_header);
2011
2461
 
2012
2462
  if (!lHeader) {
2013
- throw new Error('header name must be a non-empty string');
2463
+ return;
2014
2464
  }
2015
2465
 
2016
2466
  const key = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].findKey(self, lHeader);
@@ -2032,20 +2482,23 @@ class AxiosHeaders {
2032
2482
  setHeaders(header, valueOrRewrite);
2033
2483
  } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
2034
2484
  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 = {},
2485
+ } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(header) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isSafeIterable(header)) {
2486
+ let obj = Object.create(null),
2037
2487
  dest,
2038
2488
  key;
2039
2489
  for (const entry of header) {
2040
2490
  if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(entry)) {
2041
- throw TypeError('Object iterator must return a key-value pair');
2491
+ throw new TypeError('Object iterator must return a key-value pair');
2042
2492
  }
2043
2493
 
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];
2494
+ key = entry[0];
2495
+
2496
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(obj, key)) {
2497
+ dest = obj[key];
2498
+ obj[key] = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]];
2499
+ } else {
2500
+ obj[key] = entry[1];
2501
+ }
2049
2502
  }
2050
2503
 
2051
2504
  setHeaders(obj, valueOrRewrite);
@@ -2271,17 +2724,17 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].freezeMethods(AxiosHeaders);
2271
2724
 
2272
2725
  /***/ },
2273
2726
 
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
- \*******************************************************************************************/
2727
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/InterceptorManager.js"
2728
+ /*!****************************************************************************************************************!*\
2729
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/InterceptorManager.js ***!
2730
+ \****************************************************************************************************************/
2278
2731
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2279
2732
 
2280
2733
  __webpack_require__.r(__webpack_exports__);
2281
2734
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2282
2735
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2283
2736
  /* 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");
2737
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
2285
2738
 
2286
2739
 
2287
2740
 
@@ -2358,22 +2811,49 @@ class InterceptorManager {
2358
2811
 
2359
2812
  /***/ },
2360
2813
 
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
- \**************************************************************************************/
2814
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/buildFullPath.js"
2815
+ /*!***********************************************************************************************************!*\
2816
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/buildFullPath.js ***!
2817
+ \***********************************************************************************************************/
2365
2818
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2366
2819
 
2367
2820
  __webpack_require__.r(__webpack_exports__);
2368
2821
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2369
2822
  /* harmony export */ "default": () => (/* binding */ buildFullPath)
2370
2823
  /* 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");
2824
+ /* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
2825
+ /* harmony import */ var _helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/isAbsoluteURL.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/isAbsoluteURL.js");
2826
+ /* harmony import */ var _helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/combineURLs.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/combineURLs.js");
2827
+
2828
+
2829
+
2373
2830
 
2374
2831
 
2375
2832
 
2833
+ const malformedHttpProtocol = /^https?:(?!\/\/)/i;
2834
+ const httpProtocolControlCharacters = /[\t\n\r]/g;
2835
+
2836
+ function stripLeadingC0ControlOrSpace(url) {
2837
+ let i = 0;
2838
+ while (i < url.length && url.charCodeAt(i) <= 0x20) {
2839
+ i++;
2840
+ }
2841
+ return url.slice(i);
2842
+ }
2843
+
2844
+ function normalizeURLForProtocolCheck(url) {
2845
+ return stripLeadingC0ControlOrSpace(url).replace(httpProtocolControlCharacters, '');
2846
+ }
2376
2847
 
2848
+ function assertValidHttpProtocolURL(url, config) {
2849
+ if (typeof url === 'string' && malformedHttpProtocol.test(normalizeURLForProtocolCheck(url))) {
2850
+ throw new _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](
2851
+ 'Invalid URL: missing "//" after protocol',
2852
+ _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"].ERR_INVALID_URL,
2853
+ config
2854
+ );
2855
+ }
2856
+ }
2377
2857
 
2378
2858
  /**
2379
2859
  * Creates a new URL by combining the baseURL with the requestedURL,
@@ -2385,10 +2865,12 @@ __webpack_require__.r(__webpack_exports__);
2385
2865
  *
2386
2866
  * @returns {string} The combined full path
2387
2867
  */
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);
2868
+ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {
2869
+ assertValidHttpProtocolURL(requestedURL, config);
2870
+ let isRelativeUrl = !(0,_helpers_isAbsoluteURL_js__WEBPACK_IMPORTED_MODULE_1__["default"])(requestedURL);
2871
+ if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) {
2872
+ assertValidHttpProtocolURL(baseURL, config);
2873
+ return (0,_helpers_combineURLs_js__WEBPACK_IMPORTED_MODULE_2__["default"])(baseURL, requestedURL);
2392
2874
  }
2393
2875
  return requestedURL;
2394
2876
  }
@@ -2396,22 +2878,22 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
2396
2878
 
2397
2879
  /***/ },
2398
2880
 
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
- \****************************************************************************************/
2881
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/dispatchRequest.js"
2882
+ /*!*************************************************************************************************************!*\
2883
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/dispatchRequest.js ***!
2884
+ \*************************************************************************************************************/
2403
2885
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2404
2886
 
2405
2887
  __webpack_require__.r(__webpack_exports__);
2406
2888
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2407
2889
  /* harmony export */ "default": () => (/* binding */ dispatchRequest)
2408
2890
  /* 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");
2891
+ /* harmony import */ var _transformData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./transformData.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/transformData.js");
2892
+ /* harmony import */ var _cancel_isCancel_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../cancel/isCancel.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/isCancel.js");
2893
+ /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../defaults/index.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/defaults/index.js");
2894
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js");
2895
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
2896
+ /* harmony import */ var _adapters_adapters_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../adapters/adapters.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/adapters/adapters.js");
2415
2897
 
2416
2898
 
2417
2899
 
@@ -2463,8 +2945,15 @@ function dispatchRequest(config) {
2463
2945
  function onAdapterResolution(response) {
2464
2946
  throwIfCancellationRequested(config);
2465
2947
 
2466
- // Transform response data
2467
- response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_0__["default"].call(config, config.transformResponse, response);
2948
+ // Expose the current response on config so that transformResponse can
2949
+ // attach it to any AxiosError it throws (e.g. on JSON parse failure).
2950
+ // We clean it up afterwards to avoid polluting the config object.
2951
+ config.response = response;
2952
+ try {
2953
+ response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_0__["default"].call(config, config.transformResponse, response);
2954
+ } finally {
2955
+ delete config.response;
2956
+ }
2468
2957
 
2469
2958
  response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__["default"].from(response.headers);
2470
2959
 
@@ -2476,11 +2965,16 @@ function dispatchRequest(config) {
2476
2965
 
2477
2966
  // Transform response data
2478
2967
  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
- );
2968
+ config.response = reason.response;
2969
+ try {
2970
+ reason.response.data = _transformData_js__WEBPACK_IMPORTED_MODULE_0__["default"].call(
2971
+ config,
2972
+ config.transformResponse,
2973
+ reason.response
2974
+ );
2975
+ } finally {
2976
+ delete config.response;
2977
+ }
2484
2978
  reason.response.headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_4__["default"].from(reason.response.headers);
2485
2979
  }
2486
2980
  }
@@ -2493,18 +2987,18 @@ function dispatchRequest(config) {
2493
2987
 
2494
2988
  /***/ },
2495
2989
 
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
- \************************************************************************************/
2990
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js"
2991
+ /*!*********************************************************************************************************!*\
2992
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js ***!
2993
+ \*********************************************************************************************************/
2500
2994
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2501
2995
 
2502
2996
  __webpack_require__.r(__webpack_exports__);
2503
2997
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2504
2998
  /* harmony export */ "default": () => (/* binding */ mergeConfig)
2505
2999
  /* 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");
3000
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
3001
+ /* harmony import */ var _AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
2508
3002
 
2509
3003
 
2510
3004
 
@@ -2523,8 +3017,23 @@ const headersToObject = (thing) => (thing instanceof _AxiosHeaders_js__WEBPACK_I
2523
3017
  */
2524
3018
  function mergeConfig(config1, config2) {
2525
3019
  // eslint-disable-next-line no-param-reassign
3020
+ config1 = config1 || {};
2526
3021
  config2 = config2 || {};
2527
- const config = {};
3022
+
3023
+ // Use a null-prototype object so that downstream reads such as `config.auth`
3024
+ // or `config.baseURL` cannot inherit polluted values from Object.prototype.
3025
+ // `hasOwnProperty` is restored as a non-enumerable own slot to preserve
3026
+ // ergonomics for user code that relies on it.
3027
+ const config = Object.create(null);
3028
+ Object.defineProperty(config, 'hasOwnProperty', {
3029
+ // Null-proto descriptor so a polluted Object.prototype.get cannot turn
3030
+ // this data descriptor into an accessor descriptor on the way in.
3031
+ __proto__: null,
3032
+ value: Object.prototype.hasOwnProperty,
3033
+ enumerable: false,
3034
+ writable: true,
3035
+ configurable: true,
3036
+ });
2528
3037
 
2529
3038
  function getMergedValue(target, source, prop, caseless) {
2530
3039
  if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(target) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(source)) {
@@ -2561,11 +3070,33 @@ function mergeConfig(config1, config2) {
2561
3070
  }
2562
3071
  }
2563
3072
 
3073
+ function getMergedTransitionalOption(prop) {
3074
+ const transitional2 = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config2, 'transitional') ? config2.transitional : undefined;
3075
+
3076
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(transitional2)) {
3077
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(transitional2)) {
3078
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(transitional2, prop)) {
3079
+ return transitional2[prop];
3080
+ }
3081
+ } else {
3082
+ return undefined;
3083
+ }
3084
+ }
3085
+
3086
+ const transitional1 = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config1, 'transitional') ? config1.transitional : undefined;
3087
+
3088
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isPlainObject(transitional1) && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(transitional1, prop)) {
3089
+ return transitional1[prop];
3090
+ }
3091
+
3092
+ return undefined;
3093
+ }
3094
+
2564
3095
  // eslint-disable-next-line consistent-return
2565
3096
  function mergeDirectKeys(a, b, prop) {
2566
- if (prop in config2) {
3097
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config2, prop)) {
2567
3098
  return getMergedValue(a, b);
2568
- } else if (prop in config1) {
3099
+ } else if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config1, prop)) {
2569
3100
  return getMergedValue(undefined, a);
2570
3101
  }
2571
3102
  }
@@ -2597,6 +3128,7 @@ function mergeConfig(config1, config2) {
2597
3128
  httpsAgent: defaultToConfig2,
2598
3129
  cancelToken: defaultToConfig2,
2599
3130
  socketPath: defaultToConfig2,
3131
+ allowedSocketPaths: defaultToConfig2,
2600
3132
  responseEncoding: defaultToConfig2,
2601
3133
  validateStatus: mergeDirectKeys,
2602
3134
  headers: (a, b, prop) =>
@@ -2606,27 +3138,41 @@ function mergeConfig(config1, config2) {
2606
3138
  _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
2607
3139
  if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
2608
3140
  const merge = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
2609
- const configValue = merge(config1[prop], config2[prop], prop);
3141
+ const a = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config1, prop) ? config1[prop] : undefined;
3142
+ const b = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config2, prop) ? config2[prop] : undefined;
3143
+ const configValue = merge(a, b, prop);
2610
3144
  (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
2611
3145
  });
2612
3146
 
3147
+ if (
3148
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config2, 'validateStatus') &&
3149
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(config2.validateStatus) &&
3150
+ getMergedTransitionalOption('validateStatusUndefinedResolves') === false
3151
+ ) {
3152
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(config1, 'validateStatus')) {
3153
+ config.validateStatus = getMergedValue(undefined, config1.validateStatus);
3154
+ } else {
3155
+ delete config.validateStatus;
3156
+ }
3157
+ }
3158
+
2613
3159
  return config;
2614
3160
  }
2615
3161
 
2616
3162
 
2617
3163
  /***/ },
2618
3164
 
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
- \*******************************************************************************/
3165
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/settle.js"
3166
+ /*!****************************************************************************************************!*\
3167
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/settle.js ***!
3168
+ \****************************************************************************************************/
2623
3169
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2624
3170
 
2625
3171
  __webpack_require__.r(__webpack_exports__);
2626
3172
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2627
3173
  /* harmony export */ "default": () => (/* binding */ settle)
2628
3174
  /* 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");
3175
+ /* harmony import */ var _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
2630
3176
 
2631
3177
 
2632
3178
 
@@ -2645,36 +3191,32 @@ function settle(resolve, reject, response) {
2645
3191
  if (!response.status || !validateStatus || validateStatus(response.status)) {
2646
3192
  resolve(response);
2647
3193
  } 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
- );
3194
+ reject(new _AxiosError_js__WEBPACK_IMPORTED_MODULE_0__["default"](
3195
+ 'Request failed with status code ' + response.status,
3196
+ 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,
3197
+ response.config,
3198
+ response.request,
3199
+ response
3200
+ ));
2659
3201
  }
2660
3202
  }
2661
3203
 
2662
3204
 
2663
3205
  /***/ },
2664
3206
 
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
- \**************************************************************************************/
3207
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/transformData.js"
3208
+ /*!***********************************************************************************************************!*\
3209
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/transformData.js ***!
3210
+ \***********************************************************************************************************/
2669
3211
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2670
3212
 
2671
3213
  __webpack_require__.r(__webpack_exports__);
2672
3214
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2673
3215
  /* harmony export */ "default": () => (/* binding */ transformData)
2674
3216
  /* 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");
3217
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
3218
+ /* harmony import */ var _defaults_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../defaults/index.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/defaults/index.js");
3219
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
2678
3220
 
2679
3221
 
2680
3222
 
@@ -2707,23 +3249,23 @@ function transformData(fns, response) {
2707
3249
 
2708
3250
  /***/ },
2709
3251
 
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
- \**********************************************************************************/
3252
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/defaults/index.js"
3253
+ /*!*******************************************************************************************************!*\
3254
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/defaults/index.js ***!
3255
+ \*******************************************************************************************************/
2714
3256
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2715
3257
 
2716
3258
  __webpack_require__.r(__webpack_exports__);
2717
3259
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2718
3260
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2719
3261
  /* 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");
3262
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
3263
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
3264
+ /* harmony import */ var _transitional_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transitional.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js");
3265
+ /* harmony import */ var _helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/toFormData.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js");
3266
+ /* harmony import */ var _helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../helpers/toURLEncodedForm.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/toURLEncodedForm.js");
3267
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
3268
+ /* harmony import */ var _helpers_formDataToJSON_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../helpers/formDataToJSON.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToJSON.js");
2727
3269
 
2728
3270
 
2729
3271
 
@@ -2734,6 +3276,8 @@ __webpack_require__.r(__webpack_exports__);
2734
3276
 
2735
3277
 
2736
3278
 
3279
+ const own = (obj, key) => (obj != null && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(obj, key) ? obj[key] : undefined);
3280
+
2737
3281
  /**
2738
3282
  * It takes a string, tries to parse it, and if it fails, it returns the stringified version
2739
3283
  * of the input
@@ -2801,20 +3345,22 @@ const defaults = {
2801
3345
  let isFileList;
2802
3346
 
2803
3347
  if (isObjectPayload) {
3348
+ const formSerializer = own(this, 'formSerializer');
2804
3349
  if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
2805
- return (0,_helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_4__["default"])(data, this.formSerializer).toString();
3350
+ return (0,_helpers_toURLEncodedForm_js__WEBPACK_IMPORTED_MODULE_4__["default"])(data, formSerializer).toString();
2806
3351
  }
2807
3352
 
2808
3353
  if (
2809
3354
  (isFileList = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFileList(data)) ||
2810
3355
  contentType.indexOf('multipart/form-data') > -1
2811
3356
  ) {
2812
- const _FormData = this.env && this.env.FormData;
3357
+ const env = own(this, 'env');
3358
+ const _FormData = env && env.FormData;
2813
3359
 
2814
3360
  return (0,_helpers_toFormData_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
2815
3361
  isFileList ? { 'files[]': data } : data,
2816
3362
  _FormData && new _FormData(),
2817
- this.formSerializer
3363
+ formSerializer
2818
3364
  );
2819
3365
  }
2820
3366
  }
@@ -2830,9 +3376,10 @@ const defaults = {
2830
3376
 
2831
3377
  transformResponse: [
2832
3378
  function transformResponse(data) {
2833
- const transitional = this.transitional || defaults.transitional;
3379
+ const transitional = own(this, 'transitional') || defaults.transitional;
2834
3380
  const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
2835
- const JSONRequested = this.responseType === 'json';
3381
+ const responseType = own(this, 'responseType');
3382
+ const JSONRequested = responseType === 'json';
2836
3383
 
2837
3384
  if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isResponse(data) || _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isReadableStream(data)) {
2838
3385
  return data;
@@ -2841,17 +3388,17 @@ const defaults = {
2841
3388
  if (
2842
3389
  data &&
2843
3390
  _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(data) &&
2844
- ((forcedJSONParsing && !this.responseType) || JSONRequested)
3391
+ ((forcedJSONParsing && !responseType) || JSONRequested)
2845
3392
  ) {
2846
3393
  const silentJSONParsing = transitional && transitional.silentJSONParsing;
2847
3394
  const strictJSONParsing = !silentJSONParsing && JSONRequested;
2848
3395
 
2849
3396
  try {
2850
- return JSON.parse(data, this.parseReviver);
3397
+ return JSON.parse(data, own(this, 'parseReviver'));
2851
3398
  } catch (e) {
2852
3399
  if (strictJSONParsing) {
2853
3400
  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);
3401
+ 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
3402
  }
2856
3403
  throw e;
2857
3404
  }
@@ -2891,7 +3438,7 @@ const defaults = {
2891
3438
  },
2892
3439
  };
2893
3440
 
2894
- _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
3441
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'query'], (method) => {
2895
3442
  defaults.headers[method] = {};
2896
3443
  });
2897
3444
 
@@ -2900,10 +3447,10 @@ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(['delete', 'get', 'hea
2900
3447
 
2901
3448
  /***/ },
2902
3449
 
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
- \*****************************************************************************************/
3450
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js"
3451
+ /*!**************************************************************************************************************!*\
3452
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js ***!
3453
+ \**************************************************************************************************************/
2907
3454
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2908
3455
 
2909
3456
  __webpack_require__.r(__webpack_exports__);
@@ -2917,36 +3464,38 @@ __webpack_require__.r(__webpack_exports__);
2917
3464
  forcedJSONParsing: true,
2918
3465
  clarifyTimeoutError: false,
2919
3466
  legacyInterceptorReqResOrdering: true,
3467
+ advertiseZstdAcceptEncoding: false,
3468
+ validateStatusUndefinedResolves: true,
2920
3469
  });
2921
3470
 
2922
3471
 
2923
3472
  /***/ },
2924
3473
 
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
- \****************************************************************************/
3474
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/env/data.js"
3475
+ /*!*************************************************************************************************!*\
3476
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/env/data.js ***!
3477
+ \*************************************************************************************************/
2929
3478
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2930
3479
 
2931
3480
  __webpack_require__.r(__webpack_exports__);
2932
3481
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2933
3482
  /* harmony export */ VERSION: () => (/* binding */ VERSION)
2934
3483
  /* harmony export */ });
2935
- const VERSION = "1.14.0";
3484
+ const VERSION = "1.18.1";
2936
3485
 
2937
3486
  /***/ },
2938
3487
 
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
- \************************************************************************************************/
3488
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js"
3489
+ /*!*********************************************************************************************************************!*\
3490
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js ***!
3491
+ \*********************************************************************************************************************/
2943
3492
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
2944
3493
 
2945
3494
  __webpack_require__.r(__webpack_exports__);
2946
3495
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2947
3496
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2948
3497
  /* 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");
3498
+ /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./toFormData.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js");
2950
3499
 
2951
3500
 
2952
3501
 
@@ -2967,9 +3516,8 @@ function encode(str) {
2967
3516
  ')': '%29',
2968
3517
  '~': '%7E',
2969
3518
  '%20': '+',
2970
- '%00': '\x00',
2971
3519
  };
2972
- return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
3520
+ return encodeURIComponent(str).replace(/[!'()~]|%20/g, function replacer(match) {
2973
3521
  return charMap[match];
2974
3522
  });
2975
3523
  }
@@ -2996,9 +3544,7 @@ prototype.append = function append(name, value) {
2996
3544
 
2997
3545
  prototype.toString = function toString(encoder) {
2998
3546
  const _encode = encoder
2999
- ? function (value) {
3000
- return encoder.call(this, value, encode);
3001
- }
3547
+ ? (value) => encoder.call(this, value, encode)
3002
3548
  : encode;
3003
3549
 
3004
3550
  return this._pairs
@@ -3013,10 +3559,10 @@ prototype.toString = function toString(encoder) {
3013
3559
 
3014
3560
  /***/ },
3015
3561
 
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
- \******************************************************************************************/
3562
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/HttpStatusCode.js"
3563
+ /*!***************************************************************************************************************!*\
3564
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/HttpStatusCode.js ***!
3565
+ \***************************************************************************************************************/
3020
3566
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3021
3567
 
3022
3568
  __webpack_require__.r(__webpack_exports__);
@@ -3104,10 +3650,10 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
3104
3650
 
3105
3651
  /***/ },
3106
3652
 
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
- \********************************************************************************/
3653
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/bind.js"
3654
+ /*!*****************************************************************************************************!*\
3655
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/bind.js ***!
3656
+ \*****************************************************************************************************/
3111
3657
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3112
3658
 
3113
3659
  __webpack_require__.r(__webpack_exports__);
@@ -3132,18 +3678,19 @@ function bind(fn, thisArg) {
3132
3678
 
3133
3679
  /***/ },
3134
3680
 
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
- \************************************************************************************/
3681
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/buildURL.js"
3682
+ /*!*********************************************************************************************************!*\
3683
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/buildURL.js ***!
3684
+ \*********************************************************************************************************/
3139
3685
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3140
3686
 
3141
3687
  __webpack_require__.r(__webpack_exports__);
3142
3688
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3143
- /* harmony export */ "default": () => (/* binding */ buildURL)
3689
+ /* harmony export */ "default": () => (/* binding */ buildURL),
3690
+ /* harmony export */ encode: () => (/* binding */ encode)
3144
3691
  /* 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");
3692
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
3693
+ /* harmony import */ var _AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AxiosURLSearchParams.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
3147
3694
 
3148
3695
 
3149
3696
 
@@ -3178,8 +3725,7 @@ function buildURL(url, params, options) {
3178
3725
  if (!params) {
3179
3726
  return url;
3180
3727
  }
3181
-
3182
- const _encode = (options && options.encode) || encode;
3728
+ url = url || '';
3183
3729
 
3184
3730
  const _options = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(options)
3185
3731
  ? {
@@ -3187,7 +3733,11 @@ function buildURL(url, params, options) {
3187
3733
  }
3188
3734
  : options;
3189
3735
 
3190
- const serializeFn = _options && _options.serialize;
3736
+ // Read serializer options pollution-safely: own properties and methods on a
3737
+ // class/template prototype are honored, but values injected onto a polluted
3738
+ // Object.prototype are ignored.
3739
+ const _encode = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].getSafeProp(_options, 'encode') || encode;
3740
+ const serializeFn = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].getSafeProp(_options, 'serialize');
3191
3741
 
3192
3742
  let serializedParams;
3193
3743
 
@@ -3196,7 +3746,7 @@ function buildURL(url, params, options) {
3196
3746
  } else {
3197
3747
  serializedParams = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isURLSearchParams(params)
3198
3748
  ? params.toString()
3199
- : new _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__["default"](params, _options).toString(_encode);
3749
+ : new _AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_1__["default"](params, _options).toString(_encode);
3200
3750
  }
3201
3751
 
3202
3752
  if (serializedParams) {
@@ -3214,10 +3764,10 @@ function buildURL(url, params, options) {
3214
3764
 
3215
3765
  /***/ },
3216
3766
 
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
- \***************************************************************************************/
3767
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/combineURLs.js"
3768
+ /*!************************************************************************************************************!*\
3769
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/combineURLs.js ***!
3770
+ \************************************************************************************************************/
3221
3771
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3222
3772
 
3223
3773
  __webpack_require__.r(__webpack_exports__);
@@ -3243,72 +3793,73 @@ function combineURLs(baseURL, relativeURL) {
3243
3793
 
3244
3794
  /***/ },
3245
3795
 
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
- \******************************************************************************************/
3796
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/composeSignals.js"
3797
+ /*!***************************************************************************************************************!*\
3798
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/composeSignals.js ***!
3799
+ \***************************************************************************************************************/
3250
3800
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3251
3801
 
3252
3802
  __webpack_require__.r(__webpack_exports__);
3253
3803
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3254
3804
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3255
3805
  /* 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");
3806
+ /* harmony import */ var _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../cancel/CanceledError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js");
3807
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
3808
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
3259
3809
 
3260
3810
 
3261
3811
 
3262
3812
 
3263
3813
  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
- };
3814
+ signals = signals ? signals.filter(Boolean) : [];
3283
3815
 
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
- };
3816
+ if (!timeout && !signals.length) {
3817
+ return;
3818
+ }
3303
3819
 
3304
- signals.forEach((signal) => signal.addEventListener('abort', onabort));
3820
+ const controller = new AbortController();
3305
3821
 
3306
- const { signal } = controller;
3822
+ let aborted = false;
3307
3823
 
3308
- signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(unsubscribe);
3824
+ const onabort = function (reason) {
3825
+ if (!aborted) {
3826
+ aborted = true;
3827
+ unsubscribe();
3828
+ const err = reason instanceof Error ? reason : this.reason;
3829
+ controller.abort(
3830
+ err instanceof _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"]
3831
+ ? err
3832
+ : new _cancel_CanceledError_js__WEBPACK_IMPORTED_MODULE_0__["default"](err instanceof Error ? err.message : err)
3833
+ );
3834
+ }
3835
+ };
3309
3836
 
3310
- return signal;
3311
- }
3837
+ let timer =
3838
+ timeout &&
3839
+ setTimeout(() => {
3840
+ timer = null;
3841
+ onabort(new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](`timeout of ${timeout}ms exceeded`, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ETIMEDOUT));
3842
+ }, timeout);
3843
+
3844
+ const unsubscribe = () => {
3845
+ if (!signals) { return; }
3846
+ timer && clearTimeout(timer);
3847
+ timer = null;
3848
+ signals.forEach((signal) => {
3849
+ signal.unsubscribe
3850
+ ? signal.unsubscribe(onabort)
3851
+ : signal.removeEventListener('abort', onabort);
3852
+ });
3853
+ signals = null;
3854
+ };
3855
+
3856
+ signals.forEach((signal) => signal.addEventListener('abort', onabort, { once: true }));
3857
+
3858
+ const { signal } = controller;
3859
+
3860
+ signal.unsubscribe = () => _utils_js__WEBPACK_IMPORTED_MODULE_2__["default"].asap(unsubscribe);
3861
+
3862
+ return signal;
3312
3863
  };
3313
3864
 
3314
3865
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (composeSignals);
@@ -3316,18 +3867,18 @@ const composeSignals = (signals, timeout) => {
3316
3867
 
3317
3868
  /***/ },
3318
3869
 
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
- \***********************************************************************************/
3870
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/cookies.js"
3871
+ /*!********************************************************************************************************!*\
3872
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/cookies.js ***!
3873
+ \********************************************************************************************************/
3323
3874
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3324
3875
 
3325
3876
  __webpack_require__.r(__webpack_exports__);
3326
3877
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3327
3878
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3328
3879
  /* 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");
3880
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
3881
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
3331
3882
 
3332
3883
 
3333
3884
 
@@ -3360,8 +3911,24 @@ __webpack_require__.r(__webpack_exports__);
3360
3911
 
3361
3912
  read(name) {
3362
3913
  if (typeof document === 'undefined') return null;
3363
- const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
3364
- return match ? decodeURIComponent(match[1]) : null;
3914
+ // Match name=value by splitting on the semicolon separator instead of building a
3915
+ // RegExp from `name` — interpolating an unescaped string into a RegExp would let
3916
+ // metacharacters (e.g. `.+?` in an attacker-influenced cookie name) cause ReDoS or
3917
+ // match the wrong cookie. Browsers may serialize cookie pairs as either ";" or
3918
+ // "; ", so ignore optional whitespace before each cookie name.
3919
+ const cookies = document.cookie.split(';');
3920
+ for (let i = 0; i < cookies.length; i++) {
3921
+ const cookie = cookies[i].replace(/^\s+/, '');
3922
+ const eq = cookie.indexOf('=');
3923
+ if (eq !== -1 && cookie.slice(0, eq) === name) {
3924
+ try {
3925
+ return decodeURIComponent(cookie.slice(eq + 1));
3926
+ } catch (e) {
3927
+ return cookie.slice(eq + 1);
3928
+ }
3929
+ }
3930
+ }
3931
+ return null;
3365
3932
  },
3366
3933
 
3367
3934
  remove(name) {
@@ -3380,20 +3947,154 @@ __webpack_require__.r(__webpack_exports__);
3380
3947
 
3381
3948
  /***/ },
3382
3949
 
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
- \******************************************************************************************/
3950
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js"
3951
+ /*!****************************************************************************************************************************!*\
3952
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js ***!
3953
+ \****************************************************************************************************************************/
3954
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3955
+
3956
+ __webpack_require__.r(__webpack_exports__);
3957
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3958
+ /* harmony export */ "default": () => (/* binding */ estimateDataURLDecodedBytes)
3959
+ /* harmony export */ });
3960
+ /**
3961
+ * Estimate decoded byte length of a data:// URL *without* allocating large buffers.
3962
+ * - For base64: compute exact decoded size using length and padding;
3963
+ * handle %XX at the character-count level (no string allocation).
3964
+ * - For non-base64: compute the exact percent-decoded UTF-8 byte length.
3965
+ *
3966
+ * @param {string} url
3967
+ * @returns {number}
3968
+ */
3969
+ const isHexDigit = (charCode) =>
3970
+ (charCode >= 48 && charCode <= 57) ||
3971
+ (charCode >= 65 && charCode <= 70) ||
3972
+ (charCode >= 97 && charCode <= 102);
3973
+
3974
+ const isPercentEncodedByte = (str, i, len) =>
3975
+ i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2));
3976
+
3977
+ function estimateDataURLDecodedBytes(url) {
3978
+ if (!url || typeof url !== 'string') return 0;
3979
+ if (!url.startsWith('data:')) return 0;
3980
+
3981
+ const comma = url.indexOf(',');
3982
+ if (comma < 0) return 0;
3983
+
3984
+ const meta = url.slice(5, comma);
3985
+ const body = url.slice(comma + 1);
3986
+ const isBase64 = /;base64/i.test(meta);
3987
+
3988
+ if (isBase64) {
3989
+ let effectiveLen = body.length;
3990
+ const len = body.length; // cache length
3991
+
3992
+ for (let i = 0; i < len; i++) {
3993
+ if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) {
3994
+ const a = body.charCodeAt(i + 1);
3995
+ const b = body.charCodeAt(i + 2);
3996
+ const isHex = isHexDigit(a) && isHexDigit(b);
3997
+
3998
+ if (isHex) {
3999
+ effectiveLen -= 2;
4000
+ i += 2;
4001
+ }
4002
+ }
4003
+ }
4004
+
4005
+ let pad = 0;
4006
+ let idx = len - 1;
4007
+
4008
+ const tailIsPct3D = (j) =>
4009
+ j >= 2 &&
4010
+ body.charCodeAt(j - 2) === 37 && // '%'
4011
+ body.charCodeAt(j - 1) === 51 && // '3'
4012
+ (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd'
4013
+
4014
+ if (idx >= 0) {
4015
+ if (body.charCodeAt(idx) === 61 /* '=' */) {
4016
+ pad++;
4017
+ idx--;
4018
+ } else if (tailIsPct3D(idx)) {
4019
+ pad++;
4020
+ idx -= 3;
4021
+ }
4022
+ }
4023
+
4024
+ if (pad === 1 && idx >= 0) {
4025
+ if (body.charCodeAt(idx) === 61 /* '=' */) {
4026
+ pad++;
4027
+ } else if (tailIsPct3D(idx)) {
4028
+ pad++;
4029
+ }
4030
+ }
4031
+
4032
+ const groups = Math.floor(effectiveLen / 4);
4033
+ const bytes = groups * 3 - (pad || 0);
4034
+ return bytes > 0 ? bytes : 0;
4035
+ }
4036
+
4037
+ // Compute UTF-8 byte length directly from UTF-16 code units without allocating
4038
+ // a byte buffer (TextEncoder.encode would defeat the DoS guard on large bodies).
4039
+ // Valid %XX triplets count as one decoded byte; this matches the bytes that
4040
+ // decodeURIComponent(body) would produce before Buffer re-encodes the string.
4041
+ let bytes = 0;
4042
+ for (let i = 0, len = body.length; i < len; i++) {
4043
+ const c = body.charCodeAt(i);
4044
+ if (c === 37 /* '%' */ && isPercentEncodedByte(body, i, len)) {
4045
+ bytes += 1;
4046
+ i += 2;
4047
+ } else if (c < 0x80) {
4048
+ bytes += 1;
4049
+ } else if (c < 0x800) {
4050
+ bytes += 2;
4051
+ } else if (c >= 0xd800 && c <= 0xdbff && i + 1 < len) {
4052
+ const next = body.charCodeAt(i + 1);
4053
+ if (next >= 0xdc00 && next <= 0xdfff) {
4054
+ bytes += 4;
4055
+ i++;
4056
+ } else {
4057
+ bytes += 3;
4058
+ }
4059
+ } else {
4060
+ bytes += 3;
4061
+ }
4062
+ }
4063
+ return bytes;
4064
+ }
4065
+
4066
+
4067
+ /***/ },
4068
+
4069
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToJSON.js"
4070
+ /*!***************************************************************************************************************!*\
4071
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToJSON.js ***!
4072
+ \***************************************************************************************************************/
3387
4073
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3388
4074
 
3389
4075
  __webpack_require__.r(__webpack_exports__);
3390
4076
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3391
4077
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3392
4078
  /* 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");
4079
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
4080
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
4081
+ /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toFormData.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js");
4082
+
4083
+
4084
+
3394
4085
 
3395
4086
 
3396
4087
 
4088
+ const MAX_DEPTH = _toFormData_js__WEBPACK_IMPORTED_MODULE_2__.DEFAULT_FORM_DATA_MAX_DEPTH;
4089
+
4090
+ function throwIfDepthExceeded(index) {
4091
+ if (index > MAX_DEPTH) {
4092
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](
4093
+ 'FormData field is too deeply nested (' + index + ' levels). Max depth: ' + MAX_DEPTH,
4094
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_FORM_DATA_DEPTH_EXCEEDED
4095
+ );
4096
+ }
4097
+ }
3397
4098
 
3398
4099
  /**
3399
4100
  * It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']
@@ -3407,9 +4108,16 @@ function parsePropPath(name) {
3407
4108
  // foo.x.y.z
3408
4109
  // foo-x-y-z
3409
4110
  // 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
- });
4111
+ const path = [];
4112
+ const pattern = /\w+|\[(\w*)]/g;
4113
+ let match;
4114
+
4115
+ while ((match = pattern.exec(name)) !== null) {
4116
+ throwIfDepthExceeded(path.length);
4117
+ path.push(match[0] === '[]' ? '' : match[1] || match[0]);
4118
+ }
4119
+
4120
+ return path;
3413
4121
  }
3414
4122
 
3415
4123
  /**
@@ -3441,6 +4149,8 @@ function arrayToObject(arr) {
3441
4149
  */
3442
4150
  function formDataToJSON(formData) {
3443
4151
  function buildPath(path, value, target, index) {
4152
+ throwIfDepthExceeded(index);
4153
+
3444
4154
  let name = path[index++];
3445
4155
 
3446
4156
  if (name === '__proto__') return true;
@@ -3451,7 +4161,9 @@ function formDataToJSON(formData) {
3451
4161
 
3452
4162
  if (isLast) {
3453
4163
  if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(target, name)) {
3454
- target[name] = [target[name], value];
4164
+ target[name] = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(target[name])
4165
+ ? target[name].concat(value)
4166
+ : [target[name], value];
3455
4167
  } else {
3456
4168
  target[name] = value;
3457
4169
  }
@@ -3459,7 +4171,7 @@ function formDataToJSON(formData) {
3459
4171
  return !isNumericKey;
3460
4172
  }
3461
4173
 
3462
- if (!target[name] || !_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(target[name])) {
4174
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasOwnProp(target, name) || !_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(target[name])) {
3463
4175
  target[name] = [];
3464
4176
  }
3465
4177
 
@@ -3490,10 +4202,10 @@ function formDataToJSON(formData) {
3490
4202
 
3491
4203
  /***/ },
3492
4204
 
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
- \*****************************************************************************************/
4205
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/isAbsoluteURL.js"
4206
+ /*!**************************************************************************************************************!*\
4207
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
4208
+ \**************************************************************************************************************/
3497
4209
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3498
4210
 
3499
4211
  __webpack_require__.r(__webpack_exports__);
@@ -3523,17 +4235,17 @@ function isAbsoluteURL(url) {
3523
4235
 
3524
4236
  /***/ },
3525
4237
 
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
- \****************************************************************************************/
4238
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/isAxiosError.js"
4239
+ /*!*************************************************************************************************************!*\
4240
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/isAxiosError.js ***!
4241
+ \*************************************************************************************************************/
3530
4242
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3531
4243
 
3532
4244
  __webpack_require__.r(__webpack_exports__);
3533
4245
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3534
4246
  /* harmony export */ "default": () => (/* binding */ isAxiosError)
3535
4247
  /* 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");
4248
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
3537
4249
 
3538
4250
 
3539
4251
 
@@ -3552,17 +4264,17 @@ function isAxiosError(payload) {
3552
4264
 
3553
4265
  /***/ },
3554
4266
 
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
- \*******************************************************************************************/
4267
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/isURLSameOrigin.js"
4268
+ /*!****************************************************************************************************************!*\
4269
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
4270
+ \****************************************************************************************************************/
3559
4271
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3560
4272
 
3561
4273
  __webpack_require__.r(__webpack_exports__);
3562
4274
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3563
4275
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3564
4276
  /* 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");
4277
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
3566
4278
 
3567
4279
 
3568
4280
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv
@@ -3583,10 +4295,10 @@ __webpack_require__.r(__webpack_exports__);
3583
4295
 
3584
4296
  /***/ },
3585
4297
 
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
- \********************************************************************************/
4298
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/null.js"
4299
+ /*!*****************************************************************************************************!*\
4300
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/null.js ***!
4301
+ \*****************************************************************************************************/
3590
4302
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3591
4303
 
3592
4304
  __webpack_require__.r(__webpack_exports__);
@@ -3599,17 +4311,17 @@ __webpack_require__.r(__webpack_exports__);
3599
4311
 
3600
4312
  /***/ },
3601
4313
 
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
- \****************************************************************************************/
4314
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/parseHeaders.js"
4315
+ /*!*************************************************************************************************************!*\
4316
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/parseHeaders.js ***!
4317
+ \*************************************************************************************************************/
3606
4318
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3607
4319
 
3608
4320
  __webpack_require__.r(__webpack_exports__);
3609
4321
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3610
4322
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3611
4323
  /* 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");
4324
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
3613
4325
 
3614
4326
 
3615
4327
 
@@ -3683,10 +4395,10 @@ const ignoreDuplicateOf = _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].toOb
3683
4395
 
3684
4396
  /***/ },
3685
4397
 
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
- \*****************************************************************************************/
4398
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/parseProtocol.js"
4399
+ /*!**************************************************************************************************************!*\
4400
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/parseProtocol.js ***!
4401
+ \**************************************************************************************************************/
3690
4402
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3691
4403
 
3692
4404
  __webpack_require__.r(__webpack_exports__);
@@ -3696,17 +4408,17 @@ __webpack_require__.r(__webpack_exports__);
3696
4408
 
3697
4409
 
3698
4410
  function parseProtocol(url) {
3699
- const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
4411
+ const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url);
3700
4412
  return (match && match[1]) || '';
3701
4413
  }
3702
4414
 
3703
4415
 
3704
4416
  /***/ },
3705
4417
 
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
- \************************************************************************************************/
4418
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/progressEventReducer.js"
4419
+ /*!*********************************************************************************************************************!*\
4420
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/progressEventReducer.js ***!
4421
+ \*********************************************************************************************************************/
3710
4422
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3711
4423
 
3712
4424
  __webpack_require__.r(__webpack_exports__);
@@ -3715,9 +4427,9 @@ __webpack_require__.r(__webpack_exports__);
3715
4427
  /* harmony export */ progressEventDecorator: () => (/* binding */ progressEventDecorator),
3716
4428
  /* harmony export */ progressEventReducer: () => (/* binding */ progressEventReducer)
3717
4429
  /* 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");
4430
+ /* harmony import */ var _speedometer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./speedometer.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/speedometer.js");
4431
+ /* harmony import */ var _throttle_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./throttle.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/throttle.js");
4432
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
3721
4433
 
3722
4434
 
3723
4435
 
@@ -3727,13 +4439,16 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
3727
4439
  const _speedometer = (0,_speedometer_js__WEBPACK_IMPORTED_MODULE_0__["default"])(50, 250);
3728
4440
 
3729
4441
  return (0,_throttle_js__WEBPACK_IMPORTED_MODULE_1__["default"])((e) => {
3730
- const loaded = e.loaded;
4442
+ if (!e || typeof e.loaded !== 'number') {
4443
+ return;
4444
+ }
4445
+ const rawLoaded = e.loaded;
3731
4446
  const total = e.lengthComputable ? e.total : undefined;
3732
- const progressBytes = loaded - bytesNotified;
4447
+ const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded;
4448
+ const progressBytes = Math.max(0, loaded - bytesNotified);
3733
4449
  const rate = _speedometer(progressBytes);
3734
- const inRange = loaded <= total;
3735
4450
 
3736
- bytesNotified = loaded;
4451
+ bytesNotified = Math.max(bytesNotified, loaded);
3737
4452
 
3738
4453
  const data = {
3739
4454
  loaded,
@@ -3741,7 +4456,7 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
3741
4456
  progress: total ? loaded / total : undefined,
3742
4457
  bytes: progressBytes,
3743
4458
  rate: rate ? rate : undefined,
3744
- estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
4459
+ estimated: rate && total ? (total - loaded) / rate : undefined,
3745
4460
  event: e,
3746
4461
  lengthComputable: total != null,
3747
4462
  [isDownloadStream ? 'download' : 'upload']: true,
@@ -3773,24 +4488,25 @@ const asyncDecorator =
3773
4488
 
3774
4489
  /***/ },
3775
4490
 
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
- \*****************************************************************************************/
4491
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/resolveConfig.js"
4492
+ /*!**************************************************************************************************************!*\
4493
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/resolveConfig.js ***!
4494
+ \**************************************************************************************************************/
3780
4495
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3781
4496
 
3782
4497
  __webpack_require__.r(__webpack_exports__);
3783
4498
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3784
4499
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3785
4500
  /* 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");
4501
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
4502
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
4503
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
4504
+ /* harmony import */ var _isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./isURLSameOrigin.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/isURLSameOrigin.js");
4505
+ /* harmony import */ var _cookies_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./cookies.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/cookies.js");
4506
+ /* harmony import */ var _core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../core/buildFullPath.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/buildFullPath.js");
4507
+ /* harmony import */ var _core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../core/mergeConfig.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js");
4508
+ /* harmony import */ var _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../core/AxiosHeaders.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js");
4509
+ /* harmony import */ var _buildURL_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./buildURL.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/buildURL.js");
3794
4510
 
3795
4511
 
3796
4512
 
@@ -3800,45 +4516,85 @@ __webpack_require__.r(__webpack_exports__);
3800
4516
 
3801
4517
 
3802
4518
 
3803
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((config) => {
3804
- const newConfig = (0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_5__["default"])({}, config);
3805
4519
 
3806
- let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
4520
+ const FORM_DATA_CONTENT_HEADERS = ['content-type', 'content-length'];
3807
4521
 
3808
- newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_6__["default"].from(headers);
4522
+ function setFormDataHeaders(headers, formHeaders, policy) {
4523
+ if (policy !== 'content-only') {
4524
+ headers.set(formHeaders);
4525
+ return;
4526
+ }
4527
+
4528
+ Object.entries(formHeaders || {}).forEach(([key, val]) => {
4529
+ if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {
4530
+ headers.set(key, val);
4531
+ }
4532
+ });
4533
+ }
4534
+
4535
+ /**
4536
+ * Encode a UTF-8 string to a Latin-1 byte string for use with btoa().
4537
+ * This is a modern replacement for the deprecated unescape(encodeURIComponent(str)) pattern.
4538
+ *
4539
+ * @param {string} str The string to encode
4540
+ *
4541
+ * @returns {string} UTF-8 bytes as a Latin-1 string
4542
+ */
4543
+ const encodeUTF8 = (str) =>
4544
+ encodeURIComponent(str).replace(/%([0-9A-F]{2})/gi, (_, hex) =>
4545
+ String.fromCharCode(parseInt(hex, 16))
4546
+ );
3809
4547
 
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
4548
+ function resolveConfig(config) {
4549
+ const newConfig = (0,_core_mergeConfig_js__WEBPACK_IMPORTED_MODULE_6__["default"])({}, config);
4550
+
4551
+ // Read only own properties to prevent prototype pollution gadgets
4552
+ // (e.g. Object.prototype.baseURL = 'https://evil.com').
4553
+ const own = (key) => (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].hasOwnProp(newConfig, key) ? newConfig[key] : undefined);
4554
+
4555
+ const data = own('data');
4556
+ let withXSRFToken = own('withXSRFToken');
4557
+ const xsrfHeaderName = own('xsrfHeaderName');
4558
+ const xsrfCookieName = own('xsrfCookieName');
4559
+ let headers = own('headers');
4560
+ const auth = own('auth');
4561
+ const baseURL = own('baseURL');
4562
+ const allowAbsoluteUrls = own('allowAbsoluteUrls');
4563
+ const url = own('url');
4564
+
4565
+ newConfig.headers = headers = _core_AxiosHeaders_js__WEBPACK_IMPORTED_MODULE_7__["default"].from(headers);
4566
+
4567
+ newConfig.url = (0,_buildURL_js__WEBPACK_IMPORTED_MODULE_8__["default"])(
4568
+ (0,_core_buildFullPath_js__WEBPACK_IMPORTED_MODULE_5__["default"])(baseURL, url, allowAbsoluteUrls, newConfig),
4569
+ own('params'),
4570
+ own('paramsSerializer')
3814
4571
  );
3815
4572
 
3816
4573
  // HTTP basic authentication
3817
4574
  if (auth) {
3818
- headers.set(
3819
- 'Authorization',
3820
- 'Basic ' +
3821
- btoa(
3822
- (auth.username || '') +
3823
- ':' +
3824
- (auth.password ? unescape(encodeURIComponent(auth.password)) : '')
3825
- )
3826
- );
4575
+ const username = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].getSafeProp(auth, 'username') || '';
4576
+ const password = _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].getSafeProp(auth, 'password') || '';
4577
+
4578
+ try {
4579
+ headers.set(
4580
+ 'Authorization',
4581
+ 'Basic ' + btoa(username + ':' + (password ? encodeUTF8(password) : ''))
4582
+ );
4583
+ } catch (e) {
4584
+ throw _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].from(e, _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_2__["default"].ERR_BAD_OPTION_VALUE, config);
4585
+ }
3827
4586
  }
3828
4587
 
3829
4588
  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
4589
+ if (
4590
+ _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv ||
4591
+ _platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserWebWorkerEnv ||
4592
+ _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isReactNative(data)
4593
+ ) {
4594
+ headers.setContentType(undefined); // browser/web worker/RN handles it
3832
4595
  } else if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFunction(data.getHeaders)) {
3833
4596
  // 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
- });
4597
+ setFormDataHeaders(headers, data.getHeaders(), own('formDataHeaderPolicy'));
3842
4598
  }
3843
4599
  }
3844
4600
 
@@ -3847,11 +4603,18 @@ __webpack_require__.r(__webpack_exports__);
3847
4603
  // Specifically not if we're in a web worker, or react-native.
3848
4604
 
3849
4605
  if (_platform_index_js__WEBPACK_IMPORTED_MODULE_0__["default"].hasStandardBrowserEnv) {
3850
- withXSRFToken && _utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));
4606
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_1__["default"].isFunction(withXSRFToken)) {
4607
+ withXSRFToken = withXSRFToken(newConfig);
4608
+ }
4609
+
4610
+ // Strict boolean check — prevents proto-pollution gadgets (e.g. Object.prototype.withXSRFToken = 1)
4611
+ // and misconfigurations (e.g. "false") from short-circuiting the same-origin check and leaking
4612
+ // the XSRF token cross-origin.
4613
+ const shouldSendXSRF =
4614
+ withXSRFToken === true || (withXSRFToken == null && (0,_isURLSameOrigin_js__WEBPACK_IMPORTED_MODULE_3__["default"])(newConfig.url));
3851
4615
 
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);
4616
+ if (shouldSendXSRF) {
4617
+ const xsrfValue = xsrfHeaderName && xsrfCookieName && _cookies_js__WEBPACK_IMPORTED_MODULE_4__["default"].read(xsrfCookieName);
3855
4618
 
3856
4619
  if (xsrfValue) {
3857
4620
  headers.set(xsrfHeaderName, xsrfValue);
@@ -3860,15 +4623,94 @@ __webpack_require__.r(__webpack_exports__);
3860
4623
  }
3861
4624
 
3862
4625
  return newConfig;
3863
- });
4626
+ }
4627
+
4628
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (resolveConfig);
4629
+
4630
+
4631
+ /***/ },
4632
+
4633
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js"
4634
+ /*!********************************************************************************************************************!*\
4635
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js ***!
4636
+ \********************************************************************************************************************/
4637
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4638
+
4639
+ __webpack_require__.r(__webpack_exports__);
4640
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4641
+ /* harmony export */ sanitizeByteStringHeaderValue: () => (/* binding */ sanitizeByteStringHeaderValue),
4642
+ /* harmony export */ sanitizeHeaderValue: () => (/* binding */ sanitizeHeaderValue),
4643
+ /* harmony export */ toByteStringHeaderObject: () => (/* binding */ toByteStringHeaderObject)
4644
+ /* harmony export */ });
4645
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
4646
+
4647
+
4648
+
4649
+
4650
+ function trimSPorHTAB(str) {
4651
+ let start = 0;
4652
+ let end = str.length;
4653
+
4654
+ while (start < end) {
4655
+ const code = str.charCodeAt(start);
4656
+
4657
+ if (code !== 0x09 && code !== 0x20) {
4658
+ break;
4659
+ }
4660
+
4661
+ start += 1;
4662
+ }
4663
+
4664
+ while (end > start) {
4665
+ const code = str.charCodeAt(end - 1);
4666
+
4667
+ if (code !== 0x09 && code !== 0x20) {
4668
+ break;
4669
+ }
4670
+
4671
+ end -= 1;
4672
+ }
4673
+
4674
+ return start === 0 && end === str.length ? str : str.slice(start, end);
4675
+ }
4676
+
4677
+ // The control-code ranges are intentional: header sanitization strips C0/DEL bytes.
4678
+ // eslint-disable-next-line no-control-regex
4679
+ const INVALID_UNICODE_HEADER_VALUE_CHARS = new RegExp('[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+', 'g');
4680
+ // eslint-disable-next-line no-control-regex
4681
+ const INVALID_BYTE_STRING_HEADER_VALUE_CHARS = new RegExp('[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+', 'g');
4682
+
4683
+ function sanitizeValue(value, invalidChars) {
4684
+ if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value)) {
4685
+ return value.map((item) => sanitizeValue(item, invalidChars));
4686
+ }
4687
+
4688
+ return trimSPorHTAB(String(value).replace(invalidChars, ''));
4689
+ }
4690
+
4691
+ const sanitizeHeaderValue = (value) =>
4692
+ sanitizeValue(value, INVALID_UNICODE_HEADER_VALUE_CHARS);
4693
+
4694
+ const sanitizeByteStringHeaderValue = (value) =>
4695
+ sanitizeValue(value, INVALID_BYTE_STRING_HEADER_VALUE_CHARS);
4696
+
4697
+ function toByteStringHeaderObject(headers) {
4698
+ const byteStringHeaders = Object.create(null);
4699
+
4700
+ _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].forEach(headers.toJSON(), (value, header) => {
4701
+ byteStringHeaders[header] = sanitizeByteStringHeaderValue(value);
4702
+ });
4703
+
4704
+ return byteStringHeaders;
4705
+ }
3864
4706
 
3865
4707
 
3866
4708
  /***/ },
3867
4709
 
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
- \***************************************************************************************/
4710
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/speedometer.js"
4711
+ /*!************************************************************************************************************!*\
4712
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/speedometer.js ***!
4713
+ \************************************************************************************************************/
3872
4714
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3873
4715
 
3874
4716
  __webpack_require__.r(__webpack_exports__);
@@ -3934,10 +4776,10 @@ function speedometer(samplesCount, min) {
3934
4776
 
3935
4777
  /***/ },
3936
4778
 
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
- \**********************************************************************************/
4779
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/spread.js"
4780
+ /*!*******************************************************************************************************!*\
4781
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/spread.js ***!
4782
+ \*******************************************************************************************************/
3941
4783
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3942
4784
 
3943
4785
  __webpack_require__.r(__webpack_exports__);
@@ -3976,10 +4818,10 @@ function spread(callback) {
3976
4818
 
3977
4819
  /***/ },
3978
4820
 
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
- \************************************************************************************/
4821
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/throttle.js"
4822
+ /*!*********************************************************************************************************!*\
4823
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/throttle.js ***!
4824
+ \*********************************************************************************************************/
3983
4825
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
3984
4826
 
3985
4827
  __webpack_require__.r(__webpack_exports__);
@@ -4034,19 +4876,20 @@ function throttle(fn, freq) {
4034
4876
 
4035
4877
  /***/ },
4036
4878
 
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
- \**************************************************************************************/
4879
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js"
4880
+ /*!***********************************************************************************************************!*\
4881
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js ***!
4882
+ \***********************************************************************************************************/
4041
4883
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4042
4884
 
4043
4885
  __webpack_require__.r(__webpack_exports__);
4044
4886
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4887
+ /* harmony export */ DEFAULT_FORM_DATA_MAX_DEPTH: () => (/* binding */ DEFAULT_FORM_DATA_MAX_DEPTH),
4045
4888
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4046
4889
  /* 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");
4890
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
4891
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
4892
+ /* harmony import */ var _platform_node_classes_FormData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../platform/node/classes/FormData.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/null.js");
4050
4893
 
4051
4894
 
4052
4895
 
@@ -4054,6 +4897,10 @@ __webpack_require__.r(__webpack_exports__);
4054
4897
  // temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored
4055
4898
 
4056
4899
 
4900
+ // Default nesting limit shared with the inverse transform (formDataToJSON) so
4901
+ // the FormData <-> JSON round-trip stays symmetric.
4902
+ const DEFAULT_FORM_DATA_MAX_DEPTH = 100;
4903
+
4057
4904
  /**
4058
4905
  * Determines if the given thing is a array or js object.
4059
4906
  *
@@ -4164,7 +5011,9 @@ function toFormData(obj, formData, options) {
4164
5011
  const dots = options.dots;
4165
5012
  const indexes = options.indexes;
4166
5013
  const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
5014
+ const maxDepth = options.maxDepth === undefined ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth;
4167
5015
  const useBlob = _Blob && _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isSpecCompliantForm(formData);
5016
+ const stack = [];
4168
5017
 
4169
5018
  if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isFunction(visitor)) {
4170
5019
  throw new TypeError('visitor must be a function');
@@ -4186,12 +5035,50 @@ function toFormData(obj, formData, options) {
4186
5035
  }
4187
5036
 
4188
5037
  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);
5038
+ if (useBlob && typeof _Blob === 'function') {
5039
+ return new _Blob([value]);
5040
+ }
5041
+ if (typeof Buffer !== 'undefined') {
5042
+ return Buffer.from(value);
5043
+ }
5044
+ 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
5045
  }
4191
5046
 
4192
5047
  return value;
4193
5048
  }
4194
5049
 
5050
+ function throwIfMaxDepthExceeded(depth) {
5051
+ if (depth > maxDepth) {
5052
+ throw new _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"](
5053
+ 'Object is too deeply nested (' + depth + ' levels). Max depth: ' + maxDepth,
5054
+ _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__["default"].ERR_FORM_DATA_DEPTH_EXCEEDED
5055
+ );
5056
+ }
5057
+ }
5058
+
5059
+ function stringifyWithDepthLimit(value, depth) {
5060
+ if (maxDepth === Infinity) {
5061
+ return JSON.stringify(value);
5062
+ }
5063
+
5064
+ const ancestors = [];
5065
+
5066
+ return JSON.stringify(value, function limitDepth(_key, currentValue) {
5067
+ if (!_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isObject(currentValue)) {
5068
+ return currentValue;
5069
+ }
5070
+
5071
+ while (ancestors.length && ancestors[ancestors.length - 1] !== this) {
5072
+ ancestors.pop();
5073
+ }
5074
+
5075
+ ancestors.push(currentValue);
5076
+ throwIfMaxDepthExceeded(depth + ancestors.length - 1);
5077
+
5078
+ return currentValue;
5079
+ });
5080
+ }
5081
+
4195
5082
  /**
4196
5083
  * Default visitor.
4197
5084
  *
@@ -4215,7 +5102,7 @@ function toFormData(obj, formData, options) {
4215
5102
  // eslint-disable-next-line no-param-reassign
4216
5103
  key = metaTokens ? key : key.slice(0, -2);
4217
5104
  // eslint-disable-next-line no-param-reassign
4218
- value = JSON.stringify(value);
5105
+ value = stringifyWithDepthLimit(value, 1);
4219
5106
  } else if (
4220
5107
  (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isArray(value) && isFlatArray(value)) ||
4221
5108
  ((_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 +5135,19 @@ function toFormData(obj, formData, options) {
4248
5135
  return false;
4249
5136
  }
4250
5137
 
4251
- const stack = [];
4252
-
4253
5138
  const exposedHelpers = Object.assign(predicates, {
4254
5139
  defaultVisitor,
4255
5140
  convertValue,
4256
5141
  isVisitable,
4257
5142
  });
4258
5143
 
4259
- function build(value, path) {
5144
+ function build(value, path, depth = 0) {
4260
5145
  if (_utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isUndefined(value)) return;
4261
5146
 
5147
+ throwIfMaxDepthExceeded(depth);
5148
+
4262
5149
  if (stack.indexOf(value) !== -1) {
4263
- throw Error('Circular reference detected in ' + path.join('.'));
5150
+ throw new Error('Circular reference detected in ' + path.join('.'));
4264
5151
  }
4265
5152
 
4266
5153
  stack.push(value);
@@ -4271,7 +5158,7 @@ function toFormData(obj, formData, options) {
4271
5158
  visitor.call(formData, el, _utils_js__WEBPACK_IMPORTED_MODULE_0__["default"].isString(key) ? key.trim() : key, path, exposedHelpers);
4272
5159
 
4273
5160
  if (result === true) {
4274
- build(el, path ? path.concat(key) : [key]);
5161
+ build(el, path ? path.concat(key) : [key], depth + 1);
4275
5162
  }
4276
5163
  });
4277
5164
 
@@ -4292,19 +5179,19 @@ function toFormData(obj, formData, options) {
4292
5179
 
4293
5180
  /***/ },
4294
5181
 
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
- \********************************************************************************************/
5182
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/toURLEncodedForm.js"
5183
+ /*!*****************************************************************************************************************!*\
5184
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/toURLEncodedForm.js ***!
5185
+ \*****************************************************************************************************************/
4299
5186
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4300
5187
 
4301
5188
  __webpack_require__.r(__webpack_exports__);
4302
5189
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4303
5190
  /* harmony export */ "default": () => (/* binding */ toURLEncodedForm)
4304
5191
  /* 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");
5192
+ /* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js");
5193
+ /* harmony import */ var _toFormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./toFormData.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js");
5194
+ /* harmony import */ var _platform_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../platform/index.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/index.js");
4308
5195
 
4309
5196
 
4310
5197
 
@@ -4328,10 +5215,10 @@ function toURLEncodedForm(data, options) {
4328
5215
 
4329
5216
  /***/ },
4330
5217
 
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
- \***************************************************************************************/
5218
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/trackStream.js"
5219
+ /*!************************************************************************************************************!*\
5220
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/trackStream.js ***!
5221
+ \************************************************************************************************************/
4335
5222
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4336
5223
 
4337
5224
  __webpack_require__.r(__webpack_exports__);
@@ -4433,18 +5320,18 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
4433
5320
 
4434
5321
  /***/ },
4435
5322
 
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
- \*************************************************************************************/
5323
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/validator.js"
5324
+ /*!**********************************************************************************************************!*\
5325
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/validator.js ***!
5326
+ \**********************************************************************************************************/
4440
5327
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4441
5328
 
4442
5329
  __webpack_require__.r(__webpack_exports__);
4443
5330
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4444
5331
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4445
5332
  /* 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");
5333
+ /* harmony import */ var _env_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../env/data.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/env/data.js");
5334
+ /* harmony import */ var _core_AxiosError_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../core/AxiosError.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js");
4448
5335
 
4449
5336
 
4450
5337
 
@@ -4526,14 +5413,16 @@ validators.spelling = function spelling(correctSpelling) {
4526
5413
  */
4527
5414
 
4528
5415
  function assertOptions(options, schema, allowUnknown) {
4529
- if (typeof options !== 'object') {
5416
+ if (typeof options !== 'object' || options === null) {
4530
5417
  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
5418
  }
4532
5419
  const keys = Object.keys(options);
4533
5420
  let i = keys.length;
4534
5421
  while (i-- > 0) {
4535
5422
  const opt = keys[i];
4536
- const validator = schema[opt];
5423
+ // Use hasOwnProperty so a polluted Object.prototype.<opt> cannot supply
5424
+ // a non-function validator and cause a TypeError.
5425
+ const validator = Object.prototype.hasOwnProperty.call(schema, opt) ? schema[opt] : undefined;
4537
5426
  if (validator) {
4538
5427
  const value = options[opt];
4539
5428
  const result = value === undefined || validator(value, opt, options);
@@ -4559,10 +5448,10 @@ function assertOptions(options, schema, allowUnknown) {
4559
5448
 
4560
5449
  /***/ },
4561
5450
 
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
- \*************************************************************************************************/
5451
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/Blob.js"
5452
+ /*!**********************************************************************************************************************!*\
5453
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/Blob.js ***!
5454
+ \**********************************************************************************************************************/
4566
5455
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4567
5456
 
4568
5457
  __webpack_require__.r(__webpack_exports__);
@@ -4576,10 +5465,10 @@ __webpack_require__.r(__webpack_exports__);
4576
5465
 
4577
5466
  /***/ },
4578
5467
 
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
- \*****************************************************************************************************/
5468
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/FormData.js"
5469
+ /*!**************************************************************************************************************************!*\
5470
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/FormData.js ***!
5471
+ \**************************************************************************************************************************/
4583
5472
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4584
5473
 
4585
5474
  __webpack_require__.r(__webpack_exports__);
@@ -4593,17 +5482,17 @@ __webpack_require__.r(__webpack_exports__);
4593
5482
 
4594
5483
  /***/ },
4595
5484
 
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
- \************************************************************************************************************/
5485
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js"
5486
+ /*!*********************************************************************************************************************************!*\
5487
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js ***!
5488
+ \*********************************************************************************************************************************/
4600
5489
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4601
5490
 
4602
5491
  __webpack_require__.r(__webpack_exports__);
4603
5492
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4604
5493
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4605
5494
  /* 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");
5495
+ /* harmony import */ var _helpers_AxiosURLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../helpers/AxiosURLSearchParams.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js");
4607
5496
 
4608
5497
 
4609
5498
 
@@ -4612,19 +5501,19 @@ __webpack_require__.r(__webpack_exports__);
4612
5501
 
4613
5502
  /***/ },
4614
5503
 
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
- \******************************************************************************************/
5504
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/browser/index.js"
5505
+ /*!***************************************************************************************************************!*\
5506
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/browser/index.js ***!
5507
+ \***************************************************************************************************************/
4619
5508
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4620
5509
 
4621
5510
  __webpack_require__.r(__webpack_exports__);
4622
5511
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4623
5512
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4624
5513
  /* 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");
5514
+ /* harmony import */ var _classes_URLSearchParams_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./classes/URLSearchParams.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js");
5515
+ /* harmony import */ var _classes_FormData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./classes/FormData.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/FormData.js");
5516
+ /* harmony import */ var _classes_Blob_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./classes/Blob.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/browser/classes/Blob.js");
4628
5517
 
4629
5518
 
4630
5519
 
@@ -4642,10 +5531,10 @@ __webpack_require__.r(__webpack_exports__);
4642
5531
 
4643
5532
  /***/ },
4644
5533
 
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
- \*****************************************************************************************/
5534
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/common/utils.js"
5535
+ /*!**************************************************************************************************************!*\
5536
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/common/utils.js ***!
5537
+ \**************************************************************************************************************/
4649
5538
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4650
5539
 
4651
5540
  __webpack_require__.r(__webpack_exports__);
@@ -4706,18 +5595,18 @@ const origin = (hasBrowserEnv && window.location.href) || 'http://localhost';
4706
5595
 
4707
5596
  /***/ },
4708
5597
 
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
- \**********************************************************************************/
5598
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/index.js"
5599
+ /*!*******************************************************************************************************!*\
5600
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/index.js ***!
5601
+ \*******************************************************************************************************/
4713
5602
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4714
5603
 
4715
5604
  __webpack_require__.r(__webpack_exports__);
4716
5605
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4717
5606
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4718
5607
  /* 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");
5608
+ /* harmony import */ var _node_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node/index.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/browser/index.js");
5609
+ /* harmony import */ var _common_utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./common/utils.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/platform/common/utils.js");
4721
5610
 
4722
5611
 
4723
5612
 
@@ -4729,17 +5618,17 @@ __webpack_require__.r(__webpack_exports__);
4729
5618
 
4730
5619
  /***/ },
4731
5620
 
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
- \*************************************************************************/
5621
+ /***/ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js"
5622
+ /*!**********************************************************************************************!*\
5623
+ !*** ./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/utils.js ***!
5624
+ \**********************************************************************************************/
4736
5625
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
4737
5626
 
4738
5627
  __webpack_require__.r(__webpack_exports__);
4739
5628
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4740
5629
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4741
5630
  /* 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");
5631
+ /* harmony import */ var _helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helpers/bind.js */ "./node_modules/.pnpm/axios@1.18.1_supports-color@8.1.1/node_modules/axios/lib/helpers/bind.js");
4743
5632
 
4744
5633
 
4745
5634
 
@@ -4750,6 +5639,57 @@ const { toString } = Object.prototype;
4750
5639
  const { getPrototypeOf } = Object;
4751
5640
  const { iterator, toStringTag } = Symbol;
4752
5641
 
5642
+ /* Creating a function that will check if an object has a property. */
5643
+ const hasOwnProperty = (
5644
+ ({ hasOwnProperty }) =>
5645
+ (obj, prop) =>
5646
+ hasOwnProperty.call(obj, prop)
5647
+ )(Object.prototype);
5648
+
5649
+ /**
5650
+ * Walk the prototype chain (excluding the shared Object.prototype) looking for
5651
+ * an own `prop`. This distinguishes genuine own/inherited members — including
5652
+ * class accessors and template prototypes — from members injected via
5653
+ * Object.prototype pollution (e.g. `Object.prototype.username = '...'`), which
5654
+ * live on Object.prototype itself and are therefore never matched.
5655
+ *
5656
+ * @param {*} thing The value whose chain to inspect
5657
+ * @param {string|symbol} prop The property key to look for
5658
+ *
5659
+ * @returns {boolean} True when `prop` is owned below Object.prototype
5660
+ */
5661
+ const hasOwnInPrototypeChain = (thing, prop) => {
5662
+ let obj = thing;
5663
+ const seen = [];
5664
+
5665
+ while (obj != null && obj !== Object.prototype) {
5666
+ if (seen.indexOf(obj) !== -1) {
5667
+ return false;
5668
+ }
5669
+ seen.push(obj);
5670
+
5671
+ if (hasOwnProperty(obj, prop)) {
5672
+ return true;
5673
+ }
5674
+ obj = getPrototypeOf(obj);
5675
+ }
5676
+ return false;
5677
+ };
5678
+
5679
+ /**
5680
+ * Read `obj[prop]` only when it is safe from Object.prototype pollution. Own
5681
+ * properties and members inherited from a non-Object.prototype source (a class
5682
+ * instance or template object) are honored; a value reachable only through a
5683
+ * polluted Object.prototype is ignored and `undefined` is returned.
5684
+ *
5685
+ * @param {*} obj The source object
5686
+ * @param {string|symbol} prop The property key to read
5687
+ *
5688
+ * @returns {*} The resolved value, or undefined when unsafe/absent
5689
+ */
5690
+ const getSafeProp = (obj, prop) =>
5691
+ obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : undefined;
5692
+
4753
5693
  const kindOf = ((cache) => (thing) => {
4754
5694
  const str = toString.call(thing);
4755
5695
  return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
@@ -4875,7 +5815,7 @@ const isBoolean = (thing) => thing === true || thing === false;
4875
5815
  * @returns {boolean} True if value is a plain Object, otherwise false
4876
5816
  */
4877
5817
  const isPlainObject = (val) => {
4878
- if (kindOf(val) !== 'object') {
5818
+ if (!isObject(val)) {
4879
5819
  return false;
4880
5820
  }
4881
5821
 
@@ -4883,9 +5823,12 @@ const isPlainObject = (val) => {
4883
5823
  return (
4884
5824
  (prototype === null ||
4885
5825
  prototype === Object.prototype ||
4886
- Object.getPrototypeOf(prototype) === null) &&
4887
- !(toStringTag in val) &&
4888
- !(iterator in val)
5826
+ getPrototypeOf(prototype) === null) &&
5827
+ // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or
5828
+ // Symbol.iterator as evidence the value is a tagged/iterable type rather
5829
+ // than a plain object, while ignoring keys injected onto Object.prototype.
5830
+ !hasOwnInPrototypeChain(val, toStringTag) &&
5831
+ !hasOwnInPrototypeChain(val, iterator)
4889
5832
  );
4890
5833
  };
4891
5834
 
@@ -4934,21 +5877,21 @@ const isFile = kindOfTest('File');
4934
5877
  * also have a `name` and `type` attribute to specify filename and content type
4935
5878
  *
4936
5879
  * @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
4937
- *
5880
+ *
4938
5881
  * @param {*} value The value to test
4939
- *
5882
+ *
4940
5883
  * @returns {boolean} True if value is a React Native Blob, otherwise false
4941
5884
  */
4942
5885
  const isReactNativeBlob = (value) => {
4943
5886
  return !!(value && typeof value.uri !== 'undefined');
4944
- }
5887
+ };
4945
5888
 
4946
5889
  /**
4947
5890
  * Determine if environment is React Native
4948
5891
  * ReactNative `FormData` has a non-standard `getParts()` method
4949
- *
5892
+ *
4950
5893
  * @param {*} formData The formData to test
4951
- *
5894
+ *
4952
5895
  * @returns {boolean} True if environment is React Native, otherwise false
4953
5896
  */
4954
5897
  const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';
@@ -4967,7 +5910,7 @@ const isBlob = kindOfTest('Blob');
4967
5910
  *
4968
5911
  * @param {*} val The value to test
4969
5912
  *
4970
- * @returns {boolean} True if value is a File, otherwise false
5913
+ * @returns {boolean} True if value is a FileList, otherwise false
4971
5914
  */
4972
5915
  const isFileList = kindOfTest('FileList');
4973
5916
 
@@ -4999,15 +5942,17 @@ const G = getGlobal();
4999
5942
  const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
5000
5943
 
5001
5944
  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
- )
5945
+ if (!thing) return false;
5946
+ if (FormDataCtor && thing instanceof FormDataCtor) return true;
5947
+ // Reject plain objects inheriting directly from Object.prototype so prototype-pollution gadgets can't spoof FormData.
5948
+ const proto = getPrototypeOf(thing);
5949
+ if (!proto || proto === Object.prototype) return false;
5950
+ if (!isFunction(thing.append)) return false;
5951
+ const kind = kindOf(thing);
5952
+ return (
5953
+ kind === 'formdata' ||
5954
+ // detect form-data instance
5955
+ (kind === 'object' && isFunction(thing.toString) && thing.toString() === '[object FormData]')
5011
5956
  );
5012
5957
  };
5013
5958
 
@@ -5143,7 +6088,7 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
5143
6088
  *
5144
6089
  * @returns {Object} Result of all merge properties
5145
6090
  */
5146
- function merge(/* obj1, obj2, obj3, ... */) {
6091
+ function merge(...objs) {
5147
6092
  const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};
5148
6093
  const result = {};
5149
6094
  const assignValue = (val, key) => {
@@ -5152,9 +6097,15 @@ function merge(/* obj1, obj2, obj3, ... */) {
5152
6097
  return;
5153
6098
  }
5154
6099
 
5155
- const targetKey = (caseless && findKey(result, key)) || key;
5156
- if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
5157
- result[targetKey] = merge(result[targetKey], val);
6100
+ // findKey lowercases the key, so caseless lookup only applies to strings —
6101
+ // symbol keys are identity-matched.
6102
+ const targetKey = (caseless && typeof key === 'string' && findKey(result, key)) || key;
6103
+ // Read via own-prop only — a bare `result[targetKey]` walks the prototype
6104
+ // chain, so a polluted Object.prototype value could surface here and get
6105
+ // copied into the merged result.
6106
+ const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : undefined;
6107
+ if (isPlainObject(existing) && isPlainObject(val)) {
6108
+ result[targetKey] = merge(existing, val);
5158
6109
  } else if (isPlainObject(val)) {
5159
6110
  result[targetKey] = merge({}, val);
5160
6111
  } else if (isArray(val)) {
@@ -5164,8 +6115,25 @@ function merge(/* obj1, obj2, obj3, ... */) {
5164
6115
  }
5165
6116
  };
5166
6117
 
5167
- for (let i = 0, l = arguments.length; i < l; i++) {
5168
- arguments[i] && forEach(arguments[i], assignValue);
6118
+ for (let i = 0, l = objs.length; i < l; i++) {
6119
+ const source = objs[i];
6120
+ if (!source || isBuffer(source)) {
6121
+ continue;
6122
+ }
6123
+
6124
+ forEach(source, assignValue);
6125
+
6126
+ if (typeof source !== 'object' || isArray(source)) {
6127
+ continue;
6128
+ }
6129
+
6130
+ const symbols = Object.getOwnPropertySymbols(source);
6131
+ for (let j = 0; j < symbols.length; j++) {
6132
+ const symbol = symbols[j];
6133
+ if (propertyIsEnumerable.call(source, symbol)) {
6134
+ assignValue(source[symbol], symbol);
6135
+ }
6136
+ }
5169
6137
  }
5170
6138
  return result;
5171
6139
  }
@@ -5187,6 +6155,9 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
5187
6155
  (val, key) => {
5188
6156
  if (thisArg && isFunction(val)) {
5189
6157
  Object.defineProperty(a, key, {
6158
+ // Null-proto descriptor so a polluted Object.prototype.get cannot
6159
+ // hijack defineProperty's accessor-vs-data resolution.
6160
+ __proto__: null,
5190
6161
  value: (0,_helpers_bind_js__WEBPACK_IMPORTED_MODULE_0__["default"])(val, thisArg),
5191
6162
  writable: true,
5192
6163
  enumerable: true,
@@ -5194,6 +6165,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
5194
6165
  });
5195
6166
  } else {
5196
6167
  Object.defineProperty(a, key, {
6168
+ __proto__: null,
5197
6169
  value: val,
5198
6170
  writable: true,
5199
6171
  enumerable: true,
@@ -5232,12 +6204,14 @@ const stripBOM = (content) => {
5232
6204
  const inherits = (constructor, superConstructor, props, descriptors) => {
5233
6205
  constructor.prototype = Object.create(superConstructor.prototype, descriptors);
5234
6206
  Object.defineProperty(constructor.prototype, 'constructor', {
6207
+ __proto__: null,
5235
6208
  value: constructor,
5236
6209
  writable: true,
5237
6210
  enumerable: false,
5238
6211
  configurable: true,
5239
6212
  });
5240
6213
  Object.defineProperty(constructor, 'super', {
6214
+ __proto__: null,
5241
6215
  value: superConstructor.prototype,
5242
6216
  });
5243
6217
  props && Object.assign(constructor.prototype, props);
@@ -5381,12 +6355,7 @@ const toCamelCase = (str) => {
5381
6355
  });
5382
6356
  };
5383
6357
 
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);
6358
+ const { propertyIsEnumerable } = Object.prototype;
5390
6359
 
5391
6360
  /**
5392
6361
  * Determine if a value is a RegExp object
@@ -5419,7 +6388,7 @@ const reduceDescriptors = (obj, reducer) => {
5419
6388
  const freezeMethods = (obj) => {
5420
6389
  reduceDescriptors(obj, (descriptor, name) => {
5421
6390
  // skip restricted props in strict mode
5422
- if (isFunction(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
6391
+ if (isFunction(obj) && ['arguments', 'caller', 'callee'].includes(name)) {
5423
6392
  return false;
5424
6393
  }
5425
6394
 
@@ -5493,11 +6462,11 @@ function isSpecCompliantForm(thing) {
5493
6462
  * @returns {Object} The JSON-compatible object.
5494
6463
  */
5495
6464
  const toJSONObject = (obj) => {
5496
- const stack = new Array(10);
6465
+ const visited = new WeakSet();
5497
6466
 
5498
- const visit = (source, i) => {
6467
+ const visit = (source) => {
5499
6468
  if (isObject(source)) {
5500
- if (stack.indexOf(source) >= 0) {
6469
+ if (visited.has(source)) {
5501
6470
  return;
5502
6471
  }
5503
6472
 
@@ -5507,15 +6476,16 @@ const toJSONObject = (obj) => {
5507
6476
  }
5508
6477
 
5509
6478
  if (!('toJSON' in source)) {
5510
- stack[i] = source;
6479
+ // add-on descent / delete-on-ascent: preserves path semantics, so DAG nodes serialise at every occurrence (see #7230).
6480
+ visited.add(source);
5511
6481
  const target = isArray(source) ? [] : {};
5512
6482
 
5513
6483
  forEach(source, (value, key) => {
5514
- const reducedValue = visit(value, i + 1);
6484
+ const reducedValue = visit(value);
5515
6485
  !isUndefined(reducedValue) && (target[key] = reducedValue);
5516
6486
  });
5517
6487
 
5518
- stack[i] = undefined;
6488
+ visited.delete(source);
5519
6489
 
5520
6490
  return target;
5521
6491
  }
@@ -5524,7 +6494,7 @@ const toJSONObject = (obj) => {
5524
6494
  return source;
5525
6495
  };
5526
6496
 
5527
- return visit(obj, 0);
6497
+ return visit(obj);
5528
6498
  };
5529
6499
 
5530
6500
  /**
@@ -5598,6 +6568,20 @@ const asap =
5598
6568
 
5599
6569
  const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5600
6570
 
6571
+ /**
6572
+ * Determine if a value is iterable via an iterator that is NOT sourced solely
6573
+ * from a polluted Object.prototype. Use this instead of `isIterable` whenever
6574
+ * the iterable comes from untrusted input (e.g. user-supplied header sources),
6575
+ * so `Object.prototype[Symbol.iterator] = ...` cannot turn an ordinary object
6576
+ * into an attacker-controlled entries iterator.
6577
+ *
6578
+ * @param {*} thing The value to test
6579
+ *
6580
+ * @returns {boolean} True if value has a non-polluted iterator
6581
+ */
6582
+ const isSafeIterable = (thing) =>
6583
+ thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing);
6584
+
5601
6585
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
5602
6586
  isArray,
5603
6587
  isArrayBuffer,
@@ -5642,6 +6626,8 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5642
6626
  isHTMLForm,
5643
6627
  hasOwnProperty,
5644
6628
  hasOwnProp: hasOwnProperty, // an alias to avoid ESLint no-prototype-builtins detection
6629
+ hasOwnInPrototypeChain,
6630
+ getSafeProp,
5645
6631
  reduceDescriptors,
5646
6632
  freezeMethods,
5647
6633
  toObjectSet,
@@ -5658,6 +6644,7 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5658
6644
  setImmediate: _setImmediate,
5659
6645
  asap,
5660
6646
  isIterable,
6647
+ isSafeIterable,
5661
6648
  });
5662
6649
 
5663
6650
 
@@ -5666,17 +6653,17 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5666
6653
  /******/ });
5667
6654
  /************************************************************************/
5668
6655
  /******/ // The module cache
5669
- /******/ var __webpack_module_cache__ = {};
6656
+ /******/ const __webpack_module_cache__ = {};
5670
6657
  /******/
5671
6658
  /******/ // The require function
5672
6659
  /******/ function __webpack_require__(moduleId) {
5673
6660
  /******/ // Check if module is in cache
5674
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
6661
+ /******/ const cachedModule = __webpack_module_cache__[moduleId];
5675
6662
  /******/ if (cachedModule !== undefined) {
5676
6663
  /******/ return cachedModule.exports;
5677
6664
  /******/ }
5678
6665
  /******/ // Create a new module (and put it into the cache)
5679
- /******/ var module = __webpack_module_cache__[moduleId] = {
6666
+ /******/ const module = __webpack_module_cache__[moduleId] = {
5680
6667
  /******/ // no module.id needed
5681
6668
  /******/ // no module.loaded needed
5682
6669
  /******/ exports: {}
@@ -5685,7 +6672,7 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5685
6672
  /******/ // Execute the module function
5686
6673
  /******/ if (!(moduleId in __webpack_modules__)) {
5687
6674
  /******/ delete __webpack_module_cache__[moduleId];
5688
- /******/ var e = new Error("Cannot find module '" + moduleId + "'");
6675
+ /******/ const e = new Error("Cannot find module '" + moduleId + "'");
5689
6676
  /******/ e.code = 'MODULE_NOT_FOUND';
5690
6677
  /******/ throw e;
5691
6678
  /******/ }
@@ -5698,11 +6685,26 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5698
6685
  /************************************************************************/
5699
6686
  /******/ /* webpack/runtime/define property getters */
5700
6687
  /******/ (() => {
5701
- /******/ // define getter functions for harmony exports
6688
+ /******/ // define getter/value functions for harmony exports
5702
6689
  /******/ __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] });
6690
+ /******/ if(Array.isArray(definition)) {
6691
+ /******/ var i = 0;
6692
+ /******/ while(i < definition.length) {
6693
+ /******/ var key = definition[i++];
6694
+ /******/ var binding = definition[i++];
6695
+ /******/ if(!__webpack_require__.o(exports, key)) {
6696
+ /******/ if(binding === 0) {
6697
+ /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
6698
+ /******/ } else {
6699
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
6700
+ /******/ }
6701
+ /******/ } else if(binding === 0) { i++; }
6702
+ /******/ }
6703
+ /******/ } else {
6704
+ /******/ for(var key in definition) {
6705
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
6706
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
6707
+ /******/ }
5706
6708
  /******/ }
5707
6709
  /******/ }
5708
6710
  /******/ };
@@ -5729,7 +6731,7 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5729
6731
  /******/ (() => {
5730
6732
  /******/ // define __esModule on exports
5731
6733
  /******/ __webpack_require__.r = (exports) => {
5732
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
6734
+ /******/ if(Symbol.toStringTag) {
5733
6735
  /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5734
6736
  /******/ }
5735
6737
  /******/ Object.defineProperty(exports, '__esModule', { value: true });
@@ -5737,7 +6739,7 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
5737
6739
  /******/ })();
5738
6740
  /******/
5739
6741
  /************************************************************************/
5740
- var __webpack_exports__ = {};
6742
+ let __webpack_exports__ = {};
5741
6743
  // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
5742
6744
  (() => {
5743
6745
  /*!**************************!*\