@modern-js/upgrade 2.68.12 → 2.68.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +574 -409
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -3520,9 +3520,9 @@ var require_lodash = __commonJS({
3520
3520
  function hasUnicodeWord(string) {
3521
3521
  return reHasUnicodeWord.test(string);
3522
3522
  }
3523
- function iteratorToArray(iterator) {
3523
+ function iteratorToArray(iterator2) {
3524
3524
  var data, result = [];
3525
- while (!(data = iterator.next()).done) {
3525
+ while (!(data = iterator2.next()).done) {
3526
3526
  result.push(data.value);
3527
3527
  }
3528
3528
  return result;
@@ -4246,7 +4246,7 @@ var require_lodash = __commonJS({
4246
4246
  }
4247
4247
  function baseFunctions(object, props) {
4248
4248
  return arrayFilter(props, function(key) {
4249
- return isFunction2(object[key]);
4249
+ return isFunction3(object[key]);
4250
4250
  });
4251
4251
  }
4252
4252
  function baseGet(object, path9) {
@@ -4409,7 +4409,7 @@ var require_lodash = __commonJS({
4409
4409
  if (!isObject3(value) || isMasked(value)) {
4410
4410
  return false;
4411
4411
  }
4412
- var pattern = isFunction2(value) ? reIsNative : reIsHostCtor;
4412
+ var pattern = isFunction3(value) ? reIsNative : reIsHostCtor;
4413
4413
  return pattern.test(toSource(value));
4414
4414
  }
4415
4415
  function baseIsRegExp(value) {
@@ -4531,7 +4531,7 @@ var require_lodash = __commonJS({
4531
4531
  newValue = objValue;
4532
4532
  if (isArguments(objValue)) {
4533
4533
  newValue = toPlainObject(objValue);
4534
- } else if (!isObject3(objValue) || isFunction2(objValue)) {
4534
+ } else if (!isObject3(objValue) || isFunction3(objValue)) {
4535
4535
  newValue = initCloneObject(srcValue);
4536
4536
  }
4537
4537
  } else {
@@ -5855,7 +5855,7 @@ var require_lodash = __commonJS({
5855
5855
  function isMasked(func) {
5856
5856
  return !!maskSrcKey && maskSrcKey in func;
5857
5857
  }
5858
- var isMaskable = coreJsData ? isFunction2 : stubFalse;
5858
+ var isMaskable = coreJsData ? isFunction3 : stubFalse;
5859
5859
  function isPrototype(value) {
5860
5860
  var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
5861
5861
  return value === proto;
@@ -6968,7 +6968,7 @@ var require_lodash = __commonJS({
6968
6968
  var isArray2 = Array2.isArray;
6969
6969
  var isArrayBuffer2 = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;
6970
6970
  function isArrayLike(value) {
6971
- return value != null && isLength(value.length) && !isFunction2(value);
6971
+ return value != null && isLength(value.length) && !isFunction3(value);
6972
6972
  }
6973
6973
  function isArrayLikeObject(value) {
6974
6974
  return isObjectLike(value) && isArrayLike(value);
@@ -7020,7 +7020,7 @@ var require_lodash = __commonJS({
7020
7020
  function isFinite2(value) {
7021
7021
  return typeof value == "number" && nativeIsFinite(value);
7022
7022
  }
7023
- function isFunction2(value) {
7023
+ function isFunction3(value) {
7024
7024
  if (!isObject3(value)) {
7025
7025
  return false;
7026
7026
  }
@@ -7343,7 +7343,7 @@ var require_lodash = __commonJS({
7343
7343
  index = length;
7344
7344
  value = defaultValue;
7345
7345
  }
7346
- object = isFunction2(value) ? value.call(object) : value;
7346
+ object = isFunction3(value) ? value.call(object) : value;
7347
7347
  }
7348
7348
  return object;
7349
7349
  }
@@ -7364,7 +7364,7 @@ var require_lodash = __commonJS({
7364
7364
  if (isArrLike) {
7365
7365
  accumulator = isArr ? new Ctor() : [];
7366
7366
  } else if (isObject3(object)) {
7367
- accumulator = isFunction2(Ctor) ? baseCreate(getPrototype(object)) : {};
7367
+ accumulator = isFunction3(Ctor) ? baseCreate(getPrototype(object)) : {};
7368
7368
  } else {
7369
7369
  accumulator = {};
7370
7370
  }
@@ -7784,7 +7784,7 @@ var require_lodash = __commonJS({
7784
7784
  object = this;
7785
7785
  methodNames = baseFunctions(source, keys(source));
7786
7786
  }
7787
- var chain2 = !(isObject3(options) && "chain" in options) || !!options.chain, isFunc = isFunction2(object);
7787
+ var chain2 = !(isObject3(options) && "chain" in options) || !!options.chain, isFunc = isFunction3(object);
7788
7788
  arrayEach(methodNames, function(methodName) {
7789
7789
  var func = source[methodName];
7790
7790
  object[methodName] = func;
@@ -8119,7 +8119,7 @@ var require_lodash = __commonJS({
8119
8119
  lodash.isEqualWith = isEqualWith;
8120
8120
  lodash.isError = isError;
8121
8121
  lodash.isFinite = isFinite2;
8122
- lodash.isFunction = isFunction2;
8122
+ lodash.isFunction = isFunction3;
8123
8123
  lodash.isInteger = isInteger;
8124
8124
  lodash.isLength = isLength;
8125
8125
  lodash.isMap = isMap;
@@ -20527,19 +20527,19 @@ var init_semver = __esm({
20527
20527
  }
20528
20528
  });
20529
20529
 
20530
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
20530
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
20531
20531
  function bind(fn, thisArg) {
20532
20532
  return function wrap() {
20533
20533
  return fn.apply(thisArg, arguments);
20534
20534
  };
20535
20535
  }
20536
20536
  var init_bind = __esm({
20537
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/bind.js"() {
20537
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/bind.js"() {
20538
20538
  "use strict";
20539
20539
  }
20540
20540
  });
20541
20541
 
20542
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/utils.js
20542
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/utils.js
20543
20543
  function isBuffer(val) {
20544
20544
  return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
20545
20545
  }
@@ -20566,6 +20566,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
20566
20566
  fn.call(null, obj[i], i, obj);
20567
20567
  }
20568
20568
  } else {
20569
+ if (isBuffer(obj)) {
20570
+ return;
20571
+ }
20569
20572
  const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
20570
20573
  const len = keys.length;
20571
20574
  let key;
@@ -20576,6 +20579,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
20576
20579
  }
20577
20580
  }
20578
20581
  function findKey(obj, key) {
20582
+ if (isBuffer(obj)) {
20583
+ return null;
20584
+ }
20579
20585
  key = key.toLowerCase();
20580
20586
  const keys = Object.keys(obj);
20581
20587
  let i = keys.length;
@@ -20589,7 +20595,7 @@ function findKey(obj, key) {
20589
20595
  return null;
20590
20596
  }
20591
20597
  function merge() {
20592
- const { caseless } = isContextDefined(this) && this || {};
20598
+ const { caseless, skipUndefined } = isContextDefined(this) && this || {};
20593
20599
  const result = {};
20594
20600
  const assignValue = (val, key) => {
20595
20601
  const targetKey = caseless && findKey(result, key) || key;
@@ -20600,7 +20606,9 @@ function merge() {
20600
20606
  } else if (isArray(val)) {
20601
20607
  result[targetKey] = val.slice();
20602
20608
  } else {
20603
- result[targetKey] = val;
20609
+ if (!skipUndefined || !isUndefined(val)) {
20610
+ result[targetKey] = val;
20611
+ }
20604
20612
  }
20605
20613
  };
20606
20614
  for (let i = 0, l = arguments.length; i < l; i++) {
@@ -20609,15 +20617,16 @@ function merge() {
20609
20617
  return result;
20610
20618
  }
20611
20619
  function isSpecCompliantForm(thing) {
20612
- return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === "FormData" && thing[Symbol.iterator]);
20620
+ return !!(thing && isFunction(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
20613
20621
  }
20614
- var toString, getPrototypeOf, kindOf, kindOfTest, typeOfTest, isArray, isUndefined, isArrayBuffer, isString2, isFunction, isNumber, isObject2, isBoolean, isPlainObject, isDate, isFile, isBlob, isFileList, isStream, isFormData, isURLSearchParams, isReadableStream, isRequest, isResponse, isHeaders, trim, _global, isContextDefined, extend, stripBOM, inherits, toFlatObject, endsWith, toArray, isTypedArray, forEachEntry, matchAll, isHTMLForm, toCamelCase, hasOwnProperty, isRegExp, reduceDescriptors, freezeMethods, toObjectSet, noop, toFiniteNumber, toJSONObject, isAsyncFn, isThenable, _setImmediate, asap, utils_default;
20622
+ var toString, getPrototypeOf, iterator, toStringTag, kindOf, kindOfTest, typeOfTest, isArray, isUndefined, isArrayBuffer, isString2, isFunction, isNumber, isObject2, isBoolean, isPlainObject, isEmptyObject, isDate, isFile, isBlob, isFileList, isStream, isFormData, isURLSearchParams, isReadableStream, isRequest, isResponse, isHeaders, trim, _global, isContextDefined, extend, stripBOM, inherits, toFlatObject, endsWith, toArray, isTypedArray, forEachEntry, matchAll, isHTMLForm, toCamelCase, hasOwnProperty, isRegExp, reduceDescriptors, freezeMethods, toObjectSet, noop, toFiniteNumber, toJSONObject, isAsyncFn, isThenable, _setImmediate, asap, isIterable, utils_default;
20615
20623
  var init_utils = __esm({
20616
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/utils.js"() {
20624
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/utils.js"() {
20617
20625
  "use strict";
20618
20626
  init_bind();
20619
20627
  ({ toString } = Object.prototype);
20620
20628
  ({ getPrototypeOf } = Object);
20629
+ ({ iterator, toStringTag } = Symbol);
20621
20630
  kindOf = ((cache) => (thing) => {
20622
20631
  const str = toString.call(thing);
20623
20632
  return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
@@ -20640,7 +20649,17 @@ var init_utils = __esm({
20640
20649
  return false;
20641
20650
  }
20642
20651
  const prototype3 = getPrototypeOf(val);
20643
- return (prototype3 === null || prototype3 === Object.prototype || Object.getPrototypeOf(prototype3) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);
20652
+ return (prototype3 === null || prototype3 === Object.prototype || Object.getPrototypeOf(prototype3) === null) && !(toStringTag in val) && !(iterator in val);
20653
+ };
20654
+ isEmptyObject = (val) => {
20655
+ if (!isObject2(val) || isBuffer(val)) {
20656
+ return false;
20657
+ }
20658
+ try {
20659
+ return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
20660
+ } catch (e) {
20661
+ return false;
20662
+ }
20644
20663
  };
20645
20664
  isDate = kindOfTest("Date");
20646
20665
  isFile = kindOfTest("File");
@@ -20736,10 +20755,10 @@ var init_utils = __esm({
20736
20755
  };
20737
20756
  })(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
20738
20757
  forEachEntry = (obj, fn) => {
20739
- const generator = obj && obj[Symbol.iterator];
20740
- const iterator = generator.call(obj);
20758
+ const generator = obj && obj[iterator];
20759
+ const _iterator = generator.call(obj);
20741
20760
  let result;
20742
- while ((result = iterator.next()) && !result.done) {
20761
+ while ((result = _iterator.next()) && !result.done) {
20743
20762
  const pair = result.value;
20744
20763
  fn.call(obj, pair[0], pair[1]);
20745
20764
  }
@@ -20816,6 +20835,9 @@ var init_utils = __esm({
20816
20835
  if (stack.indexOf(source) >= 0) {
20817
20836
  return;
20818
20837
  }
20838
+ if (isBuffer(source)) {
20839
+ return source;
20840
+ }
20819
20841
  if (!("toJSON" in source)) {
20820
20842
  stack[i] = source;
20821
20843
  const target = isArray(source) ? [] : {};
@@ -20853,6 +20875,7 @@ var init_utils = __esm({
20853
20875
  isFunction(_global.postMessage)
20854
20876
  );
20855
20877
  asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
20878
+ isIterable = (thing) => thing != null && isFunction(thing[iterator]);
20856
20879
  utils_default = {
20857
20880
  isArray,
20858
20881
  isArrayBuffer,
@@ -20864,6 +20887,7 @@ var init_utils = __esm({
20864
20887
  isBoolean,
20865
20888
  isObject: isObject2,
20866
20889
  isPlainObject,
20890
+ isEmptyObject,
20867
20891
  isReadableStream,
20868
20892
  isRequest,
20869
20893
  isResponse,
@@ -20909,12 +20933,13 @@ var init_utils = __esm({
20909
20933
  isAsyncFn,
20910
20934
  isThenable,
20911
20935
  setImmediate: _setImmediate,
20912
- asap
20936
+ asap,
20937
+ isIterable
20913
20938
  };
20914
20939
  }
20915
20940
  });
20916
20941
 
20917
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
20942
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
20918
20943
  function AxiosError(message, code, config, request, response) {
20919
20944
  Error.call(this);
20920
20945
  if (Error.captureStackTrace) {
@@ -20934,7 +20959,7 @@ function AxiosError(message, code, config, request, response) {
20934
20959
  }
20935
20960
  var prototype, descriptors, AxiosError_default;
20936
20961
  var init_AxiosError = __esm({
20937
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js"() {
20962
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js"() {
20938
20963
  "use strict";
20939
20964
  init_utils();
20940
20965
  utils_default.inherits(AxiosError, Error, {
@@ -20986,9 +21011,13 @@ var init_AxiosError = __esm({
20986
21011
  }, (prop) => {
20987
21012
  return prop !== "isAxiosError";
20988
21013
  });
20989
- AxiosError.call(axiosError, error.message, code, config, request, response);
20990
- axiosError.cause = error;
20991
- axiosError.name = error.name;
21014
+ const msg = error && error.message ? error.message : "Error";
21015
+ const errCode = code == null && error ? error.code : code;
21016
+ AxiosError.call(axiosError, msg, errCode, config, request, response);
21017
+ if (error && axiosError.cause == null) {
21018
+ Object.defineProperty(axiosError, "cause", { value: error, configurable: true });
21019
+ }
21020
+ axiosError.name = error && error.name || "Error";
20992
21021
  customProps && Object.assign(axiosError, customProps);
20993
21022
  return axiosError;
20994
21023
  };
@@ -29948,9 +29977,9 @@ var require_iterate = __commonJS({
29948
29977
  var async = require_async();
29949
29978
  var abort = require_abort();
29950
29979
  module2.exports = iterate;
29951
- function iterate(list, iterator, state, callback) {
29980
+ function iterate(list, iterator2, state, callback) {
29952
29981
  var key = state["keyedList"] ? state["keyedList"][state.index] : state.index;
29953
- state.jobs[key] = runJob(iterator, key, list[key], function(error, output) {
29982
+ state.jobs[key] = runJob(iterator2, key, list[key], function(error, output) {
29954
29983
  if (!(key in state.jobs)) {
29955
29984
  return;
29956
29985
  }
@@ -29963,12 +29992,12 @@ var require_iterate = __commonJS({
29963
29992
  callback(error, state.results);
29964
29993
  });
29965
29994
  }
29966
- function runJob(iterator, key, item, callback) {
29995
+ function runJob(iterator2, key, item, callback) {
29967
29996
  var aborter;
29968
- if (iterator.length == 2) {
29969
- aborter = iterator(item, async(callback));
29997
+ if (iterator2.length == 2) {
29998
+ aborter = iterator2(item, async(callback));
29970
29999
  } else {
29971
- aborter = iterator(item, key, async(callback));
30000
+ aborter = iterator2(item, key, async(callback));
29972
30001
  }
29973
30002
  return aborter;
29974
30003
  }
@@ -30024,10 +30053,10 @@ var require_parallel = __commonJS({
30024
30053
  var initState = require_state();
30025
30054
  var terminator = require_terminator();
30026
30055
  module2.exports = parallel;
30027
- function parallel(list, iterator, callback) {
30056
+ function parallel(list, iterator2, callback) {
30028
30057
  var state = initState(list);
30029
30058
  while (state.index < (state["keyedList"] || list).length) {
30030
- iterate(list, iterator, state, function(error, result) {
30059
+ iterate(list, iterator2, state, function(error, result) {
30031
30060
  if (error) {
30032
30061
  callback(error, result);
30033
30062
  return;
@@ -30054,16 +30083,16 @@ var require_serialOrdered = __commonJS({
30054
30083
  module2.exports = serialOrdered;
30055
30084
  module2.exports.ascending = ascending;
30056
30085
  module2.exports.descending = descending;
30057
- function serialOrdered(list, iterator, sortMethod, callback) {
30086
+ function serialOrdered(list, iterator2, sortMethod, callback) {
30058
30087
  var state = initState(list, sortMethod);
30059
- iterate(list, iterator, state, function iteratorHandler(error, result) {
30088
+ iterate(list, iterator2, state, function iteratorHandler(error, result) {
30060
30089
  if (error) {
30061
30090
  callback(error, result);
30062
30091
  return;
30063
30092
  }
30064
30093
  state.index++;
30065
30094
  if (state.index < (state["keyedList"] || list).length) {
30066
- iterate(list, iterator, state, iteratorHandler);
30095
+ iterate(list, iterator2, state, iteratorHandler);
30067
30096
  return;
30068
30097
  }
30069
30098
  callback(null, state.results);
@@ -30085,8 +30114,8 @@ var require_serial = __commonJS({
30085
30114
  "use strict";
30086
30115
  var serialOrdered = require_serialOrdered();
30087
30116
  module2.exports = serial;
30088
- function serial(list, iterator, callback) {
30089
- return serialOrdered(list, iterator, null, callback);
30117
+ function serial(list, iterator2, callback) {
30118
+ return serialOrdered(list, iterator2, null, callback);
30090
30119
  }
30091
30120
  }
30092
30121
  });
@@ -30926,32 +30955,32 @@ var require_es_set_tostringtag = __commonJS({
30926
30955
  var hasToStringTag = require_shams2()();
30927
30956
  var hasOwn = require_hasown();
30928
30957
  var $TypeError = require_type();
30929
- var toStringTag = hasToStringTag ? Symbol.toStringTag : null;
30958
+ var toStringTag2 = hasToStringTag ? Symbol.toStringTag : null;
30930
30959
  module2.exports = function setToStringTag(object, value) {
30931
30960
  var overrideIfSet = arguments.length > 2 && !!arguments[2] && arguments[2].force;
30932
30961
  var nonConfigurable = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable;
30933
30962
  if (typeof overrideIfSet !== "undefined" && typeof overrideIfSet !== "boolean" || typeof nonConfigurable !== "undefined" && typeof nonConfigurable !== "boolean") {
30934
30963
  throw new $TypeError("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");
30935
30964
  }
30936
- if (toStringTag && (overrideIfSet || !hasOwn(object, toStringTag))) {
30965
+ if (toStringTag2 && (overrideIfSet || !hasOwn(object, toStringTag2))) {
30937
30966
  if ($defineProperty) {
30938
- $defineProperty(object, toStringTag, {
30967
+ $defineProperty(object, toStringTag2, {
30939
30968
  configurable: !nonConfigurable,
30940
30969
  enumerable: false,
30941
30970
  value,
30942
30971
  writable: false
30943
30972
  });
30944
30973
  } else {
30945
- object[toStringTag] = value;
30974
+ object[toStringTag2] = value;
30946
30975
  }
30947
30976
  }
30948
30977
  };
30949
30978
  }
30950
30979
  });
30951
30980
 
30952
- // ../../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/populate.js
30981
+ // ../../../node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/populate.js
30953
30982
  var require_populate = __commonJS({
30954
- "../../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/populate.js"(exports, module2) {
30983
+ "../../../node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/populate.js"(exports, module2) {
30955
30984
  "use strict";
30956
30985
  module2.exports = function(dst, src) {
30957
30986
  Object.keys(src).forEach(function(prop) {
@@ -30962,9 +30991,9 @@ var require_populate = __commonJS({
30962
30991
  }
30963
30992
  });
30964
30993
 
30965
- // ../../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/form_data.js
30994
+ // ../../../node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/form_data.js
30966
30995
  var require_form_data = __commonJS({
30967
- "../../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/form_data.js"(exports, module2) {
30996
+ "../../../node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/form_data.js"(exports, module2) {
30968
30997
  "use strict";
30969
30998
  var CombinedStream = require_combined_stream();
30970
30999
  var util3 = require("util");
@@ -30974,12 +31003,12 @@ var require_form_data = __commonJS({
30974
31003
  var parseUrl = require("url").parse;
30975
31004
  var fs2 = require("fs");
30976
31005
  var Stream = require("stream").Stream;
31006
+ var crypto2 = require("crypto");
30977
31007
  var mime = require_mime_types();
30978
31008
  var asynckit = require_asynckit();
30979
31009
  var setToStringTag = require_es_set_tostringtag();
31010
+ var hasOwn = require_hasown();
30980
31011
  var populate = require_populate();
30981
- module2.exports = FormData3;
30982
- util3.inherits(FormData3, CombinedStream);
30983
31012
  function FormData3(options) {
30984
31013
  if (!(this instanceof FormData3)) {
30985
31014
  return new FormData3(options);
@@ -30993,16 +31022,17 @@ var require_form_data = __commonJS({
30993
31022
  this[option] = options[option];
30994
31023
  }
30995
31024
  }
31025
+ util3.inherits(FormData3, CombinedStream);
30996
31026
  FormData3.LINE_BREAK = "\r\n";
30997
31027
  FormData3.DEFAULT_CONTENT_TYPE = "application/octet-stream";
30998
31028
  FormData3.prototype.append = function(field, value, options) {
30999
31029
  options = options || {};
31000
- if (typeof options == "string") {
31030
+ if (typeof options === "string") {
31001
31031
  options = { filename: options };
31002
31032
  }
31003
31033
  var append2 = CombinedStream.prototype.append.bind(this);
31004
- if (typeof value == "number") {
31005
- value = "" + value;
31034
+ if (typeof value === "number" || value == null) {
31035
+ value = String(value);
31006
31036
  }
31007
31037
  if (Array.isArray(value)) {
31008
31038
  this._error(new Error("Arrays are not supported."));
@@ -31018,7 +31048,7 @@ var require_form_data = __commonJS({
31018
31048
  FormData3.prototype._trackLength = function(header, value, options) {
31019
31049
  var valueLength = 0;
31020
31050
  if (options.knownLength != null) {
31021
- valueLength += +options.knownLength;
31051
+ valueLength += Number(options.knownLength);
31022
31052
  } else if (Buffer.isBuffer(value)) {
31023
31053
  valueLength = value.length;
31024
31054
  } else if (typeof value === "string") {
@@ -31026,7 +31056,7 @@ var require_form_data = __commonJS({
31026
31056
  }
31027
31057
  this._valueLength += valueLength;
31028
31058
  this._overheadLength += Buffer.byteLength(header) + FormData3.LINE_BREAK.length;
31029
- if (!value || !value.path && !(value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) && !(value instanceof Stream)) {
31059
+ if (!value || !value.path && !(value.readable && hasOwn(value, "httpVersion")) && !(value instanceof Stream)) {
31030
31060
  return;
31031
31061
  }
31032
31062
  if (!options.knownLength) {
@@ -31034,26 +31064,25 @@ var require_form_data = __commonJS({
31034
31064
  }
31035
31065
  };
31036
31066
  FormData3.prototype._lengthRetriever = function(value, callback) {
31037
- if (Object.prototype.hasOwnProperty.call(value, "fd")) {
31067
+ if (hasOwn(value, "fd")) {
31038
31068
  if (value.end != void 0 && value.end != Infinity && value.start != void 0) {
31039
31069
  callback(null, value.end + 1 - (value.start ? value.start : 0));
31040
31070
  } else {
31041
31071
  fs2.stat(value.path, function(err, stat) {
31042
- var fileSize;
31043
31072
  if (err) {
31044
31073
  callback(err);
31045
31074
  return;
31046
31075
  }
31047
- fileSize = stat.size - (value.start ? value.start : 0);
31076
+ var fileSize = stat.size - (value.start ? value.start : 0);
31048
31077
  callback(null, fileSize);
31049
31078
  });
31050
31079
  }
31051
- } else if (Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
31052
- callback(null, +value.headers["content-length"]);
31053
- } else if (Object.prototype.hasOwnProperty.call(value, "httpModule")) {
31080
+ } else if (hasOwn(value, "httpVersion")) {
31081
+ callback(null, Number(value.headers["content-length"]));
31082
+ } else if (hasOwn(value, "httpModule")) {
31054
31083
  value.on("response", function(response) {
31055
31084
  value.pause();
31056
- callback(null, +response.headers["content-length"]);
31085
+ callback(null, Number(response.headers["content-length"]));
31057
31086
  });
31058
31087
  value.resume();
31059
31088
  } else {
@@ -31061,7 +31090,7 @@ var require_form_data = __commonJS({
31061
31090
  }
31062
31091
  };
31063
31092
  FormData3.prototype._multiPartHeader = function(field, value, options) {
31064
- if (typeof options.header == "string") {
31093
+ if (typeof options.header === "string") {
31065
31094
  return options.header;
31066
31095
  }
31067
31096
  var contentDisposition = this._getContentDisposition(value, options);
@@ -31073,12 +31102,12 @@ var require_form_data = __commonJS({
31073
31102
  // if no content type. allow it to be empty array
31074
31103
  "Content-Type": [].concat(contentType || [])
31075
31104
  };
31076
- if (typeof options.header == "object") {
31105
+ if (typeof options.header === "object") {
31077
31106
  populate(headers, options.header);
31078
31107
  }
31079
31108
  var header;
31080
31109
  for (var prop in headers) {
31081
- if (Object.prototype.hasOwnProperty.call(headers, prop)) {
31110
+ if (hasOwn(headers, prop)) {
31082
31111
  header = headers[prop];
31083
31112
  if (header == null) {
31084
31113
  continue;
@@ -31094,34 +31123,33 @@ var require_form_data = __commonJS({
31094
31123
  return "--" + this.getBoundary() + FormData3.LINE_BREAK + contents + FormData3.LINE_BREAK;
31095
31124
  };
31096
31125
  FormData3.prototype._getContentDisposition = function(value, options) {
31097
- var filename, contentDisposition;
31126
+ var filename;
31098
31127
  if (typeof options.filepath === "string") {
31099
31128
  filename = path9.normalize(options.filepath).replace(/\\/g, "/");
31100
- } else if (options.filename || value.name || value.path) {
31101
- filename = path9.basename(options.filename || value.name || value.path);
31102
- } else if (value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
31129
+ } else if (options.filename || value && (value.name || value.path)) {
31130
+ filename = path9.basename(options.filename || value && (value.name || value.path));
31131
+ } else if (value && value.readable && hasOwn(value, "httpVersion")) {
31103
31132
  filename = path9.basename(value.client._httpMessage.path || "");
31104
31133
  }
31105
31134
  if (filename) {
31106
- contentDisposition = 'filename="' + filename + '"';
31135
+ return 'filename="' + filename + '"';
31107
31136
  }
31108
- return contentDisposition;
31109
31137
  };
31110
31138
  FormData3.prototype._getContentType = function(value, options) {
31111
31139
  var contentType = options.contentType;
31112
- if (!contentType && value.name) {
31140
+ if (!contentType && value && value.name) {
31113
31141
  contentType = mime.lookup(value.name);
31114
31142
  }
31115
- if (!contentType && value.path) {
31143
+ if (!contentType && value && value.path) {
31116
31144
  contentType = mime.lookup(value.path);
31117
31145
  }
31118
- if (!contentType && value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
31146
+ if (!contentType && value && value.readable && hasOwn(value, "httpVersion")) {
31119
31147
  contentType = value.headers["content-type"];
31120
31148
  }
31121
31149
  if (!contentType && (options.filepath || options.filename)) {
31122
31150
  contentType = mime.lookup(options.filepath || options.filename);
31123
31151
  }
31124
- if (!contentType && typeof value == "object") {
31152
+ if (!contentType && value && typeof value === "object") {
31125
31153
  contentType = FormData3.DEFAULT_CONTENT_TYPE;
31126
31154
  }
31127
31155
  return contentType;
@@ -31145,13 +31173,16 @@ var require_form_data = __commonJS({
31145
31173
  "content-type": "multipart/form-data; boundary=" + this.getBoundary()
31146
31174
  };
31147
31175
  for (header in userHeaders) {
31148
- if (Object.prototype.hasOwnProperty.call(userHeaders, header)) {
31176
+ if (hasOwn(userHeaders, header)) {
31149
31177
  formHeaders[header.toLowerCase()] = userHeaders[header];
31150
31178
  }
31151
31179
  }
31152
31180
  return formHeaders;
31153
31181
  };
31154
31182
  FormData3.prototype.setBoundary = function(boundary) {
31183
+ if (typeof boundary !== "string") {
31184
+ throw new TypeError("FormData boundary must be a string");
31185
+ }
31155
31186
  this._boundary = boundary;
31156
31187
  };
31157
31188
  FormData3.prototype.getBoundary = function() {
@@ -31178,11 +31209,7 @@ var require_form_data = __commonJS({
31178
31209
  return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]);
31179
31210
  };
31180
31211
  FormData3.prototype._generateBoundary = function() {
31181
- var boundary = "--------------------------";
31182
- for (var i = 0; i < 24; i++) {
31183
- boundary += Math.floor(Math.random() * 10).toString(16);
31184
- }
31185
- this._boundary = boundary;
31212
+ this._boundary = "--------------------------" + crypto2.randomBytes(12).toString("hex");
31186
31213
  };
31187
31214
  FormData3.prototype.getLengthSync = function() {
31188
31215
  var knownLength = this._overheadLength + this._valueLength;
@@ -31222,8 +31249,10 @@ var require_form_data = __commonJS({
31222
31249
  });
31223
31250
  };
31224
31251
  FormData3.prototype.submit = function(params, cb) {
31225
- var request, options, defaults2 = { method: "post" };
31226
- if (typeof params == "string") {
31252
+ var request;
31253
+ var options;
31254
+ var defaults2 = { method: "post" };
31255
+ if (typeof params === "string") {
31227
31256
  params = parseUrl(params);
31228
31257
  options = populate({
31229
31258
  port: params.port,
@@ -31234,11 +31263,11 @@ var require_form_data = __commonJS({
31234
31263
  } else {
31235
31264
  options = populate(params, defaults2);
31236
31265
  if (!options.port) {
31237
- options.port = options.protocol == "https:" ? 443 : 80;
31266
+ options.port = options.protocol === "https:" ? 443 : 80;
31238
31267
  }
31239
31268
  }
31240
31269
  options.headers = this.getHeaders(params.headers);
31241
- if (options.protocol == "https:") {
31270
+ if (options.protocol === "https:") {
31242
31271
  request = https2.request(options);
31243
31272
  } else {
31244
31273
  request = http2.request(options);
@@ -31277,20 +31306,21 @@ var require_form_data = __commonJS({
31277
31306
  return "[object FormData]";
31278
31307
  };
31279
31308
  setToStringTag(FormData3, "FormData");
31309
+ module2.exports = FormData3;
31280
31310
  }
31281
31311
  });
31282
31312
 
31283
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js
31313
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js
31284
31314
  var import_form_data, FormData_default;
31285
31315
  var init_FormData = __esm({
31286
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js"() {
31316
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js"() {
31287
31317
  "use strict";
31288
31318
  import_form_data = __toESM(require_form_data());
31289
31319
  FormData_default = import_form_data.default;
31290
31320
  }
31291
31321
  });
31292
31322
 
31293
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
31323
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
31294
31324
  function isVisitable(thing) {
31295
31325
  return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
31296
31326
  }
@@ -31335,6 +31365,9 @@ function toFormData(obj, formData, options) {
31335
31365
  if (utils_default.isDate(value)) {
31336
31366
  return value.toISOString();
31337
31367
  }
31368
+ if (utils_default.isBoolean(value)) {
31369
+ return value.toString();
31370
+ }
31338
31371
  if (!useBlob && utils_default.isBlob(value)) {
31339
31372
  throw new AxiosError_default("Blob is not supported. Use a Buffer instead.");
31340
31373
  }
@@ -31402,7 +31435,7 @@ function toFormData(obj, formData, options) {
31402
31435
  }
31403
31436
  var predicates, toFormData_default;
31404
31437
  var init_toFormData = __esm({
31405
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js"() {
31438
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js"() {
31406
31439
  "use strict";
31407
31440
  init_utils();
31408
31441
  init_AxiosError();
@@ -31414,7 +31447,7 @@ var init_toFormData = __esm({
31414
31447
  }
31415
31448
  });
31416
31449
 
31417
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
31450
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
31418
31451
  function encode(str) {
31419
31452
  const charMap = {
31420
31453
  "!": "%21",
@@ -31435,7 +31468,7 @@ function AxiosURLSearchParams(params, options) {
31435
31468
  }
31436
31469
  var prototype2, AxiosURLSearchParams_default;
31437
31470
  var init_AxiosURLSearchParams = __esm({
31438
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js"() {
31471
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js"() {
31439
31472
  "use strict";
31440
31473
  init_toFormData();
31441
31474
  prototype2 = AxiosURLSearchParams.prototype;
@@ -31454,9 +31487,9 @@ var init_AxiosURLSearchParams = __esm({
31454
31487
  }
31455
31488
  });
31456
31489
 
31457
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
31490
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
31458
31491
  function encode2(val) {
31459
- return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
31492
+ return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
31460
31493
  }
31461
31494
  function buildURL(url2, params, options) {
31462
31495
  if (!params) {
@@ -31485,17 +31518,17 @@ function buildURL(url2, params, options) {
31485
31518
  return url2;
31486
31519
  }
31487
31520
  var init_buildURL = __esm({
31488
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js"() {
31521
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js"() {
31489
31522
  "use strict";
31490
31523
  init_utils();
31491
31524
  init_AxiosURLSearchParams();
31492
31525
  }
31493
31526
  });
31494
31527
 
31495
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
31528
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
31496
31529
  var InterceptorManager, InterceptorManager_default;
31497
31530
  var init_InterceptorManager = __esm({
31498
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js"() {
31531
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js"() {
31499
31532
  "use strict";
31500
31533
  init_utils();
31501
31534
  InterceptorManager = class {
@@ -31563,10 +31596,10 @@ var init_InterceptorManager = __esm({
31563
31596
  }
31564
31597
  });
31565
31598
 
31566
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
31599
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
31567
31600
  var transitional_default;
31568
31601
  var init_transitional = __esm({
31569
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js"() {
31602
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js"() {
31570
31603
  "use strict";
31571
31604
  transitional_default = {
31572
31605
  silentJSONParsing: true,
@@ -31576,20 +31609,20 @@ var init_transitional = __esm({
31576
31609
  }
31577
31610
  });
31578
31611
 
31579
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
31612
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
31580
31613
  var import_url, URLSearchParams_default;
31581
31614
  var init_URLSearchParams = __esm({
31582
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js"() {
31615
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js"() {
31583
31616
  "use strict";
31584
31617
  import_url = __toESM(require("url"));
31585
31618
  URLSearchParams_default = import_url.default.URLSearchParams;
31586
31619
  }
31587
31620
  });
31588
31621
 
31589
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
31622
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
31590
31623
  var import_crypto, ALPHA, DIGIT, ALPHABET, generateString, node_default;
31591
31624
  var init_node = __esm({
31592
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/index.js"() {
31625
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/index.js"() {
31593
31626
  "use strict";
31594
31627
  import_crypto = __toESM(require("crypto"));
31595
31628
  init_URLSearchParams();
@@ -31625,7 +31658,7 @@ var init_node = __esm({
31625
31658
  }
31626
31659
  });
31627
31660
 
31628
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
31661
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
31629
31662
  var utils_exports = {};
31630
31663
  __export(utils_exports, {
31631
31664
  hasBrowserEnv: () => hasBrowserEnv,
@@ -31636,7 +31669,7 @@ __export(utils_exports, {
31636
31669
  });
31637
31670
  var hasBrowserEnv, _navigator, hasStandardBrowserEnv, hasStandardBrowserWebWorkerEnv, origin;
31638
31671
  var init_utils2 = __esm({
31639
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js"() {
31672
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js"() {
31640
31673
  "use strict";
31641
31674
  hasBrowserEnv = typeof window !== "undefined" && typeof document !== "undefined";
31642
31675
  _navigator = typeof navigator === "object" && navigator || void 0;
@@ -31649,10 +31682,10 @@ var init_utils2 = __esm({
31649
31682
  }
31650
31683
  });
31651
31684
 
31652
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/index.js
31685
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/index.js
31653
31686
  var platform_default;
31654
31687
  var init_platform = __esm({
31655
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/index.js"() {
31688
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/index.js"() {
31656
31689
  "use strict";
31657
31690
  init_node();
31658
31691
  init_utils2();
@@ -31660,9 +31693,9 @@ var init_platform = __esm({
31660
31693
  }
31661
31694
  });
31662
31695
 
31663
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
31696
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
31664
31697
  function toURLEncodedForm(data, options) {
31665
- return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
31698
+ return toFormData_default(data, new platform_default.classes.URLSearchParams(), __spreadValues({
31666
31699
  visitor: function(value, key, path9, helpers) {
31667
31700
  if (platform_default.isNode && utils_default.isBuffer(value)) {
31668
31701
  this.append(key, value.toString("base64"));
@@ -31673,7 +31706,7 @@ function toURLEncodedForm(data, options) {
31673
31706
  }, options));
31674
31707
  }
31675
31708
  var init_toURLEncodedForm = __esm({
31676
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js"() {
31709
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js"() {
31677
31710
  "use strict";
31678
31711
  init_utils();
31679
31712
  init_toFormData();
@@ -31681,7 +31714,7 @@ var init_toURLEncodedForm = __esm({
31681
31714
  }
31682
31715
  });
31683
31716
 
31684
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
31717
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
31685
31718
  function parsePropPath(name) {
31686
31719
  return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
31687
31720
  return match[0] === "[]" ? "" : match[1] || match[0];
@@ -31735,14 +31768,14 @@ function formDataToJSON(formData) {
31735
31768
  }
31736
31769
  var formDataToJSON_default;
31737
31770
  var init_formDataToJSON = __esm({
31738
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js"() {
31771
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js"() {
31739
31772
  "use strict";
31740
31773
  init_utils();
31741
31774
  formDataToJSON_default = formDataToJSON;
31742
31775
  }
31743
31776
  });
31744
31777
 
31745
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/index.js
31778
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/defaults/index.js
31746
31779
  function stringifySafely(rawValue, parser, encoder) {
31747
31780
  if (utils_default.isString(rawValue)) {
31748
31781
  try {
@@ -31758,7 +31791,7 @@ function stringifySafely(rawValue, parser, encoder) {
31758
31791
  }
31759
31792
  var defaults, defaults_default;
31760
31793
  var init_defaults = __esm({
31761
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/index.js"() {
31794
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/defaults/index.js"() {
31762
31795
  "use strict";
31763
31796
  init_utils();
31764
31797
  init_AxiosError();
@@ -31822,7 +31855,7 @@ var init_defaults = __esm({
31822
31855
  const silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
31823
31856
  const strictJSONParsing = !silentJSONParsing && JSONRequested;
31824
31857
  try {
31825
- return JSON.parse(data);
31858
+ return JSON.parse(data, this.parseReviver);
31826
31859
  } catch (e) {
31827
31860
  if (strictJSONParsing) {
31828
31861
  if (e.name === "SyntaxError") {
@@ -31864,10 +31897,10 @@ var init_defaults = __esm({
31864
31897
  }
31865
31898
  });
31866
31899
 
31867
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
31900
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
31868
31901
  var ignoreDuplicateOf, parseHeaders_default;
31869
31902
  var init_parseHeaders = __esm({
31870
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js"() {
31903
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js"() {
31871
31904
  "use strict";
31872
31905
  init_utils();
31873
31906
  ignoreDuplicateOf = utils_default.toObjectSet([
@@ -31916,7 +31949,7 @@ var init_parseHeaders = __esm({
31916
31949
  }
31917
31950
  });
31918
31951
 
31919
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
31952
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
31920
31953
  function normalizeHeader(header) {
31921
31954
  return header && String(header).trim().toLowerCase();
31922
31955
  }
@@ -31969,7 +32002,7 @@ function buildAccessors(obj, header) {
31969
32002
  }
31970
32003
  var $internals, isValidHeaderName, AxiosHeaders, AxiosHeaders_default;
31971
32004
  var init_AxiosHeaders = __esm({
31972
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js"() {
32005
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js"() {
31973
32006
  "use strict";
31974
32007
  init_utils();
31975
32008
  init_parseHeaders();
@@ -31996,10 +32029,15 @@ var init_AxiosHeaders = __esm({
31996
32029
  setHeaders(header, valueOrRewrite);
31997
32030
  } else if (utils_default.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
31998
32031
  setHeaders(parseHeaders_default(header), valueOrRewrite);
31999
- } else if (utils_default.isHeaders(header)) {
32000
- for (const [key, value] of header.entries()) {
32001
- setHeader(value, key, rewrite);
32032
+ } else if (utils_default.isObject(header) && utils_default.isIterable(header)) {
32033
+ let obj = {}, dest, key;
32034
+ for (const entry of header) {
32035
+ if (!utils_default.isArray(entry)) {
32036
+ throw TypeError("Object iterator must return a key-value pair");
32037
+ }
32038
+ obj[key = entry[0]] = (dest = obj[key]) ? utils_default.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]] : entry[1];
32002
32039
  }
32040
+ setHeaders(obj, valueOrRewrite);
32003
32041
  } else {
32004
32042
  header != null && setHeader(valueOrRewrite, header, rewrite);
32005
32043
  }
@@ -32103,6 +32141,9 @@ var init_AxiosHeaders = __esm({
32103
32141
  toString() {
32104
32142
  return Object.entries(this.toJSON()).map(([header, value]) => header + ": " + value).join("\n");
32105
32143
  }
32144
+ getSetCookie() {
32145
+ return this.get("set-cookie") || [];
32146
+ }
32106
32147
  get [Symbol.toStringTag]() {
32107
32148
  return "AxiosHeaders";
32108
32149
  }
@@ -32146,7 +32187,7 @@ var init_AxiosHeaders = __esm({
32146
32187
  }
32147
32188
  });
32148
32189
 
32149
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/transformData.js
32190
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/transformData.js
32150
32191
  function transformData(fns, response) {
32151
32192
  const config = this || defaults_default;
32152
32193
  const context = response || config;
@@ -32159,7 +32200,7 @@ function transformData(fns, response) {
32159
32200
  return data;
32160
32201
  }
32161
32202
  var init_transformData = __esm({
32162
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/transformData.js"() {
32203
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/transformData.js"() {
32163
32204
  "use strict";
32164
32205
  init_utils();
32165
32206
  init_defaults();
@@ -32167,24 +32208,24 @@ var init_transformData = __esm({
32167
32208
  }
32168
32209
  });
32169
32210
 
32170
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
32211
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
32171
32212
  function isCancel(value) {
32172
32213
  return !!(value && value.__CANCEL__);
32173
32214
  }
32174
32215
  var init_isCancel = __esm({
32175
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js"() {
32216
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js"() {
32176
32217
  "use strict";
32177
32218
  }
32178
32219
  });
32179
32220
 
32180
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
32221
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
32181
32222
  function CanceledError(message, config, request) {
32182
32223
  AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
32183
32224
  this.name = "CanceledError";
32184
32225
  }
32185
32226
  var CanceledError_default;
32186
32227
  var init_CanceledError = __esm({
32187
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js"() {
32228
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js"() {
32188
32229
  "use strict";
32189
32230
  init_AxiosError();
32190
32231
  init_utils();
@@ -32195,7 +32236,7 @@ var init_CanceledError = __esm({
32195
32236
  }
32196
32237
  });
32197
32238
 
32198
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/settle.js
32239
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/settle.js
32199
32240
  function settle(resolve, reject, response) {
32200
32241
  const validateStatus2 = response.config.validateStatus;
32201
32242
  if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
@@ -32211,33 +32252,33 @@ function settle(resolve, reject, response) {
32211
32252
  }
32212
32253
  }
32213
32254
  var init_settle = __esm({
32214
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/settle.js"() {
32255
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/settle.js"() {
32215
32256
  "use strict";
32216
32257
  init_AxiosError();
32217
32258
  }
32218
32259
  });
32219
32260
 
32220
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
32261
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
32221
32262
  function isAbsoluteURL(url2) {
32222
32263
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
32223
32264
  }
32224
32265
  var init_isAbsoluteURL = __esm({
32225
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js"() {
32266
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js"() {
32226
32267
  "use strict";
32227
32268
  }
32228
32269
  });
32229
32270
 
32230
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
32271
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
32231
32272
  function combineURLs(baseURL, relativeURL) {
32232
32273
  return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
32233
32274
  }
32234
32275
  var init_combineURLs = __esm({
32235
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js"() {
32276
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js"() {
32236
32277
  "use strict";
32237
32278
  }
32238
32279
  });
32239
32280
 
32240
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
32281
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
32241
32282
  function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
32242
32283
  let isRelativeUrl = !isAbsoluteURL(requestedURL);
32243
32284
  if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
@@ -32246,7 +32287,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
32246
32287
  return requestedURL;
32247
32288
  }
32248
32289
  var init_buildFullPath = __esm({
32249
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js"() {
32290
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js"() {
32250
32291
  "use strict";
32251
32292
  init_isAbsoluteURL();
32252
32293
  init_combineURLs();
@@ -32323,9 +32364,9 @@ var require_proxy_from_env = __commonJS({
32323
32364
  }
32324
32365
  });
32325
32366
 
32326
- // ../../../node_modules/.pnpm/follow-redirects@1.15.9_debug@4.3.7/node_modules/follow-redirects/debug.js
32367
+ // ../../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.3.7/node_modules/follow-redirects/debug.js
32327
32368
  var require_debug2 = __commonJS({
32328
- "../../../node_modules/.pnpm/follow-redirects@1.15.9_debug@4.3.7/node_modules/follow-redirects/debug.js"(exports, module2) {
32369
+ "../../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.3.7/node_modules/follow-redirects/debug.js"(exports, module2) {
32329
32370
  "use strict";
32330
32371
  var debug2;
32331
32372
  module2.exports = function() {
@@ -32344,9 +32385,9 @@ var require_debug2 = __commonJS({
32344
32385
  }
32345
32386
  });
32346
32387
 
32347
- // ../../../node_modules/.pnpm/follow-redirects@1.15.9_debug@4.3.7/node_modules/follow-redirects/index.js
32388
+ // ../../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.3.7/node_modules/follow-redirects/index.js
32348
32389
  var require_follow_redirects = __commonJS({
32349
- "../../../node_modules/.pnpm/follow-redirects@1.15.9_debug@4.3.7/node_modules/follow-redirects/index.js"(exports, module2) {
32390
+ "../../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.3.7/node_modules/follow-redirects/index.js"(exports, module2) {
32350
32391
  "use strict";
32351
32392
  var url2 = require("url");
32352
32393
  var URL2 = url2.URL;
@@ -32358,7 +32399,7 @@ var require_follow_redirects = __commonJS({
32358
32399
  (function detectUnsupportedEnvironment() {
32359
32400
  var looksLikeNode = typeof process !== "undefined";
32360
32401
  var looksLikeBrowser = typeof window !== "undefined" && typeof document !== "undefined";
32361
- var looksLikeV8 = isFunction2(Error.captureStackTrace);
32402
+ var looksLikeV8 = isFunction3(Error.captureStackTrace);
32362
32403
  if (!looksLikeNode && (looksLikeBrowser || !looksLikeV8)) {
32363
32404
  console.warn("The follow-redirects package should be excluded from browser builds.");
32364
32405
  }
@@ -32453,7 +32494,7 @@ var require_follow_redirects = __commonJS({
32453
32494
  if (!isString3(data) && !isBuffer2(data)) {
32454
32495
  throw new TypeError("data should be a string, Buffer or Uint8Array");
32455
32496
  }
32456
- if (isFunction2(encoding)) {
32497
+ if (isFunction3(encoding)) {
32457
32498
  callback = encoding;
32458
32499
  encoding = null;
32459
32500
  }
@@ -32473,10 +32514,10 @@ var require_follow_redirects = __commonJS({
32473
32514
  }
32474
32515
  };
32475
32516
  RedirectableRequest.prototype.end = function(data, encoding, callback) {
32476
- if (isFunction2(data)) {
32517
+ if (isFunction3(data)) {
32477
32518
  callback = data;
32478
32519
  data = encoding = null;
32479
- } else if (isFunction2(encoding)) {
32520
+ } else if (isFunction3(encoding)) {
32480
32521
  callback = encoding;
32481
32522
  encoding = null;
32482
32523
  }
@@ -32677,7 +32718,7 @@ var require_follow_redirects = __commonJS({
32677
32718
  if (redirectUrl.protocol !== currentUrlParts.protocol && redirectUrl.protocol !== "https:" || redirectUrl.host !== currentHost && !isSubdomain(redirectUrl.host, currentHost)) {
32678
32719
  removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers);
32679
32720
  }
32680
- if (isFunction2(beforeRedirect)) {
32721
+ if (isFunction3(beforeRedirect)) {
32681
32722
  var responseDetails = {
32682
32723
  headers: response.headers,
32683
32724
  statusCode
@@ -32712,7 +32753,7 @@ var require_follow_redirects = __commonJS({
32712
32753
  options = validateUrl(input);
32713
32754
  input = { protocol };
32714
32755
  }
32715
- if (isFunction2(options)) {
32756
+ if (isFunction3(options)) {
32716
32757
  callback = options;
32717
32758
  options = null;
32718
32759
  }
@@ -32792,7 +32833,7 @@ var require_follow_redirects = __commonJS({
32792
32833
  }
32793
32834
  function createErrorType(code, message, baseClass) {
32794
32835
  function CustomError(properties) {
32795
- if (isFunction2(Error.captureStackTrace)) {
32836
+ if (isFunction3(Error.captureStackTrace)) {
32796
32837
  Error.captureStackTrace(this, this.constructor);
32797
32838
  }
32798
32839
  Object.assign(this, properties || {});
@@ -32827,7 +32868,7 @@ var require_follow_redirects = __commonJS({
32827
32868
  function isString3(value) {
32828
32869
  return typeof value === "string" || value instanceof String;
32829
32870
  }
32830
- function isFunction2(value) {
32871
+ function isFunction3(value) {
32831
32872
  return typeof value === "function";
32832
32873
  }
32833
32874
  function isBuffer2(value) {
@@ -32841,27 +32882,27 @@ var require_follow_redirects = __commonJS({
32841
32882
  }
32842
32883
  });
32843
32884
 
32844
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/env/data.js
32885
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/env/data.js
32845
32886
  var VERSION;
32846
32887
  var init_data = __esm({
32847
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/env/data.js"() {
32888
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/env/data.js"() {
32848
32889
  "use strict";
32849
- VERSION = "1.8.4";
32890
+ VERSION = "1.12.0";
32850
32891
  }
32851
32892
  });
32852
32893
 
32853
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
32894
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
32854
32895
  function parseProtocol(url2) {
32855
32896
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
32856
32897
  return match && match[1] || "";
32857
32898
  }
32858
32899
  var init_parseProtocol = __esm({
32859
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js"() {
32900
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js"() {
32860
32901
  "use strict";
32861
32902
  }
32862
32903
  });
32863
32904
 
32864
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
32905
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
32865
32906
  function fromDataURI(uri, asBlob, options) {
32866
32907
  const _Blob = options && options.Blob || platform_default.classes.Blob;
32867
32908
  const protocol = parseProtocol(uri);
@@ -32890,7 +32931,7 @@ function fromDataURI(uri, asBlob, options) {
32890
32931
  }
32891
32932
  var DATA_URL_PATTERN;
32892
32933
  var init_fromDataURI = __esm({
32893
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js"() {
32934
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js"() {
32894
32935
  "use strict";
32895
32936
  init_AxiosError();
32896
32937
  init_parseProtocol();
@@ -32899,10 +32940,10 @@ var init_fromDataURI = __esm({
32899
32940
  }
32900
32941
  });
32901
32942
 
32902
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
32943
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
32903
32944
  var import_stream, kInternals, AxiosTransformStream, AxiosTransformStream_default;
32904
32945
  var init_AxiosTransformStream = __esm({
32905
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js"() {
32946
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js"() {
32906
32947
  "use strict";
32907
32948
  import_stream = __toESM(require("stream"));
32908
32949
  init_utils();
@@ -33021,10 +33062,10 @@ var init_AxiosTransformStream = __esm({
33021
33062
  }
33022
33063
  });
33023
33064
 
33024
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
33065
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
33025
33066
  var asyncIterator, readBlob, readBlob_default;
33026
33067
  var init_readBlob = __esm({
33027
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js"() {
33068
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js"() {
33028
33069
  "use strict";
33029
33070
  ({ asyncIterator } = Symbol);
33030
33071
  readBlob = function(blob) {
@@ -33044,10 +33085,10 @@ var init_readBlob = __esm({
33044
33085
  }
33045
33086
  });
33046
33087
 
33047
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
33088
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
33048
33089
  var import_util, import_stream2, BOUNDARY_ALPHABET, textEncoder, CRLF, CRLF_BYTES, CRLF_BYTES_COUNT, FormDataPart, formDataToStream, formDataToStream_default;
33049
33090
  var init_formDataToStream = __esm({
33050
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js"() {
33091
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js"() {
33051
33092
  "use strict";
33052
33093
  import_util = __toESM(require("util"));
33053
33094
  import_stream2 = require("stream");
@@ -33108,7 +33149,7 @@ var init_formDataToStream = __esm({
33108
33149
  throw Error("boundary must be 10-70 characters long");
33109
33150
  }
33110
33151
  const boundaryBytes = textEncoder.encode("--" + boundary + CRLF);
33111
- const footerBytes = textEncoder.encode("--" + boundary + "--" + CRLF + CRLF);
33152
+ const footerBytes = textEncoder.encode("--" + boundary + "--" + CRLF);
33112
33153
  let contentLength = footerBytes.byteLength;
33113
33154
  const parts = Array.from(form.entries()).map(([name, value]) => {
33114
33155
  const part = new FormDataPart(name, value);
@@ -33138,10 +33179,10 @@ var init_formDataToStream = __esm({
33138
33179
  }
33139
33180
  });
33140
33181
 
33141
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
33182
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
33142
33183
  var import_stream3, ZlibHeaderTransformStream, ZlibHeaderTransformStream_default;
33143
33184
  var init_ZlibHeaderTransformStream = __esm({
33144
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js"() {
33185
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js"() {
33145
33186
  "use strict";
33146
33187
  import_stream3 = __toESM(require("stream"));
33147
33188
  ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
@@ -33166,10 +33207,10 @@ var init_ZlibHeaderTransformStream = __esm({
33166
33207
  }
33167
33208
  });
33168
33209
 
33169
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
33210
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
33170
33211
  var callbackify, callbackify_default;
33171
33212
  var init_callbackify = __esm({
33172
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js"() {
33213
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js"() {
33173
33214
  "use strict";
33174
33215
  init_utils();
33175
33216
  callbackify = (fn, reducer) => {
@@ -33188,7 +33229,7 @@ var init_callbackify = __esm({
33188
33229
  }
33189
33230
  });
33190
33231
 
33191
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
33232
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
33192
33233
  function speedometer(samplesCount, min) {
33193
33234
  samplesCount = samplesCount || 10;
33194
33235
  const bytes = new Array(samplesCount);
@@ -33224,13 +33265,13 @@ function speedometer(samplesCount, min) {
33224
33265
  }
33225
33266
  var speedometer_default;
33226
33267
  var init_speedometer = __esm({
33227
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js"() {
33268
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js"() {
33228
33269
  "use strict";
33229
33270
  speedometer_default = speedometer;
33230
33271
  }
33231
33272
  });
33232
33273
 
33233
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
33274
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
33234
33275
  function throttle(fn, freq) {
33235
33276
  let timestamp = 0;
33236
33277
  let threshold = 1e3 / freq;
@@ -33243,7 +33284,7 @@ function throttle(fn, freq) {
33243
33284
  clearTimeout(timer);
33244
33285
  timer = null;
33245
33286
  }
33246
- fn.apply(null, args);
33287
+ fn(...args);
33247
33288
  };
33248
33289
  const throttled = (...args) => {
33249
33290
  const now = Date.now();
@@ -33265,16 +33306,16 @@ function throttle(fn, freq) {
33265
33306
  }
33266
33307
  var throttle_default;
33267
33308
  var init_throttle = __esm({
33268
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js"() {
33309
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js"() {
33269
33310
  "use strict";
33270
33311
  throttle_default = throttle;
33271
33312
  }
33272
33313
  });
33273
33314
 
33274
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
33315
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
33275
33316
  var progressEventReducer, progressEventDecorator, asyncDecorator;
33276
33317
  var init_progressEventReducer = __esm({
33277
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js"() {
33318
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js"() {
33278
33319
  "use strict";
33279
33320
  init_speedometer();
33280
33321
  init_throttle();
@@ -33315,7 +33356,66 @@ var init_progressEventReducer = __esm({
33315
33356
  }
33316
33357
  });
33317
33358
 
33318
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
33359
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
33360
+ function estimateDataURLDecodedBytes(url2) {
33361
+ if (!url2 || typeof url2 !== "string")
33362
+ return 0;
33363
+ if (!url2.startsWith("data:"))
33364
+ return 0;
33365
+ const comma = url2.indexOf(",");
33366
+ if (comma < 0)
33367
+ return 0;
33368
+ const meta = url2.slice(5, comma);
33369
+ const body = url2.slice(comma + 1);
33370
+ const isBase64 = /;base64/i.test(meta);
33371
+ if (isBase64) {
33372
+ let effectiveLen = body.length;
33373
+ const len = body.length;
33374
+ for (let i = 0; i < len; i++) {
33375
+ if (body.charCodeAt(i) === 37 && i + 2 < len) {
33376
+ const a = body.charCodeAt(i + 1);
33377
+ const b = body.charCodeAt(i + 2);
33378
+ const isHex = (a >= 48 && a <= 57 || a >= 65 && a <= 70 || a >= 97 && a <= 102) && (b >= 48 && b <= 57 || b >= 65 && b <= 70 || b >= 97 && b <= 102);
33379
+ if (isHex) {
33380
+ effectiveLen -= 2;
33381
+ i += 2;
33382
+ }
33383
+ }
33384
+ }
33385
+ let pad = 0;
33386
+ let idx = len - 1;
33387
+ const tailIsPct3D = (j) => j >= 2 && body.charCodeAt(j - 2) === 37 && // '%'
33388
+ body.charCodeAt(j - 1) === 51 && // '3'
33389
+ (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100);
33390
+ if (idx >= 0) {
33391
+ if (body.charCodeAt(idx) === 61) {
33392
+ pad++;
33393
+ idx--;
33394
+ } else if (tailIsPct3D(idx)) {
33395
+ pad++;
33396
+ idx -= 3;
33397
+ }
33398
+ }
33399
+ if (pad === 1 && idx >= 0) {
33400
+ if (body.charCodeAt(idx) === 61) {
33401
+ pad++;
33402
+ } else if (tailIsPct3D(idx)) {
33403
+ pad++;
33404
+ }
33405
+ }
33406
+ const groups = Math.floor(effectiveLen / 4);
33407
+ const bytes = groups * 3 - (pad || 0);
33408
+ return bytes > 0 ? bytes : 0;
33409
+ }
33410
+ return Buffer.byteLength(body, "utf8");
33411
+ }
33412
+ var init_estimateDataURLDecodedBytes = __esm({
33413
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js"() {
33414
+ "use strict";
33415
+ }
33416
+ });
33417
+
33418
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/http.js
33319
33419
  function dispatchBeforeRedirect(options, responseDetails) {
33320
33420
  if (options.beforeRedirects.proxy) {
33321
33421
  options.beforeRedirects.proxy(options);
@@ -33359,7 +33459,7 @@ function setProxy(options, configProxy, location) {
33359
33459
  }
33360
33460
  var import_proxy_from_env, import_http, import_https, import_util2, import_follow_redirects, import_zlib, import_stream4, import_events, zlibOptions, brotliOptions, isBrotliSupported, httpFollow, httpsFollow, isHttps, supportedProtocols, flushOnFinish, isHttpAdapterSupported, wrapAsync, resolveFamily, buildAddressEntry, http_default;
33361
33461
  var init_http = __esm({
33362
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js"() {
33462
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/http.js"() {
33363
33463
  "use strict";
33364
33464
  init_utils();
33365
33465
  init_settle();
@@ -33386,6 +33486,7 @@ var init_http = __esm({
33386
33486
  init_ZlibHeaderTransformStream();
33387
33487
  init_callbackify();
33388
33488
  init_progressEventReducer();
33489
+ init_estimateDataURLDecodedBytes();
33389
33490
  zlibOptions = {
33390
33491
  flush: import_zlib.default.constants.Z_SYNC_FLUSH,
33391
33492
  finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
@@ -33488,6 +33589,17 @@ var init_http = __esm({
33488
33589
  const parsed = new URL(fullPath, platform_default.hasBrowserEnv ? platform_default.origin : void 0);
33489
33590
  const protocol = parsed.protocol || supportedProtocols[0];
33490
33591
  if (protocol === "data:") {
33592
+ if (config.maxContentLength > -1) {
33593
+ const dataUrl = String(config.url || fullPath || "");
33594
+ const estimated = estimateDataURLDecodedBytes(dataUrl);
33595
+ if (estimated > config.maxContentLength) {
33596
+ return reject(new AxiosError_default(
33597
+ "maxContentLength size of " + config.maxContentLength + " exceeded",
33598
+ AxiosError_default.ERR_BAD_RESPONSE,
33599
+ config
33600
+ ));
33601
+ }
33602
+ }
33491
33603
  let convertedData;
33492
33604
  if (method !== "GET") {
33493
33605
  return settle(resolve, reject, {
@@ -33852,10 +33964,10 @@ var init_http = __esm({
33852
33964
  }
33853
33965
  });
33854
33966
 
33855
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
33967
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
33856
33968
  var isURLSameOrigin_default;
33857
33969
  var init_isURLSameOrigin = __esm({
33858
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js"() {
33970
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js"() {
33859
33971
  "use strict";
33860
33972
  init_platform();
33861
33973
  isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2, isMSIE) => (url2) => {
@@ -33868,10 +33980,10 @@ var init_isURLSameOrigin = __esm({
33868
33980
  }
33869
33981
  });
33870
33982
 
33871
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
33983
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
33872
33984
  var cookies_default;
33873
33985
  var init_cookies = __esm({
33874
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js"() {
33986
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js"() {
33875
33987
  "use strict";
33876
33988
  init_utils();
33877
33989
  init_platform();
@@ -33909,7 +34021,7 @@ var init_cookies = __esm({
33909
34021
  }
33910
34022
  });
33911
34023
 
33912
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
34024
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
33913
34025
  function mergeConfig(config1, config2) {
33914
34026
  config2 = config2 || {};
33915
34027
  const config = {};
@@ -33980,7 +34092,7 @@ function mergeConfig(config1, config2) {
33980
34092
  validateStatus: mergeDirectKeys,
33981
34093
  headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
33982
34094
  };
33983
- utils_default.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
34095
+ utils_default.forEach(Object.keys(__spreadValues(__spreadValues({}, config1), config2)), function computeConfigValue(prop) {
33984
34096
  const merge2 = mergeMap[prop] || mergeDeepProperties;
33985
34097
  const configValue = merge2(config1[prop], config2[prop], prop);
33986
34098
  utils_default.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
@@ -33989,7 +34101,7 @@ function mergeConfig(config1, config2) {
33989
34101
  }
33990
34102
  var headersToObject;
33991
34103
  var init_mergeConfig = __esm({
33992
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js"() {
34104
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js"() {
33993
34105
  "use strict";
33994
34106
  init_utils();
33995
34107
  init_AxiosHeaders();
@@ -33997,10 +34109,10 @@ var init_mergeConfig = __esm({
33997
34109
  }
33998
34110
  });
33999
34111
 
34000
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
34112
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
34001
34113
  var resolveConfig_default;
34002
34114
  var init_resolveConfig = __esm({
34003
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js"() {
34115
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js"() {
34004
34116
  "use strict";
34005
34117
  init_platform();
34006
34118
  init_utils();
@@ -34021,13 +34133,17 @@ var init_resolveConfig = __esm({
34021
34133
  "Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : ""))
34022
34134
  );
34023
34135
  }
34024
- let contentType;
34025
34136
  if (utils_default.isFormData(data)) {
34026
34137
  if (platform_default.hasStandardBrowserEnv || platform_default.hasStandardBrowserWebWorkerEnv) {
34027
34138
  headers.setContentType(void 0);
34028
- } else if ((contentType = headers.getContentType()) !== false) {
34029
- const [type, ...tokens] = contentType ? contentType.split(";").map((token) => token.trim()).filter(Boolean) : [];
34030
- headers.setContentType([type || "multipart/form-data", ...tokens].join("; "));
34139
+ } else if (utils_default.isFunction(data.getHeaders)) {
34140
+ const formHeaders = data.getHeaders();
34141
+ const allowedHeaders = ["content-type", "content-length"];
34142
+ Object.entries(formHeaders).forEach(([key, val]) => {
34143
+ if (allowedHeaders.includes(key.toLowerCase())) {
34144
+ headers.set(key, val);
34145
+ }
34146
+ });
34031
34147
  }
34032
34148
  }
34033
34149
  if (platform_default.hasStandardBrowserEnv) {
@@ -34044,10 +34160,10 @@ var init_resolveConfig = __esm({
34044
34160
  }
34045
34161
  });
34046
34162
 
34047
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
34163
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
34048
34164
  var isXHRAdapterSupported, xhr_default;
34049
34165
  var init_xhr = __esm({
34050
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js"() {
34166
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js"() {
34051
34167
  "use strict";
34052
34168
  init_utils();
34053
34169
  init_settle();
@@ -34123,8 +34239,11 @@ var init_xhr = __esm({
34123
34239
  reject(new AxiosError_default("Request aborted", AxiosError_default.ECONNABORTED, config, request));
34124
34240
  request = null;
34125
34241
  };
34126
- request.onerror = function handleError() {
34127
- reject(new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request));
34242
+ request.onerror = function handleError(event) {
34243
+ const msg = event && event.message ? event.message : "Network Error";
34244
+ const err = new AxiosError_default(msg, AxiosError_default.ERR_NETWORK, config, request);
34245
+ err.event = event || null;
34246
+ reject(err);
34128
34247
  request = null;
34129
34248
  };
34130
34249
  request.ontimeout = function handleTimeout() {
@@ -34187,10 +34306,10 @@ var init_xhr = __esm({
34187
34306
  }
34188
34307
  });
34189
34308
 
34190
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
34309
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
34191
34310
  var composeSignals, composeSignals_default;
34192
34311
  var init_composeSignals = __esm({
34193
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js"() {
34312
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js"() {
34194
34313
  "use strict";
34195
34314
  init_CanceledError();
34196
34315
  init_AxiosError();
@@ -34232,10 +34351,10 @@ var init_composeSignals = __esm({
34232
34351
  }
34233
34352
  });
34234
34353
 
34235
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
34354
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
34236
34355
  var streamChunk, readBytes, readStream, trackStream;
34237
34356
  var init_trackStream = __esm({
34238
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js"() {
34357
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js"() {
34239
34358
  "use strict";
34240
34359
  streamChunk = function* (chunk, chunkSize) {
34241
34360
  let len = chunk.byteLength;
@@ -34291,7 +34410,7 @@ var init_trackStream = __esm({
34291
34410
  });
34292
34411
  };
34293
34412
  trackStream = (stream4, chunkSize, onProgress, onFinish) => {
34294
- const iterator = readBytes(stream4, chunkSize);
34413
+ const iterator2 = readBytes(stream4, chunkSize);
34295
34414
  let bytes = 0;
34296
34415
  let done;
34297
34416
  let _onFinish = (e) => {
@@ -34304,7 +34423,7 @@ var init_trackStream = __esm({
34304
34423
  pull(controller) {
34305
34424
  return __async(this, null, function* () {
34306
34425
  try {
34307
- const { done: done2, value } = yield iterator.next();
34426
+ const { done: done2, value } = yield iterator2.next();
34308
34427
  if (done2) {
34309
34428
  _onFinish();
34310
34429
  controller.close();
@@ -34324,7 +34443,7 @@ var init_trackStream = __esm({
34324
34443
  },
34325
34444
  cancel(reason) {
34326
34445
  _onFinish(reason);
34327
- return iterator.return();
34446
+ return iterator2.return();
34328
34447
  }
34329
34448
  }, {
34330
34449
  highWaterMark: 2
@@ -34333,10 +34452,10 @@ var init_trackStream = __esm({
34333
34452
  }
34334
34453
  });
34335
34454
 
34336
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
34337
- var isFetchSupported, isReadableStreamSupported, encodeText, test, supportsRequestStream, DEFAULT_CHUNK_SIZE, supportsResponseStream, resolvers, getBodyLength, resolveBodyLength, fetch_default;
34455
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
34456
+ var DEFAULT_CHUNK_SIZE, isFunction2, globalFetchAPI, ReadableStream2, TextEncoder2, test, factory, seedCache, getFetch, adapter;
34338
34457
  var init_fetch = __esm({
34339
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js"() {
34458
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js"() {
34340
34459
  "use strict";
34341
34460
  init_platform();
34342
34461
  init_utils();
@@ -34347,11 +34466,17 @@ var init_fetch = __esm({
34347
34466
  init_progressEventReducer();
34348
34467
  init_resolveConfig();
34349
34468
  init_settle();
34350
- isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
34351
- isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
34352
- encodeText = isFetchSupported && (typeof TextEncoder === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : (str) => __async(void 0, null, function* () {
34353
- return new Uint8Array(yield new Response(str).arrayBuffer());
34354
- }));
34469
+ DEFAULT_CHUNK_SIZE = 64 * 1024;
34470
+ ({ isFunction: isFunction2 } = utils_default);
34471
+ globalFetchAPI = (({ fetch, Request, Response }) => ({
34472
+ fetch,
34473
+ Request,
34474
+ Response
34475
+ }))(utils_default.global);
34476
+ ({
34477
+ ReadableStream: ReadableStream2,
34478
+ TextEncoder: TextEncoder2
34479
+ } = utils_default.global);
34355
34480
  test = (fn, ...args) => {
34356
34481
  try {
34357
34482
  return !!fn(...args);
@@ -34359,164 +34484,202 @@ var init_fetch = __esm({
34359
34484
  return false;
34360
34485
  }
34361
34486
  };
34362
- supportsRequestStream = isReadableStreamSupported && test(() => {
34363
- let duplexAccessed = false;
34364
- const hasContentType = new Request(platform_default.origin, {
34365
- body: new ReadableStream(),
34366
- method: "POST",
34367
- get duplex() {
34368
- duplexAccessed = true;
34369
- return "half";
34370
- }
34371
- }).headers.has("Content-Type");
34372
- return duplexAccessed && !hasContentType;
34373
- });
34374
- DEFAULT_CHUNK_SIZE = 64 * 1024;
34375
- supportsResponseStream = isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response("").body));
34376
- resolvers = {
34377
- stream: supportsResponseStream && ((res) => res.body)
34378
- };
34379
- isFetchSupported && ((res) => {
34380
- ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
34381
- !resolvers[type] && (resolvers[type] = utils_default.isFunction(res[type]) ? (res2) => res2[type]() : (_, config) => {
34382
- throw new AxiosError_default(`Response type '${type}' is not supported`, AxiosError_default.ERR_NOT_SUPPORT, config);
34383
- });
34384
- });
34385
- })(new Response());
34386
- getBodyLength = (body) => __async(void 0, null, function* () {
34387
- if (body == null) {
34388
- return 0;
34389
- }
34390
- if (utils_default.isBlob(body)) {
34391
- return body.size;
34487
+ factory = (env) => {
34488
+ const { fetch, Request, Response } = Object.assign({}, globalFetchAPI, env);
34489
+ const isFetchSupported = isFunction2(fetch);
34490
+ const isRequestSupported = isFunction2(Request);
34491
+ const isResponseSupported = isFunction2(Response);
34492
+ if (!isFetchSupported) {
34493
+ return false;
34392
34494
  }
34393
- if (utils_default.isSpecCompliantForm(body)) {
34394
- const _request = new Request(platform_default.origin, {
34495
+ const isReadableStreamSupported = isFetchSupported && isFunction2(ReadableStream2);
34496
+ const encodeText = isFetchSupported && (typeof TextEncoder2 === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder2()) : (str) => __async(void 0, null, function* () {
34497
+ return new Uint8Array(yield new Request(str).arrayBuffer());
34498
+ }));
34499
+ const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
34500
+ let duplexAccessed = false;
34501
+ const hasContentType = new Request(platform_default.origin, {
34502
+ body: new ReadableStream2(),
34395
34503
  method: "POST",
34396
- body
34397
- });
34398
- return (yield _request.arrayBuffer()).byteLength;
34399
- }
34400
- if (utils_default.isArrayBufferView(body) || utils_default.isArrayBuffer(body)) {
34401
- return body.byteLength;
34402
- }
34403
- if (utils_default.isURLSearchParams(body)) {
34404
- body = body + "";
34405
- }
34406
- if (utils_default.isString(body)) {
34407
- return (yield encodeText(body)).byteLength;
34408
- }
34409
- });
34410
- resolveBodyLength = (headers, body) => __async(void 0, null, function* () {
34411
- const length = utils_default.toFiniteNumber(headers.getContentLength());
34412
- return length == null ? getBodyLength(body) : length;
34413
- });
34414
- fetch_default = isFetchSupported && ((config) => __async(void 0, null, function* () {
34415
- let {
34416
- url: url2,
34417
- method,
34418
- data,
34419
- signal,
34420
- cancelToken,
34421
- timeout,
34422
- onDownloadProgress,
34423
- onUploadProgress,
34424
- responseType,
34425
- headers,
34426
- withCredentials = "same-origin",
34427
- fetchOptions
34428
- } = resolveConfig_default(config);
34429
- responseType = responseType ? (responseType + "").toLowerCase() : "text";
34430
- let composedSignal = composeSignals_default([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
34431
- let request;
34432
- const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
34433
- composedSignal.unsubscribe();
34504
+ get duplex() {
34505
+ duplexAccessed = true;
34506
+ return "half";
34507
+ }
34508
+ }).headers.has("Content-Type");
34509
+ return duplexAccessed && !hasContentType;
34434
34510
  });
34435
- let requestContentLength;
34436
- try {
34437
- if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = yield resolveBodyLength(headers, data)) !== 0) {
34438
- let _request = new Request(url2, {
34439
- method: "POST",
34440
- body: data,
34441
- duplex: "half"
34511
+ const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response("").body));
34512
+ const resolvers = {
34513
+ stream: supportsResponseStream && ((res) => res.body)
34514
+ };
34515
+ isFetchSupported && (() => {
34516
+ ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
34517
+ !resolvers[type] && (resolvers[type] = (res, config) => {
34518
+ let method = res && res[type];
34519
+ if (method) {
34520
+ return method.call(res);
34521
+ }
34522
+ throw new AxiosError_default(`Response type '${type}' is not supported`, AxiosError_default.ERR_NOT_SUPPORT, config);
34442
34523
  });
34443
- let contentTypeHeader;
34444
- if (utils_default.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
34445
- headers.setContentType(contentTypeHeader);
34446
- }
34447
- if (_request.body) {
34448
- const [onProgress, flush] = progressEventDecorator(
34449
- requestContentLength,
34450
- progressEventReducer(asyncDecorator(onUploadProgress))
34451
- );
34452
- data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
34453
- }
34524
+ });
34525
+ })();
34526
+ const getBodyLength = (body) => __async(void 0, null, function* () {
34527
+ if (body == null) {
34528
+ return 0;
34454
34529
  }
34455
- if (!utils_default.isString(withCredentials)) {
34456
- withCredentials = withCredentials ? "include" : "omit";
34530
+ if (utils_default.isBlob(body)) {
34531
+ return body.size;
34457
34532
  }
34458
- const isCredentialsSupported = "credentials" in Request.prototype;
34459
- request = new Request(url2, __spreadProps(__spreadValues({}, fetchOptions), {
34460
- signal: composedSignal,
34461
- method: method.toUpperCase(),
34462
- headers: headers.normalize().toJSON(),
34463
- body: data,
34464
- duplex: "half",
34465
- credentials: isCredentialsSupported ? withCredentials : void 0
34466
- }));
34467
- let response = yield fetch(request);
34468
- const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
34469
- if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
34470
- const options = {};
34471
- ["status", "statusText", "headers"].forEach((prop) => {
34472
- options[prop] = response[prop];
34533
+ if (utils_default.isSpecCompliantForm(body)) {
34534
+ const _request = new Request(platform_default.origin, {
34535
+ method: "POST",
34536
+ body
34473
34537
  });
34474
- const responseContentLength = utils_default.toFiniteNumber(response.headers.get("content-length"));
34475
- const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
34476
- responseContentLength,
34477
- progressEventReducer(asyncDecorator(onDownloadProgress), true)
34478
- ) || [];
34479
- response = new Response(
34480
- trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
34481
- flush && flush();
34482
- unsubscribe && unsubscribe();
34483
- }),
34484
- options
34485
- );
34538
+ return (yield _request.arrayBuffer()).byteLength;
34486
34539
  }
34487
- responseType = responseType || "text";
34488
- let responseData = yield resolvers[utils_default.findKey(resolvers, responseType) || "text"](response, config);
34489
- !isStreamResponse && unsubscribe && unsubscribe();
34490
- return yield new Promise((resolve, reject) => {
34491
- settle(resolve, reject, {
34492
- data: responseData,
34493
- headers: AxiosHeaders_default.from(response.headers),
34494
- status: response.status,
34495
- statusText: response.statusText,
34496
- config,
34497
- request
34498
- });
34540
+ if (utils_default.isArrayBufferView(body) || utils_default.isArrayBuffer(body)) {
34541
+ return body.byteLength;
34542
+ }
34543
+ if (utils_default.isURLSearchParams(body)) {
34544
+ body = body + "";
34545
+ }
34546
+ if (utils_default.isString(body)) {
34547
+ return (yield encodeText(body)).byteLength;
34548
+ }
34549
+ });
34550
+ const resolveBodyLength = (headers, body) => __async(void 0, null, function* () {
34551
+ const length = utils_default.toFiniteNumber(headers.getContentLength());
34552
+ return length == null ? getBodyLength(body) : length;
34553
+ });
34554
+ return (config) => __async(void 0, null, function* () {
34555
+ let {
34556
+ url: url2,
34557
+ method,
34558
+ data,
34559
+ signal,
34560
+ cancelToken,
34561
+ timeout,
34562
+ onDownloadProgress,
34563
+ onUploadProgress,
34564
+ responseType,
34565
+ headers,
34566
+ withCredentials = "same-origin",
34567
+ fetchOptions
34568
+ } = resolveConfig_default(config);
34569
+ responseType = responseType ? (responseType + "").toLowerCase() : "text";
34570
+ let composedSignal = composeSignals_default([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
34571
+ let request = null;
34572
+ const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
34573
+ composedSignal.unsubscribe();
34499
34574
  });
34500
- } catch (err) {
34501
- unsubscribe && unsubscribe();
34502
- if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
34503
- throw Object.assign(
34504
- new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request),
34505
- {
34506
- cause: err.cause || err
34575
+ let requestContentLength;
34576
+ try {
34577
+ if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = yield resolveBodyLength(headers, data)) !== 0) {
34578
+ let _request = new Request(url2, {
34579
+ method: "POST",
34580
+ body: data,
34581
+ duplex: "half"
34582
+ });
34583
+ let contentTypeHeader;
34584
+ if (utils_default.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
34585
+ headers.setContentType(contentTypeHeader);
34586
+ }
34587
+ if (_request.body) {
34588
+ const [onProgress, flush] = progressEventDecorator(
34589
+ requestContentLength,
34590
+ progressEventReducer(asyncDecorator(onUploadProgress))
34591
+ );
34592
+ data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
34507
34593
  }
34508
- );
34594
+ }
34595
+ if (!utils_default.isString(withCredentials)) {
34596
+ withCredentials = withCredentials ? "include" : "omit";
34597
+ }
34598
+ const isCredentialsSupported = isRequestSupported && "credentials" in Request.prototype;
34599
+ const resolvedOptions = __spreadProps(__spreadValues({}, fetchOptions), {
34600
+ signal: composedSignal,
34601
+ method: method.toUpperCase(),
34602
+ headers: headers.normalize().toJSON(),
34603
+ body: data,
34604
+ duplex: "half",
34605
+ credentials: isCredentialsSupported ? withCredentials : void 0
34606
+ });
34607
+ request = isRequestSupported && new Request(url2, resolvedOptions);
34608
+ let response = yield isRequestSupported ? fetch(request, fetchOptions) : fetch(url2, resolvedOptions);
34609
+ const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
34610
+ if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
34611
+ const options = {};
34612
+ ["status", "statusText", "headers"].forEach((prop) => {
34613
+ options[prop] = response[prop];
34614
+ });
34615
+ const responseContentLength = utils_default.toFiniteNumber(response.headers.get("content-length"));
34616
+ const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
34617
+ responseContentLength,
34618
+ progressEventReducer(asyncDecorator(onDownloadProgress), true)
34619
+ ) || [];
34620
+ response = new Response(
34621
+ trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
34622
+ flush && flush();
34623
+ unsubscribe && unsubscribe();
34624
+ }),
34625
+ options
34626
+ );
34627
+ }
34628
+ responseType = responseType || "text";
34629
+ let responseData = yield resolvers[utils_default.findKey(resolvers, responseType) || "text"](response, config);
34630
+ !isStreamResponse && unsubscribe && unsubscribe();
34631
+ return yield new Promise((resolve, reject) => {
34632
+ settle(resolve, reject, {
34633
+ data: responseData,
34634
+ headers: AxiosHeaders_default.from(response.headers),
34635
+ status: response.status,
34636
+ statusText: response.statusText,
34637
+ config,
34638
+ request
34639
+ });
34640
+ });
34641
+ } catch (err) {
34642
+ unsubscribe && unsubscribe();
34643
+ if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
34644
+ throw Object.assign(
34645
+ new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request),
34646
+ {
34647
+ cause: err.cause || err
34648
+ }
34649
+ );
34650
+ }
34651
+ throw AxiosError_default.from(err, err && err.code, config, request);
34509
34652
  }
34510
- throw AxiosError_default.from(err, err && err.code, config, request);
34653
+ });
34654
+ };
34655
+ seedCache = /* @__PURE__ */ new Map();
34656
+ getFetch = (config) => {
34657
+ let env = utils_default.merge.call({
34658
+ skipUndefined: true
34659
+ }, globalFetchAPI, config ? config.env : null);
34660
+ const { fetch, Request, Response } = env;
34661
+ const seeds = [
34662
+ Request,
34663
+ Response,
34664
+ fetch
34665
+ ];
34666
+ let len = seeds.length, i = len, seed, target, map = seedCache;
34667
+ while (i--) {
34668
+ seed = seeds[i];
34669
+ target = map.get(seed);
34670
+ target === void 0 && map.set(seed, target = i ? /* @__PURE__ */ new Map() : factory(env));
34671
+ map = target;
34511
34672
  }
34512
- }));
34673
+ return target;
34674
+ };
34675
+ adapter = getFetch();
34513
34676
  }
34514
34677
  });
34515
34678
 
34516
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
34679
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
34517
34680
  var knownAdapters, renderReason, isResolvedHandle, adapters_default;
34518
34681
  var init_adapters = __esm({
34519
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js"() {
34682
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js"() {
34520
34683
  "use strict";
34521
34684
  init_utils();
34522
34685
  init_http();
@@ -34526,7 +34689,9 @@ var init_adapters = __esm({
34526
34689
  knownAdapters = {
34527
34690
  http: http_default,
34528
34691
  xhr: xhr_default,
34529
- fetch: fetch_default
34692
+ fetch: {
34693
+ get: getFetch
34694
+ }
34530
34695
  };
34531
34696
  utils_default.forEach(knownAdapters, (fn, value) => {
34532
34697
  if (fn) {
@@ -34538,30 +34703,30 @@ var init_adapters = __esm({
34538
34703
  }
34539
34704
  });
34540
34705
  renderReason = (reason) => `- ${reason}`;
34541
- isResolvedHandle = (adapter) => utils_default.isFunction(adapter) || adapter === null || adapter === false;
34706
+ isResolvedHandle = (adapter2) => utils_default.isFunction(adapter2) || adapter2 === null || adapter2 === false;
34542
34707
  adapters_default = {
34543
- getAdapter: (adapters) => {
34708
+ getAdapter: (adapters, config) => {
34544
34709
  adapters = utils_default.isArray(adapters) ? adapters : [adapters];
34545
34710
  const { length } = adapters;
34546
34711
  let nameOrAdapter;
34547
- let adapter;
34712
+ let adapter2;
34548
34713
  const rejectedReasons = {};
34549
34714
  for (let i = 0; i < length; i++) {
34550
34715
  nameOrAdapter = adapters[i];
34551
34716
  let id;
34552
- adapter = nameOrAdapter;
34717
+ adapter2 = nameOrAdapter;
34553
34718
  if (!isResolvedHandle(nameOrAdapter)) {
34554
- adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
34555
- if (adapter === void 0) {
34719
+ adapter2 = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
34720
+ if (adapter2 === void 0) {
34556
34721
  throw new AxiosError_default(`Unknown adapter '${id}'`);
34557
34722
  }
34558
34723
  }
34559
- if (adapter) {
34724
+ if (adapter2 && (utils_default.isFunction(adapter2) || (adapter2 = adapter2.get(config)))) {
34560
34725
  break;
34561
34726
  }
34562
- rejectedReasons[id || "#" + i] = adapter;
34727
+ rejectedReasons[id || "#" + i] = adapter2;
34563
34728
  }
34564
- if (!adapter) {
34729
+ if (!adapter2) {
34565
34730
  const reasons = Object.entries(rejectedReasons).map(
34566
34731
  ([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
34567
34732
  );
@@ -34571,14 +34736,14 @@ var init_adapters = __esm({
34571
34736
  "ERR_NOT_SUPPORT"
34572
34737
  );
34573
34738
  }
34574
- return adapter;
34739
+ return adapter2;
34575
34740
  },
34576
34741
  adapters: knownAdapters
34577
34742
  };
34578
34743
  }
34579
34744
  });
34580
34745
 
34581
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
34746
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
34582
34747
  function throwIfCancellationRequested(config) {
34583
34748
  if (config.cancelToken) {
34584
34749
  config.cancelToken.throwIfRequested();
@@ -34597,8 +34762,8 @@ function dispatchRequest(config) {
34597
34762
  if (["post", "put", "patch"].indexOf(config.method) !== -1) {
34598
34763
  config.headers.setContentType("application/x-www-form-urlencoded", false);
34599
34764
  }
34600
- const adapter = adapters_default.getAdapter(config.adapter || defaults_default.adapter);
34601
- return adapter(config).then(function onAdapterResolution(response) {
34765
+ const adapter2 = adapters_default.getAdapter(config.adapter || defaults_default.adapter, config);
34766
+ return adapter2(config).then(function onAdapterResolution(response) {
34602
34767
  throwIfCancellationRequested(config);
34603
34768
  response.data = transformData.call(
34604
34769
  config,
@@ -34623,7 +34788,7 @@ function dispatchRequest(config) {
34623
34788
  });
34624
34789
  }
34625
34790
  var init_dispatchRequest = __esm({
34626
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js"() {
34791
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js"() {
34627
34792
  "use strict";
34628
34793
  init_transformData();
34629
34794
  init_isCancel();
@@ -34634,7 +34799,7 @@ var init_dispatchRequest = __esm({
34634
34799
  }
34635
34800
  });
34636
34801
 
34637
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
34802
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
34638
34803
  function assertOptions(options, schema, allowUnknown) {
34639
34804
  if (typeof options !== "object") {
34640
34805
  throw new AxiosError_default("options must be an object", AxiosError_default.ERR_BAD_OPTION_VALUE);
@@ -34659,7 +34824,7 @@ function assertOptions(options, schema, allowUnknown) {
34659
34824
  }
34660
34825
  var validators, deprecatedWarnings, validator_default;
34661
34826
  var init_validator = __esm({
34662
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/validator.js"() {
34827
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/validator.js"() {
34663
34828
  "use strict";
34664
34829
  init_data();
34665
34830
  init_AxiosError();
@@ -34706,10 +34871,10 @@ var init_validator = __esm({
34706
34871
  }
34707
34872
  });
34708
34873
 
34709
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/Axios.js
34874
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/Axios.js
34710
34875
  var validators2, Axios, Axios_default;
34711
34876
  var init_Axios = __esm({
34712
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/Axios.js"() {
34877
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/Axios.js"() {
34713
34878
  "use strict";
34714
34879
  init_utils();
34715
34880
  init_buildURL();
@@ -34722,7 +34887,7 @@ var init_Axios = __esm({
34722
34887
  validators2 = validator_default.validators;
34723
34888
  Axios = class {
34724
34889
  constructor(instanceConfig) {
34725
- this.defaults = instanceConfig;
34890
+ this.defaults = instanceConfig || {};
34726
34891
  this.interceptors = {
34727
34892
  request: new InterceptorManager_default(),
34728
34893
  response: new InterceptorManager_default()
@@ -34826,8 +34991,8 @@ var init_Axios = __esm({
34826
34991
  let len;
34827
34992
  if (!synchronousRequestInterceptors) {
34828
34993
  const chain = [dispatchRequest.bind(this), void 0];
34829
- chain.unshift.apply(chain, requestInterceptorChain);
34830
- chain.push.apply(chain, responseInterceptorChain);
34994
+ chain.unshift(...requestInterceptorChain);
34995
+ chain.push(...responseInterceptorChain);
34831
34996
  len = chain.length;
34832
34997
  promise = Promise.resolve(config);
34833
34998
  while (i < len) {
@@ -34895,10 +35060,10 @@ var init_Axios = __esm({
34895
35060
  }
34896
35061
  });
34897
35062
 
34898
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
35063
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
34899
35064
  var CancelToken, CancelToken_default;
34900
35065
  var init_CancelToken = __esm({
34901
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js"() {
35066
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js"() {
34902
35067
  "use strict";
34903
35068
  init_CanceledError();
34904
35069
  CancelToken = class _CancelToken {
@@ -35001,33 +35166,33 @@ var init_CancelToken = __esm({
35001
35166
  }
35002
35167
  });
35003
35168
 
35004
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
35169
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
35005
35170
  function spread(callback) {
35006
35171
  return function wrap(arr) {
35007
35172
  return callback.apply(null, arr);
35008
35173
  };
35009
35174
  }
35010
35175
  var init_spread = __esm({
35011
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/spread.js"() {
35176
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/spread.js"() {
35012
35177
  "use strict";
35013
35178
  }
35014
35179
  });
35015
35180
 
35016
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
35181
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
35017
35182
  function isAxiosError(payload) {
35018
35183
  return utils_default.isObject(payload) && payload.isAxiosError === true;
35019
35184
  }
35020
35185
  var init_isAxiosError = __esm({
35021
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js"() {
35186
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js"() {
35022
35187
  "use strict";
35023
35188
  init_utils();
35024
35189
  }
35025
35190
  });
35026
35191
 
35027
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
35192
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
35028
35193
  var HttpStatusCode, HttpStatusCode_default;
35029
35194
  var init_HttpStatusCode = __esm({
35030
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js"() {
35195
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js"() {
35031
35196
  "use strict";
35032
35197
  HttpStatusCode = {
35033
35198
  Continue: 100,
@@ -35101,7 +35266,7 @@ var init_HttpStatusCode = __esm({
35101
35266
  }
35102
35267
  });
35103
35268
 
35104
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/axios.js
35269
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/axios.js
35105
35270
  function createInstance(defaultConfig) {
35106
35271
  const context = new Axios_default(defaultConfig);
35107
35272
  const instance = bind(Axios_default.prototype.request, context);
@@ -35114,7 +35279,7 @@ function createInstance(defaultConfig) {
35114
35279
  }
35115
35280
  var axios, axios_default;
35116
35281
  var init_axios = __esm({
35117
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/axios.js"() {
35282
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/axios.js"() {
35118
35283
  "use strict";
35119
35284
  init_utils();
35120
35285
  init_bind();
@@ -35157,10 +35322,10 @@ var init_axios = __esm({
35157
35322
  }
35158
35323
  });
35159
35324
 
35160
- // ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/index.js
35325
+ // ../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/index.js
35161
35326
  var Axios2, AxiosError2, CanceledError2, isCancel2, CancelToken2, VERSION2, all2, Cancel, isAxiosError2, spread2, toFormData2, AxiosHeaders2, HttpStatusCode2, formToJSON, getAdapter, mergeConfig2;
35162
35327
  var init_axios2 = __esm({
35163
- "../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/index.js"() {
35328
+ "../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/index.js"() {
35164
35329
  "use strict";
35165
35330
  init_axios();
35166
35331
  ({
@@ -44944,7 +45109,7 @@ var require_async_iterator = __commonJS({
44944
45109
  }), _Object$setPrototypeO), AsyncIteratorPrototype);
44945
45110
  var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator2(stream4) {
44946
45111
  var _Object$create;
44947
- var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {
45112
+ var iterator2 = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {
44948
45113
  value: stream4,
44949
45114
  writable: true
44950
45115
  }), _defineProperty(_Object$create, kLastResolve, {
@@ -44961,43 +45126,43 @@ var require_async_iterator = __commonJS({
44961
45126
  writable: true
44962
45127
  }), _defineProperty(_Object$create, kHandlePromise, {
44963
45128
  value: function value(resolve, reject) {
44964
- var data = iterator[kStream].read();
45129
+ var data = iterator2[kStream].read();
44965
45130
  if (data) {
44966
- iterator[kLastPromise] = null;
44967
- iterator[kLastResolve] = null;
44968
- iterator[kLastReject] = null;
45131
+ iterator2[kLastPromise] = null;
45132
+ iterator2[kLastResolve] = null;
45133
+ iterator2[kLastReject] = null;
44969
45134
  resolve(createIterResult(data, false));
44970
45135
  } else {
44971
- iterator[kLastResolve] = resolve;
44972
- iterator[kLastReject] = reject;
45136
+ iterator2[kLastResolve] = resolve;
45137
+ iterator2[kLastReject] = reject;
44973
45138
  }
44974
45139
  },
44975
45140
  writable: true
44976
45141
  }), _Object$create));
44977
- iterator[kLastPromise] = null;
45142
+ iterator2[kLastPromise] = null;
44978
45143
  finished(stream4, function(err) {
44979
45144
  if (err && err.code !== "ERR_STREAM_PREMATURE_CLOSE") {
44980
- var reject = iterator[kLastReject];
45145
+ var reject = iterator2[kLastReject];
44981
45146
  if (reject !== null) {
44982
- iterator[kLastPromise] = null;
44983
- iterator[kLastResolve] = null;
44984
- iterator[kLastReject] = null;
45147
+ iterator2[kLastPromise] = null;
45148
+ iterator2[kLastResolve] = null;
45149
+ iterator2[kLastReject] = null;
44985
45150
  reject(err);
44986
45151
  }
44987
- iterator[kError] = err;
45152
+ iterator2[kError] = err;
44988
45153
  return;
44989
45154
  }
44990
- var resolve = iterator[kLastResolve];
45155
+ var resolve = iterator2[kLastResolve];
44991
45156
  if (resolve !== null) {
44992
- iterator[kLastPromise] = null;
44993
- iterator[kLastResolve] = null;
44994
- iterator[kLastReject] = null;
45157
+ iterator2[kLastPromise] = null;
45158
+ iterator2[kLastResolve] = null;
45159
+ iterator2[kLastReject] = null;
44995
45160
  resolve(createIterResult(void 0, true));
44996
45161
  }
44997
- iterator[kEnded] = true;
45162
+ iterator2[kEnded] = true;
44998
45163
  });
44999
- stream4.on("readable", onReadable.bind(null, iterator));
45000
- return iterator;
45164
+ stream4.on("readable", onReadable.bind(null, iterator2));
45165
+ return iterator2;
45001
45166
  };
45002
45167
  module2.exports = createReadableStreamAsyncIterator;
45003
45168
  }
@@ -45084,13 +45249,13 @@ var require_from = __commonJS({
45084
45249
  }
45085
45250
  var ERR_INVALID_ARG_TYPE = require_errors().codes.ERR_INVALID_ARG_TYPE;
45086
45251
  function from(Readable2, iterable, opts) {
45087
- var iterator;
45252
+ var iterator2;
45088
45253
  if (iterable && typeof iterable.next === "function") {
45089
- iterator = iterable;
45254
+ iterator2 = iterable;
45090
45255
  } else if (iterable && iterable[Symbol.asyncIterator])
45091
- iterator = iterable[Symbol.asyncIterator]();
45256
+ iterator2 = iterable[Symbol.asyncIterator]();
45092
45257
  else if (iterable && iterable[Symbol.iterator])
45093
- iterator = iterable[Symbol.iterator]();
45258
+ iterator2 = iterable[Symbol.iterator]();
45094
45259
  else
45095
45260
  throw new ERR_INVALID_ARG_TYPE("iterable", ["Iterable"], iterable);
45096
45261
  var readable = new Readable2(_objectSpread({
@@ -45109,7 +45274,7 @@ var require_from = __commonJS({
45109
45274
  function _next2() {
45110
45275
  _next2 = _asyncToGenerator(function* () {
45111
45276
  try {
45112
- var _yield$iterator$next = yield iterator.next(), value = _yield$iterator$next.value, done = _yield$iterator$next.done;
45277
+ var _yield$iterator$next = yield iterator2.next(), value = _yield$iterator$next.value, done = _yield$iterator$next.done;
45113
45278
  if (done) {
45114
45279
  readable.push(null);
45115
45280
  } else if (readable.push(yield value)) {